/* Approved mist-grape color theme A. No layout, product imagery or interaction changes. */
body.theme-grape{--bg:#362d44;--panel:#443850;--ink:#fbf8ff;--muted:#ded3e9;--line:#bca2d242;--accent:#d7b9f3;--violet:#e5cef9;background:#362d44;color:var(--ink)}
.theme-grape ::selection{background:#d7b9f3;color:#302239}
.theme-grape header,.theme-grape header:hover,.theme-grape header.scrolled,.theme-grape header.scrolled:hover,.theme-grape header.mega-open{background:linear-gradient(110deg,#51435ce0,#46384fd9);border-color:#dcc3ee42;box-shadow:0 10px 30px #21162924,inset 0 1px #fff1;backdrop-filter:blur(22px) saturate(110%);-webkit-backdrop-filter:blur(22px) saturate(110%)}
.theme-grape #mega-panel,.theme-grape #language-options,.theme-grape .account-menu{background:#443850f7;border-color:#dac0ed47;box-shadow:0 20px 50px #21172940}
.theme-grape #nav .nav-item>a{color:#f7f1fc}.theme-grape #nav .nav-item>a[aria-current=page]{color:#ead4fc}
.theme-grape #nav .nav-item>a[aria-current=page]:after{background:#d7b9f3}
.theme-grape .button{background:#d7b9f3;border-color:#d7b9f3;color:#302239;box-shadow:inset 0 1px #fff3}
.theme-grape .button:hover{background:#e4cbfa;border-color:#e4cbfa;color:#302239;box-shadow:0 8px 24px #1e11251a}
.theme-grape .button.secondary{background:#e1c8f209;border-color:#d7b9f36b;color:#f5eafa;box-shadow:none}
.theme-grape .button.secondary:hover{background:#d7b9f319;border-color:#d7b9f3;color:#fff}
.theme-grape .nav-chat,.theme-grape .account-button{border-color:#d7b9f369;background:#e1c8f20a;color:#f9f3ff}
.theme-grape .nav-chat:hover,.theme-grape .account-button:hover{background:#d7b9f31a;border-color:#e4cbfa}
.theme-grape .eyebrow,.theme-grape .companion-copy .eyebrow{color:#e3c9f6}
.theme-grape .hero{background:radial-gradient(ellipse 48% 72% at 79% 52%,#a786bc24 0%,#76588416 44%,transparent 78%),linear-gradient(112deg,#362d44 18%,#3b3049 60%,#44364f 100%)}
.theme-grape .hero-glow{background:radial-gradient(ellipse at 58% 49%,#e5cef930 0%,#b68bc72a 32%,#9770a512 53%,transparent 73%)}
.theme-grape .stage-floor{background:radial-gradient(ellipse,#c39bdd38,transparent 68%)}
.theme-grape .hero-copy>p,.theme-grape .hero-model,.theme-grape .story-copy p,.theme-grape .detail-heading p,.theme-grape .next-step p,.theme-grape .warranty-banner p{color:#ded3e9}
.theme-grape .hero-category,.theme-grape .hero-annotation,.theme-grape .hero-model small,.theme-grape .hero-visual .tag,.theme-grape .scroll-cue{color:#d7c7e3}
.theme-grape .rule-band{background:#40344c;border-color:#d7b9f324;color:#ded3e9}
.theme-grape .story,.theme-grape .story[data-chapter]{background:#392f46}
.theme-grape .story-orbit{background:radial-gradient(ellipse,#b494c72b,transparent 65%)}
.theme-grape .story-side-label{background:#51415e;color:#f2e5fa;border-color:#d7b9f32e}
.theme-grape .view-buttons button{background:#d7b9f30a;border-color:#b99bc36b;color:#e8dcef}
.theme-grape .view-buttons button[aria-pressed=true]{background:#d7b9f3;border-color:#d7b9f3;color:#302239}
.theme-grape .detail-editorial{background:#40344c}
.theme-grape .next-step{background-color:#362d44}
.theme-grape .next-step:before{background:linear-gradient(112deg,#362d44ed 32%,#362d44c7 60%,#362d4494)}
.theme-grape .service-section{background:linear-gradient(180deg,#44385099,#3b3049cc);border-color:#d7b9f32e}
.theme-grape .warranty-banner{background:#4b3c59;border-color:#d7b9f33d}
.theme-grape .text-link{color:#e8d3f7;border-color:#bca2d269}
.theme-grape footer{background:#30273c;border-color:#d7b9f324}
.theme-grape .companion-feature:has(.companion-ring){background:radial-gradient(ellipse at 76% 58%,#b08ac51a,transparent 65%)}
.theme-grape .ring-note{color:#c8b7d7}.theme-grape .companion-ring figcaption{color:#e0cdea}
.theme-grape #about-contact .contact-card{background:#443850;border-color:#d7b9f33d}
.theme-grape .repair-support-launcher{background:#51405de6;border-color:#d7b9f369;color:#fff}
@media(max-width:1100px){.theme-grape #nav{background:#443850f7;border-color:#dac0ed47}}
/* Existing page/backdrop layers also need the preview palette. */
body.theme-grape:before{background:radial-gradient(1200px 700px at 78% -8%,#6950772b 0%,transparent 62%),linear-gradient(168deg,#3c3149,#362d44 60%,#33293f)}
.theme-grape .about-companion-page{background:#362d44}

/* Shared pages and form surfaces; dimensions and behavior remain unchanged. */
.theme-grape .page{background:#362d44}
.theme-grape .empty-state,.theme-grape .tutorial-card,.theme-grape .form-side,.theme-grape .result,.theme-grape dialog,.theme-grape .table-wrap,.theme-grape fieldset{background:#443850;border-color:#bca2d247}
.theme-grape input:not([type=checkbox]):not([type=radio]):not([type=range]),.theme-grape select,.theme-grape textarea{background:#3b3049;color:#faf5ff;border-color:#ad92c166}
.theme-grape input::placeholder,.theme-grape textarea::placeholder{color:#cdbed9}
.theme-grape input:focus-visible,.theme-grape select:focus-visible,.theme-grape textarea:focus-visible{border-color:#d7b9f3;box-shadow:0 0 0 3px #d7b9f31f}
.theme-grape input[aria-invalid=true]{border-color:#ef9caa}
.theme-grape input[type=file]::file-selector-button{background:#594464;color:#fbf6ff;border-color:#d7b9f354}
.theme-grape thead{background:#51415e}.theme-grape tbody tr:hover{background:#594664}
.theme-grape .warranty-page #registration-form,.theme-grape .warranty-summary{background:#443850;border-color:#bca2d247}
.theme-grape .warranty-page .tier-card{background:#40344c;border-color:#bca2d24f}
.theme-grape .warranty-page .tier-card.tier-upgrade{background:linear-gradient(130deg,#594365,#4b3b58);border-color:#d7b9f3}
.theme-grape .warranty-page .tier-card.is-upgraded{border-color:#ead2ff;box-shadow:0 0 0 2px #d7b9f31f}
.theme-grape .standard-state{color:#ded0e9;border-color:#bca2d24f}
.theme-grape .warranty-page .help,.theme-grape .warranty-summary p,.theme-grape .installation-page p{color:#d9cce4}
.theme-grape .warranty-optional,.theme-grape .upload-zone{border-color:#bca2d24f}
.theme-grape .warranty-page .warranty-optional>summary>span{color:#d2bedf}
.theme-grape .installation-source{background:linear-gradient(120deg,#51405d,#443850);border-color:#bca2d247}
.theme-grape .detail-picture{background:#443850}
.theme-grape .contact-card{background:#443850;border-color:#bca2d247}
.theme-grape #toast{background:#d7b9f3;color:#302239}
/* Keep operational/error/success colors distinct rather than flattening states. */
