/* =========================================================
   Teacher studio (#/studio/*) — extras on top of conjj.css
   Only design tokens are used; surfaces that are always dark
   (side promo, welcome, bank card, live tiles) follow core.
   ========================================================= */

/* ---------- utilities ---------- */
.t-small { font-size: 12.5px; }
.t-mt { margin-top: 14px; }
.t-wrap { flex-wrap: wrap; }
.t-gap-sm { gap: 8px; }
.t-ok { color: var(--ok); }
.t-warn { color: var(--warn) !important; }
.t-h3 { font-size: 17px; font-weight: 700; }
.t-h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.t-sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; font-weight: 500; }
[data-show-for][hidden], [data-sched][hidden], [data-price-box][hidden] { display: none !important; }
.list-item .grow span .mono, .t-po-head .mono, .step span .mono { display: inline; font-size: 12px; }

.t-sec-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.t-sec-title h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.t-sec-title p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }


.t-tabs-pad { padding: 6px 12px 0; }

/* setting rows / toggles group */
.t-toggles { display: grid; padding: 4px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.t-toggles.t-flat { padding: 0; background: none; border: 0; border-radius: 0; }
.t-toggles > .form-grid { padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.t-toggles > .form-grid:last-child { border-bottom: 0; }
.t-set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.t-set-row:last-child { border-bottom: 0; }
.t-set-row > div { min-width: 0; }
.t-set-row b { display: block; font-size: 14px; }
.t-set-row span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.t-set-row > .switch, .t-set-row > .btn { flex: none; }

/* form footer inside a card */
.t-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); flex-wrap: wrap; }
.t-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.t-fieldset[disabled] { opacity: .55; }

/* ---------- overview ---------- */
.t-usage { display: grid; gap: 16px; }
.t-usage-row { display: grid; gap: 8px; font-size: 13.5px; }
.t-usage-row span { color: var(--text-2); }
.t-usage-row b { font-weight: 700; }
.t-usage-row small { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- community preview ---------- */
.t-preview { overflow: hidden; }
.t-preview .cover { height: 190px; }
.t-preview-body { padding: 0 26px 26px; display: grid; gap: 16px; }
.t-preview-id { display: flex; align-items: flex-end; gap: 18px; margin-top: -40px; position: relative; z-index: 2; }
.t-preview-id h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.t-logo {
  width: 88px; height: 88px; border-radius: 26px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 75% 62%), hsl(var(--h) 60% 32%));
  box-shadow: 0 0 0 5px var(--surface), var(--sh);
}
.t-tagline { color: var(--text-2); font-size: 15.5px; line-height: 2; max-width: 720px; }
.t-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--text-2); padding: 14px 0; border-block: 1px dashed var(--line); }
.t-facts > span { display: inline-flex; align-items: center; gap: 6px; }
.t-facts .ic { color: var(--muted); }
.t-facts em { font-style: normal; color: var(--muted); }
.t-facts .rating .ic { color: #F2A93B; }

.t-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.t-metric { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 4px; justify-items: start; }
.t-metric span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.t-metric b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.t-rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--text-2); font-weight: 700; font-size: 12.5px; }
.t-checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.t-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.t-checks li .ic { color: var(--line-2); }
.t-checks li.ok { color: var(--text-2); }
.t-checks li.ok .ic { color: var(--ok); }
.t-card-preview .comm-card:hover { transform: none; }

