/* My orders and My bookings (/orders/, /bookings/): the account pages in the approved student language.
 *
 * Figma Web 2026-10 Students, account redo (1615:156843 orders list 1440, 1615:159047 at 390, 1615:157081 an order
 * just placed, 1616:147346 bookings list, 1616:147587 a request sent, the states boards 1615:159235 and 1616:147981),
 * mixed with How it works, the reference for every student page:
 *   - the title on the cream at How it works' size and y, the page's doodle right of it, no panel, centred on phones;
 *   - the list in the white scalloped band beside one kit model (the rewards parcel for orders, the campus calendar
 *     for bookings) that settles in and answers the hand (tilt.js);
 *   - one order or booking as the apps' stack (iOS ShopOrderView, Android ShopOrder.kt): white cards on the cream,
 *     the short doodle column beside them sticky on desktop when it fits.
 * Fields are the app's 52 px with a 12 px corner; buttons stay pills. Header, footer, tokens and dark mode come from
 * site-launch.css and company-theme.css; this sheet is loaded on these two pages only, after shop.css and
 * bookings.css, and every rule sits under .ob-page so the brand shop and booking pages never see it.
 * Bookings' own parts (the quote, the voucher, the thread) are in /bookings/my-bookings.css.
 */

/* ---------- page ---------- */
.ls main#main-content.ob-page { padding: 0 0 var(--ls-section); }
/* The list ends in its white band, straight onto the footer, as on How it works. */
.ls main#main-content.ob-page:has(.ob-band) { padding-bottom: 0; }
.ls .ob-page .orders-wrap { width: auto; margin: 0; }

/* ---------- the title block ----------
   The title starts 148px from the top at 1440 (76 header + 72), the back link above it on one order. */
