/* листы */
.scrim{position:fixed;inset:0;background:rgba(3,6,12,.62);display:flex;align-items:flex-end;justify-content:center;z-index:50;animation:fade .2s ease-out}
@keyframes fade{from{opacity:0}}
.sheet{background:var(--surface);width:min(720px,100%);max-height:90dvh;overflow:auto;border-radius:20px 20px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  border:1px solid var(--line);animation:up .26s cubic-bezier(.2,.8,.2,1)}
@media (min-width:900px) and (min-height:600px){.scrim{align-items:center}.sheet{border-radius:20px}}
@keyframes up{from{transform:translateY(30px);opacity:.4}}
.sh-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sh-head h2{margin:0;font-size:20px;flex:1}
.sh-head.sticky{position:sticky;top:-18px;z-index:5;background:var(--surface);margin:-18px -18px 14px;padding:14px 18px 12px;border-bottom:1px solid var(--line)}
.sh-head .nexttop{width:auto;min-height:44px;padding:0 18px;font-size:15px;flex:none;white-space:nowrap}
.sh-head.sticky h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:420px){.sh-head.sticky .coach-ic{display:none}.sh-head.sticky h2{font-size:17px}.sh-head .nexttop{padding:0 14px;font-size:14.5px}}
.x{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface2);display:grid;place-items:center}
.x svg{width:18px;height:18px}
.coach-ic{width:42px;height:42px;border-radius:12px;background:#1E3A2B;display:grid;place-items:center;color:var(--good);flex:none}
.coach-ic svg{width:24px;height:24px}
.summary{display:flex;gap:12px;align-items:stretch;margin-bottom:14px;flex-wrap:wrap}
.score{flex:1;min-width:150px;background:var(--surface2);border-radius:var(--radius);padding:12px 14px}
.score .big{font-size:30px;font-weight:800;line-height:1.1}
.score .lbl{font-size:13px;color:var(--muted)}
.result{flex:1.4;min-width:200px;background:var(--surface2);border-radius:var(--radius);padding:12px 14px;font-size:14.5px}
.result .net{font-size:20px;font-weight:750}
.pos{color:var(--good)}.neg{color:var(--bad)}
.dec{background:var(--surface2);border-radius:var(--radius);padding:12px 14px;margin-bottom:10px;border-left:4px solid var(--ok)}
.dec.v-good{border-left-color:var(--good)}.dec.v-ok{border-left-color:var(--ok)}.dec.v-warn{border-left-color:var(--warn)}.dec.v-bad{border-left-color:var(--bad)}
.dec-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.street{font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--muted);text-transform:uppercase}
.verdict{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px}
.verdict svg{width:14px;height:14px}
.vg{background:rgba(34,197,94,.16);color:#6EE7A0}.vo{background:rgba(96,165,250,.16);color:#9CC6FF}
.vw{background:rgba(245,158,11,.16);color:#FBC56A}.vb{background:rgba(240,82,82,.16);color:#FF9A9A}
.mini{display:flex;gap:4px;align-items:center;margin:4px 0 8px;flex-wrap:wrap;--cw:24px}
.mini .sep{color:var(--dim);margin:0 4px;font-size:13px}
.dec h3{margin:0 0 4px;font-size:16px}
.dec p{margin:0 0 6px;font-size:14.5px;color:#D5DDE8}
.dec .better{font-size:14px;color:var(--text);background:rgba(255,255,255,.05);border-radius:10px;padding:8px 10px;margin-top:6px}
.dec .you{font-size:13.5px;color:var(--muted);margin-bottom:6px}
.empty{color:var(--muted);font-size:14.5px;padding:12px 0}
details.log{margin:8px 0 14px;background:var(--surface2);border-radius:var(--radius);padding:10px 14px}
details.log summary{cursor:pointer;font-weight:650;font-size:14.5px;min-height:28px}
details.log ol{margin:8px 0 0;padding-left:20px;font-size:13.5px;color:#C8D2E0}
.shown{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.shown .row{display:flex;align-items:center;gap:8px;font-size:14px;--cw:26px;background:var(--surface2);border-radius:12px;padding:6px 10px}
.shown .row .nm{min-width:84px;font-weight:650}
.outc{background:var(--surface2);border-radius:var(--radius);padding:12px 14px;margin-bottom:14px}
.outc .shown .row{flex-direction:column;align-items:stretch;background:rgba(0,0,0,.18);gap:6px}
.outc .row.wrow{box-shadow:inset 0 0 0 1.5px rgba(34,197,94,.55)}
.rhead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rhead .hn{font-size:13.5px;color:#C6D2E1}
.wtag{font-size:12px;font-weight:700;color:#6EE7A0;background:rgba(34,197,94,.16);padding:1px 8px;border-radius:99px}
.rcards{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
.rcards .sep{color:var(--dim);font-size:12.5px;margin:0 4px}
.outc .ct{font-size:14.5px;color:#D5DDE8;margin:8px 0 0;line-height:1.5}
.primary{width:100%;min-height:54px;border-radius:14px;border:0;background:linear-gradient(180deg,var(--gold2),var(--gold));color:#1D1405;font-weight:750;font-size:16.5px}
.ghost{min-height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;padding:0 14px;color:var(--muted);font-size:14px}

