:root {
  --brand: #57c1ac;
  --brand-deep: #1f7a68;
  --brand-ink: #143f38;
  --brand-soft: rgba(87, 193, 172, .18);
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .82);
  --glass-shadow: 0 10px 30px rgba(20, 63, 56, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  --ink: #1c3330;
  --muted: #5d7570;
  --line: rgba(20, 63, 56, .08);
  --danger: #c43838;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 180ms;
  --dur-slow: 320ms;
  --sidebar-w: 248px;
  --topbar-h: 60px;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100vh; }
body {
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 70% 45% at 0% -10%, rgba(87, 193, 172, .48), transparent 58%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(176, 226, 216, .7), transparent 52%),
    radial-gradient(ellipse 40% 35% at 80% 110%, rgba(31, 122, 104, .16), transparent 50%),
    linear-gradient(180deg, #f3faf8 0%, #e5f2ee 100%);
  background-attachment: fixed;
}
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
}

.auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.auth-box { width: 100%; max-width: 24rem; }
.auth-brand { text-align: center; margin-bottom: 22px; }
.auth-brand b {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--brand-deep);
}
.auth-brand p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.card {
  border-radius: 28px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
}
.card-pad { padding: 22px 22px 20px; }
.u-stack { display: grid; gap: 14px; margin-top: 18px; }
.ops-page-title { font-size: 22px; font-weight: 650; letter-spacing: -.03em; color: var(--brand-ink); }
.ops-page-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.btn:hover { filter: brightness(1.03); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(87, 193, 172, .35); }
.btn-primary {
  color: #fff;
  background: var(--brand-deep);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(31, 122, 104, .2);
}
.btn-primary:hover { filter: brightness(1.05); color: #fff; }
.btn-primary:active { filter: brightness(.97); }
.btn-secondary {
  background: rgba(255, 255, 255, .46);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 2px rgba(20, 63, 56, .05);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(87, 193, 172, .55);
  box-shadow: 0 6px 16px rgba(31, 122, 104, .12);
}
.btn-sm { height: 32px; padding-inline: 12px; font-size: 12px; }
.btn-block { display: flex; width: 100%; height: 44px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field > label { font-size: 12px; font-weight: 600; color: var(--muted); }
.input, .field input, .field select, .table-wrap input {
  height: 42px;
  width: 100%;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .62);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field select, select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-deep) 50%),
    linear-gradient(135deg, var(--brand-deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.input:hover, .field input:hover, .field select:hover { background: rgba(255, 255, 255, .82); }
.input:focus, .field input:focus, .field select:focus, .table-wrap input:focus {
  outline: none;
  border-color: rgba(87, 193, 172, .9);
  box-shadow: 0 0 0 4px rgba(87, 193, 172, .22), inset 0 1px 0 #fff;
  background: rgba(255, 255, 255, .9);
}

.alert {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
}
.alert-danger { background: rgba(253, 238, 238, .85); color: #8f2121; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 63, 56, .14);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}
.tag-mint { background: #fff; color: var(--brand-ink); border-color: rgba(31, 122, 104, .35); }
.tag-danger { background: rgba(196, 56, 56, .12); color: #8f2121; border-color: rgba(196, 56, 56, .2); }

.ops-root { min-height: 100vh; }
.route-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 600; height: 2px; pointer-events: none; }
.route-progress-bar {
  display: block; height: 100%; width: 36%;
  background: linear-gradient(90deg, transparent, var(--brand), #fff);
  animation: route-progress 1.1s var(--ease) infinite;
}
@keyframes route-progress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.ops-topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, .5);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 -1px 0 rgba(20, 63, 56, .04);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
}
.ops-topbar__brand { font-weight: 700; letter-spacing: -.03em; font-size: 17px; color: var(--brand-deep); }
.ops-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; font-size: 13px; color: var(--muted); }
.ops-crumb b { color: var(--brand-ink); font-weight: 600; }
.ops-crumb i { font-style: normal; opacity: .4; }
.ops-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ops-topbar__mail { font-size: 12px; color: var(--muted); }
.ops-nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .45);
  color: var(--brand-deep);
  cursor: pointer;
}
.ops-nav-toggle:hover, .ops-nav-toggle[aria-pressed="true"] { background: rgba(87, 193, 172, .2); }

