/* Generated from static/scss/. Edit the .scss, not this. */
:root { --n-0: #FFFFFF; --n-25: #F9FAFC; --n-50: #F2F4F8; --n-100: #E9ECF2; --n-200: #DCE1E9; --n-300: #C3CAD6; --n-400: #98A1B2; --n-500: #626B7B; --n-600: #4E5665; --n-700: #39404E; --n-800: #242A35; --n-900: #14181F; --green-500: #1F7A4D; --green-600: #186340; --green-700: #114B31; --green-50: #E9F4EE; --green-100: #C4E2D2; --gold-500: #B8860B; --gold-600: #6E4F06; --gold-50: #FBF4E2; --gold-100: #F0DFAC; --red-500: #C0392B; --red-600: #A02D22; --red-700: #7E231A; --red-50: #FBEFEE; --red-100: #F3D3CF; --amber-500: #B87A00; --amber-700: #7A4E00; --amber-50: #FDF4E2; --amber-100: #F2DDAE; --blue-600: #2A55A4; --blue-400: #7FA6E8; --blue-50: #EAF0FB; --blue-100: #C9D9F4; --surface-canvas: #ECEEF3; --surface-card: #FFFFFF; --surface-sunken: #F4F5F9; --surface-inset: #FAFBFD; --surface-dark: #14181F; --border: #DEE2EA; --border-soft: #E9ECF2; --border-firm: #C3CAD6; --text-primary: #1D2129; --text-secondary: #515967; --text-muted: #626B7B; --text-on-dark: #E9ECF2; --text-on-dark-2: #A8B0BF; --text-on-dark-3: #7D8697; --shadow-pop: 0 4px 16px -2px rgba(20, 24, 31, .14), 0 2px 4px -1px rgba(20, 24, 31, .08); --shadow-lift: 0 16px 40px -8px rgba(20, 24, 31, .28); --h-topbar: 58px; --h-toolbar: 62px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body { margin: 0; background: var(--surface-canvas); color: var(--text-primary); font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
svg { width: 16px; height: 16px; flex-shrink: 0; }
img { width: auto; height: auto; }
table { border-collapse: collapse; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
p { margin: 0; }
dl, dd { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.h-title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.eyebrow { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-muted); }
.figure { color: var(--text-primary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1.15; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0; }
.muted { color: var(--text-secondary); }
.hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@if 340px { max-width: 340px; }
.prose { font-size: 14px; line-height: 1.7; color: var(--text-secondary); white-space: pre-wrap; }
.link { color: var(--blue-600); font-size: 13.5px; }
.link:hover { text-decoration: underline; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.inline { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.push { margin-left: auto; }
.sep { height: 1px; background: var(--border-soft); margin: 16px 0; }
.thumb { width: 56px; height: 38px; border-radius: 5px; object-fit: cover; background: var(--surface-sunken); border: 1px solid var(--border); flex-shrink: 0; }
.thumb[data-broken], .media[data-broken], .media--inset[data-broken] { visibility: hidden; }
.thumbslot { position: relative; width: 56px; height: 38px; border-radius: 5px; background: var(--surface-sunken); border: 1px solid var(--border); flex-shrink: 0; overflow: hidden; }
.thumbslot .thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.codeblock { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; line-height: 1.7; background: var(--surface-dark); color: #C7CFDC; border-radius: 5px; padding: 12px 16px; overflow-x: auto; white-space: pre; }
.slot { border: 1px dashed var(--border-firm); border-radius: 8px; background: var(--surface-inset); padding: 40px 24px; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-0 { margin: 0; }
.mt-1 { margin-top: 4px; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mr-1 { margin-right: 4px; }
.ml-1 { margin-left: 4px; }
.self-start { align-self: start; }
.narrow { max-width: 520px; margin: 48px auto; }
.media { display: block; width: 100%; border-radius: 8px 8px 0 0; }
.media--inset { display: block; width: 100%; border: 1px solid var(--border); border-radius: 5px; margin-bottom: 12px; }
.shell { display: flex; min-height: 100vh; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content { padding: 24px 24px 64px; flex: 1; }
.content--flush { padding: 0; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 336px; align-items: start; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nav { width: 244px; flex-shrink: 0; background: var(--surface-dark); color: var(--text-on-dark); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.nav__brand { height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); flex-shrink: 0; }
.nav__mark { width: 28px; height: 28px; border-radius: 5px; background: var(--green-500); display: grid; place-items: center; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--gold-100); flex-shrink: 0; }
.nav__wordmark { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.nav__scroll { flex: 1; overflow-y: auto; padding: 12px 0 20px; }
.nav__section { padding: 0 16px; margin: 20px 0 8px; }
.nav__section:first-child { margin-top: 0; }
.nav__section .eyebrow { color: var(--text-on-dark-3); }
.nav__link { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 38px; margin: 0 8px 2px; border-radius: 5px; color: var(--text-on-dark-2); font-size: 13.5px; font-weight: 500; transition: color 100ms cubic-bezier(.2, .6, .3, 1), background 100ms cubic-bezier(.2, .6, .3, 1); }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link--on { color: #fff; background: rgba(255, 255, 255, .10); font-weight: 600; }
.nav__link svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .7; }
.nav__link--on svg { opacity: 1; }
.nav__count { margin-left: auto; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--red-500); color: #fff; border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center; line-height: 1.5; }
.nav__foot { padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: var(--text-on-dark-3); flex-shrink: 0; }
.navtoggle { display: none; }
.nav__group { padding: 16px 12px 0; }
.nav__label { display: block; padding: 0 12px 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.top { height: 56px; background: var(--surface-card); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding: 0 16px 0 24px; position: sticky; top: 0; z-index: 40; }
.top__title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.sitepick { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 5px; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--text-primary); transition: border-color 100ms cubic-bezier(.2, .6, .3, 1), background 100ms cubic-bezier(.2, .6, .3, 1); }
.sitepick:hover { border-color: var(--border-firm); background: var(--surface-sunken); }
.sitepick--static { cursor: default; background: var(--surface-sunken); }
.sitepick--static:hover { border-color: var(--border); }
.sitepick__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); flex-shrink: 0; }
.sitepick__dot--off { background: var(--n-300); }
.sitepick__host { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--text-muted); }
.sitepick__chev { width: 14px; height: 14px; color: var(--text-muted); margin-left: 4px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--n-700); color: #fff; display: grid; place-items: center; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; flex-shrink: 0; }
.avatar:hover { background: var(--n-800); }
.themetoggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 5px; color: var(--text-secondary); cursor: pointer; flex-shrink: 0; }
.themetoggle:hover { background: var(--surface-sunken); color: var(--text-primary); }
.themetoggle svg { width: 17px; height: 17px; }
.themetoggle .icon-moon { display: block; }
.themetoggle .icon-sun { display: none; }
[data-theme="dark"] .themetoggle .icon-moon { display: none; }
[data-theme="dark"] .themetoggle .icon-sun { display: block; }
.top__left, .top__right { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.top__right { justify-content: flex-end; }
.top__centre { flex: 0 0 auto; display: flex; justify-content: center; }
.hclock { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 8px 0 16px; border-radius: 8px; background: var(--surface-sunken); border: 1px solid var(--border-soft); }
.hclock__stack { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.hclock__date { font-size: 11px; color: var(--text-muted); letter-spacing: .02em; white-space: nowrap; }
.hclock__time { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 17px; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hclock__select { appearance: none; -webkit-appearance: none; height: 26px; padding: 0 22px 0 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a3' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 6px center / 12px; color: var(--text-secondary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .03em; cursor: pointer; }
.hclock__select:hover { border-color: var(--border-firm); color: var(--text-primary); }
.hclock__select:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.bell { position: relative; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text-secondary); cursor: pointer; display: grid; place-items: center; }
.bell svg { width: 18px; height: 18px; }
.bell:hover { background: var(--surface-sunken); color: var(--text-primary); }
.bell:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.bell--soon { color: var(--amber-700); }
.bell--due { color: var(--red-700); }
.bell__n { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red-500); color: var(--n-0); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--surface-card); }
.bell--soon .bell__n { background: var(--amber-500); }
.menu__panel--wide { width: 360px; max-height: 480px; overflow-y: auto; }
.menu__empty { padding: 16px; font-size: 11px; color: var(--text-muted); line-height: 1.6; }
.notif { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border-soft); text-decoration: none; color: inherit; }
.notif:hover { background: var(--surface-sunken); }
.notif:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.notif__mark { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-50); color: var(--amber-700); }
.notif__mark svg { width: 13px; height: 13px; }
.notif--due .notif__mark { background: var(--red-50); color: var(--red-700); }
.notif__body { flex: 1; min-width: 0; }
.notif__title { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif__line { display: block; font-size: 11px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif--due .notif__line { color: var(--red-700); font-weight: 600; }
.notif__when { flex-shrink: 0; font-size: 11px; color: var(--text-muted); padding-top: 2px; }
.sitepick { white-space: nowrap; }
@media (max-width: 1360px) {
  .hclock__date { display: none; }
}
@media (max-width: 1140px) {
  .hclock__zone { display: none; }
}
@media (max-width: 900px) {
  .top__centre { display: none; }
}
.hclock__zone { display: inline-flex; }
.page { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page__back { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.page__back:hover { color: var(--text-primary); }
.page__back svg { width: 13px; height: 13px; }
.page__title { font-size: 28px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.page__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-secondary); font-size: 13.5px; margin-top: 8px; }
.page__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.deflist { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; font-size: 13.5px; }
.deflist dt { color: var(--text-muted); }
.deflist dd { font-weight: 500; word-break: break-word; }
.deflist--tight { grid-template-columns: 96px minmax(0, 1fr); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-card); color: var(--text-primary); font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 100ms cubic-bezier(.2, .6, .3, 1), border-color 100ms cubic-bezier(.2, .6, .3, 1), color 100ms cubic-bezier(.2, .6, .3, 1); }
.btn:hover { background: var(--surface-sunken); border-color: var(--border-firm); }
.btn:active { background: var(--n-100); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn--primary { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.btn--primary:hover { background: var(--green-700); border-color: var(--green-700); }
.btn--primary:active { background: var(--n-700); }
.btn--danger { background: var(--red-500); border-color: var(--red-500); color: #fff; }
.btn--danger:hover { background: var(--red-600); border-color: var(--red-600); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn--ghost:hover { background: var(--surface-sunken); color: var(--text-primary); }
.btn--sm { height: 28px; padding: 0 8px; font-size: 12px; gap: 4px; }
.btn--lg { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--icon { width: 38px; padding: 0; }
.btn--icon.btn--sm { width: 28px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.input, .select, .textarea { height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-card); font-size: 13.5px; width: 100%; color: var(--text-primary); transition: border-color 100ms cubic-bezier(.2, .6, .3, 1), box-shadow 100ms cubic-bezier(.2, .6, .3, 1); }
.input::placeholder, .select::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-firm); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
.input[readonly], .select[readonly], .textarea[readonly] { background: var(--surface-sunken); color: var(--text-secondary); }
.input[readonly]:hover, .select[readonly]:hover, .textarea[readonly]:hover { border-color: var(--border); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red-500); }
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--red-50); }
.textarea { height: auto; min-height: 108px; padding: 8px 12px; line-height: 1.6; resize: vertical; }
.select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml; charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7383' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; }
.select--auto { width: auto; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--n-900); flex-shrink: 0; cursor: pointer; }
.search { position: relative; flex: 1; max-width: 360px; min-width: 200px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; }
.search input { height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-card); font-size: 13.5px; width: 100%; padding-left: 32px; }
.search input::placeholder { color: var(--text-muted); }
.search input:hover { border-color: var(--border-firm); }
.search input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
.input--inline { width: auto; min-width: 220px; height: 28px; font-size: 11px; }
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.card__head { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; gap: 12px; min-height: 52px; }
.card__title { font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }
.card__body { padding: 16px; }
.card__body--flush { padding: 0; }
.card__foot { padding: 12px 16px; border-top: 1px solid var(--border-soft); background: var(--surface-inset); }
.stat { background: var(--surface-card); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.stat__val { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1.15; }
.stat__label { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; display: block; }
.stat__delta { font-size: 12px; font-weight: 500; margin-top: 8px; color: var(--text-muted); }
.stat__delta--up { color: var(--green-600); }
.stat__delta--down { color: var(--red-600); }
.reveal { border-top: 1px solid var(--border-soft); padding-top: 12px; }
.reveal__toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 11px; font-weight: 600; color: var(--text-secondary); list-style: none; }
.reveal__toggle::-webkit-details-marker { display: none; }
.reveal__toggle:hover { color: var(--text-primary); }
.reveal__toggle:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.reveal__toggle svg { width: 14px; height: 14px; }
.reveal__body { padding-top: 12px; }
.reveal[open] .reveal__toggle { color: var(--text-primary); }
.reveal[open] .reveal__toggle svg { color: var(--green-500); }
.mailbody { margin: 0; font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13.5px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.reply { padding: 12px; background: var(--surface-sunken); border: 1px solid var(--border-soft); border-left: 3px solid var(--green-500); border-radius: 5px; }
.reply__head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.reply__from { font-weight: 600; }
.reply__subject { margin: 4px 0 8px; font-size: 11px; color: var(--text-secondary); }
.msg { padding: 12px; border: 1px solid var(--border-soft); border-radius: 5px; }
.msg--out { background: var(--surface-card); border-left: 3px solid var(--n-400); }
.msg--in { background: var(--surface-sunken); border-left: 3px solid var(--green-500); }
.msg__head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.msg__party { font-weight: 600; }
.msg__subject { margin: 4px 0 8px; font-size: 11px; color: var(--text-secondary); }
.plainlist { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.plainlist li + li { margin-top: 4px; }
.reveal summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.reveal summary::-webkit-details-marker { display: none; }
.reveal summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.reveal__hint { font-size: 11px; color: var(--text-muted); text-decoration: underline; }
.reveal[open] .reveal__hint { visibility: hidden; }
.reveal__body { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.reveal__token { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; padding: 2px 8px; border-radius: 5px; background: var(--surface-sunken); color: var(--text-primary); user-select: all; word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.pill--new { background: var(--red-50); color: var(--red-700); }
.pill--contacted { background: var(--amber-50); color: var(--amber-700); }
.pill--quoted { background: var(--blue-50); color: var(--blue-600); }
.pill--won { background: var(--gold-50); color: var(--gold-600); }
.pill--neutral { background: var(--surface-sunken); color: var(--text-secondary); }
.pill--spam { background: var(--n-100); color: var(--text-muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.stock { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; background: var(--surface-sunken); border: 1px solid var(--border); border-left: 3px solid var(--green-700); border-radius: 2px 5px 5px 2px; font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--surface-card); border-bottom: 1px solid var(--border); flex-wrap: wrap; min-height: 60px; position: sticky; top: var(--h-topbar); z-index: 20; }
.sourcetabs { display: flex; gap: 4px; padding: 12px 24px 0; background: var(--surface-card); border-bottom: 1px solid var(--border); }
.sourcetab { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 2px solid transparent; text-decoration: none; color: var(--text-secondary); font-size: 13.5px; line-height: 1.2; }
.sourcetab:hover { color: var(--text-primary); }
.sourcetab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.sourcetab--on { color: var(--text-primary); font-weight: 600; border-bottom-color: var(--green-500); }
.sourcetab__n { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; color: var(--text-muted); }
@media (max-width: 640px) {
  .sourcetabs { padding-left: 16px; padding-right: 16px; overflow-x: auto; }
}
.sourcetabs--sub { padding-top: 0; padding-bottom: 4px; background: var(--surface-sunken); }
.sourcetabs--sub .sourcetab { font-size: 11px; padding: 4px 12px; border-bottom-width: 2px; }
.callmark { display: inline-flex; vertical-align: -2px; margin-right: 4px; color: var(--red-700); }
.callmark svg { width: 12px; height: 12px; }
.calltime { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.calltime svg { width: 14px; height: 14px; }
.calltime--on { background: var(--green-500); border-color: var(--green-500); color: var(--n-0); }
.calltime--on:hover { background: var(--green-600); border-color: var(--green-600); color: var(--n-0); }
.tablewrap { overflow-x: auto; background: var(--surface-card); }
.tablewrap--data { overflow-x: auto; overflow-y: visible; }
.table { width: 100%; font-size: 13.5px; }
.table thead th { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-muted); position: sticky; top: 0; z-index: 10; background: var(--surface-inset); border-bottom: 1px solid var(--border); padding: 8px 12px; text-align: left; white-space: nowrap; letter-spacing: 0.08em; }
.table tbody td { padding: 8px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; height: 46px; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-inset); }
.table tbody tr[data-href] { cursor: pointer; }
.table tbody tr[data-href]:focus-within { background: var(--surface-sunken); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.figure { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1.15; }
.table thead th.tick, .table tbody td.tick { width: 40px; padding-left: 16px; }
.table tbody td.rail { position: relative; padding-left: 20px; }
.tick input { width: 16px; height: 16px; accent-color: var(--n-900); cursor: pointer; display: block; }
.rail::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 0 2px 2px 0; background: var(--border-firm); }
.rail { --status: #8B93A3; }
.rail--processing { --status: #E8833A; }
.rail--new { --status: #8B93A3; }
.rail--na1 { --status: #E3C13F; }
.rail--na2 { --status: #B9C33E; }
.rail--na3 { --status: #E07A4A; }
.rail--cb { --status: #4A8FE0; }
.rail--email_sent { --status: #3FBFB0; }
.rail--interested { --status: #9B6BE0; }
.rail--bos { --status: #C563D8; }
.rail--invoice { --status: #2FB0A8; }
.rail--bank_issue { --status: #D6476A; }
.rail--on_delivery { --status: #3FBF7A; }
.rail--delivery_delay { --status: #A8C23E; }
.rail--done { --status: #2F8F55; }
.rail--spam { --status: #E0463F; }
.rail::before { background: var(--status); }
.cell__primary { font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.cell__sub { display: block; margin-top: 1px; font-size: 11px; color: var(--text-muted); }
.cell__secondary { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.th-sort { display: inline-flex; align-items: center; gap: 4px; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.th-sort:hover { color: var(--text-primary); }
.th-sort svg { width: 12px; height: 12px; opacity: .35; }
.th-sort[aria-sort="ascending"] svg, .th-sort[aria-sort="descending"] svg { opacity: 1; color: var(--green-500); }
.th-sort[aria-sort="descending"] svg { transform: rotate(180deg); }
.bulkbar { display: none; align-items: center; gap: 12px; padding: 8px 24px; background: var(--surface-dark); color: var(--text-on-dark); font-size: 13.5px; }
.bulkbar[data-active] { display: flex; }
.bulkbar__count { font-weight: 600; }
.bulkbar__hint { color: var(--text-on-dark-3); font-size: 12px; }
.bulkbar .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.bulkbar .btn:hover { background: rgba(255, 255, 255, .18); }
.bulkbar button:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 24px; background: var(--surface-card); border-top: 1px solid var(--border); }
.pager__state { color: var(--text-muted); font-size: 13.5px; }
.pager [aria-disabled="true"] { opacity: .45; pointer-events: none; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.board__col { background: var(--surface-sunken); border: 1px solid var(--border-soft); border-radius: 8px; min-width: 0; }
.board__head { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border-soft); }
.board__count { margin-left: auto; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 18px; font-weight: 600; color: var(--text-muted); }
.board__cards { display: flex; flex-direction: column; gap: 8px; padding: 12px; max-height: 62vh; overflow-y: auto; }
.board__empty { margin: 0; padding: 8px 0; font-size: 11px; color: var(--text-muted); }
.lcard { display: block; padding: 12px; background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: 5px; text-decoration: none; color: inherit; transition: border-color .12s ease, transform .12s ease; }
.lcard:hover { border-color: var(--border-firm); transform: translateY(-1px); }
.lcard:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.lcard__name { font-weight: 600; font-size: 13.5px; }
.lcard__vehicle { margin-top: 2px; font-size: 11px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.lcard__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-soft); font-size: 11px; }
@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .board { grid-template-columns: 1fr; }
}
.cell--message { max-width: 320px; min-width: 0; }
@media (max-width: 1400px) {
  .cell--message { max-width: 200px; }
}
.rowacts { white-space: nowrap; }
.rowacts .iconbtn + .iconbtn { margin-left: 2px; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--text-muted); cursor: pointer; }
.iconbtn svg { width: 15px; height: 15px; }
.iconbtn:hover { background: var(--surface-sunken); color: var(--text-primary); }
.iconbtn:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.table tbody td { height: 52px; }
.table tbody tr[data-href]:hover { background: var(--surface-inset); }
.table tbody tr[data-href]:hover .iconbtn { color: var(--text-secondary); }
.table td.num, .table th.num { font-variant-numeric: tabular-nums; }
.select--auto { border-color: transparent; background-color: transparent; max-width: 100%; }
.select--auto:hover, .select--auto:focus-visible { border-color: var(--border-firm); background-color: var(--surface-card); }
tr:hover .select--auto { border-color: var(--border); }
.table th.rowacts, .table td.rowacts { position: sticky; right: 0; z-index: 1; background: var(--surface-card); box-shadow: -8px 0 12px -8px rgba(12, 15, 20, .28); }
.table thead th.rowacts { z-index: 11; background: var(--surface-inset); }
.table tbody tr:hover td.rowacts { background: var(--surface-inset); }
.col--id { width: 56px; }
.col--when { width: 96px; white-space: nowrap; }
.col--status { width: 168px; min-width: 168px; }
.table .col--status .select--auto { width: 100%; min-width: 0; text-overflow: ellipsis; }
.table td.col--when { white-space: nowrap; }
.cell__secondary { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cell__secondary .trunc { min-width: 0; }
.cell__secondary .phonecopy { flex-shrink: 0; }
@media (max-width: 1480px) {
  .col--when { display: none; }
}
@media (max-width: 1280px) {
  .col--sched { display: none; }
}
@media (max-width: 1100px) {
  .col--id { display: none; }
}
@media (max-width: 860px) {
  .col--local { display: none; }
}
@media (max-width: 720px) {
  .col--want { display: none; }
}
.is-locked { opacity: .45; }
.is-locked select, .is-locked button:not(.iconbtn--locked) { pointer-events: none; }
.iconbtn--locked { color: var(--amber-700); cursor: help; opacity: 1; }
.table tbody tr:has(.rail--processing) { background: color-mix(in srgb, #E8833A 7%, var(--surface-card)); }
.table tbody tr:has(.rail--new) { background: color-mix(in srgb, #8B93A3 6%, var(--surface-card)); }
.table tbody tr:has(.rail--na1) { background: color-mix(in srgb, #E3C13F 6%, var(--surface-card)); }
.table tbody tr:has(.rail--na2) { background: color-mix(in srgb, #B9C33E 6%, var(--surface-card)); }
.table tbody tr:has(.rail--na3) { background: color-mix(in srgb, #E07A4A 6%, var(--surface-card)); }
.table tbody tr:has(.rail--cb) { background: color-mix(in srgb, #4A8FE0 7%, var(--surface-card)); }
.table tbody tr:has(.rail--email_sent) { background: color-mix(in srgb, #3FBFB0 6%, var(--surface-card)); }
.table tbody tr:has(.rail--interested) { background: color-mix(in srgb, #9B6BE0 8%, var(--surface-card)); }
.table tbody tr:has(.rail--bos) { background: color-mix(in srgb, #C563D8 7%, var(--surface-card)); }
.table tbody tr:has(.rail--invoice) { background: color-mix(in srgb, #2FB0A8 6%, var(--surface-card)); }
.table tbody tr:has(.rail--bank_issue) { background: color-mix(in srgb, #D6476A 8%, var(--surface-card)); }
.table tbody tr:has(.rail--on_delivery) { background: color-mix(in srgb, #3FBF7A 7%, var(--surface-card)); }
.table tbody tr:has(.rail--delivery_delay) { background: color-mix(in srgb, #A8C23E 7%, var(--surface-card)); }
.table tbody tr:has(.rail--done) { background: color-mix(in srgb, #2F8F55 7%, var(--surface-card)); }
.table tbody tr:has(.rail--spam) { background: color-mix(in srgb, #E0463F 6%, var(--surface-card)); }
.table tbody tr[data-href]:hover { background: var(--surface-inset); }
.table tbody tr td.rowacts { background: inherit; }
.table tbody tr:hover td.rowacts { background: var(--surface-inset); }
.col--status .select--auto { border-left: 3px solid var(--status); }
.col--local { width: 104px; }
.clock { display: block; line-height: 1.2; }
.clock__t { font-weight: 600; color: var(--text-primary); }
.clock__z { display: block; font-size: 11px; color: var(--text-muted); }
.clock--odd .clock__t { color: var(--amber-700); }
.clock--odd .clock__z { color: var(--amber-700); }
.col--sched { width: 210px; }
.sched { display: flex; align-items: center; gap: 4px; font-size: 11px; line-height: 1.35; color: var(--text-secondary); }
.sched svg { width: 12px; height: 12px; flex-shrink: 0; }
.sched__what { font-weight: 600; flex-shrink: 0; }
.sched__when { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched--soon { color: var(--amber-700); }
.sched--soon .sched__when { color: var(--amber-700); }
.sched--due { color: var(--red-700); font-weight: 600; }
.sched--due .sched__when { color: var(--red-700); }
.cell__name { color: inherit; text-decoration: none; }
.cell__name:hover { text-decoration: underline; text-underline-offset: 2px; }
.cell__name:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.iconbtn--chan { color: var(--n-400); }
.iconbtn--off { opacity: .35; cursor: default; }
.iconbtn--owed { position: relative; color: var(--amber-700); background: var(--amber-50); border-color: var(--amber-100); }
.iconbtn--owed::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 2px var(--amber-50); }
.toasts { position: fixed; top: calc(var(--h-topbar) + 12px); right: 16px; z-index: 80; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 8px; padding: 12px 12px 12px 16px; border-radius: 8px; border: 1px solid; font-size: 13.5px; line-height: 1.4; pointer-events: auto; box-shadow: 0 8px 28px rgba(12, 15, 20, .18); animation: toast-in .18s cubic-bezier(.2, .8, .3, 1); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.toast--error { background: var(--red-50); border-color: var(--red-100); color: var(--red-700); }
.toast--success { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.toast--info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-600); }
.toast--warn { background: var(--amber-50); border-color: var(--amber-100); color: var(--amber-700); }
.toast.is-going { animation: toast-out .26s ease-in forwards; }
.toast__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast__x { flex-shrink: 0; width: 20px; height: 20px; border: 0; padding: 0; border-radius: 5px; background: transparent; color: currentColor; opacity: .55; font-size: 16px; line-height: 1; cursor: pointer; }
.toast__x:hover { opacity: 1; }
.toast__x:focus-visible { opacity: 1; outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
@keyframes toast-in {  }
@keyframes toast-out {  }
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .toast.is-going { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .toasts { left: 16px; right: 16px; max-width: none; }
}
.attention { padding: 16px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-card); border-left: 4px solid var(--n-400); }
.attention--fresh { border-left-color: var(--green-500); }
.attention--warm { border-left-color: var(--amber-500); }
.attention--urgent { border-left-color: var(--amber-700); }
.attention--critical { border-left-color: var(--red-500); }
.attention--calm { border-left-color: var(--green-500); }
.attention__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.attention__line { margin: 4px 0 0; font-size: 16px; line-height: 1.4; color: var(--text-primary); max-width: 60ch; }
.attention__count, .attention__age { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.waitlist { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--border-soft); }
.wait { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: inherit; }
.wait:hover .wait__name { color: var(--green-700); }
.wait:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.wait__age { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.wait--warm .wait__age { color: var(--amber-700); }
.wait--urgent .wait__age { color: var(--amber-700); font-weight: 700; }
.wait--critical .wait__age { color: var(--red-700); font-weight: 700; }
.wait__who { min-width: 0; }
.wait__name { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wait__about { display: block; font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wait__meta { font-size: 11px; }
.waitlist li:last-child .wait { border-bottom: 0; }
.figures { display: flex; flex-wrap: wrap; gap: 24px; padding: 12px 16px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-sunken); }
.figures__item { display: flex; align-items: baseline; gap: 8px; }
.figures__value { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 18px; font-weight: 600; color: var(--text-primary); }
.figures__label { font-size: 11px; color: var(--text-muted); }
@media (max-width: 640px) {
  .wait { grid-template-columns: 44px minmax(0, 1fr); }
  .wait__meta { display: none; }
  .figures { gap: 16px; }
}
.comment__box { width: 100%; min-height: 56px; resize: vertical; font-family: inherit; line-height: 1.6; }
.comments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.comment { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.comment:last-child { border-bottom: 0; }
.comment__meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.comment__who { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.comment__when { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.comment__remove { margin-left: auto; }
.comment__x { border: 0; background: transparent; color: var(--text-muted); font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; opacity: 0; transition: opacity .1s ease; }
.comment__x:hover { color: var(--red-700); }
.comment__x:focus-visible { opacity: 1; outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.comment:hover .comment__x, .comment:focus-within .comment__x { opacity: 1; }
.comment__body { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.page--sticky { position: sticky; top: var(--h-topbar); z-index: 20; padding-top: 16px; padding-bottom: 12px; margin-bottom: 4px; background: var(--surface-canvas); border-bottom: 1px solid var(--border-soft); }
.comment { display: flex; gap: 12px; padding: 16px 20px; }
.comment__avatar { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--green-700); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 700; }
.comment__main { min-width: 0; flex: 1; }
.comment__body { font-size: 14px; }
.leadtabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.leadtab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-secondary); font-family: inherit; font-size: 13.5px; line-height: 1.2; cursor: pointer; }
.leadtab svg { width: 15px; height: 15px; }
.leadtab:hover { color: var(--text-primary); }
.leadtab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.leadtab--on { color: var(--text-primary); font-weight: 600; border-bottom-color: var(--green-500); cursor: default; }
.leadtab__n { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; color: var(--text-muted); }
.phonecopy { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-bottom: 1px dashed transparent; }
.phonecopy:hover { color: var(--text-primary); border-bottom-color: var(--border-firm); }
.phonecopy:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dial { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dial__display { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 320px; padding: 8px 8px 8px 0; border-bottom: 2px solid var(--border-firm); }
.dial__cc { flex-shrink: 0; width: auto; height: 38px; padding: 0 8px; border: 0; border-radius: 5px; background: var(--surface-sunken); color: var(--text-primary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dial__cc:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dial__number { flex: 1; min-width: 0; height: 38px; padding: 0; border: 0; background: transparent; color: var(--text-primary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: 0.02em; }
.dial__number:focus { outline: 0; }
.dial__number::placeholder { color: var(--text-muted); font-weight: 400; }
.dial__back { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 5px; background: transparent; color: var(--text-muted); cursor: pointer; }
.dial__back svg { width: 18px; height: 18px; }
.dial__back:hover { background: var(--surface-sunken); color: var(--text-primary); }
.dial__back:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dial__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 320px; }
.key { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 56px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-card); color: var(--text-primary); cursor: pointer; transition: background .08s ease, transform .06s ease; }
.key:hover { background: var(--surface-sunken); }
.key:active { transform: scale(.97); background: var(--green-50); }
.key:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.key--hit { background: var(--green-50); }
.key__digit { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 20px; font-weight: 600; line-height: 1; }
.key__letters { font-size: 9px; letter-spacing: 0.12em; color: var(--text-muted); line-height: 1; }
.dial__call { width: 100%; max-width: 320px; height: 46px; justify-content: center; }
.dial__hint { margin: 0; max-width: 320px; text-align: center; font-size: 11px; color: var(--text-muted); }
.dialfab { position: fixed; right: 20px; bottom: 20px; z-index: 65; width: 52px; height: 52px; border: 0; border-radius: 10px; background: var(--n-800); color: var(--n-0); box-shadow: 0 8px 24px rgba(12, 15, 20, .3); cursor: pointer; display: grid; place-items: center; }
.dialfab svg { width: 22px; height: 22px; }
.dialfab:hover { background: var(--n-700); }
.dialfab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel { position: fixed; right: 20px; bottom: 84px; z-index: 66; width: 300px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 20px 56px rgba(12, 15, 20, .3); animation: dial-in .16s cubic-bezier(.2, .8, .3, 1); }
.dialpanel[hidden] { display: none; }
@keyframes dial-in {  }
.dialpanel__head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.dialpanel__title { font-weight: 600; }
.dialpanel__who { flex: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialpanel__number { display: flex; align-items: center; gap: 8px; padding: 16px 16px 8px; }
.dialpanel__cc { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 20px; font-weight: 600; color: var(--text-muted); }
.dialpanel__input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: .04em; color: var(--text-primary); }
.dialpanel__input::placeholder { color: var(--n-300); font-weight: 400; }
.dialpanel__input:focus { outline: none; }
.dialpanel__back { border: 0; background: transparent; color: var(--text-muted); font-size: 20px; cursor: pointer; padding: 0 4px; }
.dialpanel__back:hover { color: var(--text-primary); }
.dialpanel__back:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel__exts { display: flex; gap: 8px; padding: 0 16px 8px; }
.dialpanel__exts[hidden] { display: none; }
.dialpanel__ext { padding: 3px 12px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text-secondary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; cursor: pointer; }
.dialpanel__ext:hover { border-color: var(--border-firm); color: var(--text-primary); }
.dialpanel__ext.is-on { background: var(--green-50); border-color: var(--green-500); color: var(--green-700); }
.dialpanel__ext:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 16px; }
.dialpanel__key { height: 44px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-sunken); color: var(--text-primary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 20px; font-weight: 600; cursor: pointer; }
.dialpanel__key:hover { background: var(--surface-inset); border-color: var(--border); }
.dialpanel__key:active { transform: translateY(1px); }
.dialpanel__key:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel__call { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 8px 16px 16px; height: 44px; border: 0; border-radius: 8px; background: var(--green-500); color: var(--n-0); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dialpanel__call svg { width: 16px; height: 16px; }
.dialpanel__call:hover { background: var(--green-600); }
.dialpanel__call:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.facts__dial { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-bottom: 1px dashed var(--border-firm); }
.facts__dial:hover { border-bottom-color: var(--green-500); color: var(--green-700); }
.facts__dial:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.facts__edit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.facts__edit .input--inline { max-width: 150px; }
.dialpanel__modes { display: flex; gap: 8px; padding: 12px 12px 0; align-items: center; }
.dialpanel__mode { flex: 1; height: 34px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-sunken); color: var(--text-secondary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dialpanel__mode:hover { color: var(--text-primary); }
.dialpanel__mode.is-on { background: var(--surface-inset); color: var(--text-primary); border-color: var(--border); }
.dialpanel__mode:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel__x { margin-left: 4px; }
.dialpanel__who { padding: 4px 16px 0; font-size: 11px; min-height: 18px; }
.dialpanel__write { display: block; width: calc(100% - 32px); margin: 12px 16px 8px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-sunken); color: var(--text-primary); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dialpanel__write:hover { background: var(--surface-inset); }
.dialpanel__write:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dialpanel__to { padding: 0 16px 8px; }
.dialpanel__to[hidden] { display: none; }
.dialpanel__to .input { width: 100%; }
.dialpanel__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.dialpanel__row .hint { flex: 1; margin: 0; }
.dialpanel__inbox { max-height: 300px; overflow-y: auto; border-top: 1px solid var(--border-soft); }
.dialpanel__empty { margin: 0; padding: 16px; font-size: 11px; color: var(--text-muted); text-align: center; }
.convrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--border-soft); background: transparent; text-align: left; cursor: pointer; color: inherit; }
.convrow:hover { background: var(--surface-sunken); }
.convrow:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.convrow__avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 700; }
.convrow__main { flex: 1; min-width: 0; }
.convrow__name { display: block; font-weight: 600; color: var(--text-primary); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convrow__last { display: block; font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convrow__when { flex-shrink: 0; font-size: 11px; color: var(--text-muted); }
.convrow__dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); }
.dialpanel__chat { padding: 0 16px 16px; }
.dialpanel__chat[hidden] { display: none; }
.dialpanel__chathead { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.dialpanel__chathead b { font-size: 13.5px; color: var(--text-primary); }
.dialpanel__back { border: 1px solid var(--border-soft); border-radius: 5px; background: transparent; color: var(--text-secondary); font-size: 11px; padding: 3px 8px; cursor: pointer; }
.dialpanel__back:hover { color: var(--text-primary); }
.dialpanel__thread { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; padding: 8px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-sunken); margin-bottom: 8px; }
.sms { max-width: 82%; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.sms--in { align-self: flex-start; background: var(--surface-card); border: 1px solid var(--border-soft); }
.sms--out { align-self: flex-end; background: var(--green-500); color: var(--n-0); }
.sms small { display: block; margin-top: 2px; font-size: 10px; opacity: .75; }
.dialpanel__text { width: 100%; resize: vertical; }
.dtabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--border); background: var(--surface-card); }
.dtab { padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-secondary); font-family: inherit; font-size: 13.5px; cursor: pointer; }
.dtab:hover { color: var(--text-primary); }
.dtab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.dtab--on { color: var(--text-primary); font-weight: 600; border-bottom-color: var(--green-500); }
.tracking { padding: 16px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--surface-sunken); }
.tracking__code { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.tracking__code code { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 20px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-primary); cursor: pointer; user-select: all; }
.journey { list-style: none; margin: 8px 0 0; padding: 0; }
.jleg { position: relative; display: flex; gap: 12px; padding: 0 0 16px 0; }
.jleg::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--border); }
.jleg:last-child::before { display: none; }
.jleg__dot { position: relative; z-index: 1; flex-shrink: 0; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--surface-card); background: var(--n-400); }
.jleg--arrived .jleg__dot { background: var(--green-500); }
.jleg--delayed .jleg__dot, .jleg--held .jleg__dot { background: var(--red-500); }
.jleg--arriving .jleg__dot { background: var(--amber-500); }
.jleg__body { min-width: 0; flex: 1; }
.jleg__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.jleg__date { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.jleg__route { margin: 0; font-size: 13.5px; color: var(--text-primary); }
.jleg__arrow { color: var(--text-muted); padding: 0 2px; }
.jleg__note { margin: 2px 0 0; font-size: 11px; color: var(--text-muted); }
.setup__lede { margin: 4px 0 16px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.route { list-style: none; margin: 0 0 16px; padding: 0; }
.route__row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.route__row--start { color: var(--text-muted); font-size: 13.5px; border-bottom-style: dashed; }
.route__mark { flex-shrink: 0; width: 14px; text-align: center; color: var(--n-400); font-size: 18px; line-height: 1; }
.route__mark--arrived { color: var(--green-500); }
.route__mark--in_transit { color: var(--amber-500); }
.route__mark--delayed, .route__mark--held, .route__mark--exception { color: var(--red-500); }
.route__place { flex: 1; }
.route__when { font-size: 11px; }
.route__form { display: grid; grid-template-columns: minmax(0, 1fr) 132px 116px auto auto; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.route__x { padding: 0 8px; }
.route__state { flex-shrink: 0; width: 74px; font-size: 11px; color: var(--text-muted); text-align: right; }
.route__add { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 8px; align-items: end; padding: 12px; border: 1px dashed var(--border-firm); border-radius: 8px; background: var(--surface-sunken); }
.more { margin-top: 20px; }
.more summary { cursor: pointer; font-size: 13.5px; color: var(--text-secondary); }
.more summary:hover { color: var(--text-primary); }
.more summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
@media (max-width: 640px) {
  .route__form, .route__add { grid-template-columns: 1fr 1fr; }
}
.rightnow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid var(--border-soft); border-left: 3px solid var(--amber-500); border-radius: 8px; background: var(--surface-sunken); }
.rightnow__what { margin: 2px 0 0; font-size: 13.5px; color: var(--text-primary); }
.linkish { border: 0; padding: 0; background: none; color: var(--green-700); font: inherit; text-decoration: underline; cursor: pointer; }
.linkish:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.planbox { padding: 16px; border-radius: 8px; border: 1px solid var(--border-soft); border-left-width: 4px; background: var(--surface-sunken); }
.planbox--scheduled { border-left-color: var(--n-400); }
.planbox--moving { border-left-color: var(--blue-600); }
.planbox--break { border-left-color: var(--amber-500); }
.planbox--hold { border-left-color: var(--blue-400); }
.planbox--delivered { border-left-color: var(--green-600); }
.planbox__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.planbox__label { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 18px; font-weight: 600; color: var(--text-primary); }
.planbox__eta { font-size: 13.5px; color: var(--text-secondary); }
.planbox__eta b { color: var(--text-primary); }
.planbox__note { margin: 4px 0 0; font-size: 13.5px; color: var(--text-secondary); }
.planbox__meta { margin: 4px 0 0; font-size: 11px; color: var(--text-muted); }
.planline { list-style: none; margin: 8px 0 0; padding: 0; }
.planline__step { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; }
.planline__step:last-child { border-bottom: 0; }
.planline__when { color: var(--text-muted); font-size: 11px; padding-top: 2px; }
.planline__what b { display: block; color: var(--text-primary); }
.planline__name { color: var(--text-secondary); }
.planline__step--arrive .planline__what b { color: var(--green-700); }
.planline__step--break .planline__what b { color: var(--amber-700); }
.planline__step--hold .planline__what b { color: var(--blue-600); }
.drawer { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(12, 15, 20, .55); }
.drawer__panel { position: relative; display: flex; flex-direction: column; width: min(440px, 100%); max-height: 100%; background: var(--surface-card); border-left: 1px solid var(--border); box-shadow: -16px 0 48px rgba(12, 15, 20, .22); animation: drawer-in .16s ease-out; }
.drawer__panel--wide { width: min(680px, 100%); }
.drawer__panel > form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
@keyframes drawer-in {  }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.drawer__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.drawer__x { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 5px; background: transparent; color: var(--text-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.drawer__x:hover { background: var(--surface-sunken); color: var(--text-primary); }
.drawer__x:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px; }
.drawer__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border-soft); background: var(--surface-sunken); }
@media (max-width: 640px) {
  .drawer { justify-content: stretch; }
  .drawer__panel, .drawer__panel--wide { width: 100%; border-left: 0; }
}
.has-drawer { overflow: hidden; }
.drawer--centre { align-items: center; justify-content: center; }
.drawer__panel--modal { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 24px 64px rgba(12, 15, 20, .32); animation: modal-in .16s ease-out; }
@keyframes modal-in {  }
.lead { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.lead__main { min-width: 0; }
.lead__side { --lead-sticky-top: 76px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: var(--lead-sticky-top); }
.lead__id { min-width: 0; }
.lead__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; }
.lead__name { margin: 4px 0 8px; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lead__facts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.lead__do { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.enquiry { margin-bottom: 24px; }
.enquiry__body { margin: 8px 0 8px; padding-left: 16px; border-left: 3px solid var(--green-500); font-size: 16px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.enquiry__meta { margin: 0; padding-left: 19px; font-size: 11px; color: var(--text-muted); }
.stream__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.stream__list { list-style: none; margin: 0; padding: 0; }
.stream__empty { margin: 20px 0; font-size: 13.5px; color: var(--text-muted); }
.ev { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.ev:last-child { border-bottom: 0; }
.ev__mark { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-sunken); color: var(--text-muted); }
.ev__mark svg { width: 13px; height: 13px; }
.ev--in .ev__mark { background: var(--green-50); color: var(--green-700); }
.ev--note .ev__mark { background: var(--amber-50); color: var(--amber-700); }
.ev__body { min-width: 0; flex: 1; }
.ev__meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.ev__who { font-size: 11px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev__when { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ev__remove { margin-left: auto; }
.ev__x { border: 0; background: transparent; color: var(--text-muted); font-size: 15px; line-height: 1; padding: 0 2px; cursor: pointer; opacity: 0; transition: opacity .1s ease; }
.ev__x:hover { color: var(--red-700); }
.ev__x:focus-visible { opacity: 1; outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.ev:hover .ev__x, .ev:focus-within .ev__x { opacity: 1; }
.ev__title { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.ev__text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; }
.ev--note .ev__text { color: var(--text-primary); }
.facts { padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.facts:last-child { border-bottom: 0; padding-bottom: 0; }
.facts__list { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 12px; margin: 8px 0 0; font-size: 13.5px; }
.facts__list dt { color: var(--text-muted); font-size: 11px; padding-top: 2px; }
.facts__list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts__copy { cursor: pointer; border-bottom: 1px dashed var(--border-firm); }
.facts__copy:hover { border-bottom-color: var(--green-500); }
.facts__copy:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.facts__image { display: block; width: 100%; border-radius: 5px; margin-top: 8px; }
@media (max-width: 1080px) {
  .lead { grid-template-columns: 1fr; }
  .lead__side { position: static; }
}
.stream { margin-top: 8px; }
.select--sm { height: 28px; padding: 0 24px 0 8px; font-size: 11px; }
.region { margin-bottom: 24px; }
.region__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.region__empty { margin: 16px 0 0; font-size: 13.5px; color: var(--text-muted); }
.log { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.log__row { display: grid; grid-template-columns: 92px minmax(0, auto) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.log__row:last-child { border-bottom: 0; }
.log__when { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.log__what { color: var(--text-primary); }
.log__body { color: var(--text-muted); min-width: 0; }
.facts__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notes { list-style: none; margin: 8px 0 0; padding: 0; }
.note { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.note:last-child { border-bottom: 0; padding-bottom: 0; }
.note__meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.note__who { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.note__when { font-size: 11px; color: var(--text-muted); }
.note__remove { margin-left: auto; }
.note__x { border: 0; background: transparent; color: var(--text-muted); font-size: 15px; line-height: 1; padding: 0 2px; cursor: pointer; opacity: 0; transition: opacity .1s ease; }
.note__x:hover { color: var(--red-700); }
.note__x:focus-visible { opacity: 1; outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.note:hover .note__x, .note:focus-within .note__x { opacity: 1; }
.note__body { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.file { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px; border: 1px solid var(--border-soft); border-radius: 5px; background: var(--surface-sunken); color: var(--text-primary); font-size: 11px; text-decoration: none; max-width: 100%; }
.file svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--text-muted); }
.file:hover { border-color: var(--green-500); }
.file:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.file__size { color: var(--text-muted); flex-shrink: 0; }
.note__pin { border: 0; padding: 0 2px; background: transparent; color: var(--text-muted); cursor: pointer; opacity: 0; transition: opacity .1s ease; }
.note__pin svg { width: 13px; height: 13px; display: block; }
.note__pin:hover { color: var(--amber-700); }
.note__pin:focus-visible { opacity: 1; outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.note__pin--set { opacity: 1; color: var(--amber-700); }
.note:hover .note__pin, .note:focus-within .note__pin { opacity: 1; }
.note__unpin { border: 0; padding: 0 2px; background: transparent; color: var(--text-muted); font-size: 14px; line-height: 1; cursor: pointer; }
.note__unpin:hover { color: var(--red-700); }
.note__unpin:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.note__due { margin: 0 0 2px; font-size: 11px; font-weight: 600; color: var(--amber-700); }
.folder { list-style: none; margin: 0; padding: 0; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.file-row:last-child { border-bottom: 0; }
.file-row__thumb { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 5px; background: var(--surface-sunken); border: 1px solid var(--border-soft); color: var(--text-muted); overflow: hidden; }
.file-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-row__thumb svg { width: 22px; height: 22px; }
.file-row__thumb:hover { border-color: var(--green-500); }
.file-row__thumb:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.file-row__main { min-width: 0; flex: 1; }
.file-row__label { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-primary); overflow-wrap: anywhere; }
.file-row__name { margin: 1px 0 0; font-size: 11px; color: var(--text-muted); }
.file-row__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 3px 0 0; font-size: 11px; color: var(--text-muted); }
.folder__add { margin-top: 8px; }
.chat { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; padding: 12px 4px; scroll-behavior: smooth; }
.chat__day { text-align: center; margin: 8px 0; }
.chat__day span { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--surface-sunken); font-size: 11px; color: var(--text-muted); }
.bubble { position: relative; max-width: min(88%, 760px); padding: 12px 16px 20px; border-radius: 8px; border: 1px solid var(--border-soft); }
.bubble--out { align-self: flex-end; background: var(--green-50); border-color: var(--green-100); }
.bubble--in { align-self: flex-start; background: var(--surface-sunken); }
.bubble__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 11px; }
.bubble__who { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble__subject { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.bubble__text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble__time { position: absolute; right: 12px; bottom: 4px; font-size: 11px; color: var(--text-muted); }
.doclist { list-style: none; margin: 0; padding: 0; }
.docrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.docrow:last-child { border-bottom: 0; }
.docrow__main { flex: 1; min-width: 0; }
.docrow__name { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.docrow__hint { margin: 2px 0 0; font-size: 11px; color: var(--text-muted); }
.docfields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-bottom: 16px; }
.docfields .field:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .docfields { grid-template-columns: 1fr; }
}
.facts--fold summary { cursor: pointer; list-style: none; }
.facts--fold summary::-webkit-details-marker { display: none; }
.facts--fold summary::after { content: " ▸"; color: var(--text-muted); }
.facts--fold[open] summary::after { content: " ▾"; }
.facts__list--raw { margin-top: 8px; }
.facts__list--raw dt { font-size: 11px; overflow-wrap: anywhere; }
.facts__list--raw dd { overflow-wrap: anywhere; }
.lead__title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lead__clock { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--text-muted); }
.lead__clock svg { width: 14px; height: 14px; }
.lead__clock b { color: var(--text-primary); font-weight: 600; }
.lead__clock--odd b, .lead__clock--odd svg { color: var(--amber-700); }
.lead__far { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--text-muted); }
.lead__far svg { width: 14px; height: 14px; color: var(--red-500); }
.lead__far b { color: var(--text-primary); font-weight: 600; }
.mail { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 16px; align-items: start; }
.mail__rail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.mail__compose { width: 100%; justify-content: center; }
.mail__folders { display: flex; flex-direction: column; gap: 1px; }
.mail__folder { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 0 999px 999px 0; margin-right: 8px; text-decoration: none; color: var(--text-secondary); font-size: 13.5px; line-height: 1; }
.mail__folder svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .75; }
.mail__folder:hover { background: var(--surface-sunken); color: var(--text-primary); }
.mail__folder:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.mail__folder--on { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.mail__folder--on svg { opacity: 1; }
.mail__label { flex: 1; min-width: 0; }
.mail__count { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; color: inherit; opacity: .8; }
.mail__account { padding: 12px; background: var(--surface-sunken); border: 1px solid var(--border-soft); border-radius: 8px; font-size: 11px; }
.mail__account-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mail__account-line + .mail__account-line { margin-top: 4px; }
.mail__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--n-400); flex-shrink: 0; }
.mail__dot--on { background: var(--green-500); }
.mail__settings { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--text-secondary); }
.mail__settings:hover { color: var(--text-primary); }
.mail__list { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden; }
.mailrow { display: flex; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: inherit; }
.mailrow:last-child { border-bottom: 0; }
.mailrow:hover { background: var(--surface-sunken); }
.mailrow:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.mailrow--failed { box-shadow: inset 3px 0 0 var(--red-500); }
.mailrow__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.mailrow__main { flex: 1; min-width: 0; display: block; }
.mailrow__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mailrow__party { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailrow__when { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
.mailrow__subject { display: block; margin-top: 1px; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailrow__preview { display: block; margin-top: 1px; font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailrow__tags { display: flex; gap: 8px; margin-top: 8px; }
.mail__empty { padding: 24px 16px; text-align: center; }
.mail__empty svg { width: 40px; height: 40px; color: var(--text-muted); opacity: .5; margin-bottom: 12px; }
.compose { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: 8px; box-shadow: var(--shadow-pop); position: fixed; right: 16px; bottom: 0; z-index: 60; width: min(540px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.compose[hidden] { display: none; }
.compose form { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.compose__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--n-900); color: #fff; flex-shrink: 0; }
.compose__title { flex: 1; font-size: 11px; font-weight: 600; }
.compose__icon { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 5px; background: transparent; color: inherit; cursor: pointer; }
.compose__icon svg { width: 14px; height: 14px; }
.compose__icon:hover { background: rgba(255, 255, 255, .16); }
.compose__icon:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.compose__body { display: flex; flex-direction: column; padding: 12px; gap: 8px; min-height: 0; overflow-y: auto; }
.compose__field { width: 100%; height: 38px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--border-soft); background: transparent; color: var(--text-primary); font: inherit; font-size: 13.5px; }
.compose__field:focus { outline: 0; border-bottom-color: var(--green-500); }
.compose__field::placeholder { color: var(--text-muted); }
.compose__text { width: 100%; padding: 0 2px; border: 0; background: transparent; color: var(--text-primary); font: inherit; font-size: 13.5px; line-height: 1.6; resize: none; flex: 1; min-height: 160px; }
.compose__text:focus { outline: 0; }
.compose__text::placeholder { color: var(--text-muted); }
.compose__foot { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--border-soft); background: var(--surface-sunken); flex-shrink: 0; }
.compose__from { font-size: 11px; min-width: 0; }
.compose--min .compose__body, .compose--min .compose__foot { display: none; }
@media (max-width: 860px) {
  .mail { grid-template-columns: 1fr; }
  .mail__rail { position: static; }
  .mail__folders { flex-direction: row; flex-wrap: wrap; }
  .mail__folder { border-radius: 999px; margin-right: 0; }
  .compose { right: 0; left: 0; width: 100%; }
}
.mail__refresh { margin-top: 12px; }
.mail__checked { margin: 8px 0 0; font-size: 11px; color: var(--text-muted); text-align: center; }
.compose__clip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border-radius: 5px; color: var(--text-muted); cursor: pointer; }
.compose__clip svg { width: 15px; height: 15px; }
.compose__clip input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compose__clip:hover { background: var(--surface-sunken); color: var(--text-primary); }
.compose__clip:focus-within { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.compose__clipn { font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 11px; font-weight: 600; color: var(--green-700); }
.compose__clipn[hidden] { display: none; }
.mail__stuck { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.mail__stuck summary { cursor: pointer; font-size: 11px; color: var(--text-muted); }
.mail__stuck summary:hover { color: var(--text-primary); }
.mail__stuck summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.settings { --settings-sticky-top: 76px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.settings__nav { display: flex; flex-direction: column; gap: 1px; position: sticky; top: var(--settings-sticky-top); }
.settings__link { padding: 7px 12px; border-radius: 5px; text-decoration: none; color: var(--text-secondary); font-size: 13.5px; line-height: 1.3; }
.settings__link:hover { background: var(--surface-sunken); color: var(--text-primary); }
.settings__link:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 5px; }
.settings__link--on { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.settings__body { min-width: 0; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.check--locked { opacity: .65; cursor: default; }
.block { display: block; }
@media (max-width: 860px) {
  .settings { grid-template-columns: 1fr; }
  .settings__nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
.menu { position: relative; }
.menu__panel { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: 8px; box-shadow: var(--shadow-pop); position: absolute; top: calc(100% + 4px); right: 0; min-width: 248px; padding: 4px; z-index: 60; display: none; }
.menu__panel[data-open] { display: block; }
.menu__panel--left { right: auto; left: 0; }
.menu__head { padding: 8px 8px 8px; border-bottom: 1px solid var(--border-soft); margin-bottom: 4px; }
.menu__name { font-weight: 600; font-size: 13.5px; }
.menu__meta { font-size: 12px; color: var(--text-muted); }
.menu__item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border-radius: 5px; font-size: 13.5px; text-align: left; cursor: pointer; color: var(--text-primary); }
.menu__item:hover { background: var(--surface-sunken); }
.menu__item--danger { color: var(--red-600); }
.menu__item--danger:hover { background: var(--red-50); }
.menu__item svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.menu__item--danger svg { color: currentColor; }
.menu form { display: contents; }
.menu__panel[data-fixed] { position: fixed; margin: 0; }
.rolesites { position: relative; }
.rolesites summary { list-style: none; cursor: pointer; }
.rolesites summary::-webkit-details-marker { display: none; }
.rolesites__panel { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: 8px; box-shadow: var(--shadow-pop); position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; min-width: 220px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.rolesites__panel--wide { min-width: 320px; }
.flash { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 5px; border: 1px solid; margin-bottom: 16px; font-size: 13.5px; line-height: 1.4; }
.flash svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.flash--error { background: var(--red-50); border-color: var(--red-100); color: var(--red-700); }
.flash--success { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.flash--info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-600); }
.flash--warn { background: var(--amber-50); border-color: var(--amber-100); color: var(--amber-700); }
.empty { padding: 64px 24px; text-align: center; }
.empty__icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--n-400); }
.empty__title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.empty__body { color: var(--text-secondary); font-size: 13.5px; max-width: 400px; margin: 0 auto 16px; line-height: 1.6; }
.tl { position: relative; padding-left: 24px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 1px; background: var(--border); }
.tl__item { position: relative; padding-bottom: 16px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: -24px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface-card); border: 2px solid var(--border-firm); }
.tl__dot--signal { border-color: var(--green-500); }
.tl__dot--patina { border-color: var(--green-600); }
.tl__dot--steel { border-color: var(--blue-600); }
.tl__when { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.tl__what { font-size: 13.5px; margin-top: 1px; }
.tl__body { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; padding: 8px 12px; background: var(--surface-inset); border-radius: 5px; line-height: 1.6; white-space: pre-wrap; }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) 480px; background: var(--surface-dark); }
.login__art { position: relative; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; color: var(--text-on-dark); overflow: hidden; }
.login__dial { position: absolute; right: -200px; bottom: -220px; width: 660px; height: 660px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.login__dial::after { content: ""; position: absolute; inset: 68px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .05); }
.login__brand { display: flex; align-items: center; gap: 12px; position: relative; }
.login__lead { position: relative; max-width: 460px; font-family: "Barlow Condensed", "Barlow Semi Condensed", "Barlow", sans-serif; font-size: 40px; font-weight: 500; line-height: 1.15; }
.login__lead em { font-style: normal; color: var(--red-500); }
.login__meta { position: relative; display: flex; gap: 32px; }
.login__meta .stat__val { color: #fff; font-size: 22px; }
.login__meta .stat__label, .login__meta .eyebrow { color: var(--text-on-dark-3); }
.login__panel { background: var(--surface-card); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.login__title { font-size: 28px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.login__intro { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.login__note { font-size: 12px; color: var(--text-muted); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-soft); line-height: 1.6; }
@media (max-width: 1180px) {
  .grid--sidebar, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .nav { position: fixed; left: 0; top: 0; z-index: 80; transform: translateX(-100%); transition: transform 160ms cubic-bezier(.2, .6, .3, 1); }
  .nav[data-open] { transform: none; box-shadow: var(--shadow-lift); }
  .navtoggle { display: inline-flex; }
  .content { padding: 16px 16px 48px; }
  .toolbar { padding-left: 16px; padding-right: 16px; }
  .top { padding-left: 16px; }
  .login { grid-template-columns: minmax(0, 1fr); }
  .login__art { display: none; }
  .login__panel { padding: 32px 20px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .sitepick__host { display: none; }
  .top__title { display: none; }
}
@media (max-width: 560px) {
  .page__actions { margin-left: 0; width: 100%; }
  .deflist { grid-template-columns: minmax(0, 1fr); gap: 2px 16px; }
  .deflist dd { margin-bottom: 8px; }
}
@media print {
  .nav, .top, .toolbar, .page__actions, .btn { display: none; }
  .content { padding: 0; }
  .card { border-color: #999; box-shadow: none; }
}
[data-theme="dark"] { --surface-canvas: #14171D; --surface-card: #1C2029; --surface-sunken: #232832; --surface-inset: #1F242D; --border: #2A313C; --border-soft: #222831; --border-firm: #3A424F; --text-primary: #DFE3EB; --text-secondary: #A6AEBD; --text-muted: #818A9B; --red-500: #F2405C; --red-600: #FF6B80; --red-700: #FF9AA8; --red-50: #2A1218; --red-100: #451D26; --green-500: #3FBF7F; --green-600: #5BD69A; --green-700: #7BD9BC; --green-50: #10241F; --green-100: #1B3A32; --gold-500: #D9A82C; --gold-600: #E8C05E; --gold-50: #241C08; --gold-100: #3B2E10; --amber-500: #D99A2B; --amber-700: #E0A54A; --amber-50: #2A2113; --amber-100: #453620; --blue-600: #7FA6E8; --blue-400: #9CC0F5; --blue-50: #131C2C; --blue-100: #22314C; color-scheme: dark; }
[data-theme="dark"] .nav { background: #0B0E13; border-right: 1px solid var(--border-soft); }
[data-theme="dark"] .login { background: #0B0E13; }
[data-theme="dark"] .avatar { background: var(--surface-sunken); color: var(--text-primary); }
[data-theme="dark"] .btn--primary { background: var(--green-500); border-color: var(--green-500); color: #0F1218; }
[data-theme="dark"] .btn--primary:hover { background: var(--green-600); border-color: var(--green-600); }
[data-theme="dark"] .codeblock { background: #0B0E13; }
[data-theme="dark"] .stock { border-left-color: var(--border-firm); }
[data-theme="dark"] .slot { background: var(--surface-inset); }
[data-theme="dark"] img.thumb { opacity: .9; }
