/**
 * LAST-WINS lock for Modules + Dashboards menus.
 * Pair SHELL + INK on the same nodes. Day-mode used to flip only `color`
 * while `#modules-menu > div { background-color:#152420 }` stayed — dark-on-dark.
 * Spike tokens: parchment #f5e6d3, ink #201f20, night shell #152420.
 */
html body #modules-menu,
html body #dashboard-menu,
html body.night-mode #modules-menu,
html body.night-mode #dashboard-menu {
    background: #152420 !important;
    background-color: #152420 !important;
    background-image: none !important;
    color: #f5e6d3 !important;
    -webkit-text-fill-color: #f5e6d3 !important;
}
html body #modules-menu > div,
html body #modules-menu div,
html body #dashboard-menu > a,
html body #dashboard-menu a,
html body #dashboard-menu > div,
html body #dashboard-menu div,
html body.night-mode #modules-menu > div,
html body.night-mode #modules-menu div,
html body.night-mode #dashboard-menu a,
html body.night-mode #dashboard-menu div {
    color: #f5e6d3 !important;
    -webkit-text-fill-color: #f5e6d3 !important;
    background-color: #152420 !important;
    background-image: none !important;
}

html body.day-mode #modules-menu,
html body.day-mode #dashboard-menu {
    background: #fffef5 !important;
    background-color: #fffef5 !important;
    background-image: none !important;
    color: #201f20 !important;
    -webkit-text-fill-color: #201f20 !important;
}
html body.day-mode #modules-menu > div,
html body.day-mode #modules-menu div,
html body.day-mode #dashboard-menu > a,
html body.day-mode #dashboard-menu a,
html body.day-mode #dashboard-menu > div,
html body.day-mode #dashboard-menu div,
html body.day-mode #dashboard-menu .rh-operator-dash-link {
    color: #201f20 !important;
    -webkit-text-fill-color: #201f20 !important;
    background-color: #fffef5 !important;
    background-image: none !important;
}
html body.day-mode #modules-menu > div:hover,
html body.day-mode #dashboard-menu a:hover,
html body.day-mode #dashboard-menu div:hover {
    background: rgba(24, 176, 144, 0.12) !important;
    background-color: rgba(24, 176, 144, 0.12) !important;
}
