/* ============================================================
   AIGENT — App shell + data table (Operator)
   Dark unified chrome (sidebar + topbar), light content.
   Reusable across all product screens.
   ============================================================ */

.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }

/* ---------- SIDEBAR ---------- */
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh;
  background: var(--chrome);
  display: flex; flex-direction: column;
  padding: 18px 14px 16px;
  border-right: 1px solid var(--chrome-line);
}
.sidebar .brand { padding: 4px 10px 20px; }
.sidebar .wordmark { color: #fff; font-size: 23px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: var(--r-md);
  color: var(--chrome-muted); opacity: .72;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .12s, color .12s, opacity .12s;
}
.nav-item .ic { display: flex; flex: 0 0 auto; }
.nav-item:hover { background: var(--chrome-hover); color: #fff; opacity: 1; }
.nav-item.active {
  background: var(--brand); color: #fff; opacity: 1; font-weight: 600;
  box-shadow: 0 1px 2px rgba(31,91,255,.4), inset 0 1px 0 rgba(255,255,255,.12);
}
.nav-item:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--chrome), 0 0 0 4px var(--blue-400); }

.nav-spacer { flex: 1 1 auto; }
.nav-divider { height: 1px; background: var(--chrome-divider); margin: 12px 10px 10px; }

/* ---------- MAIN COLUMN ---------- */
.main-col { display: flex; flex-direction: column; min-width: 0; background: var(--page); }