/* The copy stands at the top so the title keeps its y whatever follows it; the doodle centres on the block. */
.ls .ob-page .ob-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 72px; }
.ls .ob-page .ob-hero:has(.order-back) { padding-top: 42px; }
.ls .ob-page .ob-hero > .ob-hero-art { align-self: center; }
.ls .ob-page .ob-hero-copy { flex: 0 1 640px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ls .ob-page .orders-title { margin: 0; font-size: 66px; font-weight: 800; line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
.ls .ob-page :is(.orders-sub, .orders-empty p, .orders-gate p) { max-width: 46ch; margin: 0; color: var(--ls-soft); font-size: 19px; font-weight: 500; line-height: 1.5; }
/* The doodle sits in a box the height of the title block, centred on it, whole and upright. */
.ls .ob-page .ob-hero-art { flex: none; display: block; width: 340px; height: 300px; margin-block: -20px; }
.ls .ob-page .ob-hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Signed out, empty and error: the words and the one action stand in the title block, no card. */
.ls .ob-page :is(.orders-empty, .orders-gate) { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin: 0; padding: 0 0 8px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ls .ob-page .ob-hero:has(:is(.orders-empty, .orders-gate)) { padding-bottom: 40px; }

/* ---------- Orders | Bookings ---------- */
.ls .ob-page .bk-tabs { display: flex; gap: 28px; width: min(100%, 620px); margin: 6px 0 2px; border-bottom: 1px solid var(--ls-line-2); }
.ls .ob-page .bk-tab { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0; border-radius: 0; color: var(--ls-soft); background: none; box-shadow: none; font-size: 16px; font-weight: 600; text-decoration: none; }
.ls .ob-page .bk-tab:hover { color: var(--ls-ink); box-shadow: none; }
.ls .ob-page .bk-tab[aria-current="page"] { color: var(--ls-ink); background: none; font-weight: 700; }
.ls .ob-page .bk-tab[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px; background: var(--ls-ink); }
.ls .ob-page .bk-tab .bk-tab-dot { width: 8px; height: 8px; margin: 0 0 0 8px; background: var(--ls-orange-deep); vertical-align: 0; }

/* ---------- the list, in the white scalloped band ---------- */
.ls .ob-page .ob-band { position: relative; margin-top: 72px; padding: 72px 0 88px; background: var(--ls-paper); border-bottom: 1px solid var(--ls-line); }
.ls .ob-page .ob-band::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: radial-gradient(circle at 12px 6px, var(--ls-paper) 6px, transparent 6.5px) 0 0 / 24px 6px repeat-x; }
.ls .ob-page .ob-band-in { display: flex; align-items: flex-start; gap: 72px; }
.ls .ob-page .ob-model-box { flex: none; display: grid; place-items: center; width: 400px; height: 340px; }
.ls .ob-page .ob-model { display: block; width: 260px; line-height: 0; transform-origin: 50% 100%; }
.ls .ob-page .ob-model img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; -webkit-user-drag: none; }
:root:not([data-theme="dark"]) .ls .ob-page .ob-model-dark, :root[data-theme="dark"] .ls .ob-page .ob-model-light { display: none; }
.ls .ob-page .tud-tilt { position: relative; z-index: 3; display: block; line-height: 0; transform-origin: 50% 100%; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.ls .ob-page .tud-tilt.is-grabbing { cursor: grabbing; }
.ls .ob-page .ob-model.is-before { transform: translateY(20px) scale(.9); }
/* A short list stands in the middle of the model's height; a long one runs on from the top, the model staying. */
.ls .ob-page .orders-list { flex: 1 1 0; min-width: 0; display: grid; align-content: center; gap: 14px; min-height: 340px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 901px) and (min-height: 700px) { .ls .ob-page .ob-model-box { position: sticky; top: 110px; } }

/* One row: the tone panel with the photo or logo, the words, the status and total (Figma's Order row). */
.ls .ob-page .order-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: stretch; gap: 0; min-height: 112px; padding: 0; overflow: hidden; border: 1px solid var(--ls-line-2); border-radius: 18px; color: var(--ls-ink); background: var(--ls-paper); text-decoration: none; transition: border-color 160ms var(--ls-ease), box-shadow 160ms var(--ls-ease); }
.ls .ob-page .order-row:hover { border-color: var(--ls-control); box-shadow: var(--ls-lift); text-decoration: none; }
.ls .ob-page .order-row:focus-visible { outline: 2px solid var(--ls-ink); outline-offset: 3px; }
.ls .ob-page .ob-row-art { display: grid; place-items: center; padding: 14px; background: var(--ls-sand); }
.ls .ob-page .ob-row-art :is(img, .order-thumb-empty) { display: block; width: 64px; height: 84px; border-radius: 10px; object-fit: cover; background: rgba(255, 255, 255, .55); }
.ls .ob-page .order-row-main { align-self: center; display: grid; gap: 4px; min-width: 0; padding: 18px 8px 18px 22px; }
.ls .ob-page .order-row-brand { position: relative; color: var(--ls-soft); font-size: 14px; font-weight: 600; }
/* The unread dot hangs in the gutter before the brand, centred between the art and the words and on the brand's
   first line, so the brand starts on the title's left edge with or without it. */
.ls .ob-page .order-row-brand > .bk-dot { position: absolute; top: 7px; top: calc(.5lh - 4px); right: calc(100% + 7px); margin: 0; }
.ls .ob-page .order-row-title { color: var(--ls-ink); font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.ls .ob-page .order-row-choice { color: var(--ls-soft); font-size: 14px; font-weight: 500; }
.ls .ob-page .order-row-meta { color: var(--ls-muted); font-size: 14px; }
.ls .ob-page .order-row-due { color: var(--ls-accent-text); font-size: 14px; font-weight: 700; }
.ls .ob-page .order-row-side { align-self: center; display: grid; justify-items: end; gap: 10px; padding: 18px 22px 18px 8px; }
.ls .ob-page .order-row-total { color: var(--ls-ink); font-family: var(--tud-font-secondary); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- status, the apps' chip with Figma's dot ---------- */
.ls .ob-page .status-tag { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 12px; border-radius: 999px; color: var(--ls-ink-2); background: var(--ls-line); box-shadow: none; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.ls .ob-page .status-tag::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ls .ob-page .status-tag[data-tone="warn"] { color: var(--ls-wait); background: var(--ls-wait-bg); }
.ls .ob-page .status-tag[data-tone="go"] { color: var(--ls-accent-text); background: var(--ls-tint); }
.ls .ob-page .status-tag[data-tone="done"] { color: var(--ls-ok); background: var(--ls-ok-bg); }
.ls .ob-page .status-tag[data-tone="end"] { color: var(--ls-soft); background: transparent; box-shadow: inset 0 0 0 1px var(--ls-line-2); }

/* ---------- one order or booking: the header ---------- */
.ls .ob-page .order-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 0 0 -14px -4px; color: var(--ls-accent-text); font-size: 16px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.ls .ob-page .order-back:hover { text-decoration-thickness: 2.5px; }
.ls .ob-page .order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 18px; margin: 0; }
.ls .ob-page .order-code { margin: 0; color: var(--ls-soft); font-family: var(--tud-font-primary); font-size: 18px; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.ls .ob-page .order-placed { display: grid; gap: 4px; width: min(100%, 560px); margin: 4px 0 0; padding: 16px 20px; border-radius: 16px; color: var(--ls-ink); background: var(--ls-ok-bg); font-size: 15px; line-height: 1.5; }
.ls .ob-page .order-placed strong { color: var(--ls-ok); font-size: 16px; font-weight: 700; }
.ls .ob-page .ob-hero .pay-alert--quiet, .ls .ob-page .ob-hero .bk-notice { width: min(100%, 560px); margin: 4px 0 0; }

/* ---------- one order or booking: the cards beside the doodle ---------- */
.ls .ob-page .ob-detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 64px; }
.ls .ob-page .ob-side { display: grid; place-items: center; height: 360px; }
.ls .ob-page .ob-side img { display: block; width: 250px; height: 290px; object-fit: contain; }
@media (min-width: 901px) and (min-height: 760px) { .ls .ob-page .ob-side { position: sticky; top: 110px; } }
.ls .ob-page .ob-main { display: grid; gap: 24px; min-width: 0; }
.ls .ob-page :is(.ob-card, .order-pay-facts) { margin: 0; padding: 28px; border-radius: 22px; background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); }
.ls .ob-page .order-block-title { margin: 0 0 18px; color: var(--ls-ink); font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
.ls .ob-page .order-note { color: var(--ls-soft); font-size: 15px; line-height: 1.5; }

/* The status line: done in ink, next in orange, later as rings (Figma's timeline card). */
.ls .ob-page .timeline { display: grid; margin: 0; padding: 0; list-style: none; }
.ls .ob-page .tl-step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.ls .ob-page .tl-step:last-child { padding-bottom: 0; }
.ls .ob-page .tl-step::before { content: ""; position: absolute; top: 28px; bottom: 4px; left: 11px; border-left: 2px solid var(--ls-line-2); }
.ls .ob-page .tl-step:last-child::before { display: none; }
.ls .ob-page .tl-step[data-state="done"]::before { border-left-color: var(--ls-ink); }
.ls .ob-page .tl-dot { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--ls-line-2); border-radius: 50%; color: var(--ls-paper); background: var(--ls-paper); }
.ls .ob-page .tl-dot svg { width: 12px; height: 12px; }
.ls .ob-page .tl-step[data-state="done"] .tl-dot { border: 0; background: var(--ls-ink); }
.ls .ob-page .tl-step[data-state="now"] .tl-dot { border: 2px solid var(--ls-orange-deep); }
.ls .ob-page .tl-step[data-state="now"] .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ls-orange-deep); }
.ls .ob-page .tl-step[data-state="stop"] .tl-dot { border: 0; background: var(--ls-soft); }
.ls .ob-page .tl-step[data-state="warn"] .tl-dot { border: 0; color: #141412; background: var(--ls-chai); box-shadow: inset 0 0 0 1.5px var(--ls-wait); }
.ls .ob-page .tl-body { display: grid; gap: 2px; padding-top: 1px; }
.ls .ob-page .tl-body strong { color: var(--ls-ink); font-size: 16px; font-weight: 700; line-height: 1.4; }
.ls .ob-page .tl-body span { color: var(--ls-soft); font-size: 15px; line-height: 1.5; }
.ls .ob-page .tl-step[data-state="wait"] .tl-body strong { color: var(--ls-muted); font-weight: 600; }

/* Facts as the apps' rows: the label on the left, the value on the right, a hairline between. */
.ls .ob-page .order-facts { display: grid; gap: 0; margin: 0; }
.ls .ob-page .order-facts > div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--ls-line); }
.ls .ob-page .order-facts > div:first-child { padding-top: 0; border-top: 0; }
.ls .ob-page .order-facts > div:last-child { padding-bottom: 0; }
.ls .ob-page .order-facts dt { color: var(--ls-soft); font-size: 15px; font-weight: 500; }
.ls .ob-page .order-facts dd { margin: 0; color: var(--ls-ink); font-size: 16px; font-weight: 600; line-height: 1.45; text-align: right; white-space: pre-line; overflow-wrap: anywhere; }
.ls .ob-page .pay-state { margin: 0 0 16px; color: var(--ls-soft); font-size: 16px; line-height: 1.5; }
.ls .ob-page .pay-state b { color: var(--ls-ink); }
.ls .ob-page .pay-state--ok b { color: var(--ls-ok); }
.ls .ob-page .proof-list { margin: 14px 0 0; }
.ls .ob-page .proof-btn { color: var(--ls-accent-text); }
.ls .ob-page .proof-gone { color: var(--ls-soft); }
.ls .ob-page .proof-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ls-line); }

