/* VERIDIUM Freight · module: docks, yard, gate and slots (prefix xy-) */

/* ---------- shared ---------- */
.xy-mut { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-p { margin: 6px 0 0; font: 500 12.5px/18px var(--font-sans); color: var(--vd-text-supporting); }
.xy-p > i { vertical-align: -2px; }
.xy-neg { color: var(--vd-negative-text) !important; }
.xy-card { min-width: 0; }
.xy-card + .xy-card { margin-top: 12px; }
.xy-card .vd-card__heading { flex-wrap: wrap; gap: 8px; }
.xy-card__b { padding: 0 16px 16px; min-width: 0; }
.xy-card.mk-tcard .xy-card__b { padding: 0 0 12px; }
.xy-card.mk-tcard .xy-card__b > .xy-p, .xy-card.mk-tcard .xy-card__b > .xy-radd, .xy-card.mk-tcard .xy-card__b > .xy-acts { padding-left: 16px; padding-right: 16px; }
.xy-kvs { display: flex; flex-direction: column; }
.xy-kv { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--vd-border-subtle); font: 500 13px/18px var(--font-sans); min-width: 0; }
.xy-kv:first-child { border-top: 0; }
.xy-kv > span { flex: none; width: 128px; font: 600 12px/18px var(--font-sans); color: var(--vd-text-2); }
.xy-kv > b { flex: 1 1 auto; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.xy-kv .vd-badge { vertical-align: 1px; }
.xy-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.xy-acts--demo { padding: 8px 10px; border-radius: 10px; background: var(--vd-surface-2); }
.xy-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xy-grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 8px 0; }
.xy-num .vd-input__control { text-align: right; }
.xy-ta { width: 100%; box-sizing: border-box; min-height: 64px; padding: 8px 10px; border: 1px solid var(--vd-border); border-radius: 10px; background: var(--vd-surface); font: 500 13px/18px var(--font-sans); color: var(--vd-text-1); resize: vertical; }
.xy-ul, .xy-ol { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font: 500 13px/19px var(--font-sans); color: var(--vd-text-supporting); }
.xy-ul b, .xy-ol b { color: var(--vd-text-1); }
.xy-empty { padding: 32px 16px; }
.xy-al { margin: 0 0 10px; }
.xy-cfchk { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; font: 500 13px/18px var(--font-sans); color: var(--vd-text-supporting); cursor: pointer; }
.xy-cfchk input { margin-top: 2px; width: 16px; height: 16px; flex: none; }
.xy-fast { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; background: var(--vd-positive-tint); color: var(--vd-positive-text); font: 700 10.5px/16px var(--font-sans); letter-spacing: .02em; vertical-align: 1px; }
.xy-unpl { display: inline-flex; padding: 1px 7px; border-radius: 999px; background: var(--vd-attention-tint); color: var(--vd-attention-text); font: 700 10.5px/16px var(--font-sans); vertical-align: 1px; }
.xy-warn { display: inline-flex; align-items: center; gap: 4px; color: var(--vd-attention-text); font: 600 11.5px/15px var(--font-sans); }
.xy-dw { font: 600 11.5px/16px var(--font-mono); padding: 0 6px; border-radius: 6px; white-space: nowrap; }
.xy-dw.is-positive { background: var(--vd-positive-tint); color: var(--vd-positive-text); }
.xy-dw.is-attention { background: var(--vd-attention-tint); color: var(--vd-attention-text); }
.xy-dw.is-negative { background: var(--vd-negative-tint); color: var(--vd-negative-text); }
.xy-more { font: 600 12px/16px var(--font-sans); color: var(--vd-text-2); padding: 2px 4px; }

/* ---------- board: banners, KPIs, layout ---------- */
.xy-bans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.xy-ban { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--vd-surface); box-shadow: inset 0 0 0 1px var(--vd-border-subtle); flex-wrap: wrap; }
.xy-ban.is-negative { box-shadow: inset 0 0 0 1.5px var(--vd-negative-solid); background: var(--vd-negative-tint); }
.xy-ban.is-attention { box-shadow: inset 0 0 0 1px var(--vd-attention-solid); }
.xy-ban__t { display: flex; flex-direction: column; flex: 1 1 260px; min-width: 0; }
.xy-ban__t b { font: 700 13.5px/18px var(--font-sans); }
.xy-ban__t span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-ban__a { display: flex; gap: 6px; flex-wrap: wrap; }
.xy-kpis { margin-bottom: 12px; }
.xy-kpis--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xy-kpi.is-attention .kpi__v { color: var(--vd-attention-text); }
.xy-bd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 12px; align-items: start; }
.xy-bd__main, .xy-bd__side { min-width: 0; }
.xy-calc .xy-card__b { overflow-x: auto; }