.topbar {
  position: sticky; top: 0; z-index: 30;
  height: 60px; flex: 0 0 auto;
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 22px;
}
.topbar-left { display: flex; align-items: center; gap: 10px; color: var(--chrome-text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.topbar-left .ic { color: var(--chrome-muted); display: flex; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-sep { width: 1px; height: 26px; background: var(--chrome-divider); }

/* account switcher */
.switcher {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 11px; border-radius: var(--r-md);
  background: var(--chrome-hover); border: 1px solid var(--chrome-line);
  color: var(--chrome-text); cursor: pointer;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.switcher:hover { background: rgba(255,255,255,.10); border-color: var(--chrome-divider); }
.switcher .ic { color: var(--chrome-muted); display: flex; }
.switcher .acct-kicker { color: var(--chrome-muted); font-weight: 500; }
.switcher .chev { color: var(--chrome-muted); display: flex; transition: transform .18s; }
.switcher.open .chev { transform: rotate(180deg); }

/* user menu */
.usermenu {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 9px 5px 5px; border-radius: var(--r-pill); cursor: pointer;
  transition: background .12s;
}
.usermenu:hover { background: var(--chrome-hover); }
.usermenu .uname { color: var(--chrome-text); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.usermenu .chev { color: var(--chrome-muted); display: flex; transition: transform .18s; }
.usermenu.open .chev { transform: rotate(180deg); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--blue-400), var(--blue-600));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* ---------- DROPDOWN (light pop menu) ---------- */
.dd { position: relative; }
.pop-menu {
  position: absolute; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--sh-menu);
  padding: 5px; z-index: 50; animation: popin .12s ease;
}
.pop-menu.right { right: 0; } .pop-menu.left { left: 0; }
@keyframes popin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pop-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--hairline); margin-bottom: 4px; }
.pop-head .nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pop-head .em { font-size: 12px; color: var(--muted); }
.pop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.pop-item .ic { color: var(--muted); display: flex; }
.pop-item:hover { background: var(--n-100); }
.pop-item .check { margin-left: auto; color: var(--brand); display: flex; }
.pop-item .sub { color: var(--muted); font-size: 12px; }
.pop-item.danger { color: var(--danger); } .pop-item.danger .ic { color: var(--danger); }
.pop-item.danger:hover { background: var(--danger-tint); }
.pop-divider { height: 1px; background: var(--hairline); margin: 4px 0; }

/* ---------- CONTENT ---------- */
.content { padding: 24px 28px 32px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.greet { color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.page-head h1 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.page-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- TABLE CARD ---------- */
.table-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.rec-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rec-count b { color: var(--n-700); font-weight: 600; font-variant-numeric: tabular-nums; }
.table-search { display: flex; gap: 8px; align-items: center; }
.table-search .control { width: 248px; }
.table-search .input { height: 38px; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
  background: var(--chrome-elevated); color: #b8c2d4;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .045em; text-align: left;
  padding: 12px 16px; cursor: pointer; user-select: none; white-space: nowrap;
  transition: color .12s;
}
.tbl thead th:first-child { padding-left: 20px; }
.tbl thead th:last-child { padding-right: 20px; }
.tbl thead th:hover { color: #fff; }
.tbl thead th.active { color: #fff; }
.tbl thead th.num { text-align: right; }
.tbl tbody td.num { text-align: right; }
.th-inner { display: inline-flex; align-items: center; gap: 7px; }
.th-inner.num { flex-direction: row-reverse; }
.sort-ic { display: flex; color: #64748b; }
.sort-ic.active { color: var(--blue-300); }

.tbl tbody td { padding: 13px 16px; border-bottom: 1px solid var(--hairline); font-size: 14px; color: var(--n-800); vertical-align: middle; }
.tbl tbody td:first-child { padding-left: 20px; }
.tbl tbody td:last-child { padding-right: 20px; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr { cursor: pointer; transition: background .1s; }
.tbl tbody tr:hover { background: #f1f5f9; }

.coach-name { font-weight: 600; color: var(--ink); }
.coach-name .nm-sub { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 1px; }

.col-trig { text-align: right; font-variant-numeric: tabular-nums; color: var(--n-700); }
.col-trig.zero { color: var(--n-400); }

.fb { display: flex; align-items: center; gap: 11px; }
.fb-bar { width: 96px; height: 6px; border-radius: var(--r-pill); background: var(--n-150); overflow: hidden; flex: 0 0 auto; }
.fb-bar i { display: block; height: 100%; border-radius: var(--r-pill); }
.fb-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13.5px; color: var(--n-800); min-width: 34px; }
.fb-empty { color: var(--n-400); font-size: 13.5px; }

.row-chev { color: var(--n-400); display: flex; justify-content: flex-end; opacity: 0; transform: translateX(-3px); transition: opacity .12s, transform .12s; }
.tbl tbody tr:hover .row-chev { opacity: 1; transform: translateX(0); }

/* ---------- PAGINATION ---------- */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 13px 16px; border-top: 1px solid var(--hairline); }
.page-btn {
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--n-700);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums; transition: background .12s, border-color .12s, color .12s;
}
.page-btn:hover:not(:disabled):not(.active) { background: var(--n-50); border-color: var(--border-strong); }
.page-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; cursor: default; }
.page-btn:disabled { opacity: .45; cursor: default; }
.page-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.page-ellipsis { padding: 0 2px; color: var(--n-400); font-weight: 600; }

/* ---------- TOOLBAR BAND (tabs + search) ---------- */
.toolbar-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

.tabs { display: inline-flex; gap: 4px; background: var(--n-100); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 4px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: none; background: transparent; border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--n-600); cursor: pointer;
  transition: background .12s, color .12s, box-shadow .12s; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-xs); }
.tab:focus-visible { outline: none; box-shadow: var(--ring); }
.tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--n-200); color: var(--n-700); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.tab-badge.alert { background: var(--danger); color: #fff; }

.band-search { display: flex; gap: 8px; align-items: center; }
.band-search .control { width: 240px; }
.band-search .input { height: 40px; }

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  margin-bottom: 14px;
}
.filter-bar .fb-lead { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 600; padding-left: 2px; }
.filter-bar .fi { position: relative; }
.filter-bar .fi-input { height: 38px; width: 180px; }
.filter-bar .fi-input.sm { width: 150px; }
.filter-trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface);
  color: var(--ink); font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: border-color .12s, background .12s;
}
.filter-trigger:hover { border-color: var(--border-strong); background: var(--n-50); }
.filter-trigger .ic { color: var(--muted); display: flex; }
.filter-trigger .chev { color: var(--muted); display: flex; }
.filter-trigger .fv { color: var(--muted); }
.filter-trigger.set .fv { color: var(--brand); font-weight: 600; }
.filter-bar .fb-spacer { flex: 1 1 auto; }
.fb-clear { color: var(--muted); font-size: 13px; font-weight: 600; background: none; border: none; cursor: pointer; padding: 6px 8px; border-radius: var(--r-sm); }
.fb-clear:hover { color: var(--danger); background: var(--danger-tint); }

