:root{--ink:#203c3e;--muted:#53676a;--green:#173e40;--light:#e9f0eb;--paper:#f6f4ef;--line:#d8dfd7;--sand:#e8c99b;--red:#a03827;--white:#fff;--shadow:0 12px 34px #163b3d08;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:17px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.6}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a96c1c;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.16;letter-spacing:-.025em}h1{font-size:clamp(2.2rem,5vw,3.7rem);margin-bottom:22px}h2{font-size:2rem}h3{font-size:1.1rem;line-height:1.4}p{margin-bottom:18px}small,.small{font-size:.83rem;color:var(--muted)}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:20px;z-index:100;background:#fff;padding:10px}.skip:focus{top:10px}.topbar{max-width:1180px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;font-size:1.2rem;line-height:1.2}.brand strong{font-weight:650}.brand small{display:block;font-size:.68rem;margin-top:5px;letter-spacing:.03em}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--green);color:var(--sand);font-size:42px;line-height:1}.account-info{display:flex;gap:15px;align-items:center;font-size:.86rem}.account-info>span{max-width:230px;overflow-wrap:anywhere}#main{max-width:1120px;margin:0 auto;padding:35px 30px 70px;min-height:70vh}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding:30px 0 35px}.eyebrow{text-transform:uppercase;font-size:.71rem;letter-spacing:.16em;font-weight:750;color:var(--muted);margin-bottom:20px;display:block}.lead{font-size:1.08rem;max-width:600px;color:var(--muted)}.hero-note{border-left:3px solid var(--sand);padding-left:18px;max-width:480px;margin-top:28px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow)}.auth-card{padding:30px}.auth-card h2{margin:25px 0 12px}.tabs{display:flex;gap:6px;background:var(--paper);padding:5px;border-radius:12px}.tabs button{flex:1;border:0;background:none;padding:10px 12px;border-radius:9px;font-size:.9rem}.tabs button.active{background:#fff;box-shadow:0 2px 6px #0000000d;color:var(--green);font-weight:700}.field{display:block;margin:17px 0}.field>span{display:block;font-weight:650;font-size:.9rem;margin-bottom:7px}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;background:#fff;border:1px solid #aab9b6;border-radius:10px;min-height:48px;padding:11px 13px;color:var(--ink)}textarea{min-height:105px;resize:vertical;line-height:1.55}input::placeholder,textarea::placeholder{color:#6f807d}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:11px;min-height:48px;padding:11px 21px;text-decoration:none;font-weight:650;font-size:.94rem}.btn:hover{background:#275557}.btn.secondary{background:#fff;color:var(--green);border-color:#aab9b6}.btn.secondary:hover{background:var(--light)}.btn.soft{background:var(--light);color:var(--green);border-color:transparent}.btn.danger{background:#fff;color:var(--red);border-color:#dcbfb7}.btn.full{width:100%}.text-btn{border:0;background:none;padding:8px;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:.88rem;min-height:44px}.check-line{display:flex;align-items:flex-start;gap:11px;font-size:.85rem;margin:18px 0;line-height:1.5}.check-line input{margin-top:3px;min-width:20px;width:20px;height:20px;accent-color:var(--green)}.privacy{font-size:.82rem;color:var(--muted);line-height:1.55}.inline-error{color:var(--red);font-size:.92rem;margin:12px 0;overflow-wrap:anywhere}.facts{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.pill{border:1px solid var(--line);border-radius:30px;padding:5px 11px;font-size:.79rem;background:#fff}.pill.green{background:var(--light);border-color:var(--light)}.section-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:35px 0 20px}.section-row h2{margin:0}.dashboard-title{max-width:760px;margin:25px 0 32px}.dashboard-title h1{font-size:2.8rem}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.scale-card{position:relative;overflow:hidden;background:#eaf0e9}.scale-card:after{content:'∿';position:absolute;right:15px;top:-30px;font-size:130px;line-height:1;color:#173e4010;pointer-events:none}.scale-card h2{max-width:350px}.future-card{background:transparent;border-style:dashed;box-shadow:none}.future-card p{color:var(--muted)}.report-list{display:grid;gap:12px}.report{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:14px}.report h3{margin:0 0 5px}.report p{margin:0;font-size:.87rem;color:var(--muted);overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.notice{background:var(--light);border-radius:12px;padding:16px 19px;font-size:.92rem;line-height:1.6}.notice.warning{background:#fff2d9;color:#684e20}.empty{border:1px dashed #b9c7bf;border-radius:16px;padding:32px;color:var(--muted);text-align:center}.intro{max-width:760px;margin:auto}.intro h1{font-size:3rem}.intro ol{padding-left:25px}.intro li{padding:6px 0}.step-layout{max-width:790px;margin:auto}.form-meta{display:flex;justify-content:space-between;gap:10px;font-size:.82rem;color:var(--muted);margin:20px 0 7px}.form-meta strong{font-weight:650;color:var(--green)}progress{height:7px;width:100%;display:block;border:none;border-radius:10px;background:var(--line);appearance:none}progress::-webkit-progress-bar{background:var(--line);border-radius:10px}progress::-webkit-progress-value{background:var(--green);border-radius:10px}progress::-moz-progress-bar{background:var(--green);border-radius:10px}.steps{display:flex;gap:8px;overflow-x:auto;padding:14px 1px 17px;scrollbar-width:thin}.steps button{flex:0 0 34px;border:1px solid #afbfba;border-radius:50%;width:34px;height:34px;background:transparent;color:var(--green);font-size:.82rem}.steps button.current{background:var(--green);color:#fff;border-color:var(--green)}.steps button.done{background:var(--light)}.step-heading{padding:12px 0}.step-heading h1{font-size:2.65rem;margin:8px 0 15px}.step-heading .eyebrow{margin:0}.question{margin:0 0 20px;padding:24px 25px;border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0}.question legend{float:left;width:100%;font-weight:700;font-size:1.06rem;line-height:1.45;padding:0;margin-bottom:11px}.question .hint{clear:both;font-size:.88rem;color:var(--muted);line-height:1.55;margin-bottom:19px}.q-num{color:#6c7f72;font-size:.78rem;font-weight:600;display:block;margin-bottom:6px}.options{display:grid;gap:8px;clear:both}.option{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;min-height:49px;padding:12px 13px;line-height:1.4;font-size:.94rem;cursor:pointer}.option:has(input:checked){border-color:var(--green);background:#edf3ec;box-shadow:inset 0 0 0 1px var(--green)}.option input{accent-color:var(--green);min-width:19px;width:19px;height:19px;margin:2px 0 0}.optional{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.optional summary{font-size:.83rem;color:var(--muted);cursor:pointer;min-height:32px}.optional textarea{min-height:88px}.optional .field{margin-bottom:8px}.form-navigation{position:sticky;bottom:0;margin:20px -4px 0;padding:14px 4px 10px;background:var(--paper);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;z-index:4}.save-status{font-size:.77rem;color:var(--muted);margin:10px 0;min-height:22px}.save-status.error{color:var(--red)}.back-top{margin-left:-8px}.review-section{padding:23px 0;border-bottom:1px solid var(--line)}.review-section h2{font-size:1.6rem}.review-item{margin:20px 0}.review-item strong{display:block;font-size:.94rem}.review-item p{margin:7px 0;font-size:.93rem;overflow-wrap:anywhere;white-space:pre-wrap}.missing{color:var(--red);font-weight:650}.success-mark{width:68px;height:68px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:32px;margin:20px 0 28px}.completion{max-width:700px;margin:auto}.completion h1{font-size:3rem}.site-footer{max-width:1120px;margin:auto;padding:25px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:.72rem;color:var(--muted)}.loading{padding:100px 0;text-align:center}.divider{margin:25px 0;border:0;border-top:1px solid var(--line)}.search{max-width:430px}.user-card{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:12px}.user-card h3{margin-bottom:5px}.user-card .actions{margin-top:12px}.user-card .btn{font-size:.8rem;min-height:44px;padding:8px 12px}.password-block{max-width:540px;margin:auto}.readonly-meta{margin:20px 0}.stack{display:grid;gap:18px}.source-list{font-size:.85rem;overflow-wrap:anywhere}.source-list li{margin:10px 0}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--green);color:white;padding:13px 22px;border-radius:12px;font-size:.88rem;z-index:100;box-shadow:var(--shadow)}.temporary{padding:16px;border:1px dashed var(--green);border-radius:12px;overflow-wrap:anywhere;font-family:monospace;font-size:1.1rem}.top-actions{margin:0 0 20px}.wide-control{max-width:650px}
@media(max-width:760px){.topbar{padding:18px 20px}.brand small{font-size:.63rem}#main{padding:16px 20px 45px}.hero{grid-template-columns:1fr;gap:25px;padding-top:15px}.hero h1{font-size:2.6rem}.hero-note{margin-top:18px}.auth-card{padding:23px}.hero .lead{font-size:1rem}.dashboard-grid{grid-template-columns:1fr}.dashboard-title h1,.intro h1,.completion h1{font-size:2.4rem}.dashboard-title{margin-top:18px}.account-info>span{display:none}.account-info{gap:2px}.section-row{align-items:flex-start;flex-direction:column;gap:12px}.section-row h2{font-size:1.8rem}.report{align-items:flex-start;flex-direction:column;gap:14px}.report .actions{width:100%}.report .actions .btn{flex:1}.question{padding:20px 17px}.step-heading h1{font-size:2.25rem}.form-meta{font-size:.75rem}.form-navigation .btn{font-size:.9rem;padding:11px 15px}.site-footer{flex-direction:column;gap:7px;padding:23px 20px}.card{padding:23px}.option{font-size:.93rem}.question legend{font-size:1.03rem}.intro .facts{gap:7px}.actions.mobile-stack{display:grid;width:100%}.actions.mobile-stack .btn{width:100%}.form-navigation{padding-bottom:max(10px,env(safe-area-inset-bottom))}.steps{gap:9px}.future-card{padding:22px}.topbar .text-btn{font-size:.8rem}}
@media(prefers-reduced-motion:no-preference){button,a,input{transition:background .16s,border-color .16s}html{scroll-behavior:smooth}}

.jump-area{font-size:.84rem;margin:13px 0;color:var(--muted)}.jump-area summary{cursor:pointer;min-height:35px;padding:5px 0}.area-help{font-size:.92rem;color:var(--muted);margin:12px 0 5px}.skip-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:5px;flex-wrap:wrap}.step-layout .question legend{font-size:1.18rem}.step-layout .option{font-size:1rem;min-height:54px}.step-layout .hint{font-size:.94rem}.step-layout .question{padding:27px}.recording{color:#a03827;font-weight:700;background:#fff2e5;border-radius:8px}@media(max-width:760px){.step-layout .question{padding:21px 19px}.step-layout .question legend{font-size:1.12rem}.step-layout .option{font-size:.98rem}.form-navigation{position:static}.form-navigation .btn{min-height:54px}.area-help{font-size:.88rem}.skip-row{gap:4px}}
.patient-home{max-width:640px}.patient-home .card{margin:18px 0}.patient-home .btn{font-size:1.15rem;min-height:58px}.patient-question{font-size:clamp(1.4rem,4vw,1.9rem);line-height:1.35}.period{font-size:1.1rem}.step-layout input[type=number]{font-size:1.5rem;min-height:60px}.options .option{min-height:60px}
.auth-simple{display:block!important;max-width:540px;margin:28px auto}.auth-simple>div:first-child{display:none}.auth-simple .auth-card{width:100%}.auth-simple~section{display:none}
