:root {
  --surface: rgba(6, 13, 25, 0.76);
  --surface-strong: rgba(7, 16, 31, 0.94);
  --edge: rgba(104, 197, 255, 0.18);
  --edge-strong: rgba(86, 220, 255, 0.42);
  --success: #71f2ce;
  --danger: #ff8198;
  --warning: #ffd27d;
}

/* Billing and invoice surfaces */
.billing-intro { max-width: 860px; }
.billing-layout,
.invoice-grid,
.admin-billing-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 20px; align-items: start; }
.billing-primary,
.billing-summary,
.checkout-gate,
.credit-card { padding: clamp(24px, 4vw, 38px); }
.billing-summary { position: sticky; top: 22px; }
.billing-summary h2,
.checkout-gate h2,
.credit-card strong { margin: 10px 0 13px; color: #e8faff; font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 520; letter-spacing: -.035em; }
.billing-summary p,
.checkout-gate p,
.credit-card p,
.truth-note { color: #7d93a8; font-size: 12px; line-height: 1.75; }
.billing-summary .primary-button { width: 100%; margin-top: 20px; justify-content: center; }
.primary-button:disabled { opacity: .45; cursor: not-allowed; filter: saturate(.35); }
.billing-empty { min-height: 330px; }
.billing-empty .billing-icon { margin-bottom: 2px; }
.billing-icon { display: inline-grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(95, 221, 255, .22); border-radius: 9px; background: rgba(48, 171, 255, .07); color: #68e6ff; }
.billing-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.checkout-gate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 25px; align-items: center; }
.checkout-gate h2 { margin-top: 8px; }
.checkout-gate p { max-width: 710px; margin: 0; }
.billing-table-card { margin-top: 0; overflow: hidden; }
.billing-table td strong { color: #e0f8ff; font-weight: 560; }
.table-action { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(98, 214, 255, .2); border-radius: 4px; color: #92eaff; font-size: 10px; }
.table-action:hover { border-color: rgba(98, 214, 255, .5); color: #e8fcff; }
.invoice-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 34px; }
.invoice-head h1 { margin: 8px 0 9px; color: #e9fbff; font-size: clamp(2rem, 4vw, 4.3rem); font-weight: 500; letter-spacing: -.055em; }
.invoice-head p { max-width: 680px; margin: 0; color: #748b9f; font-size: 12px; line-height: 1.7; }
.hash-list,
.dependency-list { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.hash-list li { min-width: 0; padding: 11px; border: 1px solid rgba(103, 199, 255, .1); background: rgba(0, 8, 17, .32); }
.hash-list span { display: block; margin-bottom: 7px; color: #7891a5; font-size: 9px; }
.hash-list code,
.verification-facts code { display: block; color: #9bdff0; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.credit-card { min-height: 210px; }
.credit-card > span { color: #70869b; font: 9px ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.credit-card strong { display: block; margin-top: 22px; font-size: clamp(2rem, 4vw, 3.4rem); }
.truth-note { margin: 24px 0 0; padding: 14px 16px; border: 1px solid rgba(255, 210, 125, .13); background: rgba(255, 202, 93, .035); }
.verification-page { display: grid; max-width: 760px; min-height: 540px; margin: 0 auto; place-items: center; align-content: center; text-align: center; }
.verification-emblem { display: grid; width: 78px; height: 78px; margin-bottom: 25px; place-items: center; border: 1px solid rgba(93, 239, 205, .32); border-radius: 50%; background: rgba(54, 219, 185, .07); color: #74f0d2; box-shadow: 0 0 60px rgba(50, 227, 198, .08); }
.verification-emblem.invalid { border-color: rgba(255, 112, 139, .3); background: rgba(255, 71, 105, .06); color: #ff8da3; }
.verification-emblem svg { width: 37px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.verification-page h1 { margin: 12px 0; color: #edfcff; font-size: clamp(2.3rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.06em; }
.verification-page > p { max-width: 590px; margin: 0; color: #7d93a6; font-size: 13px; line-height: 1.75; }
.verification-facts { width: 100%; margin: 35px 0 0; padding: 22px; border: 1px solid rgba(104, 197, 255, .13); border-radius: 6px; background: rgba(5, 15, 28, .65); text-align: left; }
.verification-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(97, 183, 236, .08); }
.verification-facts > div:last-child { border: 0; }
.verification-facts dt { color: #6e8498; font-size: 10px; }
.verification-facts dd { min-width: 0; margin: 0; color: #c9e2ed; font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.billing-metrics { margin-bottom: 20px; }
.admin-billing-grid { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
.dependency-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(101, 188, 242, .09); }
.dependency-list li > div { display: grid; gap: 5px; }
.dependency-list strong { color: #dff6ff; font-size: 12px; }
.dependency-list span { color: #71889c; font-size: 9px; }
.dependency-list code { color: #88dced; font-size: 8px; }

.domain-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  min-height: 520px;
  padding-bottom: 70px;
}

.domain-hero h1,
.domain-detail-head h1 {
  max-width: 900px;
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, #f5ffff 2%, #6eeaff 40%, #338cff 72%, #9e7bff);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(3.1rem, 6vw, 6.7rem);
  font-weight: 510;
  letter-spacing: -.068em;
  line-height: .93;
}

.domain-hero-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.domain-orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: end;
  filter: drop-shadow(0 0 38px rgba(41, 178, 255, .16));
}

.domain-orbit::before,
.domain-orbit::after {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(90, 219, 255, .14);
  border-radius: 50%;
  content: '';
  animation: domain-pulse 5s ease-in-out infinite;
}

.domain-orbit::after { inset: 29%; animation-delay: -2.5s; }
.domain-orbit svg { width: 100%; overflow: visible; fill: none; stroke: rgba(109, 219, 255, .26); stroke-width: .8; }
.domain-orbit .orbit-node { fill: #64e8ff; stroke: none; filter: drop-shadow(0 0 7px #42d9ff); }
.domain-orbit .node-a { animation: domain-node 4.4s ease-in-out infinite; }
.domain-orbit .node-b { animation: domain-node 4.4s ease-in-out -1.5s infinite; }
.domain-orbit .node-c { animation: domain-node 4.4s ease-in-out -3s infinite; }

@keyframes domain-pulse { 50% { opacity: .35; transform: scale(1.08); } }
@keyframes domain-node { 50% { opacity: .35; } }

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

.domain-search-card { min-width: 0; padding: 30px; }
.domain-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.domain-search-form .primary-button,
.domain-search-form .secondary-button { min-height: 49px; white-space: nowrap; }
.domain-live-result { min-height: 132px; margin-top: 20px; padding: 18px; border: 1px solid rgba(100, 196, 255, .1); border-radius: 5px; background: rgba(1, 8, 18, .58); color: #98adbe; font-size: 12px; line-height: 1.65; }
.domain-live-result p { margin: 0; }
.domain-live-result strong { display: block; margin-bottom: 8px; color: #e6faff; font-size: 19px; font-weight: 540; }
.domain-live-result .result-state { display: inline-flex; margin-top: 12px; padding: 5px 9px; border: 1px solid rgba(255, 210, 125, .24); border-radius: 999px; color: var(--warning); font: 8px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.domain-live-result dl { display: grid; gap: 8px; margin: 0; }
.domain-live-result dl > div { display: grid; grid-template-columns: minmax(105px, .35fr) minmax(0, 1fr); gap: 14px; }
.domain-live-result dt { color: #6f8499; }
.domain-live-result dd { min-width: 0; margin: 0; color: #c5dce9; overflow-wrap: anywhere; }
.domain-disclaimer { margin: 15px 0 0; color: #64798e; font-size: 10px; line-height: 1.6; }

.domain-section { padding-top: 100px; }
.section-heading > p { max-width: 700px; margin: 12px 0 0; color: #7f94a8; font-size: 13px; line-height: 1.7; }
.domain-table-wrap { margin-top: 30px; overflow: hidden; }
.domain-pricing-table td:first-child strong { display: block; color: #e8f9ff; font-size: 15px; }
.domain-pricing-table td:first-child small { display: block; max-width: 340px; margin-top: 6px; color: #6f8396; font-size: 9px; line-height: 1.5; }

.domain-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 82px; }
.domain-feature { min-height: 235px; padding: 25px; }
.domain-feature-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(89, 218, 255, .2); border-radius: 7px; background: rgba(59, 164, 255, .06); color: #69e7ff; }
.domain-feature-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.domain-feature h3 { margin: 24px 0 10px; color: #e7f8ff; font-size: 16px; font-weight: 540; }
.domain-feature p { margin: 0; color: #798fa3; font-size: 12px; line-height: 1.75; }

.domain-truth-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 60px; margin-top: 82px; padding: 34px; }
.domain-truth-panel h2 { margin: 0; color: #e8f9ff; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 520; letter-spacing: -.045em; }
.domain-truth-panel p { max-width: 650px; margin: 17px 0 0; color: #7e94a8; font-size: 13px; line-height: 1.75; }
.domain-truth-panel dl { display: grid; gap: 2px; margin: 0; }
.domain-truth-panel dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(102, 190, 244, .09); }
.domain-truth-panel dt { color: #6f8397; font-size: 10px; }
.domain-truth-panel dd { margin: 0; color: #bfdae8; font: 9px ui-monospace, monospace; letter-spacing: .05em; text-align: right; text-transform: uppercase; }

.empty-domain-state { display: grid; min-height: 380px; place-items: center; align-content: center; gap: 18px; padding: 45px; text-align: center; }
.empty-domain-state h2 { margin: 0; color: #e6f8ff; font-size: 26px; }
.empty-domain-state p { max-width: 480px; margin: 0; color: #7d92a5; }
.domain-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.domain-customer-card { padding: 24px; }
.domain-customer-card > div { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.domain-customer-card strong { color: #e9faff; overflow-wrap: anywhere; }
.domain-customer-card dl,
.domain-facts { display: grid; gap: 10px; margin: 24px 0; }
.domain-customer-card dl > div,
.domain-facts > div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(97, 180, 232, .08); }
.domain-customer-card dt,
.domain-facts dt { color: #71869a; font-size: 10px; }
.domain-customer-card dd,
.domain-facts dd { margin: 0; color: #bbd4e1; font-size: 11px; text-align: right; }
.domain-detail-head { padding-bottom: 30px; }
.domain-detail-head p { color: #6f8498; font: 10px ui-monospace, monospace; letter-spacing: .08em; }
.domain-tabs { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: thin; }
.domain-tabs a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid rgba(100, 197, 255, .13); border-radius: 999px; color: #8ba2b5; font-size: 10px; }
.domain-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.domain-list-section { margin-top: 18px; }
.domain-list-section ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.domain-list-section li { display: flex; justify-content: space-between; gap: 18px; padding: 12px; border: 1px solid rgba(100, 197, 255, .09); border-radius: 4px; color: #bfd7e4; font-size: 11px; }
.domain-list-section li span { color: #70869a; text-align: right; }

@media (max-width: 980px) {
  .billing-layout,
  .invoice-grid,
  .admin-billing-grid { grid-template-columns: 1fr; }
  .billing-summary { position: static; }
  .checkout-gate { grid-template-columns: auto minmax(0, 1fr); }
  .checkout-gate > .secondary-button { grid-column: 1 / -1; justify-self: start; }
  .credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-head { display: grid; align-items: start; }
  .domain-hero { grid-template-columns: 1fr; min-height: 0; }
  .domain-orbit { display: none; }
  .domain-search-grid,
  .domain-truth-panel { grid-template-columns: 1fr; }
  .domain-feature-grid,
  .domain-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .credit-grid { grid-template-columns: 1fr; }
  .checkout-gate { grid-template-columns: 1fr; }
  .billing-primary,
  .billing-summary,
  .checkout-gate,
  .credit-card { padding: 21px; }
  .invoice-head .button-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .invoice-head .button-row > * { justify-content: center; }
  .billing-table { min-width: 620px; }
  .verification-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .verification-facts dd { text-align: left; }
}

@media (max-width: 980px) {
  .domain-hero { padding-bottom: 42px; }
  .domain-hero h1 { font-size: clamp(2.75rem, 14vw, 4.8rem); }
  .domain-search-form { grid-template-columns: 1fr; }
  .domain-search-card { padding: 20px; }
  .domain-feature-grid,
  .domain-card-grid,
  .domain-detail-grid { grid-template-columns: 1fr; }
  .domain-section { padding-top: 70px; }
  .domain-pricing-table thead { display: none; }
  .domain-pricing-table,
  .domain-pricing-table tbody,
  .domain-pricing-table tr,
  .domain-pricing-table td { display: block; width: 100%; }
  .domain-pricing-table { min-width: 0; }
  .domain-pricing-table tr { padding: 16px; border-bottom: 1px solid rgba(100, 197, 255, .1); }
  .domain-pricing-table td { display: grid; grid-template-columns: minmax(100px, .45fr) minmax(0, 1fr); gap: 15px; padding: 8px 0; border: 0; text-align: right; }
  .domain-pricing-table td:first-child { display: block; text-align: left; }
  .domain-pricing-table td[data-label]::before { color: #62788d; content: attr(data-label); font-size: 9px; text-align: left; }
  .domain-truth-panel { gap: 30px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .domain-orbit::before,
  .domain-orbit::after,
  .domain-orbit .orbit-node { animation: none; }
}

.platform-body {
  min-width: 0;
}

.platform-body main {
  min-height: auto;
}

.platform-header {
  position: relative;
  z-index: 10;
}

.platform-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9aaabd;
  font-size: 12px;
}

.platform-nav > a,
.nav-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.platform-nav > a:hover,
.nav-button:hover {
  color: #edfbff;
  background: rgba(80, 194, 255, 0.07);
}

.platform-nav .nav-cta {
  border: 1px solid rgba(94, 220, 255, 0.28);
  color: #dffaff;
}

.inline-form {
  margin: 0;
}

.platform-main {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 212px);
  padding-block: 70px 110px;
}

.platform-footer {
  flex-wrap: wrap;
  gap: 22px;
}

.platform-footer nav {
  display: flex;
  gap: 20px;
}

.platform-footer a:hover {
  color: var(--cyan);
}

.notice {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: -30px 0 34px;
  padding: 14px 17px;
  border: 1px solid var(--edge);
  border-radius: 5px;
  background: rgba(7, 17, 30, 0.88);
  color: #c8d9e8;
  font-size: 13px;
}

.notice span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.notice-error {
  border-color: rgba(255, 129, 152, 0.32);
  color: #ffd8e0;
}

.notice-error span {
  background: var(--danger);
  box-shadow: 0 0 10px var(--danger);
}

.notice-success span {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.page-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.19em;
}

.auth-shell {
  display: grid;
  min-height: calc(100svh - 300px);
  grid-template-columns: minmax(0, 1fr) minmax(370px, 470px);
  gap: clamp(55px, 10vw, 150px);
  align-items: center;
}

.auth-copy,
.auth-card,
.form-section,
.panel-card,
.detail-card,
.table-card,
.identity-review-card,
.health-card {
  min-width: 0;
}

.auth-copy h1,
.page-intro h1,
.dashboard-head h1,
.legal-page h1,
.error-page h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.98;
  color: transparent;
  background: linear-gradient(100deg, #f7ffff 4%, #63e6ff 42%, #2792ff 72%, #9274ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.auth-copy p,
.page-intro > p,
.dashboard-head > div > p,
.legal-page > p,
.legal-page h2 + p,
.error-page p {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.trust-list span,
.status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(102, 204, 255, 0.13);
  border-radius: 999px;
  color: #8fa7ba;
  background: rgba(19, 45, 68, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glass-card {
  position: relative;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 18, 33, 0.84), rgba(5, 10, 23, 0.72));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(197, 238, 255, 0.04);
  backdrop-filter: blur(20px);
}

.glass-card::before {
  position: absolute;
  top: -1px;
  left: 10%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 14px var(--cyan);
  content: '';
}

.auth-card {
  padding: 31px;
}

.card-heading,
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 27px;
}

.card-heading span,
.panel-title > div > span,
.section-heading > span,
.camera-head span,
.health-card > span {
  display: block;
  margin-bottom: 7px;
  color: #70869b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.card-heading strong,
.panel-title h2,
.section-heading h2,
.camera-head strong {
  margin: 0;
  color: #e8f7ff;
  font-size: 19px;
  font-weight: 540;
  letter-spacing: -0.025em;
}

.form-stack {
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  min-width: 0;
  gap: 9px;
  color: #9fb0c0;
  font-size: 12px;
}

.field > span {
  display: flex;
  gap: 7px;
  align-items: baseline;
}

.field small {
  color: #60748a;
  font-size: 9px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(105, 178, 224, 0.2);
  border-radius: 4px;
  outline: none;
  background: rgba(1, 7, 16, 0.76);
  color: #edfaff;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 108px;
  padding-block: 13px;
  resize: vertical;
}

.field select {
  appearance: auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(62, 231, 255, 0.66);
  background: rgba(3, 12, 24, 0.92);
  box-shadow: 0 0 0 3px rgba(62, 231, 255, 0.08), 0 0 24px rgba(36, 140, 255, 0.08);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: rgba(255, 129, 152, 0.65);
}

.form-row,
.button-row,
.submit-row,
.document-links,
.camera-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #9aabbb;
  font-size: 11px;
  line-height: 1.55;
}

.check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--cyan);
}

.check a,
.text-link,
.card-footnote a {
  color: #8cecff;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 47px;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(94, 220, 255, 0.42);
  border-radius: 4px;
  background: linear-gradient(110deg, rgba(38, 176, 255, 0.17), rgba(61, 67, 164, 0.13));
  box-shadow: inset 0 0 22px rgba(59, 184, 255, 0.06), 0 14px 40px rgba(0, 0, 0, 0.2);
  color: #ddfaff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.secondary-button {
  border-color: rgba(124, 181, 220, 0.2);
  background: rgba(19, 37, 55, 0.35);
  color: #adc0d0;
}

.primary-button:hover,
.secondary-button:hover {
  border-color: rgba(94, 220, 255, 0.82);
  box-shadow: 0 0 25px rgba(24, 176, 255, 0.12);
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.nav-button:focus-visible,
.platform-nav a:focus-visible,
.icon-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.full {
  width: 100%;
}

.card-footnote {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(110, 183, 230, 0.09);
  color: #74869a;
  font-size: 11px;
  text-align: center;
}

.compact-auth {
  min-height: calc(100svh - 320px);
}

.page-intro {
  max-width: 830px;
  margin-bottom: 52px;
}

.page-intro.small {
  max-width: 740px;
  margin-bottom: 36px;
}

.page-intro.small h1 {
  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.registration-intro {
  margin-bottom: 48px;
}

.registration-form {
  display: grid;
  gap: 28px;
}

.form-section {
  display: grid;
  grid-template-columns: 48px minmax(220px, 0.72fr) minmax(0, 1.55fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
}

.section-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(74, 219, 255, 0.24);
  border-radius: 50%;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  box-shadow: inset 0 0 12px rgba(62, 231, 255, 0.08);
}

.section-heading p,
.panel-copy,
.privacy-note {
  margin: 14px 0 0;
  color: #778a9e;
  font-size: 12px;
  line-height: 1.65;
}

.photo-editor,
.capture-grid,
.consents,
.submit-row {
  grid-column: 3;
}

.photo-editor {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(112, 185, 233, 0.09);
}

.photo-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px dashed rgba(99, 213, 255, 0.34);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(20, 59, 83, 0.25), rgba(3, 10, 20, 0.66));
  touch-action: none;
  cursor: move;
}

.photo-preview img {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.photo-preview > span,
.capture-preview > span {
  position: absolute;
  inset: 50% auto auto 50%;
  color: #587087;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  transform: translate(-50%, -50%);
}

.photo-controls {
  display: grid;
  justify-items: start;
  gap: 11px;
}

.photo-controls strong,
.capture-card strong {
  color: #dceaf4;
  font-size: 13px;
  font-weight: 550;
}

.photo-controls p,
.capture-card p {
  margin: 0;
  color: #74869a;
  font-size: 11px;
  line-height: 1.6;
}

.file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.range-field {
  display: grid;
  width: min(260px, 100%);
  gap: 6px;
  color: #8195a9;
  font-size: 10px;
}

.range-field input {
  width: 100%;
  accent-color: var(--cyan);
}

.capture-state {
  display: block;
  color: #6f849a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.capture-state.ready {
  color: var(--success);
}

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

.capture-card {
  display: grid;
  gap: 16px;
  padding: 17px;
  border: 1px solid rgba(105, 178, 224, 0.14);
  border-radius: 6px;
  background: rgba(2, 8, 17, 0.48);
}

.capture-card > div:last-child {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.capture-preview {
  position: relative;
  aspect-ratio: 85.6 / 53.98;
  overflow: hidden;
  border: 1px dashed rgba(99, 213, 255, 0.3);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(20, 59, 83, 0.2), rgba(3, 10, 20, 0.72));
}

.capture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consents {
  display: grid;
  gap: 14px;
}

.submit-row {
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 23px;
  border-top: 1px solid rgba(112, 185, 233, 0.09);
}

.submit-row p {
  margin: 0;
  color: #71869a;
  font-size: 11px;
}

.camera-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(91, 218, 255, 0.32);
  border-radius: 8px;
  background: #050b16;
  color: var(--ink);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.7), 0 0 60px rgba(39, 135, 255, 0.12);
}

.camera-dialog::backdrop {
  background: rgba(0, 3, 9, 0.86);
  backdrop-filter: blur(8px);
}

.camera-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(112, 185, 233, 0.1);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(120, 188, 232, 0.16);
  border-radius: 50%;
  background: transparent;
  color: #a9bbcb;
  font-size: 20px;
  cursor: pointer;
}

.camera-viewport {
  position: relative;
  overflow: hidden;
  background: #01030a;
  aspect-ratio: 16 / 10;
}

.camera-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-viewport canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-viewport canvas[hidden],
.camera-viewport video[hidden] {
  display: none;
}

.document-guide {
  position: absolute;
  inset: 14% 10%;
  border: 1px solid rgba(99, 230, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 0 0 100vmax rgba(0, 3, 9, 0.48), inset 0 0 35px rgba(37, 179, 255, 0.08);
}

.document-guide span {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #ccfbff;
  border-style: solid;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.document-guide span:nth-child(1) { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.document-guide span:nth-child(2) { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.document-guide span:nth-child(3) { right: -2px; bottom: -2px; border-width: 0 2px 2px 0; }
.document-guide span:nth-child(4) { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }

.camera-viewport p {
  position: absolute;
  right: 14%;
  bottom: 4%;
  left: 14%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: rgba(1, 5, 13, 0.76);
  color: #c3d6e5;
  font-size: 11px;
  text-align: center;
}

.camera-actions {
  justify-content: flex-end;
  padding: 18px 22px 22px;
}

.dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.dashboard-head h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.account-chip {
  display: flex;
  min-width: 230px;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(104, 197, 255, 0.15);
  border-radius: 5px;
  background: rgba(4, 13, 25, 0.62);
}

.account-chip div {
  display: grid;
  gap: 4px;
}

.account-chip small {
  color: #647b91;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.account-chip strong {
  color: #cfe1ec;
  font-size: 11px;
  font-weight: 520;
}

.subnav {
  display: flex;
  gap: 5px;
  margin-bottom: 28px;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(111, 184, 231, 0.1);
  scrollbar-width: none;
}

.subnav a {
  min-height: 36px;
  padding: 10px 13px;
  border-radius: 4px;
  color: #7f93a7;
  font-size: 11px;
  white-space: nowrap;
}

.subnav a.active,
.subnav a:hover {
  color: #ddfaff;
  background: rgba(55, 173, 235, 0.09);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.verification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 210, 125, 0.2);
  border-radius: 5px;
  background: rgba(74, 51, 12, 0.14);
}

.verification-banner > div {
  display: grid;
  gap: 5px;
}

.verification-banner strong {
  color: #ffe5ae;
  font-size: 12px;
  font-weight: 540;
}

.verification-banner span {
  color: #8f836c;
  font-size: 10px;
}

.admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  position: relative;
  min-width: 0;
  min-height: 115px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(103, 195, 255, 0.13);
  border-radius: 6px;
  background: rgba(5, 14, 27, 0.62);
}

.metric-card span {
  display: block;
  min-height: 28px;
  color: #71869a;
  font-size: 9px;
  line-height: 1.5;
}

.metric-card strong {
  display: block;
  margin-top: 11px;
  color: #e1f5ff;
  font-size: 27px;
  font-weight: 470;
}

.metric-card i {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(68, 199, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(45, 134, 255, 0.07);
}

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

.panel-card,
.detail-card,
.table-card,
.identity-review-card {
  padding: 27px;
}

.status-approved,
.status-active {
  border-color: rgba(113, 242, 206, 0.25);
  color: var(--success);
}

.status-pending,
.status-pending_verification,
.status-reserved,
.status-needs_review {
  border-color: rgba(255, 210, 125, 0.23);
  color: var(--warning);
}

.status-rejected,
.status-suspended,
.status-failed {
  border-color: rgba(255, 129, 152, 0.26);
  color: var(--danger);
}

.data-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.data-list.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.data-list > div {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(111, 184, 231, 0.08);
}

.data-list dt {
  color: #71869a;
  font-size: 10px;
}

.data-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #c9dbe8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-align: right;
}

.button-row {
  margin-top: 24px;
}

.session-list {
  display: grid;
  margin-bottom: 22px;
}

.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(111, 184, 231, 0.08);
}

.session-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.session-row strong {
  color: #cfdeea;
  font-size: 11px;
  font-weight: 530;
  overflow-wrap: anywhere;
}

.session-row span:not(.status-badge) {
  color: #71859a;
  font-size: 9px;
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  padding: 35px;
  text-align: center;
}

.table-scroll { overflow-x: auto; }
.data-table { border-collapse: collapse; min-width: 680px; width: 100%; }
.data-table th,
.data-table td { border-bottom: 1px solid rgba(130, 173, 219, .12); padding: 15px 12px; text-align: left; }
.data-table th { color: var(--muted); font: 700 11px/1.2 var(--font-mono, monospace); letter-spacing: .1em; }
.notification-list { display: grid; gap: 14px; }
.notification-list article { border: 1px solid rgba(130, 173, 219, .12); border-radius: 16px; padding: 18px; }
.notification-list article > div { display: flex; gap: 14px; justify-content: space-between; }
.notification-list time { color: var(--muted); font-size: 12px; }
.notification-list p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }

@media (max-width: 980px) {
  .data-table.domain-pricing-table { min-width: 0; }
}

.empty-state strong {
  color: #d2e4ef;
  font-weight: 520;
}

.empty-state p {
  max-width: 380px;
  margin: 10px 0 0;
  color: #74879b;
  font-size: 11px;
}

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

.provider-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(104, 197, 255, 0.11);
  border-radius: 5px;
  background: rgba(2, 8, 17, 0.38);
}

.provider-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(85, 218, 255, 0.24);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 9px;
}

.provider-grid article > div:nth-child(2) {
  display: grid;
  gap: 5px;
}

.provider-grid strong {
  color: #cfe1ed;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.provider-grid article > div > span {
  color: #71869a;
  font-size: 9px;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

th,
td {
  padding: 14px 13px;
  border-bottom: 1px solid rgba(111, 184, 231, 0.08);
  text-align: left;
  white-space: nowrap;
}

th {
  color: #71869a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

td {
  color: #b5c7d5;
}

code {
  color: #84dff0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

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

.review-form {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
}

.document-links {
  margin-top: 20px;
}

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

.health-card {
  display: grid;
  min-height: 130px;
  align-content: space-between;
  padding: 21px;
}

.health-card strong {
  color: #d9f3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.domain-shell {
  min-height: calc(100svh - 280px);
}

.rdap-result {
  min-height: 100px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(111, 184, 231, 0.09);
  color: #94a8b9;
  font-size: 11px;
  line-height: 1.7;
}

.rdap-result dl {
  margin: 0;
}

.rdap-result div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(111, 184, 231, 0.07);
}

.rdap-result dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #d2e5ef;
  text-align: right;
}

.legal-page {
  width: min(790px, 100%);
  margin-inline: auto;
}

.legal-page h1 {
  margin-bottom: 38px;
}

.legal-page h2 {
  margin: 38px 0 0;
  color: #dceef7;
  font-size: 20px;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.error-page {
  display: grid;
  min-height: 55svh;
  align-content: center;
  justify-items: start;
}

.error-page .primary-button {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form-section { grid-template-columns: 44px minmax(190px, 0.65fr) minmax(0, 1.35fr); gap: 25px; padding: 28px; }
  .health-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-form .primary-button { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .platform-main { padding-block: 55px 90px; }
  .auth-shell { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .auth-copy { max-width: 690px; }
  .auth-card { width: min(560px, 100%); }
  .form-section { grid-template-columns: 42px minmax(0, 1fr); }
  .section-heading { grid-column: 2; }
  .form-section > .form-grid,
  .photo-editor,
  .capture-grid,
  .consents,
  .submit-row { grid-column: 1 / -1; }
  .dashboard-head { align-items: flex-start; flex-direction: column; }
  .dashboard-grid,
  .identity-admin-grid { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .shell { width: min(100% - 30px, 1180px); }
  .platform-header { height: auto; min-height: 78px; padding-block: 14px; align-items: flex-start; }
  .platform-nav { max-width: 62%; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
  .platform-nav > a,
  .nav-button { min-height: 32px; padding-inline: 8px; font-size: 10px; }
  .platform-nav > a:first-child { display: none; }
  .platform-main { min-height: calc(100svh - 240px); padding-block: 45px 75px; }
  .notice { margin-top: -16px; }
  .auth-copy h1,
  .page-intro h1,
  .dashboard-head h1,
  .legal-page h1,
  .error-page h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .auth-card,
  .panel-card,
  .detail-card,
  .table-card,
  .identity-review-card { padding: 22px; }
  .form-grid,
  .capture-grid,
  .data-list.two-column,
  .provider-grid { grid-template-columns: 1fr; }
  .form-section { grid-template-columns: 36px minmax(0, 1fr); gap: 17px; padding: 22px; }
  .section-number { width: 34px; height: 34px; }
  .photo-editor { grid-template-columns: 108px minmax(0, 1fr); gap: 17px; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-row .primary-button { width: 100%; }
  .metric-grid,
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 103px; padding: 15px; }
  .account-chip { min-width: 0; width: 100%; }
  .verification-banner { align-items: stretch; flex-direction: column; }
  .panel-title { align-items: flex-start; flex-direction: column; }
  .review-form { grid-template-columns: 1fr; }
  .review-form .primary-button { grid-column: auto; }
  .health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-footer { min-height: 160px; align-items: flex-start; padding-block: 30px; flex-direction: column; }
  .platform-footer > div { flex-direction: column; gap: 5px; }
  .camera-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .camera-viewport { aspect-ratio: 4 / 5; }
  .document-guide { inset: 27% 5%; }
  .camera-actions { justify-content: stretch; }
  .camera-actions button { flex: 1; }
}

@media (max-width: 380px) {
  .shell { width: min(100% - 24px, 1180px); }
  .brand { font-size: 16px; }
  .brand-mark { width: 24px; height: 24px; }
  .platform-nav { max-width: 58%; }
  .platform-nav .nav-cta { display: none; }
  .auth-card,
  .panel-card,
  .detail-card,
  .table-card,
  .identity-review-card,
  .form-section { padding: 19px; }
  .form-section { grid-template-columns: 32px minmax(0, 1fr); }
  .photo-editor { grid-template-columns: 1fr; }
  .photo-preview { width: 118px; }
  .metric-grid,
  .admin-metrics,
  .health-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .button-row,
  .document-links { align-items: stretch; flex-direction: column; }
  .button-row a,
  .document-links a { width: 100%; }
}

/* Phase 7 project, organization, and reseller surfaces */
.project-head { align-items: flex-end; }
.primary-button svg,
.secondary-button svg,
.project-symbol svg,
.project-truth-note svg,
.attachment-link svg,
.verification-emblem svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { min-width: 0; padding: 24px; }
.project-card-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.project-card code,
.organization-card code { color: #6d879c; font: 8px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap: anywhere; }
.project-card h2,
.organization-card h2 { margin: 25px 0 8px; color: #eafaff; font-size: 19px; font-weight: 540; letter-spacing: -.025em; overflow-wrap: anywhere; }
.project-card > p,
.organization-card > p { min-height: 40px; margin: 0; color: #7890a4; font-size: 11px; line-height: 1.65; }
.project-card dl,
.organization-card dl { display: grid; gap: 10px; margin: 25px 0; }
.project-card dl > div,
.organization-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(99,190,244,.08); }
.project-card dt,
.organization-card dt { color: #6f8498; font-size: 9px; }
.project-card dd,
.organization-card dd { min-width: 0; margin: 0; color: #bdd6e2; font-size: 10px; text-align: right; overflow-wrap: anywhere; }
.project-card .secondary-button { width: 100%; justify-content: center; }
.project-symbol { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(91,219,255,.24); border-radius: 8px; color: #69e7ff; background: rgba(44,161,255,.06); }
.project-symbol svg { width: 27px; height: 27px; }
.project-request-form { display: grid; gap: 24px; margin-top: 35px; padding: clamp(23px,4vw,42px); }
.project-budget-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.project-request-form textarea,
.project-message-form textarea { resize: vertical; }
.project-truth-note { display: flex; gap: 14px; align-items: flex-start; padding: 15px; border: 1px solid rgba(104,197,255,.12); background: rgba(0,8,18,.38); color: #788fa3; }
.project-truth-note svg { color: #68e7ff; }
.project-truth-note p { margin: 0; font-size: 11px; line-height: 1.7; }
.project-detail-hero { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 38px; }
.project-detail-hero h1 { max-width: 900px; margin: 0; color: transparent; background: linear-gradient(100deg,#f6ffff,#62e6ff 44%,#338cff 77%,#9b77ff); background-clip: text; -webkit-background-clip: text; font-size: clamp(2.5rem,5vw,5.2rem); font-weight: 510; letter-spacing: -.065em; line-height: .98; overflow-wrap: anywhere; }
.project-detail-hero p { margin: 15px 0 0; color: #7c93a7; font-size: 12px; }
.project-overview-grid,
.admin-project-grid,
.admin-project-records { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.project-description { margin: 0 0 26px; color: #9cb0c1; font-size: 12px; line-height: 1.8; }
.milestone-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.milestone-list li { display: flex; gap: 13px; align-items: flex-start; }
.milestone-dot { width: 9px; height: 9px; margin-top: 4px; flex: 0 0 auto; border: 1px solid #67e7ff; border-radius: 50%; box-shadow: 0 0 10px rgba(63,224,255,.34); }
.milestone-list li > div { display: grid; gap: 5px; }
.milestone-list strong { color: #dff6ff; font-size: 12px; }
.milestone-list small { color: #71879b; font-size: 9px; }
.project-section { margin-top: 70px; }
.project-quote-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.quote-card { padding: 26px; }
.quote-card > div:first-child { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: #678095; font: 9px ui-monospace,monospace; }
.quote-card h3 { margin: 25px 0 14px; color: #e8faff; font-size: clamp(1.8rem,4vw,3rem); font-weight: 520; letter-spacing: -.05em; }
.quote-card p { color: #879caf; font-size: 12px; line-height: 1.75; }
.quote-card > small,
.sensitive-hint { color: #647b8e; font-size: 9px; line-height: 1.6; }
.quote-actions { margin-top: 20px; }
.delivery-secret-panel { margin-top: 24px; }
.delivery-secret-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(99,190,244,.09); }
.delivery-secret-row > span { display: grid; gap: 5px; }
.delivery-secret-row strong { color: #dff8ff; font-size: 12px; }
.delivery-secret-row small { color: #6f869a; font-size: 9px; }
.project-message-list { display: grid; gap: 12px; margin-top: 24px; }
.project-message { max-width: min(82%,760px); padding: 18px; border: 1px solid rgba(103,195,255,.13); border-radius: 7px; background: rgba(6,16,30,.72); }
.project-message.customer-message { justify-self: end; border-color: rgba(97,225,255,.2); background: rgba(19,76,105,.18); }
.project-message.internal-message { border-color: rgba(255,210,125,.2); background: rgba(113,76,17,.09); }
.project-message header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; color: #6e8599; font-size: 9px; }
.project-message header strong { color: #a9cad8; }
.project-message header time { margin-left: auto; }
.project-message p { margin: 0; color: #bdd3df; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.attachment-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; color: #7bdff2; font-size: 10px; }
.project-message-form { display: grid; gap: 18px; margin-top: 20px; padding: 24px; }
.file-inline { display: flex; gap: 10px; align-items: center; color: #849aab; font-size: 10px; }
.file-inline input { max-width: 260px; }
.project-history { margin-top: 20px; }
.project-secret-page { display: grid; max-width: 820px; min-height: 620px; margin-inline: auto; place-items: center; align-content: center; text-align: center; }
.project-secret-page h1 { margin: 10px 0; color: #edfcff; font-size: clamp(2rem,5vw,4.6rem); font-weight: 520; letter-spacing: -.06em; }
.project-secret-page > p { max-width: 620px; color: #7d93a7; line-height: 1.7; }
.secret-value { width: 100%; margin: 28px 0; padding: 24px; text-align: left; }
.secret-value code { display: block; color: #a7f4e3; font: 12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap: anywhere; white-space: pre-wrap; }
.organization-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 20px; align-items: start; }
.organization-list { display: grid; gap: 18px; }
.organization-card,
.organization-form { padding: 27px; }
.organization-card > div:first-child { display: flex; justify-content: space-between; gap: 14px; }
.organization-form { position: sticky; top: 22px; }
.admin-project-grid { align-items: start; }
.admin-project-records { margin-top: 20px; }
.record-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(101,190,244,.09); color: #b8d0dc; font-size: 11px; }
.notice-warning span { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.status-discovery,.status-in_progress,.status-review,.status-planned,.status-awaiting_review { color: #80dcff; }
.status-quoted,.status-sent { color: var(--warning); }
.status-approved,.status-accepted,.status-completed { color: var(--success); }
.status-rejected,.status-cancelled,.status-expired { color: var(--danger); }

@media (max-width: 1000px) {
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-budget-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .organization-layout { grid-template-columns: 1fr; }
  .organization-form { position: static; }
}

@media (max-width: 720px) {
  .project-head,
  .project-detail-hero { align-items: flex-start; flex-direction: column; }
  .project-grid,
  .project-quote-grid,
  .project-overview-grid,
  .admin-project-grid,
  .admin-project-records { grid-template-columns: 1fr; }
  .project-message { max-width: 100%; }
  .delivery-secret-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .project-budget-grid { grid-template-columns: 1fr; }
  .project-request-form,
  .project-card,
  .quote-card,
  .organization-card,
  .organization-form,
  .project-message-form { padding: 20px; }
  .project-message header { align-items: flex-start; flex-wrap: wrap; }
  .project-message header time { width: 100%; margin-left: 0; }
  .file-inline { align-items: flex-start; flex-direction: column; }
  .file-inline input { max-width: 100%; }
}

/* Phase 6 enterprise control center */
.admin-control-nav {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 0 28px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid rgba(102, 197, 255, .1);
  border-radius: 7px;
  background: rgba(3, 10, 22, .56);
  scrollbar-width: thin;
}
.admin-control-nav a { flex: 0 0 auto; }
.enterprise-head { align-items: end; }
.enterprise-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 20px; }
.admin-overview-grid,
.settings-layout,
.support-admin-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.control-section { margin-top: 18px; }
.control-status-list,
.protection-list,
.feature-flag-list { display: grid; gap: 2px; }
.control-status-list > div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(120px, 1fr) minmax(130px, .8fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(102, 190, 244, .08); }
.control-status-list > div > span,
.protection-list > div > span { color: #6d8498; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; }
.control-status-list small { color: #63798e; font-size: 9px; text-align: right; }
.health-state { color: #b9d4df; font-size: 11px; font-weight: 550; }
.health-verified,
.health-verified_up,
.health-completed { color: var(--success); }
.health-failed,
.health-verified_down { color: var(--danger); }
.health-attention,
.health-degraded,
.health-action_required,
.health-running { color: var(--warning); }
.health-unconfigured,
.health-unknown,
.health-not_used { color: #72899c; }
.protection-list { margin-bottom: 22px; }
.protection-list > div { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(100px, .8fr) 28px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(102, 190, 244, .08); }
.protection-list strong { color: #d7f2fa; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.approval-mark { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #748a9d; }
.approval-mark svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.approval-mark.is-approved { color: var(--success); box-shadow: 0 0 18px rgba(78, 241, 202, .1); }
.approval-mark.is-warning { color: var(--warning); }
.approval-mark.is-error { color: var(--danger); }
.control-module-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.control-module { display: grid; min-height: 170px; align-content: space-between; padding: 20px; transition: border-color 180ms ease, transform 180ms ease; }
.control-module:hover { border-color: rgba(76, 224, 255, .38); transform: translateY(-2px); }
.control-module strong { color: #e1f7ff; font-size: 13px; }
.control-module > span:last-child { color: #6e879b; font-size: 9px; }
.module-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(83, 221, 255, .19); border-radius: 7px; color: #65e5ff; }
.module-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.compact-empty { min-height: 130px; }
.worker-strip { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; overflow: hidden; }
.worker-strip > div { display: grid; min-width: 180px; flex: 1 1 180px; gap: 8px; padding: 20px; border-right: 1px solid rgba(100, 190, 245, .08); }
.worker-strip span { color: #6f8598; font: 8px ui-monospace, monospace; letter-spacing: .12em; }
.worker-strip strong { color: #dbf4fd; font-size: 12px; font-weight: 550; }
.inline-control-form { display: grid; grid-template-columns: minmax(170px, 270px) auto; gap: 12px; align-items: end; margin-top: 22px; }
.feature-flag-list form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(102, 190, 244, .08); }
.feature-flag-list form > div { display: grid; gap: 5px; }
.feature-flag-list strong { color: #d8f1fb; font: 10px ui-monospace, monospace; }
.feature-flag-list span { color: #748a9d; font-size: 10px; line-height: 1.5; }
.flag-switch { position: relative; display: inline-flex; width: 43px; height: 24px; }
.flag-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.flag-switch > span { width: 100%; border: 1px solid rgba(112, 181, 222, .22); border-radius: 999px; background: rgba(13, 28, 44, .7); cursor: pointer; }
.flag-switch > span::after { position: absolute; top: 4px; left: 5px; width: 16px; height: 16px; border-radius: 50%; background: #6f8498; content: ''; transition: transform 180ms ease, background 180ms ease; }
.flag-switch input:checked + span { border-color: rgba(67, 239, 209, .35); background: rgba(43, 196, 173, .09); }
.flag-switch input:checked + span::after { background: var(--success); transform: translateX(17px); }
.enterprise-health { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.enterprise-health .health-card { display: grid; gap: 9px; align-content: start; }
.enterprise-health small,
.enterprise-health time { color: #647b8f; font-size: 9px; overflow-wrap: anywhere; }
.queue-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.queue-summary-grid > article { padding: 16px; border: 1px solid rgba(99, 188, 241, .09); background: rgba(0, 7, 16, .26); }
.queue-summary-grid > article > strong { display: block; margin-bottom: 12px; color: #d9f2fb; font: 10px ui-monospace, monospace; }
.queue-summary-grid > article > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: #74899d; font-size: 10px; }
.queue-summary-grid b { color: #bcd6e2; }
.support-thread,
.internal-note-list { display: grid; gap: 12px; }
.support-message,
.internal-note-list > div:not(.panel-title) { padding: 15px; border: 1px solid rgba(96, 187, 241, .1); border-radius: 5px; background: rgba(1, 8, 17, .35); }
.support-message.staff { border-color: rgba(79, 237, 203, .12); }
.support-message span,
.internal-note-list span { color: #657d91; font: 8px ui-monospace, monospace; }
.support-message p,
.internal-note-list p { margin: 9px 0 0; color: #aec7d4; font-size: 11px; line-height: 1.7; }
.internal-note-list { margin-top: 30px; }
.internal-note-list strong { margin-right: 10px; color: #d7eef7; font-size: 10px; }
.export-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.export-grid > div { display: flex; gap: 8px; align-items: center; padding: 14px; border: 1px solid rgba(100, 190, 241, .09); }
.export-grid strong { margin-right: auto; color: #d6edf7; font: 9px ui-monospace, monospace; }

@media (max-width: 1180px) {
  .enterprise-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .control-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enterprise-health { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .admin-overview-grid,
  .settings-layout,
  .support-admin-layout { grid-template-columns: 1fr; }
  .enterprise-metrics,
  .enterprise-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queue-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .enterprise-metrics,
  .enterprise-health,
  .control-module-grid,
  .queue-summary-grid,
  .export-grid { grid-template-columns: 1fr; }
  .control-module { min-height: 140px; }
  .control-status-list > div { grid-template-columns: 1fr; gap: 5px; }
  .control-status-list small { text-align: left; }
  .feature-flag-list form { grid-template-columns: minmax(0, 1fr) auto; }
  .feature-flag-list .table-action { grid-column: 1 / -1; justify-self: start; }
  .inline-control-form { grid-template-columns: 1fr; }
  .enterprise-head .account-chip { width: 100%; }
  .protection-list > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) 24px;
    gap: 7px;
  }
  .protection-list strong { min-width: 0; overflow-wrap: anywhere; }
  .approval-mark { width: 22px; height: 22px; }
}

/* Phase 5 customer control center */
.cabinet-nav {
  position: relative;
  margin-bottom: 32px;
  padding: 7px;
  border: 1px solid rgba(92, 205, 255, .1);
  border-radius: 7px;
  background: rgba(3, 10, 20, .56);
}

.cabinet-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.phase5-dashboard-grid { margin-bottom: 22px; }
.cabinet-activity-panel,
.cabinet-list-section,
.ticket-reply { margin-top: 22px; }

.compact-activity {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.compact-activity li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(98, 187, 242, .08);
}

.compact-activity li > span { display: grid; min-width: 0; gap: 5px; }
.compact-activity strong { color: #cfdfeb; font-size: 11px; font-weight: 520; overflow-wrap: anywhere; }
.compact-activity small,
.compact-activity time { color: #687e91; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.compact-activity time { flex: 0 0 auto; text-align: right; }
.empty-inline { padding: 26px 0; color: #71869a; font-size: 12px; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.security-primary { grid-row: span 2; }
.security-grid .form-stack { margin-top: 22px; }
.totp-qr { display: block; width: 220px; max-width: 100%; margin: 22px auto; padding: 8px; border-radius: 7px; background: #fff; }
.capability-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(98, 187, 242, .09);
}
.capability-note strong { color: #bcd4e2; font-size: 11px; }
.capability-note span { max-width: 62%; color: #71869a; font-size: 9px; line-height: 1.6; text-align: right; }

.notice-secret {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 25px;
  border-color: rgba(97, 239, 203, .23);
  background: linear-gradient(125deg, rgba(9, 37, 38, .84), rgba(4, 13, 27, .86));
}
.notice-secret h2 { margin: 5px 0 7px; color: #e3f8f5; font-size: 19px; }
.notice-secret p { margin: 0; color: #7f9999; font-size: 11px; line-height: 1.6; }
.notice-secret ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0; padding-left: 24px; }
.notice-secret code,
.secret-output { color: #bdf9e5; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.secret-output { display: block; padding: 14px; border: 1px solid rgba(97, 239, 203, .16); border-radius: 5px; background: rgba(0, 0, 0, .2); user-select: all; }

.scope-list { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; }
.scope-list legend { margin-bottom: 8px; color: #7c90a3; font-size: 10px; }
.scope-list label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px;
  border: 1px solid rgba(98, 187, 242, .08);
  border-radius: 4px;
  background: rgba(27, 68, 95, .05);
}
.scope-list label > span { display: grid; min-width: 0; gap: 3px; }
.scope-list strong { color: #b9d2e1; font: 10px ui-monospace, monospace; overflow-wrap: anywhere; }
.scope-list small { color: #647a8d; font-size: 9px; line-height: 1.45; }
.scope-disabled { opacity: .46; }
.text-danger-button,
.text-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #ff91a7;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.text-button { color: #6fe0f1; }

.responsive-data-list { display: grid; gap: 10px; }
.responsive-data-list > article,
.responsive-data-list > a {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(98, 187, 242, .09);
  border-radius: 5px;
  background: rgba(9, 24, 39, .42);
}
.responsive-data-list > article > div:first-child,
.responsive-data-list > a > div:first-child { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 16px; }
.responsive-data-list strong { color: #cfe0eb; font-size: 11px; overflow-wrap: anywhere; }
.responsive-data-list code { color: #68dff3; font: 9px ui-monospace, monospace; }
.responsive-data-list dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.responsive-data-list dl > div { display: grid; gap: 4px; }
.responsive-data-list dt { color: #61778a; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.responsive-data-list dd { margin: 0; color: #9fb4c3; font-size: 9px; overflow-wrap: anywhere; }

.support-layout,
.notification-layout,
.server-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
}
.notification-layout { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.ticket-card { color: inherit; transition: border-color 160ms ease, transform 160ms ease; }
.ticket-card:hover { border-color: rgba(81, 220, 250, .24); transform: translateY(-1px); }
.file-field input { padding-block: 10px; }

.ticket-thread { display: grid; gap: 13px; max-width: 920px; margin-inline: auto; }
.ticket-message {
  width: min(82%, 760px);
  padding: 18px 20px;
  border: 1px solid rgba(98, 187, 242, .1);
  border-radius: 8px 8px 8px 2px;
  background: rgba(7, 20, 35, .78);
}
.ticket-message-customer { justify-self: end; border-color: rgba(88, 224, 242, .17); border-radius: 8px 8px 2px 8px; background: rgba(14, 48, 62, .66); }
.ticket-message header { display: flex; justify-content: space-between; gap: 15px; }
.ticket-message header strong { color: #cde1ec; font-size: 10px; }
.ticket-message time { color: #60768a; font: 8px ui-monospace, monospace; }
.ticket-message p { margin: 14px 0 0; color: #9db1c0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.attachment-link { display: inline-flex; margin-top: 14px; color: #69ddec; font-size: 10px; }
.ticket-reply { max-width: 920px; margin-inline: auto; }

.notification-feed { display: grid; }
.notification-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 17px 0; border-bottom: 1px solid rgba(98, 187, 242, .08); opacity: .72; }
.notification-item.unread { opacity: 1; }
.notification-item > div { min-width: 0; }
.notification-item strong { color: #cfe2ed; font-size: 11px; }
.notification-item p { margin: 6px 0; color: #8197a8; font-size: 10px; line-height: 1.6; }
.notification-item time { color: #5f7589; font: 8px ui-monospace, monospace; }
.notification-severity { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #55dff3; box-shadow: 0 0 10px currentColor; }
.severity-warning { background: #ffc96e; }
.severity-critical { background: #ff7896; }
.live-pill { display: inline-flex; gap: 7px; align-items: center; color: #6c8295; font: 8px ui-monospace, monospace; text-transform: uppercase; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #5addec; box-shadow: 0 0 8px #5addec; }
.preference-form { display: grid; gap: 6px; }
.preference-head,
.preference-row { display: grid; grid-template-columns: minmax(0, 1fr) 58px 58px; gap: 9px; align-items: center; }
.preference-head { padding-bottom: 8px; color: #60768a; font-size: 8px; text-align: center; }
.preference-head span:first-child { text-align: left; }
.preference-row { padding: 11px 0; border-bottom: 1px solid rgba(98, 187, 242, .07); }
.preference-row strong { color: #a9bfcd; font-size: 10px; }
.preference-row input { width: 17px; height: 17px; justify-self: center; accent-color: #53d8ea; }
.consent-line { display: flex; gap: 11px; margin: 15px 0; color: #879bab; font-size: 10px; line-height: 1.5; }

.server-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.server-card { padding: 23px; }
.server-card header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; }
.server-card header > div { display: grid; min-width: 0; gap: 4px; }
.server-card header strong { color: #ddf1f8; font-size: 13px; overflow-wrap: anywhere; }
.server-card header small { color: #61778a; font: 8px ui-monospace, monospace; }
.server-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(80, 219, 244, .16); border-radius: 6px; color: #62d8ea; }
.server-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.server-status-orb { display: flex; min-width: 150px; gap: 11px; align-items: center; justify-content: center; padding: 15px; border: 1px solid rgba(102, 211, 241, .13); border-radius: 7px; color: #a9c0ce; font: 10px ui-monospace, monospace; text-transform: uppercase; }
.server-status-orb i { width: 9px; height: 9px; border-radius: 50%; background: #ffc66f; box-shadow: 0 0 14px #ffc66f; }
.server-status-orb.status-running i { background: #65e7c2; box-shadow: 0 0 14px #65e7c2; }
.server-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.danger-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid rgba(255, 105, 138, .27); border-radius: 4px; background: rgba(93, 19, 37, .16); color: #ff9bae; font: inherit; font-size: 10px; cursor: pointer; }
.metric-spark-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-spark-grid article { display: grid; gap: 7px; padding: 16px; border: 1px solid rgba(98, 187, 242, .08); border-radius: 5px; background: rgba(8, 24, 40, .42); }
.metric-spark-grid span { color: #6d8396; font: 8px ui-monospace, monospace; text-transform: uppercase; }
.metric-spark-grid strong { color: #d8edf5; font-size: 20px; font-weight: 480; }
.metric-spark-grid small { color: #5f7588; font-size: 8px; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .security-grid,
  .server-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-primary { grid-row: auto; }
  .support-layout,
  .notification-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .security-grid,
  .server-card-grid,
  .server-detail-grid { grid-template-columns: 1fr; }
  .notice-secret { grid-template-columns: 1fr; }
  .notice-secret ol { grid-template-columns: 1fr; }
  .responsive-data-list dl,
  .metric-spark-grid { grid-template-columns: 1fr; }
  .ticket-message { width: 92%; }
  .cabinet-nav { margin-inline: calc(var(--shell-gutter, 0px) * -1); border-inline: 0; border-radius: 0; }
}

@media (max-width: 480px) {
  .capability-note,
  .compact-activity li,
  .responsive-data-list > article > div:first-child,
  .responsive-data-list > a > div:first-child,
  .ticket-message header { align-items: flex-start; flex-direction: column; }
  .capability-note span,
  .compact-activity time { max-width: 100%; text-align: left; }
  .server-action-grid { grid-template-columns: 1fr; }
  .notification-item { grid-template-columns: auto minmax(0, 1fr); }
  .notification-item form { grid-column: 2; }
  .preference-head,
  .preference-row { grid-template-columns: minmax(0, 1fr) 48px 48px; }
  .ticket-message { width: 100%; }
}

.language-switcher {
  align-items: center;
  color: rgba(221, 234, 248, .4);
  display: inline-flex;
  font: 700 11px/1 var(--font-mono, monospace);
  gap: 5px;
  letter-spacing: .08em;
  padding-inline: 4px;
}

.language-switcher a {
  color: rgba(221, 234, 248, .58);
  padding: 10px 3px;
  text-decoration: none;
}

.language-switcher a[aria-current="true"],
.language-switcher a:hover {
  color: var(--cyan);
}

.catalog-hero {
  max-width: 760px;
  padding: clamp(54px, 9vw, 112px) 0 36px;
}

.catalog-hero h1,
.product-detail h1 {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 12px 0 18px;
}

.catalog-hero p,
.product-lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 26px;
}

.product-card-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.product-category {
  color: var(--cyan);
  font: 700 11px/1.2 var(--font-mono, monospace);
  letter-spacing: .13em;
}

.product-card h2 {
  font-size: 24px;
  margin: 28px 0 12px;
}

.product-card > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.product-price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 20px;
  padding-top: 28px;
}

.product-price strong {
  color: var(--text);
  font-size: 18px;
}

.product-price span {
  color: var(--muted);
  font-size: 13px;
}

.product-detail {
  margin: clamp(48px, 8vw, 100px) auto;
  max-width: 900px;
  padding: clamp(28px, 5vw, 64px);
}

.product-detail > p:not(.product-lead) {
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
}

.product-price-large {
  margin: 34px 0;
}

.product-price-large strong {
  font-size: 28px;
}

.is-disabled {
  cursor: not-allowed;
  opacity: .62;
}

.empty-state {
  margin-bottom: 72px;
  padding: 48px;
  text-align: center;
}

@media (max-width: 940px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 300px; }
  .platform-nav > a:nth-of-type(1),
  .platform-nav > a:nth-of-type(2),
  .platform-nav > a:nth-of-type(3),
  .platform-nav > a:nth-of-type(4) { display: none; }
  .platform-header .brand > span:last-child { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-button,
  .secondary-button,
  .platform-nav a,
  .nav-button { transition: none; }
}

/* Shared mobile safeguards for every current and future platform view. */
.platform-body,
.platform-header,
.platform-main,
.platform-footer,
.auth-shell,
.registration-form,
.dashboard-grid,
.identity-admin-grid,
.health-grid,
.responsive-table,
.camera-dialog {
  min-width: 0;
  max-width: 100%;
}

.platform-body {
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.platform-main img,
.platform-main svg,
.platform-footer svg {
  max-width: 100%;
}

.field input,
.field select,
.field textarea {
  max-width: 100%;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  scroll-margin-block: 18dvh;
}

.field textarea {
  width: 100%;
  max-height: min(60dvh, 520px);
}

.primary-button,
.secondary-button,
.nav-button,
.platform-nav > a {
  max-width: 100%;
  height: auto;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

.auth-copy,
.page-intro,
.dashboard-head,
.legal-page,
.error-page,
.panel-card,
.detail-card,
.table-card,
.identity-review-card,
.health-card,
.notice,
.data-list dd,
.session-row strong,
.account-chip strong,
.rdap-result dd,
td,
th,
code {
  overflow-wrap: anywhere;
}

.responsive-table,
.subnav {
  max-width: 100%;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.camera-dialog {
  overscroll-behavior: contain;
}

.camera-actions {
  flex-wrap: wrap;
}

.platform-footer-contact {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #71869a;
  font-size: 10px;
}

.platform-footer-contact > a,
.platform-footer-contact > span {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  overflow-wrap: anywhere;
}

.platform-footer-contact svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: #68dff3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-footer-contact a:hover {
  color: var(--cyan);
}

@supports (height: 100dvh) {
  .platform-main {
    min-height: calc(100dvh - 212px);
  }

  .auth-shell,
  .domain-shell {
    min-height: calc(100dvh - 300px);
  }

  .camera-dialog {
    max-height: calc(100dvh - 16px);
  }
}

@media (max-width: 1024px) {
  button,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  button,
  .primary-button,
  .secondary-button,
  .nav-button,
  .platform-nav > a,
  .subnav a,
  .platform-footer a {
    min-height: 44px;
  }

  .platform-footer-contact > a,
  .platform-footer-contact > span {
    min-height: 44px;
  }
}

@media (max-width: 660px) {
  .platform-header {
    gap: 10px;
    align-items: center;
  }

  .platform-header .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .platform-nav {
    min-width: 0;
    max-width: 66%;
    flex: 0 1 auto;
  }

  .platform-nav > a,
  .nav-button {
    min-height: 44px;
    font-size: 14px;
  }

  .form-row,
  .button-row,
  .document-links,
  .verification-banner,
  .submit-row {
    flex-wrap: wrap;
  }

  .camera-dialog {
    margin-block: 8px;
  }

  .camera-head,
  .camera-actions {
    padding-inline: 16px;
  }

  .camera-actions button {
    min-width: min(100%, 140px);
  }

  .platform-footer-contact {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .form-row.between,
  .session-row,
  .data-list > div,
  .rdap-result div {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-list dd,
  .rdap-result dd {
    text-align: left;
  }

  .camera-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .camera-actions button {
    width: 100%;
  }
}

/* Production header and footer for every DigiCore platform route. */
.platform-header-final {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  height: auto;
  min-height: 84px;
  padding-block: 14px;
}

.platform-header-final .platform-primary-nav {
  min-width: 0;
  max-width: none;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2px;
}

.platform-header-final .platform-primary-nav > a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 40px;
  padding-inline: 10px;
  white-space: nowrap;
}

.platform-header-final svg,
.platform-footer-final svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-primary-nav svg,
.platform-header-actions svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.platform-header-actions {
  display: flex;
  min-width: 0;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}

.platform-header-actions > a,
.platform-header-actions .nav-button {
  display: inline-flex;
  min-height: 40px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-inline: 13px;
  border: 1px solid rgba(107, 192, 243, .13);
  border-radius: 4px;
  background: rgba(9, 20, 35, .34);
  color: #afc5d5;
  font-size: 10px;
  font-weight: 570;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.platform-header-actions .platform-register-link {
  border-color: rgba(94, 220, 255, .34);
  color: #e8fcff;
  background: linear-gradient(120deg, rgba(29, 151, 211, .13), rgba(82, 56, 190, .1));
  box-shadow: inset 0 1px 0 rgba(214, 248, 255, .04);
}

.platform-header-actions > a:hover,
.platform-header-actions .nav-button:hover {
  border-color: rgba(94, 220, 255, .54);
  color: #fff;
  background: rgba(62, 201, 255, .09);
  box-shadow: 0 0 24px rgba(36, 140, 255, .08);
}

.platform-header-final .language-switcher {
  min-height: 40px;
  margin-right: 3px;
  padding-inline: 8px;
  border: 1px solid rgba(107, 192, 243, .08);
  border-radius: 4px;
  background: rgba(8, 18, 32, .28);
}

.platform-header-final .language-switcher > svg {
  color: #69dced;
}

.platform-header-final .language-switcher a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 2px;
}

.platform-footer-final {
  position: relative;
  display: block;
  min-height: 0;
  padding-block: clamp(58px, 7vw, 86px) 30px;
  border-top-color: rgba(113, 202, 255, .12);
}

.platform-footer-final::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(circle at 14% 20%, rgba(29, 142, 220, .07), transparent 27rem),
    linear-gradient(180deg, rgba(4, 11, 21, .42), rgba(2, 5, 12, .76));
  content: '';
  pointer-events: none;
}

.platform-footer-final > .platform-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, .75fr) minmax(160px, .72fr) minmax(250px, 1.05fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: start;
}

.platform-footer-brand,
.platform-footer-links,
.platform-footer-contact,
.platform-footer-account-support {
  display: grid;
  min-width: 0;
  align-content: start;
}

.platform-footer-final nav.platform-footer-links {
  display: grid;
  min-width: 0;
  align-content: start;
}

.platform-footer-brand { gap: 14px; }
.platform-footer-final nav.platform-footer-links,
.platform-footer-contact { gap: 4px; }
.platform-footer-account-support { gap: 24px; }

.platform-footer-logo {
  display: inline-flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  color: #e8f8ff;
  font-size: 19px;
  font-weight: 670;
  letter-spacing: -.045em;
}

.platform-footer-brand > strong {
  margin-top: 8px;
  color: #c2d9e5;
  font-size: 12px;
  font-weight: 550;
}

.platform-footer-brand > p {
  max-width: 310px;
  margin: 0;
  color: #6f8498;
  font-size: 11px;
  line-height: 1.75;
}

.platform-footer-final h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 13px;
  color: #cbdde7;
  font-size: 10px;
  font-weight: 610;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.platform-footer-final h2 svg,
.platform-footer-legal > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #68dff3;
}

.platform-footer-final nav.platform-footer-links > a,
.platform-footer-contact > a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 31px;
  align-items: center;
  color: #72879a;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: color 180ms ease, transform 180ms ease;
}

.platform-footer-contact > a {
  width: 100%;
  gap: 10px;
  align-items: flex-start;
  padding-block: 5px;
}

.platform-footer-contact > a svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #68dff3;
}

.platform-footer-final nav.platform-footer-links > a:hover,
.platform-footer-contact > a:hover {
  color: #c7f7ff;
  transform: translateX(2px);
}

.platform-footer-final > .platform-footer-bottom {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 23px;
  border-top: 1px solid rgba(111, 198, 250, .09);
}

.platform-footer-bottom > p {
  margin: 0;
  color: #5f7387;
  font-size: 9px;
}

.platform-footer-final nav.platform-footer-legal {
  display: flex;
  gap: 18px;
  align-items: center;
}

.platform-footer-final nav.platform-footer-legal a {
  min-height: 31px;
  align-items: center;
  color: #71869a;
  font-size: 9px;
  transition: color 180ms ease;
}

.platform-footer-final nav.platform-footer-legal a:hover { color: var(--cyan); }

@media (max-width: 1120px) {
  .platform-header-final {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 24px;
  }
  .platform-header-final .platform-primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 7px;
    border-top: 1px solid rgba(112, 199, 249, .06);
  }
  .platform-header-actions { grid-column: 2; grid-row: 1; }
  .platform-footer-final > .platform-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .platform-header-final {
    width: 100%;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
  }
  .platform-header-final .brand { min-width: 0; flex: none; font-size: 16px; }
  .platform-header-final .brand-mark { width: 24px; height: 24px; }
  .platform-header-actions { max-width: none; gap: 4px; }
  .platform-header-actions > a,
  .platform-header-actions .nav-button { min-width: 42px; min-height: 42px; padding-inline: 10px; }
  .platform-login-link > span,
  .platform-account-link > span { display: none; }
  .platform-header-final .language-switcher { min-height: 42px; padding-inline: 6px; }
  .platform-header-final .language-switcher > svg { display: none; }
  .platform-header-final .platform-primary-nav {
    display: flex;
    width: calc(100vw - 32px);
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .platform-header-final .platform-primary-nav::-webkit-scrollbar { display: none; }
  .platform-header-final .platform-primary-nav > a { display: inline-flex; min-height: 44px; font-size: 11px; }
  .platform-footer-final { align-items: stretch; flex-direction: initial; }
  .platform-footer-final > .platform-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .platform-footer-brand > p { max-width: 420px; }
  .platform-footer-final > .platform-footer-bottom { align-items: flex-start; flex-direction: column; gap: 17px; }
  .platform-footer-final nav.platform-footer-legal { flex-wrap: wrap; gap: 13px 18px; }
  .platform-footer-final nav.platform-footer-links > a,
  .platform-footer-contact > a { min-height: 44px; }
}

@media (max-width: 380px) {
  .platform-header-final { padding-inline: 12px; }
  .platform-header-final .brand { gap: 8px; font-size: 15px; }
  .platform-register-link > span,
  .platform-admin-link { display: none !important; }
  .platform-header-final .language-switcher { padding-inline: 4px; }
  .platform-header-final .platform-primary-nav { width: calc(100vw - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .platform-header-actions > a,
  .platform-header-actions .nav-button,
  .platform-footer-final nav.platform-footer-links > a,
  .platform-footer-contact > a,
  .platform-footer-final nav.platform-footer-legal a { transition: none; }
}
