:root{--bg: #1f1d1c;--panel: #262321;--panel-soft: #2c2927;--panel-elevated: #312d2a;--border: rgba(255, 255, 255, .06);--border-strong: rgba(255, 255, 255, .1);--text: #ece7e0;--muted: #a7a098;--accent: #55708e;--accent-soft: rgba(85, 112, 142, .18);--warn: #e6c16f;--danger: #c96f6f;--shadow: 0 10px 28px rgba(0, 0, 0, .14);--input-bg: rgba(255, 255, 255, .035);--button-bg: rgba(255, 255, 255, .03);--overlay-bg: rgba(31, 29, 28, .9);--radius: 8px;--divider: rgba(255, 255, 255, .07)}body[data-map-theme=light]{--bg: #e9e6e1;--panel: #f3f0eb;--panel-soft: #ece8e2;--panel-elevated: #ffffff;--border: rgba(39, 45, 53, .09);--border-strong: rgba(39, 45, 53, .14);--text: #2d333b;--muted: #67717b;--accent: #6a84a0;--accent-soft: rgba(106, 132, 160, .16);--warn: #c79c37;--danger: #b65b5b;--shadow: 0 8px 22px rgba(77, 84, 93, .08);--input-bg: rgba(255, 255, 255, .8);--button-bg: rgba(255, 255, 255, .76);--overlay-bg: rgba(247, 244, 239, .92);--divider: rgba(39, 45, 53, .09)}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:IBM Plex Sans,sans-serif;overflow:hidden}body{padding:8px;transition:background-color .14s ease,color .14s ease}button,input,select{font:inherit}p{margin:0}.hidden{display:none!important}.wide{width:100%}.eyebrow,.compact-field span,.compact-toggle span,.field span,.toolbox-label,.toolbox-block-label,.info-label{font-family:IBM Plex Mono,monospace;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.panel-title,.shop-card-title,.delivery-card-title,.floating-title,h2{margin:0;font-weight:600}.floating-title,.panel-title,.shop-card-title,.delivery-card-title{letter-spacing:-.01em}.panel-copy,.login-copy,.delivery-meta,.shop-card-meta,.search-result-desc,.cut-hint,.map-cut-status{color:var(--muted);font-size:.78rem;line-height:1.35}.shop-card-title{font-size:1rem}.delivery-card-title{font-size:.94rem}.shop-card-meta,.delivery-meta,.panel-copy,.search-result-desc{overflow-wrap:anywhere}@media(max-width:760px){body{padding:6px}}.page-shell{height:calc(100vh - 16px);overflow:hidden}.workspace-grid{display:grid;grid-template-columns:292px minmax(0,1fr) 360px;gap:8px;height:100%;overflow:hidden}.panel,.toolbox,.map-shell,.login-card,.info-card{background:var(--panel);border:0;border-radius:var(--radius);box-shadow:var(--shadow);transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.toolbox,.sidebar{min-height:0}.toolbox{padding:12px;display:flex;flex-direction:column;gap:14px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}.toolbox-block{display:flex;flex-direction:column;gap:8px;padding:0 0 12px;border-bottom:1px solid var(--divider);background:transparent}.toolbox-block:last-child{border-bottom:0;padding-bottom:0}.toolbox-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.toolbox-button-stack{display:flex;flex-direction:column;gap:8px}.toolbox-tools-row{display:grid;grid-template-columns:1fr auto;gap:8px}.toolbox-theme-switcher{width:100%;justify-content:stretch}.toolbox-theme-switcher .icon-button{flex:1}.toolbox-bottom{margin-top:auto;padding-top:12px;border-top:1px solid var(--divider);display:flex;flex-direction:column;gap:8px}.cut-mode-panel{display:flex;flex-direction:column;gap:8px}.cut-step-card{padding:6px 0;border-bottom:1px solid var(--divider);background:transparent}.cut-step-card:last-of-type{border-bottom:0}.toolbox-value{margin:0;font-size:.86rem;line-height:1.35}.map-shell{position:relative;overflow:hidden;min-height:0}.sidebar{display:flex;flex-direction:column;gap:10px;height:100%;overflow:hidden}.panel,.panel-compact{padding:12px}.zone-panel,.free-zone-panel{display:flex;flex-direction:column;min-height:0}.zone-panel{flex:1;overflow:hidden}.free-zone-panel{max-height:220px}.zone-list,.free-zone-list{display:flex;flex-direction:column;gap:0;overflow:auto;min-height:0}.panel-header,.shop-card-header,.floating-header,.info-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.slim-header{margin-bottom:8px}@media(max-width:1360px){.workspace-grid{grid-template-columns:256px minmax(0,1fr) 330px}}@media(max-width:1080px){html,body{overflow:auto}.page-shell,.workspace-grid{height:auto;overflow:visible}.workspace-grid{grid-template-columns:1fr}.toolbox,.sidebar{overflow:visible}}.action-button,.icon-button,.row-icon-button,.delivery-icon-button,.theme-switcher,.compact-toggle,.compact-field input,.compact-field select,.field input,.price-input,.map-search-bar input{border:0;background:var(--button-bg);color:var(--text);transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease}.action-button,.icon-button,.row-icon-button,.delivery-icon-button{min-height:36px;border-radius:var(--radius);padding:8px 12px;cursor:pointer;line-height:1}.row-icon-button,.delivery-icon-button{min-width:82px;width:82px;padding:6px 8px;display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;white-space:nowrap;text-align:center}.price-input{width:68px;min-width:68px;max-width:68px;min-height:34px;padding:6px 8px;text-align:right}.action-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.row-icon-button:hover:not(:disabled),.delivery-icon-button:hover:not(:disabled){background:#ffffff0f}.action-button:disabled,.icon-button:disabled,.row-icon-button:disabled,.delivery-icon-button:disabled{cursor:not-allowed;opacity:.55}.action-button-primary,.icon-button.is-active,.action-button.is-active{background:var(--accent-soft)}.ghost-button,.subtle-button{background:#ffffff05}.theme-switcher{display:inline-flex;gap:2px;border-radius:var(--radius);padding:2px}.segmented-control{display:inline-flex;gap:2px;padding:2px;border-radius:var(--radius);background:var(--button-bg)}.segmented-control[aria-disabled=true]{opacity:.55}.segmented-button,.range-chip,.history-entry{border:0;color:var(--text);font:inherit}.segmented-button{min-height:32px;padding:0 10px;border-radius:calc(var(--radius) - 2px);background:transparent;cursor:pointer}.segmented-button.is-active{background:var(--accent-soft)}.theme-switcher .icon-button{border:0;background:transparent}.compact-filters{display:grid;grid-template-columns:1fr;gap:10px}.search-field input{min-height:46px;font-size:1rem;padding:0 14px}.map-search-bar input{width:100%;min-height:56px;padding:0 18px;font-size:1rem;letter-spacing:.01em}.filter-row{display:grid;grid-template-columns:minmax(0,1fr) 108px 108px;gap:8px;align-items:end}.compact-field,.compact-toggle{min-width:0}.compact-field{display:flex;flex-direction:column;gap:4px}.range-field{padding:8px 10px 10px;border-radius:var(--radius);background:#ffffff08}.range-heading,.compact-field-inline{display:flex;align-items:center;justify-content:space-between;gap:10px}.range-heading select,.compact-field-inline select{min-width:132px}.range-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.range-control input[type=range]{width:100%;accent-color:var(--accent)}.range-value{min-width:72px;text-align:right;color:var(--text);font-family:IBM Plex Mono,monospace;font-size:.76rem}.range-caption{color:var(--muted);font-size:.73rem;line-height:1.3}.range-chips{display:flex;flex-wrap:wrap;gap:6px}.range-chip{min-height:28px;padding:0 10px;border-radius:999px;background:#ffffff0a;cursor:pointer}.range-chip.is-active{background:var(--accent-soft)}.compact-field select{width:100%;min-height:42px;padding:0 10px}.compact-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 10px;border-radius:var(--radius)}.compact-toggle input{margin:0}.list-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}.summary-chip,.panel-meta,.info-value,.target-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:var(--radius);border:0;background:#ffffff0a;color:var(--muted);font-family:IBM Plex Mono,monospace;font-size:.7rem}.summary-chip{width:100%;justify-content:center}.row-icon-button,.delivery-icon-button{min-width:30px;width:30px;height:30px;min-height:30px;padding:0;font-size:.9rem;border-radius:999px;background:#ffffff0b}.row-icon-button-emphasis{background:#ffffff14}.target-chip{color:var(--warn);background:#e6c16f1a}.history-panel{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden}.history-hint,.history-entry-meta{color:var(--muted);font-size:.72rem}.history-list{display:flex;flex-direction:column;gap:6px;max-height:min(38vh,320px);overflow-x:hidden;overflow-y:auto;padding-right:2px}.history-entry{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-width:0;padding:9px 10px;border-radius:var(--radius);background:#ffffff08;cursor:pointer;text-align:left}.history-entry.is-current{background:#ffffff14;box-shadow:inset 2px 0 #ffffff2e}.history-entry-title{font-size:.82rem;width:100%;overflow-wrap:anywhere}.search-results-list{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:20;display:flex;flex-direction:column;gap:0;max-height:260px;overflow:auto;padding:6px 0;border-radius:var(--radius);border:0;background:var(--panel-elevated);box-shadow:var(--shadow)}.search-result-item{display:flex;flex-direction:column;gap:2px;border:0;border-radius:0;background:transparent;color:var(--text);padding:10px 12px;text-align:left;cursor:pointer}.search-result-item:hover{background:#ffffff0d}.search-result-item+.search-result-item{border-top:1px solid var(--divider)}.compact-field input,.compact-field select,.field input,.price-input,.map-search-bar input{border-radius:var(--radius);box-shadow:inset 0 0 0 1px var(--border)}.compact-field select{appearance:none}@media(max-width:760px){.toolbox-button-grid,.filter-row,.list-summary{grid-template-columns:1fr}.map-search-bar input{min-height:50px;padding:0 14px;font-size:.96rem}}.shop-card,.free-zone-row{border:0;border-bottom:1px solid var(--divider);border-radius:0;background:transparent;padding:12px 0;transition:background-color .12s ease,box-shadow .12s ease}.current-shop-banner{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0 10px;border-bottom:1px solid var(--divider);background:var(--panel)}.current-shop-banner-copy,.current-shop-banner-stats{display:flex;flex-direction:column;gap:4px;min-width:0}.current-shop-banner-stats{align-items:flex-end;flex-shrink:0}.current-shop-banner-title,.current-shop-banner-meta{margin:0}.current-shop-banner-title{font-size:.98rem}.current-shop-banner-meta{color:var(--muted);font-size:.76rem}.focused-delivery-section{display:flex;flex-direction:column}.shop-card,.delivery-row,.free-zone-row{cursor:pointer}.shop-card.cut-mode,.delivery-row.cut-mode{cursor:crosshair}.shop-card.selected,.shop-card.focused,.delivery-row.selected,.free-zone-row:hover{background:#ffffff0f}.delivery-row:hover,.shop-card:hover{background:#ffffff0b}.shop-card.cut-target,.delivery-row.cut-target{box-shadow:inset 0 0 0 1px #e6c16f24}.shop-card.focused{box-shadow:inset 3px 0 #fff3}.delivery-row.selected{box-shadow:inset 2px 0 #ffffff29}.shop-card-copy,.delivery-row,.free-zone-row{display:flex;align-items:center;gap:8px;min-width:0}.shop-card-header{align-items:flex-start}.shop-card-copy{flex:1}.shop-card-copy>div{min-width:0;flex:1}.delivery-row{display:grid;grid-template-columns:10px minmax(0,1fr) 68px 30px auto;align-items:center;min-height:42px;padding:8px 0}.delivery-list{display:flex;flex-direction:column;gap:0;margin-top:8px;padding-top:6px;border-top:1px solid var(--divider)}.delivery-row+.delivery-row{border-top:1px solid var(--divider)}.delivery-row-copy{min-width:0;flex:1}.delivery-card-title{font-size:.95rem}.delivery-row-copy .delivery-card-title,.delivery-row-copy .delivery-meta,.shop-card-copy .shop-card-title,.shop-card-copy .shop-card-meta{min-width:0}.delivery-row-copy .delivery-card-title,.shop-card-copy .shop-card-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-card-actions{display:flex;align-items:center;gap:6px;justify-content:flex-end;flex-shrink:0}.zone-swatch{flex:0 0 10px;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 1px #ffffff1f}@media(max-width:760px){.current-shop-banner{align-items:flex-start;flex-direction:column}.current-shop-banner-stats{align-items:stretch;width:100%}.shop-card-header,.delivery-row,.free-zone-row,.shop-card-actions{flex-wrap:wrap}.delivery-row{grid-template-columns:10px minmax(0,1fr) 68px;align-items:start}.delivery-row .delivery-icon-button,.delivery-row .target-chip{grid-column:2 / -1;justify-self:start}}.map-search-bar{position:absolute;top:16px;left:50%;z-index:1000;width:min(720px,calc(100% - 40px));padding:10px;border-radius:calc(var(--radius) + 2px);background:var(--overlay-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow);transform:translate(-50%)}.map-focus-strip,.map-cut-strip,.hover-tooltip{position:absolute;z-index:1000;border:0;border-radius:var(--radius);background:var(--overlay-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--shadow)}.map-focus-strip{top:12px;right:12px;padding:8px}.map-cut-strip{left:50%;bottom:18px;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:8px 10px}.hover-tooltip{transform:translate(-50%,calc(-100% - 14px));padding:10px 14px;border:1px solid rgba(230,193,111,.28);background:#1b1816f0;color:#fff3cf;font-family:IBM Plex Mono,monospace;font-size:.9rem;font-weight:600;letter-spacing:.02em;box-shadow:0 10px 24px #0000003d,inset 0 0 0 1px #e6c16f14;pointer-events:none;white-space:nowrap}.leaflet-container{width:100%;height:100%;min-height:0;background:#15181d;font-family:IBM Plex Sans,sans-serif}.leaflet-control-zoom a,.leaflet-bar a,.leaflet-control-attribution{border-color:transparent!important;background:var(--panel-elevated)!important;color:var(--text)!important}.leaflet-control-attribution a{color:var(--text)!important}.leaflet-interactive.zone-ant-line{animation:antLine 14s linear infinite}.leaflet-interactive.zone-delivery-line{stroke-dasharray:5 9}.leaflet-interactive.zone-pickup-line{stroke-dasharray:10 10}.leaflet-interactive.zone-selected-line{animation:none;stroke-dasharray:none}.leaflet-interactive.zone-cut-target-line{filter:drop-shadow(0 0 3px rgba(230,193,111,.4))}@keyframes antLine{0%{stroke-dashoffset:0}to{stroke-dashoffset:-120}}@media(max-width:1080px){.leaflet-container{min-height:70vh}}@media(max-width:760px){.map-search-bar,.map-cut-strip{width:calc(100% - 20px)}.map-search-bar{top:10px;padding:8px}.map-cut-strip{left:10px;right:10px;transform:none;justify-content:space-between}}.login-dialog,.info-dialog{padding:0;border:0;background:transparent}.login-dialog::backdrop,.info-dialog::backdrop{background:#00000085;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.login-card,.info-card{width:min(560px,calc(100vw - 28px));padding:22px}.load-card{width:min(420px,calc(100vw - 28px))}.login-card,.info-grid,.field{display:flex;flex-direction:column;gap:10px}.info-row{display:grid;grid-template-columns:1fr;gap:6px;align-items:start;padding:12px 0;border-bottom:1px solid var(--divider)}.info-row:last-child{border-bottom:0}.info-dialog .floating-title{font-size:1.08rem}.info-dialog .info-label{font-size:.74rem}.info-dialog .info-value{display:block;min-height:0;padding:0;background:transparent;color:var(--text);font-family:IBM Plex Sans,sans-serif;font-size:.98rem;line-height:1.55}.form-error{min-height:20px;margin:0;color:var(--danger)}.load-actions{display:flex;flex-direction:column;gap:10px;margin-top:12px}@media(max-width:760px){.info-row{grid-template-columns:1fr}.info-actions{flex-wrap:wrap}}body[data-map-theme=dark] .leaflet-tile{filter:none}body[data-map-theme=light] .leaflet-tile{filter:saturate(1.08) contrast(1.02) brightness(1.01)}html,body,#root{min-height:100%}body{margin:0}.app-loading-shell{height:100vh;display:grid;place-items:center;overflow:auto}.app-loading-card{width:min(420px,calc(100vw - 24px));display:flex;flex-direction:column;gap:18px;padding:24px}
