:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #334155;
  background: #f4f5f7;
  font-size: 14px;
  line-height: 1.45;
  font-synthesis: none;
  --ink: #1f2933;
  --text: #334155;
  --muted: #5b6675;
  --line: #dde2e8;
  --line-soft: #eceff3;
  --soft: #f8f9fa;
  --teal: #0f766e;
  --teal-hover: #0b5f59;
  --teal-soft: #e7f3f1;
  --control-border: #8895a5;
  --focus: #0b5f59;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid var(--teal); border-radius: 6px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
button:hover:not(:disabled) { background: var(--teal-hover); border-color: var(--teal-hover); }
button:disabled { cursor: default; background: #f1f3f6; color: #6d7886; border-color: #dce1e8; }
button.secondary { color: var(--ink); background: #fff; border-color: var(--control-border); }
button.secondary:hover:not(:disabled) { color: var(--ink); background: #f1f4f7; border-color: #66758a; }
button.secondary:disabled { color: #6d7886; background: #f6f7f9; border-color: #dce1e8; }
button.danger { color: #a3332c; border-color: #cfaaa5; }
button.danger:hover:not(:disabled) { color: #8b2623; background: #fff1ef; border-color: #a95e57; }
button.danger:disabled { color: #7d8794; border-color: #dce1e8; }
button.small { min-height: 30px; padding: 4px 10px; font-size: 12px; }
button.row-action { min-height: 28px; padding: 2px 8px; border-color: transparent; color: var(--teal); background: transparent; font-size: 13px; }
button.row-action:hover:not(:disabled) { color: var(--teal-hover); background: var(--teal-soft); border-color: transparent; }
button.row-action:disabled { color: #7d8794; background: transparent; border-color: transparent; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
#main-content:focus { outline: none; }
.icon { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 16px; padding: 10px 16px; background: #fff; border: 2px solid var(--teal); border-radius: 6px; }
.skip-link:focus { top: 10px; }

/* Header: brand, navigation, role-aware + Add item, and compact account menu */
.app-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.2px; text-decoration: none; }
.brand-mark { position: relative; width: 18px; height: 18px; border-radius: 4px; background: var(--teal); }
.brand-mark::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: #fff; box-shadow: 0 -4px 0 #fff, 0 4px 0 #fff; }
.navigation { align-self: stretch; display: flex; }
.tab-list { display: flex; gap: 4px; }
.tab-list button { min-height: 0; height: 100%; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); background: transparent; font-size: 14px; }
.tab-list button:hover:not(:disabled) { color: var(--ink); background: transparent; border-color: transparent; border-bottom-color: #c5ccd5; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.session-bar { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.header-add { min-height: 30px; padding: 4px 10px; font-size: 12px; }
.account-menu { position: relative; }
.account-trigger { gap: 4px; max-width: 220px; }
.account-trigger>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger .chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.account-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.account-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 15; min-width: 220px; max-width: 280px; padding: 12px; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.account-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.session-identity { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; color: var(--ink); font-size: 13px; }
.session-name { display: grid; min-width: 0; line-height: 1.25; }
.session-name>span { font-weight: 600; overflow-wrap: anywhere; }
.session-name>small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.role-badge { display: inline-flex; align-items: center; padding: 1px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.role-badge.viewer { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.account-actions { padding-top: 10px; }
.account-actions button { width: 100%; }

main { padding-top: 20px; padding-bottom: 24px; }
h1, h2, h3, p { margin: 0; }
h1 { color: var(--ink); font-size: 20px; line-height: 1.3; font-weight: 650; }
h2 { color: var(--ink); font-size: 15px; line-height: 1.4; font-weight: 650; }
h3 { color: var(--ink); font-size: 14px; font-weight: 650; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.page-heading p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.page-heading>button { flex-shrink: 0; }
.surface { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* Inventory list */
.list-toolbar { display: flex; align-items: flex-end; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
label { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.search-field { flex: 0 1 360px; }
.view-field { min-width: 160px; }
.toolbar-actions { display: flex; gap: 8px; margin-left: auto; }
.input-with-icon { display: flex; position: relative; align-items: center; min-width: 0; width: 100%; }
.input-with-icon>.icon { pointer-events: none; position: absolute; left: 11px; z-index: 1; color: #66758a; }
.input-with-icon>input { padding-left: 32px !important; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 34px; padding: 6px 10px; border: 1px solid var(--control-border); border-radius: 6px; color: var(--ink); background: #fff; font-size: 14px; line-height: 1.4; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
input:hover:not(:disabled), select:hover:not(:disabled) { border-color: #66758a; }
input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
input::placeholder { color: #66758a; opacity: 1; }
input:disabled, select:disabled { background: #f3f5f8; color: #5f6c7b; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
label small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.list-message { padding: 8px 14px; color: var(--muted); font-size: 12px; }
.list-meta .list-message { padding: 0; }
.scroll-hint { display: none; color: var(--muted); font-size: 12px; }
.table-wrap { position: relative; overflow: auto; overscroll-behavior-x: contain; max-width: 100%; }
.table-wrap:focus-visible { outline-offset: -2px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
.inventory-table { min-width: 820px; }
th { padding: 7px 14px; background: var(--soft); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
td { padding: 8px 14px; border-bottom: 1px solid var(--line-soft); color: var(--text); font-size: 14px; vertical-align: top; overflow-wrap: anywhere; }
td:first-child { color: var(--ink); font-weight: 600; }
.inventory-table td:first-child { min-width: 180px; max-width: 300px; }
.inventory-table td.sku-cell { padding-top: 10px; color: var(--muted); font: 12px Consolas, ui-monospace, "Cascadia Code", monospace; max-width: 200px; }
.inventory-table td.cost-cell { min-width: 150px; }
.inventory-table td:last-child { width: 80px; text-align: right; }
.inventory-table td.on-hand { color: var(--ink); font-weight: 600; }
.inventory-table td.on-hand.low { color: #92400e; }
.inventory-table td.on-hand.out { color: #b42318; }
tbody tr:hover { background: #f8fafb; }
tbody tr:last-child td { border-bottom: 0; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-cell>span, .cost-cell>small { display: block; }
.cost-cell>span { color: var(--ink); font-weight: 600; }
.cost-cell>small { color: var(--muted); font-size: 12px; }
.badge { display: inline-block; padding: 0; border: 0; background: transparent; color: #166534; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge.low { color: #92400e; }
.badge.out { color: #b42318; }
.badge.archived { color: var(--muted); }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; gap: 16px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.pagination { display: flex; gap: 6px; }
.fx-note { margin-top: 8px; color: var(--muted); font-size: 12px; }
.empty-state { padding: 28px 16px; text-align: center; }
.empty-state h2 { font-size: 15px; }
.empty-state p { max-width: 420px; margin: 6px auto 12px; color: var(--muted); }
.standalone { margin-top: 16px; padding: 20px 16px; border: 1px dashed #c5ccd5; border-radius: var(--radius); background: #fff; }
.standalone p { margin: 0 auto; }

/* Forms */
.form-surface { max-width: 760px; padding: 20px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.field-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-hint { margin-top: 14px; color: var(--muted); font-size: 12px; }
.conversion-box { margin: 16px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--text); font-size: 13px; line-height: 1.5; }
.conversion-heading { margin-bottom: 6px; }
.conversion-heading strong { color: var(--muted); font-size: 12px; font-weight: 600; }
.conversion-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.conversion-values>div+div { border-left: 1px solid var(--line); padding-left: 16px; }
.conversion-values span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.conversion-values strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.conversion-box>small { display: block; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.saved-price { margin-bottom: 16px; padding: 8px 12px; border-left: 3px solid var(--teal); border-radius: 0 4px 4px 0; background: var(--soft); color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 720px; }
.feedback { margin-top: 10px; color: var(--text); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.feedback.error, .list-message.error { color: #9e302b; background: #fef3f2; border-radius: 4px; padding: 8px 10px; }
.context-message { margin: 0 0 12px; border: 1px solid #c9dfdc; border-radius: 6px; background: var(--teal-soft); color: #164e49; padding: 8px 12px; font-size: 13px; }
.readonly-details { margin: 0 0 8px; max-width: 720px; }
.readonly-details dt { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.readonly-details dt:first-child { margin-top: 0; }
.readonly-details dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }

/* Manage item */
.finder { padding: 14px 16px; }
.finder form>label { font-size: 13px; }
.search-row { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.search-row>.input-with-icon { flex: 1; }
.finder-hint { margin-top: 6px; color: var(--muted); font-size: 12px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results:not(:empty) { margin-top: 10px; border-top: 1px solid var(--line); }
.search-results li+li { border-top: 1px solid var(--line-soft); }
.result-button { white-space: normal; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; color: var(--text); background: #fff; border: 1px solid transparent; border-radius: 4px; padding: 8px 8px; font-weight: 400; }
.result-button:hover:not(:disabled) { color: var(--text); background: var(--soft); border-color: var(--line); }
.result-button:disabled { background: #fff; border-color: transparent; }
.result-button strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.result-button small { display: block; color: var(--muted); font-size: 12px; }
.result-button>span:last-child { color: var(--muted); font-size: 12px; text-align: right; flex-shrink: 0; }
.finder>#add-missing { margin-top: 10px; }
#item-workspace { margin-top: 16px; }
.item-summary { display: flex; gap: 20px; padding: 16px 20px; align-items: center; }
.item-identity { min-width: 0; }
.item-summary h2 { font-size: 18px; margin: 2px 0 6px; overflow-wrap: anywhere; }
.sku-label { color: var(--muted); font: 12px Consolas, ui-monospace, "Cascadia Code", monospace; overflow-wrap: anywhere; }
.stock-summary { margin-left: auto; padding-right: 20px; border-right: 1px solid var(--line); text-align: right; flex-shrink: 0; }
.stock-summary>span { display: block; color: var(--ink); font-size: 26px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stock-summary small { color: var(--muted); font-size: 12px; }
#archived-notice { margin: 0 20px 12px; }
.sub-tabs { display: flex; gap: 20px; padding: 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub-tabs button { min-height: 38px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 2px 6px; color: var(--muted); background: transparent; font-size: 13px; }
.sub-tabs button:hover:not(:disabled) { color: var(--ink); background: transparent; border-color: transparent; }
.sub-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.workspace-body { padding: 18px 20px; }
.section-intro { margin-bottom: 14px; }
.section-intro p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.narrow-form { max-width: 720px; }
.archive-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.archive-row h3 { font-size: 14px; }
.archive-row p { max-width: 640px; margin-top: 2px; color: var(--muted); font-size: 13px; }
.archive-row button { flex-shrink: 0; }
.history-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 20px 10px; }
.history-heading span { color: var(--muted); font-size: 12px; }
.history-table { min-width: 760px; }
.history-table td:first-child { white-space: nowrap; font-weight: 400; font-variant-numeric: tabular-nums; }
.history-table th:first-child { width: 220px; }
.history-table th:nth-child(2) { width: 100px; }
.history-table th:nth-child(4) { width: 190px; }
.history-table td.actor-cell { overflow-wrap: anywhere; }
.history-table td.actor-cell.unknown { color: var(--muted); font-style: italic; }
.positive { color: #166534; font-weight: 600; }
.negative { color: #b42318; font-weight: 600; }
.report-results { margin-top: 16px; display: grid; gap: 16px; }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.report-summary-grid>div+div { border-left: 1px solid var(--line); padding-left: 16px; }
.report-summary-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.report-summary-grid strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.report-table { min-width: 560px; }
.report-table th:first-child { width: 160px; }

/* Fixed reports and nightly check status */
.reports-heading-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.quiet-external-link { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.quiet-external-link:hover { color: var(--teal); text-decoration: underline; }
.reports-surface { padding: 0; overflow: hidden; }
.reports-status-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.reports-status-line { color: var(--muted); font-size: 12px; }
.reports-status-line[data-status="verified"] { color: #166534; }
.reports-status-line[data-status="stale"] { color: #92400e; }
.reports-status-line[data-status="failed"] { color: #b42318; font-weight: 600; }
#reports-status-message { margin: 10px 16px; }
.reports-list { display: flex; flex-direction: column; }
.report-row { padding: 14px 16px; }
.report-row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.saved-result { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.saved-result > * + * { margin-top: 8px; }
.saved-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; overflow-wrap: anywhere; }
.saved-meta, .saved-note, .reports-note, .report-row-scope { color: var(--muted); font-size: 12px; }
.saved-meta { display: block; }
.reports-note { margin-top: 12px; }
.reports-status-title { font-size: 12px; font-weight: 650; }
@media (min-width: 641px) { .report-summary-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.report-row+.report-row { border-top: 1px solid var(--line-soft); }
.report-row-main { min-width: 0; flex: 1; }
.report-row-title { font-size: 14px; font-weight: 650; color: var(--ink); }
.report-row-description { margin-top: 2px; color: var(--text); font-size: 13px; }
.report-row-question { margin-top: 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.reports-question-text { color: var(--ink); font-weight: 600; }
.report-row-action { flex-shrink: 0; }
.external-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid var(--teal); border-radius: 6px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.external-button:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.external-button.secondary { color: var(--ink); background: #fff; border-color: var(--control-border); }
.external-button.secondary:hover { color: var(--ink); background: #f1f4f7; border-color: #66758a; }
.external-button.small { min-height: 30px; padding: 4px 10px; font-size: 12px; }

/* Sign-in */
.auth-card { max-width: 400px; margin: 24px auto 8px; padding: 24px; }
.auth-heading { margin-bottom: 16px; }
.auth-heading p { margin-top: 4px; color: var(--muted); }
.auth-fields { display: grid; gap: 14px; }
.auth-actions { margin-top: 16px; }
.auth-actions button { width: 100%; }
#signin-message { min-height: 0; }
.auth-status { margin: 0; color: var(--muted); text-align: center; }
.auth-status.error { color: #9e302b; background: #fef3f2; border-radius: 4px; padding: 8px 10px; }
#auth-retry { display: flex; margin: 12px auto 0; }
#global-message { margin: 0 0 12px; }

.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; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .shell { padding-left: 20px; padding-right: 20px; }
  .header-inner { flex-wrap: wrap; row-gap: 0; padding-top: 8px; gap: 12px 20px; }
  .navigation { order: 3; flex: 1 1 100%; align-self: auto; margin: 0 -8px; overflow-x: auto; }
  .tab-list button { min-height: 38px; }
  .list-toolbar { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .view-field { flex: 1; }
  .scroll-hint { display: inline; }
}
@media (max-width: 700px) {
  .shell { padding-left: 14px; padding-right: 14px; }
  .session-bar { gap: 8px; }
  .account-trigger { max-width: 150px; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; }
  .report-row-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .report-row-action, .report-row-action>* { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .form-surface, .workspace-body, .finder { padding: 14px; }
  .item-summary { gap: 14px; flex-wrap: wrap; padding: 14px; }
  .item-identity { flex: 1 1 100%; }
  .stock-summary { margin-left: 0; text-align: left; }
  .item-summary>button { margin-left: auto; }
  .sub-tabs { gap: 14px; padding: 0 14px; }
  #archived-notice { margin-left: 14px; margin-right: 14px; }
  .archive-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .history-heading { align-items: flex-start; flex-direction: column; padding: 14px; gap: 2px; }
  .search-row { flex-wrap: wrap; }
  .search-row>.input-with-icon { flex-basis: 100%; }
  .search-row>button { width: 100%; }
  .result-button { align-items: flex-start; flex-direction: column; gap: 4px; }
  .result-button>span:last-child { text-align: left; }
  .conversion-values { gap: 10px; }
  .conversion-values>div+div { padding-left: 10px; }
  .conversion-values strong { font-size: 14px; }
  .report-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .report-summary-grid>div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .auth-card { padding: 20px 16px; margin-top: 8px; }
}
@media (max-width: 400px) {
  .toolbar-actions { width: 100%; }
  .toolbar-actions button { flex: 1; }
  .conversion-values, .report-summary-grid { grid-template-columns: 1fr; }
  .conversion-values>div+div, .report-summary-grid>div+div { border-left: 0; border-top: 1px solid var(--line); padding: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (forced-colors: active) {
  .tab-list button[aria-selected="true"], .sub-tabs button[aria-selected="true"] { border-bottom: 2px solid Highlight; }
  .role-badge { border: 1px solid CanvasText; }
  .brand-mark { forced-color-adjust: none; }
}
