:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: #26352f; background: #f6f7f3; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 1px solid #dce3d4; background: white; border-radius: 8px; min-height: 44px; padding: 10px 16px; transition: background .15s; }
button:hover { background: #eef2e7; }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible, .map-box:focus-visible { outline: 3px solid #e97845; outline-offset: 3px; }
.map-panel { margin-left: 248px; width: calc(100% - 248px); height: 100vh; height: 100dvh; min-height: 640px; display: flex; flex-direction: column; padding: 0 32px 20px; background: #f6f7f3; }
.map-panel:fullscreen, .map-panel.expanded { margin: 0; width: 100%; height: 100dvh; padding: 0 32px 20px; }
.map-panel.expanded { position: fixed; inset: 0; z-index: 10; overflow: auto; }
.map-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
h1 { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-size: 32px; font-weight: 550; letter-spacing: -1.2px; }
h1 span { color: #849078; background: #e9eee1; border: 1px solid #dfe6d7; border-radius: 5px; padding: 4px 6px; font-size: 10px; font-weight: 500; letter-spacing: .3px; }
.map-header p { color: #86917d; font-size: 12px; margin: 9px 0 0; }
#expand-map { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #68795e; border-color: #dfe5d7; background: #fafbf7; }
.segmented { display: flex; flex-shrink: 0; gap: 4px; padding: 4px; background: #e9eee1; border-radius: 8px; align-self: flex-start; margin: 20px 0 16px; }
.segmented button { min-height: 34px; padding: 7px 16px; font-size: 11px; color: #7c8970; border-radius: 5px; }
.segmented button { background: transparent; border-color: transparent; }
.segmented button[aria-pressed=true] { background: white; color: #34472d; box-shadow: 0 2px 5px #26352f12; }
.map-stage { position: relative; flex: 1; min-height: 300px; overflow: hidden; border: 1px solid #e0e6d6; border-radius: 12px; background-color: #fbfcf8; background-image: radial-gradient(#ccd4bf .7px, transparent .7px); background-size: 18px 18px; }
#warehouse-map { width: 100%; height: 100%; display: block; }
.map-box { cursor: pointer; outline: none; }
.map-box:hover .box-top, .map-box:focus-visible .box-top { filter: brightness(1.12); stroke: #e97845; stroke-width: 2; }
.map-zone-label { fill: #6d7e58; font-size: 20px; font-weight: bold; }
.map-tools { position: absolute; bottom: 18px; right: 18px; display: flex; gap: 4px; padding: 4px; background: white; border: 1px solid #dce3d4; border-radius: 10px; box-shadow: 0 3px 12px #26352f10; }
.map-tools button { border: 0; width: 44px; padding: 0; font-size: 22px; }
.map-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: #8b977f; padding-top: 16px; }
.map-footer p { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #adb795; }
.legend i.selected { background: #e97845; }
.legend i.free { background: transparent; border: 1px dashed #b7c2aa; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 2; width: 248px; display: flex; flex-direction: column; padding: 29px 18px 0; background: #fff; border-right: 1px solid #e6eade; }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 9px; color: #27362c; font-size: 24px; font-weight: 650; letter-spacing: -1px; text-decoration: none; }
.brand svg { width: 29px; height: 31px; fill: none; stroke: #e97845; stroke-width: 1.8; stroke-linejoin: round; }
.brand-dot { color: #e97845; }
.sidebar-object { display: flex; align-items: center; gap: 10px; padding: 14px 10px; background: #f7f8f3; border: 1px solid #e9ecdf; border-radius: 8px; margin: 30px 0 30px; }
.object-icon { display: grid; place-items: center; background: #e9edde; color: #82916e; width: 30px; height: 32px; font-size: 20px; border-radius: 5px; }
.sidebar-object strong { display: block; font-size: 11px; font-weight: 550; }
.sidebar-object small { display: block; font-size: 9px; color: #96a087; margin-top: 5px; }
.object-status { width: 5px; height: 5px; background: #8ca578; border-radius: 50%; margin-left: auto; }
.nav-caption { display: flex; justify-content: space-between; font-size: 8px; font-weight: 550; letter-spacing: 1.1px; color: #a0a992; padding: 0 12px; margin-bottom: 13px; }
.nav-caption>span { letter-spacing: 0; color: #b1baa5; }
.current-page { display: flex; align-items: center; gap: 11px; padding: 13px 12px; border: 1px solid #e5ebda; border-radius: 7px; background: #edf2e5; color: #4e6541; text-decoration: none; font-size: 12px; font-weight: 550; }
.current-page svg { width: 20px; height: 20px; fill: none; stroke: #718660; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-arrow { margin-left: auto; color: #92a480; font-size: 16px; }
.floor-section { margin-top: 36px; }
.floor-link { width: 100%; display: flex; gap: 11px; align-items: center; min-height: 66px; padding: 11px 10px; border: 1px solid transparent; margin-bottom: 5px; text-align: left; border-radius: 7px; }
.floor-number { color: #a2ac96; width: 33px; height: 34px; display: grid; place-items: center; font-size: 14px; font-weight: 500; background: #f4f6ef; border: 1px solid #ebeee4; border-radius: 6px; font-variant-numeric: tabular-nums; }
.floor-copy strong { display: block; font-size: 11px; font-weight: 500; color: #758369; }
.floor-copy small { display: block; font-size: 9px; color: #a6ae9c; margin-top: 6px; }
.floor-dot { margin-left: auto; height: 5px; width: 5px; border-radius: 50%; background: #dce3d4; }
.floor-link[aria-pressed=true] { background: #faf8f1; border-color: #eee8da; }
.floor-link[aria-pressed=true] .floor-number { background: #f8e9dc; border-color: #f0d9c5; color: #c78854; }
.floor-link[aria-pressed=true] .floor-copy strong { color: #4f5e43; }
.floor-link[aria-pressed=true] .floor-dot { background: #df9660; }
.sidebar-capacity { margin: 28px 11px 20px; padding-top: 22px; border-top: 1px solid #ecf0e5; }
.capacity-heading { display: flex; justify-content: space-between; font-size: 10px; color: #95a086; }
.capacity-heading strong { font-size: 10px; font-weight: 550; color: #768b61; }
.capacity-track { background: #edf1e5; height: 5px; border-radius: 4px; overflow: hidden; margin-top: 13px; }
.capacity-track>span { display: block; height: 100%; background: #a6b78e; width: 58%; border-radius: 4px; }
.sidebar-capacity p { display: flex; gap: 4px; font-size: 9px; color: #adb59f; margin: 10px 0 0; }
.sidebar-capacity p strong { font-weight: 500; color: #88997a; }
.sidebar-capacity p>span { margin-left: auto; color: #879b73; }
.sidebar-bottom { margin-top: auto; }
.demo-mode { display: flex; align-items: flex-start; gap: 8px; font-size: 9px; color: #8c9980; padding: 20px 11px; }
.demo-mode>span { width: 5px; height: 5px; background: #c9ae78; border-radius: 50%; margin-top: 3px; }
.demo-mode small { display: block; color: #b4bcaa; font-size: 8px; margin-top: 6px; }
.sidebar-signature { border-top: 1px solid #ecf0e5; display: flex; gap: 8px; align-items: center; padding: 19px 10px; font-size: 9px; color: #a0aa94; }
.signature-mark { font-size: 11px; color: #8b9b7a; border: 1px solid #dfe7d4; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.sidebar-signature>span:last-child { margin-left: auto; }
.topline { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e6ebde; margin-bottom: 25px; }
.breadcrumb { display: flex; gap: 12px; font-size: 10px; color: #9ba590; }
.breadcrumb span { color: #bdc6b2; }
.breadcrumb strong { font-weight: 450; color: #7b8970; }
.demo-badge { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #97a18c; }
.demo-badge>span { height: 5px; width: 5px; background: #9aaa84; border-radius: 50%; }
.page-eyebrow { font-size: 8px; letter-spacing: 1.4px; color: #a0aa94; }
.map-reference { position: absolute; top: 25px; left: 26px; display: flex; gap: 9px; align-items: flex-start; pointer-events: none; color: #849476; font-size: 9px; letter-spacing: 1px; }
.reference-dot { margin-top: 3px; width: 5px; height: 5px; border-radius: 50%; background: #a2b18f; }
.map-reference small { display: block; font-size: 7px; letter-spacing: 1.3px; color: #b0b9a3; margin-top: 7px; }
.map-compass { position: absolute; right: 27px; top: 21px; display: flex; align-items: center; flex-direction: column; gap: 5px; font-size: 8px; color: #93a184; pointer-events: none; }
.map-compass svg { width: 32px; height: 32px; transform: rotate(28deg); }
.selected-box { display: flex; align-items: center; gap: 12px; position: absolute; left: 22px; bottom: 22px; min-height: 58px; padding: 10px 14px; text-align: left; border: 1px solid #e4e8da; box-shadow: 0 4px 14px #35452807; background: #fffffff2; }
.selected-box-icon { background: #fcf0e4; width: 33px; height: 34px; border: 1px solid #f3e1cd; border-radius: 5px; display: grid; place-items: center; font-size: 24px; color: #d79a68; }
.selected-box small { display: block; font-size: 7px; letter-spacing: 1px; color: #acb49f; }
.selected-box strong { display: block; margin-top: 6px; font-size: 10px; font-weight: 500; color: #6b7e59; }
.selected-box-arrow { margin-left: 8px; color: #a5b197; font-size: 16px; }
.map-footer p { font-size: 9px; color: #a1ac94; }
.map-footer p>span { margin-left: 10px; }
@media (max-height: 800px) and (min-width: 901px) { .sidebar { padding-top: 22px; } .sidebar-object { margin: 24px 0; } .floor-section { margin-top: 25px; } .sidebar-capacity { margin-top: 18px; } }
@media (max-width: 1100px) and (min-width: 901px) { .sidebar { width: 216px; padding-left: 14px; padding-right: 14px; } .brand { font-size: 22px; } .map-panel { margin-left: 216px; width: calc(100% - 216px); padding-left: 24px; padding-right: 24px; } .map-footer p { display: none; } }
@media (max-width: 900px) {
  .sidebar { width: 76px; padding: 24px 12px 0; align-items: center; }
  .brand { padding: 0; }.brand>span,.sidebar-object,.nav-caption,.current-page>span,.floor-copy,.floor-dot,.sidebar-capacity,.demo-mode,.sidebar-signature>span:not(:first-child) { display: none; }
  .current-page { margin-top: 36px; width: 48px; height: 46px; padding: 12px; justify-content: center; }
  .floor-section { margin-top: 26px; }.floor-link { padding: 7px; min-height: 49px; margin-bottom: 8px; }.floor-number { border: 0; background: transparent; }
  .sidebar-signature { padding: 20px 10px; }.map-panel { margin-left: 76px; width: calc(100% - 76px); padding-left: 22px; padding-right: 22px; }
  .map-footer p { display: none; }.demo-badge { font-size: 8px; }.breadcrumb { font-size: 9px; gap: 8px; }
}
dialog { width: min(420px, calc(100% - 32px)); padding: 28px; border: 1px solid #dce3d4; border-radius: 16px; color: #26352f; box-shadow: 0 24px 80px #17251f30; }
dialog::backdrop { background: #202c2766; }
#close-detail { position: absolute; top: 10px; right: 10px; padding: 0; width: 44px; font-size: 26px; border: 0; }
.box-id { font-size: 12px; color: #758269; margin: 0 40px 12px 0; }
dialog h2 { font-size: 23px; margin: 0 0 24px; padding-right: 20px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin: 0; font-size: 14px; }
dt { color: #758269; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .sidebar { width: 54px; padding: 20px 5px 0; }.brand svg { width: 25px; height: 28px; }.current-page { width: 40px; height: 42px; padding: 9px; margin-top: 29px; }.floor-link { padding: 3px; width: 40px; }.floor-number { width: 32px; font-size: 12px; }.sidebar-signature { padding: 16px 5px; }
  .map-panel { margin-left: 54px; width: calc(100% - 54px); padding: 0 12px 16px; min-height: 600px; }
  .map-panel:fullscreen, .map-panel.expanded { margin: 0; width: 100%; padding: 0 12px 16px; }
  .topline { min-height: 53px; margin-bottom: 23px; }.breadcrumb { font-size: 8px; }.breadcrumb>strong { display: none; }.breadcrumb>span { display: none; }.demo-badge { font-size: 0; }.demo-badge>span { width: 5px; height: 5px; }.page-eyebrow { font-size: 6px; letter-spacing: 1px; }
  h1 { font-size: 24px; gap: 8px; }.map-header { gap: 8px; }.map-header p { font-size: 10px; }h1 span { font-size: 8px; padding: 3px 4px; }
  #expand-map { padding: 8px; min-width: 44px; font-size: 24px; }
  #expand-map span { display: none; }
  .segmented { align-self: stretch; gap: 0; margin-top: 16px; }
  .segmented button { flex: 1; padding: 8px 5px; font-size: 13px; }
  .map-footer { align-items: flex-start; flex-direction: column; font-size: 11px; }
  .map-tools { right: 10px; bottom: 10px; }
  .map-tools { gap: 0; padding: 2px; border-radius: 7px; }.map-tools button { width: 34px; min-height: 36px; font-size: 20px; }
  .map-reference { top: 17px; left: 14px; font-size: 7px; gap: 6px; letter-spacing: .5px; }.map-reference small { font-size: 5px; letter-spacing: .6px; }.reference-dot { width: 4px; height: 4px; margin-top: 2px; }.map-compass { right: 13px; top: 12px; }.map-compass svg { width: 23px; height: 23px; }
  .selected-box { left: 10px; bottom: 61px; padding: 8px 10px; min-height: 49px; gap: 8px; }.selected-box-icon { width: 27px; height: 28px; font-size: 21px; }.selected-box small { font-size: 6px; }.selected-box strong { font-size: 9px; }.selected-box-arrow { margin-left: 4px; }.legend { gap: 10px; font-size: 8px; }.legend span { gap: 5px; }.legend i { width: 8px; height: 8px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
.analytics-link { background: transparent; border-color: transparent; color: #879679; }
.analytics-link + .current-page { margin-top: 7px; }
.sidebar { overflow-y: auto; }
