:root{--paper:#E5EBE4;--ink:#253E42;--red:#365863;--line:#c9c9c1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,'Noto Sans JP',sans-serif}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #496B72;outline-offset:5px}header{height:80px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid;gap:15px}.brand{font-weight:900;font-size:24px;letter-spacing:-1px}header>span{font-size:12px;letter-spacing:.12em}button{background:transparent;border:0;padding:10px 0;font-size:14px}.dark{background:var(--ink);color:white;padding:16px 24px}.dark:hover{background:var(--red)}#entry{max-width:1000px;margin:auto;padding:55px 5%}.eyebrow{font-size:12px;letter-spacing:.08em}h1{font-weight:500;font-size:clamp(52px,8vw,104px);letter-spacing:-.06em;line-height:1.22;margin:24px 0 45px}h1 em{font-family:'Yu Mincho',serif;font-weight:400;font-style:normal;color:var(--red)}label{display:block;font-size:14px;margin-bottom:12px}textarea{width:100%;background:none;border:0;border-bottom:1px solid;font-size:26px;line-height:1.6;padding:12px 0;resize:vertical}textarea:focus{outline:none;border-bottom:2px solid var(--ink)}.entry-actions{display:flex;justify-content:flex-end;gap:20px;margin-top:20px}.demo{font-size:13px;line-height:1.8;color:#666;margin-top:30px;max-width:650px}#error{color:#253E42}.toolbar{padding:16px 4% 0;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.toolbar button{border-bottom:1px solid;font-size:13px}.stage{position:relative;height:clamp(450px,60vh,690px);margin:0 3%;overflow:hidden}svg,#nodes{position:absolute;inset:0;width:100%;height:100%}svg path{fill:none;stroke:var(--line);stroke-width:1.4;vector-effect:non-scaling-stroke}svg path.active{stroke:var(--red);stroke-width:2}svg path.cross{stroke:var(--red);stroke-dasharray:5 5}.node{position:absolute;transform:translate(-50%,-50%);width:19%;max-width:230px;padding:16px 12px;text-align:left;background:var(--paper);border-top:1px solid var(--ink);transition:background .25s;animation:appear .4s ease-out;overflow-wrap:anywhere}.node strong{font-size:clamp(17px,1.8vw,25px);line-height:1.4;display:block;font-weight:500}.node small{display:block;font-size:12px;line-height:1.5;color:#666;margin-bottom:9px}.node.root{border:0;background:var(--ink);color:white;padding:22px;width:26%;max-width:300px}.node.root strong{font-size:clamp(18px,2vw,28px)}.node.root small{color:#bdbdb7}.node.selected:not(.root){background:#AAC4AE;border-top:2px solid}.node.bridge{border:1px solid var(--red);background:var(--paper)}.node.bridge strong{color:#253E42}.node.action{background:var(--red);color:white;border:0}.node.action small{color:white}.node .annotation{display:block;font-size:12px;line-height:1.5;margin-top:10px;max-height:40px;overflow:hidden}.legend{position:absolute;left:1%;bottom:12px;font-size:12px;line-height:1.8;color:#666;pointer-events:none}#panel{border-top:1px solid;display:grid;grid-template-columns:1fr 1fr;gap:7%;padding:25px 4%;min-height:180px}.panel-copy h2{font-weight:500;font-size:25px;margin:12px 0;line-height:1.5}.panel-copy p{font-size:16px;line-height:1.8;margin:0;max-width:650px}.panel-action{align-self:center}.panel-action>label{font-size:12px;color:#686860;letter-spacing:.04em;margin-bottom:8px}.note-row{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:16px;padding:4px 0 12px;transition:border-color .2s,box-shadow .2s}.note-row:focus-within{border-color:var(--ink);box-shadow:0 1px 0 var(--ink)}.note-row input{min-width:0;flex:1;width:100%;border:0;background:none;padding:10px 0;font-size:18px;line-height:1.6;caret-color:var(--ink);outline:none}.note-row input::placeholder{color:#8a8a80;font-size:16px}.note-row button{flex:none;display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;background:var(--ink);color:var(--paper);transition:transform .2s,background .2s}.note-row button:hover{background:#35352f;transform:translateX(2px)}.note-row button svg{position:static;width:18px;height:18px}.note-row button svg path{stroke:currentColor;stroke-width:1.6;fill:none}.note-row button:focus-visible{outline:2px solid var(--ink);outline-offset:4px}.panel-action #next{padding:12px 20px}#saved{font-size:13px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.bottom{margin:0 4%;border-top:1px solid var(--line);padding:15px 0;display:flex;justify-content:space-between;gap:25px;font-size:12px;line-height:1.6;color:#666}.bottom a{font-size:14px;color:var(--ink);white-space:nowrap;border-bottom:1px solid}[hidden]{display:none!important}@keyframes appear{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@media(max-width:650px){header{height:65px;padding:0 5%}.brand{font-size:20px}header>span{display:none}#entry{padding:40px 6%}textarea{font-size:22px}.toolbar{font-size:12px;padding:14px 5% 0}.toolbar button{font-size:12px}.stage{height:550px;margin:0 1%}.node{width:27%;padding:10px 7px}.node strong{font-size:16px}.node small{font-size:11px;margin-bottom:5px}.node.root{width:34%;padding:14px 10px}.node.root strong{font-size:18px}.legend{font-size:11px;left:4%}#panel{grid-template-columns:1fr;gap:20px;padding:23px 5%}.panel-copy h2{font-size:23px}.bottom{flex-direction:column;gap:10px}.bottom a{align-self:start}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.bootcamp{display:inline-block;font-size:15px;line-height:1.6;margin-top:8px}

@media(max-width:650px){#entry h1{font-size:clamp(30px,8.5vw,52px)}#entry h1 em{display:inline-block;white-space:nowrap}}

/* Consultation states and provenance retain direction D's palette and typography. */
.input-help{display:flex;justify-content:flex-end;gap:12px;margin-top:10px;color:#52605d;font-size:12px;line-height:1.6}.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.8;margin:20px 0}.consent input{width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--ink)}button:disabled{cursor:not-allowed;opacity:.55}#status{font-size:13px;line-height:1.8}#signin{display:inline-block;border-bottom:1px solid;font-size:14px}.result-origin{font-size:12px;line-height:1.8;margin:16px 4% 0;color:#52605d}.panel-copy p{white-space:pre-line;overflow-wrap:anywhere}.panel-copy h2{overflow-wrap:anywhere}.evidence{border-top:1px solid var(--line);margin:0 4%;padding:18px 0;font-size:14px;line-height:1.8}.evidence summary{cursor:pointer}.evidence li{white-space:pre-line;overflow-wrap:anywhere;margin:12px 0}.node.root strong{font-size:clamp(16px,1.7vw,23px);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.node.root{max-height:215px;overflow:hidden}#next{margin-right:10px}#title:focus{outline:none}@media(max-width:650px){.node.root strong{font-size:16px;-webkit-line-clamp:5}.node.root{max-height:210px}.input-help{font-size:11px}.entry-actions .dark{padding:14px 16px}.node strong{font-size:15px}.node small{font-size:10px}}

@media(max-width:650px){.node{width:24%}.node.root{width:32%}}

#send-help{font-size:13px;line-height:1.8;color:var(--ink);margin:12px 0;overflow-wrap:anywhere}

.reading{max-width:1000px;margin:auto;padding:36px 5% 18px}.reading blockquote{margin:14px 0 30px;padding:0 0 0 18px;border-left:2px solid var(--ink);font-size:clamp(19px,2.2vw,25px);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.reading h2{font-size:21px;font-weight:500;margin:22px 0 14px}.reading p{line-height:1.8;overflow-wrap:anywhere}.reading-lenses{list-style:none;counter-reset:lens;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.reading-lenses li{counter-increment:lens;border-top:1px solid var(--line);padding-top:14px;font-size:13px;line-height:1.8}.reading-lenses li:before{content:'0' counter(lens);display:block;font-size:11px;margin-bottom:9px}.reading-lenses strong{display:block;font-weight:500;margin-bottom:8px;font-size:15px}.reading .demo{margin-top:18px}#reading-error{font-size:14px}#reading-state{font-size:13px}@media(max-width:750px){.reading-lenses{grid-template-columns:1fr;gap:12px}.reading-lenses li{display:grid;grid-template-columns:30px 1fr;gap:0 12px;padding-top:10px}.reading-lenses li:before{grid-row:1/3}.reading-lenses strong{margin:0 0 4px}.reading-lenses span{grid-column:2}.reading{padding:28px 6% 15px}}

.application-exit{display:inline-block;font-size:14px;line-height:1.8;border-bottom:1px solid;margin:10px 0}#signin-note{margin-top:12px}textarea[readonly]{cursor:default}

.cookie-note{margin-top:12px}.cookie-note a{border-bottom:1px solid}

#question-guidance{font-size:14px;line-height:1.8;max-width:650px;margin:0 0 16px;color:#52605d}@media(max-width:650px){#question{font-size:20px;line-height:1.7}}

#service-intro{max-width:720px;font-size:15px;line-height:1.9;margin:0 0 32px}#service-intro p{margin:0 0 10px}#service-intro .service-lead{font-size:21px;line-height:1.7}

.guidance-examples{font-size:13px;line-height:1.8;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;max-width:760px}.guidance-examples summary{cursor:pointer}.guidance-examples p{margin:12px 0}.example-directions{display:flex;gap:18px;flex-wrap:wrap}.example-directions button{font-size:13px;border-bottom:1px solid;padding:5px 0}.example-directions button[aria-pressed=true]{border-bottom:2px solid;font-weight:700}#input-example-copy{padding:16px;border-left:2px solid var(--ink);white-space:pre-wrap}.example-caption{font-size:12px;color:#52605d}#input-theme{margin:0 0 14px}

#entry>h1{margin-top:0}

#question{background:#f4f6f1;padding:16px;color:var(--ink)}