.ops-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  min-height: calc(100vh - var(--topbar-h));
  align-items: start;
  transition: grid-template-columns var(--dur-slow) var(--ease);
}
.ops-shell.is-nav-collapsed { grid-template-columns: 0 minmax(0, 1fr); gap: 0; }
.ops-sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + 14px);
  height: calc(100vh - var(--topbar-h) - 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 10px;
  overflow: auto;
  border-radius: 26px;
  background: rgba(255, 255, 255, .46);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
}
.ops-shell.is-nav-collapsed .ops-sidebar { overflow: hidden; padding: 0; border-color: transparent; box-shadow: none; }
.sidenav-group { display: flex; flex-direction: column; gap: 2px; }
.sidenav-label {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d9792;
}
.sidenav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  line-height: 1.35;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sidenav-item:hover { background: rgba(87, 193, 172, .14); }
.sidenav-item.is-active {
  background: rgba(255, 255, 255, .82);
  color: var(--brand-deep);
  font-weight: 650;
  box-shadow: 0 4px 12px rgba(20, 63, 56, .06);
}
.sidenav-item.is-active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(87, 193, 172, .25);
  flex: none;
}
.ops-userbox {
  margin-top: auto;
  padding: 12px 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-top: 1px solid rgba(20, 63, 56, .08);
}
.ops-userbox b { font-size: 14px; font-weight: 650; }
.ops-userbox span { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

.ops-main { min-width: 0; padding: 6px 8px 48px; }
.ops-page { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ops-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.page-motion { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.page-motion.is-ready { opacity: 1; transform: none; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.5);
  transition: transform var(--dur) var(--ease);
}
.metric::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(20, 63, 56, .12);
}
.metric[data-tone="mint"] { --tone: var(--brand-deep); }
.metric[data-tone="danger"] { --tone: var(--danger); }
.metric[data-tone]::before { background: var(--tone); }
.metric:hover { transform: translateY(-2px); }
.metric span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--brand-ink);
}
.metric[data-tone] strong { color: var(--tone, var(--brand-ink)); }

.ops-page > form:not(.toolbar) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.4);
}
.toolbar,
.form-grid,
.ops-page > form.form-grid {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  align-items: end;
}
.ops-page > form > .toolbar {
  width: 100%;
  align-items: center;
  gap: 16px;
}
.ops-page > form > .toolbar .btn { flex: 0 0 auto; margin: 0; }
.ops-page > form.toolbar {
  flex-flow: row wrap;
  align-items: end;
  justify-content: flex-start;
}
.ops-page > form.toolbar .field { flex: 0 0 auto; width: 168px; }
.ops-page > form.toolbar .field.short { width: 96px; }
.ops-page > form.toolbar .field.grow { width: auto; flex: 1 1 200px; max-width: 280px; }
.ops-page > form.toolbar .field:has(input[type="date"]) { width: 172px; }
.ops-page > form.toolbar .btn { flex: 0 0 auto; width: auto; align-self: end; }
.field:has(input[type="date"]) { min-width: 172px; }
.line .field:has(input[type="date"]) { width: 172px; }
.date-wrap { position: relative; display: block; width: 100%; }
.date-wrap .date-text { padding-right: 38px; }
.date-wrap .date-text.is-bad { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(196, 56, 56, .15); }
.date-wrap input[type="date"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.date-open {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f7a68' stroke-width='1.4'%3E%3Crect x='2' y='3' width='12' height='11' rx='2'/%3E%3Cpath d='M2 6.5h12M5 2v2M11 2v2'/%3E%3C/svg%3E");
  cursor: pointer;
}
.date-open:hover { background-color: rgba(87, 193, 172, .16); }
.date-pop {
  position: fixed;
  z-index: 800;
  width: 292px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 18px 40px rgba(20, 63, 56, .16), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
}
.date-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.date-pop-title { font-size: 15px; font-weight: 650; letter-spacing: -.02em; color: var(--brand-ink); }
.date-nav {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--brand-deep);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.date-nav:hover { background: rgba(87, 193, 172, .18); }
.date-week, .date-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.date-week span {
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  color: #7d9792;
  padding: 4px 0 8px;
}
.date-day {
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--brand-ink);
  font-weight: 550;
  cursor: pointer;
}
.date-day:hover { background: rgba(87, 193, 172, .16); }
.date-day.is-muted { color: #a9bcb7; }
.date-day.is-today { box-shadow: inset 0 0 0 1.5px var(--brand); }
.date-day.is-selected {
  background: var(--brand-deep);
  color: #fff;
}
.date-pop-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.select-wrap { position: relative; display: inline-block; vertical-align: middle; min-width: 180px; max-width: 100%; }
.field > .select-wrap { display: block; width: 100%; }
.select-wrap select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.select-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .62);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px);
  cursor: pointer;
  text-align: left;
}
.select-face span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-face i {
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 1.6px solid var(--brand-deep);
  border-bottom: 1.6px solid var(--brand-deep);
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
.select-face.is-open i { transform: rotate(225deg) translateY(-1px); }
.select-face:hover { background: rgba(255, 255, 255, .82); }
.select-face:focus {
  outline: none;
  border-color: rgba(87, 193, 172, .9);
  box-shadow: 0 0 0 4px rgba(87, 193, 172, .22), inset 0 1px 0 #fff;
  background: rgba(255, 255, 255, .9);
}
.select-face:disabled { opacity: .55; cursor: default; }
.select-pop {
  position: fixed;
  z-index: 820;
  max-height: min(640px, calc(100vh - 24px));
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 122, 104, .4) transparent;
  overflow: auto;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px rgba(20, 63, 56, .16), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
}
.select-option {
  display: block;
  width: max-content;
  min-width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brand-ink);
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.select-option:hover { background: rgba(87, 193, 172, .16); }
.select-option.is-selected,
.select-option.is-selected:hover { background: var(--brand-deep); color: #fff; }
.select-option:disabled { color: #a9bcb7; cursor: default; background: transparent; }
.field.grow { flex: 1 1 220px; }
.field.num, .field.short { width: 140px; }
.line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
}
.line .field { width: 120px; }
.line .field:nth-child(3) { width: 150px; }

.table-wrap {
  overflow: auto;
  max-width: 100%;
  border-radius: 22px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.4);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; background: transparent; }