/* ---------- dock calendar (15-minute rows) ---------- */
.xy-cal { --xy-hh: 40px; --xy-rh: 17px; position: relative; display: grid; grid-template-columns: 46px repeat(var(--xy-d), minmax(120px, 1fr)); grid-template-rows: var(--xy-hh) repeat(var(--xy-n), var(--xy-rh)); column-gap: 6px; min-width: calc(46px + var(--xy-d) * 126px); }
.xy-cal__corner { grid-row: 1; grid-column: 1; border-bottom: 1px solid var(--vd-border-subtle); }
.xy-cal__dk { grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-bottom: 1px solid var(--vd-border-subtle); min-width: 0; }
.xy-cal__dk b { font: 800 12.5px/16px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-cal__dk em { font: 600 10.5px/13px var(--font-sans); font-style: normal; color: var(--vd-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-cal__tm { grid-column: 1; align-self: start; transform: translateY(-7px); padding-right: 6px; text-align: right; font: 500 11px/14px var(--font-mono); color: var(--vd-text-2); }
.xy-cell { border-top: 1px dashed transparent; background: transparent; cursor: pointer; }
.xy-cell.is-hr { border-top-color: var(--vd-border-subtle); border-top-style: solid; }
.xy-cell:hover { background: var(--vd-surface-2); }
.xy-cell.is-off { background: repeating-linear-gradient(135deg, var(--vd-surface-2) 0 5px, transparent 5px 9px); cursor: not-allowed; }
.xy-cell.is-past { cursor: default; opacity: .55; }
.xy-cell.is-past:hover { background: transparent; }
.xy-cell.is-over { background: var(--vd-processing-tint); box-shadow: inset 0 0 0 2px var(--vd-processing-solid); }
.xy-blk { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; min-width: 0; margin: 1px 0; padding: 3px 7px 3px 10px; border: 0; border-radius: 7px; font: 500 11px/13px var(--font-sans); text-align: left; overflow: hidden; }
.xy-blk b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-blk span, .xy-blk em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-blk em { font-style: normal; font-weight: 700; font-size: 10px; letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
.xy-blk.is-sm { flex-direction: row; align-items: center; gap: 6px; padding-top: 1px; padding-bottom: 1px; }
.xy-blk.is-sm span { display: none; }
.xy-blk.is-sm b { flex: 0 1 auto; min-width: 0; }
.xy-blk.is-sm em { flex: none; }
.xy-blk--bk { background: var(--mk-ink); color: var(--vd-text-on-inverse); cursor: pointer; box-shadow: 0 1px 2px color-mix(in srgb, var(--vd-grey-950) 20%, transparent); }
.xy-blk--bk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--xy-ch, transparent); }
.xy-blk--bk span { color: var(--vd-grey-300); }
.xy-blk--bk.is-in { background: var(--vd-grey-700); }
.xy-blk--bk.is-processing { background: var(--vd-processing-solid); }
.xy-blk--bk.is-processing span { color: color-mix(in srgb, var(--vd-grey-0) 85%, transparent); }
.xy-blk--bk.is-attention { background: var(--vd-attention-solid); }
.xy-blk--bk.is-attention span { color: color-mix(in srgb, var(--vd-grey-0) 90%, transparent); }
.xy-blk--bk.is-positive { background: var(--vd-positive-solid); }
.xy-blk--bk.is-positive span { color: color-mix(in srgb, var(--vd-grey-0) 90%, transparent); }
.xy-blk--bk.is-negative { background: var(--vd-negative-solid); }
.xy-blk--bk.is-negative span { color: color-mix(in srgb, var(--vd-grey-0) 90%, transparent); }
.xy-blk--bk.is-req { background: var(--vd-surface); color: var(--vd-text-1); box-shadow: inset 0 0 0 1.5px var(--vd-attention-solid); }
.xy-blk--bk.is-req span { color: var(--vd-text-2); }
.xy-blk--bk.is-done { opacity: .55; }
.xy-blk--bk.is-gone { background: var(--vd-surface); color: var(--vd-text-2); box-shadow: inset 0 0 0 1px var(--vd-border-subtle); text-decoration: line-through; }
.xy-blk--bk.is-gone span { color: var(--vd-text-2); }
.xy-blk--bk:hover { filter: brightness(1.1); }
.xy-blk--bk:focus-visible { outline: 2px solid var(--vd-spectrum-optic-blue); outline-offset: 1px; }
.xy-blk--bk[draggable="true"] { cursor: grab; }
.xy-blk--bk.is-drag { opacity: .5; }
.xy-blk--std { background: repeating-linear-gradient(135deg, var(--vd-processing-tint) 0 6px, var(--vd-surface) 6px 11px); color: var(--vd-processing-text); box-shadow: inset 0 0 0 1px var(--vd-processing-solid); z-index: 0; }
.xy-blk--brk { background: repeating-linear-gradient(135deg, var(--vd-surface-2) 0 4px, transparent 4px 8px); color: var(--vd-text-2); font-weight: 600; justify-content: center; z-index: 0; }
.xy-blk--off { background: var(--vd-surface-2); color: var(--vd-text-2); box-shadow: inset 0 0 0 1px var(--vd-border); cursor: pointer; }
.xy-cal__now { position: absolute; left: 46px; right: 0; height: 0; border-top: 2px solid var(--vd-negative-solid); pointer-events: none; z-index: 2; }
.xy-cal__now span { position: absolute; left: -44px; top: -9px; padding: 1px 4px; border-radius: 4px; background: var(--vd-negative-solid); color: var(--vd-text-on-inverse); font: 700 10px/14px var(--font-mono); }
.xy-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font: 500 11.5px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-leg span { display: inline-flex; align-items: center; gap: 6px; }
.xy-sw { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.xy-sw--bk { background: var(--mk-ink); }
.xy-sw--in { background: var(--vd-grey-700); }
.xy-sw--req { box-shadow: inset 0 0 0 1.5px var(--vd-attention-solid); }
.xy-sw--std { background: repeating-linear-gradient(135deg, var(--vd-processing-tint) 0 3px, var(--vd-surface) 3px 6px); box-shadow: inset 0 0 0 1px var(--vd-processing-solid); }
.xy-sw--off { background: var(--vd-surface-2); box-shadow: inset 0 0 0 1px var(--vd-border); }
.xy-closed { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 12px; background: var(--vd-surface-2); }
.xy-closed > i { font-size: 22px; color: var(--vd-text-2); }
.xy-closed span { display: flex; flex-direction: column; font: 500 13px/18px var(--font-sans); color: var(--vd-text-2); }
.xy-closed b { color: var(--vd-text-1); font-weight: 700; }

/* ---------- lists (arrivals, gate) ---------- */
.xy-list { display: flex; flex-direction: column; }
.xy-li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; width: 100%; padding: 9px 0; border: 0; border-top: 1px solid var(--vd-border-subtle); background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.xy-li:first-child { border-top: 0; }
.xy-li:hover .xy-li__t b { text-decoration: underline; }
.xy-li__t { display: flex; flex-direction: column; min-width: 0; }
.xy-li__t b { font: 700 13px/18px var(--font-sans); overflow-wrap: anywhere; }
.xy-li__t > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-li__r { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; text-align: right; }
.xy-li__r b { font: 700 12.5px/16px var(--font-mono); }
.xy-li__r em { font: 600 10.5px/13px var(--font-sans); font-style: normal; color: var(--vd-text-2); }
.xy-q { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; background: var(--vd-attention-tint); font: 500 12px/16px var(--font-sans); color: var(--vd-text-supporting); }
.xy-q i { color: var(--vd-attention-solid); font-size: 16px; margin-top: 1px; }
.xy-gl { display: flex; flex-direction: column; }
.xy-gr { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--vd-border-subtle); flex-wrap: wrap; }
.xy-gr:first-child { border-top: 0; }
.xy-gr.is-hold { margin: 2px -8px; padding: 8px; border-radius: 10px; background: var(--vd-negative-tint); border-top: 0; }
.xy-gr__t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 180px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.xy-gr__t b { font: 700 13px/18px var(--font-mono); }
.xy-gr__t > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-gr__m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.xy-gr__m > span { font: 600 11.5px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-gr__a { display: flex; gap: 6px; flex-wrap: wrap; }
.xy-gone { margin-top: 8px; }
.xy-gone summary { cursor: pointer; font: 600 12px/18px var(--font-sans); color: var(--vd-text-2); }

/* ---------- visit drawer ---------- */
.xy-dsec { padding: 12px 0; border-top: 1px solid var(--vd-border-subtle); }
.xy-dsec:first-child { border-top: 0; padding-top: 0; }
.xy-dsec__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.xy-dsec__h > b { font: 800 14px/18px var(--font-sans); margin-right: auto; }
.xy-tl { display: flex; margin: 4px 0 8px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.xy-tl__s { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1 0 64px; min-width: 64px; text-align: center; }
.xy-tl__s::before { content: ''; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--vd-border); z-index: 0; }
.xy-tl__s:first-child::before { display: none; }
.xy-tl__s.is-done::before { background: var(--vd-positive-solid); }
.xy-tl__n { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--vd-surface); box-shadow: inset 0 0 0 1.5px var(--vd-border-strong); font: 700 11px/1 var(--font-sans); color: var(--vd-text-2); }
.xy-tl__s.is-done .xy-tl__n { background: var(--vd-positive-solid); box-shadow: none; color: var(--vd-text-on-inverse); }
.xy-tl__s.is-now .xy-tl__n { box-shadow: inset 0 0 0 2px var(--vd-processing-solid); color: var(--vd-processing-text); }
.xy-tl__l { font: 600 10.5px/13px var(--font-sans); color: var(--vd-text-2); }
.xy-tl__s.is-done .xy-tl__l, .xy-tl__s.is-now .xy-tl__l { color: var(--vd-text-1); }
.xy-tl__t { font: 600 11px/14px var(--font-mono); min-height: 14px; }
.xy-tl--s .xy-tl__s { flex-basis: 52px; min-width: 52px; }
.xy-met { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.xy-met > div { display: flex; flex-direction: column; padding: 7px 9px; border-radius: 10px; background: var(--vd-surface-2); min-width: 0; }
.xy-met span { font: 600 10.5px/13px var(--font-sans); color: var(--vd-text-2); text-transform: uppercase; letter-spacing: .04em; }
.xy-met b { font: 800 14px/18px var(--font-sans); }
.xy-chk { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.xy-chk li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: start; font: 500 12.5px/17px var(--font-sans); }
.xy-chk li > i { margin-top: 1px; color: var(--vd-text-2); }
.xy-chk li.is-ok > i { color: var(--vd-positive-solid); }
.xy-chk li.is-no > i { color: var(--vd-negative-solid); }
.xy-chk li > span { display: flex; flex-direction: column; min-width: 0; }
.xy-chk li b { font-weight: 600; }
.xy-chk li em { font-style: normal; font-size: 11.5px; color: var(--vd-text-2); overflow-wrap: anywhere; }
.xy-chk--ph li { font-size: 12px; }
.xy-prog { margin: 4px 0; }
.xy-log { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.xy-log li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; font: 500 12px/16px var(--font-sans); }
.xy-log time { grid-row: span 2; font: 600 11px/16px var(--font-mono); color: var(--vd-text-2); white-space: nowrap; }
.xy-log em { font-style: normal; color: var(--vd-text-2); font-size: 11.5px; }
.xy-free { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; margin-top: 8px; border-radius: 10px; background: var(--vd-positive-tint); font: 600 12.5px/17px var(--font-sans); }
.xy-free > i { color: var(--vd-positive-solid); font-size: 16px; }
.xy-free em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--vd-text-2); flex-basis: 100%; }
.xy-free.is-over { background: var(--vd-attention-tint); }
.xy-free.is-over > i { color: var(--vd-attention-solid); }

/* ---------- yard ---------- */
.xy-yd, .xy-in, .xy-rl, .xy-cs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 12px; align-items: start; }
.xy-yd > div, .xy-in > div, .xy-rl > div, .xy-cs > div { min-width: 0; }
.xy-ymap { display: flex; flex-direction: column; gap: 14px; }
.xy-yg__h { display: block; margin-bottom: 6px; font: 700 11px/14px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--vd-text-2); }
.xy-yg__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.xy-sp { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 84px; padding: 8px 9px; border: 0; border-radius: 10px; background: var(--vd-surface); box-shadow: inset 0 0 0 1px var(--vd-border); text-align: left; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.xy-sp.is-free { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--vd-surface-2) 6px 7px); box-shadow: inset 0 0 0 1px var(--vd-border-subtle); }
.xy-sp.is-sel { box-shadow: inset 0 0 0 2px var(--vd-processing-solid); }
.xy-sp.is-truck { background: var(--vd-surface-2); }
.xy-sp.is-over { box-shadow: inset 0 0 0 2px var(--vd-processing-solid); background: var(--vd-processing-tint); }
.xy-sp[draggable="true"] { cursor: grab; }
.xy-sp__id { font: 800 11px/14px var(--font-sans); color: var(--vd-text-2); }
.xy-sp b { font-size: 12.5px; line-height: 16px; }
.xy-sp__w { font: 500 11px/14px var(--font-sans); color: var(--vd-text-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-sp__e { font: 500 11px/14px var(--font-sans); color: var(--vd-text-3); }
.xy-sp__f { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.xy-sp__f .vd-badge { height: 18px; font-size: 10.5px; }
.xy-sp__mv { position: absolute; right: 6px; top: 6px; display: inline-flex; align-items: center; gap: 2px; font: 700 10.5px/14px var(--font-sans); color: var(--vd-processing-text); }
.xy-yg--dock .xy-sp { min-height: 90px; }
.xy-mk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.xy-mk > div { display: flex; flex-direction: column; padding: 7px 9px; border-radius: 10px; background: var(--vd-surface-2); min-width: 0; }
.xy-mk span { font: 600 10.5px/13px var(--font-sans); color: var(--vd-text-2); }
.xy-mk b { font: 800 15px/19px var(--font-sans); }
.xy-mv { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--vd-border-subtle); flex-wrap: wrap; }
.xy-mv:first-child { border-top: 0; }
.xy-mv.is-done { opacity: .7; }
.xy-mv__t { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; }
.xy-mv__t b { font: 700 12.5px/17px var(--font-sans); }
.xy-mv__t > span { font: 500 11.5px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-mv .vd-field { margin: 0; }
.xy-mvsel { max-width: 140px; }
.xy-ychk { display: flex; flex-direction: column; gap: 6px; }
.xy-ychk__r { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; font: 500 12.5px/17px var(--font-sans); }

/* ---------- inbound, tables ---------- */
.xy-tbl td { vertical-align: top; }
.xy-tbl tr.is-fixed td { color: var(--vd-text-2); }
.xy-td-a { white-space: nowrap; }
.xy-td-a .vd-btn { margin: 0 4px 4px 0; }
.xy-tbl--s { margin-top: 8px; }
.xy-fe { display: flex; flex-direction: column; gap: 8px; }
.xy-fe__r { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 600 12.5px/17px var(--font-sans); }
.xy-fe__r em { font-style: normal; font-weight: 600; font-size: 10.5px; color: var(--vd-processing-text); text-transform: uppercase; }
.xy-fe__add { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.xy-fe__add .vd-field { flex: 1 1 160px; margin: 0; }

/* ---------- standing slots ---------- */
.xy-sss { display: flex; flex-direction: column; gap: 10px; }
.xy-ss { padding: 12px 14px; border-radius: 14px; background: var(--vd-surface); box-shadow: inset 0 0 0 1px var(--vd-border-subtle); }
.xy-card .xy-ss { padding: 10px 0; box-shadow: none; border-radius: 0; border-top: 1px solid var(--vd-border-subtle); }
.xy-card .xy-ss:first-child { border-top: 0; padding-top: 0; }
.xy-ss__h { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.xy-ss__t { display: flex; flex-direction: column; flex: 1 1 240px; min-width: 0; }
.xy-ss__t b { font: 700 13.5px/18px var(--font-sans); }
.xy-ss__t > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-occ { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.xy-occ__i { display: flex; flex-direction: column; gap: 3px; padding: 7px 9px; border-radius: 10px; background: var(--vd-surface-2); min-width: 120px; font: 500 11.5px/15px var(--font-sans); }
.xy-occ__i b { font-size: 12px; }
.xy-occ__i.is-reserved { background: var(--vd-processing-tint); }
.xy-occ__i.is-attached { background: var(--vd-positive-tint); }
.xy-occ__a { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.xy-lane { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--vd-surface-2); }
.xy-lane__h { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.xy-lane__h > i { font-size: 20px; margin-top: 1px; color: var(--vd-processing-solid); }
.xy-lane__h > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.xy-lane__h b { font: 700 13.5px/18px var(--font-sans); }
.xy-lane__h > span:first-of-type > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }

/* ---------- rules, setup ---------- */
.xy-radd { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; }
.xy-radd .vd-field { flex: 1 1 150px; margin: 0; min-width: 0; }
.xy-lt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--vd-border-subtle); }
.xy-lt:first-child { border-top: 0; }
.xy-lt span { display: flex; flex-direction: column; min-width: 0; }
.xy-lt b { font: 600 13px/18px var(--font-sans); }
.xy-lt em { font-style: normal; font: 500 11.5px/15px var(--font-sans); color: var(--vd-text-2); }
.xy-setup__seg { margin-bottom: 12px; overflow-x: auto; }
.xy-hol { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; max-height: 320px; overflow: auto; }
.xy-hol__r { display: flex; gap: 10px; align-items: center; padding: 5px 8px; border-radius: 8px; font: 500 12.5px/17px var(--font-sans); flex-wrap: wrap; }
.xy-hol__r.is-own { background: var(--vd-surface-2); }
.xy-hol__r b { min-width: 92px; }
.xy-hol__r em { font-style: normal; font-size: 11.5px; color: var(--vd-text-2); margin-left: auto; }
.xy-ppe { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.xy-ppe__i { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--vd-surface-2); font: 600 12px/16px var(--font-sans); }
.xy-mtx th, .xy-mtx td { white-space: nowrap; }
.xy-chs { display: inline-flex; gap: 3px; }
.xy-ch { min-width: 34px; height: 24px; padding: 0 6px; border: 0; border-radius: 6px; background: var(--vd-surface-2); color: var(--vd-text-2); font: 600 10.5px/24px var(--font-sans); cursor: pointer; }
.xy-ch.is-on { background: var(--mk-ink); color: var(--vd-text-on-inverse); }
.xy-brand { margin-bottom: 8px; }
.xy-brand__p { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--vd-surface); box-shadow: inset 0 3px 0 var(--xy-acc), inset 0 0 0 1px var(--vd-border-subtle); }
.xy-brand__l { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--xy-acc, var(--vd-grey-800)); color: var(--vd-text-on-inverse); font: 800 12px/1 var(--font-sans); flex: none; }
.xy-col { width: 28px; height: 28px; border: 2px solid var(--vd-surface); border-radius: 999px; box-shadow: 0 0 0 1px var(--vd-border); cursor: pointer; }
.xy-col.is-on { box-shadow: 0 0 0 2px var(--vd-text-1); }

/* ---------- reports ---------- */
.xy-filt { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.xy-filt .vd-field { margin: 0; }
.xy-rp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.xy-rp > div { min-width: 0; }
.xy-heat { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; height: 170px; align-items: end; padding-top: 10px; }
.xy-heat__c { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.xy-heat__b { display: block; width: 100%; max-height: calc(100% - 30px); border-radius: 5px 5px 2px 2px; background: var(--vd-processing-solid); opacity: .75; }
.xy-heat__c.is-over .xy-heat__b { background: var(--vd-attention-solid); opacity: 1; }
.xy-heat__c b { font: 700 10.5px/13px var(--font-mono); margin-top: 2px; }
.xy-heat__c em { font: 500 10px/13px var(--font-mono); font-style: normal; color: var(--vd-text-2); }
.xy-heat__cap { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--vd-negative-solid); pointer-events: none; }
.xy-heat__cap span { position: absolute; right: 0; top: -16px; font: 600 10px/14px var(--font-sans); color: var(--vd-negative-text); background: var(--vd-surface); padding: 0 3px; }
.xy-bars { display: flex; flex-direction: column; gap: 8px; }
.xy-bar { display: grid; grid-template-columns: minmax(0, 150px) minmax(60px, 1fr) auto auto; gap: 8px; align-items: center; font: 500 12px/16px var(--font-sans); }
.xy-bar__l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-bar__t { height: 8px; border-radius: 99px; background: var(--vd-surface-2); overflow: hidden; }
.xy-bar__t span { display: block; height: 100%; border-radius: 99px; background: var(--vd-attention-solid); }
.xy-bar b { font: 700 12px/16px var(--font-mono); white-space: nowrap; }
.xy-bar em { font-style: normal; font-size: 11px; color: var(--vd-text-2); white-space: nowrap; }
.xy-cost { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: var(--vd-attention-tint); margin-bottom: 8px; }
.xy-cost b { font: 800 15px/20px var(--font-sans); }
.xy-cost span { font: 500 12.5px/17px var(--font-sans); color: var(--vd-text-supporting); }

/* ---------- shipper: compose, track, offers, carriers ---------- */
.xy-cmp { display: flex; flex-direction: column; gap: 6px; }
.xy-cmp__r { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--vd-surface); box-shadow: inset 0 0 0 1px var(--vd-border-subtle); flex-wrap: wrap; }
.xy-cmp__r > i { font-size: 18px; margin-top: 1px; color: var(--vd-text-supporting); }
.xy-cmp__r > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.xy-cmp__r b { font: 700 12.5px/17px var(--font-sans); }
.xy-cmp__r > span:first-of-type > span { font: 500 11.5px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-cmp__r.is-warn { background: var(--vd-attention-tint); box-shadow: none; }
.xy-cmp__r.is-warn > i { color: var(--vd-attention-solid); }
.xy-trk { display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 10px; border: 1px solid var(--vd-border-subtle); border-radius: 12px; }
.xy-trk__r { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; padding: 4px 0; }
.xy-trk__r > i { font-size: 18px; margin-top: 1px; color: var(--vd-text-supporting); }
.xy-trk__r > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.xy-trk__r b { font: 700 13px/18px var(--font-sans); }
.xy-trk__r > span:first-of-type > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-offr { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--vd-surface-2); font: 500 12px/16px var(--font-sans); }
.xy-offr__l { font-weight: 700; }
.xy-osr b { font-weight: 700; }
.xy-ctop { margin-bottom: 12px; }
.xy-fair { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0; padding: 6px 9px; border-radius: 9px; background: var(--vd-surface-2); font: 500 11.5px/15px var(--font-sans); color: var(--vd-text-supporting); }
.xy-fair > i { margin-top: 1px; }
.xy-fair.is-slow { background: var(--vd-attention-tint); }
.xy-fair--c { margin: 4px 0; padding: 4px 8px; font-size: 11px; }

/* ---------- carrier: loading slot card ---------- */
.xy-lc { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 12px; border-bottom: 1px solid var(--vd-border-subtle); margin-bottom: 4px; }
.xy-lc__h { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.xy-lc__h > i { font-size: 18px; margin-top: 1px; color: var(--vd-text-supporting); }
.xy-lc__h > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.xy-lc__h b { font: 700 13px/18px var(--font-sans); }
.xy-lc__h > span:first-of-type > span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-lc__eta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font: 500 12.5px/17px var(--font-sans); }
.xy-lc__a { display: flex; gap: 6px; flex-wrap: wrap; }
.xy-prop { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--vd-attention-tint); flex-wrap: wrap; }
.xy-prop > i { color: var(--vd-attention-solid); font-size: 18px; }
.xy-prop > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; }
.xy-prop b { font: 700 13px/18px var(--font-sans); }
.xy-prop > span:first-of-type > span { font: 500 11.5px/16px var(--font-sans); color: var(--vd-text-supporting); }
.xy-prop__a { display: flex; gap: 6px; }
.xy-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.xy-late { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: var(--vd-surface-2); }
.xy-late .vd-btn { align-self: flex-start; }
.xy-lc--ph .xy-lc__a .vd-btn { flex: 1 1 auto; }
.xy-cs__main .xy-card + .xy-card, .xy-cs__side .xy-card + .xy-card { margin-top: 12px; }

