/* Pages "compte" (login.html, spaces.html) — chantier "cheminement connexion → hub" du
   README.md (section "Refonte structure du site + éditeur"). Chargée EN PLUS de landing.css
   (réutilise .brand/.brand-logo/.btn/.wrap de là) : ce fichier ne couvre que ce qui est propre
   à ces deux pages (formulaire de connexion, grille "Mes espaces"), pour ne pas dupliquer les
   styles déjà partagés avec la page d'accueil. Pages volontairement LÉGÈRES : seul js/00-auth.js
   est chargé (pas Three.js ni le reste de la chaîne de l'éditeur), pour que se connecter ne
   dépende jamais du CDN Three.js.
*/

/* Texte présent pour les lecteurs d'écran uniquement (audit accessibilité) : label associé à un
   champ dont le placeholder seul ne suffit pas (le placeholder disparaît à la saisie et n'est de
   toute façon pas fiable comme label — non lu par tous les lecteurs d'écran). */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.account-header {
    border-bottom: 1px solid var(--line);
}
.account-user {
    display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-muted);
}
.account-user-email { font-weight: 700; color: var(--ink); }
/* Icône ronde générique (aide...) à côté de l'avatar — pas de cloche de notifications : aucun
   système de notifications n'existe derrière, une icône sans destination réelle serait trompeuse. */
.account-icon-btn {
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-muted); display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; text-decoration: none; flex: none;
}
.account-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.account-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
    flex: none;
}
.btn-link {
    background: none; border: none; padding: 0; font: inherit; font-weight: 800; color: var(--accent);
    cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}

/* ---------- Connexion ---------- */
.auth-shell { max-width: 420px; margin: 0 auto; padding: 56px 24px 80px; }
.auth-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    padding: 32px 28px; box-shadow: 0 12px 32px rgba(34,37,42,0.06);
}
.auth-card h1 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.auth-card .auth-sub { font-size: 13.5px; color: var(--ink-muted); margin: 0 0 24px; line-height: 1.5; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-field label { font-size: 12.5px; font-weight: 800; color: var(--ink-muted); }
.auth-field input {
    height: 44px; border-radius: 10px; border: 1px solid var(--line); padding: 0 14px;
    font-family: inherit; font-size: 14.5px; background: var(--paper); color: var(--ink);
}
.auth-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-submit {
    width: 100%; height: 46px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, var(--accent), var(--gold) 130%); color: var(--paper);
    font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; margin-top: 4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(217,183,124,0.4); filter: brightness(1.05); }
.auth-submit:active { opacity: 0.85; transform: none; }
.auth-divider {
    display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 12px;
    font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-google {
    width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink); font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.auth-switch { text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: 22px; }
.auth-message {
    font-size: 13px; font-weight: 700; margin: 0 0 14px; padding: 10px 12px; border-radius: 9px;
    display: none; line-height: 1.45;
}
.auth-message.error { display: block; background: var(--danger-soft); color: var(--danger); }
.auth-message.success { display: block; background: var(--success-soft); color: var(--success); }

/* ---------- Mes espaces ---------- */
.spaces-shell { max-width: 1100px; margin: 0 auto; padding: 40px 24px 90px; }
.spaces-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.spaces-head h1 { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.spaces-head p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }

.create-wrap { position: relative; }
.btn-create {
    /* Texte foncé (var(--paper)), pas blanc : --gold est un doré clair, un texte blanc dessus
       tombe largement sous le seuil de contraste lisible — un texte sombre s'y détache bien
       mieux (même logique que la CTA .btn-primary sur bandeau accent en dur, landing.css). */
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), var(--accent) 140%); color: var(--paper);
    font-family: inherit; font-weight: 800; font-size: 14px; border: none; cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-create:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(217,183,124,0.4); filter: brightness(1.05); }
.create-menu {
    position: absolute; right: 0; top: calc(100% + 8px); width: 250px; max-width: calc(100vw - 48px);
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 14px 34px rgba(34,37,42,0.14); padding: 8px; display: none; z-index: 20;
}
.create-menu.open { display: block; }
.create-menu button {
    width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; padding: 10px 10px;
    border: none; background: none; border-radius: 9px; cursor: pointer; font-family: inherit;
}
.create-menu button:hover { background: var(--accent-soft); }
.create-menu-icon {
    width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px;
}
.create-menu-label { font-size: 13.5px; font-weight: 800; }
.create-menu-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-muted); }

