:root{--bg:#f5f3ed;--paper:#fffefa;--ink:#263c36;--muted:#737b73;--line:#dedfd5;--accent:#ad6b49;--pale:#e9ede5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}header{max-width:1320px;margin:auto;padding:27px 48px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}a{color:inherit}.brand{text-decoration:none;display:flex;align-items:center;gap:14px;font-size:11px;letter-spacing:1.7px;font-weight:650}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.2px;color:var(--muted);margin-top:3px}.mark{font:italic 46px Georgia;color:var(--accent);line-height:1}.demo{font-size:12px;color:var(--muted)}.demo i{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:7px}.layout{max-width:1250px;margin:auto;display:grid;grid-template-columns:290px 1fr;gap:65px;padding:50px 40px 70px}aside{position:sticky;top:25px;align-self:start}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2.2px;color:var(--accent)}h2{font:36px/1.15 Georgia;margin:20px 0 35px}em{font-weight:400;color:var(--accent)}nav{display:grid;gap:5px}nav button{display:flex;align-items:center;gap:14px;text-align:left;background:none;border:0;padding:9px 0;color:var(--muted);font:13px system-ui;cursor:pointer}nav button .num{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;font-size:10px}nav button.active{color:var(--ink);font-weight:650}nav button.active .num{background:var(--ink);color:white;border-color:var(--ink)}nav button.done .num{background:var(--pale);color:var(--ink)}.aside-note{border-top:1px solid var(--line);margin-top:30px;padding-top:22px;font-size:10px;color:var(--muted)}.aside-note span{display:block;margin-top:14px;font:italic 19px/1.4 Georgia;color:var(--ink)}main{min-width:0;outline:none}.topline{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:8px}.progress{height:3px;background:var(--line);margin-bottom:30px}.progress div{height:100%;background:var(--accent);transition:width .3s}h1{font:44px/1.13 Georgia;letter-spacing:-1px;margin:12px 0 19px;max-width:660px}.lead{color:var(--muted);font-size:15px;max-width:610px;margin-bottom:27px}.hero{background:var(--paper);border:1px solid var(--line);padding:38px 39px;border-radius:5px;position:relative;overflow:hidden}.hero h1{font-size:48px;max-width:490px;position:relative}.hero p{position:relative;max-width:480px}.contours{position:absolute;right:-90px;top:0;width:350px;height:350px;opacity:.16;pointer-events:none}.intro-meta{display:flex;gap:25px;margin:26px 0 6px;font-size:12px;color:var(--muted)}.note{background:var(--pale);padding:18px 22px;border-radius:4px;font-size:13px;margin:24px 0}.note strong{display:block;margin-bottom:4px;font-weight:600}.card{background:var(--paper);border:1px solid var(--line);padding:26px 28px;border-radius:5px;margin:20px 0}.card h3{font:25px/1.3 Georgia;margin:0 0 10px}.card p{margin:10px 0 18px;font-size:14px}label{display:block;font-size:15px;margin-bottom:11px;line-height:1.5}textarea,input[type=text]{width:100%;font:15px/1.6 system-ui;padding:13px 15px;border:1px solid #d7dcd2;border-radius:3px;background:#fff;color:var(--ink);resize:vertical}textarea{min-height:120px}textarea:focus,input:focus{outline:2px solid #809687;outline-offset:2px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.field{margin-bottom:26px}.field:last-child{margin-bottom:0}.hint{font-size:11px;color:var(--muted);margin-top:5px}.actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:28px}.button{border:0;background:var(--ink);color:#fff;padding:15px 22px;border-radius:3px;font:13px system-ui;cursor:pointer}.button:hover{background:#38564b}.button.secondary{background:transparent;color:var(--ink);padding-left:0}.button.outline{background:transparent;color:var(--ink);border:1px solid var(--line)}.subnote{font-size:11px;color:var(--muted);margin-top:16px}.ratings{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;margin:12px 0 8px}.ratings button{height:42px;border:1px solid var(--line);border-radius:3px;background:transparent;font:14px system-ui;color:var(--ink);cursor:pointer}.ratings button[aria-checked=true]{background:var(--ink);color:white;border-color:var(--ink)}.scale-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}details{margin:18px 0;font-size:13px}summary{cursor:pointer;color:var(--accent)}.anchors{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:12px}.anchor{font-size:12px;color:var(--muted);border-left:2px solid var(--line);padding-left:12px}.anchor b{display:block;color:var(--ink);font-size:12px;margin-bottom:7px}.small-title{font-size:10px;letter-spacing:1.7px;color:var(--accent);margin-bottom:12px}.answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:8px 0 22px;color:var(--ink)}.empty{color:var(--muted);font-style:italic}.review-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.linkbutton{border:0;background:none;color:var(--accent);font-size:12px;cursor:pointer}.review-question{font-size:13px;color:var(--muted)}.check{display:flex;align-items:flex-start;gap:10px;font-size:13px}.check input{margin-top:5px;accent-color:var(--ink)}.success{padding:50px 35px;text-align:center;background:var(--paper);border:1px solid var(--line)}.success h1{font-size:38px}.success-icon{margin:auto;width:65px;height:65px;border:1px solid #a7b4a2;border-radius:50%;display:grid;place-items:center;font-size:29px}.success p{font-size:14px;color:var(--muted)}.error{color:#a24431;font-size:13px}footer{border-top:1px solid var(--line);max-width:1224px;margin:0 auto;padding:20px 0 30px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}@media(max-width:850px){header{padding:20px 24px}.layout{grid-template-columns:210px 1fr;gap:30px;padding:30px 24px}h1{font-size:36px}.hero{padding:28px}.hero h1{font-size:40px}h2{font-size:30px}footer{padding:20px 24px}.anchors{grid-template-columns:1fr}}@media(max-width:620px){header{padding:18px 20px;align-items:flex-start;gap:12px}.brand{font-size:9px;letter-spacing:1px}.brand small{font-size:10px}.demo{font-size:9px;max-width:110px;text-align:right}.layout{display:block;padding:22px 18px 40px}aside{position:static}aside h2,aside .eyebrow,.aside-note{display:none}nav{display:flex;gap:7px;overflow:auto;margin-bottom:23px}nav button{padding:0;flex-shrink:0}nav button .step-name{display:none}nav button .num{width:29px;height:29px}h1{font-size:34px;letter-spacing:-.6px}.hero{padding:26px 22px}.hero h1{font-size:38px}.card{padding:22px 18px}.card h3{font-size:24px}.ratings{gap:3px}.ratings button{height:38px;padding:0;font-size:12px}.actions{gap:8px}.button{padding:14px 17px}.intro-meta{gap:15px;font-size:11px}footer{display:block;padding:20px}footer span{display:block;margin-top:6px}.review-title{align-items:flex-start}.success{padding:35px 20px}}

.author-letter p{max-width:none;font-size:15px;line-height:1.8;margin:18px 0}.author-letter h1{max-width:100%}.author-signature{font:italic 23px Georgia;color:var(--accent);margin-top:26px}.client-guide h3{margin-top:12px}.client-guide .intro-meta{flex-wrap:wrap;font-size:13px;margin:20px 0}.session-path{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font:23px/1.5 Georgia;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.session-path i{font-style:normal;color:var(--accent)}.start-actions{justify-content:flex-end}textarea{overflow-y:auto}.error:empty{display:none}input[aria-invalid=true]{border-color:#a24431}@media(max-width:620px){.session-path{font-size:19px;gap:8px}.author-letter p{font-size:14px;line-height:1.75}}

@media(max-width:620px){textarea,input[type=text]{font-size:16px}.ratings{grid-template-columns:repeat(5,1fr);gap:7px}.ratings button{height:44px;font-size:15px}.actions{flex-wrap:wrap}.actions .button{max-width:100%;white-space:normal;line-height:1.5}.success h1{font-size:32px}.topline{gap:12px}.topline span:last-child{text-align:right}}

.consent-card .check{font-size:16px;line-height:1.6;align-items:flex-start}.consent-card input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin-top:4px}.consent-card a{overflow-wrap:anywhere}

body.reading-legal{overflow:hidden}.legal-dialog{padding:0;border:1px solid #d5dbd7;border-radius:12px;width:min(960px,94vw);max-width:94vw;height:90dvh;max-height:90dvh;background:#fff}.legal-dialog[open]{display:flex;flex-direction:column}.legal-dialog::backdrop{background:rgba(20,40,32,.55)}.legal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #d5dbd7}.legal-toolbar strong{font-size:16px}.legal-toolbar .button{flex-shrink:0}.legal-dialog iframe{width:100%;flex:1;min-height:0;border:0}@media(max-width:620px){.legal-dialog{width:96vw;max-width:96vw;height:94dvh;max-height:94dvh}.legal-toolbar{flex-direction:column;align-items:stretch;padding:12px}.legal-toolbar .button{width:100%}}

/* Readable scale guidance and final review on phones. */
@media (max-width: 620px) {
  .anchor, .anchor b, .review-question, .answer {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
  .anchor, .review-question { color: #4c5c54; }
  .anchor { overflow-wrap: anywhere; }
  details summary { font-size: 1rem; line-height: 1.5; }
  .scale-labels { font-size: .875rem; gap: 12px; color: #4c5c54; }
  .scale-labels span:last-child { text-align: right; }
  .review-title ~ p { font-size: 1.0625rem; }
  .review-title { flex-wrap: wrap; gap: 8px 12px; }
  .review-title h3 { flex: 1 1 180px; min-width: 0; }
  .review-title .linkbutton { font-size: .9375rem; min-height: 44px; padding: 8px 0; }
}