/* ---------- driver ---------- */
.xy-dg { gap: 8px; }
.xy-dgs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.xy-dgs > b { flex-basis: 100%; font: 800 17px/22px var(--font-sans); }
.xy-drp { display: flex !important; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.xy-pass { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.xy-pass .xy-kvs { flex: 1 1 180px; min-width: 0; }
.xy-pass .xy-kv > span { width: 86px; }
.xy-pass--ph { flex-direction: column; align-items: center; }
.xy-pass--ph .xy-kvs { width: 100%; }
.xy-qr { display: block; flex: none; border-radius: 8px; box-shadow: 0 0 0 1px var(--vd-border-subtle); image-rendering: pixelated; }
.xy-pass__c { font-size: 18px; letter-spacing: .06em; }
.xy-pin { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 12px; background: var(--mk-ink); color: var(--vd-text-on-inverse); }
.xy-pin span { font: 600 11px/14px var(--font-sans); opacity: .8; }
.xy-pin b { font-size: 30px; line-height: 36px; letter-spacing: .12em; }
.xy-pin em { font-style: normal; font: 500 11px/14px var(--font-sans); opacity: .7; }
.xy-dpass, .xy-dchk { max-height: calc(100% - 40px); overflow: auto; }
.xy-hold, .xy-go { align-items: center; text-align: center; gap: 10px; }
.xy-hold b, .xy-go b { font: 800 19px/24px var(--font-sans); }
.xy-hold__i { font-size: 44px; color: var(--vd-negative-solid); }
.xy-go__i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--vd-positive-tint); color: var(--vd-positive-solid); font-size: 32px; }
.xy-langs { display: flex; flex-wrap: wrap; gap: 4px; }
.xy-lang { min-width: 36px; height: 36px; padding: 0 6px; border: 0; border-radius: 8px; background: var(--vd-surface-2); font: 700 12px/36px var(--font-sans); cursor: pointer; }
.xy-lang.is-on { background: var(--mk-ink); color: var(--vd-text-on-inverse); }
.xy-ind { margin: 0; padding: 10px; border-radius: 10px; background: var(--vd-surface-2); font: 500 13px/19px var(--font-sans); max-height: 180px; overflow: auto; }

