:root {
    --ink: #1a1a1a;
    --muted: #666;
    --accent: #b8321a;
    --bg: #fafafa;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}
.site-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-bottom: 1px solid #ddd;
}
.brand { font-weight: 700; font-size: 1.25rem; color: var(--accent); text-decoration: none; }
.site-header nav a { color: var(--ink); text-decoration: none; margin-right: 1rem; }
.site-main { max-width: 64rem; margin: 0 auto; padding: 0.5rem 1rem 1.5rem; }
.site-main > h1, .site-main > section:first-child > h1 { margin-top: 0.25rem; }
.site-footer { padding: 1rem; color: var(--muted); font-size: 0.875rem; text-align: center; }
.site-footer .env { color: var(--accent); }

/* --- navigation & layout --- */
.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a.button { color: #fff; }
form.inline { display: inline; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }
.button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 4px; padding: 0.6rem 1.1rem; font: inherit; cursor: pointer; text-decoration: none; }
.button.small { padding: 0.35rem 0.8rem; font-size: 0.9rem; }
.button:hover { filter: brightness(0.92); }
/* The file picker's own button: it cannot take a class, so it repeats .button.small here. */
input[type=file]::file-selector-button {
    background: var(--accent); color: #fff; border: 0; border-radius: 4px;
    padding: 0.35rem 0.8rem; font: inherit; font-size: 0.9rem; cursor: pointer;
    margin-right: 0.6rem;
}
input[type=file]::file-selector-button:hover { filter: brightness(0.92); }
.muted { color: var(--muted); }
.account-line { margin: 1em 0; } /* a div, because it holds the log-out form */
section { margin-top: 2rem; }
.site-main > section:first-of-type, .site-main > div[aria-live] + section { margin-top: 0; }

