/* Customer dark appearance, generated against frontend 1.2.68; scope excludes admin and legacy. */
html[data-coop-theme="dark"] { color-scheme: dark; background: #111916; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) {
  --paper: #111916; --canvas: #19241e; --ink: #eaf2ec; --muted: #b5c5ba;
  --accent: #d93c25; --accent-dark: #bd321f; --line: #35463b; --soft-accent: #33241f;
  --panel-bg: #1b2720; --panel-alt: #202f26; --brand-ink: #eef5ee; --divider: #35463b;
  --shadow-1: 0 5px 15px #0005; --shadow-2: 0 12px 34px #0007;
  --theme-surface: #1c2821; --theme-surface-alt: #24342a; --theme-accent-bg: #38251f;
  --theme-positive-bg: #213d2c; --theme-border: #35463b; --theme-green-text: #91d6a7;
  --theme-accent-text: #ffa184; --theme-link-text: #9abefa; --order-green: #267b47; --order-green-dark: #19643a;
  --text-primary: var(--ink); --text-secondary: var(--muted); --text-muted: var(--muted); --app-bg-gradient: none;
  --brand-sand: #19241e; --accent-2: #267b47; --accent-hover: #319655; --shadow-3: 0 18px 44px #0009;
  color: var(--ink); background: var(--paper);
}
/* Native controls, selection and scrollbar inherit the active appearance. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) { accent-color: #5db682; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) ::selection { color: #fff; background: #276343; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select) {
  color: var(--ink) !important; background-color: var(--theme-surface) !important; border-color: var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(input,textarea)::placeholder { color: #a5b8aa !important; opacity: 1; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.screen,.modern-header,.modern-service-bar,.modern-mobile-nav,.modern-site-nav,.profile-container,.cart-container,.pd-container) {
  color: var(--ink); background-color: var(--paper);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.modern-brand,.header-title,.pd-title,.pd-h,.product-name,.product-price-current,.user-info strong) { color: var(--ink) !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.profile-info,.modern-product-card,.product-card,.cart-item,.order-card,.order-item-card,.modern-farmer-profile,.modern-map-dialog,.modern-pwa-guide-card) {
  background-color: var(--theme-surface) !important; border-color: var(--line); color: var(--ink);
}
/* Preserve photographic content and category artwork without filters. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.product-image,.pd-photo,.category-card img,.modern-order-thumb img,.modern-farmer-profile img) { filter: none !important; }

/* From ../legacy/static/style.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .app-header {
  background: linear-gradient(180deg, var(--theme-surface-alt) 0%, var(--theme-surface-alt) 60%, var(--theme-surface-alt) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #main-screen #categories-grid-main .category-card h3 {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-image {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-price {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .quantity-controls {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item-image {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item-price {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .phone-input input,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .code-input input {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-auth-warning {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-amount {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .bottom-nav {
  background: rgba(28,40,33,0.80);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .search-input {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #close-modal {
  background: var(--theme-surface-alt);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .start-notif .start-notif-inner {
  background: rgba(28,40,33,0.92);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .start-notif .start-notif-title span {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .kzh-nso-portal-card {
  background: linear-gradient(155deg, var(--theme-surface) 0%, var(--theme-surface) 58%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .kzh-nso-portal-eyebrow {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .kzh-nso-portal-mark {
  background: linear-gradient(145deg, var(--theme-surface-alt) 0%, var(--canvas) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .kzh-nso-portal-price-old {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .kzh-nso-portal-text {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .vk-ads-gift-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .vk-ads-gift-text {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .spinner {
  border: 4px solid var(--line);
  border-top: 4px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .story-theme-gradient {
  background: radial-gradient(800px 400px at 15% -10%, var(--theme-surface-alt) 0%, var(--theme-surface-alt) 35%, rgba(6,32,20,1) 100%),
      linear-gradient(135deg, #0f3a25, #062014);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #stories-overlay .stories-skip {
  background: var(--theme-surface-alt);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #stories-progress .stories-bar {
  background: var(--theme-surface-alt);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #stories-progress .stories-bar > div {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #cart-items .product-image {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .eo-table {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-item {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .oe-sum {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-pill {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-pill.on {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .oc-item-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-accordion {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-acc-body {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-btn {
  background: rgba(28,40,33,0.90);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-icon {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-btn.fav-active {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-btn.fav-active .fav-icon {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-share-btn {
  background: rgba(28,40,33,0.92);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-share-btn:hover {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .stories-bar {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-photo {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-oval {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-heart {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-heart.fav-active .fav-icon {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-block {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .link-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .video-tutorial-dialog {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-date-chip {
  background: linear-gradient(135deg, var(--theme-surface-alt), var(--theme-surface-alt));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle-thumb {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pickup-banner {
  background: linear-gradient(180deg, var(--theme-surface-alt) 0%, var(--theme-surface-alt) 60%, var(--theme-surface-alt) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-pill {
  background: var(--theme-surface-alt);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-dropdown {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-hint {
  background: var(--theme-surface-alt);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-welcome h2 {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-welcome p {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-select-header h2 {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-select-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-card {
  background: var(--theme-surface);
  border: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-card.unavailable {
  background: linear-gradient(135deg, var(--theme-surface), var(--canvas));
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-icon {
  background: linear-gradient(135deg, var(--canvas), var(--canvas));
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-card.unavailable .provider-icon {
  background: linear-gradient(135deg, var(--canvas), var(--canvas));
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-info h3 {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-info p {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-card {
  background: var(--theme-surface);
  border: 3px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-card.selected {
  background: linear-gradient(135deg, var(--canvas), var(--canvas));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-name {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-address {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-card-footer {
  border-top: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-id {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-selector-dot {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-info {
  background: linear-gradient(135deg, var(--theme-surface), var(--canvas));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info {
  background: linear-gradient(135deg, var(--theme-surface), var(--canvas));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .small-text {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .small-text strong {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-features li {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-features li::before {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-actions-panel {
  background: linear-gradient(to top, var(--theme-surface), rgba(28,40,33,0.95));
  border-top: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-status-panel {
  background: linear-gradient(135deg, var(--theme-surface), var(--theme-surface));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-status-content {
  background: var(--theme-surface);
  border: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-status-title {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-status-message {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .qr-container {
  background: var(--theme-surface);
  border: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .qr-container p {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .qr-container canvas {
  border: 12px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-progress progress::-webkit-progress-bar {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-timer {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .alert-error {
  background: linear-gradient(135deg, var(--canvas), var(--theme-accent-bg));
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .loading-shimmer {
  background: linear-gradient(90deg, var(--canvas) 25%, var(--canvas) 50%, var(--canvas) 75%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .empty-state {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .select-feedback {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #auth-screen .scrollable::-webkit-scrollbar-track,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .scrollable::-webkit-scrollbar-track {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #auth-screen .scrollable::-webkit-scrollbar-thumb,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .scrollable::-webkit-scrollbar-thumb {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-hint {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .provider-card .coming-soon {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-instructions {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .qrcode-box {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .hand-hint-text {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pickup-hint-text {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .floating-search-btn {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .add-to-cart-hint .hint-text {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-auth-panel {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-input {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-input:focus {
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-code-digit {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-code-digit:focus {
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-step {
  background: rgba(28,40,33,0.92);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-input {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-error {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .auth-secondary-btn {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-card {
  background: rgba(28,40,33,0.96);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-top {
  background: linear-gradient(180deg, var(--theme-surface-alt) 0%, rgba(28,40,33,0.92) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-label {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-desc {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-media {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-media-empty {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-nav {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-counter {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-footer {
  background: rgba(28,40,33,0.92);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-links-tab {
  background: rgba(28,40,33,0.92);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-links-tab:hover {
  background: var(--theme-surface);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-links-shell {
  background: var(--theme-surface-alt);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-tg-icon {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-tg-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-info-tg-link {
  color: var(--theme-accent-text);
  background: rgba(28,40,33,0.48);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-type {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .sms-code-digit {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .floating-field .floating-input {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .floating-field .floating-input:focus + label,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .floating-field .floating-input:not(:placeholder-shown) + label {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .floating-field.has-value label {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .anketa-confirm-block {
  background: var(--panel-alt, var(--theme-surface));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .anketa-confirm-label {
  color: var(--text-primary, var(--ink));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .not-found-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .not-found-p {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .not-found-hint {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .product-name {
  text-shadow: 0 1px 3px var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .product-farmer,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .product-weight,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .product-delivery {
  text-shadow: 0 1px 3px var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .product-price {
  text-shadow: 0 1px 3px var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-overlay .delivery-pill {
  background: var(--theme-surface) !important;
  border-color: var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .product-actions {
  background: var(--panel-bg, var(--theme-surface));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .new-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .hit-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .season-item-badge {
  border: 1px solid var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .oc-subblock {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .oc-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .oc-assembled {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-card.product-card-paused {
  background: linear-gradient(180deg, var(--theme-surface) 0%, rgba(163,58,47,.035) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card .paused-item-badge {
  border: 1px solid var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item.cart-item-unavailable {
  background: linear-gradient(180deg, var(--theme-surface) 0%, rgba(163,58,47,.045) 100%) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-trigger {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-trigger:hover {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot.available {
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot.disabled {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot.selected {
  outline: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-calendar-date.unavailable {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-invite-step span {
  background-image: linear-gradient(
        110deg,
        var(--text-primary) 0%,
        var(--text-primary) 40%,
        rgba(28,40,33,0.95) 48%,
        var(--accent-2) 52%,
        var(--text-primary) 60%,
        var(--text-primary) 100%
    );
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-invite-qr {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-month-select {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-stat-row {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-detail-table-wrap {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-detail-dialog {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-detail-dialog-actions {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pin-visibility-toggle {
  background: rgba(28,40,33,0.88);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pin-manage-step {
  background: rgba(28,40,33,0.96);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-farmer-block {
  background: rgba(28,40,33,0.68);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-farmer-count {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-farmer-more-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-farmer-link {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #season-products-container .season-empty {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #season-products-container .season-countdown-panel {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-icon {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-ok {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-icon {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-head,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-head {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-actions {
  background: linear-gradient(180deg, rgba(28,40,33,0.88) 0%, var(--theme-surface) 36%, var(--theme-surface) 100%) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-video-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-video-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-video-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-video-subtitle {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-icon {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-head {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-actions {
  background: linear-gradient(180deg, rgba(28,40,33,0.88) 0%, var(--theme-surface) 36%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-icon {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-head {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-actions {
  background: linear-gradient(180deg, rgba(28,40,33,0.88) 0%, var(--theme-surface) 36%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-head {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-store {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-link {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-actions {
  background: linear-gradient(180deg, rgba(28,40,33,0.88) 0%, var(--theme-surface) 36%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-actions-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-actions-text {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-success-info-ok {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-title,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-subtitle,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-subtitle {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-point-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-point-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-section-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-date-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-date-sum {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-date-ok {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-carrier-line {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-time-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-time-option {
  background: var(--theme-surface);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-warning,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-errors {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-field {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-field input,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-field textarea {
  background: var(--theme-surface);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-private-house {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-no,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-btn-secondary {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-summary-line {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-created-delivery-section {
  background: rgba(28,40,33,0.72);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-params-btn {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-params-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-segmented .cart-delivery-toggle-text::before {
  background: linear-gradient(135deg, var(--theme-surface), rgba(28,40,33,0.92));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-segmented .cart-delivery-toggle-text .cart-delivery-toggle-option {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-segmented .cart-delivery-toggle-input:checked ~ .cart-delivery-toggle-text .delivery-text-off,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-segmented .cart-delivery-toggle-input:not(:checked) ~ .cart-delivery-toggle-text .delivery-text-on {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-global-fulfillment-label {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-global-fulfillment-status {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-toggle-mixed .cart-delivery-toggle-text::before {
  background: linear-gradient(135deg, rgba(28,40,33,0.78), rgba(28,40,33,0.58));
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-toggle-mixed .cart-delivery-toggle-text .delivery-text-on,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-delivery-toggle.cart-delivery-toggle-mixed .cart-delivery-toggle-text .delivery-text-off {
  color: var(--ink) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-global-fulfillment-forced .cart-global-fulfillment-status {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-fee-line,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-total-line {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-total-line {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-btn,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-btn {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-modal,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-modal {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-note,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-note {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-contact,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-contact {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-contact-title,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-contact-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-contact-phone,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-contact-phone {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-contact-text,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-delivery-info-contact-text {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-all-header-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .checkout-delivery-info-group-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-card {
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-subtitle {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-state {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-adapter {
  background: rgba(28,40,33,0.74);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-adapter-desc {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-badge.ok {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-badge.warn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-badge.muted {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-hint {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .contest-product-card {
  background: rgba(28,40,33,0.58);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .contest-stat-main strong {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .contest-leader-row {
  background: rgba(28,40,33,0.55);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .contest-leader-score {
  color: var(--theme-accent-text);
}

/* From ../legacy/static/site-chat.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-fab-icon {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-unread-badge {
  border: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-panel {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-panel.site-chat-fullscreen .site-chat-expand {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-resize-handle::before {
  border-top: 2px solid var(--line);
  border-left: 2px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-header-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-header-btn:hover {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-messages {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-empty {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-label {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-ai .site-chat-message-bubble,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-operator .site-chat-message-bubble {
  background: var(--theme-surface);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-ai .site-chat-message-status,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-operator .site-chat-message-status {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-input-row {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-input {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-history-bar {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-load-more {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-channel-filters {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-channel-chip {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-channel-chip.active .site-chat-channel-count {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-auth-hint {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-channel-badge {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-message-user .site-chat-message-channel-badge {
  background: var(--theme-surface);
}

/* From modern.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-brand i {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-site-nav a:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-change {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-search-trigger {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-search-trigger kbd {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .screen {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .app-header {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-eyebrow {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-catalog-note a {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .top-tabs {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .tab-btn.active,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .tab-btn[aria-selected="true"] {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .tab-btn:hover {
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .category-card {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .category-card--with-bg::before {
  background: linear-gradient(0deg,rgba(28,40,33,0.93) 0%,rgba(28,40,33,0.68) 24%,#ffffff00 65%);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .category-card.modern-farmer-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-farmer-initials {
  background: var(--canvas);
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-card {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-card .delivery-pill {
  background: var(--theme-surface) !important;
  border: 1px solid var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-card .product-actions {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-card .product-share-btn {
  background: rgba(28,40,33,0.93);
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .new-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .hit-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-item-badge {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .season-item-badge {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-btn {
  background: rgba(28,40,33,0.93);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .fav-btn.fav-active {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .quantity-controls {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .quantity-controls .qty-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .primary-btn:hover {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .back-btn {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav button {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav button.active {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profile-info {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-logout button {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-item-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-summary {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-oval {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pd-block {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .link-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-farmer-profile {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-farmer-profile a {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-category-links button {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-store-map-button {
  color: var(--theme-accent-text);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-panel select {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-point {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #modern-map-canvas {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .wave3-seo-block {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).search-fullscreen .search-panel {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).search-fullscreen .search-panel-inner {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).search-fullscreen .search-input {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .search-clear-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-modern-admin .admin-header,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-modern-admin .admin-container {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-modern-admin .admin-nav a.active {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #main-screen #categories-grid-main .coop-info-button {
  background: var(--theme-surface) !important;
  color: var(--muted);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-info-icon {
  color: var(--muted);
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .product-price-total,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .product-current-price {
  color: var(--ink) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .product-old-price {
  color: var(--muted) !important;
  text-decoration-color: var(--muted) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .new-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .hit-item-badge,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .products-container .product-card.modern-product-card .season-item-badge {
  background: var(--theme-surface) !important;
  color: var(--theme-accent-text) !important;
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-group-title {
  background: var(--theme-surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report p {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report-nav a {
  color: var(--muted);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report-form label {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report-form input {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report-metrics small {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report th,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report td {
  border-bottom: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-report th {
  color: var(--muted);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #main-screen #categories-grid-main .category-card h3 {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-transfer-form select,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-discussion-form select,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-discussion textarea,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-discussion-form textarea {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-open-btn,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-site-nav {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-site-nav a,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .header-tutorial-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-breadcrumbs button {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-crumb-divider {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-links button {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .start-notif-btn.no {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-actions-panel {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-store-details {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-point-change-status {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-tools select {
  background: var(--theme-surface);
}
@media (max-width: 900px) {
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header-inner .modern-mobile-nav {
    background: var(--theme-surface);
  }
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-views button {
    background: var(--theme-surface);
  }
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-views button[aria-pressed="true"] {
    color: var(--theme-accent-text);
  }
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-info-tools .coop-info-button {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-card .product-farmer-inline[role="link"] {
  text-decoration-color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-trigger:hover {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot {
  background: var(--canvas);
  color: var(--muted);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot.available {
  background: var(--canvas);
  color: var(--theme-green-text);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-dropdown {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-calendar-date.available {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-calendar-date.unavailable {
  background: var(--theme-surface);
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profile-info {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profile-info .user-info p {
  border-bottom: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profile-info .status-hint {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #account-section {
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #account-balance {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #topup-btn {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-source a {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #stores-list .store-card.selected {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #skip-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pvz-map-marker::after {
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pvz-map-marker > span {
  border: 3px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-popup {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-popup .modern-map-popup-label {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-popup p {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-popup small {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-choose:disabled {
  background: var(--canvas);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-main-interface {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-menu-button {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-video-icon {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-change {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-button {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #season-products-container .season-empty {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-head {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-point {
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-check {
  background: var(--canvas);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-actions {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #orders-screen .store-acc-toggle {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-trigger {
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .delivery-week-dot.available {
  background: var(--canvas);
  border-color: var(--line);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-story-button {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-story-button:hover {
  background: var(--canvas);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-story-icon {
  background: var(--canvas);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) {
  background-color: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .screen {
  background-color: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header-inner,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-service-bar,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-workspace {
  background-color: rgba(28,40,33,0.97);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .category-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-farmer-card {
  background-color: var(--theme-surface);
}
@media (prefers-reduced-transparency: reduce) {
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .screen {
    background-color: var(--theme-surface);
  }
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin)::before {
  background-color: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .subcategory-title,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .product-group-title {
  background: var(--theme-surface) !important;
  border-color: var(--line) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .app-header,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profile-info,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-item-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .store-accordion,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-summary {
  background-color: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) {
  background-color: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header-inner {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-site-nav {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) {
  background-color: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .modern-map-workspace {
  border: 1px solid var(--line);
  background: rgba(28,40,33,0.97) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .store-actions-panel {
  border: 1px solid var(--line);
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .status-hint {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.weekpromo-info-icon,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-icon,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-icon) {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-card,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-card) {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-head,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-head,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-head,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-head) {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-head-icon,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-head-icon,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-head-icon,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-head-icon) {
  border: 1px solid var(--line);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-point,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-point,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-point,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-point) {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-check,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-check,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-check,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-check) {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-close,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .profitable-info-close,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-close,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-close):hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.coop-info-actions,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .weekpromo-info-actions,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .farmers-info-actions) {
  background: var(--theme-surface) !important;
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .swal2-popup {
  background: var(--theme-surface);
}
@media (min-width: 901px) {
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav button.active,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav button[aria-current="page"] {
    color: var(--theme-accent-text);
  }
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-mobile-nav button:hover {
    color: var(--theme-accent-text);
    background: var(--theme-surface);
  }
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-service-brand {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-fullscreen-toggle {
  border: 1px solid var(--line);
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-map-fullscreen-toggle:hover {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .modern-map-visual.is-fullscreen {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #store-select-screen .modern-map-visual.is-fullscreen .modern-map-source {
  background: rgba(28,40,33,0.92);
}

/* From pwa-install.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-more-menu .modern-pwa-install {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern .modern-pwa-guide {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern .modern-pwa-guide a {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern .modern-pwa-guide-note {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern .modern-pwa-guide-close {
  background: var(--theme-surface);
  color: var(--ink);
}

/* From mobile-fixes.css */
@media (max-width: 900px) {
  html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header-inner > .modern-mobile-nav {
    background: var(--theme-surface);
  }
}

