@charset "UTF-8";
:root{--ink:#102c43;--muted:#697780;--paper:#f7f7f2;--white:#fff;--line:#e1e5e3;--blue:#365de7;--blue-light:#edf0fe;--green:#57816a;--lime:#d1e9a9;--rail:218px;--radius:14px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 "Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #90a4fb;outline-offset:3px}input,textarea,select{max-width:100%}input[type=range]{width:100%;accent-color:var(--blue)}input[type=number],input[type=text],textarea,select{border:1px solid #d8deda;border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink)}input:invalid{border-color:#bd5757}textarea{resize:vertical;min-height:100px}p{margin:0 0 15px}h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.2}h1,h2.display{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.5px}h1{font-size:43px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:16px}svg{max-width:100%}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted)}.mono{font-family:Consolas,monospace;font-size:12px}.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}.skip-link{position:fixed;top:-80px;left:10px;background:white;padding:12px;z-index:30}.skip-link:focus{top:10px}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--rail) minmax(0,1fr)}.rail{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;padding:18px 18px 22px;display:flex;flex-direction:column;z-index:5}.brand{height:88px;display:block;overflow:hidden;margin:0 -8px 19px}.brand img{width:204px;max-width:none;display:block;margin-top:-9px;margin-left:-2px}
.nav-link{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:7px;margin-bottom:5px;color:#64717a;font-size:13px}.nav-link svg{width:17px;height:17px;flex:none}.nav-link:hover{background:#f5f6f5}.nav-link[aria-current=page]{color:var(--blue);background:var(--blue-light);font-weight:600}.nav-link[aria-current=page]::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--blue);margin-left:auto}.rail-bottom{margin-top:auto;padding:15px 11px 0;border-top:1px solid var(--line)}.rail-bottom strong{font-size:11px;letter-spacing:2px}.rail-bottom p{font-size:11px;color:var(--muted);margin:7px 0 12px}.rail-bottom a{font-size:11px}.main-shell{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:rgba(247,247,242,.96);gap:15px}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;gap:10px;align-items:center}.breadcrumbs span:last-child{color:var(--ink)}.top-actions{display:flex;gap:18px;align-items:center}.help{border:1px solid #d9dfdc;background:white;border-radius:50%;width:25px;height:25px;font-size:12px}.page{padding:34px 38px 30px;max-width:1520px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:25px}.page-heading p{max-width:650px;color:var(--muted);margin:10px 0 0}.page-heading .eyebrow{margin-bottom:11px}.page-heading h1{font-size:40px}.button{border:1px solid #d9dfdc;border-radius:7px;padding:10px 16px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:12px;min-height:40px}.button:hover{background:#f0f2f0}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.button.primary:hover{background:#284dd0}.button.dark{background:var(--ink);border-color:var(--ink);color:white}.button.lime{background:var(--lime);border-color:var(--lime);color:var(--ink)}.button.ghost{background:transparent;border-color:transparent;padding:7px 9px;color:var(--muted)}.button svg{width:14px;height:14px}.icon-button{background:transparent;border:0;width:32px;height:32px;font-size:22px;line-height:1}

.status-dot{width:5px;height:5px;background:var(--lime);border-radius:100%;display:inline-block}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 18px}.section-heading h2{font-size:21px;font-weight:500}.section-heading p{margin:4px 0 0;font-size:12px;color:var(--muted)}.library-toolbar{display:flex;gap:6px;margin-bottom:19px;flex-wrap:wrap}.filter{border:1px solid transparent;background:transparent;border-radius:6px;padding:6px 12px;font-size:11px;color:var(--muted)}.filter[aria-pressed=true]{background:white;border-color:var(--line);color:var(--ink);font-weight:600}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.scenario-card{border:1px solid var(--line);border-radius:11px;background:white;display:flex;flex-direction:column;overflow:hidden;transition:transform .16s,border-color .16s}.scenario-card:hover{transform:translateY(-3px);border-color:#a9b5b0}.scenario-art{height:125px;position:relative;display:flex;align-items:center;justify-content:center;background:#ecf0f6}.scenario-art svg{width:130px;height:100px}.scenario-card:nth-child(3n+2) .scenario-art{background:#edf1e7}.scenario-card:nth-child(3n) .scenario-art{background:#f4ede4}

.scenario-copy{padding:18px 19px 17px;flex:1;display:flex;flex-direction:column}.scenario-copy h2{font-size:17px;font-weight:600;letter-spacing:-.4px;margin-bottom:8px}.scenario-copy p{font-size:12px;color:var(--muted);min-height:38px;margin-bottom:15px}

.create-strip{margin-top:24px;display:flex;align-items:center;gap:16px;border:1px dashed #c5cfc9;border-radius:10px;padding:22px 24px;background:#f1f3ec}.create-strip .strip-symbol{font-family:Georgia,serif;font-size:30px;line-height:1;width:34px}.create-strip h3{font-size:14px;margin-bottom:5px}.create-strip p{margin:0;color:var(--muted);font-size:12px}.create-strip .button{margin-left:auto;flex:none}.footer{margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 25px}.tab{border:0;border-bottom:2px solid transparent;padding:0 1px 12px;background:transparent;font-size:12px;color:var(--muted)}.tab[aria-selected=true]{border-color:var(--blue);color:var(--blue);font-weight:600}.lab-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.lab-main{display:flex;flex-direction:column;gap:18px;min-width:0}.panel{border:1px solid var(--line);border-radius:11px;background:white;padding:23px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.panel-title h2{font-size:16px;letter-spacing:-.25px}.panel-title .eyebrow{font-size:9px}.role-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.avatar{width:33px;height:33px;border-radius:50%;background:var(--blue-light);color:var(--blue);display:grid;place-items:center;font-size:11px;font-weight:600}.avatar.other{background:#edf3e6;color:#5d7a47}.role-row p{margin:0;font-size:12px}.role-row .small{font-size:10px;color:var(--muted)}.role-row .versus{margin-left:auto;margin-right:12px;color:#a4aba9;font-size:10px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice-button{border:1px solid #d9e0dc;background:#fff;border-radius:8px;text-align:left;padding:16px;position:relative;min-height:84px;transition:background .12s,border-color .12s}.choice-button:hover{background:var(--blue-light);border-color:var(--blue)}.choice-button strong{display:block;font-size:14px;font-weight:600;margin-bottom:5px;padding-right:15px}.choice-button small{color:var(--muted);font-size:11px}.choice-button .choice-number{position:absolute;right:14px;top:14px;color:#9ba9b0;font-size:9px}.round-feedback{margin-top:16px;padding:13px 15px;background:#f3f5f0;border-radius:7px;font-size:12px;min-height:48px;display:flex;align-items:center;gap:10px}.round-feedback strong{font-weight:600}.round-feedback p{margin:0}.run-actions{display:flex;align-items:center;gap:9px;margin-top:17px;flex-wrap:wrap}.run-actions .small{margin-left:auto}.matrix-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.legend{display:flex;gap:13px;font-size:10px;color:var(--muted);flex-wrap:wrap}.legend .you::before,.legend .other::before,.legend .eq::before{content:"";display:inline-block;width:6px;height:6px;background:var(--blue);border-radius:50%;margin-right:5px}.legend .other::before{background:var(--green)}.legend .eq::before{background:transparent;border:1px solid var(--blue)}.payoff-table{width:100%;border-collapse:separate;border-spacing:5px;table-layout:fixed;margin:-5px}.payoff-table th{font-size:10px;font-weight:500;color:var(--muted);padding:7px 4px;text-align:center;overflow-wrap:anywhere}.payoff-table th:first-child{width:25%;text-align:left}.payoff-table th .axis-label{font-size:8px;letter-spacing:.7px;display:block;margin-bottom:5px;text-transform:uppercase}.payoff-table td{background:#f5f6f3;border:1px solid #edf0eb;border-radius:7px;text-align:center;padding:13px 3px;position:relative}.payoff-table td.equilibrium{border-color:#91a5f3;background:#f0f2fe}.payoff-table td.last-choice{background:#e7eedf;border-color:#b4c69e}.payoff-table .payoff-pair{display:flex;justify-content:center;gap:14px;font-size:23px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}.payoff-pair .you{color:var(--blue)}.payoff-pair .other{color:var(--green)}.cell-detail{font-size:8px;letter-spacing:.3px;color:#7b8cc9;min-height:12px;margin-top:3px}.matrix-foot{font-size:10px;color:var(--muted);margin:12px 0 0}.analysis-box{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.analysis-box h3{font-size:13px;margin-bottom:7px}.analysis-box p{font-size:12px;color:var(--muted);margin:0 0 10px}.analysis-detail{font-size:11px;color:var(--ink);display:flex;gap:7px;align-items:baseline;margin-top:6px}.analysis-detail b{font-weight:600}.rules-panel{padding:21px;position:sticky;top:18px}.rules-panel>p{font-size:11px;color:var(--muted);margin-bottom:23px}.control{padding-bottom:19px;margin-bottom:18px;border-bottom:1px solid #edf0eb}.control:last-of-type{border-bottom:0}.control-label{display:flex;justify-content:space-between;gap:9px;align-items:baseline;font-size:11px;font-weight:600;margin-bottom:10px}.control-label output{font-size:11px;color:var(--blue);font-weight:500;white-space:nowrap}.control p{font-size:10px;color:var(--muted);line-height:1.5;margin:7px 0 0}.control select{font-size:11px;width:100%;padding:9px}.control .range-extents{display:flex;justify-content:space-between;font-size:9px;color:#929b9e}.rule-impact{background:#f1f4e9;padding:13px;border-radius:6px;font-size:11px;color:#55624c;margin:0 0 15px;line-height:1.6}.rule-impact strong{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}.rules-buttons{display:flex;gap:8px;flex-wrap:wrap}.rules-buttons .button{font-size:10px;padding:8px 10px;min-height:34px}.score-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:16px}.score-label{font-size:10px;color:var(--muted);margin-bottom:4px}.score-value{font-size:25px;line-height:1.2;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.score-value.blue{color:var(--blue)}.score-value.green{color:var(--green)}.score-value small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0}.chart{width:100%;height:auto;display:block}.chart-empty{height:122px;display:grid;place-items:center;color:var(--muted);font-size:11px;background:linear-gradient(#fff0 97%,#edf0eb 97%);background-size:100% 30px;border-bottom:1px solid var(--line)}.round-history{display:flex;gap:4px;margin-top:12px;flex-wrap:wrap}.round-token{width:22px;height:7px;border-radius:2px;background:#b9c7ea}.round-token.coop{background:#b8d99b}.round-token.mixed{background:#ead8a6}.assumptions{margin-top:20px}.assumptions summary{font-size:11px;color:var(--muted);cursor:pointer;line-height:1.6}.assumptions ul{padding-left:17px;font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:0}.lesson{padding:19px 22px;border-left:2px solid #b5c5a2;background:#edf1e5;border-radius:0 7px 7px 0}.lesson .eyebrow{font-size:9px;margin-bottom:8px}.lesson p{font-family:Georgia,serif;font-size:18px;line-height:1.5;margin:0;letter-spacing:-.2px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:11px;font-weight:500}.form-field small{font-weight:400;color:var(--muted)}.experiment-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.experiment-controls select{width:100%;font-size:12px}.experiment-controls input{width:100%}.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.compare-card{min-width:0}.compare-card .payoff-table th{font-size:9px}.compare-card .payoff-table th:first-child{width:26%}.compare-card .payoff-pair{font-size:19px;gap:10px}.comparison-table{border-collapse:collapse;width:100%;font-size:11px;margin-top:16px}.comparison-table th,.comparison-table td{padding:12px 8px;border-bottom:1px solid var(--line);text-align:right}.comparison-table th:first-child,.comparison-table td:first-child{text-align:left;color:var(--muted)}.comparison-table thead th{font-size:9px;letter-spacing:.4px;font-weight:500}.comparison-table td:last-child{color:var(--blue);font-weight:500}.compare-summary{font-size:12px;line-height:1.7;color:var(--muted)}.editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:start}.editor-matrix{border-spacing:5px;width:100%;table-layout:fixed}.editor-matrix th{font-size:10px;font-weight:500;padding:5px;color:var(--muted)}.editor-matrix th:first-child{width:25%}.editor-matrix td{background:#f3f5f1;border-radius:7px;padding:12px 7px}.editor-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px}.editor-pair label{font-size:9px;color:var(--muted);min-width:0}.editor-pair input{width:100%;min-width:0;text-align:center;font-size:14px;padding:7px 2px;margin-top:5px}.editor-pair label:first-child input{color:var(--blue)}.editor-pair label:last-child input{color:var(--green)}.editor-note{margin-top:15px;font-size:10px;color:var(--muted)}.form-error{color:#a33e3e;font-size:12px;margin:12px 0;min-height:18px}.notebook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.saved-card{background:white;padding:22px;border:1px solid var(--line);border-radius:10px}.saved-card h3{font-size:17px;margin:8px 0}.saved-card p{font-size:12px;color:var(--muted)}.saved-card .button{margin-top:9px}.saved-actions{display:flex;gap:8px;flex-wrap:wrap}.empty-state{padding:70px 30px;text-align:center;border:1px dashed #ccd5ce;border-radius:12px}.empty-state h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin-bottom:12px}.empty-state p{color:var(--muted);font-size:13px}.toast{position:fixed;bottom:25px;left:calc(50% + var(--rail)/2);transform:translate(-50%,20px);padding:12px 19px;background:var(--ink);border:1px solid #4b6579;color:white;border-radius:8px;box-shadow:0 8px 30px #102c4326;z-index:20;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;font-size:12px;max-width:calc(100vw - 35px)}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:14px;padding:27px;max-width:560px;width:calc(100% - 32px);max-height:85vh;color:var(--ink)}dialog::backdrop{background:#071e37aa;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.dialog-head h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.dialog-copy h3{font-size:13px;margin-bottom:7px}.dialog-copy p{font-size:12px;color:var(--muted);margin-bottom:20px}.loading{display:grid;place-content:center;height:100vh;text-align:center}.loading p{font-family:Georgia,serif;font-size:44px}.loading span{color:var(--muted);font-size:13px}
@media(min-width:1500px){.page{padding:39px 50px}

.scenario-art{height:145px}.scenario-copy{padding:21px}}
@media(max-width:1150px){:root{--rail:185px}.rail{padding:18px 12px}.brand img{width:182px;margin-top:-6px}.page{padding:28px 25px}.topbar{padding:0 25px}.lab-layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}.panel{padding:18px}

.scenario-grid{gap:12px}.scenario-copy{padding:15px}.scenario-copy h2{font-size:15px}.scenario-art{height:110px}.compare-grid{gap:12px}.compare-card .payoff-table th{font-size:8px}}
@media(max-width:950px){.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-layout{grid-template-columns:minmax(0,1fr)}.rules-panel{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.rules-panel .panel-title,.rules-panel>p,.rule-impact,.rules-buttons{grid-column:1/-1}.rules-panel>p{margin-bottom:15px}.rules-panel .control{min-width:0}.editor-layout{grid-template-columns:1fr}

}
@media(max-width:700px){:root{--rail:0px}.app-shell{display:block}.rail{position:sticky;height:auto;padding:0 15px;top:0;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px}.brand{width:132px;height:58px;margin:0;flex:none}.brand img{width:141px;margin-top:-7px;margin-left:-4px}
.rail-bottom {display:none}.rail nav{display:flex;gap:2px;align-items:center}.nav-link{margin:0;padding:10px 8px;font-size:10px;border-radius:6px;gap:0}.nav-link svg{display:none}.nav-link[aria-current=page]::after{display:none}.topbar{height:48px;padding:0 20px}.top-actions{gap:12px}.page{padding:25px 20px}

.page-heading h1{font-size:34px}.page-heading{flex-wrap:wrap;gap:14px}.section-heading h2{font-size:19px}.scenario-art{height:115px}.scenario-copy h2{font-size:16px}.scenario-copy p{font-size:11px}.scenario-copy{padding:17px}.create-strip{padding:18px;flex-wrap:wrap;gap:12px}.create-strip .button{margin-left:46px}.footer{flex-wrap:wrap}.notebook-grid{grid-template-columns:1fr}.compare-grid{gap:12px}.compare-grid .panel{padding:12px}.compare-card .payoff-pair{font-size:17px;gap:7px}.comparison-table{font-size:10px}.comparison-table th,.comparison-table td{padding:10px 5px}.toast{left:50%}.tabs{gap:24px}.score-value{font-size:24px}.choice-button{padding:13px}.choice-button strong{font-size:13px}.lesson p{font-size:17px}}
@media(max-width:440px){.page{padding:22px 15px}.topbar{padding:0 15px}.rail{padding:0 10px;gap:5px}.brand{width:111px;height:53px}.brand img{width:123px;margin-top:-5px}.nav-link{font-size:9px;padding:9px 7px}

.scenario-grid{gap:11px}.scenario-art{height:95px}.scenario-art svg{width:100px;height:80px}.scenario-copy{padding:13px}.scenario-copy h2{font-size:14px}.scenario-copy p{font-size:11px;min-height:52px}

.section-heading{align-items:flex-start;gap:10px}.section-heading .small{font-size:10px}.rules-panel{display:block}.compare-grid{grid-template-columns:1fr}.form-row{gap:10px}.experiment-controls{grid-template-columns:1fr}.panel{padding:17px}.payoff-table .payoff-pair{font-size:21px;gap:11px}.payoff-table th{font-size:9px}.score-row{gap:10px}.score-value{font-size:22px}.choice-grid{gap:8px}.choice-button{padding:12px;min-height:91px}.choice-button small{font-size:10px}.role-row{gap:7px}.avatar{width:27px;height:27px;font-size:9px}.role-row p{font-size:10px}.role-row .versus{margin-right:0}.form-field input,.form-field textarea,.form-field select{font-size:16px}.editor-pair input{font-size:16px}.top-actions .help{width:24px;height:24px}.footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.panel-title>svg,.choice-button small svg{width:16px;height:16px;flex:none}.choice-button small{display:flex;align-items:center;gap:7px}.choice-button small svg{width:12px;height:12px}
.brand img{height:auto}
