/* Events & Catering uses shared guide tokens, controls and sheets. */
.bookings { max-width: none; }
.booking-heading,.booking-toolbar,.booking-actions,.booking-inline { display:flex; align-items:center; gap:var(--space-2, .5rem); flex-wrap:wrap; }
.booking-heading,.booking-toolbar { justify-content:space-between; margin-block:var(--space-3, .75rem); }
.booking-heading h1,.booking-heading h2,.booking-heading p { margin:0; }
.booking-tabs { display:flex; flex-wrap:nowrap; overflow-x:auto; max-width:100%; gap:.25rem; padding:.25rem; background:var(--row-stripe); border-radius:.4rem; margin-block:.5rem; }
.booking-tabs button { border-color:transparent; background:transparent; min-height:44px; flex-shrink:0; }
.booking-tabs button.active { background:var(--paper); color:var(--ink); }
.booking-pill { --booking-color:var(--focus); border:1px solid var(--booking-color); color:var(--booking-color); border-radius:999px; padding:.2rem .65rem; font-size:var(--text-sm,.875rem); background:color-mix(in srgb,var(--booking-color) 12%,var(--paper)); }
.booking-pill.catering,.booking-entry.catering { --booking-color:var(--concept-ingredient); }
.booking-pill.other,.booking-entry.other { --booking-color:var(--concept-recipe); }
.booking-actions.booking-pills { column-gap:var(--space-6, 2rem); row-gap:var(--space-2, .5rem); }  /* status chips, then the type chips: two groups with a clear gap */
.booking-pill-group { display:flex; align-items:center; flex-wrap:wrap; gap:var(--space-2, .5rem); }
/* Filter chips (style guide, Chips): outline when off, a solid fill in the chip's own colour when on (aria-pressed), never tinted-in-both.
   On text is the page's paper colour: white on the saturated light fills, dark on the bright dark-mode fills (4.5:1 or better). */
:root .bookings button.booking-chip { --booking-color:var(--focus); --on-ink:var(--paper); min-height:36px; padding:4px 12px; border-radius:var(--radius-pill, 999px); font-size:var(--text-sm,.875rem);
  border:1px solid var(--booking-color); background:var(--paper); color:var(--ink); font-weight:400; box-shadow:none; }
:root .bookings button.booking-chip.catering { --booking-color:var(--concept-ingredient); }
:root .bookings button.booking-chip.other { --booking-color:var(--concept-recipe); }
:root .bookings button.booking-chip.status-pending { --booking-color:var(--warn-fill); --on-ink:var(--warn-text); }
:root .bookings button.booking-chip.status-cancelled { --booking-color:var(--ink-soft); }
:root .bookings button.booking-chip[aria-pressed="true"] { background:var(--booking-color); border-color:var(--booking-color); color:var(--on-ink); font-weight:600; }
:root .bookings button.booking-chip.status-pending:not([aria-pressed="true"]) { border-color:var(--ink-soft); }  /* the amber fill is too pale to be an outline */
@media (pointer: coarse) { :root .bookings button.booking-chip { min-height:44px; } }
/* Dark: a chip that's off is a soft fill with no outline (--quiet-fill); only a chosen chip keeps a bright fill */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bookings button.booking-chip:not([aria-pressed="true"]) { background:var(--quiet-fill); border-color:transparent; } }
:root[data-theme="dark"] .bookings button.booking-chip:not([aria-pressed="true"]) { background:var(--quiet-fill); border-color:transparent; }
.booking-pill:disabled { opacity:1; cursor:default; }
.booking-type-control { position:relative; display:inline-flex; }
.booking-type-menu { position:absolute; z-index:3; top:100%; left:0; display:flex; flex-direction:column; gap:.3rem; padding:.4rem; background:var(--raised); border:1px solid var(--edge); border-radius:.4rem; }
.booking-calendar-scroll { overflow-x:auto; }
.booking-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:.3rem; min-width:38rem; }
.booking-cell { border:1px solid var(--edge); border-radius:.3rem; background:var(--paper); min-height:9rem; display:flex; flex-direction:column; padding:.3rem; }
.booking-grid.week { min-width:49rem; }
.booking-grid.week .booking-cell { min-height:18rem; }
.booking-cell.working { box-shadow:inset 0 3px var(--focus); }
.booking-cell-items { flex:1; }
.booking-day { border:0; background:transparent; text-align:left; padding:.25rem; }
.booking-entry { --booking-color:var(--focus); display:flex; flex-direction:column; align-items:stretch; width:100%; text-align:left; white-space:normal; overflow-wrap:anywhere; padding:.35rem; margin-block:.25rem; border:0; border-left:3px solid var(--booking-color); border-radius:.2rem; background:color-mix(in srgb,var(--booking-color) 12%,var(--paper)); color:var(--ink); }
.booking-entry small { display:block; font-size:.75rem; }
.booking-workday { font-weight:600; text-decoration:underline; }
.booking-list-row { display:grid; grid-template-columns:9rem 1fr; align-items:center; gap:.5rem; padding:.3rem; }
.booking-list-row:nth-child(even),.bookings tbody tr:nth-child(even) { background:var(--row-stripe); }
.booking-list-row:hover,.bookings tbody tr:hover { background:var(--row-hover); }
.booking-form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem .8rem; margin-block:.6rem; }
.booking-form .span2 { grid-column:span 2; }
/* Rule sentences need wider columns than short booking fields. At narrow widths
   each gets a full row; the shared tooltip retains the full translated choice. */