/* The summary: the order slip as a white card, notched at its dashed rule. */
/* A summary with no dashed rule (a booking before its quote) has nothing to notch at. */
.ls .ob-page .slip:not(:has(.slip-rule)) { -webkit-mask: none; mask: none; box-shadow: inset 0 0 0 1px var(--ls-line-2); }
.ls .ob-page .slip { --slip-bg: var(--ls-paper); gap: 16px; padding: 28px; border-radius: 22px; box-shadow: none; background: var(--ls-paper); }
.ls .ob-page .slip-item img { width: 56px; height: 74px; border-radius: 10px; }
.ls .ob-page .slip-item { grid-template-columns: 56px minmax(0, 1fr); }
.ls .ob-page .slip-item strong { color: var(--ls-ink); font-size: 16px; font-weight: 700; }
.ls .ob-page .slip-item span, .ls .ob-page .slip-row dt, .ls .ob-page .slip-pay { color: var(--ls-soft); }
.ls .ob-page .slip-item .slip-choice, .ls .ob-page .slip-row dd, .ls .ob-page .slip-pay b, .ls .ob-page .slip-pay svg { color: var(--ls-ink); }
.ls .ob-page .slip-rule { margin-inline: -16px; border-top-color: var(--ls-line-2); }
.ls .ob-page .slip-total span { color: var(--ls-ink); font-size: 17px; }
.ls .ob-page .slip-total strong { color: var(--ls-ink); font-size: 30px; }
.ls .ob-page .slip-pay { font-size: 14px; line-height: 1.5; }

