:root { color-scheme: light; --bg: #f3f5f7; --surface: #ffffff; --surface-muted: #eef2f5; --border: #d9e0e7; --text: #17212b; --muted: #657487; --blue: #1f6feb; --green: #15803d; --amber: #b45309; --red: #b42318; --navy: #162231; --cyan: #0e7490; --shadow: 0 1px 3px rgba(25, 37, 52, 0.08); --shadow-strong: 0 6px 18px rgba(18, 30, 44, 0.12); } * { box-sizing: border-box; } html, body { width: 100%; height: 100%; margin: 0; } body { background: var(--bg); color: var(--text); font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; } button { min-height: 36px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; } button:hover { border-color: #9aa9b8; background: #f9fbfc; } .app-shell { display: grid; grid-template-rows: 64px minmax(0, 1fr); width: 100%; height: 100%; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 rgba(23, 33, 43, 0.04); } .brand-lockup { display: inline-flex; align-items: center; gap: 11px; min-width: 232px; } .brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(31, 111, 235, 0.22); border-radius: 8px; background: #142033; color: #ffffff; font-size: 13px; font-weight: 700; } .brand { display: block; font-size: 18px; line-height: 1.1; } .subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; } .topbar-context { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 600; } .topbar-chip { padding: 5px 8px; border: 1px solid #cbd5df; border-radius: 4px; background: #f6f8fa; color: #334155; } .toolbar { display: flex; align-items: center; gap: 8px; } .toolbar-button { display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; } .button-icon, .button-icon svg { display: block; width: 15px; height: 15px; } .button-icon svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.1; } .status-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-muted); color: var(--muted); font-size: 13px; font-weight: 600; } .status-pill.is-online { border-color: rgba(21, 128, 61, 0.25); background: rgba(21, 128, 61, 0.08); color: var(--green); } .status-pill.is-error { border-color: rgba(180, 35, 24, 0.25); background: rgba(180, 35, 24, 0.08); color: var(--red); } .workspace { display: grid; grid-template-columns: minmax(360px, 420px) minmax(0, 1fr); min-height: 0; } .sidebar { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px; border-right: 1px solid var(--border); background: #f8fafc; } .section-eyebrow { display: inline-flex; align-items: center; min-height: 20px; color: #536476; font-size: 11px; font-weight: 600; letter-spacing: 0; } .ops-brief { display: grid; gap: 9px; min-width: 0; padding: 14px; border: 1px solid rgba(22, 34, 49, 0.08); border-radius: 6px; background: #ffffff; box-shadow: var(--shadow); } .ops-brief > strong { min-width: 0; overflow: hidden; color: var(--navy); font-size: 22px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .ops-brief p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.45; word-break: keep-all; } .ops-brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ops-brief-grid span { min-width: 0; padding: 9px; border: 1px solid var(--border); border-radius: 7px; background: #f8fafc; } .ops-brief-grid small, .ops-brief-grid strong { display: block; } .ops-brief-grid small { overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } .ops-brief-grid strong { margin-top: 3px; font-size: 16px; line-height: 1.1; } .summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .metric { min-width: 0; padding: 11px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); box-shadow: 0 1px 0 rgba(23, 33, 43, 0.02); } .metric-label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; } .metric strong { display: block; margin-top: 4px; font-size: 25px; line-height: 1.1; } .view-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-muted); } .tab-button { min-width: 0; border-color: transparent; background: transparent; color: var(--muted); } .tab-button.is-active { border-color: var(--border); background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(25, 37, 52, 0.08); } .vehicle-panel { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; } .vehicle-panel.is-hidden { display: none; } .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--border); } .panel-heading h1 { margin: 0; font-size: 16px; line-height: 1.2; } .panel-heading span { min-width: 0; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; } .vehicle-controls { display: grid; gap: 9px; padding: 11px 12px; border-bottom: 1px solid var(--border); background: #fbfcfd; } .search-field { display: grid; gap: 5px; min-width: 0; } .search-field span { color: var(--muted); font-size: 11px; font-weight: 600; } .search-field input { width: 100%; min-height: 36px; border: 1px solid var(--border); border-radius: 6px; padding: 0 10px; background: #ffffff; color: var(--text); font: inherit; font-size: 13px; } .search-field input:focus { border-color: var(--blue); outline: 2px solid rgba(31, 111, 235, 0.14); } .status-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .filter-button { min-width: 0; min-height: 32px; border-color: transparent; background: #eef3f7; color: var(--muted); font-size: 12px; } .filter-button.is-active { border-color: rgba(31, 111, 235, 0.22); background: rgba(31, 111, 235, 0.1); color: #174ea6; } .vehicle-list { min-height: 0; overflow: auto; } .driver-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-bottom: 1px solid var(--border); } .driver-form label { display: grid; gap: 5px; min-width: 0; } .driver-form label:nth-child(n + 3), .driver-form button { grid-column: 1 / -1; } .driver-form span { color: var(--muted); font-size: 12px; font-weight: 600; } .driver-form input, .driver-form select { width: 100%; min-height: 36px; border: 1px solid var(--border); border-radius: 6px; padding: 0 9px; background: #ffffff; color: var(--text); font: inherit; } .driver-form input:focus, .driver-form select:focus { border-color: var(--blue); outline: 2px solid rgba(31, 111, 235, 0.14); } .driver-list { min-height: 160px; overflow: auto; } .driver-item { display: grid; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--border); } .driver-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; } .driver-title { min-width: 0; } .driver-title strong, .driver-token code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .driver-token { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: #f8fafb; } .driver-token code { color: #25313d; font-family: Consolas, "SFMono-Regular", monospace; font-size: 12px; } .driver-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .empty-state { padding: 20px 14px; color: var(--muted); font-size: 14px; line-height: 1.5; } .vehicle-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(74px, auto); gap: 10px; padding: 13px 14px 12px; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; cursor: pointer; } .vehicle-item:hover { background: #f6f9fb; } .vehicle-item.is-selected { border-left-color: var(--blue); background: rgba(31, 111, 235, 0.06); } .vehicle-main { min-width: 0; } .vehicle-title { display: flex; align-items: center; gap: 8px; min-width: 0; } .vehicle-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vehicle-meta { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; } .vehicle-route-line, .vehicle-cargo-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vehicle-route-line { margin-top: 8px; color: var(--text); font-size: 13px; font-weight: 600; } .vehicle-cargo-line { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; } .vehicle-progress { height: 4px; margin-top: 9px; border-radius: 999px; background: #e4ebf1; overflow: hidden; } .vehicle-progress span { display: block; height: 100%; border-radius: inherit; background: #1f6feb; } .badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 600; } .badge.active { background: rgba(21, 128, 61, 0.1); color: var(--green); } .badge.stale { background: rgba(180, 83, 9, 0.12); color: var(--amber); } .badge.offline { background: rgba(180, 35, 24, 0.1); color: var(--red); } .vehicle-type-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 5px; background: #e8eef6; color: #2c3b4f; font-size: 11px; font-weight: 600; } .vehicle-type-chip.type-trailer, .vehicle-type-chip.type-container { background: rgba(44, 62, 80, 0.1); color: #2c3e50; } .vehicle-type-chip.type-van { background: rgba(2, 132, 199, 0.12); color: #0369a1; } .vehicle-type-chip.type-cold { background: rgba(14, 116, 144, 0.12); color: #0e7490; } .speed { display: grid; justify-items: end; align-content: start; gap: 2px; color: var(--text); white-space: nowrap; } .speed strong { font-size: 20px; line-height: 1; } .speed span { color: var(--muted); font-size: 11px; font-weight: 500; } .speed small { max-width: 112px; overflow: hidden; color: #174ea6; font-size: 11px; font-weight: 500; text-align: right; text-overflow: ellipsis; } .map-panel { position: relative; min-width: 0; min-height: 0; } #map { width: 100%; height: 100%; background: #dfe7ed; } .map-message { position: absolute; z-index: 760; top: 14px; left: 50%; max-width: min(420px, calc(100% - 28px)); padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.96); color: var(--muted); box-shadow: var(--shadow); font-size: 13px; font-weight: 500; line-height: 1.35; text-align: center; transform: translateX(-50%); } .map-message.is-hidden { display: none; } .map-status-panel, .route-focus-panel, .map-legend { position: absolute; z-index: 720; border: 1px solid #cbd5df; border-radius: 6px; background: #ffffff; box-shadow: var(--shadow-strong); pointer-events: none; } .map-status-panel { top: 18px; left: 76px; display: grid; gap: 8px; width: min(350px, calc(100% - 36px)); padding: 12px; } .map-status-panel > strong { color: var(--navy); font-size: 17px; line-height: 1.2; } .map-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid #e1e6eb; border-radius: 4px; overflow: hidden; } .map-status-grid span { min-width: 0; padding: 7px 8px; border-right: 1px solid #e1e6eb; background: #fafbfc; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.25; } .map-status-grid span:last-child { border-right: 0; } .map-status-grid b { display: block; overflow: hidden; color: var(--text); font-size: 15px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; } .route-focus-panel { right: 18px; bottom: 18px; display: grid; gap: 7px; width: min(390px, calc(100% - 36px)); padding: 12px 13px; border-left: 3px solid #aebccc; } .route-focus-panel:not(.is-active) { display: none; } .route-focus-panel.is-active { border-left-color: var(--blue); } .route-focus-panel strong { min-width: 0; overflow: hidden; color: var(--navy); font-size: 16px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } .route-focus-panel p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.45; word-break: keep-all; } .marker-action-panel { position: absolute; right: 18px; bottom: 104px; z-index: 750; display: grid; gap: 12px; width: min(380px, calc(100% - 36px)); padding: 14px; border: 1px solid #cbd5df; border-radius: 6px; background: #ffffff; box-shadow: var(--shadow-strong); } .marker-action-panel.is-hidden { display: none; } .marker-action-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; } .marker-action-head strong { display: block; min-width: 0; overflow: hidden; color: var(--navy); font-size: 17px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } .marker-action-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.35; word-break: keep-all; } .marker-action-head button { min-width: 52px; min-height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 5px; background: #f6f8fb; color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer; } .marker-action-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid #e1e6eb; border-radius: 4px; overflow: hidden; } .marker-action-summary span { min-width: 0; padding: 8px; border-right: 1px solid #e1e6eb; border-bottom: 1px solid #e1e6eb; background: #fbfcfd; } .marker-action-summary span:nth-child(2n) { border-right: 0; } .marker-action-summary span:nth-last-child(-n + 2) { border-bottom: 0; } .marker-action-summary b, .marker-action-summary em { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .marker-action-summary b { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 500; } .marker-action-summary em { margin-top: 3px; color: var(--text); font-size: 12px; font-style: normal; font-weight: 600; } .marker-action-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .marker-action-buttons button { min-width: 0; min-height: 38px; padding: 0 10px; border: 1px solid #cbd5df; border-radius: 5px; background: #ffffff; color: #253241; font-size: 13px; font-weight: 500; cursor: pointer; } .marker-action-buttons button:first-child { border-color: #174ea6; background: #174ea6; color: #ffffff; } .marker-action-buttons button:hover, .marker-action-head button:hover { background: #f6f8fb; } .marker-action-buttons button:first-child:hover { background: #123f86; } .map-legend { top: 18px; right: 86px; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 8px 10px; } .map-legend span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 500; white-space: nowrap; } .legend-dot { width: 9px; height: 9px; border-radius: 50%; } .legend-dot.active { background: var(--green); } .legend-dot.stale { background: var(--amber); } .legend-line { width: 18px; height: 3px; border-radius: 999px; background: #1f6feb; } .history-drawer { position: absolute; z-index: 740; right: min(424px, 48%); bottom: 14px; left: 14px; max-height: min(310px, calc(100% - 28px)); border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow); overflow: hidden; } .history-drawer.is-hidden { display: none; } .history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border); } .history-heading strong, .history-heading span { display: block; } .history-heading span { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 700; } .history-list { display: grid; max-height: 248px; overflow: auto; } .history-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 72px; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 13px; } .history-row time, .history-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .history-row time { color: var(--muted); font-weight: 500; } .truck-marker { --marker-fill: #2563eb; --marker-dark: #1e40af; --marker-chip: #dbeafe; --marker-status: var(--green); --truck-heading: 0deg; position: relative; display: grid; place-items: center; width: 104px; min-width: 104px; height: 68px; min-height: 68px; border: 0; padding: 0; background: transparent; color: var(--text); filter: drop-shadow(0 7px 12px rgba(15, 23, 42, 0.26)); font-family: inherit; cursor: pointer; transition: filter 0.18s ease, transform 0.18s ease; } .truck-marker:hover, .truck-marker.is-selected { z-index: 8; filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1)) drop-shadow(0 11px 16px rgba(15, 23, 42, 0.34)); transform: translateY(-1px); } .truck-marker.stale { --marker-status: var(--amber); } .truck-marker.offline { --marker-status: var(--red); opacity: 0.9; } .truck-marker.type-trailer { --marker-fill: #7c3aed; --marker-dark: #4c1d95; --marker-chip: #ede9fe; } .truck-marker.type-container { --marker-fill: #ea580c; --marker-dark: #9a3412; --marker-chip: #ffedd5; } .truck-marker.type-box { --marker-fill: #059669; --marker-dark: #047857; --marker-chip: #d1fae5; } .truck-marker.type-van { --marker-fill: #0284c7; --marker-dark: #075985; --marker-chip: #e0f2fe; } .truck-marker.type-cold { --marker-fill: #0891b2; --marker-dark: #155e75; --marker-chip: #cffafe; } .truck-marker.type-wing { --marker-fill: #16a34a; --marker-dark: #166534; --marker-chip: #dcfce7; } .truck-marker::after { display: none; } .truck-marker__beacon { position: absolute; top: 0; left: 50%; z-index: 2; width: 44px; height: 52px; transform: translateX(-50%) rotate(var(--truck-heading)); transform-origin: 50% 50%; transition: transform 0.35s ease; pointer-events: none; } .truck-marker__beacon-icon { display: block; width: 100%; height: 100%; overflow: visible; } .truck-marker__beacon-icon .beacon-shadow { fill: rgba(15, 23, 42, 0.22); stroke: none; transform: translate(2px, 3px); } .truck-marker__beacon-icon .beacon-body { fill: var(--marker-fill); stroke: #ffffff; stroke-linejoin: round; stroke-width: 3.4; } .truck-marker__beacon-icon .beacon-spine { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-linecap: round; stroke-width: 2.4; } .truck-marker.is-selected .truck-marker__beacon-icon .beacon-body { stroke: #ffffff; stroke-width: 4.6; filter: drop-shadow(0 0 0 rgba(31, 111, 235, 0.22)); } .truck-marker__status { position: absolute; top: 33px; left: calc(50% + 16px); z-index: 5; width: 10px; height: 10px; border: 2px solid #ffffff; border-radius: 50%; background: var(--marker-status); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.28); pointer-events: none; } .truck-marker__body-icon { position: absolute; top: 15px; left: 50%; z-index: 4; display: grid; place-items: center; width: 52px; height: 27px; border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 6px; background: #ffffff; box-shadow: 0 3px 8px rgba(15, 23, 42, 0.16); transform: translateX(-50%); pointer-events: none; } .truck-marker__body-icon .truck-marker__vehicle-icon { width: 47px; height: 25px; filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.24)); } .truck-marker__body-icon .truck-marker__vehicle-icon .icon-load, .truck-marker__body-icon .truck-marker__vehicle-icon .icon-cab, .truck-marker__body-icon .truck-marker__vehicle-icon .icon-wing { stroke-width: 1.55; } .truck-marker__body-icon .truck-marker__vehicle-icon .icon-line, .truck-marker__body-icon .truck-marker__vehicle-icon .icon-snow { stroke-width: 1.45; } .truck-marker__body-icon .truck-marker__vehicle-icon .icon-wheel { stroke-width: 1.2; } .truck-marker__identity { position: absolute; left: 50%; bottom: 1px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; max-width: 102px; min-height: 23px; padding: 2px 7px 2px 4px; border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 6px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 3px 8px rgba(15, 23, 42, 0.16); color: var(--navy); font-size: 10px; font-weight: 700; line-height: 1.1; transform: translateX(-50%); white-space: nowrap; } .truck-marker__label-icon { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 17px; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 5px; background: var(--marker-chip); overflow: hidden; } .truck-marker__vehicle-icon { display: block; width: 26px; height: 15px; overflow: visible; } .truck-marker__vehicle-icon .icon-load, .truck-marker__vehicle-icon .icon-cab, .truck-marker__vehicle-icon .icon-wing { fill: var(--marker-fill); stroke: #ffffff; stroke-linejoin: round; stroke-width: 1.35; } .truck-marker__vehicle-icon .icon-cab { fill: var(--marker-dark); } .truck-marker__vehicle-icon .icon-window { fill: rgba(255, 255, 255, 0.75); } .truck-marker__vehicle-icon .icon-wheel { fill: #111827; stroke: #ffffff; stroke-width: 1.1; } .truck-marker__vehicle-icon .icon-line, .truck-marker__vehicle-icon .icon-snow { fill: none; stroke: rgba(255, 255, 255, 0.86); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.3; } .truck-marker__vehicle-icon .icon-snow { stroke: #ffffff; } .truck-marker__plate { display: inline-block; min-width: 0; } .truck-marker__plate { color: var(--navy); } .truck-marker__type { display: inline-grid; place-items: center; min-width: 25px; height: 15px; padding: 0 4px; border-radius: 4px; background: var(--marker-chip); color: var(--marker-dark); font-size: 9px; font-weight: 700; } .truck-marker__plate { overflow: hidden; text-overflow: ellipsis; } .leaflet-truck-marker { border: 0; background: transparent; } .leaflet-truck-marker.is-selected { z-index: 1000 !important; } .map-info-panel { position: absolute; z-index: 730; width: min(330px, calc(100% - 36px)); pointer-events: none; } .map-info-panel.is-top-right { top: 64px; right: 18px; } .map-info-panel.is-bottom-left { bottom: 18px; left: 18px; } .map-info-card { padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow-strong); color: var(--text); font-size: 13px; line-height: 1.45; } .popup-title { display: block; margin-bottom: 6px; font-weight: 700; } .popup-cargo { margin-top: 6px; font-weight: 600; } .popup-route { display: grid; gap: 4px; margin: 8px 0; padding: 8px; border: 1px solid #e1e6eb; border-radius: 4px; background: #fbfcfd; } .popup-route div { display: flex; justify-content: space-between; gap: 12px; } .popup-route span { color: var(--muted); font-size: 12px; font-weight: 400; } .popup-route strong { color: #174ea6; font-size: 12px; text-align: right; white-space: nowrap; } .route-destination-marker, .route-destination-leaflet { pointer-events: none; } .route-destination-marker, .route-destination-leaflet, .route-destination-leaflet > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 7px; min-width: 112px; padding: 7px 9px; border: 1px solid rgba(23, 33, 43, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 24px rgba(20, 40, 70, 0.18); } .route-destination-pin { grid-row: 1 / span 2; display: grid; place-items: center; min-width: 34px; height: 24px; border-radius: 999px; background: #1f6feb; color: #ffffff; font-size: 11px; font-weight: 600; } .route-destination-marker strong, .route-destination-leaflet strong { min-width: 0; overflow: hidden; color: var(--text); font-size: 12px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; } .route-destination-marker small, .route-destination-leaflet small { color: var(--muted); font-size: 11px; font-weight: 400; } @media (max-width: 860px) { .app-shell { grid-template-rows: auto minmax(0, 1fr); } .topbar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px; } .brand-lockup { min-width: 0; } .topbar-context { justify-content: flex-start; } .toolbar { width: 100%; flex-wrap: wrap; } .workspace { grid-template-columns: 1fr; grid-template-rows: minmax(260px, 38vh) minmax(0, 1fr); } .sidebar { order: 2; border-top: 1px solid var(--border); border-right: 0; overflow: auto; } .map-panel { order: 1; } .map-status-panel { top: 10px; left: 10px; width: min(300px, calc(100% - 20px)); padding: 10px; } .map-legend { right: 10px; top: auto; bottom: 10px; } .route-focus-panel { right: 10px; bottom: 56px; width: calc(100% - 20px); } .marker-action-panel { right: 10px; bottom: 118px; width: calc(100% - 20px); } .driver-actions { grid-template-columns: 1fr; } .history-drawer { right: 8px; bottom: 8px; left: 8px; } .history-row { grid-template-columns: 82px minmax(0, 1fr); } .history-row span:last-child { display: none; } } @media (max-width: 560px) { .workspace { grid-template-rows: minmax(300px, 42vh) minmax(0, 1fr); } .toolbar-button { flex: 1 1 128px; justify-content: center; } .status-pill { flex: 1 0 100%; justify-content: center; } .sidebar { padding: 10px; } .ops-brief > strong { white-space: normal; } .map-status-panel { display: none; } .map-legend { left: 10px; right: auto; max-width: calc(100% - 20px); overflow: auto; } .marker-action-panel { top: 10px; bottom: auto; gap: 10px; padding: 12px; } .marker-action-head strong { font-size: 15px; } .marker-action-summary, .marker-action-buttons { grid-template-columns: 1fr; } .history-drawer { right: 8px; bottom: 8px; left: 8px; max-height: min(178px, calc(100% - 86px)); } .history-heading { gap: 8px; padding: 8px 10px; } .history-heading strong { font-size: 14px; } .history-heading span { font-size: 11px; } .history-list { max-height: 122px; } .history-row { padding: 7px 10px; font-size: 12px; } .vehicle-item { grid-template-columns: minmax(0, 1fr); } .vehicle-title { flex-wrap: wrap; } .vehicle-title strong { white-space: normal; } .speed { grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; justify-items: start; } .speed small { max-width: none; text-align: left; } }