:root{--purple:#6457d9;--dark:#151a3d;--muted:#6f7387;--line:#dedee9;--green:#6f9a72;--orange:#f4a61f;--blue:#5e99dc;--bg:#fbf7f0;--f:#6457d9;--w:#6f9a72;--a:#f4a61f;--e:#5e99dc}
.dashboard-shell{scrollbar-width:none}.dashboard-shell::-webkit-scrollbar{display:none}
*{box-sizing:border-box}html{font-family:"Noto Sans Thai",Tahoma,sans-serif;color:var(--dark);background:var(--bg);scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar,.steps::-webkit-scrollbar{display:none}body{margin:0;-ms-overflow-style:none}.page-shell{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:12px 0}.topbar{height:62px;display:flex;justify-content:space-between;align-items:center;gap:20px}.topbar form{flex:0 0 auto}.back{border:0;background:transparent;padding:0 10px;font:76px/.7 inherit;color:#111827;cursor:pointer}.back:disabled{opacity:.2;cursor:not-allowed}.steps{display:flex;list-style:none;margin:0;padding:0;gap:24px;overflow-x:auto}.steps li{text-align:center;color:var(--muted);min-width:100px}.steps li>span{display:grid;place-items:center;width:30px;height:30px;margin:auto;border:1px solid #8b8b98;background:#fff;font-size:16px;font-weight:800}.steps small{display:block;margin-top:3px;font-size:11px;line-height:1.15}.steps .done{color:var(--green)}.steps .done>span{background:var(--green);color:#fff}.steps .active{color:var(--purple)}.steps .active>span{background:var(--purple);color:#fff}.intro{height:90px;margin:8px 0}.chapter{margin:0;color:var(--purple);font-weight:800;font-size:15px}.intro h1{font-size:30px;line-height:1;margin:6px 0}.subtitle{color:#565b70;font-size:16px;font-weight:700;margin:0}.quiz-card{height:calc(100vh - 194px);min-height:520px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 30px rgba(33,32,67,.05);display:grid;grid-template-columns:minmax(360px,46%) minmax(470px,54%);grid-template-rows:52px auto 1fr 66px;overflow:hidden}.progress-row{grid-column:1/-1;display:flex;align-items:center;gap:24px;padding:14px 20px}.progress-track{height:8px;background:#e4e2ea;border-radius:10px;flex:1;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--purple);border-radius:10px}.progress-row strong{color:var(--muted);font-size:13px;white-space:nowrap}.scene{grid-column:1;grid-row:2/5;min-width:0;display:grid;place-items:center;padding:0 18px 18px;line-height:0;background:#fafafa;overflow:hidden}.scene img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}.question-copy{grid-column:2;grid-row:2;padding:14px 20px 4px}.situation{display:inline-flex;gap:8px;align-items:center;background:var(--purple);color:#fff;padding:7px 13px;font-size:13px}.question-copy h2{font-size:clamp(18px,1.55vw,25px);line-height:1.35;margin:12px 0 5px;color:#111}.question-copy p{font-size:14px;font-weight:800;margin:0;color:var(--purple)}.validation{grid-column:2;grid-row:2;align-self:end;margin:0 20px;color:#a32929;background:#fff0f0;padding:7px 12px;font-size:13px}.choices{grid-column:2;grid-row:3;border:0;margin:0;padding:10px 18px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:9px;min-height:0}.choice{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px;border:2px solid var(--line);cursor:pointer;min-height:0;overflow:hidden;transition:.15s}.choice:hover{border-color:#aaa3e8;transform:translateY(-1px)}.choice input{position:absolute;opacity:0}.letter{display:grid;place-items:center;flex:0 0 34px;height:34px;color:#fff;font-size:18px;font-weight:800}.purple .letter{background:var(--f)}.green .letter{background:var(--w)}.orange .letter{background:var(--a)}.blue .letter{background:var(--e)}.choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.choice-copy strong{font-size:clamp(13px,1vw,16px);line-height:1.3;color:#111}.choice-copy small{color:var(--muted);font-size:12px}.check{display:none;margin-left:auto}.choice:has(input:checked){border:3px solid var(--purple);background:#fbfaff}.choice:has(input:checked) .check{display:block;color:var(--purple);font-weight:800}.actions{grid-column:2;grid-row:4;display:flex;justify-content:flex-end;align-items:center;padding:10px 18px;border-top:1px solid #eeeef5}.actions button,.restart{border:0;border-radius:5px;padding:11px 26px;font:700 15px inherit;cursor:pointer}.next{background:var(--purple);color:#fff}.note{text-align:center;color:#9294a5;font-size:11px;margin:5px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* Results dashboard */
.dashboard-shell{width:min(1300px,calc(100% - 36px));margin:0 auto;padding:28px 0 38px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dashboard-header h1{font-size:40px;margin:4px 0}.dashboard-header p:last-child{margin:0;color:var(--muted)}.summary-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--green);color:#fff;font-size:30px}.overall-card,.chapter-dashboard{background:#fff;border:1px solid var(--line);padding:24px;margin-bottom:18px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-heading small{color:var(--purple);font-weight:800;letter-spacing:.12em}.section-heading h2{margin:2px 0 0;font-size:23px}.section-heading>strong{color:var(--muted)}.score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.score-card{border:1px solid var(--line);border-top:5px solid;padding:16px}.score-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.score-card span{font-size:20px;font-weight:800}.score-card strong{font-size:30px}.score-card small{color:var(--muted)}.score-f{border-top-color:var(--f)}.score-w{border-top-color:var(--w)}.score-a{border-top-color:var(--a)}.score-e{border-top-color:var(--e)}.score-track,.chapter-scores i{display:block;height:7px;background:#e9e9ef;border-radius:8px;overflow:hidden}.score-track{margin:10px 0 6px}.score-track i,.chapter-scores em{display:block;height:100%;background:currentColor}.score-f .score-track{color:var(--f)}.score-w .score-track{color:var(--w)}.score-a .score-track{color:var(--a)}.score-e .score-track{color:var(--e)}.chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.chapter-result{border:1px solid var(--line);padding:16px}.chapter-result header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.chapter-result header>span{display:grid;place-items:center;width:38px;height:38px;background:var(--purple);color:#fff;font-weight:800}.chapter-result h3{margin:0;font-size:17px}.chapter-result header small{color:var(--muted)}.chapter-scores>div{display:grid;grid-template-columns:20px 24px 1fr;gap:7px;align-items:center;margin:7px 0}.chapter-scores span,.chapter-scores b{font-size:13px}.chapter-scores em.bar-f{background:var(--f)}.chapter-scores em.bar-w{background:var(--w)}.chapter-scores em.bar-a{background:var(--a)}.chapter-scores em.bar-e{background:var(--e)}.dashboard-action{text-align:center}.dashboard-action .restart{width:auto;min-width:260px}

@media(max-width:800px){body{overflow-y:auto}.page-shell{width:100%;padding:8px 0 0}.topbar,.intro{padding-left:12px;padding-right:12px}.topbar{height:auto;min-height:60px;align-items:center}.back{font-size:68px}.steps{gap:4px;flex:1}.steps li{min-width:74px}.steps small{font-size:9px}.intro{height:auto;margin:15px 0 18px}.intro h1{font-size:30px}.subtitle{font-size:15px}.quiz-card{height:auto;min-height:0;border-left:0;border-right:0;display:block;overflow:visible}.progress-row{padding:17px 14px;gap:10px}.progress-row strong{font-size:12px}.scene{display:block;padding:0;background:#fff;overflow:visible}.scene img{width:100%;max-height:none;height:auto}.question-copy{padding:20px 15px 5px}.question-copy h2{font-size:23px;margin:17px 0 8px}.question-copy p{font-size:16px}.validation{margin:12px 12px 0;padding:10px}.choices{display:grid;grid-template-columns:1fr;grid-template-rows:none;padding:14px 12px;gap:10px}.choice{min-height:88px;padding:16px;overflow:visible}.choice-copy strong{font-size:16px}.actions{position:sticky;bottom:0;background:#fff;z-index:2;padding:12px}.actions .next{width:100%;padding:14px;font-size:16px}.note{font-size:11px;padding:0 14px;margin:10px 0 18px}.dashboard-shell{width:100%;padding:20px 12px}.dashboard-header h1{font-size:30px}.summary-icon{width:48px;height:48px}.overall-card,.chapter-dashboard{padding:16px}.score-grid{grid-template-columns:1fr 1fr}.chapter-grid{grid-template-columns:1fr}.section-heading>strong{display:none}}
@media(max-width:390px){.steps li{min-width:65px}.progress-row{align-items:flex-start;flex-direction:column}.progress-track{width:100%;flex:none}.score-grid{grid-template-columns:1fr 1fr;gap:8px}.score-card{padding:12px}.dashboard-header h1{font-size:27px}}
@media(min-width:801px){html,body{height:100%;overflow:hidden}.dashboard-shell{height:100vh;overflow-y:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Rich result dashboard */
.result-hero{background:linear-gradient(135deg,#fff 55%,#eeeafd);border:1px solid var(--line);padding:24px 30px;min-height:260px;overflow:hidden}.result-hero>div{max-width:68%}.result-hero>div>p:last-of-type{font-size:16px;line-height:1.6;color:#565b70}.result-character{width:min(310px,30vw);height:240px;object-fit:contain;align-self:flex-end}.type-pills{display:flex;gap:8px;margin-top:14px}.type-pills b,.type-pills span{padding:7px 13px;border-radius:20px}.type-pills b{background:var(--purple);color:#fff}.type-pills span{background:#ebe9f7}.character-intro{background:var(--dark);color:#fff;padding:22px 28px;margin-bottom:18px}.character-intro h2{margin:0 0 6px}.character-intro p{margin:0;line-height:1.7}.chapter-description{min-height:56px;color:#565b70;font-size:13px;line-height:1.5}.chapter-scores>div{grid-template-columns:20px 24px 1fr 34px}.chapter-scores small{text-align:right;color:var(--muted)}.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.insight-grid article{background:#fff;border:1px solid var(--line);padding:20px}.insight-grid h3{margin:0 0 10px;color:var(--purple)}.insight-grid p{white-space:pre-line;line-height:1.65;margin:0}.raw-results{background:#fff;border:1px solid var(--line);margin-bottom:18px}.raw-results summary{cursor:pointer;font-weight:800;padding:18px 22px;color:var(--purple)}.raw-table-wrap{overflow-x:auto;padding:0 18px 12px}.raw-results table{width:100%;border-collapse:collapse;min-width:720px}.raw-results th,.raw-results td{padding:10px;border-bottom:1px solid var(--line);text-align:center}.raw-results th:first-child,.raw-results td:first-child{text-align:left}.total-row{font-weight:800;background:#f5f3ff}.raw-key{padding:0 20px 16px;color:var(--muted)}
@media(max-width:800px){.result-hero{padding:20px 18px;display:block;text-align:left}.result-hero>div{max-width:100%}.result-character{display:block;width:100%;max-width:280px;height:220px;margin:12px auto -10px}.insight-grid{grid-template-columns:1fr}.chapter-description{min-height:0}}

/* Clean user-facing dashboard */
.clean-dashboard{max-width:1180px}.character-visual{height:min(66vh,640px);min-height:420px;display:grid;place-items:center;background:linear-gradient(180deg,#eeeafd 0%,#fff 100%);border:1px solid var(--line);overflow:hidden}.character-visual img{width:100%;height:100%;object-fit:contain}.identity-card{text-align:center;background:#fff;padding:32px clamp(20px,6vw,70px);border:1px solid var(--line);margin-bottom:18px}.identity-card h1{font-size:clamp(34px,5vw,54px);margin:0 0 24px}.identity-card h2{color:var(--purple);font-size:22px}.identity-card>p,.behavior-block p{line-height:1.8;color:#4e5266}.behavior-block{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.behavior-block h3{font-size:23px;margin:0 0 8px}.overview-section{background:#fff;border:1px solid var(--line);padding:26px;margin-bottom:18px}.overview-charts{display:grid;grid-template-columns:1fr 1fr;gap:22px}.radar-card,.balance-card{border:1px solid var(--line);padding:20px}.radar-card h3,.balance-card h3{margin:0 0 14px}.radar{display:block;width:min(100%,420px);margin:auto;overflow:visible}.radar-grid,.radar line{fill:none;stroke:#d9d8e5;stroke-width:1}.radar-grid.outer{stroke:#aaa6ca}.radar-value{fill:rgba(100,87,217,.28);stroke:var(--purple);stroke-width:3}.radar circle{fill:var(--purple)}.radar text{font:600 10px "Noto Sans Thai",sans-serif;fill:#4e5266}.balance-charts{display:grid;grid-template-rows:1fr 1fr;gap:16px}.balance-card{display:flex;flex-direction:column;justify-content:center}.balance-labels,.balance-values{display:flex;justify-content:space-between}.balance-labels b{font-size:15px}.balance-values{color:var(--muted);font-weight:700;margin-top:7px}.balance-track{position:relative;height:16px;margin-top:14px;border-radius:20px;background:linear-gradient(90deg,#f4a61f,#eee 50%,#5e99dc)}.balance-track.intuition{background:linear-gradient(90deg,#6457d9,#eee 50%,#6f9a72)}.balance-marker{position:absolute;top:50%;width:28px;height:28px;border:5px solid #fff;border-radius:50%;background:var(--dark);box-shadow:0 2px 8px rgba(0,0,0,.25);transform:translate(-50%,-50%)}.life-results{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.life-results article{background:#fff;border:1px solid var(--line);border-top:5px solid var(--purple);padding:22px}.life-results h2{margin:0 0 12px;font-size:21px}.life-results p{line-height:1.7;color:#565b70;margin:0}.clean-dashboard .raw-results code,.raw-key{display:none}
@media(max-width:800px){.character-visual{height:58vh;min-height:330px}.identity-card{padding:26px 18px}.overview-charts{grid-template-columns:1fr}.life-results{grid-template-columns:1fr}.overview-section{padding:16px}.radar-card,.balance-card{padding:15px}}

/* Keep the complete portrait card visible */
.character-visual{height:min(82vh,860px);min-height:520px;display:flex;align-items:center;justify-content:center;padding:20px;overflow:hidden}
.character-visual img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
@media(max-width:800px){.character-visual{height:76vh;min-height:430px;padding:10px}.character-visual img{max-width:100%;max-height:100%}}

/* Dashboard sharing */
.share-panel{background:#fff;border:1px solid var(--line);padding:26px;margin:0 0 18px}.share-panel h2{margin:2px 0 20px}.share-panel>div>small{color:var(--purple);font-weight:800;letter-spacing:.12em}.share-options{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.share-options legend{font-weight:800;margin-bottom:10px}.share-options label{display:flex;align-items:center;gap:12px;border:2px solid var(--line);padding:16px;cursor:pointer}.share-options label:has(input:checked){border-color:var(--purple);background:#f5f3ff}.share-options input{width:20px;height:20px;accent-color:var(--purple)}.share-options span{display:flex;flex-direction:column;gap:3px}.share-options small{color:var(--muted)}.share-actions{display:flex;gap:12px;margin-top:20px}.share-actions button,.email-dialog button{border:0;border-radius:5px;padding:12px 22px;font:700 15px inherit;cursor:pointer}.share-actions button:disabled,.email-dialog button:disabled{opacity:.55;cursor:wait}.share-save,.email-send{background:var(--purple);color:#fff}.share-email{background:var(--dark);color:#fff}.share-status{min-height:24px;margin:12px 0 0;color:var(--green);font-weight:700}.share-status.error{color:#a32929}.email-modal[hidden]{display:none}.email-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:18px}.email-backdrop{position:absolute;inset:0;background:rgba(22,22,35,.58)}.email-dialog{position:relative;width:min(460px,100%);background:#fff;padding:28px;box-shadow:0 18px 70px rgba(0,0,0,.25)}.email-dialog h2{margin:0}.email-dialog label{display:flex;flex-direction:column;gap:7px;font-weight:700;margin:20px 0}.email-dialog input{width:100%;border:1px solid var(--line);padding:12px;font:16px inherit}.email-dialog>div{display:flex;justify-content:flex-end;gap:10px}.email-cancel{background:#ececf2}.share-capture-stage{position:fixed;z-index:-1;left:-100000px;top:0;width:1120px;background:#fbf7f0;padding:20px}.share-capture-stage .character-visual{height:820px}.share-capture-stage .life-results{grid-template-columns:repeat(3,1fr)}.share-capture-stage .overview-charts{grid-template-columns:1fr 1fr}.share-capture-stage .insight-grid{grid-template-columns:1fr 1fr}
@media(max-width:800px){.share-panel{padding:18px}.share-options{grid-template-columns:1fr}.share-actions{flex-direction:column}.share-actions button{width:100%}}

/* Chapter completion */
.cheer-shell{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:radial-gradient(circle at 50% 15%,#eeeafd 0,#fbf7f0 48%)}.cheer-card{width:min(680px,100%);background:#fff;border:1px solid var(--line);padding:clamp(28px,6vw,58px);text-align:center;box-shadow:0 18px 60px rgba(50,43,105,.1)}.cheer-badge{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 18px;border-radius:50%;background:var(--green);color:#fff;font-size:40px;font-weight:800}.cheer-card>h1{font-size:clamp(54px,10vw,82px);line-height:1;margin:8px 0;color:var(--purple)}.cheer-lead{font-size:20px;font-weight:700;margin:0 0 24px}.cheer-progress{display:grid;grid-template-columns:repeat(var(--chapter-count,3),1fr);grid-auto-flow:column;gap:8px;margin:0 auto 30px}.cheer-progress i{display:block;width:54px;height:8px;border-radius:10px;background:#e4e2ea}.cheer-progress i.done{background:var(--green)}.early-result{background:#f7f5ff;border:1px solid #ded9ff;padding:24px;margin:0 0 26px;text-align:left}.early-result small{color:var(--purple);font-weight:800}.early-result h2{font-size:25px;margin:8px 0}.early-result p{font-size:17px;line-height:1.75;color:#4e5266;margin:0}.cheer-next{width:100%;padding:15px 24px;border:0;border-radius:5px;font:700 17px inherit;cursor:pointer}
@media(max-width:800px){.cheer-shell{align-items:start;padding:70px 12px 24px}.cheer-card{padding:30px 18px}.early-result{padding:20px}.early-result h2{font-size:22px}.early-result p{font-size:16px}}
.cheer-progress{display:flex}.cheer-progress i{flex:1;width:auto}
.chapter-intro-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 15%,#eeeafd 0,#fbf7f0 48%)}
.chapter-intro-card{width:min(1100px,100%);display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,1fr);background:#fff;border:1px solid var(--line);box-shadow:0 18px 60px rgba(50,43,105,.1);overflow:hidden}
.chapter-intro-card>img{width:100%;height:100%;max-height:720px;object-fit:contain;background:#f7f5ff}.chapter-intro-card>div{padding:clamp(28px,5vw,64px);align-self:center}.chapter-intro-card h1{font-size:clamp(34px,5vw,54px);margin:8px 0}.chapter-intro-card h2,.next-chapter-intro h3{color:var(--purple)}.chapter-intro-card>div>p:last-of-type,.next-chapter-intro p{font-size:17px;line-height:1.8;color:#4e5266}.chapter-intro-card form{margin-top:28px}
.next-chapter-intro{margin:0 0 26px;background:#fff;border:1px solid var(--line);text-align:left;overflow:hidden}.next-chapter-intro img{display:block;width:100%;max-height:360px;object-fit:contain;background:#f7f5ff}.next-chapter-intro>div{padding:20px}.next-chapter-intro h2{margin:5px 0}.next-chapter-intro h3{margin:0 0 10px}.next-chapter-intro p{margin:0}
@media(max-width:800px){.chapter-intro-shell{padding:12px}.chapter-intro-card{grid-template-columns:1fr}.chapter-intro-card>img{max-height:none}.chapter-intro-card>div{padding:28px 20px}.chapter-intro-card>div>p:last-of-type{font-size:16px}}

/* Profile step */
.profile-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.profile-card{width:min(520px,100%);background:#fff;border:1px solid var(--line);box-shadow:0 18px 50px rgba(33,32,67,.1);padding:clamp(28px,6vw,52px)}.profile-card h1{font-size:clamp(32px,6vw,44px);margin:6px 0}.profile-lead{color:var(--muted);line-height:1.6;margin-bottom:28px}.profile-card form{display:grid;gap:10px}.profile-card label{font-weight:800;margin-top:8px}.profile-card select,.profile-card input{width:100%;min-height:54px;border:2px solid var(--line);border-radius:6px;background:#fff;padding:10px 14px;font:600 17px inherit;color:var(--dark)}.profile-card select:focus,.profile-card input:focus{outline:3px solid #dcd8ff;border-color:var(--purple)}.profile-next{border:0;border-radius:6px;min-height:56px;margin-top:20px;font:800 18px inherit;cursor:pointer}.profile-error{color:#a32929;background:#fff0f0;padding:12px 14px;border-radius:5px}

/* Global reset confirmation */
.global-reset{position:fixed;top:14px;left:14px;z-index:40;display:flex;align-items:center;gap:7px;border:1px solid #d4d3df;border-radius:999px;background:rgba(255,255,255,.94);color:#55596c;padding:9px 14px;font:700 14px inherit;box-shadow:0 4px 14px rgba(33,32,67,.1);cursor:pointer;backdrop-filter:blur(7px)}.global-reset:hover{border-color:var(--purple);color:var(--purple)}.reset-modal[hidden]{display:none}.reset-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}.reset-backdrop{position:absolute;inset:0;background:rgba(15,18,43,.58);backdrop-filter:blur(4px)}.reset-dialog{position:relative;width:min(480px,100%);background:#fff;border-radius:12px;padding:32px;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.3)}.reset-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 15px;border-radius:50%;background:#eeeafd;color:var(--purple);font-size:36px;font-weight:800}.reset-dialog h2{font-size:27px;margin:0 0 10px}.reset-dialog p{color:var(--muted);line-height:1.6;margin:0 0 25px}.reset-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reset-actions form{margin:0}.reset-actions button{width:100%;min-height:50px;border:0;border-radius:6px;padding:10px 15px;font:800 15px inherit;cursor:pointer}.reset-cancel{background:#ececf2;color:#55596c}.reset-confirm{background:var(--purple);color:#fff}.modal-open{overflow:hidden!important}
@media(max-width:800px){.global-reset{top:8px;left:8px;padding:9px 11px}.global-reset span{display:none}.reset-dialog{padding:26px 18px}.reset-actions{grid-template-columns:1fr}.reset-cancel{order:2}}
.global-reset{left:auto;right:14px}@media(max-width:800px){.global-reset{left:auto;right:8px}}

/* Stronger question controls */
.back{font-size:92px;font-weight:600;line-height:.58;min-width:72px;min-height:58px}
.choice-copy strong{font-size:clamp(17px,1.25vw,20px);line-height:1.38}
.choice{align-items:center;border-width:2px}
.check{flex:0 0 34px;width:34px;height:34px;border-radius:50%;place-items:center;background:var(--purple);color:#fff!important;font-size:21px;box-shadow:0 4px 12px rgba(100,87,217,.35)}
.choice:has(input:checked){border:4px solid var(--purple);background:#f2efff;box-shadow:0 8px 22px rgba(100,87,217,.22)}
.choice:has(input:checked) .check{display:grid}
.actions .next{min-width:180px;min-height:54px;padding:14px 34px;font-size:19px;transition:background-color .15s,transform .15s,opacity .15s}
.actions .next:not(:disabled):hover{background:#5548c7;transform:translateY(-1px)}
.actions .next:disabled{background:#d5d5dd;color:#898b98;cursor:not-allowed;box-shadow:none;opacity:1}
@media(max-width:800px){.back{font-size:80px;min-width:60px}.choice-copy strong{font-size:17px}.actions .next{min-height:56px;font-size:18px}}

.choice{padding-left:22px}.choice-copy{flex:1}.choice .letter{display:none}

/* Keep interstitial actions reachable when desktop content exceeds the viewport. */
.cheer-shell,.chapter-intro-shell{height:100vh;min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:800px){.cheer-shell,.chapter-intro-shell{height:auto;min-height:100vh;overflow-y:visible}}

/* Horizontal chapter-completion layout for desktop. */
.cheer-card{width:min(1180px,100%);padding:clamp(22px,3vw,38px);text-align:left}
.cheer-summary{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:18px 24px;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.cheer-summary .cheer-badge{width:64px;height:64px;margin:0;font-size:34px}.cheer-summary-copy{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:4px 14px}.cheer-summary-copy .chapter{grid-column:1}.cheer-summary-copy h1{grid-column:2;grid-row:1/3;font-size:56px;line-height:1;margin:0;color:var(--purple)}.cheer-summary-copy .cheer-lead{grid-column:1;margin:0;font-size:17px}.cheer-summary .cheer-progress{margin:0;justify-self:stretch}
.cheer-layout{display:grid;grid-template-columns:minmax(360px,46%) minmax(420px,54%);gap:28px;align-items:stretch}.cheer-story-image{margin:0;min-height:460px;background:#f7f5ff;border:1px solid var(--line);display:grid;place-items:center;overflow:hidden}.cheer-story-image img{display:block;width:100%;height:100%;max-height:680px;object-fit:contain}.cheer-details{display:flex;flex-direction:column;min-width:0}.cheer-details .early-result{margin:0 0 16px}.cheer-details .next-chapter-intro{flex:1;margin:0 0 16px}.cheer-details .next-chapter-intro>div{height:100%;padding:22px}.cheer-details form{margin-top:auto}
@media(max-width:800px){.cheer-card{width:min(680px,100%);padding:30px 18px}.cheer-summary{display:flex;flex-direction:column;text-align:center;gap:10px}.cheer-summary-copy{display:block}.cheer-summary-copy h1{font-size:64px;margin:6px 0}.cheer-summary-copy .cheer-lead{font-size:18px}.cheer-summary .cheer-progress{width:100%}.cheer-layout{display:flex;flex-direction:column;gap:16px}.cheer-story-image{min-height:0}.cheer-story-image img{height:auto;max-height:none}.cheer-details .early-result,.cheer-details .next-chapter-intro{margin-bottom:16px}}

/* Larger artwork with calmer type proportions. */
@media(min-width:801px){
  .intro{height:82px;margin:6px 0}.intro h1{font-size:27px;margin:5px 0}.intro .chapter{font-size:14px}.subtitle{font-size:14px}
  .quiz-card{height:calc(100vh - 180px);grid-template-columns:minmax(440px,55%) minmax(400px,45%);grid-template-rows:48px auto 1fr 62px}
  .scene{padding:0 10px 10px}.question-copy{padding:12px 18px 3px}.situation{padding:6px 11px;font-size:12px}
  .question-copy h2{font-size:clamp(16px,1.25vw,21px);line-height:1.32;margin:10px 0 4px}.question-copy p{font-size:12px}
  .choice-copy strong{font-size:clamp(12px,.88vw,14px)}.choice-copy small{font-size:11px}
  .chapter-intro-card{width:min(1240px,100%);grid-template-columns:minmax(480px,58%) minmax(340px,42%)}
  .chapter-intro-card>div{padding:clamp(24px,3.5vw,48px)}.chapter-intro-card h1{font-size:clamp(28px,3.5vw,42px);line-height:1.15}
  .chapter-intro-card>div>p:last-of-type,.next-chapter-intro p{font-size:15px;line-height:1.65}
  .cheer-layout{grid-template-columns:minmax(440px,55%) minmax(360px,45%);gap:24px}
  .early-result h2{font-size:22px}.early-result p{font-size:15px;line-height:1.6}
}

/* Content-aware fitting: shrink only when copy cannot fit its available panel. */
.question-copy h2,.question-copy p,
.choice-copy strong,.choice-copy small,
.early-result p,.next-chapter-intro p,
.identity-card p,.life-results p,.chapter-description,
.insight-grid p{
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.save-preview{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#17171d;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));overflow:auto}.save-preview-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 auto 12px;padding:12px 14px;width:min(920px,100%);background:#fff;border-radius:8px}.save-preview-toolbar p{display:flex;flex-direction:column;gap:2px;margin:0;font-size:15px}.save-preview-toolbar small{font-size:12px;color:#565b70}.save-preview-toolbar button{flex:0 0 42px;width:42px;height:42px;border:0;border-radius:50%;background:#eceaf8;color:#292348;font:30px/1 sans-serif;cursor:pointer}.save-preview>img{display:block;width:auto;max-width:min(920px,100%);height:auto;margin:auto;object-fit:contain;background:#fff}
@media(min-width:801px){
  .quiz-card.content-medium .question-copy h2{font-size:clamp(20px,1.4vw,27px)}
  .quiz-card.content-long .question-copy h2{font-size:clamp(17px,1.15vw,23px);line-height:1.24}
  .choice.choice-medium .choice-copy strong{font-size:clamp(15px,.9vw,18px)}
  .choice.choice-long .choice-copy strong{font-size:clamp(13px,.78vw,16px);line-height:1.22}
  .quiz-card.fit-compact .question-copy h2{font-size:clamp(17px,1.15vw,23px)}
  .quiz-card.fit-compact .choice{padding:10px}.quiz-card.fit-compact .choice-copy strong{font-size:clamp(14px,.82vw,17px);line-height:1.22}
  .quiz-card.fit-tight .question-copy h2{font-size:clamp(15px,1vw,20px);line-height:1.2}
  .quiz-card.fit-tight .choices{gap:6px;padding-top:6px;padding-bottom:6px}.quiz-card.fit-tight .choice{padding:8px}
  .quiz-card.fit-tight .choice-copy strong{font-size:clamp(12px,.72vw,15px);line-height:1.16}
  .cheer-layout.content-medium .early-result p,.cheer-layout.content-medium .next-chapter-intro p{font-size:18px;line-height:1.45}
  .cheer-layout.content-long .early-result p,.cheer-layout.content-long .next-chapter-intro p{font-size:15px;line-height:1.35}
  .cheer-layout.fit-compact .early-result,.cheer-layout.fit-compact .next-chapter-intro>div{padding:16px}
  .cheer-layout.fit-compact .early-result h2,.cheer-layout.fit-compact .next-chapter-intro h2{font-size:24px;margin:5px 0}
  .cheer-layout.fit-compact .early-result p,.cheer-layout.fit-compact .next-chapter-intro p{font-size:15px;line-height:1.35}
  .cheer-layout.fit-tight .early-result,.cheer-layout.fit-tight .next-chapter-intro>div{padding:12px}
  .cheer-layout.fit-tight .early-result h2,.cheer-layout.fit-tight .next-chapter-intro h2{font-size:20px}
  .cheer-layout.fit-tight .early-result p,.cheer-layout.fit-tight .next-chapter-intro p{font-size:13px;line-height:1.25}
  .cheer-details{overflow-y:auto;scrollbar-width:thin}
}
@media(max-width:800px){
  .intro h1{font-size:26px}.question-copy h2{font-size:20px}.question-copy p{font-size:14px}
  .choice-copy strong{font-size:15px}.chapter-intro-card h1{font-size:30px}
  .chapter-intro-card>div>p:last-of-type{font-size:15px;line-height:1.65}
}

/* Wide PC layout and 50% larger interface type. */
@media(min-width:1100px){
  .page-shell{width:min(1800px,calc(100% - 20px));padding:8px 0}
  .topbar{height:70px}.steps{gap:30px}.steps li{min-width:125px}.steps li>span{width:38px;height:38px;font-size:24px}.steps small{font-size:16.5px}
  .intro{height:106px;margin:8px 0}.intro .chapter{font-size:21px}.intro h1{font-size:40.5px;margin:7px 0}.subtitle{font-size:21px}
  .quiz-card{height:calc(100vh - 200px);grid-template-columns:minmax(520px,57%) minmax(470px,43%);grid-template-rows:58px auto 1fr 72px}
  .progress-row strong{font-size:19.5px}.progress-track{height:10px}
  .situation{padding:8px 14px;font-size:18px}.question-copy{padding:14px 22px 4px}
  .question-copy h2{font-size:clamp(24px,1.65vw,31.5px);line-height:1.3;margin:13px 0 6px}.question-copy p{font-size:18px}
  .choices{padding:10px 20px;gap:10px}.choice{padding:14px}.choice-copy strong{font-size:clamp(18px,1.05vw,21px);line-height:1.3}.choice-copy small{font-size:16.5px}
  .actions button,.restart{font-size:18px}.note{font-size:16.5px}
  .chapter-intro-card{width:min(1540px,calc(100vw - 48px));grid-template-columns:minmax(560px,60%) minmax(400px,40%)}
  .chapter-intro-card .chapter{font-size:21px}.chapter-intro-card h1{font-size:clamp(42px,4vw,63px)}.chapter-intro-card h2{font-size:30px}
  .chapter-intro-card>div>p:last-of-type{font-size:22.5px;line-height:1.55}.chapter-intro-card .cheer-next{font-size:21px}
  .cheer-card{width:min(1540px,calc(100vw - 48px))}.cheer-layout{grid-template-columns:minmax(520px,57%) minmax(430px,43%)}
  .cheer-summary-copy .chapter{font-size:21px}.cheer-summary-copy h1{font-size:72px}.cheer-summary-copy .cheer-lead{font-size:25.5px}
  .early-result small,.next-chapter-intro small{font-size:16.5px}.early-result h2,.next-chapter-intro h2{font-size:30px}
  .early-result p,.next-chapter-intro p{font-size:22.5px;line-height:1.55}.next-chapter-intro h3{font-size:24px}.cheer-next{font-size:21px}
}

/* Chapter atmospheres. Scoped to story pages so the other screens retain the earth-tone UI. */
.chapter-theme{--chapter-accent:#6457d9;--chapter-accent-dark:#5548c7;--chapter-soft:#f2efff;--chapter-surface:#fff;--chapter-line:#dedee9;--chapter-glow:rgba(100,87,217,.22);--chapter-background:radial-gradient(circle at 82% 8%,#eeeafd 0,transparent 34%),#fbf7f0;position:relative;isolation:isolate}
.chapter-theme::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--chapter-background);pointer-events:none}
.chapter-theme.chapter-1{--chapter-accent:#5b4b8a;--chapter-accent-dark:#44366f;--chapter-soft:#eeeaf5;--chapter-surface:#fbfafd;--chapter-line:#d7d0e2;--chapter-glow:rgba(91,75,138,.22);--chapter-background:radial-gradient(circle at 82% 7%,rgba(151,132,190,.3) 0,transparent 36%),linear-gradient(145deg,#f4f1f7,#e9e4ef)}
.chapter-theme.chapter-2{--chapter-accent:#a9583d;--chapter-accent-dark:#88432f;--chapter-soft:#f8e9df;--chapter-surface:#fffaf4;--chapter-line:#e4cdbd;--chapter-glow:rgba(169,88,61,.2);--chapter-background:radial-gradient(circle at 15% 8%,rgba(211,155,85,.27) 0,transparent 36%),linear-gradient(145deg,#fbf4e9,#f1e4d7)}
.chapter-theme.chapter-3{--chapter-accent:#356859;--chapter-accent-dark:#285246;--chapter-soft:#e1eee7;--chapter-surface:#f8fbf7;--chapter-line:#bfd2c4;--chapter-glow:rgba(53,104,89,.22);--chapter-background:radial-gradient(circle at 82% 8%,rgba(130,157,101,.3) 0,transparent 36%),linear-gradient(145deg,#edf3eb,#dce8df)}
.chapter-theme.chapter-4{--chapter-accent:#476f86;--chapter-accent-dark:#34566a;--chapter-soft:#e5eff1;--chapter-surface:#fbfdfc;--chapter-line:#c5d6d8;--chapter-glow:rgba(71,111,134,.22);--chapter-background:radial-gradient(circle at 78% 8%,rgba(196,154,85,.25) 0,transparent 32%),radial-gradient(circle at 12% 88%,rgba(116,151,158,.2) 0,transparent 35%),linear-gradient(145deg,#f1f5f3,#e5edef)}
.chapter-theme .steps .active{color:var(--chapter-accent)}
.chapter-theme .steps .active>span,.chapter-theme .situation,.chapter-theme .next{background:var(--chapter-accent)}
.chapter-theme .chapter,.chapter-theme .question-copy p,.chapter-theme.chapter-intro-shell h2{color:var(--chapter-accent)}
.chapter-theme .quiz-card,.chapter-theme .chapter-intro-card{background:var(--chapter-surface);border-color:var(--chapter-line);box-shadow:0 12px 38px var(--chapter-glow)}
.chapter-theme .progress-track{background:var(--chapter-soft)}
.chapter-theme .progress-track span{background:var(--chapter-accent)}
.chapter-theme .scene,.chapter-theme .chapter-intro-card>img{background:var(--chapter-soft)}
.chapter-theme .choice{border-color:var(--chapter-line);background:rgba(255,255,255,.82)}
.chapter-theme .choice:hover{border-color:var(--chapter-accent)}
.chapter-theme .choice:has(input:checked){border-color:var(--chapter-accent);background:var(--chapter-soft);box-shadow:0 8px 22px var(--chapter-glow)}
.chapter-theme .choice:has(input:checked) .check{color:var(--chapter-accent)}
.chapter-theme .actions{border-top-color:var(--chapter-line)}
.chapter-theme .actions .next:not(:disabled):hover,.chapter-theme.chapter-intro-shell .next:hover{background:var(--chapter-accent-dark)}
.chapter-theme .back:focus-visible,.chapter-theme .choice:focus-within,.chapter-theme .next:focus-visible{outline:3px solid var(--chapter-accent);outline-offset:3px}
@media(max-width:800px){.chapter-theme .actions{background:var(--chapter-surface)}}

/* Result-page experience survey */
.feedback-panel{margin-top:28px;padding:clamp(24px,4vw,42px);background:linear-gradient(145deg,#fffdf8,#f4ede2);border:1px solid #d9cbb8;box-shadow:0 16px 44px rgba(77,60,39,.1)}
.feedback-heading{display:flex;align-items:center;gap:18px}.feedback-heading small{color:#8a6b42;font-weight:800;letter-spacing:.13em}.feedback-heading h2{margin:3px 0 0;font-size:clamp(28px,4vw,42px)}
.feedback-constellation{flex:0 0 auto;color:#b98a3d;font-size:clamp(24px,4vw,42px);filter:drop-shadow(0 0 8px rgba(185,138,61,.35))}.feedback-lead{max-width:880px;margin:16px 0 26px;color:#5f584e;font-size:17px;line-height:1.75}
.feedback-form{display:grid;gap:18px}.rating-field{--rating-color:#e5b94a;padding:20px 22px;background:rgba(255,255,255,.76);border:1px solid #dfd4c5;border-radius:10px}.rating-field[data-rating="1"]{--rating-color:#c84545}.rating-field[data-rating="2"]{--rating-color:#df7544}.rating-field[data-rating="3"]{--rating-color:#e5b94a}.rating-field[data-rating="4"]{--rating-color:#91b957}.rating-field[data-rating="5"]{--rating-color:#3b925d}.rating-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.rating-title label{font-size:18px;font-weight:800}.rating-title output{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:var(--rating-color);color:#fff;font-size:20px;font-weight:800;box-shadow:0 0 18px color-mix(in srgb,var(--rating-color) 38%,transparent);transition:background-color .18s,box-shadow .18s}
.constellation-scale{--star-fill:60%;position:relative;display:flex;justify-content:space-between;margin:18px 8px 4px;font-size:25px;line-height:1;isolation:isolate}.constellation-scale::before{content:"";position:absolute;left:7px;right:7px;top:50%;z-index:-1;height:2px;background:linear-gradient(90deg,#c84545,#df7544,#e5b94a,#91b957,#3b925d)}.constellation-scale span{position:relative;color:#d8d3c9}.constellation-scale span::after{content:"✦";position:absolute;inset:0;width:var(--star-fill);overflow:hidden;filter:drop-shadow(0 0 6px currentColor);transition:width .18s ease}.constellation-scale span:nth-child(1)::after{color:#c84545}.constellation-scale span:nth-child(2)::after{color:#df7544}.constellation-scale span:nth-child(3)::after{color:#e5b94a}.constellation-scale span:nth-child(4)::after{color:#91b957}.constellation-scale span:nth-child(5)::after{color:#3b925d}
.rating-field input[type="range"]{width:100%;height:28px;margin:2px 0 0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}.rating-field input[type="range"]::-webkit-slider-runnable-track{height:12px;border:1px solid rgba(72,63,51,.16);border-radius:999px;background:linear-gradient(90deg,#c84545 0%,#df7544 25%,#e5b94a 50%,#91b957 75%,#3b925d 100%)}.rating-field input[type="range"]::-moz-range-track{height:12px;border:1px solid rgba(72,63,51,.16);border-radius:999px;background:linear-gradient(90deg,#c84545 0%,#df7544 25%,#e5b94a 50%,#91b957 75%,#3b925d 100%)}.rating-field input[type="range"]::-webkit-slider-thumb{width:24px;height:24px;margin-top:-7px;border:4px solid #fff;border-radius:50%;appearance:none;-webkit-appearance:none;background:#443f39;box-shadow:0 2px 8px rgba(0,0,0,.3)}.rating-field input[type="range"]::-moz-range-thumb{width:17px;height:17px;border:4px solid #fff;border-radius:50%;background:#443f39;box-shadow:0 2px 8px rgba(0,0,0,.3)}.rating-field input[type="range"]:focus-visible{outline:3px solid #cfc9fb;outline-offset:4px}.rating-labels{display:flex;justify-content:space-between;color:#777064;font-size:13px;font-weight:700}
.feedback-comment{display:grid;gap:10px;font-size:18px}.feedback-comment textarea{width:100%;resize:vertical;min-height:130px;padding:15px 17px;border:2px solid #d9cbb8;border-radius:8px;background:#fff;font:500 16px/1.6 inherit;color:var(--dark)}.feedback-comment textarea:focus{outline:3px solid #dfdafd;border-color:#6457d9}
.feedback-submit{justify-self:end;min-width:230px;min-height:54px;padding:13px 25px;border:0;border-radius:6px;background:#6457d9;color:#fff;font:800 17px inherit;cursor:pointer}.feedback-submit:hover{background:#5548c7;transform:translateY(-1px)}.feedback-submit:focus-visible{outline:3px solid #cfc9fb;outline-offset:3px}
.feedback-message{padding:14px 17px;border-radius:7px;font-weight:800}.feedback-message.success{color:#35633e;background:#e8f3e7;border:1px solid #bdd5bc}.feedback-message.error{color:#8b3535;background:#fff0f0;border:1px solid #e7c2c2}
.dashboard-action-bottom{margin-top:24px;padding-bottom:8px}
@media(max-width:800px){.feedback-panel{margin-top:20px;padding:24px 16px}.feedback-heading{align-items:flex-start}.feedback-lead{font-size:15px}.rating-field{padding:17px 14px}.rating-title label{font-size:16px}.feedback-submit{width:100%;justify-self:stretch}.constellation-scale{font-size:22px}}

/* Standalone PDPA first screen */
.pdpa-open{overflow-y:auto!important}.pdpa-open .global-reset{display:none}.pdpa-page{min-height:100vh;padding:clamp(20px,4vw,54px) 18px;background:radial-gradient(circle at 50% 0,#eee7d7 0,transparent 38%),linear-gradient(180deg,#fbf7f0,#f1eadf);display:grid;place-items:start center}.pdpa-dialog{width:min(1040px,100%);overflow:hidden;background:#fffdf8;border:1px solid #d8cbb9;border-radius:16px;box-shadow:0 24px 70px rgba(68,53,34,.16)}
.pdpa-header{display:flex;align-items:center;gap:18px;padding:clamp(24px,4vw,42px);border-bottom:1px solid #e4d9ca;background:linear-gradient(135deg,#fffaf0 35%,#eae2d2)}.pdpa-header>span{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:50%;background:#6f9a72;color:#fff;font-size:34px;box-shadow:0 8px 24px rgba(79,111,81,.22)}.pdpa-header small{color:#816744;font-weight:800;letter-spacing:.12em}.pdpa-header h2{margin:3px 0 0;font-size:clamp(28px,4vw,42px)}
.pdpa-content{padding:clamp(24px,4vw,44px);color:#403e3a}.pdpa-content>p{font-size:16px;line-height:1.72}.pdpa-content ol{padding-left:26px}.pdpa-content li{margin:9px 0;line-height:1.62}.pdpa-independent{margin-top:26px;padding:15px 17px;background:#f2ecdf;border-left:4px solid #9b7b4e}.pdpa-error{padding:13px 15px;color:#8b3535;background:#fff0f0;border:1px solid #e7c2c2;border-radius:7px}
.pdpa-form{display:grid;gap:12px;margin-top:18px}.pdpa-form>label{display:grid;grid-template-columns:26px 1fr;gap:12px;align-items:start;padding:15px;border:1px solid #ded4c7;border-radius:9px;background:#fff;cursor:pointer;line-height:1.58;transition:border-color .15s,background-color .15s,transform .15s}.pdpa-form>label:hover{border-color:#9e8bc5;background:#fbf9ff}.pdpa-form>label:has(input:checked){border-color:#89aa8b;background:#f3f8f1}.pdpa-form input{width:21px;height:21px;margin:2px 0 0;accent-color:#6f9a72}.pdpa-form input:focus-visible{outline:3px solid #c9ddca;outline-offset:3px}.pdpa-enter{width:100%;min-height:60px;margin-top:14px;border:0;border-radius:7px;background:#6457d9;color:#fff;font:800 19px inherit;cursor:pointer;box-shadow:0 10px 26px rgba(100,87,217,.2)}.pdpa-enter:hover:not(:disabled){background:#5548c7;transform:translateY(-1px)}.pdpa-enter:disabled{background:#d2d0d7;color:#85838d;cursor:not-allowed;box-shadow:none}
@media(max-width:800px){.pdpa-page{padding:0;background:#fffdf8}.pdpa-dialog{min-height:100vh;border:0;border-radius:0}.pdpa-header{padding:22px 16px}.pdpa-header>span{width:46px;height:46px;font-size:25px}.pdpa-content{padding:20px 14px 30px}.pdpa-content>p,.pdpa-content li{font-size:14px}.pdpa-form>label{grid-template-columns:24px 1fr;padding:12px;font-size:14px}.pdpa-enter{position:sticky;bottom:8px}}

/* OriMind landing page */
.landing-body{overflow-y:auto!important;background:#f5efe5}.landing-body .global-reset,.landing-body .reset-modal{display:none}.landing-shell{--land-ink:#24332d;--land-green:#617c68;--land-gold:#b98942;--land-cream:#f7f1e7;color:var(--land-ink);background:var(--land-cream)}
.landing-nav{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;min-height:70px;padding:10px max(24px,calc((100% - 1240px)/2));background:rgba(247,241,231,.94);border-bottom:1px solid #ded2c1;backdrop-filter:blur(12px)}.landing-brand{display:flex;align-items:center;gap:9px;color:var(--land-ink);font-size:21px;font-weight:800;text-decoration:none}.landing-brand img{display:block;width:38px;height:38px;object-fit:contain}.landing-brand strong{font:inherit}.landing-links{display:flex;gap:34px}.landing-links a{color:#665e52;font-size:14px;font-weight:700;text-decoration:none}.landing-links a:hover{color:var(--land-green)}.landing-nav>.landing-cta{justify-self:end}
.landing-cta,.landing-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border-radius:999px;font-weight:800;text-decoration:none}.landing-cta{background:var(--land-green);color:#fff;box-shadow:0 9px 22px rgba(60,88,70,.2)}.landing-cta:hover{background:#4f6957;transform:translateY(-1px)}.landing-cta.small{min-height:44px;padding:9px 22px}.landing-secondary{color:var(--land-ink);border:1px solid #cdbda7;background:rgba(255,255,255,.35)}
.landing-hero{width:min(1240px,calc(100% - 40px));min-height:670px;margin:auto;display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(48px,8vw,110px);align-items:center;padding:80px 0}.landing-eyebrow{margin:0 0 18px;color:var(--land-gold);font-size:12px;font-weight:800;letter-spacing:.12em}.hero-copy h1{margin:0;font-size:clamp(52px,7vw,86px);line-height:.98;letter-spacing:-.04em}.hero-copy h1 em{color:var(--land-green);font-style:normal}.hero-copy>p:not(.landing-eyebrow){max-width:620px;margin:24px 0;color:#655f55;font-size:19px;line-height:1.65}.hero-actions{display:flex;gap:12px;margin-top:32px}
.landing-about{padding:75px max(24px,calc((100% - 1240px)/2));background:#e9dfd0;border-block:1px solid #d8cab7}.landing-about-content{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:clamp(40px,8vw,110px)}.landing-about h2{margin:0;color:var(--land-ink);font-size:clamp(34px,4.2vw,52px);line-height:1.2}.landing-about-content>p{margin:0;color:#625b50;font-size:clamp(18px,2vw,22px);line-height:1.75}.landing-about strong{color:var(--land-green)}
.usage-section{background:#f7f1e7!important}.usage-steps{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:52px}.usage-steps::before{content:"";position:absolute;top:30px;left:7%;right:7%;height:1px;background:#c7b28e}.usage-steps article{position:relative;padding:0 12px;text-align:center}.usage-steps article>span{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 18px;border:1px solid var(--land-gold);border-radius:50%;background:#e9dfd0;color:var(--land-green);font-size:24px;font-weight:800}.usage-steps small{color:var(--land-gold);font-weight:800}.usage-steps h3{min-height:54px;margin:8px 0 5px;font-size:17px;line-height:1.45}.usage-steps p{margin:0;color:#71695e;font-size:14px;line-height:1.6}.usage-cta{width:max-content;margin:45px auto 0}
.pathway-preview{padding:28px;background:#ebe2d4;border:1px solid #d4c5b2;border-radius:24px;box-shadow:0 24px 55px rgba(70,55,38,.14)}.pathway-preview>small{display:block;margin-bottom:17px;color:#897a68;font-weight:700}.preview-step{display:grid;grid-template-columns:44px 1fr 25px;align-items:center;gap:12px;margin:9px 0;padding:13px;background:#f8f3eb;border:1px solid #d9cdbd;border-radius:12px}.preview-step>span{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#e4dacb;color:#6a745e;font-size:20px}.preview-step div{display:grid}.preview-step div small{color:#81786b}.preview-step>i{font-style:normal;color:#a69b8c}.preview-step.done>i,.preview-step.active>i{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--land-green);color:#fff}.preview-step.active{border-color:#b89b67;box-shadow:0 0 0 3px rgba(185,137,66,.1)}
.landing-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:28px max(24px,calc((100% - 1240px)/2));background:#e9dfd0;border-block:1px solid #d8cab7}.landing-stats div{display:grid;place-items:center;padding:3px 20px;border-right:1px solid #d4c5b2}.landing-stats div:last-child{border:0}.landing-stats b{font-size:30px;color:var(--land-green)}.landing-stats span{color:#71685b;font-size:13px}
.landing-section{padding:100px max(24px,calc((100% - 1240px)/2))}.landing-section:nth-of-type(even){background:#f0e8dc}.landing-section h2,.landing-final h2{margin:0;font-size:clamp(35px,5vw,54px);line-height:1.15}.section-lead{max-width:720px;color:#6b645a;font-size:17px;line-height:1.65}.three-pillars{display:grid;grid-template-columns:repeat(3,1fr);margin-top:55px}.three-pillars article{padding:30px 38px;border-right:1px solid #d8cbbb}.three-pillars article:last-child{border:0}.three-pillars span,.outcome-grid span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e3d5c1;color:var(--land-green);font-size:24px}.three-pillars small{display:block;margin:18px 0 8px;color:var(--land-gold);font-weight:800}.three-pillars h3,.outcome-grid h3{margin:0;font-size:20px}.three-pillars p,.outcome-grid p,.six-steps p{color:#71695e;line-height:1.6}
.pathway-section{background:#e9dfd0!important}.six-steps{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:58px}.six-steps::before{content:"";position:absolute;top:29px;left:6%;right:6%;height:1px;background:#bea982}.six-steps article{position:relative;text-align:center}.six-steps article>span{display:grid;place-items:center;width:58px;height:58px;margin:auto;border:1px solid var(--land-gold);border-radius:50%;background:#f7f1e7;color:var(--land-green);font-size:23px}.six-steps small{display:block;margin:16px 0 8px;color:#937c5d}.six-steps h3{margin:0;font-size:15px}.six-steps p{font-size:13px}
.engine-section{display:grid;grid-template-columns:1.05fr .95fr;gap:90px;background:#f7f1e7!important}.engine-section ul{display:grid;gap:19px;margin:32px 0 0;padding:0;list-style:none}.engine-section li{display:grid;grid-template-columns:1fr;gap:4px;padding-left:18px;border-left:4px solid var(--land-green)}.engine-section li span{color:#746c61}.engine-flow{align-self:center;padding:30px;background:#e8dfd2;border:1px solid #d2c3b0;border-radius:22px}.engine-flow>small{color:#8c7759;font-weight:800}.engine-flow>div{display:flex;align-items:center;gap:16px;margin-top:17px;padding:17px;border:1px solid #cfc1af;border-radius:11px;background:#f5efe6}.engine-flow>div b{padding:5px 10px;border-radius:20px;background:#d9cbb8;color:#765b33;font-size:11px}.engine-flow>i{display:block;text-align:center;color:var(--land-gold);font-style:normal}
.loop-section{background:#e9dfd0!important}.loop-flow{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:52px}.loop-flow article{display:grid;justify-items:center;flex:1;text-align:center}.loop-flow article span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:12px;background:#f7f1e7;color:var(--land-green);font-size:22px}.loop-flow article small{max-width:150px;margin-top:7px;color:#776e62}.loop-flow>i{color:#a68859;font-style:normal}
.outcome-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:50px}.outcome-grid article{padding:28px;background:#fffaf2;border:1px solid #dacdbc;border-radius:15px}.outcome-grid h3{margin-top:25px}.landing-final{margin:30px max(24px,calc((100% - 1240px)/2)) 70px;padding:70px 30px;text-align:center;background:#e7ddcf;border:1px solid #d1c1ad;border-radius:24px}.landing-final p{color:#6e665b}.landing-final .landing-cta{margin-top:18px}.landing-footer{display:flex;align-items:center;justify-content:space-between;padding:26px max(24px,calc((100% - 1240px)/2));background:#ded0bc;color:#665e52}.landing-footer p{margin:0}
@media(max-width:900px){.landing-nav{grid-template-columns:1fr auto}.landing-links{display:none}.landing-hero{grid-template-columns:1fr;padding:65px 0}.pathway-preview{max-width:650px}.landing-about-content{grid-template-columns:1fr;gap:25px}.usage-steps{grid-template-columns:repeat(3,1fr);row-gap:38px}.usage-steps::before{display:none}.three-pillars,.outcome-grid{grid-template-columns:1fr 1fr}.three-pillars article:nth-child(2){border-right:0}.six-steps{grid-template-columns:repeat(3,1fr);row-gap:35px}.six-steps::before{display:none}.engine-section{grid-template-columns:1fr;gap:45px}.loop-flow{display:grid;grid-template-columns:repeat(5,1fr)}.loop-flow>i{display:none}}
@media(max-width:600px){.landing-nav{min-height:62px;padding:8px 14px}.landing-cta.small{padding:8px 15px}.landing-hero{width:calc(100% - 28px);min-height:0;padding:54px 0}.hero-copy h1{font-size:48px}.hero-copy>p:not(.landing-eyebrow){font-size:16px}.hero-actions{flex-direction:column}.pathway-preview{padding:16px}.landing-about{padding:55px 16px}.landing-about-content>p{font-size:17px}.landing-stats{grid-template-columns:1fr 1fr;padding:18px 10px}.landing-stats div{padding:14px 8px}.landing-stats div:nth-child(2){border-right:0}.landing-section{padding:70px 16px}.usage-steps{grid-template-columns:1fr;gap:30px}.usage-steps article{padding:0 18px}.usage-steps h3{min-height:0}.three-pillars,.outcome-grid{grid-template-columns:1fr}.three-pillars article{padding:25px 12px;border-right:0;border-bottom:1px solid #d8cbbb}.six-steps{grid-template-columns:1fr 1fr}.loop-flow{grid-template-columns:1fr 1fr;row-gap:28px}.landing-final{margin:16px 14px 50px;padding:50px 20px}.landing-footer{flex-direction:column;gap:13px;text-align:center}.landing-footer p{font-size:13px}}