/* ---------- what can be done ---------- */
.ls .ob-page .order-actions-wrap { display: grid; gap: 14px; margin: 0; }
.ls .ob-page .order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ls .ob-page .order-actions-wrap > .form-msg, .ls .ob-page .order-actions-wrap > .order-note { margin: 0; }
.ls .ob-page .order-actions-wrap > .form-msg:empty { display: none; }
/* Cancelling is the apps' quiet red link, not a pill (TextLinkButton, isDestructive). */
.ls .ob-page--orders .order-actions [data-act="cancel"],
.ls .ob-page--bookings .order-actions-wrap > .order-actions :is([data-act="withdraw"], [data-act="cancel-open"]) { min-height: 44px; padding: 0 4px; border-color: transparent; color: var(--ls-accent-text); background: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; order: 9; }
.ls .ob-page--orders .order-actions [data-act="cancel"]:hover,
.ls .ob-page--bookings .order-actions-wrap > .order-actions :is([data-act="withdraw"], [data-act="cancel-open"]):hover { background: none; text-decoration-thickness: 2.5px; transform: none; }
.ls .ob-page .problem-form { display: grid; gap: 18px; margin: 0; padding: 24px; border-radius: 20px; background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); }
.ls .ob-page .problem-form[hidden] { display: none; }
.ls .ob-page .problem-reasons { gap: 2px; }
.ls .ob-page .problem-reasons label { color: var(--ls-ink); font-size: 16px; font-weight: 500; }
.ls .ob-page .problem-reasons input { accent-color: var(--ls-ink); }

