/* Hoppvia operations: shared, readable workspace styles. Load after module CSS. */
:root {
  --paper: #f5f6f2;
  --surface: #ffffff;
  --ink: #163a30;
  --muted: #66796f;
  --line: #dde5dc;
  --green: #1f6048;
  --yellow: #f4d976;
  --sidebar: #123b2f;
  --red: #ae4039;
  --workspace-radius: 14px;
  --workspace-shadow: 0 2px 6px #153b3105, 0 12px 24px #153b3103;
}

html { scrollbar-gutter: stable; }
body { font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease; }
:focus-visible { outline: 3px solid #4e977c; outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
::selection { background: #e1edb5; color: #123b2f; }

/* Navigation remains usable when every operation module is enabled. */
.shell { grid-template-columns: 246px minmax(0, 1fr); }
.sidebar { width: 246px; padding: 27px 18px 18px; background: var(--sidebar); }
.sidebar .wordmark { font-size: 28px; padding: 0 10px; letter-spacing: -1.2px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; }
.workspace { margin: 26px 0 20px; border-color: #426556; background: #1d473a; border-radius: 12px; padding: 13px 12px; }
.workspace-icon { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; background: #375b49; }
.workspace strong { font-size: 14px; font-weight: 650; }
.workspace small { font-size: 11px; color: #b9d0c2; margin-top: 2px; }
.workspace-arrow { color: #bfd3c7; font-size: 18px; }
.nav-label { font-size: 10px; letter-spacing: 1.3px; color: #a7c2b0; padding-left: 13px; margin-bottom: 10px; }
#navigation { min-height: 0; gap: 3px; padding: 0 2px 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #608574 transparent; }
#navigation button { min-height: 42px; border-radius: 9px; padding: 10px 12px; gap: 12px; color: #d0e1d6; font-size: 13px; font-weight: 500; line-height: 1.4; }
#navigation svg { width: 19px; height: 19px; flex: 0 0 19px; stroke-width: 1.65; opacity: .88; }
#navigation button:hover:not(.active) { color: #fff; background: #285443; }
#navigation button.active { color: #1e3c2d; background: var(--yellow); font-weight: 700; box-shadow: 0 3px 8px #06221816; }
#navigation button.active svg { opacity: 1; }
#navigation .nav-count { background: #3d6b52; color: #fff; min-width: 22px; padding: 2px 6px; font-size: 11px; text-align: center; }
#navigation .active .nav-count { background: #dec064; color: #2a432b; }
#navigation .nav-section { display: block; flex-shrink: 0; padding: 17px 12px 6px; margin: 0; color: #aac6b5; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; line-height: 1.5; text-transform: uppercase; }
#navigation .nav-section:first-child { padding-top: 2px; }
.sidebar-bottom { padding: 12px 8px 0; }
.sidebar-bottom > a { color: #c0d5c7; padding: 10px 1px 16px; font-size: 12px; }
.operator { border-color: #416250; padding-top: 17px; gap: 11px; }
.operator > div { min-width: 0; flex: 1; }
.operator strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operator small { font-size: 11px; color: #b1cebb; margin-top: 2px; }
.operator .avatar { width: 36px; height: 36px; font-size: 12px; background: #dce9d9; }
.operator .icon-button { color: #d0e2d6; width: 34px; height: 36px; flex: 0 0 34px; }
.operator .icon-button:hover { background: #365c48; }

/* App frame and a restrained, consistent information hierarchy. */
.workspace-main { display: flex; flex-direction: column; min-height: 100vh; }
.topbar { min-height: 72px; padding: 14px 30px; gap: 16px; border-color: var(--line); }
.breadcrumb { color: #627266; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.breadcrumb span { color: #a1aea0; padding: 0 11px; }
.breadcrumb strong { color: #214938; font-weight: 650; }
.topbar-right { gap: 16px; flex-shrink: 0; }
.connection { font-size: 12px; color: #456e56; gap: 8px; }
.connection .status-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px #edf5e8; background: #4d9b67; }
.connection.offline .status-dot { background: var(--red); box-shadow: 0 0 0 3px #f9ece8; }
.development-banner { padding: 9px 30px; font-size: 10px; letter-spacing: .85px; color: #735c20; background: #fbf3dc; border-color: #ecdfb5; line-height: 1.6; }
.development-banner span { font-size: 12px; color: #7b692e; padding-left: 11px; }
main { width: 100%; max-width: 1680px; padding: 30px 30px 26px; flex: 1; }
.page-heading { margin-bottom: 24px; gap: 20px; align-items: flex-start; }
.page-heading h1 { font-size: 28px; letter-spacing: -.9px; line-height: 1.2; font-weight: 700; color: #153d2c; }
.page-heading p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #627362; max-width: 760px; }
.eyebrow { font-size: 11px; letter-spacing: 1.25px; font-weight: 750; color: #637560; line-height: 1.5; }
.date-chip { font-size: 12px; font-weight: 500; padding: 10px 12px; border-radius: 9px; color: #566d4f; box-shadow: 0 1px 2px #18382204; }
.app-footer { padding: 10px 30px 20px; color: #65755e; font-size: 11px; gap: 16px; }

/* Shared controls keep the same target sizes in every workflow. */
.button { border-radius: 9px; min-height: 40px; padding: 9px 14px; font-size: 13px; line-height: 1.45; font-weight: 600; border-color: #d9e3d4; color: #365b35; gap: 8px; }
.button:hover { filter: none; background: #f5f8ef; border-color: #b9cbb0; }
.button.primary { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 2px 3px #153b3110; }
.button.primary:hover { background: #174d39; border-color: #174d39; }
.button.quiet { min-height: 38px; padding: 8px 12px; border-color: #e0e7dc; font-size: 12px; color: #5a7450; font-weight: 550; }
.button.quiet:hover { background: #f3f6ee; }
.button.danger { color: #a83c32; border-color: #edd0c5; background: #fff7f2; }
.button.danger:hover { background: #ffede3; border-color: #d8a99a; }
.button.link { border: 0; min-height: 32px; padding: 5px 8px; margin-left: -8px; border-radius: 7px; color: #226b43; background: transparent; font-size: 12px; font-weight: 650; }
.button.link:hover { background: #edf4e7; }
.button:disabled { box-shadow: none; opacity: .45; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 7px; border-radius: 9px; color: #607457; }
.icon-button:hover { background: #ecf2e4; color: #265333; }
.mobile-menu { display: none; }
input, select, textarea { border-radius: 9px; border-color: #d2dfc9; padding: 11px 12px; font-size: 14px; color: #204528; background: #fff; line-height: 1.5; }
input, select { min-height: 44px; }
input::placeholder, textarea::placeholder { color: #65745c; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: #4b8e5f; outline: 2px solid #6eaa6d; outline-offset: 1px; }
input[readonly], textarea[readonly] { background: #f5f8f0; }
input[type=checkbox], input[type=radio] { accent-color: #2b6946; min-height: 0; }
label { font-size: 13px; font-weight: 600; color: #405e37; margin: 16px 0 8px; line-height: 1.5; }
textarea { min-height: 100px; line-height: 1.7; }
.form-grid { gap: 16px; align-items: start; }
.form-actions { margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.check-label { font-size: 13px; color: #506c42; font-weight: 450; gap: 10px; }
.check-label input { width: 18px; height: 18px; margin-top: 2px; border-radius: 4px; }
.error-text { font-size: 13px; color: #ae3930; }
.form-error { color: #9c382b; font-size: 13px; line-height: 1.6; border: 1px solid #e8bdae; background: #fff3ed; border-radius: 9px; padding: 11px 13px; margin: 16px 0; }
.form-error:empty { display: none; }
.notice { padding: 14px 17px; border-radius: 11px; font-size: 13px; color: #796326; background: #faf5e4; border-color: #e9dfba; margin-bottom: 20px; }

/* Cards, metrics and real operational tables. */
.panel, .stat, .capability { border-color: #dfe7d7; border-radius: var(--workspace-radius); box-shadow: var(--workspace-shadow); }
.panel-head { padding: 23px 24px 19px; gap: 18px; }
.panel-head h2 { font-size: 17px; font-weight: 650; color: #2a512f; line-height: 1.4; letter-spacing: -.3px; }
.panel-head p { margin-top: 5px; font-size: 13px; line-height: 1.6; color: #64765b; }
.panel-head .button { font-size: 12px; flex-shrink: 0; }
.stats { gap: 16px; margin-bottom: 24px; }
.stat { padding: 20px 21px; }
.stat-top { font-size: 13px; color: #627653; gap: 12px; line-height: 1.5; }
.stat-icon { border-radius: 8px; padding: 7px; min-width: 30px; text-align: center; background: #eef4e5; color: #5c7947; font-size: 14px; }
.stat-value { font-size: 32px; font-weight: 650; letter-spacing: -1px; margin: 13px 0 9px; color: #214b28; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-bottom { font-size: 12px; color: #627459; line-height: 1.5; }
.stat-bottom strong { color: #397b40; font-weight: 650; }
.overview-grid { gap: 22px; grid-template-columns: minmax(0, 1.4fr) minmax(315px, 1fr); }
.chart { padding: 9px 24px 18px; }
.chart svg { height: 195px; }
.chart text { fill: #6d825e; font-size: 11px; }
.chart .gridline { stroke: #e8eddf; }
.chart .bar { fill: #719766; }
.chart .bar.last { fill: #d4b64b; }
.legend { font-size: 12px; color: #5f7650; gap: 7px; }
.chart-note { font-size: 12px; color: #617654; margin: 0 24px 20px; line-height: 1.5; }
.attention-row { padding: 17px 24px; gap: 13px; border-color: #eaf0df; }
.attention-symbol { width: 37px; height: 37px; border-radius: 11px; font-size: 18px; background: #f8f1d7; color: #816e2a; flex: 0 0 37px; }
.attention-row strong { font-size: 13px; font-weight: 650; color: #405c36; }
.attention-row small { font-size: 12px; color: #637357; margin-top: 3px; }
.attention-number { color: #3b622d; font-size: 22px; font-variant-numeric: tabular-nums; }
.attention-row button { color: #5e774f; width: 30px; min-height: 36px; border-radius: 8px; padding: 5px; font-size: 22px; }
.attention-row button:hover { color: #255c28; background: #eef4e4; }
.table-wrap { min-height: 130px; scrollbar-width: thin; scrollbar-color: #b7c7a8 #f7f9f2; }
table { font-variant-numeric: tabular-nums; }
th { font-size: 11px; letter-spacing: .6px; font-weight: 700; color: #607454; background: #f7f9f2; padding: 14px 22px; border-color: #e2e9d8; }
td { font-size: 13px; color: #60744f; padding: 17px 22px; border-color: #ebf0e2; line-height: 1.5; }
td strong { font-size: 13px; color: #355631; font-weight: 650; line-height: 1.5; }
td small { font-size: 12px; color: #637656; margin-top: 4px; line-height: 1.5; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcf6; }
.person { gap: 11px; }
.person .avatar { width: 36px; height: 36px; font-size: 11px; background: #ecf2e2; color: #5c7741; }
.avatar { font-size: 12px; }
.mono, td strong.mono { font-size: 12px; letter-spacing: -.25px; }
.cell-route { max-width: 255px; }
.badge { padding: 5px 9px; border-radius: 7px; font-size: 11px; line-height: 1.5; font-weight: 550; color: #63724e; background: #eef1e7; gap: 6px; }
.badge-dot { width: 5px; height: 5px; }
.badge.good { color: #286b3a; background: #edf6e6; }
.badge.warn { color: #8b691c; background: #faf2d8; }
.badge.bad { color: #a34134; background: #fcece4; }
.badge.blue { color: #3c6686; background: #eaf2f7; }
.table-toolbar { padding: 20px 22px; gap: 12px; border-bottom: 1px solid #eef2e6; align-items: center; }
.search-box { max-width: 390px; }
.search-box > span { top: 12px; left: 14px; font-size: 18px; color: #60764f; line-height: 20px; }
.search-box input { padding: 11px 14px 11px 38px; font-size: 13px; }
.filters { gap: 10px; }
.filters select, .table-toolbar > select { font-size: 13px; padding: 10px 12px; min-height: 44px; }
.pager { padding: 16px 22px; border-top: 1px solid #eaf0df; font-size: 12px; color: #627556; gap: 14px; }
.pager > div { gap: 8px; }
.pager .button { min-height: 35px; padding: 7px 10px; font-size: 12px; }
.empty { padding: 48px 26px; }
.empty h3 { font-size: 17px; color: #365a2c; line-height: 1.5; font-weight: 650; margin-bottom: 9px; }
.empty p { font-size: 13px; line-height: 1.7; color: #627652; max-width: 570px; margin-inline: auto; }
.empty .button { margin-top: 19px; }
.capabilities { gap: 18px; }
.capability { padding: 24px; }
.capability h3 { color: #375f2d; font-size: 18px; line-height: 1.5; margin: 12px 0 8px; font-weight: 650; }
.capability p { font-size: 13px; color: #617552; line-height: 1.7; }
.capability > .button { margin-top: 19px; }
#main[data-page="security"] .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-controls { padding: 23px 24px; }
.report-controls .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.report-controls label { margin-top: 0; }
.pricing-category, .zone-row { padding: 20px; border-radius: 11px; border-color: #dbe6cd; background: #fafcf7; margin: 22px 0; }
.zone-row legend { font-size: 14px; color: #425f31; padding: 0 5px; }
.permission-checks { gap: 5px 15px; margin: 12px 0; }

/* Detail drawers use clear data blocks and comfortable editing fields. */
.drawer { width: 620px; overflow-y: auto; background: #f7f9f3; box-shadow: -15px 0 70px #123b311f; }
.drawer::backdrop { background: #102b245c; backdrop-filter: blur(2px); }
.drawer-heading { padding: 25px 28px; position: sticky; top: 0; z-index: 4; border-color: #dfe8d4; background: #fffffff7; backdrop-filter: blur(10px); }
.drawer-heading h2 { font-size: 24px; color: #1e492a; font-weight: 650; margin-top: 5px; line-height: 1.35; }
.drawer-heading .icon-button { background: #f0f5e7; color: #5d7549; flex-shrink: 0; }
.drawer-body { padding: 25px 28px 38px; }
.drawer-body > p { font-size: 14px; line-height: 1.7; color: #5f754a; }
.detail-grid { margin: 20px 0 24px; gap: 20px 18px; }
.detail-grid dt { font-size: 12px; margin-bottom: 5px; color: #627456; line-height: 1.5; }
.detail-grid dd { font-size: 14px; color: #2c512c; font-weight: 500; line-height: 1.6; }
.detail-section { padding: 22px; border-radius: 13px; border-color: #dfe8d4; margin-bottom: 20px; box-shadow: 0 2px 3px #123b3103; }
.detail-section h3 { color: #395d2e; font-size: 15px; line-height: 1.5; font-weight: 650; margin-bottom: 16px; }
.detail-section p { font-size: 13px; color: #60764e; }
.detail-section pre { color: #62774f; font-size: 12px; line-height: 1.8; }
.document-row { padding: 17px 0; border-color: #e4ecd8; }
.document-info strong { font-size: 13px; color: #426432; }
.document-info small { color: #657655; font-size: 12px; margin-top: 4px; }
.document-row select { padding: 10px 12px; font-size: 13px; }
.reply { background: #f1f6e8; border-radius: 10px; padding: 16px; margin: 13px 0; }
.reply small { color: #617550; font-size: 11px; margin-top: 9px; }
.bank-details { padding: 17px; border-radius: 11px; border-color: #cadbbe; background: #fafcf7; }
.bank-details p { font-size: 12px; }
.account-amount { font-size: 30px; color: #2e6334; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pdf-controls { font-size: 12px; line-height: 1.5; flex-wrap: wrap; }
.secret-key { border-radius: 10px; background: #eff5e5; border-color: #dbe7ce; color: #385c2a; font-size: 14px; padding: 20px; }
.toast { bottom: 24px; left: calc(50% + 123px); border-radius: 12px; background: #173f2c; color: #fff; font-size: 13px; line-height: 1.6; padding: 15px 20px; box-shadow: 0 8px 40px #173b3129; }
.toast.error { background: #a04433; }
.loading { padding: 62px 25px; color: #607651; font-size: 14px; }
.loading::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 16px; border: 2px solid #dfebd3; border-top-color: #518644; border-radius: 50%; animation: workspace-spin 800ms linear infinite; }
@keyframes workspace-spin { to { transform: rotate(360deg); } }

/* Sign-in has the same calm brand and clear control hierarchy as the console. */
.login-layout { grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
.login-story { padding: 44px 10%; background: #153e2e; }
.login-story .wordmark { font-size: 31px; }
.login-story > .eyebrow { font-size: 11px; color: #bad1b6; margin-top: clamp(56px, 10vh, 105px); letter-spacing: 1.7px; }
.login-story h1 { font-weight: 550; font-size: clamp(44px, 4.65vw, 70px); line-height: 1.06; letter-spacing: -2.5px; margin: 25px 0; color: #fafcf3; }
.login-story p { max-width: 350px; color: #bbd0b3; font-size: 16px; line-height: 1.8; }
.road-art { margin: 18px -55px -10px; opacity: .9; }
.road-art path { stroke: #2a573a; }
.road-art .road-dash { stroke: #7a9d66; }
.road-art circle { fill: #f0d274; stroke: #153e2e; }
.story-footer { color: #c2d3b8; font-size: 12px; line-height: 1.6; margin-top: auto; padding-top: 20px; }
.login-side { padding: 45px 8%; background: #f8f9f4; }
.login-card { max-width: 420px; }
.login-card h2 { font-size: 30px; letter-spacing: -.85px; margin: 15px 0 10px; font-weight: 650; color: #1b4626; }
.login-card > p { color: #637655; font-size: 14px; line-height: 1.7; }
.login-card form { margin-top: 32px; }
.login-card label { font-size: 13px; }
.login-card input { min-height: 48px; border-color: #d4e1c8; background: #fff; font-size: 15px; }
.login-card .primary { min-height: 48px; margin-top: 23px; font-size: 14px; border-radius: 10px; }
.login-note { font-size: 12px !important; color: #647456 !important; margin-top: 20px !important; }
.login-bottom { max-width: 620px; width: 100%; margin-inline: auto; font-size: 11px; color: #647456; gap: 20px; }
.environment-note { font-size: 12px; line-height: 1.6; color: #846d2d; padding: 11px 14px; background: #f6efd9; border: 1px solid #e9ddba; border-radius: 9px; margin-top: 25px; }

/* Fleet modules follow the same visual language without changing map geometry. */
#main[data-page="fleet"] { padding: 28px 30px 26px; }
.fleet-workspace { --fleet-border: #dce5d3; --fleet-bg: #f5f7ef; }
.fleet-page-heading { margin-bottom: 23px; }
.fleet-page-heading .eyebrow { font-size: 11px; color: #62755a; letter-spacing: 1.25px; }
.fleet-page-heading h1 { font-size: 30px; color: #1e4628; font-weight: 650; letter-spacing: -.85px; }
.fleet-page-heading p { font-size: 14px; color: #62765a; margin-top: 10px; max-width: 720px; }
.fleet-city-chip { font-size: 12px; padding: 10px 12px; border-color: #dce6d1; color: #5e774e; border-radius: 10px; }
.fleet-metrics { gap: 15px; margin-bottom: 22px; }
.fleet-metric { padding: 18px 20px 17px; border-color: #dde7d1; border-radius: 12px; box-shadow: var(--workspace-shadow); }
.fleet-metric:hover { border-color: #b9cca7; box-shadow: 0 3px 14px #315d2410; }
.fleet-metric-label { font-size: 13px; font-weight: 550; color: #5d754e; gap: 8px; }
.fleet-metric-label i { width: 7px; height: 7px; }
.fleet-metric > strong { font-size: 34px; color: #2b512b; margin: 13px 0 11px; line-height: 1; }
.fleet-metric-note { color: #657558; font-size: 12px; line-height: 1.5; }
.fleet-toolbar { margin-bottom: 18px; gap: 11px; }
.fleet-search { border-radius: 10px; min-height: 44px; border-color: #d9e5cd; padding: 0 14px; max-width: 390px; }
.fleet-search input { font-size: 13px; min-height: 42px; color: #4b673a; }
.fleet-search > .fleet-icon { width: 17px; height: 17px; color: #627655; }
.fleet-toolbar > select { min-height: 44px; height: auto; padding: 10px 12px; border-radius: 10px; font-size: 13px; border-color: #d9e5cd; color: #506e3b; max-width: 210px; }
.fleet-view-switch { background: #eaf0e1; border-color: #dbe6ce; border-radius: 10px; padding: 4px; }
.fleet-view-switch button { font-size: 12px; min-height: 34px; padding: 7px 12px; border-radius: 7px; color: #637554; }
.fleet-view-switch button[aria-selected="true"] { color: #3e6533; border-color: #dce5d0; }
.fleet-grid { grid-template-columns: minmax(0, 1fr) 324px; gap: 20px; }
.fleet-map-panel, .fleet-rail, .fleet-rides, .fleet-directory-table { border-radius: var(--workspace-radius); border-color: #dce5d3; box-shadow: var(--workspace-shadow); }
.fleet-map-heading, .fleet-rail-heading { padding: 18px 20px; }
.fleet-map-heading h2, .fleet-rail-heading h2 { font-size: 17px; color: #42632f; font-weight: 650; margin-top: 5px; }
.fleet-auto { font-size: 12px; color: #5e784b; }
.fleet-map-label { font-size: 11px; color: #587448; border-radius: 9px; padding: 8px 11px; border-color: #dae6cc; box-shadow: 0 3px 12px #23492712; }
.fleet-map-tools { gap: 11px; }
.fleet-map-button, .fleet-pan-menu summary { width: 38px; height: 38px; border-radius: 9px; border-color: #cfdcc2; color: #486d34; box-shadow: 0 3px 10px #14382414; }
.fleet-map-button:hover, .fleet-pan-menu summary:hover { background: #f1f7e8; }
.fleet-zoom { border-radius: 9px; border-color: #cfdcc2; box-shadow: 0 3px 10px #14382414; }
.fleet-zoom .fleet-map-button { width: 36px; box-shadow: none; }
.fleet-pan-menu[open] > div { right: 46px; border-radius: 9px; }
.fleet-pan-menu button { min-height: 32px; min-width: 34px; font-size: 15px; border-radius: 6px; }
.fleet-pan-menu button:hover { background: #f0f6e5; }
.fleet-map-message, .fleet-map-selection { border-radius: 11px; border-color: #d6e3c6; padding: 13px 15px; background: #fffffff5; box-shadow: 0 5px 20px #224b2414; }
.fleet-map-message strong, .fleet-map-selection strong { font-size: 12px; color: #4a6838; }
.fleet-map-message span, .fleet-map-selection span { font-size: 11px; color: #627652; line-height: 1.5; margin-top: 4px; }
.fleet-selection-icon { width: 36px; height: 36px; border-radius: 9px; }
.fleet-map-footer { padding: 13px 18px; font-size: 11px; color: #617653; gap: 12px; }
.fleet-map-legend > span { font-size: 11px; color: #5e7749; gap: 6px; }
.fleet-map-legend i { width: 6px; height: 6px; }
.fleet-layer-note { padding: 11px 18px; font-size: 11px; color: #637654; background: #fbfcf8; }
.fleet-layer-note a { color: #527a41; }
.fleet-map-attribution { font-size: 10px; line-height: 1.5; color: #546f45; background: #fffffff5; }
.fleet-rail-heading h2 span, .fleet-rides-heading h2 span { min-width: 23px; height: 23px; padding: 0 7px; font-size: 11px; border-radius: 7px; color: #5f764a; background: #eef4e5; }
.fleet-driver-list { padding: 0 10px 10px; max-height: 390px; scrollbar-color: #c3d3b2 transparent; }
.fleet-driver-card { padding: 15px 11px; border-radius: 10px; gap: 11px; }
.fleet-driver-card:hover { background: #f5f8ee; }
.fleet-driver-card.selected { background: #eff5e4; border-color: #cfdcbb; }
.fleet-driver-avatar { width: 40px; height: 48px; border-radius: 11px; background: #edf3e2; color: #60764b; font-size: 12px; }
.fleet-card-vehicle { width: 19px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 3px #153b3126); }
.fleet-driver-avatar > i { width: 8px; height: 8px; }
.fleet-driver-info > strong { font-size: 13px; color: #43632f; padding-right: 68px; line-height: 1.45; }
.fleet-driver-info > span { font-size: 11px; color: #637654; line-height: 1.6; margin-top: 3px; }
.fleet-driver-info > small { font-size: 11px; color: #667455; margin-top: 8px; line-height: 1.5; }
.fleet-driver-info > small.fresh { color: #447c48; }
.fleet-driver-info > small .fleet-icon { width: 12px; height: 12px; }
.fleet-driver-status { font-size: 10px; font-weight: 500; padding: 4px 7px; border-radius: 6px; color: #647451; background: #f1f4e9; border-color: #e0e7d1; }
.fleet-driver-card > .fleet-driver-status { top: 15px; right: 10px; }
.fleet-driver-status.available { color: #367440; background: #ecf6e5; border-color: #d7e7ca; }
.fleet-driver-status.busy { color: #8c6b23; background: #faf2d9; border-color: #eddfb3; }
.fleet-driver-status.stale { color: #896931; background: #faf2e2; border-color: #ecdfc3; }
.fleet-directory-note { font-size: 12px; color: #627554; padding: 17px 20px; }
.fleet-directory-pager { font-size: 11px; color: #607453; padding: 14px 19px; }
.fleet-page-button { min-width: 30px; min-height: 30px; border-radius: 7px; font-size: 14px; color: #5e774b; border-color: #d9e5cd; }
.fleet-page-button:hover:not(:disabled) { background: #eef5e4; }
.fleet-driver-detail { padding: 19px 20px; background: #fafcf5; }
.fleet-detail-top > strong { color: #4f6b3b; font-size: 14px; }
.fleet-driver-detail dl > div { font-size: 12px; line-height: 1.6; }
.fleet-driver-detail dt { color: #657655; }
.fleet-driver-detail dd { color: #537441; }
.fleet-detail-actions { gap: 8px; margin-top: 18px; }
.fleet-detail-actions .button { min-height: 36px; font-size: 12px; border-radius: 8px; padding: 8px 10px; color: #567a41; }
.fleet-directory-empty { padding: 34px 21px; }
.fleet-directory-empty strong { font-size: 14px; color: #567448; }
.fleet-directory-empty p { font-size: 12px; color: #647654; }
.fleet-directory-empty .button { font-size: 12px; }
.fleet-rides { margin-top: 22px; }
.fleet-rides-heading { padding: 19px 20px; }
.fleet-rides-heading h2 { font-size: 17px; color: #3f6530; margin-top: 5px; }
.fleet-rides-heading .button { min-height: 35px; font-size: 12px; padding: 7px 11px; border-radius: 8px; }
.fleet-rides-empty { padding: 24px 20px; }
.fleet-rides-empty strong { font-size: 14px; color: #4c7038; }
.fleet-rides-empty p { font-size: 12px; color: #637554; line-height: 1.6; }
.fleet-rides-empty > span:first-child, .fleet-ride-icon { width: 42px; height: 42px; border-radius: 12px; background: #f4f8ec; color: #5e754b; border-color: #dde9d0; }
.fleet-monitor-state { font-size: 11px; color: #5a7847; padding: 6px 9px; border-radius: 7px; }
.fleet-ride-card { padding: 18px 20px; gap: 13px; }
.fleet-ride-route strong { font-size: 13px; color: #426d31; }
.fleet-ride-route small { font-size: 11px; color: #637652; }
.fleet-rides-limit, .fleet-data-note { font-size: 11px; line-height: 1.6; color: #637454; }
.fleet-directory-table td { padding-block: 17px; }

/* Responsive layouts favor useful controls over a squeezed desktop clone. */
@media (min-width: 1450px) {
  main, #main[data-page="fleet"] { padding-inline: 38px; }
  .topbar, .development-banner, .app-footer { padding-inline: 38px; }
  .fleet-grid { grid-template-columns: minmax(0, 1fr) 342px; }
}
@media (max-width: 1179px) {
  .shell { grid-template-columns: 218px minmax(0, 1fr); }
  .sidebar { width: 218px; padding-inline: 14px; }
  .sidebar .wordmark { font-size: 26px; padding-inline: 6px; }
  .workspace small { font-size: 10px; }
  #navigation button { font-size: 12px; padding-inline: 10px; gap: 10px; }
  main, #main[data-page="fleet"] { padding-inline: 24px; }
  .topbar, .development-banner, .app-footer { padding-inline: 24px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid .attention-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attention-list .panel-head { grid-column: 1 / -1; }
  .stats, .fleet-metrics { gap: 12px; }
  .stat { padding: 17px; }
  .stat-top { font-size: 12px; }
  .stat-value { font-size: 28px; }
  .fleet-metric { padding: 17px 15px; }
  .fleet-metric-label { font-size: 12px; white-space: normal; }
  .fleet-metric-note { font-size: 11px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .fleet-driver-list { max-height: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-inline: 11px; }
  .fleet-driver-card { padding: 14px 11px; }
  .fleet-driver-info > strong { padding-right: 0; }
  .fleet-driver-card > .fleet-driver-status { position: static; margin-left: 49px; }
  .toast { left: calc(50% + 109px); }
}
@media (max-width: 950px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-driver-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-metric { padding: 16px 13px; }
  .fleet-metric-label { font-size: 11px; }
  .fleet-metric-note { font-size: 10px; }
  .fleet-metric > strong { font-size: 30px; }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-toolbar { flex-wrap: wrap; }
  .table-toolbar > .search-box { min-width: 0; max-width: none; flex-basis: 100%; }
  .filters { flex: 1; }
  .filters select { flex: 1; min-width: 0; }
  .login-story { padding: 40px 8%; }
  .login-side { padding-inline: 7%; }
  .login-story h1 { letter-spacing: -1.5px; font-size: 48px; }
}
@media (max-width: 760px) {
  html { scrollbar-gutter: auto; }
  .shell { display: block; }
  .sidebar { width: min(290px, 85vw); padding: 25px 18px 18px; }
  .sidebar .wordmark { font-size: 28px; padding-inline: 10px; }
  .sidebar .workspace { margin: 26px 0 20px; }
  .workspace small { font-size: 11px; }
  #navigation button { font-size: 13px; min-height: 43px; padding-inline: 12px; gap: 12px; }
  .sidebar-close { right: 13px; top: 26px; color: #d6e6d6; background: #28533c; width: 30px; height: 30px; z-index: 2; }
  .sidebar-close:hover { color: #fff; background: #426a4c; }
  .topbar { min-height: 67px; padding: 13px 18px; gap: 9px; }
  .topbar-right { gap: 9px; }
  .breadcrumb { font-size: 12px; flex: 1; }
  .breadcrumb span { padding-inline: 6px; }
  .connection { font-size: 0; gap: 0; }
  .connection .status-dot { box-shadow: none; width: 7px; height: 7px; }
  .topbar .button.quiet { font-size: 12px; padding: 8px 10px; min-height: 37px; }
  .mobile-menu { display: inline-grid; flex: 0 0 34px; width: 34px; height: 36px; }
  .development-banner { padding: 9px 19px; font-size: 9px; line-height: 1.5; }
  .development-banner span { padding: 4px 0 0; display: block; font-size: 11px; }
  main, #main[data-page="fleet"] { padding: 25px 18px 22px; }
  .page-heading { margin-bottom: 22px; gap: 12px; }
  .page-heading h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.8px; }
  .page-heading p { font-size: 13px; margin-top: 9px; }
  .date-chip { display: none; }
  .app-footer { padding: 8px 18px 20px; font-size: 10px; flex-wrap: wrap; gap: 5px 16px; }
  .stats { gap: 11px; }
  .stat { padding: 17px 15px; }
  .stat-top { font-size: 12px; }
  .stat-value { font-size: 29px; }
  .stat-bottom { font-size: 11px; }
  .overview-grid .attention-list { display: block; }
  .panel-head { padding: 20px 18px 16px; gap: 10px; }
  .panel-head h2 { font-size: 16px; }
  .panel-head p { font-size: 12px; }
  .panel-head .button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .attention-row { padding: 17px 18px; gap: 11px; }
  .attention-row small { font-size: 11px; }
  .chart { padding-inline: 18px; }
  .chart-note { margin-inline: 18px; font-size: 11px; }
  .table-toolbar { padding: 17px 18px; }
  .table-toolbar .search-box { flex-basis: 100%; max-width: none; }
  .table-toolbar > select { width: 100%; max-width: none; }
  .filters { width: 100%; gap: 8px; flex-wrap: wrap; }
  .filters select { font-size: 12px; min-width: 0; }
  th, td { padding-inline: 18px; }
  td { font-size: 12px; }
  td strong { font-size: 13px; }
  td small { font-size: 11px; }
  .pager { padding: 15px 18px; font-size: 11px; gap: 8px; }
  .pager .button { font-size: 11px; padding: 7px 9px; }
  .capabilities, #main[data-page="security"] .capabilities { grid-template-columns: 1fr; }
  .capability { padding: 22px; }
  .report-controls { padding: 20px 18px; }
  .report-controls .form-grid, .form-grid { grid-template-columns: 1fr; gap: 3px; }
  .report-controls label { margin-top: 15px; }
  .report-controls .form-grid > div:first-child label { margin-top: 0; }
  .permission-checks { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
  .drawer-heading { padding: 22px 20px; }
  .drawer-heading h2 { font-size: 23px; }
  .drawer-body { padding: 22px 20px 34px; }
  .detail-section { padding: 20px; }
  .toast { left: 50%; width: calc(100% - 36px); max-width: 520px; bottom: 18px; font-size: 12px; }
  .login-layout { display: block; }
  .login-story { display: none; }
  .login-side { min-height: 100dvh; padding: 38px 28px 22px; }
  .login-card { max-width: 420px; }
  .login-card h2 { font-size: 29px; }
  .login-bottom { margin-top: 34px; font-size: 10px; }
  .fleet-page-heading h1 { font-size: 27px; }
  .fleet-page-heading p { font-size: 13px; max-width: 420px; }
  .fleet-grid { gap: 18px; }
  .fleet-metrics { gap: 11px; margin-bottom: 18px; }
  .fleet-toolbar { gap: 9px; }
  .fleet-search { max-width: none; }
  .fleet-toolbar > select { font-size: 12px; min-width: 140px; }
  .fleet-map-heading, .fleet-rail-heading { padding: 17px 18px; }
  .fleet-map-heading h2, .fleet-rail-heading h2 { font-size: 16px; }
  .fleet-auto { font-size: 11px; }
  .fleet-driver-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-driver-info > strong { font-size: 13px; }
  .fleet-directory-note { font-size: 11px; }
  .fleet-rides-heading { padding: 18px; }
  .fleet-rides-heading h2 { font-size: 16px; }
  .fleet-rides-heading .button { font-size: 11px; }
}
@media (max-width: 560px) {
  .fleet-page-heading { gap: 12px; align-items: flex-start; }
  .fleet-page-heading .eyebrow { font-size: 10px; }
  .fleet-page-heading h1 { font-size: 27px; }
  .fleet-page-heading p { font-size: 12px; max-width: 260px; line-height: 1.6; }
  .fleet-city-chip { font-size: 10px; padding: 8px 9px; margin-top: 6px; }
  .fleet-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-metric { padding: 15px 16px; }
  .fleet-metric-label { font-size: 12px; }
  .fleet-metric > strong { font-size: 31px; margin: 13px 0 10px; }
  .fleet-metric-note { font-size: 11px; }
  .fleet-toolbar { flex-wrap: wrap; }
  .fleet-search { flex-basis: 100%; margin-bottom: 1px; }
  .fleet-toolbar > select { flex: 1; min-width: 0; max-width: none; font-size: 12px; }
  .fleet-view-switch button { font-size: 12px; padding: 7px 10px; }
  .fleet-map-message, .fleet-map-selection { padding: 11px 12px; left: 12px; max-width: calc(100% - 73px); }
  .fleet-map-message strong, .fleet-map-selection strong { font-size: 11px; }
  .fleet-map-message span, .fleet-map-selection span { font-size: 10px; line-height: 1.5; }
  .fleet-map-tools { right: 11px; gap: 9px; }
  .fleet-map-button, .fleet-pan-menu summary { width: 36px; height: 36px; }
  .fleet-zoom .fleet-map-button { width: 34px; }
  .fleet-map-label { font-size: 10px; padding: 8px 10px; }
  .fleet-map-footer { padding: 12px 15px; font-size: 10px; gap: 9px; }
  .fleet-map-legend > span { font-size: 10px; }
  .fleet-layer-note { padding: 11px 15px; font-size: 10px; }
  .fleet-driver-list { display: block; padding: 0 10px 10px; }
  .fleet-driver-card { flex-wrap: nowrap; padding: 15px 11px; border-color: transparent; }
  .fleet-driver-card + .fleet-driver-card { border-top-color: #e8efdb; }
  .fleet-driver-card.selected { border-color: #cfdcbb; }
  .fleet-driver-card > .fleet-driver-status { position: absolute; right: 10px; top: 15px; margin: 0; }
  .fleet-driver-info > strong { padding-right: 72px; font-size: 14px; }
  .fleet-driver-info > span, .fleet-driver-info > small { font-size: 11px; }
  .fleet-driver-detail { padding: 19px 18px; }
  .fleet-driver-detail dl { grid-template-columns: 1fr; gap: 10px; }
  .fleet-driver-detail dl > div { display: flex; font-size: 12px; }
  .fleet-driver-detail dd { text-align: right; margin: 0; }
  .fleet-directory-pager { font-size: 11px; padding-inline: 18px; }
  .fleet-rides-empty { padding: 22px 18px; gap: 12px; flex-wrap: wrap; }
  .fleet-rides-empty strong { font-size: 13px; }
  .fleet-rides-empty p { font-size: 11px; max-width: 255px; }
  .fleet-monitor-state { font-size: 10px; margin-left: 54px; }
  .fleet-ride-card { padding: 17px 18px; gap: 11px; }
  .fleet-ride-route strong { font-size: 12px; }
  .fleet-ride-route small { font-size: 10px; }
  .fleet-data-note { font-size: 10px; gap: 5px; }
  .fleet-directory-table td, .fleet-directory-table th { padding-inline: 18px; }
}
@media (max-width: 390px) {
  main, #main[data-page="fleet"] { padding-inline: 14px; }
  .topbar { padding-inline: 14px; }
  .breadcrumb { font-size: 11px; }
  .breadcrumb span { padding-inline: 3px; }
  .topbar-right .connection { display: none; }
  .page-heading h1 { font-size: 24px; }
  .stat { padding-inline: 13px; }
  .stat-value { font-size: 26px; }
  .stat-icon { display: none; }
  .stat-bottom { font-size: 10px; }
  .pager { align-items: flex-start; flex-wrap: wrap; }
  .pager > div { margin-left: auto; }
  .panel-head { flex-wrap: wrap; }
  .detail-grid { grid-template-columns: 1fr; }
  .drawer-body { padding-inline: 16px; }
  .login-side { padding-inline: 22px; }
  .login-bottom span { display: none; }
  .fleet-metric { padding-inline: 13px; }
  .fleet-metric-note { font-size: 10px; }
  .fleet-city-chip { font-size: 9px; }
  .fleet-auto { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  button, a, .sidebar { transition: none; }
  .loading::before { animation: none; }
}

/* Account and searchable command helpers share the core control hierarchy. */
.operator-account{display:flex;gap:10px;align-items:center;flex:1;min-width:0;border:0;background:transparent;color:inherit;text-align:left;padding:4px 0;margin:0!important}.operator-account-name{min-width:0}.operator-account:hover strong{color:var(--yellow)}
.password-control{display:flex;position:relative;align-items:center}.password-control input{padding-right:68px}.password-control>button{position:absolute;right:7px;border:0;border-radius:6px;background:#f0f5eb;color:#3f674c;padding:7px 10px;font-size:12px}
.login-mobile-brand{display:none}.login-options{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.login-options .check-label{margin:0}.login-helper{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:12px}.login-helper button{border:0;background:none;color:var(--green);font-weight:600;padding:5px 0}
.account-summary{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:22px}.account-summary>.avatar{width:52px;height:52px;font-size:16px;border-radius:14px}.account-summary>div{flex:1;min-width:0}.account-summary h2{font-size:19px}.account-summary p,.field-hint,.account-guidance,.account-form-help,.password-requirements{font-size:13px;color:#62735e;line-height:1.6;margin-top:8px}.account-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.lookup-row{display:flex;gap:8px;align-items:center}.lookup-row input{flex:1;min-width:0}.lookup-row .button{flex-shrink:0}.refund-source-results{margin-top:24px}.refund-source-card{display:flex;align-items:center;gap:12px;width:100%;padding:17px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;color:inherit;margin-top:10px}.refund-source-card:hover{background:#f3f7ed;border-color:#8dac85}.refund-source-card>span:first-child{flex:1;min-width:0}.refund-source-card strong{display:block;font-size:14px}.refund-source-card small{display:block;color:#687a60;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.refund-source-card>span:nth-child(2){text-align:right;white-space:nowrap}.refund-source-card>.fleet-icon{width:15px;height:15px}
@media(max-width:1100px){.account-cards{grid-template-columns:1fr!important}.account-summary{flex-wrap:wrap}}
@media(max-width:760px){.login-mobile-brand{display:flex;margin-bottom:42px;color:var(--ink)}.account-summary{padding:18px}.account-summary>.button{width:100%}.refund-source-card{gap:8px}.refund-source-card>.fleet-icon{display:none}.refund-source-card strong{font-size:13px}}

.inbox-guide p { margin: 7px 0 0; line-height: 1.6; }
.inbox-summary { max-width: 440px; white-space: normal; line-height: 1.55; }
.inbox-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.rental-policy { padding: 0 24px 24px; }
.rental-policy p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #617552; }
