/* Light palette follows the existing POWER.VPN subscription page. Dark is untouched. */
#powerhost-theme-switch{display:inline-flex;flex-shrink:0;padding:3px;gap:3px;border:1px solid var(--mantine-color-dark-4);border-radius:10px;background:var(--mantine-color-dark-8);font-family:inherit}
#powerhost-theme-switch button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:7px;background:transparent;color:var(--mantine-color-dimmed);font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;padding:7px 10px;min-height:32px;cursor:pointer}
#powerhost-theme-switch button[aria-pressed=true]{background:var(--mantine-color-dark-5);color:var(--mantine-color-text);box-shadow:0 1px 3px #0002}
#powerhost-theme-switch button:focus-visible{outline:2px solid #406fc5;outline-offset:2px}
#powerhost-theme-switch .theme-icon{font:18px/1 system-ui}
html:root[data-mantine-color-scheme=light]{
 color-scheme:light;
 --mantine-color-body:#eef0f3;--mantine-color-text:#202124;--mantine-color-bright:#202124;--mantine-color-dimmed:#626c7b;--mantine-color-anchor:#3159a1;
 --mantine-color-default:#fff;--mantine-color-default-hover:#f3f5f8;--mantine-color-default-color:#202124;--mantine-color-default-border:#d5dbe4;
 --mantine-color-dark-0:#202124;--mantine-color-dark-1:#3e4857;--mantine-color-dark-2:#626c7b;--mantine-color-dark-3:#8792a2;--mantine-color-dark-4:#d5dbe4;--mantine-color-dark-5:#e6eaf0;--mantine-color-dark-6:#f6f7f9;--mantine-color-dark-7:#fff;--mantine-color-dark-8:#f3f5f8;--mantine-color-dark-9:#e9edf2;
 --mantine-color-blue-3:#406fc5;--mantine-color-blue-4:#3159a1;--mantine-color-blue-5:#3159a1;
 --mantine-color-cyan-3:#197795;--mantine-color-cyan-4:#126c89;--mantine-color-cyan-5:#126c89;
 --mantine-color-teal-3:#16806b;--mantine-color-teal-4:#13715f;--mantine-color-teal-5:#13715f;
 --mantine-color-green-3:#287f47;--mantine-color-green-4:#23713f;--mantine-color-green-5:#23713f;
 --mantine-color-red-3:#bc3f40;--mantine-color-red-4:#ac3436;--mantine-color-red-5:#ac3436;
 --mantine-color-yellow-3:#986b08;--mantine-color-yellow-4:#8c6208;--mantine-color-yellow-5:#8c6208;
 --mantine-color-orange-3:#a85b18;--mantine-color-orange-4:#994d12;--mantine-color-orange-5:#994d12;
 --mantine-color-violet-3:#7358ab;--mantine-color-violet-4:#654b9e;--mantine-color-violet-5:#654b9e;
 --mantine-color-lime-3:#657e20;--mantine-color-lime-4:#5b711c;--mantine-color-lime-5:#5b711c;
 --mantine-color-disabled:#e9edf2;--mantine-color-disabled-color:#8792a2;--mantine-color-disabled-border:#d5dbe4;
}
html[data-mantine-color-scheme=light] body{background:#eef0f3;color:#202124}
html[data-mantine-color-scheme=light] .mantine-AppShell-main{background:linear-gradient(135deg,#ffffff65,transparent 45%),#eef0f3}
html[data-mantine-color-scheme=light] .mantine-AppShell-header{background:#f9fafced;border-bottom:1px solid #20212414;backdrop-filter:blur(16px)}
html[data-mantine-color-scheme=light] [class*='_sidebarWrapper_']{background:linear-gradient(150deg,#fff,#f7f8fa);box-shadow:0 8px 28px #2b303a12;border:1px solid #2021240e}
html[data-mantine-color-scheme=light] #powerhost-theme-switch{border-color:#d5dbe4;background:#e9edf2}
html[data-mantine-color-scheme=light] #powerhost-theme-switch button[aria-pressed=true]{background:#fff;color:#3159a1}
html[data-mantine-color-scheme=light] [class*='_logoTitle_'],
html[data-mantine-color-scheme=light] [class*='_tabLabel_'],
html[data-mantine-color-scheme=light] [class*='_title_']{color:#202124}
html[data-mantine-color-scheme=light] .mantine-Paper-root{border-color:#d5dbe4}
html[data-mantine-color-scheme=light] .mantine-Modal-content,
html[data-mantine-color-scheme=light] .mantine-Drawer-content,
html[data-mantine-color-scheme=light] .mantine-Modal-header,
html[data-mantine-color-scheme=light] .mantine-Drawer-header,
html[data-mantine-color-scheme=light] [class*='_modalHeader_'],
html[data-mantine-color-scheme=light] [class*='_drawerHeader_'],
html[data-mantine-color-scheme=light] [class*='_iconSelectDropdown_']{background:#fff!important;color:#202124;border-color:#d5dbe4!important}
html[data-mantine-color-scheme=light] .mantine-Tooltip-tooltip{background:#243247;color:#fff;border-color:#243247}
html[data-mantine-color-scheme=light] .mantine-Table-th{color:#3e4857}
html[data-mantine-color-scheme=light] .mantine-Badge-root[style*='--badge-color: #']{color:color-mix(in srgb,var(--badge-color) 50%,#202124)!important}
html[data-mantine-color-scheme=light] .mantine-Badge-root[style*='--badge-color: var(--mantine-color-gray-4)']{color:#4d5b6c!important}
html[data-mantine-color-scheme=light] .mantine-Text-root[style*='color: var(--mantine-color-white)'],
html[data-mantine-color-scheme=light] .mantine-Title-root[style*='color: var(--mantine-color-white)'],
html[data-mantine-color-scheme=light] .mantine-Text-root[style*='color: white'],
html[data-mantine-color-scheme=light] [class*='_textareaDark_'] textarea{color:#202124!important}
html[data-mantine-color-scheme=light] [class*='_accordionItem_'],
html[data-mantine-color-scheme=light] [class*='_localeCard_'],
html[data-mantine-color-scheme=light] [class*='_localizedTextButton_'],
html[data-mantine-color-scheme=light] [class*='_headerCard_'],
html[data-mantine-color-scheme=light] [class*='_iconSelectTrigger_']{background:#ffffffd9!important;border-color:#d5dbe4!important}
html[data-mantine-color-scheme=light] [class*='_footer_']{border-color:#d5dbe4;box-shadow:0 -8px 25px #2b303a12}
html[data-mantine-color-scheme=light] .safe-area-bottom{background:#eef0f3}
html[data-mantine-color-scheme=light] ::-webkit-scrollbar-track,
html[data-mantine-color-scheme=light] ::-webkit-scrollbar-corner{background:#e9edf2}
html[data-mantine-color-scheme=light] ::-webkit-scrollbar-thumb{background:#aab6c6;border-color:#eef0f3}
@media(max-width:760px){
 #powerhost-theme-switch .theme-label{display:none}
 #powerhost-theme-switch button{padding:6px 8px}
 #powerhost-theme-switch button[aria-pressed=true]{display:none}
 #powerhost-theme-switch{gap:0;padding:2px}
 .powerhost-theme-placement{flex-wrap:nowrap!important;gap:6px!important;min-width:72px}
}
