/* ============================================================
   css/components.css
   Reusable component rules extracted from index.html's inline
   <style> block.

   Contains: Best Match cards, Recommended Config card + View Other
   Options, Config Sheet option cards, Width Breakdown (link, card,
   lines, sheet-back), Step 1 layout buttons, Color Swatches, Fixing
   Type image buttons, Custom Dropdown, Panel Color classes, and the
   Summary table.

   Step-specific visibility/override rules and the Gap Bar System
   blocks live in css/configurator.css. This file loads AFTER
   css/layout.css and BEFORE css/configurator.css, preserving the
   original cascade source-order.
   ============================================================ */

/* ============================================================
   Step 2 redesign
   ============================================================ */

/* --- Best Match Cards (Part 1) --- */

.best-match-list {
    display: flex;
    flex-direction: column;
    gap: var(--best-match-gap);
    margin-top: var(--best-match-margin-top);
}

.best-match-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    padding: var(--card-pad);
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-align: left;
    flex: 1;
    min-height: 0;
}

.best-match-card:hover {
    border-color: var(--color-border-strong);
}

.best-match-card.selected {
    background: var(--selection-suggested-fill);
    border: var(--border-width) solid var(--color-card-border);
}

.best-match-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

.best-match-card.selected .best-match-check {
    background: var(--color-success);
}

.best-match-card:not(.selected) .best-match-check {
    background: transparent;
    border: var(--border-width) solid var(--color-card-border);
}

.best-match-card:not(.selected) .best-match-check svg {
    display: none;
}

.best-match-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.best-match-label {
    font-size: var(--font-size-label-strong);
    font-weight: var(--weight-label-strong);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-success);
}

.best-match-sub {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
}

.best-match-card:not(.selected) .best-match-label {
    color: var(--color-text);
}

.best-match-value {
    font-size: var(--font-size-heading);
    font-weight: var(--weight-heading);
    color: var(--color-text);
    line-height: 1.1;
}

/* When only ONE best-match card exists (no alternate), enlarge it to
   fill the space more. :only-child targets the card automatically. */
.best-match-card:only-child {
    padding: 16px;
    gap: 16px;
}

.best-match-card:only-child .best-match-check {
    width: var(--checkmark-size);
    height: var(--checkmark-size);
}

.best-match-card:only-child .best-match-label,
.best-match-card:only-child .best-match-sub {
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
}

.best-match-card:only-child .best-match-value {
    font-size: var(--font-size-heading);   /* match paired-card value size (CON-6) */
    font-weight: var(--weight-heading);
}



/* --- Recommended Configuration Card + View Other Options (Part 2) --- */

.config-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: var(--control-height);   /* grows when the text wraps on narrow phones */
    padding: 6px 10px;
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-align: left;
    container: config-card / inline-size;   /* text picks full/compact wording by card width */
}

.config-card:hover {
    border-color: var(--color-border-strong);
}

.config-card.selected {
    border: var(--border-width) solid var(--color-card-border);
}

/* Never wraps mid-phrase, never tiny.
   Wide card (≥405px content): ONE line at 16px — the longest string
   ("165 Hinge + 625 Door + 100 Front Fixed Panel") is ~369px + 32px tick/gap.
   Narrow card: TWO deliberate lines — the panel numbers at 16px
   ("265 Hinge + 625 Door", ~176px) and the front-fixed part (.config-tail,
   rendered by widthSheets.js) as a smaller caption underneath:
   "No Front Fixed Panel" or "+ 100 Front Fixed Panel". Ellipsis is only a
   last-resort guard. */
.config-card-text {
    font-size: var(--font-size-subhead);
    font-weight: var(--weight-subhead);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

@container config-card (width < 405px) {
    .config-card-text .config-tail {
        display: block;
        font-size: 12px;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .config-card-text .config-paren {
        display: none;
    }
}

.config-card-text .config-panel-word {
    color: var(--color-text);
    font-weight: var(--weight-body);
}

.config-card-text .config-muted {
    color: var(--color-text-secondary);
    font-weight: var(--weight-body);
}

.config-card-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
    background: var(--color-success);
}

.view-other-options {
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start; /* override global button { justify-content: center } */
    gap: 8px;
}

.view-other-options:hover {
    opacity: 0.7;
}

.view-other-options .chevron-circle {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* --- Config Sheet Option Cards --- */

.config-sheet-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--control-height);
    padding: var(--sheet-option-vert-pad) var(--card-pad);
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-align: left;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    line-height: 1.5;
}

.config-sheet-option:hover {
    border-color: var(--color-border-strong);
}

.config-sheet-option.selected {
    border: var(--border-width) solid var(--color-card-border);
    background: var(--selection-suggested-fill);
}

