:root{color-scheme:light;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#171816;background:#f3f0e9;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #171816;--muted: #63645f;--paper: #f3f0e9;--white: #fffefa;--accent: #dfff5b;--accent-dark: #b7d62f;--line: #d6d3cb;--danger: #a32929;--radius: 18px;--shadow: 0 18px 50px rgba(23, 24, 22, .08)}*{box-sizing:border-box}html{min-width:320px;background:var(--paper)}body{margin:0;min-width:320px;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #2246d8;outline-offset:3px}a{color:inherit}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{min-height:100vh}.site-header{position:relative;z-index:10;display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:58px;padding:max(7px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) 7px max(24px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:#f3f0e9f0}.header-actions{display:flex;align-items:center;gap:18px}.offline-status{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:.78rem;font-weight:650}.status-dot{width:8px;height:8px;border-radius:50%;background:#4e811f;box-shadow:0 0 0 3px #4e811f1f}.update-button{padding:7px 11px;border:1px solid var(--ink);border-radius:999px;background:transparent;font-size:.75rem;font-weight:700;cursor:pointer}.icon-link{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--white)}.icon-link svg{width:19px;height:19px}.router-link-active.icon-link{background:var(--ink);color:var(--white);border-color:var(--ink)}.main-content{width:100%}.survey-view{width:min(100% - 48px,1040px);margin:0 auto;padding:clamp(24px,3.5vw,38px) 0 40px}.progress{display:flex;gap:8px;width:120px;margin-bottom:clamp(20px,2.5vw,26px)}.progress span{flex:1;height:4px;border-radius:4px;background:var(--line);transition:background-color .18s ease}.progress .active{background:var(--ink)}.question-panel{width:100%}.question-heading{max-width:760px;margin-bottom:clamp(22px,3vw,30px)}.eyebrow{margin:0 0 14px;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1,h2,p{overflow-wrap:break-word}h1{max-width:900px;margin:0;font-size:clamp(2rem,4vw,3.6rem);font-weight:650;letter-spacing:-.05em;line-height:1}.question-help{max-width:600px;margin:14px 0 0;color:var(--muted);font-size:clamp(.98rem,1.6vw,1.1rem);line-height:1.45}.ranking-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.ranking-card{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:16px;min-height:84px;padding:12px 16px 12px 20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);box-shadow:0 3px #17181608}.rank-number{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:var(--ink);color:var(--white);font-size:.86rem;font-weight:800}.headline-text{font-size:clamp(1.2rem,2.5vw,1.65rem);font-weight:650;letter-spacing:-.025em}.ranking-controls{display:flex;gap:6px}.arrow-button{display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#f8f6f1;cursor:pointer}.arrow-button:hover:not(:disabled){border-color:var(--ink)}.arrow-button:disabled{opacity:.28;cursor:not-allowed}.arrow-button svg{width:22px;height:22px}.question-actions{display:flex;align-items:center;gap:14px;margin-top:22px}.question-actions--end{justify-content:flex-end}.question-actions--between{justify-content:space-between}.button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:9px;padding:13px 22px;border:1px solid transparent;border-radius:999px;font-weight:720;line-height:1.2;text-decoration:none;cursor:pointer}.button svg{width:20px;height:20px}.button:disabled{opacity:.42;cursor:not-allowed}.button--primary{background:var(--ink);color:var(--white)}.button--primary:hover:not(:disabled){background:#343531}.button--secondary{border-color:var(--line);background:var(--white)}.button--secondary:hover:not(:disabled){border-color:var(--ink)}.button--text{padding-inline:4px 16px;background:transparent}.button--large{min-height:64px;padding-inline:30px;font-size:1.05rem}.button--danger{border-color:#e3b5b5;background:#fff7f7;color:var(--danger)}.confirmed-message{display:flex;align-items:center;gap:9px;margin:0 auto 0 0;color:#406b1d;font-weight:700}.confirmed-message svg{width:22px;height:22px;stroke-width:3}.concept-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(16px,2.5vw,24px)}.concept-card{position:relative;overflow:hidden;padding:0;border:3px solid transparent;border-radius:22px;background:var(--white);box-shadow:var(--shadow);text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease}.concept-card:hover{transform:translateY(-3px)}.concept-card--selected{border-color:var(--ink)}.concept-card img{display:block;width:100%;aspect-ratio:3 / 2;object-fit:cover}.concept-caption{display:flex;min-height:60px;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;font-size:1.05rem;font-weight:750}.selection-indicator{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:2px solid #aeadA7;border-radius:50%}.concept-card--selected .selection-indicator{border-color:var(--ink);background:var(--ink);color:var(--white)}.selection-indicator svg{width:18px;height:18px;stroke-width:3}.error-message{margin:22px 0 0;padding:14px 17px;border-left:4px solid var(--danger);background:#fff2f2;color:#721b1b;line-height:1.5}.completion-view{display:flex;width:min(100% - 48px,820px);min-height:calc(100vh - 59px);margin:0 auto;padding:40px 0;align-items:center;justify-content:center;flex-direction:column;text-align:center}.completion-icon{display:grid;width:76px;height:76px;margin-bottom:34px;place-items:center;border-radius:50%;background:var(--accent)}.completion-icon svg{width:38px;height:38px;stroke-width:2.5}.completion-view h1{max-width:700px;font-size:clamp(2.6rem,7vw,5.5rem)}.completion-view>p:not(.eyebrow){margin:24px 0 34px;color:var(--muted);font-size:1.1rem}.dashboard-view{width:min(100% - 48px,1200px);margin:0 auto;padding:clamp(32px,4vw,50px) 0 56px}.dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;padding-bottom:30px}.dashboard-heading h1{font-size:clamp(3rem,7vw,6.5rem)}.dashboard-heading p:last-child{margin:18px 0 0;color:var(--muted);line-height:1.5}.dashboard-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.loading-message{padding:40px 0;color:var(--muted)}.empty-state{display:flex;min-height:430px;align-items:center;justify-content:center;flex-direction:column;padding:50px 20px;border:1px solid var(--line);border-radius:24px;background:var(--white);text-align:center}.empty-state__icon{display:grid;width:64px;height:64px;place-items:center;border-radius:50%;background:var(--paper)}.empty-state__icon svg{width:28px;height:28px}.empty-state h2{margin:24px 0 8px;font-size:1.8rem}.empty-state p{margin:0 0 26px;color:var(--muted)}.dashboard-section{margin-top:16px;padding:clamp(24px,3vw,34px);border:1px solid var(--line);border-radius:24px;background:var(--white)}.dashboard-section>h2,.section-heading h2{margin:0;font-size:clamp(1.5rem,3vw,2.2rem);letter-spacing:-.035em}.summary-grid{display:grid;grid-template-columns:.75fr 1.25fr 1fr;gap:12px;margin-top:28px}.summary-card{display:flex;min-height:180px;padding:24px;border-radius:16px;background:var(--paper);flex-direction:column;justify-content:space-between}.summary-card>span{color:var(--muted);font-size:.84rem;font-weight:700}.summary-card strong{margin:auto 0 8px;font-size:clamp(1.4rem,3vw,2.25rem);letter-spacing:-.04em;line-height:1.02}.summary-card--number{background:var(--accent)}.summary-card--number strong{font-size:clamp(3rem,7vw,5rem)}.summary-card small{color:var(--muted);font-size:.82rem}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.section-heading p:last-child{margin:0;color:var(--muted);font-size:.84rem}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:18px 14px;border-bottom:1px solid var(--line);text-align:right}th:first-child{padding-left:0;text-align:left}td:last-child,th:last-child{padding-right:0}thead th{color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}tbody th{min-width:220px;font-size:1rem}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}.results-bars{display:grid;gap:28px}.result-bar__label{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:10px}.result-bar__label span{color:var(--muted);font-size:.9rem}.result-bar__track{overflow:hidden;height:18px;border-radius:20px;background:var(--paper)}.result-bar__track span{display:block;height:100%;border-radius:inherit;background:var(--ink);transition:width .35s ease}.result-bar:nth-child(2) .result-bar__track span{background:#5940a5}.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:46px;padding-top:32px;border-top:1px solid #dcb4b4}.danger-zone h2{margin:0 0 6px;color:var(--danger);font-size:1rem}.danger-zone p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}.question-enter-active,.question-leave-active{transition:opacity .16s ease,transform .16s ease}.question-enter-from{opacity:0;transform:translate(18px)}.question-leave-to{opacity:0;transform:translate(-18px)}@media(max-width:760px){.site-header{min-height:56px;padding-inline:16px}.offline-status{display:none}.header-actions{gap:10px}.survey-view,.dashboard-view{width:min(100% - 32px,1040px)}.ranking-card{grid-template-columns:44px 1fr;padding:16px}.rank-number{width:38px;height:38px}.ranking-controls{grid-column:2}.arrow-button{width:44px;height:44px}.concept-grid{grid-template-columns:1fr}.question-actions--end{align-items:stretch;flex-direction:column}.question-actions--end .button{width:100%}.confirmed-message{margin-bottom:8px}.dashboard-heading{align-items:stretch;flex-direction:column}.dashboard-actions{justify-content:flex-start}.summary-grid{grid-template-columns:1fr}.summary-card{min-height:145px}.section-heading{align-items:start;flex-direction:column}.danger-zone{align-items:stretch;flex-direction:column}}@media(max-width:430px){.question-actions--between{align-items:stretch;flex-direction:column-reverse}.question-actions--between .button{width:100%}.dashboard-actions{flex-direction:column}.dashboard-actions .button{width:100%}.dashboard-section{padding:20px 16px}th,td{padding-inline:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
