/* =====================================================
   WBS STATUS PAGE - wbs-status.css
   Cek Status Pengaduan Whistleblowing System
   Stasiun Pemantau Atmosfer Global Lore Lindu Bariri
===================================================== */

/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {
  --primary: #00529b;
  --primary-dark: #082e63;
  --primary-soft: #e8f3ff;

  --green: #0fa76b;
  --green-dark: #087f52;
  --green-soft: #e9fff5;

  --red: #d92d20;
  --red-dark: #a41f17;
  --red-soft: #fff1ef;

  --yellow: #b7791f;
  --yellow-soft: #fff8e6;

  --bg: #f4f8ff;
  --bg-soft: #eef5ff;
  --white: #ffffff;

  --text: #0d1b35;
  --muted: #53627a;
  --soft: #76869c;

  --border: rgba(13, 27, 53, 0.1);
  --border-strong: rgba(13, 27, 53, 0.16);

  --shadow-sm: 0 8px 20px rgba(16, 38, 78, 0.07);
  --shadow-md: 0 16px 38px rgba(16, 38, 78, 0.1);
  --shadow-lg: 0 24px 70px rgba(16, 38, 78, 0.16);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
  --header-height: 76px;

  --transition: 220ms ease;
}

/* =====================================================
   RESET
===================================================== */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

/* =====================================================
   PAGE
===================================================== */

.wbss-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 167, 107, 0.11), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(0, 82, 155, 0.12), transparent 32%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 52%, #f7fbff 100%);
}

/* =====================================================
   GENERIC ICON
===================================================== */

.wbss-icon,
.wbss-input-icon,
.wbss-info-svg {
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
}

.wbss-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft);
  pointer-events: none;
}

/* =====================================================
   HEADER
===================================================== */

.wbss-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(13, 27, 53, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wbss-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(16, 38, 78, 0.08);
}

.wbss-header-container {
  width: min(var(--container), calc(100% - 40px));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wbss-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 1 1 auto;
}

.wbss-brand-logo {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  flex: 0 0 46px !important;
}

.wbss-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wbss-brand-text strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.002em;
  white-space: nowrap;
}

.wbss-brand-text span {
  display: block;
  max-width: 390px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.32;
  font-weight: 650;
  white-space: normal;
}

.wbss-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
}

.wbss-home-link,
.wbss-report-link,
.wbss-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.wbss-home-link {
  gap: 8px;
  padding: 10px 15px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: var(--shadow-sm);
}

.wbss-home-link:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.28);
  transform: translateY(-1px);
}

.wbss-report-link {
  gap: 8px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: 1px solid rgba(15, 167, 107, 0.24);
  box-shadow: 0 10px 22px rgba(15, 167, 107, 0.24);
}

.wbss-report-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 167, 107, 0.3);
}

/* Theme button icon-only */
.wbss-theme-icon-button,
.wbss-theme-toggle {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: var(--shadow-sm);
}

.wbss-theme-toggle {
  position: relative;
  overflow: hidden;
}

.wbss-theme-toggle:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.28);
  transform: translateY(-1px);
}

.wbss-theme-icon-state {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.wbss-theme-svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: currentColor;
}

.wbss-theme-moon {
  display: none !important;
}

[data-theme="dark"] .wbss-theme-sun,
body.dark-theme .wbss-theme-sun {
  display: none !important;
}

[data-theme="dark"] .wbss-theme-moon,
body.dark-theme .wbss-theme-moon {
  display: block !important;
}

/* =====================================================
   HERO
===================================================== */

.wbss-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 76px 20px 82px;
  overflow: hidden;
  isolation: isolate;
}

.wbss-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--wbss-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(5px) saturate(1.04) contrast(1.04) brightness(0.88);
  transform: scale(1.035);
  opacity: 1;
}

.wbss-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.28) 56%,
      rgba(236, 244, 255, 0.46) 100%
    ),
    linear-gradient(
      180deg,
      rgba(235, 244, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.24) 48%,
      rgba(238, 245, 255, 0.42) 100%
    );
}

.wbss-hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  padding: clamp(34px, 5vw, 56px) clamp(22px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.5)
    );
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
}

.wbss-hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.44), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

/* Hero back button */
.wbss-hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wbss-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: 0 8px 20px rgba(16, 38, 78, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.wbss-back-link:hover {
  transform: translateY(-1px);
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.26);
}

