/* ============================================
   HOMEBOSS STUDIO
   Premium interactive home-design experience.
   Inherits brand tokens from styles.css.
   All classes are namespaced with `st-` so this
   file never touches existing pages.
============================================ */

.st-studio {
    --st-glass: rgba(255, 255, 255, 0.035);
    --st-glass-strong: rgba(255, 255, 255, 0.06);
    --st-line: rgba(0, 123, 255, 0.18);
    --st-line-soft: rgba(255, 255, 255, 0.08);
    --st-ink-dim: #8a93a6;
    --st-radius: 18px;
    --st-ease: cubic-bezier(0.22, 1, 0.36, 1);

    position: relative;
    min-height: 100vh;
    padding: 120px 0 5rem;
    overflow: hidden;
}

/* Single, restrained depth glow — no heavy gradients */
.st-studio::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 123, 255, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.st-studio .container {
    position: relative;
    z-index: 1;
}

/* ---------- Intro header ---------- */
.st-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.75rem;
}

.st-eyebrow {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border: 1px solid var(--st-line);
    border-radius: 40px;
    background: rgba(0, 123, 255, 0.06);
    margin-bottom: 1.25rem;
}

.st-head h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.st-head p {
    color: var(--silver);
    font-size: 1.05rem;
}

/* ---------- Progress rail ---------- */
.st-progress {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 6px;
}

.st-rail {
    position: absolute;
    top: 21px;
    left: 34px;
    right: 34px;
    height: 2px;
    background: var(--st-line-soft);
    border-radius: 2px;
}

.st-rail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.5);
    transition: width 0.55s var(--st-ease);
}

.st-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.st-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
}

.st-node[disabled] { cursor: not-allowed; }

.st-dot {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--dark-navy);
    border: 2px solid var(--st-line-soft);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--st-ink-dim);
    transition: all 0.4s var(--st-ease);
}

.st-node-label {
    font-size: 0.72rem;
    color: var(--st-ink-dim);
    text-align: center;
    max-width: 84px;
    transition: color 0.4s ease;
}

.st-node.is-done .st-dot {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.12);
}

.st-node.is-current .st-dot {
    border-color: transparent;
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--glow);
    transform: scale(1.08);
}

.st-node.is-current .st-node-label { color: var(--white); }
.st-node.is-done .st-node-label { color: var(--silver); }

/* Compact mobile progress */
.st-progress-mobile {
    display: none;
    max-width: 560px;
    margin: 0 auto 2.25rem;
}

.st-progress-mobile .st-mtrack {
    height: 6px;
    border-radius: 6px;
    background: var(--st-line-soft);
    overflow: hidden;
    margin-bottom: 0.7rem;
}

.st-progress-mobile .st-mfill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 6px;
    transition: width 0.5s var(--st-ease);
}

.st-progress-mobile .st-mmeta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--silver);
}

.st-progress-mobile .st-mmeta strong {
    font-family: 'Orbitron', sans-serif;
    color: var(--white);
    font-weight: 700;
}

/* ---------- Panels ---------- */
.st-stage { position: relative; }

.st-panel { display: none; }

.st-panel.is-active {
    display: block;
    animation: stRise 0.5s var(--st-ease) both;
}

@keyframes stRise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.st-panel-head {
    text-align: center;
    margin-bottom: 2rem;
}

.st-panel-head h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    margin-bottom: 0.5rem;
}

.st-panel-head p {
    color: var(--silver);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Generic selectable card ---------- */
.st-grid {
    display: grid;
    gap: 1.25rem;
}

.st-grid.cols-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.st-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.st-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.st-card {
    position: relative;
    background: var(--st-glass);
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    padding: 1.75rem;
    text-align: left;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.35s var(--st-ease), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.st-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    background: var(--st-glass-strong);
    box-shadow: var(--shadow);
}

.st-card:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

.st-card.is-selected {
    border-color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.10);
    box-shadow: 0 0 0 1px var(--primary-blue), var(--shadow);
}

.st-card-emoji {
    font-size: 2.6rem;
    display: block;
    margin-bottom: 0.9rem;
    line-height: 1;
}

.st-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.st-card .st-card-sub {
    color: var(--silver);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Selected check badge */
.st-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s var(--st-ease);
}

.st-card.is-selected .st-check { opacity: 1; transform: scale(1); }