/* ---------- paying the brand: the transfer slip carries the page's weight ---------- */
.ls .ob-page .pay-panel { gap: 22px; margin: 0; padding: 32px; border-radius: 24px; background: var(--ls-paper); box-shadow: inset 0 0 0 2px var(--ls-ink), var(--tud-shadow-card); }
.ls .ob-page .pay-title { margin: 0; color: var(--ls-ink); font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.ls .ob-page .pay-slip { gap: 14px; padding-bottom: 22px; border-bottom: 2px dashed var(--ls-line-2); }
.ls .ob-page .pay-figure > span { flex-basis: 8.5em; color: var(--ls-soft); font-size: 15px; font-weight: 600; }
.ls .ob-page .pay-figure strong { color: var(--ls-ink); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.ls .ob-page .pay-figure--ref strong { font-size: 30px; letter-spacing: 0.06em; }
.ls .ob-page .pay-due { color: var(--ls-soft); font-size: 15px; }
.ls .ob-page .pay-due b { color: var(--ls-accent-text); }
.ls .ob-page .pay-methods-list { gap: 12px; max-width: none; }
.ls .ob-page .pay-method { padding: 16px; border-radius: 16px; background: var(--ls-canvas); }
.ls .ob-page .pay-method h3 { margin: 0 0 8px; color: var(--ls-ink); font-size: 16px; font-weight: 700; }
.ls .ob-page .pay-method dl > div { grid-template-columns: minmax(0, 9em) minmax(0, 1fr); min-height: 40px; }
.ls .ob-page .pay-method dt { color: var(--ls-soft); font-size: 14px; font-weight: 500; }
.ls .ob-page .pay-value { color: var(--ls-ink); font-size: 16px; font-weight: 600; }
.ls .ob-page .copy-btn { min-height: 36px; padding: 0 14px; color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); }
.ls .ob-page .copy-btn:hover { background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-ink); }
.ls .ob-page .pay-never { color: var(--ls-soft); font-size: 15px; }
.ls .ob-page .pay-never b, .ls .ob-page .pay-never svg { color: var(--ls-ink); }
.ls .ob-page .pay-alert { gap: 4px; padding: 16px 20px; border-radius: 16px; color: var(--ls-ink); background: var(--ls-wait-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ls-wait) 35%, transparent); font-size: 15px; }
.ls .ob-page .pay-alert strong { color: var(--ls-wait); font-size: 16px; }
.ls .ob-page .pay-alert--quiet { color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); }
.ls .ob-page .pay-alert--quiet strong { color: var(--ls-ink); }
.ls .ob-page .paid-form { gap: 18px; padding: 26px; border-radius: 20px; background: var(--ls-tint); }
/* The message line takes no room (and no extra gap above the button) until it has something to say. */
.ls .ob-page .paid-form .form-msg:empty { display: none; }
.ls .ob-page .paid-title { margin: 0; color: var(--ls-ink); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ls .ob-page .paid-option { min-height: 48px; padding: 0 18px; color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); font-weight: 600; }
.ls .ob-page .paid-option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ls-ink); }
.ls .ob-page .paid-option input { accent-color: var(--ls-ink); }
.ls .ob-page .paid-form .btn-block { width: 100%; min-height: 52px; }

