@charset "UTF-8";
:root {
  /* E-L B: white text interiors and surfaces; gold contours only. */
  --elb-white: #FFFFFF;
  --elb-gold: #B38A39;
  --elb-gold-ink: #765513;
  --elb-gold-line: #D1B779;
  --elb-ink: var(--elb-white);
  --elb-muted: var(--elb-white);
  --elb-danger: var(--elb-gold-ink);
  --elb-danger-strong: var(--elb-gold-ink);
  --elb-text-fill: var(--elb-white);
  --elb-text-outline: var(--elb-gold-ink);
  --elb-text-stroke: .85px;
  --elb-shadow: none;
  --elb-shadow-raised: none;
  --elb-focus: var(--elb-gold-ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--elb-ink);
  -webkit-text-fill-color: var(--elb-text-fill);
  -webkit-text-stroke: var(--elb-text-stroke) var(--elb-text-outline);
  paint-order: stroke fill;
  background: var(--elb-white);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-weight: 550; background: var(--elb-white); }
button, input, select, textarea, option, optgroup { font: inherit; color: var(--elb-text-fill); -webkit-text-fill-color: var(--elb-text-fill); -webkit-text-stroke: var(--elb-text-stroke) var(--elb-text-outline); paint-order: stroke fill; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 1; border-style: dashed; text-decoration: none; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--elb-focus); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { -webkit-text-stroke-width: 1.1px; }
h1 { font-size: clamp(1.9rem, 3vw, 2.65rem); font-weight: 680; line-height: 1.17; letter-spacing: -.045em; margin-bottom: 12px; }
h2 { font-size: 1.35rem; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 12px; }
h3 { font-size: 1.1rem; line-height: 1.35; font-weight: 650; margin-bottom: 8px; }
p { margin-bottom: 16px; }
[hidden] { display: none !important; }
.icon { display: inline-block; width: 21px; height: 21px; vertical-align: middle; flex: 0 0 auto; color: var(--elb-gold-ink); fill: none; stroke: var(--elb-gold-ink); -webkit-text-stroke: 0; }
.loading { padding: 32px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 99; padding: 12px 20px; background: var(--elb-white); border: 1px solid var(--elb-gold); }
.skip-link:focus { top: 12px; }
.shell { display: grid; grid-template-columns: 234px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--elb-white); color: var(--elb-ink); border-right: 1px solid var(--elb-gold-line); padding: 36px 18px 22px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; margin: 0 4px 46px; font-size: 1.65rem; line-height: 1; font-weight: 650; letter-spacing: -.055em; }
.brand-symbol { display: grid; place-items: center; background: var(--elb-white); color: var(--elb-text-fill); border: 1px solid var(--elb-gold); border-radius: 14px; height: 47px; width: 47px; }
.brand-symbol .icon { width: 28px; height: 28px; }
.brand-sub { display: block; font-size: .875rem; letter-spacing: .2em; color: var(--elb-text-fill); margin-top: 9px; font-weight: 550; }
.workspace-label { color: var(--elb-text-fill); font-size: .875rem; letter-spacing: .12em; padding: 0 16px; margin-bottom: 16px; font-weight: 600; }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 10px; color: var(--elb-muted); background: var(--elb-white); text-align: left; font-size: .94rem; font-weight: 550; }
.nav-item:hover { border-color: var(--elb-gold); color: var(--elb-text-fill); }
.nav-item.active { border-color: var(--elb-gold-ink); color: var(--elb-text-fill); font-weight: 650; }
.nav-count { background: var(--elb-white); color: var(--elb-text-fill); border: 1px solid var(--elb-gold); font-size: .875rem; padding: 1px 6px; border-radius: 4px; margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding: 35px 10px 0; }
.sidebar-note { border-top: 1px solid var(--elb-gold-line); padding: 24px 6px 12px; color: var(--elb-muted); }
.sidebar-note .icon { color: var(--elb-gold-ink); margin-bottom: 12px; }
.sidebar-note p { font-size: .88rem; line-height: 1.6; }
.data-button { color: var(--elb-text-fill); background: transparent; padding: 12px 0; font-size: .875rem; display: flex; align-items: center; gap: 8px; text-align: left; }
.data-button:hover { color: var(--elb-ink); }
.data-button .icon { width: 17px; height: 17px; }
.sidebar-version { color: var(--elb-text-fill); font-size: .875rem; line-height: 1.7; margin-top: 14px; }
.workspace { min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; height: 88px; padding: 0 44px; border-bottom: 1px solid var(--elb-gold-line); background: var(--elb-white); }
.community { display: flex; align-items: center; gap: 12px; }
.community > .icon { width: 40px; height: 40px; padding: 9px; background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 10px; color: var(--elb-gold-ink); }
.community strong { font-size: 1rem; letter-spacing: .04em; }
.brand-signature { white-space: nowrap; font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.community-sub { display: block; font-size: .875rem; color: var(--elb-muted); margin-top: 1px; }
.profile { display: flex; align-items: center; gap: 13px; background: transparent; padding: 3px; border-radius: 24px; }
.profile-name { color: var(--elb-muted); font-size: .875rem; }
.avatar { width: 43px; height: 43px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--elb-gold-line); border-radius: 50%; font-size: .875rem; font-weight: 650; letter-spacing: -.02em; background: var(--elb-white); color: var(--elb-text-fill); flex: 0 0 auto; }
.avatar-me { border-color: var(--elb-gold); }
.avatar-small { width: 34px; height: 34px; font-size: .875rem; }
.demo-strip { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 24px; background: var(--elb-white); color: var(--elb-muted); border-bottom: 1px solid var(--elb-gold-line); font-size: .875rem; }
.demo-strip .icon { width: 15px; height: 15px; }
.demo-strip button { padding: 2px 6px; margin-left: 7px; background: transparent; color: var(--elb-text-fill); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
main { padding: 34px 44px 48px; max-width: 1530px; margin: auto; }
.page-heading { margin: 3px 0 28px; }
.eyebrow { color: var(--elb-text-fill); font-size: .875rem; letter-spacing: .14em; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.page-subtitle { color: var(--elb-muted); font-size: .99rem; margin-bottom: 0; }
.search-panel { padding: 20px; background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 14px; box-shadow: var(--elb-shadow); margin-bottom: 34px; }
.search-fields { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr) minmax(150px, .8fr) auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: .875rem; font-weight: 600; min-width: 0; }
.field > span:first-child { display: flex; align-items: center; gap: 6px; }
.field .icon { width: 16px; height: 16px; color: var(--elb-gold-ink); }
input:not([type="checkbox"]):not([type="file"]), select, textarea { width: 100%; color: var(--elb-text-fill); min-height: 46px; background: var(--elb-white); border: 1px solid var(--elb-gold); border-radius: 7px; padding: 10px 12px; font-size: 1rem; font-weight: 550; caret-color: var(--elb-gold-ink); }
input::placeholder, textarea::placeholder { color: var(--elb-text-fill); -webkit-text-fill-color: var(--elb-text-fill); -webkit-text-stroke: var(--elb-text-stroke) var(--elb-text-outline); paint-order: stroke fill; opacity: 1; }
option, optgroup { background: var(--elb-white); }
input::-webkit-datetime-edit { color: var(--elb-text-fill); -webkit-text-fill-color: var(--elb-text-fill); -webkit-text-stroke: var(--elb-text-stroke) var(--elb-text-outline); paint-order: stroke fill; }
input::-webkit-calendar-picker-indicator { opacity: 1; filter: invert(40%) sepia(58%) saturate(615%) hue-rotate(2deg) brightness(90%) contrast(90%); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-text-fill-color: var(--elb-text-fill); -webkit-text-stroke: var(--elb-text-stroke) var(--elb-text-outline); box-shadow: 0 0 0 1000px var(--elb-white) inset; caret-color: var(--elb-gold-ink); }
input:disabled { background: var(--elb-white); color: var(--elb-muted); border-style: dashed; }
textarea { resize: vertical; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: .89rem; font-weight: 650; text-decoration: none; transition: background .14s ease, border-color .14s ease; line-height: 1.4; }
.primary { color: var(--elb-text-fill); background: var(--elb-white); border: 2px solid var(--elb-gold); padding: 10px 17px; }
.primary:hover { border-color: var(--elb-gold-ink); }
.secondary { color: var(--elb-ink); background: var(--elb-white); border-color: var(--elb-gold); }
.secondary:hover { color: var(--elb-text-fill); border-color: var(--elb-gold-ink); }
.primary-soft { background: var(--elb-white); color: var(--elb-text-fill); border-color: var(--elb-gold); }
.primary-soft:hover { border-color: var(--elb-gold-ink); box-shadow: var(--elb-shadow); }
.compact-button { min-height: 39px; font-size: .875rem; padding: 8px 13px; }
.compact-button .icon { width: 17px; height: 17px; }
.light-button { background: var(--elb-white); color: var(--elb-text-fill); width: 100%; border-color: var(--elb-gold); }
.light-button:hover { border-color: var(--elb-gold-ink); box-shadow: var(--elb-shadow); }
.text-button { background: transparent; }
.text-button:hover { background: var(--elb-white); border-color: var(--elb-gold-line); text-decoration: underline; text-underline-offset: 3px; }
.full-width { width: 100%; }
.danger-text { color: var(--elb-text-fill); text-decoration: underline; text-underline-offset: 3px; }
.danger-button { background: var(--elb-white); border-color: var(--elb-danger); color: var(--elb-text-fill); }
.danger-button:hover { border-color: var(--elb-danger-strong); color: var(--elb-text-fill); }
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.results-heading .eyebrow { margin-bottom: 6px; }
.results-heading h2 { margin: 0; }
.sort-label { display: flex; align-items: center; gap: 4px; font-size: .875rem; color: var(--elb-muted); white-space: nowrap; }
.sort-label select { width: auto; min-height: 32px; font-size: .875rem; padding: 4px 5px; background: transparent; border: none; color: var(--elb-text-fill); font-weight: 600; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 7px 12px; min-height: 36px; border: 1px solid var(--elb-gold); border-radius: 30px; background: var(--elb-white); color: var(--elb-muted); font-size: .875rem; }
.chip:hover { border-color: var(--elb-gold-ink); }
.chip.selected { background: var(--elb-white); border: 2px solid var(--elb-gold); padding: 6px 11px; color: var(--elb-text-fill); font-weight: 650; }
.trip-card { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: border-color .15s; }
.trip-card:hover { border-color: var(--elb-gold); }
.trip-card-main { display: grid; grid-template-columns: 81px minmax(0, 1fr) auto; gap: 18px; padding: 22px 22px 19px; }
.departure { display: flex; flex-direction: column; border-right: 1px solid var(--elb-gold-line); padding-right: 13px; }
.departure > strong { font-size: 1.55rem; line-height: 1.2; font-weight: 650; letter-spacing: -.04em; }
.departure > span { color: var(--elb-muted); font-size: .875rem; margin-top: 4px; }
.duration { display: flex; align-items: center; gap: 4px; padding-top: 11px; }
.duration .icon { width: 13px; height: 13px; }
.route-line { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 2px 0; }
.route-line > div { display: flex; align-items: center; gap: 10px; z-index: 1; min-width: 0; }
.route-line strong { font-size: .94rem; font-weight: 620; line-height: 1.3; overflow-wrap: anywhere; }
.route-marker { width: 10px; height: 10px; border: 2px solid var(--elb-gold); border-radius: 50%; background: var(--elb-white); flex: 0 0 auto; }
.route-marker.finish { background: var(--elb-white); border-color: var(--elb-gold-ink); border-radius: 3px; }
.route-connector { position: absolute; left: 4px; width: 2px; top: 15px; bottom: 15px; background: var(--elb-gold-line); }
.trip-price { text-align: right; display: flex; flex-direction: column; justify-content: center; min-width: 92px; }
.trip-price strong { font-size: 1.55rem; line-height: 1.3; font-weight: 670; letter-spacing: -.055em; white-space: nowrap; }
.trip-price > span { font-size: .875rem; color: var(--elb-muted); }
.trip-price .price-note { margin-top: 9px; color: var(--elb-text-fill); font-size: .875rem; }
.trip-card-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--elb-gold-line); background: var(--elb-white); padding: 11px 18px; }
.driver { display: flex; align-items: center; gap: 9px; margin-right: auto; min-width: 0; }
.driver > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.driver strong { font-size: .875rem; font-weight: 600; }
.driver > span > span { font-size: .875rem; color: var(--elb-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.seat-badge { color: var(--elb-muted); display: flex; align-items: center; gap: 5px; font-size: .875rem; white-space: nowrap; }
.seat-badge .icon { width: 16px; height: 16px; }
.low-seats { color: var(--elb-text-fill); }
.context-column { display: grid; gap: 19px; }
.next-ride { background: var(--elb-white); color: var(--elb-ink); border: 1px solid var(--elb-gold-line); border-radius: 13px; padding: 25px; overflow: hidden; }
.next-ride .eyebrow { color: var(--elb-text-fill); font-size: .875rem; }
.vehicle-card { background: var(--elb-white); border-color: var(--elb-gold); }
.vehicle-visual { position: relative; margin: 14px -25px 20px; background: var(--elb-white); }
.vehicle-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.vehicle-visual figcaption { position: relative; padding: 8px 25px 0; color: var(--elb-muted); font-size: .875rem; letter-spacing: .04em; }
.next-ride h2 { font-size: 1.55rem; margin-bottom: 12px; letter-spacing: -.03em; }
.next-ride p:not(.eyebrow) { color: var(--elb-muted); font-size: .875rem; line-height: 1.7; margin-bottom: 22px; }
.next-ride .button { font-size: .875rem; padding: 10px 8px; }
.next-date { font-size: .93rem; font-weight: 600; margin: 20px 0; display: flex; gap: 8px; align-items: center; }
.next-ride .route-line { margin-bottom: 25px; }
.next-ride .route-line strong { font-size: .88rem; }
.next-ride .route-marker { background: var(--elb-white); border-color: var(--elb-gold); }
.next-ride .route-marker.finish { background: var(--elb-white); }
.next-ride .route-connector { background: var(--elb-gold); }
.info-card { padding: 22px 23px; background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 13px; }
.round-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--elb-gold-line); border-radius: 50%; background: var(--elb-white); color: var(--elb-text-fill); margin-bottom: 18px; }
.info-card h3 { font-size: 1rem; }
.info-card p { font-size: .875rem; color: var(--elb-muted); line-height: 1.7; }
.inline-link { padding: 0; display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--elb-text-fill); font-size: .875rem; font-weight: 650; }
.inline-link .icon { width: 15px; height: 15px; }
.small-note { display: flex; align-items: flex-start; gap: 11px; padding: 2px 8px; color: var(--elb-muted); }
.small-note .icon { width: 19px; height: 19px; margin-top: 3px; }
.small-note p { font-size: .875rem; line-height: 1.6; margin: 0; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 0 44px 22px; color: var(--elb-muted); font-size: .875rem; }
.empty-state { background: var(--elb-white); border: 1px dashed var(--elb-gold-line); border-radius: 12px; padding: 44px 24px; text-align: center; }
.empty-state > .icon { width: 42px; height: 42px; color: var(--elb-gold-ink); margin-bottom: 20px; }
.empty-state h2 { font-size: 1.25rem; }
.empty-state p { color: var(--elb-muted); max-width: 440px; margin: 0 auto 22px; font-size: .91rem; }
.empty-state .button { margin: 4px; }
.tab-list { display: flex; gap: 22px; border-bottom: 1px solid var(--elb-gold-line); margin: 8px 0 25px; }
.tab { background: transparent; border-bottom: 3px solid transparent; padding: 11px 0 14px; color: var(--elb-muted); display: flex; gap: 9px; align-items: center; font-size: .9rem; }
.tab.selected { color: var(--elb-text-fill); border-bottom-color: var(--elb-gold-ink); font-weight: 650; }
.tab > span { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 6px; padding: 1px 7px; font-size: .875rem; }
.bookings-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bookings-list > .empty-state { grid-column: 1/-1; }
.booking-card { padding: 24px; border: 1px solid var(--elb-gold-line); background: var(--elb-white); border-radius: 12px; }
.booking-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 25px; font-size: .875rem; color: var(--elb-muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--elb-white); color: var(--elb-text-fill); border: 1px solid var(--elb-gold-line); border-radius: 5px; padding: 4px 8px; font-size: .875rem; font-weight: 600; }
.tag .icon { width: 14px; height: 14px; }
.tag-muted { color: var(--elb-muted); background: var(--elb-white); border-style: dashed; }
.booking-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 23px 0 13px; }
.booking-meta > span { font-size: .875rem; color: var(--elb-muted); display: flex; align-items: center; gap: 7px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; border-top: 1px solid var(--elb-gold-line); }
.card-actions .button { font-size: .875rem; }
.muted { color: var(--elb-muted); }
.small-text { font-size: .875rem; line-height: 1.7; }
.publish-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 26px; }
.form-card, .summary-card { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 13px; padding: 27px; }
.form-card h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 1.2rem; }
.step-number { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--elb-gold-line); border-radius: 8px; background: var(--elb-white); color: var(--elb-text-fill); font-size: .875rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.span-two { grid-column: 1/-1; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; cursor: pointer; margin: 20px 0 0; line-height: 1.5; }
.checkbox-label input { appearance: none; position: relative; width: 18px; height: 18px; background: var(--elb-white); border: 1.5px solid var(--elb-gold-ink); border-radius: 3px; margin: 3px 0 0; flex: 0 0 auto; }
.checkbox-label input:checked::after { content: ""; position: absolute; width: 8px; height: 4px; top: 4px; left: 3px; border-left: 2px solid var(--elb-gold-ink); border-bottom: 2px solid var(--elb-gold-ink); transform: rotate(-45deg); }
.checkbox-label small { display: block; color: var(--elb-muted); margin-top: 4px; font-size: .875rem; }
.form-divider { border-top: 1px solid var(--elb-gold-line); margin: 30px 0; }
.money-inputs { margin: 22px 0 10px; }
.field-hint { font-size: .875rem; line-height: 1.6; color: var(--elb-muted); margin-bottom: 22px; }
.publish-aside { position: sticky; top: 25px; display: grid; gap: 22px; }
.summary-card { padding: 25px 23px; }
.summary-card .eyebrow { font-size: .875rem; }
.summary-card h2 { font-size: 1.45rem; margin-bottom: 24px; }
.price-breakdown { margin: 20px 0; }
.price-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 8px 0; font-size: .88rem; }
.price-breakdown dt { color: var(--elb-muted); }
.price-breakdown dd { margin: 0; font-weight: 620; white-space: nowrap; }
.price-breakdown .total { margin-top: 12px; padding-top: 15px; border-top: 1px solid var(--elb-gold-line); font-weight: 650; }
.price-breakdown .total dt { color: var(--elb-ink); }
.price-breakdown .total dd { font-size: 1.35rem; color: var(--elb-text-fill); }
.declaration { border-top: 1px solid var(--elb-gold-line); padding-top: 20px; margin: 22px 0 18px; font-size: .875rem; }
.form-error { color: var(--elb-text-fill); font-size: .9rem; font-weight: 650; padding: 13px; background: var(--elb-white); border: 3px double var(--elb-gold-ink); border-radius: 7px; margin-top: 15px; }
.notice { display: flex; align-items: flex-start; gap: 12px; background: var(--elb-white); padding: 17px 20px; border: 1px solid var(--elb-gold-line); border-radius: 9px; color: var(--elb-text-fill); font-size: .875rem; margin: 24px 0; }
.notice p { margin: 0; }
.warning { background: var(--elb-white); border-color: var(--elb-gold); color: var(--elb-text-fill); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 11px; padding: 24px; display: flex; flex-direction: column; }
.stat-card > span { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--elb-muted); }
.stat-card > span .icon { color: var(--elb-gold-ink); }
.stat-card > strong { font-size: 2.1rem; letter-spacing: -.05em; line-height: 1.3; margin: 14px 0 10px; font-weight: 650; }
.stat-card > small { font-size: .875rem; color: var(--elb-muted); }
.ledger-panel { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 12px; overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding: 25px; gap: 15px; }
.section-heading h2 { margin-bottom: 0; font-size: 1.2rem; }
.section-heading .eyebrow { margin-bottom: 7px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { color: var(--elb-muted); font-weight: 550; font-size: .875rem; background: var(--elb-white); padding: 12px 18px; white-space: nowrap; }
td { padding: 18px; font-size: .875rem; border-top: 1px solid var(--elb-gold-line); }
td:first-child { min-width: 220px; }
td:not(:first-child) { white-space: nowrap; }
.table-sub { display: block; font-size: .875rem; color: var(--elb-muted); margin-top: 4px; }
.ledger-total { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--elb-gold-line); padding: 20px 25px; color: var(--elb-muted); font-size: .875rem; }
.ledger-total strong { color: var(--elb-text-fill); font-size: 1.15rem; }
.modal { border: 1px solid var(--elb-gold); border-radius: 17px; padding: 34px; width: min(570px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; color: var(--elb-ink); background: var(--elb-white); box-shadow: var(--elb-shadow-raised); }
.modal::backdrop { background: var(--elb-white); }
.modal-wide { width: min(790px, calc(100vw - 32px)); }
.modal > .eyebrow { padding-right: 30px; }
.modal h2 { font-size: 1.8rem; margin-bottom: 25px; padding-right: 25px; letter-spacing: -.04em; }
.modal > p:not(.eyebrow):not(.small-text) { color: var(--elb-muted); font-size: .95rem; }
.icon-button { display: grid; place-items: center; background: var(--elb-white); color: var(--elb-text-fill); border: 1px solid var(--elb-gold); height: 34px; width: 34px; border-radius: 50%; }
.icon-button:hover { border-color: var(--elb-gold-ink); }
.modal-close { position: absolute; top: 19px; right: 18px; }
.modal .route-line { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 9px; padding: 20px; margin-bottom: 23px; }
.modal .route-connector { left: 24px; top: 34px; bottom: 32px; }
.detail-driver { display: flex; gap: 12px; align-items: center; margin-bottom: 25px; }
.detail-driver > div { margin-right: auto; }
.detail-driver strong { font-size: .9rem; }
.detail-driver p { margin: 3px 0 0; font-size: .875rem; color: var(--elb-muted); }
.detail-facts { display: grid; gap: 16px; padding-bottom: 12px; }
.detail-facts > p { display: flex; gap: 12px; margin-bottom: 0; color: var(--elb-muted); }
.detail-facts > p > span { color: var(--elb-muted); font-size: .875rem; }
.detail-facts strong { display: block; font-size: .875rem; color: var(--elb-ink); margin-bottom: 2px; }
.price-box { background: var(--elb-white); border: 1px solid var(--elb-gold-line); border-radius: 9px; padding: 20px; margin: 15px 0; }
.price-box .eyebrow { margin-bottom: 2px; font-size: .875rem; }
.price-box .price-breakdown { margin: 10px 0 0; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.data-actions { display: grid; gap: 12px; margin: 24px 0; }
.file-label { position: relative; cursor: pointer; }
.file-label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-label:focus-within { outline: 3px solid var(--elb-focus); outline-offset: 3px; }
.about-list { padding-left: 23px; color: var(--elb-muted); font-size: .9rem; line-height: 1.7; }
.about-list li { margin-bottom: 10px; }
.toast { position: fixed; left: 50%; bottom: 27px; transform: translateX(-50%); max-width: min(560px, calc(100vw - 32px)); width: max-content; padding: 15px 22px; border-radius: 10px; background: var(--elb-white); color: var(--elb-ink); border: 1px solid var(--elb-gold); box-shadow: var(--elb-shadow-raised); z-index: 999; font-size: .88rem; }
@media (min-width: 1600px) {
  .shell { grid-template-columns: 252px minmax(0, 1fr); }
  main { padding-top: 44px; }
  .results-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 34px; }
  .trip-card-main { padding: 26px; }
}
@media (max-width: 1190px) {
  .shell { grid-template-columns: 207px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { margin-left: 9px; font-size: 1.7rem; }
  .nav-item { font-size: .875rem; padding: 13px 12px; gap: 9px; }
  main { padding: 30px 26px 40px; }
  .topbar { padding: 0 26px; }
  .page-footer { padding-left: 26px; padding-right: 26px; }
  .results-layout { grid-template-columns: minmax(0, 1fr) 228px; gap: 20px; }
  .trip-card-main { padding: 19px 16px; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .trip-card-footer { padding: 10px 14px; gap: 8px; }
  .trip-card-footer .driver .avatar { display: none; }
  .driver > span > span { max-width: 105px; }
  .next-ride { padding: 22px 19px; }
  .vehicle-visual { margin-left: -19px; margin-right: -19px; }
  .vehicle-visual figcaption { padding-left: 19px; padding-right: 19px; }
  .info-card { padding: 20px; }
  .sort-label { flex-direction: column; align-items: end; gap: 0; }
  .publish-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  .form-card { padding: 23px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 20px 16px; }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: 188px minmax(0, 1fr); }
  .sidebar { padding-top: 25px; }
  .brand { font-size: 1.5rem; margin-left: 6px; gap: 9px; }
  .brand-symbol { width: 40px; height: 40px; }
  .workspace-label { padding: 0 8px; font-size: .875rem; }
  .nav-item { font-size: .875rem; gap: 8px; }
  .nav-item .icon { width: 18px; height: 18px; }
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .context-column { grid-template-columns: 1fr 1fr; }
  .context-column .small-note { grid-column: 1/-1; }
  .next-ride h2 { font-size: 1.35rem; }
  .trip-card-footer .driver .avatar { display: inline-flex; }
  .publish-layout { grid-template-columns: minmax(0, 1fr); }
  .publish-aside { position: static; }
  .bookings-list { grid-template-columns: 1fr; }
  .stat-card > span { display: block; }
  .stat-card > span .icon { display: block; margin-bottom: 10px; }
  .stat-card > strong { font-size: 1.65rem; }
  .section-heading { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .shell { display: block; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: calc(86px + env(safe-area-inset-bottom)); z-index: 20; padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--elb-gold); border-right: 0; }
  .brand, .workspace-label, .sidebar-bottom { display: none; }
  .sidebar nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; height: 100%; }
  .nav-item { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 5px 2px; font-size: .8rem; text-align: center; line-height: 1.15; border-radius: 7px; overflow-wrap: anywhere; }
  .nav-item > span { max-width: 100%; }
  .nav-item .icon { height: 21px; width: 21px; }
  .nav-count { display: none; }
  .topbar { height: 72px; padding: 0 20px; }
  .profile-name { display: none; }
  .community-sub { font-size: .875rem; }
  .community > .icon { width: 35px; height: 35px; padding: 7px; }
  .community { gap: 9px; }
  .avatar-me { width: 38px; height: 38px; font-size: .875rem; }
  .demo-strip { padding: 9px 17px; justify-content: flex-start; font-size: .875rem; gap: 6px; flex-wrap: wrap; }
  .demo-strip button { margin-left: auto; padding-left: 0; }
  main { padding: 25px 18px 30px; }
  .page-heading { margin-bottom: 23px; }
  .page-heading h1 { font-size: 2.1rem; letter-spacing: -.05em; }
  .page-subtitle { font-size: .9rem; max-width: 380px; }
  .eyebrow { font-size: .875rem; }
  .search-panel { padding: 16px; margin-bottom: 28px; }
  .search-fields { gap: 13px; }
  .search-fields > .field:nth-child(1), .search-fields > .field:nth-child(2) { grid-column: 1/-1; }
  .search-submit { align-self: end; font-size: .875rem; padding-left: 10px; padding-right: 10px; }
  .search-submit .icon { width: 17px; height: 17px; }
  .field { font-size: .875rem; gap: 6px; }
  input:not([type="checkbox"]):not([type="file"]), select, textarea { font-size: 1rem; min-height: 46px; }
  .results-heading { gap: 6px; }
  .results-heading h2 { font-size: 1.2rem; }
  .sort-label { font-size: .875rem; }
  .sort-label select { font-size: .875rem; min-height: 25px; max-width: 145px; padding-left: 0; padding-right: 0; }
  .filter-chips { gap: 6px; margin-bottom: 16px; }
  .chip { padding: 6px 10px; font-size: .875rem; }
  .trip-card-main { padding: 18px 14px; grid-template-columns: 63px minmax(0, 1fr) auto; gap: 10px; }
  .departure { padding-right: 9px; }
  .departure > strong { font-size: 1.3rem; }
  .departure > span { font-size: .875rem; }
  .duration { flex-wrap: wrap; gap: 3px; padding-top: 12px; }
  .route-line { gap: 24px; }
  .route-line > div { gap: 8px; }
  .route-line strong { font-size: .875rem; }
  .trip-price { min-width: 63px; }
  .trip-price strong { font-size: 1.25rem; }
  .trip-price > span { font-size: .875rem; }
  .trip-price .price-note { font-size: .875rem; max-width: 78px; line-height: 1.4; }
  .trip-card-footer { flex-wrap: wrap; padding: 10px 12px; gap: 9px; }
  .driver { flex: 1; }
  .driver strong { font-size: .875rem; }
  .driver > span > span { font-size: .875rem; max-width: 110px; }
  .driver .avatar-small { width: 31px; height: 31px; }
  .seat-badge { font-size: .875rem; }
  .trip-card-footer .button { width: 100%; margin-top: 1px; }
  .compact-button { min-height: 41px; font-size: .875rem; }
  .context-column { grid-template-columns: 1fr; gap: 16px; }
  .next-ride { padding: 25px; }
  .vehicle-visual { margin-left: -25px; margin-right: -25px; }
  .vehicle-visual figcaption { padding-left: 25px; padding-right: 25px; }
  .next-ride h2 { max-width: 240px; font-size: 1.5rem; }
  .next-ride p:not(.eyebrow) { max-width: 320px; }
  .context-column .small-note { padding: 5px 6px; }
  .page-footer { padding: 0 18px 16px; flex-wrap: wrap; font-size: .875rem; gap: 5px; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); padding: 13px 17px; font-size: .875rem; }
  .tab-list { gap: 17px; }
  .tab { font-size: .875rem; gap: 6px; }
  .booking-card { padding: 20px; }
  .booking-head { font-size: .875rem; }
  .booking-meta { align-items: flex-start; }
  .booking-meta > span { font-size: .875rem; }
  .booking-meta > strong { white-space: nowrap; font-size: .88rem; }
  .card-actions .button { width: 100%; }
  .form-card { padding: 21px 18px; }
  .form-grid { gap: 17px 12px; }
  .form-card .form-grid > .field:first-child, .form-card .form-grid > .field:nth-child(2) { grid-column: 1/-1; }
  .form-card .money-inputs > .field { grid-column: auto !important; }
  .summary-card { padding: 24px; }
  .publish-layout { gap: 18px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 20px; }
  .stat-card > span { display: flex; }
  .stat-card > span .icon { margin-bottom: 0; }
  .stat-card > strong { font-size: 1.9rem; margin: 10px 0 4px; }
  .section-heading { padding: 20px; }
  .section-heading .button { width: 100%; }
  .ledger-total { padding: 18px; font-size: .875rem; }
  .ledger-total strong { white-space: nowrap; }
  .modal { padding: 29px 22px 23px; border-radius: 13px; max-height: calc(100dvh - 28px); }
  .modal h2 { font-size: 1.6rem; }
  .modal .route-line strong { font-size: .91rem; }
  .modal .route-line { padding: 18px; }
  .modal .route-connector { left: 22px; }
  .detail-driver { flex-wrap: wrap; gap: 10px; }
  .detail-driver > .tag { font-size: .875rem; }
  .price-breakdown > div { font-size: .875rem; gap: 12px; }
  .price-box { padding: 16px; }
  .dialog-actions { flex-direction: column; }
  .dialog-actions .button { width: 100%; }
}
@media (max-width: 360px) {
  main { padding-left: 12px; padding-right: 12px; }
  .topbar { padding: 0 15px; }
  .community-sub { font-size: .875rem; }
  .demo-strip { padding-left: 12px; padding-right: 12px; font-size: .875rem; }
  .demo-strip > .icon { display: none; }
  .search-fields { grid-template-columns: 1fr; }
  .search-fields > * { grid-column: 1/-1; }
  .results-heading { align-items: center; }
  .trip-card-main { grid-template-columns: 56px minmax(0, 1fr) 57px; gap: 8px; padding: 16px 11px; }
  .route-line strong { font-size: .875rem; }
  .trip-price strong { font-size: 1.17rem; }
  .trip-price { min-width: 0; }
  .departure > strong { font-size: 1.2rem; }
  .modal { padding: 26px 17px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card .money-inputs > .field { grid-column: 1/-1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .demo-strip button, .page-footer, .button, .toast { display: none !important; }
  .shell { display: block; }
  .workspace, main { padding: 0; }
  .trip-card, .booking-card, .stat-card { break-inside: avoid; }
  .topbar { padding: 0; height: 70px; }
  .context-column { display: none; }
  .results-layout { display: block; }
}