.wbss-hero-badge,
.wbss-kicker,
.wbss-footer-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 13px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 167, 107, 0.2);
  border-radius: 999px;
  background: rgba(233, 255, 245, 0.88);
  color: var(--green-dark);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.wbss-footer-kicker {
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
}

.wbss-hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 167, 107, 0.14);
}

.wbss-hero-content h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.14;
  font-weight: 920;
  letter-spacing: 0.004em;
  text-wrap: balance;
}

.wbss-hero-content p {
  max-width: 730px;
  margin: 20px auto 0;
  color: #263a5c;
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.86;
  font-weight: 650;
  text-wrap: pretty;
}

.wbss-hero-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.wbss-info-item {
  min-height: 142px;
  padding: 24px 22px;
  border: 1px solid rgba(13, 27, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(16, 38, 78, 0.08);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.wbss-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 167, 107, 0.22);
  box-shadow: 0 18px 36px rgba(16, 38, 78, 0.13);
}

.wbss-info-svg {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 14px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbss-info-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 900;
  letter-spacing: 0.002em;
}

.wbss-info-item span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.64;
  font-weight: 650;
}

/* =====================================================
   SECTION / LAYOUT
===================================================== */

.wbss-section {
  padding: 86px 0 94px;
}

.wbss-container,
.wbss-footer-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.wbss-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* =====================================================
   SIDEBAR
===================================================== */

.wbss-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.wbss-side-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(16, 38, 78, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wbss-side-main {
  background:
    linear-gradient(
      180deg,
      rgba(233, 255, 245, 0.82),
      rgba(255, 255, 255, 0.86)
    );
  border-color: rgba(15, 167, 107, 0.18);
}

.wbss-side-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbss-side-card h2,
.wbss-side-card h3 {
  margin: 0;
  color: var(--text);
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbss-side-card h2 {
  font-size: 1.48rem;
  line-height: 1.28;
}

.wbss-side-card h3 {
  font-size: 1.12rem;
  line-height: 1.38;
}

.wbss-side-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.76;
}

.wbss-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.wbss-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 690;
}

.wbss-check-list svg {
  margin-top: 2px;
  color: var(--red);
  flex: 0 0 17px;
}

.wbss-warning-card {
  border-color: rgba(183, 121, 31, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(255, 248, 230, 0.88),
      rgba(255, 255, 255, 0.86)
    );
}

/* =====================================================
   STATUS CARD
===================================================== */

.wbss-status-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.84)
    );
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.wbss-status-header {
  padding: 38px 40px 28px;
  border-bottom: 1px solid rgba(13, 27, 53, 0.08);
}

.wbss-status-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 2.8vw, 2.38rem);
  line-height: 1.24;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbss-status-header p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

/* =====================================================
   FORM
===================================================== */

.wbss-form {
  padding: 38px 40px 42px;
}

.wbss-grid {
  display: grid;
  gap: 24px;
}

.wbss-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wbss-field {
  margin-bottom: 30px;
}

.wbss-field label {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: 0.002em;
}

.wbss-required {
  color: var(--red);
  font-weight: 920;
}

.wbss-help {
  margin: 8px 0 13px;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.62;
  font-weight: 560;
}

.wbss-input-wrap {
  position: relative;
}

.wbss-input-wrap input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px 0 50px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.wbss-input-wrap input::placeholder {
  color: #9aa6b7;
}

.wbss-input-wrap input:hover {
  border-color: rgba(0, 82, 155, 0.22);
}

.wbss-input-wrap input:focus {
  border-color: rgba(0, 82, 155, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 82, 155, 0.12);
}

.wbss-input-wrap input.is-invalid {
  border-color: rgba(217, 45, 32, 0.68);
  background: var(--red-soft);
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.09);
}

.wbss-error {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  color: var(--red);
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 730;
}

/* PIN toggle */
.wbss-pin-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--soft);
  background: transparent;
  transform: translateY(-50%);
  transition:
    color var(--transition),
    background var(--transition);
}

.wbss-pin-toggle:hover {
  color: var(--primary);
  background: rgba(0, 82, 155, 0.08);
}

