/* Shared customer palette, loaded after legacy per-space styles. Bank UI and
   website logos retain their own artwork. */
html[data-customer-appearance="mowo"][data-theme="dark"] {
  --background:#061e3c;--surface:#142d46;--surface-muted:#20394f;--text:#f6f8fc;
  --muted:#bbcbdc;--border:#36536d;--shadow:0 10px 28px #020d1b26;
  --mowo-glass:rgba(14,37,63,.64);--mowo-header-glass:rgba(6,30,60,.94);
  --mowo-sheet-tint:rgba(13,34,59,.76);--mowo-sheet-text:#f6f8fc;
  --mowo-sheet-border:#7893ae66;--mowo-sheet-heading-shadow:none;
}
html[data-customer-appearance="mowo"][data-theme="light"] {
  --mowo-glass:rgba(255,255,255,.64);--mowo-header-glass:rgba(243,246,250,.94);
  --mowo-sheet-tint:rgba(248,251,255,.91);--mowo-sheet-text:#102b46;
  --mowo-sheet-border:#b8cada;--mowo-sheet-heading-shadow:none;
  --orbit-navy:#f3f6fa;--orbit-text:#102b46;--orbit-border:#b8cada;--orbit-line:#c3d4e3;
  --mowo-entry-canvas:#f3f6fa;--mowo-field:#fff;--mowo-border:#b8cada;
  --mowo-text:#102b46;--mowo-muted:#52647a;
}
html[data-customer-appearance="mowo"][data-theme][lang] {background:var(--background)!important}
html[data-customer-appearance="mowo"][data-theme][lang] body {background:var(--background)!important;color:var(--text)}
html[data-customer-appearance="mowo"][data-theme] :is(input,select,textarea) {color:var(--text);border-color:var(--border)}
html[data-customer-appearance="mowo"][data-theme] :is(input,textarea)::placeholder {color:var(--muted)}
html[data-customer-appearance="mowo"][data-theme] :is(.catalog-empty,.restaurant-step-empty,.restaurant-favorites-empty,.nearby-stores-empty) {background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important;border-radius:24px;box-shadow:none}
html[data-customer-appearance="mowo"][data-theme] :is(.catalog-empty,.restaurant-step-empty,.restaurant-favorites-empty,.nearby-stores-empty) :is(h2,h3,p) {color:inherit}
html[data-customer-appearance="mowo"][data-theme] :is(.product-card,.shelf-product,.store-card,.restaurant-card,.product,.offer,.order-row,.checkout-block,.repeat-item,.saved-address-chip,.saved-card,.profile-list-item,.profile-section,.profile-tabs,.cart-item) {background:var(--surface);color:var(--text);border-color:var(--border);border-radius:18px}
html[data-customer-appearance="mowo"][data-theme] :is(.catalog-empty p,.product small,.offer small,.restaurant-card-copy small,.restaurant-menu-item small,.restaurant-menu-item p,.restaurant-menu-item .dish-description) {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-section .restaurant-menu-grid {gap:12px}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-section .restaurant-menu-item {padding:14px;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:var(--shadow);min-width:0}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-section .restaurant-menu-item>img {border-radius:16px}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-section .restaurant-menu-item h3 {color:var(--text)}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-tabs {background:var(--surface);border-color:var(--border);border-radius:16px;padding-inline:12px}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-tabs button {color:var(--muted)}
html[data-customer-appearance="mowo"][data-theme] .restaurant-menu-tabs button.active {color:#ff9a57}
/* Restore glass navigation arrows instead of generic cream button styling. */
html[data-customer-appearance="mowo"][data-theme] body #back-to-categories {background:var(--mowo-glass)!important;background-image:none!important;border:1px solid var(--border)!important;color:var(--text)!important;box-shadow:0 5px 18px #04162d16!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
html[data-customer-appearance="mowo"][data-theme] body #back-to-categories .category-direction {color:inherit!important;background:transparent!important}
html[data-customer-appearance="mowo"][data-theme="dark"] body #orders-modal>.orders-modal-content>h2 {color:#fff!important}
html[data-customer-appearance="mowo"][data-theme="light"] body #orders-modal>.orders-modal-content>h2 {color:#102b46!important}
/* Compact chat composer, no unused row beneath the attachment controls. */
html[data-customer-appearance="mowo"][data-theme] body #support-modal>.support-chat-window {display:flex;flex-direction:column;gap:0;padding:0!important;overflow:hidden!important}
html[data-customer-appearance="mowo"][data-theme] body #support-modal #support-messages {flex:1 1 0;min-height:0!important;margin:0;overflow:auto;background:transparent!important}
html[data-customer-appearance="mowo"][data-theme] body #support-modal #support-form {display:flex;align-items:center;flex:0 0 auto;gap:8px;margin:0;padding:10px 10px max(10px,env(safe-area-inset-bottom,0px));background:var(--mowo-glass)!important;border-color:var(--border)}
html[data-customer-appearance="mowo"][data-theme] body #support-modal #support-input {background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important;margin:0}
html[data-customer-appearance="mowo"][data-theme] body #support-modal #support-input::placeholder {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme] body #support-modal .mowo-photo-tools {margin:0;gap:8px;line-height:1}
html[data-customer-appearance="mowo"][data-theme] body #support-modal .mowo-photo-tools>small:empty {display:none}
html[data-customer-appearance="mowo"][data-theme] body #support-modal .mowo-photo-tools button {background:transparent!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-customer-appearance="mowo"][data-theme] body #support-modal .support-chat-head {color:var(--text)!important;background:var(--mowo-glass)!important}
html[data-customer-appearance="mowo"][data-theme] body #support-modal .support-chat-head :is(h2,small) {color:var(--text)!important;text-shadow:none}
html[data-customer-appearance="mowo"][data-theme] body[data-mowo-buttons] #delivery-form :is(.parcel-address-tools,.map-controls) button {background:var(--surface-muted)!important;color:var(--text)!important;border:1px solid var(--border)!important;box-shadow:none!important}
html[data-customer-appearance="mowo"][data-theme] body #delivery-form .map-controls button[aria-pressed="true"] {border-color:#f76b14!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] #auth :is(#title,.welcome-auth-intro,#form>label,.entry-signup,.entry-reset) {color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] #choices .roles .staff-entry button {background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
.mowo-theme-control {min-width:0;margin:0;padding:10px 0;border:0;color:var(--text)}
.mowo-theme-control legend {font-size:13px;font-weight:750;padding:0 0 8px}
.mowo-theme-control>div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html[data-theme] body .mowo-theme-control button {min-height:44px;min-width:0;padding:8px 4px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;cursor:pointer}
html[data-theme] body .mowo-theme-control button[aria-pressed="true"] {border-color:#f76b14;box-shadow:inset 0 0 0 1px #f76b14;background:var(--surface-muted)}
.mowo-theme-control button:focus-visible {outline:2px solid #f76b14;outline-offset:3px}
/* Light counterparts for the old navy-only header and home mosaic. */
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>header::before {background:var(--mowo-header-glass)!important;border-color:var(--border)!important}
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>header :is(.customer-shell-control,#header-search-toggle,.profile-header-button,.header-search-panel,.customer-header-location),
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>header>.customer-header-location {background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>header .customer-header-location::after {color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>main :is(.category-label,#category-title,#catalog-title) {color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"][lang] body>main :is(#category-note,#catalog-eyebrow,.intro) {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit[data-home-services="mosaic"] .mowo-orbit-space {background:#e1edf1;color:#102b46}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit[data-home-services="mosaic"] .mowo-orbit-restaurant {background:#e8ebf0}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit[data-home-services="mosaic"] .mowo-orbit-parcel {background:#e9e7f1}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit[data-home-services="mosaic"] .mowo-orbit-other {background:#e0ece8}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit .mowo-orbit-slogan-typeset {fill:#405871}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit .mowo-orbit-space small {color:#52647a}
/* Website logo itself is unchanged, including its animation. */
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit .mowo-orbit-hub {background:#061e3c;color:#f6f8fc}
html[data-customer-appearance="mowo"][data-theme="light"] .mowo-home-orbit .mowo-orbit-wordmark {color:#f6f8fc}
html[data-customer-appearance="mowo"][data-theme="light"] :is(.profile-title,.profile-title .language-switcher select,.profile-title .language-switcher select option) {color:var(--text);text-shadow:none}
html[data-customer-appearance="mowo"][data-theme="light"] :is(.profile-title .language-switcher select option,.header-search-panel input,.filters input,.filters select) {background:var(--surface)!important;color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"] #stores-modal :is(.store-directory-row,.store-type-filters button,.modal-close) {background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-customer-appearance="mowo"][data-theme="light"] #stores-modal :is(.store-directory-row small,.store-directory-caption,.store-directory-row em) {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme="light"] #stores-modal .store-type-filters button.active {border-color:#f76b14!important}
html[data-customer-appearance="mowo"][data-theme="light"] :is(.customer-area-footer,.customer-area-heading,.customer-area-search-row) {color:var(--text)}
html[data-customer-appearance="mowo"][data-theme="light"] .customer-area-search-row button {background:var(--surface)!important;color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] :is(main,.auth-panel,.welcome-language,.welcome-language option) {background:var(--background);color:var(--text);border-color:var(--border)}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] :is(.welcome-heading h1,.welcome-heading .intro,.welcome-language select,.auth-panel h2,.auth-panel label,.auth-panel p,.auth-link,#back) {color:var(--text)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] .welcome-photo::after {background:linear-gradient(#f3f6fa 4%,#f3f6faa8 35%,#f3f6fa33 52%,#f3f6fa 78%)}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] :is(input,select) {background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] #auth :is(#register,#forgot-password,#staff-note) {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] #auth .password-visibility-toggle {color:var(--muted)!important}
html[data-customer-appearance="mowo"][data-theme="light"][data-welcome-design] .welcome-wordmark {background:#061e3c;border-radius:12px;padding:6px 10px}
html[data-customer-appearance="mowo"][data-theme="light"] .security-note {background:var(--surface-muted);color:var(--muted)}
html[data-customer-appearance="mowo"][data-theme="light"] .security-note strong {color:var(--text)}
