﻿/* Complete palettes: background preset, readable surfaces, text and accents. */
body{--palette-ink:#eef0f3;--palette-muted:#b9c1ce;--palette-accent:#d1d7e0;--palette-on-accent:#202630;--palette-surface:35,41,49;--palette-shell:24,29,36;--palette-line:rgba(220,230,245,.19)}
body[data-theme="theme1"]{--palette-ink:#f2f5ff;--palette-muted:#bdc8e8;--palette-accent:#b4c4ff;--palette-surface:33,39,69;--palette-shell:20,23,45}
body[data-theme="theme2"]{--palette-ink:#fff5ef;--palette-muted:#e0c7b8;--palette-accent:#ffcda3;--palette-surface:61,44,34;--palette-shell:39,29,24}
body[data-theme="theme3"]{--palette-ink:#f5efff;--palette-muted:#cfc0e6;--palette-accent:#d8b9ff;--palette-surface:48,35,64;--palette-shell:30,23,44}
body[data-theme="theme4"]{--palette-ink:#ecfbff;--palette-muted:#b5d9e2;--palette-accent:#98e2f1;--palette-surface:27,49,61;--palette-shell:16,33,43}
body[data-theme="theme5"]{--palette-ink:#f1fff3;--palette-muted:#bbd6bf;--palette-accent:#b3e7bc;--palette-surface:34,54,40;--palette-shell:23,36,28}
body[data-theme="theme6"]{--palette-ink:#fff1f4;--palette-muted:#dfbec8;--palette-accent:#f3b1ca;--palette-surface:58,35,49;--palette-shell:39,24,32}
body[data-theme="theme7"]{--palette-ink:#edfff9;--palette-muted:#aed9cf;--palette-accent:#99efcf;--palette-surface:18,67,61;--palette-shell:12,42,39}
body[data-theme="theme8"]{--palette-ink:#eefbff;--palette-muted:#b5d9e8;--palette-accent:#a6f2dc;--palette-surface:19,54,75;--palette-shell:12,35,50}
body[data-theme="theme9"]{--palette-ink:#f2f2f2;--palette-muted:#c2c2c2;--palette-accent:#dedede;--palette-on-accent:#242424;--palette-surface:49,51,55;--palette-shell:29,30,32;--palette-line:rgba(230,230,230,.2)}
body[data-theme="theme10"]{--palette-ink:#fff5ef;--palette-muted:#e3c4b5;--palette-accent:#ffd3b5;--palette-surface:69,46,36;--palette-shell:45,30,25}
body[data-theme="theme11"]{--palette-ink:#f0f7ff;--palette-muted:#b9d3f4;--palette-accent:#aad5ff;--palette-surface:24,52,89;--palette-shell:17,34,57}
body[data-theme="theme12"]{--palette-ink:#faf1ff;--palette-muted:#d9bee9;--palette-accent:#e4beff;--palette-surface:57,34,79;--palette-shell:37,22,52}
body[data-theme]{--ink:var(--palette-ink);--muted:var(--palette-muted);--accent:var(--palette-accent);--line:var(--palette-line);color:var(--ink);--bs-body-color:var(--ink);--bs-border-color:var(--line)}
.app-header{background:rgba(var(--palette-shell),.97);border-color:var(--line)}.sidebar{background:rgba(var(--palette-shell),.88);border-color:var(--line)}
.surface-panel,.module-card,.login-card,.pin-card,.welcome-panel{background:rgba(var(--palette-surface),.85);border-color:var(--line);color:var(--ink)}
.module-link,.section-link,.sidebar-caption,.breadcrumb-row,.workspace-label,.workspace-footer,.sidebar-version,.module-card p,.card-bottom,.page-heading p,.section-heading>span,.welcome-copy p,.empty-state p,.quick-panel p,.users-hint,.users-fields small,.users-table th,.users-table small,.public-brand small,.public-header nav,.intro-lead,.intro-detail,.contact-label,.contact-strip p span,.website-link,.card-description,.private-label,.login-form>label,.remember,.login-note,.pin-heading p,.pin-note,.help-note,.public-footer,.rmm-demo-toggle,.rmm-table-tools{color:var(--muted)!important}
.module-link.active,.section-link.active,.eyebrow,.monogram,.brand-mark,.card-label,.pin-icon,.large-module-symbol,h1 em,.help-note a,.contact-strip a span{color:var(--accent)!important}
.module-link.active,.section-link.active{background:color-mix(in srgb,var(--accent) 13%,transparent);border-color:var(--accent)}.section-link:hover,.module-link:hover{color:var(--ink)!important;background:color-mix(in srgb,var(--accent) 9%,transparent)}
.primary-link,.submit-button{background:var(--accent);color:var(--palette-on-accent)}.primary-link:hover,.submit-button:hover{background:color-mix(in srgb,var(--accent) 85%,white);color:var(--palette-on-accent)}
.account-menu,.rmm-column-options,.rmm-detail,.transfer-panel{background:rgb(var(--palette-shell));color:var(--ink);border-color:var(--line)}.account-menu .dropdown-item{color:var(--ink)}.account-menu .dropdown-header{color:var(--muted)}.workspace-avatar{background:rgb(var(--palette-surface));color:var(--accent);border-color:var(--line)}
.users-fields input,.users-fields select,.users-search input,.users-delete input,.site-picker select,.login-form input:not([type=checkbox]):not([type=hidden]){background:rgba(var(--palette-shell),.85);color:var(--ink);border-color:var(--line)}input::placeholder{color:var(--muted)!important}.password-field button{color:var(--muted)}.pin-preview span{background:rgba(var(--palette-shell),.6);border-color:var(--line);color:var(--muted)}
.rmm-filterbar,.rmm-source-tabs,.rmm-table-scroll{background:rgba(var(--palette-shell),.88);border-color:var(--line)}.rmm-button,.logout-button,.icon-button{background:rgba(var(--palette-surface),.7);border-color:var(--line);color:var(--ink)}.rmm-filters button,.rmm-source-tabs button,.rmm-table td,.rmm-table th,.rmm-table td small,.rmm-empty,.rmm-search>span{color:var(--muted);border-color:var(--line)}.rmm-device-link,.rmm-empty h2,.rmm-metric span,.rmm-search input{color:var(--ink)}.rmm-filters button.selected,.rmm-source-tabs button.selected{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);border-color:var(--accent)}
.card-symbol,.helpdesk .card-symbol,.nas .card-symbol,.video .card-symbol,.art-node,.art-center{background:rgba(var(--palette-shell),.65);color:var(--accent);border-color:var(--line)}.theme-option:has(input:checked){outline-color:var(--accent)}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
.nav-icon{width:20px;height:20px;flex-shrink:0;display:block}.section-link.active .nav-icon{color:var(--accent)}.app-notice{position:fixed;top:calc(var(--header) + 8px);left:calc(var(--sidebar) + 20px);right:20px;z-index:80;background:rgb(var(--palette-shell));color:var(--ink);border:1px solid #e1b275;padding:14px 20px;border-radius:8px}.app-loading:after{content:'';position:fixed;left:0;right:0;top:0;height:3px;background:var(--accent);z-index:100;animation:app-load 1s ease-in-out infinite alternate}@keyframes app-load{from{opacity:.35}to{opacity:1}}
.transfer-center{position:relative}.transfer-center>summary{list-style:none;font-size:12px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;cursor:pointer;white-space:nowrap}.transfer-panel{position:absolute;right:0;top:calc(100% + 10px);padding:18px;width:min(340px,85vw);border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 30px #0005;font-size:12px;max-height:65vh;overflow:auto}.transfer-panel h2{font-size:16px}.transfer-panel p{color:var(--muted);line-height:1.6}.transfer-row{display:grid;gap:8px;margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.transfer-row progress{width:100%}.transfer-row button{background:transparent;color:var(--accent);border:1px solid var(--line);border-radius:4px}.transfer-row strong{overflow-wrap:anywhere}
@media(min-width:1101px) and (max-width:1400px){.app-header .brand{width:170px}.app-header .module-link{padding:0 7px;gap:4px}.header-context{gap:8px}}
@media(max-width:760px){.app-notice{left:12px;right:12px}.transfer-center>summary{padding:7px}.app-header .header-context{gap:8px}}
@media(prefers-reduced-motion:reduce){.app-loading:after{animation:none}}
.app-notice{left:auto;right:20px;width:min(430px,calc(100vw - 40px));box-shadow:0 12px 32px #0007}.workspace-avatar{overflow:hidden;padding:0}.workspace-avatar img{width:100%;height:100%;display:block;object-fit:cover}

body .app-header .module-nav{flex-wrap:nowrap;overflow-x:auto;min-width:0}body .app-header .module-link{flex:0 0 auto;white-space:nowrap}