.wbss-pin-icon-state {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.wbss-eye-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.wbss-eye-hide {
  display: none;
}

.wbss-pin-toggle.is-visible .wbss-eye-show {
  display: none;
}

.wbss-pin-toggle.is-visible .wbss-eye-hide {
  display: block;
}

/* =====================================================
   NOTE / MESSAGE
===================================================== */

.wbss-note-box {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 22px;
  padding: 17px;
  border: 1px solid rgba(0, 82, 155, 0.12);
  border-radius: 18px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 650;
}

.wbss-note-box svg {
  margin-top: 3px;
  flex: 0 0 18px;
}

.wbss-message {
  display: none;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 650;
}

.wbss-message.is-show,
.wbss-message.show {
  display: block;
}

.wbss-message.is-success,
.wbss-message.success {
  color: #075e3b;
  border: 1px solid rgba(15, 167, 107, 0.22);
  background: var(--green-soft);
}

.wbss-message.is-error,
.wbss-message.error {
  color: var(--red-dark);
  border: 1px solid rgba(217, 45, 32, 0.2);
  background: var(--red-soft);
}

.wbss-message.is-warning,
.wbss-message.warning {
  color: #8a5a13;
  border: 1px solid rgba(183, 121, 31, 0.22);
  background: var(--yellow-soft);
}

/* =====================================================
   ACTIONS / BUTTONS
===================================================== */

.wbss-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
}

.wbss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 21px;
  border-radius: 15px;
  font-size: 0.92rem;
  font-weight: 860;
  line-height: 1;
  letter-spacing: 0.002em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  user-select: none;
}

.wbss-btn svg {
  flex: 0 0 auto;
  color: currentColor;
}

.wbss-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 26px rgba(15, 167, 107, 0.25);
}

.wbss-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 167, 107, 0.3);
}

.wbss-btn-light {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: 0 10px 24px rgba(16, 38, 78, 0.1);
}

.wbss-btn-light:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.26);
  transform: translateY(-2px);
}

.wbss-btn:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

/* =====================================================
   RESULT PANEL
===================================================== */

.wbss-result-panel {
  display: none;
  padding: 44px 40px 48px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(233, 255, 245, 0.76),
      rgba(255, 255, 255, 0.88)
    );
}

.wbss-result-panel.is-show,
.wbss-result-panel.show {
  display: block;
}

.wbss-result-panel[hidden] {
  display: none !important;
}

.wbss-result-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.wbss-result-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 22px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbss-result-top h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.25;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbss-status-summary {
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 167, 107, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(15, 167, 107, 0.11), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(16, 38, 78, 0.08);
}

.wbss-status-summary small,
.wbss-result-item small,
.wbss-public-note small,
.wbss-evidence-note small {
  display: block;
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 840;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wbss-status-summary strong {
  display: block;
  margin-top: 9px;
  color: var(--green-dark);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 940;
  word-break: break-word;
}

.wbss-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.wbss-result-item {
  padding: 20px;
  border: 1px solid rgba(13, 27, 53, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(16, 38, 78, 0.07);
}

.wbss-result-item strong {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 880;
  word-break: break-word;
}

.wbss-public-note,
.wbss-evidence-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  margin-top: 16px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(16, 38, 78, 0.07);
}

.wbss-public-note {
  border: 1px solid rgba(0, 82, 155, 0.12);
  background: rgba(232, 243, 255, 0.86);
}

.wbss-evidence-note {
  border: 1px solid rgba(183, 121, 31, 0.18);
  background: rgba(255, 248, 230, 0.86);
}

.wbss-public-note-icon,
.wbss-evidence-note-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
}

.wbss-public-note-icon {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.wbss-evidence-note-icon {
  color: var(--yellow);
  background: var(--yellow-soft);
}

.wbss-public-note p,
.wbss-evidence-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.wbss-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
}

/* =====================================================
   FOOTER
===================================================== */

.wbss-footer {
  padding: 54px 0 30px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(247, 251, 255, 0.98)
    );
}

.wbss-footer-top {
  margin-bottom: 28px;
}

.wbss-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}

.wbss-footer-brand img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  flex: 0 0 48px !important;
}

.wbss-footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbss-footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  font-weight: 650;
}

.wbss-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.wbss-footer-about h2 {
  max-width: 650px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.32;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbss-footer-about p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.wbss-footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 22px;
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.86rem;
  font-weight: 850;
  transition:
    transform var(--transition),
    background var(--transition);
}

.wbss-footer-site-link:hover {
  transform: translateY(-2px);
  background: #dcecff;
}

.wbss-footer-contact-list {
  display: grid;
  gap: 14px;
}

.wbss-contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(16, 38, 78, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.wbss-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 155, 0.2);
  box-shadow: 0 16px 34px rgba(16, 38, 78, 0.12);
}

