/* V4.15.6 — Shared shell theme for standalone Wedding/Event/Free Invitation studios.
   The invitation artwork itself is intentionally excluded from theme overrides. */
:root{--zi-studio-accent:#bd8a4a;--zi-studio-bg:#f7f0e8;--zi-studio-surface:rgba(255,255,255,.76);--zi-studio-surface-solid:#fffaf4;--zi-studio-text:#2d2116;--zi-studio-muted:#7b6a55;--zi-studio-line:rgba(120,93,45,.16);--zi-studio-shadow:0 24px 70px rgba(74,48,22,.12)}
html[data-zi-accent="copper"]{--zi-studio-accent:#b86f4f}html[data-zi-accent="rose"]{--zi-studio-accent:#b76f72}html[data-zi-accent="sage"]{--zi-studio-accent:#83906d}
html[data-zi-theme="dark"]{--zi-studio-bg:#15110e;--zi-studio-surface:rgba(34,26,21,.88);--zi-studio-surface-solid:#211914;--zi-studio-text:#f4eadc;--zi-studio-muted:#b2a18f;--zi-studio-line:rgba(230,201,147,.16);--zi-studio-shadow:0 28px 76px rgba(0,0,0,.34);color-scheme:dark}
html[data-zi-theme="dark"][data-zi-contrast="high"]{--zi-studio-text:#fff8ee;--zi-studio-muted:#d6c6b5;--zi-studio-line:rgba(240,214,165,.34)}
html[data-zi-theme="dark"][data-zi-contrast="soft"]{--zi-studio-muted:#958779;--zi-studio-line:rgba(230,201,147,.10)}
html[data-zi-theme="dark"] body{background:var(--zi-studio-bg)!important;color:var(--zi-studio-text)!important}
html[data-zi-theme="dark"] .studio-bg{background:var(--zi-studio-bg)!important}
html[data-zi-theme="dark"] :is(.glass-panel,.sidebar-wrap,.sidebar-footer,.floating-toolbar,.mobile-panel-sheet,.guest-drawer,.payment-sheet,.auth-modal,.font-settings-drawer,.studio-action-sheet .studio-sheet-card,.panel){background:var(--zi-studio-surface)!important;color:var(--zi-studio-text)!important;border-color:var(--zi-studio-line)!important;box-shadow:var(--zi-studio-shadow)!important}
html[data-zi-theme="dark"] :is(.sidebar-brand,.drawer-head,.payment-head,.auth-head,.panel-head){background:color-mix(in srgb,var(--zi-studio-surface-solid) 88%,transparent)!important;border-color:var(--zi-studio-line)!important}
html[data-zi-theme="dark"] :is(.stage,.preview-shell){background-color:var(--zi-studio-bg)!important;border-color:var(--zi-studio-line)!important}
html[data-zi-theme="dark"] :is(.section-title,.drawer-kicker,.payment-kicker,.auth-kicker,.control-label,.field-label,.autosave-note,.stage-hero .hero-badge){color:var(--zi-studio-accent)!important}
html[data-zi-theme="dark"] :is(.stage-hero h1,.stage-hero h2,.drawer-title,.payment-title,.auth-title,.font-settings-head h2,.panel-mobile-head strong){color:var(--zi-studio-text)!important}
html[data-zi-theme="dark"] :is(.stage-hero p,.field-help,.font-settings-note,.panel-mobile-head small){color:var(--zi-studio-muted)!important}
html[data-zi-theme="dark"] :is(.field-input,.sidebar-wrap input,.sidebar-wrap textarea,.sidebar-wrap select,.mobile-panel-sheet input,.mobile-panel-sheet textarea,.mobile-panel-sheet select,.panel input,.panel textarea,.panel select,.font-settings-drawer select){background:rgba(255,255,255,.055)!important;color:var(--zi-studio-text)!important;border-color:var(--zi-studio-line)!important}
html[data-zi-theme="dark"] :is(.field-input,.sidebar-wrap input,.sidebar-wrap textarea,.sidebar-wrap select,.panel input,.panel textarea,.panel select):focus{background:rgba(255,255,255,.075)!important;border-color:var(--zi-studio-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--zi-studio-accent) 16%,transparent)!important}
html[data-zi-theme="dark"] :is(.mini-action,.program-mini-btn,.drawer-close,.payment-close,.auth-tab,.auth-google,.panel-font-button,.studio-sheet-option){background:rgba(255,255,255,.06)!important;color:var(--zi-studio-text)!important;border-color:var(--zi-studio-line)!important}
html[data-zi-theme="dark"] :is(.mobile-dock,.studio-bottom-nav){background:rgba(18,13,10,.94)!important;border-color:var(--zi-studio-line)!important;box-shadow:0 -16px 48px rgba(0,0,0,.35)!important}
html[data-zi-theme="dark"] :is(.mobile-dock button,.studio-bottom-nav button){color:var(--zi-studio-muted)!important}
html[data-zi-theme="dark"] :is(.mobile-dock button.active,.studio-bottom-nav button.active,.studio-bottom-main){color:var(--zi-studio-accent)!important}
html[data-zi-theme="dark"] .zi-top a,html[data-zi-theme="dark"] .zi-font-tools button,html[data-zi-theme="dark"] .zi-editor-tools button{background:rgba(30,23,18,.9)!important;color:var(--zi-studio-text)!important;border-color:var(--zi-studio-line)!important;box-shadow:0 10px 34px rgba(0,0,0,.24)!important}
/* Preserve the design canvas exactly: theme applies to editor chrome, not the exported invite. */
html[data-zi-theme="dark"] :is(.template-layer,.template-paper,.inv-face,.inv-back,.card,.face,.invitation-card,.print-page){color-scheme:light}
html[data-zi-motion="reduce"] *,html[data-zi-motion="reduce"] *::before,html[data-zi-motion="reduce"] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html[data-zi-motion="system"] *,html[data-zi-motion="system"] *::before,html[data-zi-motion="system"] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
