:root{font-family:system-ui,sans-serif;color:#24362f;background:#f5f6f2;font-size:18px;line-height:1.7}
*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1200px;margin:auto;padding:24px}
.brand{font-weight:700;color:#365d4b;margin:0}h1{font-size:1.6rem;margin:8px 0 16px}h2{font-size:1.35rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}
.notice{padding:16px;border-left:5px solid #b15c00;background:#fff1dc}.scope{font-size:.9rem}
main{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:30px;padding-top:0}
aside{align-self:start;min-width:0}aside h2{font-size:1.05rem}aside p,.meta,footer{font-size:.85rem;color:#4b5f55}aside label{display:block;margin-top:16px}
.panel{min-width:0;background:white;padding:32px;border:1px solid #d3ded5;border-radius:16px;box-shadow:0 3px 16px #24362f08}
fieldset{border:0;margin:0;padding:0;min-width:0}select,button,textarea,input{font:inherit}
select{width:100%;max-width:100%;min-height:48px;padding:8px;border:1px solid #73877a;border-radius:6px;background:white}
button{min-height:50px;min-width:110px;padding:10px 24px;border:1px solid #385c48;border-radius:8px;background:white;color:#264332;cursor:pointer;overflow-wrap:anywhere}
button#next{background:#315f49;color:white}button:disabled{opacity:.45;cursor:default}
nav{display:flex;justify-content:space-between;gap:16px;margin-top:24px}progress{width:100%;height:8px;accent-color:#315f49}
.option{display:flex;align-items:flex-start;gap:12px;margin:12px 0;padding:16px;border:1px solid #b9c9bc;border-radius:9px;cursor:pointer;overflow-wrap:anywhere;white-space:pre-wrap;min-height:56px}
.option:has(input:checked){background:#eef5eb;border-color:#315f49}.option input{width:22px;height:22px;margin-top:5px;flex:none;accent-color:#315f49}
textarea{display:block;width:100%;min-height:130px;padding:12px;border:1px solid #73877a;border-radius:8px;resize:vertical}
.supplement{margin:8px 0 16px}.meta,#notes{white-space:pre-wrap;overflow-wrap:anywhere}
:focus-visible{outline:3px solid #b35300;outline-offset:4px}.skip{position:absolute;left:16px;top:-100px;background:white;padding:8px;z-index:2}.skip:focus{top:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#feedback{min-height:1.7em;color:#536457}footer{text-align:center}
@media(max-width:760px){header,main,footer{padding:16px}main{display:block;padding-top:0}aside{margin-bottom:20px}aside p{margin:8px 0}.panel{padding:20px 16px;border-radius:12px}h1{font-size:1.3rem}h2{font-size:1.18rem}.option{padding:14px 12px}nav button{flex:1;min-width:0}header .notice{padding:12px}}

#actions{display:grid;gap:12px;margin:18px 0} #actions button{min-height:48px;white-space:normal;overflow-wrap:anywhere} #question{white-space:pre-wrap} #notes p{white-space:pre-wrap}

/* PILOT1 isolated presentation adapter: separate from formal source files and B */
:root{background:#FFF9F2;color:#333;font-family:system-ui,sans-serif}
[hidden]{display:none!important}
header,main,footer,#opening{max-width:720px;margin-inline:auto}
main{display:block;padding-top:0}
.panel,.copy-card{background:#fff;padding:28px 22px;border:1px solid #ecddcc;border-radius:14px}
.copy-card{margin:0 auto 24px;white-space:normal}
.copy-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}
.copy-text:empty{display:none}
.brand{color:#F56A00}
button{border-color:#d89660;color:#333}
button#next,#startButton{background:#F56A00;color:#fff;border-color:#F56A00}
.option{border-color:#cdbdaf}.option:has(input:checked){background:#fff0e4;border-color:#F56A00;color:#ae4a00}
.option input{accent-color:#F56A00}
#allTopics{margin-bottom:22px;border:1px solid #e7d2be;border-radius:8px;padding:12px 14px;background:white}
#allTopics summary{cursor:pointer;font-weight:600;color:#6c432e}
#allTopics ol{margin:10px 0 0;padding-left:24px;line-height:1.6}
#allTopics li.current{color:#e05a00;font-weight:700}
#allTopics li.done{color:#777;text-decoration:line-through}
#chapterHead{margin:12px 0 22px;padding:14px;background:#FFF9F2;border-radius:8px}
#chapterHead h3{margin:0 0 10px;line-height:1.4}
#chapterHead p{margin:4px 0;white-space:pre-wrap}
#questionLead{white-space:pre-wrap;color:#9a540e;font-weight:600}
#questionLead:empty{display:none}
#answers .field-helper{font-size:.85rem;color:#777;margin:5px 0 0}
@media(prefers-reduced-motion:no-preference){.quiz-reveal{animation:pilotQuizIn .25s ease-out .65s both}@keyframes pilotQuizIn{from{opacity:0}to{opacity:1}}}
@media(max-width:760px){header,main,footer,#opening{padding:16px}.copy-card{padding:20px 16px}.panel{padding:20px 16px}}

/* PILOT① isolated add-only UX controls; no formal copy or data changed */
.size-switch{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:.84rem;margin-bottom:10px;flex-wrap:wrap}
.size-switch button{min-height:40px;min-width:0;padding:4px 12px;font-size:1em;border-color:#db9c66}
.size-switch button[aria-pressed="true"]{background:#F56A00;color:white;border-color:#F56A00}
#surveyMain.pilot-large .panel{font-size:1.15em}
#surveyMain.pilot-large .panel .size-switch{font-size:.80em}
.local-q{font-size:.91em;color:#815638;font-weight:700;margin:.2em 0 .5em}
.multi-hint{font-size:.92em;margin:5px 0;color:#555}

/* Full UI audit UIF-002, UIF-004. 1.15 factor matches existing large-mode scale.
   Geometry and assistive-technology acceptance require a real browser; no PASS claim. */
#surveyMain.pilot-large #question{font-size:1.5525rem}
#surveyMain.pilot-large #answers .field-helper{font-size:.9775rem}
#surveyMain.pilot-large #allTopics{font-size:1.15em}
#actions[data-stage="chapter_end"] .b3-formal-action-list button:last-child{margin-top:16px}
@media(max-width:760px){#surveyMain.pilot-large #question{font-size:1.357rem}}