.wbss-contact-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbss-contact-content {
  min-width: 0;
}

.wbss-contact-content small {
  display: block;
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 820;
}

.wbss-contact-content strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.4;
  font-weight: 880;
  word-break: break-word;
}

.wbss-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(13, 27, 53, 0.09);
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.wbss-footer-bottom p {
  margin: 0;
}

/* =====================================================
   UTILITIES / ACCESSIBILITY
===================================================== */

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(0, 82, 155, 0.28);
  outline-offset: 3px;
}

.wbss-btn.is-pressed,
.wbss-home-link.is-pressed,
.wbss-report-link.is-pressed,
.wbss-theme-toggle.is-pressed,
.wbss-back-link.is-pressed,
.wbss-contact-card.is-pressed,
.wbss-footer-site-link.is-pressed,
.wbss-pin-toggle.is-pressed {
  transform: translateY(0) scale(0.98);
}

.wbss-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.wbss-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   DARK MODE VARIABLES
===================================================== */

[data-theme="dark"],
body.dark-theme {
  --primary: #6fb6ff;
  --primary-dark: #d7eaff;
  --primary-soft: rgba(111, 182, 255, 0.12);

  --green: #35d68f;
  --green-dark: #7df0bd;
  --green-soft: rgba(53, 214, 143, 0.12);

  --red: #ff7b72;
  --red-dark: #ffb4ad;
  --red-soft: rgba(255, 123, 114, 0.1);

  --yellow: #f6c96b;
  --yellow-soft: rgba(246, 201, 107, 0.11);

  --bg: #07111f;
  --bg-soft: #0b1628;
  --white: #0e1b31;

  --text: #ecf5ff;
  --muted: #b8c7de;
  --soft: #8ea3bf;

  --border: rgba(137, 163, 200, 0.18);
  --border-strong: rgba(137, 163, 200, 0.28);
}

/* =====================================================
   DARK MODE
===================================================== */

[data-theme="dark"] body,
body.dark-theme,
[data-theme="dark"] .wbss-page,
body.dark-theme .wbss-page {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 30%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 24%),
    linear-gradient(180deg, #03101f 0%, #041427 55%, #06182d 100%);
  color: #e8f1ff;
}

[data-theme="dark"] .wbss-header,
body.dark-theme .wbss-header {
  background: rgba(7, 17, 31, 0.86);
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .wbss-header.is-scrolled,
body.dark-theme .wbss-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .wbss-brand-text strong,
body.dark-theme .wbss-brand-text strong {
  color: #f8fbff;
}

[data-theme="dark"] .wbss-brand-text span,
body.dark-theme .wbss-brand-text span {
  color: #b8c7de;
}

[data-theme="dark"] .wbss-home-link,
[data-theme="dark"] .wbss-theme-toggle,
body.dark-theme .wbss-home-link,
body.dark-theme .wbss-theme-toggle {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbss-home-link:hover,
[data-theme="dark"] .wbss-theme-toggle:hover,
body.dark-theme .wbss-home-link:hover,
body.dark-theme .wbss-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.3);
}

[data-theme="dark"] .wbss-report-link,
[data-theme="dark"] .wbss-btn-primary,
body.dark-theme .wbss-report-link,
body.dark-theme .wbss-btn-primary {
  color: #062e22;
}

[data-theme="dark"] .wbss-hero-bg,
body.dark-theme .wbss-hero-bg {
  opacity: 0.88;
  filter: blur(5px) saturate(0.9) brightness(0.62) contrast(1.05);
}

[data-theme="dark"] .wbss-hero-overlay,
body.dark-theme .wbss-hero-overlay {
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(3, 16, 31, 0.24),
      rgba(3, 16, 31, 0.42) 56%,
      rgba(3, 16, 31, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.28) 0%,
      rgba(7, 17, 31, 0.42) 48%,
      rgba(7, 17, 31, 0.58) 100%
    );
}

[data-theme="dark"] .wbss-hero-content,
body.dark-theme .wbss-hero-content {
  background:
    linear-gradient(
      180deg,
      rgba(8, 24, 46, 0.62),
      rgba(7, 22, 42, 0.52)
    );
  border-color: rgba(180, 205, 235, 0.22);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .wbss-back-link,
body.dark-theme .wbss-back-link {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbss-back-link:hover,
body.dark-theme .wbss-back-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.3);
}

[data-theme="dark"] .wbss-hero-content h1,
body.dark-theme .wbss-hero-content h1 {
  color: #f8fbff;
}

