/* Application public/auth color palettes. Restaurant themes and media artwork stay independent. */

/* Public navigation and consent controls use the same surfaces as the page. */
html[data-mi-theme="dark"] .mi-public-site .site-decor-layer { opacity: .28; }
.mi-public-site .mi-home-header .mi-color-mode .mi-mode-trigger { border-color: var(--mi-mode-control-line); }
.mi-public-site .mi-home-header .navbar-items .mi-mobile-apply {
    background: var(--mi-mode-action);
    color: var(--mi-mode-action-ink);
}
.mi-public-site .mi-home-header .navbar-items .mi-mobile-apply:is(:hover,:focus-visible) {
    background: var(--mi-mode-action-hover);
    color: var(--mi-mode-action-ink);
}
.mi-public-site .cookieConsentContainer {
    background: var(--mi-mode-surface-raised);
    color: var(--mi-mode-ink);
    border: 1px solid var(--mi-mode-line);
}
.mi-public-site .cookieConsentContainer .cookieTitle h3 { color: var(--mi-mode-ink); }
.mi-public-site .cookieConsentContainer .cookieDesc p { color: var(--mi-mode-muted); }
.mi-public-site .cookieConsentContainer .cookieDesc a { color: var(--mi-mode-link); text-decoration: underline; }
.mi-public-site .cookieConsentContainer .cookieAcceptButton {
    background: var(--mi-mode-action);
    color: var(--mi-mode-action-ink);
}
.mi-public-site .cookieConsentContainer .cookieAcceptButton:is(:hover,:focus-visible) {
    background: var(--mi-mode-action-hover);
    color: var(--mi-mode-action-ink);
}
.mi-public-site .cookieConsentContainer a:focus-visible { outline: 2px solid var(--mi-mode-link); outline-offset: 3px; }