.st-feat-list {
    list-style: none;
    margin-top: 1.1rem;
    display: grid;
    gap: 0.5rem;
}

.st-feat-list li {
    font-size: 0.88rem;
    color: var(--silver);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.st-feat-list li::before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: 700;
}

/* ---------- Step 2: room builder ---------- */
.st-builder {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.75rem;
    align-items: start;
}

.st-palette {
    background: var(--st-glass);
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    padding: 1.4rem;
    position: sticky;
    top: 100px;
}

.st-palette h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--silver);
    letter-spacing: 0.05em;
}

.st-chip {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--st-line-soft);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s var(--st-ease);
}

.st-chip:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.08);
    transform: translateX(3px);
}

.st-chip span.st-chip-plus {
    margin-left: auto;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.st-floor {
    background:
        linear-gradient(var(--st-line-soft) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, var(--st-line-soft) 1px, transparent 1px) 0 0 / 26px 26px,
        var(--st-glass);
    border: 1px dashed var(--st-line);
    border-radius: var(--st-radius);
    padding: 1.4rem;
    min-height: 340px;
}

.st-floor-empty {
    height: 300px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--st-ink-dim);
}

.st-floor-empty span { font-size: 2.4rem; display: block; margin-bottom: 0.6rem; }

.st-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.9rem;
}

.st-room {
    position: relative;
    background: rgba(0, 123, 255, 0.06);
    border: 1px solid var(--st-line);
    border-radius: 14px;
    padding: 1rem;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    animation: stRise 0.4s var(--st-ease) both;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.st-room:hover { border-color: var(--primary-blue); transform: translateY(-3px); }

.st-room-emoji { font-size: 1.5rem; margin-bottom: 0.35rem; }

.st-room-name {
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: inherit;
    width: 100%;
    padding: 2px 0;
    border-bottom: 1px dashed transparent;
}

.st-room-name:focus {
    outline: none;
    border-bottom-color: var(--primary-blue);
}

.st-room-meta {
    margin-top: auto;
    font-size: 0.72rem;
    color: var(--st-ink-dim);
    padding-top: 0.5rem;
}

.st-room-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 80, 80, 0.15);
    color: #ff7a7a;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.st-room:hover .st-room-remove { opacity: 1; }
.st-room-remove:hover { background: rgba(255, 80, 80, 0.35); }

/* ---------- Step 3: devices ---------- */
.st-roomtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.st-tab {
    padding: 0.55rem 1.1rem;
    border-radius: 40px;
    border: 1px solid var(--st-line-soft);
    background: rgba(255, 255, 255, 0.03);
    color: var(--silver);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s var(--st-ease);
}

.st-tab:hover { border-color: var(--primary-blue); color: var(--white); }

.st-tab.is-active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.35);
}

.st-device-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.st-device-card {
    background: var(--st-glass);
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    padding: 1.4rem;
}

.st-device-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--st-line-soft);
}

.st-ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
}

.st-ctrl-label {
    font-size: 0.9rem;
    color: var(--silver);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.st-stepper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.st-stepper button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--st-line);
    background: rgba(0, 123, 255, 0.06);
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-stepper button:hover { background: var(--primary-blue); border-color: var(--primary-blue); }
.st-stepper button:disabled { opacity: 0.3; cursor: not-allowed; }

.st-stepper .st-count {
    min-width: 22px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* toggle */
.st-toggle {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 40px;
    border: 1px solid var(--st-line-soft);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s var(--st-ease);
    flex-shrink: 0;
}

.st-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--silver);
    transition: all 0.3s var(--st-ease);
}

.st-toggle.is-on {
    background: var(--gradient);
    border-color: transparent;
}

.st-toggle.is-on::after {
    left: 22px;
    background: #fff;
}

/* ---------- pill groups (lifestyle) ---------- */
.st-qblock { margin-bottom: 2rem; }

.st-qblock h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.st-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.st-pill {
    padding: 0.7rem 1.4rem;
    border-radius: 40px;
    border: 1px solid var(--st-line);
    background: var(--st-glass);
    color: var(--silver);
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s var(--st-ease);
}

.st-pill:hover { border-color: var(--primary-blue); color: var(--white); transform: translateY(-2px); }

.st-pill.is-selected {
    background: rgba(0, 123, 255, 0.14);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 0 0 1px var(--primary-blue);
}

