:root {
  --bg: #f6f8f7; --panel: #fff; --panel-soft: #f8faf9;
  --text: #202b28; --muted: #596b60; --border: #dce4df; --line: #e9eeeb;
  --primary: #147d64; --primary-strong: #09634d; --ok: #167452;
  --danger: #b8373f; --warning: #9c6212; --info: #3268a6;
  --blue-soft: #edf4fb; --green-soft: #eaf5ee; --orange-soft: #fcf4e5; --red-soft: #fcefee;
  --shadow: none;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary); }
button, a { touch-action: manipulation; }
button { transition: background-color .15s, border-color .15s, color .15s; }
button:disabled { cursor: not-allowed; }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.7; flex: 0 0 auto; }
.app-shell { grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { background: #fff; color: var(--text); border-right: 1px solid var(--border); padding: 30px 14px 18px; display: flex; flex-direction: column; z-index: 50; overscroll-behavior: contain; }
.brand { grid-template-columns: 38px minmax(0, 1fr); padding: 0 12px 32px; gap: 11px; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; background: #147d64; color: #fff; }
.brand-mark svg { width: 23px; height: 23px; }
.brand h1 { font-size: 18px; font-weight: 650; }
.brand p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.nav { display: grid; gap: 4px; }
.nav-group-label { font-size: 11px; color: #65746a; padding: 6px 14px 7px; font-weight: 500; }
.nav-group-label:not(:first-child) { margin-top: 22px; }
.nav-item { display: flex; gap: 12px; align-items: center; min-height: 42px; padding: 10px 14px; color: #637168; border-radius: 6px; width: 100%; position: relative; }
.nav-item span { font-weight: 500; font-size: 13px; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: #f3f7f4; color: #243c30; }
.nav-item.active { color: #0c6a50; background: #eaf4ed; }
.nav-item.active span { font-weight: 650; }
.nav-item.active::after { content: ""; position: absolute; right: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.sidebar-footer { margin-top: auto; padding: 30px 8px 0; display: flex; align-items: center; gap: 9px; }
.workspace-avatar { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 6px; display: grid; place-items: center; color: #687970; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 12px; font-weight: 550; }
.sidebar-footer small { font-size: 10px; color: var(--muted); }
.local-indicator { width: 6px; height: 6px; border-radius: 50%; background: #31a272; margin-left: auto; }
.main { padding: 0 32px 40px; min-width: 0; overflow-x: clip; }
.workspace-bar { min-height: 76px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; min-width: 0; white-space: nowrap; }
.breadcrumb > span { color: #65746a; }
.breadcrumb strong { font-weight: 500; color: #56685c; }
.breadcrumb svg { width: 12px; height: 12px; color: #8b988f; }
.global-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 258px; height: 34px; color: #819088; }
.global-search input { border: 0; background: transparent; padding: 4px 0; min-height: 30px; min-width: 0; width: 100%; font-size: 12px; }
.global-search:focus-within { color: var(--primary); }
.global-search input:focus { box-shadow: none; outline: none; }
.global-search .icon-button { width: 28px; height: 28px; min-height: 28px; color: #819088; }
.workspace-date { font-size: 11px; white-space: nowrap; color: var(--muted); border-left: 1px solid var(--border); padding-left: 18px; }
.topbar { align-items: center; margin-bottom: 26px; gap: 20px; }
.topbar h2 { font-size: 27px; font-weight: 650; line-height: 1.35; }
.topbar p { font-size: 12px; margin-top: 7px; line-height: 1.6; color: var(--muted); }
.topbar-actions { gap: 10px; }
.status-pill { padding: 0; border: 0; background: transparent; font-size: 11px; min-width: 0; max-width: 220px; overflow-wrap: anywhere; color: var(--muted); }
.status-pill::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 2px 0; border-radius: 50%; background: #50a17d; }
.status-pill[data-tone="busy"]::before { background: #c19342; animation: pulse-status 1s ease-in-out infinite; }
.status-pill[data-tone="error"] { color: var(--danger); }
.status-pill[data-tone="error"]::before { background: var(--danger); }
.btn { min-height: 36px; border-radius: 5px; padding: 7px 12px; font-size: 12px; font-weight: 550; gap: 7px; box-shadow: none; white-space: normal; line-height: 1.4; }
.btn svg { width: 15px; height: 15px; }
.btn.primary { background: var(--primary); border: 1px solid var(--primary); }
.btn.primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); }
.btn.secondary { background: white; color: #45574b; border-color: var(--border); }
.btn.secondary:hover, .btn.ghost:hover { background: #edf3ef; border-color: #c8d7cd; }
.btn.ghost { border-color: transparent; color: #617267; }
.btn.danger { background: #fff; border-color: #efd1cf; color: var(--danger); }
.btn.danger:hover { background: #fff1ef; }
.btn.small { min-height: 30px; font-size: 11px; padding: 5px 9px; }
.btn:disabled { opacity: .44; }
.icon-button { width: 36px; height: 36px; min-height: 36px; flex: 0 0 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: #fff; border-radius: 5px; cursor: pointer; }
.icon-button svg { width: 17px; height: 17px; }
#sidebar-toggle { display: none; }
.view.active { gap: 22px; animation: enter-view .18s ease-out; }
.panel, .export-panel { border: 0; border-radius: 0; box-shadow: none; background: #fff; border-top: 1px solid var(--border); }
.panel-head { padding: 17px 18px; min-height: 58px; background: #fff; }
.panel-head h3, .export-panel h3 { font-size: 14px; font-weight: 650; }
.panel-head p { color: var(--muted); font-size: 12px; }
.panel-head.split { flex-wrap: wrap; }
.panel-head > div { min-width: 0; }
.toolbar { padding: 14px 18px; gap: 9px; }
.toolbar.panel { border-top: 0; border-bottom: 1px solid var(--border); }
input, select, textarea { font-size: 12px; min-height: 36px; border-radius: 5px; border-color: var(--border); background: #fff; color: var(--text); padding: 7px 10px; max-width: 100%; min-width: 0; }
input::placeholder, textarea::placeholder { color: #65746a; }
input:focus, select:focus, textarea:focus { border-color: #6bab90; box-shadow: 0 0 0 3px #147d640b; }
input[type="search"] { min-width: 200px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); min-height: 0; width: 15px; height: 15px; flex: 0 0 15px; }
label { line-height: 1.5; }
.quick-filter-row, .tab-row { background: transparent; border-bottom: 1px solid var(--line); padding: 0 18px; gap: 24px; flex-wrap: wrap; }
.chip-btn, .tab { border: 0; border-bottom: 2px solid transparent; background: transparent; border-radius: 0; padding: 13px 0; min-height: 44px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.chip-btn.active, .tab.active { color: var(--primary); background: transparent; border-color: var(--primary); font-weight: 650; }
.chip-btn:hover, .tab:hover { color: var(--primary); background: transparent; }
.saved-view-row { border-bottom: 1px solid var(--line); background: #fbfcfb; padding: 10px 18px; gap: 8px; }
.saved-view-row select { max-width: 190px; }
.saved-view-row input { max-width: 190px; }
.saved-view-tools { border-bottom: 1px solid var(--line); }
.saved-view-tools > summary { display: flex; align-items: center; gap: 7px; width: fit-content; padding: 10px 18px; color: var(--muted); cursor: pointer; font-size: 12px; list-style: none; }
.saved-view-tools > summary::-webkit-details-marker { display: none; }
.saved-view-tools > summary svg { width: 14px; height: 14px; }
.saved-view-tools[open] > summary svg:last-child { transform: rotate(180deg); }
.saved-view-tools .saved-view-row { border-bottom: 0; }
#inventory-search-btn { order: -1; }
#inventory-q { order: -2; flex: 1 1 240px; }
.bulk-bar { padding: 10px 18px; background: #f8faf9; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; gap: 12px; min-height: 48px; }
.bulk-bar label { display: inline-flex; align-items: center; gap: 6px; }
.kpi-grid, .compact-grid { gap: 0; background: white; border-bottom: 1px solid var(--border); padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { min-height: 108px; border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 20px; background: white; }
.kpi:last-child { border-right: 0; }
.kpi.important, .kpi.warn { background: #fff; border-color: var(--line); }
.kpi .label { color: var(--muted); font-size: 12px; }
.kpi .value { font-size: 28px; font-weight: 600; color: #25382c; }
.kpi.warn .value { color: #a36a20; }
.kpi .meta { font-size: 11px; line-height: 1.55; }
.summary-grid, .report-grid { padding: 0; gap: 0; background: #fff; border-bottom: 1px solid var(--border); }
.summary-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.summary-card, .report-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 18px 20px; background: #fff; min-height: 110px; }
.summary-card.warn, .summary-card.danger { background: #fff; border-color: var(--line); }
.summary-card.warn b { color: var(--warning); }
.summary-card.danger b { color: var(--danger); }
.summary-card b, .report-card b { font-size: 27px; font-weight: 600; }
.table-wrap { scrollbar-width: thin; scrollbar-color: #c8d7ce transparent; }
table { font-size: 13px; line-height: 1.6; }
th { position: sticky; top: 0; z-index: 2; font-size: 12px; font-weight: 550; background: #f7f9f8; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); }
td { padding: 13px 16px; border-color: #edf1ee; color: #394d3f; }
td strong { font-weight: 550; color: #263b2d; }
td small { font-size: 11px; color: var(--muted); line-height: 1.7; }
.numeric { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
tr:hover td { background: #f7faf8; }
.data-table tr { transition: background-color .12s; }
.table-wrap .tag { font-size: 10px; padding: 2px 7px; line-height: 1.6; border-radius: 4px; }
.tag { border: 0; font-weight: 500; border-radius: 4px; }
.tag.ok { color: #24734f; background: #edf6ef; }
.tag.info { color: #466b91; background: #edf3f9; }
.tag.warn { color: #825714; background: #faf2e2; }
.tag.danger { color: #ad4045; background: #fbedec; }
.tag.muted { color: #596b60; background: #f1f3f2; }
.inventory-wrap { min-height: 300px; max-height: calc(100vh - 290px); }
.inventory-wrap table { min-width: 900px; }
#match-table { min-width: 1000px; }
#match-table .sku-diff { max-width: 330px; white-space: normal; overflow-wrap: anywhere; }
#match-table td:last-child { max-width: 180px; white-space: normal; }
.issue-cell { min-width: 140px; }
.location-cell { min-width: 190px; }
.wrap-cell { min-width: 190px; }
.actions-cell .row-actions { gap: 5px; }
.empty { padding: 44px 24px; color: var(--muted); font-size: 13px; text-align: center; background: #fff; }
.empty-state { display: grid; place-items: center; gap: 12px; min-height: 100px; }
.empty-state svg { width: 28px; height: 28px; color: #98afa0; }
.empty-state strong { font-weight: 500; color: var(--muted); }
.view-error { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; margin: 0 0 20px; background: #fcefee; color: var(--danger); border-left: 2px solid var(--danger); }
.view-error[hidden] { display: none; }
.notice, .data-date-note { border: 0; border-left: 2px solid #d8b260; border-radius: 0; background: #fbf8ef; color: #785c29; font-size: 12px; font-weight: 400; padding: 11px 15px; }
.notice.warn { border: 0; border-left: 2px solid #d8b260; background: #fbf8ef; }
.data-date-note small { margin-left: 12px; font-size: 11px; }
.form-grid { padding: 18px; gap: 10px; }
.form-grid > * { min-width: 0; }
.cost-item { border-radius: 6px; border-color: var(--border); box-shadow: none; }
.cost-item.missing_cost { border-color: var(--border); border-left: 2px solid #c49644; background: #fff; }
.cost-main { background: #fff; }
.missing-cost-detail > div { border: 0; border-radius: 0; background: transparent; padding: 0 10px; }
.missing-cost-detail > div + div { border-left: 1px solid var(--line); }
.manual-note { background: #f8faf9; font-size: 12px; }
.cost-list { padding: 0 18px 18px; }
.cost-summary { background: #f8faf9; }
.cost-candidate { border-radius: 4px; background: #f9fbf9; }
.transit-alert { border: 0; border-left: 2px solid var(--border); border-radius: 0; box-shadow: none; }
.transit-alert.warn { background: #fff; border-color: #d5ab5e; }
.transit-alert.active { background: #eaf4ed; border-color: var(--primary); }
.transit-alert small { font-size: 11px; }
.stepper { background: #f8faf9; border-bottom: 1px solid var(--line); padding: 18px; }
.step { border-radius: 0; border: 0; background: transparent; min-height: 36px; }
.step.active { border: 0; background: transparent; }
.step b { width: 25px; height: 25px; font-size: 12px; background: #e5f1e9; color: #19724f; }
.step span { font-size: 12px; }
.drawer { width: min(510px, 100%); border-left: 1px solid var(--border); box-shadow: -16px 0 80px #12241b14; }
.drawer:not(.open) { visibility: hidden; }
.drawer-head { padding: 22px 24px; background: #f8faf9; }
.drawer-head h3 { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.drawer-head p { font-size: 12px; }
.drawer-content { padding: 24px; }
.inventory-product { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 236px; }
.inventory-product > div { min-width: 0; overflow-wrap: anywhere; }
.product-photo { display: inline-flex; align-items: center; justify-content: center; position: relative; flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #65716b; overflow: hidden; cursor: pointer; }
.product-photo:hover { border-color: #087f68; }
.product-photo:focus-visible { outline: 2px solid #087f68; outline-offset: 2px; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-photo img[hidden], .product-photo [hidden] { display: none; }
.product-photo.no-image { background: #f3f5f4; cursor: default; }
.product-photo.no-image svg, .product-photo-error svg { width: 20px; height: 20px; }
.product-photo-large { display: flex; width: 100%; max-width: 360px; height: 240px; margin: 0 auto 12px; gap: 8px; flex-direction: column; font-size: 13px; }
.product-photo-expand { position: absolute; right: 8px; bottom: 8px; width: 24px; height: 24px; padding: 4px; color: #35443b; background: #fff; border-radius: 4px; }
.product-photo.image-failed { background: #f3f5f4; }
.product-photo-error:not([hidden]) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.product-image-source { margin: 0 0 18px; color: #65716b; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.drawer-form { background: #f8faf9; padding: 18px; border-radius: 6px; }
.drawer-actions { padding: 16px 24px; }
.drawer-backdrop { background: #12221a38; backdrop-filter: blur(2px); }
.toast { border-radius: 6px; background: #203b2c; color: white; padding: 13px 20px; box-shadow: 0 8px 30px #142b2520; max-width: calc(100vw - 32px); }
.export-panel { padding: 24px; max-width: none; }
.report-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-heading .export-link { margin-top: 0; }
.report-options { display: flex; flex-wrap: wrap; gap: 20px; padding: 16px 0; }
.report-options label { font-size: 13px; display: flex; align-items: center; gap: 7px; }
.report-grid { margin: 20px 0; grid-template-columns: repeat(4,minmax(0,1fr)); }
.report-card { background: #f7faf8; min-width: 0; }
.report-card b { font-size: 22px; overflow-wrap: anywhere; }
.report-card.report-meta-0 b { font-size: 16px; line-height: 1.7; font-weight: 500; }
.sheet-row { font-size: 13px; }
.sheet-row b { font-weight: 550; }
.sheet-row[hidden] { display: none; }
.sheet-list { gap: 10px; }
#import-scope-note { white-space: pre-line; overflow-wrap: anywhere; }
#transit-shipment-export-link[hidden], #transit-review-note[hidden] { display: none; }
.ov-source-updates { margin: 0 0 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.ov-source-updates summary { cursor: pointer; }
.ov-source-updates summary > span { margin-left: 10px; color: var(--muted); }
.ov-source-updates table { min-width: 720px; }
.ov-source-updates td small { display: block; max-width: 260px; overflow-wrap: anywhere; }
.sheet-item { background: #fff; border-color: var(--line); border-radius: 6px; }
.skip-link { position: fixed; z-index: 200; top: -60px; left: 16px; background: #fff; color: var(--primary); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.sidebar-scrim { display: none; }
@keyframes enter-view { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes pulse-status { 50% { opacity: .3; } }
@media (min-width: 1800px) { .main { padding-right: 52px; padding-left: 52px; } .workspace-bar { min-height: 82px; } }
@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 204px minmax(0, 1fr); }
  .main { padding-left: 24px; padding-right: 24px; }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .workspace-date { display: none; }
  .topbar-actions .status-pill { display: none; }
  .kpi-grid, .compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 238px; height: 100dvh; transform: translateX(-100%); transition: transform .2s ease; padding: 25px 14px 20px; visibility: hidden; }
  body.nav-open .sidebar { transform: translateX(0); visibility: visible; }
  body.nav-open .sidebar-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: #13241b38; border: 0; width: 100%; height: 100%; }
  body.nav-open { overflow: hidden; }
  #sidebar-toggle { display: inline-flex; border: 0; background: transparent; color: #5f7466; }
  .workspace-bar { min-height: 60px; margin-bottom: 23px; gap: 8px; }
  .nav { display: grid; gap: 4px; overflow: visible; }
  .nav-item { min-width: 0; }
  .main { padding: 0 22px 32px; }
  .topbar h2 { font-size: 25px; }
  .global-search { width: 220px; }
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .main { padding: 0 16px 28px; }
  .workspace-bar { margin-bottom: 20px; }
  .breadcrumb { font-size: 11px; gap: 5px; }
  .breadcrumb > span, .breadcrumb > svg { display: none; }
  .global-search { width: auto; min-width: 0; flex: 1; max-width: 190px; gap: 5px; }
  .global-search input { font-size: 11px; min-width: 0; }
  .global-search > svg { width: 14px; }
  .topbar { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .topbar > div:first-child { min-width: 0; }
  .topbar h2 { font-size: 23px; }
  .topbar p { font-size: 11px; max-width: 210px; }
  .topbar-actions { gap: 6px; align-items: center; }
  .topbar-actions > .btn.primary { padding: 8px; font-size: 11px; }
  .topbar-actions > .btn.primary svg { display: none; }
  .btn, select, input[type="search"] { width: auto; }
  .icon-button { width: 34px; height: 34px; min-height: 34px; flex-basis: 34px; }
  .kpi-grid, .compact-grid, #transit-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi { padding: 16px; min-height: 104px; border-bottom: 1px solid var(--line); }
  .kpi .value { font-size: 26px; }
  .kpi .label { font-size: 11px; }
  .kpi .meta { font-size: 10px; }
  .summary-card, .report-card { padding: 14px; min-height: 96px; }
  .summary-card b, .report-card b { font-size: 24px; }
  .summary-card span, .summary-card small { font-size: 11px; }
  .toolbar { display: flex; gap: 8px; padding: 12px; }
  .toolbar > input[type="search"] { width: 100%; min-width: 0; }
  .toolbar > select { flex: 1 1 130px; min-width: 0; }
  .toolbar > .btn { flex: 0 1 auto; }
  #inventory-q { width: calc(100% - 90px); flex: 1 1 calc(100% - 90px); }
  .saved-view-row { display: flex; flex-wrap: wrap; padding: 12px; }
  .saved-view-row input, .saved-view-row select { max-width: none; flex: 1 1 130px; }
  .quick-filter-row, .tab-row { padding: 0 12px; gap: 16px; }
  .panel-head { padding: 14px 12px; }
  .panel-head h3 { font-size: 13px; }
  .panel-head p { font-size: 11px; }
  .pager { gap: 6px; }
  .pager select { max-width: 95px; }
  .bulk-bar { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .form-grid, .form-grid.cost-form, .form-grid.compact-form { grid-template-columns: 1fr; padding: 14px 12px; }
  .form-grid > input, .form-grid > select, .form-grid > button { width: 100%; }
  .cost-main { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .cost-main > div { min-width: 0; }
  .cost-main > .btn { grid-column: 1 / -1; justify-self: start; min-width: 120px; }
  .missing-cost-detail > div + div { border-left: 0; }
  .table-wrap { max-height: 560px; }
  .data-table, .inventory-wrap table { display: table; min-width: 700px; }
  .data-table thead { display: table-header-group; }
  .data-table tbody { display: table-row-group; }
  .data-table tr { display: table-row; border: 0; margin: 0; border-radius: 0; }
  .data-table td { display: table-cell; white-space: nowrap; padding: 11px 13px; text-align: left; }
  .data-table td.numeric { text-align: right; }
  .data-table td:not(.select-cell)::before { display: none; content: none; }
  .data-table td.wrap-cell, .data-table td.wrap-small, .data-table td.issue-cell, .data-table td.location-cell { white-space: normal; }
  .inventory-wrap { min-height: 240px; }
  .data-date-note { display: block; }
  .data-date-note small { display: block; margin: 3px 0 0; }
  .stepper { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 12px; gap: 4px; }
  .step { display: flex; flex-direction: column; padding: 4px; gap: 5px; }
  .step span { font-size: 11px; }
  .export-panel { padding: 18px 12px; }
  .report-grid { grid-template-columns: 1fr; }
  .report-card { min-height: 80px; }
  .drawer-head, .drawer-content { padding: 18px; }
  .drawer-actions { display: flex; flex-wrap: wrap; padding: 14px 18px; }
  .drawer-actions .btn { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
