.side nav { overflow: auto; }
/* Product switcher lives in the top bar (theme → tabs → search). */
.top {
  height: var(--reasoned-topbar-height);
  min-height: var(--reasoned-topbar-height);
  align-items: center;
}
.product-tabs {
  display: grid;
  grid-template-columns: repeat(10, 120px);
  grid-template-rows: 40px;
  gap: 0;
  flex: none;
  width: 1200px;
  max-width: none;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.product-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  padding: 7px 6px;
  box-sizing: border-box;
}
.product-tabs button:last-child { border-right: 0; }
.product-tabs button svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-tabs button span {
  min-width: 0;
  flex: 0 1 auto;
  overflow: visible;
  white-space: nowrap;
}
.product-tabs button[aria-pressed="true"] { background: var(--hover); color: var(--accent); }
.product-tabs button:hover { background: var(--hover); }
.product-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; z-index: 1; }
.nav-audit {
  flex: none;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.nav-audit-incomplete, .live a.nav-audit-incomplete { color: #ef4444; }
.nav-audit-unreviewed, .live a.nav-audit-unreviewed { color: #f59e0b; }
@media (max-width: 900px) {
  .side nav a span.nav-audit {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}
.nav-label { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 8px); margin: 12px 4px 4px; padding: 4px 6px; border: 0; background: transparent; font: inherit; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); cursor: pointer; text-align: left; }
.nav-label:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 12px; }
.filters > label { display: block; flex: 0 0 auto; margin: 0; min-width: 0; }
.filters input:not([type="checkbox"]), .filters select {
  display: block;
  width: 220px;
  max-width: 100%;
  min-width: 140px;
  flex: none;
  box-sizing: border-box;
}
.filters select { width: 160px; }
.filters .check { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; flex: 0 0 auto; color: var(--text); white-space: nowrap; }
.filters .check input[type="checkbox"] { width: auto; min-width: 0; flex: none; margin: 0; }
/* Shared dense list rows — Ads/Coach grammar for every admin list. */
.admin-line,
.ad-line, .coach-line, .tag-line, .role-line, .team-line,
.rev-line, .evt-line, .comp-line, .hear-line, .stu-line, .hi-line {
  display: grid;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.admin-line.head,
.ad-line.head, .coach-line.head, .tag-line.head, .role-line.head, .team-line.head,
.rev-line.head, .evt-line.head, .comp-line.head, .hear-line.head, .stu-line.head, .hi-line.head {
  min-height: 32px;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--muted);
}
.admin-line.head > *,
.ad-line.head > *, .coach-line.head > *, .tag-line.head > *, .role-line.head > *, .team-line.head > *,
.rev-line.head > *, .evt-line.head > *, .comp-line.head > *, .hear-line.head > *, .stu-line.head > *,
.hi-line.head > * {
  font-size: 12px;
  font-weight: 600;
}
.admin-line .who, .ad-line .who, .ad-line .company, .coach-line .who,
.tag-line .who, .role-line .who, .role-line .id, .team-line .who,
.rev-line .who, .evt-line .who, .comp-line .who, .stu-line .who,
.comp-line > div, .hi-line .who {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hi-line { grid-template-columns: auto minmax(120px, 1fr) max-content; }
.hi-line img.thumb, .hi-line span.thumb, .hi-result img.thumb {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: var(--hover);
}
.hi-line .hi-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.hi-result {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hi-result img.thumb { max-width: 320px; max-height: 160px; }
.hi-result .hi-url-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hi-result .hi-url-row input[type="text"] {
  flex: 1 1 220px;
  min-width: 0;
}

.hi-libs, .hi-folders {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.hi-lib, .hi-folder {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 36px;
  cursor: pointer;
  font: inherit;
}
.hi-lib:hover, .hi-folder:hover { background: var(--hover); }
.hi-lib.is-active, .hi-folder.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.ad-line { grid-template-columns: 28px 28px 72px 20ch 26ch 12ch 7rem 46ch 12ch; }
.ad-line[data-ad], .coach-line[data-coach-id] { cursor: grab; }
.ad-line.is-drag, .coach-line.is-drag { opacity: 0.55; }
.ad-line.is-over, .coach-line.is-over { outline: 1px solid var(--accent); }
.ad-place { color: var(--muted); font-variant-numeric: tabular-nums; }
.ad-handle { cursor: grab; color: var(--muted); user-select: none; letter-spacing: -1px; }
.ad-line .ad-stats { white-space: nowrap; }
.ad-line img.thumb, .ad-line span.thumb { width: 72px; height: 40px; max-width: 72px; max-height: 40px; object-fit: cover; display: block; border-radius: 6px; background: var(--hover); }
.coach-line { grid-template-columns: 28px 28px minmax(12ch, 1.6fr) 12ch 12ch 12ch 10ch; }
.coach-file-label { cursor: pointer; display: inline-flex; align-items: center; }
.tag-line { grid-template-columns: minmax(160px, 1fr) 88px; }
.tag-line[data-tag] { cursor: pointer; }
.tag-swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: -2px; background: var(--hover); }
/* Fixed tracks — each .role-line is its own grid; max-content col1 made head Id drift left of body ids. */
.role-line { grid-template-columns: 4.75rem 18ch 18ch 4.5rem max-content; width: max-content; max-width: 100%; }
.role-line .edit { padding: 0; }
.role-line .edit button, .team-line .actions button { padding: 4px 8px; }
.role-line .id, .comp-line--open-access > .id { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.team-line { grid-template-columns: minmax(180px, 1.4fr) 8ch 10ch 8ch 12ch max-content; }
.team-line .actions { display: flex; align-items: center; gap: 8px; padding: 0; }
.rev-line { grid-template-columns: 12ch minmax(140px, 1fr) minmax(160px, 1.4fr) 10ch 12ch; }
.evt-line { grid-template-columns: minmax(140px, 1.4fr) 12ch 12ch 10ch minmax(120px, 1fr); }
/* Landing schedule: short date cells. Compete joinable list uses .comp-line--joinable below. */
.comp-line { grid-template-columns: minmax(140px, 1.6fr) 6ch 10ch 12ch 12ch 10ch; }
.comp-line[data-comp] { cursor: pointer; }
/* 5-col detail boards — Rank | Name | Email | Score | Equity. */
.comp-line--board {
  grid-template-columns: 5ch minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
}
.comp-board-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}
.comp-board-btn {
  appearance: none;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.comp-board-btn:hover {
  background: var(--hover);
  color: var(--text);
}
.comp-board-btn.is-active {
  border-color: var(--accent);
  background: var(--hover);
  color: var(--accent);
}
.comp-board-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Content-sized tracks (same shape as .role-line). */
.comp-line--open-access {
  grid-template-columns: minmax(10rem, 18rem) max-content 8ch 10ch 10ch 6ch max-content;
  width: max-content;
  max-width: 100%;
  column-gap: 16px;
}
.comp-line--open-access-sessions {
  grid-template-columns: minmax(12rem, 18rem) 7ch max-content 8ch 10ch 10ch max-content;
  width: max-content;
  max-width: 100%;
  column-gap: 16px;
}
.comp-line--open-access > .id,
.comp-line--open-access-sessions > .id {
  overflow: visible;
  text-overflow: unset;
}
.oa-user-row:hover {
  background: var(--hover);
}
/*
 * Fixed tracks (same idea as .role-line): each .comp-line is its own grid, so
 * max-content on Actions made the head row narrower than body rows and shifted
 * Start/End/Prize/Initial params off their titles.
 */
.comp-line--joinable,
.comp-line.head.comp-line--joinable {
  grid-template-columns:
    4.5rem
    minmax(12rem, 16rem)
    8ch
    11.5rem
    11.5rem
    9rem
    12rem
    22rem;
  width: max-content;
  max-width: 100%;
  column-gap: 12px;
}
.comp-line--joinable > .comp-params {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  text-overflow: unset;
  font-size: 12px;
}
.comp-line--joinable > .comp-actions {
  overflow: visible;
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
}
.comp-line--joinable > .comp-actions .row {
  margin: 0;
  flex-wrap: wrap;
  gap: 4px;
}
/* Competition create: TradeLocker asset-class instrument picker */
.inst-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0 12px;
  background: var(--panel, transparent);
}
.inst-picker__tree {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 6px;
}
.inst-picker__group { border-bottom: 1px solid var(--line); }
.inst-picker__group:last-child { border-bottom: 0; }
.inst-picker__summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.inst-picker__summary::-webkit-details-marker { display: none; }
.inst-picker__summary::before {
  content: "▸";
  color: var(--muted);
  width: 1ch;
}
.inst-picker__group[open] > .inst-picker__summary::before { content: "▾"; }
.inst-picker__class-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
}
.inst-picker__symbols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 4px 10px;
  padding: 0 8px 10px 1.5rem;
}
.inst-picker__sym {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}
.inst-picker__note {
  margin: 0 8px 8px 1.5rem;
  font-size: 12px;
  line-height: 1.35;
}
.inst-picker__group--uncategorised {
  background: color-mix(in srgb, var(--warn, #b45309) 8%, transparent);
  border-radius: 4px;
}
.hear-line { grid-template-columns: minmax(120px, 1fr) 72px minmax(80px, 1.4fr); }
.stu-line { grid-template-columns: minmax(140px, 1.2fr) minmax(180px, 1.6fr) 88px 120px 96px 72px 120px; min-width: 860px; }
.stu-line.head button { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
/* display:contents lists — same row/head heights as .admin-line */
.educators { display: grid; grid-template-columns: minmax(200px, 240px) minmax(160px, 1fr) max-content 88px 112px; width: 100%; }
.educators .edu-line { display: contents; }
.educators .edu-line > * { min-height: 56px; height: 56px; box-sizing: border-box; display: flex; align-items: center; padding: 0 8px; border-bottom: 1px solid var(--line); }
.educators .edu-line.head > * { min-height: 32px; height: 32px; color: var(--muted); font-size: 12px; font-weight: 600; }
.educators .edu-line.row { cursor: pointer; }
.educators .who { gap: 10px; overflow: hidden; }
.educators .who span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.educators .edu-line.row > .role { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 56px; }
.educators .edu-line.head > .role { display: flex; line-height: normal; }
.accounts .acct-line:not(.head) > .user,
.accounts .acct-line:not(.head) > .uni { line-height: 56px; }
.accounts .acct-line.head > .user,
.accounts .acct-line.head > .uni { line-height: normal; }
.educators .mail, .educators .mail a { white-space: nowrap; }
.educators .status { justify-content: flex-end; }
.educators img.avatar, .educators span.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--hover); display: block; }
/* Uni capped to "Nottingham Trent University" (27ch); longer names ellipsis via .uni */
.accounts { display: grid; grid-template-columns: 56px minmax(140px, 180px) max-content minmax(88px, 140px) 64px 104px 80px 72px 27ch max-content 22ch; width: 100%; }
.accounts .acct-line { display: contents; }
.accounts .acct-line > * { min-height: 56px; height: 56px; box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; padding: 0 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.accounts .head > * { min-height: 32px; height: 32px; color: var(--muted); font-size: 12px; font-weight: 600; }
.accounts .head button { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; white-space: nowrap; cursor: pointer; }
.accounts .name { min-width: 0; overflow: hidden; gap: 6px; }
.accounts .name a { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.accounts .name .pill { flex: none; height: 18px; padding: 0 6px; font-size: 11px; }
.accounts .acct-line > .user,
.accounts .acct-line > .uni { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.accounts .head > .user,
.accounts .head > .uni { display: flex; align-items: center; }
.accounts .plan, .accounts .role, .accounts .signup { overflow: hidden; }
.accounts .edit { padding-left: 0; padding-right: 0; }
.accounts .edit a, .accounts .edit button { padding: 4px 8px; }
/* Competition participants — same display:contents row pattern as .accounts */
.comp-parts { display: grid; grid-template-columns: 72px minmax(160px, 1.4fr) 10ch minmax(110px, 1fr) 12ch 12ch; width: 100%; overflow-x: auto; }
.comp-parts .acct-line { display: contents; }
.comp-parts .acct-line > * { min-height: 56px; height: 56px; box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; padding: 0 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.comp-parts .head > * { min-height: 32px; height: 32px; color: var(--muted); font-size: 12px; font-weight: 600; }
.comp-parts .name { min-width: 0; overflow: hidden; gap: 6px; }
.comp-parts .name span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.comp-parts .name .muted { flex: none; color: var(--muted); font-size: 12px; }
.comp-parts .acct-line > .account,
.comp-parts .acct-line:not(.head) > .account { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 56px; }
.comp-parts .head > .account { display: flex; line-height: normal; }
.comp-parts .edit { padding-left: 0; padding-right: 0; }
.comp-parts .edit button { padding: 4px 8px; }
.comp-parts .equity { font-variant-numeric: tabular-nums; }
.comp-parts .acct-line.is-hidden > * { display: none; }
.gw-list { display: grid; grid-template-columns: max-content max-content 5.5rem max-content; column-gap: 8px; width: max-content; max-width: 100%; }
.gw-line { display: contents; color: var(--text); }
.gw-line > * { min-height: 56px; box-sizing: border-box; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0 4px; }
.gw-line.head > * { min-height: 32px; color: var(--muted); font-size: 12px; font-weight: 600; }
.gw-line .gw-count { font-variant-numeric: tabular-nums; }
.gw-line .who { display: block; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gw-line .who:hover { color: var(--accent); }
.gw-line .who:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.audit-list { display: grid; grid-template-columns: 2.5rem 15ch 22ch 7ch 12ch 15ch 22ch minmax(14ch, 1fr); column-gap: 8px; width: 100%; }
.audit-line { display: contents; color: var(--text); }
.audit-line > * { min-height: 56px; box-sizing: border-box; display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-bottom: 1px solid var(--line); padding: 0 4px; }
.audit-line.head > * { min-height: 32px; color: var(--muted); font-size: 12px; font-weight: 600; }
.audit-line .ad-place { font-variant-numeric: tabular-nums; color: var(--muted); }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.on { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.pill.off { background: var(--hover); color: var(--muted); }
.admin-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.72); }
.admin-modal[hidden] { display: none; }
.admin-modal-card { width: min(720px, 100%); max-height: min(92vh, 900px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.edu-form, .ad-form { display: grid; gap: 10px; }
.edu-form label, .ad-form label { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
.edu-form label:has(input[type="checkbox"]), .ad-form label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 8px; color: var(--text); }
.edu-form .cms-ie-thumb { width: 72px; height: 72px; border-radius: 50%; }
.ad-block { margin: 8px 0 18px; }
.ad-form .cms-ie-thumb { width: 128px; height: 72px; border-radius: 6px; object-fit: cover; }
/* HTML tables in the shell match dense row heights */
.view .table-scroll table th,
.view .table-scroll table td,
.view .gw-table table th,
.view .gw-table table td,
.pane .table-scroll table th,
.pane .table-scroll table td {
  height: 56px;
  padding: 0 8px;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  font-size: inherit;
  font-weight: 400;
}
.view .table-scroll table th,
.view .gw-table table th,
.pane .table-scroll table th {
  height: 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* University review actions — keep td as table-cell; flex the inner wrap only */
.pane .table-scroll table td .uni-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.soc-chart-title { margin: 16px 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
#soc-overview table tbody tr[data-soc-id] { cursor: pointer; }
.soc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 1.1fr); gap: 16px 20px; align-items: start; margin-bottom: 8px; }
.soc-top__main { min-width: 0; }
.soc-top__chart { min-width: 0; }
.soc-top__chart .soc-chart-title { margin-top: 0; }
.soc-chart { width: 100%; height: 220px; color: var(--muted); display: block; }
.soc-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 200px)); gap: 10px; margin: 12px 0 0; }
.soc-metric { background: var(--hover); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
a.soc-metric { color: inherit; text-decoration: none; }
a.soc-metric:hover { border-color: var(--accent); }
.soc-metrics + .filters { margin-top: 10px; }
.soc-metric span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.soc-metric b { display: block; font-size: 22px; line-height: 1.2; }
.soc-metric small { display: block; margin-top: 6px; color: var(--muted); }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin: 16px 0; }
.ov-grid.ov-charts { grid-template-columns: 1fr 1fr; }
.ov-card { background: var(--hover); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ov-card h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ov-card .soc-chart-title { margin: 0 0 12px; }
.ov-funnel { display: grid; gap: 8px; }
.ov-funnel-row { display: grid; grid-template-columns: minmax(120px, 160px) 1fr max-content; gap: 8px; align-items: center; font-size: 13px; }
.ov-funnel-bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, transparent); overflow: hidden; }
.ov-funnel-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.ov-activity { max-height: 300px; overflow: auto; }
.ov-activity .row-item { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.notif-line { display: grid; grid-template-columns: minmax(200px, 1.6fr) 56px 56px 56px; gap: 8px; align-items: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.notif-line.head { min-height: 32px; padding-top: 0; padding-bottom: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.notif-line .who { min-width: 0; display: grid; gap: 2px; }
.notif-line .who strong { font-weight: 600; }
.notif-line .who small, .notif-line .who code { display: block; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notif-line .chk { display: flex; justify-content: center; }
.notif-line .chk input { width: auto; min-width: 0; margin: 0; }
.notif-group { margin-top: 14px; margin-bottom: 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hear-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); overflow: hidden; }
.hear-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
@media (max-width: 900px) {
  .ov-grid, .soc-top { grid-template-columns: 1fr; }
}
button[data-soc-win][aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.stu { overflow-x: auto; }
.gw-card { width: min(960px, 100%); }
.gw-table { overflow-x: auto; }
.gw-table table { width: max-content; min-width: 100%; border-collapse: collapse; }
.perm-pick { display: grid; gap: 12px; }
.perm-mod { display: grid; gap: 6px; }
.perm-mod h3 { margin: 8px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.perm-pick label { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-size: 13px; }
.ad-form fieldset.perm-pick { border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: 10px 12px; }
.ad-form fieldset.perm-pick legend { padding: 0 4px; color: var(--muted); font-size: 13px; }
.perm-pick label span { color: var(--muted); }
.edu-detail code { font-size: 13px; }
@media (max-width: 767px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); z-index: 6; }
  .side.open { display: flex; }
  .menu { display: inline-flex; }
}
