/* Homepage public controls retain the shared panel palette in source order.
   Extracted from site-color-mode-panels.css; panel routes keep the complete stylesheet. */
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-choice, .mi-choice-popup) { --mi-choice-accent: var(--mi-mode-link); --mi-choice-surface: var(--mi-mode-input); --mi-choice-soft: var(--mi-mode-surface-hover); --mi-choice-line: var(--mi-mode-control-line,#667c98); --mi-choice-ink: var(--mi-mode-ink); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-choice-popup { --mi-choice-surface: var(--mi-mode-surface-raised); --mi-choice-line: var(--mi-mode-line); box-shadow: rgba(0, 0, 0, 0.4) 0px 14px 40px !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-choice-popup .mi-choice-search { border-color: var(--mi-mode-control-line,#667c98) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-choice-group, .mi-choice-empty) { color: var(--mi-mode-muted) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-choice .mi-choice-trigger:disabled { background: var(--mi-mode-surface-raised) !important; color: var(--mi-mode-muted) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-choice .mi-choice-trigger[aria-invalid="true"] { background: rgb(61, 32, 43) !important; border-color: rgb(255, 180, 191) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-choice-option[aria-disabled="true"] { color: rgb(137, 151, 170); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-dialog, .modal-content, #mi-notify-dialog) { box-shadow: rgba(0, 0, 0, 0.4) 0px 24px 80px; background: var(--mi-mode-surface) !important; color: var(--mi-mode-ink) !important; border-color: var(--mi-mode-line) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-dialog h2, .modal-title, #mi-notify-dialog h2) { color: var(--mi-mode-ink) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-message, #mi-notify-dialog p, #mi-notify-dialog time, .mi-notify-item small) { color: var(--mi-mode-muted) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.modal-header, .modal-footer, .mi-notify-item) { border-color: var(--mi-mode-line) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-mark, .mi-feedback-cancel, .mi-notify-tools button, .mi-notify-symbol, #mi-notify-dialog [data-notify-close], #mi-notify-dialog [data-notify-more], .mi-notify-actions a) { background: var(--mi-mode-surface-hover) !important; color: var(--mi-mode-link) !important; border-color: var(--mi-mode-line) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-confirm { background: rgb(0, 81, 143); color: rgb(255, 255, 255); border-color: rgb(73, 132, 176); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-dialog.is-danger .mi-feedback-confirm { background: rgb(168, 50, 75); border-color: rgb(213, 120, 138); color: rgb(255, 255, 255); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-dialog.is-danger .mi-feedback-mark { background: rgb(61, 32, 43) !important; color: rgb(255, 180, 191) !important; border-color: rgb(148, 84, 102) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-toast { background: rgb(21, 58, 48); color: rgb(169, 232, 204); border-color: rgb(59, 114, 95); box-shadow: rgba(0, 0, 0, 0.267) 0px 8px 30px; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-toast::before { background: rgb(36, 86, 67); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-toast.is-error, .mi-feedback-field-error) { background: rgb(61, 32, 43); color: rgb(255, 180, 191); border-color: rgb(148, 84, 102); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-toast.is-error::before { background: rgb(101, 48, 71); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-toast.is-info { background: rgb(23, 53, 77); color: rgb(177, 223, 255); border-color: rgb(71, 116, 143); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-toast.is-info::before { background: rgb(37, 79, 109); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-invalid, [aria-invalid="true"], .is-invalid) { border-color: rgb(255, 180, 191) !important; box-shadow: rgba(148, 84, 102, 0.4) 0px 0px 0px 2px !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.invalid-feedback, .text-danger) { color: rgb(255, 180, 191) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.valid-feedback, .text-success) { color: rgb(169, 232, 204) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-dialog::backdrop, html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) #mi-notify-dialog::backdrop, html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(.mi-feedback-overlay, .modal-backdrop, .mfp-bg) { background-color: rgba(3, 10, 20, 0.72); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline-color: var(--mi-mode-link) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) #header .mi-notify-trigger { background: var(--mi-mode-surface-raised) !important; color: var(--mi-mode-ink) !important; border-color: var(--mi-mode-control-line,#667c98) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) #header .mi-notify-trigger:is(:hover, :focus-visible) { background: var(--mi-mode-surface-hover) !important; border-color: var(--mi-mode-link) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-dropdown, .chosen-container .chosen-drop, .bootstrap-select .dropdown-menu, .bs-container .dropdown-menu) { background: var(--mi-mode-surface-raised) !important; color: var(--mi-mode-ink) !important; border-color: var(--mi-mode-line) !important; box-shadow: rgba(0, 0, 0, 0.333) 0px 14px 36px !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-results__option, .chosen-container .chosen-results li, .bootstrap-select .dropdown-menu li > a, .bs-container .dropdown-menu li > a) { background-color: transparent; color: var(--mi-mode-ink) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-results__option--highlighted, .select2-results__option[aria-selected="true"], .chosen-container .chosen-results li.highlighted, .chosen-container .chosen-results li.result-selected, .bootstrap-select .dropdown-menu li > a:hover, .bs-container .dropdown-menu li > a:hover) { background: var(--mi-mode-surface-hover) !important; color: var(--mi-mode-link) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-search__field, .chosen-container .chosen-search input[type="text"], .bootstrap-select .bs-searchbox input, .bs-container .bs-searchbox input) { background: var(--mi-mode-input) !important; color: var(--mi-mode-ink) !important; border-color: var(--mi-mode-control-line,#667c98) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-search__field, .chosen-container .chosen-search input[type="text"], .bootstrap-select .bs-searchbox input, .bs-container .bs-searchbox input):focus { outline: 2px solid var(--mi-mode-link); outline-offset: 2px; border-color: var(--mi-mode-link) !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-results__option[aria-disabled="true"], .chosen-container .chosen-results li.disabled-result) { color: var(--mi-mode-muted) !important; background: transparent !important; }
html[data-mi-theme="dark"] body.mi-site-gradient:not(.figma-account-page):not(.mi-admin-panel):not([data-menu-theme]) :is(.select2-search__field, .chosen-container .chosen-search input[type="text"], .bootstrap-select .bs-searchbox input, .bs-container .bs-searchbox input)::placeholder { opacity: 1; color: var(--mi-mode-muted) !important; }
@media screen {
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-confirm { background: var(--mi-mode-action); color: var(--mi-mode-action-ink); border-color: var(--mi-mode-action); }
html[data-mi-theme="dark"] body.mi-site-gradient:not([data-menu-theme]) .mi-feedback-dialog.is-danger .mi-feedback-confirm { background: rgb(168, 50, 75); color: rgb(255, 255, 255); border-color: rgb(213, 120, 138); }
}