.config-sheet-option-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

.config-sheet-option.selected .config-sheet-option-check {
    background: var(--color-success);
}

.config-sheet-option:not(.selected) .config-sheet-option-check {
    background: transparent;
    border: var(--border-width) solid var(--color-card-border);
}

.config-sheet-option:not(.selected) .config-sheet-option-check svg {
    display: none;
}

/* --- Width Breakdown (Part 4) --- */

.width-breakdown-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: var(--control-height);
    padding: var(--control-padding-y) 10px;
    background: var(--color-surface-hover);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    color: var(--color-text-secondary);
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    text-decoration: none;
}

.width-breakdown-link .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}


.width-breakdown-link:hover {
    background: var(--color-surface-pressed);
}

/* --- Step 1 landscape marketing panel (base state) ---

   The panel (#step1LandscapePanel, a 5th direct child of .container) is
   HIDDEN BY DEFAULT, everywhere: in portrait entirely, and in landscape on
   every step except Step 1.

   This rule deliberately lives HERE and NOT in css/landscape.css, even though
   the panel is a landscape-only feature. Reason: landscape.css's contract is
   "every selector carries html.is-landscape", so it can only ever ADD the
   panel — it can never be responsible for hiding it. Keeping the hidden state
   as the orientation-independent DEFAULT means portrait does not depend on
   landscape.css loading at all, and there is no window (e.g. before
   src/ui/orientation.js runs) in which the panel could flash into view.
   Do not "simplify" by moving this into landscape.css. */
.step1-landscape-panel {
    display: none;
}

.breakdown-card {
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    padding: var(--card-pad);
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--breakdown-line-vert-pad) 0;
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    line-height: 1.5;
}

.breakdown-line + .breakdown-line {
    border-top: none;
}

.breakdown-line-label {
    color: var(--color-text-secondary);
}

.breakdown-line-value {
    font-weight: var(--weight-body);
    text-align: right;
}

.breakdown-line-total {
    font-weight: var(--weight-heading);
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
    margin-top: var(--breakdown-total-margin-top);
    padding-top: var(--breakdown-total-pad-top);
}

.breakdown-line-total .breakdown-line-label {
    color: var(--color-text);
    font-weight: var(--weight-heading);
}

.breakdown-line-total .breakdown-line-value {
    color: var(--color-text);
    font-weight: var(--weight-heading);
}

.sheet-back {
    flex-shrink: 0;
    width: 100%;
    padding: var(--sheet-back-vert-pad) 0;
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-button);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s;
}

.sheet-back:hover {
    opacity: 0.7;
}

/* Layout Buttons (Step 1) ──
   The gap above the first card is the --gap-s1-03 bar (a border-top, in
   the Step 1 gap-bar block below). The gap BETWEEN cards is --gap-s1-03a
   and lives here as row-gap rather than as a border bar: a border-bottom
   would replace each card's own 2px outline. row-gap is not touched by the
   zero-out rule, so it is still driven by the one variable. */
.layout-buttons {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-s1-03a);

    flex: 1;

    min-height: 0; /* Allow cards to shrink below their content height (fixes clipping) */
}



.layout-btn {
    position: relative; /* anchor for the selected checkmark badge */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    background: var(--color-surface);
    color: var(--color-text);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);



    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s;
    padding: var(--layout-btn-vert-pad) 20px;
    min-height: 0;
}



.layout-btn-img {
    height: 100%;
    max-height: clamp(80px, 18vh, 170px); /* Scales down on short viewports so all cards fit */
    min-height: 0;
    width: auto;
    object-fit: contain;
    align-self: center; /* Vertically centre the image within the card */
    flex-shrink: 0;
}





/* Text block: bold title + light grey description, stacked */
.layout-btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.layout-btn-title {
    font-size: var(--font-size-heading);
    font-weight: var(--weight-heading);
    color: var(--color-text);
    line-height: 1.2;
}

.layout-btn-desc {
    font-size: var(--font-size-body);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
    line-height: 1.3;
}


/* Green circular checkmark badge — only visible when card is selected */
.layout-btn-check {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;

    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    background: var(--color-success);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}


.layout-btn:hover {
    border-color: var(--color-border-strong);
    background: var(--color-surface-muted);
}

.layout-btn.selected {
    border: var(--border-width) solid var(--selection-primary-border);
    background: var(--color-surface);
}



.layout-btn.selected .layout-btn-check {
    display: flex;
}

/* Color Swatches — circular finish buttons in a flex row.
   Each .swatch-group > div is one item: a color circle + label below.
   The group uses flex (not grid) so all 5 swatches fit on one line at
   320px: 5 × 50px + 4 × 4px = 266px < 272px content width. */
