:root{color-scheme:light;--ink:#142333;--muted:#516577;--line:#dbe4ee;--blue:#1759bf;--bg:#eff4f9;--paper:#fff;--soft:#eaf2ff;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #4d97fd;outline-offset:2px}.mast{height:62px;display:flex;align-items:center;gap:16px;padding:0 clamp(18px,4vw,56px);background:#fff;border-bottom:1px solid var(--line)}.brand{margin-right:auto;display:flex;align-items:center;gap:11px;font-size:.85rem;letter-spacing:.09em}.brand strong{color:#486077;font-weight:650}.mark{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;color:white;background:#1759bf;font-size:1.25rem}.mode{font-size:.85rem;color:#34526b;white-space:nowrap}.mode i,.viewport-label i{display:inline-block;width:7px;height:7px;border-radius:100%;background:#2cb886;margin-right:7px}.subtle,.view-controls button{border:1px solid var(--line);border-radius:7px;background:white;color:#233d55;padding:8px 12px;font-size:.85rem}main{max-width:1500px;margin:auto;padding:28px clamp(18px,4vw,56px) 34px}.intro{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}h1{font-size:clamp(1.7rem,3.7vw,2.75rem);letter-spacing:-.045em;line-height:1.05;margin:0 0 8px}.intro p{margin:0;color:var(--muted)}.line{border-left:2px solid #b4cbec;padding-left:14px;white-space:nowrap}.line span,.line strong{display:block;font-size:.875rem}.line span{color:var(--muted)}.dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden;box-shadow:0 4px 12px #183b6610;min-width:0}.panel>header{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e6edf4;padding:13px 16px;min-height:59px}.panel h2{font-size:1.12rem;margin:0;font-weight:740;letter-spacing:-.015em}.glyph{color:var(--blue);background:var(--soft);width:30px;height:30px;display:grid;place-items:center;border-radius:7px;font-weight:800}.badge,.minor{margin-left:auto;font-size:.875rem;color:var(--muted)}.badge{background:#edf4ff;color:#1a4e97;border-radius:20px;padding:5px 10px;white-space:nowrap}.badge.done{background:#e5f7ee;color:#0d6a47}form{display:grid;gap:14px;padding:16px}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row label{min-width:0;display:grid;gap:5px;color:#354d61;font-size:.875rem;font-weight:650}.row select,.row input{width:100%;min-width:0;height:40px;border:1px solid #c8d6e5;border-radius:7px;background:#fcfdff;color:var(--ink);padding:0 10px;font-size:.96rem;font-weight:500}.row select{appearance:none;background:#fcfdff linear-gradient(45deg,transparent 50%,#526980 50%) right 13px center/5px 5px no-repeat}.row input:disabled{background:#edf2f8}.operator-actions{display:flex;gap:12px;align-items:center}.primary{border:0;border-radius:7px;background:#1759bf;color:white;padding:10px 15px;font-weight:720;white-space:nowrap}.primary:hover:enabled{background:#0f489e}#form-message{font-size:.875rem;color:var(--muted)}#form-message.error{color:#9a2b28}.steps{list-style:none;margin:0;padding:9px 16px;display:grid;gap:3px}.steps li{display:flex;align-items:center;gap:9px;min-height:24px;font-size:.9rem;color:var(--muted)}.steps li span{font-size:.78rem;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#edf2f7;color:#5a7086}.steps .active{font-weight:750;color:#164b98}.steps .active span{color:#fff;background:#1759bf}.steps .done span{color:#087553;background:#e1f6eb}.event,.transaction{border-top:1px solid #e6edf4;color:#324d64;padding:9px 16px;font-size:.875rem;line-height:1.35}.event span,.transaction span{font-weight:750;font-size:.73rem;letter-spacing:.1em;color:#4c6781;margin-right:8px}.inventory-inner{min-height:270px;display:flex;flex-direction:column}.records{flex:1;padding:4px 16px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th,td{padding:9px 5px;border-bottom:1px solid #e7eef6}th{color:#45617a;font-weight:720}td:first-child{font-weight:750}td:nth-child(2){font-family:ui-monospace,monospace;color:#284a66}tr.focus td{background:#eff5ff}tr:last-child td{border-bottom:0}.transaction{padding-bottom:13px}.transaction p{margin:4px 0 0}.carriage{background:#102130;color:#edf7ff;border-color:#243e54}.carriage>header{border-color:#274157}.carriage .glyph,.carriage .badge{background:#203e58;color:#b8dbff}#scene{height:235px;position:relative;background:#101f2d}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.viewport-label,.view-controls{position:absolute;top:10px}.viewport-label{left:12px;pointer-events:none;color:#e5f0fb;font-size:.72rem;letter-spacing:.08em;background:#102130d9;border-radius:5px;padding:6px 8px}.viewport-label span{color:#a0b8cd;margin-left:5px}.view-controls{right:10px}.view-controls button{background:#122a3d;color:#e9f4ff;border-color:#38566f;padding:6px 9px}.scene-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 12px;color:#c8dbee;font-size:.78rem;border-top:1px solid #274157}.legend{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:2px}.legend.source{background:#55afff}.legend.destination{background:#58e0b5}.legend.load{background:#ffbc63}.orbit-tip{margin-left:auto}@media(max-width:780px){.dashboard{grid-template-columns:1fr}.intro{align-items:start}.inventory-inner{min-height:220px}#scene{height:300px}}@media(max-width:400px){.intro .line,.mode,.orbit-tip{display:none}.row{gap:8px}.operator-actions{align-items:start;flex-direction:column}.mast{gap:8px}}
.row select{background:#fcfdff linear-gradient(45deg,transparent 50%,#526980 50%) right 15px center/5px 5px no-repeat,linear-gradient(135deg,#526980 50%,transparent 50%) right 10px center/5px 5px no-repeat;padding-right:25px}
.source-control{display:grid;align-content:start;gap:5px;min-width:0}.source-control>label,.mode-field,.address-fields label{font-weight:650;color:#354d61;font-size:.875rem}.picker{position:relative;min-width:0}.picker input[role=combobox]{padding-right:34px}.picker button{position:absolute;right:3px;top:3px;bottom:3px;border:0;border-radius:5px;background:#edf4ff;color:#1a4e97;width:29px;font-weight:750}.picker ul{position:absolute;z-index:5;top:100%;left:0;right:0;max-height:160px;overflow:auto;margin:4px 0 0;padding:4px;list-style:none;border:1px solid #c8d6e5;border-radius:7px;background:white;box-shadow:0 4px 10px #183b6626}.picker li{padding:5px 7px;border-radius:4px;font-size:.875rem;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:5px;cursor:pointer}.picker li[aria-selected=true],.picker li:hover{background:var(--soft)}.picker li span{font-family:ui-monospace,monospace;color:#526980;font-size:.78rem}.panel.operator{overflow:visible}.panel.operator>header{border-radius:12px 12px 0 0}.mode-field,.address-fields label{display:grid;gap:5px}.mode-field select,.address-fields select{width:100%;min-width:0;height:38px;border:1px solid #c8d6e5;border-radius:7px;color:var(--ink);padding:0 25px 0 10px;font-size:.95rem;font-weight:500;appearance:none;background:#fcfdff linear-gradient(45deg,transparent 50%,#526980 50%) right 15px center/5px 5px no-repeat,linear-gradient(135deg,#526980 50%,transparent 50%) right 10px center/5px 5px no-repeat}.address-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.address-fields select:disabled{background:#edf2f8;color:#516577}.records caption{text-align:left;font-weight:750;padding:8px 5px 1px}.move-history{border-top:1px solid #e6edf4;max-height:160px}.move-history th,.move-history td{padding:6px 5px}.move-history td:nth-child(3){font-family:ui-monospace,monospace;color:#284a66}.move-history time{display:block;color:var(--muted);font-size:.74rem;margin-top:2px}.move-history .empty{font-family:inherit;font-weight:400;color:var(--muted)}.carriage{display:flex;flex-direction:column}#scene{flex:1;min-height:265px}.scene-foot{flex-shrink:0}.scene-foot .orbit-tip{white-space:normal}
.ignition-boundary{border:1px solid #a9c4e8;border-top:3px solid #2561ac;border-radius:14px;background:#e5eefb;padding:0 14px 14px;margin-bottom:16px}.boundary-heading{display:flex;align-items:center;gap:10px;padding:10px 0;color:#16477f}.boundary-heading h2{margin:0;font-size:1.28rem;letter-spacing:-.015em}.boundary-heading .glyph{background:#cfe1fa}.ignition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel h3{font-size:1.04rem;margin:0;letter-spacing:-.015em}.ignition-grid .panel{box-shadow:none}.backend{display:flex;flex-direction:column}.connections{display:grid;gap:10px;padding:13px 16px;flex:1}.interface{border:1px solid #dbe7f3;background:#f8fbff;border-radius:8px;padding:9px 11px}.interface h4{font-size:.875rem;color:#194977;margin:0 0 5px}.interface p,.interface dl{margin:0;font-size:.875rem;color:#314d67}.interface dl{display:grid;gap:5px}.interface dl div{display:grid;grid-template-columns:minmax(105px,auto) 1fr;gap:8px}.interface dt{font-weight:650}.interface dd{margin:0;overflow-wrap:anywhere}.playback{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 12px;min-height:39px;border-bottom:1px solid #274157;font-size:.875rem;color:#daf0ff}.playback label{display:flex;align-items:center;gap:7px}.playback input{accent-color:#72b8ff}.playback button{background:#244665;color:#f1f8ff;border:1px solid #456682;border-radius:6px;padding:4px 8px;font-size:.82rem}@media(max-width:780px){.ignition-grid{grid-template-columns:1fr}.ignition-boundary{padding:0 9px 9px}}
.page-tabs{display:flex;gap:3px}.page-tabs a{padding:7px 10px;border-radius:6px;color:#36516c;text-decoration:none;font-size:.88rem;font-weight:650}.page-tabs a[aria-current=page]{background:#e9f2ff;color:#124d9c}.system-steps{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 3px 0;color:#365676;font-size:.85rem}.system-steps label{display:flex;gap:7px;align-items:center;font-weight:700}.system-steps input{accent-color:#1759bf}.operator-actions{flex-wrap:wrap}.signal-layer{position:fixed;inset:0;pointer-events:none;z-index:12;opacity:0;transition:opacity .18s;color:#1765d8}.signal-layer.visible{opacity:1}.signal-layer[data-direction=return]{color:#087455}.signal-layer svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 1px 2px #fff)}.signal-path{fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round}.signal-layer marker path{fill:currentColor}.signal-layer span{position:absolute;transform:translate(-50%,-55%);max-width:175px;text-align:center;padding:6px 9px;background:white;border:2px solid currentColor;border-radius:7px;font-size:.8rem;font-weight:750;box-shadow:0 2px 8px #172f4a2c}.storage-equipment{grid-template-columns:1fr 1fr}.storage-equipment .inventory{grid-column:1/-1}.storage-equipment .inventory-inner{display:grid;min-height:0;grid-template-columns:1fr 1fr}.storage-equipment .move-history{border-top:0;border-left:1px solid #dbe4ee}.conveyor{background:#102130;color:#edf7ff;border-color:#243e54}.conveyor>header{border-color:#274157}.conveyor .glyph,.conveyor .badge{background:#203e58;color:#b8dbff}.conveyor-stage{aspect-ratio:1;max-height:380px;width:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 53%,#2b465d,#101f2d 73%)}.belt{position:absolute;top:49%;left:9%;right:9%;height:20%;border:5px solid #557287;border-radius:8px;background:repeating-linear-gradient(90deg,#a1b1bc 0%,#667d8d 3%,#344b5b 4%,#344b5b 5%);box-shadow:0 10px 0 #152c3b,0 16px 16px #0008}.belt-zones{position:absolute;left:8%;right:8%;top:73%;display:grid;grid-template-columns:repeat(3,1fr);gap:2%;text-align:center;color:#c6e0f6;font-size:.75rem}.belt-zones b{display:block;color:white;margin-bottom:4px}.belt-pallet{position:absolute;visibility:hidden;left:19%;top:59%;width:18%;height:17%;transform:translate(-50%,-50%);background:repeating-linear-gradient(90deg,#e5a957 0 24%,#af722f 25% 26%);border:2px solid #fbd198;border-bottom:6px solid #936331;border-radius:3px;transition:left .85s ease,top .45s ease;display:grid;place-items:center;font:bold .8rem system-ui;color:#152233;box-shadow:2px 7px 7px #0006;z-index:2}.belt-pallet[data-position=load]{visibility:visible}.belt-pallet[data-position=scale]{visibility:visible;left:50%}.belt-pallet[data-position=pickup]{visibility:visible;left:81%}.belt-pallet[data-position=lifted]{visibility:visible;left:81%;top:53%}.cylinder{position:absolute;left:81%;width:9%;height:8%;transform:translateX(-50%);border:2px solid #7ca5bf;border-radius:3px;background:linear-gradient(90deg,#415d73,#90a9ba,#415d73);z-index:3}.cylinder.top{top:37%}.cylinder.bottom{top:73%}.cylinder::after{content:"";position:absolute;left:36%;width:28%;height:0;background:#77d3ff;transition:height .4s}.cylinder.top::after{top:100%}.cylinder.bottom::after{bottom:100%}.conveyor-stage[data-cylinder=on] .cylinder::after{height:75%}.cylinder-note{position:absolute;left:14px;bottom:13px;color:#b7d4ec;font-size:.78rem}.storage-form .row input{width:100%}.storage-form button.secondary{padding:9px 12px;border:1px solid #b6cbe5;background:#edf5ff;border-radius:7px;color:#164b98;font-weight:700}.storage-form .action-line{min-height:40px}@media(max-width:780px){.storage-equipment{grid-template-columns:1fr}.storage-equipment .inventory{grid-column:auto}.storage-equipment .inventory-inner{grid-template-columns:1fr}.storage-equipment .move-history{border-left:0;border-top:1px solid #dbe4ee}.mast{flex-wrap:wrap;min-height:62px;height:auto;padding-block:8px}.page-tabs{order:2;margin-right:auto}.mast .mode{display:none}}
.next-action,.next-highlight{background:#ffbd47!important;color:#4c2d00!important;border:1px solid #b76e0c!important;box-shadow:0 0 0 3px #ffbd4740;font-weight:750}.next-action{border-radius:7px;padding:7px 10px;margin-top:8px}.next-interface{border-color:#e5a12e;background:#fff9ec}.equipment-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px 14px;border-bottom:1px solid #294a66}.equipment-action label{display:grid;gap:4px;font-size:.85rem;font-weight:650}.equipment-action input{width:100%;border:1px solid #55738a;border-radius:6px;background:#233d53;color:#fff;padding:7px 9px}.equipment-action button{border:1px solid #64839c;border-radius:6px;background:#285275;color:#fff;padding:7px 9px;font-weight:700}.equipment-action p{grid-column:1/-1;margin:0;font-size:.82rem;color:#c5deef}.equipment-action p.error{color:#ffd094}.storage-equipment .queue-records{grid-column:1/-1;max-height:160px;border-bottom:1px solid #dbe4ee}.retrieval-equipment .conveyor-stage [data-position=pickup]{left:19%}.retrieval-equipment .conveyor-stage [data-position=unload]{visibility:visible;left:81%}
.retrieval-equipment .cylinder{left:19%}.retrieval-equipment .equipment-action{grid-template-columns:1fr}.retrieval-equipment .equipment-action button{justify-self:start}@media print{body:has(#retrieval-report) > :not(#retrieval-report){display:none!important}#retrieval-report{display:block!important;padding:30px;color:#000;background:#fff}}
.demo-user{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:.8rem;font-weight:650;color:#355678}.demo-user input{min-width:0;width:clamp(105px,17vw,180px);padding:6px 8px;border-radius:6px;border:1px solid #aac3e3;background:#f8fbff;color:#233e5a}.records{min-width:0}.records th,.records td{overflow-wrap:anywhere}.records:nth-child(2) tr td:nth-child(2){white-space:nowrap}.records:not(.move-history):not(.queue-records) td:nth-child(4){font-variant-numeric:tabular-nums}.move-history td:nth-child(5){min-width:5.5rem}@media(max-width:490px){.demo-user{gap:4px}.records table{min-width:395px}}
.mode-field select:disabled{background:#e4e9ef!important;border-color:#c9d2dd;color:#5a6a79;opacity:1;cursor:default}
