/* The same quiet, case-first canvas for clients and administrators. */
.document-mark { display:inline-grid; place-items:center; width:46px; height:54px; border-radius:12px; background:#ECEAF6; color:#625088; font:500 10px/1 var(--font-mono); flex-shrink:0; border:1px solid #16161608; }
.document-mark.workbook { background:#E8F2DF; color:#436739; }
.document-mark.original { background:#E8EEF4; color:#4F657B; }
.simple-case .file-row { margin:8px 0; padding:14px; border:1px solid #E8E8E2; border-radius:16px; background:#FFFFFF; gap:12px; }
.simple-case .file-row:hover { border-color:#C5CBB9; box-shadow:0 4px 16px #16161607; }
.simple-case .file-row .file-remove { grid-column:2/-1; justify-self:end; }
.simple-case .file-name,.preserved-document-card .file-name,.document-search-card .file-name { display:flex; align-items:center; gap:14px; min-width:0; text-align:left; text-decoration:none; color:var(--ink); padding:0; border:0; background:transparent; }
.document-file-copy { display:flex; flex-direction:column; gap:6px; min-width:0; }
.document-file-title { font:500 15px/1.35 var(--font-display); overflow-wrap:anywhere; }
.document-file-type { font:400 12px/1.3 var(--font-display); color:var(--text-secondary); }
.simple-case .group-head { padding:12px 4px; }
.simple-case .group-label { font-size:13px; letter-spacing:0; }
.preserved-library { margin:28px 0; padding:28px; background:#F7F7F3; border:1px solid #ECECE5; border-radius:20px; }
.preserved-document-list { display:grid; gap:12px; margin:20px 0; }
.preserved-document-card { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:20px; padding:18px; background:white; border:1px solid #E8E8E1; border-radius:16px; }
.document-search-card { display:flex; flex-wrap:wrap; align-items:center; gap:16px; background:white; padding:18px; margin:10px 0; border:1px solid #E8E8E1; border-radius:16px; }
dialog.document-dialog { width:min(1180px,calc(100vw - 48px)); max-width:none; max-height:calc(100dvh - 48px); padding:0; border:1px solid #FFFFFF; border-radius:24px; background:#F5F5F1; overflow:auto; }
.document-view-heading { display:flex; align-items:center; gap:18px; padding:24px 28px; background:#FFFFFF; border-bottom:1px solid #E8E8E0; }
.document-view-heading-copy { flex:1; min-width:0; }
.document-view-heading h2 { font:400 25px/1.2 var(--font-display); overflow-wrap:anywhere; }
.document-view-heading p { font-size:13px; color:var(--text-secondary); margin-top:8px; }
.document-view-heading .icon-button { flex-shrink:0; }
.document-view-actions { display:flex; flex-wrap:wrap; gap:10px; padding:16px 28px; background:#FFFFFF; }
.document-dialog .button { font:500 15px/1.2 var(--font-display); text-transform:none; letter-spacing:0; min-height:48px; }
body:has(.document-dialog[open]) { overflow:hidden; }
.document-view-body { padding:24px 28px; min-height:260px; }
.document-facts { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.document-fact { padding:7px 12px; border-radius:100px; background:white; border:1px solid #E6E6DE; color:var(--text-secondary); font-size:12px; }
.sheet-tabs { display:flex; gap:6px; overflow-x:auto; padding:8px 8px 0; background:#EAECE3; border:1px solid #DDDFD3; border-bottom:0; border-radius:14px 14px 0 0; }
.sheet-tab { min-height:44px; padding:10px 18px; border:0; background:transparent; white-space:nowrap; color:var(--text-secondary); border-radius:9px 9px 0 0; font:500 13px/1.4 var(--font-display); }
.sheet-tab[aria-selected=true] { background:white; color:#355427; box-shadow:0 -2px 0 #91AB73; }
.sheet-panel { overflow:auto; max-height:56dvh; border:1px solid #DDDFD3; border-radius:0 0 14px 14px; background:white; }
.workbook-table { border-collapse:separate; border-spacing:0; font:13px/1.5 var(--font-display); width:100%; }
.workbook-table th,.workbook-table td { padding:10px 14px; min-width:130px; max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border-right:1px solid #EEEEEA; border-bottom:1px solid #EEEEEA; text-align:left; }
.workbook-table thead th { position:sticky; top:0; background:#EFF2E9; color:#62734F; font:11px/1.5 var(--font-mono); text-align:center; z-index:1; }
.workbook-table thead th:first-child { width:44px; min-width:44px; max-width:44px; }
.workbook-table tbody th { position:sticky; left:0; min-width:44px; background:#F5F6F0; color:var(--text-secondary); font:11px/1.5 var(--font-mono); }
.workbook-table tbody tr:nth-child(even) td { background:#FAFBF7; }
.document-reading { display:grid; gap:20px; max-height:58dvh; overflow:auto; padding:8px; }
.document-paper { background:white; border:1px solid #E8E7DE; border-radius:6px; padding:clamp(24px,5vw,64px); box-shadow:0 6px 18px #16161607; max-width:780px; width:100%; margin:auto; }
.document-paragraph { font:400 16px/1.85 var(--font-display); color:#343434; margin:18px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.preview-note { margin:18px 0 0; font-size:12px; line-height:1.65; color:var(--text-secondary); }
.document-cover { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; padding:56px 24px; background:#FFFFFF; border:1px solid #E7E7DF; border-radius:18px; text-align:center; }
.document-cover .document-mark { width:80px; height:96px; font-size:16px; border-radius:16px; }
.document-cover p { max-width:420px; line-height:1.7; color:var(--text-secondary); }
.preview-empty,.preview-loading { padding:24px; color:var(--text-secondary); line-height:1.7; }
@media(max-width:600px) { dialog.document-dialog { width:calc(100vw - 16px); max-height:calc(100dvh - 16px); border-radius:18px; } .document-view-heading { padding:18px; gap:12px; } .document-view-heading h2 { font-size:19px; } .document-view-heading .document-mark { width:38px; height:46px; font-size:9px; } .document-view-actions,.document-view-body { padding:16px; } .preserved-library { padding:18px; } .preserved-document-card { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:14px; } .preserved-document-card > button:last-child { grid-column:1/-1; text-align:left; } .simple-case .file-row { padding:12px; gap:8px; } .simple-case .file-name .document-mark { width:36px; height:44px; font-size:8px; } }
.cases-page, .simple-case { margin:28px auto; padding:44px; max-width:1380px; min-height:calc(100vh - 160px); background:rgba(255,255,255,.94); border:1px solid rgba(255,255,255,.9); border-radius:28px; box-shadow:0 12px 40px #16161605; }
.sidebar-product { display:block; margin:16px 14px 0; font-size:21px; letter-spacing:-.03em; }
.has-sidebar .sidebar-brand { margin-top:26px; }
.has-sidebar .sidebar::before { height:190px; opacity:.65; background-position:center top; }
.has-sidebar .client-block { margin-top:28px; padding:4px 14px; background:transparent; color:var(--text-secondary); font-size:10px; }
.has-sidebar .sidebar-nav { margin-top:32px; }
.has-sidebar .nav-item.active { background:var(--accent-neon); box-shadow:none; }
.cases-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin:4px 0 36px; }
.cases-heading h1 { margin:14px 0; font-size:clamp(34px,4.5vw,50px); font-weight:300; line-height:1.05; letter-spacing:-.035em; overflow-wrap:anywhere; }
.cases-heading p { color:var(--text-secondary); line-height:1.6; max-width:620px; }
.cases-heading .eyebrow { font:11px/1.5 var(--font-mono); letter-spacing:.08em; }
.cases-heading > .button { flex-shrink:0; margin-top:26px; gap:10px; }
.cases-explainer { display:flex; align-items:center; gap:16px; padding:20px 24px; background:#F6F6F1; border-radius:18px; margin:0 0 30px; }
.cases-explainer p { margin:0; font-size:15px; line-height:1.6; color:var(--text-secondary); }
.cases-explainer strong { color:var(--ink); font-weight:500; }
.little-plus { flex-shrink:0; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--accent-neon); font-size:24px; }
.case-search { display:flex; gap:12px; align-items:center; margin-bottom:32px; }
.case-search input { width:auto; flex:1; min-width:0; max-width:620px; min-height:48px; padding:12px 22px; background:#F5F5F1; border:1px solid #E7E7E1; border-radius:100px; }
.case-list-heading { display:flex; justify-content:space-between; gap:16px; margin-bottom:8px; color:var(--text-secondary); font:11px/1.5 var(--font-mono); }
.workspace-cases-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:20px; border-bottom:1px solid #E9E9E3; }
.workspace-cases-heading h2 { margin:0 0 8px; font-size:28px; font-weight:300; letter-spacing:-.02em; }
.workspace-cases-heading p { margin:0; color:var(--text-secondary); font-size:14px; line-height:1.6; }
.workspace-case-explainer { margin-top:32px; }
.case-row { display:flex; align-items:center; gap:20px; min-height:112px; padding:24px 12px; border-bottom:1px solid #E9E9E3; color:var(--ink); text-decoration:none; border-radius:12px; transition:background .16s; }
.case-row:hover { background:#F8F8F4; }
.case-row-copy { flex:1; min-width:0; }
.case-row-copy strong { display:block; font-size:22px; font-weight:400; line-height:1.3; letter-spacing:-.02em; overflow-wrap:anywhere; }
.case-row-copy > span { display:block; margin-top:8px; font-size:13px; color:var(--text-secondary); overflow-wrap:anywhere; }
.case-open { display:flex; gap:16px; align-items:center; font-size:14px; flex-shrink:0; min-height:44px; }
.case-open > span { font-size:20px; }
.case-glyph, .person-avatar { display:grid; place-items:center; width:52px; height:52px; flex-shrink:0; border-radius:16px; background:#F0F0E9; }
.case-glyph svg { width:24px; height:24px; fill:none; stroke:var(--ink); stroke-width:1.3; stroke-linejoin:round; }
.person-avatar { background:#EAE8F1; font-size:22px; }
.user-state, .case-tag { border-radius:100px; background:#EFEFE9; font-size:12px; padding:8px 14px; white-space:nowrap; }
.case-next { margin-top:24px; }
.case-no-results { padding:48px 16px; text-align:center; }
.case-no-results h2 { font-size:24px; font-weight:400; }
.case-no-results p { color:var(--text-secondary); line-height:1.6; }
.cases-empty { max-width:720px; margin:56px auto 20px; padding:52px 60px 48px; text-align:center; border-radius:28px; background:radial-gradient(ellipse at 50% 0%, #F0EFDD, transparent 65%),#F8F8F4; }
.empty-orbit { display:grid; place-items:center; width:88px; height:88px; margin:0 auto 28px; border:1px solid #DCDDD2; border-radius:50%; box-shadow:0 0 0 12px #F3F3EA; }
.empty-orbit > span { display:grid; place-items:center; width:50px; height:50px; border-radius:50%; font-size:32px; background:var(--accent-neon); }
.cases-empty h2 { font-size:clamp(28px,3vw,38px); font-weight:300; letter-spacing:-.03em; margin:18px 0; }
.cases-empty > p:not(.eyebrow) { max-width:460px; margin:0 auto 28px; color:var(--text-secondary); line-height:1.7; }
.empty-footnote { display:block; margin-top:22px; color:var(--text-secondary); font-size:13px; line-height:1.6; }
.new-case-dialog { width:min(560px,calc(100vw - 32px)); border:1px solid #fff; padding:32px; border-radius:24px; box-shadow:0 30px 100px #16161630; }
.new-case-dialog h2 { font-size:32px; font-weight:300; }
.new-case-dialog p { line-height:1.6; }
.new-case-dialog input, .new-case-dialog select { margin-top:10px; min-height:48px; }
.case-back { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--text-secondary); text-decoration:none; }
.case-back:hover { color:var(--ink); text-decoration:underline; }
.simple-case .case-heading { margin:20px 0 24px; }
.simple-case .case-heading h1 { font-weight:300; font-size:clamp(30px,4vw,44px); line-height:1.12; letter-spacing:-.035em; margin:10px 0 12px; }
.simple-case .case-heading > p:last-child { color:var(--text-secondary); font-size:16px; }
.case-introduction { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 32px; padding-bottom:26px; border-bottom:1px solid #E9E9E3; }
.case-introduction p { margin:0; max-width:660px; color:var(--text-secondary); font-size:15px; line-height:1.6; }
.case-introduction strong { font-weight:500; color:var(--ink); }
.case-document-tools { display:flex; gap:16px; align-items:center; justify-content:space-between; margin:0 0 26px; }
.case-document-tools .search-field { max-width:420px; flex:1; min-width:0; }
.case-document-tools input { min-height:46px; border-radius:100px; background:#F6F6F2; border-color:#E7E7E1; padding:12px 18px; width:100%; }
.simple-case .intake-columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.simple-case .intake-column { background:#F8F8F4; border:1px solid #E1E1D8; border-radius:24px; padding:24px; min-width:0; position:relative; box-shadow:none; }
.simple-case .column-head { align-items:flex-start; gap:12px; }
.simple-case .column-head > div { min-width:0; }
.simple-case .column-title { text-transform:none; font:300 26px/1.2 var(--font-display); letter-spacing:-.03em; }
.simple-case .column-intro { min-height:0; font-size:13px; line-height:1.6; color:var(--text-secondary); margin:16px 0 22px; }
.simple-case .count-pill { font:12px/1.5 var(--font-display); margin-top:8px; padding:4px 10px; }
.simple-case .column-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px 16px; min-height:208px; border:1px dashed #C8C9BE; border-radius:18px; background:transparent; text-align:center; gap:12px; }
.simple-case .column-drop strong { visibility:visible; font:400 18px/1.4 var(--font-display); }
.simple-case .column-drop strong::after { content:none; }
.simple-case .column-drop .drop-sub { font:14px/1.6 var(--font-display); width:100%; }
.simple-case .column-drop .drop-fine { display:block; font:12px/1.65 var(--font-display); text-transform:none; letter-spacing:0; color:var(--text-secondary); }
.simple-case .column-drop .drop-mark { width:40px; height:40px; margin:0 auto; background:#EBECE2; border-radius:50%; display:grid; place-items:center; }
.simple-case .column-drop.is-compact { display:block; min-height:70px; padding:16px; text-align:center; }
.simple-case .column-drop.is-compact .drop-mark, .simple-case .column-drop.is-compact .drop-fine { display:none; }
.simple-case .column-drop.is-compact strong { display:none; }
.simple-case .column-drop.is-compact .drop-sub { font-size:12px; }
.simple-case .guidance-trigger { font:13px/1.5 var(--font-display); letter-spacing:0; text-transform:none; margin-top:20px; min-height:44px; }
.cases-page .button, .simple-case .button, .new-case-dialog .button { font:500 15px/1.2 var(--font-display); text-transform:none; letter-spacing:0; min-height:48px; }
.simple-case [data-case-refresh] { font:13px/1.5 var(--font-display); text-transform:none; letter-spacing:0; }
.skip-link:not(:focus-visible) { clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
.add-source { position:relative; flex-shrink:0; z-index:5; }
.add-source[open] { z-index:20; }
.add-source-trigger { width:44px; height:44px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; cursor:pointer; list-style:none; }
.add-source-trigger::-webkit-details-marker { display:none; }
.add-source-trigger > span { font:300 30px/1 var(--font-display); margin-top:-3px; }
.add-source-trigger:hover { background:#373737; }
.add-source-menu { position:absolute; right:0; top:54px; width:330px; max-width:calc(100vw - 60px); padding:12px; background:#fff; border:1px solid #E6E6DF; border-radius:20px; box-shadow:0 16px 52px #16161620; }
.add-source-menu .eyebrow { font-size:10px; margin:8px 12px 12px; color:var(--text-secondary); }
.add-source-menu button, .source-unavailable { display:flex; align-items:center; gap:14px; width:100%; min-height:64px; padding:12px; border:0; border-radius:12px; background:transparent; color:var(--ink); text-align:left; font:inherit; }
.add-source-menu button:hover { background:#F5F5ED; }
.add-source-menu strong { display:block; font-size:15px; font-weight:500; }
.add-source-menu small { display:block; font-size:12px; line-height:1.5; color:var(--text-secondary); margin-top:3px; }
.source-option-icon { flex-shrink:0; width:28px; font-size:23px; text-align:center; }
.source-unavailable { border-top:1px solid #ECECE6; border-radius:0; margin-top:5px; }
.source-unavailable strong { color:var(--text-secondary); }
.admin-viewing { display:flex; gap:14px; align-items:center; justify-content:space-between; padding:14px 18px; background:#EDECF6; border-radius:14px; margin-bottom:16px; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.admin-viewing a { flex-shrink:0; color:var(--ink); }
.case-history { margin-top:28px; border-top:1px solid #E7E7E0; padding:16px 0 0; }
.case-history > summary { cursor:pointer; padding:12px 0; font-size:15px; color:var(--text-secondary); }
.case-history .case-context { margin-top:8px; background:#F8F8F4; border:0; }
.simple-case .archive-uploads { margin-top:20px; padding-top:20px; border-top:1px solid #E3E3DB; }
.simple-case .archive-uploads > h3 { font-size:15px; font-weight:400; }
.simple-case .archive-row > summary { font-size:14px; overflow-wrap:anywhere; }
.archive-summary-state { display:block; margin:8px 0 0 18px; color:var(--text-secondary); font-size:12px; font-weight:400; }
@media (max-width:1200px) { .cases-page,.simple-case { padding:30px; } .simple-case .intake-columns { gap:16px; } .simple-case .intake-column { padding:20px; } }
@media (max-width:780px) {
  .cases-page,.simple-case { margin:12px auto; padding:24px; min-height:calc(100vh - 130px); border-radius:22px; }
  .simple-case .intake-columns { grid-template-columns:minmax(0,1fr); }
  .cases-heading { flex-wrap:wrap; margin-bottom:24px; gap:12px; }
  .cases-heading > .button { margin-top:0; }
  .cases-empty { padding:36px 22px; margin-top:26px; }
  .case-introduction { flex-wrap:wrap; gap:14px; }
  .case-row { gap:14px; padding:20px 4px; }
  .case-row-copy strong { font-size:19px; }
  .case-glyph,.person-avatar { width:42px; height:42px; border-radius:13px; }
  .case-open { font-size:12px; gap:8px; }
  .cases-explainer { padding:18px; align-items:flex-start; }
  .cases-explainer p { font-size:13px; }
  .user-state { display:none; }
  .admin-viewing { flex-wrap:wrap; }
}
@media (max-width:440px) {
  .cases-page,.simple-case { padding:22px 18px; }
  .case-row { flex-wrap:wrap; }
  .case-open { margin-left:56px; margin-top:-10px; }
  .case-search { flex-wrap:wrap; }
  .case-search input { flex-basis:65%; }
  .new-case-dialog { padding:24px; }
  .simple-case .intake-column { padding:18px; }
  .case-tag { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .case-row { transition:none; } }

/* A full-window workspace; browser chrome remains available and native. */
.app-canvas.has-sidebar { margin:0; min-height:100dvh; border-radius:0; box-shadow:none; overflow:visible; }
.app-canvas.has-sidebar .sidebar { position:fixed; inset:0 auto 0 0; width:224px; padding:24px 16px; border:0; border-right:1px solid #FFFFFF90; border-radius:0; box-shadow:none; overflow:auto; }
.app-canvas.has-sidebar .sidebar-inner { position:static; min-height:calc(100dvh - 48px); }
.app-canvas.has-sidebar .sidebar-brand { margin-top:156px; }
.app-canvas.has-sidebar .app-main { margin-left:224px; padding:0 24px 24px; }
.has-sidebar .cases-page,.has-sidebar .simple-case { max-width:none; min-height:calc(100dvh - 104px); margin:0; padding:32px; border-radius:22px; }
.workspace-browser { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:72px; padding:12px 0; }
.browser-navigation,.browser-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.chrome-button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:12px; background:transparent; color:var(--ink); font:22px/1 var(--font-display); }
.chrome-button:hover { background:#FFFFFFB0; }
.chrome-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.chrome-divider { height:20px; width:1px; margin:0 6px; background:#16161620; }
.browser-location { display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; color:var(--text-secondary); font-size:13px; text-decoration:none; }
.browser-location > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.browser-brand { display:none; flex-shrink:0; }
.location-dot { width:7px; height:7px; background:#6C7D43; border-radius:50%; flex-shrink:0; }
.command-trigger { display:flex; align-items:center; gap:24px; min-height:44px; padding:8px 14px; border:1px solid #FFFFFF90; border-radius:12px; background:#FFFFFF70; color:var(--text-secondary); font:13px/1.4 var(--font-display); }
kbd { font:11px/1.4 var(--font-mono); background:#F3F3EF; border:1px solid #DDDDD5; border-radius:5px; padding:3px 6px; white-space:nowrap; }
.sidebar-shortcuts { display:flex; justify-content:space-between; align-items:center; min-height:44px; padding:8px 14px; border:0; background:transparent; color:var(--text-secondary); font:12px/1.5 var(--font-display); text-align:left; }
.current-case { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:36px; margin:28px 0; border:1px solid #DFE3CB; border-radius:24px; background:radial-gradient(ellipse at top right,#F0F3D7,transparent 65%),#F8F8F3; }
.current-case .eyebrow { font:11px/1.5 var(--font-mono); color:var(--text-secondary); }
.current-case h2 { font:300 clamp(24px,3vw,34px)/1.2 var(--font-display); letter-spacing:-.03em; margin:16px 0 12px; overflow-wrap:anywhere; }
.current-case > div { min-width:0; }
.current-case > div > p:last-child { color:var(--text-secondary); font-size:14px; }
.current-case > .button { flex-shrink:0; }
.workspace-history-note { color:var(--text-secondary); font-size:14px; line-height:1.6; }
.admin-tabs { display:flex; gap:12px; border-bottom:1px solid #E2E2DB; margin:0 0 28px; }
.admin-tabs a { display:flex; align-items:center; min-height:48px; padding:10px 18px; border-bottom:2px solid transparent; text-decoration:none; font-size:14px; color:var(--text-secondary); }
.admin-tabs a[aria-current] { border-bottom-color:var(--ink); color:var(--ink); }
.command-dialog { width:min(600px,calc(100vw - 32px)); max-height:min(680px,calc(100dvh - 48px)); border:1px solid #FFFFFFD0; border-radius:24px; padding:24px; box-shadow:0 30px 100px #16161640; overflow:auto; }
.command-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px; }
.command-heading h2 { font:400 22px/1.3 var(--font-display); letter-spacing:-.02em; }
.command-dialog input { min-height:50px; background:#F6F6F2; border-radius:12px; padding:12px 16px; border:1px solid #DDDDD5; }
.command-instructions { color:var(--text-secondary); font-size:12px; margin:12px 0; }
.command-options { display:flex; flex-direction:column; gap:4px; }
.command-options > a,.command-options > button { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; width:100%; min-height:64px; border:0; border-radius:12px; padding:12px 16px; background:transparent; color:var(--ink); font:15px/1.4 var(--font-display); text-align:left; text-decoration:none; }
.command-options > a:hover,.command-options > button:hover,.command-options > a:focus-visible,.command-options > button:focus-visible { background:#EFF3DA; }
.command-options small { color:var(--text-secondary); font-size:12px; }
.command-empty { padding:24px 12px; color:var(--text-secondary); font-size:14px; }
.shortcuts-dialog { width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); overflow:auto; padding:28px; border:1px solid #fff; border-radius:24px; }
.shortcuts-dialog h2 { font:300 28px/1.2 var(--font-display); }
.shortcuts-dialog > p { font-size:14px; color:var(--text-secondary); line-height:1.6; }
.shortcut-list { margin:20px 0; }
.shortcut-list > div { display:flex; gap:20px; justify-content:space-between; align-items:center; padding:15px 0; border-bottom:1px solid #E5E5DE; font-size:14px; }
.shortcut-list dd { margin:0; }
@media (min-width:1024px) { body.focus-mode .sidebar { display:none; } body.focus-mode .has-sidebar .app-main { margin-left:0; } }
@media (max-width:1023px) {
  .app-canvas.has-sidebar .sidebar { z-index:40; width:min(300px,88vw); background:#F2F1EE; }
  .app-canvas.has-sidebar .app-main { margin-left:0; padding:0 18px 18px; }
  .has-sidebar .cases-page,.has-sidebar .simple-case { padding:28px; }
  .chrome-sidebar,.chrome-divider { display:none; }
  .workspace-browser .mobile-bar { padding:0; margin:0; flex-shrink:0; }
  .browser-brand { display:block; }
  .browser-location .location-dot { display:none; }
  .workspace-browser { min-height:60px; padding:4px 0 10px; }
  .browser-location { justify-content:flex-start; flex:1; }
  .browser-actions { margin-left:auto; }
}
@media (max-width:600px) {
  .app-canvas.has-sidebar .app-main { padding:0 12px 12px; }
  .has-sidebar .cases-page,.has-sidebar .simple-case { padding:24px 20px; border-radius:20px; }
  .browser-navigation { gap:0; }
  .browser-navigation .chrome-button { width:44px; height:44px; }
  .workspace-browser { gap:8px; }
  .browser-location { font-size:12px; }
  .command-trigger { padding:8px 12px; gap:0; }
  .command-trigger > span { font-size:0; }
  .command-trigger > span::after { content:'⌕'; font:24px/1 var(--font-display); }
  .command-trigger kbd,.browser-actions > [data-fullscreen] { display:none; }
  .current-case { flex-direction:column; align-items:flex-start; padding:24px; gap:24px; }
  .current-case > .button { width:100%; }
  .cases-empty { margin-top:28px; }
  .command-dialog { padding:18px; }
  .command-heading h2 { font-size:20px; }
}
@media (max-width:440px) { .browser-location { justify-content:center; } .browser-location > span:last-child { display:none; } }
