@font-face { font-family: Inter; src: url('../fonts/inter.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: dark;
  --portal-bg: #0c0d10;
  --portal-panel: #131419;
  --portal-raised: #191a20;
  --portal-border: #292a32;
  --portal-text: #f4f2f5;
  --portal-muted: #a7a7b3;
  --portal-accent: #ed78a4;
  --portal-accent-hover: #f59cbd;
  --portal-accent-wash: #ed78a40d;
  --portal-success: #93d9b4;
  --portal-warning: #e5c987;
  --portal-radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--portal-bg); color: var(--portal-text); font: 14px/1.6 Inter, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { opacity: .55; cursor: wait; }
img, svg { display: block; }
[hidden] { display: none !important; }
::selection { background: #ed78a445; color: var(--portal-text); }
:focus-visible { outline: 2px solid var(--portal-accent); outline-offset: 5px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; flex-shrink: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--portal-accent); color: #21121a; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.portal-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; font-size: 22px; font-weight: 750; letter-spacing: -.065em; }
.portal-brand img { width: 36px; height: 36px; }
.brand-light { font-weight: 450; color: #d4ccd2; margin-left: 4px; }
.eyebrow { color: var(--portal-muted); font-size: 10px; font-weight: 650; letter-spacing: .17em; }
.quiet-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--portal-muted); font-size: 12px; transition: color .16s; }
.quiet-link:hover { color: var(--portal-text); }
.quiet-link .icon { width: 15px; height: 15px; }
.arrow-back { transform: rotate(180deg); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; gap: 12px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 650; line-height: 1.5; transition: background .16s, border-color .16s, box-shadow .16s; }
.button .icon { width: 16px; height: 16px; }
.button-primary { color: #25131c; border-color: var(--portal-accent); background: var(--portal-accent); }
.button-primary:hover { background: var(--portal-accent-hover); border-color: var(--portal-accent-hover); box-shadow: 0 4px 24px #ed78a41a; }
.button-secondary { background: #ffffff03; border-color: var(--portal-border); }
.button-secondary:hover { background: #ffffff08; border-color: #55515b; }
.accent-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--portal-accent); font-size: 12px; font-weight: 600; }
.accent-link .icon { width: 15px; height: 15px; }
.accent-link:hover { color: var(--portal-accent-hover); }
.portal-message { color: #f4b5cc; background: #ed78a40c; border: 1px solid #ed78a438; padding: 12px 14px; border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
.portal-message:empty { display: none; }
.panel { background: var(--portal-panel); border: 1px solid var(--portal-border); border-radius: var(--portal-radius); min-width: 0; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--portal-accent); border: 1px solid #ed78a42b; border-radius: 12px; background: var(--portal-accent-wash); }
.noscript-note { margin: 16px; padding: 16px; border: 1px solid var(--portal-border); border-radius: 8px; }
.noscript-note a { text-decoration: underline; text-underline-offset: 4px; color: var(--portal-accent); }

/* Sign in */
.login-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.portal-header, .portal-footer { width: min(1280px, calc(100% - 112px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-header { padding-block: 26px; }
.login-layout { width: min(1032px, calc(100% - 112px)); margin: auto; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 100px; padding-block: 48px 64px; }
.login-story { padding-top: 8px; }
.login-story > .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow-line { width: 24px; height: 1px; background: var(--portal-accent); }
.login-story h2 { font-size: clamp(48px, 5vw, 70px); line-height: 1.07; font-weight: 580; letter-spacing: -.065em; }
.login-story h2 span { color: var(--portal-accent); }
.story-description { margin-top: 22px; color: var(--portal-muted); font-size: 15px; line-height: 1.85; }
.key-art { height: 194px; position: relative; display: grid; place-items: center; width: 300px; max-width: 100%; margin-top: 12px; isolation: isolate; }
.key-art::before { content: ''; width: 220px; height: 170px; position: absolute; background: radial-gradient(ellipse, #ed78a411, transparent 67%); z-index: -1; }
.orbit { position: absolute; border: 1px solid #ed78a41c; border-radius: 50%; transform: rotate(-24deg); }
.orbit-outer { width: 290px; height: 106px; }
.orbit-inner { width: 216px; height: 72px; border-color: #ed78a41a; transform: rotate(26deg); }
.art-key { width: 74px; height: 74px; transform: rotate(-12deg); border: 1px solid #ed78a44a; border-radius: 22px; display: grid; place-items: center; background: #20171e; box-shadow: 0 12px 32px #0004, inset 0 1px 0 #f2b7d01a; }
.art-key svg { height: 34px; width: 34px; color: var(--portal-accent); stroke: currentColor; fill: none; }
.orbit-point { position: absolute; width: 6px; height: 6px; background: var(--portal-accent); border-radius: 50%; box-shadow: 0 0 0 5px #ed78a40a; }
.orbit-point-one { top: 49px; right: 47px; }
.orbit-point-two { bottom: 55px; left: 49px; height: 4px; width: 4px; opacity: .6; }
.art-caption { position: absolute; bottom: 0; color: var(--portal-muted); font-size: 8px; font-weight: 550; letter-spacing: .2em; }
.story-features { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.story-features > div { display: flex; gap: 10px; align-items: center; }
.feature-icon { color: var(--portal-muted); }
.feature-icon .icon { width: 19px; height: 19px; }
.story-features p { font-size: 11px; font-weight: 550; }
.story-features p span { display: block; font-size: 10px; font-weight: 400; color: var(--portal-muted); margin-top: 2px; }
.login-card { position: relative; padding: 36px; border-radius: 20px; border: 1px solid var(--portal-border); background: var(--portal-panel); box-shadow: 0 20px 80px #0002; }
.login-card > .card-icon { position: absolute; top: 30px; right: 30px; width: 34px; height: 34px; border-radius: 10px; }
.login-card > .card-icon .icon { width: 16px; height: 16px; }
.form-eyebrow { font-size: 9px; margin-bottom: 10px; color: var(--portal-accent); }
.login-card h1 { font-weight: 580; font-size: 32px; letter-spacing: -.055em; line-height: 1.2; }
.form-description { color: var(--portal-muted); margin-top: 12px; font-size: 13px; line-height: 1.8; max-width: 300px; }
.login-card form { margin-top: 32px; }
.field-label { display: block; font-size: 12px; font-weight: 550; margin-bottom: 9px; }
.key-input-wrap { position: relative; display: flex; align-items: center; }
.key-input-wrap input { width: 100%; min-width: 0; height: 54px; padding: 14px 48px 14px 44px; background: var(--portal-bg); border: 1px solid #393a44; color: var(--portal-text); border-radius: 8px; font-size: 16px; letter-spacing: .02em; transition: border-color .16s; }
.key-input-wrap input::placeholder { color: var(--portal-muted); font-size: 12px; letter-spacing: 0; }
.key-input-wrap input:focus { outline: 2px solid #ed78a433; outline-offset: 2px; border-color: var(--portal-accent); }
.key-input-wrap input[aria-invalid='true'] { border-color: #f4a9c3; }
.input-icon { position: absolute; left: 15px; width: 17px; height: 17px; color: var(--portal-muted); pointer-events: none; }
.key-toggle { position: absolute; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 6px; color: var(--portal-muted); }
.key-toggle:hover, .key-toggle[aria-pressed='true'] { color: var(--portal-accent); background: var(--portal-accent-wash); }
.key-toggle .icon { width: 18px; height: 18px; }
.field-help { font-size: 10px; line-height: 1.8; color: var(--portal-muted); margin-top: 9px; }
.login-card .portal-message { margin-top: 16px; }
.login-submit { width: 100%; height: 48px; margin-top: 24px; font-size: 13px; }
.privacy-note { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 15px; color: var(--portal-muted); font-size: 10px; }
.privacy-note .icon { width: 12px; height: 12px; }
.login-card-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--portal-border); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.login-card-bottom p { font-size: 11px; }
.login-card-bottom p span { display: block; color: var(--portal-muted); font-size: 10px; margin-top: 3px; }
.login-card-bottom .accent-link { font-size: 11px; gap: 5px; white-space: nowrap; }
.login-card-bottom .icon { width: 12px; height: 12px; }
.portal-footer { padding-block: 24px; font-size: 10px; color: var(--portal-muted); border-top: 1px solid #ffffff08; }
.portal-footer > a { display: flex; align-items: center; gap: 5px; min-height: 44px; }
.portal-footer a span { color: #d7cfd6; display: inline-flex; align-items: center; gap: 6px; }
.portal-footer .icon { width: 12px; height: 12px; }

/* Client workspace */
.dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 232px; overflow-y: auto; border-right: 1px solid var(--portal-border); display: flex; flex-direction: column; padding: 30px 20px 18px; background: #101115; }
.dashboard-sidebar .portal-brand { margin-left: 10px; }
.sidebar-label { margin: 48px 14px 16px; font-size: 9px; letter-spacing: .13em; font-weight: 550; color: var(--portal-muted); }
.sidebar-nav { display: grid; gap: 7px; }
.sidebar-item { display: flex; align-items: center; gap: 12px; min-height: 46px; border: 1px solid transparent; border-radius: 8px; padding: 12px 14px; color: var(--portal-muted); font-size: 12px; transition: background .16s, color .16s; }
.sidebar-item > .icon { width: 18px; height: 18px; }
.sidebar-item:hover { color: var(--portal-text); background: #ffffff05; }
.sidebar-item.is-current { color: var(--portal-accent); border-color: #ed78a421; background: #ed78a410; }
.nav-indicator { width: 5px; height: 5px; margin-left: auto; background: var(--portal-accent); border-radius: 50%; }
.sidebar-item .sidebar-external { margin-left: auto; width: 12px; height: 12px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.sidebar-support { padding: 18px 16px 12px; margin-bottom: 16px; border: 1px solid var(--portal-border); border-radius: 12px; background: #ffffff02; }
.support-symbol { color: var(--portal-accent); }
.sidebar-support p { margin-top: 12px; font-size: 12px; font-weight: 550; }
.sidebar-support p span { display: block; color: var(--portal-muted); margin-top: 4px; font-weight: 400; font-size: 10px; }
.sidebar-support a { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; min-height: 44px; font-size: 11px; }
.sidebar-support a:hover { color: var(--portal-accent); }
.sidebar-support a .icon { width: 14px; height: 14px; }
.signout-button { background: transparent; width: 100%; text-align: left; }
.sidebar-copyright { font-size: 9px; color: var(--portal-muted); margin: 20px 14px 0; }
.dashboard-workspace { margin-left: 232px; }
.dashboard-topbar { height: 82px; display: flex; justify-content: space-between; align-items: center; padding-inline: 44px; border-bottom: 1px solid #ffffff08; }
.dashboard-topbar > p { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--portal-muted); }
.dashboard-topbar > p > span { color: #65656f; }
.dashboard-topbar strong { font-weight: 450; color: var(--portal-text); }
.client-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; color: var(--portal-muted); border: 1px solid var(--portal-border); padding: 5px 10px; border-radius: 20px; }
.client-pill .icon { width: 12px; height: 12px; }
.dashboard-main { width: min(1200px, 100%); padding: 42px 44px 20px; margin-inline: auto; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.dashboard-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
.dashboard-heading h1 { font-size: clamp(28px, 3.2vw, 39px); font-weight: 550; letter-spacing: -.06em; line-height: 1.2; }
.dashboard-heading h1 span { color: var(--portal-accent); }
.dashboard-heading > div > p:last-child { color: var(--portal-muted); margin-top: 9px; font-size: 12px; }
.website-button { min-height: 42px; font-size: 11px; padding-inline: 14px; }
.dashboard-content { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); gap: 22px; }
.dashboard-message { margin-bottom: 20px; }
.time-card { padding: 28px 28px 20px; background: linear-gradient(135deg, #ed78a406, transparent 75%), var(--portal-panel); }
.card-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.card-topline > p { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 550; }
.card-topline > p > .icon { width: 16px; height: 16px; color: var(--portal-accent); }
.license-state { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 4px 9px; font-size: 10px; border-radius: 5px; color: var(--portal-success); background: #93d9b40b; border: 1px solid #93d9b429; }
.license-state::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
[data-status='expired'] .license-state, [data-status='unverified'] .license-state { color: #efb2c9; border-color: #ed78a43b; background: var(--portal-accent-wash); }
[data-status='pending'] .license-state { color: var(--portal-warning); border-color: #e5c98730; background: #e5c98709; }
.time-label { margin-top: 36px; color: var(--portal-muted); font-size: 11px; }
.license-time { color: var(--portal-text); font-size: clamp(23px, 2.75vw, 40px); letter-spacing: -.055em; font-weight: 550; line-height: 1.35; margin-top: 8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.time-description { margin-top: 9px; color: var(--portal-muted); font-size: 11px; }
.license-progress { display: block; height: 4px; width: 100%; margin-top: 24px; border: 0; border-radius: 20px; overflow: hidden; appearance: none; background: var(--portal-border); accent-color: var(--portal-accent); }
.license-progress::-webkit-progress-bar { background: var(--portal-border); border-radius: 20px; }
.license-progress::-webkit-progress-value { background: var(--portal-accent); border-radius: 20px; }
.license-progress::-moz-progress-bar { background: var(--portal-accent); border-radius: 20px; }
.time-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 17px; margin-top: 24px; border-top: 1px solid var(--portal-border); }
.verification-note { color: var(--portal-muted); font-size: 9px; line-height: 1.8; max-width: 360px; }
.refresh-button { flex-shrink: 0; min-height: 44px; padding: 8px 10px; margin-right: -10px; border: 0; border-radius: 6px; background: transparent; font-size: 11px; color: var(--portal-accent); }
.refresh-button:hover { background: var(--portal-accent-wash); }
.community-card { position: relative; padding: 28px; overflow: hidden; }
.community-art { width: 52px; height: 52px; display: grid; place-items: center; background: #ed78a40c; border: 1px solid #ed78a428; border-radius: 15px; margin-bottom: 24px; transform: rotate(-6deg); }
.community-art svg { width: 28px; height: 28px; stroke: var(--portal-accent); fill: none; }
.community-card .eyebrow { font-size: 8px; }
.community-card h2 { margin-top: 8px; font-size: 22px; font-weight: 550; letter-spacing: -.045em; }
.community-card > p:not(.eyebrow) { margin-top: 10px; color: var(--portal-muted); font-size: 11px; max-width: 260px; }
.community-card .button { margin-top: 22px; width: 100%; justify-content: space-between; font-size: 11px; }
.details-card, .help-card { padding: 28px; }
.section-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-card-heading .eyebrow { font-size: 8px; }
.section-card-heading h2 { margin-top: 8px; font-size: 19px; font-weight: 550; letter-spacing: -.04em; }
.detail-key-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--portal-border); color: var(--portal-muted); }
.detail-key-icon .icon { width: 16px; height: 16px; }
.license-details { display: grid; gap: 0; margin: 22px 0 0; }
.license-details > div { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 1.3fr); align-items: baseline; gap: 20px; border-bottom: 1px solid var(--portal-border); padding-block: 17px; }
.license-details > div:last-child { border: 0; }
.license-details dt { display: flex; align-items: center; gap: 9px; color: var(--portal-muted); font-size: 11px; }
.license-details dt .icon { width: 14px; height: 14px; }
.license-details dd { margin: 0; font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.details-footnote { display: flex; gap: 6px; align-items: center; color: var(--portal-muted); font-size: 9px; border-top: 1px solid var(--portal-border); margin-top: 7px; padding-top: 18px; }
.details-footnote .icon { width: 12px; height: 12px; }
.help-card .card-icon { width: 36px; height: 36px; border-radius: 10px; }
.help-card .card-icon .icon { width: 16px; height: 16px; }
.help-card h2 { font-size: 19px; font-weight: 550; letter-spacing: -.04em; margin-top: 20px; }
.help-card > p { margin-top: 10px; font-size: 11px; color: var(--portal-muted); }
.help-card .accent-link { display: flex; justify-content: space-between; margin-top: 20px; font-size: 11px; }
.help-secondary { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--portal-muted); font-size: 11px; min-height: 44px; }
.help-secondary .icon { width: 13px; height: 13px; }
.help-secondary:hover { color: var(--portal-text); }
.workspace-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--portal-muted); font-size: 9px; margin-top: 22px; }
.workspace-footer a { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.workspace-footer .icon { width: 12px; height: 12px; }
.dashboard-loading { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.loading-symbol { display: grid; place-items: center; width: 52px; height: 52px; color: var(--portal-accent); border: 1px solid #ed78a435; border-radius: 15px; margin-bottom: 20px; }
.dashboard-loading h2 { font-size: 23px; font-weight: 550; letter-spacing: -.04em; }
.dashboard-loading > p { color: var(--portal-muted); font-size: 12px; margin-top: 12px; }
.dashboard-loading .button { margin-top: 24px; }
.dashboard-loading .quiet-link { margin-top: 6px; }

@media (min-width: 1600px) { .dashboard-main { padding-top: 56px; } .dashboard-heading { margin-bottom: 40px; } }
@media (min-width: 681px) and (max-height: 800px) {
  .portal-header { padding-block: 16px; }
  .portal-footer { padding-block: 12px; }
  .login-layout { padding-block: 24px; }
  .login-card { padding-block: 28px; }
  .login-card form { margin-top: 24px; }
}
@media (max-width: 1120px) {
  .login-layout { gap: 56px; grid-template-columns: 1fr 420px; }
  .story-features { gap: 20px; }
  .dashboard-sidebar { width: 208px; padding-inline: 16px; }
  .dashboard-workspace { margin-left: 208px; }
  .dashboard-main { padding: 32px 28px 16px; }
  .dashboard-topbar { padding-inline: 28px; }
  .dashboard-content { grid-template-columns: minmax(0, 1.45fr) minmax(230px, 1fr); gap: 18px; }
  .time-card, .community-card, .details-card, .help-card { padding: 24px; }
  .license-details > div { grid-template-columns: 1fr; gap: 6px; }
  .license-details dd { padding-left: 23px; text-align: left; }
}
@media (max-width: 900px) {
  .portal-header, .portal-footer { width: calc(100% - 64px); }
  .login-layout { width: calc(100% - 64px); gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
  .login-card { padding: 28px; }
  .story-features { display: grid; gap: 16px; }
  .login-story h2 { font-size: 54px; }
  .dashboard-sidebar { position: static; width: 100%; padding: 16px 24px; border-right: 0; border-bottom: 1px solid var(--portal-border); flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 28px; }
  .dashboard-sidebar .portal-brand { margin: 0; }
  .sidebar-label, .sidebar-support, .sidebar-copyright { display: none; }
  .sidebar-nav { display: flex; gap: 8px; }
  .sidebar-item { min-height: 44px; padding: 10px 12px; }
  .sidebar-item .sidebar-external, .nav-indicator { display: none; }
  .sidebar-bottom { margin: 0 0 0 auto; padding: 0; }
  .dashboard-workspace { margin: 0; }
  .dashboard-topbar { height: 60px; }
  .dashboard-main { max-width: 900px; padding-top: 32px; }
  .license-time { font-size: clamp(25px, 4vw, 36px); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .portal-header, .portal-footer { width: calc(100% - 40px); }
  .portal-header { padding-block: 16px; }
  .portal-brand { font-size: 21px; }
  .portal-brand img { width: 32px; height: 32px; }
  .portal-header .quiet-link { font-size: 11px; }
  .login-layout { width: min(440px, calc(100% - 40px)); grid-template-columns: 1fr; gap: 0; padding-block: 36px 48px; }
  .login-story { display: none; }
  .login-card { padding: 30px 26px; }
  .login-card h1 { font-size: 31px; }
  .login-card > .card-icon { top: 24px; right: 24px; }
  .login-card form { margin-top: 28px; }
  .field-help { font-size: 11px; }
  .privacy-note { font-size: 11px; }
  .portal-footer { padding-block: 16px; flex-wrap: wrap; gap: 4px 20px; }
  .portal-footer > p { font-size: 10px; }
  .portal-footer > a { font-size: 10px; }
  .dashboard-sidebar { padding: 16px 20px 10px; gap: 12px; }
  .sidebar-nav { width: 100%; order: 3; gap: 6px; }
  .sidebar-nav .sidebar-item { flex: 1; justify-content: center; font-size: 11px; padding: 10px 8px; gap: 7px; }
  .sidebar-item > .icon { width: 16px; height: 16px; }
  .signout-button { font-size: 11px; padding-inline: 6px; gap: 7px; }
  .dashboard-topbar { padding-inline: 20px; height: 58px; }
  .dashboard-topbar > p { gap: 10px; font-size: 10px; }
  .client-pill { font-size: 9px; }
  .dashboard-main { padding: 30px 20px 16px; }
  .dashboard-heading { align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
  .dashboard-heading h1 { font-size: 31px; }
  .dashboard-heading .eyebrow { font-size: 8px; }
  .dashboard-heading > div > p:last-child { font-size: 12px; }
  .website-button { font-size: 10px; min-height: 44px; padding: 10px 12px; }
  .dashboard-content { grid-template-columns: 1fr; gap: 18px; }
  .time-card { order: 0; }
  .details-card { order: 1; }
  .community-card { order: 2; }
  .help-card { order: 3; }
  .time-card, .community-card, .details-card, .help-card { padding: 24px; }
  .time-label { margin-top: 30px; font-size: 12px; }
  .license-time { font-size: clamp(24px, 6.2vw, 36px); letter-spacing: -.055em; }
  .time-description { font-size: 12px; line-height: 1.8; }
  .verification-note { font-size: 10px; }
  .license-details dt, .license-details dd { font-size: 12px; }
  .license-details > div { grid-template-columns: minmax(120px, 1fr) minmax(0, 1.3fr); gap: 16px; }
  .license-details dd { padding: 0; text-align: right; }
  .details-footnote { font-size: 10px; }
  .community-card .eyebrow { font-size: 9px; }
  .community-card > p:not(.eyebrow), .help-card > p { font-size: 12px; }
  .community-card .button, .help-card .accent-link, .help-secondary { font-size: 12px; }
  .community-card > p:not(.eyebrow) { max-width: none; }
  .workspace-footer { font-size: 10px; }
  .dashboard-loading { padding: 32px 20px; }
  .dashboard-loading h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  .portal-header, .portal-footer { width: calc(100% - 32px); }
  .login-layout { width: calc(100% - 32px); }
  .login-card { padding: 26px 20px; }
  .dashboard-main { padding-inline: 16px; }
  .time-card, .community-card, .details-card, .help-card { padding: 20px; }
  .license-details > div { grid-template-columns: 1fr; gap: 6px; }
  .license-details dd { text-align: left; padding-left: 23px; }
  .portal-brand { gap: 6px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Compact client pages. */
.login-page .login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; width: min(420px, calc(100% - 40px)); gap: 0; margin: 0 auto; padding: 24px 0; }
.login-page .login-card { width: 100%; padding: 32px; }
.login-page .portal-footer { min-height: 88px; border: 0; }
.dashboard-page .sidebar-nav { margin-top: 36px; }
.dashboard-page .dashboard-content { grid-template-columns: minmax(0, 1fr); max-width: 840px; }
.dashboard-page .dashboard-heading { margin-bottom: 28px; }
.dashboard-page .dashboard-main { padding-top: 40px; }
@media (max-width: 900px) { .dashboard-page .sidebar-nav { margin-top: 0; } }
@media (max-width: 680px) {
  .login-page .login-card { padding: 28px 24px; }
  .login-page .portal-footer { min-height: 72px; }
  .dashboard-page .dashboard-main { padding-top: 28px; }
}
