:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d1d1f;background:#f5f5f7;font-size:14px;--teal:#0071e3;--line:#e3e5e8}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;color:#343438;padding:9px 12px;transition:background .15s}button:hover{background:#f0f1f4}button:disabled{opacity:.45;cursor:default}.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.primary:hover{background:#0064c9}header{height:64px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.brand{font-size:17px}.brand b{letter-spacing:2px}.brand span{color:#009f8e;padding:0 12px}.header-actions{display:flex;gap:10px;align-items:center}#saved{font-size:12px;color:#6e6e73;margin-right:15px}.layout{display:grid;grid-template-columns:216px minmax(300px,1fr) 280px;height:calc(100vh - 64px)}aside{background:#fbfbfc;padding:23px 18px;overflow:auto}.left{border-right:1px solid var(--line)}.right{border-left:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:1.1px;font-weight:600;color:#6e6e73;margin-bottom:12px}label{display:block;font-size:12px;font-weight:500;margin-bottom:14px}input,select{display:block;width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;margin-top:7px;color:#343438;background:#fff}input:focus,select:focus{outline:2px solid #0071e350}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.left>button{width:100%;margin-bottom:15px}.link{border:0;color:var(--teal);padding:0;text-align:left}#tools{display:flex;flex-direction:column;gap:5px}#tools button{display:flex;align-items:center;gap:10px;text-align:left;border-color:transparent}#tools span{flex:1}#tools small{font-size:10px;color:#8b9da4}.active{background:#edf5ff!important;color:#0066cc!important;border-color:#d2e6ff!important}.note{font-size:12px;color:#6e6e73;line-height:1.7}.draft{margin-top:24px;padding:14px;border-radius:8px;background:#f0f1f4;font-size:10px;letter-spacing:1px;color:#687d86}.draft p{letter-spacing:0;font-size:12px;line-height:1.6;margin-bottom:0}main{display:flex;flex-direction:column;min-width:0}.mapbar{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.mapbar .eyebrow{margin-bottom:4px}h1{font-size:22px;letter-spacing:-.5px;margin:0}h2{font-size:18px;margin:6px 0 20px}#board{flex:1;min-height:300px;position:relative;margin:0 18px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}#map{width:100%;height:100%;display:block;touch-action:none}#hint{position:absolute;bottom:15px;left:15px;right:15px;padding:9px 14px;border:1px solid var(--line);border-radius:9px;background:#ffffffed;font-size:12px;color:#536e78;pointer-events:none}footer{height:40px;display:flex;justify-content:space-between;padding:12px 22px;font-size:11px;color:#718993}#empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:360px;width:80%;text-align:center}#empty p{color:#74878d;line-height:1.7}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}#inspector button{width:100%;margin-top:8px}.danger{color:#b34444;border-color:#eccaca}.teal{color:#00897b}.blue{color:#3985b7}.orange{color:#d08733}#legend{font-size:11px;color:#6e6e73;margin-top:30px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#242426;color:white;padding:13px 22px;border-radius:8px;display:none;max-width:80%;z-index:20;box-shadow:0 10px 35px #183d4620}dialog{border:1px solid var(--line);border-radius:14px;padding:30px;width:460px;color:inherit;box-shadow:0 20px 100px #13363f33}dialog::backdrop{background:#122c3a55}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:1050px){.layout{grid-template-columns:190px minmax(300px,1fr) 230px}aside{padding:18px 12px}.mapbar{padding:0 15px}.header-actions #saved{display:none}}@media(max-width:760px){.layout{display:flex;flex-wrap:wrap;height:auto}.left{width:100%}#tools{flex-direction:row;flex-wrap:wrap}.left hr,.draft{display:none}.left label{display:inline-block;width:45%;margin-right:3%}.left>button{width:auto}.right{width:100%}main{width:100%;height:70vh}header{padding:12px;height:auto;gap:10px}.brand{font-size:13px}.header-actions{gap:5px}.mapbar h1{font-size:17px}}

#sourceInfo{padding:0 24px 12px;color:#876629;font-size:12px;line-height:1.5}#sourceInfo label{margin:0 0 5px}#sourceInfo input{display:inline;width:auto;margin-right:6px}#sourceInfo[hidden]{display:none}

.mapbar{min-height:92px;height:auto;gap:12px;padding-top:14px;padding-bottom:14px}.mapbar>div:last-child{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}#zoomLevel{font-size:12px;color:#607982;min-width:44px;text-align:center}#lockMap[aria-pressed="true"]{background:#edf5ff;border-color:#d2e6ff;color:#0066cc}body.map-focus .layout{grid-template-columns:1fr}body.map-focus aside{display:none}body.map-focus main{height:calc(100vh - 64px)}#map{user-select:none}#map:focus{outline:none}#map:focus-visible{outline:2px solid #82bfb4;outline-offset:-3px}