/* --- messages --- */
.banner { padding: 0.6rem 1rem; background: #fff6d6; border-bottom: 1px solid #e8d48a; font-size: 0.95rem; }
.flash { padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.flash.success { background: #e3f5e6; border: 1px solid #a9d9b2; }
.flash.error   { background: #fbe4e1; border: 1px solid #efb0a7; }
.flash.info    { background: #e6f0fb; border: 1px solid #b3cdf0; }

/* Legal pages are set like the document they are: centred masthead over a rule, a bordered
   notice, blue section headings, justified body text. Scoped to .legal so the rest of the
   site keeps the house style. */
/* The document opens on its own title line, so the first paragraph is set as one. */
.prose.legal > p:first-child { text-align: center; color: #595959; font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.3rem; }
.prose.legal hr { border: 0; border-top: 1px solid #cfdce8; margin: 1.1rem 0 1.6rem; }
.prose.legal h2 { font-size: 1.35rem; border-bottom: 1px solid #cfdce8; padding-bottom: 0.3rem; margin: 2rem 0 0.9rem; }
.prose.legal p, .prose.legal li { text-align: justify; }
.prose.legal blockquote { margin: 1.4rem 0; padding: 0.9rem 1.1rem; background: #eef3f9; border-left: 4px solid #2e74b5; }
.prose.legal blockquote p { margin: 0; font-size: 0.95rem; }
.prose.legal blockquote strong { color: #1f4e79; }
.prose.legal ul { padding-left: 1.3rem; }
.prose.legal li { margin-bottom: 0.5rem; }
.prose .version-note { text-align: left; color: var(--muted); font-size: 0.9rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #cfdce8; }
/* Allowed, but worth a word about — the same amber as the site banner, not the red of a refusal. */
.flash.warn    { background: #fff6d6; border: 1px solid #e8d48a; }

/* --- forms --- */
.form-narrow { max-width: 28rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date] {
    width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #bbb; border-radius: 4px; font: inherit;
}
.field.has-error input { border-color: var(--accent); }
/* A plate is seven characters: a full-width box invites the wrong thing. */
#f-registration { max-width: 12rem; }
.thumbs figure[draggable] { cursor: grab; }
.thumbs figure.dragging { opacity: 0.4; }
.thumbs figure.cover { outline: 2px solid var(--accent); outline-offset: 2px; }
/* A few words, not a paragraph: the width is the instruction. */
.field input.short { max-width: 16rem; }
.field .hint { display: block; color: var(--muted); margin-top: 0.25rem; }
.field .error { display: block; color: var(--accent); margin-top: 0.25rem; font-size: 0.95rem; }
.field .warn  { display: block; color: #8a6400; margin-top: 0.25rem; font-size: 0.95rem; }
.field.checkbox label { font-weight: 400; }

/* --- stage 3: listings & catalogue --- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.table th, .table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.table .actions a, .table .actions form { margin-right: 0.6rem; }
/* My listings: the lot is the car's own photo rather than its number, so the cell holds either
   the thumbnail or, while a draft has no photos, a box the same size saying so. */
.lot-photo img, .lot-photo .no-photo { width: 6rem; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: #eee; display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; text-align: center; }
.inline-details summary { cursor: pointer; color: var(--accent); }
.inline-form label { margin-right: 0.6rem; }
.inline-form input { padding: 0.3rem; }
.section-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.form-section { border-top: 1px solid #ddd; padding-top: 1rem; margin-top: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 1.5rem; }
select, textarea { width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #bbb; border-radius: 4px; font: inherit; background: #fff; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.25rem 1rem; margin: 0.4rem 0 0.6rem; }
.checks label { font-weight: 400; }
.button.primary { background: #1a6b3a; }
/* The second button of a pair, where only one of them does anything: it has to be plainly a
   button and plainly not the one being offered. */
.button.quiet { background: #fff; color: var(--ink); border: 1px solid #bbb; }
.button.quiet:hover { background: #f1f1f1; filter: none; }
.button[disabled] { opacity: 0.5; cursor: not-allowed; }
.button-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.photo-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.photo-slot { border: 1px dashed #bbb; border-radius: 6px; padding: 0.75rem; }
.photo-slot.filled { border-style: solid; border-color: #9c9; }
.photo-slot strong { display: block; margin-bottom: 0.5rem; }
.photo-slot img { max-width: 100%; height: auto; border-radius: 4px; display: block; }
.photo-slot figure { margin: 0 0 0.5rem; }
.photo-slot.extras { grid-column: 1 / -1; }
.photo-slot .thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.photo-slot .thumbs img { width: 8rem; }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.filters select { width: auto; }
.car-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.car-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; }
.car-card a { color: inherit; text-decoration: none; display: block; }
.car-card img, .car-card .no-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #eee; display: grid; place-items: center; color: var(--muted); }
.car-card-body { padding: 0.75rem; display: grid; gap: 0.2rem; }
.car-card .bid { font-weight: 600; margin-top: 0.3rem; }
.car-card .closes { color: var(--accent); font-size: 0.9rem; }
.car-card { position: relative; }
.car-card .fav-form { position: absolute; top: 0.4rem; right: 0.4rem; z-index: 1; }
.fav { background: rgba(255,255,255,0.9); border: 1px solid #ddd; border-radius: 50%; width: 2.2rem; height: 2.2rem; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--accent); }
.fav.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.car-card.ended img, .car-card.ended .no-photo { opacity: 0.6; }
.car-card.ended .bid { color: var(--muted); font-weight: 500; }
#notes textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; }
.car-page { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: 2rem; }
@media (max-width: 700px) { .car-page { grid-template-columns: 1fr; } }
.gallery img#gallery-main { width: 100%; height: auto; border-radius: 6px; cursor: zoom-in; }
/* Full-size viewing. The image is allowed to overflow and scroll, so a phone can pinch into it. */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.9); overflow: auto; text-align: center; }
.lightbox img { max-width: none; display: inline-block; margin: 0 auto; }
.lightbox-close { position: fixed; top: 0.5rem; right: 0.9rem; z-index: 51; background: none; border: 0;
                  color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; }
.gallery .gallery-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
/* Flex centring rather than padding: the glyph sits where its font puts it, so letting the box
   centre the line is steadier than guessing at top and bottom padding. */
.gallery .gallery-nav button { display: inline-flex; align-items: center; justify-content: center;
                               min-height: 2.6rem; padding: 0 1.6rem; font-size: 2rem; line-height: 1; }
/* The glyph is drawn to sit with lowercase text, so its ink lands 0.16em below the middle of
   its own line box — measured, not guessed. Centring the box cannot fix that; this lifts the
   ink itself. */
.gallery .gallery-nav button span { display: inline-block; transform: translateY(-0.16em); }
.gallery .thumbs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.gallery .thumbs img { width: 5.5rem; height: 4rem; object-fit: cover; border-radius: 3px; }
/* No row gap: the shading below has to run continuously, so the breathing room is padding. */
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 0; }
.spec dt, .spec dd { padding: 0.4rem 0.75rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
/* Every other row shaded, so the eye can carry a label across to its value. */
.spec dt:nth-of-type(odd), .spec dd:nth-of-type(odd) { background: #f1f1f1; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { background: #eee; border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.9rem; }
.description { white-space: pre-line; }
.bid-box { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 1rem; display: grid; gap: 0.5rem; }
.bid-box .current strong { font-size: 1.6rem; }
.bid-box .label { display: block; color: var(--muted); font-size: 0.9rem; }
.tag { display: inline-block; background: #eee; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.85rem; }
.tag.good { background: #e3f5e6; color: #1a6b3a; }
.side-block { margin-top: 1.25rem; }
.side-block h3 { margin: 0 0 0.25rem; font-size: 1rem; }

/* --- stage 4: live bidding --- */
.countdown-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.countdown { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.countdown.urgent { color: var(--accent); }
.you-highest { display: block; color: #1a6b3a; font-weight: 600; font-size: 0.9rem; }
.stepper { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.stepper .step { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; border: 1px solid #bbb; background: #fff; border-radius: 4px; cursor: pointer; }
.stepper .step:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper .amount { min-width: 6rem; text-align: center; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper .amount.flash-change { animation: flash-bg 0.8s ease-out; }
@keyframes flash-bg { from { background: #ffe8a3; } to { background: transparent; } }
.buy-now-btn { margin-top: 0.6rem; background: #1a4b8b; width: 100%; }
.bid-message { min-height: 1.2em; font-size: 0.95rem; }
.bid-message.ok { color: #1a6b3a; }
.bid-message.warn { color: var(--accent); }
.ended-note { font-weight: 600; }
button.link.small { font-size: 0.85rem; }

/* --- stage 5: after the auction --- */
.after-box { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 1rem; margin-top: 1rem; }
.after-box h3 { margin-top: 0; }
.after-box h4 { margin: 0.5rem 0 0.25rem; }
/* The counter-offer line of the negotiation box: clear of the Accept / Decline row above it,
   with the field and the button the same height as those buttons. The field's padding is a
   pixel under the button's top and bottom padding because it carries a 1px border and the
   button does not, which is what makes the two line up exactly. */
/* The figure under negotiation is what the whole box is about, so it is set two sizes above the
   line it sits in; the deadline under it is supporting detail and takes the muted grey. */
.after-box .rounds .offer { font-size: 1.25rem; }
/* And the offers stand clear of the two buttons that answer them. */
.after-box .rounds { margin-bottom: 2rem; }
.after-box .counter-form { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.8rem; }
.after-box .counter-form label { margin: 0; }
.after-box .counter-form input { font: inherit; padding: calc(0.6rem - 1px) 0.7rem; border: 1px solid #bbb; border-radius: 4px; width: 5rem; margin-left: 0.3rem; }
.rounds { padding-left: 1.2rem; }
.rounds li { margin-bottom: 0.25rem; }
.dispute { border-top: 1px dashed #ccc; margin-top: 0.75rem; padding-top: 0.75rem; }
details summary { cursor: pointer; color: var(--accent); margin-top: 0.5rem; }

/* --- stage 8: admin --- */
.admin-nav { display: flex; gap: 1rem; flex-wrap: wrap; padding: 0.5rem 0.75rem; background: #eef; border-radius: 4px; margin-bottom: 1rem; }
.admin-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.6rem; margin: 1rem 0; }
.stat { display: block; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 0.7rem; text-decoration: none; color: var(--ink); }
.stat strong { display: block; font-size: 1.5rem; }
.stat.attention { border-color: var(--accent); }
.filters a.current { font-weight: 700; text-decoration: none; }
.admin-nav ~ .filters, .admin-nav ~ * .filters { font-size: 1.125rem; }
blockquote { border-left: 3px solid #ccc; margin: 0.5rem 0; padding-left: 0.75rem; color: #333; }
code { background: #eee; padding: 0.1rem 0.3rem; border-radius: 3px; font-size: 0.9rem; }

/* --- stage 9: content pages, mobile and accessibility --- */
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
:focus-visible { outline: 3px solid #1a4b8b; outline-offset: 2px; }
.hero { padding: 0.5rem 0 0.5rem; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.15; margin: 0 0 0.25rem; }
.hero .tagline { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); margin: 0 0 0.75rem; }
/* A phone screen is short and the cars are what people came for, so the home page's pitch —
   the fees paragraph and the three panels under it — gives up its space below the breakpoint
   the rest of the site already uses. Both are still in the page, for every wider screen and
   for anything reading the markup, just not shown. What they say is repeated on How it works
   and in the fees section. */
@media (max-width: 700px) {
    /* Both name two classes: .lead and .three-up set their own display further down the
       file, and at equal specificity the later rule would win. */
    .hero .lead,
    .three-up.hero-points { display: none; }
}
.lead { font-size: 1.1rem; max-width: 46rem; }
.link-plain { align-self: center; color: var(--accent); text-decoration: none; }
.three-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.three-up div { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; padding: 0.9rem; }
.three-up h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.three-up p { margin: 0; color: #333; }
.steps li { margin-bottom: 0.6rem; }
.prose { max-width: 46rem; }
.prose h1 { margin-top: 0; }
/* The long content pages share one colour for their section headings: the Terms, the
   privacy notice and how it works. Only the Terms add the rule beneath them. */
.prose h2, .hiw h2 { color: #2e74b5; }
.error-page { text-align: center; padding: 3rem 0; }
.hp { position: absolute; left: -9999px; }
.site-footer nav { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.4rem; }
.site-footer nav a { color: var(--muted); }
.site-footer p { margin: 0; }

/* tables scroll sideways on narrow screens instead of breaking the layout */
.table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 700px) { .table { display: table; } }

/* phone navigation: a checkbox-driven menu, no JavaScript needed */
.nav-toggle, .nav-button { display: none; }
@media (max-width: 700px) {
    .site-header { flex-wrap: wrap; }
    .nav-button { display: block; margin-left: auto; font-size: 1.5rem; cursor: pointer; padding: 0 0.4rem; }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding-top: 0.6rem; margin-left: 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-main { padding: 0.5rem 0.75rem 1rem; }
    .bid-box .current strong { font-size: 1.4rem; }
    .stepper { flex-wrap: wrap; }
    .stepper .button { width: 100%; }
    .grid-2 { grid-template-columns: 1fr; }
    .inline-form { display: flex; flex-direction: column; gap: 0.4rem; align-items: stretch; }
    .inline-form input, .inline-form select { width: 100%; }
    .page-head .button { width: 100%; text-align: center; }
    .stat-row { grid-template-columns: 1fr 1fr; }
}
[hidden] { display: none !important; }

/* --- stage 7: messages --- */
.thread { display: grid; gap: 0.6rem; margin: 1rem 0; max-width: 46rem; }
.msg { padding: 0.6rem 0.8rem; border-radius: 8px; background: #fff; border: 1px solid #e3e3e3; }
.msg.mine { background: #e6f0fb; border-color: #b3cdf0; margin-left: 2rem; }
.msg.theirs { margin-right: 2rem; }
.msg-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.2rem; }
.msg-body { white-space: pre-line; }
/* --- decision 41: receipts and invoices on the web page --- */
.document { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; padding: 1.5rem; max-width: 52rem; }
.document .doc-head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.document .doc-head h1 { margin: 0 0 0.25rem; }
.document table.lines { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.document table.lines th, .document table.lines td { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.document table.lines .amount { text-align: right; white-space: nowrap; }
.document table.lines tr.total td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.document .notes p { margin: 0.2rem 0; font-size: 0.9rem; }
/* --- admin sales: row click opens the full record --- */
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #f6f1ee; }
/* A confirmation in the site's own styling rather than the browser's box (partials/confirm.twig).
   A dialog does not inherit the page font in every browser, so it is set here. */
dialog.confirm { border: 1px solid #ccc; border-radius: 8px; padding: 1.3rem 1.5rem; max-width: 26rem; width: calc(100% - 2rem); box-sizing: border-box;
    font-family: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink); background: #fff; }
dialog.confirm::backdrop { background: rgba(0,0,0,0.45); }
dialog.confirm h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
dialog.confirm p { margin: 0 0 1.2rem; }
/* The action first, the way round the site reads, and both of them to the right of the box. */
dialog.confirm .button-row { justify-content: flex-end; }

dialog.sale-detail { border: 1px solid #ccc; border-radius: 8px; padding: 1.25rem 1.5rem; max-width: 44rem; width: calc(100% - 2rem); box-sizing: border-box; }
dialog.sale-detail::backdrop { background: rgba(0,0,0,0.45); }
dialog.sale-detail h2 { margin: 0 0 0.75rem; padding-right: 2rem; }
dialog.sale-detail form.dialog-close { position: absolute; top: 0.5rem; right: 0.75rem; }
dialog.sale-detail dd form.inline { display: inline-block; margin-top: 0.25rem; }
dialog.sale-detail .close { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
dialog.sale-detail dl.fields { display: grid; grid-template-columns: 12rem 1fr; gap: 0.3rem 1rem; margin: 0; }
dialog.sale-detail dl.fields dt { color: var(--muted); }
dialog.sale-detail dl.fields dd { margin: 0; overflow-wrap: anywhere; }
dialog.sale-detail dl.fields dt.group { grid-column: 1 / -1; margin-top: 0.75rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid #e3e3e3; padding-bottom: 0.2rem; }
dialog.sale-detail dl.fields dd.group { display: none; }
@media (max-width: 40rem) { dialog.sale-detail dl.fields { grid-template-columns: 1fr; } dialog.sale-detail dl.fields dt { margin-top: 0.4rem; } }
.finance { border: 1px solid #ddd; border-left: 4px solid #2a7; border-radius: 6px; padding: 0.6rem 0.9rem; margin: 0.75rem 0; }
.finance.pending { border-left-color: #d90; background: #fffaf0; }
.finance form.inline { margin-top: 0.4rem; }
.finance input[type=file] { max-width: 100%; }
dialog.sale-detail dd form.upload { display: block; margin-top: 0.4rem; }
dialog.sale-detail dd form.upload input[type=file] { max-width: 100%; }
td.nowrap { white-space: nowrap; }
.seller-update { border-left: 3px solid #d90; padding: 0.25rem 0 0.25rem 0.9rem; margin: 0.75rem 0; }
.seller-update .thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.seller-update .thumbs img { width: 6rem; border-radius: 4px; display: block; }
.hiw { font-size: 1.125rem; }
/* The bullet lists sit beside the numbered ones on the same page, so they are spaced the
   same: .steps carries the gap for the numbered lists, this does it for the bullets. */
.hiw ul li { margin-bottom: 0.6rem; }
/* The opening block of how-it-works: one size and one measure across all of its
   paragraphs, so the text does not change size part way through the introduction. */
.hiw-intro p { font-size: 1.25rem; max-width: 46rem; }
.prices-row { padding-bottom: 0.75rem; }
.prices-row p.muted { margin: 0 0 0.4rem; }
.prices-row .inline-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.prices-row .inline-form label { font-weight: 600; }
.prices-row .inline-form input { width: 7rem; padding: 0.4rem 0.5rem; border: 1px solid #bbb; border-radius: 4px; font: inherit; margin-left: 0.25rem; }
.slot-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.slot-picker select { flex: 1 1 11rem; }
.admin-toggle { margin: 0.9rem 0 1.2rem; font-size: 1.125rem; }
.admin-toggle label { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.admin-toggle input[type=checkbox] { width: 1.15rem; height: 1.15rem; }
/* Admin: the suspend row — reason box and button the same height, on one line. */
.button-row form.inline-form { display: flex; align-items: stretch; gap: 0.5rem; }
.button-row form.inline-form input { font: inherit; padding: 0 0.7rem; border: 1px solid #bbb; border-radius: 4px; }

/* Decision 55: the argument lists on the two audience pages. */
.arguments { list-style: none; padding: 0; margin: 1rem 0; }
.arguments li { margin: 0 0 0.9rem; }

/* Show-password toggle, in place of a confirm-password field. */
.pw { display: flex; gap: 0.4rem; align-items: stretch; }
.pw input { flex: 1; min-width: 0; }
.pw-toggle { font: inherit; font-size: 0.9rem; padding: 0 0.7rem; border: 1px solid #bbb; border-radius: 4px;
             background: #f5f5f5; color: #333; cursor: pointer; }
.pw-toggle:hover { border-color: var(--accent); color: var(--accent); }