th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6d8782;
  background: rgba(243, 250, 248, .92);
  border-bottom: 1px solid rgba(20, 63, 56, .08);
  white-space: nowrap;
}
td { padding: 10px 12px; border-bottom: 1px solid rgba(20, 63, 56, .06); vertical-align: middle; background: transparent; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--dur) var(--ease); }
tbody tr:hover td { background: rgba(87, 193, 172, .08); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 88px; }
td:first-child { white-space: nowrap; }
.export-pair { display: inline-flex; gap: 8px; align-items: center; }
.ops-page > .toolbar {
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.4);
}
tr.parent td { font-weight: 650; color: var(--brand-ink); background: rgba(87, 193, 172, .08); }
tr.child td:first-child { padding-left: 22px; }
td .muted { display: block; margin-top: 1px; }
.u-hint, .muted { color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; text-transform: none; }
h3 { margin: 8px 0; font-size: 15px; font-weight: 650; color: var(--brand-ink); }

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 600;
  min-width: 260px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 16px;
  color: #fff;
  background: rgba(20, 63, 56, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 12px 30px rgba(20, 63, 56, .25);
  backdrop-filter: blur(16px);
  font-size: 14px;
}
.toast-enter { animation: toast-in 320ms var(--ease) both; }
@keyframes toast-in {
  from { opacity: 0; transform: translate3d(8px, 12px, 0) scale(.98); }
  to { opacity: 1; transform: none; }
}
pre { white-space: pre-wrap; font-size: 12px; }

@media (max-width: 900px) {
  .ops-shell, .ops-shell.is-nav-collapsed { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .ops-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-radius: 18px;
  }
  .ops-userbox, .sidenav-label { display: none; }
  .sidenav-group { flex-direction: row; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .ops-crumb { display: none; }
  .ops-main { padding: 0 0 40px; }
}
.auth-switch { margin-top: 14px; text-align: center; }
.auth-switch button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.alert-ok { background: rgba(232, 246, 242, .92); color: #1f7a68; }
.matrix { min-width: 920px; }
.matrix th, .matrix td { text-align: center; white-space: nowrap; vertical-align: middle; }
.matrix td:first-child, .matrix th:first-child {
  text-align: left;
  min-width: 220px;
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(243, 250, 248, .96);
}
.matrix th:first-child { z-index: 3; }
.letter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 2px 4px;
  font-size: 12px;
  font-weight: 600;
}
.letter input { accent-color: var(--brand-deep); }
.guide-chapter { margin-bottom: 10px; }
.guide-chapter summary { cursor: pointer; font-weight: 600; }
.guide-body p { margin: 10px 0; }
.guide-body ul { margin: 8px 0 12px; padding-left: 18px; }
.guide-body li { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .page-motion, .btn, .sidenav-item, .metric, .route-progress-bar, .toast-enter, tbody tr {
    animation: none;
    transition: none;
    transform: none;
  }
  .page-motion { opacity: 1; }
}
