/* v2.7 O'qituvchi rejimi: rolga qarab yashirish, o'qituvchi guruhi belgisi, kartalar, «Sinfim», turnir, Erkin doska.
   Ranglar mavjud o'zgaruvchilardan (--ink, --ink-soft, --line, --ivory) — kechki mavzuda ham ishlaydi. */

/* ---------- rol: o'quvchida o'qituvchi bo'limi yo'q; o'qituvchida tanga/do'kon/vazifa/stiker yo'q ---------- */
.sn-teacher { display: none; }
html[data-role="teacher"] .sn-teacher { display: flex; }
html[data-role="teacher"] :is(#btn-nav-road, .pill-coin, .cab-coins, .hub-coin, .hub-quests-card, .hub-road, #ar-emo, #ar-emotes,
  #so-stkbtn, #so-stk, #so-gift, .end-coins, #cab-grand, .rd-coins) { display: none !important; }

/* o'qituvchida yon panelda bitta guruh ko'p — past ekranda pastki tugmalar ko'rinib tursin */
@media (max-height: 940px) {
  html[data-role="teacher"] .sn-item { padding: 8px 14px; }
  html[data-role="teacher"] .sn-group h6 { margin: 2px 14px 4px; }
  html[data-role="teacher"] .sn-group { padding-top: 2px; }
  html[data-role="teacher"] .sn-foot { gap: 6px; padding-top: 8px; }
}
@media (max-height: 860px) { html[data-role="teacher"] .sn-item { padding: 6px 14px; } }

/* ---------- o'qituvchi belgisi ---------- */
.t-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; background: linear-gradient(90deg, #ffe7a3, #ffd36b);
  color: #6b4a00; font-weight: 900; font-size: 11.5px; letter-spacing: .02em; }
.so-row.t-group { box-shadow: inset 4px 0 0 #f2b53a; }
.so-head.t-group { background: linear-gradient(90deg, rgba(255, 211, 107, .22), transparent 60%); }
.t-badge-big { display: inline-flex; flex-direction: column; gap: 2px; margin: 8px 0 4px; padding: 8px 14px; border-radius: 14px;
  background: linear-gradient(90deg, #ffe7a3, #ffd36b); color: #5a3e00; font-weight: 900; font-size: 15px; }
.t-badge-big small { color: #7a5a10 !important; font-weight: 800; font-size: 12px; }
.t-hb { min-width: 40px; padding-inline: 10px; }

/* ---------- chat kartalari (topshiriq, imtihon, turnir) ---------- */
.so-msg.card-msg { max-width: min(86%, 560px); }
.t-card { display: flex; flex-direction: column; gap: 6px; min-width: 240px; padding: 10px 12px; border-radius: 14px; background: var(--ivory, #fffdf6);
  box-shadow: inset 0 0 0 1.5px var(--line); }
.t-card.k-exam { box-shadow: inset 0 0 0 2px #8b5cf6; }
.t-card.k-tour { box-shadow: inset 0 0 0 2px #f2b53a; }
.t-card-h { display: flex; align-items: center; gap: 8px; }
.t-card-h b { font-size: 15.5px; color: var(--ink); flex: 1; overflow-wrap: anywhere; }
.t-ico { font-size: 20px; }
.t-req { padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 900; background: #eef1f8; color: var(--ink-soft); white-space: nowrap; }
.t-req.on, .t-req.st-run { background: #ffe1e5; color: #c62839; }
.t-req.st-wait { background: #e3f0ff; color: #2563c9; } .t-req.st-done { background: #e6f8ef; color: #14a876; }
.t-topics { font-weight: 800; font-size: 13px; color: var(--ink); }
.t-card-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 2px; }
.t-card-f .btn { padding: 7px 14px; font-size: 13.5px; }
.t-done { font-weight: 900; color: #14a876; }
.t-top { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 800; color: var(--ink); }

/* ---------- dialoglar ---------- */
dialog.t-wide { width: min(860px, 94vw); max-height: 92vh; overflow: auto; }
.t-picker { max-height: 260px; margin-top: 6px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.t-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 13px; color: var(--ink-soft); }
.t-seg { display: flex; flex-wrap: wrap; }
.t-seg button { flex: 1 1 auto; }
.t-pend { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow: auto; }
.t-acts { display: flex; gap: 10px; margin: 8px 0; }

/* ---------- jadvallar (turnir, hisobot) ---------- */
.t-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 12px; }
.t-table th { text-align: left; padding: 6px 8px; color: var(--ink-soft); font-weight: 900; font-size: 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.t-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; vertical-align: middle; }
.t-table tr.me td { background: rgba(255, 211, 107, .18); }
.t-table tr.new td { background: rgba(61, 139, 255, .08); }
.t-table tr.nd td { opacity: .7; }
.t-who { min-width: 140px; white-space: nowrap; }
.t-who > * { vertical-align: middle; }
.t-who > .avx { margin-right: 8px; }
.t-who .dot { display: inline-block; width: 8px; height: 8px; margin-left: 6px; }
.t-r { text-align: center; font-weight: 900; }
.t-r.w { color: #14a876; } .t-r.l { color: #d6334a; } .t-r.d { color: var(--ink-soft); }
.t-round { padding: 8px 0; border-top: 1px dashed var(--line); }
.t-round > b { display: block; margin-bottom: 4px; color: var(--ink); }
.t-pairing { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink); padding: 2px 0; }
.t-pairing em { font-style: normal; font-weight: 900; padding: 0 8px; color: var(--ink-soft); }
.t-bytopic span { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 7px; border-radius: 8px; background: #eef1f8; font-size: 11.5px; font-weight: 800; color: var(--ink-soft); }
.t-late { font-style: normal; color: #d6334a; font-weight: 900; font-size: 11.5px; }
.t-sum { display: flex; gap: 14px; font-weight: 900; color: var(--ink); margin: 6px 0; }
.t-report h2 { margin-top: 0; }

/* ---------- «Sinfim» ---------- */
.t-tabs { margin: 4px 0 14px; max-width: 520px; }
.t-body { display: flex; flex-direction: column; gap: 10px; }
.t-rep-row, .t-grp { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.t-grp { cursor: default; }
.t-rep-row:hover { transform: translateY(-1px); }
.t-rep-row.new { box-shadow: inset 4px 0 0 #3d8bff, var(--shadow-sm); }
.t-rep-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.t-rep-main b { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.t-rep-main small { color: var(--ink-soft); font-weight: 700; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-rep-bar { width: 120px; height: 8px; border-radius: 99px; background: #eef1f8; overflow: hidden; flex: none; }
.t-rep-bar i { display: block; height: 100%; background: linear-gradient(90deg, #22c07a, #14a876); }
.t-rep-n { display: flex; flex-direction: column; align-items: flex-end; font-weight: 900; color: var(--ink); white-space: nowrap; }
.t-rep-n small { color: var(--ink-soft); font-weight: 800; }
.t-card-wrap { padding: 8px; }

/* ---------- bosh sahifa: o'quvchiga ustoz topshiriqlari ---------- */
.t-home { margin: 0 0 16px; box-shadow: inset 0 0 0 2px #f2b53a, var(--shadow-sm); }
.t-home-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.t-home-h b { font-size: 16px; color: var(--ink); } .t-home-h small { color: var(--ink-soft); font-weight: 800; }
.t-home-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.t-home-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--ivory, #fffdf6);
  box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.t-home-item.req { box-shadow: inset 0 0 0 2px #ff8a9a; }
.t-home-item em { font-style: normal; font-size: 11.5px; font-weight: 900; color: var(--ink-soft); }
.t-home-item i { font-style: normal; font-weight: 900; color: #3d6bff; }

/* ---------- turnir juftligi xabari ---------- */
.t-pop { top: 20px; bottom: auto; grid-template-columns: auto 1fr; box-shadow: 0 0 0 3px #f2b53a, var(--shadow); }   /* yutuq xabarlari bilan to'qnashmasin */
.t-pop small { grid-column: 1 / -1; }

/* ---------- Erkin doska ---------- */
.fb-page { max-width: none; }
.fb-wrap { position: relative; display: grid; grid-template-columns: 210px 1fr 250px; gap: 16px; align-items: start; }
.fb-panel { position: relative; z-index: 3; margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.fb-panel h4 { margin: 2px 0; color: var(--ink); }
.fb-pal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fb-pal small { grid-column: 1 / -1; font-weight: 900; color: var(--ink-soft); font-size: 12px; }
.fb-pc { aspect-ratio: 1; border: 0; border-radius: 12px; background: #eef1f8; padding: 4px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.fb-pc img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; pointer-events: none; }
.fb-pc.on { background: #ffe7a3; box-shadow: inset 0 0 0 3px #f2b53a; }
.fb-tools, .fb-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fb-tools .btn, .fb-acts .btn { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 8px 6px; font-size: 12.5px; }
.fb-tool.on { background: #ffe7a3; box-shadow: inset 0 0 0 2px #f2b53a; }
.fb-count { margin: 0; font-weight: 900; color: var(--ink); font-size: 13px; }
.fb-tip, .fb-hint { margin: 0; font-size: 12px; line-height: 1.35; }
.fb-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fb-switch b { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.fb-pens { display: flex; }
.fb-pens button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.fb-pens button.on { background: #ffe7a3; color: #5a3e00; }
.fb-inks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fb-ink { aspect-ratio: 1; border: 3px solid transparent; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1.5px var(--line); }
.fb-ink.on { border-color: #fff; box-shadow: 0 0 0 3px var(--c); }
.fb-width { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 13px; color: var(--ink-soft); }
.fb-clear { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: #ffe1e5; color: #c62839; }
.fb-stage { position: relative; z-index: 1; display: flex; justify-content: center; }
.fb-board { --size: min(calc(100vh - 170px), calc(100vw - var(--nav-w) - 560px)); width: var(--size); }
.fb-wrap.placing .fb-board .board { cursor: copy; }
.fb-ink-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; touch-action: none; }
.fb-ink-layer.on { pointer-events: auto; cursor: crosshair; }
@media (max-width: 1180px) {
  .fb-wrap { grid-template-columns: 1fr; }
  .fb-board { --size: min(calc(100vh - 170px), calc(100vw - var(--nav-w) - 60px)); }
  .fb-panel { flex-direction: row; flex-wrap: wrap; }
  .fb-pal { grid-template-columns: repeat(6, 44px); }
}

/* ---------- kechki mavzu ---------- */
html[data-mode="dark"] :is(.t-req, .t-bytopic span, .t-rep-bar, .fb-pc) { background: #252a52; }
html[data-mode="dark"] .t-table tr.me td { background: rgba(242, 181, 58, .14); }
html[data-mode="dark"] .fb-pc.on, html[data-mode="dark"] .fb-tool.on, html[data-mode="dark"] .fb-pens button.on { background: #5a4710; color: #ffe7a3; }
html[data-mode="dark"] .fb-clear { background: #4a1f2a; color: #ffb3bd; }

/* ---------- chop etish (hisobot dialogi) ---------- */
@media print {
  body.print-dialog > *:not(#online-dialog) { display: none !important; }
  body.print-dialog #online-dialog { position: static; width: auto; max-height: none; box-shadow: none; }
  body.print-dialog #online-dialog .dialog-actions { display: none; }
}
html[data-mode="dark"] .fb-ink { box-shadow: 0 0 0 1.5px #5a62a8; }

/* ---------- v2.8: jonli doska, masala, sharaf taxtasi, chempion ramkasi, ota-onaga hisobot ---------- */
.fb-grp { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-weight: 700; }
.fb-air.on { background: #ffe1e5; color: #c62839; }
.fb-air, #fb-pz { display: flex; align-items: center; justify-content: center; gap: 8px; }
.fb-airmsg { margin: 0; font-size: 12.5px; font-weight: 800; color: #c62839; }
.fb-airmsg::before { content: "● "; animation: lv-blink 1.2s infinite; }
.pz-sol { font-weight: 800; color: var(--ink); min-height: 1.4em; }
.lv-wrap { grid-template-columns: 1fr; }
.lv-wrap .fb-board { --size: min(calc(100vh - 170px), calc(100vw - var(--nav-w) - 120px)); }
.lv-msg { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 4; padding: 14px 22px; border-radius: 12px;
  background: var(--card, #fff); box-shadow: var(--shadow); font-weight: 800; color: var(--ink); }
.lv-dot { margin-left: auto; align-self: center; padding: 4px 12px; border-radius: 99px; background: #e5384d; color: #fff; font-weight: 900; font-size: 13px; animation: lv-blink 1.6s infinite; }
.lv-dot.off { background: #9aa3b2; animation: none; }
@keyframes lv-blink { 50% { opacity: .55; } }
.t-honors { display: flex; flex-direction: column; gap: 10px; }
.t-hon { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.t-hon-h { display: flex; flex-direction: column; }
.t-hon-top { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.t-hon-p { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.t-hon-p em { font-style: normal; color: var(--ink-soft); }
.t-st-bar { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-soft); }
.t-st-bar .seg { width: 220px; }
.fr-chempion::before { background: conic-gradient(#ffd700, #fff3b0, #e0a800, #ffd700, #fff3b0, #e0a800, #ffd700); animation: fr-spin 4s linear infinite;
  box-shadow: 0 0 0 2px #7a5200, 0 0 18px rgba(255, 196, 0, .75); }
.pr-sheet { color: #111827; background: #fff; padding: 8px 4px; font-family: "Inter", "Nunito", sans-serif; }
.pr-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 2px solid #111827; padding-bottom: 10px; }
.pr-head small { display: block; color: #5b6475; font-weight: 600; }
.pr-head h2 { margin: 0; font-size: 20px; }
.pr-logo { width: 40px; height: 40px; border-radius: 8px; background: #2f6fde; color: #fff; display: grid; place-items: center; font: 700 22px/1 "Inter", sans-serif; }
.pr-meta { width: 100%; margin: 12px 0; border-collapse: collapse; font-size: 14px; }
.pr-meta th { text-align: left; color: #5b6475; font-weight: 600; padding: 4px 8px 4px 0; width: 1%; white-space: nowrap; }
.pr-meta td { padding: 4px 18px 4px 0; font-weight: 700; }
.pr-sheet h3 { font-size: 15px; margin: 14px 0 6px; }
.pr-list { margin: 0; padding-left: 20px; line-height: 1.7; font-weight: 600; }
.pr-advice { margin: 10px 0; padding: 10px 14px; border-left: 4px solid #2f6fde; background: #eef4fe; font-weight: 700; }
.pr-note { width: 100%; box-sizing: border-box; font: inherit; border: 1px solid #cbd2dc; border-radius: 8px; padding: 8px; }
.pr-sign { display: flex; justify-content: space-between; margin-top: 26px; font-weight: 600; color: #374151; }
html[data-mode="dark"] .pr-sheet { color: #111827; }
@media print { body.print-dialog .pr-note { border: 0; } }
dialog h2 > .ico-l { display: inline-block; vertical-align: -3px; }
.pr-list .t-late { font-size: inherit; }

/* ---------- dastur egasi: ikki rejimni almashtirgich (yon panel) ---------- */
.sn-viewas { display: none; margin-bottom: 4px; background: rgba(255, 255, 255, .08); }
html.is-owner .sn-viewas { display: flex; }
.sn-viewas button { color: #c7cdd8; font-size: 12.5px; padding: 6px 4px; }
.sn-viewas button.on { background: #fff; color: #1d2142; }
@media (max-width: 1180px) { html.is-owner .sn-viewas { flex-direction: column; } }

/* ---------- v2.9: botlar, murabbiy, ko'z mashqi ---------- */
#play-level .bot-pick { position: relative; padding: 3px; }
#play-level .bot-pick img { width: 34px; height: 34px; display: block; margin: 0 auto; border-radius: 50%; }
#play-level .bot-pick i { position: absolute; right: 2px; bottom: 0; font-style: normal; font-size: 11px; font-weight: 900; color: var(--ink-soft); }
.coach-row { margin-top: 6px; font-weight: 800; }
.coach-box { margin: 8px 0; padding: 12px 14px; box-shadow: inset 0 0 0 2px #ff8a3d, var(--shadow-sm); }
.coach-box p { margin: 0 0 4px; font-weight: 800; color: var(--ink); }
.coach-box div { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.vs-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.vs-stage { display: flex; justify-content: center; }
.vs-board { --size: min(calc(100vh - 170px), calc(100vw - var(--nav-w) - 420px)); width: var(--size); }
.vs-side { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.vs-q { min-height: 74px; display: flex; flex-direction: column; justify-content: center; }
.vs-q small { color: var(--ink-soft); font-weight: 800; }
.vs-q b { font: 800 46px/1.1 var(--display); color: var(--ink); }
.vs-q b.vs-done { font-size: 18px; }
.vs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-opts .btn { font-size: 20px; font-weight: 900; justify-content: center; }
.vs-stat { display: flex; justify-content: space-between; font-size: 18px; color: var(--ink); }
.vs-nocoords .edge { visibility: hidden; }
@media (max-width: 1180px) { .vs-wrap { grid-template-columns: 1fr; } .vs-board { --size: min(calc(100vh - 380px), calc(100vw - var(--nav-w) - 60px)); } }
.fb-imp summary { cursor: pointer; color: var(--ink); }
.fb-imp textarea { width: 100%; box-sizing: border-box; margin: 6px 0; font: 12px/1.35 ui-monospace, Consolas, monospace; border-radius: 8px; border: 1px solid var(--line); padding: 6px; resize: vertical; }
.fb-gnav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.fb-gnav .btn { padding: 6px 0; justify-content: center; }
.fb-game small { display: block; margin-top: 4px; font-weight: 800; color: var(--ink); }
.w-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.w-wrap .fb-board { --size: min(calc(100vh - 170px), calc(100vw - var(--nav-w) - 420px)); }
.w-side { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.w-pl { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.w-pl .avx { grid-row: span 2; }
.w-pl small { color: var(--ink-soft); font-weight: 700; }
.w-pl .w-clock { grid-row: 1 / span 2; grid-column: 3; font: 700 20px/1 var(--display); color: var(--ink); }
.w-side .ar-moves { max-height: 340px; overflow: auto; }
.w-res { margin: 0; font-weight: 800; color: var(--ink); }

/* ---------- v2.9: bellashuv, maqsad, reyting, dars rejasi, chempionat ---------- */
.du-lobby { max-width: 560px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px; }
.du-ico { font-size: 54px; }
.du-final { font: 800 34px/1 var(--display); color: var(--ink); margin: 0; }
.du-spin { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--line); border-top-color: #3d8bff; animation: fr-spin 1s linear infinite; }
.du-game { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.du-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: min(760px, 100%); margin: 0; }
.du-pl { display: flex; align-items: center; gap: 10px; }
.du-pl:last-child { flex-direction: row-reverse; text-align: right; }
.du-pl span { display: flex; flex-direction: column; }
.du-pl small { color: var(--ink-soft); font-weight: 700; }
.du-mid { display: flex; flex-direction: column; align-items: center; }
.du-mid b { font: 800 28px/1 var(--display); color: var(--ink); }
.du-mid span { font: 800 22px/1.2 var(--display); color: #3d8bff; }
.du-board { --size: min(calc(100vh - 280px), calc(100vw - var(--nav-w) - 80px)); width: var(--size); }
.du-msg { font-weight: 800; color: var(--ink); margin: 0; min-height: 1.4em; }
.du-msg .ok { color: #14a876; } .du-msg .bad { color: #d6334a; }
.g-head { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 8px; }
.g-bar { display: inline-block; width: 80px; height: 7px; border-radius: 99px; background: #eef1f8; overflow: hidden; vertical-align: middle; margin-left: 6px; }
.g-bar i { display: block; height: 100%; background: #22c07a; }
.t-sort { border: 0; background: none; font: inherit; font-weight: 900; color: var(--ink-soft); cursor: pointer; padding: 0; }
.t-sort.on { color: #3d6bff; text-decoration: underline; }
.t-sorted { font-weight: 900; }
.pl-card { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-card.done { opacity: .75; }
.pl-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-h b { font-size: 16px; color: var(--ink); }
.pl-goal { margin: 0; font-weight: 700; color: var(--ink); }
.pl-steps { margin: 0; padding-left: 20px; color: var(--ink); font-weight: 600; }
#class-host textarea, #online-dialog textarea { width: 100%; box-sizing: border-box; font: inherit; border-radius: 10px; border: 1.5px solid var(--line); padding: 8px; }
.ch-card { max-width: 1176px; margin: 0 auto 16px; display: flex; align-items: center; gap: 14px; box-shadow: inset 0 0 0 2px #f2b53a, var(--shadow-sm); }
.ch-ico { font-size: 30px; }
.t-home-goal { margin-top: 8px; font-weight: 700; color: var(--ink); }
.t-home-goal.done { color: #14a876; }
.ch-card { width: calc(100% - 64px); box-sizing: border-box; }
.t-tabs { max-width: none; }
.t-tabs button { white-space: nowrap; padding-inline: 14px; }
@media (max-width: 1180px) { .ch-card { width: calc(100% - 32px); } .t-tabs { overflow-x: auto; } }