/* ---------- gate kiosk (tablet) ---------- */
.xy-kiosk { min-height: calc(100dvh - var(--proto-h, 0px)); display: flex; flex-direction: column; background: var(--vd-surface-inverse); color: var(--vd-text-on-inverse); }
.xy-kh { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--vd-inverse-hover); }
.xy-kh .vd-mark { background: var(--vd-surface); color: var(--vd-text-1); }
.xy-kh__t { display: flex; flex-direction: column; min-width: 0; }
.xy-kh__t b { font: 800 17px/22px var(--font-sans); }
.xy-kh__t span { font: 500 12.5px/16px var(--font-sans); opacity: .7; }
.xy-kh__c { font: 700 18px/1 var(--font-mono); opacity: .85; }
.xy-kmain { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 860px; margin: 0 auto; padding: 28px 20px; box-sizing: border-box; }
.xy-kt { margin: 0; font: 800 30px/36px var(--font-sans); text-align: center; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xy-kl { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.xy-kl__b { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--vd-grey-0) 8%, transparent); color: var(--vd-text-on-inverse); font: 700 13px/1 var(--font-sans); cursor: pointer; }
.xy-kl__b.is-on { background: var(--vd-surface); color: var(--vd-text-1); }
.xy-kbig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.xy-kb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 170px; padding: 18px; border: 0; border-radius: 20px; background: var(--vd-surface); color: var(--vd-text-1); cursor: pointer; text-align: center; }
.xy-kb i { font-size: 46px; }
.xy-kb b { font: 800 18px/23px var(--font-sans); }
.xy-kb--alt { background: color-mix(in srgb, var(--vd-grey-0) 12%, transparent); color: var(--vd-text-on-inverse); }
.xy-kcam { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--vd-grey-0) 8%, transparent); font: 500 13px/18px var(--font-sans); flex-wrap: wrap; }
.xy-kcam > i { color: var(--vd-negative-text); }
.xy-kscan { position: relative; display: grid; place-items: center; width: 280px; max-width: 100%; aspect-ratio: 1; border-radius: 24px; background: color-mix(in srgb, var(--vd-grey-0) 6%, transparent); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--vd-grey-0) 50%, transparent); overflow: hidden; }
.xy-kscan__i { font-size: 120px; opacity: .6; }
.xy-kscan__l { position: absolute; left: 10%; right: 10%; height: 3px; background: var(--vd-green-400); box-shadow: 0 0 12px var(--vd-green-400); animation: xy-scan 1.4s ease-in-out infinite alternate; }
@keyframes xy-scan { from { top: 15%; } to { top: 85%; } }
.xy-kin { width: 100%; max-width: 420px; }
.xy-kin .vd-input__control { height: 56px; font-size: 24px; text-align: center; letter-spacing: .08em; }
.xy-kerr { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--vd-red-300); font: 600 14px/19px var(--font-sans); }
.xy-krow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.xy-kiosk .vd-btn:not(.vd-btn--primary) { background: color-mix(in srgb, var(--vd-grey-0) 12%, transparent); color: var(--vd-text-on-inverse); box-shadow: none; }
.xy-kform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 640px; }
.xy-kiosk .vd-field__label { color: color-mix(in srgb, var(--vd-grey-0) 75%, transparent); }
.xy-kp { margin: 0; max-width: 640px; font: 500 13px/19px var(--font-sans); opacity: .75; text-align: center; }
.xy-kcard { width: 100%; max-width: 520px; padding: 12px 16px; border-radius: 16px; background: var(--vd-surface); color: var(--vd-text-1); }
.xy-kind { width: 100%; max-width: 640px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--vd-grey-0) 8%, transparent); }
.xy-kind p { margin: 6px 0; font: 500 14px/21px var(--font-sans); }
.xy-cfchk--k { color: var(--vd-text-on-inverse); font-size: 14px; }
.xy-kdone { justify-content: center; }
.xy-kdi { font-size: 96px; color: var(--vd-amber-400); }
.xy-kdone.is-go .xy-kdi { color: var(--vd-green-400); }
.xy-kdone.is-hold .xy-kdi { color: var(--vd-red-400); }
.xy-kf { display: flex; gap: 8px; align-items: flex-start; padding: 12px 20px; border-top: 1px solid var(--vd-inverse-hover); font: 500 11.5px/16px var(--font-sans); opacity: .7; }

