/* Логістика · бус — стилі з макета docs/logistika/src-mock.css (1:1), під .lg-view,
   щоб не зачепити решту ЦРМ. Смуга зносу — 1:1 з «Аналітики донорів» БАЗИ. */
.lg-view .s { color: #6b7280; font-size: 12px; }
.lg-view .r, .lg-view th.r { text-align: right; }
.lg-view .sub { font-weight: 600; margin: 14px 0 8px; font-size: 14px; }
.lg-view .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.lg-view .car-grid { display: grid; grid-template-columns: 360px 1fr; gap: 14px; align-items: start; }
.lg-view .kv { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f1f3f5; font-size: 13px; }
.lg-view .kv span { color: #6b7280; }
.lg-view .kvl2 { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #f1f3f5; font-size: 13px; }
.lg-view .kvl2 > span { color: #374151; }
.lg-view .kvl2.tot { border-top: 2px solid #d1d5db; border-bottom: 0; margin-top: 4px; padding-top: 8px; }
.lg-view .to { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 13px; flex-wrap: wrap; }
.lg-view .fg3, .lg-modal .fg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.lg-view .badge.grey, .lg-modal .badge.grey { background: #f1f5f9; color: #475569; }
.lg-view .badge.green { background: #bbf7d0; color: #166534; }
.lg-view .badge.amber { background: #fde68a; color: #92400e; }
.lg-view .badge.red { background: #fecaca; color: #991b1b; }
.lg-view .cur { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 4px; font-size: 11px; font-weight: 700; text-align: center; }
.lg-view .cur.usd { background: #dcfce7; color: #166534; }
.lg-view .cur.uah { background: #e0e7ff; color: #3730a3; }
.lg-view .dg-bar { position: relative; height: 11px; background: #eef0f3; border-radius: 4px; overflow: hidden; display: flex; }
.lg-view .dg-bar.dg-mini { display: inline-flex; vertical-align: middle; width: 80px; height: 7px; }
.lg-view .dg-fill-blue { background: #2a78d6; }
.lg-view .dg-fill-green { background: #16a34a; }
.lg-view .wear-p { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #4b5563; vertical-align: middle; font-variant-numeric: tabular-nums; }
.lg-view .lg-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: -6px 0 14px; }
.lg-view td { vertical-align: top; }
.lg-modal { width: 760px; max-width: 95vw; }
.lg-modal .s { color: #6b7280; font-size: 12px; }
@media (max-width: 900px) {
  .lg-view .car-grid, .lg-view .two { grid-template-columns: 1fr; }
  .lg-view .fg3, .lg-modal .fg3 { grid-template-columns: 1fr 1fr; }
}

/* Місця (02.10.2026): книга адрес клієнта, картка постачальника, свої точки.
   Ці блоки живуть поза вкладкою «Логістика» (картки клієнта/постачальника,
   вікно «Доставка по місту»), тому мають власний префікс .lg-places. */
.city-addr-book { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.city-addr-book .btn { white-space: normal; text-align: left; }
.lg-places .s { color: #6b7280; font-size: 12px; }
.lg-places .fg3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.lg-places table td { vertical-align: middle; }
.lg-places input.lg-in { width: 100%; }
.lg-places .pt { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.lg-places .pt.ok { background: #bbf7d0; color: #166534; }
.lg-places .pt.no { background: #f1f5f9; color: #475569; }
.lg-places .geo-pick { margin-top: 6px; padding: 8px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; }
.lg-places .geo-pick button { margin: 4px 6px 0 0; }

/* Прогноз витрат на бус · 12 міс — 1:1 з макета (src-mock.css). */
.lg-view .fc { display: flex; gap: 6px; align-items: flex-end; height: 170px; padding: 6px 0 0; }
.lg-view .fc-col { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; height: 100%; }
.lg-view .fc-v { font-size: 11px; color: #374151; font-weight: 600; height: 15px; white-space: nowrap; }
.lg-view .fc-bar { flex: 1; width: 70%; position: relative; border-bottom: 1px solid #d1d5db; }
.lg-view .fc-bar b { position: absolute; left: 0; right: 0; bottom: 0; background: #2a78d6; border-radius: 3px 3px 0 0; }
.lg-view .fc-bar b.guess-bar { background: repeating-linear-gradient(45deg, #93c5fd 0 4px, #bfdbfe 4px 8px); }
.lg-view .fc-bar i { position: absolute; left: -3px; right: -3px; border-top: 2px dashed #f59e0b; }
.lg-view .fc-m { font-size: 11px; color: #6b7280; text-align: center; line-height: 1.1; margin-top: 3px; } .lg-view .fc-m span { font-size: 10px; }
.lg-view .fc-leg { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #6b7280; margin-top: 6px; }
.lg-view .lg-b { display: inline-block; width: 12px; height: 10px; background: #2a78d6; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.lg-view .lg-b.guess-bar { background: repeating-linear-gradient(45deg, #93c5fd 0 3px, #bfdbfe 3px 6px); }
.lg-view .lg-l { display: inline-block; width: 14px; border-top: 2px dashed #f59e0b; vertical-align: middle; margin-right: 4px; }
.lg-view input.lg-pn { width: 130px; font-family: monospace; text-transform: uppercase; }
.lg-view .card { overflow-x: auto; }

/* «Знос вузлів» — 1:1 з макета (src-mock.css), а той — 1:1 з «Аналітики донорів» БАЗИ. */
.lg-view .dg-row { background: #fff; border: 1px solid #e9ecf1; border-radius: 8px; padding: 7px 12px 8px; margin-bottom: 6px; }
.lg-view .dg-head { display: flex; align-items: center; gap: 10px 14px; margin-bottom: 5px; flex-wrap: wrap; }
.lg-view .dg-title { flex: 1 1 170px; min-width: 150px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-view .dg-title a { color: inherit; text-decoration: none; }
.lg-view .dg-title a:hover { text-decoration: underline; }
.lg-view .dg-y { color: #8b93a1; }
.lg-view .dg-gauges { display: flex; gap: 10px 14px; flex: 0 1 auto; flex-wrap: wrap; margin-left: auto; }
.lg-view .dg-g { display: flex; align-items: center; gap: 5px; }
.lg-view .dg-g-svg { width: 44px; height: 25px; flex: none; }
.lg-view .dg-g-txt { text-align: left; min-width: 92px; }
.lg-view .dg-g-lab { font-size: 9.5px; color: #a2a9b5; line-height: 1.1; }
.lg-view .dg-g-sum { font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.lg-view .dg-x { flex: none; min-width: 46px; text-align: center; font-size: 12.5px; font-weight: 700; color: #1f2430; }
.lg-view .dg-row > .dg-bar { height: 11px; }
.lg-view .dg-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: #111; opacity: .5; }
.lg-view .dg-nums { font-size: 11px; color: #98a0ad; margin-top: 4px; }
.lg-view .dg-nums b { color: #4b5563; font-weight: 600; }
.lg-view .guess { border-bottom: 1px dashed #d97706; background: #fffbeb; }
/* lg-compact прибрано 05.10.2026: таблиці — розміру макета (13px, 8×10) */
.lg-view .brand-tbl td.best { color: #15803d; font-weight: 700; }
.lg-view .brand-tbl td.worst { color: #b91c1c; font-weight: 600; }
.lg-view .dg-price { min-width: 120px; text-align: right; font-size: 12px; line-height: 1.25; }
.lg-view .dg-price .s { font-size: 10.5px; }

/* Авто й Ставка км — 1:1 з макета (src-mock.css). */
.lg-view .card-h { padding: 10px 12px; font-weight: 600; border-bottom: 1px solid #e5e7eb; }
.lg-view .big-n { font-size: 22px; color: #1d4ed8; }
.lg-view .bar3 { display: flex; border-radius: 6px; overflow: hidden; color: #fff; font-size: 12px; }
.lg-view .bar3 span { padding: 7px 8px; white-space: nowrap; overflow: hidden; }
.lg-view .tire-ev { padding: 8px 12px; font-size: 12.5px; border-top: 1px solid #e5e7eb; }
.lg-view .muted-row td { color: #6b7280; background: #f9fafb; }
.lg-view .wear-in { margin-left: 8px; white-space: nowrap; }
.lg-view .rep-table tr.muted td { color: #9ca3af; }
.lg-view .kvl2 .cur { margin-right: 4px; }
.lg-view details.lg-details summary { cursor: pointer; list-style: revert; }

/* ===== Маршрут дня — 1:1 з макета docs/logistika/src-mock.css (03.10.2026) ===== */
.lg-view .dash-cards.five { grid-template-columns: repeat(5, 1fr); margin-bottom: 14px; }
.lg-view .dash-card .dl2 { color: #6b7280; font-size: 12px; margin-top: 4px; }
.lg-view .badge.baza { background: #1f2937; color: #fff; font-size: 10.5px; padding: 1px 6px; }
.lg-view .route-grid { display: grid; grid-template-columns: 1fr 400px; gap: 14px; align-items: start; }
.lg-view .rt { width: 100%; }
.lg-view .rt td { vertical-align: top; }
.lg-view .rt td.n { font-weight: 700; font-size: 15px; }
.lg-view .rt tr.rt-base td { background: #f8fafc; color: #374151; }
.lg-view .rt tr.urgent td { background: #fff5f5; }
.lg-view .rt tr[draggable="true"] { cursor: grab; }
.lg-view .rt tr.dragging td { opacity: .5; }
.lg-view .rt tfoot td { background: #f9fafb; font-weight: 600; }
.lg-view .ty { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.lg-view .ty.pick { background: #0ea5e9; } .lg-view .ty.drop { background: #16a34a; } .lg-view .ty.send { background: #7c3aed; } .lg-view .ty.ret { background: #f59e0b; }
.lg-view .rt-foot { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid #e5e7eb; font-size: 13px; }
.lg-view .unplanned { padding: 10px 12px; }
.lg-view .up-r { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; font-size: 12.5px; padding: 5px 0; border-top: 1px solid #f1f3f5; }
.lg-view .pin { display: inline-flex; width: 26px; height: 26px; border: 1px solid #e5e7eb; border-radius: 6px; align-items: center; justify-content: center; background: #fff; cursor: pointer; font-size: 13px; text-decoration: none; }
.lg-view .urg-ck { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #dc2626; margin-right: 4px; cursor: pointer; }
.lg-view .lg-route-bar .date-range { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 1100px) { .lg-view .route-grid { grid-template-columns: 1fr; } .lg-view .dash-cards.five { grid-template-columns: repeat(2, 1fr); } }
.lg-view .cutoff { background: #eff6ff; border: 1px solid #93c5fd; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ===== Телефон Дена (етап Д2) — класи 1:1 з макета docs/logistika/src-mock.css ===== */
body.den-mode #app { display: none !important; }
body.den-mode.den-stock #app { display: block !important; padding-bottom: 64px; }
body.den-mode.den-stock #app .tabs { display: none; }
body.den-mode.den-stock #denBody, body.den-mode.den-stock #denApp .ph-top { display: none; }
body.den-mode { background: #f3f4f6; margin: 0; }
#denApp { max-width: 520px; margin: 0 auto; min-height: 100vh; background: #f3f4f6; padding-bottom: 64px; font-size: 15px; }
#denApp .ph-top { background: #1f2937; color: #fff; font-weight: 600; padding: 12px 14px; font-size: 14px; position: sticky; top: 0; z-index: 5; }
#denApp .ph-b { padding: 12px 13px; }
#denApp .ph-h { font-size: 20px; font-weight: 700; }
#denApp .ph-s { color: #6b7280; font-size: 13px; margin: 1px 0 10px; }
#denApp .ph-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: 14.5px; }
#denApp .ph-card.ok { border-color: #86efac; background: #f0fdf4; }
#denApp .lbl { font-size: 12px; color: #6b7280; margin-bottom: 4px; }
#denApp .big-in { font-size: 26px; font-weight: 700; letter-spacing: .01em; }
#denApp .ph-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
#denApp .phb { border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; padding: 10px 13px; font-size: 14px; color: #1f2430; text-decoration: none; cursor: pointer; }
#denApp .phb.wide { flex: 1; text-align: center; }
#denApp .ph-btn { background: #3b82f6; color: #fff; border-radius: 12px; padding: 15px; text-align: center; font-weight: 700; font-size: 16px; margin-top: 6px; cursor: pointer; }
#denApp .ph-btn.green { background: #16a34a; }
#denApp .ph-note { font-size: 12.5px; color: #6b7280; margin-top: 8px; }
#denApp .st { display: flex; gap: 10px; padding: 11px 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 11px; margin-bottom: 7px; font-size: 14px; cursor: pointer; align-items: flex-start; }
#denApp .st.done { opacity: .55; } #denApp .st.now { border: 2px solid #3b82f6; }
#denApp .stn { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1f2937; color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
#denApp .pin.sm { display: inline-flex; width: 34px; height: 34px; border: 1px solid #e5e7eb; border-radius: 8px; align-items: center; justify-content: center; background: #fff; text-decoration: none; flex: none; }
#denApp .ttn { font-size: 21px; font-weight: 700; letter-spacing: .04em; }
#denApp .chk { padding: 4px 0; font-size: 14.5px; }
#denApp .it2 { padding: 5px 0; display: flex; gap: 8px; align-items: center; font-size: 14px; border-top: 1px solid #f1f3f5; }
#denApp .warn-t { color: #b91c1c; font-weight: 700; }
#denApp .offline { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 9px; padding: 8px 10px; font-size: 13px; margin-bottom: 8px; }
#denApp .urgent { display: inline-block; transform: rotate(-7deg); background: #dc2626; color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 1px 7px; border-radius: 3px; margin-left: 4px; }
#denApp .den-chk { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid #eef0f3; font-size: 15px; cursor: pointer; }
#denApp .den-chk input[type=checkbox] { width: 24px; height: 24px; flex: none; }
#denApp .den-box { font-size: 26px; line-height: 1; flex: none; cursor: pointer; padding: 6px 8px; margin: -6px -2px -6px -8px; }
/* Строка воронки не клікається — лише квадратик (05.10.2026) */
#denApp .den-chk[data-den-take], #denApp .den-chk[data-den-untake], #denApp .den-chk[data-den-lbl] { cursor: default; }
#denApp .den-in { width: 100%; box-sizing: border-box; font-size: 22px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; margin: 4px 0; }
#denApp .den-why { font-size: 13px; padding: 4px; }
#denApp .filter-group button { font-size: 14px; padding: 7px 12px; }
#denApp .s { color: #6b7280; font-size: 12.5px; }
#denApp .tabbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #e5e7eb; display: flex; z-index: 10; padding-bottom: env(safe-area-inset-bottom); }
#denApp .tabbar div { flex: 1; text-align: center; padding: 7px 2px 9px; font-size: 11.5px; color: #6b7280; line-height: 1.35; cursor: pointer; }
#denApp .tabbar div.on { color: #111827; font-weight: 600; }

/* Замок фіксації цін і блок Дост.Г у картці заказу (макет docs/logistika, екрани 3 і 5) */
.lg-lock { display: inline-flex; gap: 6px; align-items: center; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 0 8px; background: #f8fafc; font-size: 13px; }
.lg-lock.on { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.lg-lock label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; margin: 0; }
.lg-lock .s, .lg-dostg-ind .s { color: #6b7280; font-size: 12px; }
.lg-dostg-ind { margin-top: 8px; border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 12px; line-height: 1.45; max-width: 560px; }
.lg-dostg-ind.warn { border-color: #fde68a; background: #fffbeb; }
.lg-dostg-ind .ind-h { font-size: 13px; font-weight: 600; }

/* «Тиждень наперед» — 1:1 з макета docs/logistika/src-mock.css */
.lg-view .wk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lg-view .wk-col { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.lg-view .wk-h { font-weight: 700; margin-bottom: 6px; }
.lg-view .load { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; margin-bottom: 3px; }
.lg-view .load span { display: block; height: 100%; background: #3b82f6; }
.lg-view .load.warn span { background: #f59e0b; }
.lg-view .pt { border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 8px; margin-top: 6px; font-size: 12.5px; background: #fff; }
.lg-view .pt .s { display: block; }
.lg-view .pt.sure { border-color: #3b82f6; background: #eff6ff; }
.lg-view .pt.maybe { border-style: dashed; border-color: #94a3b8; color: #374151; }
.lg-view .pt.reg { border-color: #cbd5e1; background: #f8fafc; color: #475569; }
.lg-view .pt.task { border-color: #a855f7; background: #faf5ff; }
.baza-tag { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.lg-modal .badge.baza { background: #1f2937; color: #fff; font-size: 10.5px; padding: 1px 6px; }
.lg-modal .urg-ck { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #dc2626; margin-right: 4px; cursor: pointer; }
.lg-view .pt.baza { border-left: 4px solid #1f2937; }
/* Тип точки — смужка зліва (Павло 04.10.2026, нове поверх макета): клієнт синя, НП червона,
   забрати в постачальника зелена, БАЗА темна, доручення — уся картка фіолетова (макет). */
.lg-view .pt.k-client { border-left: 4px solid #2563eb; }
.lg-view .pt.k-np_in { border-left: 4px solid #dc2626; }
.lg-view .pt.k-supplier { border-left: 4px solid #16a34a; }
.lg-view .pt.task { border-left: 4px solid #a855f7; }
.lg-view .soon { color: #b45309; font-weight: 600; } /* макет: .soon */
/* Статус етикеток рейсу — 1:1 з макета (.lbl-chip) */
.lg-view .lbl-chip { display: inline-flex; align-items: center; gap: 4px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 6px; padding: 5px 10px; font-size: 12.5px; color: #475569; }
.lg-view .wk-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 12px; color: #475569; }
.lg-view .wk-legend i { display: inline-block; width: 4px; height: 12px; margin-right: 5px; vertical-align: -1px; border-radius: 1px; }
@media (max-width: 1100px) { .lg-view .wk { grid-template-columns: repeat(2, 1fr); } }

.lg-view .dash-cards.four { grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }

/* «Що забрати» у дорученні — 1:1 з макета docs/logistika, екран 2 */
.found{border:1px solid #93c5fd;border-radius:8px;background:#f8fbff;padding:6px 10px;margin-bottom:10px}.found-h{font-size:11.5px;color:#6b7280;margin-bottom:4px}.found-r{display:flex;gap:7px;align-items:center;padding:4px 0;font-size:13px;flex-wrap:wrap}.found-r.off{color:#9ca3af}

/* Огляд вузлів (05.10.2026): стан словами */
.lg-insp{width:100%;font-size:13px}.lg-insp td{padding:4px 6px;border-top:1px solid #eef0f3}
.lg-insp-st{display:inline-flex;align-items:center;gap:3px;margin-right:10px;cursor:pointer}
.lg-insp-st.ok{color:#15803d}.lg-insp-st.soon{color:#b45309}.lg-insp-st.replace{color:#b91c1c}

/* Экран Дена як застосунок (05.10.2026): без виділення тексту дотиком — Chrome на Android не ловить «адреси» й не підсовує «Показати на карті». Поля вводу — як завжди. */
#denApp { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#denApp input, #denApp textarea, #denApp select { -webkit-user-select: text; user-select: text; }

/* Вікна Дена (08.10.2026): аркуш знизу замість alert/confirm/prompt браузера */
.den-sheet-ov { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.den-sheet { background: #fff; width: 100%; max-width: 520px; border-radius: 16px 16px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.2); max-height: 85vh; overflow-y: auto; }
.den-sheet .ph-btn { background: #3b82f6; color: #fff; border-radius: 12px; padding: 15px; text-align: center; font-weight: 700; font-size: 16px; margin-top: 8px; cursor: pointer; }
.den-sheet .ph-btn.sec, #denApp .den-sheet .ph-btn.sec { background: #f3f4f6; color: #1f2937; font-weight: 600; }
.den-sheet-t { font-size: 15.5px; color: #1f2937; margin: 4px 0 8px; line-height: 1.4; }
.den-sheet-sub { font-size: 12.5px; font-weight: 400; opacity: .8; margin-top: 2px; }

/* Маршрут дня (08.10.2026): ручка перетягування й мітка «терміново» (наклейка SALE, як у Дена) */
.lg-view .rt .mv { display: inline-flex; flex-direction: column; margin-right: 4px; vertical-align: middle; }
.lg-view .rt .mv-b { border: 0; background: transparent; color: #6b7280; font-size: 10px; line-height: 1; padding: 1px 3px; cursor: pointer; border-radius: 3px; }
.lg-view .rt .mv-b:hover:not(:disabled) { background: #e5e7eb; color: #1f2937; }
.lg-view .rt .mv-b:disabled { color: #e5e7eb; cursor: default; }
.lg-view .rt tr.moved td { background: #eff6ff; transition: background .6s; }
.lg-view .urg-tag { border: 1px dashed #d1d5db; background: transparent; color: #9ca3af; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 0 6px; border-radius: 3px; cursor: pointer; vertical-align: 1px; margin-left: 4px; }
.lg-view .urg-tag:hover { color: #dc2626; border-color: #fca5a5; }
.lg-view .urg-tag.on { display: inline-block; transform: rotate(-7deg); background: #dc2626; color: #fff; border: 0; padding: 1px 7px; box-shadow: 0 1px 3px rgba(220,38,38,.45); }

/* Погрузка (08.10.2026): рядок «Взяти» відкриває список місць */
#denApp .den-chk.den-open { cursor: pointer; }
#denApp .den-go { color: #9ca3af; font-size: 22px; padding-left: 6px; }

/* ✕ «Не сьогодні» (09.10.2026) */
.lg-view .rt td.rt-act { white-space: nowrap; }
.lg-view .rt .off-b { border: 0; background: transparent; color: #9ca3af; font-size: 13px; padding: 2px 4px; margin-left: 2px; cursor: pointer; border-radius: 4px; }
.lg-view .rt .off-b:hover { background: #fee2e2; color: #b91c1c; }
.lg-view .rt-off { font-size: 12px; color: #6b7280; }
.lg-view .rt-off .off-i { color: #374151; }
.lg-view .rt-off .link-btn { border: 0; background: none; color: #2563eb; cursor: pointer; padding: 0; font-size: 12px; text-decoration: underline; }
/* Скан етикетки б/в / комплекту на «Покласти в машину» (Павло 02.11.2026, макет etap0/24 варіант 1Б): кнопка з написом,
   щоб не сплутати з фото. */
#denApp .den-scanrow { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px 42px; flex-wrap: wrap; }
#denApp .den-scanbtn { border: 1.5px solid #2563eb; background: #eff6ff; color: #1d4ed8; border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
#denApp .den-scanrow u { cursor: pointer; }
