:root {
  --bg-top: #eef6ff;
  --bg-bottom: #dce9fb;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-soft: rgba(243, 248, 255, 0.82);
  --line: rgba(199, 217, 243, 0.88);
  --line-strong: rgba(177, 203, 239, 0.95);
  --text-main: #12234a;
  --text-soft: #5c7096;
  --text-faint: #8b9ab8;
  --blue: #0f6df2;
  --blue-deep: #0a58c8;
  --teal: #0a9278;
  --teal-soft: rgba(10, 146, 120, 0.12);
  --amber: #d39d1f;
  --amber-soft: rgba(211, 157, 31, 0.14);
  --red: #cb4d4d;
  --red-soft: rgba(203, 77, 77, 0.12);
  --shadow-xl: 0 28px 70px rgba(59, 96, 163, 0.14);
  --shadow-md: 0 14px 34px rgba(59, 96, 163, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0 0, rgba(112, 164, 255, 0.2), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(99, 220, 224, 0.16), transparent 22%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom) 72%);
}

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

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow,
.amber-wash {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
}

.glow-left {
  top: 40px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(101, 159, 255, 0.2);
}

.glow-right {
  top: 140px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: rgba(85, 210, 215, 0.18);
}

.amber-wash {
  right: -60px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: rgba(211, 157, 31, 0.11);
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86, 126, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 126, 191, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 70%);
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(205, 220, 242, 0.8);
  background: linear-gradient(to bottom, rgba(247, 250, 255, 0.92), rgba(247, 250, 255, 0.68));
  backdrop-filter: blur(20px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  max-width: 180px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(60, 100, 168, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-lockup strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-lockup small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links,
.nav-actions,
.landing-actions,
.choice-group,
.page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.nav-actions {
  flex: 0 0 auto;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  color: rgba(29, 49, 91, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(197, 215, 243, 0.84);
  color: var(--text-main);
}

.user-pill,
.topbar-note,
.mini-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 219, 243, 0.85);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(38, 67, 123, 0.84);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-menu-wrap {
  position: relative;
}

.user-pill-button {
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.user-pill-button:hover,
.user-pill-button.open {
  border-color: rgba(120, 156, 214, 0.88);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(52, 90, 152, 0.12);
}

.account-caret {
  font-size: 0.9rem;
  line-height: 1;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 188px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(203, 219, 243, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(28, 55, 105, 0.16);
}

.account-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-menu-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.account-menu-item:hover {
  background: rgba(241, 247, 255, 0.98);
}

.eyebrow {
  margin: 0 0 14px;
}

.topbar-note {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow-tight {
  margin-bottom: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.button[aria-busy="true"] {
  cursor: not-allowed;
  opacity: 0.56;
  box-shadow: none;
  transform: none;
  filter: saturate(0.72);
}

.button:disabled:hover,
.button[aria-busy="true"]:hover {
  transform: none;
}

.button-busy {
  pointer-events: none;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: rgba(255, 255, 255, 0.96);
  animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 28px rgba(15, 109, 242, 0.28);
}

.button-strong {
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0c4eb8, #083d92);
  box-shadow: 0 18px 34px rgba(8, 61, 146, 0.28);
}

.button-secondary {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(198, 216, 242, 0.88);
}

.button-block {
  width: 100%;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
}

.card-pad {
  padding: 28px;
}

.auth-minimal {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-minimal-card {
  width: min(100%, 460px);
  padding: 30px;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.auth-minimal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.05em;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 48px 0;
}

.auth-copy h1,
.landing-hero h1,
.page-head h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.auth-copy h1,
.landing-hero h1 {
  max-width: 11.5ch;
  font-size: clamp(3rem, 6vw, 5.1rem);
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead,
.page-copy,
.side-copy,
.slider-copy p,
.auth-hint,
.report-section p,
.mini-card p,
.landing-side p {
  color: var(--text-soft);
  line-height: 1.7;
}

.auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(204, 220, 243, 0.84);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  color: rgba(31, 54, 98, 0.84);
}

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.auth-logo {
  width: 88px;
  height: 88px;
}

.auth-card h2,
.section-title h2,
.table-head h2,
.report-brand h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.auth-form,
.field-stack,
.provider-section,
.side-card,
.side-block,
.report-shell {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-block {
  display: grid;
  gap: 10px;
}

.field-block span,
.section-title p {
  font-weight: 700;
  color: rgba(29, 50, 94, 0.82);
}

.field-block input,
.field-block select {
  min-height: 56px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(196, 214, 240, 0.95);
  background: rgba(245, 249, 255, 0.92);
  color: var(--text-main);
}

.energy-default-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.energy-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.energy-receive-field input {
  max-width: 100%;
}

.energy-submit-button {
  min-width: 180px;
  min-height: 56px;
  align-self: end;
}

.icon-toggle {
  min-width: 46px;
  padding: 0 14px;
  font-size: 1rem;
}

.icon-toggle.selected {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-color: rgba(15, 109, 242, 0.5);
}

.field-block input:focus,
.field-block select:focus {
  outline: 2px solid rgba(15, 109, 242, 0.18);
  border-color: rgba(15, 109, 242, 0.56);
}

.field-block-checkbox {
  gap: 8px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.checkbox-line input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.choice-pill {
  position: relative;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(198, 216, 242, 0.9);
  background: rgba(245, 249, 255, 0.88);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}

.choice-pill input,
.provider-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill.selected,
.provider-card.selected {
  border-color: rgba(10, 88, 200, 0.95);
  background: linear-gradient(180deg, #0f6df2, #0a58c8);
  box-shadow: 0 18px 28px rgba(15, 109, 242, 0.28);
}

.choice-pill.selected span,
.provider-card.selected strong,
.provider-card.selected p,
.provider-card.selected span {
  color: #fff;
}

.choice-pill.selected {
  color: #fff;
}

.slider-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(208, 223, 244, 0.9);
  background: linear-gradient(145deg, rgba(237, 244, 255, 0.96), rgba(252, 253, 255, 0.97));
}

.slider-copy strong {
  display: block;
  margin-bottom: 6px;
}

.verify-slider {
  position: relative;
  min-height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(195, 214, 242, 0.95);
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.verify-track,
.verify-progress {
  position: absolute;
  inset: 8px;
  border-radius: 999px;
}

.verify-track {
  background: linear-gradient(90deg, rgba(225, 236, 254, 0.84), rgba(239, 248, 255, 0.92));
}

.verify-progress {
  width: 52px;
  background: linear-gradient(135deg, rgba(15, 109, 242, 0.18), rgba(211, 157, 31, 0.18));
  transition: width 120ms ease;
}

.verify-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 64px;
  text-align: center;
  color: rgba(55, 80, 126, 0.9);
  font-size: 0.96rem;
  font-weight: 700;
}

.verify-handle {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(181, 205, 242, 0.9);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(233, 242, 255, 0.92)),
    linear-gradient(135deg, rgba(15, 109, 242, 0.18), rgba(211, 157, 31, 0.16));
  box-shadow: 0 10px 24px rgba(69, 103, 165, 0.16);
  touch-action: none;
}

.verify-slider.dragging .verify-handle {
  cursor: grabbing;
}

.verify-slider.verified .verify-progress {
  background: linear-gradient(135deg, rgba(10, 146, 120, 0.24), rgba(15, 109, 242, 0.16));
}

.verify-slider.verified .verify-text {
  color: var(--teal);
}

.verify-slider,
.verify-handle {
  cursor: grab;
}

.auth-foot,
.submit-row,
.table-head,
.report-brand,
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.module-head {
  align-items: center;
}

.module-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.button-dark {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: #16325f;
  color: #fff;
  border: 1px solid rgba(22, 50, 95, 0.92);
  box-shadow: 0 14px 28px rgba(17, 44, 92, 0.16);
}

.button-dark:hover {
  background: #122a50;
}

.module-head-button.active {
  background: #0c5ed7;
  border-color: rgba(12, 94, 215, 0.96);
}

.auth-foot {
  align-items: end;
}

.auth-error,
.form-message.error {
  color: var(--red);
  font-weight: 700;
}

.form-message.success {
  color: var(--teal);
  font-weight: 700;
}

.page-shell {
  padding: 32px 0 64px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.74fr);
  gap: 22px;
}

.provider-section-spaced {
  margin-top: 34px;
}

.provider-grid-spaced {
  margin-top: 18px;
}

.submit-row-spaced {
  margin-top: 34px;
}

.provider-grid,
.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.provider-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 216, 242, 0.9);
  background: rgba(245, 249, 255, 0.84);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.provider-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.provider-head strong {
  font-size: 1.06rem;
}

.provider-head span {
  font-weight: 800;
  color: var(--blue);
}

.provider-sub {
  margin: 8px 0 6px;
  font-weight: 700;
  color: var(--amber);
}

.provider-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.charge-note {
  display: grid;
  gap: 4px;
}

.side-block-head,
.inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-block-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-form,
.funding-panel {
  display: grid;
  gap: 14px;
}

.field-compact {
  margin-bottom: 12px;
}

.recharge-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.balance-list {
  display: grid;
  gap: 12px;
}

.balance-list div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.balance-list strong {
  display: block;
  margin-bottom: 4px;
}

.balance-list span {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.wallet-line,
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wallet-line {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(208, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
  word-break: break-all;
}

.qr-panel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(208, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.recharge-qr {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(208, 223, 244, 0.84);
  background: #fff;
  padding: 8px;
}

.recharge-qr-lg {
  width: 240px;
  height: 240px;
  padding: 14px;
  border-radius: 24px;
}

.qr-copy {
  display: grid;
  gap: 6px;
}

.qr-copy strong {
  font-size: 0.98rem;
  line-height: 1.4;
  word-break: break-all;
}

.qr-copy p,
.funding-notes div {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.recharge-address-label {
  color: var(--text-faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.funding-notes {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(208, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.64);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(12, 24, 53, 0.36);
  backdrop-filter: blur(8px);
}

.recharge-modal {
  width: min(620px, 100%);
  display: grid;
  gap: 22px;
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(11, 31, 70, 0.22);
}

.dialog-modal {
  width: min(520px, 100%);
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(11, 31, 70, 0.22);
}

.recharge-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.recharge-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qr-panel-modal {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.qr-copy-modal {
  max-width: 420px;
  gap: 12px;
}

.recharge-qr-lg {
  width: 188px;
  height: 188px;
  padding: 12px;
  border-radius: 20px;
}

.table-card {
  overflow: hidden;
}

.boss-overview-grid,
.boss-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.boss-main-stack,
.boss-side-stack,
.boss-alert-list {
  display: grid;
  gap: 18px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border-top: 1px solid rgba(217, 228, 246, 0.84);
  text-align: left;
  vertical-align: top;
}

.time-cell {
  white-space: nowrap;
  min-width: 168px;
}

.data-table th {
  color: rgba(77, 95, 132, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clickable-row {
  cursor: pointer;
}

.table-empty {
  color: var(--text-soft);
  text-align: center;
}

.table-muted {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.table-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-action-link {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.doc-code {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(123, 144, 179, 0.22);
  background: rgba(11, 19, 35, 0.96);
  color: #f6f8fc;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

.doc-code code {
  font-family: "SFMono-Regular", "Menlo", "Monaco", monospace;
}

.docs-shell {
  max-width: 1040px;
}

.docs-page-head {
  padding-bottom: 10px;
}

.docs-section {
  padding: 12px 0 24px;
  border-top: 1px solid rgba(123, 144, 179, 0.18);
}

.docs-section h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.docs-section h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.docs-section p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

.docs-list {
  margin: 0 0 16px 20px;
  padding: 0;
  color: var(--text-soft);
}

.docs-list li {
  margin: 0 0 10px;
  line-height: 1.65;
}

.doc-table th,
.doc-table td {
  vertical-align: top;
}

.report-row-stack {
  display: grid;
  gap: 8px;
}

.api-key-generated {
  margin: 18px 0;
}

.clickable-row:hover {
  background: rgba(244, 248, 255, 0.88);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.flag-pill {
  min-height: 28px;
  padding: 8px 12px;
  letter-spacing: 0.03em;
}

.flag-row,
.report-flag-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.flag-cell {
  min-width: 120px;
}

.report-flag-strip {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 77, 77, 0.2);
  background: rgba(255, 243, 242, 0.8);
}

.report-flag-label {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tone-ok,
.tone-low {
  color: var(--teal);
  background: var(--teal-soft);
}

.tone-review,
.tone-moderate {
  color: #9d6c07;
  background: var(--amber-soft);
}

.tone-elevated {
  color: var(--red);
  background: var(--red-soft);
}

.tone-neutral {
  color: var(--text-soft);
  background: rgba(92, 112, 150, 0.12);
}

.report-link {
  color: var(--blue);
  font-weight: 700;
}

.report-card,
.report-section {
  break-inside: avoid;
}

.report-brand-logo {
  width: 32px;
  height: 32px;
}

.report-metric-grid,
.summary-grid,
.pdf-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.metric-panel {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.metric-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.metric-panel strong {
  font-size: 1.12rem;
}

.boss-summary-grid {
  margin-bottom: 22px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.report-row {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.report-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.report-section-head {
  margin-bottom: 16px;
}

.report-section-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.finding-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.7;
}

.report-table th {
  width: 220px;
}

.tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(198, 216, 242, 0.88);
  background: rgba(245, 249, 255, 0.92);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

.tab-button.active {
  color: #fff;
  border-color: rgba(10, 88, 200, 0.95);
  background: linear-gradient(180deg, #0f6df2, #0a58c8);
}

.history-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.history-tab-shell {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
  margin: 0 0 -1px;
  padding-left: 12px;
}

.history-tab-book {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(198, 216, 242, 0.88);
  border-bottom: 0;
  background: rgba(237, 244, 255, 0.92);
  box-shadow: 0 -8px 18px rgba(59, 96, 163, 0.08);
}

.history-tab-book.active {
  color: var(--text-main);
  border-color: rgba(198, 216, 242, 0.88);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 24px rgba(59, 96, 163, 0.1);
}

.contribution-grid,
.finding-grid,
.behavior-grid,
.exposure-grid {
  display: grid;
  gap: 16px;
}

.contribution-card,
.finding-card,
.behavior-card,
.exposure-row {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.finding-card-alert,
.bitok-chart-card.finding-card-alert,
.exposure-row.finding-card-alert {
  border-color: rgba(203, 77, 77, 0.34);
  background: rgba(255, 243, 242, 0.82);
}

.contribution-head,
.finding-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.contribution-head strong,
.finding-head strong {
  display: block;
  font-size: 1rem;
}

.alert-text,
.cell-alert-text {
  color: var(--red) !important;
}

.contribution-head span,
.finding-card p,
.behavior-card p {
  color: var(--text-soft);
}

.contribution-metric {
  text-align: right;
}

.progress-track {
  margin: 14px 0;
  height: 10px;
  border-radius: 999px;
  background: rgba(195, 214, 242, 0.42);
  overflow: hidden;
}

.progress-track.compact {
  margin: 8px 0 0;
  height: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f6df2, #4aa2ff);
}

.progress-fill-alert {
  background: linear-gradient(90deg, #cb4d4d, #ef7a7a);
}

.contribution-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

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

.boss-alert-card {
  align-self: start;
}

.boss-alert-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 77, 77, 0.18);
  background: rgba(255, 243, 242, 0.76);
}

.boss-alert-item strong {
  font-size: 0.98rem;
}

.boss-alert-item span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.finding-card p {
  margin: 10px 0 14px;
}

.report-row-alert {
  background: rgba(255, 243, 242, 0.76);
}

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

.network-picker {
  position: relative;
}

.network-picker summary {
  list-style: none;
}

.network-picker summary::-webkit-details-marker {
  display: none;
}

.network-trigger {
  min-height: 56px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(196, 214, 240, 0.95);
  background: rgba(245, 249, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.network-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.network-option img {
  width: 22px;
  height: 22px;
}

.network-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 8;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(196, 214, 240, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 6px;
}

.network-menu-item {
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 249, 255, 0.72);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.network-menu-item:hover {
  background: rgba(231, 240, 255, 0.92);
}

.network-caret {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.share-cell {
  min-width: 130px;
}

.share-cell strong {
  display: block;
  font-size: 0.92rem;
}

.table-toolbar {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.table-more-button {
  min-width: 140px;
}

.bitok-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.bitok-chart-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
}

.auth-button {
  width: 100%;
}

.product-landing {
  padding: 34px 0 72px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.86fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0 40px;
}

.hero-copy-block h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-visual {
  padding: 24px;
}

.hero-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-score-row,
.risk-list div,
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-score-row strong {
  display: block;
  margin-top: 4px;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.risk-list {
  display: grid;
  gap: 12px;
}

.risk-list div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(245, 249, 255, 0.78);
  border: 1px solid rgba(209, 223, 244, 0.84);
}

.risk-list span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.landing-section {
  display: grid;
  gap: 22px;
  padding: 34px 0;
}

.section-copy h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.capability-grid,
.showcase-grid,
.bullet-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.showcase-grid-tight {
  margin-top: 4px;
}

.capability-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(209, 223, 244, 0.84);
}

.capability-item h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.capability-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.capability-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f6df2, #4aa2ff);
  box-shadow: 0 0 0 6px rgba(15, 109, 242, 0.12);
}

.bar-stack {
  display: grid;
  gap: 16px;
}

.bar-item {
  display: grid;
  gap: 8px;
}

.bullet-feature {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(209, 223, 244, 0.84);
  background: rgba(245, 249, 255, 0.78);
  font-weight: 700;
  color: var(--text-main);
}

.report-preview-shell {
  display: grid;
  gap: 18px;
}

.report-preview-card {
  display: grid;
  gap: 22px;
}

.report-preview-bullets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-section {
  padding-bottom: 0;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid rgba(205, 220, 242, 0.84);
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.94), rgba(247, 250, 255, 0.98));
}

.footer-shell {
  padding: 34px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #16325f;
}

.footer-column a {
  color: rgba(29, 49, 91, 0.78);
  font-weight: 600;
}

.footer-column a:hover {
  color: #0c5ed7;
}

.footer-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(210, 223, 242, 0.84);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-meta p {
  margin: 0;
  max-width: 760px;
}

.footer-meta span {
  white-space: nowrap;
}

.cta-band {
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(199, 217, 243, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.92));
  box-shadow: var(--shadow-xl);
}

.risk-list-compact {
  margin-top: 4px;
}

.landing-shell {
  padding: 40px 0 64px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: 24px;
  padding: 30px;
}

.landing-side {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 8px 0;
}

.mini-card h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}

@media (max-width: 980px) {
  .auth-shell,
  .boss-overview-grid,
  .boss-detail-layout,
  .workspace-grid,
  .landing-hero,
  .product-hero,
  .analytics-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .provider-grid,
  .landing-grid,
  .field-grid,
  .recharge-selection-grid,
  .report-grid,
  .finding-grid,
  .behavior-grid,
  .exposure-grid,
  .report-metric-grid,
  .summary-grid,
  .pdf-plan-grid,
  .capability-grid,
  .showcase-grid,
  .bullet-feature-grid,
  .report-preview-bullets,
  .footer-grid,
  .bitok-chart-grid {
    grid-template-columns: 1fr;
  }

  .auth-copy h1,
  .landing-hero h1 {
    max-width: none;
  }

  .topbar-inner,
  .page-head,
  .auth-foot,
  .hero-score-row {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
  }

  .qr-panel {
    grid-template-columns: 1fr;
  }

  .recharge-modal-head {
    flex-direction: column;
  }

  .recharge-modal-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .footer-meta {
    flex-direction: column;
  }

  .qr-panel-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .card-pad,
  .landing-hero {
    padding: 22px;
  }

  .brand-lockup small {
    letter-spacing: 0.1em;
  }

  .nav-links a,
  .button {
    width: 100%;
  }

  .hero-copy-block h1,
  .auth-copy h1,
  .landing-hero h1 {
    font-size: clamp(2.3rem, 9vw, 3.6rem);
  }

  .auth-minimal-card {
    padding: 24px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .recharge-qr-lg {
    width: 160px;
    height: 160px;
  }

  .cta-band {
    padding: 24px;
  }

  .verify-text {
    font-size: 0.84rem;
    padding: 0 62px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .topbar,
  .page-head,
  .site-bg {
    display: none !important;
  }

  .page-shell {
    padding: 0;
  }

  .print-area .card {
    box-shadow: none;
    border-color: #d8dfeb;
  }
}