/* ---------- TV dock board ---------- */
.xy-tv { min-height: calc(100dvh - var(--proto-h, 0px)); display: flex; flex-direction: column; background: var(--vd-surface-inverse-pressed); color: var(--vd-grey-100); }
.xy-tv__h { display: flex; align-items: center; gap: 12px; padding: 16px 22px; font: 800 22px/28px var(--font-sans); }
.xy-tv__h .vd-mark { background: var(--vd-surface); color: var(--vd-grey-950); }
.xy-tv__clk { font: 700 26px/1 var(--font-mono); }
.xy-tv__g { flex: 1; display: grid; grid-template-columns: repeat(var(--xy-d), minmax(200px, 1fr)); gap: 12px 22px; padding: 0 22px 16px; overflow-x: auto; }
.xy-tv__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.xy-tv__col h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; padding: 0 4px; font: 800 22px/28px var(--font-sans); }
.xy-tv__col h2 em { font: 600 13px/18px var(--font-sans); font-style: normal; opacity: .6; }
.xy-tv__cur { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--vd-surface-inverse-hover); min-height: 150px; }
.xy-tv__cur b { font-size: 26px; line-height: 32px; }
.xy-tv__cur > span { font: 500 14px/19px var(--font-sans); opacity: .85; }
.xy-tv__st { font: 700 12px/16px var(--font-sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--vd-blue-300); opacity: 1 !important; }
.xy-tv__cur.is-free { background: var(--vd-surface-inverse-hover); }
.xy-tv__cur.is-free .xy-tv__st { color: var(--vd-green-400); }
.xy-tv__cur.is-over { box-shadow: inset 0 0 0 3px var(--vd-red-400); }
.xy-tv__tm { font: 700 20px/26px var(--font-mono) !important; opacity: 1 !important; }
.xy-tv__cur.is-over .xy-tv__tm { color: var(--vd-red-400); }
.xy-tv__bar { height: 6px; border-radius: 9px; background: color-mix(in srgb, var(--vd-grey-0) 12%, transparent); overflow: hidden; }
.xy-tv__bar span { display: block; height: 100%; background: var(--vd-blue-300); }
.xy-tv__cur.is-over .xy-tv__bar span { background: var(--vd-red-400); }
.xy-tv__nx { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.xy-tv__nx li { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--vd-surface-inverse-hover); font: 500 14px/19px var(--font-sans); min-width: 0; }
.xy-tv__nx li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xy-tv__nx time { font: 700 14px/19px var(--font-mono); color: var(--vd-blue-300); }
.xy-tv__nx .is-e { opacity: .5; }
.xy-tv__q { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--vd-inverse-hover); font: 500 14px/19px var(--font-sans); }
.xy-tv__qi { padding: 4px 10px; border-radius: 8px; background: var(--vd-surface-inverse-hover); }
.xy-tv__qi.is-called { background: var(--vd-positive-solid); }

