:root {
  --accent: #D91635; --text: #17202A; --muted: #5B6675;
  --surface: #FFFFFF; --bg: #F5F7FA;
  --success: #1E7A46; --warning: #915800; --danger: #B42318; --info: #1D5FA7;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); font-size: 16px; }
h1, h2, h3 { margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--surface); border-radius: 14px; padding: 16px; box-shadow: 0 1px 4px rgba(23,32,42,.08); margin-bottom: 12px; }
.btn { min-height: 44px; min-width: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; font-size: 15px; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: #C7CDD6; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-block { width: 100%; }
.btn-compact { min-height: 34px; padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #C7CDD6; border-radius: 12px; font-size: 16px; margin-bottom: 10px; }
label { display: block; margin-bottom: 4px; font-size: 14px; color: var(--muted); }
.emp-route-selectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.emp-route-selectors label { min-width: 0; display: grid; gap: 6px; }
.emp-route-selectors .input { min-width: 0; margin: 0; border-radius: 8px; background: #FFFFFF; }
.alert { border-radius: 12px; padding: 12px; margin-bottom: 10px; border: 1px solid; }
.alert-error { background: #FDEBEA; border-color: var(--danger); color: var(--danger); }
.alert-warning { background: #FFF4E5; border-color: var(--warning); color: var(--warning); }
.alert-info { background: #E8F1FB; border-color: var(--info); color: var(--info); }
.landing { min-height: 100vh; background: #FFFFFF; }
.landing-header { position: sticky; top: 0; z-index: 40; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px max(20px, calc((100vw - 1200px) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid #E3E7ED; }
.landing-brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.landing-brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #17202A; color: #FFFFFF; font-size: 12px; }
.landing-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.landing-nav a, .landing-nav-link { padding: 8px 0; border: 0; background: transparent; color: var(--text); text-decoration: none; font: inherit; cursor: pointer; }
.landing-nav a:hover, .landing-nav-link:hover { color: var(--accent); }
.landing-hero { position: relative; overflow: hidden; background: #E9EFF5; color: var(--text); }
.landing-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.landing-hero-shade { position: absolute; inset: 0; background: rgba(255,255,255,.04); }
.landing-hero-content { position: relative; z-index: 2; width: min(1240px, calc(100% - 40px)); min-height: clamp(620px, calc(100svh - 104px), 690px); margin: 0 auto; padding-block: 42px; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.landing-hero-copy { min-width: 0; }
.landing-eyebrow, .landing-kicker { margin: 0 0 12px; color: #D91635; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.landing-hero .landing-eyebrow { color: #A70F29; }
.landing-hero h1 { max-width: 620px; margin: 0; font-size: 54px; line-height: 1.02; letter-spacing: 0; }
.landing-lead { max-width: 500px; margin: 14px 0 0; color: #344252; font-size: 19px; line-height: 1.42; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.landing-actions .btn { min-height: 48px; border-radius: 8px; text-decoration: none; }
.landing-primary-action { min-width: 180px; }
.landing-secondary-action { display: inline-flex; align-items: center; justify-content: center; border-color: #6F7B88; background: rgba(255,255,255,.74); color: var(--text); }
.landing-secondary-action:hover { background: #FFFFFF; }
.landing-proof { display: flex; flex-wrap: wrap; gap: 24px; width: fit-content; margin-top: 20px; padding: 12px 14px; border: 1px solid rgba(23,32,42,.18); border-radius: 7px; background: rgba(255,255,255,.78); backdrop-filter: blur(5px); }
.landing-proof span { display: flex; flex-direction: column; gap: 2px; color: #27323D; font-size: 12px; font-weight: 650; }
.landing-proof strong { color: var(--text); font-size: 17px; }
.landing-branding-note { display: flex; flex-wrap: wrap; gap: 3px 9px; width: min(100%, 520px); margin-top: 10px; padding: 8px 10px 8px 11px; border: 1px solid rgba(255,255,255,.72); border-left: 3px solid var(--accent); border-radius: 7px; background: rgba(255,255,255,.86); box-shadow: 0 5px 18px rgba(23,32,42,.08); backdrop-filter: blur(7px); color: #27323D; font-size: 12px; line-height: 1.35; }
.landing-branding-note strong { color: var(--text); }
.landing-branding-note .landing-platform-summary { flex-basis: 100%; color: #17202A; font-weight: 700; }
.landing-release-band { width: 100%; padding: 28px max(20px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid #D8DDE5; background: #FFFFFF; }
.landing-release-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 42px; align-items: center; }
.landing-release-copy { min-width: 0; padding-left: 18px; border-left: 4px solid var(--accent); }
.landing-release-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.landing-release-live { color: #176438; }
.landing-release-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #1E9B5C; box-shadow: 0 0 0 4px #EAF7EF; }
.landing-release-copy h2 { margin: 8px 0 7px; font-size: 24px; }
.landing-release-copy ul { display: flex; flex-wrap: wrap; gap: 5px 22px; margin: 0 0 8px; padding-left: 18px; color: #475467; font-size: 13px; }
.landing-release-copy a { color: var(--accent); font-size: 13px; font-weight: 800; }
.landing-release-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #D8DDE5; border-radius: 8px; background: #F7F9FB; }
.landing-release-versions div { min-width: 0; padding: 14px; border-right: 1px solid #D8DDE5; }
.landing-release-versions div:last-child { border-right: 0; }
.landing-release-versions span, .landing-release-versions strong, .landing-release-versions small { display: block; overflow-wrap: anywhere; }
.landing-release-versions span { color: var(--muted); font-size: 11px; }
.landing-release-versions strong { margin-top: 3px; font-size: 18px; }
.landing-release-versions small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.landing-hero-visuals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-self: end; }
.landing-hero-decision, .landing-hero-map { position: relative; margin: 0; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.88); border-radius: 7px; background: rgba(255,255,255,.9); box-shadow: 0 18px 44px rgba(26,40,54,.22); }
.landing-hero-decision img, .landing-hero-map img { width: 100%; height: 100%; object-fit: cover; opacity: .94; }
.landing-hero-decision img { object-position: 50% 59%; }
.landing-hero-map img { object-position: 50% 78%; }
.landing-hero-decision figcaption, .landing-hero-map figcaption { position: absolute; left: 9px; bottom: 9px; padding: 5px 7px; border-radius: 5px; background: rgba(255,255,255,.94); color: var(--text); font-size: 10px; font-weight: 800; }
.landing-section { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; scroll-margin-top: 76px; }
.landing-section h2 { max-width: 850px; margin: 0; font-size: 38px; line-height: 1.14; letter-spacing: 0; }
.landing-intro { padding-bottom: 56px; }
.landing-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.landing-benefits article { padding-top: 18px; border-top: 3px solid #D8DDE5; }
.landing-benefits article:nth-child(1) { border-color: #D91635; }
.landing-benefits article:nth-child(2) { border-color: #1D5FA7; }
.landing-benefits article:nth-child(3) { border-color: #1E7A46; }
.landing-benefit-index { color: var(--muted); font-size: 12px; font-weight: 800; }
.landing-benefits h3 { margin: 9px 0 8px; font-size: 21px; }
.landing-benefits p, .landing-tour-copy > p, .landing-workflow-grid p, .landing-mobile-copy > p { margin: 0; color: var(--muted); line-height: 1.55; }
.landing-tour { display: grid; grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr); gap: 40px; align-items: start; border-top: 1px solid #E3E7ED; }
.landing-tour-copy { position: sticky; top: 92px; }
.landing-tour-copy > p { margin-top: 16px; }
.landing-role-list { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.landing-role-list li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid #E3E7ED; }
.landing-role-list strong { font-size: 14px; }
.landing-role-list span { color: var(--muted); font-size: 13px; }
.landing-tour-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.landing-tour-shot { position: relative; min-width: 0; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border: 1px solid #CBD2DB; border-radius: 8px; background: #EDF0F4; box-shadow: 0 8px 24px rgba(23,32,42,.10); }
.landing-tour-shot img { position: absolute; left: 0; bottom: 0; width: 100%; height: 109%; object-fit: cover; object-position: center bottom; }
.landing-tour-shot figcaption { position: absolute; left: 8px; bottom: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.94); color: var(--text); font-size: 12px; font-weight: 750; }
.landing-section-lead { max-width: 820px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.58; }
.landing-role-guide { border-top: 1px solid #E3E7ED; }
.landing-role-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 900px; margin-top: 34px; border: 1px solid #C7CDD6; border-radius: 8px; overflow: hidden; }
.landing-role-tab { min-height: 48px; padding: 9px 14px; border: 0; border-right: 1px solid #D8DDE5; background: #FFFFFF; color: #4F5C6C; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.landing-role-tab:last-child { border-right: 0; }
.landing-role-tab:hover, .landing-role-tab:focus-visible { background: #F5F7FA; color: var(--text); }
.landing-role-tab-active, .landing-role-tab-active:hover { background: #17202A; color: #FFFFFF; }
.landing-role-detail { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 42px; align-items: start; margin-top: 30px; }
.landing-role-figure { position: relative; min-width: 0; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border: 1px solid #CBD2DB; border-radius: 8px; background: #EDF0F4; box-shadow: 0 10px 28px rgba(23,32,42,.11); }
.landing-role-figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.landing-role-figure figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; width: fit-content; max-width: calc(100% - 20px); padding: 7px 9px; border-radius: 6px; background: rgba(255,255,255,.95); color: var(--text); font-size: 12px; font-weight: 750; }
.landing-role-figure.landing-role-driver { width: min(100%, 360px); justify-self: center; aspect-ratio: auto; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.landing-role-figure.landing-role-driver img { height: auto; aspect-ratio: 9 / 20; object-fit: contain; border: 1px solid #CBD2DB; border-radius: 6px; }
.landing-role-figure.landing-role-driver figcaption { position: static; width: auto; max-width: none; margin-top: 10px; padding: 0; background: transparent; color: var(--muted); font-weight: 500; line-height: 1.5; }
.landing-role-copy { min-width: 0; }
.landing-role-label { display: block; margin-bottom: 7px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.landing-role-copy h3 { margin: 0; font-size: 28px; line-height: 1.18; }
.landing-role-value { margin: 13px 0 0; color: #435060; line-height: 1.58; }
.landing-role-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #D8DDE5; }
.landing-role-columns h4, .landing-report-copy h3 { margin: 0 0 10px; font-size: 15px; }
.landing-role-steps, .landing-role-metrics { margin: 0; padding-left: 20px; color: #4F5C6C; font-size: 13px; line-height: 1.48; }
.landing-role-steps li, .landing-role-metrics li { padding: 3px 0 5px 3px; }
.landing-role-steps li::marker { color: var(--accent); font-weight: 800; }
.landing-role-metrics li::marker { color: #1D5FA7; }
.landing-metrics-band { width: 100%; background: #F1F4F7; border-top: 1px solid #D8DDE5; border-bottom: 1px solid #D8DDE5; }
.landing-metrics-inner { width: min(1200px, calc(100% - 40px)); }
.landing-metric-table { margin-top: 34px; border-top: 1px solid #C7CDD6; }
.landing-metric-row { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.45fr) minmax(220px, .85fr); gap: 24px; align-items: center; min-height: 70px; padding: 14px 0; border-bottom: 1px solid #D8DDE5; }
.landing-metric-row > * { min-width: 0; overflow-wrap: anywhere; }
.landing-metric-row > span { color: #4F5C6C; font-size: 14px; line-height: 1.42; }
.landing-metric-head { min-height: 44px; padding: 9px 0; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.landing-metric-head > span { color: var(--muted); font-size: 12px; }
.landing-metric-status { display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 5px 8px; border: 1px solid; border-radius: 6px; font-size: 12px !important; font-weight: 750; }
.landing-metric-ready { border-color: #99CFAD; background: #EAF7EF; color: #176438 !important; }
.landing-metric-next { border-color: #C8D0D9; background: #FFFFFF; color: #4F5C6C !important; }
.landing-report-section { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }
.landing-report-copy { min-width: 0; }
.landing-report-copy h2 { font-size: 38px; }
.landing-report-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 24px 0; border-top: 1px solid #D8DDE5; }
.landing-report-types div { min-width: 0; padding: 11px 0; border-bottom: 1px solid #E3E7ED; }
.landing-report-types strong, .landing-report-types span { display: block; }
.landing-report-types strong { font-size: 13px; }
.landing-report-types span { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.landing-report-steps { columns: 2; column-gap: 28px; }
.landing-report-steps li { break-inside: avoid; }
.landing-report-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.landing-report-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; border-radius: 8px; text-decoration: none; }
.landing-report-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.landing-report-preview { position: relative; min-width: 0; aspect-ratio: 1 / 1.16; margin: 0; overflow: hidden; border: 1px solid #CBD2DB; border-radius: 8px; background: #E9EDF2; box-shadow: 0 12px 34px rgba(23,32,42,.13); }
.landing-report-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.landing-report-preview figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; width: fit-content; max-width: calc(100% - 20px); padding: 7px 9px; border-radius: 6px; background: rgba(255,255,255,.95); color: var(--text); font-size: 12px; font-weight: 750; }
.landing-workflows { border-top: 1px solid #E3E7ED; }
.landing-workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.landing-workflow-grid article { padding: 18px 0 0; border-top: 2px solid #D8DDE5; }
.landing-workflow-grid article:nth-child(3n+1) { border-color: #D91635; }
.landing-workflow-grid article:nth-child(3n+2) { border-color: #1D5FA7; }
.landing-workflow-grid article:nth-child(3n) { border-color: #1E7A46; }
.landing-workflow-grid h3 { margin-bottom: 8px; font-size: 18px; }
.landing-workflow-grid a { display: inline-block; margin-top: 10px; color: #1D5FA7; font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.landing-deployment-band { width: 100%; background: #F1F4F7; border-top: 1px solid #D8DDE5; border-bottom: 1px solid #D8DDE5; }
.landing-deployment-inner { width: min(1200px, calc(100% - 40px)); display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: 36px 54px; }
.landing-deployment-heading h2 { max-width: 560px; font-size: 38px; }
.landing-deployment-heading > p:last-child { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.landing-deployment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-content: start; }
.landing-deployment-options article { padding-top: 16px; border-top: 3px solid #1D5FA7; }
.landing-deployment-options article:last-child { border-color: #1E7A46; }
.landing-deployment-index { color: var(--muted); font-size: 12px; font-weight: 800; }
.landing-deployment-options h3 { margin: 7px 0 8px; font-size: 20px; }
.landing-deployment-options p { margin: 0; color: var(--muted); line-height: 1.55; }
.landing-requirements { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #C7CDD6; border-bottom: 1px solid #C7CDD6; }
.landing-requirements div { min-width: 0; padding: 17px 18px; border-right: 1px solid #C7CDD6; }
.landing-requirements div:last-child { border-right: 0; }
.landing-requirements strong, .landing-requirements span { display: block; overflow-wrap: anywhere; }
.landing-requirements strong { color: var(--text); font-size: 23px; font-variant-numeric: tabular-nums; }
.landing-requirements span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.landing-requirements-note { grid-column: 1 / -1; max-width: 980px; margin: -20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.landing-capacity-profile { grid-column: 1 / -1; min-width: 0; margin-top: -12px; border-top: 1px solid #C7CDD6; border-bottom: 1px solid #C7CDD6; }
.landing-capacity-profile summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 18px; align-items: baseline; padding: 17px 0; color: var(--text); cursor: pointer; list-style: none; }
.landing-capacity-profile summary::-webkit-details-marker { display: none; }
.landing-capacity-profile summary::after { content: "+"; color: #6F7B8B; font-size: 18px; font-weight: 700; line-height: 1; text-align: right; }
.landing-capacity-profile summary span { font-size: 15px; font-weight: 800; }
.landing-capacity-profile summary small { color: var(--muted); font-size: 12px; font-weight: 650; }
.landing-capacity-profile .capacity-summary-open { display: none; }
.landing-capacity-profile[open] summary { border-bottom: 1px solid #D8DDE5; }
.landing-capacity-profile[open] summary::after { content: "−"; }
.landing-capacity-profile[open] .capacity-summary-closed { display: none; }
.landing-capacity-profile[open] .capacity-summary-open { display: inline; }
.landing-capacity-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 17px 0; }
.landing-capacity-intro p, .landing-capacity-guidance { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.landing-capacity-head, .landing-capacity-list li { display: grid; grid-template-columns: 90px 110px 120px 120px minmax(190px, 1fr); gap: 14px; align-items: center; }
.landing-capacity-head { padding: 9px 0; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.landing-capacity-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #D8DDE5; }
.landing-capacity-list li { min-width: 0; padding: 11px 0; border-bottom: 1px solid #D8DDE5; }
.landing-capacity-list li > span { min-width: 0; }
.landing-capacity-list strong, .landing-capacity-list small { display: block; overflow-wrap: anywhere; }
.landing-capacity-list strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.landing-capacity-list small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.capacity-outcome { display: inline-block; padding: 4px 7px; border: 1px solid; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.2; }
.capacity-outcome-confirmed { color: #356B55; border-color: #9BC1B0; background: #EAF3EF; }
.capacity-outcome-requires_scaling { color: #75633A; border-color: #CABD98; background: #F4F0E5; }
.landing-capacity-guidance { padding: 16px 0 18px; }
.landing-field-band { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: start; border-top: 1px solid #E3E7ED; }
.landing-field-copy { display: grid; gap: 22px; }
.landing-field-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.landing-roadmap-note { padding: 18px 0 0; border-top: 3px solid #1D5FA7; }
.landing-roadmap-note strong, .landing-roadmap-note span { display: block; }
.landing-roadmap-note strong { margin-bottom: 6px; color: var(--text); font-size: 14px; }
.landing-field-shot { position: relative; grid-column: 1 / -1; min-width: 0; aspect-ratio: 16 / 8.4; margin: 6px 0 0; overflow: hidden; border: 1px solid #CBD2DB; border-radius: 8px; background: #EDF0F4; box-shadow: 0 10px 28px rgba(23,32,42,.10); }
.landing-field-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.landing-field-shot figcaption { position: absolute; left: 10px; bottom: 10px; padding: 7px 10px; border-radius: 6px; background: rgba(255,255,255,.94); color: var(--text); font-size: 12px; font-weight: 750; }
.landing-product-journey { width: 100%; scroll-margin-top: 76px; background: #F1F4F7; border-top: 1px solid #D8DDE5; border-bottom: 1px solid #D8DDE5; }
.landing-product-journey-inner { width: min(1200px, calc(100% - 40px)); padding-top: 70px; padding-bottom: 76px; }
.landing-roadmap-lead { max-width: 760px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.landing-journey-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; margin-top: 42px; }
.landing-journey-branch { min-width: 0; }
.landing-journey-branch-head { display: flex; gap: 13px; align-items: center; min-height: 52px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #CDD3DB; }
.landing-journey-branch-head > div > span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.landing-journey-branch-head h3 { margin: 0; font-size: 23px; }
.landing-journey-line-key { flex: 0 0 auto; width: 30px; height: 8px; border-radius: 4px; }
.landing-journey-line-product { background: #5F9A82; }
.landing-journey-line-updates { background: #8792A4; }
.landing-milestone-route, .landing-update-route { position: relative; margin: 0; padding: 0; list-style: none; }
.landing-milestone-route::before, .landing-update-route::before { content: ""; position: absolute; top: 9px; bottom: 28px; left: 9px; width: 3px; background: #C6CDD6; }
.landing-milestone-route::before { background: #B7CEC3; }
.landing-update-route::before { background: #C3C9D2; }
.landing-milestone, .landing-update-route > li { position: relative; display: grid; grid-template-columns: 21px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 0 0 28px; }
.landing-route-node { position: relative; z-index: 1; width: 21px; height: 21px; border: 4px solid #FFFFFF; border-radius: 50%; background: #7C8796; box-shadow: 0 0 0 2px #A9B2BE; }
.landing-milestone-completed .landing-route-node { background: #5F9A82; box-shadow: 0 0 0 2px #A8CDBD; }
.landing-milestone-testing .landing-route-node { background: #2475C7; box-shadow: 0 0 0 2px #8BB8E5; }
.landing-milestone-planned .landing-route-node { background: #E3A126; box-shadow: 0 0 0 2px #E8C983; }
.landing-update-route .landing-route-node { background: #8792A4; box-shadow: 0 0 0 2px #C3C9D2; }
.landing-milestone article { min-width: 0; padding: 0 0 4px; }
.landing-milestone-meta { display: flex; flex-wrap: wrap; gap: 7px 10px; align-items: center; margin: -1px 0 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.landing-milestone h4 { margin: 0 0 7px; font-size: 19px; }
.landing-milestone p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.52; }
.roadmap-status { display: inline-flex; margin: 0; padding: 4px 8px; border: 1px solid; border-radius: 6px; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.roadmap-status-completed { color: #176438; border-color: #99CFAD; background: #EAF7EF; }
.roadmap-status-testing { color: #1D5FA7; border-color: #9FC4E9; background: #EDF6FF; }
.roadmap-status-planned { color: #7A4B00; border-color: #E7BD6E; background: #FFF6E5; }
.landing-release-entry { min-width: 0; padding-bottom: 2px; border-bottom: 1px solid #D4DAE2; }
.landing-release-entry summary { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; align-items: center; min-height: 64px; padding: 0 30px 12px 0; cursor: pointer; list-style: none; }
.landing-release-entry summary::-webkit-details-marker { display: none; }
.landing-release-entry summary::after { content: "+"; position: absolute; top: 2px; right: 1px; color: #667085; font-size: 20px; font-weight: 800; }
.landing-release-entry[open] summary::after { content: "−"; }
.landing-release-entry-version { color: #596579; font-size: 14px; font-weight: 800; }
.landing-release-entry-title { grid-column: 1 / -1; min-width: 0; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.landing-release-entry-period { color: var(--muted); font-size: 11px; white-space: nowrap; }
.landing-release-entry ul { margin: 0; padding: 0 8px 18px 19px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.landing-mobile-band { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 48px; align-items: center; padding: 64px max(20px, calc((100vw - 1200px) / 2)); background: #17202A; color: #FFFFFF; overflow: hidden; }
.landing-mobile-copy h2 { font-size: 38px; }
.landing-mobile-copy > p { max-width: 540px; margin: 16px 0 24px; color: #CFD7E0; }
.landing-mobile-copy .btn { border-radius: 8px; }
.landing-mobile-preview { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 14px; align-items: start; }
.landing-mobile-preview img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border: 1px solid #687583; border-radius: 8px; background: #FFFFFF; box-shadow: 0 14px 38px rgba(0,0,0,.28); }
.landing-mobile-preview img:nth-child(2) { margin-top: 30px; }
.landing-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(20px, calc((100vw - 1200px) / 2)); background: #FFFFFF; color: var(--muted); font-size: 13px; }
.login-dialog { position: relative; z-index: 61; width: min(430px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 24px; border-radius: 8px; background: #FFFFFF; box-shadow: 0 24px 72px rgba(8,15,24,.34); }
.login-dialog-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.login-dialog-head h2 { margin: 4px 0 5px; font-size: 28px; }
.login-dialog-head p { margin: 0; color: var(--muted); font-size: 14px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border-radius: 18px; padding: 28px; box-shadow: 0 4px 18px rgba(23,32,42,.12); }
.login-app-link { width: 100%; min-height: 58px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 10px; align-items: center; margin-top: 14px; padding: 9px 10px; border: 1px solid #D8DDE5; border-radius: 10px; background: #F8FAFC; color: var(--text); text-align: left; cursor: pointer; }
.login-app-link:hover, .login-app-link:focus-visible { border-color: #AEB7C3; background: #FFFFFF; box-shadow: 0 3px 12px rgba(23,32,42,.08); }
.login-app-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #17202A; color: #FFFFFF; font-size: 14px; font-weight: 800; }
.login-app-link strong, .login-app-link small { display: block; overflow-wrap: anywhere; }
.login-app-link strong { font-size: 14px; }
.login-app-link small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.login-app-arrow { color: var(--accent); font-size: 20px; text-align: right; }
.login-app-modal-layer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.login-app-scrim { position: fixed; inset: 0; border: 0; background: rgba(16,24,32,.62); backdrop-filter: blur(4px); cursor: pointer; }
.login-app-dialog { position: relative; z-index: 61; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 22px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 24px 72px rgba(8,15,24,.34); }
.login-app-dialog-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #E3E7ED; }
.login-app-dialog-head h2 { margin: 4px 0 6px; font-size: 30px; }
.login-app-dialog-head p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.45; }
.login-app-kicker { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.login-app-body { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 24px; padding-top: 18px; }
.login-app-copy { min-width: 0; }
.login-app-features { display: flex; flex-direction: column; gap: 11px; margin: 0 0 16px; padding: 0; list-style: none; }
.login-app-features li { padding-left: 14px; border-left: 3px solid #D8DDE5; }
.login-app-features strong, .login-app-features span { display: block; }
.login-app-features strong { font-size: 14px; }
.login-app-features span { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.login-app-download { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 8px; text-decoration: none; text-align: center; }
.login-app-download span { margin-right: 8px; font-size: 20px; line-height: 1; }
.mobile-release-notes { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.mobile-platforms { display: grid; gap: 16px; margin-top: 18px; }
.mobile-platform { min-width: 0; padding-top: 15px; border-top: 1px solid #D8DDE5; }
.mobile-platform-head { display: flex; gap: 12px; align-items: center; }
.mobile-platform-head h3, .mobile-platform-head span { display: block; }
.mobile-platform-head h3 { margin: 0; font-size: 18px; }
.mobile-platform-head div > span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.mobile-platform > p { margin: 11px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.mobile-platform-icon { position: relative; flex: 0 0 46px; width: 46px; height: 46px; display: block; border-radius: 8px; background: #17202A; }
.android-pictogram::before { content: ""; position: absolute; left: 10px; top: 14px; width: 26px; height: 20px; border-radius: 12px 12px 5px 5px; background: #6FD397; box-shadow: inset 0 -6px 0 rgba(0,0,0,.08); }
.android-pictogram::after { content: "•  •"; position: absolute; left: 15px; top: 12px; color: #17202A; font-size: 13px; font-weight: 900; white-space: pre; }
.iphone-pictogram { display: grid; place-items: center; color: #FFFFFF; font-size: 10px; font-weight: 800; }
.iphone-pictogram::before { content: ""; position: absolute; left: 11px; top: 5px; width: 24px; height: 36px; border: 2px solid #FFFFFF; border-radius: 7px; }
.iphone-pictogram::after { content: ""; position: absolute; left: 18px; top: 8px; width: 10px; height: 2px; border-radius: 2px; background: #FFFFFF; }
.iphone-pictogram .iphone-pictogram-label { position: relative; z-index: 1; margin-top: 3px; color: #FFFFFF; font-size: 10px; font-weight: 800; }
.mobile-install-steps { margin: 11px 0 0; padding-left: 22px; color: #27323D; font-size: 12px; line-height: 1.45; }
.mobile-install-steps li + li { margin-top: 5px; }
.mobile-install-steps li::marker { color: var(--accent); font-weight: 800; }
.login-app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; align-items: start; }
.login-app-gallery figure { min-width: 0; margin: 0; }
.login-app-gallery img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border: 1px solid #CCD3DC; border-radius: 8px; background: #EDF0F4; box-shadow: 0 5px 18px rgba(23,32,42,.12); }
.login-app-gallery figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; text-align: center; }
.ios-install-guide { margin-top: 24px; padding-top: 18px; border-top: 1px solid #D8DDE5; }
.ios-install-guide-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.ios-install-guide-head h3 { margin: 0; font-size: 18px; }
.ios-install-guide-head p { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.ios-install-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: ios-step; }
.ios-install-gallery li { min-width: 0; counter-increment: ios-step; }
.ios-install-gallery figure { margin: 0; }
.ios-install-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #CCD3DC; border-radius: 7px; background: #EDF0F4; }
.ios-install-gallery .ios-step-browser { object-position: center bottom; }
.ios-install-gallery .ios-step-add { object-position: center 38%; }
.ios-install-gallery .ios-step-confirm { object-position: center 20%; }
.ios-install-gallery .ios-step-ready { object-position: center 48%; }
.ios-install-gallery figcaption { position: relative; min-height: 74px; padding: 9px 4px 0 30px; }
.ios-install-gallery figcaption::before { content: counter(ios-step); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 800; }
.ios-install-gallery strong, .ios-install-gallery span { display: block; }
.ios-install-gallery strong { font-size: 12px; }
.ios-install-gallery span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app-header { display: flex; gap: 12px; align-items: center; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid #E3E7ED; }
.app-header > select.input { width: auto; min-width: 0; margin-bottom: 0; flex: 1 1 320px; }
.app-header > .muted { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
.app-guide-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 14px; text-underline-offset: 3px; }
.app-guide-link:hover { color: var(--accent); }
.app-clock { min-width: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* employee */
.emp-tabs { display: flex; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid #E3E7ED; z-index: 5; }
.emp-tab { flex: 1 1 8em; min-width: 0; max-width: 100%; min-height: 52px; padding: 8px 12px; overflow-wrap: anywhere; background: none; border: none; font-size: 13px; cursor: pointer; color: var(--muted); }
.emp-tab-active { color: var(--accent); font-weight: 600; }
.emp-stack { padding: 12px; }
.emp-card { padding: 20px; }
.emp-context { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.emp-big-stat { font-size: 40px; color: var(--muted); }
.emp-freshness { margin: 12px 0; font-size: 15px; }
.freshness-fresh { color: var(--success); }
.freshness-degraded { color: var(--warning); }
.freshness-stale, .freshness-lost, .freshness-unknown { color: var(--danger); }
.emp-exit { font-size: 22px; font-weight: 600; padding: 12px; background: #F0F5F1; border-radius: 12px; text-align: center; }
.emp-exit-now { color: var(--danger); }
.emp-next-head, .emp-map-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.emp-next-head h2, .emp-map-head h2 { font-size: 22px; }
.emp-clock-strip { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-width: 220px; padding: 10px 12px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; font-variant-numeric: tabular-nums; }
.emp-action-grid { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr); gap: 14px; align-items: stretch; }
.emp-action-panel { min-width: 0; padding: 14px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FFFFFF; }
.emp-next-metric { margin-top: 8px; font-size: 46px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.emp-next-caption { margin: 4px 0 10px; color: var(--muted); font-size: 16px; }
.emp-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 10px; min-width: 0; }
.emp-fact { min-height: 102px; display: flex; flex-direction: column; gap: 6px; justify-content: space-between; padding: 12px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; }
.emp-fact strong { font-size: 20px; line-height: 1.16; overflow-wrap: anywhere; }
.emp-focus-btn { min-height: 36px; padding: 7px 12px; border: 1px solid #C7CDD6; border-radius: 10px; background: #FFFFFF; color: var(--text); cursor: pointer; font-size: 13px; }
.emp-focus-active { border-color: var(--accent); color: #B71331; background: #FDE8ED; font-weight: 650; }
.emp-journey-card { margin-top: 12px; padding: 12px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; }
.emp-journey-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.emp-journey-head h2 { font-size: 18px; }
.emp-journey-grid { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr); gap: 7px 12px; margin: 0; }
.emp-journey-grid dt { color: var(--muted); font-size: 13px; }
.emp-journey-grid dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.emp-incident p { margin: 6px 0; }
.emp-arrivals, .emp-notifications, .emp-profile { margin: 0; padding: 0; list-style: none; }
.emp-arrival { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EDF0F4; }
.emp-notification { padding: 10px 0; border-bottom: 1px solid #EDF0F4; }
.emp-unread { font-weight: 600; }
.emp-note-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.emp-note-row strong, .emp-note-row span { display: block; }
.emp-profile dt { color: var(--muted); font-size: 13px; margin-top: 8px; }
.emp-profile dd { margin: 2px 0 0; }
.emp-profile-summary .emp-profile { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
.emp-profile-summary .emp-profile dt { margin-top: 0; }
.emp-profile-summary .emp-profile dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.emp-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; align-items: start; }
.emp-field-wide { grid-column: 1 / -1; }
.emp-days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.emp-day { min-width: 46px; min-height: 40px; border: 1px solid #C7CDD6; border-radius: 10px; background: #FFFFFF; color: var(--text); font-size: 14px; font-weight: 650; cursor: pointer; }
.emp-day-active { border-color: var(--accent); background: #FDE8ED; color: #B71331; }
.emp-form-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.emp-editor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.emp-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.emp-trip-editor .alert { margin-top: 8px; }
.emp-profile-selected td { background: #FDE8ED; }
.emp-profiles-table td:first-child span { display: block; margin-top: 2px; }
.emp-profiles-table th, .emp-profiles-table td { vertical-align: top; }
.emp-board { margin-top: 12px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; overflow-x: auto; overflow-y: hidden; }
.emp-board-card .emp-board, .emp-stop-card .emp-board { margin-top: 0; }
.emp-board-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 12px 4px; }
.emp-board-head h2 { font-size: 18px; }
.emp-board-table { table-layout: fixed; }
.emp-board-table th, .emp-board-table td { vertical-align: top; overflow: hidden; text-overflow: ellipsis; }
.emp-board-table td strong, .emp-board-table td span { display: block; }
.emp-board-table .bo-status { width: max-content; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
.route-legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.route-legend-item { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; max-width: 100%; padding: 5px 8px; border: 1px solid #E3E7ED; border-radius: 8px; background: #FFFFFF; font-size: 12px; overflow: hidden; }
.route-legend-item strong { font-variant-numeric: tabular-nums; }
.route-legend-item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-swatch { width: 18px; height: 5px; border-radius: 999px; flex: 0 0 auto; }
.glyph { margin-right: 8px; font-weight: 700; }
/* dispatcher */
.dsp-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 12px 0; }
.dsp-view-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.dsp-date-field { min-width: 190px; }
.dsp-date-field .input { margin-bottom: 0; }
.dsp-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr) 520px; gap: 12px; padding: 12px; }
.dsp-side, .dsp-list { background: var(--surface); border-radius: 14px; padding: 14px; }
.dsp-list { min-width: 0; overflow-x: auto; }
.dsp-summary { list-style: none; padding: 0; margin: 0 0 16px; }
.dsp-summary li { padding: 8px 0; border-bottom: 1px solid #EDF0F4; }
.st-warn { color: var(--warning); }
.st-crit { color: var(--danger); font-weight: 600; }
.dsp-incidents { list-style: none; padding: 0; margin: 0; }
.dsp-incident { padding: 10px; border: 1px solid #EDF0F4; border-radius: 8px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.dsp-incident-open { min-height: 44px; border: 0; padding: 4px 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dsp-incident-open:hover { text-decoration: underline; }
.dsp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dsp-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px; }
.dsp-table td { padding: 8px 6px; border-top: 1px solid #EDF0F4; }
.dsp-row { cursor: pointer; }
.dsp-plan-scroll { max-width: 100%; overflow-x: auto; }
.dsp-plan-table { table-layout: auto; min-width: 640px; font-size: 12px; }
.dsp-plan-table th, .dsp-plan-table td { overflow-wrap: normal; white-space: normal; }
.dsp-plan-table th:first-child, .dsp-plan-table td:first-child { white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
.dsp-plan-table th { font-size: 11px; line-height: 1.15; padding: 5px 4px; }
.dsp-plan-table td { padding: 7px 4px; }
.dsp-plan-note { margin-top: 8px; margin-bottom: 16px; }
.dsp-trip-plan { padding: 20px; background: #fff; min-width: 0; }
.dsp-release-confirm { border-left: 3px solid #789487; background: #f0f5f3; padding: 16px; margin: 16px 0; }
.dsp-release-confirm h3 { margin-top: 0; }
.dsp-service-plans { display: grid; gap: 16px; padding: 16px; }
.dsp-service-plan-form { display: grid; gap: 16px; }
.dsp-service-plan-form .bo-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsp-service-plan-form label:not(.map-scope-check) { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 650; }
.dsp-release-check { width: fit-content; }
.dsp-drawer-layer { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.dsp-scrim { position: fixed; inset: 0; border: 0; background: rgba(15,23,42,.18); cursor: pointer; pointer-events: auto; }
.dsp-drawer { position: fixed; right: 14px; top: 88px; max-height: calc(100dvh - 102px); width: min(420px, calc(100vw - 28px)); z-index: 21; overflow: auto; pointer-events: auto; box-shadow: 0 14px 44px rgba(23,32,42,.26); }
dialog.dsp-drawer { inset: 88px 14px auto auto; margin: 0; border: 0; color: var(--text); }
dialog.dsp-drawer::backdrop { background: rgba(15,23,42,.18); }
.dsp-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dsp-drawer-head h2 { padding-right: 6px; }
.dsp-drawer.fleet-history-dialog { inset: 24px max(12px, calc((100vw - 1176px) / 2)) auto; width: auto; max-height: calc(100dvh - 48px); margin: 0; padding: 20px; overscroll-behavior: contain; }
.fleet-history-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.fleet-history-head h2 { margin: 0; font-size: clamp(1.35rem, 4vw, 1.9rem); line-height: 1.2; }
.fleet-history-head p { margin: 5px 0 0; overflow-wrap: anywhere; }
.fleet-history-actions { display: flex; gap: 8px; align-items: center; }
.fleet-history-period { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin: 16px 0; align-items: end; }
.fleet-history-period label { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: .875rem; }
.fleet-history-period input { width: 100%; min-width: 0; margin: 0; }
.fleet-history-date { display: block; position: relative; }
.fleet-history-date-text { display: none; pointer-events: none; position: absolute; inset: 0 44px 0 12px; align-items: center; color: var(--text); font-size: 1rem; font-variant-numeric: tabular-nums; }
.fleet-history-date:not(:focus-within):has(.fleet-history-date-text:not(:empty)) input { color: transparent; }
.fleet-history-date:not(:focus-within) .fleet-history-date-text:not(:empty) { display: flex; }
.fleet-history-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(218px, 255px); align-items: start; gap: 16px; }
.fleet-history-visual, .fleet-history-readout { min-width: 0; }
.fleet-history-track { position: relative; min-width: 0; }
.fleet-history-map { height: clamp(340px, 62dvh, 670px); overflow: hidden; border-radius: 10px; border: 1px solid #d8dee7; background: #edf2f6; }
.fleet-history-fit { position: absolute; z-index: 1; top: 12px; left: 12px; background: white; color: #17202a; border: 1px solid #ccd4de; font-weight: 650; box-shadow: 0 1px 5px rgba(23,32,42,.16); }
.fleet-history-track:not([data-track-state="ready"]):not([data-track-state="fallback"]) .fleet-history-fit { display: none; }
.fleet-history-map-status { display: none; padding: 8px 10px; color: #664421; background: #fff4e4; border-radius: 8px; margin: 8px 0 0; }
[data-track-state="fallback"] .fleet-history-map-status, [data-track-state="failed"] .fleet-history-map-status,
[data-track-runtime="failed"] .fleet-history-map-status { display: block; }
[data-track-state="failed"] .fleet-history-map, [data-track-runtime="failed"] .fleet-history-map { display: none; }
.fleet-history-legend { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 4px; margin: 8px 0 0; }
.fleet-history-direction { display: inline-block; margin-right: 6px; color: #334155; font-weight: 750; }
.fleet-history-speed-legend { margin-top: 12px; }
.fleet-history-speed-legend ul { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 4px 0; list-style: none; }
.fleet-history-speed-legend li { display: flex; align-items: center; gap: 6px; font-size: .875rem; }
.fleet-history-speed-legend li span { width: 20px; height: 5px; border-radius: 4px; background: var(--speed-color); }
.fleet-history-speed-legend p { margin: 5px 0 0; }
.fleet-history-map .fleet-history-selected-speed { padding: 3px 7px; border: 1px solid #ccd4de; border-radius: 6px; background: #fff; color: #17202a; font: 650 .875rem/1.3 system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; box-shadow: 0 1px 4px #17202a30; }
.fleet-history-readout { padding: 12px; background: #f6f8fa; border: 1px solid #e1e6ec; border-radius: 10px; }
.fleet-history-endpoints { display: grid; gap: 12px; border-bottom: 1px solid #dde4eb; padding-bottom: 12px; }
.fleet-history-endpoint { display: flex; align-items: center; gap: 10px; }
.fleet-history-endpoint strong, .fleet-history-endpoint .muted { display: block; }
.fleet-history-endpoint strong { font-size: .94rem; font-variant-numeric: tabular-nums; }
.fleet-history-badge { display: inline-grid; place-items: center; flex-shrink: 0; min-width: 30px; height: 30px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 750; line-height: 1; box-shadow: 0 1px 5px #17202a45; }
.fleet-history-badge.is-start { background: #087663; }
.fleet-history-badge.is-end { background: #ad1840; }
.fleet-history-badge.is-both { background: #273852; }
.fleet-history-point-label { display: grid; gap: 5px; margin-top: 12px; font-weight: 650; }
.fleet-history-point-label input { width: 100%; margin: 0; accent-color: #1667b2; min-height: 28px; }
.fleet-history-point dd { overflow-wrap: anywhere; }
@media (max-width: 790px) {
  .dsp-drawer.fleet-history-dialog { inset: 12px 12px auto; max-height: calc(100dvh - 24px); padding: 14px; }
  .fleet-history-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fleet-history-map { height: clamp(250px, 48dvh, 460px); }
}
@media (max-width: 500px) {
  .fleet-history-period { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 12px 0; }
}
.dsp-dl dt { color: var(--muted); font-size: 13px; margin-top: 8px; }
.dsp-dl dd { margin: 2px 0 0; }
.dsp-actions { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dsp-action { min-width: 0; max-width: 100%; }
.dsp-action:has(.dsp-dialog) { flex-basis: 100%; }
.dsp-dialog { position: relative; z-index: 21; pointer-events: auto; }
.dsp-dialog h3 { margin-bottom: 0; padding-right: 8px; }
.dsp-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.dialog-close { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #D8DDE5; border-radius: 50%; background: #F5F7FA; color: var(--muted); font-size: 24px; line-height: 30px; cursor: pointer; }
.dialog-close:hover, .dialog-close:focus { color: var(--text); border-color: #B8C0CA; background: #FFFFFF; }
.dsp-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.dsp-dialog-actions .btn { max-width: 100%; white-space: normal; }
.dsp-drawer textarea { font: inherit; }
.dsp-offline { margin: 0 12px; }
.dsp-employee-board { padding: 12px; }
.dsp-employee-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.dsp-employee-kpis { display: grid; grid-template-columns: repeat(4, minmax(105px, 1fr)); gap: 8px; }
.dsp-employee-kpis div { min-height: 70px; padding: 10px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; }
.dsp-employee-kpis strong { display: block; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dsp-employee-kpis span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.dsp-employee-card { overflow: auto; }
.dsp-employee-table { min-width: 1180px; }
.dsp-employee-table th, .dsp-employee-table td { vertical-align: top; }
.dsp-employee-table td strong,
.dsp-employee-table td span { display: block; }
.dsp-employee-table .bo-status { margin-bottom: 4px; width: max-content; }
/* backoffice */
.bo-wrap { min-width: 0; padding: 12px; overflow-wrap: anywhere; }
.bo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bo-demo-filter { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; font-size: 16px; }
.bo-demo-filter input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #d90931; }
.bo-tab { flex: 0 0 auto; min-width: 0; max-width: 100%; min-height: 44px; padding: 8px 18px; white-space: normal; overflow-wrap: anywhere; border-radius: 12px; border: 1px solid #C7CDD6; background: var(--surface); cursor: pointer; }
.bo-tab-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.bo-stack { display: flex; flex-direction: column; gap: 12px; }
.bo-live-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid #D8DDE5; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(18, 25, 35, .04); }
.bo-live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31, 132, 74, .12); }
.bo-kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bo-kpi-grid-rich { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bo-kpi { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; border-left: 4px solid #D8DDE5; }
.bo-kpi-good { border-left-color: var(--success); }
.bo-kpi-warn { border-left-color: var(--warning); }
.bo-kpi-unknown .bo-num { font-size: 20px; line-height: 1.25; overflow-wrap: normal; }
.bo-num { font-size: 30px; line-height: 1.05; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bo-analytics-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 12px; align-items: stretch; }
.bo-analytics-grid-tight { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); }
.bo-panel { overflow: hidden; }
.bo-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bo-panel-head h2, .bo-live-strip h2 { margin: 0; font-size: 1rem; }
.bo-route-bars { display: flex; flex-direction: column; gap: 12px; }
.bo-route-bar-row { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(260px, 1.2fr); gap: 12px; align-items: center; }
.bo-route-bar-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bo-route-bar-meta span, .bo-route-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-route-bar-meta span,
.bo-route-name {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.bo-bar-pair { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bo-bar-track { position: relative; height: 24px; background: #EEF2F6; border-radius: 8px; overflow: hidden; }
.bo-bar { position: absolute; inset: 0 auto 0 0; min-width: 8px; border-radius: 8px; background: #7C8795; }
.bo-bar-median { background: #1D5FA7; opacity: .75; }
.bo-bar.is-normal { background: var(--success); }
.bo-bar.is-warning { background: var(--warning); }
.bo-bar.is-critical { background: var(--danger); }
.bo-bar-track em { position: absolute; right: 8px; top: 3px; font-style: normal; font-size: 12px; color: var(--text); z-index: 1; }
.bo-risk-total { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.bo-risk-total strong { font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.bo-risk-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.bo-risk-meta span { padding: 5px 8px; background: #F0F3F7; border-radius: 8px; }
.bo-risk-buckets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bo-risk-bucket { min-height: 92px; padding: 10px; border: 1px solid #D8DDE5; border-radius: 8px; display: flex; flex-direction: column; gap: 4px; }
.bo-risk-bucket strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.bo-risk-bucket em { font-style: normal; color: var(--muted); font-size: 12px; }
.bo-risk-bucket.is-warning { border-color: #E0A13A; background: #FFF8EA; }
.bo-risk-bucket.is-critical { border-color: #E27B72; background: #FFF0EF; }
.bo-compact-table th, .bo-compact-table td { font-size: 13px; vertical-align: top; }
.bo-routes-table th, .bo-routes-table td { vertical-align: top; }
.bo-quality-table td:first-child { color: var(--muted); }
.bo-quality-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.bo-row-warning td { background: #FFF8EA; }
.bo-row-critical td { background: #FFF0EF; }
.bo-drill td { background: #F8FAFC; }
.bo-drill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; color: var(--muted); }
.bo-drill-grid span { padding: 8px; border-radius: 8px; background: #FFFFFF; border: 1px solid #EDF0F4; }
.bo-resources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bo-resource-hint { margin-top: -2px; }
.bo-admin-shell { display: grid; grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); gap: 16px; align-items: start; }
.bo-admin-nav, .bo-admin-content { min-width: 0; border: 1px solid #DDE3EA; border-radius: 8px; background: #FFFFFF; box-shadow: 0 2px 8px rgba(15,23,42,.04); }
.bo-admin-nav { position: sticky; top: 12px; padding: 14px; }
.bo-admin-nav-mobile { display: none; }
.bo-admin-nav-head { padding: 2px 4px 12px; border-bottom: 1px solid #E7EBF0; }
.bo-admin-nav-head h2 { margin: 0 0 4px; font-size: 22px; }
.bo-admin-nav-head p { margin: 0; }
.bo-admin-nav-group { display: grid; gap: 4px; padding-top: 12px; }
.bo-admin-nav-group h3 { margin: 0 4px 3px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bo-admin-nav-item { width: 100%; display: grid; gap: 2px; padding: 9px 10px; border: 0; border-left: 3px solid transparent; border-radius: 4px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.bo-admin-nav-item:hover { background: #F6F8FA; }
.bo-admin-nav-item.is-active { border-left-color: var(--brand); background: #FFF2F3; color: #A61326; }
.bo-admin-nav-item strong { font-size: 14px; }
.bo-admin-nav-item span { color: var(--muted); font-size: 11px; line-height: 1.3; }
.bo-admin-content { padding: 18px; }
.bo-admin-content-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.bo-admin-content-head h2 { margin: 0 0 4px; font-size: 24px; }
.bo-admin-content-head p { margin: 0; }
.bo-admin-section { display: grid; gap: 12px; }
.bo-admin-section > h2 { margin: 0; font-size: 24px; }
.bo-admin-section > p { margin: 0; }
.bo-test-tools { display: grid; gap: 10px; }
.bo-test-tools > h2, .bo-test-tools > p { margin: 0; }
.bo-simulator-terminal-create { display: grid; gap: 8px; padding: 12px; border: 1px solid #DDE3EA; background: #F8FAFC; }
.bo-simulator-terminal-create h5, .bo-simulator-terminal-create p { margin: 0; }
.bo-admin-table th, .bo-admin-table td { vertical-align: top; }
.bo-admin-table-wrap { max-width: 100%; overflow-x: auto; }
.bo-admin-table { min-width: 680px; }
.bo-admin-table th:first-child { width: 30%; }
.bo-admin-table th:nth-child(3) { width: 84px; }
.bo-admin-table th:nth-child(4) { width: 130px; }
.bo-admin-table td:last-child .btn { min-width: max-content; white-space: nowrap; overflow-wrap: normal; }
.bo-admin-title, .bo-admin-subtitle { display: block; min-width: 0; overflow-wrap: anywhere; }
.bo-admin-fields { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-admin-field { display: inline-flex; max-width: 100%; gap: 3px; padding: 4px 7px; border: 1px solid #E2E7EF; border-radius: 8px; background: #F8FAFC; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.bo-region-context { display: grid; gap: 18px; padding-top: 6px; }
.bo-region-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid #DDE3EA; background: #F8FAFC; }
.bo-region-heading h3 { margin: 4px 0 6px; font-size: 25px; }
.bo-region-heading p { margin: 0; }
.bo-region-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #DDE3EA; border-left: 1px solid #DDE3EA; }
.bo-region-facts div { min-width: 0; display: grid; gap: 5px; padding: 14px; border-right: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.bo-region-facts strong { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.bo-region-facts span { overflow-wrap: anywhere; }
.bo-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; border-radius: 999px; background: #EEF2F6; color: var(--muted); font-size: 12px; font-weight: 750; white-space: nowrap; }
.bo-status-ok { background: #EAF6EF; color: var(--success); }
.bo-status-neutral { background: #EFF2F4; color: #43515D; }
.bo-status-warn { background: #FFF4E5; color: var(--warning); }
.bo-status-bad, .bo-status-off { background: #FDEBEA; color: var(--danger); }
.bo-telemetry { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 16px; padding: 14px; border: 1px solid #E3E7ED; border-radius: 10px; background: #FAFBFC; }
.bo-telemetry-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bo-telemetry-head h3 { font-size: 20px; margin-bottom: 2px; }
.bo-endpoints { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bo-endpoint { display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 8px 10px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-endpoint small { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.bo-quarantine-list { display: flex; flex-direction: column; gap: 8px; }
.bo-quarantine-list h4 { margin: 0; }
.bo-quarantine-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px; border: 1px solid #E0A13A; border-radius: 8px; background: #FFF8EA; }
.bo-quarantine-item strong, .bo-terminal-card strong { overflow-wrap: anywhere; }
.bo-quarantine-item .bo-status { margin-left: 6px; }
.bo-row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bo-telemetry-form { padding: 12px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-form-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px 12px; align-items: start; }
.bo-terminal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bo-terminal-card { min-height: 154px; display: flex; flex-direction: column; gap: 5px; padding: 10px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-terminal-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bo-status-demo { background: #E8F1FF; color: #245EA8; }
.bo-demo-toggle { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #D8DDE5; border-radius: 8px; background: #F7FAFF; }
.bo-demo-toggle input { width: 18px; height: 18px; margin: 0; accent-color: #245EA8; }
.bo-demo-toggle span { display: flex; flex-direction: column; min-width: 0; }
.bo-simulator { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid #D8DDE5; }
.bo-simulator-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bo-simulator-head h4 { margin: 0 0 2px; }
.bo-simulator-delivery { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.bo-simulator-delivery small { min-width: 0; overflow-wrap: anywhere; }
.bo-simulator-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; align-items: end; padding: 12px; border: 1px solid #C9D8EC; border-radius: 8px; background: #F7FAFF; }
.bo-simulator-form > * { min-width: 0; }
.bo-simulator-form .btn { min-height: 42px; white-space: normal; overflow-wrap: anywhere; }
.bo-simulator-runs { display: flex; flex-direction: column; gap: 8px; }
.bo-simulator-run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, auto); gap: 12px; align-items: center; padding: 10px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-simulator-run > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bo-simulator-run strong, .bo-simulator-run span, .bo-simulator-run small { overflow-wrap: anywhere; }
.bo-simulator-run-state { align-items: flex-start; }
.bo-simulator-actions { align-items: stretch; }
.bo-simulator-actions .btn { min-width: 112px; white-space: normal; overflow-wrap: anywhere; }
.bo-map-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.bo-map-form { padding: 12px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-zoom-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bo-map-file-note { display: block; margin-top: -6px; margin-bottom: 10px; overflow-wrap: anywhere; }
.bo-map-payload { min-height: 116px; font-family: ui-monospace, monospace; font-size: 13px; }
.bo-map-section { margin-top: 14px; }
.bo-map-section h4 { margin: 0 0 8px; }
.bo-map-section .bo-compact-table { table-layout: fixed; }
.bo-map-section .bo-compact-table th, .bo-map-section .bo-compact-table td { overflow-wrap: anywhere; }
.bo-map-package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.bo-map-package { min-height: 220px; display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #D8DDE5; border-radius: 8px; background: #FFFFFF; }
.bo-map-package > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.bo-map-package strong, .bo-map-package span, .bo-map-package dd, .bo-map-sha { overflow-wrap: anywhere; }
.bo-map-section .bo-compact-table td:first-child strong, .bo-map-section .bo-compact-table td:first-child span { display: block; }
.bo-map-dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 8px; margin: 0; font-size: 12px; }
.bo-map-dl dt { color: var(--muted); }
.bo-map-dl dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.bo-csv { font-family: ui-monospace, monospace; font-size: 13px; }
.bo-check { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.bo-check input { min-height: 20px; }
.bo-audit { list-style: none; padding: 0; margin: 0; }
.bo-audit li { padding: 8px 0; border-bottom: 1px solid #EDF0F4; display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.bo-audit li > * { min-width: 0; overflow-wrap: anywhere; }
.bo-audit-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); gap: 10px; align-items: end; padding: 12px; border: 1px solid #DDE3EA; background: #F8FAFC; }
.bo-audit-filters label { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.bo-audit-filters .input { width: 100%; min-width: 0; }
.bo-audit-list { display: grid; border-top: 1px solid #DDE3EA; }
.bo-audit-entry { border-bottom: 1px solid #DDE3EA; }
.bo-audit-entry > summary { display: grid; grid-template-columns: 150px minmax(180px, 1fr) minmax(170px, .75fr); gap: 14px; align-items: center; padding: 12px 4px; cursor: pointer; }
.bo-audit-entry > summary span { display: grid; min-width: 0; gap: 2px; overflow-wrap: anywhere; }
.bo-audit-entry > summary small { font-size: 11px; }
.bo-audit-time { font-variant-numeric: tabular-nums; }
.bo-audit-diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 4px 12px; }
.bo-audit-diff > div { min-width: 0; padding: 10px; border: 1px solid #E2E7EF; background: #F8FAFC; }
.bo-audit-diff h4 { margin: 0 0 6px; }
.bo-audit-diff pre { max-height: 260px; margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }
.bo-audit-pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bo-route-wizard { display: grid; gap: 18px; }
.bo-route-wizard h3 { margin: 0; font-size: 17px; }
.bo-route-wizard-duration { min-width: 150px; display: grid; gap: 3px; padding: 10px 12px; border-left: 3px solid #557A8A; background: #F4F7F8; }
.bo-route-wizard-duration strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.bo-route-wizard-fields { display: grid; grid-template-columns: minmax(140px, .55fr) minmax(260px, 1.6fr) minmax(160px, .7fr); gap: 12px; }
.bo-route-wizard-fields label, .bo-route-wizard-stop-pane > label, .bo-route-wizard-stop-times label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.bo-route-wizard-layout { display: grid; grid-template-columns: minmax(420px, 1.35fr) minmax(360px, 1fr); gap: 16px; align-items: start; }
.bo-route-wizard-map-pane, .bo-route-wizard-stop-pane { min-width: 0; display: grid; gap: 10px; }
.bo-route-wizard-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bo-route-wizard-section-head p { margin: 3px 0 0; }
.bo-route-wizard-empty { min-height: 180px; display: grid; place-items: center; padding: 20px; border: 1px dashed #BFC8D2; color: var(--muted); text-align: center; }
.bo-route-wizard-stops { max-height: 420px; overflow: auto; list-style: none; display: grid; gap: 8px; margin: 0; padding: 0 4px 0 0; }
.bo-route-wizard-stop { display: grid; gap: 9px; padding: 10px; border: 1px solid #DDE3EA; border-radius: 6px; background: #FAFBFC; }
.bo-route-wizard-stop-title { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.bo-route-wizard-stop-title strong { min-width: 0; overflow-wrap: anywhere; }
.bo-route-wizard-sequence { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #557A8A; color: #FFFFFF; font-size: 12px; font-weight: 800; }
.bo-route-wizard-stop-actions { display: flex; gap: 4px; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid #C7CFD8; border-radius: 6px; background: #FFFFFF; color: var(--text); font: 700 18px/1 sans-serif; cursor: pointer; }
.icon-btn:hover:not(:disabled) { border-color: #7E8B99; background: #F2F5F7; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.bo-route-wizard-stop-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bo-route-wizard-schedule { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(240px, 1fr) minmax(280px, 1.15fr); gap: 18px; padding: 16px 0; border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.bo-route-wizard-schedule > div { min-width: 0; display: grid; align-content: start; gap: 10px; }
.bo-route-wizard-days { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-day-toggle { position: relative; display: inline-grid; place-items: center; width: 42px; height: 38px; border: 1px solid #C7CFD8; border-radius: 6px; background: #FFFFFF; color: var(--muted); cursor: pointer; }
.bo-day-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bo-day-toggle.is-active { border-color: #557A8A; background: #E9F0F2; color: #244653; font-weight: 800; }
.bo-route-wizard-departures { display: flex; flex-wrap: wrap; gap: 8px; }
.bo-route-wizard-departure { display: grid; grid-template-columns: 118px 34px; gap: 4px; }
.bo-route-wizard-submit { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.bo-stop-coordinate-picker { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 4px; }
.bo-stop-coordinate-picker > strong { color: var(--text); }
.service-launch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.service-launch h2, .service-launch h3, .service-launch h4, .service-launch p { margin-top: 0; }
.service-launch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid #DDE3EA; }
.service-launch-head h2 { margin: 8px 0 4px; font-size: 28px; }
.service-launch-back { padding: 0; border: 0; background: transparent; color: #416472; font: inherit; font-weight: 750; cursor: pointer; }
.service-launch-save-state { min-width: 220px; display: grid; justify-items: end; gap: 3px; color: var(--muted); font-size: 12px; }
.service-launch-save-state strong { color: #315F50; font-size: 13px; }
.service-launch-error { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-launch-error p { margin: 4px 0 0; }
.service-launch-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #DDE3EA; }
.service-launch-step { min-height: 66px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.service-launch-step span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #B8C3CC; border-radius: 50%; background: #FFFFFF; font-size: 12px; }
.service-launch-step strong { font-size: 13px; }
.service-launch-step.is-active { border-bottom-color: #557A8A; color: var(--text); }
.service-launch-step.is-active span { border-color: #557A8A; background: #557A8A; color: #FFFFFF; }
.service-launch-step.is-complete { color: #315F50; }
.service-launch-step.is-complete span { border-color: #89B5A3; background: #EDF6F1; }
.service-launch-stage { display: grid; gap: 18px; }
.service-launch-stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.service-launch-stage-head h3 { margin-bottom: 4px; font-size: 22px; }
.service-launch-stage-head p { margin-bottom: 0; max-width: 760px; }
.service-launch-stage-count { padding: 6px 9px; border: 1px solid #CBD5DC; border-radius: 6px; color: #416472; font-size: 12px; font-weight: 800; white-space: nowrap; }
.service-launch-mode { width: fit-content; max-width: 100%; display: inline-flex; gap: 0; overflow-x: auto; border: 1px solid #C6D0D8; border-radius: 7px; }
.service-launch-mode button { min-height: 40px; padding: 8px 13px; border: 0; border-right: 1px solid #C6D0D8; background: #FFFFFF; color: var(--muted); font: inherit; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.service-launch-mode button:last-child { border-right: 0; }
.service-launch-mode button.is-active { background: #EAF1F3; color: #244653; }
.service-launch-fields { display: grid; grid-template-columns: minmax(120px, .55fr) minmax(240px, 1.5fr) minmax(160px, .7fr) minmax(150px, .7fr); gap: 12px; }
.service-launch-fields-compact { grid-template-columns: minmax(300px, 1.4fr) minmax(180px, .6fr); }
.service-launch-fields label, .service-launch-stop-pane > label, .service-launch-inline-editor label, .service-launch-time-row label { min-width: 0; display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.service-launch-route-layout { display: grid; grid-template-columns: minmax(460px, 1.45fr) minmax(320px, .8fr); gap: 18px; align-items: start; }
.service-launch-map-pane, .service-launch-stop-pane { min-width: 0; display: grid; gap: 10px; }
.service-launch-map-pane .map { border-radius: 7px; }
.service-launch-stops { max-height: 470px; display: grid; gap: 0; margin: 0; padding: 0; overflow: auto; list-style: none; border-top: 1px solid #DDE3EA; }
.service-launch-stops li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #DDE3EA; }
.service-launch-stop-number { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #89A5AF; border-radius: 50%; color: #315866; font-size: 12px; font-weight: 850; }
.service-launch-stops li > div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.service-launch-stops li strong, .service-launch-stops li span { overflow-wrap: anywhere; }
.service-launch-stops li > div:nth-child(2) span { color: var(--muted); font-size: 11px; }
.service-launch-stop-actions { display: flex; gap: 4px; }
.service-launch-inline-editor { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.3fr) minmax(160px, .7fr) auto; align-items: end; gap: 12px; padding: 14px 0; border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.service-launch-inline-editor h4, .service-launch-inline-editor p { margin-bottom: 0; }
.service-launch-inline-actions { display: flex; gap: 6px; }
.service-launch-selected { display: grid; gap: 4px; padding: 12px 14px; border-left: 3px solid #89A5AF; background: #F3F7F8; }
.service-launch-selected span { color: var(--muted); font-size: 13px; }
.service-launch-schedule-fields { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
.service-launch-days { display: flex; flex-wrap: wrap; gap: 6px; }
.service-launch-days label { position: relative; width: 46px; height: 40px; display: grid; place-items: center; border: 1px solid #C6D0D8; border-radius: 6px; background: #FFFFFF; color: var(--muted); cursor: pointer; }
.service-launch-days input { position: absolute; opacity: 0; pointer-events: none; }
.service-launch-days label.is-selected { border-color: #557A8A; background: #EAF1F3; color: #244653; font-weight: 850; }
.service-launch-calculate { justify-self: start; }
.service-launch-metrics { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.service-launch-metrics > div { min-width: 0; display: grid; gap: 5px; padding: 14px 16px; border-right: 1px solid #DDE3EA; }
.service-launch-metrics > div:last-child { border-right: 0; }
.service-launch-metrics span { color: var(--muted); font-size: 12px; }
.service-launch-metrics strong { font-size: 21px; overflow-wrap: anywhere; }
.service-launch-manual-times { display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid #DDE3EA; }
.service-launch-time-row { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(130px, .6fr) minmax(130px, .6fr); gap: 12px; align-items: end; padding: 8px 0; border-bottom: 1px solid #E6EBEF; }
.service-launch-auto-assign, .service-launch-warning-confirmation { display: flex; align-items: flex-start; gap: 10px; max-width: 680px; padding: 14px 0; border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.service-launch-auto-assign input, .service-launch-warning-confirmation input { width: 20px; height: 20px; margin: 0; accent-color: #557A8A; }
.service-launch-auto-assign span, .service-launch-warning-confirmation span { display: grid; gap: 3px; }
.service-launch-auto-assign small, .service-launch-warning-confirmation small { color: var(--muted); }
.service-launch-resource-columns { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 24px; }
.service-launch-resource-columns > div { min-width: 0; display: grid; align-content: start; gap: 0; }
.service-launch-resource-option { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; border-bottom: 1px solid #E1E7EB; }
.service-launch-resource-option input { width: 18px; height: 18px; margin: 1px 0 0; }
.service-launch-resource-option span { min-width: 0; display: grid; gap: 2px; }
.service-launch-resource-option strong, .service-launch-resource-option small { overflow-wrap: anywhere; }
.service-launch-resource-option small { color: var(--muted); }
.service-launch-pending-resources { min-width: 0; padding: 0; border: 0; display: grid; gap: 16px; }
.service-launch-pending-resources legend { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.service-launch-pending-record { min-width: 0; border-top: 1px solid #DCE3E7; padding-top: 12px; }
.service-launch-pending-heading, .service-launch-pending-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service-launch-pending-heading h4 { min-width: 0; overflow-wrap: anywhere; margin: 0; }
.service-launch-pending-heading .btn-icon { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; font-size: 24px; }
.service-launch-pending-actions { justify-content: flex-start; }
.service-launch-fields.service-launch-pending-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 12px; }
.service-launch-demand { display: grid; gap: 10px; }
.service-launch-work { min-width: 0; display: grid; gap: 10px; }
.service-launch-work h4, .service-launch-work p { margin: 0; }
.service-launch-work-scroll { max-width: 100%; overflow-x: auto; }
.service-launch-work-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.service-launch-work-table th, .service-launch-work-table td { padding: 12px 10px; vertical-align: top; border-bottom: 1px solid #DDE3EA; overflow-wrap: anywhere; }
.service-launch-work-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.service-launch-work-table td > div + div { margin-top: 8px; }
.service-launch-review-result { display: grid; justify-items: start; gap: 7px; padding: 4px 0 16px; border-bottom: 1px solid #DDE3EA; }
.service-launch-review-result h3 { margin: 3px 0 0; font-size: 24px; }
.service-launch-review-result .btn { margin-top: 5px; }
.service-launch-issues { display: grid; gap: 0; }
.service-launch-issues h4 { margin-bottom: 4px; }
.service-launch-issue { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #DDE3EA; }
.service-launch-issue p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.service-launch-review-summary { display: grid; gap: 8px; padding-top: 6px; }
.service-launch-review-summary dl { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); margin: 0; border-top: 1px solid #DDE3EA; }
.service-launch-review-summary dl > div { min-width: 0; display: grid; gap: 4px; padding: 12px 14px; border-right: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.service-launch-review-summary dt { color: var(--muted); font-size: 12px; }
.service-launch-review-summary dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.service-launch-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #DDE3EA; }
.service-launch-empty { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 24px; border: 1px dashed #B9C4CC; text-align: center; }
.service-launch-empty h3, .service-launch-empty p { margin-bottom: 0; }
.service-launch-empty-compact { min-height: 150px; }
.service-launch-drafts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.service-launch-draft { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #D8E0E5; border-radius: 7px; background: #FFFFFF; }
.service-launch-draft > div { flex: 1; }
.service-launch-draft h3 { margin: 8px 0 3px; font-size: 17px; }
.service-launch-draft p { margin-bottom: 0; }
.service-launch-draft-status { color: #416472; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.service-launch-success { max-width: 880px; }
.service-launch-success h2 { margin: 0; font-size: 30px; }
.service-launch-success-summary { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; }
.service-launch-success-summary > div { display: grid; gap: 4px; padding: 16px; border-right: 1px solid #DDE3EA; }
.service-launch-success-summary > div:last-child { border-right: 0; }
.service-launch-success-summary strong { font-size: 24px; }
.service-launch-success-summary span { color: var(--muted); font-size: 12px; }
.service-launch-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.session-state { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 24px; }
.session-state-card { width: min(100%, 560px); padding: 28px; }
.session-state-card h1 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); }
.session-state-card p { margin: 8px 0 0; }
.session-state-detail { overflow-wrap: anywhere; }
.emp-map-toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.map-scope-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 10px; border: 1px solid #C7CDD6; border-radius: 8px; background: #FFFFFF; color: var(--text); font-weight: 650; cursor: pointer; }
.map-scope-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.dsp-map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.emp-map-preview { margin: 8px 0 10px; }
.map-wrap { position: relative; width: 100%; }
.map { position: relative; width: 100%; min-height: 180px; border-radius: 14px; border: 1px solid #C7CDD6; background: #E8EDF2; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); touch-action: none; }
.map.maplibregl-map { font: inherit; background: #E8EDF2; touch-action: none; }
.map .maplibregl-canvas { outline: none; }
.map .maplibregl-ctrl-group {
  border: 1px solid #B8C0CA;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,.14);
}
.map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.map .maplibregl-ctrl-attrib,
.map .maplibregl-ctrl-scale {
  border-radius: 8px;
  font-family: inherit;
  font-size: 10px;
}
.sps-map-route-label,
.sps-map-stop-label {
  font-family: inherit;
  color: var(--text);
  box-shadow: 0 3px 12px rgba(15,23,42,.18);
}
.sps-map-route-label,
.sps-map-stop-label {
  pointer-events: none;
}
.sps-map-route-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 220px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(203,213,225,.9);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
  cursor: pointer;
}
.sps-map-route-label span { width: 16px; height: 5px; border-radius: 999px; flex: 0 0 auto; }
.sps-map-stop-label {
  max-width: 170px;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(203,213,225,.82);
  font-size: 11px;
  line-height: 1.12;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.push-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.bo-resource-editor { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
.bo-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bo-editor-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.bo-checkbox-row { display: flex !important; grid-column: 1 / -1; align-items: center; grid-template-columns: auto 1fr; }
.bo-checkbox-row input { width: 20px; height: 20px; }
@media (max-width: 1180px) {
  .dsp-layout { grid-template-columns: 1fr; }
  .service-launch-route-layout { grid-template-columns: 1fr; }
  .service-launch-stop-pane { order: -1; }
  .service-launch-resource-columns { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 900px) {
  .landing-release-inner { grid-template-columns: 1fr; gap: 22px; }
  .landing-journey-grid { grid-template-columns: 1fr; gap: 46px; }
  .landing-hero-image { object-position: 70% center; }
  .landing-hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .landing-hero h1 { font-size: 46px; }
  .landing-lead { font-size: 18px; }
  .landing-tour, .landing-role-detail, .landing-report-section, .landing-field-band, .landing-mobile-band, .landing-deployment-inner { grid-template-columns: 1fr; }
  .landing-tour-copy { position: static; }
  .landing-role-figure { max-width: 760px; }
  .landing-metric-row { grid-template-columns: minmax(150px, .7fr) minmax(250px, 1.3fr) minmax(190px, .8fr); gap: 16px; }
  .landing-report-preview { width: min(760px, 100%); aspect-ratio: 1 / 1.05; }
  .landing-workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-mobile-preview { max-width: 680px; }
  .landing-requirements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-requirements div:nth-child(2) { border-right: 0; }
  .landing-requirements div:nth-child(-n+2) { border-bottom: 1px solid #C7CDD6; }
  .app-header { flex-wrap: wrap; }
  .app-header > select.input { width: 100%; flex-basis: 100%; }
  .app-clock { width: 100%; order: 3; }
  .dsp-toolbar, .dsp-employee-summary { grid-template-columns: 1fr; display: grid; align-items: stretch; }
  .dsp-date-field { min-width: 0; }
  .dsp-employee-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-admin-shell, .bo-analytics-grid, .bo-analytics-grid-tight, .bo-route-bar-row, .bo-drill-grid, .bo-form-grid, .bo-simulator-form, .bo-simulator-run, .bo-route-wizard-fields, .bo-route-wizard-layout, .bo-route-wizard-schedule { grid-template-columns: 1fr; }
  .dsp-service-plan-form .bo-form-grid { grid-template-columns: 1fr; }
  .bo-admin-nav { display: none; }
  .bo-admin-nav-mobile { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
  .bo-admin-nav-mobile > select { width: 100%; min-height: 44px; }
  .bo-audit-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-audit-entry > summary { grid-template-columns: 1fr 1fr; }
  .bo-audit-entry > summary > span:last-child { grid-column: 1 / -1; }
  .bo-audit-diff { grid-template-columns: 1fr; }
  .bo-risk-buckets { grid-template-columns: 1fr; }
  .bo-telemetry-head, .bo-map-head, .bo-quarantine-item, .bo-simulator-head { flex-direction: column; align-items: stretch; }
  .bo-endpoints, .bo-row-actions { justify-content: flex-start; }
  .emp-action-grid, .emp-form-grid, .emp-profile-summary .emp-profile, .emp-journey-grid, .emp-facts-grid { grid-template-columns: 1fr; }
  .emp-next-head, .emp-map-head { flex-direction: column; }
  .emp-clock-strip { align-items: flex-start; flex-direction: column; }
  .emp-editor-head { flex-direction: column; }
  .emp-editor-actions { width: 100%; justify-content: stretch; }
  .emp-editor-actions .btn { flex: 1; }
  .emp-board { overflow: visible; border: 0; background: transparent; }
  .emp-board-head { margin-bottom: 8px; border: 1px solid #E3E7ED; border-radius: 8px; background: #FAFBFC; }
  .emp-board-table, .emp-profiles-table { display: block; width: 100%; min-width: 0; }
  .emp-board-table thead, .emp-profiles-table thead { display: none; }
  .emp-board-table tbody, .emp-profiles-table tbody { display: grid; gap: 8px; width: 100%; }
  .emp-board-table tr, .emp-profiles-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; padding: 10px; border: 1px solid #E3E7ED; border-radius: 8px; background: #FFFFFF; }
  .emp-board-table td, .emp-profiles-table td { display: block; min-width: 0; padding: 5px 6px; border-top: 0; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
  .emp-board-table td::before, .emp-profiles-table td::before { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
  .emp-board-table td:nth-child(1)::before { content: "Маршрут"; }
  .emp-board-table td:nth-child(2)::before { content: "Куда"; }
  .emp-board-table td:nth-child(3)::before { content: "План"; }
  .emp-board-table td:nth-child(4)::before { content: "Факт или прогноз"; }
  .emp-board-table td:nth-child(5)::before { content: "Автобус"; }
  .emp-board-table td:nth-child(6)::before { content: "Состояние"; }
  .emp-board-table td:nth-child(1), .emp-board-table td:nth-child(2), .emp-board-table td:nth-child(5), .emp-board-table td:nth-child(6) { grid-column: 1 / -1; }
  .emp-profiles-table td:nth-child(1)::before { content: "Поездка"; }
  .emp-profiles-table td:nth-child(2)::before { content: "Откуда"; }
  .emp-profiles-table td:nth-child(3)::before { content: "Куда"; }
  .emp-profiles-table td:nth-child(4)::before { content: "Приход"; }
  .emp-profiles-table td:nth-child(5)::before { content: "Дни"; }
  .emp-profiles-table td:nth-child(6)::before { content: "Действие"; }
  .emp-profiles-table td:nth-child(1), .emp-profiles-table td:nth-child(2), .emp-profiles-table td:nth-child(3), .emp-profiles-table td:nth-child(5), .emp-profiles-table td:nth-child(6) { grid-column: 1 / -1; }
  .emp-profiles-table td:last-child .btn { width: 100%; }
  .emp-profiles-table .emp-profile-selected { background: #FDE8ED; }
  .emp-profiles-table .emp-profile-selected td { background: transparent; }
  .bo-admin-table-wrap { overflow: visible; }
  .bo-admin-table { display: block; width: 100%; min-width: 0; }
  .bo-admin-table thead { display: none; }
  .bo-admin-table tbody { display: grid; gap: 8px; width: 100%; }
  .bo-admin-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; padding: 10px; border: 1px solid #E3E7ED; border-radius: 8px; background: #FFFFFF; }
  .bo-admin-table td { display: block; min-width: 0; padding: 5px 6px; border-top: 0; overflow-wrap: anywhere; }
  .bo-admin-table td::before { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
  .bo-admin-table td:nth-child(1)::before { content: "Запись"; }
  .bo-admin-table td:nth-child(2)::before { content: "Ключевые поля"; }
  .bo-admin-table td:nth-child(3)::before { content: "Версия"; }
  .bo-admin-table td:nth-child(4)::before { content: "Состояние"; }
  .bo-admin-table td:nth-child(5)::before { content: "Действие"; }
  .bo-admin-table td:nth-child(1), .bo-admin-table td:nth-child(2), .bo-admin-table td:nth-child(5) { grid-column: 1 / -1; }
  .bo-admin-table td:last-child .btn { width: 100%; }
  .dsp-drawer { left: 12px; right: 12px; top: 74px; max-height: calc(100dvh - 86px); width: auto; }
  dialog.dsp-drawer:not(.fleet-history-dialog) { inset: 74px 12px auto; }
  .bo-editor-grid { grid-template-columns: 1fr; }
  .bo-route-wizard-submit { align-items: stretch; flex-direction: column; }
  .bo-route-wizard-submit .btn { width: 100%; }
  .service-launch-head, .service-launch-stage-head { flex-direction: column; align-items: stretch; }
  .service-launch-save-state { min-width: 0; justify-items: start; }
  .service-launch-fields, .service-launch-fields-compact, .service-launch-schedule-fields, .service-launch-inline-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-launch-resource-columns, .service-launch-review-summary dl { grid-template-columns: 1fr; }
  .service-launch-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-launch-metrics > div:nth-child(2) { border-right: 0; }
  .service-launch-time-row { grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(120px, .7fr)); }
  .login-app-body { grid-template-columns: 1fr; }
  .login-app-gallery { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .ios-install-gallery { grid-template-columns: repeat(4, 180px); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 680px) {
  .landing-hero-content { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}
@media (max-width: 560px) {
  .bo-admin-content { padding: 14px; }
  .bo-admin-nav-group, .bo-audit-filters, .bo-audit-entry > summary { grid-template-columns: 1fr; }
  .bo-audit-entry > summary > span:last-child { grid-column: auto; }
  .bo-admin-content-head, .bo-audit-pages { align-items: stretch; flex-direction: column; }
  .service-launch-head h2 { font-size: 24px; }
  .service-launch-steps { display: flex; overflow-x: auto; }
  .service-launch-step { min-width: 64px; flex: 1 0 auto; justify-content: center; }
  .service-launch-step strong { display: none; }
  .service-launch-fields, .service-launch-fields-compact, .service-launch-schedule-fields, .service-launch-inline-editor, .service-launch-time-row { grid-template-columns: 1fr; }
  .service-launch-inline-actions, .service-launch-actions, .service-launch-footer { align-items: stretch; flex-direction: column; }
  .service-launch-footer .btn, .service-launch-inline-actions .btn, .service-launch-actions .btn { width: 100%; }
  .service-launch-mode { width: 100%; }
  .service-launch-mode button { flex: 1; }
  .service-launch-metrics, .service-launch-success-summary { grid-template-columns: 1fr; }
  .service-launch-metrics > div, .service-launch-success-summary > div { border-right: 0; border-bottom: 1px solid #DDE3EA; }
  .service-launch-metrics > div:last-child, .service-launch-success-summary > div:last-child { border-bottom: 0; }
  .service-launch-issue { grid-template-columns: 1fr; }
  .service-launch-issue .btn { width: 100%; }
  .service-launch-stops li { grid-template-columns: 30px minmax(0, 1fr); }
  .service-launch-stop-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .landing-header { min-height: 58px; padding: 9px 14px; gap: 10px; }
  .landing-brand span:last-child { display: none; }
  .landing-nav { gap: 10px; font-size: 13px; }
  .landing-nav > a { display: none; }
  .landing-nav > .landing-guide-link { display: inline-flex; align-items: center; min-height: 44px; }
  .landing-hero-image { object-position: 85% center; }
  .landing-hero-shade { background: rgba(255,255,255,.38); }
  .landing-hero-content { width: calc(100% - 28px); padding-block: 26px 38px; }
  .landing-hero h1 { max-width: 350px; font-size: 39px; }
  .landing-lead { margin-top: 14px; font-size: 18px; }
  .landing-actions { width: 100%; margin-top: 20px; }
  .landing-actions .btn { width: 100%; }
  .landing-proof { width: 100%; gap: 12px; margin-top: 16px; }
  .landing-proof span { flex: 1 1 28%; }
  .landing-proof strong { font-size: 16px; }
  .landing-branding-note { display: block; font-size: 11px; }
  .landing-branding-note span { display: block; margin-top: 2px; }
  .landing-hero-visuals { display: none; }
  .landing-release-band { padding: 24px 14px; }
  .landing-release-copy { padding-left: 12px; }
  .landing-release-copy h2 { font-size: 21px; }
  .landing-release-copy ul { display: block; }
  .landing-release-versions { grid-template-columns: 1fr; }
  .landing-release-versions div { border-right: 0; border-bottom: 1px solid #D8DDE5; }
  .landing-release-versions div:last-child { border-bottom: 0; }
  .landing-section { width: calc(100% - 28px); padding: 52px 0; }
  .landing-section h2, .landing-mobile-copy h2 { font-size: 30px; }
  .landing-benefits, .landing-workflow-grid { grid-template-columns: 1fr; gap: 22px; }
  .landing-tour { width: calc(100% - 28px); gap: 28px; }
  .landing-tour-stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .landing-tour-shot { flex: 0 0 88%; scroll-snap-align: start; }
  .landing-role-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-role-tab { border-bottom: 1px solid #D8DDE5; }
  .landing-role-tab:nth-child(even) { border-right: 0; }
  .landing-role-tab:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .landing-role-detail { gap: 24px; margin-top: 24px; }
  .landing-role-figure { aspect-ratio: 16 / 11; }
  .landing-role-copy h3 { font-size: 24px; }
  .landing-role-columns, .landing-report-types { grid-template-columns: 1fr; gap: 0; }
  .landing-role-columns > div { padding: 11px 0; border-bottom: 1px solid #E3E7ED; }
  .landing-metrics-inner { width: calc(100% - 28px); }
  .landing-metric-head { display: none; }
  .landing-metric-row { grid-template-columns: 1fr; gap: 6px; padding: 17px 0; }
  .landing-metric-row > span { font-size: 13px; }
  .landing-report-copy h2 { font-size: 30px; }
  .landing-report-steps { columns: 1; }
  .landing-report-actions .btn { width: 100%; }
  .landing-report-preview { aspect-ratio: 1 / 1.22; }
  .landing-mobile-band { width: 100%; padding: 52px 14px; gap: 34px; }
  .landing-mobile-preview { grid-template-columns: repeat(3, 150px); overflow-x: auto; padding-bottom: 8px; }
  .landing-mobile-preview img:nth-child(2) { margin-top: 0; }
  .landing-product-journey-inner { width: calc(100% - 28px); }
  .landing-journey-grid { margin-top: 30px; }
  .landing-milestone, .landing-update-route > li { gap: 12px; padding-bottom: 24px; }
  .landing-journey-branch-head h3 { font-size: 21px; }
  .landing-deployment-inner { width: calc(100% - 28px); gap: 30px; }
  .landing-deployment-heading h2 { font-size: 30px; }
  .landing-deployment-options { grid-template-columns: 1fr; }
  .landing-requirements { grid-template-columns: 1fr; }
  .landing-requirements div, .landing-requirements div:nth-child(2) { border-right: 0; border-bottom: 1px solid #C7CDD6; }
  .landing-requirements div:last-child { border-bottom: 0; }
  .landing-requirements-note { margin-top: -14px; }
  .landing-capacity-profile { margin-top: -8px; }
  .landing-capacity-profile summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; }
  .landing-capacity-profile summary span { grid-column: 1; }
  .landing-capacity-profile summary small { display: block; grid-column: 1; margin-top: 4px; }
  .landing-capacity-profile summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .landing-capacity-profile[open] .capacity-summary-closed { display: none; }
  .landing-capacity-intro { grid-template-columns: 1fr; gap: 8px; }
  .landing-capacity-head { display: none; }
  .landing-capacity-list li { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 16px; padding: 14px 0; }
  .landing-capacity-list li > span:last-child { grid-column: 1 / -1; }
  .landing-footer { padding: 18px 14px; }
  .login-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 18px; }
  .login-app-modal-layer { padding: 8px; }
  .login-app-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 16px; }
  .login-app-dialog-head { gap: 10px; }
  .login-app-dialog-head h2 { font-size: 24px; }
  .login-app-gallery { grid-template-columns: repeat(4, 142px); }
  .ios-install-guide-head { display: block; }
  .ios-install-guide-head p { margin-top: 5px; }
  .ios-install-gallery { grid-template-columns: repeat(4, 172px); }
  .sps-map-route-label { display: none; }
  .sps-map-stop-label { display: none; }
}
