:root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #172437;
  background: #f1f4f8;
  --navy: #132239;
  --accent: #ad1e32;
  --muted: #46576c;
  --border: #d9e1ea;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.site-header { background: var(--navy); color: #fff; }
.header-inner, main { width: min(100% - 32px, 680px); margin-inline: auto; }
.header-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 18px; letter-spacing: .01em; }
.brand strong { margin-right: 4px; }
main { padding-block: 32px; }
h1 { margin: 0; font-size: clamp(25px, 6vw, 34px); line-height: 1.13; }
button, input { font: inherit; min-height: 44px; border-radius: 8px; }
button { cursor: pointer; padding: 0 14px; font-weight: 650; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #245eae; outline-offset: 3px; }
.header-button { background: transparent; border: 1px solid #8592a4; color: #fff; }
.header-button:focus-visible { outline-color: #fff; }
.login-card { max-width: 380px; margin-inline: auto; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.login-card h1 { font-size: 25px; }
form { display: grid; gap: 8px; margin-top: 24px; }
label { margin-top: 4px; font-weight: 600; }
input { width: 100%; padding-inline: 10px; border: 1px solid #8797aa; color: inherit; background: #fff; }
.primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); margin-top: 10px; }
.secondary { color: var(--navy); background: #fff; border: 1px solid #a9b6c6; }
.queue-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.queue-meta { margin: 12px 0 20px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.message { background: #fff0f1; border-radius: 8px; padding: 12px; color: #86162a; }
.offer { margin-block: 10px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.offer summary { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; min-height: 64px; list-style: none; }
.offer summary::-webkit-details-marker { display: none; }
.offer summary::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-right: 3px; }
.offer[open] summary::after { transform: rotate(225deg); }
.car { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.car-title { display: block; font-weight: 680; }
.car-meta { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.work-count { white-space: nowrap; color: var(--muted); font-size: 13px; }
.offer-body { padding: 14px; border-top: 1px solid var(--border); }
.offer-body p { margin: 0; }
.offer-body ol { margin: 10px 0 0; padding-inline-start: 22px; overflow-wrap: anywhere; }
.offer-body li + li { margin-top: 7px; }
.empty { border: 1px solid var(--border); border-radius: 11px; padding: 16px; background: #fff; }