.booking-form.booking-rules { grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr)); }
/* A button among a grid's fields is as tall as its words, not stretched to the row. */
.booking-form > button,.booking-form > .booking-actions { align-self:start; justify-self:start; }
.booking-proposals > button,.booking-proposals > .booking-actions { align-self:start; }
.booking-form .span4 { grid-column:1/-1; }
.bookings label { display:flex; flex-direction:column; gap:.25rem; min-width:0; }
/* Text-like fields fill their label; a checkbox, radio, range, color or file input keeps its own size. */
.bookings input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file]),.bookings textarea,.bookings select { max-width:100%; width:100%; min-width:0; }
.bookings textarea { resize:vertical; }
.bookings .booking-check { flex-direction:row; align-items:center; gap:.4rem; }
.bookings input[type=checkbox] { width:1rem; height:1rem; flex:none; }
.bookings fieldset { padding:0; border:0; min-width:0; }
.bookings details { border-top:1px solid var(--edge); padding-block:.6rem; }
/* A guide accordion keeps its own look (head tint, 44px head, body padding) inside the booking pages. */
.bookings details.accordion { padding:0; border:1px solid var(--edge); }
.bookings details:not(.accordion) > summary { display:flex; align-items:center; min-height:44px; }
.bookings summary { cursor:pointer; font-weight:500; }
.bookings details.accordion > summary { font-weight:600; }
.booking-detail h3 { margin-block:.8rem .3rem; }
.booking-people { display:flex; flex-wrap:wrap; gap:.6rem 1rem; margin-block:.5rem; }
/* The same field as every other input: navy edge, recessed fill (app.css, controls.css); the box carries them, the input inside has none. */
.booking-money { display:flex; align-items:center; gap:.3rem; border:1px solid var(--ink); border-radius:var(--radius,.3rem); padding-inline:.4rem; background:var(--field-fill,var(--paper)); }
.booking-money:focus-within { border-color:var(--focus); }
.booking-money:has(input:disabled) { border-color:var(--input-edge,var(--edge)); background:color-mix(in srgb,var(--walk-in) 60%,var(--paper)); }
.booking-money input { text-align:right; font-variant-numeric:tabular-nums; border:0 !important; background:transparent !important; }
.booking-table-scroll { overflow:auto; max-width:100%; }
.booking-settings table { min-width:0; table-layout:auto; }
.booking-settings details table { min-width:48rem; }
.booking-settings table input[type=number] { min-width:5rem; }
.booking-settings table .booking-money { min-width:9rem; }
.booking-settings table select { min-width:10rem; }
.booking-settings table th { max-width:15rem; }
.bookings table { width:100%; border-collapse:collapse; }
.bookings th,.bookings td { text-align:left; padding:.4rem .5rem; border-bottom:1px solid var(--edge); vertical-align:top; }
.bookings th { background:var(--paper); }
.bookings .number { text-align:right; font-variant-numeric:tabular-nums; }
.booking-fetch-history { max-height:18rem; }
.booking-fetch-history thead th { position:sticky; top:0; z-index:1; }
.booking-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.booking-timeline { list-style:none; border-left:2px solid var(--edge); padding-left:1rem; }
.booking-timeline li { position:relative; }
.booking-timeline li::before { content:''; position:absolute; width:.5rem; height:.5rem; border-radius:50%; background:var(--focus); left:-1.3rem; top:1rem; }
.booking-file { display:grid; grid-template-columns:1fr auto; gap:.25rem .5rem; padding:.5rem; border-left:2px solid var(--edge); margin:.4rem; }
.booking-file small { grid-column:1; color:var(--ink-soft); }
.booking-file > button:not(.file-tile) { grid-column:2; grid-row:1/4; align-self:center; }
.booking-file.archived { opacity:.8; }
.booking-upload { margin-block:.6rem; }
/* The Gmail review list: one row per person and event, in a box about a dozen rows tall with its own scrollbar
   (style guide: Lists, long data lists people work in), so 50 rows a page never pushes the page down. */
.booking-inquiries { max-height:min(70vh,36rem); border:1px solid var(--edge); border-radius:var(--radius,.5rem); }
.booking-inquiries table { margin:0; }
.booking-inquiries td { vertical-align:middle; }
.booking-inquiry-name { display:inline-flex; align-items:center; gap:var(--space-1,.25rem); text-align:left; overflow-wrap:anywhere; }
.booking-row-actions { white-space:nowrap; text-align:right; }
.booking-row-actions > * + * { margin-left:var(--space-2,.5rem); }
/* Buttons first, then the trash can in a slot of its own, so it is always the last thing in the last column. */
.booking-row-grid { display:flex; align-items:center; justify-content:flex-end; gap:var(--space-2,.5rem); }
/* Up to two buttons a line, so three (Update booking, Review updates, Open booking) stack in two lines and the table fits. */
.booking-row-grid .row-buttons { display:inline-flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:var(--space-2,.5rem); max-width:16.5rem; }
.booking-when { white-space:nowrap; }
.booking-row-grid .row-buttons > * + * { margin-left:0; }
.booking-row-grid .row-trash { display:inline-flex; justify-content:center; width:32px; flex:none; }
.booking-cell-wrap { overflow-wrap:anywhere; max-width:28rem; }
.booking-inquiry-emails > td { background:var(--paper); padding:var(--space-2,.5rem) var(--space-3,.75rem) var(--space-3,.75rem) 2.25rem; }
.booking-email-list { list-style:none; margin:0; padding:0; display:grid; gap:var(--space-2,.5rem); }
.booking-email-list > li { border-left:2px solid var(--edge); padding-left:var(--space-2,.5rem); font-size:var(--text-sm,.875rem); }
.booking-email-list details { padding:0; border:0; }
.bookings .booking-pager label { display:inline-flex; flex-direction:row; align-items:center; white-space:nowrap; gap:var(--space-2,.5rem); }
.booking-pager { display:flex; align-items:center; justify-content:flex-end; gap:var(--space-2,.5rem); flex-wrap:wrap; margin-top:var(--space-2,.5rem); }
@media(max-width:760px) {
  .booking-inquiries { max-height:70vh; border:0; }
  .booking-row-actions { text-align:left; white-space:normal; }
  .booking-inquiry-emails > td { padding-left:var(--space-2,.5rem); }
  /* A row card: the checkbox sits before the name, out of the card's label / value lines. */
  .booking-inquiries tbody > tr { position:relative; }
  .booking-inquiries table.list-table.stack td.booking-select { position:absolute; top:var(--space-3,.75rem); left:var(--space-3,.75rem); }
  .booking-inquiries table.list-table.stack td.booking-select ~ td.name { padding-left:1.75rem; }
}
.booking-config { background:var(--config); border:1px solid var(--config-edge); border-radius:.5rem; padding:.65rem; }
.booking-config>.booking-inline>label:not(.booking-check) { max-width:12rem; }
.booking-warning { background:var(--highlighter-soft); padding:.5rem; }
.booking-print { display:none; }
@media(max-width:600px) {
  .booking-grid.week { min-width:0; grid-template-columns:1fr; }
  .booking-grid.week .booking-cell { min-height:5rem; }
  .booking-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .booking-form .span4 { grid-column:1/-1; }
  .booking-list-row { grid-template-columns:1fr; }
  }