/* ---------- posts table ---------- */
.t-chips { flex: 1 1 320px; min-width: 0; }
.t-select { width: auto; min-height: 42px; min-width: 150px; }
.table td.t-title { min-width: 240px; max-width: 380px; white-space: normal; }
.t-title b { display: block; font-size: 14px; font-weight: 700; line-height: 1.7; }
.t-title span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-title .pinned { display: inline-flex; font-size: 11.5px; margin-inline-end: 4px; }
.t-acts { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.t-acts .btn-icon { width: 36px; height: 36px; border-radius: 10px; }
.t-acts .btn-sm { --bh: 32px; padding: 0 10px; }
.t-del:hover { color: var(--bad); background: var(--bad-bg); }
.t-dim { opacity: .45; cursor: not-allowed; }
.t-dim:hover { background: none; }

/* upload drop zone */
.t-drop {
  position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 16px;
  border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--surface-2); cursor: pointer; transition: border-color .2s, background .2s;
}
.t-drop:hover, .t-drop:focus-within { border-color: var(--brand-300); background: var(--brand-soft); }
.t-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.t-drop > .ic { color: var(--brand-ink); margin-bottom: 2px; }
.t-drop b { font-size: 14px; color: var(--text); }
.t-drop small { font-size: 12px; color: var(--muted); }
.t-drop-name { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.t-drop-name:empty { display: none; }
.t-drop-name.bad { color: var(--bad); }
.field > small .ic { color: var(--ok); vertical-align: -3px; }
.t-seg-wrap .seg { display: flex; flex-wrap: wrap; }
.t-seg-wrap .seg button { flex: 1 1 auto; }

/* ---------- members ---------- */
.t-act { display: flex; align-items: center; gap: 8px; min-width: 120px; font-size: 12.5px; color: var(--muted); }
.t-act .progress { flex: 1; height: 6px; }
.t-member-head { display: flex; align-items: center; gap: 14px; }
.t-member-head > div { display: grid; gap: 4px; }
.t-boxed { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.t-boxed .list-item { padding: 12px 14px; }
.t-danger-btn { color: var(--bad); }
.t-danger-btn:hover { border-color: var(--bad); color: var(--bad); }
.t-in-btn { border-radius: 0; height: auto; }

/* ---------- plan & revenue ---------- */
.t-plan-now { align-items: stretch; padding: 30px; }
.t-plan-main { display: grid; gap: 6px; min-width: 0; }
.t-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.t-kicker .ic { color: #8DD8CA; }
.t-plan-now h2 { font-size: 26px; }
.t-plan-now p { margin-top: 0; }
.t-plan-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 14px; }
.t-plan-facts span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.t-plan-facts b { font-size: 16px; font-weight: 700; }
.t-plan-cta { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pricing.t-plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: none; margin-inline: 0; }
.t-plans .plan { padding: 26px 22px; gap: 14px; }
.t-plans .plan-hot { transform: none; }
.t-plans .plan-price b { font-size: 30px; }
.t-plans .plan ul { font-size: 14px; gap: 10px; }
.t-plan-cur { outline: 2px solid var(--brand); outline-offset: -2px; }
.t-plan-why { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: -6px; }
.plan-hot .t-plan-why { color: rgba(255, 255, 255, .6); }
.t-policy { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: tp; }
.t-policy li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; counter-increment: tp; }
.t-policy li::before { content: counter(tp, persian); grid-row: span 2; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 13px; }
.t-policy b { font-size: 14px; }
.t-policy span { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ---------- payouts ---------- */
.t-amount { display: flex; gap: 8px; align-items: stretch; }
.t-amount .input-group { flex: 1; min-width: 0; }
.t-amount .input { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.t-amount .btn { height: auto; min-height: 46px; }
.t-hint { min-height: 20px; }
.t-hint.bad { color: var(--bad) !important; }
.t-hint.ok { color: var(--ok) !important; }
.t-kv { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; }
.t-iban { direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .04em; font-weight: 700; white-space: nowrap; }
.t-po { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.t-po + .t-po { margin-top: 12px; }
.t-po-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.t-po-head .grow { min-width: 140px; }
.t-po-head .grow > b { display: block; font-size: 15.5px; font-weight: 800; }
.t-po-head .grow > span { display: block; font-size: 12.5px; color: var(--muted); }
.t-po-body { padding: 18px 16px; }
.t-po-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.t-bank {
  display: grid; gap: 18px; padding: 20px; border-radius: 18px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, var(--brand-600) 0%, var(--navy) 55%, var(--navy-900) 100%);
  box-shadow: var(--sh);
}
.t-bank > .row-between > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.t-bank-iban { direction: ltr; text-align: left; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-bank small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.t-bank b { font-size: 14px; }
.t-rules-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.t-rules-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.85; }
.t-rules-list .ic { color: var(--brand-ink); margin-top: 4px; }

/* ---------- settings ---------- */
.t-cover-edit { position: relative; margin-bottom: 12px; }
.t-cover-edit .cover { height: 130px; border-radius: var(--r); }
.t-cover-edit .t-logo { position: absolute; bottom: -22px; right: 20px; width: 64px; height: 64px; border-radius: 20px; }
.t-rules { display: grid; gap: 10px; counter-reset: tr; }
.t-rule { display: flex; align-items: center; gap: 10px; counter-increment: tr; }
.t-rule::before { content: counter(tr, persian); width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 13px; }
.t-rule .input { flex: 1; min-width: 0; }
.t-save { color: var(--ok) !important; font-weight: 700; }
.t-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t-opts .plan-opt { align-items: flex-start; }
.t-opts .plan-opt .radio { margin-top: 3px; }
.t-opts .plan-opt b { display: flex; align-items: center; gap: 6px; }
.t-opts .plan-opt b .ic { color: var(--brand-ink); }
.t-opts .plan-opt small { display: block; line-height: 1.8; margin-top: 2px; }
.t-danger { border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.t-danger .card-head h3 .ic { color: var(--bad); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .t-metrics { grid-template-columns: 1fr; }
  .t-opts { grid-template-columns: 1fr; }
  .t-plan-cta { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .t-preview .cover { height: 140px; }
  .t-preview-body { padding: 0 16px 18px; }
  .t-preview-id { gap: 12px; margin-top: -32px; }
  .t-preview-id h2 { font-size: 21px; }
  .t-logo { width: 68px; height: 68px; border-radius: 20px; }
  .t-logo .ic { width: 30px; height: 30px; }
  .t-preview-body > .row .btn { flex: 1 1 auto; }
  .t-foot { padding: 12px 16px; }
  .t-foot .btn { flex: 1; }
  .t-plan-now { padding: 22px 18px; }
  .t-plan-now h2 { font-size: 21px; }
  .t-plan-cta .btn { flex: 1; }
  .t-amount { flex-direction: column; }
  .t-set-row { align-items: flex-start; }
  .t-bank-iban { font-size: 15px; }
  .t-select { flex: 1; }
}

/* =========================================================
   Redesign: KPI strip, dashboard, next class, menus, phones
   ========================================================= */
.t-studio { display: contents; }

/* one quiet strip of numbers (grid lines drawn by the 1px gap) */
.t-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.t-kpi { background: var(--surface); padding: 14px 20px; display: grid; gap: 2px; align-content: start; line-height: 1.5; min-width: 0; }
.t-kpi > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.t-kpi > b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.t-kpi > b small { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.t-kpi > b .delta { font-size: 12px; font-style: normal; font-weight: 700; align-self: center; }
.t-kpi > small { font-size: 12.5px; color: var(--muted); }

/* dashboard */
.t-dash-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.t-dash-head > .grow { min-width: 0; flex: 1 1 320px; }
.t-dash-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-dash-title h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.t-dash-head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.t-dash-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.t-dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.t-dash.is-solo { grid-template-columns: 1fr; }
.t-dash.is-solo .t-dash-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.t-dash-main, .t-dash-side { display: grid; gap: 16px; min-width: 0; align-content: start; }
.t-side-card { padding: 18px; }
.t-side-title { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.t-usage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.t-usage-head .grow { min-width: 0; line-height: 1.5; }
.t-usage-head .grow b { display: block; font-size: 15px; font-weight: 800; }
.t-usage-head .grow span { display: block; font-size: 12.5px; color: var(--muted); }
.t-attn { display: grid; }
.t-attn a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-2); font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.t-attn a:last-child { border-bottom: 0; }
.t-attn a > span { flex: 1; min-width: 0; }
.t-attn a .ic:first-child { color: var(--brand-ink); }
.t-attn a:hover { color: var(--text); }
.t-allgood { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.t-allgood .ic { color: var(--ok); margin-top: 4px; }
.t-next-mini { display: flex; align-items: center; gap: 12px; color: var(--text); }
.t-next-mini .grow { min-width: 0; line-height: 1.5; }
.t-next-mini .grow b { display: block; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-next-mini .grow span { display: block; font-size: 12.5px; color: var(--muted); }
.t-next-mini > .ic { color: var(--muted); }
.t-side-note { font-size: 12.5px; color: var(--muted); padding: 0 4px; line-height: 1.8; }

/* first-steps checklist of a new kanj */
.t-setup { padding: 24px; }
.t-setup-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.t-setup-head h2 { flex: 1; font-size: 18px; font-weight: 800; }
.t-setup-head span { font-size: 13px; font-weight: 700; color: var(--brand-ink); }
.t-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.t-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.t-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.t-steps li .grow { min-width: 0; line-height: 1.55; }
.t-steps li .grow b { display: block; font-size: 14.5px; font-weight: 700; }
.t-steps li .grow > span:not(.sr) { display: block; font-size: 13px; color: var(--muted); }
.t-steps li > .btn { flex: none; }
.t-steps li.is-done .grow b { font-weight: 500; color: var(--muted); text-decoration: line-through; }
.t-step-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.is-next > .t-step-dot { border-color: var(--brand); color: var(--brand-ink); }
.is-done > .t-step-dot, .t-step-dot.is-done { border-color: var(--brand); background: var(--brand); color: #fff; }

/* next online class */
.t-next { display: grid; grid-template-columns: auto minmax(0, 1fr) 220px; gap: 22px; align-items: center; padding: 26px; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.t-next.is-live { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg), var(--sh-sm); }
.t-next .date-box { width: 72px; height: 80px; border-radius: 18px; }
.t-next .date-box b { font-size: 28px; }
.t-next-main { min-width: 0; }
.t-next-kicker { font-size: 12.5px; font-weight: 700; color: var(--brand-ink); }
.t-next h2 { font-size: 22px; font-weight: 800; margin: 2px 0 4px; overflow-wrap: anywhere; }
.t-next-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13.5px; color: var(--text-2); }
.t-next-acts { display: grid; gap: 8px; }
.t-next-row { display: flex; gap: 8px; }
.t-next-row > .btn { flex: 1; }
.t-next-note { margin-top: -12px; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
.t-ev-tabs .list-item { padding-inline: 22px; }
.t-ev-row .date-box { width: 48px; height: 52px; border-radius: 12px; }
.t-ev-row .date-box b { font-size: 18px; }
.t-ev-empty { display: flex; align-items: center; gap: 16px; padding: 22px; flex-wrap: wrap; }
.t-ev-empty .empty-ic { width: 44px; height: 44px; border-radius: 14px; margin: 0; }
.t-ev-empty .grow { min-width: 200px; flex: 1; line-height: 1.6; }
.t-ev-empty .grow b { display: block; font-weight: 700; }
.t-ev-empty .grow span { display: block; font-size: 13.5px; color: var(--muted); }

.t-kmenu .kmenu-btn { width: 44px; height: 44px; border-radius: 12px; }
.t-next-row .kmenu-btn { border: 1px solid var(--line-2); background: var(--surface); }
.t-next-row > .t-menu, .t-next-row > .kmenu { flex: none; }

.t-tabs .tab { min-height: 44px; }
.t-seg-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.t-seg-scroll::-webkit-scrollbar { display: none; }

/* payouts & settings */
.t-po-step { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.t-po-step h3 { font-size: 16px; font-weight: 700; }
.t-rules-box > summary { display: flex; align-items: center; min-height: 52px; padding: 0 22px; font-weight: 700; cursor: pointer; }
.t-rules-box .t-rules-list { padding: 0 22px 20px; }
.t-ro { min-height: 46px; display: flex; align-items: center; justify-content: flex-end; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--surface-2); color: var(--text-2); font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 13.5px; overflow-wrap: anywhere; }
.t-foot-sticky { position: sticky; bottom: 0; z-index: 5; box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .35); }

@media (max-width: 1024px) {
  .t-dash { grid-template-columns: 1fr; }
  .t-dash-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .t-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .t-metric { padding: 10px 12px; }
  .t-metric b { font-size: 20px; }
  .t-next { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 18px; }
  .t-next-acts { grid-column: 1 / -1; }
  .t-next .date-box { width: 58px; height: 66px; }
  .t-next .date-box b { font-size: 22px; }
  .t-next h2 { font-size: 19px; }
}
@media (max-width: 640px) {
  .t-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-kpi { padding: 12px 14px; }
  .t-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .t-kpi > b { font-size: 19px; }
  .t-dash-title h2 { font-size: 22px; }
  .t-dash-acts { width: 100%; }
  .t-dash-acts .btn { flex: 1 1 auto; }
  .t-setup { padding: 18px 16px; }
  .t-steps li { flex-wrap: wrap; gap: 10px 14px; }
  .t-steps li .grow { flex: 1 1 200px; }
  .t-steps li > .btn { margin-inline-start: 44px; }
  .t-ev-tabs .list-item { padding-inline: 16px; }
  .t-ev-empty { padding: 18px 16px; }
  .t-ev-empty > .btn { width: 100%; }
  .t-po-step { padding: 16px 16px 0; }
  .t-rules-box > summary { padding: 0 16px; }
  .t-rules-box .t-rules-list { padding: 0 16px 18px; }
  .t-metric b { font-size: 18px; }
  /* tap targets */
  .t-studio .btn-sm, .t-studio .chip { --bh: 44px; min-height: 44px; }
  .t-studio .seg button { min-height: 44px; }
  .t-studio .switch { min-height: 44px; }
  .t-acts .btn-icon, .t-rule .btn-icon { width: 44px; height: 44px; }
  .table.t-stack td.t-title { min-width: 0; max-width: none; display: block; }
  .table.t-stack .t-title span { white-space: normal; }
  .table.t-stack td.end::before { display: none; }
  .table.t-stack .t-acts { justify-content: flex-start; flex-wrap: wrap; }
}

/* «ویژه» card on the studio overview */
.t-feat { display: grid; gap: 12px; }
.t-feat.is-on { border-color: var(--brand-300); background-image: radial-gradient(90% 120% at 100% 0%, var(--brand-soft), transparent 65%); }
.t-feat-head { display: flex; gap: 12px; align-items: flex-start; }
.t-feat-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.t-feat-head b { display: block; font-size: 15px; font-weight: 800; }
.t-feat-head span { display: block; font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 2px; }
.t-feat-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.t-feat-packs .btn { width: 100%; }
