.xkg-sim{--xkg-accent:#a91e35;background:#fff;border:1px solid #dce3eb;border-radius:16px;color:#1a293d;font:16px/1.65 system-ui,-apple-system,sans-serif;max-width:1160px;margin:28px auto;overflow:hidden;box-shadow:0 10px 32px #192b4510}.xkg-sim *{box-sizing:border-box}.xkg-sim [hidden]{display:none!important}.xkg-sim-header{display:flex;align-items:center;gap:20px;justify-content:space-between;background:#142a43;color:#fff;padding:30px}.xkg-sim-header h2{font-size:30px;line-height:1.25;margin:10px 0;color:#fff}.xkg-sim-header p{margin:0;color:#d4dfea}.xkg-sim-eyebrow{font-size:11px;letter-spacing:.15em;color:#e9bd6b;font-weight:800}.xkg-sim-badge{border:1px solid #cfaa69;border-radius:30px;color:#f9d991;padding:6px 12px;white-space:nowrap;font-size:11px;font-weight:800}.xkg-sim-notice{margin:0!important;background:#fff4df;color:#64400d;padding:13px 24px;font-size:14px}.xkg-sim-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:24px 24px 8px}.xkg-sim button,.xkg-sim select,.xkg-sim input{font:inherit}.xkg-sim button{cursor:pointer;border:1px solid #c7d3df;background:#fff;color:#233b55;border-radius:8px;padding:10px 16px;line-height:1.4}.xkg-sim-tabs button[aria-pressed=true],.xkg-sim .xkg-sim-start{background:var(--xkg-accent);border-color:var(--xkg-accent);color:#fff;font-weight:750}.xkg-sim button:hover:not(:disabled){filter:brightness(.94)}.xkg-sim button:disabled{opacity:.45;cursor:not-allowed}.xkg-sim :is(button,input,select,summary,a,textarea):focus-visible{outline:3px solid #b77a19;outline-offset:3px}.xkg-sim-controls{display:flex;gap:16px;flex-wrap:wrap;padding:16px 24px}.xkg-sim-controls label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:650}.xkg-sim-controls input,.xkg-sim-controls select{border:1px solid #b5c4d1;background:white;color:#193148;padding:10px 12px;border-radius:7px;max-width:100%;min-height:44px}.xkg-sim-names{flex:1;min-width:200px}.xkg-sim-toolbar{padding:0 24px;display:flex;gap:10px;flex-wrap:wrap}.xkg-sim-status{padding:0 24px;font-size:14px;color:#4e6277;min-height:24px}.xkg-sim-scroll{margin:18px 24px;overflow-x:auto}.xkg-sim-table{width:100%;border-collapse:collapse;margin:0;table-layout:fixed}.xkg-sim-table caption{text-align:left;font-size:12px;color:#65788a;padding:8px 0}.xkg-sim-table th,.xkg-sim-table td{border:1px solid #d6e0e9;padding:13px 10px;text-align:center;vertical-align:middle}.xkg-sim-table thead th{background:#edf2f7;font-size:14px;color:#203a53}.xkg-sim-table th:first-child{width:110px}.xkg-sim-table tbody th{font-size:13px;background:#f7f9fc}.xkg-sim-values{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px}.xkg-sim-number{font-size:24px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.03em;color:#728293;transition:color .12s}.xkg-sim-number.is-revealed{color:#152f49}.xkg-sim-top .xkg-sim-number.is-revealed{color:var(--xkg-accent);font-size:29px}.xkg-sim-ball{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:50%;border:1px solid #c9a865;background:#fff5dc;font-size:22px!important;color:#63430d!important}.xkg-sim-empty{padding:50px 20px;background:#f5f8fb;text-align:center;border:1px dashed #c7d3df;border-radius:10px;color:#607589}.xkg-sim-summary{padding:0 24px;overflow-wrap:anywhere}.xkg-sim-summary h3{font-size:17px}.xkg-sim-summary p{font-family:monospace;font-size:16px;line-height:1.9}.xkg-sim-summary small{font-size:12px;color:#61748a}.xkg-sim-help{margin:20px 24px;padding:16px;background:#f5f8fa;border-radius:9px;font-size:13px}.xkg-sim-help summary{cursor:pointer;font-weight:700}.xkg-sim-help p{margin:12px 0}.xkg-sim-footer{padding:18px 24px;border-top:1px solid #e0e6ec;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:#62748a}.xkg-sim-footer a{color:var(--xkg-accent);font-weight:700;text-decoration:underline}.xkg-sim-copy-fallback{width:100%;height:180px;border:1px solid #8ba1b6;border-radius:6px;padding:12px;font:13px/1.7 monospace}.xkg-sim-error{padding:20px;color:#962137;background:#fff2f2}@media(max-width:600px){.xkg-sim{border-radius:10px;font-size:14px}.xkg-sim-header{padding:22px 16px;align-items:flex-start}.xkg-sim-header h2{font-size:25px}.xkg-sim-badge{display:none}.xkg-sim-tabs,.xkg-sim-controls{padding:16px}.xkg-sim-tabs button{padding:9px 12px;font-size:13px}.xkg-sim-toolbar{padding:0 16px;gap:8px}.xkg-sim-toolbar button{font-size:13px;padding:10px 12px}.xkg-sim-notice{padding:12px 16px;font-size:12px}.xkg-sim-status{padding:0 16px}.xkg-sim-scroll{margin:12px 16px}.xkg-sim-table{min-width:400px}.xkg-sim-table th:first-child{width:82px}.xkg-sim-table th,.xkg-sim-table td{padding:10px 6px}.xkg-sim-number{font-size:20px}.xkg-sim-values{gap:7px 12px}.xkg-sim-top .xkg-sim-number.is-revealed{font-size:23px}.xkg-sim-help{margin:18px 16px}.xkg-sim-summary{padding:0 16px}.xkg-sim-footer{padding:16px}.xkg-sim-columns,.xkg-sim-names{max-width:100%}}@media(prefers-reduced-motion:reduce){.xkg-sim *{transition:none!important;scroll-behavior:auto!important}}
.xkg-sim-schedule{margin:20px 24px 0;padding:16px;background:#f0f5fa;border:1px solid #dbe5ee;border-radius:10px;display:flex;gap:16px;flex-wrap:wrap}.xkg-sim-schedule label,.xkg-sim-view label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;flex:1;min-width:180px}.xkg-sim-schedule select,.xkg-sim-view select{font:inherit;color:#193148;background:#fff;border:1px solid #b5c4d1;border-radius:7px;padding:10px;min-height:43px}.xkg-sim-schedule-note{width:100%;margin:0;font-size:12px;color:#596e84}.xkg-sim-view{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:18px 24px 0;padding-top:16px;border-top:1px solid #e2e9f0}.xkg-sim-view label{flex:0 1 155px;min-width:130px}.xkg-sim-digits{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px}.xkg-sim-digits button{padding:6px 9px;min-width:31px}.xkg-sim-digits button[aria-pressed=true]{background:#f8dda1;border-color:#bb862b;color:#5b3a00}.xkg-sim-number.is-highlight{background:#ffedb0!important;box-shadow:0 0 0 2px #ca8a16;border-radius:4px}.xkg-sim-number.is-spinning{color:#b02c46;background:#fff0f3;border-radius:5px}.xkg-sim-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.xkg-sim-stat-scroll{overflow-x:auto}.xkg-sim-stat{width:100%;border-collapse:collapse;font-size:13px;margin:12px 0;min-width:250px}.xkg-sim-stat caption{text-align:left;font-weight:750;padding:10px 0;color:#183950}.xkg-sim-stat td,.xkg-sim-stat th{border:1px solid #dae4ed;padding:8px;text-align:left;overflow-wrap:anywhere}.xkg-sim-stat th{background:#f0f5f9}.xkg-sim-stat tbody tr:nth-child(even){background:#f8fafc}.xkg-sim-session{margin:20px 0;padding:16px;background:#f5f8fb;border:1px solid #e0e7ed;border-radius:10px}.xkg-sim-session p{font-size:13px}.xkg-sim-session button{display:block;margin-top:14px;font-size:13px}.xkg-sim-summary{min-width:0}.xkg-sim-table{min-width:360px}.xkg-sim-table td{overflow-wrap:anywhere}@media(max-width:700px){.xkg-sim-stat-grid{grid-template-columns:1fr}.xkg-sim-schedule{margin:16px 16px 0}.xkg-sim-view{margin:16px 16px 0}.xkg-sim-schedule label{min-width:140px}.xkg-sim-digits{gap:6px}.xkg-sim-digits button{min-width:34px;min-height:36px}.xkg-sim-stat{font-size:12px}.xkg-sim-table{min-width:420px}}
.xkg-sim-table[data-columns="1"]{min-width:0;table-layout:auto}
/* Portal 2.0: compact tables and navigable information, scoped to the tool. */
.xkg-sim{border-radius:12px;box-shadow:0 5px 24px #1838500c;font-size:15px}.xkg-sim-header{padding:22px 24px;background:#183a55}.xkg-sim-header h2{font-size:27px;margin:7px 0}.xkg-sim-tabs{gap:0;padding:0;margin:20px 24px 0;border:1px solid #cedbe5;border-radius:8px;overflow:hidden}.xkg-sim-tabs button{flex:1 1 28%;border:0;border-radius:0;padding:13px 8px;border-bottom:1px solid #dce6ee;background:#f3f7fa;font-weight:750}.xkg-sim-tabs button:nth-child(n+4){font-size:12px;font-weight:600}.xkg-sim-tabs button[aria-pressed=true]{background:var(--xkg-accent);color:white}.xkg-sim-weekbar{display:flex;flex-wrap:wrap;padding:0 24px;gap:6px;margin:15px 0}.xkg-sim-weekbar button{font-size:12px;padding:8px 10px;background:#f4f8fb;border:1px solid #d4e0e9}.xkg-sim-weekbar button[aria-pressed=true]{background:#193e5a;color:#fff;border-color:#193e5a}.xkg-sim-context{margin:10px 24px;padding:12px 14px;border-left:3px solid var(--xkg-accent);background:#f5f8fb;color:#284961;font-weight:650;font-size:13px}.xkg-sim-table thead th{background:#e7f0f7;color:#193f5c}.xkg-sim-table th:first-child{width:62px}.xkg-sim-table tbody th{background:#f1f6fa}.xkg-sim-table th,.xkg-sim-table td{padding:10px 8px}.xkg-sim-top th,.xkg-sim-top td{background:#fff5f3!important}.xkg-sim-number{font-size:25px;font-weight:750;letter-spacing:.02em}.xkg-sim-top .xkg-sim-number.is-revealed{font-size:30px}.xkg-sim-information{margin:26px 24px;border-top:1px solid #d9e3eb;padding-top:22px}.xkg-sim-guide h2{font-size:24px;line-height:1.35;margin:10px 0 20px;color:#173b55}.xkg-sim-guide h3{font-size:18px;margin:26px 0 10px}.xkg-sim-guide p{font-size:14px;line-height:1.85}.xkg-sim-guide details{padding:13px 0;border-bottom:1px solid #dce6ee}.xkg-sim-guide summary{font-weight:650;cursor:pointer;color:#1b425d}.xkg-sim-guide details p{margin:10px 0}.xkg-sim-guide .xkg-sim-stat button{font-size:12px;padding:6px 9px;white-space:nowrap}.xkg-sim-station-directory>div{display:flex;flex-wrap:wrap;gap:7px;padding:16px 0}.xkg-sim-station-directory button{font-size:12px;padding:8px 10px;background:#f1f6fa}.xkg-sim-fine{color:#5b7182;font-size:12px!important}.xkg-sim-charts{display:grid;grid-template-columns:1fr 1fr;gap:22px}.xkg-sim-chart h4{font-size:14px;margin:12px 0}.xkg-sim-bar-row{display:grid;grid-template-columns:14px minmax(30px,1fr) 78px;gap:8px;align-items:center;font-size:11px;margin:8px 0}.xkg-sim-bar-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.xkg-sim-bar-track{background:#dce7ee;height:10px;border-radius:8px;overflow:hidden}.xkg-sim-bar-fill{display:block;background:#1b7192;min-height:10px;border-radius:8px}.xkg-sim-loto td,.xkg-sim-loto th{text-align:center}.xkg-sim-empty-stats{font-size:13px;color:#637b8d}.xkg-sim-schedule{margin-top:12px}.xkg-sim-controls{padding-top:12px;padding-bottom:12px}.xkg-sim-information [hidden]{display:none!important}@media(max-width:650px){.xkg-sim-tabs{margin:16px 16px 0}.xkg-sim-tabs button{font-size:13px;padding:12px 5px}.xkg-sim-header{padding:20px 16px}.xkg-sim-weekbar{padding:0 16px;gap:5px}.xkg-sim-context{margin:10px 16px}.xkg-sim-information{margin:22px 16px}.xkg-sim-charts{grid-template-columns:1fr}.xkg-sim-guide h2{font-size:21px}.xkg-sim-table th:first-child{width:45px}.xkg-sim-table td{padding:9px 5px}.xkg-sim-number{font-size:22px}.xkg-sim-top .xkg-sim-number.is-revealed{font-size:26px}.xkg-sim-bar-row{grid-template-columns:14px minmax(40px,1fr) 85px}.xkg-sim-table[data-columns="1"] .xkg-sim-number{font-size:25px}.xkg-sim-table[data-columns="1"] .xkg-sim-top .xkg-sim-number{font-size:30px}}
/* 2.1 — Focused draw stage, calmer motion, stable numeric layout. */
.xkg-sim{background:#f8fafc;border-color:#dce4ed;border-radius:16px;box-shadow:0 8px 28px #18364b09}.xkg-sim-header{background:#17364e;padding:26px 28px}.xkg-sim-header h2{font-size:28px;letter-spacing:-.025em}.xkg-sim-header p{font-size:13px;color:#d0dde7}.xkg-sim-notice{font-size:12px;background:#fff8ea;color:#795c28;border-bottom:1px solid #f0e4ca}.xkg-sim-tabs{background:#fff;margin:22px 24px 0;border-color:#d2dfe9;box-shadow:0 2px 5px #16324704}.xkg-sim-tabs button{background:#fff;color:#24435b;min-height:48px}.xkg-sim-tabs button:nth-child(n+4){background:#f4f7fa}.xkg-sim-tabs button[aria-pressed=true]{background:var(--xkg-accent);color:#fff}.xkg-sim-schedule{background:#fff;border-color:#dce6ed;border-radius:12px;padding:18px}.xkg-sim-controls{padding:14px 24px 18px}.xkg-sim-context{border-left:0;border-radius:8px;background:#eaf1f6;font-size:12px}.xkg-sim-stage{margin:0 24px 24px;background:#fff;border:1px solid #cbdce8;border-radius:13px;overflow:hidden;scroll-margin-top:74px;box-shadow:0 6px 18px #17364c08;outline:none}.xkg-sim-stage:focus-visible{outline:3px solid #b7822c;outline-offset:3px}.xkg-sim-stage-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 20px;border-bottom:1px solid #e1e8ef;background:#fff}.xkg-sim-stage-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:#687f91}.xkg-sim-stage-head h3{font-size:21px;color:#173b56;margin:4px 0 0;line-height:1.3}.xkg-sim-stage-badge{font-size:10px;font-weight:800;letter-spacing:.08em;padding:6px 10px;background:#edf4f8;color:#476b83;border-radius:20px;white-space:nowrap}.xkg-sim-stage.is-running .xkg-sim-stage-badge{background:#fff0db;color:#90611d}.xkg-sim-stage.is-complete .xkg-sim-stage-badge{background:#e7f4ef;color:#1d6b51}.xkg-sim-stage .xkg-sim-toolbar{padding:18px 20px 6px;gap:8px}.xkg-sim-toolbar button{border-radius:8px;border-color:#cbd9e5;padding:11px 15px;font-size:13px;min-height:42px;transition:background .15s,border-color .15s}.xkg-sim .xkg-sim-start{box-shadow:0 3px 6px #a31b3014}.xkg-sim-stage .xkg-sim-status{padding:0 20px;margin:8px 0 12px;font-size:12px;min-height:20px}.xkg-sim-stage .xkg-sim-view{margin:0;padding:14px 20px;gap:15px;background:#f8fafc;border-top:1px solid #e5ecf2;border-bottom:1px solid #e5ecf2}.xkg-sim-view label{font-size:11px;gap:5px}.xkg-sim-view select{padding:8px 10px;min-height:36px;font-size:12px}.xkg-sim-digits{font-size:11px}.xkg-sim-digits button{background:white;border-color:#d6e2eb;min-width:29px;padding:6px 8px;font-size:12px}.xkg-sim-progress{padding:13px 20px 0}.xkg-sim-progress-label{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#6a8091;margin-bottom:5px}.xkg-sim-progress-label strong{color:#254c65;font-weight:650}.xkg-sim-progressbar{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;accent-color:#287793;background:#e8eff4}.xkg-sim-progressbar::-webkit-progress-bar{background:#e8eff4}.xkg-sim-progressbar::-webkit-progress-value{background:#287793;border-radius:5px}.xkg-sim-progressbar::-moz-progress-bar{background:#287793}.xkg-sim-stage .xkg-sim-scroll{margin:10px 14px 16px}.xkg-sim-table caption{font-size:10px;letter-spacing:.01em;color:#7c8e9c;padding:6px 0 10px}.xkg-sim-table th,.xkg-sim-table td{padding:13px 7px;border-color:#dce5ed}.xkg-sim-table thead th{background:#edf3f8;color:#2e526d;font-size:12px;font-weight:700}.xkg-sim-table tbody th{color:#6b8192;background:#f8fafc;font-size:11px;font-weight:700;width:43px}.xkg-sim-table tbody tr:nth-child(even) td{background:#fbfcfe}.xkg-sim-values{gap:10px 12px;align-items:center}.xkg-sim .xkg-sim-table .xkg-sim-number{display:inline-flex;align-items:center;justify-content:center;min-width:calc(var(--digits,5)*.6em);min-height:32px;padding:3px 1px;border:1px solid transparent;border-radius:5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:24px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:0;color:#2d4357;line-height:1.25}.xkg-sim .xkg-sim-table .xkg-sim-number:not(.is-revealed):not(.is-spinning){color:#c8d3dd;font-weight:400}.xkg-sim .xkg-sim-table .xkg-sim-number.is-spinning{color:#176d90;background:#edf7fc;border-color:#a8d2e5;box-shadow:0 0 0 2px #eaf4f9}.xkg-sim .xkg-sim-top .xkg-sim-number.is-revealed{font-size:29px;color:var(--xkg-accent);font-weight:800}.xkg-sim .xkg-sim-table .xkg-sim-ball{min-width:46px;min-height:46px;border-radius:50%;background:#fff5dd;border-color:#ddc58d;color:#76501a;padding:0}.xkg-sim .xkg-sim-table .is-highlight{background:#ffedb0!important;box-shadow:0 0 0 2px #ce9b3c;border-color:#ce9b3c}.xkg-sim-summary{padding-top:0}.xkg-sim-summary>h3{font-size:18px;margin-top:22px;color:#20465e}.xkg-sim-session{background:#fff;border-color:#dce5ed}.xkg-sim-information{background:#fff;border:1px solid #dce5ed;padding:22px;border-radius:12px}.xkg-sim-help{background:#edf3f7}.xkg-sim-footer{background:#fff}@media(max-width:650px){.xkg-sim{border-radius:12px}.xkg-sim-header{padding:22px 16px}.xkg-sim-header h2{font-size:25px}.xkg-sim-stage{margin:0 12px 20px;scroll-margin-top:60px;border-radius:11px}.xkg-sim-stage-head{padding:15px 12px}.xkg-sim-stage-head h3{font-size:18px}.xkg-sim-stage-badge{font-size:8px;padding:5px 7px}.xkg-sim-stage .xkg-sim-toolbar{padding:14px 12px 6px;gap:7px}.xkg-sim-toolbar button{padding:10px 12px;font-size:12px}.xkg-sim-stage .xkg-sim-status{padding:0 12px;line-height:1.65}.xkg-sim-stage .xkg-sim-view{padding:12px;gap:10px}.xkg-sim-view label{min-width:110px;flex-basis:125px}.xkg-sim-progress{padding:12px 12px 0}.xkg-sim-stage .xkg-sim-scroll{margin:8px 8px 12px}.xkg-sim-table th,.xkg-sim-table td{padding:11px 5px}.xkg-sim .xkg-sim-table .xkg-sim-number{font-size:21px}.xkg-sim .xkg-sim-top .xkg-sim-number.is-revealed{font-size:25px}.xkg-sim-information{margin:22px 14px;padding:16px}.xkg-sim-digits button{min-width:31px;min-height:32px}.xkg-sim-progress-label{font-size:9px}}@media(prefers-reduced-motion:reduce){.xkg-sim *{transition:none!important;animation:none!important}}
