/* A common interaction language, with a different material and palette per tool. */
html[data-product-theme]{--pd-paper:#f3f0e8;--pd-ink:#292d27;--pd-accent:#745b39;--pd-soft:#e7d9bd;--pd-line:#dcd7ca}
html[data-product-theme=wild]{--pd-paper:#eef2e7;--pd-ink:#243d31;--pd-accent:#426849;--pd-soft:#cbd8b5;--pd-line:#cdd8c6}
html[data-product-theme=work]{--pd-paper:#eef1f5;--pd-ink:#25384c;--pd-accent:#355b81;--pd-soft:#c8d9e8;--pd-line:#ccd6e1}
html[data-product-theme=home]{--pd-paper:#f8f0e8;--pd-ink:#493b32;--pd-accent:#a26142;--pd-soft:#ebcbb4;--pd-line:#e3d3c6}
html[data-product-theme=trip]{--pd-paper:#eef6f3;--pd-ink:#24443c;--pd-accent:#247365;--pd-soft:#bde0d2;--pd-line:#c9ddd5}
html[data-product-theme=image]{--pd-paper:#f1f3f7;--pd-ink:#303945;--pd-accent:#476489;--pd-soft:#c9d6e9;--pd-line:#d2dbe6}
html[data-product-theme=facets]{--pd-paper:#f1f0f6;--pd-ink:#393547;--pd-accent:#665789;--pd-soft:#d9d0e9;--pd-line:#d9d5e2}
html[data-product-theme=spectrum]{--pd-paper:#161628;--pd-ink:#f1edf9;--pd-accent:#b4a1e3;--pd-soft:#484063;--pd-line:#4d4565}
html[data-product-theme=compass]{--pd-paper:#edf4f2;--pd-ink:#223e3a;--pd-accent:#39786c;--pd-soft:#c6e0d6;--pd-line:#c5d8d1}
[data-product-theme] body{background:var(--pd-paper);color:var(--pd-ink)}
[data-product-theme] .product-stage{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:214px;padding:28px 36px;margin:12px 0 32px;border-bottom:1px solid var(--pd-line);overflow:hidden;position:relative;color:var(--pd-ink)}
.stage-editorial{max-width:65%;position:relative;z-index:1}.stage-index{font:11px/1.8 system-ui;letter-spacing:.13em;color:var(--pd-accent)}
.stage-editorial h2{font:600 clamp(26px,3vw,40px)/1.3 system-ui;margin:12px 0!important;letter-spacing:-.035em}.stage-editorial p{font:14px/1.8 system-ui!important;margin:0!important;color:var(--pd-ink)!important;opacity:.75}
.pd-art{width:220px;height:180px;flex-shrink:0;perspective:750px;position:relative;pointer-events:none}.art-object{position:absolute;inset:8px 40px;transform-style:preserve-3d;transform:rotateX(calc(9deg + var(--rx,0deg))) rotateY(calc(-20deg + var(--ry,0deg))) rotateZ(-8deg);transition:transform .38s cubic-bezier(.2,.75,.25,1)}
.art-layer{position:absolute;inset:0;border-radius:16px;border:1px solid color-mix(in srgb,var(--pd-accent),white 48%);background:var(--pd-soft);box-shadow:5px 8px 13px #172b3520}.layer-back{transform:translateZ(-26px) translate(16px,9px);opacity:.65}.layer-mid{transform:translateZ(-12px) translate(8px,4px)}.layer-front{background:linear-gradient(135deg,#ffffffc9,var(--pd-soft));display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translateZ(10px);color:var(--pd-accent)}.layer-front svg{width:86px;height:86px;filter:drop-shadow(1px 3px 1px #ffffff90)}.layer-front span{font:9px/1.8 system-ui;letter-spacing:.2em;margin-top:8px}.art-floor{position:absolute;width:125px;height:18px;border-radius:50%;background:#213b3522;filter:blur(10px);bottom:0;left:48px}
[data-product-theme=archive] .stage-editorial h2{font-family:'Songti SC',SimSun,serif}.art-layer,[data-product-theme] button,[data-product-theme] a{touch-action:manipulation}
[data-product-theme=archive] .art-layer{border-radius:3px 12px 12px 3px;border-left:7px solid #795d40}
[data-product-theme=wild] .art-layer{border-radius:50% 50% 35% 35%;background:#b9caa3}.product-stage .layer-front svg{fill:none}
[data-product-theme=home] .art-layer{border-radius:50% 50% 8px 8px}.product-stage.app-stage{max-width:960px;margin:0 auto 20px}
[data-product-theme=trip] .art-layer{border-radius:4px;background:repeating-linear-gradient(white 0 22px,#d9ebe4 23px 24px)}
[data-product-theme=image] .art-layer{border-radius:4px;border:8px solid white;box-shadow:0 12px 20px #21304b20}
[data-product-theme=facets] .art-layer{border-radius:35% 12% 35% 12%;background:linear-gradient(135deg,#f9f6ff,#ccbfdf)}
[data-product-theme=spectrum] .art-layer{border-radius:28px;background:linear-gradient(140deg,#f2b7b7,#b8b5ed 50%,#aad8d4);color:#38305a}
[data-product-theme=compass] .art-layer{border-radius:50%;border:5px double #7ba899;background:#e6efdf}.app-stage+.assessment-notice{margin-top:0}
[data-product-theme] .primary,[data-product-theme] .button-dark{background:var(--pd-accent);color:#fff;border-radius:10px;box-shadow:0 4px 12px #0000000c}
[data-product-theme] button{transition:background .18s,box-shadow .18s,transform .18s,border-color .18s}
@media(hover:hover){[data-product-theme] button:not(:disabled):hover{box-shadow:0 5px 14px #152d2920;transform:translateY(-1px)}}
[data-product-theme] button:not(:disabled):active{transform:translateY(0) scale(.985)}
[data-product-theme] :focus-visible{outline:3px solid var(--pd-accent);outline-offset:4px}
[data-product-theme] .intro-paper{background:#ffffff9c;border:1px solid var(--pd-line);box-shadow:0 24px 70px #24302008;padding-top:0}
[data-product-theme] .intro-emblem,[data-product-theme] .intro-paper>.eyebrow{display:none}
[data-product-theme] .intro-paper .product-stage{margin-bottom:25px;text-align:left;padding:24px 0;min-height:205px}
[data-product-theme] .question-paper{background:#ffffffcc;border:1px solid var(--pd-line);box-shadow:0 18px 45px #22332608;border-radius:22px}
[data-product-theme] .question-options button{border-radius:12px;background:#ffffff99;border-color:var(--pd-line)}
[data-product-theme] .question-options [aria-pressed=true]{background:var(--pd-soft);border-color:var(--pd-accent);color:var(--pd-ink)}
[data-product-theme=wild] .result-card{background:#284c3d;color:#fff;border-radius:48px 12px 48px 12px}
[data-product-theme=archive] .result-card{background:#463b2d;color:#fbf2e2;border-radius:4px;border:7px double #bfa982}
[data-product-theme] .page-heading{padding-top:0;margin-bottom:24px}[data-product-theme] .page-heading h1{font-size:clamp(26px,3vw,38px)}
[data-product-theme] .tool-form,[data-product-theme] .tool-output{border:1px solid var(--pd-line);border-radius:18px;background:#ffffffc9;box-shadow:0 15px 40px #263d2f05}
[data-product-theme] .tool-form h3{border-top:1px solid var(--pd-line);padding-top:24px;margin-top:24px;font-size:18px}
[data-product-theme] .field input,[data-product-theme] .field textarea{background:#fff;border-radius:8px;border-color:var(--pd-line);font-size:15px;min-height:45px}
[data-product-theme] .field input:focus,[data-product-theme] .field textarea:focus{border-color:var(--pd-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pd-soft),transparent 55%)}
.report-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.report-metric{border:1px solid var(--pd-line);border-radius:12px;padding:20px;background:var(--pd-paper)}.report-metric h3{font-size:15px;margin:0 0 14px}.report-metric strong{display:block;font:600 28px/1.4 system-ui;color:var(--pd-accent);overflow-wrap:anywhere}.report-metric small{font-size:12px}.report-metric p{font-size:13px;margin:12px 0 0}.report-transfer{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--pd-line)}.report-details{margin:24px 0}.report-details summary{cursor:pointer;font-size:14px;font-weight:600;padding:14px 0}.report-details .output-text{font-size:13px;line-height:1.85}
[data-product-theme=trip] .tool-output{border-top:7px solid var(--pd-accent);border-radius:6px}
[data-product-theme=home] .tool-form{border-radius:28px 28px 12px 12px}
[data-product-theme=facets] #root main{background:#ffffffb8;border:1px solid var(--pd-line);border-radius:22px;padding:28px!important;margin-bottom:40px}
[data-product-theme=facets] #root main>h1{font-size:28px;color:var(--pd-ink)}
[data-product-theme=facets] #root [role=radiogroup]{border-bottom:1px solid var(--pd-line);padding:18px 0}
[data-product-theme=compass] #root main{max-width:900px;background:#ffffffc9;border:1px solid var(--pd-line);border-radius:28px;padding:32px;margin:0 auto 40px;box-shadow:0 20px 50px #26483d08}
[data-product-theme=compass] [data-testid=quiz-widget]{border:1px solid var(--pd-line);border-radius:20px;padding:28px;background:var(--pd-paper);margin-top:26px}
[data-product-theme=compass] [data-testid=quiz-question]{font-size:clamp(22px,3vw,30px);font-weight:600;margin:34px 0!important}
[data-product-theme=compass] [role=group]{display:flex;gap:10px;flex-wrap:wrap}
[data-product-theme=compass] [role=group] button{flex:1;min-width:100px;border:1px solid var(--pd-line);background:#fff;color:var(--pd-ink);border-radius:12px;padding:18px 10px}
[data-product-theme=compass] [role=group] button:hover{background:var(--pd-soft)}
[data-product-theme=compass] .scores{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.scores p{border:1px solid var(--pd-line);border-radius:12px;padding:18px;background:var(--pd-paper)}
[data-product-theme=image] .app-stage{min-height:125px;margin:0 auto;padding:12px 24px;max-width:1400px}.app-stage .pd-art{height:150px}.app-stage .art-object{inset:0 48px}
[data-product-theme=image] .tool-toolbar{background:#fff;border-bottom:1px solid var(--pd-line);padding:16px 24px}
[data-product-theme=image] .tool-panel{border-color:var(--pd-line);border-radius:14px;background:#ffffffd9}
[data-product-theme=image] .tool-panel-preview{background-color:#e7edf3;background-image:linear-gradient(45deg,#ffffff70 25%,transparent 25%),linear-gradient(-45deg,#ffffff70 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffffff70 75%),linear-gradient(-45deg,transparent 75%,#ffffff70 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
[data-product-theme=studio] header{background:#19232b!important;border-bottom:1px solid #45515a;box-shadow:0 10px 30px #0004}
[data-product-theme=studio] .studio-name{position:absolute;left:24px;bottom:10px;font:11px/1.4 system-ui;color:#afc5c8;letter-spacing:.15em}
[data-product-theme=studio] header h1{color:#b4d9cc;text-shadow:0 2px #000;transform:perspective(500px) rotateY(8deg)}
[data-product-theme=studio] .button.play{color:#bce9d3!important;text-shadow:0 3px 12px #001d20}
[data-product-theme=studio] #teleprompter{font-family:system-ui,sans-serif;letter-spacing:.025em}
[data-product-theme=spectrum] .product-stage{max-width:800px;min-height:150px;margin-bottom:0}.assessment-notice.app-boundary{position:relative;z-index:1}
@view-transition{navigation:auto}::view-transition-old(root){animation:pd-out .16s ease both}::view-transition-new(root){animation:pd-in .25s ease both}@keyframes pd-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pd-out{to{opacity:0}}
@media(max-width:640px){[data-product-theme] .product-stage{min-height:165px;padding:16px 4px;gap:0;margin-bottom:22px}.stage-editorial{max-width:65%}.stage-editorial h2{font-size:26px}.stage-editorial p{font-size:12px!important}.stage-index{font-size:10px;letter-spacing:.03em}.pd-art{width:120px;height:140px}.art-object,.app-stage .art-object{inset:12px 12px}.layer-front svg{width:64px;height:64px}.art-floor{width:85px;left:18px}.app-stage .pd-art{height:130px}.product-stage.app-stage{margin-left:16px;margin-right:16px}[data-product-theme=facets] #root main,[data-product-theme=compass] #root main{margin:0 12px 24px;padding:20px!important;border-radius:16px}[data-product-theme=compass] [data-testid=quiz-widget]{padding:18px}[data-product-theme=compass] [role=group] button{min-width:70px;padding:12px 8px}.report-metrics{gap:8px}.report-metric{padding:14px}.report-metric strong{font-size:23px}[data-product-theme=compass] .scores{grid-template-columns:repeat(2,1fr)}[data-product-theme=studio] .studio-name{display:none}}
@media(prefers-reduced-motion:reduce){[data-product-theme] *,[data-product-theme] *:before,[data-product-theme] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@media print{.product-stage,.studio-name{display:none!important}.report-details{display:block}.report-details>.output-text{display:block!important}[data-product-theme] body{background:white!important;color:#111!important}.report-metric{break-inside:avoid}}

/* Keep the task within reach: decorative headers stay compact inside tools. */
[data-product-theme] .product-stage.app-stage{min-height:140px;padding:16px 30px;margin-bottom:16px}
[data-product-theme] .app-stage .pd-art{height:115px;width:170px}
[data-product-theme] .app-stage .art-object{inset:0 34px}
[data-product-theme] .app-stage .layer-front svg{height:62px;width:62px}
[data-product-theme] .app-stage .stage-editorial h2{font-size:30px}
[data-product-theme] .pd-art{background:none}
[data-product-theme] .layer-front span{border:0;border-radius:0;padding:0;position:static;width:auto;height:auto}
[data-product-theme=compass] body{margin:0;padding-top:0}
[data-product-theme=studio] body{background:#141414;color:#fff}
@media(max-width:640px){[data-product-theme] .product-stage.app-stage{padding:10px 0;min-height:125px}[data-product-theme] .app-stage .pd-art{width:110px;height:100px}[data-product-theme] .app-stage .art-object{inset:0 12px}[data-product-theme] .app-stage .stage-editorial h2{font-size:25px}}

[data-product-theme=facets] #root main h2{padding:16px 0 4px;font-size:21px;line-height:1.6}
[data-product-theme=facets] #root [role=radiogroup] label{border:1px solid var(--pd-line);border-radius:10px;background:white;padding:12px 16px;margin:3px 0;max-width:none}
[data-product-theme=facets] #root [role=radiogroup] label[data-selected=true]{background:var(--pd-soft);border-color:var(--pd-accent)}
[data-product-theme=compass] #root main>aside{display:none}
@media(max-width:640px){[data-product-theme] .tool-form{padding:20px}[data-product-theme=facets] #root main h2{font-size:19px}}

/* Independent assessment artwork, 20261011. */
.assessment-cover{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.product-item.has-assessment-cover .product-art{padding:0;min-height:0;height:auto;background:none;overflow:hidden}
.product-item.has-assessment-cover .product-art:before,.product-item.has-assessment-cover .product-art:after{display:none}
.product-item.has-assessment-cover .assessment-cover{transform:none;max-width:none}
.catalogue-cover{margin:-24px -24px 22px;overflow:hidden;border-radius:12px 12px 0 0}
.tool-card.has-assessment-cover{overflow:hidden}
.illustrated-stage.product-stage{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:center;padding:0 0 28px;max-width:1100px;margin:0 auto 28px;border-bottom:1px solid var(--line,#d8d8ce)}
.stage-illustration{margin:0;min-width:0;overflow:hidden;border-radius:6px}
.illustrated-stage .stage-editorial{padding:20px 0;min-width:0}
.illustrated-stage .stage-editorial small{display:block;margin-top:16px;opacity:.65;font-size:11px}
.illustrated-stage.app-stage{grid-template-columns:minmax(0,260px) minmax(0,1fr);padding:0 24px 20px;margin-bottom:20px}
@media(max-width:640px){.illustrated-stage.product-stage{grid-template-columns:1fr;gap:0;padding-bottom:16px;margin-bottom:20px}.illustrated-stage .stage-editorial{padding:16px 0 0}.illustrated-stage .stage-editorial h2{font-size:26px}.illustrated-stage.app-stage{grid-template-columns:110px minmax(0,1fr);gap:16px;padding:0 16px 16px}.illustrated-stage.app-stage .stage-editorial{padding:0}.illustrated-stage.app-stage .stage-editorial h2{font-size:22px}.illustrated-stage.app-stage .stage-editorial p{font-size:12px}.illustrated-stage.app-stage .stage-editorial small{display:none}.illustrated-stage.app-stage .stage-index{font-size:10px}.catalogue-cover{margin:-24px -24px 18px}}
@media(max-width:640px){html[data-product-theme="spectrum"] #root{overflow-x:clip}}
