:root { color-scheme: light; --navy: #172b4d; --ink: #253247; --blue: #2563eb; --blue-dark: #1d51c5; --pale: #e4edfc; --muted: #62718a; --line: #d7e0ed; --canvas: #f1f6fd; --white: #fff; --amber: #916319; --amber-bg: #fff5dc; --red: #a42c37; --red-bg: #fff0f1; --green: #176b58; --green-bg: #e9f7f1; font-family: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.shell { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { background: #fff; color: var(--ink); min-height: 76px; padding: 12px clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: -.025em; }
.brand-symbol { font-weight: 700; font-size: 23px; line-height: 1; display: grid; place-items: center; width: 36px; height: 36px; background: var(--blue); color: #fff; border-radius: 9px; letter-spacing: -.1em; padding-right: 3px; }
.brand-dot { color: #fff; }
.brand-divider { display: inline-block; height: 18px; width: 1px; background: var(--line); margin: 0 12px 0 15px; vertical-align: -3px; }
.brand-context { color: var(--muted); font-size: 14px; letter-spacing: 0; font-weight: 500; }
.text-button { color: #405779; border: 0; background: transparent; font-size: 14px; padding: 10px 0 10px 14px; }
.text-button:hover { color: var(--blue-dark); text-decoration: underline; }
.text-button span { padding-left: 7px; }
main { width: min(1200px, 100%); margin: 0 auto; flex: 1; padding: 42px clamp(22px, 5vw, 64px) 70px; }
.eyebrow { color: #62718a; font-size: 11px; letter-spacing: .1em; font-weight: 650; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
.page-heading { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 24px; gap: 22px; }
.page-heading h1 { font-size: clamp(30px, 3.5vw, 42px); margin: 10px 0 8px; font-weight: 600; }
.heading-mark { color: var(--blue); }
.page-heading p { color: var(--muted); margin: 0; font-size: 14px; }
.page-heading-aside { color: var(--muted); font-size: 10px; letter-spacing: .1em; font-weight: 600; display: flex; align-items: center; gap: 12px; white-space: nowrap; padding-bottom: 8px; }
.aside-line { width: 28px; height: 1px; background: var(--line); }
.section-heading { margin: 36px 0 18px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-heading h2 { margin: 7px 0 0; font-size: 24px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #dbe3ef; border-radius: 8px; padding: 9px 15px; min-height: 42px; background: #fff; color: #40516c; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 140ms ease, border-color 140ms ease; }
.button:hover:not(:disabled) { background: #eff4fc; border-color: #b9cbee; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.full { width: 100%; justify-content: space-between; }
.button.quiet { background: #fff; }
.domain-list { display: grid; gap: 10px; }
.domain-row { width: 100%; display: flex; align-items: center; gap: 18px; text-align: left; padding: 20px 22px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 88px; transition: background-color 140ms ease, border-color 140ms ease; }
.domain-row:hover { background: #f7f9fc; border-color: #b9cbee; }
.domain-glyph { display: grid; place-items: center; border-radius: 9px; width: 42px; height: 42px; background: var(--pale); color: var(--blue-dark); font-weight: 700; font-size: 19px; flex: 0 0 auto; }
.domain-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.domain-main strong { font-size: 16px; font-weight: 600; letter-spacing: -.015em; overflow-wrap: anywhere; }
.domain-main small { color: var(--muted); margin-top: 4px; font-size: 13px; }
.domain-arrow { color: var(--blue); font-size: 20px; padding-left: 10px; }
.badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 5px 9px; background: var(--amber-bg); color: var(--amber); font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.badge.verified, .badge.match { background: var(--green-bg); color: var(--green); }
.badge.mismatch, .badge.missing { background: var(--red-bg); color: var(--red); }
.badge.pending { background: var(--amber-bg); color: var(--amber); }
.guidance-strip { display: flex; align-items: flex-start; gap: 15px; padding: 23px 4px 0; color: var(--muted); font-size: 13px; max-width: 800px; }
.guidance-strip p { margin: 0; }
.guidance-strip strong { color: var(--ink); }
.guidance-icon { border: 1px solid #cbd7e9; border-radius: 50%; flex: 0 0 auto; height: 22px; width: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--blue); }
.empty-list { background: #fff; border: 1px dashed #cbd7e9; border-radius: 10px; padding: 38px; color: var(--muted); }
.empty-list h3 { color: var(--ink); font-size: 22px; font-weight: 600; margin: 8px 0; }
.empty-list p { margin-bottom: 0; }
.domain-list > .button { justify-self: start; }
.add-card { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 26px; margin-bottom: 20px; }
.add-card h3 { font-size: 20px; font-weight: 600; margin: 7px 0; }
.add-card p { color: var(--muted); font-size: 14px; margin-bottom: 23px; }
.add-card label, .login-card label { display: block; color: var(--ink); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
input { border: 1px solid #dbe3ef; background: #fff; color: var(--ink); border-radius: 8px; height: 44px; padding: 0 13px; min-width: 0; font-size: 14px; }
input::placeholder { color: #8797af; }
.input-actions { display: flex; gap: 10px; }
.input-actions input { flex: 1; }
.notice, .form-message { background: var(--pale); border: 1px solid #cbdafa; border-radius: 8px; color: #274b8a; padding: 12px 16px; margin: 18px 0 0; font-size: 14px; }
.notice.error, .form-message.error { background: var(--red-bg); border-color: #edb9bd; color: var(--red); }
.back-button { border: 0; background: none; color: var(--blue-dark); font-weight: 600; padding: 0 0 25px; margin-top: 30px; font-size: 14px; }
.back-button:hover { text-decoration: underline; }
.back-button span { padding-right: 7px; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.detail-heading h2 { font-size: clamp(27px, 3.5vw, 38px); font-weight: 600; margin: 7px 0; overflow-wrap: anywhere; }
.detail-heading p { color: var(--muted); margin: 0; }
.detail-monogram { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; background: var(--pale); border-radius: 10px; font-size: 24px; color: var(--blue); }
.progress { padding: 0; margin: 0 0 27px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
#detail-view.loading .progress, #detail-view.loading .content-card, #detail-view.loading .migration-note { display: none; }
.progress li { min-height: 94px; padding: 21px 17px; display: flex; align-items: flex-start; gap: 13px; border-right: 1px solid var(--line); }
.progress li:last-child { border-right: 0; }
.phase-number { font-size: 11px; font-weight: 600; color: #8698b3; padding-top: 3px; }
.progress li.complete .phase-number { color: var(--green); }
.progress li.current .phase-number { color: var(--blue); }
.progress li.attention .phase-number { color: var(--amber); }
.progress li.claimed .phase-number, .progress li.checked .phase-number { color: var(--blue); }
.progress strong { font-size: 12px; display: block; line-height: 1.3; }
.progress small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; margin: 17px 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-heading h3 { font-size: 21px; font-weight: 600; margin: 7px 0 0; }
.card-description { margin: 14px 0 23px; max-width: 680px; color: var(--muted); font-size: 14px; }
.card-description strong { color: var(--ink); }
.dns-identity { border: 1px solid var(--line); border-radius: 9px; margin: 0; overflow: hidden; }
.dns-identity > div { display: grid; grid-template-columns: 175px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.dns-identity > div:last-child { border-bottom: 0; }
.dns-identity dt, .dns-identity dd { padding: 13px 16px; margin: 0; }
.dns-identity dt { background: #f7f9fc; color: var(--muted); font-size: 12px; font-weight: 600; border-right: 1px solid var(--line); }
.dns-identity dd { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-width: 0; font-size: 13px; font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; font-weight: 500; }
.copy-button { flex: 0 0 auto; color: var(--blue-dark); border: 1px solid #dbe3ef; background: #fff; border-radius: 6px; min-height: 32px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.copy-button:hover { background: var(--pale); }
.card-actions { display: flex; gap: 16px; align-items: center; margin-top: 22px; }
.card-actions span { color: var(--muted); font-size: 12px; }
.records-card .card-description { margin-bottom: 20px; }
.records-list { display: grid; gap: 10px; }
.record-row { background: #f7f9fc; border: 1px solid var(--line); border-radius: 9px; padding: 17px 19px; }
.record-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 11px; }
.record-type { border: 1px solid #cbd7e9; background: var(--pale); border-radius: 5px; color: var(--blue-dark); padding: 3px 6px; font: 600 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.record-name { overflow-wrap: anywhere; font-size: 14px; flex: 1; }
.record-detail { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
.record-detail > span { color: var(--muted); letter-spacing: .06em; font-weight: 600; font-size: 10px; padding-top: 1px; }
.record-detail.observed { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 12px; }
.observed-values { display: grid; gap: 5px; min-width: 0; }
.observed-values code { color: var(--ink); }
.record-note { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.empty-records { color: var(--muted); background: #f7f9fc; border: 1px dashed #cbd7e9; border-radius: 8px; padding: 20px; margin: 0; font-size: 14px; }
.migration-note { border: 1px solid #cbdafa; background: var(--pale); border-radius: 10px; padding: 27px 30px; margin-top: 19px; }
.note-flag { color: var(--blue-dark); font-size: 10px; letter-spacing: .1em; font-weight: 600; }
.migration-note h3 { font-size: 20px; font-weight: 600; margin: 10px 0 8px; }
.migration-note p { max-width: 800px; margin: 0; color: #405779; font-size: 13px; }
.footer { border-top: 1px solid var(--line); background: #fff; min-height: 64px; padding: 18px clamp(20px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; }
.footer span:first-child { font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.login-layout { min-height: min(710px, calc(100dvh - 205px)); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: clamp(30px, 7vw, 110px); align-items: center; }
.login-intro { padding-bottom: 45px; }
.login-intro h1 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; margin: 19px 0 24px; }
.login-intro h1 em { font-style: normal; color: var(--blue); }
.login-intro > p { color: var(--muted); font-size: 16px; max-width: 515px; line-height: 1.6; }
.intro-rule { border-top: 1px solid var(--line); color: var(--muted); max-width: 450px; padding-top: 17px; margin-top: 58px; font-size: 12px; display: flex; justify-content: space-between; gap: 15px; }
.intro-rule span { color: var(--blue); font-weight: 600; }
.login-card { background: #fff; border: 1px solid #dbe5f2; border-radius: 12px; padding: clamp(27px, 4vw, 43px); box-shadow: 0 12px 48px #1e3a5f0c; }
.login-card h2 { margin: 12px 0 8px; font-size: 27px; font-weight: 600; }
.login-card > p:not(.form-message) { color: var(--muted); font-size: 14px; margin-bottom: 25px; }
.login-card input { width: 100%; margin-bottom: 19px; }
.login-card .button { margin-top: 3px; }
.login-card > p.card-footnote { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 850px) {
  .progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress li:nth-child(2) { border-right: 0; }
  .progress li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .login-layout { grid-template-columns: 1fr; gap: 10px; max-width: 580px; margin: auto; }
  .login-intro { padding-bottom: 5px; }
  .intro-rule { margin-top: 27px; }
}
@media (max-width: 600px) {
  .topbar { min-height: 70px; flex-wrap: wrap; gap: 4px 14px; }
  main { padding-top: 32px; padding-bottom: 55px; }
  .brand { font-size: 17px; }
  .brand-context { font-size: 13px; }
  .brand-divider { margin: 0 8px; }
  .page-heading { padding-bottom: 25px; }
  .page-heading-aside { display: none; }
  .section-heading { align-items: start; margin-top: 34px; }
  .section-heading h2 { font-size: 24px; }
  .domain-row { padding: 16px; flex-wrap: wrap; gap: 10px; }
  .domain-glyph { width: 38px; height: 38px; }
  .domain-main { flex-basis: calc(100% - 55px); }
  .domain-row .badge { margin-left: 48px; }
  .domain-arrow { margin-left: auto; }
  .input-actions { flex-wrap: wrap; }
  .input-actions input { flex: 1 0 100%; }
  .input-actions .button { flex: 1; }
  .content-card { padding: 21px 17px; }
  .card-heading { align-items: flex-start; flex-wrap: wrap; }
  .card-heading h3 { font-size: 22px; }
  .dns-identity > div { grid-template-columns: 1fr; }
  .dns-identity dt { border-right: 0; padding-bottom: 0; }
  .dns-identity dd { padding-top: 5px; }
  .card-actions { align-items: flex-start; flex-direction: column; }
  .record-detail { grid-template-columns: 1fr; gap: 3px; }
  .migration-note { padding: 22px; }
  .footer { align-items: start; flex-direction: column; }
}
@media (max-width: 390px) {
  .section-heading { flex-direction: column; }
  .section-heading .button { width: 100%; }
  .progress li { padding: 16px 10px; gap: 7px; }
  .progress strong { font-size: 11px; }
  .progress small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--blue); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.workspace-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 5px; background: #e9eff8; border: 1px solid var(--line); border-radius: 10px; margin: 28px 0 20px; }
.workspace-tabs button { flex: 1 0 auto; border: 0; background: transparent; color: #405779; font-size: 13px; font-weight: 600; padding: 12px 15px; border-radius: 7px; min-height: 44px; }
.workspace-tabs button:hover { background: #f7f9fc; }
.workspace-tabs button[aria-selected="true"] { background: #fff; color: var(--blue-dark); box-shadow: inset 0 0 0 1px #cbd7e9; }
#detail-view.loading .workspace-tabs, #detail-view.loading [role="tabpanel"] { display: none; }
.workspace-list { display: grid; gap: 12px; }
.workspace-list:empty, .workspace-summary:empty { display: none; }
.workspace-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid #cbd7e9; border-radius: 9px; padding: 20px; min-width: 0; }
.workspace-item h4 { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -.02em; overflow-wrap: anywhere; }
.workspace-item .item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.workspace-item .badge { white-space: normal; flex-shrink: 0; max-width: 50%; }
.workspace-item p { color: var(--muted); font-size: 13px; margin: 8px 0 0; overflow-wrap: anywhere; }
.workspace-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 15px 0 0; }
.workspace-item dt { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.workspace-item dd { margin: 3px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.workspace-item time, .timeline-item time { color: var(--muted); font-size: 12px; }
.workspace-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.summary-stat { background: #f7f9fc; color: var(--ink); border: 1px solid var(--line); padding: 21px; border-radius: 9px; min-width: 0; }
.summary-stat strong { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; overflow-wrap: anywhere; }
.summary-stat span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.workspace-form { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 24px; }
.workspace-form h4 { font-size: 19px; margin: 0 0 7px; letter-spacing: -.035em; }
.workspace-form > p { color: var(--muted); font-size: 13px; }
.workspace-form > .form-message.error { color: var(--red); }
.workspace-form > .button { margin: 0 8px 8px 0; }
.workspace-form > .safety-note { margin-top: 14px; color: #755018; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 20px 0; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-field small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.form-field input, .form-field select { width: 100%; }
select { color: var(--ink); background: #fff; border: 1px solid #dbe3ef; border-radius: 8px; min-height: 44px; padding: 8px 12px; min-width: 0; font-size: 14px; }
.safety-note { border-left: 3px solid #c8973d; background: var(--amber-bg); color: #755018; padding: 16px 20px; font-size: 13px; margin: 0 0 23px; }
.safety-note strong { display: block; margin-bottom: 3px; }
.timeline-item { position: relative; margin-left: 6px; padding: 0 0 22px 24px; border-left: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; width: 9px; height: 9px; border: 2px solid #fff; background: var(--blue); border-radius: 50%; left: -7px; top: 5px; }
.timeline-item h4 { font-size: 14px; margin: 5px 0; }
.timeline-item p { font-size: 13px; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.history-record { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.workspace-item summary { color: var(--blue-dark); font-size: 13px; cursor: pointer; min-height: 44px; padding-top: 8px; }
.workspace-item .workspace-form { margin-top: 18px; padding-top: 15px; }
.workspace-item .form-fields { margin: 12px 0; }
.workspace-item .button { white-space: normal; }
.reconciliation { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.reconciliation .badge { max-width: none; }
@media (max-width: 600px) {
  .workspace-tabs { margin-right: -8px; margin-left: -8px; }
  .workspace-tabs button { padding: 11px 13px; }
  .workspace-summary, .form-fields { grid-template-columns: 1fr; }
  .workspace-item { padding: 16px; }
  .workspace-item .item-heading { flex-direction: column; }
  .workspace-item .badge { max-width: 100%; }
  .workspace-item dl { gap: 12px; }
  .workspace-form .button { width: 100%; }
  .brand-context { font-size: 12px; }
  .detail-monogram { width: 45px; height: 45px; font-size: 24px; }
}

.admin-nav { display: flex; gap: 7px; border-bottom: 1px solid var(--line); margin: 28px 0 0; }
.admin-nav-button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 13px 21px 15px; font-size: 14px; font-weight: 600; }
.admin-nav-button:hover { color: var(--blue-dark); }
.admin-nav-button[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue-dark); }
.admin-overview { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 4vw, 44px); margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: end; gap: 35px; }
.admin-overview .eyebrow { color: var(--blue-dark); }
.admin-overview h2 { font-size: clamp(27px, 3vw, 36px); font-weight: 600; margin: 15px 0 12px; max-width: 460px; }
.admin-overview p { color: var(--muted); font-size: 14px; margin: 0; max-width: 450px; }
.admin-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.admin-stat { min-width: 0; }
.admin-counts .admin-stat { padding: 7px 13px 4px 20px; border-right: 1px solid var(--line); }
.admin-counts .admin-stat:last-child { border: 0; }
.admin-stat strong { display: block; font-size: 22px; line-height: 1.25; letter-spacing: -.04em; overflow-wrap: anywhere; }
.admin-counts .admin-stat strong { font-size: clamp(23px, 2.5vw, 36px); font-weight: 600; }
.admin-stat span { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; margin-top: 6px; }
.admin-counts .admin-stat span { color: var(--muted); }
.admin-action-card { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.6fr); gap: 20px 35px; align-items: center; margin-top: 26px; border-left: 3px solid var(--blue); }
.admin-action-card h3, .admin-manager-card h3 { font-size: 24px; margin: 8px 0; }
.admin-action-card p:not(.form-message) { color: var(--muted); font-size: 13px; margin: 0; }
.admin-action-card .form-message { grid-column: 1 / -1; margin: 0; }
.admin-inline-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.admin-inline-form .form-field { flex: 1 1 150px; }
.admin-inline-form .button { margin-bottom: 0; }
.admin-domain-list, .admin-manager-list { display: grid; gap: 13px; }
.admin-domain-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 25px 28px; }
.admin-domain-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.admin-domain-heading h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.admin-domain-heading .badge { margin-top: 7px; }
.admin-domain-facts { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .7fr)); gap: 15px; margin: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; }
.admin-domain-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-domain-actions .button { white-space: normal; text-align: center; }
.admin-guidance { border: 1px solid #cbdafa; border-left: 3px solid var(--blue); background: #f7f9fc; padding: 26px 30px; border-radius: 0 10px 10px 0; margin-top: 29px; color: #405779; font-size: 13px; }
.admin-guidance h3 { color: var(--ink); font-size: 21px; font-weight: 600; margin: 8px 0; }
.admin-guidance p { margin: 0; max-width: 850px; }
.admin-lead { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.admin-manager-card { margin: 14px 0 0; }
.assignment-list { margin-top: 18px; border-top: 1px solid var(--line); }
.assignment-row { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.assignment-row strong { overflow-wrap: anywhere; }
.assign-form { margin-top: 21px; }
.client-detail .workspace-tabs button[hidden], .client-detail [role="tabpanel"][hidden] { display: none; }
.client-detail #client-domain-note { margin-top: 20px; }
@media (max-width: 850px) {
  .admin-overview { grid-template-columns: 1fr; gap: 25px; }
  .admin-counts { border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .admin-counts .admin-stat:first-child { padding-left: 0; }
  .admin-action-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .admin-overview, .admin-domain-card { padding: 22px; }
  .admin-domain-facts { grid-template-columns: 1fr 1fr; }
  .admin-domain-facts .admin-stat:first-child { grid-column: 1 / -1; }
  .admin-counts .admin-stat { padding-left: 11px; padding-right: 5px; }
  .admin-counts .admin-stat:first-child { padding-left: 0; }
  .admin-counts .admin-stat strong { font-size: 20px; }
  .admin-nav-button { flex: 1; padding-left: 7px; padding-right: 7px; }
  .admin-inline-form { display: grid; grid-template-columns: 1fr; }
  .admin-inline-form .button { width: 100%; }
  .assignment-row { align-items: start; flex-direction: column; gap: 8px; }
}
.one-time-credential { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; background: #fff7e8; border: 2px solid #e4ba70; border-radius: 11px; padding: 24px 28px; margin: 20px 0; }
.one-time-credential h3 { font-size: 23px; margin: 8px 0; }
.one-time-credential p { max-width: 700px; font-size: 13px; color: #664a22; }
.one-time-credential code { display: inline-block; background: #fff; border: 1px solid #e4ba70; border-radius: 6px; font-size: 16px; padding: 9px 13px; user-select: all; }
@media (max-width: 600px) { .one-time-credential { padding: 19px; } .one-time-credential .button { width: 100%; white-space: normal; } }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar-actions .text-button { padding-left: 0; }
.topbar-actions .text-button[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 5px; }
.optional-label { font-weight: 500; color: var(--muted); }
.login-card .field-help { color: var(--muted); font-size: 12px; margin: -11px 0 19px; }
.security-view { max-width: 850px; }
.security-view .content-card { margin-top: 20px; }
.security-view .form-fields { max-width: 700px; }
.security-view .form-field { max-width: 400px; }
.security-form > .form-field { max-width: 320px; margin: 20px 0; }
.security-form .form-message { margin-top: 16px; }
.totp-setup { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fc; }
.totp-setup > p { color: var(--muted); font-size: 13px; }
.totp-setup > p strong { color: var(--ink); }
.totp-secret { display: grid; gap: 6px; margin: 16px 0; }
.totp-secret span { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.totp-secret code { display: block; width: fit-content; max-width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 16px; letter-spacing: .06em; user-select: all; }
.totp-link { display: inline-block; color: var(--blue-dark); font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .topbar-actions { gap: 8px; margin-left: auto; }
  .topbar-actions .text-button { font-size: 12px; }
  .security-view .form-fields { grid-template-columns: 1fr; }
  .security-view .card-heading { align-items: start; }
  .totp-setup { padding: 16px; }
}
