/* Eventos Carioca brand touches inside the ORYKSA dashboard: sunset pink + gold. */
.biz-mark { font-size: 14px; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-b { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.crit-t { color: var(--crit); font-weight: 600; }
.pill-paid, .pill-done { background: var(--ok-bg); color: var(--ok); } .pill-due { background: var(--warn-bg); color: var(--warn); } .pill-overdue { background: var(--crit-bg); color: var(--crit); }
.pill-done { background: var(--neutral-bg); color: var(--muted); }
.tg-risk { background: var(--crit-bg); color: var(--crit); }
.lv-b { display: inline-grid; place-items: center; min-width: 28px; padding: 1px 6px; border-radius: 6px; background: #FDE8EF; color: #B0245A; font-weight: 800; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lv-b.big { min-width: 42px; height: 42px; border-radius: 12px; font-size: 15px; } .lv-b.huge { min-width: 56px; height: 56px; border-radius: 16px; font-size: 19px; flex: none; }
.ck-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; } .ck-inline input { accent-color: #D9366E; width: 16px; height: 16px; }
.warn-note { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--crit-bg); color: var(--crit); font-size: 13px; font-weight: 600; }

/* enquiries board */
.ld-board { grid-template-columns: repeat(var(--lanes, 4), minmax(0, 1fr)); }
.eq-board > div, .eq-card, .eq-card .ord-h, .eq-card .who.sm { min-width: 0; }
.col-h .col-v { margin-left: 4px; font-weight: 600; color: var(--muted); font-size: 12px; }
.who.sm { display: inline-flex; align-items: center; gap: 6px; } .who.sm b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-h small { white-space: nowrap; flex: none; font-family: inherit; }
.eq-c { display: grid; gap: 2px; } .eq-c b { font-size: 13.5px; line-height: 1.3; } .eq-c span { font-size: 12px; color: var(--muted); }
.eq-card .ord-meta span { display: inline-flex; align-items: center; gap: 4px; }
.eq-note { margin: 0; padding: 6px 8px; border-radius: 8px; background: var(--panel-2); font-size: 12px; color: var(--muted); line-height: 1.4; }
.eq-card .src { color: var(--muted); display: inline-flex; }
.eq-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.eq-acts .btn.xs { white-space: nowrap; }

/* attendance bar */
.attb { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; } .attb i { display: block; height: 100%; border-radius: 3px; background: #16A34A; }
.attb.warn i { background: #D97706; } .attb.bad i { background: #DC2626; }

/* side panels */
.side-panel { grid-template-columns: minmax(0, 1fr); } .side-panel > * { min-width: 0; } .side-panel .sp-f { display: flex; flex-wrap: wrap; gap: 6px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .kv > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); min-width: 0; } .kv span { font-size: 11.5px; color: var(--muted); } .kv b { font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.row-link { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.row-link:hover { background: var(--hover); } .row-link small { display: block; color: var(--muted); } .row-link > span { min-width: 0; }
.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); }
.hist li { min-width: 0; } .hist .tg, .hist .pill { justify-self: end; }

/* classes */
.cl-wrap { display: grid; gap: 10px; align-content: start; min-width: 0; }
.slot-h { display: flex; align-items: baseline; gap: 10px; margin: 6px 4px 0; } .slot-h b { font-size: 14px; } .slot-h span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.clcard, .hcard { position: relative; display: grid; gap: 10px; padding: 14px; }
.clcard > .hit, .hcard > .hit { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; z-index: 0; border-radius: inherit; cursor: pointer; }
.clcard > .hit:focus, .hcard > .hit:focus { outline: none; } .clcard > .hit:focus-visible, .hcard > .hit:focus-visible { outline: 2px solid #D9366E; outline-offset: -2px; }
.clcard.sel, .hcard.sel { border-color: #D9366E; box-shadow: 0 0 0 3px rgba(217,54,110,.18); }
.cl-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; } .cl-h b { display: block; font-size: 14px; line-height: 1.3; } .cl-h small { color: var(--muted); font-size: 12px; }
.cl-t { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cl-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .cl-cap small { color: var(--muted); font-size: 12px; }
.hbar { display: block; position: relative; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; } .hbar > span { display: block; height: 100%; border-radius: 3px; background: #D9366E; } .hbar.warn > span { background: #D97706; } .hbar.over > span { background: #DC2626; }
.cl-f { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.reg { display: grid; gap: 10px; } .reg-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reg-l label { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; cursor: pointer; font-size: 13px; } .reg-l label:hover { background: var(--hover); }
.reg-l input { accent-color: #16A34A; width: 17px; height: 17px; margin: 0; } .reg-l small { display: block; color: var(--muted); font-size: 11.5px; } .reg-l b { display: block; }
.reg-l input:not(:checked) ~ span b { color: var(--crit); text-decoration: line-through; }
.reg .btn { justify-self: start; }

/* homestay */
.host-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; align-content: start; min-width: 0; }
.hc-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; } .hc-h b { display: block; font-size: 15px; } .hc-h small { display: block; color: var(--muted); font-size: 12.5px; } .stars.sm { font-size: 12px; color: #D97706; font-weight: 700; }
.rooms { display: grid; gap: 6px; } .room { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--line); min-height: 46px; font-size: 13px; }
.room.full { border-style: solid; background: var(--panel-2); } .room small { display: block; color: var(--muted); font-size: 11.5px; } .room b { display: block; }
.hc-f { display: flex; gap: 4px; flex-wrap: wrap; }

/* teachers */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tcard { display: grid; gap: 12px; padding: 16px; align-content: start; }
.tc-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; } .tc-h b { display: block; font-size: 15px; } .tc-h small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.tc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .tc-stats div { display: grid; padding: 8px; border-radius: 10px; background: var(--panel-2); text-align: center; } .tc-stats b { font-size: 17px; } .tc-stats span { font-size: 11px; color: var(--muted); }
.tc-cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .tc-cl li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; } .tc-cl .lnk { display: inline-flex; align-items: center; gap: 6px; text-align: left; } .tc-cl small { color: var(--muted); white-space: nowrap; }
.tc-f { display: flex; align-items: center; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line-2); } .tc-f small { margin-right: auto; }

:root[data-theme="dark"] .lv-b { background: rgba(217,54,110,.3); color: #F9A8C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lv-b { background: rgba(217,54,110,.3); color: #F9A8C9; } }
@media (max-width: 1180px) { .ld-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .kpis.three, .ld-board { grid-template-columns: minmax(0, 1fr); } .cl-grid, .host-grid, .team-grid { grid-template-columns: minmax(0, 1fr); } }
.biz-mark { font-size: 18px; color: #fff; }
.cls-list li { padding-top: 6px; padding-bottom: 6px; } .cls-list .top-n b, .cls-list .top-n small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } .cls-list .top-n { min-width: 0; }
.sec-t { font-size: 15px; margin: 22px 4px 10px; color: var(--muted); font-weight: 650; }

.pill-completed { background: var(--neutral-bg); color: var(--muted); }
.ok-t { color: var(--ok); font-weight: 600; } .warn-t { color: var(--warn); font-weight: 600; } .note-t { color: #B45309; }
.srcb { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.tbl tr.dim td { opacity: .55; } .tbl tr.tot-row td { background: var(--panel-2); }
.pt-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #FDE8EF; color: #D9366E; flex: none; } .pt-ic.d { background: var(--info-bg); color: var(--info); }
/* today mini departures */
.dep-mini li { padding: 0; } .dm { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border: 0; background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.dm:hover .top-n b { color: #D9366E; } .dm .top-n b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; } .dm .cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-top: 4px; } .dm .cap small { font-size: 11.5px; color: var(--muted); }
/* departures */
.dep-list { display: grid; gap: 8px; align-content: start; min-width: 0; }
.dep { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px auto; gap: 14px; align-items: center; padding: 12px 14px; border-left: 4px solid var(--c); }
.dep > .hit { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; z-index: 0; border-radius: inherit; cursor: pointer; }
.dep > .hit:focus { outline: none; } .dep > .hit:focus-visible { outline: 2px solid #D9366E; outline-offset: -2px; }
.dep.picked { box-shadow: 0 0 0 3px rgba(217,54,110,.18); border-color: #D9366E; } .dep.off { opacity: .6; } .dep.off .dep-b b { text-decoration: line-through; }
.dep-t b { display: block; font-size: 16px; } .dep-t small { color: var(--muted); font-size: 12px; }
.dep-b { display: grid; gap: 3px; min-width: 0; } .dep-b b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep-m { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.dep-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #B45309; font-weight: 600; }
.dep-cap { display: grid; gap: 4px; } .dep-cap small { font-size: 12px; color: var(--muted); }
.pill.dps-open { background: var(--ok-bg); color: var(--ok); } .pill.dps-full { background: var(--warn-bg); color: var(--warn); } .pill.dps-done { background: var(--neutral-bg); color: var(--muted); } .pill.dps-cancelled { background: var(--crit-bg); color: var(--crit); }
.dep-img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.manifest { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.manifest li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; } .manifest small { display: block; color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .manifest li > span { min-width: 0; }
.ck { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--panel); color: transparent; display: grid; place-items: center; cursor: pointer; } .ck.on { background: #16A34A; border-color: #16A34A; color: #fff; } .ck:disabled { opacity: .4; cursor: not-allowed; }
/* guides week */
.gd-tbl th.c, .gd-tbl td.c { text-align: center; padding-left: 4px; padding-right: 4px; }
.slot { min-width: 72px; min-height: 44px; display: grid; place-items: center; gap: 0; padding: 4px 6px; border-radius: 10px; border: 1px dashed var(--line); background: transparent; font: inherit; cursor: pointer; color: var(--fg); }
.slot.busy { border-style: solid; background: #FDE8EF; border-color: #F5B5CB; } .slot.busy b { font-size: 15px; color: #B0245A; } .slot small { font-size: 10.5px; } .slot.off { border-style: solid; background: var(--neutral-bg); color: var(--muted); font-size: 12px; font-weight: 600; }
:root[data-theme="dark"] .slot.busy, :root[data-theme="dark"] .pt-ic { background: rgba(217,54,110,.22); border-color: rgba(217,54,110,.4); } :root[data-theme="dark"] .slot.busy b { color: #F9A8C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slot.busy, :root:not([data-theme="light"]) .pt-ic { background: rgba(217,54,110,.22); border-color: rgba(217,54,110,.4); } :root:not([data-theme="light"]) .slot.busy b { color: #F9A8C9; } }
@media (max-width: 760px) { .dep { grid-template-columns: 56px minmax(0, 1fr); } .dep-cap, .dep .pill { grid-column: 2; } }
.dep-mini li { display: block; padding: 0; } .dep-mini .dm .top-n { min-width: 0; display: block; }

.ld-board { grid-template-columns: repeat(var(--lanes, 4), minmax(0, 1fr)); }
.ld-board > div, .ld-card, .ld-card .ord-h { min-width: 0; }
.vdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; flex: none; }
.dt-b { display: grid; justify-items: center; width: 42px; padding: 4px 0; border-radius: 10px; background: #FDE8EF; color: #B0245A; line-height: 1.1; } .dt-b b { font-size: 16px; } .dt-b small { font-size: 10.5px; text-transform: uppercase; font-weight: 700; }
.ev-ring { --p: 0; flex: none; width: 42px; height: 42px; min-width: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#D9366E calc(var(--p) * 1%), var(--panel-2) 0); } .ev-ring .ev-ring-in { width: 34px; height: 34px; line-height: 1; letter-spacing: -.02em; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 10px; font-weight: 700; font-style: normal; color: var(--fg); }
/* events */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-content: start; min-width: 0; }
.evcard { position: relative; padding: 0; overflow: hidden; display: grid; border-top: 4px solid var(--c); }
.evcard > .hit { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; z-index: 1; cursor: pointer; } .evcard > .hit:focus { outline: none; } .evcard > .hit:focus-visible { outline: 2px solid #D9366E; outline-offset: -2px; }
.evcard.picked { box-shadow: 0 0 0 3px rgba(217,54,110,.2); }
.ev-img { position: relative; aspect-ratio: 16 / 7; overflow: hidden; } .ev-img img { width: 100%; height: 100%; object-fit: cover; } .ev-when { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: #2B1B3D; font-size: 11.5px; font-weight: 700; }
.ev-b { display: grid; gap: 6px; padding: 12px 14px 14px; } .ev-b > b { font-size: 14.5px; line-height: 1.3; } .ev-b > small { color: var(--muted); font-size: 12.5px; } .ev-m { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ev-bars { display: grid; gap: 4px; margin-top: 4px; } .ev-bars > div { display: grid; grid-template-columns: 70px minmax(0, 1fr) 48px; gap: 8px; align-items: center; } .ev-bars small { font-size: 11.5px; color: var(--muted); } .ev-bars small.tnum { text-align: right; }
.hbar.pay > span { background: #16A34A; }
.ev-f { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line-2); } .ev-f small { font-size: 12px; color: var(--muted); }
.chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .chk li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; } .chk li span.done { color: var(--muted); text-decoration: line-through; } .chk small { display: block; color: var(--muted); font-size: 11.5px; }
/* calendar */
.cal-nav { display: inline-flex; align-items: center; gap: 8px; } .cal-nav b { min-width: 150px; text-align: center; text-transform: capitalize; }
.cal-legend { margin: 0 4px 12px; }
.cal-legend i.vis { background: transparent; border: 1.5px dashed var(--muted); }
.cal-wrap { overflow-x: auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); min-width: 780px; }
.cal-h { padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.cal-d { min-height: 104px; padding: 6px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: grid; gap: 4px; align-content: start; min-width: 0; }
.cal-d.we { background: color-mix(in srgb, var(--panel-2) 55%, transparent); } .cal-d.pad { background: var(--panel-2); } .cal-d.today .cal-n { background: #D9366E; color: #fff; }
.cal-n { justify-self: start; min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.cal-e { display: block; width: 100%; text-align: left; padding: 4px 6px; border-radius: 7px; border: 0; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 14%, var(--panel)); color: var(--fg); font: inherit; font-size: 11.5px; font-weight: 600; line-height: 1.25; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cal-e small { color: var(--muted); font-weight: 600; margin-right: 4px; }
.cal-v { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 7px; border: 1.5px dashed var(--line); font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-paid { background: var(--ok-bg); color: var(--ok); } .pill-due { background: var(--warn-bg); color: var(--warn); } .pill-overdue { background: var(--crit-bg); color: var(--crit); }
:root[data-theme="dark"] .dt-b { background: rgba(217,54,110,.22); color: #F9A8C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dt-b { background: rgba(217,54,110,.22); color: #F9A8C9; } }
@media (max-width: 1180px) { .ld-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ld-board, .ev-grid { grid-template-columns: minmax(0, 1fr); } }
.ord-h .who.sm { flex: 1 1 auto; min-width: 0; } .ord-h .who.sm b { min-width: 0; } .ord-h small { font-size: 11px; }

/* ---------- Queen Logistics ---------- */
.plate { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: #FACC15; color: #111; font: 800 12.5px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .06em; border: 1px solid rgba(0,0,0,.25); white-space: nowrap; }
.plate.sm { font-size: 11.5px; padding: 2px 6px; }
.run-p { font-weight: 800; color: var(--indigo); }
.ref { font-size: 13.5px; letter-spacing: .02em; }
.pill-booked { background: #E0F2FE; color: #075985; } .pill-collected { background: #EDE9FE; color: #5B21B6; } .pill-transit { background: #DBEAFE; color: #1D4ED8; } .pill-out { background: #FEF3C7; color: #92400E; }
.pill-delivered { background: #DCFCE7; color: #166534; } .pill-exception { background: #FEE2E2; color: #991B1B; } .pill-customs { background: #E0E7FF; color: #3730A3; } .pill-ferry { background: #CFFAFE; color: #155E75; }
.pill-available { background: #DCFCE7; color: #166534; } .pill-workshop { background: #FEE2E2; color: #991B1B; } .pill-due { background: #FEF3C7; color: #92400E; } .pill-overdue { background: #FEE2E2; color: #991B1B; }
:root[data-theme="dark"] .pill-booked, :root[data-theme="dark"] .pill-collected, :root[data-theme="dark"] .pill-transit, :root[data-theme="dark"] .pill-out, :root[data-theme="dark"] .pill-delivered, :root[data-theme="dark"] .pill-exception, :root[data-theme="dark"] .pill-customs, :root[data-theme="dark"] .pill-ferry, :root[data-theme="dark"] .pill-available, :root[data-theme="dark"] .pill-workshop, :root[data-theme="dark"] .pill-due, :root[data-theme="dark"] .pill-overdue { background: rgba(148,163,184,.16); color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill-booked, :root:not([data-theme="light"]) .pill-collected, :root:not([data-theme="light"]) .pill-transit, :root:not([data-theme="light"]) .pill-out, :root:not([data-theme="light"]) .pill-delivered, :root:not([data-theme="light"]) .pill-exception, :root:not([data-theme="light"]) .pill-customs, :root:not([data-theme="light"]) .pill-ferry, :root:not([data-theme="light"]) .pill-available, :root:not([data-theme="light"]) .pill-workshop, :root:not([data-theme="light"]) .pill-due, :root:not([data-theme="light"]) .pill-overdue { background: rgba(148,163,184,.16); color: var(--fg); } }
tr.sh-row { cursor: pointer; } tr.sh-row:hover td { background: var(--hover); } tr.picked td { background: var(--indigo-soft); }
.sh-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); flex: none; }
.note-b { padding: 10px 12px; border-radius: 10px; background: var(--panel-2); font-size: 13px; color: var(--muted); }
.tl { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; border-left: 2px solid var(--line); }
.tl li { position: relative; display: grid; gap: 1px; } .tl li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); border: 2px solid var(--panel); }
.tl li.now::before { background: var(--biz); box-shadow: 0 0 0 4px color-mix(in srgb, var(--biz) 22%, transparent); } .tl b { font-size: 13.5px; } .tl small { font-size: 12px; color: var(--muted); }
.pod { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #DCFCE7; color: #166534; font-size: 13px; font-weight: 600; }
.dp-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; margin-bottom: 16px; }
.dp-col { display: grid; gap: 10px; align-content: start; } .dp-un { border: 2px dashed var(--line); background: var(--panel-2); }
.dp-vh { display: flex; align-items: center; gap: 8px; } .dp-vh small { color: var(--muted); }
.job { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); } .job span { font-size: 13.5px; font-weight: 600; } .job small { color: var(--muted); font-size: 12px; } .job .btn { justify-self: start; margin-top: 4px; display: inline-flex; gap: 5px; align-items: center; }
.job-h { display: flex; gap: 6px; align-items: center; } .tg-cold { background: #CFFAFE; color: #155E75; }
.ld-bars { display: grid; gap: 6px; } .ld-bars div { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; } .ld-bars small { font-size: 11.5px; color: var(--muted); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.stops li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); counter-increment: st; }
.stops li::before { content: counter(st); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); font-size: 11px; font-weight: 700; color: var(--muted); }
.stops .row-link { display: grid; gap: 1px; text-align: left; background: none; border: 0; padding: 0; color: var(--fg); cursor: pointer; font: inherit; min-width: 0; } .stops .row-link b { font-size: 12.5px; } .stops .row-link span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stops li.st-delivered { opacity: .7; }
.idle { display: flex; flex-wrap: wrap; gap: 8px; } .idle-v { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--panel-2); font-size: 12.5px; } .idle-v.ws { background: #FEE2E2; color: #991B1B; }
.lic { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--indigo-soft); color: var(--indigo); font-weight: 700; font-size: 12px; }
.hbar.cpc { display: block; width: 90px; }
.bay { font: 700 12.5px/1 ui-monospace, Consolas, monospace; padding: 3px 7px; border-radius: 6px; background: var(--panel-2); }
.mv-in { color: #15803D; font-weight: 800; } .mv-out { color: #B91C1C; font-weight: 800; }
.top-list .row-link { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--fg); font: inherit; min-width: 0; }
.stops .row-link, .top-list .row-link { grid-template-columns: minmax(0, 1fr); border-radius: 0; }
.ref { white-space: nowrap; } .split.has-side .tbl tr > :nth-child(3), .split.has-side .tbl tr > :nth-child(7) { display: none; }
/* clickable records (rows, cards, list items open their sheet) */
.tbl tr[data-act] { cursor: pointer; } .tbl tr[data-act]:hover td { background: var(--hover); } .tbl tr[data-act]:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }
.rec-link { cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; } li.rec-link { border-radius: 10px; } li.rec-link:hover { background: var(--hover); }
article.rec-link:hover { border-color: var(--indigo-line, var(--line)); box-shadow: 0 6px 18px rgba(0,0,0,.07); } .rec-link:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.item-img.rec-link:hover img { opacity: .92; }
.flash { box-shadow: 0 0 0 3px var(--indigo-soft), 0 0 0 1px var(--indigo); transition: box-shadow .3s; }
