/* Layout only: preserve the existing brand colors and signed-document print layout. */
@media screen {
  :root { --app-viewport-height: 100vh; }
  @supports (height: 100dvh) { :root { --app-viewport-height: 100dvh; } }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .page-frame, .login-shell { width: min(1600px, calc(100% - 2rem)); }
  .page-frame, .login-shell { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
  .page-frame.app-with-sidebar { grid-template-columns: 300px minmax(0, 1fr); gap: 1.2rem; min-height: calc(var(--app-viewport-height) - 2rem); }
  .user-main, .view-panel, .welcome-layout, .module-card, .welcome-hero, .table-shell, .field,
  .section-header > *, .topbar-main, .topbar-copy, .modal-panel, .history-modal-layout > *,
  .accounting-charts > *, .finance-stats > *, .client-profile > *, .visit-main { min-width: 0; }
  .user-main > .view-panel { max-width: 100%; }
  .context-sidebar { position: sticky; top: 1rem; left: auto; display: flex; flex-direction: column; width: 100%; height: calc(var(--app-viewport-height) - 2rem); min-height: 0; max-height: calc(var(--app-viewport-height) - 2rem); padding: 1.25rem; overflow-y: auto; transform: none; }
  .context-sidebar > * { flex-shrink: 0; }
  .context-sidebar > .sidebar-block:last-child { margin-top: auto; padding-top: 1.25rem; }
  .context-sidebar .brand-logo { width: 82px; height: 82px; }
  .context-sidebar .brand h1 { font-size: 1.18rem; line-height: 1.2; }
  .context-sidebar .brand-kicker { font-size: .72rem; }
  .context-sidebar .sidebar-user-card strong { font-size: 1rem; }
  .context-sidebar .sidebar-user-card span { font-size: .85rem; }
  .context-sidebar .finance-nav { gap: .5rem; }
  .context-sidebar .finance-nav a { min-height: 50px; font-size: .95rem; padding: .9rem 1rem; }
  .context-sidebar .sidebar-admin-button, .context-sidebar .sidebar-logout { min-height: 46px; font-size: .88rem; }
  .context-sidebar .sidebar-admin-button span:last-child, .context-sidebar .sidebar-logout span:last-child { font-size: .88rem; line-height: 1.4; }
  .topbar-menu-button { display: none !important; }
  .context-sidebar .brand h1, .sidebar-user-card strong { white-space: normal; overflow-wrap: anywhere; }
  .topbar, .topbar-main { flex-direction: row; align-items: center; }
  .topbar-main { flex: 1; }
  .topbar-copy h2 { overflow-wrap: anywhere; }
  .section-header, .section-subheader, .modal-header { gap: 1rem; flex-wrap: wrap; }
  .section-actions, .form-actions, .modal-actions, .signature-actions { display: flex; flex-wrap: wrap; gap: .6rem; min-width: 0; }
  .section-actions > *, .form-actions > *, .modal-actions > * { max-width: 100%; }
  :is(.primary-button, .ghost-button, .pagination-button, .finance-nav a, .dossier-refresh) { min-height: 44px; }
  :is(.primary-button, .ghost-button) { line-height: 1.35; white-space: normal; }
  .welcome-layout.single-layout { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field :is(input, select, textarea), .search-input { min-width: 0; max-width: 100%; }
  .field input[type="date"] { width: 100%; min-width: 0; }
  :is(.table-cell, .readonly-item, .feedback-box, .dossier-identity, .today-client strong, .history-session-card p) { overflow-wrap: anywhere; }
  .table-cell, .today-client { min-width: 0; }
  .unpaid-session-badge, .dossier-badge, .today-date { max-width: 100%; white-space: normal; }
  .table-shell { max-width: 100%; }
  .clients-table-compact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
  .clients-table:not(.clients-table-compact) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .6fr) minmax(0, .9fr) auto; }
  .client-row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
  .table-pagination, #todayPagination, #accountingPagination { flex-wrap: wrap; justify-content: center; gap: .6rem; }
  .pagination-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
  .finance-table-wrap, .income-chart-scroll, .skin-type-guide { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .accounting-charts { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); }
  .finance-table td { overflow-wrap: anywhere; }
  .today-client { flex-wrap: wrap; }
  .today-row-actions { min-width: 0; }
  .today-row-actions button { white-space: normal; }
  .history-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .dossier-actions { flex-wrap: wrap; }
  .dossier-email { display: inline; }
  .signature-box { width: 100%; }
  .signature-canvas { width: 100%; height: clamp(210px, 24vw, 280px); }
  .html-preview { min-width: 0; max-width: 100%; overflow-x: auto; overflow-wrap: anywhere; }
  .consent-preview-card { max-height: min(65vh, 800px); }
  .html-preview .consent-field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .html-preview .consent-field-grid-client { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .html-preview .signature-cell { min-width: 0; }
  .html-preview img { max-width: 100%; height: auto; }
  .login-shell, .login-shell-editorial { width: min(1180px, calc(100% - 2rem)); grid-template-columns: minmax(0, 1.1fr) minmax(320px, .85fr); }
  .login-hero, .login-panel { min-width: 0; }
  .login-hero-top { flex-wrap: wrap; }
  .login-brand { min-width: 0; }
  .login-brand > div { min-width: 0; overflow-wrap: anywhere; }
  .modal-backdrop { padding: max(.5rem, env(safe-area-inset-top)) max(.5rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; }
  .modal-panel { width: min(980px, 100%); max-height: calc(var(--app-viewport-height) - 1.5rem); min-height: 0; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
  .modal-panel.session-payment-panel { width: min(560px, 100%); }
  .modal-panel.history-modal-panel { width: min(1440px, 100%); height: min(940px, calc(var(--app-viewport-height) - 1.5rem)); max-height: calc(var(--app-viewport-height) - 1.5rem); }
  .modal-header { align-items: center; padding: 1rem; }
  .modal-header > div { min-width: 0; }
  .modal-header h3 { overflow-wrap: anywhere; }
  .modal-form-shell { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  .history-modal-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); height: 100%; min-height: 0; }
  .history-modal-layout .modal-document { min-height: 0; height: auto; max-height: none; overflow: auto; }
  .history-sessions-panel { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
  .history-session-form, .history-sessions-head, .history-session-card { flex-shrink: 0; }
  .history-session-list { overflow: visible; max-height: none; flex-shrink: 0; }
  .history-sessions-head { flex-wrap: wrap; }
  #sessionPaymentForm { min-height: 0; overflow: auto; }
  .signing-observations-header { flex-wrap: wrap; }
}

@media screen and (max-width: 1280px) {
  .accounting-charts { grid-template-columns: minmax(0, 1fr); }
  .dossier-timeline .visit-card { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .dossier-timeline .visit-actions { grid-column: 2 / -1; grid-row: auto; justify-content: flex-start; flex-direction: row; flex-wrap: wrap; }
  .dossier-timeline .visit-money { grid-column: 3; grid-row: 1; }
}

@media screen and (max-width: 1024px) {
  body.sidebar-open { overflow: hidden; }
  .page-frame, .page-frame.app-with-sidebar { width: calc(100% - 1.5rem); grid-template-columns: minmax(0, 1fr); min-height: var(--app-viewport-height); padding-block: .75rem; }
  .context-sidebar { position: fixed; top: .5rem; left: .5rem; z-index: 40; width: min(360px, calc(100vw - 1rem)); min-height: 0; height: calc(var(--app-viewport-height) - 1rem); max-height: calc(var(--app-viewport-height) - 1rem); padding: 1.25rem; overflow-y: auto; transform: translateX(calc(-100% - 1.5rem)); transition: transform 180ms ease; border-radius: 16px; }
  .context-sidebar.is-open { transform: translateX(0); }
  .topbar-menu-button { display: inline-flex !important; flex-shrink: 0; width: 44px; min-width: 44px; }
  .sidebar-backdrop { z-index: 35; }
  .topbar, .topbar-main { flex-direction: row; align-items: center; }
  .topbar-main { gap: .75rem; width: auto; }
  .topbar h2 { font-size: 1.5rem; }
  .login-shell, .login-shell-editorial { grid-template-columns: minmax(0, 1fr); min-height: var(--app-viewport-height); align-content: center; gap: 1rem; padding-block: 1rem; }
  .login-hero, .login-hero-editorial { min-height: 0; gap: 1.5rem; padding: 1.5rem; }
  .login-hero h1 { max-width: none; font-size: clamp(2rem, 5vw, 3rem); }
  .login-panel, .login-panel-editorial { padding: 1.5rem; }
  .welcome-layout { grid-template-columns: minmax(0, 1fr); }
  .history-modal-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; height: 100%; overflow-y: auto; }
  .history-modal-layout .modal-document { height: auto; min-height: 0; max-height: calc(var(--app-viewport-height) * .55); border-right: 0; }
  .history-sessions-panel { overflow: visible; }
  .history-modal-panel .history-document { min-height: 0; }
  .dossier-header-main { flex-wrap: wrap; }
  .dossier-header .client-profile { flex-basis: 100%; }
  .dossier-actions { margin-left: 0; }
  .history-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone layout is scoped to body so legacy desktop selectors cannot win. */
@media screen and (max-width: 760px) {
  body { font-size: 15px; }
  body .page-frame.app-with-sidebar { display: block; width: 100%; padding: .65rem max(.65rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left)); }
  body .user-main { width: 100%; max-width: 100%; min-width: 0; }
  body .user-main > .topbar { display: flex; flex-direction: row; align-items: center; padding: .75rem; margin-bottom: .8rem; border-radius: 12px; }
  body .topbar-main { display: flex; flex-direction: row; align-items: center; gap: .65rem; width: 100%; min-width: 0; }
  body .topbar-copy { min-width: 0; }
  body .topbar-copy h2 { font-size: 1.25rem; line-height: 1.2; }
  body .topbar-copy .eyebrow { font-size: .6rem; margin-bottom: .2rem; }
  body .topbar-menu-button { width: 44px; height: 44px; min-width: 44px; flex: 0 0 44px; padding: .6rem; }
  body .module-card, body .welcome-hero { width: 100%; min-width: 0; padding: .9rem; border: 1px solid var(--border); border-radius: 14px; }
  body .module-card + .module-card { margin-top: .8rem; }
  body .view-panel.accounting-page.is-active { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  body .view-panel:not(.accounting-page) > .module-card { margin-top: .8rem; }
  body .welcome-layout, body .welcome-layout.single-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  body .section-header, body .section-subheader { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
  body .section-header > *, body .section-subheader > * { min-width: 0; max-width: 100%; }
  body .welcome-hero h3, body .section-header h3 { font-size: 1.55rem; line-height: 1.2; max-width: 100%; }
  body .intro-strip { margin-block: .6rem; padding: .75rem; font-size: .8rem; }
  body .reception-highlight-grid { display: none; }
  body .section-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; width: 100%; }
  body .section-actions > :only-child, body .section-actions > .status-badge { grid-column: 1 / -1; }
  body .section-actions > *, body .form-actions > *, body .signature-actions > *, body .modal-actions > * { flex: initial; min-width: 0; margin: 0; }
  body .form-actions, body .signature-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; width: 100%; }
  body .primary-button, body .ghost-button { width: auto; min-height: 44px; padding: .65rem .75rem; font-size: .82rem; line-height: 1.35; white-space: normal; }
  body .form-actions > *, body .signature-actions > * { width: 100%; }
  body .status-badge, body .meta-pill { width: auto; max-width: 100%; min-height: 0; padding: .4rem .55rem; font-size: .72rem; white-space: normal; }
  body .field, body .form-grid { min-width: 0; }
  body .form-grid, body .readonly-grid, body .dual-card-grid, body .action-choice-grid, body .welcome-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  body .field-span-2 { grid-column: 1 / -1; }
  body .field label { font-size: .8rem; }
  body .field :is(input, select, textarea), body .search-input { width: 100%; min-width: 0; font-size: 16px; }
  body .field input, body .field select { min-height: 46px; padding: .7rem; }
  body .field textarea { min-height: 110px; padding: .75rem; }
  body .password-toggle-button { width: 40px; min-width: 40px; min-height: 40px; height: 40px; padding: 0; }
  body .signing-observations-header { display: flex; flex-direction: column; align-items: stretch; }
  body .signing-observations-header > button { width: 100%; }
  body .signing-observation-row textarea { min-height: 96px; }
  body .signing-observation-header button { min-height: 40px; padding: .4rem .6rem; }
  body .consent-observations-field { padding: .75rem; }

  body .table-shell { width: 100%; min-width: 0; margin-top: .8rem; padding: .5rem; border-radius: 12px; }
  body .table-head.clients-table { display: none; }
  body .table-row.clients-table, body .table-row.clients-table-compact { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: .6rem; padding: .85rem; }
  body .clients-table .table-cell { grid-column: 1; min-width: 0; }
  body .clients-table .table-cell strong { font-size: 1.2rem; }
  body .clients-table .table-cell span { font-size: .8rem; overflow-wrap: anywhere; }
  body .clients-table .table-cell .unpaid-session-badge { font-size: .7rem; color: #a1372c; }
  body .clients-table .client-row-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1; width: 100%; min-width: 0; padding-top: .65rem; border-top: 1px solid var(--border); gap: .4rem; }
  body .clients-table .client-row-actions .row-action { width: 100%; min-width: 0; min-height: 44px; padding: .5rem .25rem; font-size: .75rem; gap: .2rem; }
  body .clients-table .client-row-actions .button-icon { min-width: .8rem; margin-right: .15rem; }
  body .scroll-list { max-height: none; overflow: visible; padding-right: 0; }
  body .reception-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: .6rem; }
  body .reception-search-box { flex: auto; width: 100%; min-width: 0; padding: .65rem; gap: .5rem; }
  body .reception-search { padding: .4rem; }
  body .table-pagination, body #todayPagination, body #accountingPagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding: .75rem .5rem; }
  body .pagination-summary { width: 100%; text-align: center; font-size: .75rem; }
  body .pagination-actions { flex-wrap: wrap; justify-content: center; }

  body .today-page #todayStats, body .accounting-page #accountingStats, body .client-dossier .client-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  body .today-page #todayStats > :last-child, body .accounting-page #accountingStats > :last-child, body .client-dossier .client-stats > :last-child { grid-column: 1 / -1; }
  body .finance-stat, body .today-page .finance-stat, body .client-dossier .dossier-stat { min-height: 0; padding: .9rem; gap: .4rem; }
  body .finance-stat strong { font-size: 1.65rem; }
  body .finance-stat > span:not(.stat-icon) { font-size: .75rem; }
  body .today-page .stat-icon { width: 30px; height: 30px; }
  body .accounting-filters, body .history-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: .8rem; }
  body .accounting-filters > button { width: 100%; }
  body .accounting-charts { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  body .finance-table-wrap { width: 100%; overflow: visible; }
  body .finance-table, body .finance-table tbody, body .finance-table tr { display: block; width: 100%; min-width: 0; }
  body .finance-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body .finance-table tbody tr { margin: .65rem 0; padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated); }
  body .finance-table td { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: .65rem; padding: .65rem 0; text-align: left; white-space: normal; font-size: .8rem; }
  body .finance-table td::before { content: attr(data-label); font-size: .7rem; font-weight: 500; color: var(--muted); }
  body .finance-table td.money-cell { text-align: left; white-space: normal; }
  body .finance-table td:last-child { display: block; border-bottom: 0; }
  body .finance-table td:last-child::before { display: block; margin-bottom: .5rem; }
  body .finance-table td:last-child > button { width: 100%; margin: .25rem 0; }
  body #expenseRows td:last-child { display: grid; }
  body #expenseRows td:last-child::before { display: inline; margin: 0; }
  body .today-client { min-width: 0; gap: .4rem; flex-wrap: wrap; }
  body .today-avatar { width: 28px; height: 28px; }
  body .today-row-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  body .today-row-actions > button { width: 100%; }
  body .income-chart-scroll { max-width: 100%; padding: .4rem 0; }

  body .dossier-header { padding: .9rem; }
  body .dossier-header .client-profile { align-items: flex-start; gap: .6rem; }
  body .dossier-header .client-avatar { width: 46px; height: 46px; flex-shrink: 0; }
  body .dossier-header .client-profile h3 { font-size: 1.5rem; line-height: 1.2; }
  body .dossier-identity { min-width: 0; }
  body .dossier-identity p { font-size: .75rem; }
  body .dossier-actions { width: 100%; margin: 0; }
  body .dossier-actions > * { flex: 1; }
  body .dossier-badges { gap: .4rem; }
  body .dossier-badge { border-radius: 12px; }
  body .dossier-timeline { padding: .4rem .8rem 0; }
  body .dossier-timeline .visit-card { grid-template-columns: 8px minmax(0, 1fr); gap: .6rem; padding: 1rem 0; }
  body .dossier-timeline .visit-money { grid-column: 2; grid-row: auto; min-width: 0; flex-direction: row; flex-wrap: wrap; text-align: left; gap: .5rem; }
  body .dossier-timeline .visit-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 2; grid-row: auto; width: 100%; gap: .4rem; }
  body .dossier-timeline .visit-actions > button { min-width: 0; width: 100%; min-height: 44px; padding: .5rem; }
  body .dossier-timeline .register-session-payment { grid-column: 1 / -1; }
  body .unpaid-session-badge { margin-left: 0; }

  body .modal-backdrop { padding: 0; place-items: stretch; overflow: hidden; }
  body .modal-panel, body .modal-panel-xl, body .modal-panel.history-modal-panel, body .modal-panel.session-payment-panel { width: 100%; height: var(--app-viewport-height); max-height: var(--app-viewport-height); min-height: 0; margin: 0; border: 0; border-radius: 0; }
  body .modal-header { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; padding: max(.8rem, env(safe-area-inset-top)) .9rem .8rem; }
  body .modal-header h3 { font-size: 1.35rem; }
  body .modal-header .eyebrow { font-size: .6rem; }
  body .modal-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; width: 100%; }
  body .modal-actions > button { width: 100%; min-height: 42px; padding: .5rem; font-size: .72rem; }
  body .modal-form-shell, body #sessionPaymentForm { min-height: 0; overflow-y: auto; padding: .9rem .9rem max(1rem, env(safe-area-inset-bottom)); }
  body .session-payment-panel .modal-header { flex-direction: row; align-items: center; }
  body .session-payment-panel .modal-header > div { flex: 1; }
  body .session-payment-panel #closeSessionPayment { width: auto; flex: 0 0 auto; }
  body #sessionPaymentForm .form-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .history-modal-layout { display: block; height: 100%; min-height: 0; overflow-y: auto; }
  body .history-modal-layout .modal-document { height: auto; max-height: none; min-height: 0; overflow: visible; padding: .9rem; }
  body .history-sessions-panel { height: auto; overflow: visible; padding: .9rem; }
  body .history-session-list { max-height: none; overflow: visible; }
  body .history-session-form { padding: .75rem; }

  body .signature-box { width: 100%; }
  body .signature-canvas { width: 100%; height: 220px; }
  body .html-preview { padding: .8rem; font-size: 14px; line-height: 1.65; }
  body .html-preview h1 { font-size: 1.05rem; }
  body .html-preview .consent-field-grid, body .html-preview .consent-field-grid-client { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  body .html-preview .consent-field { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  body .html-preview table { width: 100%; min-width: 0; table-layout: fixed; }
  body .html-preview td { padding: .4rem; overflow-wrap: anywhere; }
  body .skin-type-guide { overflow-x: auto; }
  body .skin-type-guide table { min-width: 22rem; }
  body .html-preview .inline-consent-check { gap: .6rem; padding: .7rem; }
  body .login-shell, body .login-shell-editorial { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-height: var(--app-viewport-height); gap: .8rem; align-content: start; padding: .65rem; }
  body .login-hero, body .login-panel, body .login-hero-editorial, body .login-panel-editorial { min-height: 0; padding: 1.1rem; border: 1px solid var(--border); border-radius: 14px; }
  body .login-hero { gap: 1rem; }
  body .login-hero h1 { font-size: 2rem; }
  body .login-hero-badge { display: none; }
  body .login-logo { width: 58px; height: 58px; }
  body .login-submit-button { width: 100%; }
}

@media screen and (max-width: 359px) {
  body .today-page #todayStats, body .accounting-page #accountingStats, body .client-dossier .client-stats { grid-template-columns: minmax(0, 1fr); }
  body .clients-table .client-row-actions { grid-template-columns: minmax(0, 1fr); }
  body .finance-table td { grid-template-columns: 80px minmax(0, 1fr); }
}

@media screen and (max-height: 520px) {
  .modal-panel, .modal-panel.history-modal-panel { max-height: calc(var(--app-viewport-height) - .75rem); }
  .modal-header { padding: .6rem .8rem; }
  .modal-header h3 { font-size: 1.2rem; }
  .modal-header .eyebrow { display: none; }
  .signature-canvas { height: 180px; }
  .login-shell, .login-shell-editorial { align-content: start; }
}

@media screen and (prefers-reduced-motion: reduce) {
  .context-sidebar, .table-row, .primary-button, .ghost-button { transition: none; }
  .page-orb, .view-panel { animation: none; }
}