.spaces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.space-card { position: relative; border-radius: 16px; overflow: hidden; }
.space-open {
    display: block; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    overflow: hidden; text-align: left; cursor: pointer; padding: 0; font-family: inherit; color: inherit;
}
.space-thumb {
    aspect-ratio: 4/3; background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    display: flex; align-items: center; justify-content: center;
}
.space-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Icône de vignette placeholder (révision 2026-08-15, "icône plus grande et plus jolie") : un
   badge circulaire clair posé sur le dégradé, avec une ombre légère qui le détache du fond —
   plus lisible et plus soigné qu'une icône flottant seule, à 55% d'opacité, directement sur le
   dégradé pastel (rendu washed-out/peu engageant signalé). `font-size` fixe la taille de l'icône
   (svgIcon, js/00-icons.js, génère `width/height:1em`) ; sa couleur est fixée en inline par carte
   (SPACE_THUMB_PLACEHOLDERS.iconColor, spaces.html), assortie à la teinte pastel du fond. */
.space-thumb-badge {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.82);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(20,18,14,0.12);
    font-size: 28px;
}
.space-info { padding: 12px 14px 14px; }
.space-name { font-size: 14.5px; font-weight: 800; margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.space-meta { font-size: 12px; color: var(--ink-muted); margin: 0; }
.space-card-actions { position: absolute; top: 9px; right: 9px; display: flex; gap: 6px; z-index: 1; }
.space-card-actions button {
    width: 30px; height: 30px; border-radius: 9px;
    background: rgba(255,255,255,0.92); border: 1px solid var(--line); color: var(--ink-muted);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.space-card-actions button svg { width: 15px; height: 15px; }
.space-card-actions .space-rename:hover { border-color: var(--accent); color: var(--accent); }
.space-card-actions .space-delete { color: var(--danger); }
.space-card-actions .space-delete:hover { border-color: var(--danger); }

/* Carte "plan sans espace" (spaces.html, buildOrphanPlanCard) : .space-card réutilisé tel quel
   pour le bouton d'ouverture, + cette rangée d'attribution en dessous, hors de son overflow:hidden
   (voir le commentaire de buildOrphanPlanCard). */
.orphan-assign-row { margin-top: 6px; }
.orphan-space-select {
    width: 100%; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
    padding: 7px 9px; cursor: pointer;
}
.orphan-space-select:disabled { opacity: 0.6; cursor: default; }

.spaces-empty {
    border: 1px dashed var(--line); border-radius: 16px; padding: 54px 24px; text-align: center;
    color: var(--ink-muted); font-size: 14px;
}
.spaces-status { color: var(--ink-muted); font-size: 14px; padding: 20px 0; }

@media (max-width: 560px) {
    .spaces-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    /* .spaces-head passe en colonne (flex-wrap) sous cette largeur : "+ Créer" se retrouve
       ancré à gauche plutôt qu'à droite (seul élément sur sa ligne, space-between le pousse
       au début) — le menu doit s'ouvrir du même côté, sinon il déborde hors de l'écran à
       gauche (`right: 0` suppose un bouton ancré à droite, vrai seulement en large). */
    .create-menu { right: auto; left: 0; }
}

/* ---------- Espace (space.html) : équivalent léger du hub interne à l'éditeur ---------- */
/* Mêmes noms de classe que css/editor.css (.hub-*) pour rester le même vocabulaire visuel dans
   toute l'app, mais définis ici indépendamment : ce fichier et editor.css ne sont jamais chargés
   sur la même page (voir README, "le hub sort de l'éditeur"). */
.menu-header-back-link {
    display: inline-flex; align-items: center; gap: 4px; text-decoration: none; border: none;
    background: none; padding: 0; cursor: pointer; font-family: inherit;
    font-size: 13px; font-weight: 700; color: var(--accent);
}
.menu-header-back-link:hover { text-decoration: underline; }

.space-shell { max-width: 720px; margin: 0 auto; padding: 40px 24px 90px; }
.space-shell .eyebrow {
    font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
    font-weight: 700; margin: 0 0 4px;
}
.space-shell h1 { font-size: 24px; font-weight: 800; margin: 0 0 14px; }

.hub-meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.hub-meta-chip {
    font-family: inherit; font-size: 12px; font-weight: 700; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; cursor: pointer;
}
.hub-meta-chip:hover { border-color: var(--accent); }
.hub-meta-chip-empty { color: var(--accent); border-style: dashed; }
.hub-meta-input {
    font-family: inherit; font-size: 12px; font-weight: 700; color: var(--ink);
    background: var(--surface); border: 1px solid var(--accent); border-radius: 20px; padding: 6px 12px; width: 140px;
}

.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hub-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--accent-soft); border: 1px solid var(--line); border-radius: 14px;
    padding: 16px; font-family: inherit; text-align: left; cursor: pointer;
}
.hub-card:hover { border-color: var(--accent); }
.hub-card-icon {
    width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.hub-card-icon svg { width: 19px; height: 19px; }
.hub-card-label { font-weight: 800; font-size: 13.5px; color: var(--ink); }
.hub-card-sub { font-size: 11px; color: var(--ink-muted); margin-top: -6px; }

.hub-gallery-grid, .hub-moodboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hub-render-card, .hub-moodboard-card {
    position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface);
}
.hub-moodboard-card[draggable="true"] { cursor: grab; }
.hub-render-card img, .hub-moodboard-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hub-moodboard-swatch { width: 100%; aspect-ratio: 1 / 1; }
.hub-render-card-meta { padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; }
.hub-render-card-label { font-weight: 800; font-size: 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-render-card-date { font-size: 10.5px; color: var(--ink-muted); }
.hub-render-card-delete {
    position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(20,18,14,0.55); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.hub-render-card-delete svg { width: 14px; height: 14px; }
.hub-render-card-delete:hover { background: var(--danger); }
.hub-moodboard-card-label-input {
    position: absolute; bottom: 0; left: 0; right: 0; font-family: inherit; font-size: 12px;
    font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--accent);
    padding: 4px 8px;
}
.hub-moodboard-room-badge {
    position: absolute; bottom: 6px; left: 6px; font-size: 10px; font-weight: 700; color: var(--accent);
    background: rgba(255,255,255,0.92); border-radius: 10px; padding: 2px 8px;
}

/* Sous-vues de l'écran espace (space.html, v3) : "Plans" (grille .spaces-grid/.space-card
   réutilisée telle quelle, cohérence visuelle avec spaces.html), "Moodboard" (ajout image/
   couleur — repris du hub interne à l'éditeur, qui ne portait plus ces sous-vues), "Documents"
   (liste, nouveau). */
.hub-subview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hub-subview-section-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin: 22px 0 12px; }

