:root{--bg:#f5f4ef;--paper:#fff;--ink:#202320;--muted:#737772;--line:#dcded6;--line2:#e9ebe5;--accent:#cf4b37;--accent-soft:#faeee9;--forest:#264a3b;--forest-soft:#e7f0e9;--radius:13px;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 var(--font);-webkit-font-smoothing:antialiased}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #da775f;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.43}.app-shell{min-height:100vh;max-width:1440px;margin:auto;display:flex;flex-direction:column}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 clamp(22px,5vw,80px)}.brand{font-size:23px;font-weight:800;letter-spacing:-1.35px;text-decoration:none;display:flex;align-items:center;gap:13px}.brand-period{color:var(--accent)}.brand-mark{width:28px;height:27px;display:flex;align-items:flex-end;gap:3px;transform:rotate(-24deg)}.brand-mark span{background:var(--ink);width:6px;border-radius:2px}.brand-mark span:nth-child(1){height:13px}.brand-mark span:nth-child(2){height:21px}.brand-mark span:nth-child(3){height:16px;background:var(--accent)}.topbar-right{display:flex;align-items:center;gap:26px}.edition,.eyebrow,.micro{font-size:11px;font-weight:800;letter-spacing:1.45px;text-transform:uppercase}.edition{color:var(--muted)}.text-button{border:0;background:none;font-size:13px;font-weight:700;padding:10px 0}.text-button:hover{text-decoration:underline}.site-footer{margin-top:auto;padding:22px clamp(22px,5vw,80px);display:flex;gap:12px;justify-content:space-between;border-top:1px solid var(--line);color:var(--muted);font-size:12px}#app{width:100%;flex:1}.hero{padding:clamp(52px,7vw,100px) clamp(22px,5vw,80px) 50px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(285px,.7fr);gap:clamp(30px,6vw,90px);align-items:center}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--accent);margin-bottom:24px}.eyebrow:before{content:"";width:25px;height:2px;background:currentColor}.hero h1{font-size:clamp(48px,6.2vw,91px);line-height:.99;letter-spacing:-.078em;font-weight:770;max-width:850px;margin:0 0 29px}.hero h1 em{font-style:normal;color:var(--accent)}.hero-desc{font-size:17px;line-height:1.7;color:#5d635e;max-width:570px;margin:0 0 31px}.hero-ctas,.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.btn{border:1px solid var(--ink);border-radius:8px;padding:14px 21px;font-weight:750;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:14px;transition:transform .15s,background .15s,color .15s;min-height:49px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:var(--ink);color:white}.btn-primary:hover{background:#3a413a}.btn-outline{background:transparent;color:var(--ink);border-color:#bfc4bc}.btn-outline:hover{background:white}.btn-quiet{border:0;background:transparent;color:var(--muted);padding:12px 9px}.btn-danger{border-color:#dcb8ae;color:#a83c2d}.hero-aside{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);padding:27px;box-shadow:0 12px 38px rgba(33,37,32,.035)}.aside-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.aside-top span:last-child{color:var(--muted);font-size:12px}.aside-number{font-size:65px;letter-spacing:-.09em;line-height:1;font-weight:770}.aside-label{color:var(--muted);font-size:13px;margin-top:7px}.aside-divider{height:1px;background:var(--line2);margin:24px 0}.aside-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.aside-stats strong{display:block;font-size:26px;letter-spacing:-1px}.aside-stats span{font-size:12px;color:var(--muted)}.aside-note{margin:20px 0 0;color:var(--muted);font-size:12px;line-height:1.65}.landing-bottom{border-top:1px solid var(--line);padding:33px clamp(22px,5vw,80px) 66px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.section-title h2{font-size:18px;letter-spacing:-.5px;margin:0}.section-title span{font-size:12px;color:var(--muted)}.party-strip{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:9px}.party-tile{border:1px solid var(--line);background:var(--paper);border-radius:9px;padding:13px 5px 10px;min-width:0;display:flex;align-items:center;flex-direction:column;gap:9px}.party-tile small{font-size:10px;color:var(--muted);font-weight:800;white-space:nowrap}.party-logo{width:56px;height:56px;flex-shrink:0;border-radius:50%;background:white;border:1px solid #e4e6e1;display:grid;place-items:center;overflow:hidden;position:relative}.party-logo img{width:90%;height:90%;object-fit:contain;display:block}.party-logo .fallback{display:none;font-weight:800;font-size:12px;letter-spacing:-.3px}.party-logo.is-fallback img{display:none}.party-logo.is-fallback .fallback{display:block}.party-tile .party-logo{width:54px;height:54px}.quiz-layout{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:690px}.quiz-sidebar{border-right:1px solid var(--line);padding:42px 20px 40px clamp(22px,5vw,80px);display:flex;flex-direction:column;gap:22px}.sidebar-heading{font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 12px}.sidebar-progress{font-size:40px;letter-spacing:-2px;font-weight:780;line-height:1}.sidebar-progress small{font-size:18px;color:var(--muted);font-weight:500}.progress-track{height:6px;background:#e2e4dd;border-radius:10px;overflow:hidden;margin-top:16px}.progress-track>div{height:100%;background:var(--forest);transition:width .2s}.sidebar-sub{color:var(--muted);font-size:12px;margin:10px 0 0}.topic-nav{display:flex;flex-direction:column;gap:2px}.topic-link{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:9px;padding:9px 7px;border-radius:6px;color:#777d76;font-size:12px;font-weight:620}.topic-link:hover{background:#eceee8}.topic-link.active{color:var(--ink);background:#e8ebe3}.topic-dot{width:7px;height:7px;border:1.5px solid #aeb4ac;border-radius:50%;flex-shrink:0}.topic-link.done .topic-dot{background:var(--forest);border-color:var(--forest)}.topic-link.active .topic-dot{border-color:var(--accent)}.sidebar-bottom{margin-top:auto;color:var(--muted);font-size:12px}.sidebar-bottom button{display:block;margin-top:9px}.quiz-main{padding:clamp(34px,5vw,65px) clamp(22px,6vw,105px) 60px;max-width:1050px;width:100%}.quiz-overline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.topic-pill{border:1px solid #d9ddd4;border-radius:100px;padding:6px 11px;font-size:11px;font-weight:750;color:#59645c;background:#edf0e9}.question-count{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.question-title{font-size:clamp(29px,3.3vw,46px);line-height:1.19;letter-spacing:-.05em;max-width:790px;font-weight:740;margin:0 0 16px}.question-description{font-size:13px;color:var(--muted);margin:0 0 26px;max-width:650px}.answers{display:grid;gap:8px;max-width:740px}.answer-option{display:flex;align-items:center;gap:15px;padding:15px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;min-height:56px;transition:border-color .13s,background .13s,transform .13s}.answer-option:hover{border-color:#aeb7aa;transform:translateX(2px)}.answer-option.selected{border:1.5px solid var(--forest);background:#eff5ef}.answer-option.selected.skip{border-color:#949b94;background:#f1f2ef}.answer-key{border:1px solid #e2e5de;border-radius:5px;min-width:25px;height:25px;display:grid;place-items:center;font-size:11px;color:#7e867e;background:#f8f9f6;font-weight:700}.answer-option.selected .answer-key{background:var(--forest);border-color:var(--forest);color:white}.answer-option.selected.skip .answer-key{background:#69716a;border-color:#69716a}.answer-label{font-size:14px;font-weight:620;flex:1}.answer-check{color:var(--forest);font-weight:900;font-size:18px}.question-bottom{margin-top:27px;padding-top:22px;border-top:1px solid var(--line);max-width:740px}.importance-head{font-size:12px;font-weight:750;display:flex;justify-content:space-between;gap:15px;margin-bottom:10px}.importance-head span{color:var(--muted);font-weight:500}.importance-options{display:flex;gap:7px;flex-wrap:wrap}.importance-btn{border:1px solid #d6dbd3;border-radius:6px;padding:8px 14px;font-size:12px;background:transparent;color:#5e665f;font-weight:700}.importance-btn.active{background:var(--ink);color:white;border-color:var(--ink)}.quiz-actions{max-width:740px;display:flex;justify-content:space-between;gap:10px;margin-top:32px;align-items:center}.keyboard-hint{font-size:11px;color:#9a9f99;margin-top:18px}.quiz-mobile-progress{display:none}.result-wrap,.method-wrap{padding:50px clamp(22px,5vw,80px) 80px;max-width:1200px;margin:auto}.result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}.result-head h1,.method-wrap h1{font-size:clamp(40px,5vw,67px);letter-spacing:-.07em;line-height:1.03;margin:0 0 15px}.result-head p{color:var(--muted);max-width:610px;margin:0;font-size:14px}.result-head .eyebrow,.method-wrap .eyebrow{margin-bottom:17px}.result-actions{display:flex;gap:8px;flex-wrap:wrap}.result-actions .btn{padding:11px 13px;min-height:42px;font-size:12px}.notice{border:1px solid var(--line);border-left:3px solid var(--accent);padding:13px 16px;border-radius:5px;background:#fff;color:#656b65;font-size:12px;line-height:1.7;margin:0 0 26px}.notice strong{color:var(--ink)}.top-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:35px}.rank-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.rank-card:first-child{border-color:#b4c6b6;box-shadow:0 4px 0 #e4ece2}.rank-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.rank-index{font-size:12px;color:var(--muted);font-weight:750;letter-spacing:.6px}.rank-card .party-logo{width:73px;height:73px}.rank-card h2{font-size:20px;letter-spacing:-.65px;margin:0 0 3px;line-height:1.2}.rank-card .family{font-size:12px;color:var(--muted);min-height:34px}.rank-value{font-size:46px;line-height:1.1;font-weight:760;letter-spacing:-3px;margin:18px 0 13px}.rank-value small{font-size:18px;letter-spacing:-.4px;color:var(--muted);font-weight:500}.bar{height:7px;border-radius:20px;background:#e7eae4;overflow:hidden}.bar-fill{height:100%;background:var(--forest);border-radius:20px}.rank-summary{font-size:12px;color:#6e746d;margin:14px 0 0;line-height:1.55}.results-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:17px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.panel h3{font-size:16px;letter-spacing:-.4px;margin:0 0 6px}.panel-sub{font-size:12px;color:var(--muted);margin:0 0 23px}.topic-row{display:grid;grid-template-columns:150px 1fr 45px;align-items:center;gap:12px;margin:0 0 15px;font-size:12px}.topic-row:last-child{margin-bottom:0}.topic-row .topic-name{font-weight:650}.topic-row .topic-value{text-align:right;color:#515a52;font-weight:750;font-variant-numeric:tabular-nums}.result-insights{display:grid;gap:15px}.insight-heading{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;color:var(--muted);margin-bottom:7px}.insight-list{margin:0;padding-left:17px;font-size:13px;line-height:1.8}.insight-list li{padding-left:3px}.insight-list.good li::marker{color:var(--forest)}.insight-list.bad li::marker{color:var(--accent)}.other-ranks{margin-top:18px}.other-ranks details{background:white;border:1px solid var(--line);border-radius:12px;padding:17px 22px}.other-ranks summary{font-weight:750;cursor:pointer;font-size:14px}.other-ranks-list{margin-top:15px}.other-rank{display:grid;grid-template-columns:26px 38px minmax(0,1fr) 120px 52px;gap:13px;align-items:center;padding:11px 0;border-top:1px solid var(--line2);font-size:13px}.other-rank .party-logo{width:37px;height:37px}.other-rank .party-logo .fallback{font-size:10px}.other-rank .bar{height:5px}.other-rank .index{color:var(--muted);font-weight:700}.other-rank strong:last-child{text-align:right}.method-wrap{max-width:950px}.method-lead{font-size:17px;line-height:1.8;color:#60665f;max-width:760px;margin-bottom:32px}.method-section{padding:24px 0;border-top:1px solid var(--line)}.method-section h2{font-size:20px;letter-spacing:-.5px;margin:0 0 12px}.method-section p,.method-section li{font-size:14px;line-height:1.8;color:#596159}.method-section ul{padding-left:20px}.sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.source-link{background:white;border:1px solid var(--line);padding:11px 14px;border-radius:7px;text-decoration:none;font-size:12px;font-weight:700;display:flex;justify-content:space-between;gap:12px}.source-link:hover{border-color:#b1b8ac}.method-actions{margin-top:25px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#242923;color:white;padding:10px 17px;border-radius:7px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:30;white-space:nowrap;max-width:calc(100vw - 24px)}.toast.show{opacity:1;transform:translate(-50%,0)}.mini-info{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:16px}.mini-info:before{content:"i";width:18px;height:18px;flex-shrink:0;border:1px solid #b4bab2;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700}.resume-tag{font-size:11px;color:var(--forest);font-weight:750;padding:5px 9px;background:var(--forest-soft);border-radius:4px}.empty-state{padding:12px 0;color:var(--muted);font-size:12px}
@media(max-width:1060px){.party-strip{grid-template-columns:repeat(6,minmax(0,1fr))}.quiz-layout{grid-template-columns:200px minmax(0,1fr)}.quiz-sidebar{padding-left:22px}.quiz-main{padding-right:35px;padding-left:35px}.topic-row{grid-template-columns:115px 1fr 35px}.result-head{align-items:flex-start;flex-direction:column}.results-grid{grid-template-columns:1fr}}
@media(max-width:720px){.topbar{height:66px;padding:0 20px}.topbar-right{gap:15px}.edition{display:none}.site-footer{padding:20px;display:block}.site-footer span{display:block;margin-bottom:5px}.hero{grid-template-columns:1fr;padding:50px 20px 32px;gap:30px}.hero h1{font-size:clamp(48px,12vw,69px)}.hero-desc{font-size:15px}.hero-aside{padding:21px}.aside-number{font-size:48px}.landing-bottom{padding:28px 20px 50px}.party-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.party-tile{padding:11px 3px}.party-tile .party-logo{width:49px;height:49px}.quiz-layout{display:block}.quiz-sidebar{display:none}.quiz-main{padding:30px 20px 50px}.quiz-mobile-progress{display:block;margin-bottom:24px}.quiz-mobile-progress .progress-track{margin-top:9px}.quiz-overline{margin-bottom:20px}.question-title{font-size:clamp(28px,8vw,39px)}.question-description{font-size:12px}.answer-option{min-height:54px;padding:13px 11px;gap:10px}.answer-label{font-size:13px}.answer-key{min-width:23px;height:23px}.importance-head{display:block}.importance-head span{display:block;margin-top:2px}.quiz-actions .btn{padding:12px 13px;gap:7px}.keyboard-hint{display:none}.result-wrap,.method-wrap{padding:35px 20px 60px}.top-three{grid-template-columns:1fr;gap:9px}.rank-card{display:grid;grid-template-columns:65px minmax(0,1fr) auto;gap:5px 15px;padding:17px;align-items:center}.rank-top{grid-row:1/4;grid-column:1;display:flex;flex-direction:column-reverse;gap:8px;align-items:center;margin:0}.rank-card .party-logo{width:59px;height:59px}.rank-title{grid-column:2;grid-row:1}.rank-card h2{font-size:17px}.rank-card .family{font-size:11px;min-height:0}.rank-value{grid-column:3;grid-row:1;margin:0;font-size:29px;letter-spacing:-1.5px}.rank-value small{font-size:12px}.rank-card>.bar{grid-column:2/4;grid-row:2}.rank-summary{grid-column:2/4;grid-row:3;margin:2px 0 0}.results-grid{grid-template-columns:1fr}.panel{padding:19px}.topic-row{grid-template-columns:105px 1fr 33px;gap:9px;font-size:11px}.other-rank{grid-template-columns:20px 35px minmax(0,1fr) 42px;gap:9px}.other-rank .bar{display:none}.sources{grid-template-columns:1fr}.result-actions .btn{flex:1}.result-head h1,.method-wrap h1{font-size:43px}}
@media(max-width:360px){.party-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.answer-label{font-size:12px}.importance-btn{padding:7px 10px}.rank-card{grid-template-columns:55px minmax(0,1fr) auto;gap:6px}.rank-card .party-logo{width:52px;height:52px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
