@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #1c3129;
  --green: #254c3d;
  --muted: #617269;
  --line: #e1e7df;
  --surface: #f5f7f2;
  --white: #fff;
  --lime: #d9efa8;
  --mint: #e7f1e5;
  font: 14px Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--surface); }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .56; cursor: default; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #4e8b5e; outline-offset: 3px; }
.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; }
.muted { color: var(--muted); line-height: 1.55; }
.top { min-height: 64px; background: #192f28; color: #f7fbf4; display: flex; align-items: center; justify-content: space-between; padding: 10px 23px; gap: 12px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; text-decoration: none; font-size: 20px; letter-spacing: -.06em; white-space: nowrap; }
.mark { display: grid; place-items: center; background: var(--lime); width: 36px; height: 36px; border-radius: 11px; color: #233c2e; margin-right: 10px; }
.mark svg { width: 23px; height: 23px; }
.brand-dot { color: var(--lime); }
.top-actions { display: flex; align-items: center; gap: 11px; min-width: 0; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 19px; font-weight: 750; white-space: nowrap; }
.primary { color: #20372b; background: var(--lime); }
.primary:hover { background: #e4f7be; }
.quiet { background: var(--white); border-color: #dbe3db; }
.quiet:hover { background: #edf3ec; border-color: #a8bca8; }
.solid { background: var(--green); color: #fff; }
.solid:hover { background: #32634e; }
.soft { background: var(--mint); color: var(--green); border-color: #cfe0cf; }
.soft:hover { background: #d8ead5; }
.icon-button { background: transparent; border: 1px solid transparent; color: #526b5c; width: 30px; height: 30px; padding: 0; border-radius: 7px; display: inline-grid; place-items: center; flex-shrink: 0; }
.icon-button:hover { background: #eaf0e7; color: var(--green); }
.icon-button.small { width: 25px; height: 25px; }
.source { background: #294038; border: 1px solid #3b5048; color: #e4eae3; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 7px; white-space: nowrap; }
.source:hover { background: #354e43; }
.source-dot { display: inline-block; flex: none; width: 7px; height: 7px; background: #dda856; border-radius: 50%; margin-right: 7px; }
.source-state { color: #c6d0c7; margin-left: 4px; }
.account { background: none; border: 0; color: #d6e1d9; display: inline-flex; gap: 7px; align-items: center; padding: 8px 2px; max-width: 155px; overflow: hidden; white-space: nowrap; font-size: 12px; }
.account:hover { color: #fff; }
.account-settings { color: #eef6eb; font-size: 12px; font-weight: 700; text-decoration: none; }
.account-settings:hover { text-decoration: underline; }
.shell { display: grid; grid-template-columns: 222px minmax(0,1fr) 314px; min-height: calc(100vh - 64px); }
.sidebar { padding: 25px 14px 15px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.nav-label { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #607267; display: flex; justify-content: space-between; align-items: center; min-height: 25px; padding: 0 5px 0 8px; margin-bottom: 5px; }
.nav-location, .nav-link { display: flex; align-items: center; width: 100%; min-width: 0; color: #30463b; background: transparent; border: 1px solid transparent; border-radius: 10px; text-align: left; gap: 8px; padding: 8px 7px; }
.nav-location + .nav-location { margin-top: 4px; }
.nav-location > span:nth-child(2) { flex: 1; min-width: 0; }
.nav-location > svg:last-child { color: #809286; }
.nav-location strong { display: block; font-size: 13px; line-height: 1.32; font-weight: 800; }
.nav-location small { display: block; margin-top: 3px; color: #5a7263; font-size: 10.4px; line-height: 1.4; }
.location-icon { height: 33px; width: 33px; flex: 0 0 33px; border-radius: 9px; display: grid; place-items: center; color: #577367; background: #edf3ec; }
.nav-location:hover, .nav-link:hover { border-color: #e0e9e0; background: #f5f8f4; }
.nav-location.active { border-color: #d9e9d2; background: #e9f2e4; }
.nav-location.active .location-icon { background: #d4e7cc; color: #345d46; }
.nav-link { gap: 9px; padding: 9px 7px; font-size: 12px; font-weight: 700; border-radius: 8px; }
.nav-link svg, .old-plan svg { color: #547164; }
.nav-link span:nth-child(2) { flex: 1; }
.nav-current { background: #f0f5ed; }
.nav-count { color: #4e6757; background: #e4eee1; border-radius: 5px; padding: 1px 6px; font-size: 10px; }
.old-plan { margin: auto 0 0; padding: 12px 7px 0; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; color: #5c6c62; text-decoration: none; font-weight: 700; font-size: 11px; }
.old-plan span { flex: 1; }
.old-plan:hover { color: var(--green); }
.main { min-width: 0; padding: 24px clamp(17px,2.3vw,34px) 32px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.page-head .button { margin-bottom: 4px; }
.breadcrumb { color: #63796c; display: flex; font-size: 12px; font-weight: 750; align-items: center; gap: 7px; margin-bottom: 8px; }
h1 { font-size: clamp(28px,3vw,39px); line-height: 1.12; font-weight: 800; letter-spacing: -.055em; }
.page-summary { color: var(--muted); font-size: 12px; font-weight: 650; margin-top: 8px; }
.page-summary b { color: #849589; padding-inline: 3px; }
.load { color: var(--muted); padding: 30px 0; }
.map-frame { border: 1px solid #dbe4da; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 9px 24px #2543320b; }
.map-toolbar { height: 53px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px 0 17px; gap: 5px; border-bottom: 1px solid var(--line); }
.map-toolbar h2 { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.map-toolbar h2 svg { color: #516f60; }
.map-actions { display: flex; gap: 6px; }
.map-actions .button { padding: 5px 9px; font-size: 11px; }
.map-surface { container-type: inline-size; padding: 14px; display: grid; gap: 12px; background-color: #edf2ea; background-image: radial-gradient(#becdbe 1px,transparent 1px); background-size: 15px 15px; }
.map-surface.editing { background-color: #e8efe4; }
.map-instruction { display: flex; gap: 8px; align-items: center; color: #4b6a58; font-size: 12px; font-weight: 700; }
.production-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.production-point { min-height: 54px; max-width: 100%; border: 1px solid #c7d4c1; border-radius: 10px; padding: 4px 10px 4px 7px; background: #fbfdf8; display: flex; align-items: center; gap: 7px; text-align: left; }
.production-point:hover, .production-active { background: #eaf4e3; border-color: #77a27b; }
.production-point > svg:first-child { width: 68px; height: 43px; }
.production-point > span { min-width: 110px; }
.production-point strong, .production-point small { display: block; }
.production-point strong { font-size: 12px; }
.production-point small { color: #617269; font-size: 10px; margin-top: 3px; }
.production-point .occupancy { margin-right: 4px; }
.production-point > svg:last-child { margin-left: 5px; color: #6e8b78; }
.yard { min-width: 0; border: 1px solid #d6e1d3; border-radius: 10px; background: #f9fbf6ee; padding: 10px 11px 9px; }
.yard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.yard-head h3 { font-size: 12px; font-weight: 800; }
.yard-head > span { color: #52695a; background: #eaf0e6; border-radius: 12px; font-size: 10px; font-weight: 750; padding: 3px 8px; white-space: nowrap; }
.yard-scroll { overflow-x: auto; scrollbar-color: #bacbb8 transparent; padding: 2px 3px 3px; }
.tier { --tile-width: clamp(69px,13.6cqw,116px); width: max-content; display: flex; align-items: center; gap: 9px; }
.tier + .tier { padding-top: 2px; border-top: 1px dashed #d6dfd1; margin-top: 2px; }
.tier-label { width: 37px; font-size: 21px; font-weight: 800; color: #446353; line-height: 1; }
.tier-label small { display: block; color: #718378; font-size: 9px; font-weight: 750; margin-top: 2px; }
.tier-cells { display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile-width); gap: 6px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-width: 0; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 0 1px 2px; min-height: 63px; }
.tile:hover { background: #e7efe4; border-color: #c8dbcb; }
.tile-active { background: #e6f2df; border-color: #70a477; box-shadow: 0 0 0 1px #a9c8a6 inset; }
.tile .storage-art { width: min(100%,102px); height: 54px; display: block; margin: -1px 0 -3px; }
.tile-name { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 800; }
.occupancy { display: inline-block; width: 7px; height: 7px; border: 1.5px solid #81998a; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.tile-stock .occupancy, .occupancy.filled { border-color: #3d8052; background: #4e945f; }
.slot { align-self: center; border: 1px dashed #9db29d; min-height: 50px; border-radius: 7px; font-size: 10px; color: #607960; display: grid; justify-items: center; align-content: center; padding: 4px; }
.slot small { margin-top: 2px; }
.yard-empty { font-size: 12px; color: var(--muted); padding: 14px 0 7px; }
.drag-stock [data-drop-cell], .drag-stock [data-drop-location] { border-color: #b1cdb2; }
.drop-ready { background: #e0efbe !important; border: 1px solid #73a25f !important; box-shadow: 0 0 0 2px #91b477 inset; }
.legend { padding: 11px 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 13px; color: #5b6d61; font-size: 11px; font-weight: 650; }
.legend-note { margin-left: auto; }
.inventory { min-width: 0; border-left: 1px solid var(--line); background: #fff; }
.inventory-inner { padding: 24px 16px; }
.inventory-kicker { color: #607467; display: flex; font-size: 12px; font-weight: 750; align-items: center; gap: 7px; margin-bottom: 16px; }
.inventory-title { display: flex; align-items: center; gap: 8px; }
.inventory-title h2 { font-size: 21px; letter-spacing: -.045em; font-weight: 800; overflow-wrap: anywhere; }
.inventory-symbol { background: #f3ead5; color: #816637; border-radius: 9px; width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; }
.inventory-symbol.for-cell { background: #e8f0e4; color: #4f785f; }
.inventory-location { color: var(--muted); font-size: 12px; margin-top: 8px; }
.inventory-total { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; margin-top: 20px; padding: 12px; border: 1px solid #e6ebe4; background: #f6f8f3; border-radius: 9px; }
.inventory-total strong { font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.inventory-total span { color: #5e7666; font-size: 11px; font-weight: 700; flex: none; }
.inventory-operations { display: grid; gap: 7px; margin: 10px 0 16px; }
.stock-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.stock-card { border: 1px solid #e1e7dd; border-radius: 10px; cursor: grab; min-width: 0; overflow: hidden; transition: border-color .15s; }
.stock-card:active { cursor: grabbing; }
.stock-card:hover { border-color: #9ab49c; }
.stock-art { background: #f6f5ed; min-height: 80px; display: grid; place-items: center; }
.stock-art .product-art { width: 88px; height: 71px; pointer-events: none; }
.stock-text { padding: 8px 8px 5px; }
.stock-text > strong { font-size: 11px; font-weight: 800; overflow-wrap: anywhere; display: block; }
.stock-text > small { display: block; margin-top: 2px; font-size: 9px; color: #68796b; overflow-wrap: anywhere; }
.stock-bottom { margin-top: 3px; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.stock-bottom span { color: #315745; font-size: 12px; font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.transfer { width: 25px; height: 23px; background: #edf3ea; }
.drag-tip, .facility { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); line-height: 1.5; font-size: 11px; }
.drag-tip { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.drag-tip svg { margin-top: 1px; color: #597465; }
.facility { align-items: center; margin-top: 16px; }
.inventory-empty { text-align: center; background: #f6f8f4; border: 1px dashed #d3dfd3; border-radius: 10px; padding: 16px 13px; color: var(--muted); font-size: 12px; }
.inventory-empty svg { color: #779887; margin-bottom: 7px; }
.search { display: flex; align-items: center; gap: 9px; padding: 0 11px; background: #fff; border: 1px solid #dbe4da; border-radius: 8px; color: #5d796a; }
.search input { width: 100%; background: transparent; border: 0; color: var(--ink); padding: 10px 1px; }
.search:focus-within { outline: 2px solid #73a17d; }
.search input:focus { outline: 0; }
.catalog-list, .journal { display: grid; gap: 9px; margin-top: 14px; }
.catalog-card { background: #fff; border: 1px solid #e0e8df; border-radius: 12px; padding: 11px; display: grid; gap: 11px; grid-template-columns: 82px minmax(0,1fr) auto; align-items: center; }
.catalog-art { background: #f6f5ed; border-radius: 8px; padding: 5px; grid-row: span 2; }
.catalog-art svg { width: 100%; height: auto; }
.catalog-details h3 { font-size: 15px; }
.catalog-details p { font-size: 11px; color: var(--muted); margin: 3px 0; }
.catalog-details strong { color: #315745; }
.catalog-stock { grid-column: 2; grid-row: 2; }
.catalog-actions { grid-column: 3; grid-row: 1 / span 2; display: grid; gap: 5px; }
.catalog-actions .button { padding: 5px 8px; }
.balance-link { display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; background: #f4f7f1; border: 0; border-radius: 6px; padding: 5px; margin: 3px 0; color: #385645; font-size: 11px; }
.balance-link:hover { background: #e7f1e4; }
.balance-link span { flex: 1; }
.balance-link b { flex: none; }
.blank-state { border: 1px dashed #ccdccc; border-radius: 12px; background: #fcfdfa; text-align: center; padding: 32px 17px; color: #577467; }
.blank-state h2 { color: var(--ink); font-size: 19px; margin: 7px 0; }
.blank-state p { margin: 7px 0 9px; }
.journal-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: start; gap: 10px; border: 1px solid var(--line); background: #fff; padding: 12px; border-radius: 10px; }
.journal-icon { display: grid; place-items: center; width: 33px; height: 33px; background: #e8f1e5; color: #4b735c; border-radius: 8px; }
.journal-type { font-size: 10px; color: #5c7464; font-weight: 800; }
.journal-row h3 { font-size: 14px; margin: 1px 0 5px; }
.journal-route { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: #547061; font-size: 11px; }
.journal-materials { font-size: 11px; color: var(--muted); margin-top: 7px; }
.journal-meta { margin-left: 4px; text-align: right; }
.journal-meta strong, .journal-meta small { display: block; }
.journal-meta strong { font-size: 13px; }
.journal-meta small { font-size: 10px; color: var(--muted); margin-top: 3px; }
dialog { width: min(540px,calc(100% - 22px)); max-height: calc(100dvh - 25px); padding: 0; color: var(--ink); border: 1px solid #d5e1d2; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px #19382f42; }
dialog::backdrop { background: #15251ed1; opacity: .62; }
.dialog-head { padding: 17px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dialog-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.dialog-head p { font-size: 12px; margin-top: 3px; }
.dialog-body { display: grid; gap: 13px; padding: 15px 20px; }
.dialog-body.plain { padding-bottom: 22px; line-height: 1.58; }
.dialog-foot { position: sticky; bottom: 0; z-index: 1; padding: 11px 20px; background: #f9fbf7; border-top: 1px solid var(--line); }
.dialog-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.form-error { color: #a03930; font-size: 12px; font-weight: 750; margin-bottom: 7px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: #405e4e; font-size: 12px; font-weight: 750; }
.field > input, .field select { border: 1px solid #d8e4d8; border-radius: 7px; background: #fff; color: var(--ink); width: 100%; padding: 8px 9px; font-size: 13px; font-weight: 600; }
.field input[readonly] { background: #f4f6f2; color: #51645a; }
.field .search input { padding: 8px 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { display: block; padding: 0; margin-bottom: 6px; color: #405e4e; font-size: 12px; font-weight: 750; }
.form-group { display: grid; gap: 10px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; }
.segmented input, .icon-grid input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.segmented label, .icon-grid label { cursor: pointer; }
.segmented label span { display: block; border: 1px solid #dce6dc; border-radius: 8px; padding: 7px 10px; font-weight: 750; font-size: 12px; }
.segmented input:checked + span, .icon-grid input:checked + span { background: #e9f2e4; border-color: #78a181; color: #315c42; }
.segmented input:focus-visible + span, .icon-grid input:focus-visible + span { outline: 2px solid #5d9367; outline-offset: 2px; }
.icon-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.icon-grid label > span { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid #e0e8dd; border-radius: 8px; height: 100%; padding: 6px 3px; justify-content: center; }
.icon-grid .product-art { width: 62px; height: 49px; }
.icon-grid .storage-art { width: min(94%,86px); height: 49px; }
.icon-grid small { font-size: 10px; font-weight: 750; margin-top: 3px; }
.operation-item { display: flex; align-items: center; gap: 10px; border: 1px solid #e5e9dd; border-radius: 9px; padding: 6px 10px; background: #faf9f4; }
.operation-item svg { height: 53px; width: 68px; }
.operation-item strong, .operation-item small { display: block; }
.operation-item small { color: var(--muted); margin-top: 4px; }
.from-line { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; }
.from-line strong { color: var(--ink); margin-left: 5px; }
.materials { border-top: 1px solid var(--line); padding-top: 7px; display: grid; gap: 7px; }
.materials .muted { font-size: 12px; }
.materials .button { justify-self: start; }
.material-row { display: grid; grid-template-columns: minmax(0,1fr) 90px 30px; align-items: end; gap: 6px; margin-block: 4px 8px; }
.material-row .icon-button { margin-bottom: 1px; }
.source-card { border-radius: 8px; padding: 10px; background: #fbf5e8; color: #775c29; }
.toast { position: fixed; right: 22px; bottom: 19px; z-index: 5; max-width: min(calc(100% - 30px),470px); display: flex; gap: 8px; align-items: center; background: #254738; color: #fff; border-radius: 9px; padding: 11px 13px; box-shadow: 0 9px 24px #253c3360; font-size: 12px; font-weight: 700; }
.toast-error { background: #8e3932; }
@media (max-width: 1240px) and (min-width: 1061px) {
  .shell { grid-template-columns: 188px minmax(0,1fr) 275px; }
  .sidebar, .inventory-inner { padding-inline: 10px; }
  .nav-location { gap: 5px; }
  .location-icon { height: 29px; width: 29px; flex-basis: 29px; }
  .nav-location > svg:last-child { display: none; }
}
@media (max-width: 1060px) {
  .shell { grid-template-columns: 186px minmax(0,1fr); }
  .sidebar { grid-row: 1 / span 2; }
  .inventory { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); }
  .inventory-inner { padding: 20px; }
  .stock-grid { grid-template-columns: repeat(auto-fill,minmax(120px,155px)); }
  .inventory-operations { display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .top { padding-inline: 12px; }
  .top-actions { gap: 5px; }
  .top-actions .button { padding-inline: 7px; font-size: 11px; }
  .source { padding-inline: 6px; font-size: 10px; }
  .source-state, .account { font-size: 0; }
  .account-settings { font-size: 10px; }
  .account { max-width: 27px; padding: 5px 0; }
  .brand { font-size: 16px; }
  .mark { width: 28px; height: 28px; margin-right: 5px; }
  .mark svg { width: 18px; height: 18px; }
  .shell { display: block; }
  .sidebar { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-group { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
  .nav-label { padding-inline: 6px 2px; margin: 0; font-size: 9px; }
  .nav-group:nth-child(2) .nav-label { display: none; }
  .nav-location, .nav-link { width: auto; padding: 6px 5px; gap: 4px; }
  .nav-location + .nav-location { margin: 0; }
  .nav-location small, .nav-location > svg, .nav-count, .old-plan { display: none; }
  .nav-location strong, .nav-link { font-size: 10px; }
  .location-icon { background: none !important; flex-basis: 16px; height: 17px; width: 16px; }
  .location-icon svg, .nav-link svg { width: 15px; height: 15px; }
  .main { padding: 15px 11px 20px; }
  .page-head { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 11px; }
  .page-head .button { padding-block: 5px; margin: 0; font-size: 12px; }
  .map-toolbar { padding: 0 6px 0 8px; gap: 2px; }
  .map-toolbar h2 { font-size: 11px; gap: 4px; }
  .map-actions .button { padding: 5px 4px; gap: 2px; }
  .map-surface { padding: 7px; }
  .yard { padding-inline: 5px; }
  .legend-note { margin-left: 0; }
  .catalog-card { grid-template-columns: 57px minmax(0,1fr); }
  .catalog-actions { grid-column: 2; grid-row: 3; display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
