/* Layout follows the retained PWC quiz template. DWW owns the palette and copy. */
body[data-playing="true"]>header,body[data-playing="true"]>footer,body[data-playing="true"]>.preview-bar{display:none}
#quiz-dialog.registration-overlay{width:100%;max-width:none;height:100dvh;max-height:100dvh;inset:0;margin:0;padding:0;border:0;background:transparent;overflow:auto}
#quiz-dialog.registration-overlay>.close{position:fixed;right:22px;top:15px;z-index:4;background:#171615b0;border:1px solid #b89a6070;border-radius:50%;width:43px;height:43px;line-height:1;color:#e9dfc7}
.registration-scene{min-height:100dvh;background:linear-gradient(90deg,#17161575,#17161540),var(--quiz-hero) 68% center/cover no-repeat}
#dww-player{font:16px/1.6 Arial,sans-serif;color:#e9dfc7;--dww-panel:#24211c;--dww-border:#5e503a}
#dww-player *{box-sizing:border-box}
#dww-player h1,#dww-player h2,#dww-player h3{font-family:Georgia,serif;font-weight:700;text-transform:none;letter-spacing:-.03em;color:#e9dfc7;line-height:1.15;margin-top:0}
#dww-player p{font:16px/1.65 Arial,sans-serif;margin:0 0 17px;color:inherit}
#dww-player button,#dww-player input,#dww-player textarea{font-family:Arial,sans-serif}
#dww-player .shell{position:relative;min-height:100dvh;isolation:isolate;background:#171615}
#dww-player .ambient{position:fixed;z-index:-1;inset:0;background:linear-gradient(90deg,#171615c2,#17161566 55%,#1716151a),linear-gradient(0deg,#171615b0,transparent 55%),var(--quiz-hero) 65% center/cover no-repeat;pointer-events:none}
#dww-player .brand-cap{height:128px;display:flex;justify-content:center;align-items:center;padding:12px}
#dww-player .brand-cap img{width:175px;max-height:112px;object-fit:contain;filter:drop-shadow(0 3px 9px #171615a0)}
#dww-player .stage{width:min(1240px,100%);margin:auto;padding:28px 42px 45px}
#dww-player .chapter,#dww-player .kicker,#dww-player .result-chapter{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#c9aa6d}
#dww-player .chapter,#dww-player .result-chapter{border-left:4px solid #b89a60;padding-left:12px}
#dww-player .frost{background:linear-gradient(140deg,#171615eb,#24211ce5);border:1px solid #9b825b;box-shadow:0 25px 70px #0007;border-radius:14px;padding:32px;backdrop-filter:blur(7px)}
#dww-player .direct-stage{min-height:100dvh;display:grid;place-items:center;padding:45px 18px}
#dww-player .direct-lead{width:min(100%,610px);padding:34px 38px}
#dww-player .direct-lead h1{font-size:clamp(29px,3.1vw,40px);margin:15px 0 17px}
#dww-player .direct-lead label:not(.consent-line){display:block;font-weight:700;color:#d2b578;font-size:14px;margin:16px 0 7px}
#dww-player .direct-lead input:not([type=checkbox]){width:100%;padding:13px 14px;background:#f4efe5;color:#171615;border:2px solid #e9dfc7;border-radius:5px;min-height:48px;font-size:16px}
#dww-player .consent-line{display:flex;align-items:flex-start;gap:12px;margin:17px 0;color:#e9dfc7;font-size:13px;line-height:1.6}
#dww-player .consent-line input{width:18px;height:18px;flex:none;margin:4px 0 0;accent-color:#b89a60}
#dww-player .consent-line a{color:#d5b775;text-underline-offset:3px}
#dww-player .fieldnote{font-size:12px;color:#c1b298;margin:8px 0 18px}
#dww-player .testnote,#dww-player .preview-note{font-size:11px;color:#baad96;line-height:1.6;margin:13px 0}
#dww-player .button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 23px;font-size:12px;font-weight:700;letter-spacing:.05em;border:1px solid #b89a60;border-radius:6px;min-height:46px;text-decoration:none;background:#b89a60;color:#171615;cursor:pointer}
#dww-player .button.primary:hover{background:#d1b57c}
#dww-player .button.outline{background:#171615;color:#e9dfc7;border-color:#b89a60}
#dww-player .button.subtle,#dww-player .button.email-link{background:transparent;border:0;color:#d5b775;text-decoration:underline;text-underline-offset:4px;letter-spacing:0;font-size:13px;min-height:40px}
#dww-player .direct-lead .button.primary{width:100%;margin-top:7px}
#dww-player .button.pill{background:#171615;color:#e9dfc7;border-color:#b89a60}
#dww-player .button.pill.active{background:#b89a60;color:#171615;outline:2px solid #e9dfc7;outline-offset:3px}
#dww-player .scene-top{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#e9dfc7}
#dww-player .progress{height:7px;overflow:hidden;background:#4b4131;border-radius:15px;margin:10px 0 20px}
#dww-player .progress span{display:block;height:100%;background:#b89a60}
#dww-player .question-stage{max-width:1030px;padding-top:4px;min-height:calc(100dvh - 205px)}
#dww-player .question-card h1{font-size:clamp(25px,2.7vw,37px);line-height:1.22;max-width:850px;margin:13px 0 28px;color:#d2b578}
#dww-player .answers{display:grid;grid-template-columns:1fr 1fr;gap:13px}
#dww-player .answer{display:flex;align-items:center;gap:16px;min-height:86px;padding:14px 17px;text-align:left;color:#f4efe5;background:#171615;border:1px solid #9b8b71;border-radius:9px;font-size:16px;line-height:1.4;cursor:pointer}
#dww-player .answer .letter{width:36px;height:36px;display:grid;place-items:center;flex:none;border:1px solid #b89a60;border-radius:50%;color:#e9dfc7;font-size:14px;font-weight:700}
#dww-player .answer .arrow{margin-left:auto;color:#b89a60}
#dww-player .answer:hover,#dww-player .answer.chosen{border-color:#d0b376;background:#373025;box-shadow:inset 4px 0 #b89a60}
#dww-player .answer:disabled{cursor:default}
#dww-player .question-bottom{display:flex;justify-content:center;margin-top:21px}
#dww-player .footline{display:flex;justify-content:space-between;gap:20px;width:min(1240px,100%);padding:20px 42px;margin:auto;font-size:11px;color:#b8aa91;letter-spacing:.06em}
#dww-player .result-heading{max-width:850px;text-align:center;margin:0 auto 35px}
#dww-player .result-heading h1{font-size:clamp(23px,2.2vw,31px);line-height:1.25;margin-bottom:18px}
#dww-player .result-email{display:inline-block;padding:9px 20px;border:1px solid #7a6848;border-radius:8px;background:#24211cee;max-width:100%;overflow-wrap:anywhere;font-size:14px}
#dww-player .result-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:65px;align-items:center}
#dww-player .result-story h1{font-size:clamp(29px,3.1vw,42px);margin:12px 0 15px;line-height:1.16;overflow-wrap:anywhere}
#dww-player .headline-match{font-size:16px;margin:18px 0 9px;color:#d2b578}
#dww-player .story-status{font-size:13px;font-weight:700}
#dww-player .result-copy{font-size:16px;max-width:720px}
#dww-player .result-score-panel{border-top:4px solid #b89a60;padding:22px 0;align-self:center;text-align:center}
#dww-player .score-ring{width:280px;height:280px;display:grid;place-items:center;border-radius:50%;margin:auto}
#dww-player .score-ring>div{width:219px;height:219px;border-radius:50%;background:#171615;display:flex;flex-direction:column;justify-content:center;align-items:center}
#dww-player .score-ring strong{font-size:70px;line-height:1.15;letter-spacing:-.05em;color:var(--result-tier)}
#dww-player .score-ring small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;max-width:160px;color:#d2b578;line-height:1.5}
#dww-player .score-panel-label{display:block;color:#c0ad8b;font-size:11px;margin-top:20px}
#dww-player .tier-scale{margin:25px 0 10px;max-width:700px}
#dww-player .tier-scale-label{display:flex;justify-content:space-between;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#d5cab5;margin-bottom:10px}
#dww-player .tier-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-bottom:12px}
#dww-player .tier-step{display:block;height:12px;background:var(--tier);opacity:.45;border-radius:2px}
#dww-player .tier-step.active{opacity:1;outline:2px solid #f4efe5;outline-offset:3px}
#dww-player .tier-scale>strong{font-size:13px}
#dww-player .instincts{background:#171615;color:#e9dfc7;max-width:1240px;padding-top:50px}
#dww-player .results h2{font-size:clamp(25px,2.6vw,34px);margin:13px 0 21px}
#dww-player .profile-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;margin:30px 0 45px}
#dww-player .pie-panel,#dww-player .insight-panel,#dww-player .caption-panel{background:#24211c;border:1px solid #65563f;border-radius:12px;padding:26px;text-shadow:none}
#dww-player .pie-panel h3{font-size:25px;color:#d2b578;margin-bottom:20px}
#dww-player .barometer{display:grid;gap:11px;margin-bottom:20px}
#dww-player .barometer-row{display:grid;grid-template-columns:minmax(115px,1fr) minmax(100px,1.2fr) 55px;align-items:center;gap:13px;width:100%;padding:14px;text-align:left;background:#171615;border:1px solid #5f533f;border-left:5px solid var(--score-colour);border-radius:8px;color:#e9dfc7;cursor:pointer}
#dww-player .barometer-name{font-size:13px;font-weight:700;line-height:1.4}
#dww-player .barometer-track{height:12px;overflow:hidden;background:#4b4131;border-radius:12px}
#dww-player .barometer-track i{height:100%;display:block;background:var(--score-colour);border-radius:12px}
#dww-player .barometer-row strong{font-size:20px;color:var(--score-colour);text-align:right}
#dww-player .pie-detail{background:#171615;border:1px solid #5f533f;border-radius:7px;padding:14px;font-size:13px;color:#d7cbb7}
#dww-player .pie-detail strong,#dww-player .pie-detail span{display:block}
#dww-player .pie-detail span{margin-top:8px}
#dww-player .insight-overall{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:22px}
#dww-player .insight-overall small,#dww-player .insight-item small{color:#d2b578;font-size:12px;text-transform:uppercase;letter-spacing:.05em;display:block}
#dww-player .insight-overall>strong{font-size:50px;letter-spacing:-.04em;line-height:1}
#dww-player .insight-overall>span{font:24px/1.2 Georgia,serif}
#dww-player .insight-item{border-top:1px solid #5f533f;padding:18px 0 5px;margin-top:15px}
#dww-player .insight-item strong{display:block;font-size:18px;margin:8px 0}
#dww-player .insight-item span{font-size:13px}
#dww-player .instinct-grid{display:grid;grid-template-columns:1fr;gap:18px;margin:30px 0}
#dww-player .instinct{display:grid;grid-template-columns:minmax(230px,.4fr) minmax(0,1fr);gap:30px;align-items:start;padding:25px;background:#24211c;border:1px solid #65563f;border-left:5px solid var(--tier);border-radius:12px}
#dww-player .instinct-head{display:flex;justify-content:space-between;gap:12px;align-items:start}
#dww-player .instinct-head h3{font-size:23px;line-height:1.25;margin:10px 0 17px}
#dww-player .instinct-head>strong{font-size:25px;color:var(--tier);padding-top:25px;white-space:nowrap}
#dww-player .instinct-no{font-size:10px;color:#baa98a;letter-spacing:.1em}
#dww-player .meter{height:9px;background:#4b4131;border-radius:9px;overflow:hidden;margin-bottom:13px}
#dww-player .meter span{display:block;height:100%;background:var(--tier)}
#dww-player .tierline{font-size:13px;font-weight:700;color:var(--tier);display:flex;align-items:center;gap:8px}
#dww-player .tier-dot{width:8px;height:8px;border-radius:50%;background:var(--tier);flex:none}
#dww-player .measure-note{font-size:12px;line-height:1.6;color:#c7b99e;margin:15px 0 0}
#dww-player .feedback-copy p{font-size:16px;line-height:1.7;color:#e9dfc7}
#dww-player .recorded-call{border-top:1px solid #766344;padding-top:17px;margin-top:20px}
#dww-player .recorded-call .kicker{font-size:10px;color:#d2b578}
#dww-player .recorded-call .decision-prompt{font-size:13px;color:#c5b79d;margin:10px 0}
#dww-player .recorded-call blockquote{margin:12px 0;border-left:3px solid #b89a60;padding-left:15px;font-size:15px;font-weight:700;color:#e9dfc7}
#dww-player .recorded-call p:last-child{font-size:14px;line-height:1.65}
#dww-player .next-trail-move{padding:24px;background:#2a261e;border-left:4px solid #b89a60;margin:30px 0}
#dww-player .next-trail-move h3{font-size:23px;margin:13px 0}
#dww-player .shape-pick,#dww-player .social-actions,#dww-player .share-actions{display:flex;gap:13px;flex-wrap:wrap;margin:24px 0}
#dww-player .share-preview{width:min(100%,720px);position:relative;min-height:240px;display:grid;place-items:center;background:#24211c;border:1px solid #9b825b;border-radius:9px;overflow:hidden}
#dww-player .share-preview img{width:100%;height:auto;max-height:800px;object-fit:contain;display:block}
#dww-player .share-preview[data-shape=portrait]{width:min(100%,500px)}
#dww-player .share-preview>span{position:absolute;font-size:14px;color:#d2b578}
#dww-player .caption-panel{width:100%;overflow-wrap:anywhere}
#dww-player .caption-panel p{margin:15px 0 0}
#dww-player .share-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#dww-player .share-actions .button{width:100%;font-size:11px;letter-spacing:0;line-height:1.5;white-space:normal;padding:13px 12px}
#dww-player .statusline{font-size:12px;color:#c3b18d}
#dww-player .statusline textarea{width:100%;min-height:95px;padding:12px;background:#f4efe5;color:#171615}
#dww-player .next-quiz-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:25px}
#dww-player .next-quiz-option{background:#24211c;color:#e9dfc7;border:1px solid #65563f;border-radius:9px;padding:0 0 20px;text-decoration:none;overflow:hidden}
#dww-player .next-quiz-option img{width:100%;height:120px;object-fit:cover;object-position:70% center}
#dww-player .next-quiz-option small,#dww-player .next-quiz-option strong{display:block;color:#cbb178;font-size:10px;letter-spacing:.06em;margin:15px 18px}
#dww-player .next-quiz-option h3{font-size:20px;margin:10px 18px}
#dww-player .long-trail-invitation{border-top:1px solid #5f533f;margin-top:15px}
#dww-player .long-trail-invitation>p{max-width:700px}
#dww-player .dispatch{width:100%;max-width:none;background:#30291e;grid-template-columns:1fr 1fr}
#dww-player .dispatch h2{font-size:32px}
@media(max-width:900px){#dww-player .result-grid{grid-template-columns:1fr 230px;gap:30px}#dww-player .score-ring{width:220px;height:220px}#dww-player .score-ring>div{width:170px;height:170px}#dww-player .score-ring strong{font-size:55px}#dww-player .profile-overview{grid-template-columns:1fr}#dww-player .instinct{grid-template-columns:minmax(200px,.4fr) minmax(0,1fr)}#dww-player .next-quiz-grid{grid-template-columns:1fr 1fr}#dww-player .dispatch{grid-template-columns:1fr}}
@media(max-width:650px){#dww-player .stage{padding:20px 17px 35px}#dww-player .brand-cap{height:100px}#dww-player .brand-cap img{width:140px;max-height:90px}#dww-player .direct-lead{padding:25px 21px}#dww-player .direct-lead h1{font-size:29px}#dww-player .direct-stage{padding:60px 14px 30px}#dww-player .answers{grid-template-columns:1fr;gap:10px}#dww-player .answer{min-height:67px;padding:12px;font-size:14px;gap:12px}#dww-player .answer .letter{width:31px;height:31px}#dww-player .question-card{padding:22px 17px}#dww-player .question-card h1{font-size:25px;line-height:1.24}#dww-player .result-grid{grid-template-columns:1fr;gap:22px}#dww-player .result-story h1{font-size:38px}#dww-player .result-score-panel{max-width:260px;margin:auto;padding-top:18px}#dww-player .score-ring{width:185px;height:185px}#dww-player .score-ring>div{width:145px;height:145px}#dww-player .score-ring strong{font-size:44px}#dww-player .score-ring small{font-size:9px;max-width:130px}#dww-player .footline{padding:15px 17px;flex-direction:column;gap:5px;text-align:center}#dww-player .instinct{grid-template-columns:1fr;gap:24px;padding:22px 18px}#dww-player .instinct-head h3{font-size:24px}#dww-player .barometer-row{grid-template-columns:1fr auto;gap:10px}#dww-player .barometer-track{grid-column:1/-1;grid-row:2}#dww-player .share-actions{grid-template-columns:1fr 1fr}#dww-player .next-quiz-option h3{font-size:18px}#dww-player .next-quiz-option img{height:95px}#dww-player .pie-panel,#dww-player .insight-panel{padding:21px 16px}#dww-player .social-actions .button{flex:1;min-width:42%}#dww-player .ambient{background:linear-gradient(0deg,#171615b0,#17161555),var(--quiz-hero) 70% center/cover no-repeat}}
