/* Shared white palette for personal records and guided entry; existing layouts remain. */
:root{color-scheme:light;--paper:#fff;--surface:#fff;--ink:#172033;--text:#293548;--muted:#526078;--line:#d6dce6;--action:#234ed8;--bronze:var(--action);--brass:var(--action);--forest:var(--ink);--focus:var(--action);--wash:#f1f5ff;--quiet:#f1f5ff;--serif:Georgia,"Times New Roman",serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--paper);color:var(--text)}
body{background:var(--paper);color:var(--text)}
h1,h2,h3,.hero h1,.explore-shell h1,.explore-shell h2,.ledger #ledger-heading,.ledger h2{color:var(--ink)}
.site-header{background:var(--paper);border-color:var(--line)}
.brand,.wordmark{color:var(--ink);font-family:var(--serif)}
.brand-dot,.bronze,.brand:after{color:var(--action)}
.site-header a:not(.brand):not(.wordmark),.site-header .text-button,.return-link{color:var(--ink)}
a{color:var(--action)}
.hero .subtitle,.hero>p,.intro,.description,.next-copy,.record-facts dd,.review dd,.entry-notes,.how-copy p,.how-copy details p,.release-copy p{color:var(--text)}
.when,.entry-status,.entry-title small,.workspace-label,.small,.caption,.meta,.hint,.progress,.footnote,.choice span,.review dt,.record-facts dt,.evidence-meta,.field small,.empty p,.ledger-subtitle,.release-copy .small{color:var(--muted)}
.ledger,.guide,dialog,.choice,.entry-detail{background:var(--surface);border-color:var(--line)}
.ledger{box-shadow:0 5px 20px #17203306}
.entry,.entry:last-child,.entry-summary,.column-head,.record-facts>div,.evidence-list li,.review>div,.ledger-find,.ledger-menu>div,.desktop-release,.desktop-release>summary,#entries{border-color:var(--line)}
.entry-summary:hover,.entry[open]>.entry-summary,.choice:hover{background:var(--wash)}
.entry[open]{background:var(--surface)}
.choice:hover{border-color:var(--action)}
.entry-title strong,.choice strong,.fact strong,.fact .amount,.dialog-header h2,.field-label{color:var(--ink)}
.entry-icon,.fact-icon,.entry-summary svg,.ledger-find svg,.ledger-find>summary{color:var(--muted)}
.next-label,.detail-update,.saved-details>summary,.ledger-switch{color:var(--action)}
.filters{background:var(--surface);border-color:var(--line)}
.filters button{color:var(--text)}
.filters button[aria-pressed=true]{background:var(--action);border-color:var(--action);color:#fff}
button{background:var(--surface);border-color:#8996ab;color:var(--text)}
.primary,.primary[href],.button.primary,.ledger-head>.primary,.inline-action>.primary,.success-link{background:var(--action);border-color:var(--action);color:#fff;box-shadow:none}
.primary:hover,.primary[href]:hover,.button.primary:hover,.ledger-head>.primary:hover,.success-link:hover,button.primary:hover{background:#193daf;border-color:#193daf;color:#fff}
.text-button,.detail-actions button,.ledger-menu button{color:var(--action)}
.text-button,.detail-update{background:transparent;border-color:transparent}
button:hover{background:var(--wash)}
input,select,textarea,.search input{background:var(--surface);border-color:#8996ab;color:var(--text)}
.search>svg{color:var(--muted)}
.context,.notice,.availability,.sample-notice,.undo-bar{background:var(--wash);color:var(--text);border-color:var(--line)}
.ledger-menu>div{background:var(--surface)}
.status,.status[data-status=open]{background:#f3f5f8;color:#526078;border-color:#b7c1d1}
.status[data-status=urgent]{background:#fff0f1;color:#991525;border-color:#d99da5}
.status[data-status=completed],.status[data-status=confirmed]{background:#edf7ef;color:#27613b;border-color:#92bb9d}
.status[data-status=waiting]{background:#fff4dc;color:#795000;border-color:#c9a85c}
.status[data-status=review],.status[data-status=transit]{background:#edf2ff;color:#23499d;border-color:#9db3e4}
.ledger .priority-heading{color:var(--muted)}
.ledger .priority-heading span{background:#f3f5f8;color:var(--muted)}
.ledger .priority-critical,.ledger .priority-urgent{color:var(--action)}
.ledger .priority-critical span{background:#edf2ff;color:var(--action)}
.critical-number{background:var(--action);color:#fff}
.entry[data-priority-group=critical]:before,.entry[data-priority-group=urgent]:before{background:var(--action)}
.priority-control{color:var(--text)}
.page-footer,.page-footer>p,.page-footer>p:not(.footer-line),.page-footer .footer-line,.connection-note,.latest-summary,.desktop-release,.how-copy summary{color:var(--muted)}
.page-footer .footer-line{color:var(--ink)}
.danger-action,.detail-actions .danger-action{color:#991525}
.error,.form-error,.status-message[data-error=true]{background:#fff0f1;color:#991525;border-color:#991525}
dialog{color:var(--text)}dialog::backdrop{background:#17203370}
.chevron{border-color:var(--muted)}
.import-help{margin:19px 0 23px;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--action);border-radius:7px;background:var(--wash)}
.ledger .import-help h2{font:700 25px/1.25 var(--serif);letter-spacing:-.7px;margin:0 0 10px}
.import-help p{font-size:16px;line-height:1.6;max-width:64ch;margin:0 0 15px;color:var(--muted)}
.import-help .primary{font-size:16px;padding:10px 16px;min-height:45px}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
button:active,.primary:active{box-shadow:inset 0 2px 4px #17203320}
.designs-page .hero{width:min(1040px,calc(100% - 40px));margin-inline:auto}
body{min-width:0}.explore-shell,.guide,.ledger,.entry-title,.entry-title>span,.record-facts dd,.review dd{min-width:0}
.entry-title strong,.entry-title small,.record-facts dd,.review dd,.status,.next-copy{overflow-wrap:anywhere}
@media(max-width:600px){.import-help{padding:16px;margin:16px 0}.ledger .import-help h2{font-size:23px}.import-help p{font-size:15px}.import-help .primary{font-size:15px}.site-header .return-link{max-width:126px;font-size:14px}.priority-control{flex-wrap:wrap;gap:8px}.priority-control select{max-width:100%}.explore-shell>h1{font-size:40px;letter-spacing:-1.4px}.explore-shell h2{font-size:29px}.guide{padding:23px 20px}.field-label{font-size:18px}}
@media(max-width:360px){.site-header{gap:10px}.site-header .brand{font-size:24px}.site-header .return-link{font-size:13px;max-width:104px}.guide{padding:20px 16px}.explore-shell>h1{font-size:36px}.explore-shell h2{font-size:27px}.ledger #ledger-heading{font-size:28px}.ledger-head>.primary{padding:9px 11px}.import-help{padding:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.primary,.ledger,.guide,dialog,.status,.import-help{border:1px solid ButtonText}.entry:before{background:CanvasText}}

/* Readable controls and related record information at every viewport. */
.status,.when,.entry-title small,.priority-heading,.ledger .priority-heading,.ledger .priority-heading span,.priority-control,.priority-reason,.latest-summary,.workspace-label,.small,.caption,.meta,.hint,.progress,.footnote,.page-footer,.page-footer p,.page-footer a,.connection-note,.form-error,.status-message,.guide .hint,.guide .progress,.guide .footnote,.sample-notice,.filters button,.ledger-menu button,.ledger-menu summary,.ledger-switch{font-size:16px;line-height:1.55}
.entry[data-priority-group=completed]{opacity:1}.priority-control{gap:10px 14px;flex-wrap:wrap}.priority-reason{flex-basis:100%;margin-top:8px}.guide .priority-field{margin-top:26px}.guide .actions{display:flex;flex-wrap:wrap;gap:12px}.guide .actions button,.guide .actions a{min-height:48px;font-size:17px}.ledger-head{flex-wrap:wrap;gap:18px}.ledger-head>.primary{min-height:48px;font-size:17px}.ledger-switch,.return-link,.site-header a:not(.brand):not(.wordmark),.ledger-menu summary,.ledger-menu button,.page-footer a{min-height:48px}.entry-status .status{display:inline-block;max-width:100%;white-space:normal}.entry-title small{margin-top:6px}.priority-heading{margin-top:26px;margin-bottom:14px}.detail-actions{gap:12px}.detail-actions button,.detail-actions a,.entry-detail button{min-height:48px;font-size:16px}.record-facts dt,.evidence-list,.evidence-list small,.saved-details>summary,.detail-update,.next-label{font-size:16px;line-height:1.55}.record-facts dd,.next-copy,.review dd{font-size:18px;line-height:1.55}.page-footer{line-height:1.6}.page-footer>p,.page-footer>p:not(.footer-line){font-size:16px}.import-help p,.import-help .primary{font-size:16px}.entry-detail .priority-control{margin-top:22px}
@media(max-width:600px){.site-header{flex-wrap:wrap;gap:8px 16px}.site-header .return-link{font-size:16px;max-width:none}.ledger-head{align-items:flex-start}.ledger-head>div{flex:1 1 100%}.ledger-head>.primary{margin:0}.status,.when,.entry-title small,.ledger .priority-heading,.ledger .priority-heading span,.priority-control,.priority-reason,.page-footer,.page-footer p,.hint,.progress,.footnote{font-size:16px}.entry-summary{grid-template-columns:minmax(0,1fr) 20px;gap:10px}.entry-title{grid-column:1;grid-row:1}.entry-summary>.when{grid-column:1;grid-row:2}.entry-status{grid-column:1;grid-row:3;justify-content:flex-start}.entry-summary>.chevron{grid-column:2;grid-row:1/4}.guide .actions .primary{margin-left:0}.guide .actions{justify-content:flex-start}.guide .actions>*{max-width:100%}.guide .actions .primary{flex:1 1 auto}.priority-control label{flex-basis:100%}.priority-control select{width:100%;font-size:17px}.review>div{gap:7px}.page-footer a{display:inline-flex;align-items:center}}
@media(max-width:600px){.entry-summary>.status{grid-column:1;grid-row:3;max-width:100%;font-size:16px;line-height:1.5}.entry-summary>.chevron{grid-column:2;grid-row:1/4}.ledger-subtitle,.ledger-find>summary,.ledger-menu>summary{font-size:16px}.ledger-switch{display:inline-flex;align-items:center}}
.ledger-subtitle,.ledger-find>summary,.site-header .text-button,.ledger-menu .text-button,.critical-number,.evidence-meta,.field small,dialog small{font-size:16px;line-height:1.55}.critical-number{min-width:26px;min-height:26px;line-height:26px}

/* Shared restrained headings for the situation-led sample experience. */
h1,h2,h3,.hero h1,.explore-shell h1,.explore-shell h2,.ledger #ledger-heading,.ledger h2,.dialog-header h2,.ledger .import-help h2{font-family:var(--sans);letter-spacing:-.25px}
.hero h1,.explore-shell>h1{font-size:34px;line-height:1.25}.explore-shell h2,.ledger #ledger-heading{font-size:27px;line-height:1.35}.ledger h2,.dialog-header h2,.ledger .import-help h2{font-size:24px;line-height:1.35}.ledger{box-shadow:none}
@media(max-width:600px){.hero h1,.explore-shell>h1{font-size:28px;letter-spacing:-.3px}.explore-shell h2,.ledger #ledger-heading{font-size:25px}.ledger h2,.dialog-header h2,.ledger .import-help h2{font-size:23px}}