#layerPanel label{margin-bottom:9px}#layerPanel input[type=checkbox]{display:inline;width:auto;margin:0 7px 0 0}#rackDialog{width:min(95vw,1200px);max-width:95vw}#rackFrontGrid{overflow:auto;max-height:65vh}.rack-front{display:grid;gap:10px;min-width:100%;padding:10px}.rack-front>strong{text-align:center;padding:10px}.rack-cell{border:2px solid #8799b1;border-radius:9px;padding:12px;background:#f1f5fa;min-width:175px}.rack-cell.occupied{background:#fff1db}.rack-cell p{font-size:12px;overflow-wrap:anywhere}#rackPanel button,#warehousePanel>button{width:100%;margin-bottom:6px}

@media(min-width:761px){.layout{min-height:0;grid-template-rows:minmax(0,1fr)}.layout>aside,.layout>main{min-height:0}}
#rackFrontGrid .rack-cell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}#rackFrontGrid .rack-cell label{margin:0;min-width:0}#rackFrontGrid .rack-cell label:first-child{grid-column:span 2}#rackFrontGrid .rack-cell p{grid-column:span 2;margin:0}@media(max-width:700px){#rackFrontGrid .rack-cell{grid-template-columns:1fr}#rackFrontGrid .rack-cell label:first-child,#rackFrontGrid .rack-cell p{grid-column:span 1}}

/* tagWAY visual identity: no external fonts, libraries or assets. */
:root{color-scheme:light}button{min-height:36px;transition:background .16s,border-color .16s}button:focus-visible,a:focus-visible{outline:3px solid #0071e350;outline-offset:3px}.primary{font-weight:600}a{color:var(--teal);text-underline-offset:3px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand img{width:34px;height:34px}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand b{font-size:18px;font-weight:650;letter-spacing:-.5px}.brand small{font-size:11px;color:#6e6e73;font-weight:400}.header-actions>a{font-size:12px;color:#515157;text-decoration:none;border-radius:8px;padding:9px 11px}.header-actions>a:hover{background:#f5f5f7}
header{gap:16px;padding:0 24px}aside{scrollbar-width:thin;scrollbar-color:#d1d1d6 transparent}input,select{min-height:37px;border-color:#dcdfe3}input:focus,select:focus{outline:none;border-color:#0071e3;box-shadow:0 0 0 3px #0071e31c}input[type=checkbox]{accent-color:var(--teal)}#layerPanel input[type=checkbox]{min-height:initial}
#tools{gap:3px}#tools button{padding:8px 10px;min-height:35px;font-size:12px;background:transparent}#tools button:hover{background:#f0f1f4}.tool-icon{width:17px;height:17px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
h1{font-size:23px;letter-spacing:-.7px;font-weight:650}h2{font-size:17px;letter-spacing:-.35px;font-weight:600}.mapbar{min-height:86px}.mapbar button{font-size:12px;padding:7px 10px;min-height:33px}.mapbar>div:first-child{flex-shrink:0}#zoomIn,#zoomOut{min-width:32px}#board{box-shadow:0 2px 6px #1d1d1f04}#hint{font-size:11px;line-height:1.5;background:#fffffff0;backdrop-filter:blur(10px)}footer{font-size:10px;color:#86868b}#inspector button,#rackPanel button,#warehousePanel>button{font-size:12px}.draft{font-weight:600;letter-spacing:.7px}.draft p{font-weight:400;font-size:11px}.rack-cell{border-width:1px;border-radius:10px;background:#f6f8fc}.rack-cell.occupied{background:#fff6e8}dialog{border-radius:18px;box-shadow:0 24px 80px #0002}dialog::backdrop{background:#14141c35;backdrop-filter:blur(3px)}
@media(max-width:1050px){.mapbar{align-items:flex-start}.mapbar>div:last-child{max-width:240px}.header-actions #saved{display:none}.brand small{display:none}}
@media(max-width:760px){header{min-height:64px;flex-wrap:wrap;padding:12px 16px}.header-actions{flex-wrap:wrap}.header-actions button{font-size:12px}.mapbar{min-height:95px}#tools{gap:3px}#layerPanel label{width:auto;margin-right:16px}.brand b{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.hall-actions{margin:0 0 16px;gap:7px}.hall-actions button{font-size:11px;padding:8px 6px}#hallManageError:empty{display:none}

.brand img.brand-logo{display:block;width:135px;height:auto}.brand .brand-copy{gap:3px}
