/* cal.surmon.cloud : habillage commun surmon.cloud / Asteria Stratégies (carte #2667, 04/11/2026).
   Caddy sert ce fichier à la place du /accent.css de calrs (thème « default » laissé en base).
   Jour = ciel de surmon.cloud, encre et boutons marine. Nuit = marine #0A1130 et or #F6C25B.
   Contrastes vérifiés (WCAG) : texte jour 16:1, discret 7:1 ; nuit 15:1, discret 6:1, marine sur or 11:1.
   calrs met du texte blanc sur l'accent : la nuit, on le passe en marine (lisible sur l'or). */
:root{--bg:#F6EFE6;--surface:#ffffff;--surface-hover:#F3F6FB;--text:#001F49;--text-secondary:#33416A;--text-muted:#4A5677;
--border:#E2E6EF;--border-hover:#A9B3D4;--accent:#001F49;--accent-hover:#0E1846;--accent-subtle:rgba(0,31,73,0.06);
--accent-border:rgba(0,31,73,0.22);--accent-muted:rgba(0,31,73,0.45);
--shadow:0 1px 3px rgba(0,31,73,0.08),0 1px 2px rgba(0,31,73,0.05);--shadow-lg:0 6px 18px rgba(0,31,73,0.10)}
html.dark{--bg:#0A1130;--surface:#111A41;--surface-hover:#152050;--text:#EDF1FB;--text-secondary:#A9B3D4;--text-muted:#8F9AC2;
--border:#1F2A5C;--border-hover:#36438A;--accent:#F6C25B;--accent-hover:#F9D37F;--accent-subtle:rgba(246,194,91,0.12);
--accent-border:rgba(246,194,91,0.35);--accent-muted:rgba(246,194,91,0.55);
--shadow:0 1px 3px rgba(0,0,0,0.35);--shadow-lg:0 6px 18px rgba(0,0,0,0.35)}
/* Ciel en fond (pas en mode intégré : le bloc « embed » de calrs, placé après, remet un fond transparent). */
:where(html:not(.dark)) body{background:#F6EFE6 linear-gradient(180deg,#DCEAF8 0%,#F7E7D2 100%) fixed}
:where(html.dark) body{background:#0A1130 linear-gradient(180deg,#0E1846 0%,#0A1130 70%) fixed}
html.dark .btn,html.dark .cal-cell.selected,html.dark .view-toggle button.active,html.dark .slots-info-avatar,
html.dark [style*="background: var(--accent)"],html.dark [style*="background:var(--accent)"],
html.dark [style*="linear-gradient(135deg, var(--accent)"],html.dark [style*="linear-gradient(135deg, var(--accent)"] *,
html.dark .action-card:hover .action-icon,html.dark .priority-btn.active-high,html.dark .embed-copy-btn.copied{color:#0A1130 !important}
/* Pied de page : « Propulsé par surmon.cloud & Cal.rs » (FR) / « Powered by surmon.cloud & Cal.rs » (autres langues). Cal.rs reste le lien. */
.powered span{font-size:0}
.powered span::before{content:"Powered by surmon.cloud & ";font-size:.75rem}
html[lang|="fr"] .powered span::before{content:"Propulsé par surmon.cloud & "}
.powered a{font-size:0}
.powered a::after{content:"Cal.rs";font-size:.75rem}