.swatch-group {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.swatch-group > div {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.swatch {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;       /* anchor for the checkmark badge */
    overflow: hidden;         /* clip the square finish image to the circle */
    appearance: none;         /* strip native <button> chrome (Step 5 a11y) */
    -webkit-appearance: none;
    background: none;
    padding: 0;
    flex: 0 0 auto;           /* neutralise the global button { flex: 1 } */
}

/* Square finish image, masked to the circular .swatch above. */
.swatch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swatch:hover {
    transform: scale(1.05);
    transform-origin: top;   /* grow downward — top edge fixed so it no longer clips */
}

.swatch.selected {
    border-color: var(--selection-primary-border);
}

/* Green tick circle — centered on the swatch, same style as other steps */
.swatch-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    background: var(--color-success);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
    z-index: 1;               /* layer above the finish image */
}

.swatch.selected .swatch-check {
    display: flex;
}

.swatch-label {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    font-family: var(--font-family);
    text-align: center;
    margin-top: 4px;
    color: var(--color-text-secondary);
}

/* Optional Add-On box (Step 5) — support-tube add-on. Vertical spacing uses
   flex `gap` only (the Step 5 zero-out rule strips margin/padding, not gap). */
.support-addon-box {
    position: relative;   /* anchor for the opt-in check badge */
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    background: var(--color-surface);
    padding: 0 var(--card-pad);   /* horizontal only — vertical is stripped on Step 5 */
}

.support-addon-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* The toggle is the full-width header hit area. `justify-content: flex-start`
   overrides the global `button { justify-content: center }` (configurator.css)
   — without it the title renders CENTRED, not merely indented. The opt-in
   circle is taken OUT of the text flow (absolute badge, below) so the title
   starts on the same left edge as the subtitle, icon captions and the
   Type/Size section labels. */
.support-addon-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family);
}

/* Opt-in state badge — top-right corner of the box, same idiom as
   .layout-btn-check / .fixing-btn-check. Positioned against
   .support-addon-box so it never pushes the title text inward. */
.support-addon-toggle-check {
    position: absolute;
    top: var(--card-pad);
    right: var(--card-pad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
    background: transparent;
    border: var(--border-width) solid var(--color-card-border);
}

.support-addon-toggle.is-on .support-addon-toggle-check {
    background: var(--color-success);
    border-color: var(--color-success);
}

.support-addon-toggle:not(.is-on) .support-addon-toggle-check svg {
    display: none;
}

.support-addon-title {
    font-size: var(--font-size-body);
    font-weight: var(--weight-heading);
    color: var(--color-text-secondary);
}

.support-addon-subtitle {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
}

.support-addon-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.support-addon-content[hidden] {
    display: none;
}

/* Icon groups sit on ONE row (no wrapping), left-aligned together on the
   left edge — NOT spread to the box edges (a 2-icon + 1-icon split would
   otherwise leave a wide gap between the groups). The caption is what used
   to force the wrap (a joined single-line caption is wider than its icons),
   so captions are now two short lines and the row is explicitly nowrap. */
.support-addon-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--space-2);
    /* Fallback ONLY for very narrow viewports (~320px), where the two-line
       captions are wider than their icon group. At 411px there is no
       overflow, so this never engages there — icons stay a single
       un-scrolled row rather than shrinking below legibility. */
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

/* Each group is sized to its content (icons + caption), so a 3-icon group
   takes ~3× the width of a 1-icon group. Groups sit adjacent on the left
   edge of the row (see .support-addon-icons above). */
.support-addon-icon-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
    flex: 0 1 auto;
}

.support-addon-icon-row {
    display: flex;
    gap: var(--space-2);
    min-width: 0;
}

/* Icons are FLEXIBLE, not fixed: they grow to fill the row (matching the
   mockup, where the icons nearly span the box) and shrink on narrow
   viewports down to a 40px legibility floor — so all icons for a layout
   always fit on one row without needing horizontal scroll. Source PNGs are
   1472px square, so scaling up costs no quality. */
.support-addon-icon {
    display: block;
    flex: 1 1 72px;
    max-width: 72px;
    min-width: 40px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    pointer-events: none;   /* static reference icons — non-interactive */
}

/* Caption ABOVE the icons (mockup), one caption string per line. */
.support-addon-icon-caption {
    display: flex;
    flex-direction: column;
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    line-height: 1.3;
    color: var(--color-text-secondary);
}

.support-addon-icon-caption-line {
    white-space: nowrap;
}

.support-addon-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.support-addon-section-label {
    font-size: var(--font-size-body);
    font-weight: var(--weight-heading);
    color: var(--color-text-secondary);
}

