:root { font-family: Inter,"Segoe UI",Arial,sans-serif; font-size: 16px; color: #17263a; background: #f3f6fa; --navy: #132a42; --accent: #086b70; --line: #dce3eb; --muted: #5c6c7e; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --radius: 6px; --shadow: 0 1px 2px #17263a05; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #08666d; text-decoration: none; }
a:hover { text-decoration: underline; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea,summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #d58c0a; outline-offset: 3px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: var(--navy); color: #e8f1f9; padding: 24px var(--space-4); display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.1rem; line-height: 1.5; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: .75rem; font-weight: 400; color: #b8c9da; max-width: 150px; overflow-wrap: anywhere; }
.nav-label { font-size: .65rem; letter-spacing: .12em; color: #9eb3c8; display: block; margin: 28px var(--space-3) var(--space-2); }
.nav-link { display: flex; align-items: center; gap: 12px; color: #d3e0ed; padding: 8px var(--space-3); border-radius: 6px; font-size: .9rem; margin: 3px 0; }
.nav-link:hover,.nav-link.selected { background: #203b52; color: #fff; text-decoration: none; }
.nav-link.selected { box-shadow: inset 3px 0 #65c7bb; }
.sidebar-foot { margin-top: auto; padding: 40px var(--space-3) 0; display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: #b7cada; }
.sidebar-foot strong { color: #f2f7fc; font-weight: 500; }
.workspace { margin-left: 244px; }
.topbar { height: 68px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; gap: 16px; }
.topbar-label { font-size: .75rem; color: var(--muted); letter-spacing: .15em; font-weight: 600; }
main { padding: 26px 30px; max-width: 1800px; margin: auto; min-height: calc(100vh - 124px); }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 22px; }
h1 { font-size: 1.75rem; letter-spacing: -.035em; font-weight: 600; margin: 0 0 var(--space-2); line-height: 1.25; }
h2 { font-size: 1.05rem; margin: 0 0 var(--space-4); font-weight: 600; }
.page-head p { margin: 0; color: var(--muted); font-size: .925rem; line-height: 1.6; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: var(--accent); color: #fff; border-radius: 6px; padding: 9px var(--space-4); min-height: 40px; cursor: pointer; font-size: .9rem; font-weight: 550; white-space: nowrap; gap: 8px; }
.button:hover { filter: brightness(.94); text-decoration: none; }
.button.secondary { background: #fff; border-color: #c5d0dc; color: #213c50; }
.button.text-action { background: transparent; color: #40596f; border-color: transparent; }
.button.text-action:hover { background: #f0f4f7; filter: none; }
.button.danger { background: #ac303a; }
.button.small { font-size: .8rem; padding: 7px var(--space-3); min-height: 36px; }
.button.full { width: 100%; }
.button:disabled { opacity: .6; cursor: wait; }
.metrics { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin: 0 0 22px; }
.metric { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 500; color: #425c73; }
.metric-label .icon { width: 18px; height: 18px; }
.metric>strong { font-size: 2.5rem; font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.metric small { font-size: .7rem; color: var(--muted); line-height: 1.5; }
.metric.green .icon { color: #277950; }
.metric.blue .icon { color: #3862a1; }
.metric.amber .icon { color: #b0801c; }
.metric.red .icon { color: #b1525a; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 20px; margin-bottom: 20px; min-width: 0; }
.panel.flush { padding: 0; overflow: hidden; }
.panel-head { padding: 16px var(--space-5); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin-bottom: 5px; }
.panel-head a { font-size: .875rem; white-space: nowrap; }
.panel-head.compact { padding: 0 0 18px; border: 0; }
.muted { color: var(--muted); font-size: .875rem; line-height: 1.6; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; font-size: .9rem; }
th { position: relative; background: #f7f9fc; font-weight: 700; font-size: .82rem; color: #465d72; padding: 12px var(--space-4); border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .01em; }
td { padding: 14px var(--space-4); border-bottom: 1px solid #e8edf3; vertical-align: middle; line-height: 1.55; overflow-wrap: break-word; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfe; }
td strong,td small { display: block; }
td strong { font-weight: 650; color:#233d53; }
td small { font-size: .8rem; color: var(--muted); margin-top: 4px; line-height:1.45; }
.reference { display: block; font-size: .8rem; margin-bottom: 5px; }
.table-wrap { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; }
.nowrap { white-space: nowrap; }
.badge { display: inline-block; border-radius: 5px; padding: 4px var(--space-2); background: #edf1f5; color: #3c5168; font-size: .78rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge.confirmed,.badge.booked { background: #e8effc; color: #30578e; }
.badge.available,.badge.completed { background: #e4f3e9; color: #22643e; }
.badge.in_use { background: #e8effc; color: #30578e; }
.badge.pending_supervisor,.badge.pending_late_approval,.badge.pending_reservation { background: #fff1d4; color: #825408; }
.badge.rejected,.badge.out_of_service,.badge.maintenance,.badge.blocked { background: #fbe9eb; color: #9c3540; }
.badge.cancelled { background: #edf0f4; color: #576575; }
.empty { padding: 22px var(--space-4); text-align: center; display: flex; flex-direction: column; gap: 6px; color: var(--muted); line-height: 1.6; }
.empty strong { font-size: .9rem; color: #344e65; font-weight: 550; }
.empty span { font-size: .8rem; }
.notice { padding: 12px var(--space-4); margin: 0 0 var(--space-5); background: #fff4dd; border: 1px solid #efd29a; border-radius: 6px; font-size: .875rem; line-height: 1.7; }
.notice.success { background: #e7f5ec; border-color: #b5ddc4; color: #235f3b; }
.notice.error { background: #ffeded; border-color: #efb8bd; color: #8a2433; }
.notice ul { padding-left: 20px; margin: 5px 0; }
.policy-note { padding: 6px 0 var(--space-5); display: flex; gap: 12px; font-size: .8rem; color: var(--muted); line-height: 1.7; }
.policy-note strong { flex: none; color: #3b526b; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 var(--space-5); }
.form-grid.five { grid-template-columns: repeat(5,minmax(0,1fr)); }
label { display: flex; flex-direction: column; gap: 6px; margin: 0 0 var(--space-4); font-size: .875rem; font-weight: 550; color: #344a60; }
input,select,textarea { font-weight: 400; width: 100%; min-height: 40px; border: 1px solid #bac8d6; border-radius: 5px; background: #fff; padding: 8px var(--space-3); color: #20334a; font-size: .925rem; min-width: 0; max-width: 100%; }
textarea { resize: vertical; line-height: 1.6; }
input::placeholder,textarea::placeholder { color: #7b8b9c; }
label small { font-size: .775rem; font-weight: 400; color: var(--muted); line-height: 1.5; }
.step { display: inline-grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; background: #e5f0f2; color: #17666c; font-size: .85rem; margin-right: 8px; }
.vehicle-options { margin-bottom: 20px; }
.vehicle-option { flex-direction: row; gap: 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.vehicle-option:has(input:checked) { box-shadow: 0 0 0 1px #12827e; }
.vehicle-option input { width: 18px; min-height: 18px; flex: none; accent-color: var(--accent); }
.vehicle-option>span:nth-child(2) { flex: 1; }
.vehicle-option small { display: block; margin-top: 6px; }
.tabs { display: flex; gap: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 12px 2px; color: var(--muted); font-size: .9rem; }
.tabs a.active { border-bottom: 2px solid var(--accent); color: var(--accent); font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 20px; }
.details { margin: 0; }
.details>div { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 12px 0; border-bottom: 1px solid #e8edf3; font-size: .925rem; line-height: 1.6; }
.details>div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); font-size: .85rem; }
.details dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.breadcrumb { font-size: .8rem; display: block; margin-bottom: 8px; }
.history-row { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.history-row>* { display: block; margin-bottom: 5px; }
.history-row small { color: var(--muted); }
summary { font-size: .925rem; cursor: pointer; font-weight: 600; line-height: 1.6; }
details[open]>summary { margin-bottom: 20px; }
.toolbar { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 var(--space-5); }
.toolbar label { margin: 0; min-width: 180px; }
.toolbar>.muted { margin-bottom: 11px; }
.wrap { overflow-wrap: anywhere; max-width: 350px; }
.pager { display: flex; gap: 24px; justify-content: center; padding: 18px; font-size: .875rem; }
.pager>span { color: var(--muted); }
fieldset { border: 1px solid var(--line); border-radius: 6px; margin: 0 0 22px; padding: 16px; min-width: 0; }
legend { font-size: .85rem; font-weight: 600; padding: 0 6px; }
.check { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; font-weight: 400; margin: 10px 0; }
.check input { width: 18px; min-height: 18px; accent-color: var(--accent); }
.user-row { border-top: 1px solid var(--line); padding: 18px 0; }
.user-row summary .muted { display: block; font-weight: 400; margin-top: 6px; }
.footer { padding: 16px 36px var(--space-6); font-size: .75rem; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }
.auth-shell { padding: 6vh var(--space-6); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; box-shadow: 0 10px 40px #152d4310; }
.brand.dark { color: var(--navy); margin-bottom: 26px; }
.brand.dark small { color: var(--muted); }
.auth-card h1 { font-size: 1.6rem; }
.auth-card form { margin: 20px 0 var(--space-4); }
.auth-card>.text-link { font-size: .875rem; }
.fine { font-size: .775rem; color: var(--muted); line-height: 1.6; margin: 24px 0 0; }
.narrow { max-width: 600px; }
.mobile-toggle { display: none; }
.icon-button { border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 8px var(--space-3); font-size: 1.1rem; }
.skip { position: absolute; top: -100px; left: 10px; z-index: 100; background: #fff; padding: 15px; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.button .icon { width: 17px; height: 17px; }
.nav-link .icon { width: 18px; height: 18px; color: #adbfce; }
.nav-link.selected .icon { color: #a1e1d9; }
.text-link { display: inline-flex; align-items: center; gap: 6px; }
.text-link .icon { width: 16px; height: 16px; }
.fleet-empty { display: flex; align-items: center; gap: 16px; padding: 16px var(--space-5); margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fleet-empty>.icon { width: 26px; height: 26px; color: var(--muted); }
.fleet-empty>div { flex: 1; }
.fleet-empty strong { font-size: .875rem; font-weight: 600; }
.fleet-empty p { margin: 4px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.section-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; background: #f7f9fb; gap: 2px; }
.segmented a { padding: 6px 10px; border-radius: 4px; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.segmented a:hover { text-decoration: none; background: #eaf0f4; }
.segmented a.active { background: #fff; box-shadow: 0 1px 3px #17263a18; color: var(--accent); font-weight: 600; }
.empty>.icon { width: 24px; height: 24px; align-self: center; color: #718398; margin-bottom: 2px; }
.table-wrap:focus-visible { outline-offset: -3px; }
td:last-child .button { white-space: nowrap; }
input[type=checkbox],input[type=radio] { padding: 0; }
input[type=file] { font-size: .8rem; }
form>.button { margin-top: 4px; }
label:has([aria-invalid=true]) { color: #8a2433; }
[aria-invalid=true] { border-color: #b34350; }
.field-error { font-size: .775rem; line-height: 1.5; color: #9c3540; font-weight: 400; }
.check small { overflow-wrap: anywhere; }
.panel-head>div { min-width: 0; }
.nav-scrim { display: none; }
.badge.completed { background: #edf1f5; color: #3c5168; }
.table-wrap:has(.empty) table { min-width: 0; table-layout: fixed; }
.table-wrap:has(.empty) th { white-space: normal; }
@media(max-width:1200px) {
  .metrics { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .form-grid.five { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vehicle-options { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .policy-note { flex-direction: column; gap: 4px; }
  main { padding: 24px; }
  .topbar { padding: 0 var(--space-6); }
}
@media(max-width:1100px) {
  .panel-head { flex-wrap: wrap; }
  .metric-label { font-size: .75rem; align-items: flex-start; }
  .metric { padding: 14px; }
  .section-actions { gap: 12px; }
  .form-grid.five { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .sidebar { transform: translateX(-100%); visibility: hidden; }
  .nav-open .sidebar { transform: translateX(0); top: 68px; box-shadow: 12px 0 30px #142b4222; visibility: visible; }
  .workspace { margin-left: 0; }
  .mobile-toggle { display: inline-block; }
  .topbar { height: 68px; position: relative; z-index: 21; }
  .topbar-label { margin-right: auto; }
  .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; }
  .footer { padding: 16px var(--space-6); }
  .nav-open .nav-scrim { display: block; position: fixed; inset: 68px 0 0; background: #132a4240; z-index: 19; border: 0; }
}
@media(max-width:560px) {
  .table-wrap:has(.empty) thead { display: none; }
  .table-wrap:has(.empty) td { padding: 0; }
  main { padding: 20px var(--space-4); }
  .topbar { padding: 0 var(--space-4); gap: 8px; }
  .topbar-label { display: none; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .page-head h1 { font-size: 1.65rem; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .metric { padding: 15px; }
  .metric>strong { font-size: 2.2rem; }
  .form-grid,.form-grid.five { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .panel.flush { padding: 0; }
  .panel-head { padding: 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .vehicle-option { padding: 14px; flex-wrap: wrap; }
  .vehicle-option .badge { margin-left: 32px; }
  .details>div { grid-template-columns: 100px 1fr; gap: 12px; }
  .footer { flex-direction: column; padding: 14px var(--space-4); gap: 8px; }
  .auth-card { padding: 26px; }
  .auth-shell { padding: 24px var(--space-4); }
  .toolbar>.muted { flex-basis: 100%; }
  .policy-note { font-size: .8rem; }
  td,th { padding: 11px 14px; }
  .notice { overflow-wrap: anywhere; }
  .fleet-empty { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .fleet-empty>div { min-width: 180px; }
  .fleet-empty>.button { margin-left: 38px; }
  .section-actions { width: 100%; gap: 12px; justify-content: space-between; }
  .segmented a { padding: 7px 9px; }
  .form-grid.five { grid-template-columns: 1fr; }
  .toolbar label { min-width: 0; flex: 1; }
  .tabs { gap: 20px; }
  .pager { gap: 16px; }
  .icon-button { min-height: 40px; }
  .auth-shell input { font-size: 16px; }
}
.company-badge { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:500; }
.company-logo { width:40px; height:32px; object-fit:contain; background:#fff; border-radius:4px; }
.company-initials { display:grid; place-items:center; width:30px; height:30px; border:1px solid #cbd5e1; border-radius:4px; font-weight:600; }
.employee-identity,.vehicle-identity { display:flex; align-items:center; gap:10px; min-width:0; text-align:left; }
.employee-identity>span:last-child,.vehicle-identity>span:last-child { min-width:0; }
.employee-identity strong,.vehicle-identity strong { display:block; font-size:14px; font-weight:650; }
.employee-identity small,.vehicle-identity small { display:block; font-size:12.5px; color:#64748b; font-weight:400; }
.avatar { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; background:#edf2f7; color:#334155; border-radius:50%; overflow:hidden; font-size:12px; }
.avatar img { width:100%; height:100%; object-fit:cover; }
.vehicle-thumbnail { width:72px; height:48px; flex:0 0 72px; display:grid; place-items:center; border-radius:5px; background:#eef2f6; color:#64748b; position:relative; overflow:hidden; }
.vehicle-thumbnail img { position:absolute; width:100%; height:100%; object-fit:cover; }
.profile-menu { margin-left:auto; position:relative; }
.profile-menu>summary { display:flex; align-items:center; gap:12px; list-style:none; cursor:pointer; padding:5px 0; }
.profile-menu>summary::-webkit-details-marker { display:none; }
.profile-role { font-size:12px; color:#64748b; }
.profile-panel { position:absolute; right:0; top:100%; width:320px; max-width:calc(100vw - 24px); background:#fff; border:1px solid #dbe2ea; border-radius:8px; padding:16px; box-shadow:0 6px 18px #0f172a12; z-index:50; }
.profile-panel form { display:inline-block; margin-top:12px; }
.profile-panel .details { margin:12px 0; }
.filter-bar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.filter-bar label { flex:1 1 150px; max-width:260px; margin:0; }
.filter-bar .button { flex:0 0 auto; }
.form-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.approval-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:24px; }
.booking-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 20px; margin:16px 0; }
.booking-facts>div { display:block; padding:4px 0; border:0; }
.booking-facts dt { font-size:12px; color:#64748b; margin-bottom:4px; }
.booking-facts dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.booking-summary { background:#f8fafc; border:1px solid #e2e8f0; border-radius:6px; padding:16px; margin:16px 0; }
.approval-expectation { font-size:13px; color:#334155; }
.vehicle-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:12px; }
.vehicle-option { display:grid; grid-template-columns:18px minmax(0,1fr); margin:0; padding:12px; align-items:start; }
.vehicle-option:has(input:checked) { border-color:#355c85; background:#f4f7fb; }
.vehicle-option>.badge { grid-column:2; justify-self:start; margin-left:0; }
.vehicle-option .vehicle-identity small { margin-top:2px; }
.select-vehicle { display:block; font-size:12px; color:#234b75; margin-top:8px; }
.vehicle-option:has(input:checked) .select-vehicle { font-weight:600; }
.vehicle-previews { margin:12px 0; }
.attention-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.attention-grid a { display:flex; gap:12px; align-items:center; color:#334155; font-size:13px; }
.attention-grid strong { font-size:24px; font-weight:600; }
.next-booking { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.next-booking small { display:block; color:#64748b; }
.late-note { border-left:3px solid #c18c36; padding:8px 12px; color:#77551f; background:#fffcf4; font-size:12px; }
.confirmation { display:flex; align-items:flex-start; gap:16px; }
.confirmation>.icon { color:#258056; width:26px; height:26px; }
.confirmation>div { flex:1; min-width:0; }
.confirmation h1 { font-size:22px; }
.daily-timeline { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px; }
.daily-timeline li { border:1px solid #e2e8f0; border-radius:4px; padding:8px 10px; display:flex; flex-direction:column; gap:6px; min-width:120px; }
.timeline-time { font-size:12px; font-variant-numeric:tabular-nums; }
.schedule-row { display:grid; grid-template-columns:220px 1fr; gap:20px; padding:16px 0; border-bottom:1px solid #e2e8f0; }
.schedule-row:last-child { border-bottom:0; }
.vehicle-detail>.vehicle-identity .vehicle-thumbnail { width:120px; height:80px; flex-basis:120px; }
.audit-metadata { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; max-width:400px; }
.badge.pending_reservation { color:#8c611b; background:#fff6e5; }
.badge.active_block,.badge.blocked { color:#9d4148; background:#faecee; }
.badge.booked,.badge.in_use { color:#345a81; background:#edf3fa; }
.decision-form { margin-top:16px; }
.approval-item h3 { font-size:12px; color:#64748b; text-transform:uppercase; letter-spacing:.04em; margin:0 0 12px; }
.profile-menu summary:focus-visible,summary:focus-visible { outline:2px solid #3779ad; outline-offset:4px; }
@media(max-width:1100px) {
  .schedule-row { grid-template-columns:180px 1fr; }
  .vehicle-options { grid-template-columns:1fr; }
}
@media(max-width:768px) {
  .approval-grid { grid-template-columns:1fr; gap:16px; }
  .schedule-row { grid-template-columns:1fr; gap:12px; }
  .responsive-table table { min-width:0; width:100%; }
  .responsive-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .responsive-table tbody { display:block; }
  .responsive-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; padding:16px; border-bottom:1px solid #e2e8f0; }
  .responsive-table td { display:block; padding:0; border:0; white-space:normal; min-width:0; }
  .responsive-table td:first-child,.responsive-table td[colspan] { grid-column:1/-1; }
  .responsive-table td[data-label]::before { content:attr(data-label); display:block; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#64748b; margin-bottom:5px; }
  .responsive-table td:first-child::before,.responsive-table td[colspan]::before { display:none; }
}
@media(max-width:560px) {
  .form-grid.three { grid-template-columns:1fr; }
  .profile-role,.profile-menu>summary .employee-identity small { display:none; }
  .profile-menu>summary .employee-identity strong { max-width:130px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .booking-facts { gap:8px 12px; }
  .attention-grid { gap:12px; }
  .attention-grid a { flex-direction:column; align-items:flex-start; gap:4px; font-size:11px; }
  .filter-bar label { max-width:none; flex-basis:calc(50% - 12px); }
  .filter-bar>.button { width:100%; }
  .vehicle-option { flex-wrap:wrap; }
  .vehicle-option>.badge { margin-left:0; }
  .next-booking { gap:12px; }
  .topbar-label { display:none; }
  .daily-timeline li { min-width:0; flex:1 1 130px; }
  .tabs { flex-wrap:wrap; gap:4px 16px; white-space:normal; }
}
.header-search { margin-left:auto; width:250px; }
.header-search label { margin:0; }
.header-search input { min-height:36px; font-size:13px; }
.header-search+.profile-menu { margin-left:20px; }
.brand .company-logo { width:56px; height:38px; padding:3px; }
@media(max-width:900px) {
  .header-search { display:none; }
  .header-search+.profile-menu { margin-left:auto; }
}
.secret-field{position:relative;display:block;width:100%}
.secret-field>input{width:100%;padding-right:44px!important}
.secret-toggle{position:absolute;top:50%;right:5px;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:#6f8390;cursor:pointer;z-index:2}
.secret-toggle:hover{background:#edf3f5;color:#17384d}
.secret-toggle:focus-visible{outline:2px solid #0b7b80;outline-offset:1px}
.secret-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
@media(max-width:640px){.secret-toggle{width:36px;height:36px}.secret-field>input{padding-right:46px!important}}

/* System-wide table readability */
.table-wrap table tbody tr{transition:background-color .14s ease}
.table-wrap table tbody tr:hover{background:#f8fbfc}
.table-wrap table td,.table-wrap table th{font-variant-numeric:tabular-nums}
.table-wrap table th{vertical-align:middle}
@media(max-width:768px){
  .responsive-table tr{padding:18px 16px;gap:12px 18px}
  .responsive-table td{font-size:.9rem;line-height:1.5}
}

.vehicle-rental-meta{color:#7a6836!important;font-weight:650!important}

/* Collapsible enterprise navigation groups */
.nav-group>.nav-label{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;user-select:none;border-radius:7px;padding:6px 8px;margin:0 -8px 5px;transition:background .15s ease,color .15s ease}
.nav-group>.nav-label:hover,.nav-group>.nav-label:focus-visible{background:rgba(255,255,255,.06);color:#e9f7f8;outline:none}
.nav-group>.nav-label::after{content:"⌄";font-size:13px;line-height:1;opacity:.72;transform:rotate(0);transition:transform .16s ease}
.nav-group.is-collapsed>.nav-label::after{transform:rotate(-90deg)}
.nav-group.is-collapsed>.nav-link{display:none!important}
.nav-group+.nav-group{margin-top:10px}


/* Shared pagination, no framework SVG arrows or Tailwind dependencies. */
.pager.pager--compact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:14px 0 12px;padding:12px 15px;min-height:62px;box-sizing:border-box;border:1px solid #d9e5eb;border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(18,53,75,.025);font-size:13px}
.pager--compact .pager__summary{margin:0;color:#637f8d;line-height:1.5;font-size:12px}
.pager--compact .pager__summary strong{color:#254a60;font-weight:800}
.pager--compact .pager__controls{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.pager--compact .pager__button,.pager--compact .pager__page{display:inline-flex;align-items:center;justify-content:center;min-width:35px;min-height:34px;box-sizing:border-box;padding:6px 10px;border:1px solid #d0e0e6;border-radius:6px;background:#fff;color:#295b71;text-decoration:none;font-size:12px;font-weight:760;line-height:1.3;white-space:nowrap}
.pager--compact .pager__button{min-width:73px}
.pager--compact a.pager__button:hover,.pager--compact a.pager__page:hover{background:#f0f8fa;border-color:#95c7cc;color:#0d6c7a}
.pager--compact a:focus-visible{outline:2px solid #057d98;outline-offset:2px}
.pager--compact .pager__page.is-current{border-color:#09828e;background:#e6f4f4;color:#096e7b}
.pager--compact .is-disabled{color:#9eaeb6;border-color:#e5edef;background:#f7f9fa;cursor:default}
.pager--compact .pager__ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:24px;font-size:12px;color:#879aa6}
@media(max-width:750px){.pager.pager--compact{justify-content:center;padding:12px 10px;gap:9px}.pager--compact .pager__summary{text-align:center;flex:1 1 100%}.pager--compact .pager__controls{justify-content:center;gap:3px}.pager--compact .pager__button,.pager--compact .pager__page{min-width:32px;min-height:34px;padding:6px 8px}.pager--compact .pager__button{min-width:66px}}