/* From product-detail.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-main {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-photo {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-zoom {
  border: 1px solid var(--line);
  background: rgba(28,40,33,0.95);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-classifier button {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-description {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-description .link-btn {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-price {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-delivery .delivery-calendar-dropdown {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-farmer {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-farmer-products {
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-information {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-discussions {
  background: var(--theme-surface);
}

/* From order-line-transfer.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-intro {
  background: var(--theme-surface);
  color: var(--theme-green-text);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-action {
  border-top: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-button {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-button:hover {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-button:disabled {
  background: var(--theme-surface);
  border-color: var(--line);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-action small,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-unavailable {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-transfer-line,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-summary {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-transfer-line strong,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-summary strong {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-transfer-line p,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-line-transfer-summary p {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-transfer-destination {
  color: var(--theme-green-text);
}

/* From cabinet-additions.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-header-inner > .modern-main-interface {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-point-trigger[aria-expanded="true"] .modern-change {
  color: var(--theme-accent-text);
}

/* From account-history.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-tabs button[aria-current="page"] {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-period-form {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-period-form input,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-period-form select,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-result-filters select {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-message[data-error="true"] {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-balance {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-balance-in strong {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-balance-out strong {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-balance-end {
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-operation {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-operation-in .history-operation-mark {
  color: var(--theme-green-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-operation-out .history-operation-mark {
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-operation-in .history-operation-amount strong {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order-state {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order-state-completed {
  color: var(--theme-green-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order-state-pending {
  color: var(--theme-accent-text);
  background: var(--theme-accent-bg);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order-items td {
  border-bottom: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-empty button {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-pages button {
  background: var(--theme-surface);
}

/* From repeat-orders.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-link {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-tabs button:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-range summary {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-arrow {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-entry:hover {
  color: var(--theme-accent-text);
}

/* From restock.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-restock-button[aria-pressed="true"] {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern [data-restock-placement="catalog"] .modern-restock-button[aria-pressed="true"] {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-restock-hint {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-restock-profile-cancel:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-pickup-start-date {
  background: var(--canvas);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-pickup-start-date.is-pending {
  background: var(--theme-accent-bg);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-pickup-start-banner {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #coop-modern .modern-pickup-start-banner.is-pending {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}

/* From catalog-refinements.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-filter-reset {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-product-card[data-modern-unavailable="true"] .product-image::after,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-product[data-unavailable="true"] .modern-repeat-photo::after {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #category-screen > .modern-subcategory-strip {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-back {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button[aria-pressed="true"] {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button:hover,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-back:hover {
  color: var(--theme-accent-text);
}

/* From catalog-help.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-filter-sort select {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-repeat-product.product-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-channel-filters {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .site-chat-load-more {
  color: var(--theme-green-text);
}

/* From orders-hub.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-orders-tabs button:hover,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-orders-tabs button[aria-current="page"] {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .history-order-origin {
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}

/* From order-presentation.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #cart-items .modern-cart-favorite {
  background: rgba(28,40,33,0.95);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #cart-items .modern-cart-favorite.fav-active {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #cart-items .cart-item-unavailable-note {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-item[data-modern-cart-product]:hover {
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-order-popup .order-item-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-order-thumb {
  border: 1px solid var(--line);
  background: var(--theme-surface);
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-order-assembled {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-order-assembled > span {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-edit-hint {
  background: var(--theme-surface);
  color: var(--theme-green-text);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #order-edit-container .order-edit-date-header {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #order-edit-container .order-edit-item {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-item .oe-btn {
  border: 1px solid var(--line);
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-item .oe-remove {
  border: 1px solid var(--line);
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-edit-item.modern-edit-removed {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-edit-removal-note {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-edit-restore {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #order-edit-screen .order-edit-footer {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #order-edit-screen .cancel-btn {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .order-card > .modern-transfer-cutoff-note {
  color: var(--muted, var(--muted));
}

/* From cabinet-polish.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-head-icon {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-check {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .cart-clear-confirm-no:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pin-manage-dialog,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-card {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pin-manage-step {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .pin-manage-step .pin-code-digit {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(#pin-manage-cancel-btn,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notifications-cancel-btn) {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-adapter {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-adapter.is-selected {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-badge.ok {
  background: var(--theme-surface);
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .user-notification-badge.warn {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-stats-popup {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .referral-stat-row {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .modern-detail-farmer-link:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .wave3-product-block {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .wave3-seo-links a {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #pd-content .wave3-seo-links a:hover {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-cooperative-info {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-cooperative-about {
  color: var(--theme-accent-text);
}

/* From cabinet-guide.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.modern-pin-mark,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-mark) {
  background: var(--theme-surface);
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-pin-field .pin-visibility-toggle:hover {
  color: var(--theme-accent-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-guide {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-status[data-state="available"] {
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-status[data-state="unavailable"] {
  background: var(--theme-surface);
  border-color: var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-status-mark {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-status[data-state="available"] .modern-delivery-status-mark {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-status-action {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-delivery-step-number {
  color: var(--theme-accent-text);
}

/* From catalog-pages.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button:hover,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button:active,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-button:focus,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-back:hover,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-back:active,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-subcategory-back:focus {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .wave3-breadcrumbs a {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .wave3-seo-block .wave3-seo-links a:hover {
  color: var(--theme-accent-text);
}

/* From entity-seo.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback {
  background: var(--theme-surface);
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback-image {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback .seo-a4-fallback-kicker {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback .seo-a4-fallback-note {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback nav a,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related nav a {
  color: var(--theme-green-text);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback nav a:hover,
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related nav a:hover {
  background: var(--canvas);
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback-item {
  border: 1px solid var(--line);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-fallback-item img {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related h2 {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin).coop-modern:not(.coop-modern-admin) .seo-a4-related p {
  color: var(--theme-green-text);
}

/* From recommendations.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-recommendations {
  border-top: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-recommendations-heading h2 {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-modern-admin .modern-recommendation-report-form input {
  border: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-modern-admin .modern-recommendation-model {
  border: 1px solid var(--line);
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-recommendation-collection {
  border-top: 1px solid var(--line);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-collection-title {
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-collection-description {
  color: var(--muted);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .modern-collection-summary {
  background: var(--theme-surface);
  border: 1px solid var(--line);
  color: var(--theme-accent-text);
}

/* From pickup-notice.css */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-dialog {
  background: var(--theme-surface);
  color: var(--ink);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-close {
  color: var(--theme-green-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-close:hover {
  background: var(--canvas);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-banner {
  background: var(--theme-surface);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-banner-trigger:hover {
  background: var(--theme-accent-bg);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-banner-icon {
  color: var(--theme-accent-text);
}
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-pvz-notice-banner-arrow {
  color: var(--theme-accent-text);
}

/* Dark settings card in Profile. This section is available even to a guest. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .coop-theme-card { background: var(--theme-surface) !important; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-card { align-self: start; min-width: 0; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-card h3 { margin: 0 0 8px; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-card p { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.55; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-option {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 15px;
  border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--canvas);
  font: 600 14px/1.2 'Golos Text',Arial,sans-serif; cursor: pointer; transition: background-color .15s,border-color .15s;
}
body#coop-modern:not(.coop-modern-admin) .coop-theme-option svg { height: 19px; width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: 0 0 auto; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-option[aria-pressed="true"] {
  background: #246239; color: #fff; border-color: #246239;
}
body#coop-modern:not(.coop-modern-admin) .coop-theme-option[aria-pressed="false"]:hover { border-color: #439267; }
body#coop-modern:not(.coop-modern-admin) .coop-theme-option:focus-visible { outline: 2px solid #4aaf77; outline-offset: 3px; }
@media (max-width: 440px) {
  body#coop-modern:not(.coop-modern-admin) .coop-theme-buttons { gap: 8px; }
  body#coop-modern:not(.coop-modern-admin) .coop-theme-option { min-height: 44px; padding: 10px 8px; font-size: 13px; }
}
/* Legacy account dialogs: several elements carry inline white backgrounds. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(
  .modal-content,.user-notifications-card,.pin-manage-dialog,.search-panel-inner,.delivery-calendar-dropdown,
  .profile-info,.pd-oval,.pd-info,.modern-search-panel,.order-edit-container,.order-edit-modal,
  .swal2-popup,.modern-history-dialog,.modern-recommendation-dialog,.store-info-modal,
  .store-card,.store-actions-panel,.modern-map-visual,.modern-point-map-card,.modern-pwa-guide-card
) { background-color: var(--theme-surface) !important; color: var(--ink); border-color: var(--line); }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(
  .modal-content,.user-notifications-card,.pin-manage-dialog,.search-panel-inner,.profile-info,
  .modern-product-card,.modern-detail-main,.modern-detail-information,.modern-detail-farmer,
  .modern-discussions,.order-card,.order-item-card,.cart-item,.cart-summary
) :is(h1,h2,h3,h4,p,strong,span):not([class*="badge"]):not([class*="status-ok"]) { text-shadow: none; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) #preloader-overlay { background: var(--paper) !important; }
/* Popovers and alert overlays added outside the common screen layout. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.swal2-popup,.swal2-html-container,.swal2-title,.swal2-input,.swal2-select,.swal2-textarea) {
  color: var(--ink) !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .swal2-popup { background: var(--theme-surface) !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.swal2-cancel,.swal2-deny) { background: var(--theme-surface-alt) !important; color: var(--ink) !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.swal2-confirm,.checkout-btn,.add-to-cart-btn) { background: #246239 !important; border-color: #246239 !important; color: #fff !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.swal2-confirm,.checkout-btn,.add-to-cart-btn):hover { background: #307e4d !important; }
/* Dark page base remains darker than elevated cards. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) { background: var(--paper) !important; }
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) .screen { background: var(--paper) !important; }
/* Native tooltip/small notification surfaces. */
html[data-coop-theme="dark"] body#coop-modern:not(.coop-modern-admin) :is(.modern-status,.modern-order-popup,.modal-content,.pd-info) { color: var(--ink); }