.support-addon-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Radio-style option (Type/Size) — PLAIN row, no box chrome (per the client
   mockup): check circle first, then the label. Deliberately NO border,
   background, radius or box padding — the only selected signal is the
   check circle turning green (styled below). */
.support-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    line-height: 1.5;
    color: var(--color-text);
}

.support-option-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

.support-option.selected .support-option-check {
    background: var(--color-success);
}

.support-option:not(.selected) .support-option-check {
    background: transparent;
    border: var(--border-width) solid var(--color-card-border);
}

.support-option:not(.selected) .support-option-check svg {
    display: none;
}

/* Fixing Type Image Buttons — two equal square tiles side by side,
   10px gap. Each wrapper holds a square button + caption below.
   Reuses --border-radius, --border-width, --color-success,
   --border-radius-pill, --font-family from :root. Checkmark SVG
   is identical to .layout-btn-check. */
.fixing-buttons {
    display: flex;
    gap: 10px;
}

.fixing-btn-wrapper {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.fixing-btn {
    position: relative;       /* anchor for checkmark badge */
    aspect-ratio: 1 / 1;      /* force square tile */
    display: block;
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    overflow: hidden;        /* clip image to rounded corners */
    /* Override the global button flex/font/heights */
    width: 100%;
    height: auto;
    font-weight: var(--weight-body);
    font-size: inherit;
}

.fixing-btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fixing-btn:hover {
    border-color: var(--color-border-strong);
    background: var(--color-surface-muted);
}

.fixing-btn-check {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    background: var(--color-success);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

.fixing-btn.selected {
    border: var(--border-width) solid var(--selection-primary-border);
    background: var(--color-surface);
}

.fixing-btn.selected .fixing-btn-check {
    display: flex;
}

/* Caption row — below the button, takes zero space until content is added */
.fixing-btn-caption {
    display: block;
    flex-shrink: 0;
    min-height: 0;
    padding: 0;
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    color: var(--color-text-secondary);
    text-align: left;
}
.fixing-btn-caption-title {
    font-weight: var(--weight-heading);
}
.fixing-btn-caption-sub {
    font-weight: var(--weight-body);
}
.fixing-btn-caption-note {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
}

/* Step 6 — green "ready" badge (header). Reuses --color-success and the
   white-checkmark visual language of .layout-btn-check / .swatch-check.
   NOTE: the Step 6 gap-bar rule `.container:has(.step[data-step="6"].active) *`
   zeroes padding-top/bottom with !important, so vertical size comes from
   min-height (not padding); horizontal padding is unaffected. */
.step6-ready-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-success-light-bg);
    color: var(--color-success-dark);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    padding: 0 18px;
    min-height: var(--control-height);
    box-sizing: border-box;
    font-family: var(--font-family);
}

.step6-ready-badge__check {
    /* Standard tick: the shared white CHECKMARK_SVG on a green circle (see the
       check-badge wrapper on the same span in index.html). PREVIOUS design (kept
       for client swap-back) was an outlined 18px circle + green check in
       currentColor with no width/height/background/border-radius. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--checkmark-size);
    height: var(--checkmark-size);
    background: var(--color-success);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

.step6-ready-badge__text {
    font-size: var(--font-size-heading);
    font-weight: var(--weight-heading);
    line-height: 1.2;
    color: var(--color-success);
}


/* Step 6 — Summary block */
.summary-heading {
    font-weight: var(--weight-sheet-title);
    font-size: var(--font-size-sheet-title);
    text-align: left;
    color: var(--color-text);
}

.summary-table {
    display: flex;
    flex-direction: column;
}

.summary-table-header {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-body);
    font-weight: var(--weight-heading);
    color: var(--color-text);
}

.summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.summary-row-label {
    font-weight: var(--weight-button);
    color: var(--color-text);
}

.summary-row-value {
    font-weight: var(--weight-body);
}

/* Step 6 — breakdown buttons (open the width/depth breakdown sheets).
   Card-like buttons matching .config-card, with the .view-other-options
   chevron-circle icon. Vertical size comes from min-height (not padding)
   because the Step 6 gap-bar rule zeroes padding-top/bottom. */
.step6-breakdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: none; /* override the global button { flex: 1 } so the buttons don't stretch */
    padding: 0 12px;
    min-height: var(--control-height);
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
}

.step6-breakdown-btn:hover {
    border-color: var(--color-border-strong);
}

.step6-breakdown-btn .chevron-circle {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Step 6 — logo + download card. */
.step6-logo {
    display: block;
    width: var(--step6-logo-width);
    height: auto;
}

.step6-download-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    padding: 0 16px; /* horizontal only; vertical restored in configurator.css */
}