/* ---------- HEADER TOOLTIP ---------- */
.th-inner.help { gap: 6px; }
.tip { position: relative; display: inline-flex; align-items: center; }
.tip .tip-trigger { display: inline-flex; color: #7d8db0; cursor: help; }
.tip:hover .tip-trigger { color: #d3dcec; }
.tip .tip-bub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-3px);
  background: var(--n-900); color: #fff;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; line-height: 1.45;
  text-transform: none; letter-spacing: 0; text-align: left;
  padding: 8px 11px; border-radius: 7px; width: max-content; max-width: 222px; white-space: normal;
  opacity: 0; pointer-events: none; transition: opacity .14s, transform .14s; z-index: 60; box-shadow: var(--sh-md);
}
.tip:hover .tip-bub { opacity: 1; transform: translateX(-50%) translateY(0); }
.tip .tip-bub::before { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom-color: var(--n-900); }
.tip.start .tip-bub { left: -6px; transform: translateY(-3px); } .tip.start:hover .tip-bub { transform: translateY(0); }
.tip.start .tip-bub::before { left: 16px; }
.tip.end .tip-bub { left: auto; right: -6px; transform: translateY(-3px); } .tip.end:hover .tip-bub { transform: translateY(0); }
.tip.end .tip-bub::before { left: auto; right: 16px; }

/* ---------- TRANSCRIPTION IQ STATES ---------- */
.iq { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.iq .iq-ic { display: inline-flex; flex: 0 0 auto; }
.iq.processing { color: var(--brand); } .iq.processing .iq-ic { color: var(--brand); }
.iq.risk { color: var(--danger); } .iq.risk .iq-ic { color: var(--danger); }
.iq.complete { color: var(--n-600); } .iq.complete .iq-ic { color: var(--success); }
.iq .spinner { width: 14px; height: 14px; border-width: 2px; }

.iq-legend { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.iq-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.iq-legend .lg .iq-ic { display: inline-flex; }
.iq-legend .lg.processing .iq-ic { color: var(--brand); }
.iq-legend .lg.risk .iq-ic { color: var(--danger); }
.iq-legend .lg.complete .iq-ic { color: var(--success); }
.iq-legend .lg .spinner { width: 12px; height: 12px; border-width: 2px; }

/* ---------- MONITOR TABLE CELLS ---------- */
.dt { display: inline-flex; flex-direction: column; line-height: 1.3; }
.dt .d { font-weight: 600; color: var(--ink); }
.dt .t { font-size: 12px; color: var(--muted); margin-top: 1px; }
.agent-id { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.ph { font-variant-numeric: tabular-nums; color: var(--n-700); }
.coaches-n { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.coaches-n.zero { color: var(--n-400); font-weight: 500; }

/* ---------- LIVE CHIP (page head) ---------- */
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(0,184,212,.10); color: #0b8ca3; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------- MODAL ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; animation: ov-in .18s ease;
}
@keyframes ov-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.20);
  width: 100%; max-width: 720px;
  padding: 32px 36px 36px;
  animation: modal-in .22s cubic-bezier(.2,.7,.3,1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--n-400);
  border-radius: var(--r-sm); cursor: pointer; transition: background .12s, color .12s;
}
.modal-close:hover { background: var(--n-100); color: var(--n-700); }
.modal-close:focus-visible { outline: none; box-shadow: var(--ring); color: var(--n-700); }

.modal-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 26px; }
.modal-mascot {
  width: 92px; height: 92px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #eaf1ff 0%, #f4f7fb 70%);
  border: 1px solid var(--hairline);
}
.modal-mascot img { width: 76px; height: auto; filter: drop-shadow(0 6px 10px rgba(29,37,64,.16)); }
.modal-head h1 { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.modal-head .modal-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice-card {
  display: flex; flex-direction: column;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.choice-card:hover { border-color: var(--blue-300); box-shadow: var(--sh-md); transform: translateY(-2px); }
.choice-ic {
  width: 40px; height: 40px; border-radius: var(--r-md); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand);
}
.choice-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.choice-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-bottom: 20px; }
.choice-cta { margin-top: auto; }
.choice-cta .btn { width: 100%; }

