/* AOKA — white glass / technology blue.
 * Material and color only. Workflow geometry stays in the existing stylesheets.
 * Self-hosted OFL fonts; no external requests or per-frame JavaScript effects.
 */
:root {
  --ink: #23334c;
  --sub: #53647d;
  --muted: var(--sub);
  --accent: #205bc5;
  --pale: #eaf2ff;
  --paper: #f4f8ff;
  --surface: #fff;
  --line: #dce5f2;
  --glass-blue: #205bc5;
  --glass-blue-deep: #1849a7;
  --glass-action: linear-gradient(145deg, #2869d9 0%, #205bc5 55%, #1749a7 100%);
  --glass-edge: rgba(255, 255, 255, .94);
  --glass-shadow: 0 8px 28px rgba(36, 77, 139, .06), 0 1px 3px rgba(36, 77, 139, .03);
  --soft-shadow: var(--glass-shadow);
  --glass-focus: #3678df;
}

html { background: #f4f8ff; }
body {
  display: flow-root;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #f7f9fd;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(127, 171, 233, .17), transparent 45%),
    radial-gradient(ellipse at 100% 4%, rgba(170, 203, 245, .16), transparent 42%),
    linear-gradient(150deg, #f5f8fd 0%, #fcfdff 48%, #f3f7fc 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}
::selection { background: #cee1ff; color: #173f86; }

/* Navigation has a translucent surface; text and records stay on white. */
.sidebar {
  background: linear-gradient(155deg, rgba(255,255,255,.84), rgba(235,244,255,.72));
  border-right: 1px solid rgba(192,213,241,.65);
  box-shadow: inset -1px 0 0 var(--glass-edge), 8px 0 32px rgba(49,90,151,.025);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}
.brand { color: #193861; }
.brand small, .nav-group, .sidebar-foot { color: #5c6f8b; }
.sidebar-foot { border-top-color: rgba(165,191,226,.38); }
.nav button { color: #50627e; }
.nav button:hover { background: rgba(255,255,255,.68); color: #194eab; }
.nav button.active {
  color: #184fae;
  border-color: rgba(255,255,255,.9);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(227,239,255,.94));
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(40,91,168,.09), 0 0 0 1px rgba(176,202,238,.24);
}
.nav button.active::before { background: linear-gradient(#66a9ff, #2561c4); }
.nav button.active .nav-icon { color: #2362c8; }
.top {
  background: transparent;
  border-bottom-color: rgba(172,192,221,.26);
  box-shadow: none;
}
.current-person strong { color: #344967; }
.preview-label { color: #4b6588; background: #eaf1fc; border-color: #d6e3f6; }
.message-button { color: #536782; }

/* Light-catching edges without blurring each record in a long list. */
.panel, .record, .detail-section, .mobile-project, .mobile-order,
.project-table-wrap, .order-desktop, .table-wrap {
  background-color: #fff;
  border-color: var(--line);
  box-shadow: inset 0 1px 0 #fff, var(--glass-shadow);
}
.panel:not(.table-wrap), .record, .mobile-project, .mobile-order,
.project-table-wrap, .order-desktop, .table-wrap { border-radius: 13px; }
.project-table, table { color: var(--ink); }
th, .project-table thead, .order-desktop thead { background: #f4f8fe; }
.project-table th, .order-desktop th, table th { color: #4e6585; border-bottom-color: #dce6f4; }
.project-table td, .order-desktop td, td { border-bottom-color: #eaf0f8; }
.project-table .project-link, .order-title-button { color: #254b7b; }
.project-table tbody tr:hover, .order-desktop tbody tr:hover, tbody tr:hover { background: #f8fbff; }
.personal-actions-row>td { background: #fff; border-bottom-color: #e4ecf7!important; }
.personal-actions-row:hover>td { background: #f8fbff; }
.mobile-project .personal-work-line { border-top-color: #e5edf8; }

/* Tinted blue is reserved for selection and the main action. */
button, .download-action { border-color: #d5e1f0; color: #344e71; }
button:hover { background-color: #f1f7ff; border-color: #a8c3e9; }
button:disabled { cursor: default; }
button.primary, .drop label, button.action-accept,
.personal-work-line .work-actions button.action-accept,
.pending-work-actions>button:first-child,
.pending-work-actions>.pending-followup:first-child {
  background: var(--glass-action);
  border-color: #225ac1;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 3px 8px rgba(36,89,182,.14);
}
button.primary:hover, .drop label:hover, button.action-accept:hover,
.personal-work-line .work-actions button.action-accept:hover {
  background: linear-gradient(145deg, #2461cd, #17449d);
  border-color: #17449d;
  color: #fff;
}
button.action-complete, .personal-work-line .work-actions button.action-complete {
  background: #edf4ff; color: #285da8; border-color: #bed3f1; box-shadow: inset 0 1px 0 #fff;
}
button.action-complete:hover, .personal-work-line .work-actions button.action-complete:hover {
  background: #e2eeff; border-color: #95b7e9; color: #194887;
}
button.assistance { background: #f2f5fb; border-color: #d6e0ef; color: #526789; }
button.quiet { color: #526782; background: rgba(255,255,255,.8); border-color: #dbe5f3; }
button.quiet:hover { background: #f0f6ff; }
.text-button, a { color: #205bc5; }
.text-button:hover { background: transparent; }
.project-link, .staff-preview, .demand-preview { background: transparent; box-shadow: none; }
.project-link:hover { color: #205bc5; background: transparent; }
.personal-work-line .work-actions>button:not(.action-accept):not(.action-complete):not(.pending-followup):not(.danger) { color: #405878; }
.tabs, .category-tabs { border-bottom-color: #dce6f5; }
.tabs button { color: #5c6e89; }
.tabs button.active { color: #205bc5; border-bottom-color: #3679de; }
.tab-button.active, .category-tabs button.active, .finance-reminder-kinds button.selected {
  color: #2055ab; background: #eaf2ff; border-color: #b6cff3;
}
.overview-card, .queue-tabs>button {
  background: linear-gradient(145deg, #fff, #f8fbff);
  border-color: #dce6f5;
  box-shadow: inset 0 1px 0 #fff, var(--glass-shadow);
}
.overview-card:hover, .queue-tabs>button:hover { background: #f5f9ff; border-color: #b1cbf0; }
.overview-card strong, .compact-overview .overview-card strong, .queue-tabs button strong { color: #245bac; }
.overview-card.selected, .queue-tabs>button.active {
  background: linear-gradient(135deg, #f4f9ff, #e5efff);
  border-color: #a9c5ef;
  box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(45,96,175,.07);
}
.overview-card>span:first-child { color: #415b7e; }
.overview-card .overview-arrow { display: none; }
input, select, textarea, .field>input, .field>select, .field>textarea,
.priority-control select { border-color: #cfddf0; background-color: #fff; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #687991; }
input[readonly] { background: #f4f7fc; color: #60728d; }
input[type=checkbox] { accent-color: #2868d0; }
.field>.field-caption { color: #526783; }
:where(button,a,input,select,textarea,summary):focus-visible,
.staff-preview:focus-visible, .demand-preview:focus-visible { outline-color: var(--glass-focus); }
.pending-edit { outline-color: #6d9ddd; }

.download-action, .download-action:not(.compact), .download-action.compact,
.personal-work-line .download-action.compact {
  color: #2055a8; border-color: #bdd2ef; background: #f1f7ff;
  box-shadow: inset 0 1px 0 #fff;
}
.download-action:hover, .download-action:not(.compact):hover,
.personal-work-line .download-action.compact:hover { background: #e6f0ff; border-color: #91b4e7; color: #19498e; }
.download-action small { color: #4d668b; }
.order-downloads { background: #eef5ff; border-color: #d5e3f7; }
.order-downloads h2 { color: #2b5285; }
.order-downloads p { color: #5a7192; }
.order-types button.active { color: #2057b2; border-color: #7da8e7; box-shadow: 0 0 0 1px #7da8e7; }
.order-types button span { color: #5f7491; }
#drop { background: #f9fcff; border-color: #a9c3e8; }
#drop.drag { background: #edf5ff; border-color: #3678df; }
.task, .assignment-row { background: #fff; border-color: #dce6f4; }
.my-project-tasks .task { background: #f7faff; }
.demand-summary { background: #f9fbff; border-color: #dce6f4; }
.coordination-box, .preparation-description { background: #f3f7fd; border-color: #dce7f6; }
.handoff-status .small, .action-card .record-meta, .action-card .message-project,
.action-card .matter-message, .action-footer .small { color: #5b6e89; }
.action-card h3, .notification h3 { color: #2b4263; }
button.action-notice { background: #edf4ff; border-color: #b2cbed; color: #27569c; }

/* A dialog is a single thick glass surface, not nested blur on every field. */
#detail, #leave-confirm {
  background: rgba(247,251,255,.94);
  border: 1px solid rgba(255,255,255,.96);
  box-shadow: inset 0 1px 0 #fff, 0 26px 90px rgba(27,57,104,.22), 0 0 0 1px rgba(139,172,220,.25);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
}
dialog::backdrop { background: rgba(30,56,99,.22); -webkit-backdrop-filter: none; backdrop-filter: none; }
#detail .dialog-head { background: linear-gradient(130deg, rgba(255,255,255,.98), rgba(237,245,255,.96)); border-bottom-color: #dde7f6; }
#detail .dialog-head h2 { color: #233e66; }
.dialog-head .eyebrow { color: #607694; }
#detail .dialog-tabs { background: rgba(248,251,255,.96); border-bottom-color: #dce6f5; }
#detail .dialog-scroll { background: rgba(245,249,255,.90); }
.reply-suggestions.reply-inline { border-color: #d4e2f4; background: #fff; }
.reply-suggestions.reply-inline>button:hover { background: #edf4ff; }
#toast { background: #fff; color: #2b466c; border: 1px solid #cddff7; box-shadow: 0 8px 32px rgba(31,70,131,.14); }

/* Alerts retain their existing red/amber/green meanings. */
button.danger, .error { color: var(--red); }
.notification.unread { background: #fffaf9; border-color: #e6cec8; }
.change-highlight.status-success { color: var(--status-green); }
.change-highlight.status-wait { color: var(--status-amber); }
.change-highlight.status-danger { color: var(--status-red); }
.demand-preview .progress-stage { background: transparent; }
.invalid-field { border-color: #c04b58!important; background: #fffdfd!important; }
.notification .unread-badge, .unread-badge { color: #fff; background: #b64245; }

/* Login uses one glass pane with a bounded, quiet blue light behind it. */
.login { position: relative; }
.login h1 { color: #1d3d6c; }
.login .panel {
  border-color: rgba(255,255,255,.95);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255,255,255,.89), rgba(245,250,255,.84));
  box-shadow: inset 0 1px 0 #fff, 0 16px 54px rgba(41,86,154,.10), 0 0 0 1px rgba(184,207,238,.32);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}
.login .panel h2 { color: #2a456e; }

/* Keep filtered layers bounded when sheets open and on smaller devices. */
body:has(dialog[open]) .sidebar, body:has(dialog[open]) .login .panel {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@media(max-width:760px) {
  body { background-attachment: scroll; }
  .sidebar { background: rgba(244,249,255,.92); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 -1px 0 #fff; border-bottom: 1px solid #dce7f6; }
  .mobile-navigation button.active { color: #205bc5; background: #fff; border-color: #d6e5fb; box-shadow: 0 2px 7px rgba(35,84,159,.06); }
  .mobile-more-menu { background: #fafdff; border-color: #d5e3f6; box-shadow: 0 8px 24px rgba(36,76,139,.12); }
  .top { background: transparent; box-shadow: none; }
  .panel:not(.table-wrap), .mobile-project, .mobile-order, .record { border-radius: 12px; }
  .login .panel { border-radius: 17px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  #detail { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .sidebar { background: #f0f6ff; }
  #detail, #leave-confirm, .login .panel { background: #fafdff; }
}
@media(prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .sidebar, #detail, #leave-confirm, .login .panel { -webkit-backdrop-filter:none; backdrop-filter:none; background:#fff; border-color:#b3c7e5; }
  .top, .overview-card, .queue-tabs>button { background:#fff; }
}
@media(prefers-reduced-motion:reduce) {
  button, a, input, select, textarea { transition:none; }
}
@media(forced-colors:active) {
  .sidebar, #detail, #leave-confirm, .login .panel, .nav button.active, button.primary, button.action-accept, .overview-card, .queue-tabs>button {
    background:Canvas; color:CanvasText; border-color:ButtonText; box-shadow:none;
    -webkit-backdrop-filter:none; backdrop-filter:none;
  }
  button.primary, button.action-accept, .nav button.active { background:Highlight; color:HighlightText; }
}

/* Urgency and personal scheduling are separate meanings, not one red state. */
.action-card:where([data-urgency="normal"][data-queue="awaiting"]) {
  background:#f6faff; border-color:#d5e3f7;
}
.notification.unread:where([data-urgency="normal"]) { background:#f6faff; border-color:#d6e4f8; }
.action-card[data-followup="pending"], .notification[data-followup="pending"] {
  background:#fffaf0; border-color:#eadbb7;
}
.action-card[data-urgency="urgent"], .notification[data-urgency="urgent"] {
  background:#fff6f5; border-color:#e9c8c4;
  box-shadow:inset 3px 0 0 #c45b57, 0 3px 16px rgba(119,62,62,.035);
}

.personal-table tr[data-project-state="active"]:has(.priority-dot.priority)>td,
.personal-table tr[data-project-state="active"]:has(.priority-dot.priority)+.personal-actions-row>td,
.personal-cards .mobile-project[data-project-state="active"]:has(.priority-dot.priority) { background:#fff8f7; }
.personal-table tr[data-project-state="active"]:has(.priority-dot.normal)>td,
.personal-table tr[data-project-state="active"]:has(.priority-dot.normal)+.personal-actions-row>td,
.personal-cards .mobile-project[data-project-state="active"]:has(.priority-dot.normal) { background:#fffcf3; }
.personal-table tr[data-project-state="active"]:has(.priority-dot.flexible)>td,
.personal-table tr[data-project-state="active"]:has(.priority-dot.flexible)+.personal-actions-row>td,
.personal-cards .mobile-project[data-project-state="active"]:has(.priority-dot.flexible) { background:#f5fbf7; }
.personal-table tr[data-project-state="active"]:has(.priority-dot.priority)>td:first-child { box-shadow:inset 3px 0 0 #c76561; }
.personal-table tr[data-project-state="active"]:has(.priority-dot.normal)>td:first-child { box-shadow:inset 3px 0 0 #c4a158; }
.personal-table tr[data-project-state="active"]:has(.priority-dot.flexible)>td:first-child { box-shadow:inset 3px 0 0 #65957b; }
.mobile-project[data-project-state="paused"], .mobile-project[data-project-state="cancelled"],
.personal-table tr[data-project-state="paused"]>td, .personal-table tr[data-project-state="cancelled"]>td { background:#f5f7fa; }

.people-account-summary { margin:0 0 16px; padding:12px 15px; border:1px solid #dce7f5; border-radius:11px; background:#f8fbff; }
.people-account-counts { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:6px; color:#4c627f; font-size:14px; }
.people-account-counts strong { font-size:18px; color:#315e9f; margin:0 3px; font-variant-numeric:tabular-nums; }
.people-account-counts button { background:#fff; border-color:#ccdff6; min-height:34px; padding:5px 10px; }
.people-account-counts button.has-pending { background:#fff6e7; border-color:#e8d3aa; color:#805b25; }
.people-account-counts button.has-pending strong { color:#805b25; }
@media(max-width:760px){.people-account-counts{gap:12px}.people-account-summary{padding:11px 12px}}
@media(forced-colors:active){.action-card[data-urgency],.notification[data-urgency],.people-account-summary{background:Canvas;color:CanvasText;border-color:ButtonText;box-shadow:none}}

/* Quiet, continuous header: no opaque white strip behind the signed-in name. */
.top { gap:16px; margin-bottom:24px; min-height:76px; padding:16px 0; }
.current-person { flex:1 1 auto; min-width:0; gap:10px; }
.identity-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border:1px solid rgba(166,192,231,.5); border-radius:50%; color:#376cb8; background:linear-gradient(150deg,rgba(255,255,255,.95),rgba(221,235,255,.7)); box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(64,105,160,.05); }
.identity-avatar .nav-icon { width:18px; height:18px; }
.identity-caption { display:grid; min-width:0; gap:2px; }
.person-context { color:#596d85; font-size:11px; line-height:1.35; letter-spacing:.04em; }
.current-person strong { display:block; font-size:14px; line-height:1.5; font-weight:600; max-width:30em; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.preview-label { flex-shrink:0; font-size:11px; background:rgba(231,240,252,.68); color:#5c728e; border-radius:6px; }
.brand { display:flex; gap:9px; align-items:center; font-size:18px; }
.brand-mark { display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:32px; color:#4276c9; }
.brand-mark .nav-icon { width:22px; height:22px; }
.brand small { font-size:10px; letter-spacing:1px; }
.nav .nav-icon { width:17px; height:17px; flex:0 0 17px; }
.top-actions { flex:0 0 auto; }
.top-actions .message-button { background:rgba(255,255,255,.42); border-color:rgba(187,205,230,.58); border-radius:9px; }
.top-actions .message-button:hover { background:rgba(255,255,255,.85); }
.identity-switch select { background:rgba(255,255,255,.62); border-color:rgba(187,205,230,.62); min-height:35px; }
.nav button { letter-spacing:0; }
button.followup-button, .personal-work-line .work-actions button.pending-followup { background:#fff9ec; border-color:#e6d4aa; color:#805f27; }
button.followup-button:not(.pending-followup) { background:#f6f8fc; border-color:#dce4f0; color:#526884; }
button.pending-followup:hover { background:#fff3d8; border-color:#d5ba7c; color:#73521c; }
.pending-work-actions>button.followup-button:first-child { background:var(--glass-action); color:#fff; border-color:#225ac1; }
button.followup-button[aria-busy="true"] { cursor:progress; opacity:.72; }
.task .work-actions { align-items:center; }
@media (max-width:760px) {
 .brand { gap:7px; }
 .brand-mark { flex-basis:23px; width:23px; height:24px; }
 .brand-mark .nav-icon { width:20px; height:20px; }
 .top { gap:10px; padding:12px 0; margin-bottom:18px; min-height:61px; }
 .top:has(.identity-switch) .current-person { display:flex; }
 .current-person { flex-basis:100%; gap:8px; }
 .identity-avatar { flex-basis:29px; width:29px; height:29px; }
 .current-person strong { font-size:13px; max-width:calc(100vw - 135px); }
 .person-context { display:none; }
 .top-actions { width:100%; flex:1 1 100%; }
 .top-actions .identity-switch { min-width:0; }
}
@media (forced-colors:active) {
 .identity-avatar,button.followup-button,.personal-work-line .work-actions button.pending-followup { background:Canvas; color:CanvasText; border-color:ButtonText; box-shadow:none; }
}

.action-card .action-buttons>button, .action-card .action-buttons button.reminder-button { min-height:34px; height:34px; font-size:13px; line-height:20px; align-items:center; justify-content:center; }

/* White layered glass. Navigation and headings carry the blue; records stay quiet. */
@font-face {
 font-family:'DM Sans'; src:url('/fonts/dm-sans.ttf') format('truetype');
 font-weight:100 1000; font-style:normal; font-display:swap;
}
@font-face {
 font-family:'Space Grotesk'; src:url('/fonts/space-grotesk.ttf') format('truetype');
 font-weight:300 700; font-style:normal; font-display:swap;
}
:root {
 --ui-font:'DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
 --heading-font:'Space Grotesk','DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
 --glass-title:linear-gradient(115deg,#174ba8 0%,#246bd2 55%,#3655b5 100%);
 --glass-action:linear-gradient(115deg,#2465d5 0%,#205bc5 56%,#284caa 100%);
 --glass-hover-icon:#b95114;
 --glass-shadow:0 6px 24px rgba(35,75,134,.055),0 1px 3px rgba(35,75,134,.025);
}
html { background:#fff; }
body {
 font-family:var(--ui-font); background-color:#fff;
 background-image:radial-gradient(ellipse at 0% 0%,rgba(78,137,234,.105),transparent 39%),radial-gradient(ellipse at 95% 0%,rgba(120,171,244,.07),transparent 35%),linear-gradient(165deg,#fff,#fff 60%,#f8fbff);
}
button,input,select,textarea { font-family:inherit; }
h1,h2,h3,.brand,.overview-card strong,.queue-tabs strong { font-family:var(--heading-font); }
.sidebar {
 background:radial-gradient(ellipse at 0 0,rgba(122,172,255,.17),transparent 58%),linear-gradient(165deg,rgba(255,255,255,.9),rgba(233,242,255,.77));
 border-right-color:rgba(170,198,237,.52);
 box-shadow:inset -1px 0 0 rgba(255,255,255,.94),6px 0 26px rgba(40,85,155,.035);
 -webkit-backdrop-filter:blur(18px) saturate(135%); backdrop-filter:blur(18px) saturate(135%);
}
.brand { color:#174ba8; line-height:1.35; }
.brand small { color:#5b6e8d; font-family:var(--ui-font); font-weight:400; }
.brand-mark { color:#2465d5; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(205,225,255,.65)); border:1px solid rgba(255,255,255,.9); border-radius:9px; box-shadow:0 2px 8px rgba(47,101,187,.09); }
.nav-group { color:#5b6e8d; font-size:11px; letter-spacing:.035em; }
.nav button { color:#355f9d; border-radius:10px; transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease; }
.nav .nav-icon,.top-actions .nav-icon,.brand-mark .nav-icon { opacity:1; transition:color .16s ease; }
.nav button:hover { color:#174ba8; background:rgba(255,255,255,.82); border-color:rgba(174,202,242,.65); box-shadow:inset 0 1px 0 #fff; }
.nav button.active,.nav button.active:hover {
 color:#fff; background:var(--glass-action); border-color:rgba(33,86,180,.7);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 5px 14px rgba(35,90,190,.17);
}
.nav button.active::before { background:rgba(255,255,255,.8); }
.nav button.active .nav-icon { color:#fff; }
.nav button:focus-visible { outline:2px solid #205bc5; outline-offset:3px; }
.nav button:focus-visible .nav-icon,.top-actions button:focus-visible .nav-icon { color:var(--glass-hover-icon); }
.nav button.active:focus-visible .nav-icon { color:#ffd0a6; }
@media(hover:hover) and (pointer:fine) {
 .nav button:hover .nav-icon,.top-actions button:hover .nav-icon,.brand:hover .brand-mark { color:var(--glass-hover-icon); }
 .nav button.active:hover .nav-icon { color:#ffd0a6; }
}
.top { border-bottom-color:rgba(185,205,233,.4); }
.top-actions .message-button,.top-actions button.quiet {
 background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(242,247,255,.7)); border-color:#d7e3f4;
 box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(44,85,146,.025);
}
.identity-avatar { color:#205bc5; background:linear-gradient(140deg,#fff,#e5efff); border-color:#d0dff4; }
.panel,.record,.project-table-wrap,.order-desktop,.table-wrap { border-color:#dce6f4; }
.page-head h1,.login>h1 { color:#174ba8; }
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
 .page-head h1,.login>h1,.brand>div,.overview-card strong,.queue-tabs strong {
  background-image:var(--glass-title); -webkit-background-clip:text; background-clip:text; color:transparent;
 }
 .brand small { -webkit-text-fill-color:#5b6e8d; }
}
.overview-card,.queue-tabs>button {
 background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(238,246,255,.72));
 border-color:rgba(194,214,242,.8); box-shadow:inset 0 1px 0 #fff,var(--glass-shadow);
}
.overview-card.selected,.queue-tabs>button.active {
 background:linear-gradient(135deg,#fff,#e5efff); border-color:#90b6ee;
 box-shadow:inset 0 1px 0 #fff,0 4px 17px rgba(43,96,183,.075);
}
.tabs button.active { color:#174ba8; border-bottom-color:#2e6ed3; }
#detail,#leave-confirm { background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(244,249,255,.95)); }
#detail .dialog-head { background:linear-gradient(120deg,#fff,#edf4ff); }
.login .panel { background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(238,246,255,.82)); }
@media(max-width:760px) {
 .sidebar { background:linear-gradient(120deg,#fbfdff,#edf4ff); -webkit-backdrop-filter:none; backdrop-filter:none; }
 .mobile-navigation>button { color:#355f9d; }
 .mobile-navigation button.active { color:#fff; background:var(--glass-action); border-color:#205bc5; box-shadow:inset 0 1px 0 rgba(255,255,255,.32); }
 .mobile-navigation button.active .nav-icon { color:inherit; }
 .mobile-more-menu { background:#fff; }
 .mobile-more-menu>button.active { color:#174ba8; background:#eaf2ff; }
}
@media(max-width:480px) {
 .queue-tabs>button { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:6px; padding:10px 12px; white-space:nowrap; }
 .queue-tabs>button strong { align-self:flex-end; font-size:22px; line-height:1.1; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .sidebar { background:#edf4ff; } }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
 .sidebar,#detail,#leave-confirm,.login .panel { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; }
 .overview-card,.queue-tabs>button { background:#fff; }
 .page-head h1,.login>h1,.brand>div,.overview-card strong,.queue-tabs strong { background-image:none; color:#174ba8; }
}
@media(prefers-reduced-motion:reduce) { .nav button,.nav .nav-icon,.top-actions .nav-icon,.brand-mark .nav-icon { transition:none; } }
@media(forced-colors:active) {
 .page-head h1,.login>h1,.brand>div,.overview-card strong,.queue-tabs strong { background-image:none; color:CanvasText; }
 .brand small { -webkit-text-fill-color:CanvasText; }
 .brand-mark,.top-actions .message-button,.top-actions button.quiet,.sidebar,.overview-card,.queue-tabs>button,#detail,#leave-confirm { background:Canvas; color:CanvasText; border-color:ButtonText; box-shadow:none; }
 .nav button.active,.nav button.active:hover,.mobile-navigation button.active { background:Highlight; color:HighlightText; border-color:Highlight; }
 .nav button.active .nav-icon,.nav button:hover .nav-icon,.nav button:focus-visible .nav-icon { color:inherit; }
}
