/* Barami Light Lab v2: the contents of the panels (Room, Fixtures, picker, Summary, the selected-fixture card).
   Loaded only on the Light Lab page (inc/idea-04-light-lab.php), outside the part-*.css glob, so the site-wide sheet
   never changes. Every rule starts with body.bm-idea-4.bm-lx and uses bm-lx- classes. Logical properties only, so
   Hebrew mirrors by itself. No font family anywhere: Hebrew keeps the site's Hebrew font, English gets Inter light
   from the site's own English rules; numbers use tabular figures. Dark grounds, cream text, the bronze gradient for
   the primary action and the selection, bronze hairlines. Interface changes take 180 ms, none under reduced motion.
   The panels pad themselves: their hosts (the shell's glass panels, sheet tabs and drawer) need no padding. */

/* ------------------------------------------------------------------ common */
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) {
    --lx-cream: #f7f3ea;
    --lx-mute: rgba(247, 243, 234, .66);
    --lx-faint: rgba(247, 243, 234, .42);
    --lx-fill: rgba(247, 243, 234, .06);
    --lx-fill-2: rgba(247, 243, 234, .11);
    --lx-line: color-mix(in srgb, var(--bm-bronze-solid, #8a6545) 72%, transparent);
    --lx-line-soft: rgba(247, 243, 234, .10);
    --lx-accent: #dcb991;
    --lx-ease: 180ms ease;
    color: var(--lx-cream);
    font-size: 14px;
    line-height: 1.35;
    text-align: start;
    -webkit-font-smoothing: antialiased;
}
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(*, *::before, *::after) { box-sizing: border-box; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) [hidden] { display: none !important; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(p, ul, li) { margin-block: 0; margin-inline: 0; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(ul, li) { padding-block: 0; padding-inline: 0; list-style: none; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(button, input, select, a) {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
    margin-block: 0;
    margin-inline: 0;
    -webkit-tap-highlight-color: transparent;
}
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) button { cursor: pointer; background-image: none; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) button:disabled { cursor: default; opacity: .38; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(button, a, input, select, [tabindex]):focus-visible {
    outline: 2px solid #c9a27a;
    outline-offset: 2px;
}
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(bdi, .bm-lx-stepper__v, .bm-lx-scrub) { font-variant-numeric: tabular-nums; }
body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) .bm-lx-ico {
    display: block;
    flex: none;
    inline-size: 18px;
    block-size: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* panel and section headings (role=heading paragraphs: the site's English h-sizes do not reach them) */
body.bm-idea-4.bm-lx .bm-lx-pnl__h {
    display: flex;
    align-items: center;
    gap: 8px;
    min-block-size: 28px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--lx-cream);
}
body.bm-idea-4.bm-lx.barami-en .bm-lx-pnl__h { font-weight: 400; }
body.bm-idea-4.bm-lx .bm-lx-count {
    display: inline-grid;
    place-items: center;
    min-inline-size: 24px;
    block-size: 22px;
    padding-inline: 7px;
    border-radius: 999px;
    background: var(--lx-fill-2);
    color: var(--lx-mute);
    font-size: 12px;
    font-weight: 400;
}
body.bm-idea-4.bm-lx .bm-lx-sec__h {
    margin-block-end: 7px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .03em;
    color: var(--lx-mute);
}
body.bm-idea-4.bm-lx .bm-lx-unit { color: var(--lx-mute); } /* 30.11: --lx-faint measured 3.81:1, below 4.5:1 */

/* segmented choices */
body.bm-idea-4.bm-lx .bm-lx-seg {
    display: grid;
    grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr));
    gap: 2px;
    padding-block: 3px;
    padding-inline: 3px;
    border-radius: 999px;
    background: var(--lx-fill);
    border: 1px solid var(--lx-line-soft);
}
body.bm-idea-4.bm-lx .bm-lx-seg__b {
    min-block-size: 28px;
    padding-block: 2px;
    padding-inline: 6px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lx-mute);
    font-size: 12.5px;
    transition: background-color var(--lx-ease), color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-seg__b:hover { color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-seg__b[aria-checked="true"] { background: var(--bm-bronze, #8a6545); color: #fff; }

/* chips */
body.bm-idea-4.bm-lx .bm-lx-chip {
    min-block-size: 30px;
    padding-block: 2px;
    padding-inline: 12px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: transparent;
    color: var(--lx-cream);
    font-size: 12.5px;
    white-space: nowrap;
    transition: background-color var(--lx-ease), border-color var(--lx-ease), color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-chip:hover { background: var(--lx-fill); }
body.bm-idea-4.bm-lx .bm-lx-chip:is([aria-checked="true"], [aria-pressed="true"]) { background: var(--bm-bronze, #8a6545); border-color: transparent; color: #fff; }

/* number stepper: [-] value [+], the value scrubs along the inline axis */
body.bm-idea-4.bm-lx .bm-lx-stepper {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    align-items: center;
    block-size: 34px;
    border: 1px solid var(--lx-line);
    border-radius: 10px;
    background: var(--lx-fill);
    overflow: hidden;
    transition: border-color var(--lx-ease), background-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-stepper:focus-within { border-color: #c9a27a; }
body.bm-idea-4.bm-lx .bm-lx-stepper.is-scrub { background: var(--lx-fill-2); }
body.bm-idea-4.bm-lx .bm-lx-stepper__b {
    display: grid;
    place-items: center;
    block-size: 100%;
    padding-block: 0;
    padding-inline: 0;
    border: 0;
    background: transparent;
    color: var(--lx-mute);
}
body.bm-idea-4.bm-lx .bm-lx-stepper__b:hover:not(:disabled) { color: var(--lx-cream); background: var(--lx-fill); }
body.bm-idea-4.bm-lx .bm-lx-stepper__b .bm-lx-ico { inline-size: 14px; block-size: 14px; }
body.bm-idea-4.bm-lx .bm-lx-stepper__v {
    inline-size: 100%;
    min-inline-size: 0;
    block-size: 100%;
    padding-block: 0;
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--lx-cream);
    font-size: 14px;
    text-align: center;
    cursor: ew-resize;
    outline: none;
    box-shadow: none;
}
body.bm-idea-4.bm-lx .bm-lx-stepper__v:focus { cursor: text; }

/* scrub value (dimmers, exposure): a pill whose bronze fill shows the value */
body.bm-idea-4.bm-lx .bm-lx-scrub {
    position: relative;
    display: grid;
    place-items: center;
    block-size: 28px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: var(--lx-fill);
    overflow: hidden;
    cursor: ew-resize;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
body.bm-idea-4.bm-lx .bm-lx-scrub__fill {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: calc(var(--v, 1) * 100%);
    background: var(--bm-bronze, #8a6545);
    opacity: .78;
    pointer-events: none;
    transition: inline-size var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-scrub__v { position: relative; font-size: 12px; color: #fff; pointer-events: none; }
body.bm-idea-4.bm-lx .bm-lx-scrub[aria-disabled="true"] { opacity: .4; pointer-events: none; }
body.bm-idea-4.bm-lx .bm-lx-scrub--ev .bm-lx-scrub__fill { opacity: .45; }

/* switch */
body.bm-idea-4.bm-lx .bm-lx-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 32px; }
body.bm-idea-4.bm-lx .bm-lx-switchrow__lab { font-size: 13px; color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-switch {
    position: relative;
    flex: none;
    inline-size: 38px;
    block-size: 22px;
    padding-block: 0;
    padding-inline: 0;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: var(--lx-fill);
    transition: background-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-switch__knob {
    position: absolute;
    inset-block-start: 2px;
    inset-inline-start: 2px;
    inline-size: 16px;
    block-size: 16px;
    border-radius: 50%;
    background: var(--lx-cream);
    transition: inset-inline-start var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-switch[aria-checked="true"] { background: var(--bm-bronze, #8a6545); border-color: transparent; }
body.bm-idea-4.bm-lx .bm-lx-switch[aria-checked="true"] .bm-lx-switch__knob { inset-inline-start: 18px; }

/* the product picture on a cream circle */
body.bm-idea-4.bm-lx .bm-lx-thumb {
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 40px;
    block-size: 40px;
    border-radius: 50%;
    background: #f7f3ea;
    overflow: hidden;
    color: #6f4b31;
}
body.bm-idea-4.bm-lx .bm-lx-thumb img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; padding-block: 3px; padding-inline: 3px; object-fit: contain; }
body.bm-idea-4.bm-lx .bm-lx-thumb .bm-lx-ico { inline-size: 22px; block-size: 22px; stroke-width: 1.3; }

/* text links and small buttons */
body.bm-idea-4.bm-lx .bm-lx-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-block: 2px;
    padding-inline: 0;
    border: 0;
    background: transparent;
    color: var(--lx-accent);
    font-size: 12.5px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body.bm-idea-4.bm-lx .bm-lx-link .bm-lx-ico { inline-size: 13px; block-size: 13px; }
body.bm-idea-4.bm-lx .bm-lx-link:hover { color: #f0d2ae; }
body.bm-idea-4.bm-lx .bm-lx-link--sm { font-size: 11.5px; }
body.bm-idea-4.bm-lx .bm-lx-link--rm { color: var(--lx-mute); }

/* the call to action */
body.bm-idea-4.bm-lx .bm-lx-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-block-size: 44px;
    padding-block: 6px;
    padding-inline: 16px;
    border-radius: 999px;
    background: var(--bm-bronze, #8a6545);
    color: #fff;
    font-size: 14.5px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    transition: filter var(--lx-ease), box-shadow var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-cta:hover { filter: brightness(1.08); color: #fff; }

/* ------------------------------------------------------------------ Room panel */
body.bm-idea-4.bm-lx .bm-lx-room { display: flex; flex-direction: column; block-size: 100%; min-block-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-room__head { flex: none; padding-block: 14px 0; padding-inline: 16px; }
body.bm-idea-4.bm-lx .bm-lx-room__body {
    flex: 1 1 auto;
    min-block-size: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-block: 12px;
    padding-inline: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 243, 234, .25) transparent;
}
body.bm-idea-4.bm-lx .bm-lx-room__foot { flex: none; padding-block: 10px 14px; padding-inline: 16px; border-block-start: 1px solid var(--lx-line-soft); }
/* room types: 4 + 3, the short row centred on the same column lines */
body.bm-idea-4.bm-lx .bm-lx-rtypes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
body.bm-idea-4.bm-lx .bm-lx-rtype {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-block-size: 60px;
    padding-block: 6px;
    padding-inline: 3px;
    border: 1px solid var(--lx-line-soft);
    border-radius: 12px;
    background: var(--lx-fill);
    color: var(--lx-cream);
    transition: background-color var(--lx-ease), border-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-rtype:nth-child(5) { grid-column: 2 / span 2; }
body.bm-idea-4.bm-lx .bm-lx-rtype:hover { border-color: var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-rtype[aria-checked="true"] { background: var(--bm-bronze, #8a6545); border-color: transparent; color: #fff; }
body.bm-idea-4.bm-lx .bm-lx-rtype .bm-lx-ico { inline-size: 20px; block-size: 20px; }
body.bm-idea-4.bm-lx .bm-lx-rtype__n { display: block; max-inline-size: 100%; font-size: 11px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
/* size */
body.bm-idea-4.bm-lx .bm-lx-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.bm-idea-4.bm-lx .bm-lx-dim { display: flex; flex-direction: column; gap: 4px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-dim__lab { font-size: 11.5px; color: var(--lx-mute); text-align: center; }
body.bm-idea-4.bm-lx .bm-lx-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.bm-idea-4.bm-lx .bm-lx-pair .bm-lx-scrub { block-size: 34px; border-radius: 10px; }
/* finishes */
body.bm-idea-4.bm-lx .bm-lx-fin { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 8px; }
body.bm-idea-4.bm-lx .bm-lx-fin + .bm-lx-fin { margin-block-start: 6px; }
body.bm-idea-4.bm-lx .bm-lx-fin__lab { font-size: 12.5px; color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-fin__sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
body.bm-idea-4.bm-lx .bm-lx-sw {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-inline-size: 0;
    padding-block: 3px;
    padding-inline: 1px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--lx-mute);
}
body.bm-idea-4.bm-lx .bm-lx-sw__dot {
    display: block;
    inline-size: 28px;
    block-size: 28px;
    border-radius: 50%;
    background-color: #888;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(15, 13, 10, .35), 0 0 0 1px var(--lx-line-soft);
    transition: box-shadow var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-sw__n { display: block; max-inline-size: 100%; font-size: 10.5px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.bm-idea-4.bm-lx .bm-lx-sw__rho { display: none; font-size: 10px; color: var(--lx-faint); }
body.bm-idea-4.bm-lx .bm-lx-room.is-pro .bm-lx-sw__rho { display: block; }
body.bm-idea-4.bm-lx .bm-lx-sw:hover .bm-lx-sw__dot { box-shadow: inset 0 0 0 1px rgba(15, 13, 10, .35), 0 0 0 2px var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-sw[aria-checked="true"] { color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-sw[aria-checked="true"] .bm-lx-sw__dot { box-shadow: inset 0 0 0 1px rgba(15, 13, 10, .35), 0 0 0 2px #0f0d0a, 0 0 0 4px #b48b63; }
/* Pro */
body.bm-idea-4.bm-lx .bm-lx-pro { display: flex; flex-direction: column; gap: 8px; padding-block-start: 12px; border-block-start: 1px solid var(--lx-line-soft); }
body.bm-idea-4.bm-lx .bm-lx-pro .bm-lx-sec__h { margin-block-end: 0; }

/* ------------------------------------------------------------------ Fixtures panel */
body.bm-idea-4.bm-lx .bm-lx-fx { display: flex; flex-direction: column; block-size: 100%; min-block-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-fx__head {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px 10px;
    padding-inline: 16px;
    border-block-end: 1px solid var(--lx-line-soft);
}
body.bm-idea-4.bm-lx .bm-lx-scenes { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 6px; }
body.bm-idea-4.bm-lx .bm-lx-scenes .bm-lx-chip { padding-inline: 6px; overflow: hidden; text-overflow: ellipsis; }
body.bm-idea-4.bm-lx .bm-lx-master { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
body.bm-idea-4.bm-lx .bm-lx-master__lab { font-size: 12px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-fx__hint { font-size: 11.5px; line-height: 1.35; color: var(--lx-accent); }
body.bm-idea-4.bm-lx .bm-lx-fx__list {
    flex: 1 1 auto;
    min-block-size: 0;
    padding-block: 6px;
    padding-inline: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 243, 234, .25) transparent;
}
body.bm-idea-4.bm-lx .bm-lx-fx__empty {
    margin-block: 8px;
    margin-inline: 8px;
    padding-block: 16px;
    padding-inline: 14px;
    border: 1px dashed var(--lx-line);
    border-radius: 12px;
    color: var(--lx-mute);
    font-size: 13px;
    text-align: center;
}
body.bm-idea-4.bm-lx .bm-lx-row { border-radius: 12px; transition: background-color var(--lx-ease), box-shadow var(--lx-ease); }
body.bm-idea-4.bm-lx .bm-lx-row + .bm-lx-row { margin-block-start: 2px; }
body.bm-idea-4.bm-lx .bm-lx-row:hover { background: rgba(247, 243, 234, .035); }
body.bm-idea-4.bm-lx .bm-lx-row.is-sel { background: var(--lx-fill); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-row__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-block-size: 56px;
    padding-inline: 6px;
}
body.bm-idea-4.bm-lx .bm-lx-row__pick {
    display: flex;
    align-items: center;
    gap: 10px;
    min-inline-size: 0;
    min-block-size: 56px;
    padding-block: 0;
    padding-inline: 0;
    border: 0;
    background: transparent;
    text-align: start;
}
body.bm-idea-4.bm-lx .bm-lx-row__tx { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-row__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.2;
    color: var(--lx-cream);
}
body.bm-idea-4.bm-lx .bm-lx-row__meta { font-size: 11px; color: var(--lx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.bm-idea-4.bm-lx .bm-lx-qty {
    display: grid;
    grid-template-columns: 24px 22px 24px;
    align-items: center;
    block-size: 28px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
}
body.bm-idea-4.bm-lx .bm-lx-qty__b { display: grid; place-items: center; block-size: 26px; padding-block: 0; padding-inline: 0; border: 0; border-radius: 999px; background: transparent; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-qty__b:hover:not(:disabled) { color: var(--lx-cream); background: var(--lx-fill); }
body.bm-idea-4.bm-lx .bm-lx-qty__b .bm-lx-ico { inline-size: 13px; block-size: 13px; }
body.bm-idea-4.bm-lx .bm-lx-qty__n { font-size: 13px; text-align: center; }
body.bm-idea-4.bm-lx .bm-lx-scrub--dim { inline-size: 52px; }
/* the open row */
body.bm-idea-4.bm-lx .bm-lx-more { display: flex; flex-direction: column; gap: 10px; padding-block: 2px 12px; padding-inline: 12px; font-size: 12.5px; }
body.bm-idea-4.bm-lx .bm-lx-more__label { color: var(--lx-cream); font-size: 12.5px; }
body.bm-idea-4.bm-lx .bm-lx-field { display: flex; flex-direction: column; gap: 5px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-field__lab { font-size: 11.5px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-beams, body.bm-idea-4.bm-lx .bm-lx-ccts { display: flex; flex-wrap: wrap; gap: 6px; }
body.bm-idea-4.bm-lx .bm-lx-beam {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    inline-size: 46px;
    padding-block: 4px 3px;
    padding-inline: 2px;
    border: 1px solid var(--lx-line-soft);
    border-radius: 10px;
    background: var(--lx-fill);
    color: var(--lx-mute);
    font-size: 10.5px;
    transition: border-color var(--lx-ease), background-color var(--lx-ease), color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-beam:hover { border-color: var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-beam[aria-checked="true"] { border-color: #b48b63; background: rgba(168, 130, 94, .22); color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-ico--beam { inline-size: 28px; block-size: 22px; }
body.bm-idea-4.bm-lx .bm-lx-ico--beam path { fill: rgba(247, 225, 180, .28); stroke: currentColor; stroke-width: 1.1; }
body.bm-idea-4.bm-lx .bm-lx-chip--cct { display: inline-flex; align-items: center; gap: 6px; padding-inline: 10px; }
body.bm-idea-4.bm-lx .bm-lx-chip--cct::before {
    content: "";
    inline-size: 9px;
    block-size: 9px;
    border-radius: 50%;
    background: color-mix(in srgb, #e3ecff calc(var(--k, 0) * 100%), #ffb25e);
}
body.bm-idea-4.bm-lx .bm-lx-select {
    inline-size: 100%;
    min-block-size: 32px;
    padding-block: 4px;
    padding-inline: 10px;
    border: 1px solid var(--lx-line);
    border-radius: 10px;
    background-color: #1c1813;
    color: var(--lx-cream);
    font-size: 12.5px;
}
body.bm-idea-4.bm-lx .bm-lx-select option { background-color: #1c1813; color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
body.bm-idea-4.bm-lx .bm-lx-more__grid:empty { display: none; }
body.bm-idea-4.bm-lx .bm-lx-more__grid .bm-lx-link { align-self: center; }
body.bm-idea-4.bm-lx .bm-lx-more__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* foot: + Add, then the call to action */
body.bm-idea-4.bm-lx .bm-lx-fx__foot { flex: none; display: grid; gap: 8px; padding-block: 10px 14px; padding-inline: 16px; border-block-start: 1px solid var(--lx-line-soft); }
body.bm-idea-4.bm-lx .bm-lx-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-block-size: 40px;
    padding-block: 4px;
    padding-inline: 12px;
    border: 1px dashed var(--bm-bronze-solid, #8a6545);
    border-radius: 12px;
    background: transparent;
    color: var(--lx-accent);
    font-size: 14px;
    transition: background-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-add:hover { background: rgba(168, 130, 94, .12); }
body.bm-idea-4.bm-lx .bm-lx-add .bm-lx-ico { inline-size: 16px; block-size: 16px; }

/* ------------------------------------------------------------------ picker */
body.bm-idea-4.bm-lx .bm-lx-pick { display: flex; flex-direction: column; block-size: 100%; min-block-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-pick__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px 8px; padding-inline: 18px; }
body.bm-idea-4.bm-lx .bm-lx-x {
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 36px;
    block-size: 36px;
    padding-block: 0;
    padding-inline: 0;
    border: 1px solid var(--lx-line);
    border-radius: 50%;
    background: transparent;
    color: var(--lx-cream);
    transition: background-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-x:hover { background: var(--lx-fill-2); }
body.bm-idea-4.bm-lx .bm-lx-pick__filters { flex: none; display: flex; flex-direction: column; gap: 10px; padding-block: 0 8px; padding-inline: 18px; }
body.bm-idea-4.bm-lx .bm-lx-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-block-size: 40px;
    padding-inline: 14px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: var(--lx-fill);
    color: var(--lx-mute);
}
body.bm-idea-4.bm-lx .bm-lx-search:focus-within { border-color: #c9a27a; color: var(--lx-cream); }
body.bm-idea-4.bm-lx .bm-lx-search__in {
    flex: 1 1 auto;
    min-inline-size: 0;
    block-size: 38px;
    padding-block: 0;
    padding-inline: 0;
    border: 0;
    background: transparent;
    color: var(--lx-cream);
    font-size: 14px;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
body.bm-idea-4.bm-lx .bm-lx-search__in::placeholder { color: var(--lx-faint); }
body.bm-idea-4.bm-lx .bm-lx-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
body.bm-idea-4.bm-lx .bm-lx-mounts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
body.bm-idea-4.bm-lx .bm-lx-mount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-inline-size: 0;
    min-block-size: 54px;
    padding-block: 5px;
    padding-inline: 2px;
    border: 1px solid var(--lx-line-soft);
    border-radius: 12px;
    background: var(--lx-fill);
    color: var(--lx-cream);
    transition: background-color var(--lx-ease), border-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-mount:hover { border-color: var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-mount[aria-pressed="true"] { background: var(--bm-bronze, #8a6545); border-color: transparent; color: #fff; }
body.bm-idea-4.bm-lx .bm-lx-mount .bm-lx-ico { inline-size: 22px; block-size: 22px; }
body.bm-idea-4.bm-lx .bm-lx-mount__n { display: block; max-inline-size: 100%; font-size: 10.5px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
body.bm-idea-4.bm-lx .bm-lx-pick__count { flex: none; padding-block: 2px 4px; padding-inline: 18px; font-size: 12px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-tiles {
    flex: 1 1 auto;
    min-block-size: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    align-content: start;
    gap: 10px;
    padding-block: 6px 12px;
    padding-inline: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 243, 234, .25) transparent;
}
body.bm-idea-4.bm-lx .bm-lx-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    inline-size: 100%;
    block-size: 100%;
    padding-block: 8px 10px;
    padding-inline: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--lx-fill);
    color: var(--lx-cream);
    text-align: start;
    transition: background-color var(--lx-ease), border-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-tile:hover { background: var(--lx-fill-2); border-color: var(--lx-line); }
body.bm-idea-4.bm-lx .bm-lx-tile.is-in { border-color: var(--lx-line-soft); }
body.bm-idea-4.bm-lx .bm-lx-thumb--tile { inline-size: 100%; block-size: auto; aspect-ratio: 1; border-radius: 10px; margin-block-end: 4px; }
body.bm-idea-4.bm-lx .bm-lx-thumb--tile img { padding-block: 8px; padding-inline: 8px; }
body.bm-idea-4.bm-lx .bm-lx-thumb--tile .bm-lx-ico { inline-size: 44px; block-size: 44px; stroke-width: 1; opacity: .7; }
body.bm-idea-4.bm-lx .bm-lx-tile__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.2; }
body.bm-idea-4.bm-lx .bm-lx-tile__meta { font-size: 11px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-tile__in {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    padding-block: 2px;
    padding-inline: 8px;
    border-radius: 999px;
    background: rgba(15, 13, 10, .82);
    color: var(--lx-cream);
    font-size: 10.5px;
}
body.bm-idea-4.bm-lx .bm-lx-pick__none { padding-block: 20px; padding-inline: 18px; color: var(--lx-mute); text-align: center; }
body.bm-idea-4.bm-lx .bm-lx-pick__note { flex: none; padding-block: 8px 12px; padding-inline: 18px; border-block-start: 1px solid var(--lx-line-soft); font-size: 11.5px; color: var(--lx-faint); text-align: center; }

/* ------------------------------------------------------------------ Summary */
body.bm-idea-4.bm-lx .bm-lx-sum { display: flex; flex-direction: column; gap: 18px; padding-block: 14px 16px; padding-inline: 16px; }
body.bm-idea-4.bm-lx .bm-lx-sum__sec { display: flex; flex-direction: column; gap: 8px; }
body.bm-idea-4.bm-lx .bm-lx-sum__sec .bm-lx-sec__h { margin-block-end: 0; }
body.bm-idea-4.bm-lx .bm-lx-verdict {
    padding-block: 8px;
    padding-inline: 12px;
    border-radius: 10px;
    border-inline-start: 3px solid var(--lx-faint);
    background: var(--lx-fill);
    font-size: 13px;
    line-height: 1.45;
}
body.bm-idea-4.bm-lx .bm-lx-verdict__dot { display: inline-block; inline-size: 8px; block-size: 8px; margin-inline-end: 7px; border-radius: 50%; background: var(--lx-faint); vertical-align: 1px; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-green { border-inline-start-color: #6cc36b; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-green .bm-lx-verdict__dot { background: #6cc36b; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-amber { border-inline-start-color: #f2b84b; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-amber .bm-lx-verdict__dot { background: #f2b84b; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-red { border-inline-start-color: #ef6f3a; }
body.bm-idea-4.bm-lx .bm-lx-verdict.is-red .bm-lx-verdict__dot { background: #ef6f3a; }
body.bm-idea-4.bm-lx .bm-lx-reco__i { display: flex; flex-direction: column; gap: 3px; padding-block: 8px; border-block-end: 1px solid var(--lx-line-soft); }
body.bm-idea-4.bm-lx .bm-lx-reco__i:last-child { border-block-end: 0; }
body.bm-idea-4.bm-lx .bm-lx-reco__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.bm-idea-4.bm-lx .bm-lx-reco__what { font-size: 13.5px; }
body.bm-idea-4.bm-lx .bm-lx-reco__i.is-main .bm-lx-reco__what { color: #fff; }
body.bm-idea-4.bm-lx .bm-lx-reco__val { flex: none; font-size: 13.5px; color: var(--lx-accent); white-space: nowrap; }
body.bm-idea-4.bm-lx .bm-lx-reco__u0 { font-size: 12px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-reco__src { font-size: 11.5px; color: var(--lx-faint); }
body.bm-idea-4.bm-lx .bm-lx-tasks { display: flex; flex-direction: column; gap: 6px; margin-block-start: 6px; }
body.bm-idea-4.bm-lx .bm-lx-tasks__i { display: flex; flex-direction: column; gap: 4px; padding-block: 6px; }
body.bm-idea-4.bm-lx .bm-lx-tasks__v { font-size: 12px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-parts__i { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding-block: 6px; border-block-end: 1px solid var(--lx-line-soft); }
body.bm-idea-4.bm-lx .bm-lx-parts__q { font-size: 13px; color: var(--lx-accent); text-align: end; }
body.bm-idea-4.bm-lx .bm-lx-parts__tx { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-parts__n { font-size: 13px; }
body.bm-idea-4.bm-lx .bm-lx-parts__m { font-size: 11.5px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-parts__none { font-size: 13px; color: var(--lx-mute); }
body.bm-idea-4.bm-lx .bm-lx-parts__tot { font-size: 13px; }
body.bm-idea-4.bm-lx .bm-lx-parts__note { font-size: 11.5px; color: var(--lx-faint); }
body.bm-idea-4.bm-lx .bm-lx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-block-size: 40px;
    padding-block: 4px;
    padding-inline: 16px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: transparent;
    color: var(--lx-cream);
    font-size: 13.5px;
    transition: background-color var(--lx-ease);
}
body.bm-idea-4.bm-lx .bm-lx-btn:hover { background: var(--lx-fill-2); }
body.bm-idea-4.bm-lx .bm-lx-share__st { font-size: 11.5px; color: var(--lx-mute); text-align: center; }
body.bm-idea-4.bm-lx .bm-lx-share__in {
    inline-size: 100%;
    min-block-size: 34px;
    padding-block: 4px;
    padding-inline: 10px;
    border: 1px solid var(--lx-line);
    border-radius: 10px;
    background: #1c1813;
    color: var(--lx-cream);
    font-size: 12px;
}

/* ------------------------------------------------------------------ the selected-fixture card (168x126) */
body.bm-idea-4.bm-lx .bm-lx-card { display: grid; block-size: 100%; padding-block: 10px; padding-inline: 10px; }
body.bm-idea-4.bm-lx .bm-lx-card__add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    block-size: 100%;
    border: 1px dashed var(--bm-bronze-solid, #8a6545);
    border-radius: 12px;
    background: transparent;
    color: var(--lx-accent);
    font-size: 13px;
}
body.bm-idea-4.bm-lx .bm-lx-card__add .bm-lx-ico { inline-size: 20px; block-size: 20px; }
body.bm-idea-4.bm-lx .bm-lx-card__body { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 8px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-thumb--card { inline-size: 48px; block-size: 48px; }
body.bm-idea-4.bm-lx .bm-lx-card__tx { display: flex; flex-direction: column; gap: 3px; min-inline-size: 0; }
body.bm-idea-4.bm-lx .bm-lx-card__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12.5px; line-height: 1.2; }
body.bm-idea-4.bm-lx .bm-lx-card__v { font-size: 10.5px; line-height: 1.3; color: var(--lx-mute); }

/* ------------------------------------------------------------------ phones: larger touch targets */
@media (max-width: 767px) {
    body.bm-idea-4.bm-lx .bm-lx-room__head, body.bm-idea-4.bm-lx .bm-lx-room__body, body.bm-idea-4.bm-lx .bm-lx-room__foot,
    body.bm-idea-4.bm-lx .bm-lx-fx__head, body.bm-idea-4.bm-lx .bm-lx-fx__foot { padding-inline: 14px; }
    body.bm-idea-4.bm-lx .bm-lx-chip, body.bm-idea-4.bm-lx .bm-lx-seg__b { min-block-size: 36px; }
    body.bm-idea-4.bm-lx .bm-lx-stepper { block-size: 40px; grid-template-columns: 34px minmax(0, 1fr) 34px; }
    body.bm-idea-4.bm-lx .bm-lx-stepper__b { touch-action: manipulation; }
    body.bm-idea-4.bm-lx .bm-lx-stepper__v { font-size: 16px; }
    body.bm-idea-4.bm-lx .bm-lx-qty { grid-template-columns: 32px 24px 32px; block-size: 36px; }
    body.bm-idea-4.bm-lx .bm-lx-qty__b { block-size: 34px; }
    body.bm-idea-4.bm-lx .bm-lx-scrub { block-size: 36px; }
    body.bm-idea-4.bm-lx .bm-lx-scrub--dim { inline-size: 58px; }
    body.bm-idea-4.bm-lx .bm-lx-row__main { gap: 6px; padding-inline: 4px; }
    body.bm-idea-4.bm-lx .bm-lx-rtypes { gap: 5px; }
    body.bm-idea-4.bm-lx .bm-lx-search__in { font-size: 16px; }
    body.bm-idea-4.bm-lx .bm-lx-pick__head, body.bm-idea-4.bm-lx .bm-lx-pick__filters, body.bm-idea-4.bm-lx .bm-lx-pick__count { padding-inline: 14px; }
    body.bm-idea-4.bm-lx .bm-lx-tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; padding-inline: 14px; }
    body.bm-idea-4.bm-lx .bm-lx-mount { min-block-size: 50px; }
    body.bm-idea-4.bm-lx .bm-lx-link { min-block-size: 32px; }
}

/* ------------------------------------------------------------------ reduced motion: every change is instant */
@media (prefers-reduced-motion: reduce) {
    body.bm-idea-4.bm-lx :is(.bm-lx-room, .bm-lx-fx, .bm-lx-pick, .bm-lx-sum, .bm-lx-card) :is(*, *::before, *::after) { transition: none !important; animation: none !important; }
}
