/* education.css — ta'lim (guruhlar, guruh ichi, o'qituvchilar, kurslar, xonalar, bayramlar, dars jadvali) sahifalari.
   Bu fayl base.html orqali HAMMA sahifaga ulanadi — shuning uchun barcha klasslar "ed-" prefiksli yoki .ed-* ichida. */

/* ---------- umumiy (forma, xatolar) ---------- */
.form-errors { border:1px solid color-mix(in srgb,var(--red) 40%,transparent); background:color-mix(in srgb,var(--red) 10%,transparent);
  color:var(--red); border-radius:4px; padding:10px 12px; margin-bottom:14px; font-size:12.8px; }
.form-errors div + div { margin-top:4px; }
.ed-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; grid-column:1/-1; }
dialog.drawer .field ul { list-style:none; padding:0; margin:0; }
dialog.drawer .chips .chip { font-size:12px; padding:4px 10px; }
.dropdown .menu button.neg, .dropdown .menu a.neg, .dropdown .menu .neg .ti { color:var(--red); }
.ed-clamp { max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- Guruhlar ro'yxati (05-guruhlar) ---------- */
.ed-groups .page-head { margin-bottom:8px; }
.ed-filters { margin-bottom:0; gap:6px 4px; }
.ed-filters > select { width:180px !important; min-width:0 !important; }
.ed-date { position:relative; display:inline-flex; align-items:center; width:180px; }
.ed-date .ti { position:absolute; left:10px; font-size:14px; color:var(--text); pointer-events:none; }
.filters .ed-date input { width:100% !important; min-width:0 !important; padding-left:30px !important; }
.ed-date input[type=date]::-webkit-calendar-picker-indicator { filter:invert(.7); }
.ed-clear { width:46px; height:28px; display:inline-grid; place-items:center; background:var(--panel2); border:1px solid var(--input-border);
  border-radius:4px; color:var(--text); font-size:14px; }
.ed-clear:hover { color:var(--accent); border-color:var(--accent); }
.ed-more { display:flex; gap:6px; align-items:center; flex-basis:100%; margin-top:4px; }
.ed-more[hidden] { display:none; }
.ed-tools { display:flex; justify-content:flex-end; gap:8px; margin:12px 0 4px; }
.ed-tools .btn-sm { padding:6px 12px; font-size:12px; font-weight:600; }
.ed-cols { min-width:220px; }
.ed-cols .menu-item { cursor:pointer !important; }
.ed-groups > .table-wrap { overflow:visible; }
.ed-gtable tbody td { height:58px; padding:8px 10px; }
.ed-gtable th { padding:12px 10px; }
.ed-gname { white-space:nowrap; }
.ed-gname .rownum { margin-right:6px; }
.ed-gname a { color:var(--text); }
.ed-gname a:hover { color:var(--accent); }
.ed-2l { line-height:1.45; font-size:12.2px; }
.ed-gtable tbody tr.is-hl td { background:#f6b80f; color:#1c2330; box-shadow:none; }
.ed-gtable tbody tr.is-hl td a, .ed-gtable tbody tr.is-hl .rownum { color:#1c2330; }
.ed-gtable tbody tr.is-hl .kebab { color:#7a4a00; }
.ed-gtable tbody tr.is-hl:hover td { background:#ffc21f; }
.ed-gtable tbody tr.is-closed td { opacity:.75; }
.ed-gtable .dropdown .menu { min-width:180px; }
[data-cols-hidden~="course"] [data-col="course"], [data-cols-hidden~="teacher"] [data-col="teacher"],
[data-cols-hidden~="days"] [data-col="days"], [data-cols-hidden~="dates"] [data-col="dates"],
[data-cols-hidden~="elapsed"] [data-col="elapsed"], [data-cols-hidden~="room"] [data-col="room"],
[data-cols-hidden~="tags"] [data-col="tags"], [data-cols-hidden~="students"] [data-col="students"] { display:none; }

/* ---------- Guruh ichi (32-guruh-ichi-katta) ---------- */
.ed-gd-head h1 { font-size:28px; font-weight:500; line-height:1.25; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ed-gd-head h1 .badge { font-size:11px; }
.ed-dot { margin:0 2px; }
.ed-coin-switch { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin:6px 0 10px; font-size:12.8px; }
.ed-coin-switch .on-l { color:var(--blue); }
.ed-coin-switch .off-l { color:var(--muted); opacity:.45; }
.ed-gd.hide-coins .ed-coin-switch .on-l { color:var(--muted); opacity:.45; }
.ed-gd.hide-coins .ed-coin-switch .off-l { color:var(--blue); opacity:1; }
.ed-switch { position:relative; width:40px; height:20px; display:inline-block; cursor:pointer; }
.ed-switch input { position:absolute; opacity:0; width:0; height:0; }
.ed-switch span { position:absolute; inset:0; border-radius:20px; background:#3a4250; transition:background .15s; }
.ed-switch span::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .15s; }
.ed-switch input:checked + span { background:#3a4250; }
.ed-switch input:checked + span::after { transform:translateX(20px); }
.ed-switch input:not(:checked) + span::after { transform:none; }

.ed-gd-grid { display:grid; grid-template-columns:390px minmax(0,1fr); gap:32px; align-items:start; }
@media (max-width:1100px) { .ed-gd-grid { grid-template-columns:1fr; } }
.ed-gd-card { background:var(--panel); border-radius:2px; box-shadow:var(--shadow-card); padding:26px 26px 18px; }
.ed-info { display:flex; gap:12px; align-items:flex-start; padding-bottom:34px; }
.ed-kv { flex:1; min-width:0; font-size:12.2px; line-height:1.6; }
.ed-kv b { font-weight:700; }
.ed-kv a { color:var(--text); }
.ed-kv a[href]:hover { color:var(--accent); }
.ed-kv .ed-gap { margin-top:6px; }
.ed-kv .tag { font-size:8.5px; padding:1px 4px; }
.ed-tags { display:flex; gap:4px; flex-wrap:wrap; margin-top:6px; }
.ed-iconcol { display:flex; flex-direction:column; gap:9px; align-items:center; flex:none; margin-top:-6px; }
.ed-iconcol form { margin:0; }
.ed-ib { width:32px; height:32px; border-radius:50%; background:transparent; border:1px solid currentColor; display:inline-grid; place-items:center;
  font-size:15px; cursor:pointer; padding:0; font-family:inherit; }
.ed-ib:hover { background:color-mix(in srgb,currentColor 14%,transparent); }
.ed-ib.c-accent { color:var(--accent); } .ed-ib.c-red { color:var(--red); } .ed-ib.c-yellow { color:#f5c518; }
.ed-ib.c-green { color:var(--green); } .ed-ib.c-muted { color:var(--text); background:var(--panel2); border-color:var(--panel2); }

.ed-stbox { border-top:1px solid var(--line); padding-top:22px; margin:0 -4px; }
.ed-sort { margin-bottom:14px; height:35px; }
.ed-stlist { list-style:none; margin:0; padding:0; counter-reset:st; }
.ed-stlist li { counter-increment:st; display:flex; align-items:center; gap:6px; min-height:29px; font-size:12.5px; }
.ed-stlist li::before { content:counter(st) "."; color:var(--rownum); font-size:10.24px; width:20px; flex:none; }
.ed-stlist li.is-left { opacity:.55; }
.ed-stlist li.ed-empty { counter-increment:none; color:var(--muted); padding:14px 0; justify-content:center; }
.ed-stlist li.ed-empty::before { content:none; }
.ed-sname { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text); font-weight:500; }
a.ed-sname[href]:hover { color:var(--accent); }
.ed-stlist .phone { font-size:11px; width:100px; flex:none; }
.ed-stlist .kebab { width:24px; height:24px; font-size:18px; }
.ed-kebab-ph { width:24px; flex:none; }
.ed-sdot { width:6px; height:6px; border-radius:50%; flex:none; background:var(--red); }
.ed-sdot.green { background:var(--green); }
.ed-stag { font-size:9px; font-weight:700; padding:1px 5px; border-radius:4px; background:var(--panel2); color:var(--muted); flex:none; }
.ed-stag.trial { color:var(--yellow); } .ed-stag.frozen { color:var(--blue); } .ed-stag.left { color:var(--red); }
.ed-stfoot { display:flex; justify-content:flex-end; margin-top:12px; }
.ed-pill-red { background:#b84a46; color:#fff; border-radius:20px; padding:6px 17px; font-size:12px; font-weight:600; }
.ed-pill-red:hover { filter:brightness(1.1); }
.ed-stfoot2 { display:flex; justify-content:flex-end; margin-top:10px; }
.ed-stfoot2 .ed-ib { width:30px; height:30px; }

.ed-note { position:relative; margin-top:32px; background:var(--panel2); border-left:5px solid var(--blue); border-radius:2px; padding:14px 60px 14px 16px;
  min-height:56px; box-shadow:var(--shadow-card); }
.ed-note-t { font-size:13px; color:var(--muted); }
.ed-note-b { font-size:12.5px; margin-top:6px; }
.ed-note-btn { position:absolute; right:14px; top:12px; width:32px; height:32px; border-radius:50%; border:0; background:#f3f3f3; color:#1c2330;
  display:grid; place-items:center; cursor:pointer; font-size:14px; }

/* o'ng: tablar + panel */
.ed-gd-right { background:var(--panel); box-shadow:var(--shadow-card); border-radius:2px; min-width:0; }
.ed-tabs { display:flex; gap:0; overflow-x:auto; padding:0 0; background:var(--panel); scrollbar-width:thin; }
.ed-tabs a { padding:13px 16px 11px; font-size:12.3px; font-weight:600; white-space:nowrap; color:var(--text); border-bottom:2px solid transparent; }
.ed-tabs a:hover { color:var(--accent); }
.ed-tabs a.on { color:var(--accent); border-bottom-color:var(--accent); background:var(--panel2); }
.ed-pane { background:#1a202a; padding:18px 16px 20px; min-height:200px; }
[data-theme="light"] .ed-pane { background:var(--panel2); }
.ed-pane > .card, .ed-pane > .kpis .kpi { box-shadow:none; }
.ed-pane-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.ed-pane-head h3 { font-size:17px; font-weight:500; margin:0; }
.ed-mnav { display:flex; align-items:center; gap:8px; }
.ed-nb { height:26px; min-width:36px; padding:0 10px; display:inline-grid; place-items:center; background:var(--panel2); border:1px solid var(--input-border);
  color:var(--text); border-radius:3px; font-size:12px; cursor:pointer; font-family:inherit; }
.ed-nb .ti { font-size:14px; }
.ed-nb:hover, .ed-nb.on { color:var(--accent); border-color:var(--accent); }
.ed-nb-w { min-width:46px; }
.ed-mlabel { min-width:76px; text-align:center; font-size:12.5px; }
.ed-gd.hide-left .ed-att tr.is-left { display:none; }

/* davomat / baholash setkasi */
.ed-att-wrap { overflow-x:auto; padding-bottom:6px; }
.ed-att { border-collapse:collapse; width:100%; font-size:12px; }
.ed-att th { background:#212835; font-weight:600; font-size:11.5px; padding:9px 4px; text-align:center; white-space:nowrap; }
[data-theme="light"] .ed-att th { background:var(--line); }
.ed-att td { padding:4px 3px; text-align:center; border-top:1px solid var(--line); height:35px; }
.ed-att .ed-att-name { text-align:left; min-width:150px; white-space:nowrap; position:sticky; left:0; z-index:1; padding:4px 10px 4px 4px; }
.ed-att td.ed-att-name { background:#1f2531; }
[data-theme="light"] .ed-att td.ed-att-name { background:var(--panel); }
.ed-att th.ed-att-name { text-align:left; padding-left:6px; }
.ed-att .ed-att-name > * { vertical-align:middle; }
.ed-att .ed-att-name a { color:var(--text); font-size:11.5px; }
.ed-att .ed-att-name a[href]:hover { color:var(--accent); }
.ed-att .ed-att-name .ed-sdot { display:inline-block; margin:0 3px 0 4px; }
.ed-att .ed-att-name .ed-stag { margin-left:4px; }
.ed-av { width:26px; height:26px; border-radius:3px; background:var(--avatar-bg); color:#fff; display:inline-grid; place-items:center; font-size:15px; }
.ed-att td.ed-att-d { background:var(--panel); min-width:36px; }
[data-theme="light"] .ed-att td.ed-att-d { background:var(--panel2); }
.ed-att th.is-today { color:var(--accent); }
.ed-att .att-cell { width:34px; height:27px; border-radius:50%; border:1px solid #333c49; background:transparent; color:#fff; font-size:12px;
  display:inline-grid; place-items:center; padding:0; cursor:pointer; font-family:inherit; font-weight:700; vertical-align:middle; }
.ed-att .att-cell:hover { border-color:var(--accent); }
.ed-att .att-cell.was { background:var(--green); border-color:var(--green); }
.ed-att .att-cell.absent { background:var(--red); border-color:var(--red); }
.ed-att .att-cell.off { cursor:default; opacity:.4; }
.ed-att .att-cell.off.was, .ed-att .att-cell.off.absent { opacity:.75; }
.ed-att .att-cell.off:hover { border-color:#333c49; }
.ed-att .att-cell.busy { opacity:.5; pointer-events:none; }
.ed-att td.ed-att-c { background:#1f2531; min-width:54px; text-align:left; padding-left:8px; }
[data-theme="light"] .ed-att td.ed-att-c { background:var(--panel); }
.ed-att .coin { font-size:12px; gap:4px; }
.ed-att td.ed-att-in { background:#1f2531; padding:4px 6px; }
[data-theme="light"] .ed-att td.ed-att-in { background:var(--panel); }
.ed-coin-in { display:flex; gap:4px; justify-content:center; }
.ed-coin-in input { width:52px !important; height:26px !important; padding:0 4px !important; text-align:center; font-size:11.5px !important; }
.ed-coin-in button { height:26px; padding:0 10px; background:var(--panel2); border:1px solid var(--input-border); color:var(--muted); border-radius:3px;
  font-size:11.5px; cursor:pointer; font-family:inherit; }
.ed-coin-in button:hover:not([disabled]) { color:var(--accent); border-color:var(--accent); }
.ed-coin-in.is-off { opacity:.45; }
.ed-gd.hide-coins [data-coin] { display:none; }
.ed-att .score-in { width:44px !important; height:26px !important; padding:0 2px !important; text-align:center; font-size:12px !important; }
.ed-att .score-in.saved { border-color:var(--green) !important; }
.ed-att .score-in.bad { border-color:var(--red) !important; }
.ed-hint { margin-top:10px; font-size:11.5px; color:var(--muted); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.att-cell.mini { width:16px; height:16px; border-radius:50%; display:inline-grid; place-items:center; font-size:10px; color:#fff; }
.att-cell.mini.was { background:var(--green); } .att-cell.mini.absent { background:var(--red); }

/* o'quvchi qo'shish drawer'idagi qidiruv natijalari */
.ed-pick-list { display:flex; flex-direction:column; gap:4px; max-height:260px; overflow-y:auto; margin-top:8px; }
.ed-pick-list button { text-align:left; background:var(--panel2); border:1px solid var(--input-border); color:var(--text); border-radius:4px; padding:8px 10px;
  cursor:pointer; font-family:inherit; font-size:12.5px; }
.ed-pick-list button:hover { border-color:var(--accent); }
.ed-picked { margin-top:8px; padding:10px 12px; border:1px solid var(--accent); border-radius:4px; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.ed-picked[hidden] { display:none; }

/* guruh ichidagi boshqa tablar (imtihonlar, materiallar, izohlar) */
.ed-pane .grid-exams { display:grid; grid-template-columns:300px 1fr; gap:16px; align-items:start; }
@media (max-width:1300px) { .ed-pane .grid-exams { grid-template-columns:1fr; } }
.ed-pane .table tr.is-sel td { background:color-mix(in srgb,var(--accent) 12%,var(--panel2)); }
.ed-pane .folder-head { padding:10px 14px; font-weight:700; border-bottom:1px solid var(--line); background:var(--panel2); }
.ed-pane .comment + .comment { margin-top:10px; }
.ed-pane .kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }

/* ---------- Kurslar (22-kurslar) ---------- */
.ed-hr { border-top:1px solid var(--line); margin:-4px 0 14px; }
.ed-cfilters { justify-content:flex-end; margin-bottom:18px; }
.ed-cgrid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; }
@media (max-width:1250px) { .ed-cgrid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { .ed-cgrid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.ed-course { background:var(--panel); box-shadow:var(--shadow-card); border-radius:2px; overflow:visible; display:flex; flex-direction:column; }
.ed-course.is-off { opacity:.55; }
.ed-ctop { position:relative; height:192px; display:flex; flex-direction:column; align-items:center; overflow:hidden; }
.ed-ctitle { color:#fff; font-weight:700; font-size:14px; text-transform:uppercase; text-align:center; padding:46px 14px 0; line-height:1.3;
  max-height:84px; overflow:hidden; text-shadow:0 1px 2px rgba(0,0,0,.08); }
.ed-cart { position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:220px; height:112px; }
.ed-ctop:hover .ed-cart { transform:translateX(-50%) translateY(-3px); transition:transform .2s; }
.ed-cbot { position:relative; padding:24px 44px 20px 28px; min-height:128px; }
.ed-cname { font-size:14px; font-weight:500; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ed-cprice { font-size:11px; color:var(--muted); margin-top:20px; }
.ed-cmeta { font-size:10.5px; color:var(--muted); opacity:.75; margin-top:6px; line-height:1.4; }
.ed-cmeta a:hover { color:var(--accent); }
.ed-ckebab { position:absolute; right:10px; top:20px; }

/* ---------- Xonalar, dam olish kunlari (23-xonalar) ---------- */
.ed-simple { padding:16px 24px 24px; }
.ed-simple .table.flat th { color:var(--text); font-weight:700; font-size:12.5px; padding:14px 0 14px; border-bottom:0; }
.ed-simple .table.flat td { padding:13px 0; font-size:12.5px; }
.ed-simple .table.flat tbody tr:last-child td { border-bottom:0; }
.ed-simple .table.flat tbody tr:hover td { background:transparent; }
.ed-acts { white-space:nowrap; }
.ed-acts form { display:inline; margin:0; }
.ed-act { background:none; border:0; color:var(--text); font-size:17px; cursor:pointer; padding:2px 5px; }
.ed-act:hover { color:var(--accent); }
.ed-act.red { color:var(--red); }
.ed-act.red:hover { color:#ff5a6a; }

/* ---------- Dars jadvali (02-dashboard-bottom uslubi) ---------- */
.ed-ttcard { padding:20px 16px 24px; }
.ed-tthead { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.ed-tttabs { display:flex; gap:12px; }
.ed-tttabs a { padding:4px 0; font-size:12.5px; font-weight:600; border-bottom:2px solid transparent; }
.ed-tttabs a.on { color:var(--accent); border-bottom-color:var(--accent); }
.ed-tttabs a:hover { color:var(--accent); }
.ed-ttdate { display:flex; align-items:center; gap:8px; }
.ed-ttdate .ed-date { width:170px; }
.ed-ttdate .ed-date input { height:30px; padding-left:30px; font-size:12px; }
.ed-ttdate .ed-date.is-on input { border-color:var(--accent); }
.ed-ttwrap { overflow-x:auto; border:1px solid var(--line); }
.ed-tt { min-width:1000px; }
.ed-ttrow { display:grid; grid-template-columns:150px 1fr; border-bottom:1px solid var(--line); }
.ed-ttrow:last-child { border-bottom:0; }
.ed-ttroom { padding:12px 10px; border-right:1px solid var(--line); background:var(--panel2); position:sticky; left:0; z-index:2; font-size:12.5px; }
.ed-tthd .ed-ttroom { background:var(--panel2); }
.ed-tttrack { position:relative; min-height:64px;
  background-image:linear-gradient(to right, var(--line) 1px, transparent 1px); background-size:calc(var(--slot) * 2) 100%; }
.ed-tthd .ed-tttrack { height:40px; min-height:40px; background:var(--panel); }
.ed-tttime { position:absolute; top:11px; transform:translateX(6px); font-size:11.5px; color:var(--muted); white-space:nowrap; }
.ed-tttime.hour { font-size:12.8px; font-weight:700; color:var(--text); }
.ed-ttblock { position:absolute; height:56px; padding:5px 6px 4px; border-radius:2px; overflow:hidden; font-size:11px; line-height:1.35;
  background:#8bd84a; color:#1a1f16; box-shadow:0 1px 2px rgba(0,0,0,.3); display:flex; flex-direction:column; justify-content:space-between;
  border-left:1px solid rgba(0,0,0,.15); }
.ed-ttblock.st-waiting { background:#f6c344; }
.ed-ttblock:hover { z-index:3; filter:brightness(1.06); box-shadow:0 4px 14px rgba(0,0,0,.4); }
.ed-ttblock .l1 { overflow:hidden; max-height:31px; }
.ed-ttblock .tg { display:inline-block; font-size:8.5px; background:rgba(255,255,255,.55); color:#4a5240; border-radius:2px; padding:0 3px; vertical-align:1px; }
.ed-ttblock .tc { background:#111; color:#fff; padding:0 3px; border-radius:1px; }
.ed-ttblock .l2 { display:flex; justify-content:space-between; align-items:center; gap:4px; font-size:10px; white-space:nowrap; }
.ed-ttblock .l2 > span:first-child { overflow:hidden; text-overflow:ellipsis; }
.ed-ttblock .tn { font-size:8.5px; background:rgba(255,255,255,.55); border-radius:2px; padding:0 3px; flex:none; }
.ed-legend { display:inline-block; width:12px; height:12px; border-radius:2px; vertical-align:-2px; }
.ed-legend.lime { background:#8bd84a; } .ed-legend.yel { background:#f6c344; }

/* ---------- O'qituvchilar ro'yxati (04-oqituvchilar) ---------- */
.ed-alert { display:flex; align-items:center; gap:14px; padding:6px 4px 18px; font-size:11.5px; line-height:1.6; }
.ed-alert b { font-size:12px; }
.ed-alert-ic { width:28px; height:28px; border-radius:50%; background:#fff; color:#1c2330; display:grid; place-items:center; font-size:17px; flex:none; }
.ed-alert-ic .ti { font-weight:700; }
.ed-tfilters { justify-content:flex-end; margin-top:-8px; }
.ed-tfilters select { min-width:160px !important; }
.ed-tgrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 32px; }
@media (max-width:1000px) { .ed-tgrid { grid-template-columns:1fr; } }
.ed-ttile { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr) 30px; align-items:center; gap:10px;
  min-height:58px; padding:6px 14px 6px 10px; background:var(--panel2); border-radius:6px; box-shadow:var(--shadow-row); cursor:pointer; font-size:12.3px; }
.ed-ttile:hover { background:var(--row-hover); }
.ed-tname { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ed-tname:hover { color:var(--accent); }
.ed-tphone, .ed-tgroups { white-space:nowrap; }
.ed-ttile .kebab { font-size:18px; }

/* ---------- O'qituvchi profili (29-oqituvchi-profil) ---------- */
.ed-tp-head { margin-bottom:6px; }
.ed-tp-tabs { border-bottom:0; gap:22px; margin-bottom:44px; }
.ed-tp-tabs a { font-size:12.3px; }
.ed-tp { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; align-items:start; }
@media (max-width:1150px) { .ed-tp { grid-template-columns:1fr 1fr; } }
.ed-tp-card { background:var(--panel); box-shadow:var(--shadow-card); border-radius:2px; padding:12px 26px 26px 26px; }
.ed-tp-top { display:flex; align-items:center; gap:28px; }
.ed-tp-ava { width:80px; height:80px; border-radius:50%; background:var(--avatar-bg); border:3px solid #fff; display:grid; place-items:center; color:#fff;
  font-size:34px; overflow:hidden; flex:none; margin-top:14px; }
.ed-tp-ava img { width:100%; height:100%; object-fit:cover; }
.ed-tp-name { flex:1; font-size:14px; font-weight:500; padding-top:14px; }
.ed-tp-top .ed-iconcol { align-self:flex-start; gap:12px; margin-top:12px; }
.ed-tp-kv { font-size:11.5px; line-height:1.7; margin-top:4px; }
.ed-tp-kv b { font-weight:700; }
.ed-tp-lbl { margin-top:12px; color:var(--muted); }
.ed-otag { display:inline-block; border:1px solid var(--red); color:#ff8a65; border-color:#c4533a; border-radius:20px; padding:1px 14px; font-size:10px; margin-top:4px; }
.ed-otags { display:flex; gap:6px; flex-wrap:wrap; }
.ed-tp-groups h2 { font-size:22px; font-weight:500; margin:-4px 0 12px; line-height:1.2; }
.ed-tg { width:100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 20px; align-items:center; gap:10px; text-align:left;
  background:var(--panel); border:1px solid transparent; border-radius:2px; box-shadow:var(--shadow-card); padding:14px 14px 14px 14px; margin-bottom:14px;
  color:var(--text); font-family:inherit; cursor:pointer; min-height:82px; }
.ed-tg:hover { border-color:var(--input-border); }
.ed-tg.on { border-color:color-mix(in srgb,var(--accent) 55%,transparent); }
.ed-tg-l { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; }
.ed-tg-l .tag { max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.ed-tg-c { font-size:11.5px; font-weight:600; }
.ed-tg-m { font-size:10.5px; color:var(--muted); line-height:1.45; }
.ed-tg-n { width:18px; height:18px; border-radius:3px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; display:grid; place-items:center; }
.ed-tp-empty { background:var(--panel); padding:24px; text-align:center; color:var(--muted); }
.ed-tp-gcard { background:var(--panel); box-shadow:var(--shadow-card); border-radius:2px; padding:22px 20px 20px; }
.ed-tp-ghead { text-align:right; font-size:13px; line-height:1.6; padding-bottom:16px; border-bottom:1px solid var(--line); margin-bottom:12px; }
.ed-bigtag { display:inline-block; background:var(--tag-bg); color:var(--tag-text); border-radius:3px; padding:4px 10px; font-size:12.5px; font-weight:700;
  margin-bottom:10px; }
.ed-tp-gcourse { font-size:17px; font-weight:500; }
.ed-tp-ghead .hl { color:var(--text); font-weight:800; }
.ed-tp-sts { display:flex; flex-direction:column; }
.ed-tp-st { display:flex; align-items:center; gap:8px; padding:5px 0; font-size:11.5px; }
.ed-tp-st a { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ed-tp-st a[href]:hover { color:var(--accent); }
.ed-tp-st .phone { font-size:10.5px; width:110px; flex:none; }
.ed-tp-go { margin-top:14px; text-align:right; }
