:root{--ink:#17352d;--muted:#5f716b;--paper:#fbfaf5;--white:#fff;--line:#d8e0da;--green:#176b52;--green-dark:#0f4b3a;--mint:#e0f2e9;--yellow:#f3c956;--yellow-soft:#fff5d5;--coral:#e9876d;--blue:#4f7fa8;--violet:#735a8f;--shadow:0 18px 50px #1c42371a;--radius-lg:28px;--radius-md:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 10% 0%, #f3c9561f, transparent 26rem), var(--paper);color:var(--ink);margin:0;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,system-ui,sans-serif;font-size:17px;line-height:1.65}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #e09e1a}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.25}h1{font-size:clamp(2.2rem,5vw,4.5rem)}h2{font-size:clamp(1.35rem,3vw,2rem)}h3{font-size:1.25rem}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{border-bottom:1px solid #17352d1f;justify-content:space-between;align-items:center;gap:20px;width:min(1440px,100%);margin:0 auto;padding:22px clamp(18px,4vw,64px);display:flex}.brand-block{align-items:center;gap:13px;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:16px;place-items:center;width:50px;height:50px;font-size:.76rem;font-weight:900;display:grid;transform:rotate(-3deg)}.brand-name{letter-spacing:-.04em;margin:0;font-weight:900;line-height:1.15}.current-scenario{color:var(--muted);margin:3px 0 0;font-size:.82rem;line-height:1.2}.eyebrow,.step-kicker,.criterion-kicker{color:var(--green);letter-spacing:.1em;text-transform:uppercase;margin-bottom:7px;font-size:.78rem;font-weight:900}.header-actions{align-items:center;gap:8px;display:flex}.main-content{flex:1;width:100%}.content-section{width:min(1180px,100% - 36px);margin:0 auto;padding:70px 0 100px}.content-section.narrow{width:min(860px,100% - 36px)}.section-heading{max-width:760px;margin-bottom:38px}.section-heading h1{margin-bottom:16px;font-size:clamp(2rem,5vw,3.6rem)}.section-heading>p:last-child{color:var(--muted);font-size:1.08rem}footer{background:var(--ink);color:#d7e5df;justify-content:space-between;gap:20px;padding:28px clamp(18px,4vw,64px);font-size:.86rem;display:flex}footer p{margin:0}@media (width<=680px){body{font-size:17px}.app-header{align-items:flex-start;padding:15px 16px}.brand-mark{border-radius:13px;width:44px;height:44px}.brand-block .eyebrow,.current-scenario{display:none}.header-actions{flex-direction:column-reverse;align-items:stretch}.header-actions button{min-height:44px}.text-button{display:none}.content-section{padding:46px 0 72px}footer{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.primary-button,.secondary-button,.history-button,.text-button,.reveal-button,.icon-button{cursor:pointer;border:1px solid #0000;border-radius:13px;min-height:44px;padding:10px 18px;font-weight:850;transition:transform .16s,box-shadow .16s,background .16s}.primary-button{background:var(--green);color:#fff;box-shadow:0 8px 22px #176b5238}.primary-button:hover:not(:disabled){background:var(--green-dark);transform:translateY(-1px)}.primary-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.primary-button.wide{width:100%}.secondary-button{border-color:var(--line);background:#fff}.history-button{background:var(--yellow-soft);border-color:#e7ca71}.text-button{border-color:var(--line);background:0 0}.reveal-button{background:#fff;border-color:currentColor;width:100%;margin-top:auto}.icon-button{background:#eef3ef;width:46px;padding:0;font-size:1.7rem}.hero-panel{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);align-items:center;gap:clamp(40px,8vw,110px);width:min(1280px,100% - 36px);margin:0 auto;padding:clamp(60px,9vw,130px) 0;display:grid}.hero-copy h1{max-width:820px;margin-bottom:26px}.hero-lead{max-width:690px;color:var(--muted);font-size:clamp(1.05rem,2vw,1.3rem)}.criterion-pill-row{flex-wrap:wrap;gap:8px;margin-top:30px;display:flex}.criterion-pill-row span{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;font-weight:800}.safety-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:clamp(24px,4vw,38px)}.safety-label{background:var(--yellow);border-radius:7px;margin-bottom:18px;padding:5px 10px;font-size:.76rem;font-weight:900;display:inline-block}.safety-card ul{color:var(--muted);padding-left:1.3em}.safety-card li+li{margin-top:8px}.confirm-check{cursor:pointer;background:#f1f6f3;border-radius:13px;align-items:flex-start;gap:12px;margin:22px 0;padding:15px;display:flex}.confirm-check input{width:22px;height:22px;accent-color:var(--green);flex:none;margin-top:2px}.next-row{justify-content:flex-end;margin-top:40px;display:flex}.next-row.split{justify-content:space-between;gap:14px}.dialog-backdrop{z-index:50;background:#0f2b239e;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog-panel{background:#fff;border-radius:24px;width:min(580px,100%);max-height:min(760px,90vh);padding:28px;overflow:auto;box-shadow:0 30px 100px #0000003d}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.dialog-heading h2{margin-top:8px}.model-note{background:var(--mint);border-radius:8px;padding:7px 10px;font-size:.8rem;display:inline-block}.changelog-list{padding:0;list-style:none}.changelog-list li{border-top:1px solid var(--line);grid-template-columns:110px 1fr;gap:3px 16px;padding:18px 0;display:grid}.changelog-list p{color:var(--muted);grid-column:2;margin:0}.changelog-list time{color:var(--muted);font-size:.84rem}.dialog-footnote{color:var(--muted);margin-bottom:0;font-size:.85rem}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:26px;display:flex}.step-progress{scrollbar-width:thin;width:min(1180px,100% - 36px);margin:24px auto 0;overflow-x:auto}.step-progress ol{grid-template-columns:repeat(7,1fr);min-width:720px;margin:0;padding:0;list-style:none;display:grid}.step-progress li{color:#8c9b96;align-items:center;gap:8px;padding-right:14px;font-size:.78rem;font-weight:800;display:flex;position:relative}.step-progress li:after{content:"";background:var(--line);flex:1;height:2px}.step-progress li:last-child:after{display:none}.step-progress .done,.step-progress .current{color:var(--green)}.step-progress .done:after{background:var(--green)}.step-number{border:2px solid;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;display:grid}.step-progress .current .step-number{background:var(--green);color:#fff}@media (width<=860px){.hero-panel{grid-template-columns:1fr}.hero-copy{padding-top:12px}}@media (width<=520px){.next-row,.next-row.split,.dialog-actions{flex-direction:column}.next-row button,.dialog-actions button{width:100%}.changelog-list li{grid-template-columns:1fr}.changelog-list p{grid-column:1}}.scenario-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.scenario-card{text-align:left;border:1px solid var(--line);border-radius:var(--radius-lg);cursor:pointer;background:#fff;flex-direction:column;align-items:flex-start;min-height:310px;padding:26px;display:flex;box-shadow:0 8px 26px #1c42370f}.scenario-card:hover{border-color:var(--green);transform:translateY(-2px)}.scenario-number{color:var(--coral);font-weight:900}.scenario-place{color:var(--muted);margin-top:auto;font-size:.85rem}.scenario-card strong{letter-spacing:-.04em;margin:9px 0 3px;font-size:1.45rem}.scenario-action{color:var(--green);margin-top:26px;font-weight:850}.initial-allocation{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:26px;display:grid}.initial-allocation div{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;justify-content:space-between;min-height:115px;padding:18px;display:flex}.initial-allocation strong{font-size:1.75rem}.question-card{border:1px solid var(--line);background:#fff;border-radius:22px;margin:30px 0 0;padding:clamp(20px,4vw,30px)}.question-card legend{padding:0 8px;font-size:1.12rem;font-weight:900}.hint{color:var(--muted);font-size:.88rem}.stacked-options{gap:10px;display:grid}.stacked-options label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;align-items:flex-start;gap:11px;min-height:54px;padding:13px;display:flex}.stacked-options label:has(input:checked){background:var(--mint);border-color:var(--green)}.stacked-options input{width:20px;height:20px;accent-color:var(--green);flex:none;margin-top:2px}.lesson-grid,.allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.lesson-card,.criterion-result{border:2px solid var(--line);background:#fff;border-radius:22px;flex-direction:column;padding:25px;display:flex}.lesson-card h2{margin:12px 0 10px}.criterion-icon{border:2px solid;border-radius:15px;place-items:center;width:48px;height:48px;font-size:1.45rem;font-weight:900;display:grid}.criterion-equal{color:#375f80;border-top-color:#375f80}.criterion-need{color:var(--green);border-top-color:var(--green)}.criterion-contribution{color:#9b4e3a;border-top-color:#9b4e3a}.criterion-lottery{color:var(--violet);border-top-color:var(--violet);border-style:dashed}.lesson-card>p,.procedure-copy{color:var(--muted)}.lesson-tradeoff{background:var(--yellow-soft);color:var(--ink);border-radius:12px;margin-top:auto;padding:14px}.lesson-tradeoff p{margin:4px 0 0}.choice-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.choice-grid.two{grid-template-columns:repeat(2,1fr)}.choice-card{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;justify-content:center;gap:3px;min-height:58px;padding:12px;display:flex}.choice-card input{opacity:0;pointer-events:none;position:absolute}.choice-card.selected{background:var(--mint);border:2px solid var(--green)}.choice-card span{color:var(--muted);font-size:.86rem}.criterion-result{color:var(--ink)}.criterion-heading{align-items:center;gap:14px;display:flex}.criterion-heading h3,.criterion-kicker{margin-bottom:0}.criterion-kicker{color:var(--muted)}.lottery-notice{border:1px dashed var(--violet);background:#f4eef8;border-radius:8px;padding:8px 10px;font-weight:850}.ticket-copy{color:var(--violet);font-size:.85rem}.team-allocation-list{gap:7px;padding:0;list-style:none;display:grid}.team-allocation-list li{border-top:1px solid var(--line);grid-template-columns:28px 52px 58px 1fr;align-items:center;gap:6px;padding:8px 0;display:grid}.team-symbol{text-align:center;font-size:1.25rem}.team-allocation-list strong{text-align:right;font-size:1.08rem}.token-row{flex-wrap:wrap;gap:3px;padding-left:5px;display:flex}.token-row i{opacity:.7;background:currentColor;border-radius:3px;width:12px;height:12px;display:block}.observation-copy{background:#f1f6f3;border-radius:10px;padding:12px}.need-gap{color:var(--green-dark);font-size:.86rem}.tradeoff-copy{border-top:1px solid var(--line);color:var(--muted);margin:auto 0 0;padding-top:14px;font-size:.9rem}.tradeoff-copy strong{color:var(--ink)}.comparison-summary{background:var(--ink);color:#fff;border-radius:24px;margin-top:38px;padding:clamp(20px,4vw,32px)}.table-scroll{border-radius:14px;max-width:100%;overflow-x:auto}.outcome-table{border-collapse:collapse;width:100%;min-width:620px;color:var(--ink);background:#fff}.outcome-table caption{text-align:left;background:#e8f1ec;padding:12px 15px;font-weight:900}.outcome-table th,.outcome-table td{border:1px solid var(--line);text-align:center;padding:12px}.outcome-table th:first-child{text-align:left}.outcome-table tfoot{background:var(--yellow-soft);font-weight:900}.reason-builder fieldset,.revision-builder fieldset{border:1px solid var(--line);background:#fff;border-radius:17px;margin:0 0 18px;padding:22px}.reason-builder legend,.revision-builder legend{padding:0 8px;font-weight:900}.reason-builder legend span{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;margin-right:7px;display:inline-grid}.reason-builder fieldset:disabled{opacity:.52}.review-box{background:var(--yellow-soft);border-radius:16px;justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.review-box p{margin:0}.select-field{gap:7px;margin:16px 0;font-weight:850;display:grid}.select-field select{border:1px solid var(--line);width:100%;min-height:50px;color:var(--ink);background:#fff;border-radius:10px;padding:9px 38px 9px 12px}.new-fact-card{border-left:8px solid var(--yellow);box-shadow:var(--shadow);background:#fff;border-radius:20px;padding:clamp(22px,5vw,40px)}.new-fact-card>span,.before-after span,.first-choice-summary>span{color:var(--green);letter-spacing:.08em;font-size:.76rem;font-weight:900}.new-fact-card>p{margin:12px 0 0;font-size:1.2rem;font-weight:750}.before-after{grid-template-columns:1fr 1fr;gap:14px;margin:24px 0;display:grid}.before-after>div,.first-choice-summary{border:1px solid var(--line);background:#fff;border-radius:15px;padding:18px}.before-after p{margin:8px 0 0}.change-check{margin-top:22px}.first-choice-summary{margin-bottom:24px}.first-choice-summary strong{margin:5px 0;font-size:1.2rem;display:block}.first-choice-summary p{color:var(--muted);margin:0}.record-section{width:min(940px,100% - 36px)}.record-title{text-align:center;margin-bottom:34px}.record-title h1{margin-bottom:10px}.record-title>p:last-child{color:var(--muted)}.deliberation-record{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:28px;overflow:hidden}.record-meta{background:var(--ink);color:#fff;grid-template-columns:110px 1fr;gap:4px 16px;padding:22px 30px;display:grid}.record-meta span{color:#a8c0b7;font-size:.82rem}.deliberation-record section{border-bottom:1px solid var(--line);padding:26px 30px}.deliberation-record section h2{font-size:1.35rem}.deliberation-record blockquote{border-left:4px solid var(--green);background:#f1f6f3;margin:18px 0;padding:18px}.record-limit{background:var(--yellow-soft);border-radius:10px;padding:13px}.deliberation-record aside{background:#edf2ef;padding:22px 30px}.deliberation-record aside p{margin:6px 0 0}.record-actions{justify-content:center;margin-top:30px;display:flex}@media (width<=900px){.scenario-grid{grid-template-columns:1fr}.scenario-card{min-height:230px}}@media (width<=720px){.lesson-grid,.allocation-grid,.before-after{grid-template-columns:1fr}.choice-grid,.choice-grid.compact,.initial-allocation{grid-template-columns:repeat(2,1fr)}.review-box{flex-direction:column;align-items:stretch}}@media (width<=380px){.choice-grid,.choice-grid.compact,.choice-grid.two{grid-template-columns:1fr}.team-allocation-list li{grid-template-columns:28px 48px 52px 1fr;font-size:.92rem}.token-row i{width:10px;height:10px}.record-meta{grid-template-columns:1fr}}
