:root{--bg:#0b0f14;--ink:#e9eef9;--muted:#9bb0cf;--grid:#22304a;--head:#0e1524;--alt:#0f172a;--ok:#1f9d64;--warn:#c08a18;--danger:#b43b3b;--accent:#31b4ff;--card:#0c1424;--cardLine:#19253a}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font:13.5px/1.5 Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}.sheet-wrap{min-height:100%;display:flex;flex-direction:column;gap:14px;padding:14px}.compact .brand-title{font-weight:700;letter-spacing:.2px;font-size:16px}.compact .brand-sub{color:var(--muted);font-size:12px;margin-top:2px}.toolbar.wrap{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center}.brand{display:flex;align-items:center;gap:10px}.logo-dot{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#7cd0ff)}.params{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.param{display:flex;flex-direction:column;gap:4px;min-width:150px}.param-label{font-weight:600}.param-sub{color:var(--muted);font-size:11px;margin-top:-3px}.param-input-wrap{display:flex;align-items:center;gap:6px}.prefix{opacity:.7}.param-input{height:34px;background:#101a2b;border:1px solid #2b3c59;border-radius:8px;color:var(--ink);padding:0 10px;width:120px}.t-right{display:flex;align-items:center;gap:8px;justify-content:flex-end}.btn{background:#14243a;border:1px solid #2b3c59;color:#e8f0ff;border-radius:9px;padding:7px 12px;cursor:pointer;transition:.15s}.btn:hover{transform:translateY(-1px)}.btn.active{outline:2px solid var(--accent)}.btn.sm{padding:5px 9px}.btn.danger{background:#3a1520;border-color:#5a2330;color:#ffd2d2}.btn.file{position:relative;overflow:hidden}.btn.file input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.pill{padding:6px 10px;border-radius:999px;border:1px solid #30405e;background:#0f1a2b}.pill.ok{background:#0f1d17;border-color:#1f3b2e}.pill.warn{background:#241f10;border-color:#4b3c15}.view-toggle{display:flex;gap:6px}.sheet{border:1px solid #2b3c59;border-radius:10px;overflow:hidden;background:#0c1424}.table-responsive{overflow:auto}.grid{width:100%;border-collapse:separate;border-spacing:0;min-width:1100px;font-variant-numeric:tabular-nums}.grid thead th{position:sticky;top:0;z-index:1;background:var(--head);text-align:left;color:#cfe3ff;border-bottom:1px solid var(--grid);padding:8px 10px;font-weight:700}.th-label{font-size:12.5px}.th-sub{font-size:11px;color:var(--muted);margin-top:2px}.stuck{position:sticky;left:0;background:var(--head);z-index:2}.grid td,.grid th{border-right:1px solid var(--grid)}.grid td:last-child,.grid th:last-child{border-right:none}.grid tbody td{padding:0}.grid tbody tr{border-bottom:1px solid var(--grid)}.grid tbody tr.alt{background:var(--alt)}.grid tbody tr.row-danger{background:#281317}.grid .calc{color:#d9e7ff;padding:8px 10px}.cell{width:100%;height:36px;border:0;background:transparent;color:var(--ink);padding:0 10px;outline:none;border-right:1px solid transparent}.cell:focus{outline:2px solid #3f83f8;outline-offset:-2px;background:#0b1b30;border-radius:6px}.cell.num{text-align:right;font-feature-settings:"tnum" 1,"lnum" 1}.select-cell,.select-wrap{position:relative}.select-wrap:after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:#cfe3ff;opacity:.7;font-size:12px}select.cell.select{appearance:auto;-webkit-appearance:auto;-moz-appearance:auto;padding-right:24px;background-color:transparent;color:var(--ink);border:0;width:100%;height:36px}select.cell.select:focus{outline:2px solid #3f83f8;outline-offset:-2px;background:#0b1b30}.actions{padding:6px;display:flex;gap:6px;justify-content:center;align-items:center}.hint{color:var(--muted);text-align:center;margin:6px 0}.hi{color:#9ef0c5}@media (max-width: 1100px){.hide-md{display:none}.toolbar.wrap{grid-template-columns:1fr;gap:12px}}@media (max-width: 820px){.hide-sm{display:none}.grid{min-width:900px}.table-responsive{overflow-x:auto}}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}.card{background:var(--card);border:1px solid var(--cardLine);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.card-locked{border-color:#5a2330;box-shadow:inset 0 0 0 1px #5a2330}.card-head{display:flex;flex-direction:column;gap:8px}.row1{display:flex;gap:8px}.pill-select{height:32px;border-radius:999px;background:#0f1a2b;border:1px solid #2b3c59;color:#e8f0ff;padding:0 10px;flex:1}.card-title{height:36px;border-radius:8px;background:#101a2b;border:1px solid #2b3c59;color:#e8f0ff;padding:0 10px;width:100%}.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media (max-width:520px){.card-grid{grid-template-columns:1fr}}.field{display:flex;flex-direction:column;gap:4px;background:#0e1524;border:1px solid #1f2c44;border-radius:8px;padding:8px}.field-label{font-weight:600}.field-sub{font-size:11px;color:var(--muted);margin-top:-2px}.field-val{margin-top:2px}.coach{background:#0e1d2f;border:1px solid #20314d;border-radius:8px;padding:8px;color:#cfe3ff;font-size:12.5px}.card-actions{display:flex;justify-content:flex-end}