[data-theme="dark"] .wbss-hero-content p,
body.dark-theme .wbss-hero-content p {
  color: #c4d3e6;
}

[data-theme="dark"] .wbss-hero-badge,
[data-theme="dark"] .wbss-kicker,
body.dark-theme .wbss-hero-badge,
body.dark-theme .wbss-kicker {
  background: rgba(110, 231, 183, 0.14);
  color: #86efac;
  border-color: rgba(110, 231, 183, 0.22);
}

[data-theme="dark"] .wbss-info-item,
[data-theme="dark"] .wbss-side-card,
[data-theme="dark"] .wbss-status-card,
[data-theme="dark"] .wbss-result-panel,
[data-theme="dark"] .wbss-status-summary,
[data-theme="dark"] .wbss-result-item,
[data-theme="dark"] .wbss-public-note,
[data-theme="dark"] .wbss-evidence-note,
[data-theme="dark"] .wbss-contact-card,
body.dark-theme .wbss-info-item,
body.dark-theme .wbss-side-card,
body.dark-theme .wbss-status-card,
body.dark-theme .wbss-result-panel,
body.dark-theme .wbss-status-summary,
body.dark-theme .wbss-result-item,
body.dark-theme .wbss-public-note,
body.dark-theme .wbss-evidence-note,
body.dark-theme .wbss-contact-card {
  background:
    linear-gradient(
      180deg,
      rgba(5, 20, 39, 0.94),
      rgba(6, 22, 41, 0.9)
    );
  border-color: rgba(137, 163, 200, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .wbss-section,
body.dark-theme .wbss-section {
  background: transparent;
}

[data-theme="dark"] .wbss-status-header,
body.dark-theme .wbss-status-header {
  border-color: rgba(137, 163, 200, 0.14);
}

[data-theme="dark"] .wbss-hero-content h1,
[data-theme="dark"] .wbss-status-header h2,
[data-theme="dark"] .wbss-side-card h2,
[data-theme="dark"] .wbss-side-card h3,
[data-theme="dark"] .wbss-info-item strong,
[data-theme="dark"] .wbss-field label,
[data-theme="dark"] .wbss-result-top h2,
[data-theme="dark"] .wbss-result-item strong,
[data-theme="dark"] .wbss-footer-brand strong,
[data-theme="dark"] .wbss-footer-about h2,
[data-theme="dark"] .wbss-contact-content strong,
body.dark-theme .wbss-hero-content h1,
body.dark-theme .wbss-status-header h2,
body.dark-theme .wbss-side-card h2,
body.dark-theme .wbss-side-card h3,
body.dark-theme .wbss-info-item strong,
body.dark-theme .wbss-field label,
body.dark-theme .wbss-result-top h2,
body.dark-theme .wbss-result-item strong,
body.dark-theme .wbss-footer-brand strong,
body.dark-theme .wbss-footer-about h2,
body.dark-theme .wbss-contact-content strong {
  color: #f8fbff;
}

[data-theme="dark"] .wbss-status-header p,
[data-theme="dark"] .wbss-side-card p,
[data-theme="dark"] .wbss-check-list li,
[data-theme="dark"] .wbss-info-item span,
[data-theme="dark"] .wbss-help,
[data-theme="dark"] .wbss-status-summary small,
[data-theme="dark"] .wbss-result-item small,
[data-theme="dark"] .wbss-public-note small,
[data-theme="dark"] .wbss-evidence-note small,
[data-theme="dark"] .wbss-public-note p,
[data-theme="dark"] .wbss-evidence-note p,
[data-theme="dark"] .wbss-footer-brand span,
[data-theme="dark"] .wbss-footer-about p,
[data-theme="dark"] .wbss-contact-content small,
[data-theme="dark"] .wbss-footer-bottom,
body.dark-theme .wbss-status-header p,
body.dark-theme .wbss-side-card p,
body.dark-theme .wbss-check-list li,
body.dark-theme .wbss-info-item span,
body.dark-theme .wbss-help,
body.dark-theme .wbss-status-summary small,
body.dark-theme .wbss-result-item small,
body.dark-theme .wbss-public-note small,
body.dark-theme .wbss-evidence-note small,
body.dark-theme .wbss-public-note p,
body.dark-theme .wbss-evidence-note p,
body.dark-theme .wbss-footer-brand span,
body.dark-theme .wbss-footer-about p,
body.dark-theme .wbss-contact-content small,
body.dark-theme .wbss-footer-bottom {
  color: #b8c7de;
}

[data-theme="dark"] .wbss-status-summary strong,
body.dark-theme .wbss-status-summary strong {
  color: #7df0bd;
}

[data-theme="dark"] .wbss-info-svg,
[data-theme="dark"] .wbss-side-icon,
[data-theme="dark"] .wbss-result-icon,
[data-theme="dark"] .wbss-contact-icon,
[data-theme="dark"] .wbss-public-note-icon,
[data-theme="dark"] .wbss-evidence-note-icon,
body.dark-theme .wbss-info-svg,
body.dark-theme .wbss-side-icon,
body.dark-theme .wbss-result-icon,
body.dark-theme .wbss-contact-icon,
body.dark-theme .wbss-public-note-icon,
body.dark-theme .wbss-evidence-note-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.14);
}

