/* Shared visual layer. Keep calculation tables and dark result panels scoped. */
:root{
  --ink:#172c43;
  --text:var(--ink);
  --muted:#526473;
  --accent:#12676d;
  --accent-dark:#17364d;
  --warm:#8b5c16;
  --danger:#9d3535;
  --bg:#f6f7f4;
  --paper:#fff;
  --soft:#e7f1f1;
  --warm-bg:#fff4dc;
  --line:#d5dfe4;
  --field-line:#7c909f;
  --sticky-clearance:112px;
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
}
body{font-size:16px;line-height:1.6;background:var(--bg)}
.header{background:#fff;border-bottom-color:var(--line);box-shadow:0 2px 14px #17364d06}
.header-inner{max-width:1240px;min-height:88px;padding:16px 32px;gap:24px}
.brand-name strong{font-size:26px;color:var(--ink);letter-spacing:-.7px}
.brand-name>span{font-size:11px;color:var(--muted)}
.header-tools{gap:16px}
.header-search{min-height:44px;background:var(--bg);border-color:#c6d4dc;border-radius:8px;font-size:13px;padding:10px 13px}
.header-search kbd{font-size:11px;background:#fff;color:var(--muted)}
.header-legal-notice{min-height:44px;background:var(--warm-bg);border-color:#d4b77c;color:#70470f;font-size:13px}
.version{font-size:12px;color:var(--muted)}
.wrap{max-width:1240px}
.view,.view h1,.view h2,.knowledge-card,.sentence-scope,.sentence-resources,.site-footer>.legal-notice{scroll-margin-top:var(--sticky-clearance)}
.app-navigation{border-color:var(--line);border-radius:15px;box-shadow:0 4px 16px #17364d04}
.navigation-home-row{padding:10px 16px;background:#fff}
.navigation-home-row .navigation-shortcuts>button{font-size:13px;min-height:44px;border-radius:8px}
.navigation-home-row .navigation-shortcuts>button>span{font-size:13px}
.navigation-home-row .navigation-shortcuts>button:hover,.navigation-page-group>button:hover{background:#edf4f4;color:var(--accent)}
.navigation-home-row .navigation-shortcuts>button[aria-pressed=true],.navigation-page-group>button[aria-pressed=true]{background:var(--soft);border-color:#bad3d5;color:var(--accent-dark)}
#navigation-context{font-size:12px}
.navigation-groups{background:#eef2f3;border-color:var(--line);padding:7px;gap:6px}
.navigation-group{padding:13px 14px}
.navigation-group strong{font-size:15px}
.navigation-group>span{font-size:12px;line-height:1.5}
.navigation-group:hover{background:#e1ecee;color:var(--accent-dark)}
.navigation-group[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}
.navigation-group[aria-pressed=true]>span{color:#edf7f7}
.navigation-page-group{padding:12px 15px;gap:7px}
.navigation-page-group>button{font-size:13px;min-height:44px;padding:10px 12px}
.button{font-size:14px;line-height:1.45;min-height:44px;padding:11px 17px;border-radius:8px;background:var(--accent);border-color:var(--accent);color:#fff}
.button.secondary{background:#fff;border-color:#aebfc9;color:var(--accent-dark)}
.button:hover:not(:disabled){background:#0d575d;border-color:#0d575d}
.button.secondary:hover:not(:disabled){background:var(--soft);border-color:#8eafb6;color:var(--accent-dark)}
.text-button{font-size:13px;line-height:1.65;text-underline-offset:4px}
.panel{border-color:var(--line);box-shadow:0 3px 14px #17364d03}
.eyebrow{font-size:11px;letter-spacing:1.4px}
.section-top h2{font-size:24px;line-height:1.35;letter-spacing:-.45px}
.section-top p,.intro p{font-size:14px;line-height:1.8}

/* Labels and editable fields, without resizing dense result tables. */
.view .field,.workfile-dialog .field,.cp-dialog .field,.dc-field,.dc-dialog .dc-field,.wo-field{font-size:13px;line-height:1.75}
.view .field small,.workfile-dialog .field small,.body-note,.footnote,.quantity-note p,.method-note,.knowledge-search-help,.empty-hint{font-size:12px;line-height:1.8}
.view .field input:not([type=checkbox]):not([type=radio]),.view .field select,.view .field textarea,
.workfile-dialog input:not([type=checkbox]):not([type=radio]),.workfile-dialog select,.workfile-dialog textarea,
.cp-dialog input:not([type=checkbox]),.cp-dialog select,.dc-field input,.dc-field select,.dc-field textarea,.dc-dialog input:not([type=checkbox]),.dc-dialog select,
.wo-field input,.wo-field select{font-size:15px;line-height:1.65;min-height:46px;border-color:var(--field-line);color:var(--ink);border-radius:7px}
.view .check,.workfile-dialog .check{font-size:13px;line-height:1.8}
.field input[type=checkbox],.field input[type=radio],.check input{accent-color:var(--accent)}
.result-error{color:var(--danger);font-size:13px;line-height:1.8}
.receipt-head{background:var(--accent-dark)}
.receipt-head .sub{font-size:12px;color:#d9e5ed;line-height:1.8}
.receipt-head .eyebrow{color:#d9e5ed}
.receipt-row.zero{color:var(--muted)}
.receipt-row small,.math-note,.receipt-choices{font-size:11px;line-height:1.8}

/* One home composition: navy workspace hero, saved-work summary, tool cards. */
#workspace-home .desk-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:42px;padding:39px 40px;margin:12px 0 28px;background:var(--accent-dark);color:#fff;border:1px solid #17364d;border-radius:18px}
.desk-hero .desk-hero-copy>.eyebrow{color:#f0cc86;font-size:11px;line-height:1.6;letter-spacing:1.6px;margin:0 0 17px}
#workspace-home .desk-hero h1{font-size:43px;font-weight:600;letter-spacing:-1.3px;line-height:1.16;margin:0 0 19px;color:#fff}
#workspace-home .desk-hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.9;max-width:520px;color:#e2ebf0;margin:0}
.desk-hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:25px}
.desk-hero-actions>.button{background:#fff;color:var(--accent-dark);border-color:#fff}
.desk-hero-actions>.button:hover{background:#e7f1f1;color:var(--accent-dark);border-color:#e7f1f1}
.desk-hero-actions>.text-button{color:#fff;font-size:13px}
.desk-hero-search{min-width:0;padding:25px;background:#ffffff09;border:1px solid #ffffff29;border-radius:13px}
.desk-hero-label{display:block;font-size:11px;line-height:1.6;letter-spacing:1.2px;color:#d6e5ed;margin-bottom:14px}
.desk-hero .desk-search{padding:19px 17px;border-radius:9px;gap:12px;border-color:#fff;box-shadow:none;background:#fff;color:var(--ink)}
.desk-hero .desk-search:hover{background:#f3f8f8;border-color:#bbdbdf;box-shadow:none}
.desk-hero .desk-search strong{font-size:15px;line-height:1.6}
.desk-hero .desk-search small{font-size:12px;line-height:1.7;color:var(--muted)}
.desk-hero .desk-search .search-key{font-size:10px;color:var(--muted);padding:4px;align-self:flex-start;margin-left:auto}
#workspace-home .desk-hero-search>p{font-size:12px;line-height:1.8;color:#d7e5ed;margin:14px 0 0}
.desk-hero-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}
.desk-hero-shortcuts>button{border:1px solid #ffffff57;border-radius:6px;background:#ffffff09;color:#fff;padding:8px 10px;min-height:40px;font-size:12px;line-height:1.6}
.desk-hero-shortcuts>button:hover{background:#ffffff18;border-color:#ffffff8c}
.desk-workspace-section,.desk-quick-section{margin:31px 0}
.desk-section-heading{padding:7px 0 17px;align-items:baseline}
.desk-section-heading h2{font-size:23px;line-height:1.4;color:var(--ink);letter-spacing:-.4px}
.desk-section-heading>span{font-size:12px;line-height:1.7;color:var(--muted)}
.desk-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:stretch}
.desk-feature{display:flex;align-items:flex-start;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 24px}
.desk-feature-primary{background:var(--soft);border-color:#bfd5d8}
.desk-feature>.eyebrow{font-size:10px;color:var(--accent);letter-spacing:1.2px;margin:0 0 13px;line-height:1.7}
.desk-feature h3{font-size:21px;line-height:1.5;color:var(--ink);letter-spacing:-.35px;margin:0 0 13px}
.desk-feature p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 21px}
.desk-feature>.button,.desk-feature>.text-button{margin-top:auto;font-size:13px}
.desk-feature-tags{display:flex;gap:7px;flex-wrap:wrap;margin:-3px 0 24px}
.desk-feature-tags>span{font-size:11px;line-height:1.7;color:var(--accent-dark);padding:4px 8px;background:#fff;border:1px solid #c1d7da;border-radius:5px}
.desk-tools{gap:16px}
.desk-tool{min-height:150px;padding:24px 21px;border-color:var(--line);border-radius:11px;box-shadow:0 2px 12px #17364d03;transition:none}
.desk-tool:hover{background:#fafdfe;border-color:#729da7;transform:none}
.desk-tool-icon{width:39px;height:39px;background:var(--soft);color:var(--accent);border-radius:9px}
.desk-tool strong{font-size:16px;line-height:1.6;color:var(--ink);margin:1px 0 8px}
.desk-tool small{font-size:13px;line-height:1.8;color:var(--muted)}
.desk-tool-arrow{color:var(--accent);font-size:18px}
.desk-support{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;padding:0;margin:34px 0 10px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.desk-support>section{min-width:0;padding:28px}
.desk-support .eyebrow{font-size:11px;color:var(--warm)}
.desk-support h2{font-size:24px;line-height:1.45;color:var(--ink)}
.desk-support p{font-size:14px;line-height:1.85;color:var(--muted)}
.desk-reference{border-left:1px solid var(--line);background:#f9faf8}
.desk-reference h3{font-size:16px;color:var(--ink);margin-bottom:15px}
.desk-reference dl>div{font-size:12px;line-height:1.7;margin:10px 0}
.desk-reference p{font-size:12px;margin-top:15px}
.desk-reference .text-button{font-size:13px}

/* Saved-work surfaces and long-form source reading. */
.wf-editor,.wf-library,.cp-row,.cp-totals article,.dc-card,.wo-section{border-color:var(--line);box-shadow:0 3px 15px #17364d03}
.wf-heading h2,.cp-heading h2,.dc-heading h2,.wo-heading h2{font-size:32px;color:var(--ink);line-height:1.35}
.wf-heading p,.cp-heading p,.dc-heading p,.wo-heading p{font-size:14px;line-height:1.85}
.wf-local-note,.cp-local,.dc-local,.wo-local{background:#edf4f4;border-color:#c7dadd}
.wf-local-note p,.cp-local p,.dc-local p,.wo-local p{font-size:13px;line-height:1.85;color:var(--muted)}
.wf-file strong{font-size:15px;color:var(--ink)}
.wf-file small,.wf-file-top>span:last-child{font-size:12px;line-height:1.8}
.wf-file[aria-pressed=true]{background:var(--soft);box-shadow:inset 3px 0 var(--accent)}
.wf-file:hover{background:#f0f6f7}
#workfiles-app .button,#workfiles-app .text-button,.workfile-dialog .button,.workfile-dialog .text-button{font-size:13px}
.wf-dialog-head h2{color:var(--ink);font-size:25px}
.wf-dialog-intro,.wf-destination{font-size:14px;line-height:1.85}
.wf-item-heading h4,.wf-task h4,.wf-event h5{font-size:16px;color:var(--ink);line-height:1.8}
.wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.cp-source pre,.cp-transfer-report pre,.wo-task-notes p{font-size:14px;line-height:1.9;color:var(--ink)}
.wf-item-content summary,.wf-task-notes summary,.wf-event-body summary,.dc-explanation>summary,.wo-task-notes summary{font-size:13px;line-height:1.8}
.wf-muted,.wf-snapshot-note,.wf-task-scope,.wf-chronology-scope,.wf-task-help,.wf-event-date-help,.wf-task-date,.wf-item-date,.wf-event-date>span,.wf-chronology-export p,.wf-chronology-count p,.wf-tasks-heading p,.wf-chronology-heading p{font-size:12px;line-height:1.85}
.wf-tasks,.wf-chronology{background:#f5f8f7;border-color:#cbdadd}
.wf-task,.wf-event{background:#fff;border-color:#d4e0e2}
.wf-tasks-heading h3,.wf-chronology-heading h3,.wf-items-heading h3{font-size:21px;color:var(--ink);line-height:1.45}
.wf-task-status,.wf-type,.wf-event-date>.wf-event-unknown,.dc-category,.dc-citation,.dc-snapshot,.dc-position{font-size:12px;line-height:1.8}
.wf-task-status-doing{background:#fff1d9;color:#765016}
.wf-task-status-done{background:var(--soft);color:var(--accent-dark)}
.wf-task-filters>.text-button[aria-pressed=true],.wf-task-state-actions .text-button[aria-pressed=true]{background:var(--soft);border-color:#bfd5d8;color:var(--accent-dark)}
.wf-task-filters>span{font-size:12px;line-height:1.8}
.wf-task-progress progress{accent-color:var(--accent);background:#dbe7e9}
.wf-task-progress progress::-webkit-progress-bar{background:#dbe7e9}
.wf-task-progress progress::-webkit-progress-value{background:var(--accent)}
.wf-task-progress progress::-moz-progress-bar{background:var(--accent)}
.wf-task-progress span{font-size:12px}
.wf-event-group>h4{font-size:14px}
.wf-event-date>time{font-size:18px;color:var(--warm)}
.wf-chronology-filters .field{font-size:13px}
.wo-home{background:#fff;border-color:var(--line);padding:24px 27px}
.wo-home-head h2{font-size:24px;color:var(--ink)}
.wo-home-head p,.wo-home-foot p{font-size:13px;line-height:1.85}
.wo-home-head>.text-button,.wo-home-foot>.text-button{font-size:13px}
.wo-date-counts>button{background:#f3f8f8;border-color:#c9dcdf;border-radius:8px}
.wo-date-counts>button:hover{background:#e7f1f1;border-color:#8aaeb5}
.wo-date-counts span{font-size:13px;color:var(--muted);line-height:1.75}
.wo-date-counts strong{font-size:29px;color:var(--ink)}
.wo-section-heading p,.wo-task-file,.wo-task-date,.wo-exports p{font-size:13px;line-height:1.85}
.wo-task h4{font-size:16px;color:var(--ink)}
.wo-task-status,.wo-agenda-list span{font-size:12px;line-height:1.8}
.wo-agenda-list strong{font-size:14px;line-height:1.85}
.wo-agenda h4{font-size:16px;color:var(--ink)}
.cp-muted,.cp-total-note,.dc-muted,.dc-analysis-heading p,.dc-scope{font-size:12px;line-height:1.85}
.dc-source-text h4{font-size:15px;color:var(--ink)}
.dc-caution{background:var(--warm-bg);color:#70470f;font-size:13px}
.knowledge-card{border-color:var(--line)}
.knowledge-card h3{font-size:21px;line-height:1.5;color:var(--ink)}
.knowledge-answer,.knowledge-detail,.knowledge-professional,.knowledge-caution{font-size:15px;line-height:1.9}
.knowledge-answer{color:var(--ink)}
.knowledge-detail h4{font-size:15px;line-height:1.7}
.knowledge-card summary,.knowledge-sources ul,.knowledge-related button,.knowledge-card-actions .text-button{font-size:13px;line-height:1.8}
.knowledge-card-meta,.knowledge-card-warning,.knowledge-sources p,.knowledge-status-row p{font-size:12px;line-height:1.85}
.knowledge-intro p{font-size:14px;line-height:1.9;color:#e3ecf1}
.knowledge-intro h3{color:#fff}
.knowledge-categories button{font-size:13px;line-height:1.6}
.knowledge-categories button span{font-size:12px}
.knowledge-reading-hint{font-size:14px;line-height:1.85}

/* The notice remains visibly separate from ordinary helper copy. */
#verification-notice{background:var(--warm-bg);border-color:#d8bb81;border-left:4px solid var(--warm);padding:23px 25px;color:#65430e;border-radius:10px}
#verification-notice strong{font-size:16px;line-height:1.65;color:#55370a}
#verification-notice p{font-size:14px;line-height:1.9;color:#65430e}
#verification-notice .legal-notice-icon{color:#70470f;border-color:#9b752d}
#verification-notice button,#verification-notice a{font-size:13px;color:#70470f;line-height:1.8}
.site-footer>.legal-notice>summary{font-size:17px;background:var(--warm-bg);color:#55370a}
.site-footer>.legal-notice .legal-notice-body p{font-size:15px;line-height:1.9}
.site-footer-top>p,.site-about-grid p{font-size:13px;line-height:1.85}
.site-about h3{font-size:15px}
.site-about a{font-size:13px}

/* Search and the separate readable-document preview. */
#workspace-search-dialog{width:min(740px,calc(100vw - 32px));padding:25px;border-color:#afc3ce;border-radius:14px;color:var(--ink)}
.search-dialog-head label{font-size:17px;color:var(--ink)}
.search-close{width:44px;height:44px;color:var(--ink)}
.workspace-query-row input{font-size:16px;border-color:var(--field-line);line-height:1.6}
#workspace-search-count{font-size:13px;line-height:1.8}
#workspace-search-results h3{font-size:12px}
.workspace-search-links strong{font-size:15px;line-height:1.7}
.workspace-search-links small{font-size:12px;line-height:1.8}
.workspace-search-links button{min-height:60px}
.workspace-search-links button:hover,.workspace-search-links button:focus-visible{background:var(--soft)}
.search-dialog-foot{font-size:12px;line-height:1.7}
.wf-reading-dialog{width:min(1120px,calc(100vw - 40px));max-width:none;height:min(92dvh,1040px);max-height:92dvh;padding:0;border:1px solid #9eb8c6;border-radius:13px;background:#f4f7f8;color:var(--ink);box-shadow:0 22px 90px #172c4340;overflow:auto}
.wf-reading-dialog[open]{display:flex;flex-direction:column}
.wf-reading-dialog::backdrop{background:#122b43a6}
.wf-reading-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}
.wf-reading-toolbar>h2{font-size:22px;line-height:1.5;color:var(--ink);margin:0;overflow-wrap:anywhere}
.wf-reading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wf-reading-actions .button,.wf-reading-actions .text-button{font-size:13px;min-height:44px}
.wf-reading-help,.wf-reading-status{font-size:13px;line-height:1.8;margin:12px 22px 0;flex-shrink:0;color:var(--muted)}
.wf-reading-status{color:var(--accent-dark);margin-bottom:12px}
.wf-reading-dialog .wf-download-ready{font-size:13px;margin:0 22px 12px;flex-shrink:0}
.wf-reading-frame{display:block;width:100%;flex:1;min-height:300px;border:0;border-top:1px solid #ccdbe2;background:#fff}

/* White inner ring and navy outer ring stay visible on both light and dark. */
body :focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}
.header button:focus-visible,.app-navigation button:focus-visible,.view :focus-visible,dialog :focus-visible,#workspace-home :focus-visible{outline:2px solid #17364d;outline-offset:5px;box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}

@media(min-width:701px){.sentence-summary,.expert-output,.receipt,.judgment-sidebar{top:var(--sticky-clearance)}.expert-output{max-height:calc(100vh - 136px)}}
@media(max-width:1050px){
  #workspace-home .desk-hero{gap:26px;padding:31px}
  #workspace-home .desk-hero h1{font-size:37px}
  .desk-hero-search{padding:20px}
  .desk-hero .desk-search .search-key{display:none}
  .desk-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .desk-feature-primary{grid-column:auto}
  .desk-feature-primary p{max-width:780px}
}
@media(max-width:700px){
  :root{--sticky-clearance:96px}
  .header-inner{min-height:72px;padding:12px 16px;gap:12px}
  .brand-name strong{font-size:23px}
  .header-tools{gap:8px}
  .header-search{font-size:12px;min-height:44px;padding:9px 11px}
  .header .version{font-size:11px}
  .wrap{padding:18px 16px 0}
  .navigation-groups{gap:5px;padding:6px}
  .navigation-group{padding:11px}
  .navigation-group strong{font-size:14px;line-height:1.4}
  .navigation-group>span{font-size:11px;line-height:1.5}
  .navigation-home-row .navigation-shortcuts>button{min-height:48px;padding:8px 4px;gap:4px}
  .navigation-home-row .navigation-shortcuts>button>span{font-size:12px}
  .navigation-page-group{padding:10px;gap:5px}
  .navigation-page-group>button{font-size:13px;min-height:44px;padding:10px}
  .navigation-pages>summary{font-size:13px;min-height:46px}
  .view .field input:not([type=checkbox]):not([type=radio]),.view .field select,.view .field textarea,
  .workfile-dialog input:not([type=checkbox]):not([type=radio]),.workfile-dialog select,.workfile-dialog textarea,
  .cp-dialog input:not([type=checkbox]),.cp-dialog select,.dc-field input,.dc-field select,.dc-field textarea,.dc-dialog input:not([type=checkbox]),.dc-dialog select,.wo-field input,.wo-field select{font-size:16px}
  #workspace-home .desk-hero{grid-template-columns:minmax(0,1fr);gap:25px;padding:27px 22px;margin-top:7px;border-radius:13px}
  #workspace-home .desk-hero h1{font-size:35px;letter-spacing:-.9px}
  #workspace-home .desk-hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.85}
  .desk-hero-actions{gap:12px 17px;margin-top:22px}
  .desk-hero-actions>.button{font-size:13px}
  .desk-hero-search{padding:18px}
  .desk-hero .desk-search{padding:17px 13px;gap:10px}
  .desk-hero .desk-search strong{font-size:14px}
  .desk-hero .desk-search small{font-size:12px}
  .desk-hero-shortcuts>button{min-height:44px;font-size:12px;padding:8px 10px}
  .desk-section-heading{align-items:flex-start;flex-direction:column;gap:6px}
  .desk-section-heading h2{font-size:22px}
  .desk-section-heading>span{font-size:12px}
  .desk-feature-grid{gap:13px}
  .desk-feature{padding:22px 19px}
  .desk-feature h3{font-size:20px}
  .desk-feature p{font-size:14px}
  .desk-tools{gap:12px}
  .desk-tool{min-height:190px;padding:19px 14px}
  .desk-tool strong{font-size:15px;line-height:1.6}
  .desk-tool small{font-size:13px;line-height:1.75}
  .desk-tool-icon{width:36px;height:36px}
  .desk-support{grid-template-columns:minmax(0,1fr);gap:0}
  .desk-support>section{padding:24px 20px}
  .desk-support h2{font-size:23px}
  .desk-reference{border-left:0;border-top:1px solid var(--line)}
  .desk-reference dl>div{flex-wrap:wrap;gap:3px 12px;font-size:12px}
  .desk-reference dd{white-space:normal}
  .wf-heading h2,.cp-heading h2,.dc-heading h2,.wo-heading h2{font-size:28px}
  .wf-local-note p,.cp-local p,.dc-local p,.wo-local p{font-size:13px}
  .wf-event-top,.wf-task-top{flex-wrap:wrap}
  .wf-event-top>div:last-child,.wf-task-top>div:last-child{margin-left:auto}
  .wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.cp-source pre,.cp-transfer-report pre,.wo-task-notes p{font-size:14px}
  .wf-task-progress span{font-size:11px}
  .wo-home{padding:21px 18px}
  .wo-home-head h2{font-size:23px}
  .wo-date-counts>button{padding:13px}
  .wo-date-counts span{font-size:12px}
  .wo-date-counts strong{font-size:27px}
  .knowledge-card h3{font-size:21px}
  #verification-notice{padding:19px 16px;gap:12px}
  #verification-notice strong{font-size:16px}
  #verification-notice p{font-size:14px;line-height:1.85}
  #workspace-search-dialog{padding:18px;max-height:88dvh}
  .search-dialog-foot{font-size:12px}
  .wf-reading-dialog{width:calc(100vw - 16px);height:94dvh;max-height:94dvh;border-radius:9px}
  .wf-reading-toolbar{padding:14px;gap:11px;align-items:flex-start}
  .wf-reading-toolbar>h2{font-size:19px}
  .wf-reading-actions{gap:8px;width:100%}
  .wf-reading-actions>.button{flex:1;padding:10px 12px;font-size:12px}
  .wf-reading-help,.wf-reading-status{margin-left:14px;margin-right:14px;font-size:12px;line-height:1.75}
  .wf-reading-dialog .wf-download-ready{margin-left:14px;margin-right:14px;font-size:12px}
  .wf-reading-frame{min-height:240px}
}
@media(max-width:540px){.desk-feature-grid{grid-template-columns:minmax(0,1fr)}.desk-feature-primary{grid-column:auto}}
@media(max-width:430px){
  .header-inner{padding-left:12px;padding-right:12px;gap:8px}
  .brand{gap:8px}
  .brand .brand-icon{width:32px;height:32px}
  .header .brand-name strong{font-size:20px;letter-spacing:-.5px}
  .header-search{width:44px;min-width:44px;min-height:44px;padding:9px}
  .header-legal-notice{width:44px;min-width:44px;padding:9px}
  .header-tools{gap:6px}
  .header .version{font-size:10px}
  #workspace-home .desk-hero{padding:25px 18px}
  #workspace-home .desk-hero h1{font-size:31px;letter-spacing:-.7px}
  .desk-hero-search{padding:15px}
  .desk-hero .desk-search{padding:15px 11px}
  .desk-hero .desk-search-icon{font-size:29px}
  .desk-hero .desk-search strong{font-size:13px}
  .desk-hero .desk-search small{font-size:12px}
  .desk-tools{grid-template-columns:minmax(0,1fr)}
  .desk-tool{display:flex;min-height:0;gap:13px;padding:20px 16px}
  .desk-tool-icon{margin:0;flex-shrink:0}
  .desk-tool-arrow{position:static;margin-left:auto}
  .desk-tool strong{font-size:16px}
}
@media print{
  :root{font-size:12pt;background:#fff}
  body{font-size:12pt;line-height:1.6;background:#fff;color:#172c43}
  .panel,.wf-editor,.wf-library,.cp-row,.cp-totals article,.dc-card,.wo-section{box-shadow:none;border-color:#aab5bc}
  #workspace-home .desk-hero{background:#fff;border-color:#aab5bc;padding:20px;color:#172c43;display:block}
  #workspace-home .desk-hero h1{color:#172c43;font-size:28pt}
  #workspace-home .desk-hero-copy>p:not(.eyebrow),.desk-hero .desk-hero-copy>.eyebrow{color:#172c43}
  .desk-hero-search,.desk-hero-actions,.desk-feature>.button,.desk-feature>.text-button{display:none}
  .desk-feature-grid,.desk-support{display:block}
  .desk-feature{break-inside:avoid;margin:12px 0;background:#fff}
  #verification-notice{background:#fff;border:1px solid #777;border-left:4px solid #777;padding:14px;color:#172c43}
  #verification-notice p,#verification-notice strong{color:#172c43;font-size:12pt;line-height:1.7}
  #verification-notice button{display:none}
  .wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.knowledge-answer,.knowledge-detail,.wo-task-notes p{font-size:11pt;line-height:1.75}
  .wf-reading-dialog,.wf-reading-dialog[open]{display:none}
}

/* A native link opens the independent mapping application in a new tab. */
.navigation-page-group>.navigation-external{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:7px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;color:var(--ink);text-decoration:none;background:transparent}
.navigation-page-group>.navigation-external:hover{background:#edf4f4;color:var(--accent)}
.navigation-page-group>.navigation-external:focus-visible{outline:2px solid #17364d;outline-offset:5px;box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}