/* ---------- AI personality bubble ---------- */
.st-voice {
    margin-top: 1.1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--st-line-soft);
    border-radius: 14px 14px 14px 4px;
    padding: 0.9rem 1.1rem;
    font-size: 0.9rem;
    color: var(--white);
    position: relative;
    line-height: 1.5;
}

.st-voice::before {
    content: "◉ HomeBoss";
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
}

/* ---------- footer nav buttons ---------- */
.st-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.75rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.st-ghost {
    background: transparent;
    border: 1px solid var(--st-line-soft);
    color: var(--silver);
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.st-ghost:hover { border-color: var(--primary-blue); color: var(--white); }
.st-ghost:disabled { opacity: 0.3; cursor: not-allowed; }

.st-actions .btn { border: none; }

.st-hint {
    text-align: center;
    color: var(--st-ink-dim);
    font-size: 0.82rem;
    margin-top: 0.9rem;
}

/* ---------- Step 7: blueprint ---------- */
.st-blueprint {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: start;
}

.st-bp-card {
    background: var(--st-glass);
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    padding: 1.9rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.st-bp-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
}

.st-bp-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.st-bp-sub { color: var(--silver); margin-bottom: 1.5rem; }

.st-syslist {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.st-syslist li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid var(--st-line-soft);
    border-radius: 12px;
    font-size: 0.92rem;
}

.st-syslist li b {
    font-family: 'Orbitron', sans-serif;
    color: var(--white);
}

.st-syslist li .st-ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.12);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.st-persona-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.3rem 0 0.6rem;
}

/* score ring */
.st-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.st-ring {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0.5rem 0 1rem;
}

.st-ring svg { transform: rotate(-90deg); }

.st-ring-track { fill: none; stroke: var(--st-line-soft); stroke-width: 14; }

.st-ring-fill {
    fill: none;
    stroke: url(#stGrad);
    stroke-width: 14;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.4s var(--st-ease);
}

.st-ring-num {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.st-ring-num strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    display: block;
    line-height: 1;
}

.st-ring-num span { font-size: 0.75rem; color: var(--silver); letter-spacing: 0.1em; }

.st-beforeafter {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
}

.st-ba {
    flex: 1;
    text-align: center;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--st-line-soft);
}

.st-ba .st-ba-val {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
}

.st-ba small { color: var(--st-ink-dim); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.st-ba.before .st-ba-val { color: var(--st-ink-dim); }
.st-ba.after .st-ba-val { color: var(--primary-blue); }

/* live preview */
.st-preview {
    grid-column: 1 / -1;
}

.st-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.9rem;
    margin-top: 0.5rem;
}

.st-pv-room {
    position: relative;
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid var(--st-line);
    border-radius: 12px;
    padding: 0.9rem;
    min-height: 92px;
    overflow: hidden;
}

.st-pv-room h5 {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.st-pv-dots { display: flex; flex-wrap: wrap; gap: 5px; }

.st-pv-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    animation: stGlow 2.4s ease-in-out infinite;
}

.st-pv-dot.light  { background: #ffd45e; box-shadow: 0 0 8px #ffd45e; }
.st-pv-dot.cam    { background: #ff6b6b; box-shadow: 0 0 8px #ff6b6b; }
.st-pv-dot.sensor { background: #00d4ff; box-shadow: 0 0 8px #00d4ff; }
.st-pv-dot.comfort{ background: #7CFC9B; box-shadow: 0 0 8px #7CFC9B; }

@keyframes stGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.st-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.st-mini {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.st-mini button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid var(--st-line);
    background: var(--st-glass);
    color: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.st-mini button:hover { border-color: var(--primary-blue); background: rgba(0,123,255,0.08); }

/* toast */
.st-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary-blue);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    box-shadow: var(--glow);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--st-ease);
    z-index: 2000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.st-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .st-nodes, .st-rail { display: none; }
    .st-progress-mobile { display: block; }
    .st-builder { grid-template-columns: 1fr; }
    .st-palette { position: static; }
    .st-palette .st-chips-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .st-palette .st-chip { margin-bottom: 0; }
    .st-blueprint { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .st-studio { padding-top: 100px; }
    .st-actions { flex-direction: row; }
    .st-ghost, .st-actions .btn { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
    .st-palette .st-chips-wrap { grid-template-columns: 1fr; }
    .st-beforeafter { flex-direction: column; }
}