/* ---------- fields: the app's 52 px with a 12 px corner; textareas 12 px and grow ---------- */
.ls .ob-page .field { display: grid; gap: 8px; margin: 0; }
.ls .ob-page .field-label { color: var(--ls-ink); font-size: 15px; font-weight: 700; }
.ls .ob-page .field-optional { color: var(--ls-soft); font-weight: 500; }
.ls .ob-page .field-hint { color: var(--ls-soft); font-size: 14px; line-height: 1.45; }
.ls .ob-page .field :is(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], input:not([type]), select) { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--ls-line-2); border-radius: 12px; color: var(--ls-ink); background: var(--ls-paper); font: inherit; font-size: 16px; box-shadow: none; }
.ls .ob-page .field textarea { width: 100%; min-height: 104px; padding: 14px 16px; border: 1.5px solid var(--ls-line-2); border-radius: 12px; color: var(--ls-ink); background: var(--ls-paper); font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; resize: vertical; field-sizing: content; }
.ls .ob-page :is(.field input, .field textarea, .field select)::placeholder { color: var(--ls-muted); }
.ls .ob-page :is(.field input, .field textarea, .field select):focus-visible { outline: none; border-color: var(--ls-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ls-ink) 14%, transparent); }
.ls .ob-page .field [aria-invalid="true"] { border-color: var(--tud-color-status-error-text); }
.ls .ob-page .field input[type="file"] { width: 100%; min-height: 0; padding: 4px 0; border: 0; color: var(--ls-soft); background: none; font: inherit; font-size: 15px; }
.ls .ob-page .field input[type="file"]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 0 18px; border: 1.5px solid var(--ls-ink); border-radius: 999px; color: var(--ls-ink); background: transparent; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ls .ob-page .field input[type="file"]::file-selector-button:hover { background: color-mix(in srgb, var(--ls-ink) 6%, transparent); }

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .ls .ob-page .ob-hero-art { width: 290px; height: 260px; }
  .ls .ob-page .ob-model-box { width: 320px; }
  .ls .ob-page .ob-model { width: 220px; }
  .ls .ob-page .ob-band-in { gap: 48px; }
  .ls .ob-page .ob-detail { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
  .ls .ob-page .ob-side img { width: 210px; height: 250px; }
}
@media (max-width: 900px) {
  .ls .ob-page .ob-hero { flex-direction: column; align-items: stretch; gap: 24px; }
  .ls .ob-page .ob-hero-copy { flex: none; }
  .ls .ob-page .ob-hero-art { align-self: center; width: 240px; max-width: 100%; height: 200px; margin: 0; }
  .ls .ob-page .ob-band-in { flex-direction: column; align-items: stretch; gap: 20px; }
  .ls .ob-page .ob-model-box { width: 100%; height: 220px; }
  .ls .ob-page .ob-model { width: 180px; }
  .ls .ob-page .orders-list { flex: none; min-height: 0; }
  /* One order on a phone or tablet: the hero carries the page's doodle; the cards follow it straight away. */
  .ls .ob-page .ob-detail { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
  .ls .ob-page .ob-side { display: none; }
}
@media (max-width: 760px) {
  .ls .ob-page .ob-hero { padding-top: 32px; }
  .ls .ob-page .ob-hero:has(.order-back) { padding-top: 12px; }
  .ls .ob-page .orders-title { font-size: 42px; }
  .ls .ob-page :is(.orders-sub, .orders-empty p, .orders-gate p) { font-size: 16px; }
  .ls .ob-page .ob-hero-art { width: 200px; height: 170px; }
  .ls .ob-page .bk-tabs { gap: 24px; }
  .ls .ob-page .ob-band { margin-top: 48px; padding: 32px 0 48px; }
  .ls .ob-page .ob-model-box { height: 190px; }
  .ls .ob-page .ob-model { width: 160px; }
  .ls .ob-page .order-row { grid-template-columns: 84px minmax(0, 1fr); min-height: 0; }
  .ls .ob-page .ob-row-art { grid-row: span 2; padding: 12px; }
  .ls .ob-page .ob-row-art :is(img, .order-thumb-empty) { width: 56px; height: 74px; }
  /* 14px over the brand line reads as the 16px under the status pill (the line's own leading makes up the rest). */
  .ls .ob-page .order-row-main { padding: 14px 16px 6px; }
  .ls .ob-page .order-row-brand > .bk-dot { right: calc(100% + 4px); }
  .ls .ob-page .order-row-title { font-size: 17px; white-space: normal; }
  .ls .ob-page .order-row-side { grid-column: 2; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 0 16px 16px; }
  .ls .ob-page .order-row-total { font-size: 18px; }
  .ls .ob-page .order-code { font-size: 16px; }
  .ls .ob-page .ob-main { gap: 20px; }
  .ls .ob-page :is(.ob-card, .order-pay-facts, .slip) { padding: 20px; border-radius: 20px; }
  .ls .ob-page .order-block-title { font-size: 21px; }
  .ls .ob-page .slip-rule { margin-inline: -6px; }
  .ls .ob-page .pay-panel { padding: 20px; border-radius: 20px; }
  .ls .ob-page .pay-title { font-size: 24px; }
  .ls .ob-page .pay-figure > span { flex-basis: 100%; }
  .ls .ob-page .pay-figure strong { font-size: 38px; }
  .ls .ob-page .pay-figure--ref strong { font-size: 26px; }
  .ls .ob-page .pay-method { padding: 16px; }
  .ls .ob-page .pay-method dl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .ls .ob-page .pay-method dt { grid-column: 1 / -1; }
  .ls .ob-page .paid-form { padding: 20px; }
  .ls .ob-page .problem-form { padding: 20px; }
  .ls .ob-page .order-facts > div { grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr); gap: 12px; }
  .ls .ob-page .order-facts dd { font-size: 15px; text-wrap: balance; }
  .ls .ob-page .ob-hero:has(.order-back) .ob-hero-art { width: 170px; height: 140px; }
  .ls .ob-page .order-actions > .btn { flex: 1 1 auto; }
  .ls .ob-page--orders .order-actions [data-act="cancel"],
  .ls .ob-page--bookings .order-actions-wrap > .order-actions :is([data-act="withdraw"], [data-act="cancel-open"]) { flex: 0 0 auto; }
}
/* The phone pattern (founder, 20 Oct, afternoon, on Orders: "should the browse deals button be below the doodle?").
   Signed out, empty and could not load lead with the doodle, centred, then the title, the tabs under it, the lead,
   and the one button last, full width. The list and one order or booking keep their order; their buttons stack full
   width with the main one on top, and the quiet red links stay links, last. */
