/* Custom Styles for Tronzen Render */

:root {
    color-scheme: light;
    --accent: #047857;
    --surface: #ffffff;
    --surface-muted: #f8f9f6;
    --border: #e2e8f0;
    --ink: #0f172a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f6f7f4;
    color: var(--ink);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

img,
svg {
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled,
input:disabled {
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration: none;
}

[x-cloak] {
    display: none !important;
}

/* Local utility subset used by the templates. */
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-5 { right: 1.25rem; }
.bottom-5 { bottom: 1.25rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-44 { height: 11rem; }
.h-64 { height: 16rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[360px\] { min-height: 360px; }
.min-h-\[390px\] { min-height: 390px; }
.min-h-\[560px\] { min-height: 560px; }
.min-h-\[620px\] { min-height: 620px; }
.w-3\/4 { width: 75%; }
.w-1\/2 { width: 50%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-full { width: 100%; }
.max-w-full { max-width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-h-full { max-height: 100%; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.object-cover { object-fit: cover; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border: 1px solid var(--border); }
.border-2 { border-width: 2px; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-dashed { border-style: dashed; }
.border-slate-200,
.border-slate-200\/80 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-900 { border-color: #0f172a; }
.border-emerald-200 { border-color: #a7f3d0; }
.border-emerald-400\/20 { border-color: rgba(52, 211, 153, 0.2); }
.border-emerald-500 { border-color: #10b981; }
.border-emerald-600 { border-color: #059669; }
.border-amber-200 { border-color: #fde68a; }
.border-red-200 { border-color: #fecaca; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-slate-100 { background: #f1f5f9; }
.bg-slate-200 { background: #e2e8f0; }
.bg-slate-300 { background: #cbd5e1; }
.bg-slate-800 { background: #1e293b; }
.bg-slate-950 { background: #020617; }
.bg-emerald-50 { background: #ecfdf5; }
.bg-emerald-100 { background: #d1fae5; }
.bg-emerald-400\/10 { background: rgba(52, 211, 153, 0.1); }
.bg-emerald-500 { background: #10b981; }
.bg-emerald-600 { background: #059669; }
.bg-amber-50 { background: #fffbeb; }
.bg-amber-100 { background: #fef3c7; }
.bg-red-50 { background: #fef2f2; }
.bg-red-100 { background: #fee2e2; }
.bg-green-100 { background: #dcfce7; }
.bg-yellow-50 { background: #fefce8; }
.bg-\[\#f6f7f4\] { background: #f6f7f4; }
.bg-\[\#f8f9f6\] { background: #f8f9f6; }
.bg-white\/\[0\.04\] { background: rgba(255, 255, 255, 0.04); }
.bg-\[\#f6f7f4\]\/90 { background: rgba(246, 247, 244, 0.9); }
.bg-emerald-50\/40 { background: rgba(236, 253, 245, 0.4); }
.bg-opacity-50 { background-color: rgba(2, 6, 23, 0.5); }
.bg-opacity-80 { background-color: rgba(2, 6, 23, 0.8); }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-6 { padding-top: 1.5rem; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-4 { line-height: 1rem; }
.leading-5 { line-height: 1.25rem; }
.leading-6 { line-height: 1.5rem; }
.leading-tight { line-height: 1.15; }
.tracking-tight { letter-spacing: 0; }
.antialiased { -webkit-font-smoothing: antialiased; }
.text-white { color: #fff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-slate-950 { color: #020617; }
.text-emerald-100\/80 { color: rgba(209, 250, 229, 0.8); }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-green-800 { color: #166534; }
.text-yellow-800 { color: #854d0e; }
.shadow-sm { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); }
.shadow-lg { box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25); }
.shadow-\[0_24px_80px_rgba\(15\,23\,42\,0\.08\)\] { box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08); }
.ring-1 { box-shadow: 0 0 0 1px var(--ring-color, currentColor); }
.ring-2 { box-shadow: 0 0 0 2px var(--ring-color, currentColor); }
.ring-slate-200 { --ring-color: #e2e8f0; }
.ring-amber-200 { --ring-color: #fde68a; }
.ring-emerald-200 { --ring-color: #a7f3d0; }
.ring-emerald-500 { --ring-color: #10b981; }
.ring-emerald-600 { --ring-color: #059669; }
.ring-emerald-600\/20 { --ring-color: rgba(5, 150, 105, 0.2); }
.ring-offset-2 { outline-offset: 2px; }
.outline-none { outline: none; }
.accent-emerald-700 { accent-color: #047857; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:bg-slate-300:disabled { background: #cbd5e1; }
.disabled\:text-slate-400:disabled { color: #94a3b8; }
.disabled\:text-slate-600:disabled { color: #475569; }
.hover\:bg-white:hover { background: #fff; }
.hover\:bg-slate-50:hover { background: #f8fafc; }
.hover\:bg-slate-100:hover { background: #f1f5f9; }
.hover\:bg-slate-800:hover { background: #1e293b; }
.hover\:bg-\[\#f8f9f6\]:hover { background: #f8f9f6; }
.hover\:bg-emerald-50\/40:hover { background: rgba(236, 253, 245, 0.4); }
.hover\:border-emerald-600:hover { border-color: #059669; }
.hover\:text-slate-950:hover { color: #020617; }
.hover\:text-slate-900:hover { color: #0f172a; }
.active\:translate-y-px:active { transform: translateY(1px); }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px var(--ring-color, #059669); }
.focus-visible\:ring-emerald-600:focus-visible { --ring-color: #059669; }
.focus-visible\:ring-offset-2:focus-visible { outline-offset: 2px; }
.focus\:border-emerald-600:focus { border-color: #059669; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring-color, #059669); }
.focus\:ring-emerald-600\/20:focus { --ring-color: rgba(5, 150, 105, 0.2); }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.backdrop-blur { backdrop-filter: blur(12px); }

@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-end { align-items: flex-end; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:p-5 { padding: 1.25rem; }
    .sm\:p-7 { padding: 1.75rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:border-l { border-left: 1px solid var(--border); }
    .lg\:border-t-0 { border-top: 0; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-\[minmax\(0\,1fr\)_390px\] { grid-template-columns: minmax(0, 1fr) 390px; }
    .lg\:p-8 { padding: 2rem; }
    .lg\:p-9 { padding: 2.25rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-start { align-items: flex-start; }
    .lg\:justify-between { justify-content: space-between; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
    .xl\:grid-cols-\[minmax\(0\,1fr\)_260px\] { grid-template-columns: minmax(0, 1fr) 260px; }
}

a,
button,
label,
input,
textarea {
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        transform 120ms ease;
}

button:disabled {
    transform: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.workbench-home {
    container-type: inline-size;
}

.workbench-home * {
    letter-spacing: 0;
}

.workbench-home button::before {
    display: none;
}

.nav-account {
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.nav-account__balance {
    display: inline-flex;
    align-items: baseline;
    gap: 0.375rem;
    min-width: 0;
    padding: 0 0.875rem;
    color: #475569;
    white-space: nowrap;
}

.nav-account__label {
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-account__value {
    color: #020617;
    font-size: 0.875rem;
    font-weight: 800;
}

.nav-account__recharge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-left: 1px solid rgba(148, 163, 184, 0.24);
    background: #020617;
    padding: 0 0.95rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-account__recharge:hover {
    background: #1e293b;
}

.nav-user-menu {
    position: relative;
}

.nav-user-menu__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    max-width: 14rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    color: #020617;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.nav-user-menu__button:hover,
.nav-user-menu__button[aria-expanded="true"] {
    background: #fff;
    border-color: rgba(100, 116, 139, 0.36);
}

.nav-user-menu__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 800;
}

.nav-user-menu__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 700;
}

.nav-user-menu__chevron {
    width: 0.45rem;
    height: 0.45rem;
    flex: 0 0 0.45rem;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: translateY(-1px) rotate(45deg);
}

.nav-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.625rem);
    right: 0;
    z-index: 60;
    width: min(17rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.nav-user-menu__summary {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.875rem 1rem;
}

.nav-user-menu__summary-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-user-menu__summary-name {
    overflow: hidden;
    color: #020617;
    font-size: 0.875rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-menu__item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
}

.nav-user-menu__item:hover {
    background: #f8fafc;
}

.nav-user-menu__item--danger {
    color: #b91c1c;
}

.nav-user-menu__item--danger:hover {
    background: #fef2f2;
}

@media (max-width: 640px) {
    .workbench-home > .grid {
        min-height: auto;
    }

    .workbench-home [class*="min-h-[360px]"] {
        min-height: 300px;
    }

    .nav-account__label,
    .nav-user-menu__name {
        display: none;
    }

    .nav-account__balance {
        padding: 0 0.625rem;
    }

    .nav-account__recharge {
        padding: 0 0.75rem;
    }
}

.project-configurator {
    container-type: inline-size;
}

.configurator-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.configurator-flow span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.configurator-flow span + span::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1px;
    background: #cbd5e1;
}

.configurator-flow .is-active {
    color: #047857;
    font-weight: 700;
}

.configurator-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.configurator-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.25rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.75rem;
    text-align: left;
    color: #475569;
}

.configurator-step.is-active {
    border-color: #059669;
    background: #ecfdf5;
    color: #064e3b;
    box-shadow: 0 0 0 1px #059669;
}

.configurator-step.is-complete:not(.is-active) {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

.configurator-step.is-disabled {
    opacity: 0.5;
}

.configurator-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 0.5rem;
    background: #f8f9f6;
    font-size: 0.875rem;
    font-weight: 700;
}

.configurator-step.is-active .configurator-step__number {
    background: #059669;
    color: #fff;
}

.configurator-step.is-complete:not(.is-active) .configurator-step__number {
    background: #fff;
    color: #0f172a;
}

.configurator-step__text {
    min-width: 0;
}

.configurator-step__eyebrow {
    display: block;
    font-size: 0.75rem;
    line-height: 1rem;
    opacity: 0.78;
}

.configurator-step__title {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
}

.configurator-stage {
    min-height: 620px;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.configurator-stage__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
}

.configurator-stage__body {
    padding: 1.25rem;
}

.configurator-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1.25rem;
}

.configurator-media,
.configurator-summary,
.configurator-question,
.configurator-results {
    min-width: 0;
}

.configurator-summary {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.design-confirmation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    gap: 1.25rem;
}

.design-confirmation-summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.75rem;
}

.design-confirmation-panel {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.875rem;
}

.design-confirmation-panel h4 {
    margin: 0 0 0.5rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
}

.design-confirmation-panel p,
.design-confirmation-panel li {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.design-confirmation-panel ul {
    margin: 0;
    padding-left: 1rem;
}

.design-confirmation-panel--warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.design-confirmation-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.design-confirmation-chip {
    display: inline-flex;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.design-confirmation-drawer {
    margin-top: 1rem;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    background: #ecfdf5;
    padding: 1rem;
}

.configurator-image {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #f8f9f6;
}

.configurator-question {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 0;
}

.configurator-option {
    display: flex;
    min-height: 4.5rem;
    cursor: pointer;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    padding: 1rem;
}

.configurator-option:hover {
    background: #f8f9f6;
}

.configurator-option.is-selected {
    border-color: #10b981;
    background: #ecfdf5;
    box-shadow: 0 0 0 1px #10b981;
}

.configurator-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding: 1.25rem;
}

@media (max-width: 900px) {
    .configurator-panel,
    .design-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .configurator-stage {
        min-height: auto;
    }

    .configurator-stage__header,
    .configurator-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Image hover effects */
.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

/* Progress bar animation */
.progress-bar {
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Drag and drop highlight */
.drag-over {
    border-color: var(--accent) !important;
    background-color: #ecfdf5 !important;
}

/* Responsive image grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Card hover effect */
.card {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Status badge animations */
.status-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Image loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
