/* MoonFiles - Thème sombre (dark mode). Chargé AVANT default.css quand html.ms-dark est présent. */
html.ms-dark{
    --ms-bg:#20242b; --ms-bg-soft:#282c34; --ms-card:#313742; --ms-card-hover:#3c434f;
    --ms-elev:#3c434f; --ms-border:#4d5462; --ms-border-soft:#424955;
    --ms-text:#e0e4ea; --ms-text-strong:#f2f5f9; --ms-text-muted:#969fae;
    --ms-input-bg:#282c34; --ms-input-border:#4d5462;
    --ms-hover:rgba(255,255,255,.08); --ms-accent:#4d8fe0; --ms-accent-strong:#3a78c9;
    --ms-shadow:rgba(0,0,0,.5);
}
html.ms-dark body{ background:#20242b !important; background-color:#20242b !important; color:#e0e4ea !important; }
html.ms-dark html, html.ms-dark .scrollup{ background:#20242b !important; }
html.ms-dark .ui-layout-west, html.ms-dark .ui-layout-center, html.ms-dark .ui-layout-east,
html.ms-dark .ui-layout-north, html.ms-dark .ui-layout-south{ background:#20242b !important; background-color:#20242b !important; border-color:#424955 !important; }
html.ms-dark .ui-layout-resizer, html.ms-dark .ui-layout-toggler{ background:#282c34 !important; background-color:#282c34 !important; border-color:#424955 !important; color:#969fae !important; }
/* 2. ARBRE + TOOLBAR */ html.ms-dark .typo_docs, html.ms-dark .typo_docs_small, html.ms-dark .typo_docs_move, html.ms-dark .typo_docs_white, html.ms-dark .typo_docs_color{ background:#282c34 !important; color:#e0e4ea !important; }
html.ms-dark .typo_docs_color{ color:#4d8fe0 !important; }
html.ms-dark a.buttontree, html.ms-dark a.buttontree:hover{ color:#e0e4ea !important; background:transparent !important; background-color:transparent !important; border-color:#424955 !important; }
html.ms-dark a.buttontree:hover{ background:#313742 !important; background-color:#313742 !important; }
html.ms-dark a.buttontoolbar{ color:#e0e4ea !important; background:#313742 !important; background-color:#313742 !important; border-color:#4d5462 !important; }
html.ms-dark a.buttontoolbar:hover{ background:#3c434f !important; background-color:#3c434f !important; }
html.ms-dark a.buttontoolbardisabled{ color:#6c7280 !important; background:#282c34 !important; }
html.ms-dark a.selectedfolder, html.ms-dark a.selectedfolder:hover{ color:#f2f5f9 !important; background:#3a78c9 !important; background-color:#3a78c9 !important; border-color:#5b92d6 !important; }
html.ms-dark a.buttontreeselect, html.ms-dark a.buttontreeselect:hover{ color:#f2f5f9 !important; background:#3a78c9 !important; background-color:#3a78c9 !important; border-color:#5b92d6 !important; }
html.ms-dark #toolbar, html.ms-dark #toolbar-select, html.ms-dark .toolbaritem{ background:transparent !important; background-color:transparent !important; border-color:transparent !important; }
html.ms-dark .svgbutton{ color:#c6cdd8 !important; }
html.ms-dark .svgbutton path, html.ms-dark .svgbutton line, html.ms-dark .svgbutton rect, html.ms-dark .svgbutton circle{ stroke:#c6cdd8 !important; fill:none !important; }
html.ms-dark .svgbutton:hover{ background:#3c434f !important; background-color:#3c434f !important; }
/* ACTIVE SORT ARROW — same idea as the light theme but using the app blue (#3a78c9) */
html.ms-dark #sortAscButton svg.sortarrow-active path,
html.ms-dark #sortDescButton svg.sortarrow-active path{ fill:none !important; stroke:#3a78c9 !important; }
html.ms-dark #sortAscButton svg.sortarrow-active,
html.ms-dark #sortDescButton svg.sortarrow-active{ background-color:rgba(58,120,201,.22) !important; }
html.ms-dark .svgbutton:hover path, html.ms-dark .svgbutton:hover line, html.ms-dark .svgbutton:hover rect, html.ms-dark .svgbutton:hover circle{ stroke:#ffffff !important; fill:none !important; }
/* 3. BOUTONS LABELÉS */ html.ms-dark a.button, html.ms-dark a.button:hover, html.ms-dark input.button, html.ms-dark input.button:hover, html.ms-dark button.button, html.ms-dark button.button:hover{ color:#fff !important; background:#3a78c9 !important; background-color:#3a78c9 !important; border-color:#2f63a8 !important; }
html.ms-dark a.buttondel, html.ms-dark a.buttondel:hover, html.ms-dark a.buttonred, html.ms-dark a.buttonred:hover{ color:#fff !important; background:#b5323f !important; background-color:#b5323f !important; border-color:#8f2731 !important; }
html.ms-dark a.buttongreen, html.ms-dark a.buttongreen:hover, html.ms-dark input.buttongreen, html.ms-dark input.buttongreen:hover{ color:#fff !important; background:#2f8f4e !important; background-color:#2f8f4e !important; border-color:#256e3d !important; }
html.ms-dark input.button2, html.ms-dark input.button2:hover{ color:#e0e4ea !important; background:#313742 !important; }
/* 4. CARTE / GRILLE FICHIERS */ html.ms-dark .divbg, html.ms-dark .divbgfolder, html.ms-dark .divbgList, html.ms-dark .divbgfolderList, html.ms-dark .wrapper, html.ms-dark .wrapperList{ background:transparent !important; }
html.ms-dark .itemdefault, html.ms-dark .itemdefault:hover{ background:#313742 !important; background-color:#313742 !important; border-color:#4d5462 !important; color:#e0e4ea !important; box-shadow:0 3px 5px rgba(0,0,0,.3) !important; }
html.ms-dark .itemdefault:hover{ background:#3c434f !important; background-color:#3c434f !important; }
html.ms-dark .itemdefaultselected, html.ms-dark .itemdefaultselected:hover{ background:#3a78c9 !important; background-color:#3a78c9 !important; border-color:#5b92d6 !important; color:#f2f5f9 !important; }
html.ms-dark .line, html.ms-dark .lineList{ background:#424955 !important; background-color:#424955 !important; }
html.ms-dark .sizeFile, html.ms-dark .sizeFileList, html.ms-dark .name_white, html.ms-dark .name_blue, html.ms-dark .name_green, html.ms-dark .name_red, html.ms-dark .name_new, html.ms-dark .optionButton, html.ms-dark .optionButtonList, html.ms-dark .wrapOptionButton, html.ms-dark .wrapOptionButtonList{ color:#e0e4ea !important; }
html.ms-dark .item_blue, html.ms-dark .item_green, html.ms-dark .item_red, html.ms-dark .item_new, html.ms-dark .item_grey{ color:#969fae !important; }
/* 5. TABLEAUX */ html.ms-dark .table, html.ms-dark table{ background:#282c34 !important; background-color:#282c34 !important; color:#e0e4ea !important; }
html.ms-dark .table thead th{ color:#f2f5f9 !important; background:#282c34 !important; background-color:#282c34 !important; border-color:#424955 !important; }
html.ms-dark .table tbody th, html.ms-dark .table tbody td, html.ms-dark .table thead.thead-primary th{ background:#282c34 !important; background-color:#282c34 !important; color:#e0e4ea !important; border-color:#424955 !important; }
html.ms-dark td.user, html.ms-dark .table tbody tr{ border-color:#424955 !important; }
html.ms-dark .table tbody tr:hover, html.ms-dark td.user:hover{ background:#313742 !important; background-color:#313742 !important; }
html.ms-dark .spanedit{ color:#4d8fe0 !important; }
html.ms-dark .badge{ color:#f2f5f9 !important; }
/* 6. INPUTS */ html.ms-dark input.rounded, html.ms-dark input.rounded2, html.ms-dark input.roundedAccueil, html.ms-dark input.link, html.ms-dark input[type=text], html.ms-dark input[type=email], html.ms-dark input[type=password], html.ms-dark input[type=number], html.ms-dark textarea, html.ms-dark select{ background:#282c34 !important; background-color:#282c34 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark input::placeholder{ color:#6c7280 !important; }
/* Menu déroulant (options) : même gris charbon que le bandeau,
   pour que le panneau ouvert s'intègre sans "pilier plus clair". */
html.ms-dark select option, html.ms-dark select optgroup{ background:#20242b !important; background-color:#20242b !important; color:#e0e4ea !important; }
html.ms-dark select option:hover, html.ms-dark select option:checked, html.ms-dark select option:focus{ background:#3c434f !important; background-color:#3c434f !important; color:#ffffff !important; }
html.ms-dark .styled-select, html.ms-dark .styled-select2{ background:#20242b !important; background-color:#20242b !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
/* 7. MENU CONTEXTUEL */ html.ms-dark .context-menu, html.ms-dark .context-menu-list, html.ms-dark .context-menu-item, html.ms-dark .context-menu a{ background:#2e3440 !important; background-color:#2e3440 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .context-menu a:hover, html.ms-dark .context-menu-item.hover{ background:#3a78c9 !important; background-color:#3a78c9 !important; color:#fff !important; }
html.ms-dark .context-menu-separator{ background:#4d5462 !important; border-color:#4d5462 !important; }
html.ms-dark .context-menu-item.disabled, html.ms-dark .context-menu a.disabled{ color:#6c7280 !important; }
/* 8. FENETRES FLOTTANTES / MODALES */ html.ms-dark #ms-delete-overlay, html.ms-dark #ms-users-overlay, html.ms-dark #ms-dlg-overlay{ background:rgba(18,20,24,.65) !important; }
html.ms-dark .ms-delete-card, html.ms-dark .ms-uwin, html.ms-dark .ms-dlg{ background:#2e3440 !important; background-color:#2e3440 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .ms-delete-head, html.ms-dark .ms-uwin-head{ background:#2e3440 !important; border-color:#424955 !important; }
html.ms-dark .ms-delete-title, html.ms-dark .ms-uwin-title{ color:#f2f5f9 !important; }
html.ms-dark .ms-delete-subtitle, html.ms-dark .ms-uwin-subtitle{ color:#969fae !important; }
html.ms-dark .ms-delete-list, html.ms-dark .ms-users-row, html.ms-dark .ms-delete-foot, html.ms-dark .ms-uwin-foot{ background:#151931 !important; background-color:#151931 !important; border-color:#424955 !important; }
html.ms-dark .ms-delete-name, html.ms-dark .ms-users-row td{ color:#e0e4ea !important; }
html.ms-dark .ms-delete-item, html.ms-dark .ms-users-row{ border-color:#424955 !important; }
html.ms-dark .ms-users-row:hover{ background:#313742 !important; background-color:#313742 !important; }
html.ms-dark .ms-delete-ico{ background:#2e3440 !important; border-color:#4d5462 !important; color:#969fae !important; }
html.ms-dark .ms-delete-warn{ background:#2a1a1e !important; border-color:#5a2a30 !important; color:#e0a0a8 !important; }
html.ms-dark .ms-users-iconbtn{ color:#969fae !important; }
html.ms-dark .ms-users-iconbtn svg{ stroke:#969fae !important; fill:none !important; }
html.ms-dark .ms-users-iconbtn:hover{ background:#3c434f !important; }
html.ms-dark .ms-btn{ color:#e0e4ea !important; background:#313742 !important; background-color:#313742 !important; border-color:#4d5462 !important; }
html.ms-dark .ms-btn:hover{ background:#3c434f !important; }
html.ms-dark .ms-btn--primary, html.ms-dark .ms-btn--primary:hover{ color:#fff !important; background:#3a78c9 !important; background-color:#3a78c9 !important; }
html.ms-dark .ms-btn--ghost{ background:transparent !important; border-color:#4d5462 !important; color:#e0e4ea !important; }
/* 9. DASHBOARD */ html.ms-dark .msd-panel, html.ms-dark .msd-card, html.ms-dark .msd-head{ background:#2e3440 !important; background-color:#2e3440 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .msd-grid{ background:transparent !important; }
html.ms-dark .msd-ico{ color:#c6cdd8 !important; }
html.ms-dark .trk, html.ms-dark .fil{ color:#969fae !important; }
/* 10. QUEUE / UPLOAD */ html.ms-dark .queueWindow{ background:#2e3440 !important; background-color:#2e3440 !important; border-color:#4d5462 !important; color:#e0e4ea !important; }
html.ms-dark .queueTitle{ background:#151931 !important; color:#f2f5f9 !important; border-color:#424955 !important; }
html.ms-dark .queueitem, html.ms-dark .uploadifive-queue-item{ background:#2e3440 !important; color:#e0e4ea !important; border-color:#424955 !important; }
html.ms-dark .uploadifive-button, html.ms-dark .upload-area{ background:#313742 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .uploadifive-queue-item .progress{ background:#20242b !important; }
html.ms-dark .uploadifive-queue-item .progress-bar{ background:#3a78c9 !important; }
/* 11. DIVERS UI */ html.ms-dark .bground, html.ms-dark .bgroundtochoose{ background:#282c34 !important; }
html.ms-dark .titre, html.ms-dark .titreblanc{ color:#f2f5f9 !important; }
html.ms-dark .topbutton{ background:#2e3440 !important; border-color:#4d5462 !important; }
html.ms-dark .badge, html.ms-dark .bubble, html.ms-dark .bubble_right{ color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .ajax-spinner{ border-color:#3a78c9 transparent transparent transparent !important; }
html.ms-dark #menu_user{ background:#20242b !important; color:#e0e4ea !important; }
html.ms-dark #submenu{ background:#2e3440 !important; color:#e0e4ea !important; }
/* 12. PUBLIC / PARTAGE */ html.ms-dark #main, html.ms-dark #center, html.ms-dark #left, html.ms-dark .right{ background:#20242b !important; color:#e0e4ea !important; }
html.ms-dark .publicItemdefault, html.ms-dark .publicFile, html.ms-dark .publicInfoFile, html.ms-dark .publicLine, html.ms-dark .publicZipAllHead, html.ms-dark .publicDownload, html.ms-dark .publicDownloadFolder, html.ms-dark .publicUnlock{ background:#313742 !important; background-color:#313742 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .publicZipAllHead small, html.ms-dark .publicZipAllSize{ color:#969fae !important; }
html.ms-dark .filePropTitle, html.ms-dark .filePropDetail, html.ms-dark .titleDetail{ color:#e0e4ea !important; }
html.ms-dark .publicInputPwd, html.ms-dark #pwdFolder{ background:#282c34 !important; color:#e0e4ea !important; border-color:#4d5462 !important; }
html.ms-dark .bullePeople{ color:#fff !important; }
/* 13. SCROLLBARS */ html.ms-dark ::-webkit-scrollbar{ width:12px; height:12px; } html.ms-dark ::-webkit-scrollbar-track{ background:#20242b; } html.ms-dark ::-webkit-scrollbar-thumb{ background:#4d5462; border-radius:6px; } html.ms-dark ::-webkit-scrollbar-thumb:hover{ background:#6a7282; }
/* 14. BOUTON BASCULE (lune/soleil) — le <a> (wrapper) est TRANSPARENT, zéro padding.
   Le SVG porte DÉJÀ la classe .svgbutton (padding 8px, border-radius 3px, hover
   #067ada clair / #3c434f sombre) — comme les 11 autres boutons du #viewmode.
   Résultat : taille ET hover STRICTEMENT identiques aux voisins (default.css L1373-1383).
   On ne duplique PLUS de padding/width sur le wrapper (c'est ce qui le rendait trop gros). */
.ms-theme-toggle{ display:inline-flex; padding:0; margin:0; border:0; background:transparent; cursor:pointer; text-decoration:none; }
.ms-theme-toggle svg{ display:block; }

/* NE JAMAIS GRISER / DÉSACTIVER le bouton bascule, même si un ancêtre porte .disable */
.ms-theme-toggle,
.ms-theme-toggle svg,
.ms-theme-toggle path,
.ms-theme-toggle circle,
.ms-theme-toggle line{ opacity:1 !important; pointer-events:auto !important; }
#toolbar.disable .ms-theme-toggle{ opacity:1 !important; pointer-events:auto !important; }
a[disabled].ms-theme-toggle,
.ms-theme-toggle.disabled,
.ms-theme-toggle.disable{ opacity:1 !important; pointer-events:auto !important; }
/* v1.4 — EXCEPTION DASHBOARD : le bouton bascule reste actif/cliquable même
   quand #viewmode est en mode .ms-disabled (src/frameset.php msToolbarSetEnabled).
   Analogie : #toolbar.disable ci-contre. */
#viewmode.ms-disabled .ms-theme-toggle,
#viewmode.ms-disabled .ms-theme-toggle *{ opacity:1 !important; pointer-events:auto !important; cursor:pointer !important; }
.ms-theme-toggle--bare{ background:transparent; border:none; color:#969fae; }
html.ms-dark .ms-theme-toggle--bare{ color:#e6b23c; }
/* 14a. BOUTON FLOTTANT (bas-droite) — pages sans ancre (#viewmode, #js-nav-wrap, .bgroundtochoose) */
.ms-theme-toggle--fab{ position:fixed; right:14px; bottom:14px; width:44px; height:44px; margin:0; border-radius:50% !important; background:rgba(28,32,40,.88) !important; color:#f2f5f9 !important; border:1px solid rgba(255,255,255,.12) !important; box-shadow:0 4px 16px rgba(0,0,0,.35); z-index:99999; padding:0 !important; }
html.ms-dark .ms-theme-toggle--fab{ background:rgba(40,45,54,.92) !important; color:#e6b23c !important; border-color:#424955 !important; }
.ms-theme-toggle--fab:hover{ background:rgba(52,58,70,.96) !important; color:#fff !important; box-shadow:0 6px 20px rgba(0,0,0,.5); transform:translateY(-1px); }
.ms-theme-toggle--fab svg{ width:22px; height:22px; }

/* 15. ACCUEIL / SIGN-IN (home.php + index.css) */


html.ms-dark body{ background:#171b21 !important; color:#eef1f5 !important; }
html.ms-dark .header-main, html.ms-dark .header{ background:rgba(28,32,40,.82) !important; border-color:#424955 !important; }
html.ms-dark .nav-wrap{ background:transparent !important; border-color:#424955 !important; }
html.ms-dark .nav-link, html.ms-dark .nav-item a, html.ms-dark a.log_in{ color:#c6cdd8 !important; }
html.ms-dark .nav-link:hover, html.ms-dark a.log_in:hover{ color:#ffffff !important; background:rgba(255,255,255,.06) !important; }
/* NB : la boîte de login .sign-up (champ + bouton) reste au design d'origine (blanche)
   — volontairement NON ressassé en mode sombre. */
html.ms-dark .sign-up-overlay{ background:rgba(12,14,18,.7) !important; }
/* ————— BOÎTE DE LOGIN : on restaure le DESIGN D'ORIGINE (blanche) même en mode sombre —————
   Ces règles sont les PLUS SPÉCIFIQUES et chargées en FIN de fichier → elles battent
   mes règles génériques (inputs §6, boutons §3). Valeurs = index.css (§ .sign-up, reboot inputs, button-highlight). */
html.ms-dark .sign-up, html.ms-dark .sign-up .content{ background-color:#dfe0e6 !important; color:#88898c !important; }
html.ms-dark .sign-up input[type=text], html.ms-dark .sign-up input[type=password], html.ms-dark .sign-up input[type=email], html.ms-dark .sign-up input[type=number],
html.ms-dark .sign-up input:not([type=radio]), html.ms-dark .sign-up textarea,
html.ms-dark #cnxform input, html.ms-dark #login, html.ms-dark #pwd{
  background:#fff !important; background-color:#fff !important; color:#1c1c1f !important; border-color:#dfe0e6 !important;
}
html.ms-dark .sign-up input::placeholder, html.ms-dark #login::placeholder, html.ms-dark #pwd::placeholder{ color:#88898c !important; }
html.ms-dark .sign-up a, html.ms-dark .sign-up h2{ color:#1c1c1f !important; }
html.ms-dark .sign-up .button, html.ms-dark .sign-up a.button, html.ms-dark .sign-up button,
html.ms-dark .button-highlight, html.ms-dark a.button-highlight, html.ms-dark #login-button-login-submit{
  color:#fff !important; background-color:#0081bd !important; background:#0081bd !important; border-color:#0074bd !important;
}
html.ms-dark .sign-up .button:hover, html.ms-dark .button-highlight:hover, html.ms-dark #login-button-login-submit:hover{ background-color:#1398d6 !important; background:#1398d6 !important; color:#fff !important; }
html.ms-dark footer, html.ms-dark .footer-main{ background:#171b21 !important; color:#8a92a8 !important; }
html.ms-dark .footer-main nav, html.ms-dark .footer-main .nav-footer a, html.ms-dark .nav-footer a{ color:#c6cdd8 !important; background:transparent !important; }
html.ms-dark .footer-main .nav-footer a:hover, html.ms-dark .nav-footer a:hover{ color:#ffffff !important; }
html.ms-dark .footer-main .box, html.ms-dark .reboot .footer-main .box{ background:#171b21 !important; background-color:#171b21 !important; }
html.ms-dark .footer-main .copyright, html.ms-dark .reboot .footer-main .copyright{ color:#8a92a8 !important; }
html.ms-dark .footer-main, html.ms-dark .reboot .footer-main{ background-image:none !important; border-top-color:#424955 !important; }

/* ——— FIX #viewmode (barre d'icônes dashboard) + icônes claires en mode sombre ——— */
html.ms-dark #viewmode{ background-color:#20242b !important; background:#20242b !important; border-color:transparent !important; }
html.ms-dark #viewmode div[aria-label*="toolbar"], html.ms-dark #viewmode > div{ background-color:transparent !important; background:transparent !important; border-color:#4d5462 !important; }
html.ms-dark #viewmode a, html.ms-dark #viewmode .svgbutton{ color:#e8ecf2 !important; }
html.ms-dark #viewmode path, html.ms-dark #viewmode line, html.ms-dark #viewmode rect, html.ms-dark #viewmode circle, html.ms-dark #viewmode polyline, html.ms-dark #viewmode polygon, html.ms-dark #viewmode ellipse{ stroke:#e8ecf2 !important; fill:none !important; }
html.ms-dark #viewmode path[fill]{ fill:#e8ecf2 !important; stroke:none !important; }
html.ms-dark #viewmode a:hover, html.ms-dark #viewmode .svgbutton:hover{ background-color:#3c434f !important; color:#ffffff !important; }
html.ms-dark #viewmode a:hover path, html.ms-dark #viewmode a:hover line, html.ms-dark #viewmode a:hover rect, html.ms-dark #viewmode a:hover circle, html.ms-dark #viewmode a:hover polyline, html.ms-dark #viewmode a:hover polygon{ stroke:#ffffff !important; }
/* User chip à droite (icon avatar + "Hey, Johan Kraif") */
html.ms-dark #menu_user, html.ms-dark .menu_users, html.ms-dark .user-chip, html.ms-dark #viewmode + *, html.ms-dark .ui-layout-north *{ color:#e0e4ea !important; }
html.ms-dark .ui-layout-north{ background-color:#20242b !important; background:#20242b !important; border-color:#424955 !important; }
/* Sidebar MY FOLDERS (treeview) : fond transparent, texte claire */
html.ms-dark #ui-layout-west{ background-color:#20242b !important; background:#20242b !important; color:#c6cdd8 !important; }
html.ms-dark #ui-layout-west a{ color:#c6cdd8 !important; }
html.ms-dark #ui-layout-west a:hover{ background:rgba(255,255,255,.07) !important; color:#ffffff !important; }
html.ms-dark #ui-layout-west .selectedfolder, html.ms-dark #ui-layout-west a.selected, html.ms-dark #ui-layout-west li.selected{ background:#3c434f !important; color:#f2f5f9 !important; }
html.ms-dark #ui-layout-west img{ filter:none !important; opacity:1 !important; }
/* Ligne d'arbre moderne (buildtree.php) : bouton « 3 points » + dossiers COLORISÉS
   (leur teinte vient d'un style inline sur .ticon — on ne la force PAS à blanc,
   contrairement au reste de la ligne ; la classe .tcol existe pour ça). */
html.ms-dark .tmore{ color:#8b98a7 !important; }
html.ms-dark .tmore:hover{ background:rgba(255,255,255,.10) !important; color:#ffffff !important; }

html.ms-dark #ui-layout-center{ background-color:#1c2026 !important; background:#1c2026 !important; border-color:#424955 !important; }

/* LOGO MOON : rendu blanc en mode sombre (le PNG est noir) */
html.ms-dark .logo, html.ms-dark .divlogo img, html.ms-dark #logo img, html.ms-dark a.logo img{ filter:brightness(0) invert(1) contrast(1.5) saturate(0); opacity:1 !important; }

/* Icônes « dossier » contour (vue principale + panneau Est) : gris-bleuté
   clair sur fond sombre, comme le fait déjà le thème pour l'icône de l'arbre.
   On pose la couleur sur le CONTENEUR (pas sur le <svg>, sinon on écraserait
   les dossiers COLORISÉS qui portent leur teinte en `color` inline et qu'on
   veut laisser s'exprimer). */
html.ms-dark .infoFolder,
html.ms-dark .infoFolderList,
html.ms-dark .folderIconProp,
html.ms-dark .mlink-icon { color:#c6cdd8 !important; }