/* Shared shell and existing gradient cards. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel){background:var(--mi-mode-page);color:var(--mi-mode-ink);--mi-gradient-card:linear-gradient(140deg,var(--mi-mode-surface) 50%,var(--mi-mode-surface-raised));--mi-gradient-lilac:linear-gradient(140deg,var(--mi-mode-surface) 45%,var(--mi-mode-surface-raised));--mi-gradient-teal:linear-gradient(140deg,var(--mi-mode-surface) 45%,var(--mi-mode-surface-raised));--mi-gradient-soft:linear-gradient(120deg,var(--mi-mode-surface),var(--mi-mode-surface-raised));--mi-gradient-selected:linear-gradient(115deg,var(--mi-mode-surface-hover),var(--mi-mode-surface));--mi-gradient-line:var(--mi-mode-line);--mi-gradient-ink:var(--mi-mode-ink);--site-control-ink:var(--mi-mode-ink);--site-control-line:var(--mi-mode-control-line,#667c98);--site-accent-soft:var(--mi-mode-accent-soft);--site-accent-border:var(--mi-mode-accent-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) #wrapper,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-public-page,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page{background-color:var(--mi-mode-page);color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .user-menu-small-nav a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .language-switcher .dropdown-menu.inner a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .header-notifications-trigger a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-verification-language nav a{color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header #header .language-switcher>.dropdown-toggle,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-verification-language summary{background:var(--mi-mode-surface-raised);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line,#667c98)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .user-menu .header-notifications-dropdown,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .language-switcher>.dropdown-menu,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header #header .language-switcher>.dropdown-menu,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-verification-language nav{background:var(--mi-mode-surface-raised);color:var(--mi-mode-ink);border-color:var(--mi-mode-line);box-shadow:0 16px 40px #0005}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .user-menu-small-nav a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .language-switcher .dropdown-menu.inner a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-verification-language nav a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-verification-language nav a[aria-current]{background:var(--mi-mode-surface-hover);color:var(--mi-mode-link);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header #header .language-switcher>.dropdown-toggle .caret{border-top-color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header #header .bootstrap-select.language-switcher>.dropdown-toggle{background:var(--mi-mode-surface-raised)!important;color:var(--mi-mode-ink)!important;border-color:var(--mi-mode-control-line,#667c98)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header #header .bootstrap-select.language-switcher>.dropdown-toggle :is(.filter-option,.filter-option-inner,.filter-option-inner-inner){background:transparent!important;color:var(--mi-mode-ink)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher>.dropdown-menu,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner{background:var(--mi-mode-surface-raised)!important;color:var(--mi-mode-ink)!important;border-color:var(--mi-mode-control-line,#667c98)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner a .text{background:transparent!important;color:var(--mi-mode-ink)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner a:focus,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-header .language-switcher .dropdown-menu.inner .selected>a{background:var(--mi-mode-surface-hover)!important;color:var(--mi-mode-link)!important}

/* Public typography, articles, support pages and legal documents. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(.mi-public-page,.mi-public-section,.mi-home-faq,.mi-article-grid,.mi-home-pricing,.mi-social-section,.mi-partners-section,.mi-support-page,.mi-document-page,.mi-shop) :is(h1,h2,h3,h4,h5,h6),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-section-top h2,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-faq-item summary,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-card figcaption strong,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-copy h3,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-navigation a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>label{color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-section-top p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-faq p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-info-card p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-step-card p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-public-note p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-example-copy p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-card p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-public-caption,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-copy p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-copy time,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-header time,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-faq-answer,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-card blockquote,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-card figcaption div>span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-position,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-social-heading p:not(.mi-eyebrow),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-blog-search label,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checklist li,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-body,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-copy,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-section p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-contact p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-navigation p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-card p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-contact-list li,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>label span{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-public-text-link,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-body a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-copy>.mi-public-text-link,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-copy a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-email,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-links>a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-contact-list a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-contact-icon,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-quote,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-initial,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-icon,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-number,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checklist li span{color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-faq,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-public-note,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checklist,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-empty-state,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-social-section,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-partners-section,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-copy blockquote{background:var(--mi-mode-page);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-info-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-step-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-example-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-faq-item,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-form-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-reading,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-navigation,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-help,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-copy,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-contact{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-example-art,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-example-card:nth-child(2) .mi-example-art,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-example-card:nth-child(3) .mi-example-art,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-tags a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-number,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-icon,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-initial,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-arrow,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-partner-toggle,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-number,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-tabs a{background:var(--mi-mode-surface-raised);color:var(--mi-mode-link);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-tags,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-card figcaption,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-links>a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-section,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-copy :is(th,td),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-navigation a{border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-section:target,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-navigation a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-navigation a[aria-current],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-tabs a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-tabs a.is-active{background:var(--mi-mode-surface-hover);color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-review-arrow:hover:not(:disabled),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-partner-toggle:hover{background:var(--mi-mode-surface-hover);color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-guide-screen,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-image:has(img[src*="menuin-screen-"]),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-article-cover[src*="menuin-screen-"]{background:var(--mi-mode-surface-raised);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-guide-screen figcaption{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .pagination li a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .pagination li span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .page-link,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .blog-widget,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .comments-box{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .pagination li.active>a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .page-item.active .page-link,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .pagination li a:hover{background:var(--mi-mode-surface-hover);color:var(--mi-mode-link);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .comments-text p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .avatar-name span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .blog-widget .text-muted,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .blog-comment-form p{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .avatar-name h5,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .widget-title{color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .comments-reply{color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-blog-search input{border-color:var(--mi-mode-control-line,#667c98)!important}

/* Home component tokens and actual interface chrome; media/QR artwork retains its original colors. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-cap-home{--mc-ink:var(--mi-mode-ink);--mc-muted:var(--mi-mode-muted);--mc-line:var(--mi-mode-line);--mc-soft:var(--mi-mode-surface-raised);--mc-paper:var(--mi-mode-page);--mc-accent:var(--mi-mode-link);background:var(--mi-mode-page);color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-hero{background:radial-gradient(ellipse at 86% 35%,var(--mi-mode-accent-soft),transparent 55%),linear-gradient(180deg,var(--mi-mode-surface),var(--mi-mode-page));border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-example-link,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .hs-stage,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .hs-tabs>a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-feature,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-flow,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-resource,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-review-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-price-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-price-cycles,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-tags span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-sectors span{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-import-wrap,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-home-pricing,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-social-section,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-partners-section,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-faq-section{background:var(--mi-mode-page);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-flow-review,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-flow-source,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-reader .mc-icon,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-flow-play,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-flow[data-stage="3"] .mc-flow-result{background:var(--mi-mode-surface-raised);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-hero-note,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .hs-menu-link small,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-plan-price span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-price-features li{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .hs-menu-link strong,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-price-features li:nth-child(-n+3){color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .hs-tabs>a[aria-selected="true"],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-price-cycle input:checked+span{background:var(--mi-mode-action);color:var(--mi-mode-action-ink);border-color:#5f8caf}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-paper{--mc-ink:#142f46;--mc-muted:#465d6f;--mc-accent:#00518f;color:#142f46;background:#fffdf8;border-color:#e6e2d8}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mc-paper h3{color:#142f46}

/* Pricing: selected plans and buttons keep their native semantic state. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mi-home-pricing{color:var(--mi-mode-ink);background:var(--mi-mode-page)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-cycles{background:var(--mi-mode-surface);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-pricing-heading p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-cycle span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-plan-price span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-features li{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-plan-price strong,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-feature-state.is-yes{color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-card-head,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-feature-state{border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-feature-state{background:var(--mi-mode-surface-raised);color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-feature-state.is-yes{color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-plan-button.is-secondary{background:var(--mi-mode-surface-raised);color:var(--mi-mode-link);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-cycle input:checked+span{background:var(--mi-mode-action);color:var(--mi-mode-action-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 #pricing .mi-plan-button:disabled{background:var(--mi-mode-surface-raised)!important;color:var(--mi-mode-muted)!important;border-color:var(--mi-mode-line)!important}

/* Public forms and authentication, including restricted verification/phone setup. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input.input-text,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input.with-border,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input[type="email"],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input[type="search"],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) textarea.with-border,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>input.with-border,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>textarea.with-border,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-blog-search input{background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line,#667c98);box-shadow:none}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) textarea::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card input.input-text::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>input::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>textarea::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-blog-search input::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop input::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop textarea::placeholder,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout input::placeholder{color:var(--mi-mode-muted)!important;opacity:1}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input.input-text:focus,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input.with-border:focus,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) textarea.with-border:focus,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>input.with-border:focus,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .mi-support-field>textarea.with-border:focus{background:var(--mi-mode-input);border-color:var(--mi-mode-link);box-shadow:0 0 0 3px #91caff24}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(a,button,input,textarea,summary,select):focus-visible{outline-color:var(--mi-mode-link)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel){accent-color:#91caff}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel).mi-auth-page #wrapper{background:linear-gradient(145deg,#142036 0%,var(--mi-mode-page) 65%,#111d2d 100%)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card{background:var(--mi-gradient-card);border-color:var(--mi-mode-line);box-shadow:0 12px 40px #0003;color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .welcome-text h1,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-field-label,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-email{color:var(--mi-mode-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .welcome-text span,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .checkbox label,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-auth-note,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-help,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-resend-hint,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-email-correction>p,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-footer,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-footer a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-actions .mi-verification-logout{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card a,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card a:hover,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-actions button,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-email-correction summary{color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card input.input-text,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-native-phone-code,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .phone-input-row .bootstrap-select>.dropdown-toggle{background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line,#667c98)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-buttons button{background:var(--mi-mode-surface-raised);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-buttons button:hover{background:var(--mi-mode-surface-hover);border-color:#6687aa}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator span{background:transparent;color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator::before,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator::after{background:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-actions,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-email-correction{border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-icon{background:var(--mi-mode-surface-raised);color:var(--mi-mode-link);border-color:#6687aa}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-alert{background:#142e45;color:#b7ddff;border-color:#486a8f}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-alert.is-error,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .notification.error,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .notification.error p{background:#351f2b;color:#ffb4b4;border-color:#85515a}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .status-not-available,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-error,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-support-page .status-not-available{color:#ffb4b4}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .status-not-available,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .invalid-feedback{color:#ffb4b4}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input.has-error,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .has-error input,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) input[aria-invalid="true"],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) textarea[aria-invalid="true"],
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) select[aria-invalid="true"]{border-color:#ffb4b4!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-actions button:disabled{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .notification.success,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .notification.success p{background:#16352d;color:#b0e8c8;border-color:#426d59}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .notification.warning,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .user-status-message{background:#342d1d;color:#f0d89e;border-color:#74613a}

/* Branded shop: chrome and text only; product photos, QR previews and print artwork are preserved. */

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop{--s-ink:var(--mi-mode-ink);--s-muted:var(--mi-mode-muted);--s-line:var(--mi-mode-line);--s-soft:var(--mi-mode-surface-raised);--s-accent:var(--mi-mode-link);color:var(--mi-mode-ink);background:var(--mi-mode-page)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-product,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-detail,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-summary,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-flow,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-form,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-order-card,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-table-wrap,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-empty{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-secondary,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-pill,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-tag,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-qty,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-option,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-chip{background:var(--mi-mode-surface-raised);color:var(--mi-mode-link);border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-button.s-secondary{color:var(--mi-mode-link)!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-button:not(.s-secondary):not(.s-danger),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-chip[aria-current="true"]{background:var(--mi-mode-action);color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop :is(p,label,small,td,th),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-muted{color:var(--mi-mode-muted)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-price,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-total,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop a:not(.s-button){color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select){background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line,#667c98)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop :is(td,th),
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-line{border-color:var(--mi-mode-line)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop input[type="file"]::file-selector-button{background:var(--mi-mode-surface-hover);color:var(--mi-mode-link)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-alert{background:#142e45;color:#b7ddff;border-color:#486a8f}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-alert.s-error,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-status-cancelled,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-button.s-danger{background:#351f2b;color:#ffb4b4!important;border-color:#85515a}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-status-paid,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-status-completed{background:#16352d;color:#b0e8c8}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop .s-status-production{background:#342d1d;color:#f0d89e}

/* Checkout uses the public shell; change only its presentation, never payment state or routing. */

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout{--mc-accent:var(--mi-mode-link);--mc-soft:var(--mi-mode-surface-raised);color:var(--mi-mode-ink)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout h1,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout h2,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-field label,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-totals dd,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-total dt,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway-choice strong,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-modes legend,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-modes label,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-bank{color:var(--mi-mode-ink)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-heading p,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-card-head p,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-totals dt,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-submit-row p,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway-details p{color:var(--mi-mode-muted)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-card,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-back{background:var(--mi-mode-surface);border-color:var(--mi-mode-line);color:var(--mi-mode-ink)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-summary-top,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway-choice,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway-details,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-plan-icon,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-period,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-secondary{background:var(--mi-mode-surface-raised);border-color:var(--mi-mode-line)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-summary-top,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-totals .mc-fee,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-totals .mc-total,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-coupon,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway{border-color:var(--mi-mode-line)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway.is-selected{border-color:var(--mi-mode-link)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout input:not([type="radio"]):not([type="hidden"]),
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout select{background-color:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line,#667c98)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout [aria-invalid="true"]{background-color:#351f2b!important;border-color:#ffb4b4!important}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-alert,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-error{color:#ffb4b4}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-alert{background:#351f2b;border-color:#85515a}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-coupon-applied,
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-coupon-applied a{background:#16352d;color:#b0e8c8}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-discount dd{color:#b0e8c8}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-primary{background:var(--mi-mode-action);color:var(--mi-mode-action-ink)}

html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-gateway-choice img{background:#fff}

/* Shared brand blues and neutral surfaces; declarations below change colors only. */
@media screen {
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel){--site-accent:#00518f;--site-accent-hover:#003e70;--site-accent-soft:var(--mi-mode-accent-soft);--site-accent-border:var(--mi-mode-accent-line);--site-control-ink:var(--mi-mode-ink);--site-control-line:var(--mi-mode-control-line);--mi-gradient-action:#00518f;--mi-gradient-action-hover:#003e70;--mi-gradient-hero:linear-gradient(120deg,#102b4a,#00518f);accent-color:var(--mi-mode-link)}

html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel){background:var(--mi-mode-page);color:var(--mi-mode-ink);--mi-gradient-card:linear-gradient(140deg,var(--mi-mode-surface) 50%,var(--mi-mode-surface-hover));--mi-gradient-lilac:linear-gradient(140deg,var(--mi-mode-surface) 45%,var(--mi-mode-surface-hover));--mi-gradient-teal:linear-gradient(140deg,var(--mi-mode-surface) 45%,var(--mi-mode-surface-hover));--mi-gradient-soft:linear-gradient(120deg,var(--mi-mode-surface),var(--mi-mode-surface-hover));--mi-gradient-selected:linear-gradient(115deg,var(--mi-mode-accent-soft),var(--mi-mode-surface));--mi-gradient-line:var(--mi-mode-line);--mi-gradient-ink:var(--mi-mode-ink)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(.mi-home-v2,.mi-cap-home){--mc-ink:var(--mi-mode-ink);--mc-muted:var(--mi-mode-muted);--mc-line:var(--mi-mode-line);--mc-soft:var(--mi-mode-surface-hover);--mc-paper:var(--mi-mode-page);--mc-accent:var(--mi-mode-link);--mh-gradient:var(--mi-mode-action);background:var(--mi-mode-page);color:var(--mi-mode-ink)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 .mh-hero{background:radial-gradient(ellipse at 86% 35%,var(--mi-mode-accent-soft),transparent 55%),linear-gradient(180deg,var(--mi-mode-page),var(--mi-mode-surface));border-color:var(--mi-mode-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 :is(.mh-import-wrap,.mi-home-pricing,.mc-faq-section){background:var(--mi-mode-page);border-color:var(--mi-mode-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 :is(.mh-example-link,.hs-stage,.hs-tabs>a,.mc-feature,.mc-flow,.mh-resource,.mi-review-card,.mi-price-card,.mi-price-cycles,.mc-tags span,.mc-sectors span){background:var(--mi-mode-surface);border-color:var(--mi-mode-line)}

/* Positive actions use a paired background/ink in both modes. Busy and disabled states remain owned by their components. */
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :where(.btn-primary,.mc-primary,.mc-button,.mi-public-button:not(.is-secondary),.mi-auth-card form button.button,.mi-plan-button:not(.is-secondary)):not(:disabled):not(.button-progress){background:var(--mi-mode-action)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :where(.btn-primary,.mc-primary,.mc-button,.mi-public-button:not(.is-secondary),.mi-auth-card form button.button,.mi-plan-button:not(.is-secondary)):not(:disabled):not(.button-progress):hover{background:var(--mi-mode-action-hover)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action-hover)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(#header .button:not(.gray)):not(:disabled):not(.button-progress){background:var(--mi-mode-action)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(#header .button:not(.gray)):not(:disabled):not(.button-progress):hover{background:var(--mi-mode-action-hover)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action-hover)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-v2 :is(.hs-tabs>a[aria-selected="true"],.mi-price-cycle input:checked+span,.mc-demo-tabs>button[aria-selected="true"]),
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-home-pricing .mi-price-cycle input:checked+span,
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .page-item.active .page-link{background:var(--mi-mode-action);color:var(--mi-mode-action-ink);border-color:var(--mi-mode-action)}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(.hs-copy .mc-button,.mc-hero-copy .mc-button,.mi-hero-copy .button,.s-hero .s-button,.mc-final .mc-button,.mi-public-cta .mi-public-button):not(:disabled):not(.button-progress){background:#fff!important;color:#00518f!important;border-color:#fff!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :is(.hs-copy .mc-button,.mc-hero-copy .mc-button,.mi-hero-copy .button,.s-hero .s-button,.mc-final .mc-button,.mi-public-cta .mi-public-button):not(:disabled):not(.button-progress):hover{background:#e8f2fc!important;color:#00518f!important;border-color:#e8f2fc!important}
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :where(.mi-shop .s-button:not(.s-secondary):not(.s-danger)):not(:disabled):not(.button-progress){background:var(--mi-mode-action)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)}
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) :where(.mi-shop .s-button:not(.s-secondary):not(.s-danger)):not(:disabled):not(.button-progress):hover{background:var(--mi-mode-action-hover)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action-hover)}

/* Light authentication now uses the same readable neutrals and brand focus colors as public pages. */
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel).mi-auth-page #wrapper{background:linear-gradient(145deg,var(--mi-mode-accent-soft),var(--mi-mode-page) 65%,var(--mi-mode-surface))}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(.welcome-text h1,.mi-field-label,.mi-verification-email){color:var(--mi-mode-ink)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(.welcome-text span,.checkbox label,.mi-auth-note,.mi-verification-help,.mi-verification-resend-hint,.mi-email-correction>p,.mi-verification-logout),
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-footer,
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-footer a{color:var(--mi-mode-muted)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(input.input-text,.mi-native-phone-code,.phone-input-row .bootstrap-select>.dropdown-toggle){background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card input.input-text::placeholder{color:var(--mi-mode-muted)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(input.input-text,.mi-native-phone-code):focus{border-color:var(--mi-mode-link)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-buttons button{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-buttons button:hover{background:var(--mi-mode-surface-hover);border-color:var(--mi-mode-link)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator span{background:transparent;color:var(--mi-mode-muted)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator::before,
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .social-login-separator::after{background:var(--mi-mode-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(.mi-verification-actions,.mi-email-correction){border-color:var(--mi-mode-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-alert:not(.is-error){background:var(--mi-mode-accent-soft);color:var(--mi-mode-link);border-color:var(--mi-mode-accent-line)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-verification-actions button:disabled{color:var(--mi-mode-muted)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card :is(input.has-error,.has-error input,input[aria-invalid="true"]){border-color:#b42318!important}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-footer a:hover{color:var(--mi-mode-link)}

html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-shop{--s-ink:var(--mi-mode-ink);--s-muted:var(--mi-mode-muted);--s-line:var(--mi-mode-line);--s-soft:var(--mi-mode-surface-hover);--s-accent:var(--mi-mode-link)}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout{--mc-accent:var(--mi-mode-link);--mc-soft:var(--mi-mode-surface-raised)}

/* Authentication controls retain the appearance palette over legacy browser fills. */
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .phone-input-row .bootstrap-select>.dropdown-toggle{background:var(--mi-mode-input)!important;color:var(--mi-mode-ink)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card input.input-text:is(:-webkit-autofill,:autofill){-webkit-text-fill-color:var(--mi-mode-ink)!important;box-shadow:0 0 0 30px var(--mi-mode-input) inset!important;caret-color:var(--mi-mode-link)}
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-auth-card .mi-username-suggest:not(:disabled){color:var(--mi-mode-link)!important}
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-help p{color:var(--mi-mode-muted)}
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-document-page .mi-document-help a{color:var(--mi-mode-link)}
html[data-mi-theme="light"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-blog-search input{color:var(--mi-mode-ink)}
}

/* Gateway pages use application colors only inside the public application shell. */
@media screen {
html[data-mi-theme] body.mi-public-site #header-container>.notification.notice{background:var(--mi-mode-accent-soft);color:var(--mi-mode-link);border-color:var(--mi-mode-accent-line)}
html[data-mi-theme] body.mi-public-site #header-container>.notification.notice :is(span,strong,a){color:inherit}
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header),
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header) :is(#header,.left-side,.right-side){background:var(--mi-mode-surface)!important;color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header) .navbar-resource-links{background:var(--mi-mode-surface-raised);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header) .navbar-item{background:transparent;color:var(--mi-mode-ink)!important}
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header) .navbar-item:is(.active,:hover,:focus-visible){background:var(--mi-mode-accent-soft);color:var(--mi-mode-link)!important}
html[data-mi-theme] body.mi-public-site #header-container:not(.mi-home-header) .navbar-item:focus-visible{outline:2px solid var(--mi-mode-link);outline-offset:2px}
html[data-mi-theme] body.mi-public-site #header .language-switcher.bootstrap-select>.dropdown-toggle{background:var(--mi-mode-input)!important;color:var(--mi-mode-ink)!important;border-color:var(--mi-mode-control-line)!important}
html[data-mi-theme] body.mi-public-site #header .language-switcher.bootstrap-select>.dropdown-toggle:hover{background:var(--mi-mode-surface-hover)!important;border-color:var(--mi-mode-link)!important}
html[data-mi-theme] body.mi-site-gradient .mi-shop .s-check>span{color:var(--mi-mode-ink)}
html[data-mi-theme] body.mi-site-gradient #titlebar.mi-payment-titlebar{background:var(--mi-mode-page);color:var(--mi-mode-ink)}
html[data-mi-theme] body.mi-site-gradient #titlebar.mi-payment-titlebar #breadcrumbs{background:var(--mi-mode-surface-hover)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-titlebar h2,
html[data-mi-theme] body.mi-site-gradient .mi-payment-page :is(h1,h5){color:var(--mi-mode-ink)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-titlebar #breadcrumbs :is(li,a),
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .text-muted{color:var(--mi-mode-muted)!important}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .dashboard-box{background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .basic-table,
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .basic-table :is(th,td){background:var(--mi-mode-surface);color:var(--mi-mode-ink);border-color:var(--mi-mode-line)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .basic-table tr:nth-child(even) :is(th,td){background:var(--mi-mode-surface-hover)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .form-control{background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .form-control:focus{border-color:var(--mi-mode-link)}
html[data-mi-theme] body.mi-site-gradient :is(.mi-checkout input,.mi-payment-page .form-control)::placeholder{color:var(--mi-mode-muted);opacity:1}
html[data-mi-theme] body.mi-site-gradient :is(.mi-checkout input,.mi-payment-page .form-control):is(:-webkit-autofill,:autofill){-webkit-text-fill-color:var(--mi-mode-ink)!important;box-shadow:0 0 0 30px var(--mi-mode-input) inset!important;caret-color:var(--mi-mode-link)}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .button:not(.gray){background:var(--mi-mode-action)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)!important}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .button:not(.gray):not(:disabled):hover{background:var(--mi-mode-action-hover)!important;border-color:var(--mi-mode-action-hover)!important}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .button.gray{background:var(--mi-mode-surface-hover)!important;color:var(--mi-mode-ink)!important;border-color:var(--mi-mode-line)!important}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page .button.gray:hover{background:var(--mi-mode-accent-soft)!important;color:var(--mi-mode-link)!important;border-color:var(--mi-mode-accent-line)!important}
html[data-mi-theme] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel) .mi-checkout .mc-primary:disabled{background:var(--mi-mode-surface-hover);color:var(--mi-mode-muted);border-color:var(--mi-mode-line);opacity:1}
html[data-mi-theme] body.mi-site-gradient .mi-payment-page :is(.button,.form-control):focus-visible{outline:2px solid var(--mi-mode-link);outline-offset:3px}
html[data-mi-theme="dark"] body.mi-site-gradient .mi-payment-page .form-error{color:#ffb4b4}
html[data-mi-theme] body.mi-payment-redirect{display:grid;place-items:center;min-height:100svh;margin:0;padding:24px;box-sizing:border-box;background:var(--mi-mode-page);color:var(--mi-mode-ink);font:16px/1.6 system-ui,sans-serif}
html[data-mi-theme] .mi-payment-redirect-message{max-width:480px;margin:0;padding:24px;border:1px solid var(--mi-mode-line);border-radius:16px;background:var(--mi-mode-surface);color:var(--mi-mode-ink);text-align:center}
html[data-mi-theme="light"] body.mi-site-gradient .quickad-template .notification.success{background:#ebf6e0;color:#2f641b;border-color:#b9d59f}
html[data-mi-theme="dark"] body.mi-site-gradient .quickad-template .notification.success{background:#16352d;color:#b0e8c8;border-color:#426d59}
}

/* Standalone error and native sign-in return pages share the saved appearance. */
@media screen {
/* Explanatory text and the inactive language demo remain readable in both modes. */
html[data-mi-theme] body.mi-site-gradient .mi-public-caption{color:var(--mi-mode-muted)}
html[data-mi-theme] body.mi-site-gradient :is(.mi-article-body,.mi-document-copy) blockquote{color:var(--mi-mode-muted);border-color:var(--mi-mode-accent-line)}
html[data-mi-theme] body.mi-site-gradient .fpd select.with-border{background:var(--mi-mode-input);color:var(--mi-mode-ink);border-color:var(--mi-mode-control-line)}
html[data-mi-theme] body.mi-site-gradient .fpd select option{background:var(--mi-mode-input);color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-cropper-page{background:var(--mi-mode-page);color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-cropper-page h2{color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-cropper-page .toolbar{flex-wrap:wrap;color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-cropper-page select{max-width:100%;border:1px solid var(--mi-mode-control-line);border-radius:8px;background:var(--mi-mode-input);color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-cropper-page #btnSend{border:1px solid var(--mi-mode-action);border-radius:8px;background:var(--mi-mode-action);color:var(--mi-mode-action-ink)}
html[data-mi-theme] .mi-cropper-page #btnSend:hover{border-color:var(--mi-mode-action-hover);background:var(--mi-mode-action-hover)}
html[data-mi-theme] .mi-cropper-page :is(select,#btnSend):focus-visible{outline:2px solid var(--mi-mode-link);outline-offset:3px}
html[data-mi-theme] body:is(.mi-error-page,.mi-native-return-page){background:var(--mi-mode-page);color:var(--mi-mode-ink)}
:is(.mi-error-tools,.mi-native-return-tools){display:flex;justify-content:flex-end;margin-block-end:16px}
html[data-mi-theme] .mi-error-page #not-found h2{color:var(--mi-mode-ink)}
html[data-mi-theme] .mi-error-page #not-found p{color:var(--mi-mode-muted)}
html[data-mi-theme] .mi-error-page a.button,
html[data-mi-theme] .mi-native-return-page .mi-native-return-action{background:var(--mi-mode-action)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action)!important}
html[data-mi-theme] .mi-error-page a.button:hover,
html[data-mi-theme] .mi-native-return-page .mi-native-return-action:hover{background:var(--mi-mode-action-hover)!important;color:var(--mi-mode-action-ink)!important;border-color:var(--mi-mode-action-hover)!important}
html[data-mi-theme] .mi-native-return-page main{background:var(--mi-mode-surface);border-color:var(--mi-mode-line);box-shadow:0 16px 40px color-mix(in srgb,var(--mi-mode-ink) 8%,transparent)}
html[data-mi-theme] .mi-native-return-page h1{color:var(--mi-mode-link)}
html[data-mi-theme] .mi-native-return-page p{color:var(--mi-mode-muted)}
html[data-mi-theme] :is(.mi-error-page a.button,.mi-native-return-page .mi-native-return-action):focus-visible{outline:2px solid var(--mi-mode-link);outline-offset:3px}
}
