:root {
  /* "Blue Neutral" palette: #02000D #07203F #EBDED4 #D9AA90 #A65E46. Light only, solid colours only. */
  --p-black: #02000D; --p-navy: #07203F; --p-sand: #EBDED4; --p-peach: #D9AA90; --p-terracotta: #A65E46;
  --bg: #F4EDE7; --card: #FFFDFB; --ink: #02000D; --muted: #5E5A63; --line: #EBDED4;
  --brand: #07203F; --brand-ink: #ffffff; --brand-soft: #F1E6DD; --accent: #A65E46;
  --ok: #2F6B4F; --ok-soft: #E3EEE7; --warn: #8A5A1C; --warn-soft: #F4E8D8;
  --bad: #A23B3B; --bad-soft: #F6E3E1; --info: #07203F; --info-soft: #E6EAF0;
  --radius: 14px; --shadow: 0 1px 2px rgba(2,0,13,.06), 0 2px 8px rgba(2,0,13,.05);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
input, select, textarea { accent-color: var(--brand); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 1.05rem; margin: 20px 4px 8px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
svg.ti { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- shell */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: calc(10px + var(--safe-t)) 12px 10px; background: var(--card); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.1rem; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-logo { height: 28px; max-width: 80px; object-fit: contain; }
.topbar-actions { display: flex; gap: 6px; }
.icon-btn { border: 0; background: transparent; color: var(--ink); padding: 6px; border-radius: 10px; display: grid; place-items: center; min-width: 40px; min-height: 40px; cursor: pointer; }
.icon-btn:active { background: var(--line); }
.view { padding: 12px 16px calc(96px + var(--safe-b)); max-width: 760px; margin: 0 auto; outline: none; }
.view.no-tabs { padding-bottom: 32px; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; color: var(--muted); padding: 4px 0; }
.tabbar a.active { color: var(--brand); }
.tabbar a.tab-new { align-self: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  justify-content: center; margin-top: -18px; box-shadow: 0 4px 14px rgba(2,0,13,.35); }
.tabbar a.tab-new svg { width: 28px; height: 28px; }
.offline { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .85rem; padding: 6px; }

/* ---- cards & lists */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 14px; margin-bottom: 12px; }
.list { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); min-height: 56px; }
.row:last-child { border-bottom: 0; }
a.row:active, button.row:active { background: var(--bg); }
button.row { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; cursor: pointer; }
.row .main { flex: 1; min-width: 0; }
.row .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .end { text-align: right; font-size: .9rem; white-space: nowrap; }
.chev::after { content: "›"; color: var(--muted); font-size: 1.4rem; margin-left: 2px; }
.empty { color: var(--muted); text-align: center; padding: 28px 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.kv .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
.num { font-variant-numeric: tabular-nums; }

/* ---- stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 4px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.stat .label { color: var(--muted); font-size: .78rem; }
.stat .value { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.stat.alert .value { color: var(--bad); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---- badges */
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--ink); white-space: nowrap; }
.b-Confirmed, .b-Available, .b-Approved { background: var(--info-soft); color: var(--info); }
.b-Active, .b-Paid { background: var(--ok-soft); color: var(--ok); }
.b-Pending, .b-Partially-Paid, .b-Maintenance, .b-Draft, .b-Held, .b-Partially-Applied { background: var(--warn-soft); color: var(--warn); }
.b-Cancelled, .b-Unpaid, .b-Inactive, .b-overdue, .b-blacklisted { background: var(--bad-soft); color: var(--bad); }
.b-Completed, .b-Refunded, .b-Applied { background: var(--line); color: var(--muted); }
.b-SUBHIRE { background: var(--brand-soft); color: var(--brand); }

