:root { --infract-status-neutral: #334155; --infract-status-neutral-soft: #f1f5f9; --infract-status-review: #f59e0b; --infract-status-review-text: #8a4b00; --infract-status-review-soft: #fff0c2; --infract-status-uploading: #2563eb; --infract-status-uploading-text: #1d4ed8; --infract-status-uploading-soft: #dbeafe; --infract-status-confirmed: #16a34a; --infract-status-confirmed-text: #087a35; --infract-status-confirmed-soft: #dcfce7; --infract-status-dismissed: #94a3b8; --infract-status-dismissed-text: #475569; --infract-status-dismissed-soft: #e2e8f0; --infract-status-problem: #dc2626; --infract-status-problem-text: #b91c1c; --infract-status-problem-soft: #fee2e2; color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #18201d; background: #f3f5f4; }
* { box-sizing: border-box; }
body { margin: 0; }
.topbar { position: sticky; z-index: 2000; top: 0; display: flex; min-height: 68px; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); border-bottom: 1px solid rgb(143 186 190 / 17%); padding: .72rem clamp(1rem, 3vw, 2.75rem); color: white; background: rgb(5 20 28 / 96%); box-shadow: 0 8px 28px rgb(0 0 0 / 14%); backdrop-filter: blur(18px); }
.topbar a { color: inherit; text-decoration: none; }
.topbar-brand { display: inline-flex; min-width: max-content; align-items: center; gap: .7rem; margin-right: auto; color: #f4f7f5; font-size: .96rem; font-weight: 780; letter-spacing: -.015em; }
.topbar-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgb(96 231 204 / 42%); border-radius: 10px; color: #062019; background: #56dfc2; box-shadow: 0 0 24px rgb(86 223 194 / 13%); font-size: .7rem; font-weight: 900; letter-spacing: -.02em; }
.portal-tabs { display: flex; align-items: center; gap: .22rem; border: 1px solid rgb(137 180 184 / 13%); border-radius: 11px; padding: .22rem; background: rgb(12 39 49 / 72%); }
.portal-tabs a { display: inline-flex; min-height: 38px; align-items: center; border-radius: 8px; padding: .55rem .78rem; color: #b4c8c9; font-size: .875rem; font-weight: 720; white-space: nowrap; transition: color .15s ease, background .15s ease; }
.portal-tabs a:hover { color: white; background: rgb(255 255 255 / 8%); }
.portal-tabs a[aria-current="page"] { color: #062019; background: #56dfc2; box-shadow: 0 3px 12px rgb(0 0 0 / 18%); }
.topbar form { margin: 0; }
.topbar button.quiet { min-height: 38px; border: 1px solid rgb(147 181 184 / 20%); border-radius: 8px; padding: .5rem .72rem; color: #afc2c3; background: transparent; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.topbar button.quiet:hover { border-color: rgb(86 223 194 / 42%); color: white; background: rgb(86 223 194 / 8%); }
.topbar a:focus-visible, .topbar button:focus-visible { outline: 3px solid #56dfc2; outline-offset: 3px; box-shadow: none; }
main { max-width: 1180px; margin: 2rem auto; padding: 0 1.25rem 4rem; }
a { color: #12634e; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.card { display: block; background: white; border: 1px solid #dce3e0; border-radius: 10px; padding: 1rem; box-shadow: 0 2px 8px rgb(16 43 36 / 6%); }
.narrow { max-width: 520px; margin: 5rem auto; }
.portal-login { padding: 1.5rem; }
.portal-login h1 { margin-bottom: .4rem; }
.portal-login form { margin-top: 1.25rem; }
.portal-login button { width: 100%; margin-top: .4rem; }
.portal-login small { display: block; margin-top: 1rem; color: #587068; }
.eyebrow { margin: 0; color: #587068; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.candidate-card { display: flex; flex-direction: column; gap: .5rem; color: inherit; text-decoration: none; }
.button-link { display: inline-block; width: fit-content; padding: .7rem 1rem; border-radius: 6px; color: white; background: #12634e; font-weight: 650; text-decoration: none; }
.empty-review { grid-column: 1 / -1; }
.empty-review h2 { margin: 0 0 .45rem; font-size: 1.2rem; }
.empty-review > p { color: #587068; }
.processing-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.processing-summary div { padding: .8rem; border-radius: 8px; background: #f3f5f4; }
.processing-summary strong, .processing-summary span { display: block; }
.processing-summary strong { margin-bottom: .2rem; font-size: 1.3rem; }
.processing-summary span { color: #587068; font-size: .82rem; }
.empty-review .processing-issue { margin: 1rem 0 0; padding: .75rem; border-left: 3px solid #b27822; color: #684712; background: #fff7e8; }
.status { color: #587068; font-size: .9rem; }
.notice { padding: .75rem 1rem; border-left: 4px solid #3b826f; background: #e7f2ef; }
.error, .warning { color: #8c2f22; }
.error-banner { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #d8a39c; border-left: 4px solid #a33a2b; border-radius: 6px; color: #76271c; background: #fff1ef; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.media-grid img, .media-grid video { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #111; }
.evidence-video-wrap { position: relative; background: #111; }
.speed-badge { position: absolute; left: 16px; bottom: 16px; display: flex; width: 84px; height: 84px; flex-direction: column; align-items: center; justify-content: center; color: white; border: 1.5px solid rgb(255 255 255 / 72%); border-radius: 50%; background: rgb(0 0 0 / 58%); box-shadow: 0 2px 8px rgb(0 0 0 / 45%); pointer-events: none; font-variant-numeric: tabular-nums; line-height: 1; backdrop-filter: blur(8px); }
.speed-mph { font-size: 1.75rem; font-weight: 800; }
.speed-mph-unit { margin-top: 1px; font-size: .62rem; font-weight: 800; }
.speed-kph { margin-top: 4px; font-size: .7rem; font-weight: 650; }
.map-frame { width: 100%; min-height: 260px; border: 1px solid #dce3e0; border-radius: 10px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
label { display: flex; flex-direction: column; gap: .35rem; margin: .85rem 0; font-weight: 600; }
label.checkbox { flex-direction: row; font-weight: 400; }
input, select, textarea { width: 100%; padding: .65rem; border: 1px solid #aab9b4; border-radius: 6px; font: inherit; }
input:disabled, select:disabled, textarea:disabled { color: #52615c; background: #eef1f0; cursor: not-allowed; }
input[type="checkbox"] { width: auto; }
.field-help { color: #587068; font-size: .82rem; font-weight: 400; }
fieldset { border: 1px solid #dce3e0; border-radius: 6px; margin: 1rem 0; }
.plate-list { padding-left: 1.5rem; }
.plate-list li { margin: .45rem 0; }
.plate-list code { display: inline-block; min-width: 7rem; font-size: 1rem; font-weight: 700; }
button { border: 0; border-radius: 6px; padding: .7rem 1rem; color: white; background: #12634e; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
button.quiet { background: transparent; padding: .25rem; }
.button-link { display: inline-flex; align-items: center; border-radius: 7px; padding: .7rem 1rem; color: white; background: #12634e; font-weight: 700; text-decoration: none; }
.page-heading, .tagging-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.page-heading h1, .tagging-heading h1 { margin: .2rem 0; }
.page-heading p:last-child { margin: .25rem 0 0; color: #587068; }
.filter-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; overflow-x: auto; padding-bottom: .25rem; }
.filter-tabs a { flex: 0 0 auto; border: 1px solid #c9d5d1; border-radius: 999px; padding: .5rem .8rem; color: #39534b; background: white; font-size: .86rem; font-weight: 700; text-decoration: none; }
.filter-tabs a[aria-current="page"] { border-color: #12634e; color: white; background: #12634e; }
.drive-list { display: flex; flex-direction: column; gap: .6rem; }
.drive-row { display: grid; grid-template-columns: minmax(240px, 1.5fr) minmax(160px, .8fr) auto auto; gap: 1rem; align-items: center; border: 1px solid #dce3e0; border-radius: 10px; padding: 1rem; color: inherit; background: white; box-shadow: 0 2px 8px rgb(16 43 36 / 5%); text-decoration: none; }
.drive-row:hover { border-color: #8eaaa1; box-shadow: 0 5px 18px rgb(16 43 36 / 9%); }
.drive-row div:first-child { display: flex; flex-direction: column; gap: .3rem; }
.drive-row div:first-child span, .drive-counts { color: #587068; font-size: .86rem; }
.drive-counts { display: flex; gap: .7rem; }
.row-arrow { color: #12634e; font-size: 1.25rem; }
.status-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .35rem .6rem; color: var(--infract-status-dismissed-text); background: var(--infract-status-dismissed-soft); box-shadow: inset 0 0 0 1px var(--infract-status-dismissed); font-size: .78rem; font-weight: 750; white-space: nowrap; }
.status-badge--draft { color: var(--infract-status-review-text); background: var(--infract-status-review-soft); box-shadow: inset 0 0 0 1px var(--infract-status-review); }
.status-badge--completed { color: var(--infract-status-confirmed-text); background: var(--infract-status-confirmed-soft); box-shadow: inset 0 0 0 1px var(--infract-status-confirmed); }
.back-link { display: inline-block; margin-bottom: .8rem; font-weight: 700; text-decoration: none; }
.tagging-status { display: flex; flex-direction: column; align-items: flex-end; color: #587068; }
.tagging-status strong { color: #12634e; }
.tagging-shell { display: grid; grid-template-columns: 230px minmax(420px, 1fr) 330px; gap: .85rem; align-items: start; }
.tagging-pane { min-width: 0; border: 1px solid #dce3e0; border-radius: 10px; background: white; box-shadow: 0 2px 8px rgb(16 43 36 / 5%); }
.tagging-pane--queue, .tagging-pane--editor { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1rem; }
.tagging-pane--video { overflow: hidden; }
.tagging-shell--disabled { opacity: .82; }
.pane-title { display: flex; flex-direction: column; gap: .15rem; padding-bottom: .8rem; border-bottom: 1px solid #e5ebe9; }
.pane-title span { color: #6d8079; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.drive-facts { font-size: .86rem; }
.shortcut-card { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: 1rem 0; padding: .8rem; border-radius: 8px; background: #f3f5f4; font-size: .75rem; }
.shortcut-card strong { grid-column: 1 / -1; }
kbd { display: inline-block; min-width: 1.4rem; margin-right: .2rem; border: 1px solid #bcc9c5; border-bottom-width: 2px; border-radius: 4px; padding: .08rem .25rem; text-align: center; background: white; font: inherit; font-weight: 750; }
.suggestion-list { display: flex; flex-direction: column; gap: .35rem; }
.suggestion-list > strong { margin-bottom: .25rem; font-size: .85rem; }
.suggestion-button { padding: .55rem; color: #385a70; background: #e7f1f7; font-size: .76rem; text-align: left; }
.video-stage { display: grid; min-height: 400px; place-items: center; background: #111; }
.video-stage video { display: block; width: 100%; max-height: 68vh; background: #111; }
.video-empty { color: white; }
.timeline-wrap { padding: .9rem 1rem .25rem; }
.observation-timeline { position: relative; height: 28px; border-radius: 6px; background: #e3e9e7; overflow: hidden; }
.timeline-segment { position: absolute; top: 9px; height: 10px; border-radius: 3px; background: #b7c7c1; }
.automatic-marker, .manual-marker { position: absolute; z-index: 2; min-width: 4px; height: 8px; border: 0; border-radius: 4px; padding: 0; }
.automatic-marker { top: 2px; background: #4284a7; }
.manual-marker { bottom: 2px; background: #d18423; }
.timeline-playhead { position: absolute; z-index: 3; top: 0; width: 2px; height: 100%; background: #162a24; pointer-events: none; }
.time-readout { display: flex; justify-content: space-between; margin-top: .4rem; color: #587068; font-size: .8rem; font-variant-numeric: tabular-nums; }
.time-readout strong { color: #18201d; }
.player-tools { display: flex; gap: .45rem; align-items: flex-end; flex-wrap: wrap; padding: .75rem 1rem 1rem; }
.player-tools label { min-width: 90px; margin: 0; font-size: .76rem; }
.player-tools select { padding: .45rem; }
button.secondary { border: 1px solid #b9cac4; color: #1a5546; background: white; }
button.danger { color: #8c2f22; }
.interval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.interval-actions, .form-actions, .finish-actions { display: flex; gap: .5rem; }
.interval-actions button, .form-actions button, .finish-actions button { flex: 1; }
.evidence-prompt-preview { display: flex; flex-direction: column; gap: .35rem; margin: .6rem 0; border-left: 3px solid #7a9f93; padding: .6rem .7rem; color: #526b63; background: #f1f6f4; font-size: .75rem; }
.recent-categories { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: -.2rem 0 .2rem; }
.recent-categories > span { color: #587068; font-size: .72rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.category-chip { width: auto; border: 1px solid #b9cac4; border-radius: 999px; padding: .35rem .55rem; color: #1a5546; background: white; font-size: .76rem; }
.inline-error { margin: .75rem 0; border-radius: 6px; padding: .65rem; color: #76271c; background: #fff1ef; font-size: .84rem; }
.warning-card { margin: .8rem 0; border-radius: 6px; padding: .65rem; color: #74500f; background: #fff2ce; font-size: .8rem; }
.tag-list { display: flex; flex-direction: column; gap: .55rem; margin: 1rem 0; }
.tag-row { display: flex; gap: .5rem; align-items: center; justify-content: space-between; border: 1px solid #dde5e2; border-radius: 7px; padding: .65rem; }
.tag-row > div:first-child { display: flex; min-width: 0; flex-direction: column; gap: .2rem; }
.tag-row strong { font-size: .8rem; }
.tag-row span { color: #587068; font-size: .72rem; }
.tag-row-actions { display: flex; gap: .2rem; }
.icon-button { padding: .3rem; color: #12634e; background: transparent; font-size: .7rem; }
.finish-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5ebe9; }
.legal-boundary { color: #667a73; font-size: .72rem; line-height: 1.4; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .8rem; }
dt { color: #587068; } dd { margin: 0; text-align: right; }
@media (max-width: 1050px) { .tagging-shell { grid-template-columns: 200px 1fr; } .tagging-pane--editor { position: static; grid-column: 1 / -1; max-height: none; } }
@media (max-width: 760px) { .two-column { grid-template-columns: 1fr; } .processing-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; padding: .65rem .75rem; } .topbar-brand { min-width: 0; margin-right: 0; } .topbar-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .portal-tabs { grid-column: 1 / -1; width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; } .portal-tabs::-webkit-scrollbar { display: none; } .portal-tabs a { flex: 0 0 auto; min-height: 36px; padding: .48rem .5rem; font-size: .8rem; } .topbar form { grid-column: 2; grid-row: 1; } .page-heading, .tagging-heading { align-items: flex-start; flex-direction: column; } .drive-row { grid-template-columns: 1fr auto; } .drive-counts { grid-column: 1 / -1; } .tagging-status { align-items: flex-start; } .tagging-shell { grid-template-columns: 1fr; } .tagging-pane--queue, .tagging-pane--editor { position: static; max-height: none; } .video-stage { min-height: 240px; } .interval-grid { grid-template-columns: 1fr; } }

/* Owner operations shell. Reviewer and labeler navigation retain the top bar above. */
.owner-shell-page { min-width: 320px; color: #17191c; background: #f5f5f2; }
.owner-shell-page.owner-nav-lock { overflow: hidden; }
.owner-shell {
  --owner-navy: #0f2344;
  --owner-blue: #3157d5;
  --owner-line: #e2e4e7;
  --owner-muted: #68707b;
  --owner-sidebar-width: 302px;
  --ops-type-overline: 13px;
  --ops-type-page-title: 34px;
  --ops-type-workspace-title: 28px;
  --ops-type-section-title: 19px;
  --ops-type-item-title: 15px;
  --ops-type-body: 15px;
  --ops-type-supporting: 14px;
  --ops-type-control: 15px;
  --ops-line-title: 1.15;
  --ops-line-section: 1.25;
  --ops-line-item: 1.4;
  --ops-line-body: 1.5;
  --ops-color-title: #0f2344;
  --ops-color-text: #17191c;
  --ops-color-muted: #5f6874;
  --ops-color-accent: #3157d5;
  --ops-color-divider: #e3e5e8;
  --ops-space-1: 4px;
  --ops-space-2: 8px;
  --ops-space-3: 12px;
  --ops-space-4: 16px;
  --ops-space-6: 24px;
  --ops-space-8: 32px;
  min-height: 100vh;
}
.owner-sidebar { position: fixed; z-index: 2400; inset: 0 auto 0 0; display: flex; width: var(--owner-sidebar-width); overflow-x: hidden; overflow-y: auto; flex-direction: column; border-right: 1px solid var(--owner-line); padding: 20px 16px 16px; color: #343b45; background: #fff; outline: 0; overscroll-behavior: contain; scrollbar-width: thin; }
.owner-brand { display: flex; align-items: center; gap: 10px; margin: 0 4px 18px; color: var(--owner-navy); text-decoration: none; }
.owner-brand img { display: block; width: 112px; height: 36px; border-radius: 4px; object-fit: contain; background: var(--owner-navy); }
.owner-brand span { max-width: 68px; color: var(--owner-muted); font-size: 12px; font-weight: 760; line-height: 1.2; letter-spacing: .045em; text-transform: uppercase; }
.workspace-switcher { position: relative; min-width: 0; }
.owner-sidebar > .workspace-switcher { margin: 0 4px 20px; }
.owner-sidebar .workspace-switcher-menu { width: 100%; }
.workspace-switcher-trigger { display: grid; width: 100%; min-width: 0; min-height: 48px; grid-template-columns: minmax(0, 1fr) 10px; align-items: center; gap: 10px; border: 1px solid #d8dde5; border-radius: 9px; padding: 8px 10px; color: #24334c; background: #fff; box-shadow: 0 1px 2px rgb(15 35 68 / 5%); text-align: left; }
.workspace-switcher-trigger:hover { border-color: #b7c0ce; background: #f8faff; }
.workspace-switcher-trigger-copy { display: block; min-width: 0; }
.workspace-switcher-context, .workspace-switcher-trigger strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher-context { margin-bottom: 3px; color: #7a8391; font-size: 10px; font-weight: 820; letter-spacing: .075em; line-height: 1.1; text-transform: uppercase; }
.workspace-switcher-trigger strong { color: inherit; font-size: 13px; font-weight: 800; line-height: 1.25; }
.workspace-switcher-chevron { width: 7px; height: 7px; justify-self: center; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .14s ease; }
.workspace-switcher.is-open .workspace-switcher-chevron { transform: translateY(2px) rotate(225deg); }
.workspace-switcher-menu { position: absolute; z-index: 3700; top: calc(100% + 7px); left: 0; width: min(300px, calc(100vw - 32px)); max-height: min(420px, calc(100vh - 144px)); overflow-x: hidden; overflow-y: auto; border: 1px solid #d8dde5; border-radius: 10px; padding: 6px; color: #263247; background: rgb(255 255 255 / 98%); box-shadow: 0 18px 48px rgb(15 35 68 / 18%), 0 3px 10px rgb(15 35 68 / 8%); overscroll-behavior: contain; scrollbar-width: thin; }
.workspace-switcher-menu[hidden] { display: none; }
.workspace-switcher-section + .workspace-switcher-section { margin-top: 6px; border-top: 1px solid #e5e8ed; padding-top: 6px; }
.workspace-switcher-section>p { margin: 0; padding: 7px 10px 5px; color: #7a8391; font-size: 10px; font-weight: 850; letter-spacing: .075em; line-height: 1.2; text-transform: uppercase; }
.workspace-switcher-section ul { margin: 0; padding: 0; list-style: none; }
.workspace-switcher-section a { display: grid; min-height: 42px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border-radius: 7px; padding: 9px 10px; color: #364256; font-size: 14px; font-weight: 680; line-height: 1.25; text-decoration: none; }
.workspace-switcher-section a > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher-section a:hover, .workspace-switcher-section a:focus-visible { color: #16346c; background: #eef3fc; }
.workspace-switcher-section a:focus-visible { outline:3px solid rgb(49 87 213 / 30%); outline-offset:1px; }
.workspace-switcher-section a[aria-current="page"] { color: #17366f; background: #f2f5fb; font-weight: 820; }
.workspace-switcher-check { color: #3157d5; font-size: 14px; font-weight: 900; }
.workspace-switcher--dark .workspace-switcher-trigger { min-width: 176px; border-color: rgb(255 255 255 / 24%); color: #fff; background: rgb(255 255 255 / 7%); box-shadow: none; }
.workspace-switcher--dark .workspace-switcher-trigger:hover { border-color: rgb(255 255 255 / 40%); background: rgb(255 255 255 / 12%); }
.workspace-switcher--dark .workspace-switcher-context { color: #aebdd0; }
.workspace-switcher--dark .workspace-switcher-menu { right: 0; left: auto; }
.owner-primary-nav, .owner-secondary-nav, .owner-tools nav { display: flex; flex-direction: column; gap: 4px; }
.owner-primary-nav a, .owner-secondary-nav a { position: relative; display: grid; min-height: 46px; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 11px; align-items: center; border-radius: 7px; padding: 10px 11px; color: #505864; font-size: 16px; font-weight: 680; text-decoration: none; }
.owner-primary-nav a:hover, .owner-secondary-nav a:hover { color: #1b2027; background: #f4f5f6; }
.owner-primary-nav a[aria-current="page"], .owner-secondary-nav a[aria-current="page"] { color: var(--owner-navy); background: #eef2f8; }
.owner-primary-nav a[aria-current="page"]::before, .owner-secondary-nav a[aria-current="page"]::before { position: absolute; left: -16px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: var(--owner-blue); content: ""; }
.owner-primary-nav svg, .owner-secondary-nav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.owner-nav-count { min-width: 24px; border-radius: 999px; padding: 3px 6px; color: var(--infract-status-review-text); background: var(--infract-status-review-soft); box-shadow: inset 0 0 0 1px var(--infract-status-review); font-size: 13px; font-weight: 800; text-align: center; }
.owner-tools { margin-top: 26px; border-top: 1px solid var(--owner-line); padding-top: 14px; }
.owner-tools summary { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 11px; color: #7a818b; cursor: pointer; list-style: none; font-size: 13px; font-weight: 780; letter-spacing: .065em; text-transform: uppercase; }
.owner-tools summary::-webkit-details-marker { display: none; }
.owner-tools-label { display: inline-flex; min-width: 0; align-items: center; gap: 9px; }
.owner-tools-label svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.owner-tools summary > span:last-child { font-size: 16px; font-weight: 500; transition: transform .15s ease; }
.owner-tools[open] summary > span:last-child { transform: rotate(45deg); }
.owner-tools nav { margin-top: 2px; }
.owner-tools nav a { min-height: 38px; border-radius: 7px; padding: 9px 11px 9px 42px; color: #69717c; font-size: 15px; font-weight: 650; text-decoration: none; }
.owner-tools nav a:hover, .owner-tools nav a[aria-current="page"] { color: #222831; background: #f4f5f6; }
.owner-secondary-nav { flex: none; margin-top: auto; border-top: 1px solid var(--owner-line); padding-top: 12px; }
.owner-sidebar-footer { margin-top: auto; border-top: 1px solid var(--owner-line); padding: 16px 4px 0; }
.owner-secondary-nav + .owner-sidebar-footer { margin-top: 12px; }
.owner-identity:not(.owner-identity-link)>span, .owner-identity:not(.owner-identity-link)>strong, .owner-identity:not(.owner-identity-link)>small, .owner-identity-copy>span, .owner-identity-copy>strong, .owner-identity-copy>small { display: block; }
.owner-identity-link { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:10px; border-radius:7px; padding:8px; color:inherit; text-decoration:none; }
.owner-identity-link:hover { background:#f4f5f6; }
.owner-identity-link:focus-visible { outline:3px solid rgb(49 87 213 / 20%); outline-offset:2px; }
.owner-identity-link[aria-current="page"] { background:#eef2f8; }
.owner-avatar { position:relative; display:grid; width:40px; height:40px; overflow:hidden; place-items:center; border-radius:50%; color:#17345f; background:#e8eef7; box-shadow:inset 0 0 0 1px #d4ddea; }
.owner-avatar img { width:100%; height:100%; border-radius:inherit; object-fit:cover; }
.owner-avatar-fallback { display:grid; width:100%; height:100%; place-items:center; font-size:13px; font-weight:800; letter-spacing:.025em; line-height:1; }
.owner-avatar-fallback[hidden], .owner-avatar img[hidden] { display:none; }
.owner-identity-copy { min-width:0; }
.owner-identity:not(.owner-identity-link)>span, .owner-identity-copy>span { color: #89909a; font-size: 12px; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.owner-identity:not(.owner-identity-link)>strong, .owner-identity-copy>strong { overflow: hidden; margin-top: 5px; color: #3d444e; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.owner-identity:not(.owner-identity-link)>small, .owner-identity-copy>small { margin-top: 4px; color: #8a919a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.owner-release { display:block; margin:8px 8px 0; color:#8a919a; font:12px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; }
.owner-sidebar-footer form { margin: 12px 0 0; }
.owner-sign-out { width: 100%; min-height: 38px; border: 1px solid #d8dce1; border-radius: 7px; padding: 8px 10px; color: #5e6671; background: #fff; font-size: 14px; font-weight: 700; text-align: left; }
.owner-sign-out:hover { color: #222831; background: #f5f6f7; }
.owner-stage { min-width: 0; min-height: 100vh; margin-left: var(--owner-sidebar-width); }
.owner-admin-context { position:sticky; z-index:2250; top:0; display:flex; min-height:44px; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid #e2a447; padding:9px clamp(24px,3vw,48px); color:#682a0d; background:#fff3dc; box-shadow:0 3px 10px rgb(91 44 8 / 9%); font-size:13px; }
.owner-admin-context strong { font-weight:850; }
.owner-admin-context a { color:#7b2f0c; font-weight:850; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.owner-admin-context a:hover { text-decoration:underline; }
.owner-admin-context--override { border-left:4px solid #d27618; }
.owner-main { width: auto; max-width: none; min-width: 0; margin: 0; padding: 32px clamp(24px, 3vw, 48px) 64px; }
.owner-mobile-header { display: none; }
.owner-nav-backdrop[hidden] { display: none; }
.owner-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.owner-shell :focus-visible { outline: 3px solid rgb(49 87 213 / 25%); outline-offset: 2px; }

/* Progressive custom selects for the primary operator dashboard only. */
.owner-custom-select { position: relative; display: block; width: 100%; min-width: 0; }
select.owner-native-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; margin: 0 !important; border: 0 !important; padding: 0 !important; opacity: 0 !important; pointer-events: none !important; white-space: nowrap !important; }
.owner-shell .owner-custom-select-trigger { display: grid; width: 100%; min-width: 0; min-height: 46px; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 10px; border: 1px solid #cfd3d9; border-radius: 8px; padding: 10px 12px; color: #303640; background: #fff; box-shadow: 0 1px 2px rgb(15 35 68 / 5%); font-size: 15px; font-weight: 650; line-height: 1.25; text-align: left; transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.owner-shell .owner-custom-select-trigger:hover:not(:disabled) { border-color: #aeb4bd; background: #fbfcfd; }
.owner-shell .owner-custom-select-trigger:focus-visible, .owner-shell .owner-custom-select.is-open .owner-custom-select-trigger { border-color: #3157d5; outline: 0; background: #fff; box-shadow: 0 0 0 3px rgb(49 87 213 / 13%); }
.owner-shell .owner-custom-select-trigger:disabled { color: #7b838d; background: #f0f1f2; box-shadow: none; cursor: not-allowed; opacity: 1; }
.owner-shell .owner-custom-select.is-invalid .owner-custom-select-trigger:not(:focus-visible) { border-color: #bd6b64; }
.owner-custom-select-value { display: flex; min-width: 0; align-items: center; gap: 8px; }
.owner-custom-select-value-copy, .owner-custom-select-option-copy { display:flex; min-width:0; align-items:baseline; gap:6px; overflow:hidden; white-space:nowrap; }
.owner-custom-select-value-label, .owner-custom-select-option-label { min-width:0; overflow:hidden; color:inherit; text-overflow:ellipsis; white-space:nowrap; }
.owner-custom-select-value-meta, .owner-custom-select-option-meta { min-width:0; overflow:hidden; color:#7c8490; font-size:.84em; font-weight:540; text-overflow:ellipsis; white-space:nowrap; }
.owner-custom-select-value-meta { color:#7b8492; }
.owner-custom-select-chevron { width: 9px; height: 9px; justify-self: center; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .14s ease; }
.owner-custom-select.is-open .owner-custom-select-chevron { transform: translateY(2px) rotate(225deg); }
.owner-custom-select-menu { position: fixed; z-index: 3600; overflow-x: hidden; overflow-y: auto; border: 1px solid #d9dde3; border-radius: 10px; padding: 5px; color: #29313c; background: rgb(255 255 255 / 98%); box-shadow: 0 16px 44px rgb(15 35 68 / 18%), 0 3px 10px rgb(15 35 68 / 8%); overscroll-behavior: contain; scrollbar-width: thin; backdrop-filter: blur(18px); }
.owner-custom-select-menu:not([hidden]) { display: block !important; }
.owner-custom-select-menu[hidden] { display: none !important; }
dialog.owner-custom-select-dialog-open { overflow: visible; }
.owner-custom-select-menu[data-direction="up"] { box-shadow: 0 -16px 44px rgb(15 35 68 / 17%), 0 -3px 10px rgb(15 35 68 / 7%); }
.owner-custom-select-group + .owner-custom-select-group { margin-top: 4px; border-top: 1px solid #eaecf0; padding-top: 4px; }
.owner-custom-select-group-label { overflow: hidden; padding: 8px 10px 5px 38px; color: #7c8490; font-size: 11px; font-weight: 820; letter-spacing: .075em; line-height: 1.25; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.owner-custom-select-option { display: grid; width: 100%; min-height: 44px; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 8px; border: 0; border-radius: 7px; padding: 9px 10px; color: inherit; background: transparent; box-shadow: none; font-size: 14px; font-weight: 620; line-height: 1.3; text-align: left; }
.owner-custom-select-option--tone { grid-template-columns: 20px 11px minmax(0, 1fr); }
.owner-custom-select-tone { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: var(--infract-status-neutral); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgb(15 35 68 / 9%); }
.owner-custom-select-tone[data-tone="amber"] { background: var(--infract-status-review); }
.owner-custom-select-tone[data-tone="blue"] { background: var(--infract-status-uploading); }
.owner-custom-select-tone[data-tone="green"] { background: var(--infract-status-confirmed); }
.owner-custom-select-tone[data-tone="gray"] { background: var(--infract-status-dismissed); }
.owner-custom-select-tone[data-tone="red"] { background: var(--infract-status-problem); }
.owner-custom-select-option:hover:not(:disabled), .owner-custom-select-option.is-active { color: #172747; background: #eef2fa; }
.owner-custom-select-option[aria-selected="true"] { color: #183677; background: #f3f6fc; font-weight: 760; }
.owner-custom-select-option[aria-selected="true"].is-active { background: #e8eefb; }
.owner-custom-select-option:disabled { color: #a0a6af; background: transparent; cursor: not-allowed; opacity: 1; }
.owner-custom-select-check { color: #3157d5; font-size: 15px; font-weight: 900; opacity: 0; text-align: center; }
.owner-custom-select-option[aria-selected="true"] .owner-custom-select-check { opacity: 1; }
.owner-shell .owner-custom-select--dark .owner-custom-select-trigger { color: #f2f5fb; border-color: #556176; background: #222b39; box-shadow: 0 1px 2px rgb(0 0 0 / 18%); }
.owner-shell .owner-custom-select--dark .owner-custom-select-trigger:hover:not(:disabled) { border-color: #6c7b94; background: #2a3444; }
.owner-shell .owner-custom-select--dark .owner-custom-select-trigger:focus-visible, .owner-shell .owner-custom-select--dark.is-open .owner-custom-select-trigger { border-color: #91a8ff; background: #222b39; box-shadow: 0 0 0 3px rgb(145 168 255 / 22%); }
.owner-custom-select-menu--dark { color: #eef2fa; border-color: #4c586b; background: rgb(31 40 54 / 98%); box-shadow: 0 18px 48px rgb(0 0 0 / 36%), 0 3px 12px rgb(0 0 0 / 24%); }
.owner-custom-select-menu--dark .owner-custom-select-group + .owner-custom-select-group { border-top-color: #3c4657; }
.owner-custom-select-menu--dark .owner-custom-select-group-label { color: #9da9bc; }
.owner-custom-select-menu--dark .owner-custom-select-option:hover:not(:disabled), .owner-custom-select-menu--dark .owner-custom-select-option.is-active { color: #fff; background: #354258; }
.owner-custom-select-menu--dark .owner-custom-select-option[aria-selected="true"] { color: #fff; background: #303d52; }
.owner-custom-select-menu--dark .owner-custom-select-option[aria-selected="true"].is-active { background: #3b4b65; }
.owner-custom-select-menu--dark .owner-custom-select-check { color: #b8c7ff; }

@media (max-width: 860px) {
  .owner-stage { margin-left: 0; padding-top: 56px; }
  .owner-mobile-header { position: fixed; z-index: 2300; inset: 0 0 auto; display: flex; height: 56px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e1e4e7; padding: 0 16px; background: rgb(255 255 255 / 96%); backdrop-filter: blur(14px); }
  .owner-mobile-header > a { color: #0f2344; font-size: 16px; font-weight: 800; text-decoration: none; }
  .owner-mobile-header > a span { margin-left: 6px; color: #7a818c; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
  .owner-mobile-header button { display: grid; width: 40px; height: 40px; align-content: center; gap: 4px; border: 0; border-radius: 7px; padding: 9px; background: transparent; }
  .owner-mobile-header button > span[aria-hidden] { display: block; height: 1.5px; background: #303844; }
  .owner-sidebar { width: min(var(--owner-sidebar-width), calc(100vw - 40px)); transform: translateX(-102%); box-shadow: 12px 0 36px rgb(15 35 68 / 12%); transition: transform .18s ease; }
  .owner-nav-open .owner-sidebar { transform: translateX(0); }
  .owner-nav-backdrop { position: fixed; z-index: 2350; inset: 0; background: rgb(15 24 38 / 35%); }
  .owner-main { padding: 24px 18px 48px; }
  .owner-admin-context { top:56px; min-height:52px; align-items:flex-start; padding:9px 16px; font-size:12px; }
  .owner-custom-select-menu { max-width: calc(100vw - 24px); }
  .owner-custom-select-option { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .owner-sidebar, .owner-tools summary > span:last-child { transition: none; }
}

/* Multi-client account and team surfaces */
.infract-admin-page { min-width:320px; color:#172033; background:#f3f5f8; }
.infract-admin-shell { min-height:100vh; }
.infract-admin-topbar { position:sticky; z-index:2200; top:0; display:grid; min-height:72px; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:30px; border-bottom:1px solid #203653; padding:10px clamp(20px,4vw,54px); color:#fff; background:#0f2344; box-shadow:0 8px 24px rgb(8 21 43 / 14%); }
.infract-admin-brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; }
.infract-admin-brand img { width:116px; height:38px; object-fit:contain; }
.infract-admin-brand span { border-left:1px solid rgb(255 255 255 / 28%); padding-left:12px; font-size:12px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.infract-admin-topbar nav { display:flex; align-items:center; gap:6px; }
.infract-admin-topbar nav a { border-radius:7px; padding:10px 12px; color:#c9d4e4; font-size:14px; font-weight:750; text-decoration:none; }
.infract-admin-topbar nav a:hover,.infract-admin-topbar nav a[aria-current="page"] { color:#fff; background:rgb(255 255 255 / 10%); }
.infract-admin-account { display:flex; align-items:center; gap:14px; }
.infract-admin-account>span { max-width:230px; overflow:hidden; color:#c5d0df; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.infract-admin-account form { margin:0; }
.infract-admin-account button { min-height:38px; border:1px solid rgb(255 255 255 / 24%); border-radius:7px; padding:8px 12px; color:#fff; background:transparent; font-size:13px; }
.infract-admin-account button:hover { background:rgb(255 255 255 / 10%); }
.infract-admin-topbar :focus-visible { outline:3px solid #8eabff; outline-offset:2px; }
.infract-admin-main { width:auto; max-width:none; min-height:calc(100vh - 72px); margin:0; padding:0; background:#f3f5f8; }
.client-admin-main { min-height:100vh; background:#f6f7f9; }
.client-admin-page { max-width:1240px; margin:0 auto; padding:34px 32px 56px; }
.client-admin-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:24px; }
.client-admin-heading h1 { margin:3px 0 7px; color:#0f2344; font-size:clamp(28px,4vw,42px); line-height:1.05; letter-spacing:-.035em; }
.client-admin-heading p { margin:0; color:#677184; }
.client-admin-status { min-height:24px; color:#5d6677; font-size:14px; }
.infract-primary,.infract-secondary { display:inline-flex; min-height:42px; align-items:center; justify-content:center; border-radius:8px; padding:10px 14px; font-size:14px; font-weight:800; line-height:1.2; text-decoration:none; transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,color .15s ease; }
.infract-primary { border:1px solid #174ea6; color:#fff; background:#174ea6; box-shadow:0 2px 6px rgb(23 78 166 / 16%); }
.infract-primary:hover { border-color:#123f89; color:#fff; background:#123f89; }
.infract-secondary { border:1px solid #cbd3df; color:#34435a; background:#fff; box-shadow:0 1px 2px rgb(15 35 68 / 5%); }
.infract-secondary:hover { border-color:#aab7c9; color:#18355f; background:#f8faff; }
.infract-primary:focus-visible,.infract-secondary:focus-visible { outline:3px solid rgb(42 98 204 / 22%); outline-offset:2px; }
.infract-primary:disabled,.infract-secondary:disabled { box-shadow:none; cursor:not-allowed; opacity:.58; }
.client-account-grid { display:grid; gap:14px; }
.client-account-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 22px; border:1px solid #e1e5eb; border-radius:12px; background:#fff; box-shadow:0 3px 12px rgb(15 35 68 / 5%); }
.client-account-card h2 { margin:8px 0 3px; color:#15233a; font-size:20px; }
.client-account-card p { margin:0; color:#6c7585; font-size:14px; }
.client-status { display:inline-flex; padding:3px 8px; border-radius:999px; color:var(--infract-status-dismissed-text); background:var(--infract-status-dismissed-soft); box-shadow:inset 0 0 0 1px var(--infract-status-dismissed); font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.client-status--active { color:var(--infract-status-confirmed-text); background:var(--infract-status-confirmed-soft); box-shadow:inset 0 0 0 1px var(--infract-status-confirmed); }
.client-status--suspended { color:var(--infract-status-problem-text); background:var(--infract-status-problem-soft); box-shadow:inset 0 0 0 1px var(--infract-status-problem); }
.client-account-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.client-account-actions a { text-decoration:none; }
.client-admin-dialog { width:min(540px,calc(100vw - 28px)); max-height:calc(100vh - 28px); overflow:auto; padding:0; border:0; border-radius:14px; box-shadow:0 24px 80px rgb(15 35 68 / 25%); }
.client-admin-dialog::backdrop { background:rgb(11 24 45 / 52%); backdrop-filter:blur(2px); }
.client-admin-dialog form { display:grid; gap:18px; padding:26px; }
.client-admin-dialog h2 { margin:3px 0 5px; color:#0f2344; font-size:28px; }
.client-admin-dialog p { margin:0; color:#697386; }
.client-admin-dialog label,.client-inline-form label { display:grid; gap:7px; color:#344054; font-size:13px; font-weight:800; }
.client-admin-dialog input,.client-admin-dialog select,.client-inline-form input { box-sizing:border-box; width:100%; min-height:44px; border:1px solid #cfd6df; border-radius:8px; padding:10px 12px; background:#fff; color:#172033; font:600 15px/1.2 inherit; }
.client-admin-dialog input:focus-visible,.client-admin-dialog select:focus-visible,.client-inline-form input:focus-visible { outline:3px solid rgb(42 98 204 / 20%); border-color:#2a62cc; }
.client-admin-dialog input::placeholder { color:#929bab; opacity:1; }
.client-field-hint { color:#7a8494; font-size:12px; font-weight:500; }
.client-required-mark { color:#d92d20; }
.client-fieldset { display:grid; gap:12px; min-width:0; margin:0; padding:0; border:0; }
.client-fieldset legend { margin-bottom:8px; padding:0; color:#344054; font-size:13px; font-weight:800; }
.client-slug-control { display:flex; align-items:center; overflow:hidden; min-height:44px; border:1px solid #cfd6df; border-radius:8px; background:#fff; color:#657084; font-size:15px; font-weight:700; }
.client-slug-control:focus-within { outline:3px solid rgb(42 98 204 / 20%); border-color:#2a62cc; }
.client-slug-control>span { padding-left:12px; }
.client-admin-dialog .client-slug-control input { min-width:0; border:0; border-radius:0; padding-left:2px; box-shadow:none; outline:0; }
.client-admin-dialog .client-check-field { display:flex; grid-template-columns:none; flex-direction:row; align-items:center; gap:9px; }
.client-admin-dialog .client-check-field input { width:18px; min-height:18px; margin:0; }
.client-dialog-error { min-height:18px; color:#d92d20; font-size:13px; }
.client-admin-dialog footer { display:flex; justify-content:flex-end; gap:8px; }
.client-code-dialog-body { display:grid; gap:18px; padding:26px; }
.client-form-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.client-team-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.client-areas-panel { grid-column:1 / -1; }
.client-panel { overflow:hidden; border:1px solid #e1e5eb; border-radius:12px; background:#fff; box-shadow:0 3px 12px rgb(15 35 68 / 5%); }
.client-panel>header { padding:20px 22px 14px; border-bottom:1px solid #edf0f3; }
.client-panel>header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.client-panel h2 { margin:0 0 4px; color:#15233a; font-size:20px; }
.client-panel p { margin:0; color:#727c8d; font-size:13px; }
.client-list-row { display:flex; min-height:64px; align-items:center; justify-content:space-between; gap:16px; padding:10px 22px; border-bottom:1px solid #edf0f3; }
.client-list-row>div { display:grid; min-width:0; gap:3px; }
.client-list-row strong,.client-list-row span { overflow:hidden; text-overflow:ellipsis; }
.client-list-row strong { color:#1b273a; font-size:14px; }
.client-list-row span { color:#727c8d; font-size:12px; }
.client-list-row b { color:#18794e; font-size:11px; text-transform:uppercase; }
.client-row-heading { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.client-list-row .client-row-state { flex:none; overflow:visible; }
.client-list-row .client-row-state--danger { color:#d92d20; }
.client-list-row>div:last-child { display:flex; align-items:center; gap:10px; }
.client-row-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
.client-drivers-panel .client-list-row,.admin-client-drivers-panel .client-list-row { align-items:flex-start; flex-direction:column; }
.client-drivers-panel .client-list-row>div,.admin-client-drivers-panel .client-list-row>div { width:100%; }
.client-drivers-panel .client-list-row>div:last-child,.admin-client-drivers-panel .client-list-row>div:last-child { flex-wrap:wrap; justify-content:space-between; }
.client-text-action { border:0; background:transparent; color:#d92d20; font:700 12px/1 inherit; cursor:pointer; }
.client-text-action:hover { color:#b42318; }
.client-text-action--blue { color:#2458bd; }
.client-text-action--blue:hover { color:#17469e; }
.client-invite-action { gap:6px; white-space:nowrap; }
.client-invite-action span { color:#2458bd; font-size:18px; line-height:1; }
.client-readonly-input { color:#697386 !important; background:#f4f6f8 !important; cursor:not-allowed; }
.client-member-access { display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid #e8ecf1; padding-top:18px; }
.client-member-access[hidden] { display:none; }
.client-member-access strong,.client-member-access span { display:block; }
.client-member-access strong { color:#25344a; font-size:13px; }
.client-member-access span { margin-top:3px; color:#747f90; font-size:12px; }
.client-protected-access { display:grid; gap:3px; border-top:1px solid #e8ecf1; padding-top:18px; }
.client-protected-access[hidden] { display:none; }
.client-protected-access strong { color:#25344a; font-size:13px; }
.client-protected-access span { color:#747f90; font-size:12px; }
.client-danger-button { display:inline-flex; min-height:38px; align-items:center; justify-content:center; border:1px solid #d92d20; border-radius:8px; padding:8px 12px; color:#d92d20; background:#fff5f4; font:800 12px/1.2 inherit; cursor:pointer; }
.client-danger-button:hover { border-color:#b42318; color:#fff; background:#b42318; }
.client-danger-button:focus-visible { outline:3px solid rgb(217 45 32 / 22%); outline-offset:2px; }
.client-inline-form { display:grid; grid-template-columns:1fr 1.4fr auto; align-items:end; gap:10px; padding:16px 22px; border-bottom:1px solid #edf0f3; }
.client-settings-page { max-width:920px; }
.client-settings-form { display:grid; gap:18px; }
.client-settings-card { overflow:visible; }
.client-settings-fields { display:grid; gap:18px; padding:22px; }
.client-settings-fields label,.client-settings-field { display:grid; min-width:0; gap:7px; margin:0; color:#344054; font-size:13px; font-weight:800; }
.client-settings-fields input,.client-settings-fields select { box-sizing:border-box; width:100%; min-width:0; min-height:44px; border:1px solid #cfd6df; border-radius:8px; padding:10px 12px; color:#172033; background:#fff; font:600 15px/1.2 inherit; }
.client-settings-fields input::placeholder { color:#929bab; opacity:1; }
.client-settings-fields input:focus-visible,.client-settings-fields select:focus-visible { border-color:#2a62cc; outline:3px solid rgb(42 98 204 / 20%); }
.client-settings-fields input:disabled,.client-settings-fields select:disabled { color:#7b8492; background:#f4f6f8; cursor:not-allowed; }
.client-settings-actions { display:flex; justify-content:flex-end; gap:10px; }
.client-settings-status[data-tone="error"] { color:#b42318; }
.client-settings-status[data-tone="success"] { color:#18794e; }
.client-settings-access { margin-top:18px; }
.client-settings-copy-control { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; gap:10px; }
.client-settings-copy-control .infract-secondary { white-space:nowrap; }
.client-image-setting { display:grid; grid-template-columns:128px minmax(0,1fr); align-items:start; gap:18px; }
.client-image-preview { display:grid; box-sizing:border-box; width:128px; height:96px; place-items:center; overflow:hidden; border:1px dashed #cfd6df; border-radius:10px; color:#7c8490; background:#f7f8fa; font-size:12px; font-weight:700; }
.client-image-preview--profile { width:112px; height:112px; border-radius:50%; }
.client-image-preview img { width:100%; height:100%; object-fit:contain; }
.client-image-preview--profile img { object-fit:cover; }
.client-image-setting-copy { display:grid; min-width:0; gap:8px; }
.client-image-setting-label { color:#344054; font-size:13px; font-weight:800; }
.client-image-setting-copy p { margin:0; }
.client-image-setting-copy input[type="file"] { min-height:42px; padding:7px; font-size:13px; font-weight:600; }
.client-image-actions { display:flex; flex-wrap:wrap; gap:8px; }
.client-image-status { min-height:18px; }
.client-image-status[data-tone="error"] { color:#b42318; }
.client-image-status[data-tone="success"] { color:#18794e; }
.client-time-zone-dialog { width:min(560px,calc(100vw - 32px)); border:0; border-radius:12px; padding:0; color:#172033; background:#fff; box-shadow:0 24px 70px rgb(15 35 68 / 24%); }
.client-time-zone-dialog::backdrop { background:rgb(15 23 42 / 46%); backdrop-filter:blur(2px); }
.client-time-zone-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; border-bottom:1px solid #e8ecf1; padding:22px; }
.client-time-zone-dialog-heading h2 { margin:4px 0 5px; color:#0f2344; font-size:22px; line-height:1.25; }
.client-time-zone-dialog-heading p:last-child { margin:0; color:#687386; font-size:14px; line-height:1.45; }
.client-time-zone-search-field { display:grid; gap:7px; padding:20px 22px 12px; color:#344054; font-size:13px; font-weight:800; }
.client-time-zone-search-field input { box-sizing:border-box; width:100%; min-height:44px; border:1px solid #cfd6df; border-radius:8px; padding:10px 12px; color:#172033; background:#fff; font:600 15px/1.2 inherit; }
.client-time-zone-search-field input:focus-visible { border-color:#2a62cc; outline:3px solid rgb(42 98 204 / 20%); }
.client-time-zone-results { display:grid; gap:4px; min-height:48px; max-height:384px; overflow-y:auto; padding:0 14px; }
.client-time-zone-result { display:grid; width:100%; min-height:48px; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:9px; border:0; border-radius:7px; padding:9px 10px; color:#29313c; background:transparent; font:650 14px/1.3 inherit; text-align:left; }
.client-time-zone-result-copy { display:grid; min-width:0; gap:2px; }
.client-time-zone-result-primary,.client-time-zone-result-meta { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-time-zone-result-meta { color:#7c8490; font-size:12px; font-weight:540; }
.client-time-zone-result:hover,.client-time-zone-result:focus-visible { color:#172747; background:#eef2fa; outline:0; }
.client-time-zone-result-status { min-height:18px; margin:8px 22px 20px; }
.client-panel-subtitle { margin:18px 22px 8px; color:#566176; font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
/* Client operations hierarchy. Keep these selectors inside the owner shell so Admin and Tools retain their own systems. */
.owner-shell-page .client-admin-heading .infract-eyebrow,
.owner-shell-page .client-admin-dialog .infract-eyebrow {
  margin: 0;
  color: var(--ops-color-accent);
  font-size: var(--ops-type-overline);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.owner-shell-page .client-admin-heading h1 {
  margin: var(--ops-space-1) 0 var(--ops-space-2);
  color: var(--ops-color-title);
  font-size: var(--ops-type-page-title);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: var(--ops-line-title);
}
.owner-shell-page .client-admin-heading p {
  margin: 0;
  color: var(--ops-color-muted);
  font-size: var(--ops-type-body);
  font-weight: 400;
  line-height: var(--ops-line-body);
}
.owner-shell-page .client-panel h2 {
  margin: 0 0 var(--ops-space-1);
  color: var(--ops-color-title);
  font-size: var(--ops-type-section-title);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: var(--ops-line-section);
}
.owner-shell-page .client-panel p {
  margin: 0;
  color: var(--ops-color-muted);
  font-size: var(--ops-type-supporting);
  font-weight: 400;
  line-height: var(--ops-line-body);
}
.owner-shell-page .client-list-row strong { color: var(--ops-color-text); font-size: var(--ops-type-item-title); font-weight: 700; line-height: var(--ops-line-item); }
.owner-shell-page .client-list-row span { color: var(--ops-color-muted); font-size: var(--ops-type-supporting); line-height: var(--ops-line-body); }
.owner-shell-page .client-admin-dialog h2 {
  margin: var(--ops-space-1) 0 var(--ops-space-2);
  color: var(--ops-color-title);
  font-size: var(--ops-type-workspace-title);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: var(--ops-line-title);
}
.owner-shell-page .client-admin-dialog p { color: var(--ops-color-muted); font-size: var(--ops-type-body); line-height: var(--ops-line-body); }
.owner-shell-page .client-admin-dialog label,
.owner-shell-page .client-inline-form label { font-size: var(--ops-type-supporting); }
.owner-shell-page .client-admin-dialog input,
.owner-shell-page .client-admin-dialog select,
.owner-shell-page .client-inline-form input,
.owner-shell-page .client-admin-page .infract-primary,
.owner-shell-page .client-admin-page .infract-secondary { font-size: var(--ops-type-control); }
.client-auth-body { min-height:100vh; margin:0; background:radial-gradient(circle at 20% 0%,#eef4ff 0,transparent 36%),#f5f6f8; color:#182236; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.client-auth-main { display:grid; box-sizing:border-box; min-height:100vh; place-items:center; padding:24px; }
.client-auth-card { box-sizing:border-box; width:min(420px,100%); padding:34px; border:1px solid #e1e5eb; border-radius:16px; background:rgb(255 255 255 / 96%); box-shadow:0 20px 60px rgb(15 35 68 / 12%); }
.client-auth-card>img { display:block; margin-bottom:28px; }
.client-auth-card h1 { margin:5px 0 9px; color:#0f2344; font-size:30px; letter-spacing:-.03em; }
.client-auth-card p { color:#697386; line-height:1.55; }
.client-auth-card form { display:grid; gap:14px; margin-top:22px; }
.client-auth-card label { display:grid; gap:7px; color:#344054; font-size:13px; font-weight:800; }
.client-auth-card input { min-height:48px; border:1px solid #cfd6df; border-radius:9px; padding:10px 12px; font:600 16px/1.2 inherit; }
.client-auth-card button,.client-auth-link { min-height:48px; border:0; border-radius:9px; background:#0f2344; color:#fff; font:800 15px/1 inherit; cursor:pointer; }
.client-auth-link { display:inline-flex; align-items:center; padding:0 18px; text-decoration:none; }
.client-workspace-card { width:min(560px,100%); }
.client-workspace-card>p { margin-bottom:18px; }
.client-workspace-list { display:grid; max-height:min(420px,45vh); gap:8px; overflow-x:hidden; overflow-y:auto; margin:22px -4px 0; padding:4px; overscroll-behavior:contain; scrollbar-width:thin; }
.client-workspace-list a,.client-admin-destination { display:grid; min-width:0; min-height:64px; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; border:1px solid #dce2ea; border-radius:10px; padding:10px 12px; color:#22314a; background:#fff; box-shadow:0 1px 2px rgb(15 35 68 / 4%); text-decoration:none; }
.client-workspace-list a:hover,.client-workspace-list a:focus-visible,.client-admin-destination:hover,.client-admin-destination:focus-visible { border-color:#aab9d2; outline:0; background:#f7f9fd; box-shadow:0 0 0 3px rgb(49 87 213 / 12%); }
.client-workspace-list a>span:nth-child(2),.client-admin-destination>span:nth-child(2) { min-width:0; }
.client-workspace-list strong,.client-workspace-list small,.client-admin-destination strong,.client-admin-destination small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-workspace-list strong,.client-admin-destination strong { color:#182944; font-size:15px; line-height:1.3; }
.client-workspace-list small,.client-admin-destination small { margin-top:3px; color:#778194; font-size:12px; line-height:1.25; }
.client-workspace-list b,.client-admin-destination b { color:#65738a; font-size:17px; }
.client-workspace-initials,.client-admin-destination>span:first-child { display:grid; width:42px; height:42px; place-items:center; border-radius:9px; color:#234583; background:#eaf0fb; font-size:12px; font-weight:900; letter-spacing:.035em; }
.client-admin-destination { margin-top:12px; border-color:#bfd0ec; background:#f3f7fd; }
.client-admin-destination>span:first-child { color:#fff; background:#0f2344; }
.client-root-signout { justify-items:start; margin-top:24px !important; border-top:1px solid #e4e8ee; padding-top:18px; }
.client-auth-card .client-root-signout button { min-height:36px; border:0; padding:6px 0; color:#596579; background:transparent; font-size:13px; }
.client-auth-card .client-root-signout button:hover { color:#1e355a; text-decoration:underline; text-underline-offset:2px; }
.client-auth-note { margin:18px 0 0; font-size:12px; }
.client-auth-error { border-radius:7px; padding:10px 12px; color:#a42920 !important; background:#fff0ee; font-size:13px; }
.admin-back-link { display:inline-flex; margin-bottom:18px; color:#52627a; font-size:13px; font-weight:800; text-decoration:none; }
.admin-back-link:hover { color:#174ea6; }
.admin-client-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.admin-client-areas-panel { grid-column:1 / -1; }
.admin-generated-code { display:block; border:1px dashed #92a6c8; border-radius:10px; padding:18px; color:#0f2344; background:#f1f5fc; font:900 34px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.16em; text-align:center; }
@media (max-width:780px) {
  .infract-admin-topbar { min-height:64px; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:9px 14px; }
  .infract-admin-brand img { width:84px; height:30px; }
  .infract-admin-brand span { display:none; }
  .infract-admin-topbar nav { grid-column:1 / -1; grid-row:2; order:3; }
  .infract-admin-account>span { display:none; }
  .infract-admin-account { gap:8px; }
  .workspace-switcher--dark .workspace-switcher-trigger { width:clamp(112px,28vw,148px); min-width:0; min-height:40px; padding:6px 9px; }
  .client-admin-page { padding:24px 16px 40px; }
  .client-admin-heading,.client-account-card { align-items:stretch; flex-direction:column; }
  .client-account-actions { justify-content:stretch; }
  .client-account-actions>* { flex:1; text-align:center; }
  .client-team-grid,.client-inline-form,.admin-client-grid,.client-form-pair { grid-template-columns:1fr; }
  .client-settings-copy-control { grid-template-columns:1fr; }
  .client-settings-copy-control .infract-secondary { justify-self:start; }
  .client-image-setting { grid-template-columns:1fr; }
  .admin-client-areas-panel,.client-areas-panel { grid-column:auto; }
  .client-panel>header { align-items:stretch; flex-direction:column; }
  .client-invite-action { align-self:flex-start; }
  .client-list-row { align-items:flex-start; flex-direction:column; gap:8px; }
  .client-list-row>div { width:100%; }
  .client-list-row>div:last-child,.client-row-actions { justify-content:flex-start; }
  .client-auth-card { padding:26px 22px; }
  .client-workspace-card { padding:26px 18px; }
  .client-workspace-list { max-height:50vh; }
}
