/* MotorSul brand touches inside the ORYKSA dashboard. */
.biz-mark { font-weight: 800; }
.plate { display: inline-flex; align-items: center; height: 22px; padding: 0 7px 0 15px; border-radius: 4px; border: 1px solid #1F2328; background: #fff linear-gradient(90deg, #1D4ED8 0 9px, transparent 9px); color: #111; font: 700 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; white-space: nowrap; }
.pill.jst-intake { background: var(--indigo-soft); color: var(--indigo); } .pill.jst-diagnosis { background: #F3E8FF; color: #7C3AED; } .pill.jst-repair { background: #FDEDE3; color: #C2410C; } .pill.jst-ready { background: var(--ok-bg); color: var(--ok); } .pill.jst-delivered { background: var(--neutral-bg); color: var(--muted); }
.pill.jst-wait { background: var(--warn-bg); color: var(--warn); margin-left: 4px; }
.pill-arrived { background: var(--info-bg); color: var(--info); }
.jo-board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jo-card { position: relative; } .jo-card .jo-hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.jo-card .ord-f, .jo-card .ord-f * { position: relative; z-index: 1; } .jo-card.sel { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.jo-car { font-size: 13.5px; } .jo-card .pill { justify-self: start; }
.jo-side-only { margin-top: 16px; grid-template-columns: minmax(0, 1fr) 380px; }
.jo-ph { width: 60px; display: grid; place-items: center; }
.o-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: 10.5px; color: var(--muted); }
.o-steps li { display: grid; gap: 4px; text-align: center; } .o-steps i { height: 4px; border-radius: 2px; background: var(--line); } .o-steps li.on i { background: #16A34A; } .o-steps li.on { color: var(--fg); font-weight: 600; }
.o-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.o-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 13px; } .o-items small { display: block; color: var(--muted); }
.jo-add-line { display: grid; grid-template-columns: minmax(0, 1fr) 54px 74px auto; gap: 6px; }
.jo-add-line input { min-width: 0; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; }
.jo-add-line input.bad { border-color: #DC2626; }
.o-tot { display: grid; gap: 4px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); } .o-tot div { display: flex; justify-content: space-between; } .o-tot .g { font-size: 15px; }
.tm-b { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.flow-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow-sum li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px 10px; align-items: center; font-size: 14px; }
.flow-sum i { width: 10px; height: 10px; border-radius: 50%; } .flow-sum b { font-size: 18px; }
.flow-sum .bar { grid-column: 2 / -1; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; } .flow-sum .bar span { display: block; height: 100%; border-radius: 3px; }
.veh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.veh-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; } .veh-list small { display: block; color: var(--muted); }
.tg-fleet { background: var(--indigo-soft); color: var(--indigo); } .tg-regular { background: var(--ok-bg); color: var(--ok); } .tg-new { background: var(--info-bg); color: var(--info); } .tg-warranty { background: #FDF2D8; color: #92590B; }
@media (max-width: 1280px) { .jo-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .jo-side-only { grid-template-columns: minmax(0, 1fr); } .jo-side-only > div:first-child { display: none; } }
@media (max-width: 760px) { .jo-board { grid-template-columns: minmax(0, 1fr); } }

.closed-blk { position: absolute; left: 0; right: 0; bottom: 0; display: grid; place-items: start center; padding-top: 12px; font-size: 12px; font-weight: 600; color: var(--faint); background: repeating-linear-gradient(45deg, var(--panel-2), var(--panel-2) 8px, transparent 8px, transparent 16px); pointer-events: none; }
/* clickable records */
.tbl tr[data-act] { cursor: pointer; } .tbl tr[data-act]:focus-visible, .rec-link:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }
.rec-link { cursor: pointer; border-radius: 10px; transition: background .12s; } .rec-link:hover { background: var(--hover); }