.step6-download-card__heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step6-download-card__icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
}

.step6-download-card__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.step6-download-card__icon-label {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-label-strong);
    color: var(--color-text);
}

.step6-download-card__text {
    font-size: var(--font-size-heading);
    font-weight: var(--weight-heading);
    color: var(--color-text);
}

.step6-download-card__body {
    font-size: var(--font-size-label-strong);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
    padding-left: 56px;
}

.step6-download-btn {
    width: 100%;
    flex: none; /* override the global button { flex: 1 } */
    height: var(--control-height);
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-text);
    color: var(--color-text);
    border-radius: var(--border-radius);
    font-size: var(--font-size-button);
    font-weight: var(--weight-button);
}

.step6-download-btn:hover {
    filter: brightness(0.92);
}

.step6-download-btn:active {
    filter: brightness(0.85);
}

/* Step 7 — Shopping List */
.shopping-list-logo {
    display: block;
    width: var(--shopping-list-logo-width);
    height: auto;
}

/* The Step 6 and Step 7 logos double as a link back to the site home page.
   The sizing classes (.step6-logo / .shopping-list-logo) sit on the <a>, not
   the <img>, so the anchor is the flex child those layouts already size — the
   image just fills it. The href is relative (`../`) so it resolves against the
   <base href="{basePath}/configurator/"> the Next route injects, and therefore
   lands on the site root on local, UAT and prod alike without hardcoding a
   domain or a basePath. */
.logo-home-link {
    text-decoration: none;
}

.logo-home-link img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-home-link:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

.shopping-list-title {
    font-weight: var(--weight-sheet-title);
    font-size: var(--font-size-sheet-title);
    text-align: left;
    color: var(--color-text);
}

/* Divider injected by renderShoppingList() between the BOM items and any
   BOM warning lines (unknown LinkCodes / un-packable pieces). The static
   title→list divider that used to live in index.html was removed. */
.shopping-list-divider {
    border-top: 1px solid var(--color-panel-black);
}

.shopping-list {
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar (Firefox) - wide + token colors.
   Shared across every scrollable region: .scroll-fade already marks the
   fade/chevron scroll containers, and the two scroll containers that lack
   the class (.step-header-above-preview and the Step 6 landscape
   .form-section) are added explicitly. */
.scroll-fade,
.step-header-above-preview,
html.is-landscape .container:has(.step[data-step="6"].active) .form-section {
    scrollbar-width: auto;
    scrollbar-color: var(--color-text-secondary) var(--color-border);
}

/* Custom scrollbar (WebKit/Blink) - wide enough for touch. */
.scroll-fade::-webkit-scrollbar,
.step-header-above-preview::-webkit-scrollbar,
html.is-landscape .container:has(.step[data-step="6"].active) .form-section::-webkit-scrollbar {
    width: 12px;
}
.scroll-fade::-webkit-scrollbar-thumb,
.step-header-above-preview::-webkit-scrollbar-thumb,
html.is-landscape .container:has(.step[data-step="6"].active) .form-section::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius: var(--border-radius);
}
.scroll-fade::-webkit-scrollbar-track,
.step-header-above-preview::-webkit-scrollbar-track,
html.is-landscape .container:has(.step[data-step="6"].active) .form-section::-webkit-scrollbar-track {
    background: var(--color-border);
}

.shopping-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-panel-black);
    flex-shrink: 0;
}

/* The last item's border-bottom would double up with the list's own
   bottom border, so drop it — the list border provides the bottom divider. */
.shopping-list-item:last-child {
    border-bottom: none;
}

