/* =========================================================
   ZIARAMA WEDDING · V4.15.6 THEME SYSTEM
   System/light/dark + contrast + accent preferences.
   Loaded last to normalize all public surfaces.
   ========================================================= */
:root{
  --zi-pref-accent:#bd8a4a;
  --zi-pref-accent-strong:#8d5b2f;
  --zi-pref-accent-soft:#ead7b8;
  --zi-theme-bg:#fbf7f1;
  --zi-theme-bg-2:#f5ede4;
  --zi-theme-surface:#fffdf9;
  --zi-theme-surface-2:#f7efe7;
  --zi-theme-text:#2f211a;
  --zi-theme-text-2:#5f4c41;
  --zi-theme-muted:#8b786d;
  --zi-theme-line:rgba(82,56,42,.12);
  --zi-theme-line-strong:rgba(82,56,42,.22);
  --zi-theme-shadow:0 24px 70px rgba(57,34,22,.08);
  --zi-theme-glow:0 0 0 transparent;
  --zi-theme-header:rgba(251,247,241,.9);
  --zi-theme-overlay:rgba(18,12,9,.58);
  --zi-theme-field:rgba(255,253,249,.9);
  --zi-theme-danger:#a95d57;
  --zi-theme-success:#4f7458;
  --zi-theme-footer:#17100d;
}