.hub-moodboard-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.hub-moodboard-action-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 9px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-family: inherit;
    font-weight: 800; font-size: 12.5px; cursor: pointer;
}
.hub-moodboard-action-btn:hover { border-color: var(--accent); color: var(--accent); }
.hub-moodboard-room-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hub-moodboard-room-chip {
    font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--ink-muted);
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; cursor: pointer;
}
.hub-moodboard-room-chip.active { color: #fff; background: var(--accent); border-color: var(--accent); }

.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-row {
    display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 12px;
}
.doc-row-icon {
    width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.doc-row-icon svg { width: 17px; height: 17px; }
.doc-row-info { flex: 1; min-width: 0; }
.doc-row-name { font-weight: 800; font-size: 13px; color: var(--ink); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-row-date { font-size: 11.5px; color: var(--ink-muted); margin: 1px 0 0; }
.doc-row-actions { display: flex; gap: 6px; flex: none; }
.doc-row-actions button {
    width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.doc-row-actions button:hover { border-color: var(--accent); color: var(--accent); }
.doc-row-actions button.doc-delete-btn:hover { border-color: var(--danger); color: var(--danger); }

/* ---------- Modale générique (partage, v4) : account.css n'avait pas encore de système de
   modale — même patron overlay+panel/.open que css/editor.css (#settingsModalOverlay/#settings
   Modal), redéfini ici indépendamment puisque les deux fichiers ne sont jamais chargés
   ensemble. ---------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(20,18,14,0.5);
    display: none; z-index: 60;
}
.modal-overlay.open { display: block; }
.modal-panel {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.97);
    width: min(420px, 92vw); max-height: min(82vh, 600px); overflow-y: auto;
    background: var(--surface); border-radius: 16px; z-index: 61;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal-panel.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-panel-header h3 { font-size: 16px; font-weight: 800; margin: 0; }
.modal-close-btn {
    width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none;
}
.modal-close-btn svg { width: 15px; height: 15px; }

/* ---------- Partage (v4) : inviter par e-mail, liste des collaborateurs ---------- */
.share-section-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin: 0 0 10px; }
.share-invite-row { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.share-invite-row input[type="email"] {
    flex: 1; min-width: 160px; height: 40px; border-radius: 9px; border: 1px solid var(--line);
    padding: 0 12px; font-family: inherit; font-size: 13.5px; background: var(--paper); color: var(--ink);
}
.share-invite-row select {
    height: 40px; border-radius: 9px; border: 1px solid var(--line); padding: 0 10px;
    font-family: inherit; font-size: 13px; background: var(--paper); color: var(--ink);
}
.share-invite-row button {
    height: 40px; padding: 0 16px; border-radius: 9px; border: none; background: var(--accent);
    color: #fff; font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer;
}
.collab-list { display: flex; flex-direction: column; gap: 8px; }
.collab-row {
    display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line);
    border-radius: 10px; padding: 9px 11px;
}
.collab-row-email { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collab-row-role {
    font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
    border-radius: 10px; padding: 3px 9px; flex: none;
}
.collab-row-remove {
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none;
}
.collab-row-remove:hover { border-color: var(--danger); color: var(--danger); }
.collab-row-remove svg { width: 13px; height: 13px; }
.share-status { color: var(--ink-muted); font-size: 12.5px; margin: 4px 0; }

/* ---------- Badge propriétaire/partagé (v4) ---------- */
.owner-badge {
    display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
    border-radius: 8px; padding: 2px 7px; margin-top: 4px;
}
.owner-badge-owner { color: var(--ink-muted); background: var(--paper); border: 1px solid var(--line); }
.owner-badge-shared { color: var(--accent); background: var(--accent-soft); }

/* ---------- Cloche de notifications (v4) ---------- */
.notif-wrap { position: relative; }
.notif-bell-btn {
    position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.notif-bell-btn svg { width: 15px; height: 15px; }
.notif-bell-btn:hover { border-color: var(--accent); color: var(--accent); }
.notif-bell-count {
    position: absolute; top: -4px; right: -4px; min-width: 15px; height: 15px; border-radius: 8px;
    background: var(--danger); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 15px; text-align: center; padding: 0 3px;
}
.notif-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; width: 300px; max-width: calc(100vw - 32px);
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 14px 34px rgba(34,37,42,0.18); padding: 10px; display: none; z-index: 70;
    max-height: 380px; overflow-y: auto;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; }
.notif-dropdown-head span { font-size: 12.5px; font-weight: 800; }
.notif-mark-all-btn { background: none; border: none; padding: 0; font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--accent); cursor: pointer; text-decoration: underline; }
.notif-item {
    display: block; width: 100%; text-align: left; background: none; border: none; border-radius: 9px;
    padding: 9px 8px; cursor: pointer; font-family: inherit;
}
.notif-item:hover { background: var(--accent-soft); }
.notif-item.unread { background: var(--accent-soft); }
.notif-item-title { font-size: 12.5px; font-weight: 800; color: var(--ink); margin: 0 0 2px; }
.notif-item-body { font-size: 11.5px; color: var(--ink-muted); margin: 0 0 3px; line-height: 1.4; }
.notif-item-date { font-size: 10.5px; color: var(--ink-muted); }
.notif-empty { color: var(--ink-muted); font-size: 12.5px; padding: 16px 8px; text-align: center; }

/* ---------- Squelettes de chargement (window.skeletonCardsHtml/skeletonRowsHtml, js/00-icons.js)
   ---------- */
@keyframes skeleton-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.skeleton-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.skeleton-thumb { aspect-ratio: 4/3; background: var(--line); animation: skeleton-pulse 1.4s ease-in-out infinite; }
.skeleton-lines { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line { height: 10px; border-radius: 5px; background: var(--line); animation: skeleton-pulse 1.4s ease-in-out infinite; }
.skeleton-line-short { width: 55%; }
.skeleton-row {
    display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; padding: 14px 12px; margin-bottom: 8px;
}
.skeleton-row .skeleton-line { flex: 1; margin: 0; }
