/* student.studytokyo.uz — talaba kabineti (brend: qizil #D10000, qora #161616, oq) */
:root { --p:#D10000; --p-dark:#A80000; --ink:#161616; --muted:#6E6A66; --line:#ECE9E6; --bg:#F7F5F2; --card:#fff;
        --ok:#1E8E5A; --soft-ok:#E6F4EC; --warn:#A86400; --soft-warn:#FFF3DC; --bad:#B3261E; --soft-bad:#FBE9E7; --soft:#F1EFEC;
        --font:"Nunito Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
html,body { margin:0; }
body { font:15px/1.5 var(--font); background:var(--bg); color:var(--ink); }
a { color:var(--p); }
.top { background:#fff; border-bottom:3px solid var(--p); position:sticky; top:0; z-index:5; }
.top .in { max-width:980px; margin:0 auto; display:flex; align-items:center; gap:12px; padding:10px 16px; }
.top img { height:34px; display:block; }
.top .who { margin-left:auto; text-align:right; font-size:12px; line-height:1.25; }
.top .who b { display:block; font-size:13px; }
.top form button { border:1px solid var(--line); background:#fff; border-radius:8px; height:34px; padding:0 10px; cursor:pointer; font:600 12px var(--font); color:var(--muted); }
nav.tabs { background:#fff; border-bottom:1px solid var(--line); }
nav.tabs .in { max-width:980px; margin:0 auto; display:flex; gap:4px; padding:0 10px; overflow-x:auto; }
nav.tabs a { white-space:nowrap; padding:12px 10px; font-weight:700; font-size:14px; color:var(--muted); text-decoration:none; border-bottom:3px solid transparent; margin-bottom:-1px; }
nav.tabs a.on { color:var(--ink); border-bottom-color:var(--p); }
main { max-width:980px; margin:0 auto; padding:18px 16px 40px; display:flex; flex-direction:column; gap:14px; }
h1 { font-size:24px; margin:4px 0 0; line-height:1.2; }
.sub { color:var(--muted); font-size:13px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px; }
.ct { margin:0 0 10px; font-size:12px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:var(--ink); }
.ct::before { content:""; display:inline-block; width:4px; height:11px; background:var(--p); margin-right:7px; vertical-align:-1px; }
.grid { display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.big { font-size:30px; font-weight:800; line-height:1.1; }
.unit { font-size:15px; color:var(--muted); font-weight:600; }
.bar { height:8px; background:var(--soft); border-radius:6px; overflow:hidden; margin-top:8px; }
.bar i { display:block; height:100%; background:var(--p); border-radius:6px; }
.bar.ok i { background:var(--ok); }
.lst { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-top:1px solid var(--line); align-items:center; flex-wrap:wrap; }
.lst:first-of-type { border-top:0; }
.badge { display:inline-block; padding:2px 9px; border-radius:999px; font-size:12px; font-weight:700; background:var(--soft); color:#4A4540; white-space:nowrap; }
.badge.ok { background:var(--soft-ok); color:var(--ok); } .badge.wn { background:var(--soft-warn); color:var(--warn); }
.badge.bad { background:var(--soft-bad); color:var(--bad); } .badge.p { background:#FCECEC; color:var(--p); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 18px; border-radius:10px;
       background:var(--p); color:#fff; font:700 15px var(--font); text-decoration:none; border:0; cursor:pointer; }
.btn:hover { background:var(--p-dark); color:#fff; }
.btn.ghost { background:#fff; color:var(--ink); border:1px solid var(--line); }
.steps { display:flex; flex-direction:column; gap:0; }
.step { display:flex; gap:12px; align-items:flex-start; padding:8px 0; }
.step b { width:22px; height:22px; border-radius:50%; border:2px solid #DEDAD5; flex:none; display:flex; align-items:center; justify-content:center; font-size:12px; color:#fff; }
.step.done b { background:var(--ok); border-color:var(--ok); }
.step.now b { border-color:var(--p); box-shadow:0 0 0 3px #FCECEC; }
.step.now { font-weight:800; }
.step.later { color:var(--muted); }
.muted { color:var(--muted); } .small { font-size:13px; }
.vlist a.v { display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit; padding:10px 0; border-top:1px solid var(--line); }
.vlist a.v:first-child { border-top:0; }
.vlist .num { width:40px; height:40px; border-radius:10px; background:var(--soft); display:flex; align-items:center; justify-content:center; font-weight:800; flex:none; }
.vlist .v.done .num { background:var(--soft-ok); color:var(--ok); }
.vlist .v.now .num { background:var(--p); color:#fff; }
.vlist .v.off { opacity:.5; pointer-events:none; }
.vlist .body { flex:1; min-width:0; }
.player { position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:10px; overflow:hidden; }
.player > div, .player iframe { position:absolute; inset:0; width:100%; height:100%; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); padding:8px 6px; border-bottom:1px solid var(--line); }
td { padding:9px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
.tw { overflow-x:auto; }
.r { text-align:right; }
.hero { text-align:center; padding:40px 18px; }
.hero img.emb { width:120px; height:auto; }
.hero .btn { width:100%; max-width:340px; height:52px; font-size:16px; }
.tg { background:#229ED9; } .tg:hover { background:#1A8BC2; }
.flash { padding:10px 14px; border-radius:8px; background:var(--soft-bad); color:var(--bad); font-weight:600; }
@media (max-width:600px) { h1 { font-size:20px; } .big { font-size:26px; } .top .who span { display:none; } }
