/* The public quote: a cart. Left, one accordion row per model (its price arrives on the row); right, a sticky summary card. Type, colours and form controls come from site.css and components.css; nothing here adds an accent. */
.quote-entry, .quote-cart { display: grid; gap: 1.5rem; min-width: 0; }
.quote-entry, .quote-cart { --q-line: rgba(27, 27, 27, .1); --q-line-2: rgba(27, 27, 27, .16); }
/* Room before the grey "How it works" band under the page. */
.quote-entry { padding-bottom: var(--ui-gap); }
.quote-cart { padding-bottom: 5.5rem; }
.quote-cart [hidden], .quote-entry [hidden] { display: none !important; }
.quote-cart-grid { display: grid; gap: 1.5rem; min-width: 0; }
.quote-main { min-width: 0; }
@media (min-width: 60rem) {
  .quote-cart { padding-bottom: var(--ui-gap); }
  .quote-cart-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
}

/* Steps: 01 Upload · 02 Configure · 03 Request (client-side; the current one bold). */
.quote-steps { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.quote-steps [aria-current="step"] { color: var(--ink); font-weight: 700; }
.quote-cart .quote-step, .quote-entry .quote-step { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.03em; outline-offset: 4px; }
.quote-upload-note { margin: .9rem 0 0; }
.quote-loading, .quote-noscript { color: var(--muted); }
.quote-calculate { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0 0 1rem; padding: 1.25rem 1.5rem; border-radius: var(--ui-r-tile); background: var(--ui-grey); }
.quote-calculate p { flex: 1 1 18rem; margin: 0; font-size: .92rem; line-height: 1.5; }

/* First step: a big drop zone. */
.quote-entry .ui-drop { padding: clamp(2.5rem, 7vw, 5rem) 1rem; }
/* Grey tile; the transparent border keeps a boundary in forced-colors, drag-over and invalid show an inset ring. */
.quote-add .ui-drop { border: 2px solid transparent; border-radius: var(--ui-r-tile); background: var(--ui-grey); }
.quote-add .ui-drop.is-over { border-color: transparent; background: var(--ui-grey); box-shadow: inset 0 0 0 2px var(--ink); }
.quote-add .ui-upload.is-invalid .ui-drop, .quote-add .ui-drop:has(.ui-drop-input:user-invalid) { border-color: transparent; box-shadow: inset 0 0 0 2px var(--ui-error); }
.quote-add .ui-drop-title { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9rem; }
.quote-add .ui-drop:hover .ui-drop-title, .quote-add .ui-drop.is-over .ui-drop-title { background: var(--ui-ink-2); }
/* "Add more models": a light grey tile with a solid hairline border under the list. */
.quote-add.is-more { margin-top: .75rem; }
.quote-add.is-more .ui-drop { min-height: 0; padding: 2rem 1rem; gap: .2rem; border: 1px solid var(--q-line-2); background: var(--ui-grey); }
.quote-add.is-more .ui-drop.is-over { border-color: var(--ink); }
.quote-add.is-more .ui-drop-title { background: var(--ui-pill-bg); color: var(--ink); }
.quote-add.is-more .ui-drop:hover .ui-drop-title { background: var(--ui-pill-bg-hover); }
.quote-add.is-more .ui-drop-title::before { content: "+"; margin-right: .5rem; }

/* Model accordion. Rows keep their place in the DOM (stable keys), so nothing re-mounts or flashes when one opens, applies or gets its price. */
.quote-models { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
/* Same surface as the summary card and the header. */
.quote-m { border-radius: var(--ui-r-glass); background: var(--ui-glass-strong); box-shadow: 0 0 0 1px rgba(27, 27, 27, .07), 0 8px 24px rgba(27, 27, 27, .06); }
.quote-m[data-state="failed"]:not([data-manual]), .quote-m[data-state="refused"], .quote-m[data-state="upload_failed"], .quote-m[data-state="expired"] { border-color: var(--ui-error); box-shadow: inset 0 0 0 1px var(--ui-error); }
.quote-m-head { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem .5rem .5rem; }
.quote-m.is-open .quote-m-head { border-bottom: 1px solid var(--q-line); }
.quote-m-head h3 { flex: 1; min-width: 0; margin: 0; font-size: 1rem; letter-spacing: 0; }
.quote-m-toggle { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 3.25rem; padding: .4rem .5rem; border: 0; border-radius: var(--ui-r-tile); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.quote-m-toggle .ui-chevron { margin-inline: .35rem .1rem; transform: rotate(-45deg); transition: transform .2s ease; }
.quote-m-toggle[aria-expanded="true"] .ui-chevron { transform: rotate(45deg); }
.quote-m-glyph { display: grid; flex: none; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--ui-grey); font-size: .7rem; font-weight: 700; }
.quote-m-text { display: grid; gap: 2px; min-width: 0; }
.quote-m-name { overflow: hidden; font-family: var(--ui-font); font-size: .95rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.quote-m-sum { color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.35; }
.quote-m-status { flex: none; min-width: 5.5rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.quote-m-status small { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; }
.quote-m-status .is-old, .quote-sum .is-old, .quote-bar .is-old { color: var(--muted); }
.quote-line-price small, .quote-total-val small, .quote-bar-total small { display: block; font-size: .72rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.quote-m-wait { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.3; text-align: left; }
.quote-m-wait .ui-spinner { width: 1rem; height: 1rem; flex: none; }
.quote-m-remove { display: grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.quote-m-remove:hover { background: var(--ui-grey); color: var(--ink); }
.quote-m-remove svg { width: 1.15rem; height: 1.15rem; }
.quote-m-toggle:focus-visible, .quote-m-remove:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.quote-m-alerts { display: grid; gap: .4rem; padding: .6rem 1.25rem .8rem; }
.quote-m-alerts p { margin: 0; font-size: .9rem; line-height: 1.5; }
/* A long upload error keeps its text beside the icon and puts Try again on its own line (never a stretched pill). */
.quote-m-alerts .ui-error { flex-wrap: wrap; align-items: flex-start; }
.quote-m-alerts .ui-error > span { flex: 1 1 calc(100% - 1.35rem); min-width: 0; }
.quote-m-alerts .ui-error > .ui-btn { margin-left: 1.35rem; }
.quote-m-body { padding: .25rem 1.25rem 1.25rem; }
.quote-m-body p { margin: .75rem 0 0; font-size: .92rem; line-height: 1.5; }
.quote-m-note { color: var(--muted); }
.quote-group { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-group legend { margin: 0 0 .75rem; padding: 0; font-size: .95rem; font-weight: 700; }
/* Sections with hairline dividers: Material and colour, Quality, then Supports + Quantity side by side (wrapping only when there is no room). */
.quote-section { padding: 1rem 0; border-bottom: 1px solid var(--q-line); }
.quote-sq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 2rem; border-bottom: 0; }
/* Material + Colour: label row, then control row, same top edge (select and swatches share one height). */
.quote-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: .75rem 1rem; }
.quote-grid2 .ui-field > label, .quote-grid2 .ui-fieldset > legend { display: block; float: none; width: 100%; margin: 0 0 .3rem; padding: 0; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.quote-grid2 .ui-field { gap: 0; }
.quote-grid2 .ui-swatches { gap: .5rem; }
.quote-grid2 .ui-swatch { min-height: 48px; padding-inline: 1rem; border: 1px solid var(--q-line-2); border-radius: 999px; background: #fff; }
.quote-grid2 .ui-swatch { position: relative; }
.quote-grid2 .ui-swatch-chip { width: 14px; height: 14px; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27, 27, 27, .2); }
.quote-grid2 .ui-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.quote-grid2 .ui-swatch input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 999px; }
.quote-grid2 .ui-swatch:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.quote-grid2 .ui-swatch:has(input:checked) .ui-swatch-chip { box-shadow: 0 0 0 2px #fff; }
.quote-grid2 .ui-swatch:has(input:disabled) { opacity: .5; }
.quote-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 40rem) { .quote-grid2 { grid-template-columns: 1fr; } .quote-grid3 { grid-template-columns: 1fr 1fr; } .quote-m-glyph { display: none; } .quote-m-status { min-width: 4.5rem; } }
.quote-m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; }
/* Undo sits alone on the right; the status note has its own full-width row so nothing shifts. */
.quote-undo-slot { margin-left: auto; }
.quote-m-actions .ui-btn { padding-inline: 1.4rem; } /* the note is above the actions, so Undo only grows the row downward */
.quote-m-body .quote-m-hint { margin: 1rem 0 .75rem; color: var(--muted); }
.quote-undo-confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; font-size: .85rem; font-weight: 600; }
.quote-undo { min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--ui-grey); color: var(--muted); font: 600 .94rem var(--ui-font); cursor: pointer; }
.quote-undo:hover { background: var(--ui-pill-bg); color: var(--ink); }
.quote-undo:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Segmented pill radios (Supports), same selected rule as the colour pills. */
.quote-seg { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.quote-seg label { position: relative; cursor: pointer; }
.quote-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.quote-seg span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; border: 1px solid var(--q-line-2); border-radius: 999px; background: #fff; font-size: .94rem; font-weight: 500; }
.quote-seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.quote-seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.quote-seg input:disabled + span { opacity: .5; }
/* Selects in a model row: 48px pills on the grey tile; the note textarea shares the border, radius and background. */
.quote-m-body .ui-field select { height: 48px; padding-left: 1rem; }
.quote-m-body .ui-field :is(select, textarea) { border: 1px solid var(--q-line-2); border-radius: 14px; background-color: #fff; }
.quote-m-body .ui-field textarea { min-height: 0; padding: .75rem 1rem; }
.quote-m-body .ui-field :is(select, textarea)[aria-invalid="true"] { border-color: var(--ui-error); }
.quote-m-body .ui-select .ui-chevron { right: 1.2rem; }
.quote-m-view { margin-top: 1rem; position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ui-r-glass); background: var(--ui-grey); }
.quote-m-view > canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.quote-preview-hint { position: absolute; bottom: 1rem; left: 1rem; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: var(--ui-grey); font-size: .78rem; }
.quote-m-view > .quote-preview-note { max-width: 24rem; margin: 0; padding: 1.5rem; color: var(--muted); font-size: .88rem; text-align: center; }

.quote-stepper { display: flex; width: max-content; }
.quote-stepper { align-items: center; border: 1px solid var(--q-line-2); border-radius: 999px; background: #fff; overflow: hidden; }
.quote-stepper button { width: 3rem; height: calc(3rem - 2px); border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.1rem; cursor: pointer; }
.quote-stepper button:hover:not(:disabled) { background: var(--ui-pill-bg); }
.quote-stepper button:disabled { color: var(--muted); cursor: not-allowed; }
.quote-stepper input { width: 3.5rem; height: calc(3rem - 2px); padding-inline: .3rem; border: 0; border-radius: 0; background: none; font: inherit; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.quote-stepper input::-webkit-outer-spin-button, .quote-stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* Summary card (sticky from 60rem); on a phone a fixed bar opens it as a sheet. */
.quote-sum.ui-card { padding: 1.25rem; border: 0; border-radius: var(--ui-r-glass); background: var(--ui-glass-strong); box-shadow: var(--ui-glass-shadow), 0 0 0 1px rgba(27, 27, 27, .07); }
.quote-sum h2 { margin: 0 0 .75rem; font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; }
/* One bordered inner card per model, like the home Example quote. */
.quote-lines { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.quote-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px .75rem; padding: .75rem .9rem; border: 1px solid var(--q-line); border-radius: 18px; background: #fff; font-size: .9rem; }
.quote-line-name { font-size: .88rem; font-weight: 700; overflow-wrap: anywhere; }
.quote-line-spec { display: flex; flex-wrap: wrap; gap: .3rem; grid-column: 1; margin-top: .2rem; }
.quote-line-spec .ui-chip { height: 24px; padding: 0 .6rem; border-radius: 999px; background: var(--ui-grey); font-size: 12px; }
.quote-line-spec .ui-chip-on, .quote-code-on .ui-chip-on { background: var(--wasabi); }
.quote-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; outline: 1px solid rgba(27, 27, 27, .2); outline-offset: -1px; }
.quote-line-price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.quote-line-price .ui-spinner { width: .95rem; height: .95rem; }
.quote-extra { margin-top: .75rem; }
.quote-note-row { margin: 0; padding: .2rem 0; color: var(--ui-ink-2); font-size: .8rem; }
.quote-note-row.is-soft { color: var(--muted); }
.quote-more { margin-top: .5rem; }
.quote-incl { border-top: 1px solid var(--q-line); }
.quote-code summary, .quote-incl summary { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; list-style: none; cursor: pointer; font-size: .9rem; font-weight: 700; }
.quote-code summary::-webkit-details-marker, .quote-incl summary::-webkit-details-marker { display: none; }
.quote-code summary:focus-visible, .quote-incl summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ui-plus { position: relative; flex: none; width: 12px; height: 12px; transition: transform .2s ease; }
.ui-plus::before, .ui-plus::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; }
.ui-plus::after { transform: rotate(90deg); }
details[open] > summary .ui-plus { transform: rotate(45deg); }
.quote-code-form { display: flex; gap: .5rem; margin: 0 0 .75rem; }
.quote-code-form .ui-btn { min-height: 44px; padding-inline: 1.1rem; }
.quote-code-hint { margin: 0 0 .75rem; font-size: .8rem; }
.quote-code-form input { flex: 1; min-width: 0; height: 44px; padding: 0 1rem; border: 1px solid var(--q-line-2); border-radius: 999px; background: #fff; font: 700 1rem var(--ui-font); text-transform: uppercase; }
.quote-code-form input::placeholder { text-transform: none; font-weight: 400; }
.quote-code-on { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding: .75rem 0; }
.quote-code-on button { margin-left: auto; padding: .25rem 0; border: 0; background: none; color: inherit; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.quote-code-on .ui-hint { flex-basis: 100%; }
.quote-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--q-line-2); }
.quote-total-label { margin: 0; color: var(--ui-ink-2); font-size: 1rem; font-weight: 600; }
.quote-total-val, .quote-total { margin: 0; font-size: var(--ui-price-size); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.quote-total-val .ui-spinner { width: 1.2rem; height: 1.2rem; margin-left: .5rem; }
.quote-sum .ui-price-note { margin: .4rem 0 0; }
.quote-sum .quote-vat { text-align: right; }
.quote-incl ul { margin: 0 0 .75rem; padding-left: 1.1rem; color: var(--ui-text-soft); font-size: .85rem; line-height: 1.55; }
.quote-nav { display: flex; margin-top: 1rem; }
.quote-nav .ui-btn, .quote-nav .button { flex: 1; }
.quote-bar { display: none; }
@media (min-width: 60rem) { .quote-sum-wrap { position: sticky; top: calc(var(--ui-header-h) + 1rem); } }
@media (max-width: 59.99rem) {
  .quote-sum-wrap { position: fixed; inset: auto 0 0; z-index: 30; display: flex; flex-direction: column; max-height: 85dvh; background: var(--paper); box-shadow: 0 -8px 30px #1b1b1b1f; }
  .quote-sum-wrap .quote-sum { display: none; overflow-y: auto; padding: .25rem 1rem .5rem; border: 0; border-radius: 0; }
  .quote-sum-wrap.is-open .quote-sum { display: block; }
  .quote-sum-wrap .quote-nav { display: none; }
  .quote-sum-wrap.is-open .quote-nav { display: none; }
  .quote-bar { order: 2; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); }
  .quote-bar-toggle { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; min-height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .quote-bar-toggle .quote-total-label { display: flex; align-items: center; gap: .5rem; }
  .quote-bar-toggle .ui-chevron { margin-top: .2rem; transform: rotate(-135deg); }
  .quote-sum-wrap.is-open .quote-bar-toggle .ui-chevron { margin-top: -.2rem; transform: rotate(45deg); }
  .quote-bar-total { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .quote-bar-total .ui-spinner { width: .9rem; height: .9rem; margin-left: .4rem; }
  .quote-sum-wrap .quote-sum { order: 1; }
}

/* Request step (unchanged form). */
.quote-send { margin-top: 0; }
.quote-send p { margin: 0; font-size: .9rem; line-height: 1.5; }
.quote-send .quote-actions { margin: .4rem 0 0; }
.quote-blocked { color: var(--muted); }
.quote-sent-list { margin: 0 0 1.2rem; padding-left: 1.2rem; line-height: 1.6; }
.quote-sent .quote-total { margin-bottom: 1rem; }
.quote-change { display: grid; gap: 1.5rem; margin: 0 0 1.2rem; }
.quote-change-row { display: grid; gap: .5rem; }
.quote-change-name { margin: 0; font-weight: 600; }
.quote-change-row input[type="number"] { max-width: 8rem; }

/* Motion: a model fades in only when it is first added; a price fades in when it arrives. Never under reduced motion. */
@keyframes quote-row-in { from { opacity: 0; transform: translateY(.4rem); } }
@keyframes quote-fade { from { opacity: 0; } }
.quote-m.is-new { animation: quote-row-in .2s ease; }
.quote-fade { animation: quote-fade .2s ease; }
@media (prefers-reduced-motion: reduce) {
  .quote-m.is-new, .quote-fade { animation: none; }
  .quote-m-toggle .ui-chevron, .ui-plus { transition: none; }
}

.quote-how + p { margin-top: 1.5rem; }
/* A disabled continue button (not every model priced yet) is the grey pill, label visible, no hover change. */
.quote-sum-wrap .button:disabled { cursor: not-allowed; opacity: 1; background: var(--ui-pill-bg); color: var(--muted); border-color: transparent; }
.quote-sum-wrap .button:disabled > span { color: inherit; }
.quote-sum-wrap .button:disabled:hover .ui-arrow { transform: rotate(-45deg); }

/* Control states for the quote builder's own buttons and inputs (hover, pressed, disabled; focus ring is global). */
.quote-stepper button:focus-visible { outline-offset: -4px; }
.quote-stepper button:active:not(:disabled) { background: var(--ui-pill-bg-hover); }
.quote-stepper:has(input:disabled) { opacity: .55; }
.quote-stepper input:disabled { cursor: not-allowed; }
.quote-seg input:not(:checked, :disabled) + span:hover { border-color: var(--ink); }
.quote-seg input:not(:disabled) + span { transition: border-color .15s ease, transform .1s ease; }
.quote-seg input:not(:disabled) + span:active { transform: scale(.98); }
:is(.quote-undo, .quote-m-toggle, .quote-m-remove, .quote-bar-toggle, .quote-code-on button) { transition: opacity .15s ease; }
:is(.quote-undo, .quote-m-toggle, .quote-m-remove, .quote-bar-toggle, .quote-code-on button):hover { opacity: .65; }
:is(.quote-undo, .quote-m-toggle, .quote-m-remove, .quote-bar-toggle, .quote-code-on button):active { opacity: .45; }
:is(.quote-undo, .quote-m-toggle, .quote-m-remove, .quote-bar-toggle, .quote-code-on button):disabled { opacity: .4; cursor: not-allowed; }
.quote-code-form input:not(:disabled):is(:hover, :active) { border-color: var(--ink); transition: border-color .15s ease; }
.quote-code-form input:disabled { opacity: .55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .quote-seg input + span, :is(.quote-undo, .quote-m-toggle, .quote-m-remove, .quote-bar-toggle, .quote-code-on button), .quote-code-form input { transition: none; }
  .quote-seg input + span:active { transform: none; }
}

/* Split a model into colours (COLOUR-SPLIT): rows of colour, copies and remove; text links; no inline styles. */
.quote-link { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quote-link:hover:not(:disabled) { opacity: .65; }
.quote-link:active:not(:disabled) { opacity: .45; }
.quote-link:disabled { color: var(--muted); cursor: not-allowed; }
.quote-split-open { display: block; margin-top: .6rem; }
.quote-split-wrap { grid-column: 1 / -1; }
.quote-split { display: grid; gap: .6rem; }
.quote-split-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; font-size: .82rem; font-weight: 700; }
.quote-split-rows { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.quote-split-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
.quote-split-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; outline: 1px solid rgba(27, 27, 27, .2); outline-offset: -1px; }
.quote-split-select { flex: 1 1 9rem; min-width: 0; }
.quote-m-body .quote-split-select select { height: 44px; padding-right: 2.25rem; }
.quote-split-step { display: inline-flex; align-items: center; border: 1px solid var(--q-line-2); border-radius: 999px; background: #fff; }
.quote-split-step button { width: 2.5rem; height: calc(2.75rem - 2px); border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 1.1rem; cursor: pointer; }
.quote-split-step button:hover:not(:disabled) { background: var(--ui-pill-bg); }
.quote-split-step button:active:not(:disabled) { background: var(--ui-pill-bg-hover); }
.quote-split-step button:disabled { color: var(--muted); cursor: not-allowed; }
.quote-split-step output { min-width: 2rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.quote-split-remove { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 1.3rem; cursor: pointer; transition: opacity .15s ease; }
.quote-split-remove:hover:not(:disabled) { opacity: .65; }
.quote-split-remove:disabled { opacity: .4; cursor: not-allowed; }
.quote-split-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; font-size: .88rem; }
.quote-split-add { min-height: 44px; padding: 0 1.1rem; border: 1px dashed var(--ink); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.quote-split-add:hover:not(:disabled) { background: var(--ui-pill-bg); }
.quote-split-add:active:not(:disabled) { background: var(--ui-pill-bg-hover); }
.quote-split-add:disabled { border-color: var(--q-line-2); color: var(--muted); cursor: not-allowed; }
.quote-split :is(button, select):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .quote-split-remove, .quote-split-add { transition: none; } }