[data-theme="dark"] .wbss-input-wrap input,
body.dark-theme .wbss-input-wrap input {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fbff;
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbss-input-wrap input::placeholder,
body.dark-theme .wbss-input-wrap input::placeholder {
  color: #8ea3bf;
}

[data-theme="dark"] .wbss-note-box,
body.dark-theme .wbss-note-box {
  color: #d7eaff;
  background: rgba(111, 182, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbss-btn-light,
body.dark-theme .wbss-btn-light {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbss-btn-light:hover,
body.dark-theme .wbss-btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.3);
}

[data-theme="dark"] .wbss-footer,
body.dark-theme .wbss-footer {
  background:
    linear-gradient(
      180deg,
      rgba(4, 17, 34, 0.96),
      rgba(5, 20, 40, 0.96)
    );
  border-color: rgba(137, 163, 200, 0.14);
}

[data-theme="dark"] .wbss-footer-site-link,
body.dark-theme .wbss-footer-site-link {
  color: #d7eaff;
  background: rgba(111, 182, 255, 0.12);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {
  .wbss-header-container {
    gap: 16px;
  }

  .wbss-brand-text span {
    max-width: 320px;
  }

  .wbss-home-link span {
    display: none;
  }

  .wbss-home-link {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .wbss-layout {
    grid-template-columns: 1fr;
  }

  .wbss-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .wbss-sidebar {
    grid-template-columns: 1fr;
  }

  .wbss-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .wbss-hero-info,
  .wbss-grid-2,
  .wbss-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .wbss-header-container,
  .wbss-container,
  .wbss-footer-container {
    width: min(100% - 30px, var(--container));
  }

  .wbss-brand-logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
  }

  .wbss-brand-text strong {
    font-size: 0.88rem;
  }

  .wbss-brand-text span {
    max-width: 230px;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .wbss-report-link span {
    display: none;
  }

  .wbss-report-link {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .wbss-hero {
    min-height: auto;
    padding: 42px 15px 58px;
  }

  .wbss-hero-content {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .wbss-hero-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .wbss-back-link {
    width: 100%;
  }

  .wbss-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.16;
    letter-spacing: 0.002em;
  }

  .wbss-hero-content p {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.78;
  }

  .wbss-section {
    padding: 58px 0 68px;
  }

  .wbss-status-header,
  .wbss-form,
  .wbss-result-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .wbss-status-header {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .wbss-status-header h2,
  .wbss-result-top h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.26;
  }

  .wbss-result-top {
    flex-direction: column;
  }

  .wbss-actions,
  .wbss-result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wbss-btn {
    width: 100%;
  }

  .wbss-public-note,
  .wbss-evidence-note {
    flex-direction: column;
  }

  .wbss-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .wbss-header-container,
  .wbss-container,
  .wbss-footer-container {
    width: min(100% - 24px, var(--container));
  }

  .wbss-brand-text span {
    max-width: 160px;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .wbss-hero-content {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .wbss-hero-content h1 {
    font-size: 1.95rem;
  }

  .wbss-status-card {
    border-radius: 24px;
  }

  .wbss-status-header,
  .wbss-form,
  .wbss-result-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wbss-side-card {
    padding: 18px;
  }

  .wbss-result-item,
  .wbss-status-summary,
  .wbss-public-note,
  .wbss-evidence-note {
    padding: 16px;
  }

  .wbss-footer-brand {
    align-items: flex-start;
  }

  .wbss-footer-brand img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px !important;
  }

  .wbss-contact-card {
    align-items: flex-start;
  }
}