/* Vehicle Booking Portal — change the colours here to match your brand */
:root {
  --brand: #1d2939;        /* top bar */
  --accent: #e8590c;       /* buttons, highlights */
  --accent-dark: #c2410c;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --ok: #1f7a4d;   --ok-bg: #e7f6ee;
  --bad: #b42318;  --bad-bg: #fdecea;
  --info: #175cd3; --info-bg: #eaf2ff;
  --busy: #344054;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; margin: 0 0 .25rem; line-height: 1.25; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
code { background: #f2f4f7; padding: 1px 5px; border-radius: 4px; }
.container { max-width: 1120px; margin: 0 auto; padding: 20px 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.pre { white-space: pre-wrap; }

/* ---- Top bar ---- */
.topbar { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: #fff; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-weight: 400; opacity: .7; font-size: .75rem; margin-top: -2px; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; border: 6px solid var(--accent); box-shadow: inset 0 0 0 2px #fff3; flex: none; }
.brand-mark.lg { width: 44px; height: 44px; border-width: 10px; }
.menu { position: relative; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 4px; }
.menu-btn span { width: 22px; height: 2px; background: #fff; border-radius: 2px; display: block; }
.menu nav { display: flex; align-items: center; gap: 2px; }
.menu nav a, .menu .linkbtn { color: #fffc; padding: 8px 10px; border-radius: 6px; font-size: .92rem; }
.menu nav a:hover, .menu .linkbtn:hover { background: #ffffff14; color: #fff; text-decoration: none; }
.menu nav a.active { color: #fff; background: #ffffff1f; }
.nav-sep { display: none; }
.logout-form { margin: 0; }
.linkbtn { background: none; border: 0; font: inherit; cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .menu nav { display: none; position: absolute; right: 0; top: 50px; background: var(--brand); flex-direction: column; align-items: stretch;
              min-width: 240px; padding: 8px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .menu.open nav { display: flex; }
  .menu nav a, .menu .linkbtn { padding: 11px 12px; text-align: left; width: 100%; }
  .nav-sep { display: block; color: #fff8; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px 2px; border-top: 1px solid #ffffff1a; margin-top: 4px; }
}

/* ---- Layout pieces ---- */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back { font-size: .9rem; display: inline-block; margin-bottom: 4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.empty { margin: 8px 0; }
.footer { color: var(--muted); font-size: .8rem; }
.footer .container { padding-top: 8px; }

/* ---- Forms ---- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
label .muted { font-weight: 400; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--text);
  background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; min-height: 44px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
input:disabled { background: #f2f4f7; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; align-items: end; }
.filters label { margin-bottom: 12px; }
.filter-actions { display: flex; gap: 8px; margin-bottom: 12px; }
form.inline { display: inline; margin: 0; }
details > summary.summary-btn { cursor: pointer; font-weight: 600; color: var(--accent-dark); list-style: none; }
details > summary.summary-btn::-webkit-details-marker { display: none; }
details[open] > summary.summary-btn { margin-bottom: 14px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px;
       font: inherit; font-weight: 600; font-size: .92rem; color: var(--text); background: #fff; border: 1px solid #d0d5dd;
       border-radius: 8px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f9fafb; text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: #912018; }
.btn-sm { min-height: 32px; padding: 4px 10px; font-size: .82rem; }
.btn-block { width: 100%; min-height: 46px; }
.chip { font: inherit; font-size: .85rem; background: #fff; border: 1px solid #b2ccff; color: var(--info); border-radius: 999px; padding: 4px 10px; margin: 4px 4px 0 0; cursor: pointer; }
.chip:hover { background: var(--info); color: #fff; }

/* ---- Alerts & badges ---- */
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: var(--ok-bg); color: var(--ok); border-color: #abefc6; }
.alert-error { background: var(--bad-bg); color: var(--bad); border-color: #fecdca; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #b2ccff; }
.clash-list { margin: 6px 0 0; padding-left: 18px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.badge-confirmed { background: var(--ok-bg); color: var(--ok); }
.badge-active { background: #fff4e5; color: var(--accent-dark); }
.badge-past { background: #f2f4f7; color: var(--muted); }
.badge-cancelled { background: var(--bad-bg); color: var(--bad); }

/* ---- Tables (become cards on phones) ---- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td.actions { white-space: nowrap; text-align: right; }
.row-off td { opacity: .6; }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin-bottom: 10px; }
  .table td { border: 0; padding: 4px 0; display: flex; gap: 10px; }
  .table td::before { content: attr(data-label); flex: 0 0 92px; color: var(--muted); font-size: .8rem; }
  .table td.actions { justify-content: flex-start; padding-top: 8px; }
  .table td.actions::before { content: none; }
}

/* ---- Tabs ---- */
.tabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-color: var(--accent); }
.tabs a:hover { text-decoration: none; color: var(--text); }

/* ---- Details list ---- */
.details { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; gap: 2px; } .details dd { margin-bottom: 10px; } }
.cancel-box summary { cursor: pointer; color: var(--bad); font-weight: 600; }
.cancel-box[open] summary { margin-bottom: 12px; }

/* ---- Dashboard vehicles ---- */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.vehicle { border: 1px solid var(--line); border-radius: 8px; padding: 12px; border-left: 4px solid var(--ok); }
.vehicle.is-busy { border-left-color: var(--busy); background: #fafafa; }
.vehicle-top { display: flex; justify-content: space-between; align-items: center; }
.vehicle .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.vehicle.is-busy .dot { background: var(--busy); }
.vehicle-status { margin: 6px 0 4px; }

/* ---- Schedule timeline ---- */
.date-nav { display: flex; gap: 6px; align-items: center; }
.date-nav input { width: auto; margin: 0; min-height: 40px; }
.timeline { padding: 12px 14px; overflow-x: auto; }
.tl-row { display: grid; grid-template-columns: 150px minmax(560px, 1fr) 36px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); min-height: 50px; }
.tl-row:last-of-type { border-bottom: 0; }
.tl-head { min-height: 26px; border-bottom: 0; }
.tl-label { display: flex; flex-direction: column; line-height: 1.2; }
.tl-track { position: relative; height: 34px; }
.tl-head .tl-track { height: 20px; }
.tl-hour { position: absolute; transform: translateX(-50%); font-size: .72rem; color: var(--muted); }
.tl-grid { position: absolute; top: 0; bottom: 0; border-left: 1px dashed #eef0f3; }
.tl-now { position: absolute; top: -6px; bottom: -6px; border-left: 2px solid var(--bad); z-index: 2; }
.tl-bar { position: absolute; top: 3px; bottom: 3px; background: var(--busy); color: #fff; border-radius: 6px; font-size: .74rem;
          padding: 6px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 1; min-width: 4px; }
.tl-bar.mine { background: var(--accent); }
a.tl-bar:hover { text-decoration: none; filter: brightness(1.1); }
.tl-book { width: 32px; height: 32px; border-radius: 8px; border: 1px dashed #98a2b3; display: grid; place-items: center; font-size: 1.2rem; color: var(--muted); }
.tl-book:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.tl-legend { margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.tl-legend .sw { width: 14px; height: 10px; border-radius: 3px; background: var(--busy); display: inline-block; margin-left: 8px; }
.tl-legend .sw.mine { background: var(--accent); }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.day-list li:last-child { border-bottom: 0; }
.day-list .time { font-weight: 600; min-width: 230px; }

/* ---- Sign in ---- */
.auth-wrap { min-height: 80vh; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 400px; padding: 28px; }
.auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.auth-company { color: var(--muted); font-size: .85rem; font-weight: 600; }
.auth-brand h1 { margin: 0; }

/* =====================================================================
   Vehicle Booking Form additions
   ===================================================================== */
.btn-lg { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
.btn-ghost-danger { color: var(--bad); border-color: #fecdca; }
.btn-ghost-danger:hover { background: var(--bad-bg); }
.num { text-align: right; white-space: nowrap; }
.table th.num { text-align: right; }
.grow { flex: 1; }
.inline-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0 14px 0 0; cursor: pointer; }
.inline-check input { width: auto; min-height: 0; margin: 0; accent-color: var(--accent); }
label.plain { font-weight: 400; margin: 0; display: inline; }
.req { color: var(--bad); font-style: normal; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .form-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .form-grid.cols-3 { grid-template-columns: 1fr; } }

/* Booking form */
.booking-form .card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; flex: none; }
.field-error { display: block; color: var(--bad); font-weight: 400; font-size: .82rem; margin-top: 4px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); background: #fffbfa; }
input.auto, select.auto { background: #f8f9fb; color: var(--text); }
input.money { text-align: right; font-variant-numeric: tabular-nums; }
input.strong { font-weight: 700; }
.type-picker { border: 0; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-picker legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.type-option { margin: 0; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px;
  border: 1.5px solid #d0d5dd; border-radius: 10px; font-weight: 600; background: #fff; transition: border-color .15s, background .15s; }
.type-option input:checked + span { border-color: var(--accent); background: #fff4ed; color: var(--accent-dark); box-shadow: 0 0 0 3px #e8590c22; }
.type-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .type-picker { grid-template-columns: 1fr; } .type-option span { min-height: 46px; } }
.yesno { border: 0; padding: 0; margin: 0 0 12px; }
.yesno legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 10px; }
.vehicle-pick { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
@media (max-width: 860px) { .vehicle-pick { grid-template-columns: 1fr; } }
.vehicle-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfc; margin-bottom: 12px; }
.vehicle-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.vc-body { padding: 10px 12px; }
.vc-name { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.vc-links { display: flex; gap: 6px; flex-wrap: wrap; }
.money-grid { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.filebox { border: 1.5px dashed #c7ccd4; border-radius: 10px; padding: 12px 14px; margin-top: 6px; background: #fcfcfd; }
.filebox.has-error { border-color: var(--bad); background: #fffbfa; }
.filebox-title { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.filebox input[type=file] { border: 0; padding: 6px 0; min-height: 0; background: transparent; }
.file-list { list-style: none; margin: 0 0 6px; padding: 0; }
.file-list li { padding: 4px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sticky-actions { position: sticky; bottom: 0; z-index: 10; display: flex; gap: 10px; justify-content: flex-end; align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px); padding: 12px 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.sticky-actions .btn { min-height: 46px; padding: 10px 22px; }
@media (max-width: 560px) { .sticky-actions .btn, .sticky-actions form { flex: 1; } .sticky-actions form .btn { width: 100%; } }

/* Booking sheet (preview / view / print) */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 16px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 3px solid var(--accent); padding-bottom: 12px; margin-bottom: 8px; }
.sheet-company { color: var(--muted); font-weight: 600; font-size: .85rem; }
.sheet-title { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; }
.sheet-ref { text-align: right; }
.sheet-refno { font-size: 1.15rem; font-weight: 800; color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.sheet-car { float: right; width: 260px; max-width: 40%; margin: 6px 0 8px 16px; }
.sheet-section { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--line); clear: none; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 20px; margin: 0; }
.sheet-grid > div { padding: 5px 0; }
.sheet-grid > div.wide { grid-column: 1 / -1; }
.sheet-grid > div.em dd { font-weight: 800; font-size: 1.05rem; }
.sheet-grid dt { font-size: .75rem; color: var(--muted); }
.sheet-grid dd { margin: 0; font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.thumb { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); background: #fafbfc; }
.thumb:hover { text-decoration: none; border-color: var(--accent); }
.thumb img { width: 100%; height: 110px; object-fit: cover; background: #fff; }
.thumb-icon { height: 110px; display: grid; place-items: center; font-weight: 800; color: var(--bad); background: var(--bad-bg); letter-spacing: .05em; }
.thumb-kind { font-size: .7rem; color: var(--muted); padding: 6px 8px 0; text-transform: uppercase; letter-spacing: .04em; }
.thumb-name { font-size: .8rem; padding: 0 8px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sign-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; font-size: .85rem; color: var(--muted); }
.sign-line { border-bottom: 1px solid #98a2b3; height: 46px; margin-bottom: 6px; }
.print-only { display: none; }
@media (max-width: 560px) { .sheet { padding: 16px; } .sheet-car { float: none; width: 100%; max-width: 100%; margin: 6px 0; } }

/* Dashboard */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); color: var(--text); }
a.stat:hover { text-decoration: none; border-color: var(--accent); }
.stat-num { font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .82rem; }
.stat-warn .stat-num { color: var(--accent-dark); }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.recent li:last-child { border-bottom: 0; }
.recent a { flex: 1; display: flex; flex-direction: column; padding: 10px 0; color: var(--text); min-width: 0; }
.recent a:hover { text-decoration: none; }
.recent a:hover strong { color: var(--accent-dark); }
.recent-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-meta { font-size: .8rem; color: var(--muted); }

/* Catalogue */
.tabs.plain { border: 0; margin: 0; flex-wrap: wrap; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.model { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.model-pic { aspect-ratio: 16 / 10; background: linear-gradient(#fff, #f2f4f7); display: grid; place-items: center; }
.model-pic img { width: 100%; height: 100%; object-fit: contain; }
.model-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.model-body h3 { margin: 0; font-size: .98rem; }
.model-price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.model-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

/* Admin */
.group-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; color: var(--text); box-shadow: var(--shadow); }
.tile:hover { text-decoration: none; border-color: var(--accent); }
.switch { width: 40px; height: 22px; border-radius: 999px; border: 0; background: #d0d5dd; position: relative; cursor: pointer; padding: 0; }
.switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px #0003; }
.switch.on { background: var(--ok); }
.switch.on span { left: 21px; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; }
.cell-thumb { width: 64px; height: 40px; object-fit: contain; display: block; }
.filefield { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.filefield-label { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.filefield-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.filefield-row label { margin-bottom: 0; min-width: 200px; }
.filefield-thumb { width: 120px; height: 70px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pw-box code.big { font-size: 1.1rem; padding: 2px 8px; background: #fff; }
.test-form { display: flex; gap: 8px; }
.test-form input { margin: 0; min-width: 220px; }
.auth-card.wide { max-width: 860px; }

/* Print: just the booking sheet */
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; font-size: 11pt; }
  .no-print, .topbar, .footer, .sticky-actions, .page-head, .alert { display: none !important; }
  .container { max-width: none; padding: 0; }
  .sheet { border: 0; box-shadow: none; padding: 0; }
  .print-only { display: grid; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .thumb { break-inside: avoid; }
  .card { border: 0; box-shadow: none; }
  a { color: inherit; }
}
