:root{--sl-panel:#101a29;--sl-line:#2b4159;--sl-blue:#6dbbff;--sl-muted:#a6bed6}
.sl-shell{max-width:1560px;margin:0 auto;padding:85px 15px 65px;position:relative}
.sl-intro{margin-bottom:20px}.sl-intro h1{font-size:clamp(29px,4.7vw,49px);letter-spacing:-.047em;line-height:1.13;margin:4px 0 11px}.sl-intro p{max-width:840px;color:#bacbde;line-height:1.6}
.sl-kicker{font-size:11px;letter-spacing:.135em;text-transform:uppercase;color:var(--sl-blue);font-weight:900}.sl-beta{font-size:11px;vertical-align:middle;letter-spacing:.08em;border:1px solid #3978a7;padding:4px 7px;border-radius:7px;color:#8dd1ff}
.sl-layout{display:grid;grid-template-columns:minmax(190px,225px) minmax(0,1fr) minmax(225px,300px);gap:15px;align-items:start}
.sl-panel{min-width:0;background:linear-gradient(152deg,#142134,#0a1421);border:1px solid var(--sl-line);border-radius:18px;padding:16px;box-shadow:0 20px 55px rgba(0,0,0,.16)}
.sl-panel h2{margin:0 0 13px;font-size:16px;line-height:1.4}.sl-panel label{display:block;color:#aac4dc;margin:15px 0 5px;font-weight:750;font-size:12px}
.sl-panel select{width:100%;color:#f2f8ff;background:#16283b;border:1px solid #3a5570;border-radius:10px;padding:11px}
.sl-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0}.sl-buttons button:nth-child(1),.sl-buttons button:nth-child(4),.sl-buttons button:nth-child(5){grid-column:1/-1}
.sl-panel button:not(.sl-cell):not(.sl-goal button):not(.sl-timeline button):not(.sl-radar-items button):not(.sl-history button){padding:10px;border:1px solid #385876;border-radius:10px;color:#eaf7ff;background:#172c44;font-weight:750;cursor:pointer}
.sl-panel button:disabled{opacity:.4;cursor:not-allowed!important}
.sl-settings>button{display:block;width:100%;margin:8px 0}.sl-panel button.sl-primary{background:#215b88!important;border-color:#4ba7ee!important}
.sl-note{color:#adc2d5;font-size:12px;line-height:1.65}.sl-separator{height:1px;background:#2d4158;margin:19px 0}.sl-shortcuts{margin-top:15px}
.sl-shortcuts kbd{padding:2px 5px;border-radius:5px;border:1px solid #4a6074;background:#18273c}
.sl-head{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;align-items:center}.sl-head h2{font-size:22px;margin:3px 0 14px}.sl-live{white-space:nowrap;letter-spacing:.08em;color:#8fe2bd;font-size:10px;font-weight:900}
.sl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:15px}.sl-stats>div{border:1px solid #314a64;background:#101c2d;border-radius:10px;padding:10px 5px;text-align:center}.sl-stats small{display:block;font-size:9px;color:#a6bbd0}.sl-stats b{display:block;margin-top:4px;font-size:19px}
.sl-board-scroll{overflow-x:auto;padding:4px 0 12px}.sl-board-stage{display:flex;align-items:center;gap:6px;width:max-content;margin:0 auto}.sl-grid{display:grid;grid-template-columns:repeat(17,30px);gap:2px;padding:7px;background:#060d15;border-radius:12px;border:1px solid #354c66}
.sl-cell{padding:0;width:30px;height:30px;border:1px solid #344559;border-radius:5px;background:#162231;font-size:11px;color:#eff8ff;font-weight:850;position:relative}
.sl-cell.a{color:#78caff}.sl-cell.b{color:#c6b3ff}.sl-cell.neutral{color:#e2e5e8}.sl-cell.current{background:#ffc96a;color:#1b1202;border-color:#ffe1a8}
.sl-cell.head-a{background:#62bdff;color:#09213c}.sl-cell.head-b{background:#b39aff;color:#251349}
.sl-cell.legal{background:#8edeb1;color:#082519;border-color:#48bb84;cursor:pointer}
.sl-cell.danger{background:#eab78b;color:#321905;border-color:#e08a53;cursor:pointer}.sl-cell.win{background:#ffd25c;color:#34200a;border-color:#fff29c;cursor:pointer}
.sl-cell.legal:hover,.sl-cell.danger:hover,.sl-cell.win:hover{outline:2px solid white;z-index:2}
.sl-goal{display:flex;flex-direction:column;gap:2px}.sl-goal button{width:30px;height:30px;border:1px solid #536981;border-radius:5px;background:#18283a;color:#dbedff;font-size:13px}.sl-goal button.legal{background:#88d9a9;color:#072719;cursor:pointer}.sl-goal button.win{background:#ffd25c;color:#392505;cursor:pointer}.sl-goal button.danger{background:#edb080;color:#331a07;cursor:pointer}.sl-goal.hidden{visibility:hidden}
.sl-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:#b8c9d8}.sl-legend span{display:flex;gap:5px;align-items:center}.sl-dot{width:10px;height:10px;border-radius:3px;display:inline-block}.sl-legal{background:#8edeb1}.sl-danger{background:#eab78b}.sl-win{background:#ffd25c}
.sl-message{background:#111f32;border:1px solid #334f6a;border-radius:11px;padding:11px 14px;line-height:1.5;font-size:12px;color:#cfe6f6;min-height:44px}
.sl-timeline{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.sl-timeline button{cursor:pointer;border:1px solid #456281;padding:7px 9px;border-radius:8px;background:#142740;color:#d8ebfc;font-size:11px;font-weight:800}.sl-timeline button.active{background:#3682b7;color:white;border-color:#80ceff}
.sl-radar-summary{font-size:12px;color:#a9cae0;padding:10px;border:1px solid #34516d;border-radius:9px;margin-bottom:10px;line-height:1.55}
.sl-radar-items{display:grid;gap:7px;max-height:355px;overflow:auto}.sl-radar-items button{cursor:pointer;text-align:left;border-radius:9px;border:1px solid #2b4056;color:#dde9f5;background:#16283a;padding:9px;font-size:12px;line-height:1.5}.sl-radar-items button:hover{background:#1b3956}.sl-radar-items button strong{display:block;color:#fff0c4}
.sl-radar-items button span{display:block;color:#afc4d9;font-size:11px}
.sl-insight{padding:12px;background:#111e30;border:1px solid #304763;border-radius:10px;color:#c8d9ec;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.sl-history{max-height:245px;overflow:auto;display:grid;gap:5px}.sl-history button{text-align:left;cursor:pointer;background:#172638;border:1px solid #324a62;border-radius:8px;color:#d7eaf9;padding:9px;font-size:12px}.sl-history button.active{border-color:#80c9ff;background:#244c70}
@media(max-width:1320px){.sl-layout{grid-template-columns:minmax(190px,1fr) minmax(0,2.2fr)}.sl-coach{grid-column:1/-1}.sl-radar-items{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}
@media(max-width:840px){.sl-layout{grid-template-columns:1fr}.sl-settings,.sl-board-area,.sl-coach{grid-column:1}.sl-stats{grid-template-columns:repeat(2,1fr)}.sl-shell{padding-top:74px}.sl-grid{grid-template-columns:repeat(17,27px)}.sl-cell,.sl-goal button{width:27px;height:27px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.sl-shell *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Explainable Brilliant: verified candidate and guided example. */
.sl-inspect-brilliant,.sl-demo-brilliant{
 background:linear-gradient(125deg,#534212,#9c761e);color:#fff7d6;
 border:1px solid rgba(255,216,105,.56);border-radius:9px;
 padding:10px 12px;cursor:pointer;font-weight:800;margin:5px 3px;
}
.sl-demo-brilliant{background:#263448;border-color:#8798ae;color:#e9eff9}
.sl-cell.sl-brilliant{outline:3px solid #ffcd54;outline-offset:-2px;
 box-shadow:0 0 0 3px rgba(255,198,48,.22),inset 0 0 11px rgba(255,203,48,.30);
 color:#fff4ba!important}
