/* Interactive additions to the existing TNB homepage. */
.xray-scene-frame{z-index:1}
.xray-scene::after{z-index:2}
.xray-scene-note{pointer-events:none}
.xray-pins{position:absolute;inset:0;z-index:4;pointer-events:none}
.xray-pin{position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(5,22,37,.84);border:1px solid rgba(244,220,198,.6);color:#fff;font:700 13px/1 Inter,Arial,sans-serif;cursor:pointer;pointer-events:auto;box-shadow:0 5px 16px rgba(0,0,0,.25);transition:background .2s,box-shadow .2s}
.xray-pin[aria-pressed="true"]{background:#ef7b42;border-color:#ffc6a8;color:#061626;box-shadow:0 0 0 6px rgba(239,123,66,.16),0 0 30px rgba(239,123,66,.25)}
.xray-pin-label{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,5px);padding:7px 11px;border:1px solid #526271;border-radius:7px;background:#061626;color:#fff;font-size:12px;font-weight:600;white-space:nowrap;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}
.xray-pin:hover .xray-pin-label,.xray-pin:focus-visible .xray-pin-label{opacity:1;transform:translate(-50%,0)}
.xray-pin:focus-visible,.xray-related button:focus-visible,.tnb-playground button:focus-visible,.tnb-playground a:focus-visible,.tnb-playground input:focus-visible{outline:3px solid #f5a878;outline-offset:4px}
.xray-related{margin-top:22px;border-top:1px solid #29404d;padding-top:17px}
.xray-related>span{display:block;color:#a7bdcc;font-size:12px;margin-bottom:9px}
.xray-related-links{display:flex;flex-wrap:wrap;gap:7px}
.xray-related button{background:#0d2438;color:#d5e0e9;border:1px solid #29404d;border-radius:7px;padding:9px 12px;min-height:40px;font:600 13px/1.3 Inter,Arial,sans-serif;cursor:pointer}
.xray-related button:hover{border-color:#ef7b42;color:#fff}
.xray-connection-note{font-size:13px;color:#bdc9d2;line-height:1.5;margin-top:12px}
.xray-context .playground-launch{margin-top:18px}
.playground-launch{border:1px solid #526675;background:transparent;color:#e0eaf1;border-radius:9px;padding:12px 16px;font:600 14px/1.4 Inter,Arial,sans-serif;min-height:46px;cursor:pointer}
.playground-launch:hover{border-color:#ef7b42;color:#fff;background:rgba(239,123,66,.06)}
.xray-example .playground-launch{width:100%;margin-top:20px;text-align:left;display:flex;align-items:center;justify-content:space-between}
.xray-intro .v94-actions{gap:13px}
.xray-playground-link{display:block;margin-top:18px}
.playground-is-open{overflow:hidden}
.tnb-playground{padding:0;border:1px solid #344b5e;border-radius:18px;background:#071b2d;color:#e8eff5;width:min(1160px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;box-shadow:0 30px 100px rgba(0,0,0,.4);font-family:Inter,Arial,sans-serif;overflow:auto;color-scheme:dark}
.tnb-playground:not([open]){display:none}
.tnb-playground::backdrop{background:rgba(0,11,24,.82);backdrop-filter:blur(8px)}
.tnb-playground *{box-sizing:border-box}
.tnb-playground .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}
.tnb-playground h2,.tnb-playground h3,.tnb-playground p{color:inherit}
.playground-head{position:sticky;top:0;z-index:5;background:#071b2d;padding:30px 34px 22px;border-bottom:1px solid #263e51}
.playground-head .v94-kicker{color:#efaa84;font-size:11px;margin:0 0 11px}
.playground-head h2{font-size:clamp(27px,3.2vw,39px);line-height:1.12;letter-spacing:-.035em;font-weight:750;margin:0 50px 12px 0;color:#fff}
.playground-head>p:last-of-type{font-size:14px;line-height:1.6;color:#b0c3d0;margin:0;max-width:760px}
.playground-close{position:absolute;right:22px;top:22px;width:44px;height:44px;border-radius:50%;border:1px solid #354f64;background:#122c42;color:#fff;font:400 29px/1 Inter,Arial,sans-serif;cursor:pointer}
.playground-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0}
.playground-controls{padding:28px 34px;border-right:1px solid #263e51}
.playground-controls h3,.playground-results h3{font-size:16px;line-height:1.3;font-weight:650;margin:0 0 15px;letter-spacing:-.01em;color:#fff}
.playground-presets{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:25px}
.playground-presets button{border:1px solid #39536a;background:#0e283f;color:#dce8f0;border-radius:7px;padding:10px 11px;min-height:42px;font:500 12px/1.3 Inter,Arial,sans-serif;cursor:pointer}
.playground-presets button[aria-pressed="true"]{border-color:#ef7b42;color:#ffc8a8;background:#283033}
.playground-slider{margin:0 0 20px}
.playground-slider label{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:14px;color:#c1d0dc;margin-bottom:8px}
.playground-slider output{font-variant-numeric:tabular-nums;font-size:18px;font-weight:650;color:#fff;white-space:nowrap}
.playground-slider input[type="range"]{width:100%;min-height:24px;accent-color:#ef7b42;cursor:pointer;margin:0}
.playground-slider small{display:block;font-size:11px;color:#8fa7bb;margin-top:4px;line-height:1.5}
.playground-reset{border:0;background:none;color:#afc2d2;padding:6px 0;text-decoration:underline;text-underline-offset:4px;font:500 12px/1.3 Inter,Arial,sans-serif;cursor:pointer;min-height:36px}
.playground-baseline{border-top:1px solid #294157;margin-top:22px;padding-top:18px}
.playground-baseline>summary{font-size:14px;font-weight:600;color:#e4edf4;cursor:pointer;padding:7px 0}
.playground-baseline>p{font-size:12px;line-height:1.5;color:#9bb1c3;margin:9px 0 16px}
.playground-baseline-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.playground-baseline-grid label{display:block;color:#bed0de;font-size:12px;line-height:1.4}
.playground-baseline-grid label.wide{grid-column:1/-1}
.playground-baseline-grid input{display:block;width:100%;margin-top:5px;border:1px solid #456076;border-radius:6px;padding:9px 10px;background:#0d253a;color:#fff;min-height:42px;font:400 15px/1.3 Inter,Arial,sans-serif}
.playground-definitions{font-size:12px;color:#a9becf;line-height:1.5;margin-top:15px}
.playground-definitions summary{cursor:pointer}
.playground-definitions p{margin:10px 0}
.playground-results{padding:28px 34px;background:linear-gradient(145deg,rgba(46,82,103,.17),transparent 55%)}
.playground-delta-label{font-size:12px;color:#afc3d2;margin:0 0 6px}
.playground-delta{font-size:clamp(36px,4.5vw,54px);font-weight:750;line-height:1.1;letter-spacing:-.045em;display:block;color:#ffc39f;font-variant-numeric:tabular-nums}
.playground-delta[data-direction="down"]{color:#ffaaa0}
.playground-delta[data-direction="same"]{color:#dce5ec}
.playground-monthly{font-size:13px;color:#9fb7c9;margin:7px 0 22px}
.playground-chart{display:grid;gap:14px;margin-bottom:18px}
.playground-bar-group>span{display:block;font-size:11px;font-weight:600;color:#aec3d2;margin-bottom:7px}
.playground-bar-track{height:8px;width:100%;display:flex;background:#142d42;border-radius:3px;overflow:hidden;margin-top:5px}
.playground-bar{height:100%;transition:width .35s ease;min-width:0}
.playground-bar.income{background:#ef7b42;border-radius:3px}
.playground-bar.payroll{background:#bccdd9}
.playground-bar.other{background:#55768d}
.playground-chart-key{display:flex;flex-wrap:wrap;gap:14px;color:#9cb5c8;font-size:10px;margin:0 0 19px}
.playground-chart-key span{display:inline-flex;align-items:center;gap:5px}
.playground-chart-key i{display:block;width:8px;height:8px;border-radius:2px;background:#ef7b42}
.playground-chart-key .payroll{background:#bccdd9}
.playground-chart-key .other{background:#55768d}
.playground-table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums;margin-bottom:18px}
.playground-table th,.playground-table td{padding:9px 0;border-bottom:1px solid #294257;text-align:right;color:#d4e1eb}
.playground-table thead th{font-size:11px;color:#8faabc;font-weight:500}
.playground-table tbody th{font-weight:400;text-align:left;color:#abc2d4}
.playground-table .balance th,.playground-table .balance td{font-weight:650;color:#fff;border-bottom:0;padding-top:12px}
.playground-indicators{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:15px 0;border-top:1px solid #294257;border-bottom:1px solid #294257}
.playground-indicators span{display:block;font-size:11px;color:#9bb4c7;margin-bottom:6px}
.playground-indicators strong{display:block;font-size:23px;font-weight:650;letter-spacing:-.02em;color:#fff;overflow-wrap:anywhere}
.playground-indicators small{display:block;font-size:10px;color:#8fa8bb;line-height:1.5;margin-top:5px}
.playground-finding{font-size:14px;line-height:1.6;color:#d4e1eb;margin:20px 0 10px}
.playground-tradeoff{font-size:12px;line-height:1.6;color:#a0b8ca;margin:0}
.playground-invalid{padding:40px 30px;color:#ffd1b5;font-size:15px;line-height:1.6}
.playground-foot{padding:20px 34px 25px;border-top:1px solid #263e51}
.playground-foot-actions{display:flex;flex-wrap:wrap;gap:11px;align-items:center;margin-bottom:14px}
.playground-secondary{border:1px solid #48647b;background:transparent;color:#dbe7ef;border-radius:9px;padding:13px 18px;font:600 14px/1.3 Inter,Arial,sans-serif;min-height:47px;cursor:pointer}
.tnb-playground button:disabled{opacity:.45;cursor:not-allowed}
.playground-foot>p{font-size:11px;line-height:1.6;color:#8fa9bd;margin:6px 0}
.playground-status{min-height:18px!important;color:#ffcead!important;font-size:12px!important}
.playground-summary-box{margin:20px 0}
.playground-summary-box[hidden],.playground-results[hidden],.playground-invalid[hidden]{display:none}
.playground-summary-box label{font-size:13px;color:#d9e7f1;display:block;margin-bottom:7px}
.playground-summary-box textarea{width:100%;height:180px;padding:12px;border:1px solid #55758c;border-radius:7px;color:#fff;background:#0b243a;font:400 13px/1.6 Inter,Arial,sans-serif}
.playground-summary-box a{display:inline-block;margin-top:10px;color:#ffd1b5;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.playground-fallback{position:fixed;inset:24px;z-index:10000;box-shadow:0 0 0 100vmax rgba(0,11,24,.9)}
@media(max-width:760px){.tnb-playground{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.playground-head{padding:23px 21px 20px}.playground-head h2{font-size:28px}.playground-close{right:13px;top:13px}.playground-body{grid-template-columns:1fr}.playground-controls{border-right:0;border-bottom:1px solid #294257;padding:23px 21px}.playground-results{padding:23px 21px}.playground-foot{padding:20px 21px}.playground-presets button{font-size:12px}.playground-delta{font-size:44px}.xray-pin{width:40px;height:40px;font-size:12px}.xray-pin::after{content:"";position:absolute;inset:-2px;border-radius:50%}.xray-pin-label{font-size:11px}.xray-scene-note{bottom:1%}.playground-slider{margin-bottom:18px}}
@media(max-width:420px){.xray-pin{width:36px;height:36px;font-size:11px}.xray-pin::after{inset:-4px}.playground-baseline-grid{gap:12px 10px}.playground-table{font-size:12px}.playground-indicators{gap:12px}.playground-foot-actions .v94-button,.playground-secondary{width:100%}}
@media(prefers-reduced-motion:reduce){.xray-pin,.xray-pin-label,.playground-bar{transition:none}.tnb-playground::backdrop{backdrop-filter:none}}