/* The print dialog (Print calendar): the dialog itself doesn't scroll, so its Close stays in the corner clear of the table;
   the preview scrolls between the fields and the footer (Close, Print), which are always in view. */
.sheet:has(.booking-print-dialog) { display:flex; flex-direction:column; overflow:hidden; }
.sheet:has(.booking-print-dialog) > .sheet-close { position:static; float:none; align-self:flex-end; flex:none; margin:-8px -8px 0 0; }
.booking-print-dialog { display:flex; flex-direction:column; gap:var(--space-3,.75rem); flex:1 1 auto; min-height:0; }
.booking-print-dialog > form { display:flex; flex-direction:column; align-items:flex-start; gap:var(--space-3,.75rem); }
.booking-print-dialog > form .booking-form { width:100%; }
.booking-print-dialog .sheet-actions { justify-content:flex-end; margin-top:0; flex:none; }
.booking-print-dialog .sheet-actions .hint { margin-right:auto; }
.booking-print-preview { flex:1 1 auto; min-height:8rem; overflow:auto; border:1px solid var(--edge); border-radius:var(--radius,.4rem); padding:var(--space-3,.75rem); }
.booking-print-preview > h2 { margin-top:0; font-size:var(--text-lg,1.1rem); }
.print-table { width:100%; border-collapse:collapse; table-layout:auto; }
.print-table th, .print-table td { padding:.4rem .6rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--edge); }
.print-table th { white-space:nowrap; }
.print-table td { overflow-wrap:anywhere; }
.print-table td:nth-child(2) { min-width:9rem; }
.print-table .print-when, .print-table .print-fit { white-space:nowrap; overflow-wrap:normal; }  /* Date, Status, Guests keep their width; Menu, Service notes and Allergies take the rest and wrap */
.print-empty { padding-block:var(--space-3,.75rem); }
/* On paper: landscape, only the calendar (everything else is out of the page, so no blank pages), black on white in either theme. */
@page booking-calendar { size:landscape; margin:12mm; @bottom-center { content:"Page " counter(page) " of " counter(pages); font-size:9pt; } }
@media print {
  body:has(.booking-print) *:not(:has(.booking-print)):not(.booking-print):not(.booking-print *) { display:none !important; }
  html:has(.booking-print), body:has(.booking-print), body:has(.booking-print) *:has(.booking-print) { display:block !important; position:static !important; width:auto !important; height:auto !important; min-height:0 !important; max-height:none !important; overflow:visible !important; margin:0 !important; padding:0 !important; border:0 !important; background:white !important; box-shadow:none !important; transform:none !important; }
  .booking-print { display:block; page:booking-calendar; color:black !important; background:white !important; font-size:10pt; }
  .booking-print * { color:black !important; background:transparent !important; box-shadow:none !important; }
  .booking-print h2 { font-size:14pt; margin:0 0 4pt; }
  .booking-print p { margin:0 0 4pt; }
  .booking-print table { width:100%; border-collapse:collapse; }
  .booking-print tr { break-inside:avoid; }
  .booking-print thead { display:table-header-group; }
  .booking-print th, .booking-print td { border:1px solid black; padding:3pt 5pt; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
  .booking-print .print-when, .booking-print .print-fit { white-space:nowrap; overflow-wrap:normal; }
}

.booking-month-head { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); min-width:38rem; padding:.4rem; gap:.3rem; }
.booking-day small { display:block; font-size:.75rem; }

@media(max-width:600px) {
  .booking-grid.month { min-width:0; grid-template-columns:1fr; }
  .booking-month-head { display:none; }
  .booking-grid.month .booking-cell { min-height:5rem; }
  .booking-file { grid-template-columns:minmax(0,1fr) auto; }
  .booking-file a,.booking-file label,.booking-file p { min-width:0; overflow-wrap:anywhere; }
}

.booking-entry.status-pending { border-left-style:dashed; }  /* not confirmed yet: dashed, like an unpublished shift */
.booking-entry.status-cancelled { border-left-style:dotted; opacity:.6; filter:grayscale(1); }  /* won't happen: dotted, the whole entry greyed */
.booking-entry.status-cancelled strong { text-decoration:line-through; }
.booking-pill.status-pending { --booking-color:var(--warn-text); }
.booking-pill.status-cancelled { --booking-color:var(--ink-soft); }

/* Connectors (Events & Catering): the connection, Configuration and Booking review panes. Every pane has a border and
   its own background, apart from the page (owner, November 9). */
.gmail-pane { margin: 0 0 16px; }
.connectors-loading { padding: 48px 16px; display: flex; justify-content: center; }
.gmail-connect { padding: 20px; display: grid; gap: 12px; justify-items: start; max-width: 40rem; }
.gmail-connect h2 { margin: 0; font-size: var(--text-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gmail-connect p { margin: 0; }
.gmail-status { padding: 0; overflow: hidden; }
.gmail-status .connection-bar { margin: 0; padding: 4px 16px 4px 4px; border-bottom: 0; cursor: pointer; }
.gmail-status .connection-bar .bar-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px;
  color: var(--ink); font-weight: 700; background: transparent; border: 0; box-shadow: none; border-radius: var(--radius); }
.gmail-status .connection-bar .bar-toggle:hover { background: color-mix(in srgb, var(--focus) 6%, transparent); }
.gmail-status .bar-detail { padding: 10px 16px 14px 46px; border-top: 1px solid var(--edge); margin: 0; }
/* A header that opens and closes is a heading, not a button card */
.gmail-pane .accordion-head button { border: 0; box-shadow: none; border-radius: 0; font-size: var(--text-lg); align-items: center; }
.gmail-pane.config { background: var(--config); border-color: var(--config-edge); }
.gmail-sections { display: grid; gap: 16px; padding: 16px; border-top: 1px solid var(--edge); }
@media (min-width: 900px) { .gmail-sections { grid-template-columns: 1fr 1fr; } }
.gmail-section { padding: 16px; display: grid; gap: 12px; align-content: start; }
.gmail-section h3 { margin: 0; font-size: var(--text-base, 1rem); }
.gmail-section .section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bookings .gmail-section .lookback label, .gmail-section .lookback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gmail-section .lookback select { width: auto; min-width: 4.5rem; }
.gmail-section details { border-top: 1px solid var(--edge); padding-top: 8px; }
.gmail-section .field-label { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--label-ink, var(--ink)); margin-bottom: 6px; }
.frequency-switch { grid-template-columns: repeat(3, auto); width: max-content; }
.frequency-switch button { padding-inline: 14px; background: transparent; border: 1px solid transparent; box-shadow: none; color: var(--ink-soft); }
.frequency-switch button[aria-pressed="true"] { background: color-mix(in srgb, var(--focus) 16%, var(--paper)); border-color: var(--focus); color: var(--ink); font-weight: 700; }
.frequency-switch button:disabled { opacity: .6; }
@media (max-width: 600px) { .frequency-switch { width: 100%; grid-template-columns: repeat(3, 1fr); } }
.bookings label.gmail-option { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; }
.gmail-option input { margin-top: 3px; }
.gmail-option small { grid-column: 2; color: var(--ink-soft); }
.review-body { padding: 0 16px 16px; border-top: 1px solid var(--edge); }
.review-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 12px 0; }
.add-booking-row { display: inline-flex; align-items: center; gap: 6px; }
.add-booking-row .calendar-icon { display: inline-flex; width: 16px; height: 16px; }
.add-booking-row .calendar-icon svg { width: 16px; height: 16px; }
.bookings .gmail-section label.breeze-switch { flex-direction: row; align-items: center; gap: 8px; }
.bookings .gmail-section label.breeze-switch { flex: none; }
.bookings .gmail-section .breeze-switch input[role="switch"] { width: 46px; height: 26px; min-height: 26px; flex: none; }

