:root {
  color-scheme: light;
  --surface: #f6f6f6;
  --paper: #fff;
  --ink: #171717;
  --secondary: #474747;
  --muted: #626262;
  --line: #e2e2e2;
  --subtle: #f0f0f0;
  --accent: #ff762b;
  --accent-hover: #f0671d;
  --accent-text: #a33d07;
  --accent-soft: #fff0e6;
  --shadow: 0 1px 2px #0000000a;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; min-height: 100vh; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
#main:focus-visible, #page-title:focus-visible { outline: none; }
:where(h1, h2, h3, p) { margin: 0; }
:where(button, a, input, select) { -webkit-tap-highlight-color: transparent; }
svg.icon { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.shell { width: min(1376px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; transform: translateY(-150%); z-index: 5; background: white; border-radius: 8px; padding: 10px; }
.skip:focus { transform: none; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; min-height: 76px; align-items: center; gap: 17px; }
.brand { display: inline-flex; gap: 12px; align-items: center; flex: none; }
.brand-icon { color: var(--accent); font-size: 35px; }
.brand-name { font-size: 25px; font-weight: 770; white-space: nowrap; letter-spacing: .01em; }
.primary-nav { display: flex; align-self: stretch; flex: 1; gap: clamp(18px, 3.5vw, 50px); margin-left: clamp(13px, calc(16vw - 120px), 76px); }
.primary-nav a { display: flex; align-items: center; min-height: 48px; padding: 2px 7px 0; border-bottom: 3px solid transparent; font-size: 16px; font-weight: 640; white-space: nowrap; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav [aria-current] { color: var(--accent-text); border-bottom-color: var(--accent); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.top-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 10px; white-space: nowrap; color: var(--ink); background: var(--paper); border: 0; border-radius: 8px; font-size: 14px; font-weight: 620; }
.top-action [data-icon] { font-size: 19px; }
.top-action:hover { background: var(--subtle); }
.account-button { color: var(--secondary); }
#account-label { max-width: 115px; overflow: hidden; text-overflow: ellipsis; }
.main { flex: 1; padding-top: 24px; }
.sync-label { margin-right: 8px; }
.sync-label { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-size: 12px; font-weight: 650; white-space: nowrap; }
.sync-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); margin-top: 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer .text-button { min-height: 40px; font-size: 12px; }
.breadcrumbs { display: none; }
.breadcrumbs a { display: inline-flex; gap: 5px; min-height: 42px; align-items: center; color: var(--ink); font-size: 13px; font-weight: 640; }
.breadcrumbs a [data-icon] { font-size: 16px; }
.page-intro { display: flex; align-items: end; justify-content: space-between; margin: 12px 0 22px; gap: 12px; }
.page-intro h1 { font-size: clamp(30px, 3.1vw, 39px); letter-spacing: .005em; line-height: 1.18; }
.page-intro p { margin-top: 8px; color: var(--secondary); font-size: 14px; line-height: 1.6; }
.tab-strip { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.work-tabs { display: flex; width: max-content; max-width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.work-tabs a { display: inline-flex; width: 132px; min-height: 43px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; font-size: 16px; font-weight: 640; }
.work-tabs .selected { margin: -1px; width: 134px; color: var(--ink); background: var(--accent); }
.work-tabs a:focus-visible { z-index: 1; }
.tab-strip:not([hidden]) + .page-intro { margin-top: 26px; }
.filter-bar { display: flex; gap: 7px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-bar button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 14px; font-weight: 620; color: var(--secondary); }
.filter-bar .selected { color: var(--accent-text); background: var(--accent-soft); border-color: #ffc5a4; }
.history-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 18px; color: var(--secondary); }
.history-count, .history-export { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; font-size: 14px; }
.history-count span + span { border-left: 1px solid var(--line); padding-left: 13px; }
.history-export > span { order: -1; }
.history-export .button { font-size: 15px; border-radius: 8px; }
.table-hint { display: none; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.history-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.history-table { width: 100%; min-width: 1040px; table-layout: fixed; border-spacing: 0; font-variant-numeric: tabular-nums; }
.history-table :is(th, td) { padding: 13px 12px; vertical-align: middle; text-align: left; font-size: 16px; line-height: 1.42; overflow-wrap: anywhere; }
.history-table th { background: #eaeaea; color: var(--ink); font-size: 16px; font-weight: 710; }
.history-table th[data-icon], .history-table th [data-icon] { vertical-align: -.14em; }
.history-table tbody td { height: 55px; background: var(--paper); }
.history-table tbody tr + tr td { border-top: 1px solid var(--line); }
.history-table tbody tr:hover td { background: #fafafa; }
.history-table th:nth-child(1) { width: 65px; }
.history-table th:nth-child(2) { width: 108px; }
.history-table th:nth-child(4) { width: 15%; }
.history-table th:nth-child(5), .history-table th:nth-child(6), .history-table th:nth-child(7) { width: 15%; }
.history-table th:nth-child(8) { width: 119px; }
.history-table th:nth-child(9) { width: 65px; }
.history-table .row-number { text-align: center; }
.history-table time { white-space: nowrap; }
.history-table .vehicle-model, .history-table .no-return { color: var(--secondary); }
.history-table .status { max-width: 100%; padding-inline: 7px; font-size: 13px; white-space: normal; }
.history-table .status::before { display: none; }
.history-table .table-empty { height: 126px; text-align: center; color: var(--secondary); }
.table-empty a { color: var(--ink); margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.history-table .text-button { min-height: 36px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.booking-form { padding: 25px 27px; max-width: 785px; }
.form-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 20px; }
.form-heading h2 { font-size: 19px; }
.form-heading > span { white-space: nowrap; font-size: 12px; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field, .field-line { display: block; min-width: 0; font-size: 14px; font-weight: 650; color: var(--ink); }
.field > span { font-weight: 500; color: var(--muted); font-size: 12px; }
.field input, select { width: 100%; min-width: 0; max-width: 100%; height: 47px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--line); background: #fafafa; border-radius: 11px; color: var(--ink); font-size: 16px; font-weight: 450; }
input::placeholder { color: var(--muted); opacity: 1; font-size: 14px; }
input[readonly] { background: var(--subtle); color: var(--secondary); }
input[type="datetime-local"] { -webkit-appearance: none; appearance: none; display: block; text-align: start; }
input[type="datetime-local"]::-webkit-date-and-time-value { min-height: 1em; text-align: start; }
input[type="datetime-local"]::-webkit-calendar-picker-indicator { opacity: .65; }
.form-section { margin-top: 19px; }
.field-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-line button { min-height: 32px; }
.field-help { margin-top: 7px; min-height: 1em; font-size: 12px; color: var(--muted); }
.timing { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.timing legend { padding: 0; color: var(--ink); font-size: 14px; font-weight: 650; }
.segments { display: flex; border-radius: 12px; padding: 4px; background: var(--subtle); gap: 4px; margin-top: 9px; }
.segments label { position: relative; flex: 1 1 0; cursor: pointer; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segments label span { min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--secondary); font-size: 14px; border-radius: 8px; }
.segments input:checked + span { background: white; box-shadow: 0 1px 4px #00000015; color: var(--ink); font-weight: 650; }
.segments input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 1px; }
.segments i { font-size: 16px; }
.timing-fields { margin-top: 17px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 19px; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 45px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent; white-space: nowrap; font-size: 14px; font-weight: 670; line-height: 1.2; }
.button [data-icon] { font-size: 17px; }
.primary { color: var(--ink); background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary-button { color: var(--ink); background: var(--subtle); border-color: var(--line); }
.secondary-button:hover { background: #e9e9e9; }
.text-button { padding: 0 3px; min-height: 40px; color: var(--ink); background: transparent; border: 0; border-radius: 6px; font-size: 13px; font-weight: 630; }
.text-button:hover { color: var(--accent-text); }
.form-feedback { padding: 10px 12px; margin-top: 15px; border-radius: 9px; color: var(--accent-text); background: var(--accent-soft); font-size: 13px; line-height: 1.6; }
.empty { display: grid; justify-items: center; text-align: center; padding: 46px 18px; gap: 9px; }
.empty [data-icon] { background: var(--subtle); color: var(--secondary); width: 44px; height: 44px; border-radius: 14px; font-size: 23px; }
.empty h2 { font-size: 17px; }
.empty p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.empty .button { margin-top: 6px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vehicle-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vehicle-card { min-width: 0; overflow: clip; }
.vehicle-photo { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--subtle); }
.vehicle-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
button.vehicle-photo:hover img { opacity: .94; }
button.vehicle-photo:focus-visible { outline-offset: -4px; }
.vehicle-no-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--secondary); font-size: 13px; }
.vehicle-no-photo [data-icon] { color: var(--muted); font-size: 36px; }
.vehicle-card .record { padding-top: 15px; }
.vehicle-card .record-subtitle { font-size: 14px; }
.vehicle-photo-full, .vehicle-photo-preview { display: block; width: 100%; object-fit: contain; border-radius: 10px; background: var(--subtle); }
.vehicle-photo-full { margin-top: 16px; max-height: 65vh; }
.vehicle-photo-preview { max-height: 155px; }
.photo-upload input[type="file"] { height: auto; padding: 9px; font-size: 14px; }
.photo-remove { display: flex; align-items: center; gap: 6px; min-height: 40px; color: var(--secondary); font-size: 14px; }
.photo-remove input { width: 17px; height: 17px; accent-color: var(--accent); }
.danger { color: #fff; background: var(--accent-text); }
.danger:hover { background: #8f3404; }
.danger-outline { color: var(--accent-text); border-color: #ffc5a4; background: #fff; }
.danger-outline:hover { background: var(--accent-soft); }
.record { min-width: 0; padding: 18px 19px; }
.record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.record-main { min-width: 0; }
.record h2 { font-size: 18px; overflow-wrap: anywhere; }
.record-subtitle { margin-top: 4px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; color: var(--secondary); background: var(--subtle); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.available { color: #087347; background: #d9f7e6; }
.status.active, .status.overdue, .status.blocked { color: var(--accent-text); background: var(--accent-soft); }
.details { display: grid; gap: 8px; border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 13px; }
.details > div { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 8px; line-height: 1.45; font-size: 13px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; color: var(--ink); font-weight: 530; overflow-wrap: anywhere; }
.record-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.compact { min-height: 37px; padding: 0 11px; font-size: 13px; }
.list-more { display: flex; justify-content: center; margin-top: 16px; }
dialog { padding: 0; border: 1px solid var(--line); border-radius: 23px; width: min(440px, calc(100% - 34px)); max-height: calc(100dvh - 32px); background: white; color: var(--ink); box-shadow: 0 25px 80px #00000040; }
dialog.wide { width: min(620px, calc(100% - 34px)); }
dialog::backdrop { background: #00000066; backdrop-filter: blur(3px); }
.dialog-inner { position: relative; padding: 25px 25px 24px; }
.dialog-inner h2 { padding-right: 35px; font-size: 22px; line-height: 1.3; }
.dialog-inner .dialog-description { color: var(--muted); font-size: 14px; line-height: 1.62; margin-top: 8px; overflow-wrap: anywhere; }
.dialog-fields { display: grid; gap: 13px; margin-top: 17px; }
.dialog-fields .field-grid { align-items: start; }
.icon-button { border: 0; color: var(--muted); background: var(--subtle); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; font-size: 20px; }
.dialog-close { position: absolute; top: 17px; right: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.qr-art { display: grid; place-items: center; margin: 16px 0 7px; }
.qr-art canvas { image-rendering: pixelated; max-width: 100%; height: auto; width: 180px; }
.toast { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 6; transform: translateX(-50%); max-width: calc(100% - 28px); width: max-content; padding: 12px 17px; border-radius: 12px; background: var(--ink); color: white; box-shadow: 0 8px 26px #00000038; font-size: 14px; }
@media (max-width: 1115px) {
  .table-hint { display: block; }
  .history-table .row-number, .history-table .table-driver { position: sticky; z-index: 1; }
  .history-table .row-number { left: 0; }
  .history-table .table-driver { left: 65px; box-shadow: 1px 0 0 var(--line); }
}
@media (max-width: 920px) {
  .vehicle-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { width: calc(100% - 40px); }
  .topbar-inner { min-height: 58px; }
  .brand-icon { font-size: 25px; }
  .brand-name { font-size: 17px; }
  .brand { gap: 6px; }
  .primary-nav { display: none; }
  .breadcrumbs { display: block; margin-bottom: 9px; }
  .main { padding-top: 13px; }
  .page-intro { margin: 7px 0 16px; }
  .tab-strip:not([hidden]) + .page-intro { margin-top: 20px; }
  .tab-strip { border: 0; padding-bottom: 0; }
  .work-tabs a { width: 112px; min-height: 42px; font-size: 15px; }
  .work-tabs .selected { width: 114px; }
  .history-toolbar { align-items: flex-start; margin-bottom: 12px; }
  .history-export > span { order: 0; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 34px); }
  .top-action { min-height: 44px; padding-inline: 7px; }
  .account-button { width: 44px; }
  #account-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .history-toolbar { flex-direction: column; align-items: stretch; gap: 11px; }
  .history-count, .history-export { font-size: 12px; }
  .history-export .button { font-size: 14px; }
  .history-table { min-width: 945px; }
  .history-table th:nth-child(1) { width: 44px; }
  .history-table th:nth-child(2) { width: 84px; }
  .history-table th:nth-child(8) { width: 108px; }
  .history-table .table-driver { left: 44px; }
  .history-table :is(th, td) { padding: 12px 9px; font-size: 13px; }
  .history-table th { font-size: 14px; }
  .history-table .status { font-size: 12px; }
  .history-table tbody td { height: 48px; }
  .history-table th:nth-child(1), .history-table th:nth-child(9) { padding-inline: 5px; }
  .cards { grid-template-columns: 1fr; gap: 11px; }
  .overview .section-heading { padding: 10px 13px; }
  .overview .section-heading h2 { font-size: 16px; }
  .cards.vehicle-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; align-items: start; }
  .vehicle-card { border-radius: 10px; }
  .vehicle-card .vehicle-photo { aspect-ratio: 16 / 9; }
  .vehicle-no-photo [data-icon] { font-size: 26px; }
  .vehicle-card .record { padding: 9px 8px; }
  .vehicle-card .record-head { flex-wrap: wrap; gap: 4px 5px; }
  .vehicle-card .record-main { flex: 1 1 5em; }
  .vehicle-card h2 { font-size: 15px; line-height: 1.22; }
  .vehicle-card .record-subtitle { margin-top: 3px; font-size: 12px; }
  .vehicle-card .status { padding: 3px 5px; font-size: 11px; gap: 4px; }
  .vehicle-card .status::before { width: 4px; height: 4px; }
  .vehicle-card .details { margin-top: 8px; padding-top: 7px; gap: 5px; }
  .vehicle-card .details > div { display: flex; flex-wrap: wrap; gap: 1px 5px; font-size: 12px; }
  .vehicle-card .details dd { min-width: 0; }
  .vehicle-card .record-actions { margin-top: 8px; gap: 4px; }
  .vehicle-card .compact { min-height: 44px; padding-inline: 6px; font-size: 12px; }
  .booking-form { padding: 17px 15px; }
  .booking-form .field-grid { grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .dialog-inner { padding: 21px 17px 19px; }
}
@media (max-width: 365px) {
  .dialog-fields .field-grid { grid-template-columns: 1fr; }
  .overview-actions .sync-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Fleet home and shared surfaces */
.shell { width: min(1180px, calc(100% - 64px)); }
.topbar { background: var(--surface); }
.topbar-inner { min-height: 66px; }
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--accent);
  font-size: 17px;
}
.brand-name { font-size: 18px; }
.primary-nav { gap: clamp(12px, 2.5vw, 32px); margin-left: 34px; }
.primary-nav a { font-size: 14px; }
.top-action { background: transparent; }
.panel { border-radius: 19px; }
.page-intro { margin-bottom: 22px; }
.vehicle-card .vehicle-photo { background: radial-gradient(ellipse at 50% 98%, #e6e6e6, #f7f7f7 66%); }
.vehicle-card .vehicle-photo img { padding: 9% 8% 7%; filter: drop-shadow(0 10px 6px #00000028); }

.fleet-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 22px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.fleet-hero h1 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.15; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions .button { padding-inline: 16px; min-height: 44px; }
.hero-return { min-width: 72px; color: var(--ink); border-color: var(--line); background: var(--paper); }
.hero-return:hover { background: var(--subtle); }
.home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.home-links a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 680;
}
.home-links a:hover { border-color: #a3a3a3; }
.shortcut-icon { width: 34px; height: 34px; border-radius: 10px; color: var(--ink); background: var(--subtle); font-size: 19px; }
.shortcut-arrow { margin-left: auto; color: var(--muted); font-size: 16px; }

.active-trip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: var(--accent-soft);
  border: 1px solid #ffc5a4;
  border-radius: 16px;
}
.active-trip-icon { display: grid; place-items: center; color: var(--ink); width: 30px; font-size: 21px; }
.active-trip strong { display: block; overflow-wrap: anywhere; }
.active-trip p { margin-top: 3px; color: var(--secondary); font-size: 12px; line-height: 1.5; }

.fleet-section { margin-top: 28px; }
.fleet-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.fleet-heading h2 { font-size: clamp(23px, 3vw, 29px); letter-spacing: -.035em; }
.fleet-heading p { margin-top: 4px; color: var(--secondary); font-size: 13px; }
.fleet-heading p:empty { display: none; }
.fleet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fleet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
}
.fleet-card-art {
  position: relative;
  height: clamp(150px, 16vw, 204px);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 53% 90%, #e6e6e6 0, #f7f7f7 76%);
}
.fleet-card-art img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 30px 12px 15px;
  filter: drop-shadow(0 9px 5px #00000038);
}
.fleet-card-art > [data-icon] { color: var(--muted); font-size: 44px; }
.fleet-card-art .status { position: absolute; top: 9px; left: 10px; min-height: 25px; }
.fleet-card-info {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px;
}
.fleet-card-info > div { min-width: 0; overflow-wrap: anywhere; }
.fleet-card-info h3 { font-size: 17px; }
.fleet-card-info p { margin-top: 4px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.fleet-pick {
  min-height: 44px;
  padding-inline: 11px;
  gap: 4px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
}
.fleet-pick:hover { background: var(--accent-hover); }
.fleet-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--secondary);
  font-size: 14px;
}
.fleet-empty > [data-icon] { font-size: 20px; }
.fleet-empty button { margin-left: auto; }

.return-choices { display: grid; gap: 8px; margin-top: 16px; }
.return-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 13px;
}
.return-choice:hover { border-color: #a3a3a3; }
.return-choice small { display: block; color: var(--secondary); margin-top: 2px; }
.return-success { padding: 17px 3px 5px; text-align: center; }
.return-success h2 { font-size: 29px; padding: 0; margin-top: 15px; }
.return-success > p { margin-top: 6px; color: var(--secondary); overflow-wrap: anywhere; }
.success-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
  color: var(--ink);
  font-size: 36px;
}
.success-details { margin: 19px 0 14px; padding: 12px; border-radius: 12px; background: var(--subtle); }
.success-details dt { color: var(--secondary); font-size: 12px; }
.success-details dd { margin: 4px 0 0; font-size: 14px; font-weight: 640; }
.return-success .button { width: 100%; }

@media (max-width: 920px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { min-height: 59px; }
  .fleet-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .brand-name { font-size: 16px; }
  .brand-icon { width: 30px; height: 30px; }
  .fleet-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 17px 16px;
    border-radius: 16px;
  }
  .home-links { gap: 7px; margin-top: 10px; }
  .home-links a { flex-direction: column; justify-content: center; gap: 5px; padding: 8px 1px; font-size: 11px; white-space: nowrap; }
  .shortcut-icon { width: 29px; height: 29px; font-size: 16px; }
  .shortcut-arrow { display: none; }
  .fleet-section { margin-top: 21px; }
  .fleet-cards { gap: 12px; grid-template-columns: minmax(0, 1fr); }
  .fleet-card-art { height: 165px; }
  .fleet-empty { padding: 10px; font-size: 12px; }
}
