:root{font:17px/1.55 system-ui,sans-serif;color:#193c32;background:#f5f6ef;--green:#236447;--line:#d5ded2}*{box-sizing:border-box}body{margin:0}header{padding:24px 5%;display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:23px;font-weight:800;color:inherit;text-decoration:none}.badge{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:5px 10px;white-space:nowrap}header .badge{margin-left:auto}main{max-width:1160px;margin:auto;padding:36px 24px}.intro{max-width:760px;margin:10px 0 32px}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:750;color:#427053}h1{font-size:clamp(42px,6vw,70px);line-height:1.06;letter-spacing:-.05em;margin:18px 0}h2{font-size:25px;line-height:1.2;margin:4px 0 18px}.intro>p:last-child{max-width:660px;font-size:20px}.notice{padding:18px 22px;background:#e6eddf;border-radius:14px;font-size:14px;margin-bottom:24px}.card{background:#fffef9;border:1px solid var(--line);border-radius:18px;padding:28px;margin-bottom:22px}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}button,.file-button{font:inherit;cursor:pointer;border:1px solid #b7c7b9;border-radius:9px;padding:11px 16px;background:#fffef9;color:#193c32;line-height:1.3;text-align:left}button:hover,.file-button:hover{background:#e9efdf}button[aria-pressed=true],.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#174d35}.choices button{font-weight:700;padding:18px}.choices span{font-weight:400;display:block;font-size:13px;margin-top:8px}label{display:block;font-weight:650;font-size:14px;margin:18px 0 7px}input:not([type=checkbox]),select,textarea{font:inherit;display:block;width:100%;border:1px solid #a6b9a9;border-radius:8px;padding:12px;background:white;color:#193c32}textarea{resize:vertical}.inline{display:flex;gap:9px;align-items:center}.inline input{width:20px;height:20px}.muted,footer{font-size:13px;color:#4d6254}.layout{display:grid;grid-template-columns:225px 1fr;gap:24px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.progress-row,.project-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.progress-row{margin:24px 0 10px}progress{width:100%;height:10px;accent-color:var(--green);margin-bottom:22px}nav button{width:100%;margin-bottom:7px;font-size:14px;background:transparent}nav button[aria-current=step]{background:#e0ead8;border-color:#236447;font-weight:700}.coach{background:#f0f3e8;padding:15px;border-radius:10px;font-size:15px;margin:16px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px}footer{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.file-button{font-weight:400;margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.file-button:focus-within{outline:3px solid #cc8412;outline-offset:3px}[hidden]{display:none!important}#feedback,#start-error{color:#7d3919}details{margin-top:18px}summary{cursor:pointer}@media(max-width:750px){header{flex-wrap:wrap;gap:8px}header>span:not(.badge){display:none}main{padding:24px 16px}.choices{grid-template-columns:1fr 1fr}.layout{grid-template-columns:1fr}nav{display:flex;overflow:auto;gap:8px}nav button{min-width:155px}.card{padding:20px}.project-heading{display:block}.actions button{flex-grow:1}.progress-row{align-items:start}h2{font-size:23px}}
fieldset{border:1px solid var(--line);border-radius:12px;margin:22px 0 0;padding:18px;min-width:0}legend{font-weight:750;padding:0 8px}h3{margin-top:0}.coach p{overflow-wrap:anywhere}
#ai-handoff details{border-top:1px solid var(--line);padding-top:14px}#ai-handoff a{color:#205e42;text-underline-offset:3px}#ai-handoff .actions{align-items:center}#ai-handoff .actions a{padding:10px 0}#ai-handoff #make-handoff{margin-top:16px}
/* App shell: all views retain their original forms and state. */
.app-ready{background:#eef2e9}.app-ready header{padding:16px 24px;background:#fffef9}.app-ready header .brand{font-size:21px}.app-ready header>span:not(.badge){font-size:13px}.app-ready main{max-width:840px;padding:28px 24px 120px}.app-screen{min-width:0}.app-ready .intro{margin:8px 0 24px}.app-ready h1{font-size:clamp(34px,5vw,52px)}.app-ready .screen-title{font-size:34px;margin:4px 0 8px;letter-spacing:-.04em}.screen-caption{color:#4d6254;margin:0 0 22px}.home-actions{display:grid;gap:12px;margin-bottom:24px}.home-actions button{min-height:58px}.app-ready .card{box-shadow:0 4px 18px #193c3206}.app-ready .layout{display:block}.checkpoint-map{margin:0 0 18px}.checkpoint-map nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:8px}.checkpoint-map button{margin:0;min-width:0}.segment-nav{display:flex;gap:6px;margin:16px 0;padding:5px;border-radius:14px;background:#dfe8d8;overflow:visible}.segment-nav button{flex:1;width:auto;min-width:0;min-height:44px;margin:0;padding:10px 6px;text-align:center;border:0;font-size:14px;font-weight:650}.segment-nav button[aria-pressed=true]{background:white;color:#193c32;box-shadow:0 2px 5px #193c3210}.app-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fffef9f5;border-top:1px solid #d5ded2;backdrop-filter:blur(12px)}.app-nav button{display:flex;flex-direction:column;align-items:center;gap:1px;width:min(170px,25%);min-width:0;min-height:55px;padding:5px;margin:0;text-align:center;font-size:12px;border:0;border-radius:12px;color:#526557}.app-nav button span{font-size:23px;line-height:1.2}.app-nav button[aria-current=page]{color:#174d35;background:#dcebcf;font-weight:800}.app-ready button,.app-ready summary,.app-ready .inline,.app-ready .actions a{min-height:44px}.app-ready summary{display:flex;align-items:center;gap:8px;padding:10px 0;font-weight:650}.app-ready summary:before{content:'＋';font-weight:400}.app-ready details[open]>summary:before{content:'−'}.app-ready .notice{margin:0}.app-ready .progress-row{margin-top:8px;font-size:13px}.app-ready .choices{grid-template-columns:1fr 1fr}.app-ready .choices button{min-height:95px}.app-ready .actions a{display:inline-flex;align-items:center}.app-ready .inline{font-weight:500}.app-ready .inline input{flex-shrink:0}.app-ready h2,.app-ready p,.app-ready button{overflow-wrap:anywhere}.app-ready footer{background:#fffef9;border:1px solid var(--line);border-radius:18px;padding:22px}.app-ready #delete{color:#842f25}.app-ready #ai-handoff h2{font-size:23px}.app-ready #ai-handoff .primary{margin-top:18px}.skip-link{position:fixed;top:-100px;left:12px;z-index:50;padding:12px;background:white}.skip-link:focus{top:10px}.keyboard-open .app-nav{display:none}.app-ready :is(input,textarea,select){scroll-margin-bottom:110px;font-size:16px}.app-ready h1:focus,.app-ready h2:focus{outline:none}.app-ready h1:focus-visible,.app-ready h2:focus-visible{outline:3px solid #cc8412;outline-offset:5px}
@media(max-width:600px){.app-ready header{padding:14px 18px;gap:8px}.app-ready header .badge{font-size:10px}.app-ready main{padding:22px 16px 112px}.app-ready .card{padding:20px 18px;border-radius:20px}.app-ready .intro>p:last-child{font-size:17px}.app-ready h1{font-size:38px}.app-ready h2{font-size:22px}.app-ready .choices{gap:9px;margin:18px 0}.app-ready .choices button{padding:14px;font-size:15px}.app-ready .actions{display:grid;grid-template-columns:1fr}.app-ready .actions button{width:100%}.app-ready .progress-row button{font-size:12px;max-width:125px}.app-ready fieldset{padding:14px}.app-ready .project-heading .badge{white-space:normal}.checkpoint-map nav{grid-template-columns:1fr}.app-ready footer{padding:20px 18px}.app-ready #ai-handoff .actions a{padding:10px 0}.app-ready .screen-title{font-size:30px}.app-ready .segment-nav{gap:2px}.app-ready .segment-nav button{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.app-ready{background:#f5f5ef}.app-ready .intro{margin:0 0 24px}.app-ready .intro h1{font-size:38px;line-height:1.12;margin:10px 0 12px}.app-ready .intro>p:last-child{font-size:14px;color:#526557;margin:0}.next-win{padding:24px;background:#e2ecdc;border-radius:24px;gap:12px}.next-win h2{margin:0;font-size:26px}.next-win p{margin:0}.next-win .eyebrow{font-size:11px}.next-win>button:last-child{background:transparent;border:0;padding-left:0;min-height:44px;font-size:14px}.app-nav .nav-icon{width:22px;height:22px;display:block;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center}.icon-home{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.icon-learn{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h6l3 2 3-2h6v16h-6l-3 2-3-2H3ZM12 6v16' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.icon-ai{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v13H9l-5 4Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.icon-progress{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20v-6m7 6V9m7 11V4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}
@media(min-width:1000px){.app-ready header{padding-left:220px}.app-ready main{margin-left:210px;margin-right:auto;max-width:900px;padding:40px 48px 80px}.app-nav{top:0;right:auto;bottom:0;width:184px;flex-direction:column;justify-content:flex-start;padding:100px 14px 24px;border-top:0;border-right:1px solid var(--line);gap:12px}.app-nav button{width:100%;flex-direction:row;gap:14px;text-align:left;padding:14px;font-size:15px;min-height:54px}.app-ready .intro h1{font-size:44px}.app-ready .home-actions{max-width:700px}}