.shopping-list-empty {
    justify-content: center;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* BOM warnings (unknown LinkCodes, un-packable pieces) — subdued vs normal items */
.shopping-list-item-warning {
    color: var(--color-danger);
    font-size: var(--font-size-caption);
    font-style: italic;
    justify-content: flex-start;
    min-height: auto;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Transient "Coming soon" note shown below placeholder buttons (download,
   checkout, quote) — replaces the old alert() dialogs. Inserted by
   formManager.showComingSoonNote(). */
.coming-soon-note {
    margin-top: 8px;
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
    font-style: italic;
}

.shopping-list-item-left {
    flex: 1;
}

.shopping-list-item-name {
    font-weight: var(--weight-heading);
    font-size: var(--font-size-body);
    color: var(--color-text);
}

.shopping-list-item-code {
    font-weight: var(--weight-caption);
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.shopping-list-item-qty {
    font-weight: var(--weight-heading);
    font-size: var(--font-size-body);
    color: var(--color-text);
    margin-left: 24px;
    padding-right: 8px;
    flex-shrink: 0;
    min-width: 3ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shopping-subheading {
    font-weight: var(--weight-heading);
    font-size: var(--font-size-heading);
    color: var(--color-text);
}

.shopping-body-text {
    font-weight: var(--weight-caption);
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.shopping-small-print {
    font-weight: var(--weight-caption);
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.shopping-disclaimer {
    font-weight: var(--weight-caption);
    font-size: calc(var(--font-size-caption) * var(--shopping-disclaimer-font-scale));
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.shopping-disclaimers {
    flex: none;
}

.btn-checkout {
    width: 100%;
    height: var(--control-height);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-button);
    font-weight: var(--weight-button);
    color: #fff;
    text-align: center;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.btn-checkout-red {
    background: var(--color-danger, #d32f2f);
}

/* ============================================================
   Shower orientation (LH/RH) overlay — floats over the 3D preview.

   Anchored to .preview-section (position: relative, css/layout.css 208),
   as a sibling of #previewFadeOverlay and .loading-overlay. Sits at
   --z-preview-controls (900), i.e. above the canvas but BELOW
   --z-overlay (1000), so the loading overlay still covers it fully
   during a rebuild.

   The container is pointer-events: none so canvas orbit/pinch is
   unaffected; only the buttons re-enable pointer events.

   Visibility is scoped to Step 2 only (rule at the end of this block).
   Widening it to more steps is a single selector change there.

   Tokens only — no raw values beyond the clamp() width bound.
   ============================================================ */
.orientation-overlay {
    position: absolute;
    top: var(--space-4);   /* 24px — tweak the overlay offset here */
    /* Same expression as `right` below, so both insets track the gutter
       token together. Resolves to the original 32px at the default 24px
       gutter. */
    left: calc(var(--padding-page-horizontal) + var(--space-2));
    z-index: var(--z-preview-controls);

    /* Container never eats canvas gestures; buttons opt back in. */
    pointer-events: none;

    /* Chrome stripped — no background, border, or shadow, so the copy
       reads directly against the rendered 3D scene. Only the buttons
       keep a box (.orientation-option below). */
    border-radius: var(--border-radius);
    padding: var(--space-3);

    /* Sized to its own one-line natural width (Step 3 of
       orientation-followups-plan.md: the copy
       "Your Hinge Panel is always installed on the wall" must render on
       one line — the container background is gone, so there is no box to
       keep narrow) capped to the visible canvas width. Falls back to
       wrapping only below the smallest usable preview widths.

       The right edge is pinned with `right`, NOT with a percentage width
       cap. This element is absolutely positioned, so its containing block
       is .preview-section's PADDING box — which is
       --padding-page-horizontal wider than #canvasFrame (the bordered card
       the user actually sees) on each side. The previous
       `width: min(max-content, calc(100% - ...))` had to guess at that
       relationship in arithmetic, and intrinsic sizing did not resolve it
       as written, leaving the overlay free to run past the card's right
       border and clip its own text and buttons.

       left + right + `width: auto` lets layout derive the box directly, so
       the overlay can never exceed the frame no matter what the gutter
       token is set to. `max-width: max-content` preserves the original
       intent — shrink to the copy's natural one-line width whenever it
       fits, and only wrap when it genuinely cannot.

       Still load-bearing in LANDSCAPE, where the overlay remains absolutely
       positioned over the canvas; in portrait css/configurator.css takes it
       out of flow-less positioning entirely. */
    right: calc(var(--padding-page-horizontal) + var(--space-2));
    width: auto;
    max-width: max-content;

    font-family: var(--font-family);

    /* Hidden until Step 2 opts it in (rule at the end of this block). */
    display: none;
}

.orientation-overlay__block {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Button pair hide toggle. Plain `.hidden` (0,1,0) in layout.css would lose to
   `.orientation-overlay__options { display: grid }` here (equal specificity,
   later source order), so a compound rule is required to actually collapse the
   row when ORIENTATION_SHOW_BUTTONS[layout] is false. */
.orientation-overlay__options.hidden {
    display: none;
}

/* Lead-in copy above the button pair. */
.orientation-overlay__copy {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* Emphasised panel term, colour-matched to the 3D panels and bolded so it
   reads distinctly from the surrounding caption. */
.orientation-overlay__hinge {
    color: var(--color-panel-hinge);
    font-weight: var(--weight-label-strong);
}

/* Button pair — always a single row. The grid is sized to its own
   content (`width: max-content`) with two equal `1fr` columns, so BOTH
   buttons take the width of the LONGER label ("Right-Hinged") without a
   hardcoded magic width, and neither resizes when selection changes. */
.orientation-overlay__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: max-content;
    /* max-content alone ignores the parent's width cap, so the pair could
       overflow the overlay (and the canvas frame) no matter how that cap is
       calculated. This clamps it back inside; the two 1fr columns then
       shrink together so the pair stays symmetrical. */
    max-width: 100%;
    gap: var(--space-2);
}

/* Selected state is distinguished by the light-green
   --selection-suggested-fill background plus the solid --color-success
   tick only — the border stays the same grey --color-card-border in both
   selected and unselected states (the black --selection-primary-border
   outline was dropped on request). The tick sits to the RIGHT of the
   label (markup order in index.html) and keeps its own solid
   --color-success circle so the white check still reads against the
   lighter green fill behind it. */
.orientation-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-1);

    /* Tighter than the global `button { height: var(--control-height) }`
       (40px). An explicit height is required rather than vertical padding:
       Step 2's `* { padding-top/bottom: 0 !important }` zero-out
       (configurator.css) strips any vertical padding set here. */
    height: var(--space-6);
    padding: 0 var(--space-2);
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-card-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: left;
    white-space: nowrap;

    /* Grid items default to min-width: auto, which refuses to shrink below
       the nowrap label and would defeat the max-width above on very narrow
       shells (~320px). Allow the shrink; the label ellipsizes instead of
       breaking out of the frame. */
    min-width: 0;

    font-family: var(--font-family);
    font-size: var(--font-size-caption);
    font-weight: var(--weight-caption);
    line-height: 1.4;
    color: var(--color-text);

    /* Re-enable pointer events inside the pass-through container. */
    pointer-events: auto;
}

/* Ellipsize rather than overflow once the pair is shrunk (see min-width: 0
   above). At every real shell width >=360px this never triggers. */
.orientation-option-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.orientation-option.selected {
    background: var(--selection-suggested-fill);
}

/* Smaller than the shared --checkmark-size (22px) so the buttons stay
   tight. The circle is scaled down further than the default badge, and
   the CHECKMARK_SVG (hardcoded 16px) is shrunk to match via the
   `.orientation-option-check svg` rule below. */
.orientation-option-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--space-4);
    height: var(--space-4);
    border-radius: var(--border-radius-pill);
    flex-shrink: 0;
}

/* The shared CHECKMARK_SVG is hardcoded at 16px — scale it down in step
   with the smaller circle so it stays centered with ~2px padding.
   (var(--space-3) = 12px check inside the var(--space-4) = 16px circle.) */
.orientation-option-check svg {
    width: var(--space-3);
    height: var(--space-3);
}

.orientation-option.selected .orientation-option-check {
    background: var(--color-success);
}

.orientation-option:not(.selected) .orientation-option-check {
    background: transparent;
    border: var(--border-width) solid var(--color-card-border);
}

.orientation-option:not(.selected) .orientation-option-check svg {
    display: none;
}

.orientation-option:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

/* Step 2 only. */
.container:has(.step[data-step="2"].active) .orientation-overlay {
    display: block;
}

.btn-checkout-orange {
    background: var(--color-warning);
    color: #fff; /* White text — matches the red "Check Out Bunnings" button (COL-1 reverted on request) */
}

.btn-checkout:hover {
    filter: brightness(0.92);
}

.btn-checkout:active {
    filter: brightness(0.85);
}


/* Panel Color Classes — AA-safe "filled chips": dark text on a light chip bg
   (COL-2 — the light panel colours can't support AA white text, so the value
   text is --color-text and the panel colour is the small swatch). The swatch
   colours come from --color-panel-hinge/door/fixed (client-supplied, exported
   from CONSTANTS at init in formManager.js — the same single source the 3D
   materials read, CON-3). */
.panel-hinge,
.panel-door,
.panel-front-fixed,
.panel-side-fixed {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: var(--border-radius);
    font-weight: var(--weight-button);
    color: var(--color-text);
    background: var(--color-surface-hover);
}

.panel-hinge::before,
.panel-door::before,
.panel-front-fixed::before,
.panel-side-fixed::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
    display: inline-block;
}

.panel-hinge::before {
    background: var(--color-panel-hinge);
}

.panel-door::before {
    background: var(--color-panel-door);
}

.panel-front-fixed::before,
.panel-side-fixed::before {
    background: var(--color-panel-fixed);
}

/* Legacy panel-value presentation — dev toggle: PANEL_VALUE_STYLE === 'legacy'.
   Pre-Step-3 style: the panel colour is applied directly as the value's text
   colour, with no filled chip background and no ::before swatch. Scoped under
   .panel-value-legacy so the AA-safe chip rules above stay intact and both can
   coexist. Only overrides colour / background / the ::before swatch — the
   layout/spacing (display, gap, padding, border-radius, font-weight) inherits
   from the chip rules above. The class is added to <html> by formManager.init()
   when PANEL_VALUE_STYLE === 'legacy'. */
.panel-value-legacy .panel-hinge,
.panel-value-legacy .panel-door,
.panel-value-legacy .panel-front-fixed,
.panel-value-legacy .panel-side-fixed {
    display: inline;
    gap: 0;
    padding: 0;
}

.panel-value-legacy .panel-hinge {
    color: var(--color-panel-hinge);
    background: transparent;
}

.panel-value-legacy .panel-door {
    color: var(--color-panel-door);
    background: transparent;
}

.panel-value-legacy .panel-front-fixed,
.panel-value-legacy .panel-side-fixed {
    color: var(--color-panel-fixed);
    background: transparent;
}

.panel-value-legacy .panel-hinge::before,
.panel-value-legacy .panel-door::before,
.panel-value-legacy .panel-front-fixed::before,
.panel-value-legacy .panel-side-fixed::before {
    display: none;
}

/* ── Scroll Fade ──
   Shared mask-image fade for scrollable containers.
   Both top and bottom edges fade to transparent via a single
   gradient. Tune --scroll-fade-size in base.css to adjust.

   Scroll-position-aware via data-scroll-at-top / data-scroll-at-bottom
   attributes set by scrollFade.js. Four states:

     Neither at top nor bottom (mid-scroll)   → both fades
     At top, not at bottom                    → bottom fade only
     At bottom, not at top                    → top fade only
     Both at top and bottom (content fits)    → no fade                 */
.scroll-fade {
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-clip: border-box;
    -webkit-mask-clip: border-box;
}

/* Default — mid-scroll: both fades */
.scroll-fade:not([data-scroll-at-top="true"]):not([data-scroll-at-bottom="true"]) {
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--scroll-fade-size),
        black calc(100% - var(--scroll-fade-size)),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--scroll-fade-size),
        black calc(100% - var(--scroll-fade-size)),
        transparent 100%
    );
}

/* At top — bottom fade only */
.scroll-fade[data-scroll-at-top="true"]:not([data-scroll-at-bottom="true"]) {
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black calc(100% - var(--scroll-fade-size)),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black calc(100% - var(--scroll-fade-size)),
        transparent 100%
    );
}