/* ---- forms */
form { margin: 0; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; min-height: 46px; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.check { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.check input { width: 22px; min-height: 22px; height: 22px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: -6px; margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 12px 16px;
  min-height: 48px; font: inherit; font-weight: 600; background: var(--brand); color: var(--brand-ink); cursor: pointer; text-align: center; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn:disabled { opacity: .55; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.btn-row .btn { flex: 1 1 140px; }
.search { position: sticky; top: calc(60px + var(--safe-t)); z-index: 5; background: var(--bg); padding: 4px 0 8px; display: flex; gap: 8px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.seg { display: flex; background: var(--line); border-radius: 12px; padding: 3px; margin-bottom: 12px; overflow-x: auto; }
.seg button { flex: 1; border: 0; background: none; font: inherit; font-size: .85rem; padding: 8px 6px; border-radius: 9px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }

/* ---- sheet & toast */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(2,0,13,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet-panel { background: var(--bg); width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; border-radius: 18px 18px 0 0;
  padding: 8px 16px calc(20px + var(--safe-b)); animation: up .18s ease-out; }
.sheet-panel::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet-head h3 { font-size: 1.1rem; }
@keyframes up { from { transform: translateY(30px); opacity: .5; } to { transform: none; opacity: 1; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + var(--safe-b)); z-index: 60; background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 12px; font-size: .9rem; max-width: 90vw; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.toast.error { background: var(--bad); color: #fff; }

/* ---- login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login .card { width: 100%; max-width: 380px; padding: 24px; }
.login h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login p { color: var(--muted); margin: 0 0 18px; }
.login img { max-height: 56px; max-width: 160px; margin-bottom: 12px; }

/* ---- calendar */
.cal { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cal-grid { display: grid; position: relative; min-width: max-content; }
.cal-h, .cal-car, .cal-cell { font-size: .72rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); height: 34px; display: flex; align-items: center; justify-content: center; }
.cal-car { position: sticky; left: 0; background: var(--card); z-index: 2; justify-content: flex-start; padding: 0 8px; font-weight: 600; width: 92px; }
.cal-h { color: var(--muted); background: var(--card); }
.cal-h.today { color: var(--brand); font-weight: 700; }
.cal-h.we, .cal-cell.we { background: color-mix(in srgb, var(--line) 35%, transparent); }
.cal-bar { position: absolute; height: 24px; border-radius: 6px; font-size: .7rem; padding: 0 6px; display: flex; align-items: center; overflow: hidden;
  white-space: nowrap; background: var(--info-soft); color: var(--info); border: 1px solid currentColor; z-index: 1; cursor: pointer; }
.cal-bar.Active { background: var(--ok-soft); color: var(--ok); }
.cal-bar.Pending { background: var(--warn-soft); color: var(--warn); }
.cal-bar.Completed { background: var(--line); color: var(--muted); }

/* ---- bars (reports) */
.barline { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: center; font-size: .8rem; margin: 6px 0; }
.bars { display: flex; flex-direction: column; gap: 2px; }
.bar { height: 9px; border-radius: 4px; background: var(--brand); min-width: 2px; }
.bar.exp { background: var(--warn); }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); margin-right: 4px; vertical-align: -1px; }
.legend i.exp { background: var(--warn); }
.pos { color: var(--ok); } .neg { color: var(--bad); }
.small { font-size: .85rem; } .muted { color: var(--muted); }
.mt { margin-top: 12px; }
.alert-box { padding: 10px 12px; border-radius: 12px; font-size: .9rem; margin-bottom: 12px; }
.alert-box.warn { background: var(--warn-soft); color: var(--warn); }
.alert-box.bad { background: var(--bad-soft); color: var(--bad); }
.alert-box.ok { background: var(--ok-soft); color: var(--ok); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .view { max-width: 960px; } }
/* overflow guards for narrow phones */
body { overflow-x: hidden; }
.grid2 > *, .field, .field label { min-width: 0; }
input, select, textarea { min-width: 0; max-width: 100%; }
input[type="date"], input[type="datetime-local"], input[type="month"] { -webkit-appearance: none; appearance: none; display: block; }
.combo { display: flex; gap: 8px; align-items: stretch; }
.combo select { flex: 1 1 auto; }
.combo .btn { flex: 0 0 auto; min-height: 46px; }
/* ---- v7 additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.break { word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.wrap { white-space: normal !important; }
.block-link { display: block; text-decoration: none; }
.h3s { font-size: 1rem; margin: 6px 0; }
.b-online { background: var(--brand-soft); color: var(--brand); }
.b-Sent, .b-Created, .b-queued, .b-manual { background: var(--warn-soft); color: var(--warn); }
.b-Paid, .b-sent, .b-Delivered, .b-Awaiting-Delivery { background: var(--ok-soft); color: var(--ok); }
.b-Failed, .b-failed, .b-Disputed { background: var(--bad-soft); color: var(--bad); }
.tag { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 999px; margin: 2px 2px 2px 0; }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.bad { background: var(--bad-soft); color: var(--bad); }
.thumb { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--line); }
.ph-empty { display: inline-block; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin: 8px 0; }
.photo-grid .ph { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--line); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid span { position: absolute; left: 0; right: 0; bottom: 0; font-size: .68rem; color: #fff; background: rgba(2,0,13,.7); padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-edit { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pe { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px; align-items: center; }
.pe img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sig-pad { width: 100%; height: 170px; border: 2px dashed var(--line); border-radius: 12px; background: #fff; touch-action: none; display: block; }
.sig-view img { max-width: 240px; max-height: 90px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.terms { margin-bottom: 10px; }
.terms summary { cursor: pointer; color: var(--brand); font-weight: 600; padding: 6px 0; }
.terms pre { white-space: pre-wrap; font: inherit; font-size: .85rem; max-height: 280px; overflow: auto; background: var(--bg); padding: 10px; border-radius: 10px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.checklist .check { margin-bottom: 8px; font-size: .9rem; }
.extra-row { display: grid; grid-template-columns: 1fr 64px; gap: 8px; align-items: center; }
.extra-row .check { margin-bottom: 8px; }
.extra-row .qty { min-height: 38px; padding: 6px; }
input[type=range] { padding: 0; min-height: 36px; border: 0; background: transparent; accent-color: var(--brand); }
.plans { display: grid; gap: 8px; margin-bottom: 12px; }
.plan { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--brand); }
.plan input { width: 20px; min-height: 20px; height: 20px; grid-row: span 3; }
.plan .price { font-weight: 700; color: var(--brand); text-align: right; }
.plan .small { grid-column: 2 / 4; }
.login .card.wide { max-width: 560px; }
.btn-col { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.row.msg { align-items: flex-start; }
.car-photo img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.car-photo { text-align: center; }
/* ---- public booking page */
.pub-head { display: flex; align-items: center; gap: 12px; padding: calc(14px + var(--safe-t)) 16px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.pub-head img { height: 40px; max-width: 120px; object-fit: contain; }
.pub-head h1 { font-size: 1.15rem; }
.car-card { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; }
.car-card img, .car-card .noimg { width: 112px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--line); }
.car-card .price { font-weight: 700; font-size: 1.1rem; }
.steps { display: flex; gap: 6px; margin: 4px 0 12px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--brand); }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opts label { border: 2px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; font-weight: 600; cursor: pointer; background: var(--card); }
.pay-opts label:has(input:checked) { border-color: var(--brand); color: var(--brand); }
.pay-opts input { position: absolute; opacity: 0; width: 1px; }
.foot { text-align: center; color: var(--muted); font-size: .75rem; padding: 24px 0; }
.row-btn { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.row-btn:active { transform: scale(.99); }
.agency { display: grid; gap: 4px; }
.agency .btn-row { margin: 6px 0 0; }
.narrow { max-width: 380px; margin: 40px auto; }
/* ---- chauffeur */
.b-chauffeur { background: var(--brand-soft); color: var(--brand); }
.trip-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 12px; }
.trip-steps span { font-size: .62rem; text-align: center; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); line-height: 1.2; }
.trip-steps span.on { border-top-color: var(--brand); color: var(--ink); font-weight: 600; }
.btn.big { min-height: 58px; font-size: 1.1rem; }
.card.subtle { background: var(--bg); box-shadow: none; margin: 8px 0 0; }
.stars { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.stars button { font-size: 2rem; background: none; border: 0; color: var(--line); cursor: pointer; padding: 0 2px; }
.stars button.on { color: #C9A227; }
.svc-tabs { margin-bottom: 12px; }
.check input { flex: 0 0 auto; }
.row a.main { color: var(--ink); }

/* ---- brand: launch screen, login lockup, "powered by" */
.launch { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #07203F; color: #EBDED4; transition: opacity .35s ease; }
.launch.out { opacity: 0; pointer-events: none; }
.launch-mark { width: 104px; height: 104px; animation: launch-in .5s ease-out both; }
.launch-word { font: 600 2.4rem/1 "Inter Display", Inter, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.02em; margin-top: 22px; animation: launch-in .5s .08s ease-out both; }
.launch-tag { font-size: .7rem; letter-spacing: .24em; color: #D9AA90; margin-top: 10px; animation: launch-in .5s .16s ease-out both; }
.launch-bar { width: 96px; height: 3px; border-radius: 3px; background: rgba(235,222,212,.25); margin-top: 36px; overflow: hidden; }
.launch-bar span { display: block; width: 40%; height: 100%; border-radius: 3px; background: #D9AA90; animation: launch-bar 1.1s ease-in-out infinite; }
@keyframes launch-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes launch-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .launch-mark, .launch-word, .launch-tag, .launch-bar span { animation: none; } }
.login { grid-template-rows: auto auto auto; align-content: center; gap: 0; }
.login-brand { display: flex; justify-content: center; margin-bottom: 20px; }
.login-brand img { height: 68px; max-height: 68px; width: auto; max-width: 100%; margin: 0; }
.lockup-dark { display: none; }
.powered { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .8rem; margin: 18px 0 0; padding-bottom: 24px; }
.powered img { width: 18px; height: 18px; margin: 0; }
.plat-logo { height: 30px; width: auto; vertical-align: middle; margin-right: 10px; }
.pub-head .plat-logo + .plat-logo + h1, .pub-head .plat-logo ~ h1 { display: inline-block; vertical-align: middle; font-size: 1rem; color: var(--muted); margin: 0; }

/* ---- public legal / help pages */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: 1.5rem; margin-bottom: 4px; }
.legal-page h2 { text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--ink); margin: 20px 0 6px; }
.legal-page p, .legal-page li { line-height: 1.55; }
.legal-page ul, .legal-page ol { padding-left: 20px; }
.legal-page textarea, .legal-page select { width: 100%; }
.legal-nav { text-align: center; font-size: .85rem; margin: 18px 0 6px; line-height: 2; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.app-links { text-align: center; font-size: .8rem; margin-top: 14px; }
.app-links a { color: var(--muted); }
.tight { margin: 4px 0 0; padding-left: 18px; } .tight li { margin-bottom: 4px; }
.market { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; display: grid; gap: 8px; }

/* ---- customer side (Find a car) */
.rent-brand { height: 30px; width: auto; display: block; }
.rent-hero { padding: 6px 4px 12px; }
.rent-hero h1 { font-size: 1.6rem; margin-bottom: 4px; }
.rent-hero p { color: var(--muted); margin: 0; }
.rent-sum { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ag-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; background: var(--bg); flex: 0 0 42px; }
.ag-logo.ph { display: grid; place-items: center; font-weight: 700; color: var(--brand); background: var(--brand-soft); }
.b-featured { background: var(--p-terracotta); color: #fff; }
.b-verified { background: var(--info-soft); color: var(--info); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 4px; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip-sel { margin-left: auto; border-radius: 999px; padding: 7px 10px; width: auto; flex: 0 0 auto; }
.rent-car { display: flex; gap: 12px; color: var(--ink); align-items: stretch; }
.rent-car img, .rent-car .noimg { width: 112px; min-height: 84px; object-fit: cover; border-radius: 10px; flex: 0 0 112px; background: var(--bg); }
.rc-body { min-width: 0; flex: 1; display: grid; gap: 3px; }
.rc-agency .badge { margin-left: 4px; }
.rc-price { margin-top: 2px; }
.rtabbar { grid-template-columns: repeat(3, 1fr); }
.pub-head .icon-btn { color: var(--ink); }
.rating { color: #C98A2B; white-space: nowrap; } .rating .off { color: var(--line); }
.stars-in { display: flex; gap: 6px; margin: 6px 0 10px; }
.stars-in button { font-size: 2rem; line-height: 1; border: 0; background: none; color: var(--line); cursor: pointer; padding: 2px; }
.stars-in button.on { color: #C98A2B; }
.review .title { white-space: normal; }
.rv-text { margin: 4px 0; white-space: pre-wrap; }
.rv-reply { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--brand-soft); font-size: .88rem; }
.ag-head { display: flex; gap: 12px; align-items: center; }
.ag-head .ag-logo { width: 56px; height: 56px; flex-basis: 56px; }
.row-link { display: block; color: var(--ink); }
.mt-s { margin-top: 4px; } .review { align-items: flex-start; } .review .main { text-align: left; }
.auth-h { text-transform: none; letter-spacing: 0; font-size: 1.35rem; color: var(--ink); margin: 0 0 8px; }
.auth-perks { margin: 0 0 14px; } .auth-perks li::marker { color: var(--p-terracotta); }
.auth .check { align-items: flex-start; margin: 4px 0 12px; }
.auth-hint { background: var(--brand-soft); border-color: transparent; }

/* owner console: read-only support view bar and announcements (8.9) */
.support-bar { position: sticky; top: 0; z-index: 30; background: var(--p-terracotta); color: #fff; font-size: .88rem; padding: calc(8px + var(--safe-t)) 14px 8px;
  display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.support-bar .btn { min-height: 32px; }
body.support-view .topbar { top: 48px; }
.notice { position: relative; padding: 10px 40px 10px 12px; border-radius: 12px; font-size: .9rem; margin-bottom: 12px; background: var(--info-soft); color: var(--info); }
.notice.warning { background: var(--warn-soft); color: var(--warn); }
.notice.success { background: var(--ok-soft); color: var(--ok); }
.notice b { display: block; }
.notice .x { position: absolute; right: 6px; top: 6px; border: 0; background: none; color: inherit; font-size: 1.2rem; width: 30px; height: 30px; cursor: pointer; }