/* Booking review, low friction (owner, November 9): chips say what's worth knowing, never block; the Edit sheet is compact. */
.booking-chips { display:inline-flex; flex-wrap:wrap; gap:4px; margin-left:6px; vertical-align:middle; }
.booking-chip { font-size:12px; font-weight:600; padding:1px 7px; border-radius:999px; background:var(--walk-in); color:var(--ink-soft); border:1px solid var(--edge); white-space:nowrap; }
.booking-chip.unsure { background:color-mix(in srgb,var(--highlighter) 30%,var(--paper)); color:var(--ink); border-color:color-mix(in srgb,var(--highlighter) 70%,var(--edge)); }
.booking-chip.conflict { background:var(--red-pen); color:var(--paper); border-color:var(--red-pen); cursor:help; }
.booking-chip.tight { background:color-mix(in srgb,var(--red-pen) 12%,var(--paper)); color:var(--red-pen); border-color:var(--red-pen); cursor:help; }
.booking-chip.platform { margin-left:6px; vertical-align:middle; background:var(--paper); color:var(--ink-soft); cursor:help; }
.booking-chip.look { background:color-mix(in srgb,var(--red-pen) 10%,var(--paper)); color:var(--ink); border-color:color-mix(in srgb,var(--red-pen) 40%,var(--edge)); }
.booking-edit fieldset { display:grid; gap:12px; border:0; padding:0; margin:0; min-width:0; max-width:none; width:100%; }
.booking-edit-head { display:flex; align-items:center; gap:10px; padding-right:5rem; }
.booking-edit-head h2 { margin:0; font-size:var(--text-lg); min-width:0; overflow-wrap:anywhere; }
.booking-edit-target { display:flex; align-items:center; gap:8px; font-size:var(--text-sm); }
.bookings .booking-edit-target label { flex-direction:row; font-weight:700; }
.booking-edit-target select { width:auto; min-height:32px; padding:2px 8px; }
.booking-edit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; }
.booking-edit-field { display:grid; gap:2px; align-content:start; min-width:0; }
.booking-edit-field.wide { grid-column:span 2; }
.booking-edit-field > label, .booking-edit-label { font-size:13px; font-weight:700; color:var(--label-ink,var(--ink)); }
.booking-edit-label { display:flex; align-items:center; gap:6px; }
.booking-edit-label label { font-size:13px; }
.booking-edit-field input:not([type="checkbox"]) { min-height:32px; padding:3px 8px; font-size:var(--text-sm); }
.booking-unsure { font-size:11px; font-weight:700; padding:0 6px; border-radius:999px; background:color-mix(in srgb,var(--highlighter) 35%,var(--paper)); color:var(--ink); }
.booking-edit-source { margin-left:auto; font-weight:400; color:var(--ink-soft); font-size:12px; }
.booking-edit-was { font-size:12px; color:var(--ink-soft); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.booking-edit-was button.link { min-height:22px; font-size:12px; }
.booking-edit-noted { margin:0; font-size:var(--text-sm); background:var(--walk-in); border:1px solid var(--edge); border-radius:var(--radius); padding:6px 10px; display:flex; flex-wrap:wrap; gap:4px 12px; align-items:center; }
.booking-edit-staff { display:grid; gap:8px; padding-top:10px; border-top:1px solid var(--edge); }
.booking-edit-staff h3 { margin:0; font-size:13px; color:var(--ink-soft); }
.booking-edit-staff h3 small { font-weight:400; }
.booking-edit-hint { margin:0; font-size:12px; color:var(--ink-soft); display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.booking-edit-hint button.small { min-height:24px; font-size:12px; padding:0 8px; }
.booking-edit-foot { display:flex; align-items:center; gap:8px; padding-top:10px; border-top:1px solid var(--edge); flex-wrap:wrap; }
.booking-edit-foot .grow { flex:1; }
@media (max-width:640px) { .booking-edit-grid { grid-template-columns:1fr 1fr; } }

/* November 16: current / proposed / Apply stays on one row; only long text grows. */
.booking-update-review { display:grid; gap:10px; }
.booking-update-fields { border:0; padding:0; margin:0; min-width:0; }
.booking-update-review > p { margin:0; }
.booking-update-columns, .booking-update-row { display:grid; grid-template-columns:140px 110px 16px minmax(0,1fr) auto; gap:10px; align-items:center; }
.booking-update-columns { color:var(--ink-soft); font-size:var(--text-xs); }
.booking-update-row { padding:7px 0; border-top:1px solid var(--edge); min-width:0; }
.booking-update-label { display:flex; gap:5px; align-items:center; flex-wrap:wrap; min-width:0; font-size:var(--text-sm); }
.booking-update-label label { font-size:var(--text-sm); }
.booking-update-label .booking-edit-source { margin-left:0; }
.booking-update-current { color:var(--ink-soft); font-size:var(--text-sm); min-width:0; overflow-wrap:anywhere; }
.booking-update-arrow { color:var(--ink-soft); text-align:center; }
.booking-update-proposed { min-width:0; }
.booking-update-proposed :is(input,select,textarea) { min-height:32px; padding:3px 7px; font-size:var(--text-sm); max-width:100%; }
.booking-update-proposed input[type="number"] { width:10ch; }
.booking-update-proposed input[type="date"] { width:145px; }
.booking-update-proposed input[type="time"] { width:120px; }
.booking-update-proposed input[type="text"] { width:180px; }
.booking-update-proposed select { width:140px; }
.booking-update-proposed .booking-money { width:13ch; max-width:100%; min-width:0; }
.booking-update-proposed .booking-money input { width:100%; min-width:0; }
.booking-update-row.long { grid-template-columns:1fr 1fr auto; align-items:start; }
.booking-update-row.long .booking-update-label { grid-column:1/3; align-self:center; }
.booking-update-row.long .apply-toggle { grid-column:3; grid-row:1; }
.booking-update-row.long .booking-update-current { grid-column:1; grid-row:2; }
.booking-update-row.long .booking-update-proposed { grid-column:2/4; grid-row:2; }
.booking-update-row.long .booking-update-arrow { display:none; }
.booking-update-row.long textarea { width:100%; min-height:90px; resize:vertical; }
.booking-update-row.long textarea[readonly] { color:var(--ink-soft); background:var(--walk-in); }
.booking-update-source { border-top:1px solid var(--edge); padding-top:8px; font-size:var(--text-sm); }
.booking-update-footer { border-top:1px solid var(--edge); padding-top:10px; display:flex; justify-content:space-between; gap:10px; align-items:center; flex-wrap:wrap; }
.booking-update-footer .apply-review-footer { margin:0 0 0 auto; }
@media (max-width:640px) {
  .booking-update-columns,.booking-update-row { grid-template-columns:110px 75px 12px minmax(0,1fr) auto; gap:6px; }
}
@media (max-width:480px) {
  .booking-update-columns { display:none; }
  .booking-update-row { grid-template-columns:65px 12px minmax(0,1fr) auto; }
  .booking-update-label { grid-column:1/-1; }
  .booking-update-row.long { grid-template-columns:minmax(0,1fr) auto; }
  .booking-update-row.long .booking-update-label { grid-column:1; }
  .booking-update-row.long .apply-toggle { grid-column:2; }
  .booking-update-row.long .booking-update-current { grid-column:1/-1; grid-row:2; }
  .booking-update-row.long .booking-update-proposed { grid-column:1/-1; grid-row:3; }
}

/* Inbox Configuration for Reading (owner's mockup, November 9: "Summary and editor"): a summary list beside the editor of the
   chosen section; on a phone, the list, then the editor with All settings to go back. */
.gmail-config { display:grid; gap:12px; padding:12px 16px 16px; border-top:1px solid var(--edge); }
.gmail-inspect { display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; }
.gmail-inspect p { margin:0; max-width:34rem; }
.gmail-start { display:flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:space-between; }
.gmail-start p { margin:0; }
.gmail-split { display:grid; grid-template-columns:minmax(220px,300px) minmax(0,1fr); background:var(--paper); border:1px solid var(--edge); border-radius:var(--radius); overflow:hidden; }
.gmail-summary { display:flex; flex-direction:column; border-right:1px solid var(--edge); background:color-mix(in srgb,var(--walk-in) 50%,var(--paper)); }
:root .booking-connector button.gmail-summary-item { display:flex; align-items:center; justify-content:space-between; gap:8px; text-align:left; padding:12px 14px 12px 16px;
  border:0 !important; border-bottom:1px solid var(--edge) !important; border-left:3px solid transparent !important; border-radius:0; box-shadow:none !important;
  background:transparent !important; color:var(--ink) !important; min-height:60px; }
:root .booking-connector button.gmail-summary-item[aria-pressed="true"] { border-left-color:var(--focus) !important; background:var(--paper) !important; }
.gmail-summary-item > span { display:grid; gap:2px; min-width:0; }
.gmail-summary-item strong { display:inline-flex; align-items:center; gap:8px; }
.gmail-summary-text { font-size:var(--text-sm); color:var(--ink-soft); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gmail-sync-state { display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700; }
.gmail-sync-state > span { width:7px; height:7px; border-radius:50%; background:currentColor; }
.gmail-sync-state.off { color:var(--red-pen); } .gmail-sync-state.on { color:var(--done); }
.gmail-editor { display:grid; gap:12px; align-content:start; padding:20px 24px; min-width:0; }
.gmail-editor h3 { margin:0; font-size:var(--text-base,1rem); }
.gmail-back { display:none; justify-self:start; }
.gmail-stack { display:grid; gap:10px; }
.gmail-row { display:flex; gap:16px; flex-wrap:wrap; }
.bookings .gmail-editor label.gmail-radio, .gmail-radio { display:flex; flex-direction:row; align-items:center; gap:8px; font-weight:600; }
.gmail-choices { display:grid; gap:10px; }
.gmail-chips { display:flex; flex-wrap:wrap; gap:8px; }
:root .booking-connector button.gmail-chip { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:4px 14px; border-radius:999px;
  border:1px solid var(--ink) !important; background:var(--paper) !important; color:var(--ink) !important; box-shadow:none !important; font-size:var(--text-sm); }
:root .booking-connector button.gmail-chip[aria-pressed="true"] { background:var(--ink) !important; color:var(--paper) !important; }
:root .booking-connector button.gmail-chip.gmail-chip-add { border-style:dashed !important; }
.gmail-chip .check-mark { width:13px; height:13px; }
.gmail-more { justify-self:start; display:inline-flex; align-items:center; gap:6px; }
.gmail-search input { max-width:28rem; }
.gmail-add { display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; padding-top:12px; border-top:1px solid var(--edge); }
.gmail-add label { flex:1 1 16rem; }
.gmail-auto { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 24px; }
.gmail-auto-col { display:grid; gap:12px; align-content:start; border:0; padding:0; margin:0; min-width:0; }
.gmail-auto-col legend { font-weight:700; padding:0; margin-bottom:8px; }
.gmail-wide { grid-column:1 / -1; margin:0; }
.bookings .gmail-editor label.breeze-switch { flex-direction:row; align-items:center; gap:8px; }
.bookings .gmail-editor .breeze-switch input[role="switch"] { width:46px; height:26px; min-height:26px; flex:none; }
.accordion-head button.accordion-locked { cursor:default; opacity:1; }
.accordion-locked .working { display:inline-flex; align-items:center; gap:8px; }
.accordion-locked .plate-loader { width:18px; height:18px; }
@container (max-width:640px) { .gmail-auto { grid-template-columns:1fr; } }
@media (max-width:720px) {
  .gmail-split { grid-template-columns:1fr; }
  .gmail-split .gmail-editor { display:none; }
  .gmail-split.editing .gmail-summary { display:none; }
  .gmail-split.editing .gmail-editor { display:grid; }
  .gmail-back { display:inline-flex; align-items:center; gap:4px; }
  .gmail-auto { grid-template-columns:1fr; }
}
:root .bookings .gmail-editor label.gmail-option { display:grid; grid-template-columns:auto 1fr; gap:2px 10px; align-items:start; }
.bookings .gmail-editor label.gmail-option small { grid-column:2; }
/* A row just added to the calendar: the green check and "Added", beside Undo Add. */
.booking-done { display:inline-flex; align-items:center; color:var(--done); }
.booking-done .booking-done-text { margin-left:4px; font-weight:700; }
/* A row just added: a green tint beside the check, "Added" and Undo Add. */
.booking-inquiries tr.row-added > td, .booking-inquiries tr.row-added:hover > td { background:color-mix(in srgb, var(--done) 12%, var(--paper, transparent)); }
/* Why Add didn't work, right under its row. */
.booking-inquiries tr.has-row-error > td { border-bottom:0; }
.booking-row-error > td { padding:0 var(--space-3,.75rem) var(--space-2,.5rem) 2.25rem; }
.booking-row-error .error { margin:0; padding:6px 10px; border-left:3px solid var(--red-pen); background:color-mix(in srgb, var(--red-pen) 8%, transparent); }
/* Updated tab: what the new emails change, on a second line under the row, across the whole table (owner, November 13). */
.booking-inquiries tr:has(+ .booking-changes-row) > td { border-bottom:0; padding-bottom:2px; }
table.list-table tr.booking-changes-row > td { padding:0 var(--space-3,.75rem) var(--space-2,.5rem) 3.25rem; }
/* Striped by inquiry, not by table row: a row and the line of changes under it share their colour. */
.bookings .booking-inquiries tbody tr:nth-child(even) { background:none; }
.bookings .booking-inquiries tbody tr.striped { background:var(--row-stripe); }
.booking-changes { display:flex; flex-wrap:wrap; gap:4px 8px; font-size:13px; font-weight:400; }
/* "Guests: 12 → 25 · Event date: Dec 12 → Dec 9": only the change in bold (owner, November 13). */
.booking-change { color:var(--ink); font-weight:400; white-space:nowrap; }
.booking-change b { font-weight:700; }
.booking-changes > * + *::before { content:'·'; margin-right:8px; color:var(--ink-soft); font-style:normal; font-weight:400; }
.booking-change-note { color:var(--ink-soft); font-style:italic; }
/* Emails: the timeline (booking review, booking window) and the popup. Style guide: Emails. */
.email-panel { background:var(--sheet-body,var(--walk-in)); border:1px solid var(--edge); border-radius:var(--radius,8px); padding:12px 16px; }
.email-timeline { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.email-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.email-open { display:inline-flex; align-items:center; padding:2px 4px; min-height:0; border:1px solid transparent; background:transparent; }
.email-open:hover, .email-open:focus-visible { border-color:var(--edge); background:var(--raised); }
.email-icon.sent, .email-open.sent { color:var(--focus); }
.email-icon.received, .email-open.received { color:var(--done); }
.email-when { font-weight:700; white-space:nowrap; }
.email-subject { font-weight:400; }
.email-summary { margin:2px 0 0 38px; color:var(--ink-soft); font-size:13px; }
.email-popup h2 { display:flex; align-items:center; gap:8px; }
.email-head { display:grid; grid-template-columns:auto 1fr; gap:2px 12px; margin:8px 0 12px; font-size:14px; }
.email-head dt { color:var(--ink-soft); font-weight:600; }
.email-head dd { margin:0; overflow-wrap:anywhere; }
/* The message is a note: a highlighter-soft card in a typewriter face, so it reads as "what was written". */
.email-note { margin:0; padding:12px 16px; background:var(--highlighter-soft); border:1px solid var(--edge); border-left:4px solid var(--highlighter-ink,var(--edge)); border-radius:var(--radius,8px);
  font-family:ui-monospace,"Courier New",Courier,monospace; font-size:13.5px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--ink); }
.email-note.quiet { background:var(--raised); border-left-color:var(--edge); }
.email-thread { margin-top:16px; display:grid; gap:6px; }
.email-thread summary { cursor:pointer; }
.email-files { margin:12px 0 0; padding-left:18px; }
/* The booking window: Save and Delete float at the bottom right while the form scrolls; empty sections stay, greyed out. */
.booking-action-bar { position:sticky; bottom:0; z-index:2; display:flex; align-items:center; justify-content:flex-end; gap:var(--space-2,.5rem);
  margin:var(--space-3,.75rem) calc(var(--space-4,1rem) * -1) 0; padding:var(--space-2,.5rem) var(--space-4,1rem); background:var(--raised); border-top:1px solid var(--edge); }
.booking-action-bar .grow { flex:1; }
.accordion-empty { opacity:.7; }
.accordion-empty-head { display:flex; flex-wrap:wrap; align-items:center; gap:2px var(--space-2); min-height:44px; padding:var(--space-2) var(--space-4); background:var(--accordion-head); }
.accordion-empty-head span { color:var(--ink-soft); }
.accordion-empty-head span::before { content:'·'; margin-right:var(--space-2); }
.booking-others { list-style:none; margin:12px 0 0; padding:0; display:grid; gap:6px; }
/* The email mark on screens other than Booking review. */
.email-mark { display:inline-flex; vertical-align:middle; margin-right:6px; }
.email-log-mark { display:inline-flex; align-items:center; margin-right:8px; color:var(--focus); }
.email-title { display:flex; align-items:center; gap:8px; }

/* Connection bar: while connected it is the pane's own surface, a faint green; amber is for a connection that needs attention. */
.gmail-status .connection-bar { position:static; border-radius:0; border-color:transparent; background:color-mix(in srgb,var(--done) 8%,var(--paper)); }
.gmail-status .connection-bar.needs-attention { border-color:var(--highlighter-ink); background:color-mix(in srgb,var(--highlighter) 18%,var(--paper)); }
/* Row buttons and the toolbar's: one height (36px; 44px on touch). */
.booking-heading .print-button.small { min-height:36px; padding:6px 14px; border-radius:var(--radius,.4rem); }
@media (pointer:coarse) { .booking-heading .print-button.small { min-height:44px; } }
/* The floating Help button stays above the booking window's action bar, and the page leaves room under its last row. */
@media (min-width:761px) { body:has(.booking-action-bar) .help-button { bottom:84px; } }
section.bookings { padding-bottom:4.5rem; }

/* Settings: units beside small number boxes, role pills, (?) marks, right-aligned Save (style guide, Forms) */
.booking-unit { display:flex; align-items:center; gap:var(--space-2,.5rem); margin:0 0 var(--space-2,.5rem); }
/* One sentence: "Remind managers about events [ 14 ] days ahead (?)". The label is plain inline text with the box inside it, so it wraps
   like text (only on a phone) and the words share the box's baseline. The box needs the longer selector: `.bookings input:not(...)` makes inputs 100% wide. */
.booking-settings .booking-unit label { display:block; flex:0 1 auto; margin:0; }
.booking-settings .booking-unit input.booking-num { display:inline-block; width:5rem; min-width:0; margin-inline:var(--space-2,.5rem); vertical-align:baseline; text-align:right; }
.booking-settings .booking-unit label > :first-child:is(input) { margin-inline-start:0; }
.booking-settings .hint { margin:0 0 var(--space-2,.5rem); }
.booking-settings .accordion + .accordion { margin-top:var(--space-2,.5rem); }
.booking-settings .accordion > summary span { font-weight:400; color:var(--ink-soft); }
.booking-pills { display:flex; flex-wrap:wrap; }  /* its gaps are set at the top: a wide one between the status and type groups */
.booking-pill { border-radius:999px; min-height:32px; padding:4px 12px; border:1px solid var(--edge); background:var(--paper); }
.booking-pill.on { background:var(--accordion-head); border-color:var(--focus); color:var(--ink); font-weight:600; }
@media (pointer:coarse) { .booking-pill { min-height:44px; } }
.booking-settings .help-mark { display:inline-grid; place-items:center; min-height:0; width:20px; height:20px; padding:0; border:1px solid var(--edge); border-radius:50%;
  background:transparent; box-shadow:none; color:var(--ink-soft); font-size:var(--text-xs); font-weight:700; line-height:1; cursor:help; }
.booking-settings .booking-unit .help-mark { flex:none; min-width:20px; min-height:20px; height:20px; }  /* a small circle at any width and on touch, never squeezed into an oval */
.booking-save { justify-content:flex-end; margin-top:var(--space-3,.75rem); }
.booking-saved { color:var(--done); font-weight:600; display:inline-flex; align-items:center; gap:4px; }
/* A booking file: a tile with its icon, the name and the date under it. */
.file-tile { display:inline-grid; justify-items:center; gap:.2rem; width:7.5rem; padding:.5rem; text-align:center; text-decoration:none; color:inherit; background:none; border:1px solid var(--edge); border-radius:6px; cursor:pointer; min-width:0; }
.file-tile:hover { border-color:var(--ink-soft); }
.file-icon { position:relative; display:grid; place-items:center; width:2.5rem; height:2.5rem; color:var(--ink-soft); }
.file-icon svg { width:2.5rem; height:2.5rem; }
.file-icon b { position:absolute; bottom:.3rem; left:50%; transform:translateX(-50%); padding:0 .2rem; border-radius:2px; background:var(--red-pen); color:var(--paper); font-size:.5rem; letter-spacing:.03em; line-height:1.3; }
.file-name { overflow-wrap:anywhere; font-weight:600; font-size:.85rem; }
.file-date { color:var(--ink-soft); }
.booking-file .file-tile { grid-column:1; }
/* The viewer: as tall as the screen allows, the PDF or picture filling it; the buttons stay in reach on a phone. */
.file-viewer { display:flex; flex-direction:column; gap:.75rem; min-width:0; }
.file-viewer h2 { overflow-wrap:anywhere; margin:0; padding-right:5rem; }
.file-frame { width:100%; height:min(75vh,75dvh); border:1px solid var(--edge); background:#fff; }
.file-image { max-height:min(70vh,70dvh); overflow:auto; }
.file-image img { height:auto; max-width:none; }
@media(max-width:760px) { .file-frame { height:70dvh; } .file-viewer .sheet-actions { flex-direction:column-reverse; } .file-viewer .sheet-actions > * { width:100%; text-align:center; } }

/* Booking window redesign: customer search, payments table, documents grid, viewer. */
.customer-field { min-width:0; }
.field-label { display:block; margin-bottom:.25rem; font-size:var(--text-sm); font-weight:600; color:var(--label-ink); }
.customer-picker { display:grid; gap:.15rem; justify-items:start; }
.customer-combo { position:relative; width:100%; }
.customer-list { position:absolute; z-index:20; left:0; right:0; top:calc(100% + 2px); margin:0; padding:4px; list-style:none; max-height:15rem; overflow:auto; background:var(--raised); border:1px solid var(--ink); border-radius:var(--radius); box-shadow:0 6px 18px color-mix(in srgb,var(--ink) 25%,transparent); }
.customer-list li { display:flex; justify-content:space-between; gap:.5rem; align-items:baseline; min-height:36px; padding:6px 10px; border-radius:4px; cursor:pointer; }
.customer-list li small { color:var(--ink-soft); }
.customer-list li[aria-selected="true"], .customer-list li:hover { background:var(--row-hover); }
.customer-list li.add { position:sticky; bottom:-4px; margin-top:4px; border-top:1px solid var(--edge); border-radius:0 0 4px 4px; background:var(--raised); font-weight:600; color:var(--link); }
.from-email { font-weight:400; }
.sheet-end { justify-content:flex-end; }
.payments-table th, .payments-table td { vertical-align:middle; }
.payments-table .payment-actions { white-space:nowrap; text-align:right; }
.payments-table .payment-new td { padding-top:.6rem; }
@media(max-width:760px) {
  .payments-table thead { display:none; }
  .payments-table tbody tr { display:grid; grid-template-columns:1fr 1fr; gap:.4rem; padding:.5rem 0; }
  .payments-table td { display:block; border:0; padding:0; }
}
.document-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr)); gap:var(--space-3,.75rem); margin:0 0 .75rem; padding:0; list-style:none; }
.file-chips { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.4rem; }

/* Compact window: tighter bodies and gaps, a narrow customer window, smaller document tiles. */
.booking-detail .accordion-body { padding:.6rem .75rem; }
.booking-detail .accordion > summary { min-height:40px; padding:.25rem .75rem; }
.booking-detail .booking-form { gap:.4rem .6rem; margin-block:.3rem; }
.booking-detail .accordion { margin-bottom:.5rem; }
.booking-detail p.hint { margin:0 0 .4rem; font-size:var(--text-sm); }
.booking-detail h3 { margin-block:.5rem .25rem; font-size:var(--text-base); }
.booking-detail .document-grid { grid-template-columns:repeat(auto-fill,minmax(7rem,1fr)); gap:.5rem; }
.booking-form.customer-contact { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:480px) { .booking-form.customer-contact { grid-template-columns:1fr; } .booking-form.customer-contact .span2 { grid-column:auto; } }

@media(max-width:760px) { .payments-table td[data-label]::before { content:attr(data-label); display:block; font-size:var(--text-xs); font-weight:600; color:var(--label-ink); } }
.document-grid .file-tile, .file-chips .file-tile { width:100%; }
.file-chips .file-tile { width:7.5rem; }

/* Labels above fields are small and bold, the same in every box (style guide, Forms). */
:is(.booking-detail,.customer-window) label:not(.booking-check):not(.check), :is(.booking-detail,.customer-window) .field-label { font-size:13px; font-weight:700; }
.booking-detail .booking-edit-label, .booking-detail .booking-edit-label label { font-size:13px; font-weight:700; }
.role-lock-manager { color:var(--lock-manager); }
/* Compact: the Edit customer action rides on the label's line; staff are pill chips; the add tile matches the file tiles. */
.customer-field { position:relative; }
.customer-picker > button.link { position:absolute; right:0; top:-1.75rem; min-height:24px; }
.chip-row button small.hint { margin-left:.25rem; }
.file-add { border-style:dashed; color:var(--ink-soft); }
.file-add .file-icon { font-size:1.6rem; }
.booking-detail .accordion-body { padding:.5rem .75rem; }
.booking-detail .booking-form { gap:.3rem .6rem; }
.booking-detail textarea { min-height:0; }
.booking-detail h2 { margin:0 0 .4rem; }
/* Follow Ups: the filter bar, sortable headers (as the invoice register's) and the staff picker grouped by role */
.booking-filters { display:flex; flex-wrap:wrap; gap:var(--space-2,.5rem); margin:0 0 var(--space-3,.75rem); }
.bookings th .sort-head { display:inline-flex; align-items:center; gap:4px; min-height:0; padding:0; border:0 !important; box-shadow:none !important; background:none !important; font:inherit; font-weight:600; color:inherit; cursor:pointer; }
.bookings th .sort-arrow { color:var(--ink-soft); font-size:.85em; }
.bookings th[aria-sort] .sort-arrow { color:var(--ink); }
.booking-assign-group { margin:0 0 var(--space-3,.75rem); }
.booking-assign-group legend { padding:0; margin-bottom:var(--space-1,.25rem); font-weight:600; color:var(--ink-soft); }
.booking-assign-group .booking-pills { gap:var(--space-2,.5rem); }

/* Fields side by side line up along their bottom edge, whatever their labels hold (owner, 16 Nov 2026). */
.booking-edit-grid { align-items:end; }
/* The Cancellations tab and its review (owner, 16 Nov 2026): a red Cancelled chip, the reason under the name. */
.booking-chip.cancelled { background:color-mix(in srgb,var(--red-pen) 12%,var(--paper)); color:var(--red-pen); border-color:var(--red-pen); }
.booking-cancel-reason { display:block; margin-top:2px; font-size:13px; font-weight:400; overflow-wrap:anywhere; }
.booking-cancel-review .booking-edit-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.booking-cancel-review .booking-edit-head h2 { margin:0; }
.booking-cancel-why { margin-bottom:var(--space-3,.75rem); }
.booking-cancel-why h3 { margin:0 0 4px; }
.booking-cancel-why > p { margin:4px 0; }
.booking-cancel-quote { margin:4px 0 8px; padding:6px 12px; border-left:3px solid var(--highlighter); background:color-mix(in srgb,var(--highlighter) 18%,var(--paper)); border-radius:0 var(--radius) var(--radius) 0; overflow-wrap:anywhere; }
.booking-cancel-where { font-size:var(--text-sm,.875rem); }
.booking-cancel-wrong { margin:0 0 8px; }
.booking-cancel-more > details.accordion:last-child { margin-bottom:0; }
.booking-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; vertical-align:1px; background:var(--focus); }
.booking-dot.good { background:var(--done); }
.booking-cancel-facts { display:grid; grid-template-columns:max-content 1fr; gap:4px 16px; margin:0; font-size:var(--text-sm,.875rem); }
.booking-cancel-facts dt { color:var(--label-ink); font-weight:600; }
.booking-cancel-facts dd { margin:0; overflow-wrap:anywhere; }
.booking-cancel-foot { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:var(--space-3,.75rem); }
.booking-cancel-foot .grow { flex:1; }
.booking-cancel-note { margin:6px 0 0; font-size:var(--text-xs,.75rem); text-align:right; }
@media(max-width:760px) {
  .booking-cancel-foot { flex-direction:column-reverse; align-items:stretch; }
  .booking-cancel-foot > button { width:100%; justify-content:center; }
  .booking-cancel-foot .grow { display:none; }
  .booking-cancel-note { text-align:left; }
  .booking-cancel-facts { grid-template-columns:1fr; } .booking-cancel-facts dd { margin-bottom:6px; }
}
