@font-face {
  font-family: "Golos Text";
  src: url("/static/fonts/GolosText-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  font-size: 15px;
  color-scheme: light;
  --ink: #111111;
  --paper: #ffffff;
  --canvas: #f6f6f4;
  --muted: #62625e;
  --line: #deded8;
  --yellow: #f5d336;
  --yellow-hover: #e8c31c;
  --yellow-soft: #fff8d8;
  --font: "Golos Text", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
a { color: var(--ink); text-decoration-color: #a08400; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea, a { outline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 3px solid #a08400; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 33px; line-height: 1.15; letter-spacing: -1.1px; font-weight: 650; }
h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.5px; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.mono { font-variant-numeric: tabular-nums; }
code, pre { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 15px; letter-spacing: .08em; font-weight: 600; margin-bottom: 14px; }

/* Navigation and working surface. */
.app { min-height: 100dvh; display: grid; grid-template-columns: 296px minmax(0, 1fr); }
.sidebar {
  background: var(--ink);
  color: #d2d2cc;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  padding: 32px 18px 20px;
  display: flex;
  flex-direction: column;
}
.brand, .auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand { padding: 0 12px; margin-bottom: 48px; }
.brand-mark { color: var(--yellow); font-size: 37px; line-height: 1; font-weight: 750; letter-spacing: -5px; padding-right: 5px; }
.brand-light { font-weight: 400; color: #c3c3bc; }
.nav-caption { font-size: 15px; line-height: 1.5; letter-spacing: .04em; color: #b2b2a8; padding: 0 14px; margin-bottom: 14px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  color: #c8c8c0;
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  min-height: 50px;
  border-radius: 6px;
  font-size: 15px;
  transition: background .16s, color .16s;
  margin: 4px 0;
}
.nav-item:hover { background: #292925; color: var(--paper); }
.nav-item.active { color: var(--ink); background: var(--yellow); font-weight: 550; }
.nav-count { margin-left: auto; background: #11111112; border-radius: 4px; padding: 1px 7px; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.nav-divider { height: 1px; background: #363632; margin: 22px 12px; flex-shrink: 0; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.worker-status { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #ebebe6; padding: 0 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.dot.waiting { background: var(--yellow); }
.worker-status .dot { background: var(--yellow); }
.worker-status .dot.waiting { background: transparent; border: 1px solid var(--yellow); }
.sidebar-bottom > p { font-size: 15px; color: #b2b2a8; margin: 7px 0 24px 29px; }
.account { display: flex; align-items: center; gap: 10px; border-top: 1px solid #363632; padding: 20px 10px 0; font-size: 15px; }
#account-name { overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; background: var(--yellow); border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.account .icon-button { margin-left: auto; color: #c8c8c0; }
.account .icon-button:hover { background: #32322c; color: var(--yellow); }
.main { min-width: 0; }
.topbar { min-height: 80px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 18px 36px; background: var(--paper); font-size: 15px; color: var(--muted); }
.topbar h1 { font-size: 27px; line-height: 1.25; letter-spacing: -.7px; color: var(--ink); }
.topbar .heading-actions { margin-left: auto; }
.workspace { padding: 36px; max-width: 1900px; margin: auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: 32px; }
.page-heading p { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 650px; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* All controls and secondary labels retain a minimum text size of 15px. */
.button {
  border: 1px solid #cdcdc5;
  background: var(--paper);
  color: var(--ink);
  border-radius: 5px;
  min-height: 46px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  transition: background .16s, border-color .16s, transform .16s;
}
.button:hover { background: #f1f1eb; border-color: #99998e; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 600; }
.button.primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.button .icon { width: 18px; height: 18px; }
.button.danger { color: var(--ink); border-color: var(--ink); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 9px; border: 0; background: none; border-radius: 5px; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: var(--yellow-soft); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin-bottom: 28px; gap: 16px; }
.stat { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 174px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.stat-label { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat-number { font-size: 39px; font-weight: 550; line-height: 1.4; letter-spacing: -1.6px; font-variant-numeric: tabular-nums; }
.stat-number.green { color: var(--ink); }
.stat-foot { font-size: 15px; color: var(--muted); margin-top: 4px; }
.notice { padding: 16px 18px; background: var(--yellow-soft); border: 1px solid #e7d783; border-radius: 5px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--ink); font-size: 15px; margin-bottom: 24px; }
.notice p { flex: 1; min-width: 180px; }
.notice a { font-weight: 600; }
.notice .icon { width: 20px; }
.error-notice { color: var(--ink); background: var(--yellow-soft); border-left: 4px solid var(--ink); margin: 18px 36px 0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.filters input, .filters select { min-height: 46px; font-size: 15px; width: auto; max-width: 260px; background: var(--paper); }
.filters .number-filter { width: 150px; }
.search { position: relative; margin-right: auto; }
.search .icon { position: absolute; left: 12px; top: 14px; width: 19px; color: var(--muted); }
.search input { padding-left: 39px; width: 300px; max-width: none; }
.filter-more { font-size: 15px; color: var(--muted); }

/* Large type stays legible: the data table scrolls instead of shrinking. */
.table-wrap { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 15px; }
thead { color: var(--muted); background: #f4f4ef; font-size: 15px; letter-spacing: .02em; position: sticky; top: 0; z-index: 1; }
th { font-weight: 500; padding: 17px 16px; border-bottom: 1px solid var(--line); }
th.sortable { padding: 0; }
.column-sort { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 17px 16px; border: 0; background: transparent; color: inherit; font: inherit; text-transform: uppercase; letter-spacing: inherit; text-align: left; white-space: nowrap; transition: background .16s; }
.column-sort:hover { background: #eaeae3; color: var(--ink); }
.sort-indicator { display: inline-block; width: 1em; opacity: .55; }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 -2px 0 var(--yellow); }
th[aria-sort="ascending"] .sort-indicator, th[aria-sort="descending"] .sort-indicator { opacity: 1; }
td { padding: 18px 16px; border-bottom: 1px solid #eaeae3; }
tbody tr:last-child td { border-bottom: 0; }
.proxy-row { cursor: pointer; transition: background .13s; }
.proxy-row:hover, .proxy-row:focus-visible { background: var(--yellow-soft); }
.proxy-address { font-weight: 500; font-size: 15px; color: var(--ink); }
.protocol { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink); background: #f3f3ed; border: 1px solid #e0e0d6; border-radius: 4px; padding: 4px 7px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; }
.status.offline { color: var(--muted); }
.status.offline .dot { background: transparent; border: 1px solid var(--ink); border-radius: 0; }
.status.pending { color: var(--muted); }
.status.pending .dot { background: transparent; border: 1px solid #7a7a70; }
.status.partial .dot { background: var(--yellow); border: 1px solid #937a00; }
.metric { font-variant-numeric: tabular-nums; color: var(--ink); }
.unit { font-size: 15px; color: var(--muted); margin-left: 4px; }
.score { display: flex; align-items: center; gap: 9px; font-size: 15px; font-variant-numeric: tabular-nums; }
progress { appearance: none; width: 50px; height: 6px; border: 0; border-radius: 3px; background: #eaeae1; }
progress::-webkit-progress-bar { background: #eaeae1; border-radius: 3px; }
progress::-webkit-progress-value { background: var(--ink); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--ink); border-radius: 3px; }
.table-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pagination .button { min-height: 44px; padding: 8px 12px; font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; color: var(--muted); margin-top: 26px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.empty-cell { text-align: center; padding: 64px 24px; white-space: normal; }
table:has(.empty-cell) { white-space: normal; }
table:has(.empty-cell) thead { display: none; }
.empty-symbol { font-size: 53px; font-weight: 700; line-height: 1.3; color: #b9a33b; letter-spacing: -5px; margin-bottom: 18px; }
.empty-cell h2 { font-size: 23px; color: var(--ink); }
.empty-cell p { font-size: 15px; color: var(--muted); margin: 12px auto 24px; max-width: 480px; white-space: normal; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.table-loading { padding: 64px 24px; text-align: center; color: var(--muted); }

.section-intro { margin-bottom: 28px; color: var(--muted); font-size: 15px; max-width: 820px; }
.data-list { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-row { padding: 24px 20px; border-bottom: 1px solid #e8e8df; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.data-row > div:first-child { min-width: 0; }
.data-row:last-child { border-bottom: 0; }
.data-row p { font-size: 15px; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.data-row .actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.record-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.record-title .icon { color: var(--ink); }
.record-error { color: var(--ink) !important; border-left: 3px solid var(--yellow); padding-left: 10px; }
.blank { padding: 64px 24px; text-align: center; background: var(--paper); border: 1px dashed #c8c8b9; border-radius: 6px; }
.blank .icon { width: 36px; height: 36px; color: #9b8000; margin-bottom: 14px; }
.blank h2 { font-size: 23px; }
.blank p { font-size: 15px; color: var(--muted); margin: 14px auto 26px; max-width: 540px; }
.settings-form { max-width: 1040px; }
.settings-group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.settings-group > div > p { font-size: 15px; color: var(--muted); margin-top: 9px; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.full { grid-column: 1 / -1; }
.form-stack { display: flex; flex-direction: column; gap: 22px; }
label { font-size: 15px; color: var(--ink); display: flex; flex-direction: column; gap: 9px; min-width: 0; }
input, select, textarea { border: 1px solid #c9c9bd; background: var(--paper); border-radius: 5px; padding: 11px 13px; color: var(--ink); min-width: 0; width: 100%; min-height: 48px; font-size: 15px; outline-color: #a08400; }
input::placeholder, textarea::placeholder { color: #73736a; opacity: 1; }
textarea { resize: vertical; min-height: 190px; font: 400 15px/1.7 var(--mono); }
label small { font-size: 15px; color: var(--muted); }
pre { padding: 24px; background: var(--ink); color: #fff5b8; border-radius: 6px; font-size: 15px; line-height: 1.8; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 22px 0; }
code { font-size: 15px; background: #f1f1e8; padding: 3px 6px; border-radius: 3px; }
.api-block { margin-top: 38px; }
.api-block p { font-size: 15px; color: var(--muted); margin-top: 12px; }
.api-endpoints { margin-top: 26px; }
.api-endpoint { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.api-method { font-size: 15px; font-weight: 600; color: var(--ink); min-width: 48px; }
.api-endpoint .muted { margin-left: auto; text-align: right; }
.history-chart { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; margin-bottom: 28px; }
.history-chart svg { width: 100%; height: 170px; overflow: visible; }
.chart-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-point { fill: var(--yellow); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-grid { stroke: #e8e8dc; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.chart-empty { height: 160px; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.chart-summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; font-size: 15px; color: var(--muted); }
.error { color: var(--ink); font-size: 15px; font-weight: 550; white-space: normal; }

/* Sign in uses the same font, palette and readable form sizes. */
.auth-wrap { min-height: 100dvh; padding: 42px 6vw; display: flex; flex-direction: column; background: var(--paper); border-top: 8px solid var(--yellow); }
.auth-brand { color: var(--ink); }
.auth-brand .brand-mark { color: var(--ink); }
.auth-brand .brand-light { color: var(--muted); }
.auth-main { width: 440px; max-width: 100%; margin: auto; padding: 64px 0; }
.auth-main .eyebrow { display: inline-block; background: var(--yellow); padding: 5px 9px; font-size: 15px; letter-spacing: .04em; }
.auth-main h1 { font-size: 35px; }
.auth-main .muted { font-size: 15px; margin: 16px 0 30px; }
.auth-main .button { margin-top: 5px; min-height: 52px; }
.auth-foot { font-size: 15px; letter-spacing: .01em; color: var(--muted); }
.auth-main label { font-size: 15px; }
.auth-main input { padding: 13px 14px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); border: 1px solid var(--yellow); padding: 15px 24px; border-radius: 6px; box-shadow: 0 6px 30px #11111120; font-size: 15px; z-index: 99; width: max-content; max-width: 90vw; animation: toast-in .2s ease; }
.toast.failure { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

dialog { border: 1px solid #c9c9ba; border-radius: 8px; padding: 0; max-width: calc(100vw - 32px); width: 620px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px #11111130; max-height: 90dvh; font-size: 15px; }
dialog::backdrop { background: #11111180; backdrop-filter: blur(2px); }
dialog[open] { animation: dialog-in .18s ease-out; }
.modal-head { padding: 25px 28px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal-body { padding: 26px 28px; }
.modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding-top: 25px; }
.drawer { margin: 0 0 0 auto; max-height: none; height: 100dvh; max-width: calc(100vw - 16px); width: 780px; border-radius: 0; border: 0; border-left: 1px solid #c9c9ba; }
.drawer[open] { animation: drawer-in .2s ease-out; }
.drawer-section { padding: 28px; border-bottom: 1px solid var(--line); }
.drawer-section h3 { margin-bottom: 18px; }
.drawer-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.drawer-stats .stat-number { font-size: 27px; letter-spacing: -.8px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.check-record { padding: 18px 0; border-bottom: 1px solid #e8e8de; }
.check-record:last-child { border: 0; }
.check-record-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.check-sites { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.check-site { font-size: 15px; padding: 6px 9px; border-radius: 4px; background: var(--yellow-soft); color: var(--ink); max-width: 100%; overflow-wrap: anywhere; }
.check-site.failed { background: var(--ink); color: var(--paper); }
.danger-zone { margin-top: 28px; }
.help { font-size: 15px; color: var(--muted); margin-top: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.token-value { word-break: break-all; font-size: 15px; user-select: all; }
.inline-tag { font-size: 15px; color: var(--ink); background: #f0f0e6; border-radius: 4px; padding: 3px 7px; font-weight: 400; }
.token-created { margin-bottom: 28px; }
.account-settings { max-width: 720px; margin-top: 42px; border-top: 1px solid var(--line); padding-top: 30px; }
.account-settings h2 { margin-bottom: 24px; }
.mobile-logout { display: none; }

@keyframes dialog-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawer-in { from { transform: translateX(30px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
@keyframes toast-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

@media (min-width: 1600px) {
  .workspace { padding: 44px; }
  .page-heading { margin-bottom: 38px; }
  .stats { margin-bottom: 32px; }
  td { padding-top: 21px; padding-bottom: 21px; }
}
@media (max-width: 1250px) {
  .app { grid-template-columns: 280px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .workspace { padding: 30px 26px; }
  .topbar { padding: 18px 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stat-number { font-size: 35px; }
  .search { width: 100%; margin-bottom: 2px; }
  .search input { width: 100%; max-width: none; }
  .settings-group { grid-template-columns: 1fr; gap: 22px; }
  .data-row { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 850px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; overflow: visible; padding: 20px 18px; display: block; }
  .brand { margin: 0 0 20px; padding: 0 6px; font-size: 27px; }
  .brand-mark { font-size: 35px; }
  .nav-caption, .nav-divider, .sidebar-bottom { display: none; }
  .sidebar nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; }
  .sidebar nav:last-of-type { margin-top: 4px; }
  .nav-item { width: auto; white-space: nowrap; font-size: 15px; padding: 11px 13px; gap: 9px; flex-shrink: 0; min-height: 46px; }
  .nav-item .icon { width: 20px; height: 20px; }
  .nav-count { font-size: 15px; }
  .mobile-logout { display: flex; }
  .topbar { min-height: 78px; padding: 15px 22px; font-size: 15px; }
  .workspace { padding: 28px 22px; }
  .page-heading { align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  h1 { font-size: 29px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stat { padding: 18px; }
  .stat-label, .stat-foot { font-size: 15px; }
  .stat-number { font-size: 33px; }
  .filters { gap: 8px; }
  .filters select { max-width: 100%; font-size: 15px; flex: 1 1 175px; }
  .filters .number-filter { width: 145px; flex: 1 1 145px; }
  .legend { gap: 12px 18px; }
  .settings-group { grid-template-columns: 1fr; gap: 22px; }
  .data-row { padding: 22px 16px; }
  .data-row .actions { gap: 8px; }
  .data-row .button { font-size: 15px; padding: 9px 12px; min-height: 44px; }
  .data-row p { font-size: 15px; }
  .api-endpoint { flex-wrap: wrap; gap: 10px 12px; }
  .api-endpoint .muted { width: 100%; text-align: left; margin-left: 0; }
  .api-endpoint code { overflow-wrap: anywhere; min-width: 0; }
  .error-notice { margin: 16px 22px 0; }
  .auth-wrap { padding: 28px 24px; }
  .modal-head, .modal-body { padding: 22px; }
  .table-bottom { font-size: 15px; }
  .empty-cell { padding: 48px 20px; }
  .empty-actions { flex-wrap: wrap; }
  .drawer-stats .stat-number { font-size: 25px; }
}
@media (max-width: 500px) {
  .workspace { padding: 26px 18px; }
  .topbar { align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 18px; }
  .topbar .heading-actions { margin-left: 0; width: 100%; }
  .fields-grid { grid-template-columns: 1fr; gap: 20px; }
  .full { grid-column: 1; }
  .stat-number { font-size: 31px; }
  .stat { padding: 16px; }
  .stat-label { align-items: flex-start; }
  .stat .stat-label { min-height: 50px; }
  .stat-label .dot { margin-top: 9px; }
  .drawer-section { padding: 22px; }
  .drawer-stats { grid-template-columns: 1fr; gap: 16px; }
  .drawer-stats .stat-number { font-size: 27px; }
  .history-chart { padding: 22px 16px; }
  .chart-labels { flex-direction: column; }
  .modal-footer .button { flex: 1 1 140px; }
  .auth-main h1 { font-size: 31px; }
  .auth-foot { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