@media (max-width: 900px) {
  .ls .ob-page .ob-hero:has(:is(.orders-empty, .orders-gate)) > .ob-hero-art { order: -1; }
  .ls .ob-page :is(.orders-empty, .orders-gate) { align-items: stretch; gap: var(--tud-space-8); }
  .ls .ob-page :is(.orders-empty, .orders-gate) > .btn,
  .ls .ob-page .order-actions > .btn,
  .ls .ob-page .proof-form .btn { min-height: 52px; }
  .ls .ob-page .order-actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: var(--tud-space-3); }
  .ls .ob-page .order-actions > .btn { flex: none; width: 100%; }
  .ls .ob-page--orders .order-actions [data-act="cancel"],
  .ls .ob-page--bookings .order-actions-wrap > .order-actions :is([data-act="withdraw"], [data-act="cancel-open"]) { align-self: flex-start; width: auto; min-height: 44px; }
  .ls .ob-page .proof-form .btn { width: 100%; }
}
@media (max-width: 374px) {
  .ls .ob-page .orders-title { font-size: 36px; }
  .ls .ob-page .order-row { grid-template-columns: 72px minmax(0, 1fr); }
  .ls .ob-page .ob-row-art :is(img, .order-thumb-empty) { width: 48px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .ls .ob-page .ob-model.is-before { transform: none; }
  .ls .ob-page .order-row { transition: none; }
}

/* Signed in, the header carries the theme button, "Your pass" and the menu; on a phone that row ran a few pixels
   past the screen. Tightened with Verify's values (this sheet loads on /orders/ and /bookings/ only). */
@media (max-width: 600px) {
  .ls .nav-logo { width: 104px; }
  .ls .nav-right { gap: 6px; }
  .ls .nav-account-btn { gap: 6px; padding-inline: 12px; }
}
@media (max-width: 380px) {
  .ls .nav-logo { width: 96px; }
  .ls .nav-account-btn .nav-account-chevron { display: none; }
}

/* ---------- dark ----------
   Tokens, header and footer come from company-theme.css; the drawings swap to their cream versions
   (site.css .theme-art), the model to its dark render. A few fixed colours follow here. */
/* The page's own img rules set display, so the theme swap is restated here at a higher weight. */
:root[data-theme="dark"] .ls .ob-page .theme-art > .theme-art-light, :root:not([data-theme="dark"]) .ls .ob-page .theme-art > .theme-art-dark { display: none; }
:root[data-theme="dark"] .ls .ob-page .ob-band { border-bottom-color: var(--ls-line-2); }
:root[data-theme="dark"] .ls .ob-page .ob-row-art :is(img, .order-thumb-empty) { background: rgba(0, 0, 0, .18); }
:root[data-theme="dark"] .ls .ob-page .pay-panel { box-shadow: inset 0 0 0 2px var(--ls-ink), var(--tud-shadow-card); }
:root[data-theme="dark"] .ls .ob-page .tl-step[data-state="warn"] .tl-dot { color: #141412; background: #FFB84D; box-shadow: none; }
:root[data-theme="dark"] .ls .ob-page .tl-step[data-state="stop"] .tl-dot { color: #1A1613; }
:root[data-theme="dark"] .ls .ob-page .tl-step[data-state="done"] .tl-dot { color: #1A1613; }
:root[data-theme="dark"] .ls .ob-page .field [aria-invalid="true"] { border-color: #FF8A7A; }

/* ---------- the order chat (API migration 0200): My bookings' messages card on an order, the same values as
   /bookings/my-bookings.css (the brand's words on the left, yours on the right, events as centred chips) ---------- */
.ls .ob-page--orders .bk-dot { width: 8px; height: 8px; margin-right: 8px; background: var(--ls-orange-deep); vertical-align: 2px; }
.ls .ob-page--orders .bk-thread { gap: 12px; }
.ls .ob-page--orders .bk-msg { max-width: min(100%, 460px); padding: 12px 16px; border-radius: 18px 18px 18px 6px; color: var(--ls-ink); background: var(--ls-canvas); box-shadow: none; font-size: 16px; line-height: 1.5; }
.ls .ob-page--orders .bk-msg--mine { border-radius: 18px 18px 6px 18px; background: var(--ls-tint); box-shadow: none; }
.ls .ob-page--orders .bk-msg-meta { color: var(--ls-muted); font-size: 13px; }
.ls .ob-page--orders .bk-msg--mine .bk-msg-meta { color: var(--ls-soft); }
/* the brand's words flush left and yours flush right, a bubble up to 70% of the thread */
.ls .ob-page--orders .bk-thread > .bk-msg { max-width: 70%; }
.ls .ob-page--orders .bk-event { justify-self: center; max-width: min(100%, 460px); padding: 10px 18px; border-radius: 16px; color: var(--ls-soft); background: transparent; box-shadow: inset 0 0 0 1px var(--ls-line-2); font-size: 14px; line-height: 1.45; text-align: center; }
.ls .ob-page--orders .bk-event strong { color: var(--ls-ink); font-size: 14px; }
.ls .ob-page--orders .bk-block > .order-note { margin: 16px 0 0; }
.ls .ob-page--orders .bk-seen { color: var(--ls-muted); font-size: 13px; }
.ls .ob-page--orders .bk-composer { gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ls-line); }
.ls .ob-page--orders .bk-composer textarea { min-height: 88px; resize: none; }
.ls .ob-page--orders .bk-composer-row { gap: 12px; }
.ls .ob-page--orders .bk-attach { min-height: 48px; padding: 0 20px; color: var(--ls-ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ls-ink); font-weight: 700; }
.ls .ob-page--orders .bk-detect { padding: 16px 20px; border-radius: 16px; color: var(--ls-ink); background: var(--ls-wait-bg); }