@media (max-width: 620px) {
  .choice-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 22px 28px; }
}

/* ---------- ANALYTICS: page-head filters ---------- */
.analytics-filters { display: flex; flex-direction: column; gap: 9px; align-items: stretch; min-width: 320px; }
.af-row { display: flex; gap: 8px; }
.af-row .control { flex: 1 1 auto; }
.af-input { height: 40px; }

/* ---------- ANALYTICS: KPI cards ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 17px 18px; box-shadow: var(--sh-sm); }
.kpi .k-label { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kpi .k-label .ic { color: var(--n-400); display: flex; }
.kpi .k-val { font-family: var(--font-display); font-size: 29px; font-weight: 600; letter-spacing: -0.02em; margin-top: 9px; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi .k-delta { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.kpi .k-delta .ar { display: flex; }
.k-delta.up { color: var(--success); } .k-delta.down { color: var(--danger); } .k-delta.flat { color: var(--muted); }
.kpi .k-since { color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 3px; }

/* ---------- ANALYTICS: tab sections ---------- */
.tab-section { margin-bottom: 20px; }
.tab-section:last-child { margin-bottom: 0; }
.ts-head { margin-bottom: 12px; }
.ts-head h2 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ts-head .ts-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- ANALYTICS: chart card ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 20px 22px 16px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 4px; }
.chart-head h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.chart-head .chart-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; max-width: 440px; }
.chart-legend { display: flex; gap: 16px; flex-shrink: 0; padding-top: 2px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--n-700); white-space: nowrap; }
.legend-swatch { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.chart-wrap { position: relative; margin-top: 12px; }
.chart-wrap svg { display: block; width: 100%; height: auto; }
.chart-axis-label { fill: var(--n-500); font-family: var(--font-sans); font-size: 11px; font-weight: 500; }
.chart-axis-title { fill: var(--n-500); font-family: var(--font-sans); font-size: 11px; font-weight: 600; }
.chart-hit { fill: transparent; cursor: pointer; }
.chart-vline { stroke: var(--n-300); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); background: var(--n-900); color: #fff; padding: 8px 11px; border-radius: 8px; font-size: 12px; white-space: nowrap; pointer-events: none; box-shadow: var(--sh-md); z-index: 5; }
.chart-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--n-900); }
.chart-tip .tip-d { color: #9aa6bd; font-size: 11px; font-weight: 600; margin-bottom: 5px; }
.chart-tip .tip-row { display: flex; align-items: center; gap: 7px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tip .tip-row + .tip-row { margin-top: 3px; }
.chart-tip .tip-sw { width: 9px; height: 9px; border-radius: 2px; flex: 0 0 auto; }

/* ---------- ANALYTICS: empty-state guard for short tabs ---------- */
.tab-pane { opacity: 1; }

@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 1024px) {
  .shell { grid-template-columns: 64px 1fr; }
  .sidebar .wordmark { font-size: 0; }
  .sidebar .wordmark::before { content: "ai"; font-size: 20px; font-family: var(--font-wordmark); font-weight: 700; }
  .nav-item span.lbl { display: none; }
  .usermenu .uname, .switcher .acct-kicker { display: none; }
}
