:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --surface: #fff;
  --subtle: #f5f5f5;
  --ink: #171717;
  --muted: #525252;
  --line: #e5e5e5;
  --border: #8b8b8b;
  --primary: #262626;
  --on-primary: #fafafa;
  --primary-hover: #404040;
  --pressed: #ebebeb;
  --good-bg: #edf7f0;
  --danger-bg: #fef2f2;
  --danger-line: #e4baba;
  --warn-bg: #fff6e7;
  --focus: #666;
  --good: #166534;
  --danger: #b91c1c;
  --warn: #854d0e;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: var(--primary); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 7px;
  color: var(--ink); background: var(--surface); font-size: 14px; font-weight: 550;
  line-height: 1.5; text-decoration: none; cursor: pointer;
  transition: background 150ms, border-color 150ms, color 150ms;
}
button:hover, .button:hover { background: var(--subtle); border-color: var(--border); text-decoration: none; }
button:active, .button:active { background: var(--pressed); }
button:disabled { opacity: .5; cursor: default; }
button[aria-busy="true"] { cursor: progress; }
button.primary, .button.primary { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
button.primary:hover, .button.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
button.danger { color: var(--danger); }
button.danger:hover { background: var(--danger-bg); border-color: var(--danger-line); }
.text-button, .copy { background: transparent; border-color: transparent; }
.text-button:hover, .copy:hover { border-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input, select, textarea {
  display: block; width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--ink);
  font-size: 15px; line-height: 1.5; transition: border-color 150ms;
}
input::placeholder { color: var(--muted); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
select { cursor: pointer; }
textarea { resize: vertical; }
label { display: block; margin: 0 0 22px; font-size: 14px; font-weight: 550; }
label input, label select, label textarea { margin-top: 8px; font-weight: 400; }
small, .muted, .section-description { color: var(--muted); }
small { display: block; margin-top: 7px; font-size: 13px; font-weight: 400; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 25px; line-height: 1.35; font-weight: 650; letter-spacing: -.7px; overflow-wrap: anywhere; }
h2 { font-size: 17px; line-height: 1.5; font-weight: 600; margin-bottom: 8px; }
h3 { font-size: 14px; line-height: 1.6; font-weight: 600; margin-bottom: 6px; }
p { margin-bottom: 16px; }
code, .version { font: 12px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
[hidden], .hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 3; padding: 12px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1200px,100%); min-height: 64px; padding: 0 32px; margin: 0 auto; display: flex; align-items: center; gap: 44px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: -.7px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 27px; height: 27px; color: var(--primary); }
.brand small { font-size: 13px; font-weight: 400; letter-spacing: 0; border-left: 1px solid var(--line); padding-left: 16px; margin: 0 0 0 8px; }
.nav { display: flex; align-self: stretch; align-items: stretch; gap: 24px; }
.nav a { display: flex; gap: 8px; align-items: center; min-height: 44px; color: var(--muted); border-bottom: 2px solid transparent; padding: 2px 1px 0; font-size: 14px; white-space: nowrap; }
.nav a:hover { text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--primary); font-weight: 600; }
.account { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
.account a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.account button { padding: 7px 10px; font-size: 13px; color: var(--muted); }
.main { width: min(1200px,100%); margin: 0 auto; padding: 28px 32px 64px; min-height: calc(100dvh - 65px); }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.title-row > div { min-width: 0; }
.title-row p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.title-row a { overflow-wrap: anywhere; }
.title-row .app-address { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 7px; }
.page-heading { display: flex; align-items: center; gap: 12px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.crumb a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; margin-bottom: 24px; min-width: 0; }
.panel.flush { padding: 0; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.panel-header h2 { margin: 0; }
.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.search-field { position: relative; width: min(340px,100%); }
.search-field .icon { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
.search-field input { padding-left: 40px; border-color: var(--line); background: var(--surface); }
.toolbar .muted { font-size: 13px; font-variant-numeric: tabular-nums; }
.app-row { display: grid; grid-template-columns: minmax(240px,2.2fr) minmax(110px,.85fr) minmax(100px,.8fr) minmax(140px,1fr) 72px; align-items: center; gap: 24px; padding: 17px 24px; border-bottom: 1px solid var(--line); }
.app-row:last-child { border: 0; }
.app-row:not(.heading):hover { background: var(--bg); }
.app-row.heading { padding-top: 11px; padding-bottom: 11px; font-size: 12px; color: var(--muted); background: var(--bg); }
.app-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.app-symbol { width: 36px; height: 40px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; background: var(--subtle); color: var(--muted); flex-shrink: 0; }
.app-symbol .icon { width: 20px; height: 20px; }
.app-symbol.worker, .app-symbol.static { color: var(--muted); background: var(--subtle); border-color: var(--line); }

.app-identity > div { min-width: 0; }
.app-name { display: inline-block; color: var(--ink); font-size: 15px; font-weight: 600; padding: 2px 0; margin-bottom: 2px; }
.app-url { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.mode-label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.mode-label .icon { width: 15px; height: 15px; }
.open-cell { text-align: right; }
.open-cell a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.open-cell .icon { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; min-height: 25px; padding: 2px 8px; border-radius: 5px; background: var(--subtle); color: var(--muted); font-size: 12px; white-space: nowrap; font-weight: 500; }
.badge.good { color: var(--good); background: var(--good-bg); }
.badge.bad { color: var(--danger); background: var(--danger-bg); }
.badge.warn { color: var(--warn); background: var(--warn-bg); }
.badge.good::before, .badge.bad::before, .badge.warn::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.statusline { display: flex; flex-wrap: wrap; gap: 8px; margin: -15px 0 26px; }
.tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { flex-shrink: 0; border: 0; border-radius: 0; border-bottom: 2px solid transparent; padding: 12px 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--ink); border-bottom-color: var(--primary); font-weight: 600; }
.grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,1fr); align-items: start; gap: 24px; }
.grid > .panel { margin-bottom: 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.kv { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; margin: 24px 0; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.section-description { font-size: 13px; margin-bottom: 24px; }
.settings-form { max-width: 540px; }
.form-section + .form-section { padding-top: 24px; border-top: 1px solid var(--line); }
.form-section > h3 { margin-bottom: 18px; }
.form-footer { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 26px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; margin: 0; }
.check strong { font-weight: 550; display: block; font-size: 14px; }
.check small { margin: 3px 0 0; }
.check input { flex-shrink: 0; appearance: none; width: 34px; height: 20px; min-height: 20px; border-radius: 20px; padding: 2px; margin: 3px 0 0; border: 1px solid #929da6; background: #929da6; cursor: pointer; }
.check input::before { content: ''; display: block; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform 150ms; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::before { transform: translateX(14px); background: var(--on-primary); }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid var(--danger-line); margin-top: 28px; }
.danger-zone h2 { font-size: 14px; color: var(--danger); }
.danger-zone p { margin: 0; font-size: 13px; color: var(--muted); }
.danger-zone > div { min-width: 0; }
.danger-zone button { flex-shrink: 0; }
.record { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.record:first-child { padding-top: 0; }
.record:last-child { padding-bottom: 0; border: 0; }
.record > div { min-width: 0; }
.record h3 { margin-bottom: 6px; }
.record p { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.record .actions { justify-content: flex-end; flex-shrink: 0; }
.record button { font-size: 13px; padding: 7px 12px; }
.request-record { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.request-record:last-child { border: 0; padding-bottom: 0; }
.technical { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 6px; }
.technical summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--muted); }
.technical summary::before { content: '+'; width: 14px; font-size: 17px; }
.technical[open] summary::before { content: '−'; }
.technical .kv { margin-top: 8px; }
.file-path { padding: 14px 16px; background: var(--subtle); border-radius: 6px; margin: 16px 0; font-size: 13px; overflow-wrap: anywhere; }
.message { padding: 12px 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--subtle); margin-bottom: 24px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.error { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
.message:empty { display: none; }
.empty { padding: 60px 24px; text-align: center; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: 16px; }
.empty p { margin: 8px 0 20px; font-size: 13px; }
.empty.compact { padding: 24px 8px 30px; }
.empty.compact .icon { width: 28px; height: 28px; margin-bottom: 10px; color: var(--muted); }
.empty.compact p { margin: 0; }
.login-empty { max-width: 520px; margin: 9vh auto 0; padding: 42px; box-shadow: 0 6px 22px #26363005; }
.login-mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--subtle); color: var(--primary); }
.login-mark .icon { width: 24px; height: 24px; }
.login-empty .primary { margin-top: 6px; min-width: 180px; }
dialog { width: min(520px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); border: 1px solid var(--line); border-radius: 12px; padding: 0; color: var(--ink); background: var(--surface); box-shadow: 0 22px 80px #1c25252e; }
dialog::backdrop { background: #1c25254d; backdrop-filter: blur(2px); }
dialog form { padding: 30px; }
dialog h2 { font-size: 21px; margin-bottom: 6px; }
dialog .section-description { margin-bottom: 26px; }
dialog .actions { justify-content: flex-end; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.auth-wrap { width: min(1080px,100%); margin: 0 auto; padding: 28px 32px 64px; }
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.inline-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; color: var(--muted); }
.auth-layout { width: min(440px,100%); margin: 6vh auto 0; }
.auth-intro { margin-bottom: 28px; text-align: center; }
.auth-intro h1 { font-size: 24px; margin-bottom: 9px; }
.auth-intro p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.auth-intro #identity-note { font-size: 12px; }
.auth-wrap .panel { padding: 30px; }
.auth-wrap details { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth-wrap summary { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.auth-wrap details summary::before { content: '+'; font-size: 18px; color: var(--muted); }
.auth-wrap details[open] summary::before { content: '−'; }
.auth-wrap details form { padding-top: 14px; }
.auth-wrap #passkey-login, .auth-wrap #recovery-form button { width: 100%; }
.auth-wrap #login-panel h2 { margin-bottom: 20px; }
.auth-wrap #recovery-form p { font-size: 13px; }
.auth-code { font: 600 36px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: 6px; padding: 18px 8px; color: var(--ink); text-align: center; background: var(--subtle); border-radius: 8px; margin-bottom: 20px; }
.auth-wrap[data-authenticated="true"] .auth-layout { width: 100%; margin: 0; }
.auth-wrap[data-authenticated="true"] .auth-intro { text-align: left; margin-bottom: 28px; }
.auth-wrap[data-authenticated="true"] .auth-intro #identity-note { max-width: 640px; }
.account-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.account-summary h2 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.account-summary h2::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.account-summary p { font-size: 13px; color: var(--muted); margin: 0; }
.auth-wrap #maintenance .grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
.auth-wrap #maintenance .panel > h2 { margin-bottom: 12px; }
.auth-wrap #register-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 460px; }
.auth-wrap #keys > p { padding: 16px 0; font-size: 13px; }
.auth-wrap #revoke-others { margin-top: 24px; }
.auth-wrap .maintenance-help { margin-top: 14px; }
.credential-note { padding: 12px 14px; border-left: 2px solid var(--border); background: var(--subtle); color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
.credential-note:empty { display: none; }
@media (max-width:1000px) {
  .header-inner { gap: 28px; }
  .brand small { display: none; }
  .app-row { grid-template-columns: minmax(230px,2fr) 110px 90px 65px; gap: 16px; }
  .app-row > .version-cell { display: none; }
  .grid { grid-template-columns: minmax(0,1.3fr) minmax(270px,1fr); gap: 20px; }
  .panel { padding: 24px; }
}
@media (max-width:760px) {
  .header-inner { padding: 0 20px; min-height: 68px; gap: 24px; flex-wrap: wrap; }
  .brand { font-size: 21px; }
  .nav { gap: 18px; }
  .nav .icon { display: none; }
  .account { gap: 4px; }
  .account a { font-size: 12px; }
  .account a .icon { display: none; }
  .main { padding: 32px 20px 56px; min-height: calc(100dvh - 69px); }
  h1 { font-size: 26px; }
  .title-row { align-items: flex-start; gap: 20px; margin-bottom: 26px; }
  .title-row > .primary { flex-shrink: 0; }
  .title-row .actions { justify-content: flex-start; }
  .grid, .auth-wrap #maintenance .grid { grid-template-columns: minmax(0,1fr); }
  .grid > .panel { margin-bottom: 0; }
  .toolbar { gap: 12px; }
  .toolbar .muted { white-space: nowrap; }
  .app-row.heading { display: none; }
  .app-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px 16px; padding: 22px 20px; }
  .app-row .app-identity { grid-column: 1; grid-row: 1; }
  .app-row .open-cell { grid-column: 2; grid-row: 1; }
  .app-row .mode-cell { grid-column: 1; grid-row: 2; padding-left: 56px; }
  .app-row .state-cell { grid-column: 2; grid-row: 2; text-align: right; }
  .app-name { font-size: 14px; }
  .app-url { font-size: 12px; }
  .app-symbol { width: 40px; height: 40px; }
  .panel { padding: 24px; border-radius: 9px; }
  .tabs { gap: 24px; }
  .detail-title { flex-direction: column; }
  .statusline { margin-top: -8px; }
  .kv { grid-template-columns: 96px minmax(0,1fr); gap: 14px; }
  .danger-zone { flex-direction: column; align-items: flex-start; gap: 18px; }
  .auth-wrap { padding: 20px 20px 48px; }
  .auth-header { margin-bottom: 36px; }
  .auth-layout { margin-top: 4vh; }
  .auth-wrap .panel { padding: 24px; }
  .auth-wrap[data-authenticated="true"] .auth-intro { margin-bottom: 24px; }
  .account-summary { align-items: flex-start; flex-direction: column; gap: 18px; }
  .record { gap: 14px; }
  .record .actions { flex-wrap: wrap; }
  .login-empty { padding: 32px 24px; margin-top: 5vh; }
}
@media (max-width:480px) {
  .header-inner { gap: 0; justify-content: space-between; }
  .header-inner .account { margin-left: 0; }
  .header-inner .nav { order: 3; width: 100%; height: 47px; gap: 26px; }
  .header-inner .brand, .header-inner .account { min-height: 62px; }
  .main { padding: 28px 16px 48px; min-height: calc(100dvh - 110px); }
  .title-row { flex-wrap: wrap; }
  .title-row > .primary { min-height: 44px; }
  .title-row p { font-size: 13px; }
  .toolbar { margin-bottom: 16px; }
  .toolbar .muted { font-size: 12px; }
  .panel { padding: 22px; }
  .app-row { padding: 20px 16px; }
  .app-identity { gap: 10px; }
  .app-row .mode-cell { padding-left: 50px; }
  .record { flex-direction: column; }
  .record > button { align-self: flex-end; }
  .auth-header .brand small { display: none; }
  .auth-header { margin-bottom: 28px; }
  .auth-wrap { padding: 20px 16px 40px; }
  .auth-wrap .panel { padding: 24px; }
  .auth-wrap #maintenance .record { flex-direction: row; }
  .auth-wrap #maintenance .record button { flex-shrink: 0; }
  .auth-wrap #maintenance .actions { gap: 8px; }
  .auth-wrap #maintenance .actions button { padding: 8px 12px; font-size: 13px; }
  dialog form { padding: 24px; }
}

.brand-mark { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--surface); font-size: 17px; font-weight: 700; }
.auth-wrap:not([data-authenticated="true"]) { width: min(440px,calc(100% - 32px)); margin: clamp(24px,12dvh,112px) auto 24px; padding: 28px 32px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 8px #00000003; }
.auth-wrap:not([data-authenticated="true"]) .auth-header { margin-bottom: 28px; }
.auth-wrap:not([data-authenticated="true"]) .auth-header > .inline-link { font-size: 12px; }
.auth-wrap:not([data-authenticated="true"]) .auth-header > .inline-link .icon { display: none; }
.auth-wrap:not([data-authenticated="true"]) .auth-layout { width: 100%; margin: 0; }
.auth-wrap:not([data-authenticated="true"]) .auth-intro { text-align: left; margin-bottom: 24px; }
.auth-wrap:not([data-authenticated="true"]) .panel { border: 0; border-radius: 0; background: transparent; padding: 0; margin-bottom: 0; }
.auth-wrap:not([data-authenticated="true"]) details { margin-top: 18px; }
.auth-wrap:not([data-authenticated="true"]) #status { margin-top: 16px; }
.auth-wrap[data-authenticated="true"] { max-width: 864px; padding-top: 28px; }
.auth-wrap[data-authenticated="true"] .auth-header { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.auth-wrap .account-summary { padding: 0; border: 0; background: transparent; margin: 0 0 28px; }
.auth-wrap .account-summary h2 { margin-bottom: 3px; }
.auth-wrap .account-summary .actions { gap: 8px; }
.auth-wrap #maintenance .panel-header { margin-bottom: 20px; }
.auth-wrap #maintenance .panel-header h2 { margin-bottom: 3px; }
.auth-wrap #register-section { border-top: 1px solid var(--line); margin-top: 22px; }
.auth-wrap #register-form { border-top: 0; margin-top: 0; }
.auth-wrap #register-section .divider { margin: 22px 0; }
.auth-wrap #keys .record p, .auth-wrap #sessions .record p { font-size: 13px; }
@media (prefers-color-scheme:dark) {
 :root { --bg:#171717; --surface:#262626; --subtle:#333; --ink:#fafafa; --muted:#b3b3b3; --line:#404040; --border:#888; --primary:#ebebeb; --on-primary:#262626; --primary-hover:#d4d4d4; --pressed:#404040; --good:#86efac; --good-bg:#1e3427; --danger:#fca5a5; --danger-bg:#3c2020; --danger-line:#795052; --warn:#fde68a; --warn-bg:#3b3222; --focus:#b3b3b3; }
}
@media (max-width:600px) {
 .auth-wrap:not([data-authenticated="true"]) { padding: 24px; }
 .auth-wrap[data-authenticated="true"] { padding: 24px 16px 40px; }
 .auth-wrap #maintenance .panel-header { align-items: flex-start; flex-wrap: wrap; }
 .auth-wrap .brand small { display: block; }
 .auth-wrap .account-summary { gap: 16px; }
 .auth-code { font-size: 30px; letter-spacing: 4px; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
