/* Callback account and operator UI. One shared grid, token set and component layer. */
:root {
  color-scheme: dark;
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  background: #141414;
  color: #f0f1f2;
  --background: #141414;
  --panel: #1c1d1f;
  --sidebar: #191a1c;
  --input: #232426;
  --line: #343538;
  --text: #f0f1f2;
  --muted: #9b9fa5;
  --accent: #f0d442;
  --container: 1440px;
  --sidebar-width: 256px;
  --outer: 24px;
  --content-padding: 32px;
  --card-padding: 28px;
  --header-height: 72px;
}

/* Base and accessible controls. */
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
:where(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.3; font-weight: 600; }
h1 { font-size: 28px; letter-spacing: -.035em; }
h2 { font-size: 18px; letter-spacing: -.015em; }
h3 { font-size: 16px; }
p { overflow-wrap: anywhere; }
.muted, .fine-print { color: var(--muted); }
.accent { color: var(--accent); }
.fine-print, .field-hint { font-size: 13px; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .06em; font-weight: 500; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 24px; z-index: 100;
  background: var(--accent); color: #141414; padding: 12px 20px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px;
  background: var(--accent); color: #1b1b16; font-size: 14px; font-weight: 600;
  line-height: 1.5; text-align: center; overflow-wrap: anywhere;
}
button:hover:not(:disabled), .button:hover { background: #f7df62; color: #141414; }
.secondary { background: #292a2d; border-color: #414246; color: var(--text); }
.secondary:hover:not(:disabled), .button.secondary:hover { background: #343539; color: #fff; }
.text-button { background: transparent; border-color: transparent; color: #c1c4c9; font-weight: 400; }
.text-button:hover:not(:disabled) { background: #27282a; color: var(--text); }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #d8dade; min-width: 0; }
input, select, textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin: 0;
  padding: 10px 12px; border: 1px solid #414246; border-radius: 8px;
  background: var(--input); color: var(--text); font-size: 16px; line-height: 1.5;
}
input::placeholder, textarea::placeholder { color: #90959d; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: #b7a84d; }
textarea { resize: vertical; line-height: 1.65; min-height: 128px; }
form { display: grid; gap: 20px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* Header and workspace share the same outer edges and sidebar column. */
.site-header { min-height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--sidebar); }
.header-inner {
  display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr) auto; align-items: center;
  min-height: var(--header-height); max-width: var(--container); margin: 0 auto;
  padding: 0 var(--outer); column-gap: var(--content-padding);
}
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 24px; font-weight: 750; letter-spacing: -.065em; white-space: nowrap; }
.header-inner > .brand { padding-left: 16px; }
.brand > span { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: var(--accent); color: #141414; font: 700 23px/1 Arial, sans-serif; letter-spacing: 0; }
.brand:hover { color: var(--text); }
.header-context { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #c8cbd0; }
.pilot-label { padding: 3px 8px; border: 1px solid #434438; border-radius: 6px; color: #c8c3a0; font-size: 11px; white-space: nowrap; }
.header-link { font-size: 13px; color: var(--muted); white-space: nowrap; }
.workspace {
  display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  max-width: var(--container); margin: 0 auto; padding: 0 var(--outer);
  min-height: calc(100dvh - var(--header-height));
}
.sidebar {
  position: sticky; top: 0; align-self: start; display: flex; flex-direction: column;
  height: calc(100dvh - var(--header-height)); min-height: 430px; max-height: 1000px;
  padding: 28px 16px 20px; border-right: 1px solid var(--line); background: var(--sidebar); gap: 24px;
}
.sidebar-profile { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; border-bottom: 1px solid var(--line); min-height: 65px; }
.account-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #35352a; color: var(--accent); font-size: 17px; font-weight: 600; }
.sidebar-profile > div { min-width: 0; }
.sidebar-profile strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.sidebar-profile > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.sidebar > .eyebrow { padding: 0 12px 20px; border-bottom: 1px solid var(--line); }
.sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; border-radius: 8px; font-size: 14px; color: #b7bbc1; line-height: 1.4; }
.sidebar nav a:hover { background: #242527; color: var(--text); }
.sidebar nav a[aria-current] { background: #303026; color: var(--accent); }
.sidebar nav svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; padding: 20px 0 0; border-top: 1px solid var(--line); }
.sidebar-bottom > a { padding: 8px 12px; color: var(--muted); font-size: 13px; }
.sidebar-bottom button { justify-content: flex-start; padding-inline: 12px; }
.sidebar-bottom .fine-print { padding: 0 12px; }
.workspace-content { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 32px var(--content-padding); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.page-heading > div { min-width: 0; }
.page-heading h1 { margin: 0 0 8px; }
.page-heading p { font-size: 14px; line-height: 1.6; }
.page-heading .eyebrow { margin-bottom: 8px; font-size: 11px; }
.page-heading > .button { flex-shrink: 0; }
#pageTitle:focus { outline: none; }
.panel { min-width: 0; padding: var(--card-padding); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); scroll-margin-top: 24px; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 6px; }
.section-heading p { color: var(--muted); font-size: 14px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-number { font-size: 12px; color: var(--muted); }

/* Profile, linked identities and security settings. */
.settings-section { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 32px; }
.settings-section + .settings-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.settings-section h2 { margin-bottom: 8px; }
.settings-section p { font-size: 14px; line-height: 1.6; }
.setting-control { display: grid; gap: 10px; width: 100%; max-width: 520px; justify-items: start; }
.setting-control > label, .setting-control > input { width: 100%; }
.setting-control > button { margin-top: 8px; }
.setting-value { padding-top: 2px; }
.setting-value .identity { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.identity { overflow-wrap: anywhere; }
.service-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.service-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; vertical-align: middle; }
.identity-with-icon { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 12px; }
.setting-value .identity-with-icon .identity { min-width: 0; margin-bottom: 0; }
.sidebar-profile > div > .sidebar-provider { display: flex; align-items: center; gap: 6px; }
.sidebar-provider .service-icon { width: 14px; height: 14px; flex-basis: 14px; }
.service-heading, .service-link { display: flex; align-items: center; gap: 10px; }
.service-link { width: fit-content; }
.provider-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
#connections > .provider-row:first-child { border-top: 0; padding-top: 0; }
.provider-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #424448; background: #282a2d; border-radius: 10px; color: #dadddf; font-size: 16px; font-weight: 600; }
.provider-mark .service-icon { width: 24px; height: 24px; }
.provider-info { min-width: 0; }
.provider-info strong { display: block; font-size: 15px; font-weight: 600; }
.provider-info small { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.badge { display: inline-block; width: fit-content; padding: 4px 9px; border-radius: 6px; background: #303135; color: #c8cbd0; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.badge-new { background: #393324; color: #e3cd92; }
.badge-reviewing { background: #273340; color: #b6cee6; }
.badge-resolved, .badge-connected { background: #25382e; color: #b4d3bf; }
.pending-connection { display: grid; justify-items: start; gap: 12px; margin: 4px 0 20px; padding: 20px; border: 1px solid #605b36; border-radius: 10px; background: #29281f; font-size: 14px; }
.pending-connection > button { margin-top: 4px; }
.pending-connection a { text-decoration: underline; text-underline-offset: 3px; }
.panel-note { padding-top: 20px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.65; }
.isolated-test-notice { max-width: calc(var(--container) - 2 * var(--outer)); width: calc(100% - 2 * var(--outer)); margin: 16px auto 0; padding: 14px 20px; border: 1px solid #4b4731; border-radius: 10px; background: #25241b; color: #c4c0a8; font-size: 13px; line-height: 1.65; }
#security-section { display: grid; gap: 24px; }
.session-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.session-row > span { color: #b9bdc4; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; min-width: 0; }
.session-row > button { flex-shrink: 0; }
.panel-actions { padding-top: 20px; border-top: 1px solid var(--line); }
#security-section .settings-section { align-items: center; }
#security-section .settings-section > a { justify-self: end; }
.security-details { padding-top: 20px; border-top: 1px solid var(--line); }
.security-details > .actions { margin-top: 20px; }

/* Support lists, filters, conversations and matching form rhythm. */
.support-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.support-toolbar h2 { font-size: 16px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.filter-bar label { flex: 1 1 140px; min-width: 0; }
.filter-bar .search-field { flex: 2 1 180px; }
.filter-bar > button { flex: 0 0 auto; }
.case-list { list-style: none; padding: 0; margin: 0; }
.ticket { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; gap: 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; font-weight: 400; }
.ticket:hover:not(:disabled) { background: #242527; color: var(--text); }
.ticket-content { display: block; min-width: 0; }
.ticket-subject { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.ticket-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.empty-state { padding: 48px 20px; color: var(--muted); text-align: center; font-size: 14px; }
#more, #next { margin-top: 20px; }
.back-link { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.conversation:focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.conversation > h2 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; overflow-wrap: anywhere; }
#ticketMeta { font-size: 13px; margin-bottom: 20px; }
.message { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; padding: 20px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #18191b; font: inherit; font-size: 16px; line-height: 1.75; }
#reply { margin-top: 28px; }
#reply > button { justify-self: start; }
#replyCount { text-align: right; margin-top: -12px; }
#state { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
.message-guidance { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: -10px; }
#newTicketCount, #replyCount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.form-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-footer > p { margin-right: auto; }
.account-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: auto; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--container); margin: 0 auto; padding: 24px calc(var(--outer) + 16px); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer .brand { font-size: 24px; color: var(--text); }

/* Login and notices use the same surfaces; provider marks stay inside their controls. */
.login-layout { max-width: 512px; padding: 0 var(--outer); margin: 56px auto 72px; }
.login-card { padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.login-card h1, .login-card h2 { font-size: 26px; margin-bottom: 12px; }
.login-card > .muted { font-size: 16px; line-height: 1.65; }
.login-card details { margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #191a1c; font-size: 13px; }
.login-card details p { margin-top: 14px; color: #b9bdc3; line-height: 1.65; }
.login-card details a { text-decoration: underline; text-underline-offset: 3px; }
summary { cursor: pointer; font-size: 14px; }
.check { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.65; }
.check > input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.login-methods { margin-top: 24px; }
#google { width: 100%; min-height: 44px; max-height: 52px; overflow: hidden; }
#google-login { min-width: 0; margin: 24px 0; }
#loginPlaceholder, #startLogin { width: 100%; }
#loginStatus { min-height: 20px; margin-top: 10px; }
#retryLogin { margin-top: 12px; }
.other-login { margin-top: 20px; }
.other-login > .field-hint { margin-top: 10px; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 12px; color: var(--muted); }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.vk-button { width: 100%; background: #0077ff; border-color: #0077ff; color: #fff; }
.vk-button:hover:not(:disabled) { background: #086ad9; color: #fff; }
.login-card > .fine-print { margin-top: 24px; }
#loginUnavailable { margin-top: 24px; }
.notification { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: flex-start; gap: 16px; max-width: 440px; padding: 18px 16px 18px 20px; border: 1px solid #51544b; border-radius: 12px; background: #2b3028; color: #e4eada; box-shadow: 0 8px 28px #0005; }
.notification p { min-width: 0; font-size: 14px; line-height: 1.6; }
.notification > button { min-height: 28px; width: 28px; flex-shrink: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: 22px; font-weight: 400; }
.notification > button:hover:not(:disabled) { background: #ffffff0d; color: inherit; }
.notification[data-kind="error"] { border-color: #775058; background: #38272b; color: #f2cbd2; }
.notice { padding: 14px max(var(--outer), calc((100% - 1360px) / 2)); border-bottom: 1px solid var(--line); background: #202124; color: #c2c5cb; font-size: 13px; }
.notice:empty { display: none; }
.notice[data-kind="error"] { background: #38272b; color: #f2cbd2; }

/* The operator portal shares components and grid while retaining its own page flow. */
.operator-page .notice[data-kind="error"] { position: sticky; top: 0; z-index: 60; }
.operator-page .login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; max-width: 1040px; align-items: center; }
.login-intro .eyebrow { margin-bottom: 16px; }
.login-intro h1 { font-size: 36px; margin-bottom: 20px; line-height: 1.2; }
.login-intro > p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.75; }
.login-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #141414; font: 700 32px/1 Arial, sans-serif; margin-top: 28px; }
.operator-page .login-card > .eyebrow { margin-bottom: 12px; }
.operator-page .login-card > .header-link { display: inline-block; margin-top: 20px; }
.operator-page #detail .section-heading { align-items: start; }
.operator-page #detail > .filter-bar { margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }

/* Laptop: preserve the main grid, then stack settings before controls become narrow. */
@media (max-width: 1100px) {
  :root { --sidebar-width: 240px; --content-padding: 24px; --card-padding: 24px; }
  .settings-section { grid-template-columns: 1fr; gap: 20px; }
  .setting-control { max-width: 100%; }
  #security-section .settings-section > a { justify-self: start; }
  .page-heading { flex-wrap: wrap; }
  .panel-grid { grid-template-columns: 1fr; }
  .header-context { gap: 10px; }
  .pilot-label { font-size: 10px; }
  #filters .search-field { flex-basis: 100%; }
}

/* Tablet and phone: navigation remains available without an extra interaction. */
@media (max-width: 800px) {
  :root { --header-height: 64px; --outer: 20px; --content-padding: 0px; --card-padding: 24px; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; }
  .header-inner > .brand { padding-left: 0; }
  .brand { font-size: 24px; }
  .header-context { justify-content: flex-end; font-size: 13px; }
  .pilot-label { display: none; }
  .workspace { display: block; min-height: 0; }
  .sidebar { position: static; height: auto; min-height: 0; max-height: none; padding: 20px 0 0; border: 0; background: transparent; gap: 16px; }
  .sidebar-profile, .sidebar > .eyebrow { display: none; }
  .sidebar nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .sidebar nav a { flex-direction: column; justify-content: center; gap: 7px; min-height: 76px; padding: 10px 8px; text-align: center; font-size: 12px; }
  .sidebar-bottom { flex-direction: row; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 0; padding: 12px 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .sidebar-bottom > a { margin-right: auto; padding: 8px 0; }
  .sidebar-bottom button { padding-inline: 8px; font-size: 13px; }
  .sidebar-bottom .fine-print { display: none; }
  .workspace-content { padding: 28px 0; gap: 24px; }
  .page-heading { min-height: 0; gap: 16px; }
  h1 { font-size: 26px; }
  .account-footer { margin-top: 12px; }
  .operator-page .sidebar nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .operator-page .login-layout { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin-block: 32px; }
  .login-intro h1 { font-size: 30px; }
  .login-mark { display: none; }
  .site-footer { padding-inline: var(--outer); flex-wrap: wrap; font-size: 12px; }
}

@media (max-width: 520px) {
  :root { --outer: 16px; --card-padding: 20px; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .header-inner > .header-link { display: none; }
  .brand { font-size: 23px; }
  .sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sidebar nav a { flex-direction: row; justify-content: flex-start; min-height: 48px; text-align: left; padding: 10px; gap: 9px; font-size: 12px; }
  .sidebar nav svg { width: 18px; height: 18px; }
  .page-heading { align-items: start; }
  .page-heading > .button { width: 100%; }
  h1 { font-size: 24px; }
  h2 { font-size: 17px; }
  .section-heading, .support-toolbar { flex-wrap: wrap; align-items: start; gap: 16px; }
  .support-toolbar .actions { justify-content: space-between; width: 100%; }
  .columns { grid-template-columns: 1fr; }
  .provider-row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .provider-mark { width: 40px; height: 40px; }
  .provider-row > .badge, .provider-row > button { grid-column: 2; justify-self: start; }
  .session-row { align-items: start; flex-wrap: wrap; gap: 12px; }
  .ticket { align-items: start; flex-wrap: wrap; gap: 12px; }
  .ticket-content { flex: 1 1 100%; }
  .filter-bar label { flex-basis: calc(50% - 6px); }
  .filter-bar > button { flex: 1 1 auto; }
  .message { padding: 16px; }
  .message-guidance { flex-wrap: wrap; gap: 6px; }
  #newTicketCount { margin-left: auto; }
  .form-footer { flex-wrap: wrap; }
  .form-footer > .button, .form-footer > button { flex: 1 1 auto; }
  .account-footer { flex-wrap: wrap; gap: 12px; font-size: 11px; }
  .login-layout { margin-block: 32px; }
  .login-card { padding: 24px 20px; }
  .login-card h1, .login-card h2 { font-size: 24px; }
  .notification { right: 16px; left: 16px; bottom: 16px; max-width: none; }
  .operator-page .sidebar nav { grid-template-columns: 1fr; }
  .operator-page .sidebar nav a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