/* At bottom — top fade only */
.scroll-fade:not([data-scroll-at-top="true"])[data-scroll-at-bottom="true"] {
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--scroll-fade-size),
        black 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--scroll-fade-size),
        black 100%
    );
}

/* Content fits — no fade */
.scroll-fade[data-scroll-at-top="true"][data-scroll-at-bottom="true"] {
    mask-image: none;
    -webkit-mask-image: none;
}

/* ── Scroll fade chevrons ──
   Optional overlays indicating more content. They are appended to each
   .scroll-fade element's PARENT and positioned (absolute, parent-relative) by
   scrollFade.js rather than as sticky pseudo-elements: a down pseudo-element
   occurs after the scroll content and cannot appear while the user is at the
   top of a long list. Hidden by default — flip --scroll-fade-chevrons to 1 in
   base.css. Color and base opacity use the corresponding custom property. */
.scroll-fade-chevron {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    opacity: var(--scroll-fade-chevrons, 0);
    pointer-events: none;
    z-index: var(--z-chevron);
}

.scroll-fade-chevron--up {
    border-bottom: 7px solid var(--scroll-fade-chevron-color);
}

.scroll-fade-chevron--down {
    border-top: 7px solid var(--scroll-fade-chevron-color);
}


/* ── Optional Add-On: popup on phones ──
   Portrait (no html.is-landscape): the inline options never show in the
   Step 5 card — opting in opens them in a bottom sheet
   (supportBar.openSupportAddonSheet, which MOVES #supportAddonContent into
   the sheet). While opted in, the card shows a summary + "Edit" row that
   reopens the sheet. Landscape / desktop keeps the inline options. */
.support-addon-edit {
    display: none;
}
html:not(.is-landscape) #supportAddonBox > .support-addon-content {
    display: none !important;
}
html:not(.is-landscape) #supportAddonBox:has(.support-addon-toggle.is-on) .support-addon-edit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    flex: none;               /* undo the global button { flex: 1 } */
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--weight-body);
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
}
.support-addon-edit-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.support-addon-edit-cta .chevron-circle {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.support-addon-edit:hover .support-addon-edit-cta {
    opacity: 0.7;
}

/* Options inside the sheet: same column layout, a little air above Done. */
.support-addon-sheet .sheet-body .support-addon-content {
    padding-bottom: var(--space-4);
}
