/* One visual contract, loaded after legacy styles. */
:root{--bg:#f7f8f6;--panel:#fff;--ink:#20312c;--muted:#5d6d65;--line:#dce3dc;--blue:#245d49;--navy:#203c31;--soft:#f3f6f2}
html,body{background:var(--bg)!important;color:var(--ink);font-family:'Segoe UI',system-ui,sans-serif;line-height:1.5}
body{margin:0}*{box-sizing:border-box}
.ytf-shell{display:flex;gap:22px;align-items:center;min-height:72px;padding:12px max(20px,calc((100vw - 1100px)/2));background:#fff;border-bottom:1px solid var(--line);font-size:14px}
.ytf-shell a{color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.ytf-shell a:first-child{font-weight:650;margin-right:auto}.ytf-shell a[aria-current]{color:var(--blue);text-decoration:underline;text-underline-offset:8px}
body>main,body>.wrap{width:100%;max-width:1100px;margin:0 auto;padding:28px 24px}
.ytf-access{font-size:12px;color:var(--muted);margin:0 0 18px}.ytf-access a{color:var(--blue)}
body .hero{background:none;color:var(--ink);padding:0;box-shadow:none;border-radius:0}
body .hero p,body .hero .brand p{color:var(--muted)}
body .brand h1,body h1{font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.025em}
body h2{font-weight:600;letter-spacing:-.01em}body .brand img{display:none}
body .panel,body .card,body .banner,body .item,body .note{border-radius:10px;box-shadow:none}
body .panel{padding:20px}body .card{padding:14px}
body button,body .btn{min-height:44px;border-radius:7px;font-weight:600;font-size:14px;color:var(--blue);background:#fff;border:1px solid var(--line)}
body button.primary,body .btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
body input,body select,body textarea{font:inherit;border-radius:7px;min-height:44px;max-width:100%}
body label{font-weight:600;text-transform:none;letter-spacing:0}body th{background:#edf2ec;color:var(--ink)}
:focus-visible{outline:3px solid #518663!important;outline-offset:3px}
main .top>nav.actions,main .hero>.nav,main>.top>nav,main>header:has(a[href="/workspace"]){display:none}
html:not([data-access="operate"]) [data-operate]:not(input):not(textarea){display:none!important}
html:not([data-access="operate"]) input[data-operate],html:not([data-access="operate"]) textarea[data-operate]{opacity:1;background:#f2f5f0;color:var(--muted)}
html:not([data-access="operate"]) form:not([method="dialog"]):not(#login):not(:where([data-readonly-search])){display:none!important}
html:not([data-access="operate"]) section.panel:has(>form){display:none}
body details.ytf-reference{background:#fff;border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:14px 18px}
body details.ytf-reference>summary{cursor:pointer;min-height:30px;font-weight:600}
body details.ytf-reference>.panel{border:0;margin:0;padding:14px 0 0}
body .out{background:#f0f4ef;color:var(--ink);border:1px solid var(--line);max-height:360px}
body pre{max-width:100%;overflow:auto}body .tableWrap{max-width:100%;overflow:auto}
#advancedTools{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;color:var(--muted)}#advancedTools summary{cursor:pointer;font-size:13px}#specialistResults a{display:block;padding:10px 0;font-size:13px}#followupLink{display:inline-flex;min-height:44px;align-items:center}
html[data-access="operate"] .reader-note{display:none}main>details{margin:20px 0}main>details>summary{cursor:pointer;font-size:14px;font-weight:600}main>details>section{margin-top:18px}
main h1,main h2,main h3,main p,main .pill,main summary{overflow-wrap:anywhere}
html:not([data-access="operate"]) #packet-to-receipt{display:none}
#adminUnlock,#adminUnlock+label,label[for="adminUnlock"]{display:none!important}
html:not([data-account-role="admin"]) #loadBtn,html:not([data-account-role="admin"]) #loadPrivate{display:none!important}
@media(max-width:700px){.ytf-shell{gap:14px;padding:10px 16px;min-height:64px;flex-wrap:wrap}.ytf-shell a:first-child{flex-basis:100%;min-height:24px}body>main,body>.wrap{padding:20px 16px}body .brand h1,body h1{font-size:24px}body .grid,body .split,body .inputGrid{grid-template-columns:1fr}body .panel{padding:16px}body .top{align-items:flex-start}body .actions{justify-content:flex-start}}
