:root{color-scheme:dark;--bg:#11151b;--panel:#191f27;--panel2:#1d252e;--line:#303a45;--muted:#9ba7b3;--text:#f0f3f5;--orange:#f39a56;--orange2:#ffbd7a;--green:#79d3aa;--red:#f28d89;--mono:ui-monospace,SFMono-Regular,Menlo,monospace;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 77% 0%,#27303a 0,transparent 38%),var(--bg);color:var(--text);min-height:100vh}.topbar{height:72px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1160px)/2),28px)}.brand{display:flex;gap:11px;align-items:center;color:var(--text);text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.1em}.brand em{font-size:10px;color:var(--muted);font-style:normal;font-weight:600;letter-spacing:.14em;margin-left:5px}.brand-mark{height:30px;width:30px;border:1px solid var(--orange);color:var(--orange);display:grid;place-items:center;font-weight:900;font-size:15px;clip-path:polygon(0 0,100% 0,100% 70%,70% 100%,0 100%)}.version{font:11px var(--mono);color:#bdc5cd;border:1px solid #ffffff1c;padding:7px 10px;border-radius:4px}main{max-width:1160px;margin:auto;padding:65px 28px 32px}.hero{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:43px;gap:30px}.eyebrow{font:10px var(--mono);color:var(--orange);letter-spacing:.19em;margin:0 0 12px}.hero h1{font-size:clamp(34px,5vw,54px);line-height:1.13;letter-spacing:-.045em;margin:0;font-weight:760}.hero h1 span{color:var(--orange2)}.intro{max-width:540px;color:#aab4be;line-height:1.75;font-size:14px;margin:17px 0 0}.hero-note{background:#1b222a;border:1px solid #ffffff17;padding:15px 18px;display:flex;align-items:center;gap:13px;min-width:275px;border-radius:5px}.note-icon{font-size:21px;color:var(--orange)}.hero-note strong,.hero-note small{display:block}.hero-note strong{font-size:12px}.hero-note small{color:var(--muted);font-size:11px;margin-top:5px}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px;align-items:start}.panel,.results{background:linear-gradient(145deg,#1a2028,#171c23);border:1px solid #ffffff16;border-radius:7px}.setup-panel{padding:24px 22px;position:sticky;top:20px}.section-heading,.section-heading>div{display:flex;align-items:center}.section-heading{justify-content:space-between}.section-heading>div{gap:10px}.step{color:var(--orange);font:11px var(--mono)}h2{font-size:18px;margin:0;font-weight:680}.count-pill{font:11px var(--mono);color:#c2cad1;border:1px solid #ffffff21;border-radius:20px;padding:5px 9px}.muted{color:var(--muted);font-size:12px;line-height:1.6}.setup-panel>.muted{margin:13px 0 17px}.effect-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.effect-option{display:flex;align-items:center;gap:9px;min-height:43px;padding:8px 9px;border:1px solid #ffffff17;background:#171c23;border-radius:4px;cursor:pointer;transition:.15s}.effect-option:hover{border-color:#f39a5680}.effect-option.selected{border-color:#f39a56;background:#f39a5614}.effect-option input{appearance:none;width:15px;height:15px;border:1px solid #64717e;border-radius:3px;margin:0;flex:none;display:grid;place-content:center}.effect-option input:checked{border-color:var(--orange);background:var(--orange)}.effect-option input:checked:after{content:"✓";color:#1b1d20;font-size:11px;font-weight:900}.effect-copy{min-width:0}.effect-copy strong{display:block;font-size:11px;font-weight:600;white-space:nowrap}.effect-copy small{display:block;color:#8f9ba7;font:9px var(--mono);margin-top:4px}.form-row{display:flex;justify-content:space-between;align-items:center;margin:19px 0 13px;font-size:12px;color:#d4d9de}.form-row select{background:#11161c;color:var(--text);border:1px solid var(--line);border-radius:4px;padding:8px 10px;font:inherit;font-size:11px}.primary-button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:linear-gradient(105deg,#f39a56,#f6aa67);color:#211a15;font-weight:750;padding:13px 15px;border-radius:4px;cursor:pointer;font-size:13px;transition:filter .2s}.primary-button:hover:not(:disabled){filter:brightness(1.08)}.primary-button:disabled{opacity:.42;cursor:not-allowed}.microcopy{color:#77838e;font-size:10px;line-height:1.55;margin:11px 0 0}.results{padding:24px;min-height:260px}.hidden{display:none!important}.loading-card{min-height:145px;display:flex;align-items:center;justify-content:center;gap:15px}.loading-card strong,.loading-card small{display:block}.loading-card strong{font-size:14px}.loading-card small{font-size:11px;color:var(--muted);margin-top:6px}.spinner{width:24px;height:24px;border:2px solid #ffffff25;border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-box{background:#442626;border:1px solid #8d4e4b;color:#ffd5d3;padding:13px;border-radius:4px;font-size:12px}.result-topline{display:flex;justify-content:space-between;align-items:center}.result-topline h2{font-size:19px}.secondary-button{background:transparent;border:1px solid #ffffff2d;color:#d5dce1;padding:9px 11px;border-radius:4px;font-size:10px;cursor:pointer}.secondary-button:hover{border-color:var(--orange);color:var(--orange2)}.metric-card{margin-top:16px;background:linear-gradient(110deg,#38291f,#24252a 80%);border:1px solid #d8905935;border-radius:5px;padding:20px 21px;display:flex;justify-content:space-between;align-items:center;gap:15px}.metric-label,.metric-side span{color:#c5a58f;font-size:11px}.metric-value{display:flex;align-items:baseline;gap:10px;margin-top:7px}.metric-value strong{font:700 38px var(--mono);letter-spacing:-.06em;color:#ffd0a2}.metric-value span{font-size:12px;color:#dbc1ad}.metric-foot{margin:8px 0 0;color:#9e8f83;font-size:11px}.metric-side{border-left:1px solid #ffffff20;padding-left:22px;min-width:138px}.metric-side strong,.metric-side small{display:block}.metric-side strong{font:600 21px var(--mono);margin:8px 0 4px;color:#d2d8dc}.metric-side small{font-size:10px;color:#929ca4}.simulation-card{margin-top:13px;background:#151b21;border:1px solid #ffffff13;border-radius:5px;padding:15px 16px}.simulation-heading{display:flex;justify-content:space-between;align-items:center}.simulation-heading>div{display:flex;align-items:center;gap:10px}.status-dot{height:8px;width:8px;border-radius:50%;background:var(--green);box-shadow:0 0 12px #79d3aa88}.status-dot.fail{background:var(--red);box-shadow:0 0 12px #f28d8988}.simulation-heading strong{font-size:12px}.simulation-heading small{display:block;color:#95a0aa;font-size:10px;margin-top:4px}.badge{font:9px var(--mono);border:1px solid #79d3aa65;color:var(--green);padding:3px 6px;border-radius:10px;margin-left:4px}.badge.fail{color:var(--red);border-color:#f28d8977}.runs-label{font:10px var(--mono);color:#78848f}.sim-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:17px;padding-top:13px;border-top:1px solid #ffffff12}.sim-grid small,.sim-grid strong{display:block}.sim-grid small{font-size:9px;color:#89949e;margin-bottom:6px}.sim-grid strong{font:12px var(--mono);color:#e3e7e9}.strategy-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:25px 0 12px}.strategy-heading h2{font-size:18px}.strategy-heading p:not(.eyebrow){color:#a0abb5;font-size:11px;line-height:1.6;margin:7px 0 0;max-width:510px}.strategy-heading .eyebrow{margin-bottom:7px}.text-button{white-space:nowrap;background:none;border:0;color:var(--orange2);font-size:11px;cursor:pointer;padding:8px 0}.policy-wrap{border:1px solid #ffffff15;border-radius:4px;overflow:hidden}.policy-tools{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid #ffffff15}.search-box{display:flex;align-items:center;gap:8px;background:#11161c;border:1px solid #303944;border-radius:3px;padding:7px 9px;min-width:220px}.search-box span{font-size:15px;color:#909ba5}.search-box input{background:transparent;border:0;outline:none;color:var(--text);font-size:11px;width:100%}.search-box input::placeholder{color:#78838e}.table-scroll{max-height:450px;overflow:auto}table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap}thead{position:sticky;top:0;background:#202730;z-index:1}th{text-align:left;color:#a9b3bc;font-weight:550;padding:10px 8px;border-bottom:1px solid #ffffff18}td{padding:8px;border-bottom:1px solid #ffffff0e;color:#d9dfe3}tbody tr:hover{background:#ffffff08}.row-state{font-family:var(--mono);color:#f1c69f}.empty-state{color:#727e89}.cost-cell{font-family:var(--mono);color:#f2bd8e}.value-cell{font-family:var(--mono)}.table-note{color:#78838d;font-size:10px;line-height:1.6;padding:0 10px;margin:10px}.model-details{margin-top:17px;border-top:1px solid #ffffff15;padding-top:12px}.model-details summary{font-size:11px;color:#adb7bf;cursor:pointer}.model-details div{color:#8f9ba5;font-size:10px;line-height:1.8;padding:9px 0 0}.model-details ul{padding-left:17px;margin:5px 0}footer{display:flex;justify-content:space-between;color:#68737e;font-size:10px;margin-top:24px;padding:14px 0;border-top:1px solid #ffffff12}.policy-empty{text-align:center!important;padding:23px!important;color:var(--muted)}@media(max-width:900px){.workspace{grid-template-columns:1fr}.setup-panel{position:static}.hero-note{min-width:230px}.sim-grid{grid-template-columns:repeat(3,1fr);row-gap:15px}}@media(max-width:600px){.topbar{padding:0 17px;height:60px}.brand{font-size:11px}.brand em{display:none}.version{font-size:9px;padding:6px 7px}main{padding:37px 15px 24px}.hero{display:block;margin-bottom:25px}.hero h1{font-size:37px}.intro{font-size:12px}.hero-note{margin-top:21px}.setup-panel,.results{padding:18px 15px}.effect-grid{gap:6px}.effect-option{padding:8px 7px}.effect-copy strong{font-size:10px}.metric-card{align-items:flex-start;padding:15px}.metric-value strong{font-size:31px}.metric-value span{font-size:10px}.metric-side{padding-left:13px;min-width:110px}.metric-side strong{font-size:17px}.sim-grid{grid-template-columns:repeat(2,1fr)}.strategy-heading{align-items:flex-start}.strategy-heading p:not(.eyebrow){max-width:300px}.text-button{font-size:10px}.table-scroll{max-height:390px}.policy-tools{align-items:flex-start;gap:8px;flex-direction:column}.search-box{width:100%}footer{gap:12px;line-height:1.5}}
.effect-control{min-width:0;display:flex;flex-direction:column;gap:5px}.tier-select{width:100%;background:#11161c;color:#d8dfe3;border:1px solid #3c4651;border-radius:3px;padding:6px 7px;font-size:10px}.effect-control .effect-option{flex:1}.phase-title{font-size:12px;color:#f0b47e;margin:15px 10px 0;padding-top:12px;border-top:1px solid #ffffff15}.sim-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:900px){.sim-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.sim-grid{grid-template-columns:repeat(2,1fr)}}
.metric-main{min-width:0}.metric-breakdown{display:flex;align-items:stretch;border-left:1px solid #ffffff20}.metric-breakdown .metric-side{min-width:145px}.metric-breakdown .metric-side:first-child{border-left:0}.metric-breakdown .metric-side+.metric-side{margin-left:0;border-left:1px solid #ffffff18}@media(max-width:600px){.metric-card{display:block}.metric-breakdown{border-left:0;border-top:1px solid #ffffff20;margin-top:14px;padding-top:12px}.metric-breakdown .metric-side{min-width:0;flex:1;padding-left:9px}.metric-breakdown .metric-side:first-child{padding-left:0}.metric-breakdown .metric-side strong{font-size:16px}}
.histogram-card{margin-top:17px;padding-top:15px;border-top:1px solid #ffffff12}.chart-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.chart-heading strong{font-size:11px}.chart-heading span{font-size:9px;color:#84909b}.chart-wrap{width:100%;margin-top:7px}.chart-wrap svg{display:block;width:100%;height:auto;overflow:visible}.chart-grid{stroke:#ffffff12;stroke-width:1}.chart-axis{stroke:#89949e;stroke-width:1}.chart-axis-label{fill:#98a3ad;font:10px var(--mono)}.chart-bar{fill:#f39a56;fill-opacity:.72}.chart-marker{stroke-width:2;stroke-dasharray:5 4;opacity:.9}.chart-marker.mean{stroke:#ffbd7a}.chart-marker.median{stroke:#79d3aa}.chart-marker.p90{stroke:#82b7f5}.chart-marker.p95{stroke:#c69af2}.chart-legend{display:flex;flex-wrap:wrap;gap:9px 18px;margin:1px 0 0 58px}.legend-item{display:inline-flex;align-items:center;gap:6px;color:#aab4bd;font-size:9px}.legend-swatch{display:block;width:13px;height:0;border-top:2px dashed}.legend-swatch.mean{border-color:#ffbd7a}.legend-swatch.median{border-color:#79d3aa}.legend-swatch.p90{border-color:#82b7f5}.legend-swatch.p95{border-color:#c69af2}@media(max-width:600px){.chart-heading{align-items:flex-start;flex-direction:column;gap:4px}.chart-legend{margin-left:30px;gap:8px 13px}.legend-item{font-size:8px}}
.setup-panel>.section-heading:not(:first-child){margin-top:23px}.initial-grid{display:grid;gap:7px}.initial-row{display:grid;grid-template-columns:75px minmax(0,1fr) minmax(105px,.75fr);align-items:center;gap:7px}.initial-row label{font-size:10px;color:#aeb8c0}.initial-row select{min-width:0;width:100%;background:#11161c;color:#d8dfe3;border:1px solid #3c4651;border-radius:3px;padding:7px 6px;font-size:10px}.initial-row select:disabled{opacity:.4}.initial-hint{color:#8f9ba5;font-size:10px;line-height:1.5;margin:8px 0 0}.initial-hint.invalid{color:#f2a097}@media(max-width:600px){.initial-row{grid-template-columns:57px minmax(0,1fr) minmax(90px,.7fr);gap:5px}.initial-row select{font-size:9px;padding:7px 4px}}
.setup-actions{display:flex;gap:9px;align-items:stretch}.setup-actions .primary-button{flex:1}.setup-actions .secondary-button{min-width:72px}.setup-actions .secondary-button:disabled{opacity:.4;cursor:not-allowed}
.professional-comparison{margin-top:12px;padding:13px 17px;background:#151b21;border:1px solid #ffffff13;border-radius:5px}.professional-comparison h3{font-size:11px;margin:0 0 8px}.professional-comparison>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:10px;color:#aeb8c0}.professional-comparison strong{font:12px var(--mono);color:#f0c29d}.professional-comparison p{color:#89959e;font-size:10px;line-height:1.5;margin:7px 0 0}.joint-policy-scroll{max-height:520px}
.version-links{display:flex;align-items:center;gap:8px}.version-links a{color:var(--orange2);font-size:11px;text-decoration:none}.version-links a:hover{text-decoration:underline}.current-version{margin:0}.strategy-overview{margin:-16px 0 24px;padding:16px 19px;background:#1a2028;border:1px solid #ffffff16;border-left:3px solid var(--orange);border-radius:5px}.strategy-overview h2{font-size:13px;margin:0 0 9px}.strategy-overview ol{margin:0;padding-left:20px;color:#b4bec6;font-size:11px;line-height:1.7}.strategy-overview li+li{margin-top:4px}.strategy-overview strong{color:#f0c29d}@media(max-width:600px){.strategy-overview{margin:-6px 0 19px;padding:13px 14px}.strategy-overview ol{font-size:10px}}
.strategy-cost-note{margin:9px 0 0;padding-top:9px;border-top:1px solid #ffffff12;color:#929ea8;font-size:10px;line-height:1.6}
.policy-guide{margin-top:28px;padding:17px;background:#151b21;border:1px solid #ffffff16;border-radius:5px}.guide-heading h2{font-size:18px}.guide-heading p:not(.eyebrow){max-width:720px;color:#a0abb5;font-size:11px;line-height:1.65;margin:7px 0 0}.guide-howto{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0;padding:0;list-style:none;counter-reset:guide-step}.guide-howto li{counter-increment:guide-step;position:relative;min-height:57px;padding:10px 9px 9px 34px;background:#1b222a;border:1px solid #ffffff12;border-radius:4px;color:#c1cad1;font-size:10px;line-height:1.5}.guide-howto li:before{content:counter(guide-step);position:absolute;left:10px;top:9px;color:var(--orange);font:11px var(--mono)}.guide-stop{margin:0;padding:9px 11px;background:#283329;border:1px solid #79d3aa36;border-radius:4px;color:#a9cabb;font-size:10px;line-height:1.6}.guide-stop strong{color:#90dfb4}.policy-guide>.policy-tools{padding:12px 0;border:0}.guide-category{border-top:1px solid #ffffff15}.guide-category>summary{padding:12px 10px;color:#f0c29d;font-size:11px;cursor:pointer;list-style-position:inside}.guide-rule-list{padding:0 9px 10px 19px}.guide-rule{margin:0 0 7px;background:#1a2028;border:1px solid #ffffff12;border-radius:4px}.guide-rule>summary{padding:10px;color:#d5dce1;font-size:10px;line-height:1.5;cursor:pointer}.guide-rule[open]>summary{border-bottom:1px solid #ffffff12;color:#ffd0a2}.guide-action-detail{margin:0;padding:9px 10px;color:#aeb8c0;font-size:10px;line-height:1.6}.guide-state-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px;margin:0;padding:0 25px 12px 29px;color:#8f9ba5;font-size:9px;line-height:1.55}.guide-state-list li{padding-left:2px}.guide-state-list li::marker{color:#f39a56}.strategy-heading{margin-top:25px}@media(max-width:700px){.guide-howto{grid-template-columns:repeat(2,1fr)}.guide-state-list{grid-template-columns:1fr}.policy-guide{padding:13px 11px}.guide-heading h2{font-size:16px}}