/* ---------- warehouse staff phone ---------- */
.xy-strole { padding: 0 12px 8px; }
.xy-off { display: flex; gap: 8px; align-items: center; margin: 0 12px 8px; padding: 8px 10px; border-radius: 10px; background: var(--vd-attention-tint); flex-wrap: wrap; }
.xy-off > span:first-of-type { display: flex; flex-direction: column; flex: 1 1 140px; font: 500 11.5px/15px var(--font-sans); }
.xy-off b { font-size: 12.5px; }
.xy-stdk .vd-field { margin: 0; }
.xy-stc { gap: 6px; }
.xy-stc__h { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.xy-stc__h b { font-size: 17px; }
.xy-stsc { font: 500 13px/18px var(--font-sans); }
.xy-stsc b { font-size: 20px; }
.xy-stb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xy-stb__b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; border: 0; border-radius: 14px; background: var(--vd-surface); box-shadow: inset 0 0 0 1px var(--vd-border); font: 700 12.5px/16px var(--font-sans); color: var(--vd-text-1); cursor: pointer; }
.xy-stb__b i { font-size: 22px; }
.xy-stb__b:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--vd-border-strong); }
.xy-stb__b:disabled { opacity: .4; cursor: not-allowed; }
.xy-stq { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.xy-stq > span:first-child { flex: 1 1 100%; }
.xy-stq.is-hold { box-shadow: inset 0 0 0 1.5px var(--vd-negative-solid); }
.xy-pick { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.xy-pick li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); gap: 6px; align-items: center; font: 500 11.5px/15px var(--font-sans); color: var(--vd-text-2); }
.xy-pick li.is-ok i { color: var(--vd-positive-solid); }

