/* DBL / INTERFACE 02. Original code-native skin inspired by Samaritan's visual language.
   No external fonts, images, simulated telemetry or changes to stored records. */
:root{color-scheme:light;--bg:#eeeeee;--panel:#fbfbfb;--panel2:#e3e3e3;--text:#1e1e1e;--muted:#626262;--line:#c5c5c5;--accent:#ba2b26;--accent2:#a72520;--danger:#ad241f;--inv-accent:#ad241f;--inv-surface:#f7f7f7;--inv-line:#c5c5c5;--shadow:none;--system-black:#1a1a1a;--system-red:#ba2b26;--system-paper:#f7f7f7;--system-mono:Consolas,'Courier New',monospace}
body{font-family:Arial,Helvetica,sans-serif;font-size:14px;color:var(--text);background:#eeeeee;background-image:linear-gradient(#00000002 1px,transparent 1px);background-size:100% 4px}
body :is(.app-shell,dialog) *{border-radius:0!important;box-shadow:none!important}
body :is(.app-shell,dialog) :is(h1,h2,h3,h4,strong){color:var(--text)}
body :is(.app-shell,dialog) :is(p,small,label,code,.field-help,.inv-subtitle,.source-note,.warehouse-note){color:var(--muted)}
body :is(.app-shell,dialog) :is(h1,h2,h3,h4){font-family:Arial,Helvetica,sans-serif;letter-spacing:.035em;text-transform:uppercase}
body :is(.app-shell,dialog) :is(button,.eyebrow,.field-help,small,code,label,.job-status,.type-tag,.graph-footer,.graph-kind,.graph-current-crumb){font-family:var(--system-mono)}
body .eyebrow{color:var(--system-red)!important;font-size:10px!important;font-weight:700;letter-spacing:.15em;line-height:1.6}
body :is(.app-shell,dialog) button{transition:background .12s,color .12s,border-color .12s;letter-spacing:.025em}
body :is(.app-shell,dialog) button:disabled{opacity:.45;cursor:not-allowed}
body :is(button,input,select,textarea):focus-visible{outline:2px solid var(--system-red)!important;outline-offset:3px}
body :is(input,select,textarea){accent-color:var(--system-red)!important;color-scheme:light!important}
body :is(.app-shell,dialog) :is(input:not([type=checkbox]),select,textarea){background:#fbfbfb!important;color:#242424!important;border-color:#b1b1b1!important;box-shadow:none!important}
body :is(.app-shell,dialog) input::placeholder,body :is(.app-shell,dialog) textarea::placeholder{color:#6f6f6f;opacity:1}
body :is(.app-shell,dialog) :is(.primary,.ghost,.icon-btn,.row-edit,.day-add){font-size:11px;line-height:1.4;min-height:34px}
body :is(.app-shell,dialog) .primary{background:var(--system-black)!important;border:1px solid var(--system-black)!important;color:#fff!important;font-weight:600;text-transform:uppercase;filter:none}
body :is(.app-shell,dialog) .primary:before{content:'▼';color:#f36a60;margin-right:8px;font-size:9px;vertical-align:1px}
body :is(.app-shell,dialog) .primary:hover{background:#963029!important;border-color:#963029!important}
body :is(.app-shell,dialog) :is(.ghost,.icon-btn,.row-edit,.day-add){background:transparent!important;border:1px solid #9b9b9b!important;color:#2d2d2d!important}
body :is(.app-shell,dialog) :is(.ghost,.icon-btn,.row-edit,.day-add):not(:disabled):hover{background:#dfdfdf!important;border-color:#4a4a4a!important}
body :is(.app-shell,dialog) .close{color:#333333!important;font-size:27px;border:0;background:none;min-width:32px}
.app-shell{min-height:100vh}.sidebar{width:216px;padding:30px 18px 24px;background:#e6e6e6;border-right:1px solid #b0b0b0;position:sticky;top:0;height:100vh;align-self:flex-start}
body .brand{padding:0 6px 40px;gap:12px;align-items:center}body .brand-mark{background:none;color:#252525;width:34px;height:35px;font-size:0;position:relative;flex-shrink:0}.brand-mark:before{content:'';position:absolute;top:3px;left:0;width:34px;height:28px;clip-path:polygon(0 0,100% 0,50% 100%);background:var(--system-red)}.brand-mark:after{content:'';position:absolute;top:5px;left:7px;width:20px;height:15px;clip-path:polygon(0 0,100% 0,50% 100%);background:#e6e6e6}
body .brand>div:last-child{display:block!important}body .brand strong{font-size:19px;letter-spacing:.06em;font-weight:800;color:#242424}body .brand span{font-family:var(--system-mono);font-size:9px;letter-spacing:.15em;color:#6a6a6a;text-transform:uppercase;margin-top:5px}
.sidebar>nav{gap:4px}.sidebar .nav-item{padding:14px 9px;font-family:var(--system-mono);font-size:12px;color:#494949;background:none;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent;position:relative}
.sidebar .nav-item span{color:#8d8d8d;font-size:10px;width:26px}.sidebar .nav-item:hover{background:#d7d7d7;color:#161616}.sidebar .nav-item.active{background:var(--system-black);color:#fff;border-left:3px solid var(--system-red)}.sidebar .nav-item.active span{color:#ff8c81}
.sidebar-foot{display:block;border-top:1px solid #b4b4b4;padding:18px 7px 0;font-family:var(--system-mono);font-size:10px;color:#626262;line-height:1.9;letter-spacing:.035em;text-transform:uppercase}.sidebar-foot:before{content:'▼';display:block;color:var(--system-red);font-size:12px;margin-bottom:8px}
.main{padding:24px 36px 45px;max-width:1900px;min-width:0}.system-strip{display:flex;gap:20px;justify-content:space-between;align-items:center;border-top:3px solid var(--system-black);border-bottom:1px solid #9b9b9b;padding:9px 0;margin-bottom:28px;font-family:var(--system-mono);font-size:9px;letter-spacing:.12em;color:#5d5d5d;text-transform:uppercase}.system-strip>span:first-child{color:var(--system-red);font-weight:700}.system-strip>span:last-child{margin-left:auto}
.topbar{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid #bdbdbd;align-items:flex-end}.topbar h1{font-size:clamp(26px,3vw,38px);font-weight:800;letter-spacing:-.02em!important}.topbar h1:after{content:'';display:inline-block;width:8px;height:8px;margin:0 0 3px 14px;background:var(--system-red)}.topbar .eyebrow{margin-bottom:7px}.top-actions{gap:8px}.topbar #newBookingBtn{background:var(--system-black)!important;color:#fff!important;border-color:var(--system-black)!important;text-transform:uppercase}
.jobs-heading,.inv-heading{align-items:center;margin:25px 0 23px;padding-left:13px;border-left:3px solid var(--system-red)}.jobs-heading h2,.inv-heading h2{font-size:21px;letter-spacing:.025em}.inv-subtitle{font-size:12px;margin-top:7px}.inv-actions .ghost{font-size:10px}.summary-grid{gap:0;border:1px solid #b5b5b5;margin-bottom:24px;background:var(--system-paper)}.metric{background:none;border:0;border-right:1px solid #bebebe;padding:18px 22px}.metric:last-child{border-right:0}.metric>span{font-family:var(--system-mono);font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#616161}.metric strong{font-family:var(--system-mono);font-size:31px;font-weight:400;letter-spacing:-.05em;margin:13px 0 8px}.metric small{font-size:10px}.metric.alert-metric strong{color:var(--system-red)}
.segmented,.inventory-view-switch{background:#e5e5e5;border:1px solid #b1b1b1;padding:2px}.seg,.inventory-view-switch button{color:#444444;background:none;font-size:11px}.seg.active,.inventory-view-switch button[aria-pressed=true]{background:var(--system-black)!important;color:#fff!important}.date-nav{font-family:var(--system-mono);font-size:11px}.date-nav button{color:#2c2c2c;background:#f6f6f6;border-color:#aeaeae}.search,.inv-search{background:#fbfbfb!important;border-color:#adadad!important}.search>span,.inv-search>span{color:#6e6e6e}.search input,.inv-search input{border:0!important}.job-toolbar{gap:10px}.job-toolbar .search input{width:195px}.job-toolbar select{max-width:190px}
.job-calendar-scroll{background:#f6f6f6;border-color:#b2b2b2}.job-week{background:#f4f4f4}.job-day-column{border-color:#c9c9c9}.job-day-column>header{background:#e7e7e7;border-bottom-color:#b2b2b2;font-family:var(--system-mono)}.job-day-column>header>span{color:#6d6d6d}.job-day-column>header>strong{font-size:25px;font-weight:400}.job-day-column.is-today>header{background:var(--system-black);border-top:3px solid var(--system-red);padding-top:12px}.is-today>header>strong,.is-today>header>span{color:#fff!important}.is-today .day-add{color:#fff!important;border-color:#989898!important}.job-day-jobs{padding:7px;gap:8px}.day-empty{font-family:var(--system-mono);font-size:9px;color:#7d7d7d!important;letter-spacing:.05em;text-transform:uppercase}
.job-card,.job-card.lighting,.job-card.sound,.job-card.mixed,.job-card.other{background:#fafafa;color:#262626;border:1px solid #aeaeae;border-left:3px solid #4a4a4a;padding:12px 9px;gap:8px}.job-card:hover{background:#eaeaea;transform:none}.job-card>strong{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700}.job-card small{color:#5c5c5c!important;font-size:9px}.job-card .job-code,.job-code{font-family:var(--system-mono);font-size:9px!important;color:#6d6d6d;letter-spacing:.06em}.job-card.has-issue{border-color:var(--system-red);border-left-width:4px}.job-card.job-cancelled{opacity:.6}.job-status,.pill{background:#e9e9e9!important;color:#444444!important;border:1px solid #9f9f9f;font-size:9px;padding:3px 6px;text-transform:uppercase}.status-confirmed{background:#dadada!important;border-color:#888888}.status-in-progress{background:var(--system-black)!important;color:white!important}.status-cancelled{color:#7f3025!important;border-color:#b89480}.status-tentative{border-style:dashed}.job-issue{color:var(--system-red)!important;font-weight:600}.job-list-row{background:var(--system-paper);border-color:#b6b6b6;padding:18px;position:relative}.job-list-row:hover{background:#e9e9e9;border-left:3px solid var(--system-red)}.job-list-row>span:last-child{color:var(--system-red)}.schedule-foot{font-family:var(--system-mono);font-size:10px;border-top:1px solid #c4c4c4;padding-top:12px}.job-empty,.inventory-empty{background:none;border-color:#b4b4b4;color:#636363}.job-empty>span,.empty-icon{background:none;color:var(--system-red);font-size:22px}.job-empty h3{font-size:14px}.job-empty p,.inventory-empty p{font-size:12px}.legend{color:var(--muted)}
.inv-stats{background:var(--system-paper);border-color:#b6b6b6}.inv-stat{border-color:#bfbfbf;padding:20px;gap:15px}.inv-stat strong{font-family:var(--system-mono);font-size:32px;color:#272727;font-weight:400}.inv-stat>div>span{font-family:var(--system-mono);color:#5f5f5f;font-size:10px;letter-spacing:.05em;text-transform:uppercase}.inv-stat small{font-size:10px}.stat-index{color:var(--system-red)}.inventory-workspace{border-color:#b7b7b7;background:var(--system-paper)}.category-rail{background:#e8e8e8;border-color:#bbbbbb}.rail-title{font-family:var(--system-mono);color:#666666;font-size:10px}.rail-title button,.inventory-footer button{color:var(--system-red)}.category-button{color:#4a4a4a;font-size:11px;padding:11px 8px}.category-button b{color:#767676;font-size:10px}.category-button:hover{background:#dcdcdc}.category-button.selected{background:var(--system-black);color:#fff;border-left:3px solid var(--system-red)}.category-button.selected b{color:#dcdcdc}.rail-note{color:#626262;border-color:#bdbdbd}.rail-note span{color:#845733}.inv-tabs{border-color:#b9b9b9}.inv-tabs>button{color:#686868;font-size:11px;text-transform:uppercase}.inv-tabs>button[aria-pressed=true]{color:var(--system-red);border-bottom-color:var(--system-red)}.inv-list-heading h3{font-size:14px}.inv-list-heading span,.type-tag{border-color:#b4b4b4;color:#616161;background:#efefef;font-family:var(--system-mono);font-size:10px}.archived-toggle{color:#636363;font-size:11px}.inventory-table thead{background:#e5e5e5}.inventory-table th{font-family:var(--system-mono);color:#606060;text-transform:uppercase;font-size:10px;letter-spacing:.045em}.inventory-table td{border-color:#cbcbcb;padding-top:14px;padding-bottom:14px}.inventory-table tbody tr:hover{background:#ededed}.equipment-name{color:#2f2f2f;font-size:13px}.equipment-name:hover{color:var(--system-red)}.equipment-meta{color:#6f6f6f;font-size:10px}.stock-cell strong{color:#303030;font-family:var(--system-mono);font-size:14px}.stock-cell small,.units-link,.case-home{color:#676767;font-size:10px}.units-link{border-bottom:1px dotted #afafaf;width:fit-content}.units-link:hover{color:var(--system-red)}.no-home{color:#808080;font-size:10px}.inventory-footer{color:#6d6d6d;border-top:1px solid #c9c9c9}
.case-grid{gap:12px}.case-card{background:#f7f7f7;border:1px solid #b2b2b2;border-top:3px solid #4b4b4b;position:relative}.case-top{margin-bottom:15px}.case-icon{color:var(--system-red)}.case-name{font-family:Arial,Helvetica,sans-serif;font-size:17px;color:#2f2f2f;text-transform:uppercase;letter-spacing:.02em}.case-card>code{color:#6d6d6d;font-size:10px}.case-card>p{font-size:11px}.case-manifest,.case-open{border-color:#c7c7c7;color:#636363}.case-manifest b{color:#373737}.case-open{font-size:11px}.case-manage-button{font-size:10px!important}.resource,.crew-card{background:var(--system-paper);border:1px solid #b7b7b7;border-top:3px solid #444444}.crew-avatar{background:#e7e7e7;color:#454545;font-family:var(--system-mono);font-size:13px}.crew-card .job-status{width:fit-content}.crew-card p{font-size:12px}.crew-card small{font-size:10px}
body :is(.inventory-dialog,.job-dialog,.warehouse-dialog){background:var(--system-paper)!important;color:var(--text);border:1px solid #696969;border-top:4px solid var(--system-black);box-shadow:0 18px 70px #25252529!important;color-scheme:light!important}
body dialog::backdrop{background:#30303099;backdrop-filter:blur(2px)}body dialog header{background:#e8e8e8;border-color:#bababa}body dialog header h2{font-size:22px;font-weight:700}body dialog header .field-help{font-size:11px}.editor-fields label{font-size:12px}.editor-fields,.job-section{border-color:#c7c7c7}.job-section-title>span{background:var(--system-black);border:0;color:#fff;font-family:var(--system-mono);font-size:10px}.job-section h3{font-size:14px}.job-dialog .field-help{font-size:11px}.job-dialog footer,.inventory-dialog footer,.warehouse-dialog footer{background:#e8e8e8!important;border-color:#b9b9b9}.job-dialog footer>span,.warehouse-dialog footer>span{font-family:var(--system-mono);font-size:10px;color:#656565}.job-check-panel,.case-manifest-pane{background:#ededed;border-color:#c0c0c0}.job-check-panel h3{font-size:15px}.job-check-panel p{font-size:11px;color:#5f5f5f}.check-badge{background:#e7e7e7;color:#434343;border:1px solid #9e9e9e;font-family:var(--system-mono);font-size:11px;text-transform:uppercase}.check-warn{background:#f1e4d9;color:#883b24;border-color:#b78b74}.check-error{background:#f1ded7;color:#972d20!important;border-left-color:var(--system-red)}.check-warning{border-left-color:#947052;color:#68583e!important}.inventory-error,.job-dialog .inventory-error,.warehouse-dialog>.inventory-error:not(:empty){background:#f8eee7;color:#99281d!important}.inv-warning{background:#f0e7da;border-color:#ac8d6d;color:#6c4b26}.inv-toast{background:var(--system-black);color:#f4f4f4;border-left:4px solid var(--system-red);font-family:var(--system-mono);font-size:12px}.job-gear-row,.job-crew-choice{border-color:#c9c9c9}.job-gear-row small{font-size:10px}.job-crew-choice strong{color:#383838}.job-crew-choice small{color:#707070}.job-placeholder,.contents-empty{background:#f1f1f1;border-color:#b7b7b7;color:#676767}.job-gear-row label{font-size:10px}.editor-barcode{background:#ededed;border-color:#b3b3b3}.asset-type-panel{background:#ececec;border:1px solid #adadad;border-left:3px solid var(--system-red)}.asset-type-panel code{color:#656565}.individual-contents,.contents-editor,.item-homes{border-color:#b9b9b9}.individual-contents h3{color:#414141;font-size:16px}.identified-assets>span{background:#ebebeb;border-color:#b8b8b8;color:#555555}.identified-assets button,.remove-content{color:var(--system-red)}.asset-choice{border-color:#c9c9c9}.asset-choice:has(input:checked){background:#e4e4e4}.asset-choice code{color:#444444}.asset-choice span{color:#737373}.condition-tag{font-family:var(--system-mono);font-size:10px;background:#ebebeb;color:#595959;border-color:#ababab}.condition-ready{background:#e5e5e5;color:#484848}.condition-maintenance{background:#f2e6d5;color:#82572b;border-color:#b4a080}.condition-missing{background:#efd9d2;color:#9b2b1e;border-color:#b7887a}.condition-unverified{background:#e7e7e7;color:#656565}.asset-pagination{color:#6b6b6b;font-family:var(--system-mono);font-size:11px}
#jobGearBrowser{background:#f1f1f1;border-color:#b8b8b8;border-top:2px solid #646464}.job-browser-route nav{color:#464646}.job-browser-route nav>button{color:#6e6e6e}.job-browser-route nav>[aria-current]{color:#363636}.job-browser-route nav>span:not([aria-current]){color:#8d8d8d}.job-browser-heading h4{font-size:13px}.job-browser-heading>div>span{color:#6a6a6a}.job-browser-heading>label{color:#636363}.job-browse-group{background:#f9f9f9;border:1px solid #b5b5b5;border-left:3px solid #626262}.job-browse-group:hover{background:#e5e5e5;border-color:#757575}.job-browse-group>strong{color:#373737}.job-browse-group>small{color:#6e6e6e}.job-group-icon,.job-browse-group>span:last-child:not(.job-group-icon):not(.job-family-dots){color:var(--system-red)}.job-catalog-card{background:#fbfbfb;border-color:#b6b6b6;border-top-color:var(--cable-colour,#656565)}.job-catalog-title>strong{color:#353535}.job-catalog-title>small{color:#727272}.job-catalog-stock{color:#505050}.job-catalog-planned{color:#6d6d6d}.unclassified-cable-card{background:#f4edde;border-color:#b4a27e}.unclassified-cable-card .job-catalog-title>strong{color:#6f5630}.job-browser-pages{color:#737373}.job-plan-heading{border-color:#b9b9b9}.job-plan-heading span{color:#6e6e6e}
.cable-legend{background:#ebebeb}.cable-band{background:#fbfbfb;color:#303030;border-color:#b1b1b1;font-family:var(--system-mono);font-size:10px}.cable-band>i,.cable-card-top>i{background:var(--cable-colour)!important;border:1px solid #707070!important}.cable-summary>div{background:#f6f6f6;border-color:#b6b6b6}.cable-summary strong{color:#3e3e3e;font-family:var(--system-mono);font-weight:400}.cable-summary span{color:#707070}.cable-length-card{background:#f7f7f7;border-color:#b5b5b5;border-top-color:var(--cable-colour)!important}.cable-card-top h3{font-family:var(--system-mono);font-weight:400}.cable-card-top>span,.cable-length-card small{color:#6a6a6a}.cable-length-card p>strong{color:#434343;font-family:var(--system-mono);font-weight:400}.cable-register{color:#606060;text-decoration:underline;text-underline-offset:3px}.case-destination,.case-out-actions,.case-bulk-picker{border-color:#b7b7b7}.case-pane-heading>span{font-family:var(--system-mono);color:#707070}.case-pick-action{background:var(--system-paper)}.case-pick-action>span{color:#565656;font-family:var(--system-mono);font-size:11px}.case-unit-row,.case-packed-unit{border-color:#c7c7c7}.case-unit-row strong,.case-unit-row code{color:#404040}.case-unit-row small{color:#717171}.case-manifest-group{background:#f6f6f6;border-color:#b3b3b3}.case-manifest-group>summary strong{color:#3d3d3d}.case-manifest-group>summary strong:before,.case-manifest-group>summary>b{color:var(--system-red)}.case-manifest-group>summary>b{font-family:var(--system-mono);font-weight:400}.case-bulk-row{background:#f2f2f2;border-color:#b8b8b8}.case-bulk-row small{color:#747474}.case-bulk-picker summary{color:#5a5a5a}.case-list-tools{color:#6f6f6f}
.graph-header{padding-top:18px}.graph-header h3{font-size:19px}.graph-route-bar{background:#ebebeb;border-color:#c0c0c0}.graph-history-controls button{background:#f8f8f8;border-color:#adadad;color:#464646}.graph-history-controls button:not(:disabled):hover{background:#e4e4e4;color:#353535;border-color:#858585}.graph-breadcrumbs button,#graphBreadcrumbs button{color:#5d5d5d;background:none}.graph-breadcrumbs button:hover,#graphBreadcrumbs button:hover{background:#dfdfdf;color:#353535}.graph-current-crumb{color:#404040;font-size:12px}.graph-crumb-divider{color:#878787}.graph-workspace{border-color:#b6b6b6}.graph-canvas{background:linear-gradient(#89898910 1px,transparent 1px),linear-gradient(90deg,#89898910 1px,transparent 1px),#f2f2f2;background-size:28px 28px;position:relative}.graph-canvas:after{content:'';position:absolute;inset:10px;border:1px solid #95959540;pointer-events:none;clip-path:polygon(0 0,22px 0,22px 1px,1px 1px,1px 22px,0 22px,0 0,100% 0,100% 22px,calc(100% - 1px) 22px,calc(100% - 1px) 1px,calc(100% - 22px) 1px,calc(100% - 22px) 0,100% 0,100% 100%,calc(100% - 22px) 100%,calc(100% - 22px) calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) calc(100% - 22px),100% calc(100% - 22px),100% 100%,0 100%,0 calc(100% - 22px),1px calc(100% - 22px),1px calc(100% - 1px),22px calc(100% - 1px),22px 100%,0 100%)}.graph-edge{stroke:#7d7d7d99;stroke-width:1}.graph-edge.pending{stroke:#b53c2c;stroke-dasharray:4 5}.graph-node .node-dot{stroke:#f2f2f2;stroke-width:3}.graph-node:not([data-cable]) .node-dot{fill:#3f3f3f}.graph-node.kind-category:not([data-cable]) .node-dot{fill:#969696;stroke:#616161;stroke-width:2}.graph-node.kind-asset:not([data-cable]) .node-dot{fill:#7e7e7e}.graph-node.kind-case .node-dot{fill:var(--system-red)}.graph-node.kind-root .node-dot{fill:var(--system-black);stroke:var(--system-red);stroke-width:4}.graph-node text{fill:#3c3c3c!important;stroke:#f2f2f2!important;stroke-width:4;font-family:var(--system-mono)!important}.graph-node.selected .node-dot,.graph-node:focus .node-dot,.graph-picked .node-dot{stroke:var(--system-red)!important;stroke-width:5!important;filter:none}.centre-ring{fill:#e0e0e080;stroke:var(--system-red)}.graph-centre .node-dot{stroke:var(--system-red)}.graph-node .centre-exit-hint{fill:var(--system-red)!important}.graph-controls{background:#f7f7f7ed;border-color:#acacac}.graph-controls button{color:#4b4b4b}.graph-controls label{color:#676767}.graph-hint{background:#f2f2f2eb;color:#666666;font-family:var(--system-mono);font-size:10px}.graph-inspector{background:#ebebeb;border-color:#b6b6b6}.graph-inspector>.eyebrow{color:var(--system-red)}.graph-kind{color:var(--system-red)!important;font-size:10px}.graph-jump-label{color:#656565}.graph-details p,#graphDetails p{color:#646464;font-size:12px}.graph-details code,#graphDetails code{color:#464646;font-size:11px}.graph-details h3,#graphDetails h3{color:#353535;font-size:17px}.graph-legend{border-color:#bdbdbd}.graph-legend span,.graph-note,.graph-footer{color:#656565}.graph-legend span:nth-child(1) i{background:#969696!important}.graph-legend span:nth-child(2) i{background:#3f3f3f!important}.graph-legend span:nth-child(3) i{background:#7e7e7e!important}.graph-legend span:nth-child(4) i{background:var(--system-red)!important}.graph-empty{color:#737373}.graph-pick-button>circle{fill:#fafafa;stroke:#656565}.graph-node .graph-pick-button>text{fill:#383838!important;stroke:none!important}.graph-picked .graph-pick-button>circle{fill:var(--system-red);stroke:var(--system-red)}.graph-picked .graph-pick-button>text{fill:#fff!important}.graph-pick-button.pick-disabled>circle{fill:#dfdfdf;stroke:#919191}#casePickerGraph{border-color:#b4b4b4}.graph-canvas svg:focus-visible{outline-color:var(--system-red)}
/* Keep the palette clinical and near-neutral; cable bands retain their physical colours. */
@media(min-width:1500px){.main{padding-left:45px;padding-right:45px}.topbar h1{font-size:38px}}
@media(max-width:1100px){.sidebar{width:180px;padding:25px 12px}.main{padding:20px}.brand strong{font-size:17px!important}.brand span{font-size:8px!important}.jobs-heading,.inv-heading{align-items:flex-start}.system-strip{font-size:8px;gap:12px}.metric{padding:16px}.inv-heading h2{font-size:21px}}
@media(max-width:900px){.sidebar{width:150px}.sidebar .nav-item{font-size:10px;padding:12px 7px}.sidebar .nav-item span{font-size:9px;width:20px}.sidebar .brand{gap:8px}.sidebar .brand-mark{width:26px;transform:scale(.75);transform-origin:left center}.sidebar-foot{display:block}.inv-stats{margin-bottom:20px}.graph-inspector{display:block}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px 18px;border-right:0;border-bottom:1px solid #a5a5a5}.sidebar .brand{padding:0 0 14px}.sidebar>nav{display:flex;gap:5px}.sidebar .nav-item{font-size:11px;flex:1;text-align:center;padding:10px 7px;border:1px solid #b0b0b0}.sidebar .nav-item span{display:none}.sidebar .nav-item.active{border-left:1px solid var(--system-black);border-bottom:3px solid var(--system-red);padding-bottom:8px}.sidebar-foot{display:none}.main{padding:16px}.system-strip{margin-bottom:21px}.system-strip>span:nth-child(2){display:none}.topbar{gap:12px}.topbar h1{font-size:29px}.topbar .eyebrow{font-size:8px!important}.jobs-heading,.inv-heading{flex-direction:column;gap:14px}.inv-heading .inv-actions{margin-top:5px}.metric{border-bottom:1px solid #bebebe}.metric:nth-child(2){border-right:0}.metric:nth-last-child(-n+2){border-bottom:0}.summary-grid{grid-template-columns:repeat(2,1fr)}.job-dialog header h2,.warehouse-dialog header h2{font-size:19px}.job-browser-heading{gap:10px}}
@media(max-width:440px){.main{padding:13px}.topbar{align-items:center}.topbar h1{font-size:24px}.topbar .top-actions #newBookingBtn{font-size:10px!important;padding:9px}.topbar h1:after{width:6px;height:6px;margin-left:8px}.system-strip{letter-spacing:.035em}.jobs-heading h2,.inv-heading h2{font-size:18px}.metric{padding:13px}.metric strong{font-size:27px}.metric small{font-size:9px}.inv-actions{gap:6px}.inv-actions .ghost{font-size:9px}.job-browse-group{min-height:75px}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff!important}.inventory-label{color:#000!important;background:#fff!important}.inventory-label :is(h3,p,strong,small,code,span){color:#000!important}.inventory-label .cable-band{background:#fff!important;color:#000!important}.inventory-label svg{background:#fff!important}body>#inventoryPrintArea{display:grid!important}}
