/* App discovery and the shared sample ledger. */
:root{color-scheme:light;--paper:#fff;--surface:#fff;--ink:#172033;--text:#293548;--muted:#526078;--line:#d6dce6;--action:#234ed8;--wash:#f1f5ff;--focus:#234ed8;--serif:Georgia,"Times New Roman",serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font:18px/1.55 var(--sans);color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;min-width:0;background:var(--paper);color:var(--ink)}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}a{color:var(--action);text-underline-offset:4px}button{cursor:pointer;color:var(--ink);border:1px solid #8b98ad;border-radius:7px;background:var(--surface);min-height:48px;padding:10px 16px;line-height:1.4;transition:background-color 120ms,box-shadow 120ms,transform 120ms}button:hover{background:var(--wash)}button:active,.button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #17203325}button:disabled{cursor:default;background:#fff;color:var(--muted);border-color:var(--line);box-shadow:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif)}h3{font-size:21px;line-height:1.4}.wrap{width:min(1280px,calc(100% - 80px));margin-inline:auto;min-width:0}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:12px 0;border-bottom:1px solid var(--line)}.wordmark{font:700 31px/1.2 var(--serif);letter-spacing:-1.3px;text-decoration:none;white-space:nowrap;color:var(--ink)}.wordmark span,.hero h1 span{color:var(--action)}.site-header nav a{font-size:17px;min-height:48px;display:inline-flex;align-items:center}.button,.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 18px;border:1px solid var(--action);border-radius:7px;font-size:18px;line-height:1.4;text-decoration:none}.primary{background:var(--action);border-color:var(--action);color:#fff;font-weight:650;box-shadow:0 2px 3px #17203314}.primary:not(:disabled):hover{background:#193db1;color:#fff}.text-button{padding:9px 8px;border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:48px}.text-button:hover{background:var(--wash)}.danger{color:#a12b22}.hero{padding:32px 0 34px}.hero h1{font:700 clamp(32px,3.2vw,46px)/1.12 var(--serif);letter-spacing:-1.5px;max-width:820px;text-wrap:balance}.note{font-size:16px;line-height:1.55;color:var(--muted)}
.workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:start}.explorer{min-width:0;padding:0 0 24px;scroll-margin-top:24px}.explorer-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:12px}.audience{position:relative;display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0;margin:0;padding:4px;border:1px solid #8b98ad;border-radius:9px;background:#fff}.audience-highlight{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:5px;background:var(--action);transition:transform 180ms ease;box-shadow:0 2px 3px #17203314}.audience[data-selection=business] .audience-highlight{transform:translateX(100%)}.audience label{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:48px;font-size:19px;font-weight:650;cursor:pointer;border-radius:5px}.audience input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.audience input:checked+span{color:#fff}.audience label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:5px}.ledger-link{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:600}.app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.app-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:112px;padding:15px 6px 12px;background:#fff;border-color:transparent;font-size:16px;line-height:1.35;font-weight:600;text-align:center}.app-tile:hover{background:var(--wash);border-color:#c1cdf5;box-shadow:0 3px 9px #1720330a}.app-tile>span{max-width:100%;overflow-wrap:anywhere}.app-tile:has(.app-count){border-color:#c1cdf5}.app-logo{display:block;width:36px;height:36px;flex:0 0 36px;object-fit:contain}.app-short{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:20px;border:1px solid var(--line);border-radius:7px}.app-count{position:absolute;top:5px;right:5px;min-width:24px;min-height:24px;padding:0 5px;border-radius:12px;background:#eaf0ff;color:#193db1;font-size:16px;line-height:1.5}
.ledger{min-width:0;padding:0 0 0 32px;border-left:1px solid var(--line);scroll-margin-top:24px}.ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0 20px;flex-wrap:wrap}.ledger-heading h2{font-size:30px;line-height:1.25;letter-spacing:-.7px}.ledger-count{font-size:16px;line-height:1.5;color:var(--muted)}.sample-label{display:inline-block;font-size:16px;line-height:1.5;color:var(--muted)}.ledger-row{display:grid;grid-template-columns:30px minmax(0,1fr) 14px;align-items:center;gap:8px 14px;width:100%;min-width:0;padding:20px 4px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;text-align:left;scroll-margin:24px}.ledger-row:hover{background:var(--wash)}.ledger-row:focus{outline:3px solid var(--focus);outline-offset:3px;position:relative;z-index:1}.ledger-row>.app-logo,.ledger-row>.app-short{width:28px;height:28px;grid-column:1;grid-row:1;align-self:start;margin-top:3px}.row-content{min-width:0;grid-column:2;grid-row:1}.row-title{display:block;font-size:20px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.row-reason{display:block;font-size:16px;line-height:1.5;color:var(--muted);margin-top:3px}.row-date{grid-column:2;grid-row:2;font-size:17px;line-height:1.5}.date-label{display:inline;font-size:16px;color:var(--muted);margin-right:7px}.row-status{grid-column:2;grid-row:3;font-size:16px;line-height:1.5;padding:5px 9px;border-radius:5px;background:#eef1f6;color:#414e65;justify-self:start;max-width:100%;overflow-wrap:anywhere}.row-status[data-level=critical]{background:#ffebe8;color:#8c2a22}.row-status[data-level=soon]{background:#fff3d6;color:#775000}.row-status[data-level=waiting]{background:#fff3d6;color:#775000}.row-status[data-level=planned]{background:#eaf0ff;color:#244791}.row-arrow{grid-column:3;grid-row:1/4;font-size:24px;color:var(--muted)}.just-added{animation:ledger-arrival 1600ms ease-out}.ledger-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px}.ledger-bottom button{font-size:16px}.empty{padding:27px 0 36px;border-top:1px solid var(--line);color:var(--muted)}.empty h3{color:var(--ink);margin-bottom:8px;font-size:20px}.empty p{font-size:18px;max-width:35ch}.error{background:#fff0ea;border-left:3px solid #a54630;color:#842f20;font-size:16px;line-height:1.55;padding:14px 16px;margin:0 0 18px}.next-path{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding:24px 0;border-top:1px solid var(--line)}.next-path h2{font:650 20px/1.4 var(--sans);margin-bottom:4px}.next-path p{font-size:16px;color:var(--muted)}.next-actions{display:flex;align-items:center;gap:14px 20px;flex-wrap:wrap}.next-actions a{display:inline-flex;align-items:center;font-size:17px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 0 20px;font-size:16px;color:var(--muted)}.page-footer a{display:inline-flex;align-items:center;min-height:48px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip{position:absolute;left:16px;top:-100px;padding:12px 16px;background:var(--ink);color:#fff;z-index:100}.skip:focus{top:12px}
dialog{width:min(760px,calc(100% - 32px));max-width:760px;max-height:calc(100dvh - 40px);padding:0;border:1px solid #8b98ad;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 20px 80px #17203333;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#17203370}dialog[open]{animation:dialog-reveal 150ms ease-out}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head>button{flex-shrink:0;font-size:16px}.identity{display:flex;gap:12px;align-items:center;min-width:0;font-size:20px;font-weight:650}.identity .app-logo{width:32px;height:32px;flex-basis:32px}.modal-body{padding:22px 26px}.modal-body>h2{font-size:30px;line-height:1.25;letter-spacing:-.6px;margin:0 0 16px}.modal-body>p{font-size:18px;line-height:1.6;margin-bottom:20px}.modal-body>.note{font-size:16px;color:var(--muted);margin-bottom:18px}.modal-body>.sample-label{margin-bottom:12px}.choice{padding:22px 0;border-top:1px solid var(--line)}.choice:last-child{padding-bottom:0}.choice h3{font-size:22px;line-height:1.35;margin-bottom:8px;overflow-wrap:anywhere}.choice>p{font-size:18px;line-height:1.5;color:var(--text)}.choice-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;flex-wrap:wrap}.choice-meta>p{flex:1 1 180px;min-width:0;font-size:16px}.choice-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.add-choice,.view-item{font-size:17px;min-height:48px;flex-shrink:0}.view-item{color:var(--action);border-color:var(--action);font-weight:600}.why-add{margin-top:12px}.why-add summary{font-size:17px;color:var(--action);cursor:pointer;min-height:48px;padding:12px 2px;line-height:1.5}.why-add[open]>summary{font-weight:600}.why-add p{font-size:17px;line-height:1.6;margin:8px 0 14px;max-width:64ch;color:var(--text)}.why-add p:last-child{margin-bottom:4px}.why-context{padding-left:14px;border-left:2px solid var(--line)}.why-context summary{color:var(--muted);font-size:16px}.modal-foot{padding:14px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:16px;color:var(--muted)}.modal-foot a{display:inline-flex;align-items:center;min-height:48px}.fact-list{margin:24px 0 0}.fact-list>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}.fact-list dt{font-size:16px;color:var(--muted)}.fact-list dd{margin:0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.next-step{margin:24px 0 0;padding:14px 18px;background:var(--wash);border-left:3px solid var(--action)}.next-step strong{display:block;font-size:17px;color:var(--ink);margin-bottom:8px}.next-step p{font-size:19px;line-height:1.55}.detail-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.detail-actions button{font-size:17px}.feedback{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #8b98ad;border-radius:8px;background:#fff;box-shadow:0 5px 24px #17203326;padding:14px 16px;font-size:17px;line-height:1.5}.feedback p{min-width:0;overflow-wrap:anywhere}.feedback button{flex-shrink:0;font-size:16px}.pulse{animation:added-feedback 350ms ease-out}#print-record{display:none}[hidden]{display:none!important}
@keyframes dialog-reveal{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes added-feedback{from{box-shadow:0 0 0 0 #234ed850}to{box-shadow:0 0 0 7px transparent}}@keyframes ledger-arrival{0%,35%{background:#e2ebff}100%{background:#fff}}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.workspace{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ledger{padding-left:24px}.app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-heading h2{font-size:28px}}
@media(max-width:800px){.wrap{width:calc(100% - 32px)}.workspace{display:block}.hero{padding:25px 0 27px}.hero h1{font-size:38px;letter-spacing:-1.1px}.desktop-break{display:none}.explorer-head{gap:9px}.app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.app-tile{min-height:104px;font-size:16px}.ledger{border-left:0;border-top:1px solid var(--line);padding:20px 0 0;margin-top:14px}.ledger-heading{padding:0 0 18px}.ledger-row{gap:8px 12px}.ledger-heading h2{font-size:28px}.row-title{font-size:19px}.next-path{align-items:flex-start;flex-direction:column;gap:16px}.next-actions{gap:8px 16px}.modal-head,.modal-body,.modal-foot{padding-inline:20px}.fact-list>div{grid-template-columns:1fr;gap:6px}.feedback{flex-wrap:wrap;gap:10px;bottom:12px}.feedback p{flex-basis:100%}}
@media(max-width:480px){.site-header{gap:8px;flex-wrap:wrap;padding:10px 0;min-height:68px}.wordmark{font-size:27px}.site-header nav a{font-size:16px}.hero h1{font-size:34px;letter-spacing:-1px}.audience label{font-size:18px}.app-logo{width:32px;height:32px;flex-basis:32px}.ledger-heading h2{font-size:27px}.row-title{font-size:18px}.modal-head,.modal-body,.modal-foot{padding-inline:16px}.modal-body>h2{font-size:27px}.choice h3{font-size:21px}.choice-meta{flex-direction:column;align-items:stretch;gap:12px}.choice-meta>p{flex:auto}.choice-actions{display:grid;grid-template-columns:1fr}.choice-actions:has(.view-item:not([hidden])){grid-template-columns:1fr 1fr}.choice-actions>button{min-width:0;padding-inline:8px;white-space:normal;font-size:16px}.identity{font-size:18px}.detail-actions{flex-direction:column}.detail-actions button{width:100%}.why-add summary{font-size:16px}.next-step{padding:14px}.next-step p{font-size:18px}.page-footer{gap:8px}.page-footer a{margin:0}.next-actions a{font-size:16px}.next-path{margin-top:24px}.note{font-size:16px}}
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.site-header{column-gap:16px;row-gap:0}.wordmark{font-size:26px}.hero h1{font-size:32px}.ledger-heading h2{font-size:26px}.ledger-row{gap:8px}.app-tile{padding-inline:4px}.modal-head{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active,.button:active{transform:none}}
@media(forced-colors:active){.primary,.app-tile,.ledger,.row-status,dialog,.feedback,.audience{border:1px solid ButtonText}.audience-highlight{background:Highlight}.audience input:checked+span{color:HighlightText}.audience label:has(input:checked){outline:2px solid Highlight}.app-logo{forced-color-adjust:auto}}
/* Situation-first presentation. Original catalog and storage contracts are unchanged. */
h1,h2,h3,h4{font-family:var(--sans);letter-spacing:normal}h4{margin:0;font-size:16px;line-height:1.5;font-weight:700}
.hero{padding:28px 0 30px}.hero h1{font:700 clamp(26px,2.5vw,34px)/1.25 var(--sans);letter-spacing:-.6px;max-width:900px;text-wrap:pretty}.hero>p{font-size:17px;line-height:1.6;color:var(--muted);margin-top:10px;max-width:70ch}
.explorer-head{gap:10px}.explorer-head h2{font-size:22px;line-height:1.4;margin-bottom:2px}.audience{border:0;background:#eef2f8;border-radius:8px}.audience-highlight{box-shadow:none}.audience label{font-size:18px}.app-tile{min-height:96px;padding:12px 6px;gap:9px}.app-tile:hover{box-shadow:none}.app-logo{width:34px;height:34px;flex-basis:34px}.app-tile:has(.app-count){border-color:transparent;background:#f6f8fe}.app-count{top:3px;right:3px;font-size:16px}
.ledger-heading{padding:3px 0 8px}.ledger-heading h2{font:700 24px/1.35 var(--sans);letter-spacing:-.3px}.ledger-scope{margin:0 0 18px}.ledger-row{padding:17px 4px;gap:6px 12px}.row-title{font-size:18px;line-height:1.45}.row-status{font-size:16px;padding:3px 7px}.empty{padding:24px 0}.empty h3{font-size:19px}.empty p{font-size:17px}
.modal-body>h2{font:700 25px/1.3 var(--sans);letter-spacing:-.3px;margin-bottom:8px}.modal-body>.note{margin-bottom:22px}.modal-head{padding-block:12px}.modal-head>button{border-color:transparent;color:var(--action);text-decoration:underline;text-underline-offset:4px}.identity{font-size:18px}.modal-body{padding:22px 24px}.choice{margin:0;padding:0;border:0;border-top:1px solid var(--line)}.choice:last-child{border-bottom:1px solid var(--line);padding-bottom:0}.choice>summary{position:relative;list-style:none;cursor:pointer;min-height:88px;padding:17px 66px 17px 2px;outline-offset:3px}.choice>summary::-webkit-details-marker{display:none}.choice>summary::after{content:'+';position:absolute;right:10px;top:18px;font-size:27px;font-weight:400;line-height:1.3;color:var(--action)}.choice[open]>summary::after{content:'−'}.choice>summary:hover{background:var(--wash)}.choice[open]>summary{border-bottom:1px solid var(--line);margin-bottom:20px}.situation-title{display:block;font-size:20px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}.situation-date{display:block;font-size:16px;line-height:1.5;color:var(--muted);margin-top:6px}.choice-saved{display:inline-block;margin-top:7px;font-size:16px;color:#27613b}.situation-content{display:flex;flex-direction:column;gap:19px}.situation-content section{min-width:0}.situation-content h4{margin:0 0 6px}.situation-content p{font-size:17px;line-height:1.65;color:var(--text);margin:0;max-width:67ch}.situation-content .attention{padding:12px 15px;background:#fff6e1;border-left:3px solid #b27a16}.situation-content .attention h4,.situation-content .attention p{color:#76500b}.situation-content .attention[data-tone=observed-failure]{background:#fff0ec;border-left-color:#ab3b2f}.situation-content .attention[data-tone=observed-failure] h4,.situation-content .attention[data-tone=observed-failure] p{color:#8b2e25}.situation-content .next-step{margin:0;padding:15px 16px;background:#f2f5ff;border-left:3px solid var(--action)}.situation-content .next-step p{font-size:17px}.choice-action-area{margin:22px 0 12px;padding:18px 0 0;border-top:1px solid var(--line)}.availability-note{font-size:16px;line-height:1.55;color:var(--muted);margin:0 0 12px}.choice-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.choice-actions>button{min-height:48px;font-size:17px;flex:0 0 auto;padding:10px 16px}.choice-actions .view-item{color:#fff}.choice-actions [data-add]:disabled{border-color:transparent;background:transparent;color:#27613b;box-shadow:none}.addition-confirmation{font-size:16px;line-height:1.55;color:#27613b;margin:12px 0 0;max-width:65ch}.source-facts{margin:12px 0 0}.source-facts>summary{font-size:16px;line-height:1.5;min-height:48px;padding:12px 2px;color:var(--action);cursor:pointer}.source-facts .fact-list{margin:0 0 12px}.source-facts .fact-list>div{padding:11px 0}.source-facts .fact-list dd{font-size:16px}.why-add{margin:0 0 12px}.why-add>summary{font-size:16px}.record-date{font-size:16px!important;color:var(--muted);margin-bottom:22px!important}.detail-actions button{font-size:16px}.detail-actions .primary{background:#fff;color:var(--action);border-color:#bac5dc;box-shadow:none}.detail-actions .primary:hover{background:var(--wash);color:var(--action)}
@media(max-width:800px){.hero{padding:23px 0 26px}.hero h1{font-size:28px;letter-spacing:-.4px}.workspace{display:block}.explorer-head h2{font-size:21px}.ledger{padding-top:21px;margin-top:16px}.ledger-heading h2{font-size:23px}.app-tile{min-height:94px}.modal-body{padding:20px}.situation-title{font-size:19px}}
@media(max-width:480px){.hero h1{font-size:27px}.hero>p{font-size:17px}.wordmark{font-size:25px}.site-header{min-height:65px}.ledger-heading h2{font-size:22px}.row-title{font-size:18px}.modal-head,.modal-body,.modal-foot{padding-inline:16px}.modal-body>h2{font-size:23px}.choice>summary{padding-right:36px}.choice>summary::after{right:3px}.choice-actions,.choice-actions:has(.view-item:not([hidden])){display:flex;gap:8px}.choice-actions>button{font-size:16px;padding:10px 14px;flex:1 1 0}.situation-content{gap:17px}.situation-content p{font-size:17px}.situation-content .attention,.situation-content .next-step{padding:12px 13px}.choice-action-area{margin-top:20px}.row-status{font-size:16px}.next-path{margin-top:24px}.fact-list>div{grid-template-columns:1fr;gap:5px}}
@media print{body{background:#fff;color:#111}body>*:not(#print-record){display:none!important}#print-record{display:block!important;padding:24px;font:12pt/1.5 var(--sans)}#print-record h1{font-size:24pt;letter-spacing:0;margin-bottom:20px}#print-record p{margin:10px 0}#print-record .fact-list>div{break-inside:avoid}#print-record a{color:#111}}