/* ---------- supplier booking, receiver portal, consignee link ---------- */
.xy-bsteps { margin: 0 0 4px; }
.xy-bpass .xy-pass { margin: 4px 0; }
.xy-recv { overflow-x: clip; }
.xy-rmain { max-width: 1240px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); }
.xy-rhd { margin-bottom: 10px; }
.xy-rh1 { margin: 0; font: 800 26px/32px var(--font-sans); letter-spacing: -.02em; }
.xy-rh { padding: 2px 8px; border-radius: 6px; background: var(--vd-surface-2); font: 700 11px/16px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--vd-text-2); }
.xy-rsec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.xy-recv .xy-rp > div > .xy-card + .xy-card { margin-top: 12px; }
.xy-rcta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
.xy-rcta > span:not(.vd-tile) { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.xy-rcta b { font: 800 14px/19px var(--font-sans); }
.xy-rcta > span:not(.vd-tile) > span { font: 500 12.5px/17px var(--font-sans); color: var(--vd-text-2); }
.xy-nset { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--vd-surface-2); }
.xy-nset .vd-field { margin: 0; }
.xy-btop { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.xy-btop b { font: 800 15px/20px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xy-btop__s { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); white-space: nowrap; }
.xk-top.xy-branded { box-shadow: inset 0 3px 0 var(--xy-acc); }
.xy-pass-sh .mp-sheet__b { padding: 12px 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .xy-bd, .xy-yd, .xy-in, .xy-rl, .xy-cs { grid-template-columns: minmax(0, 1fr); }
  .xy-rp { grid-template-columns: minmax(0, 1fr); }
  .xy-kpis--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .xy-tbl, .xy-wtbl { min-width: 720px; }
  .xy-tl__s { flex-basis: 54px; min-width: 54px; }
  .xy-two, .xy-kform { grid-template-columns: minmax(0, 1fr); }
  .xy-kbig { grid-template-columns: minmax(0, 1fr); }
  .xy-kb { min-height: 110px; flex-direction: row; }
  .xy-kt { font-size: 24px; line-height: 30px; }
  .xy-met { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xy-kv { flex-wrap: wrap; gap: 2px 12px; }
  .xy-kv > span { width: 100%; }
  .xy-bar { grid-template-columns: minmax(0, 1fr) 70px auto; }
  .xy-bar em { display: none; }
  .xy-heat { grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; }
  .xy-heat__c b { font-size: 9px; }
  .xy-tv__g { grid-template-columns: minmax(0, 1fr); }
  .xy-yg__g { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .xy-ban__a { width: 100%; }
  .xy-rh1 { font-size: 22px; line-height: 28px; }
  .xy-mk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xy-pass .xy-kv > span { width: 100%; }
}
.xy-nw { white-space: nowrap; }
.xy-rp--even { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.xy-yd .xy-sp.is-free { min-height: 60px; }
@media (max-width: 1180px) { .xy-rp--even { grid-template-columns: minmax(0, 1fr); } }

/* ---- v0.5 seams (W1 xy) ---- */
/* FL-10: Russian demo pill (prototype chrome) */
.xy-demo { border-style: dashed !important; margin-top: 6px; }
/* UX6-15: x-yard demo triggers use the shared prototype pill (.demo-pill); long Russian labels wrap, 36 px tap target on phones (RE-UX4-30) */
.demo-pill.xy-demo { max-width: 100%; }
.demo-pill.xy-demo > span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .demo-pill.xy-demo { min-height: 36px; height: auto; white-space: normal; text-align: left; line-height: 16px; padding: 6px 12px; } }
/* UX4-23: a VERIDIUM carrier's visit that is not a VERIDIUM shipment */
.xy-ext { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 18px; background: var(--vd-surface-2); color: var(--vd-text-2); border: 1px dashed var(--vd-border-subtle); white-space: nowrap; }
/* S8: receiver hours of the week from the location master */
.xy-rwk { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.xy-rw { display: inline-flex; align-items: center; gap: 4px; }
.xy-rw em { font-style: normal; font-size: 11px; color: var(--vd-text-2); min-width: 26px; }
/* INV-04: one scan, two signatures — staff phone and driver live list */
.xy-ld, .xy-ldv { display: flex; flex-direction: column; gap: 8px; }
.xy-ldv { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--vd-surface-2); }
.xy-ld__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.xy-ld__h b { font: 700 14px/19px var(--font-sans); min-width: 0; overflow-wrap: anywhere; }
.xy-ld__n { font: 800 18px/22px var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xy-ldl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.xy-ldl li { display: flex; align-items: center; gap: 6px; min-width: 0; font: 500 12.5px/17px var(--font-sans); }
.xy-ldl li > i { color: var(--vd-positive-solid); flex: none; }
.xy-ldl li em { margin-left: auto; font-style: normal; color: var(--vd-text-2); font-size: 11.5px; white-space: nowrap; }
.xy-ldd { display: flex; flex-wrap: wrap; gap: 6px; }
/* INV-07: readiness against the slot, line queue, ready-certified chip, driver notice */
.xy-rdy { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--vd-surface-2); min-width: 0; }
.xy-rdy.is-ok { background: var(--vd-positive-tint); }
.xy-rdy.is-late { background: var(--vd-attention-tint); }
.xy-rdy__l { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font: 600 12.5px/17px var(--font-sans); }
.xy-rdy__l b { font-variant-numeric: tabular-nums; }
.xy-rdy__l em { font-style: normal; font-weight: 500; color: var(--vd-text-supporting); }
.xy-rdy__t { display: block; height: 6px; border-radius: 999px; background: var(--vd-border-subtle); overflow: hidden; }
.xy-rdy__t > span { display: block; height: 100%; border-radius: inherit; background: var(--vd-processing-solid); }
.xy-rdy.is-ok .xy-rdy__t > span { background: var(--vd-positive-solid); }
.xy-rdy.is-late .xy-rdy__t > span { background: var(--vd-attention-solid); }
.xy-rdy .xy-cert { align-self: flex-start; }
.xy-rdy--c { margin-top: 0; min-width: 180px; }
.xy-rdy--dr { margin-top: 6px; }
.xy-cert { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font: 700 11px/18px var(--font-sans); background: var(--vd-positive-tint); color: var(--vd-positive-text); white-space: nowrap; }
.xy-cert.is-late { background: var(--vd-attention-tint); color: var(--vd-attention-text); }
.xy-certl { margin: 6px 0 0; }
.xy-lq td { vertical-align: top; }
.xy-lq__a { white-space: nowrap; text-align: right; }
.xy-lq__a .vd-has-tooltip { display: inline-flex; }
.xy-lq__h { align-items: center; flex-wrap: wrap; gap: 8px; }
.xy-lq__h .xy-demo { margin-top: 0; }
.xy-p--att { color: var(--vd-attention-text); font-weight: 600; }
.xy-drl { margin-bottom: 10px; }
/* INV-34: claim the receiver account by scanning a delivered code */
.xy-clm { flex-wrap: wrap; }
.xy-clm > span { flex: 1 1 240px; min-width: 0; }
.xy-clm__a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.xy-clm__a .xy-demo { margin-top: 0; }
.xy-clm__b { flex: 1 1 100%; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.xy-clm__cam { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 132px; border-radius: 12px; background: var(--vd-surface-inverse); color: var(--vd-grey-150); overflow: hidden; }
.xy-clm__cam > span { position: absolute; inset: 22px 40px; border: 2px solid color-mix(in srgb, var(--vd-grey-0) 55%, transparent); border-radius: 10px; }
.xy-clm__cam > i { font-size: 34px; }
.xy-clm__cam em { font-style: normal; font: 500 12px/16px var(--font-sans); opacity: .85; text-align: center; padding: 0 12px; }
@media (max-width: 767px) {
  .xy-lq { min-width: 760px; }
  .xy-clm__a .vd-btn { flex: 1 1 100%; justify-content: center; }
  .xy-clm__a .xy-demo { flex: 0 1 auto; }
}
/* INV-12: promised deliveries on the receiver portal (dates from the producers' order confirmations, xo) */
.xy-pdc { margin-top: 14px; }
.xy-pd { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.xy-pd__d { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--vd-surface-2); font: 500 12.5px/18px var(--font-sans); }
.xy-pd__d b { font-weight: 700; }
.xy-pdt td .xy-demo { margin-top: 4px; }
@media (max-width: 767px) {
  .xy-pdc .vd-table-scroll { overflow: visible; }
  .xy-pdt { min-width: 0 !important; }
  .xy-pdt thead { display: none; }
  .xy-pdt, .xy-pdt tbody, .xy-pdt tr, .xy-pdt td { display: block; width: 100%; }
  .xy-pdt tr { padding: 10px 16px; border-bottom: 1px solid var(--vd-border-subtle); box-sizing: border-box; }
  .xy-pdt td { padding: 2px 0 !important; border: 0 !important; text-align: left !important; }
  .xy-pdt td.vd-num::before { content: 'Pallets '; color: var(--vd-text-2); font-weight: 400; }
}
/* S8: opening hours from the location master above the dock grid */
.xy-calh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font: 500 12.5px/18px var(--font-sans); color: var(--vd-text-1); min-width: 0; }
.xy-calh > span:first-of-type { display: inline-flex; align-items: center; gap: 6px; }
.xy-rhrs { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; min-width: 0; }

/* ===== v0.6 · TM-02 / IN3-12 customer collection ===== */
.xy-csteps { margin: 10px 0 4px; }
.xy-coll { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--vd-border-subtle); border-radius: 12px; background: var(--vd-surface); margin: 0 0 10px; min-width: 0; }
.xy-coll--new { background: var(--vd-surface-2); }
.xy-coll__h { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; min-width: 0; }
.xy-coll__h b { font: 700 13.5px/18px var(--font-sans); overflow-wrap: anywhere; }
.xy-clog summary { cursor: pointer; display: flex; gap: 6px; align-items: center; font: 600 12px/18px var(--font-sans); color: var(--vd-text-2); }
.xy-clog .xy-log { margin-top: 6px; }
.xy-vst { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--vd-amber-400); background: var(--vd-attention-tint); }
.xy-vst.is-ok { border-color: var(--vd-positive-border); background: var(--vd-positive-tint); }
.xy-vst > b { display: flex; gap: 6px; align-items: center; font: 700 13px/18px var(--font-sans); }
.xy-vst > span { font: 500 12.5px/17px var(--font-sans); color: var(--vd-text-2); }
.xy-vst .vd-btn { align-self: flex-start; }
.xy-cdays { margin: 4px 0 10px; }
.xy-colls .xy-ld__h { margin-top: 6px; }
.xy-colls .vd-alert { margin: 6px 0; }
.xy-coltbl td .vd-btn { white-space: nowrap; }
.xy-ldok { color: var(--vd-positive-text); }
/* IN3-11 dock aggregation */
.xy-lcard { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--vd-red-300); background: var(--vd-negative-tint); margin-bottom: 12px; }
.xy-lcard__h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.xy-lcard__h b { font: 800 14px/19px var(--font-sans); }
.xy-lopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xy-lopt { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; border: 1px solid var(--vd-border-subtle); background: var(--vd-surface); min-width: 0; }
.xy-lopt.is-on { border-color: var(--vd-text-1); box-shadow: inset 0 0 0 1px var(--vd-text-1); }
.xy-lopt b { font: 700 13px/18px var(--font-sans); }
.xy-lopt span { font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-lopt .vd-btn { margin-top: auto; align-self: flex-start; }
.xy-agg { display: flex; flex-direction: column; gap: 8px; }
.xy-agg__ct { font: 800 28px/32px var(--font-mono); }
.xy-agg__ct { font: 600 13px/18px var(--font-sans); color: var(--vd-text-2); }
.xy-agg__ct b { font: 800 28px/32px var(--font-mono); color: var(--vd-text-1); margin-right: 4px; }
.xy-lcard__h > span { display: flex; flex-direction: column; min-width: 0; }
.xy-lcard__h > i { font-size: 20px; color: var(--vd-negative-text); }
.xy-lcard .xy-p .vd-btn { margin-left: 6px; }
.xy-dbb { display: inline-flex; gap: 4px; align-items: center; padding: 1px 8px; border-radius: 999px; font: 600 11.5px/18px var(--font-sans); background: var(--vd-attention-tint); color: var(--vd-attention-text); }
@media (max-width: 767px) {
  .xy-lopts { grid-template-columns: minmax(0, 1fr); }
  .xy-coll { padding: 10px; }
}
/* v0.6 SELF-xy-1 hourly load · SELF-xy-2 queue estimate · INV-28 supervisor check */
.xy-hl { position: relative; display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 2px; align-items: end; padding-top: 14px; }
.xy-hl__c { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.xy-hl__a { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 80px; }
.xy-hl__b { display: block; width: 100%; max-width: 18px; min-height: 2px; border-radius: 3px 3px 0 0; background: var(--vd-text-2); opacity: .55; }
.xy-hl__c.is-over .xy-hl__b { background: var(--vd-negative-text); opacity: 1; }
.xy-hl__c em { font: 600 10px/12px var(--font-mono); font-style: normal; color: var(--vd-text-2); }
.xy-hl__c i { font: 500 9.5px/12px var(--font-mono); font-style: normal; color: var(--vd-text-2); }
.xy-hl__lim { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--vd-attention-text); font: 600 10px/12px var(--font-sans); color: var(--vd-attention-text); text-align: right; pointer-events: none; }
.xy-capc .xy-mv .vd-btn { flex: 0 0 auto; }
.xy-qe { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.xy-qe li { display: flex; gap: 8px; align-items: baseline; font: 500 12px/16px var(--font-sans); color: var(--vd-text-2); }
.xy-qe li b { color: var(--vd-text-1); }
.xy-qpos { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.xy-dur { border-color: var(--vd-red-300); background: var(--vd-negative-tint); }
.xy-dur .xy-krow { display: flex; flex-wrap: wrap; gap: 8px; }
.xy-hl__c.is-full .xy-hl__b { background: var(--vd-attention-text); opacity: .9; }
.xy-capc .xy-demo { margin-top: 8px; }
/* UX5-06/07: at phone width the line queue, inbound and collect tables become cards — state, amount and the next action stay visible */
@media (max-width: 600px) {
  .xy-cardtbl { min-width: 0 !important; width: 100%; }
  .xy-cardtbl thead { display: none; }
  .xy-cardtbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; padding: 10px 12px; border-bottom: 1px solid var(--vd-border-subtle); }
  .xy-cardtbl tbody td { display: block; padding: 0 !important; border: 0 !important; min-width: 0; text-align: left !important; overflow-wrap: anywhere; }
  .xy-cardtbl tbody td.hide-sm { display: none; }
  .xy-cardtbl tbody td[colspan] { grid-column: 1 / -1; }
  .xy-lq.xy-cardtbl .xy-lq__r, .xy-lq.xy-cardtbl .xy-lq__a, .xy-cardtbl tbody td:last-child { grid-column: 1 / -1; }
  .xy-cardtbl tbody td:last-child .vd-btn { min-height: 36px; }
}

/* v0.7 · IN4-02 hook & go, TM4-07 DC platforms, IN4-18 seals */
.xy-hkl { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: var(--vd-text-1); }
.xy-hkl .ph, .xy-hkl svg { flex: none; margin-top: 2px; }
.xy-hkopt { align-items: center; }
.xy-hkopt > span { flex: 1 1 auto; min-width: 0; }
.xy-hkopt.is-on { background: var(--vd-positive-tint); border-radius: 10px; }
.xy-hk .xy-chk { margin: 6px 0 8px; }
.xy-dcl { margin: 2px 0 8px 28px; font-size: 12px; }
.xy-dcs b .vd-badge { margin-left: 6px; vertical-align: 1px; }
@media (max-width: 480px) { .xy-hkopt { flex-wrap: wrap; } .xy-hkopt .vd-btn { margin-left: 28px; } .xy-dcl { margin-left: 0; } }

/* v0.7 · SELF-xy-3 trailer dwell and carrier equipment detention (Docks › Yard) */
.xy-trl { padding: 8px 0; border-top: 1px solid var(--vd-border-subtle); min-width: 0; }
.xy-trl:first-of-type { border-top: 0; }
.xy-trl__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.xy-trl__h b { font-size: 13px; }
.xy-trl__s { display: block; font-size: 12px; color: var(--vd-text-2); margin-top: 2px; overflow-wrap: anywhere; }
.xy-trl .xy-acts { margin-top: 6px; }
@media (max-width: 767px) { .xy-trl .vd-btn--28 { min-height: 36px; } }
/* v0.7 · SELF-xy-4 vehicle inspection before loading (staff phone card) */
.xy-insp .xy-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.xy-insp .xy-acts .vd-btn { justify-content: center; }
/* RE-UX4-30 (lead CR): 15-minute calendar cells are 36 px tap targets on phones (Docks board, receiver Dock calendar) */
@media (max-width: 767px) { .xy-cal { --xy-rh: 36px; } }

/* v0.8 · IN5-05 RFID dock portals, IN5-11 right-sized slots and scan-paced ETA */
.xy-rf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xy-rf__h { display: flex; gap: 6px; align-items: flex-start; }
.xy-rf__h b { font: 700 14px/19px var(--font-sans); min-width: 0; overflow-wrap: anywhere; }
.xy-rf__h .ph, .xy-rf__h svg { flex: none; margin-top: 2px; }
.xy-rf .vd-alert { margin: 0; }
.xy-epc { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; margin: 8px 0; border-radius: 10px; background: var(--vd-surface-2); min-width: 0; }
.xy-epc b, .xy-epc .mono { overflow-wrap: anywhere; word-break: break-all; }
.xy-rfc .vd-switch-row { gap: 8px; }
.xy-rfc .vd-switch-row .vd-switch + .vd-switch { margin-left: 4px; }
.xy-rfr .xk-h { overflow-wrap: anywhere; }
.xy-pace { align-items: flex-start; }
.xy-pace > span { flex: 1 1 auto; min-width: 0; }
.xy-pace b { overflow-wrap: anywhere; }
.xy-slen .vd-seg { margin-bottom: 6px; }
@media (max-width: 480px) { .xy-pace .vd-chip { margin-left: 26px; } .xy-rfc .vd-switch-row { flex-wrap: wrap; } }
/* v0.8 · SELF-xy-5 dock labour plan (Board) and place rating tile (Reports) */
.xy-lbs { display: flex; flex-direction: column; gap: 6px; }
.xy-lb { display: grid; grid-template-columns: 44px minmax(60px, 1fr) auto; gap: 4px 8px; align-items: center; font-size: 12px; min-width: 0; }
.xy-lb__h { font-variant-numeric: tabular-nums; color: var(--vd-text-2); }
.xy-lb__bar { position: relative; height: 10px; border-radius: 5px; background: var(--vd-surface-2); overflow: hidden; }
.xy-lb__need { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--vd-processing-text); opacity: .55; }
.xy-lb.is-short .xy-lb__need { background: var(--vd-negative-text); opacity: .7; }
.xy-lb__on { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--vd-text-1); }
.xy-lb__t { white-space: nowrap; }
.xy-lb__a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-left: 52px; }
.xy-rate .xy-stars { display: inline-flex; gap: 1px; vertical-align: 2px; font-size: 13px; color: var(--vd-text-3); }
.xy-rate .xy-stars .is-on { color: var(--vd-amber-400); }
@media (max-width: 480px) { .xy-lb { grid-template-columns: 40px minmax(40px, 1fr); } .xy-lb__t { grid-column: 1 / -1; white-space: normal; padding-left: 48px; } .xy-lb__a { padding-left: 48px; } .xy-lb__a .vd-btn { min-height: 36px; } }

/* step 6.5 (KAN-371) · loading duties and waiting by the law of the place */
.xy-ban { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 8px 0; border-radius: 10px; background: var(--vd-attention-tint); font: 500 12.5px/17px var(--font-sans); overflow-wrap: anywhere; }
.xy-ban > i { color: var(--vd-attention-solid); font-size: 18px; flex: none; margin-top: 1px; }
.xy-ban > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xy-ban b { font-weight: 700; font-size: 13.5px; }
.xy-pf { display: inline; overflow-wrap: anywhere; }
.xy-pf.is-both::before, .xy-pf.is-site::before { content: '✓ '; color: var(--vd-positive-solid); }
.xy-pf.is-carrier::before, .xy-pf.is-conflict::before { content: '! '; color: var(--vd-attention-solid); }
.xy-proven { display: flex; gap: 6px; align-items: center; color: var(--vd-positive-solid); font-weight: 600; }