html[data-zi-accent="champagne"]{--zi-pref-accent:#bd8a4a;--zi-pref-accent-strong:#8d5b2f;--zi-pref-accent-soft:#ead7b8}
html[data-zi-accent="copper"]{--zi-pref-accent:#b86f4f;--zi-pref-accent-strong:#84472f;--zi-pref-accent-soft:#e9c6b8}
html[data-zi-accent="rose"]{--zi-pref-accent:#b76f72;--zi-pref-accent-strong:#87494e;--zi-pref-accent-soft:#e8c6c8}
html[data-zi-accent="sage"]{--zi-pref-accent:#83906d;--zi-pref-accent-strong:#59644a;--zi-pref-accent-soft:#d5dcc9}
html[data-zi-accent]{--zi-gold:var(--zi-pref-accent);--zi-gold-soft:var(--zi-pref-accent-soft);--zi-terracotta:var(--zi-pref-accent-strong)}

html[data-zi-contrast="soft"]{--zi-theme-line:rgba(82,56,42,.075);--zi-theme-line-strong:rgba(82,56,42,.14);--zi-theme-muted:#9d8c81}
html[data-zi-contrast="high"]{--zi-theme-line:rgba(62,40,29,.24);--zi-theme-line-strong:rgba(62,40,29,.42);--zi-theme-text:#20140f;--zi-theme-text-2:#44352c;--zi-theme-muted:#65554b}

html[data-zi-theme="dark"]{
  --zi-theme-bg:#15110e;
  --zi-theme-bg-2:#1b1511;
  --zi-theme-surface:#211914;
  --zi-theme-surface-2:#291f19;
  --zi-theme-text:#f4eadc;
  --zi-theme-text-2:#d6c6b5;
  --zi-theme-muted:#a99786;
  --zi-theme-line:rgba(230,201,147,.14);
  --zi-theme-line-strong:rgba(230,201,147,.26);
  --zi-theme-shadow:0 28px 72px rgba(0,0,0,.26);
  --zi-theme-glow:0 0 18px color-mix(in srgb,var(--zi-pref-accent) 26%,transparent);
  --zi-theme-header:rgba(21,17,14,.88);
  --zi-theme-overlay:rgba(10,7,6,.65);
  --zi-theme-field:rgba(255,255,255,.045);
  --zi-theme-danger:#df8e86;
  --zi-theme-success:#91b59b;
  --zi-theme-footer:#0d0a08;
  --zi-bg:var(--zi-theme-bg);
  --zi-paper:var(--zi-theme-surface);
  --zi-paper-2:var(--zi-theme-surface-2);
  --zi-ink:var(--zi-theme-text);
  --zi-text:var(--zi-theme-text-2);
  --zi-muted:var(--zi-theme-muted);
  --zi-line:var(--zi-theme-line);
  --zi-line-dark:var(--zi-theme-line-strong);
  --zi-terracotta:var(--zi-pref-accent);
  --zi-gold:var(--zi-pref-accent);
  --zi-gold-soft:var(--zi-pref-accent-soft);
}
html[data-zi-theme="dark"][data-zi-contrast="soft"]{--zi-theme-line:rgba(230,201,147,.09);--zi-theme-line-strong:rgba(230,201,147,.16);--zi-theme-muted:#948578}
html[data-zi-theme="dark"][data-zi-contrast="high"]{--zi-theme-line:rgba(243,219,174,.25);--zi-theme-line-strong:rgba(243,219,174,.42);--zi-theme-text:#fff7ec;--zi-theme-text-2:#eee0d0;--zi-theme-muted:#cbbba9}

html[data-zi-theme="dark"] body.v3{background:var(--zi-theme-bg)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 main{background:var(--zi-theme-bg)}
html[data-zi-theme="dark"] body.v3 .page-loader{background:var(--zi-theme-bg);color:var(--zi-theme-text)}
html[data-zi-theme="dark"] body.v3 .loader-mark{color:var(--zi-pref-accent)}
html[data-zi-theme="dark"] body.v3 .loader-progress{background:var(--zi-theme-line)}
html[data-zi-theme="dark"] body.v3 .loader-progress span{background:var(--zi-pref-accent)}

/* Shared typography */
body.v3 .eyebrow,
body.v3 .section-title-v4 small,
body.v3 .gallery-signature-head-v45 small,
body.v3 .souls-signature-heading-v45 small,
body.v3 .footer-kicker{color:var(--zi-pref-accent)!important}
body.v3 em,.v3 .heart-divider,.v3 .text-arrow{color:var(--zi-pref-accent)}
html[data-zi-theme="dark"] body.v3 .eyebrow,
html[data-zi-theme="dark"] body.v3 .section-title-v4 small,
html[data-zi-theme="dark"] body.v3 .gallery-signature-head-v45 small,
html[data-zi-theme="dark"] body.v3 .souls-signature-heading-v45 small{
  text-shadow:var(--zi-theme-glow);
}
html[data-zi-theme="dark"] body.v3 :is(h1 em,h2 em,h3 em,.heart-divider,.event-number){text-shadow:0 0 18px color-mix(in srgb,var(--zi-pref-accent) 18%,transparent)}
html[data-zi-theme="dark"] body.v3 h1,
html[data-zi-theme="dark"] body.v3 h2,
html[data-zi-theme="dark"] body.v3 h3,
html[data-zi-theme="dark"] body.v3 h4{color:var(--zi-theme-text)}
html[data-zi-theme="dark"] body.v3 p,
html[data-zi-theme="dark"] body.v3 .section-description,
html[data-zi-theme="dark"] body.v3 .section-subtitle{color:var(--zi-theme-text-2)}

/* Header */
body.v3 .desktop-settings-trigger,.zi-settings-trigger{
  display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--zi-theme-line);
  background:color-mix(in srgb,var(--zi-theme-surface) 76%,transparent);color:inherit;cursor:pointer;transition:.2s;
}
body.v3 .desktop-settings-trigger:hover{transform:translateY(-1px);border-color:var(--zi-pref-accent)}
body.v3 .desktop-settings-trigger .zi-icon{width:17px;height:17px}
html[data-zi-theme="dark"] body.v3 .site-header[data-header-theme="light"],
html[data-zi-theme="dark"] body.v3 .site-header.is-scrolled,
html[data-zi-theme="dark"] body.v3 .site-header.scrolled{
  background:var(--zi-theme-header)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important;box-shadow:0 1px 0 var(--zi-theme-line)!important;
}
html[data-zi-theme="dark"] body.v3 .site-header[data-header-theme="overlay"]:not(.is-scrolled):not(.scrolled){color:#fff}
html[data-zi-theme="dark"] body.v3 .site-header[data-header-theme="overlay"]:not(.is-scrolled):not(.scrolled) .desktop-settings-trigger{background:rgba(20,14,11,.38);border-color:rgba(255,255,255,.28);color:#fff}

/* Shared solid sections. Image heroes stay image-based. */
html[data-zi-theme="dark"] body.v3 :is(
  .home-feature-strip,.home-story-intro,.home-couples-section,.home-experience,.home-journal,
  .couples-showcase,.couples-signature-footer,.gallery-signature-v45,.events-v4,.zi-story-v414,.souls-signature-v45,
  .journal-signature-hero,.journal-list-signature,.journal-feature-signature,
  .v3-contact-hero,.v3-contact-main,
  .zi-studio-hero,.zi-studio-intro,.zi-workspaces,.zi-studio-closing,
  .provider-list-section,.provider-category-signature,.provider-search-signature,
  .service-detail-main,.service-detail-content,
  .zi-live-creator,.zi-live-creator-v4154,.zi-live-creator-v4155,.zi-final-setup-v4153,.zi-final-setup-v4154,.zi-publish-section-v4153,.zi-publish-section-v4154
){background:var(--zi-theme-bg)!important;color:var(--zi-theme-text)!important}

html[data-zi-theme="dark"] body.v3 :is(
  .home-feature-strip,.couple-countdown-v45,.couple-countdown-compact-v45,
  .journal-category-bar,.provider-category-signature,.provider-search-signature
){border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .feature-strip-grid article{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .feature-strip-grid h3{color:var(--zi-theme-text)!important}

/* Cards and editorial surfaces */
html[data-zi-theme="dark"] body.v3 :is(
  .home-journal-card,.journal-signature-card,.journal-feature-copy,
  .v3-contact-formcard,.v3-contact-info,.v3-contact-tip,
  .service-quote-card,.service-provider-block,.service-detail-quote,
  .zi-workspace,.zi-access-card,.zi-payment-methods,.zi-payment-panel,.zi-payment-lock-v4154,
  .zi-guided-panel-v4155,.zi-entry-card-v4155
){background:var(--zi-theme-surface)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important;box-shadow:var(--zi-theme-shadow)!important}
html[data-zi-theme="dark"] body.v3 .v3-contact-tip{border-left-color:var(--zi-pref-accent)!important}
html[data-zi-theme="dark"] body.v3 :is(.home-journal-card,.journal-signature-card,.zi-workspace,.service-quote-card,.service-provider-block) :is(p,small){color:var(--zi-theme-muted)!important}

/* Home */
html[data-zi-theme="dark"] body.v3 .home-story-intro::before,
html[data-zi-theme="dark"] body.v3 .home-couples-section::before{opacity:.055}
html[data-zi-theme="dark"] body.v3 .experience-paper{background:var(--zi-theme-surface)!important;border-color:var(--zi-theme-line)!important;color:var(--zi-theme-text)!important;box-shadow:var(--zi-theme-shadow)!important}
html[data-zi-theme="dark"] body.v3 .experience-list>div{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .home-metrics{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .home-metrics div{border-color:var(--zi-theme-line)!important}

/* Couple detail */
html[data-zi-theme="dark"] body.v3 .couple-countdown-v45{background:var(--zi-theme-surface)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 .couple-countdown-v45 :is(span,small){color:var(--zi-theme-muted)!important}
html[data-zi-theme="dark"] body.v3 .partner-signature-v45{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .partner-words-v45,
html[data-zi-theme="dark"] body.v3 .event-copy-v4{color:var(--zi-theme-text-2)!important}
html[data-zi-theme="dark"] body.v3 .event-v4{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .event-number{color:var(--zi-pref-accent)!important;text-shadow:var(--zi-theme-glow)}
html[data-zi-theme="dark"] body.v3 .gallery-caption-v414{background:rgba(15,11,9,.72)!important;color:#fff}
html[data-zi-theme="dark"] body.v3 .couple-comments-modal-v45{background:var(--zi-theme-surface)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .couple-comment-card-v45{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .partner-portrait-v45{background:var(--zi-theme-surface-2)!important;border-color:color-mix(in srgb,var(--zi-pref-accent) 52%,transparent)!important;box-shadow:0 26px 70px rgba(0,0,0,.28)!important}
html[data-zi-theme="dark"] body.v3 .love-spine-v45{background:linear-gradient(180deg,var(--zi-theme-bg),var(--zi-theme-surface),var(--zi-theme-bg))!important}
html[data-zi-theme="dark"] body.v3 .partner-words-v45 blockquote{color:var(--zi-theme-text-2)!important}
html[data-zi-theme="dark"] body.v3 .events-signature-v45{background:linear-gradient(180deg,var(--zi-theme-bg),var(--zi-theme-surface-2))!important}
html[data-zi-theme="dark"] body.v3 .gallery-signature-v45{background:var(--zi-theme-bg)!important}

/* Journal */
html[data-zi-theme="dark"] body.v3 .journal-category-bar{background:var(--zi-theme-surface)!important}
html[data-zi-theme="dark"] body.v3 .journal-category-bar a{color:var(--zi-theme-muted)!important}
html[data-zi-theme="dark"] body.v3 .journal-category-bar a.active{color:var(--zi-pref-accent)!important;border-color:var(--zi-pref-accent)!important}
html[data-zi-theme="dark"] body.v3 .journal-signature-image{background:var(--zi-theme-surface-2)!important}

/* Contact */
html[data-zi-theme="dark"] body.v3 .v3-contact-list>div{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .v3-contact-list small,
html[data-zi-theme="dark"] body.v3 .v3-contact-formcard label>span{color:var(--zi-theme-muted)!important}

/* Studio landing */
html[data-zi-theme="dark"] body.v3 .zi-stationery-card,
html[data-zi-theme="dark"] body.v3 .zi-mini-paper,
html[data-zi-theme="dark"] body.v3 .zi-mini-ticket,
html[data-zi-theme="dark"] body.v3 .zi-mini-book{background:var(--zi-theme-surface)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important;box-shadow:var(--zi-theme-shadow)!important}
html[data-zi-theme="dark"] body.v3 .zi-workspace-meta{color:var(--zi-theme-muted)!important}

/* Providers */
html[data-zi-theme="dark"] body.v3 .provider-signature-grid>*{background:var(--zi-theme-surface)!important;border-color:var(--zi-theme-line)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 .provider-signature-grid>* :is(p,small){color:var(--zi-theme-muted)!important}
html[data-zi-theme="dark"] body.v3 .signature-sort,
html[data-zi-theme="dark"] body.v3 .provider-search-signature input,
html[data-zi-theme="dark"] body.v3 .provider-search-signature select{background:var(--zi-theme-field)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important}

/* Service detail */
html[data-zi-theme="dark"] body.v3 .service-detail-tabs{border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .service-detail-tabs a{color:var(--zi-theme-muted)!important}
html[data-zi-theme="dark"] body.v3 .service-detail-tabs a.active{color:var(--zi-pref-accent)!important;border-color:var(--zi-pref-accent)!important}
html[data-zi-theme="dark"] body.v3 .service-detail-highlights>div,
html[data-zi-theme="dark"] body.v3 .service-trust-row>div{border-color:var(--zi-theme-line)!important}

/* Creator */
html[data-zi-theme="dark"] body.v3 .zi-live-creator-v4155{background:var(--zi-theme-bg)!important}
html[data-zi-theme="dark"] body.v3 .zi-create-souls-v4154,
html[data-zi-theme="dark"] body.v3 .zi-create-gallery-v4154,
html[data-zi-theme="dark"] body.v3 .zi-create-events-v4154,
html[data-zi-theme="dark"] body.v3 .zi-final-setup-v4154,
html[data-zi-theme="dark"] body.v3 .zi-publish-section-v4154{background:var(--zi-theme-bg)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 .zi-access-card-v4154{background:var(--zi-theme-surface)!important;border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .zi-completion-dock-v4155{background:rgba(24,18,14,.92)!important;border-color:var(--zi-theme-line)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 .zi-guided-backdrop-v4155{background:rgba(8,6,5,.62)!important}
html[data-zi-theme="dark"] body.v3 .zi-guided-panel-v4155 input,
html[data-zi-theme="dark"] body.v3 .zi-guided-panel-v4155 textarea,
html[data-zi-theme="dark"] body.v3 .zi-guided-panel-v4155 select{background:var(--zi-theme-field)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important}

/* Forms globally */
html[data-zi-theme="dark"] body.v3 :is(input,textarea,select){background-color:var(--zi-theme-field);color:var(--zi-theme-text);border-color:var(--zi-theme-line);caret-color:var(--zi-pref-accent)}
html[data-zi-theme="dark"] body.v3 :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--zi-theme-muted) 78%,transparent)}
html[data-zi-theme="dark"] body.v3 :is(input,textarea,select):focus{border-color:var(--zi-pref-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--zi-pref-accent) 18%,transparent)!important}
html[data-zi-theme="dark"] body.v3 .v3-contact-formcard :is(input,textarea,select),
html[data-zi-theme="dark"] body.v3 .service-booking-form :is(input,textarea,select),
html[data-zi-theme="dark"] body.v3 .zi-access-card :is(input,textarea,select){background:var(--zi-theme-field)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important}

/* Buttons and links */
body.v3 .btn-dark,body.v3 .zi-create-submit,body.v3 .v3-contact-submit button{background:var(--zi-pref-accent-strong)!important;color:#fff!important;border-color:transparent!important}
body.v3 .btn-outline-dark{border-color:var(--zi-pref-accent)!important;color:var(--zi-pref-accent-strong)!important}
html[data-zi-theme="dark"] body.v3 .btn-outline-dark{color:var(--zi-pref-accent)!important}
body.v3 .desktop-nav a.active,body.v3 .text-arrow{color:var(--zi-pref-accent-strong)}
html[data-zi-theme="dark"] body.v3 .desktop-nav a.active,html[data-zi-theme="dark"] body.v3 .text-arrow{color:var(--zi-pref-accent)!important}

/* Bottom navigation and sheets */
html[data-zi-theme="dark"] body.v3 .zi-bottom-nav{background:rgba(16,12,10,.92)!important;border-color:var(--zi-theme-line)!important;box-shadow:0 -18px 46px rgba(0,0,0,.32)!important}
html[data-zi-theme="dark"] body.v3 .zi-bottom-nav :is(a,button){color:var(--zi-theme-muted)!important}
html[data-zi-theme="dark"] body.v3 .zi-bottom-nav [aria-current="page"]{color:var(--zi-pref-accent)!important}
html[data-zi-theme="dark"] body.v3 .zi-studio-orb{background:var(--zi-pref-accent-strong)!important;color:#fff!important;box-shadow:0 8px 25px color-mix(in srgb,var(--zi-pref-accent) 18%,transparent)!important}
html[data-zi-theme="dark"] body.v3 .zi-nav-sheet{background:var(--zi-theme-surface)!important;color:var(--zi-theme-text)!important;border-color:var(--zi-theme-line)!important}
html[data-zi-theme="dark"] body.v3 .zi-more-links :is(a,button){border-color:var(--zi-theme-line)!important;color:var(--zi-theme-text)!important}
html[data-zi-theme="dark"] body.v3 .zi-more-links small{color:var(--zi-theme-muted)!important}
.zi-more-links .zi-more-settings{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border:0;border-bottom:1px solid var(--zi-theme-line);background:transparent;text-align:left;font:inherit;cursor:pointer;color:inherit}
.zi-more-links .zi-more-settings span{display:grid;gap:3px}.zi-more-links .zi-more-settings small{font-size:10px;color:var(--zi-muted)}

/* Settings trigger / dialog */
.zi-settings-dialog{padding:0;border:0;background:transparent;color:var(--zi-theme-text);width:min(640px,calc(100vw - 28px));max-width:none;max-height:min(88svh,780px);overflow:visible}
.zi-settings-dialog::backdrop{background:rgba(16,11,8,.52);backdrop-filter:blur(8px)}
.zi-settings-sheet{max-height:min(88svh,780px);overflow:auto;border:1px solid var(--zi-theme-line);border-radius:28px;background:var(--zi-theme-surface);box-shadow:0 34px 90px rgba(0,0,0,.22);padding:30px}
.zi-settings-dialog .zi-sheet-handle{display:none}
.zi-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:24px;border-bottom:1px solid var(--zi-theme-line)}
.zi-settings-head small{font:600 8px var(--zi-sans);letter-spacing:.22em;color:var(--zi-pref-accent)}
.zi-settings-head h2{margin:8px 0 7px;font:400 44px/.95 var(--zi-serif);color:var(--zi-theme-text)}
.zi-settings-head p{margin:0;color:var(--zi-theme-muted);font-size:12px}
.zi-settings-dialog .zi-dialog-close{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;border:1px solid var(--zi-theme-line);background:transparent;color:inherit;cursor:pointer}
.zi-settings-dialog .zi-dialog-close .zi-icon{width:15px;height:15px}
.zi-settings-groups{display:grid;gap:0}
.zi-settings-group{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(240px,1.25fr);gap:24px;align-items:center;padding:22px 0;border-bottom:1px solid var(--zi-theme-line)}
.zi-settings-label{display:grid;gap:4px}.zi-settings-label b{font:500 17px var(--zi-serif);color:var(--zi-theme-text)}.zi-settings-label small{color:var(--zi-theme-muted);font-size:10px;line-height:1.5}
.zi-segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:4px;border:1px solid var(--zi-theme-line);border-radius:999px;background:var(--zi-theme-bg-2)}
.zi-segmented button{min-height:40px;border:0;border-radius:999px;background:transparent;color:var(--zi-theme-muted);font:600 10px var(--zi-sans);cursor:pointer;transition:.18s}
.zi-segmented button.is-active{background:var(--zi-theme-surface);color:var(--zi-theme-text);box-shadow:0 5px 16px rgba(0,0,0,.08)}
html[data-zi-theme="dark"] .zi-segmented button.is-active{box-shadow:0 7px 20px rgba(0,0,0,.24)}
.zi-accent-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.zi-accent-options button{display:grid;justify-items:center;gap:7px;min-width:0;padding:12px 6px;border:1px solid var(--zi-theme-line);border-radius:16px;background:transparent;color:var(--zi-theme-muted);font:500 9px var(--zi-sans);cursor:pointer}
.zi-accent-options button.is-active{border-color:var(--zi-pref-accent);color:var(--zi-theme-text);box-shadow:0 0 0 2px color-mix(in srgb,var(--zi-pref-accent) 14%,transparent)}
.zi-accent-dot{display:block;width:22px;height:22px;border-radius:50%;border:4px solid color-mix(in srgb,var(--zi-theme-surface) 92%,transparent);box-shadow:0 0 0 1px var(--zi-theme-line)}
.zi-accent-champagne{background:#bd8a4a}.zi-accent-copper{background:#b86f4f}.zi-accent-rose{background:#b76f72}.zi-accent-sage{background:#83906d}
.zi-language-form{display:grid;grid-template-columns:1fr 1fr;gap:7px}.zi-language-form button{min-height:44px;border:1px solid var(--zi-theme-line);border-radius:14px;background:transparent;color:var(--zi-theme-text);font:600 10px var(--zi-sans);cursor:pointer}.zi-language-form button[aria-current="true"]{border-color:var(--zi-pref-accent);background:color-mix(in srgb,var(--zi-pref-accent) 10%,var(--zi-theme-surface));color:var(--zi-pref-accent-strong)}
html[data-zi-theme="dark"] .zi-language-form button[aria-current="true"]{color:var(--zi-pref-accent)}
.zi-settings-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:22px}.zi-settings-foot button{border:0;background:transparent;color:var(--zi-pref-accent-strong);font:600 10px var(--zi-sans);cursor:pointer;padding:0}.zi-settings-foot small{color:var(--zi-theme-muted);font-size:9px;text-align:right}

/* Footer */
html[data-zi-theme="dark"] body.v3 .v3-footer{background:var(--zi-theme-footer)!important;color:var(--zi-theme-text)!important}
body.v3 .footer-kicker,body.v3 .footer-column>b{color:var(--zi-pref-accent)!important}

/* Contrast accessibility */
html[data-zi-contrast="high"] body.v3 :is(.section-subtitle,p,.footer-links a,.zi-settings-label small){opacity:1!important}
html[data-zi-contrast="high"] body.v3 :is(.btn,.zi-bottom-nav a,.zi-bottom-nav button){font-weight:650}
html[data-zi-contrast="high"] body.v3 :focus-visible{outline-width:3px;outline-color:var(--zi-pref-accent)}

/* Motion preference. Manual setting overrides the OS setting. */
html[data-zi-motion="reduce"] *,html[data-zi-motion="reduce"] *::before,html[data-zi-motion="reduce"] *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
@media (prefers-reduced-motion:reduce){html[data-zi-motion="system"] *,html[data-zi-motion="system"] *::before,html[data-zi-motion="system"] *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

@media(max-width:900px){
  .desktop-settings-trigger{display:none!important}
  .zi-settings-dialog{width:100%;max-height:90svh;margin:auto 0 0 0}
  .zi-settings-sheet{border-radius:24px 24px 0 0;border-inline:0;border-bottom:0;padding:12px 18px calc(22px + env(safe-area-inset-bottom));max-height:90svh}
  .zi-settings-dialog .zi-sheet-handle{display:block;width:38px;height:4px;border-radius:99px;background:var(--zi-theme-line-strong);margin:0 auto 18px}
  .zi-settings-head{padding-bottom:19px}.zi-settings-head h2{font-size:38px}
  .zi-settings-group{grid-template-columns:1fr;gap:12px;padding:18px 0}
  .zi-accent-options{grid-template-columns:repeat(4,1fr)}
  .zi-settings-foot{align-items:flex-start;flex-direction:column}.zi-settings-foot small{text-align:left}
}
@media(max-width:520px){
  .zi-accent-options button span{font-size:8px}.zi-accent-options button{padding-inline:2px}
  .zi-settings-sheet{padding-inline:15px}
}
