/* ══════════════════════════════════════════════════════════════════════════
   Hostome — properties.html · Hébergements V6 (mission M51-R1)

   Transposition du mockup V6 validé (Claude Design) avec le langage visuel
   des pages finalisées Tableau de bord / Réservations : mêmes tokens
   (--t1..--t4, --surface*, --line*, --hostome-*), même palette sémantique
   (ok / warn / danger / info / neutral) et mêmes points de rupture
   (mobile ≤ 860 px, tablette 861–1180 px, bureau > 1180 px).
   Styles strictement locaux à la page (préfixe .pv6-) : aucun composant
   partagé n'est modifié. L'ancienne fiche (properties-legacy.html) garde
   son propre fichier css/pages/properties-legacy.css.
   ══════════════════════════════════════════════════════════════════════════ */

.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop, .pv6-toast {
  --pv6-ok-bg: #E6F6EE; --pv6-ok-fg: #157F4F; --pv6-ok-dot: #22A06B;
  --pv6-warn-bg: #FFF4E0; --pv6-warn-box: #FFF6E5; --pv6-warn-fg: #8A5300; --pv6-warn-ink: #6B4100; --pv6-warn-hint: #7A5520; --pv6-warn-dot: #E8A23A; --pv6-warn-icon: #D48A1C; --pv6-warn-bd: #EBC98E; --pv6-warn-pill: #FFE9C7;
  --pv6-danger: #C2335F; --pv6-danger-soft: #B4232A; --pv6-danger-bd: #F0D0D5;
  --pv6-info-bg: rgba(1, 55, 139, 0.07); --pv6-info-fg: var(--hostome-primary);
  --pv6-neutral-bg: #F1F1F3; --pv6-neutral-fg: #5E5E66; --pv6-neutral-dot: #A6A6AE;
  --pv6-pill-bg: #EDEDF0; --pv6-seg-bg: #EAEAEE;
  --pv6-hover: #F7F7F9; --pv6-hover-2: #F4F4F6; --pv6-row-hover: #FAFAFC;
  --pv6-select-bg: rgba(1, 55, 139, 0.06); --pv6-chip-on-bg: rgba(1, 55, 139, 0.07);
  --pv6-equip-on-bg: #E9F0FF; --pv6-equip-on-bd: #719CFA; --pv6-equip-bd: #DDE1E8;
  --pv6-border: rgba(12, 12, 16, 0.12); --pv6-border-btn: rgba(12, 12, 16, 0.14); --pv6-border-soft: rgba(12, 12, 16, 0.07); --pv6-border-input: rgba(12, 12, 16, 0.16);
  --pv6-head-bg: #FAFAFB; --pv6-head-fg: #8A8A92; --pv6-subtle-bg: #F8F8FA; --pv6-subtle-bd: #E4E5E9;
  --pv6-deep: var(--hostome-deep); --pv6-deep-fg: #FFFFFF;
  --pv6-note-bg: #F5F7FB; --pv6-note-fg: #3D4B66;
  --pv6-quiet-bg: #F0F4FC; --pv6-quiet-bd: #B3C9EE;
  --pv6-hint-bg: #EFF4FE; --pv6-hint-bd: #BDD0F8; --pv6-hint-fg: #0C3676;
  --pv6-photo-empty: #F4F4F6; --pv6-photo-veil: rgba(255, 255, 255, 0.94);
  --pv6-shadow-card: 0 1px 2px rgba(12, 12, 16, 0.04);
  --pv6-shadow-hover: 0 16px 36px -16px rgba(12, 12, 16, 0.24);
  --pv6-shadow-menu: 0 12px 32px -8px rgba(12, 12, 16, 0.22), 0 1px 2px rgba(12, 12, 16, 0.06);
  --pv6-shadow-modal: 0 40px 100px -30px rgba(12, 12, 16, 0.55), 0 0 0 1px rgba(12, 12, 16, 0.06);
  --pv6-backdrop: rgba(16, 20, 34, 0.26);
  --pv6-mark-airbnb-bg: #FDECEC; --pv6-mark-airbnb-fg: #B4232A; --pv6-mark-booking-bg: #E7EEFA; --pv6-mark-booking-fg: #003B95;
  --pv6-mark-other-bg: #EEF0F4; --pv6-mark-other-fg: #46464C;
}
[data-theme="dark"] .pv6-page, [data-theme="dark"] [data-pv6-editor], [data-theme="dark"] [data-pv6-add], [data-theme="dark"] [data-pv6-sheet], [data-theme="dark"] .pv6-dialog-backdrop, [data-theme="dark"] .pv6-toast {
  --pv6-ok-bg: rgba(59, 198, 131, 0.16); --pv6-ok-fg: #5BD39A; --pv6-ok-dot: #3BC683;
  --pv6-warn-bg: rgba(245, 158, 11, 0.14); --pv6-warn-box: rgba(245, 158, 11, 0.12); --pv6-warn-fg: #F5B44C; --pv6-warn-ink: #FBC872; --pv6-warn-hint: #E9B867; --pv6-warn-dot: #F5B44C; --pv6-warn-icon: #F5B44C; --pv6-warn-bd: rgba(245, 158, 11, 0.40); --pv6-warn-pill: rgba(245, 158, 11, 0.22);
  --pv6-danger: #F46796; --pv6-danger-soft: #F58BA9; --pv6-danger-bd: rgba(244, 103, 150, 0.40);
  --pv6-info-bg: rgba(124, 178, 255, 0.14); --pv6-info-fg: #9AC4FF;
  --pv6-neutral-bg: rgba(255, 255, 255, 0.08); --pv6-neutral-fg: #CDCDD4; --pv6-neutral-dot: #6E6E7A;
  --pv6-pill-bg: rgba(255, 255, 255, 0.10); --pv6-seg-bg: rgba(255, 255, 255, 0.08);
  --pv6-hover: rgba(255, 255, 255, 0.05); --pv6-hover-2: rgba(255, 255, 255, 0.07); --pv6-row-hover: rgba(255, 255, 255, 0.03);
  --pv6-select-bg: rgba(124, 178, 255, 0.12); --pv6-chip-on-bg: rgba(124, 178, 255, 0.14);
  --pv6-equip-on-bg: rgba(124, 178, 255, 0.16); --pv6-equip-on-bd: rgba(124, 178, 255, 0.60); --pv6-equip-bd: var(--line-strong);
  --pv6-border: var(--line-strong); --pv6-border-btn: var(--line-strong); --pv6-border-soft: var(--line); --pv6-border-input: var(--line-strong);
  --pv6-head-bg: var(--surface-2); --pv6-head-fg: var(--t3); --pv6-subtle-bg: var(--surface-2); --pv6-subtle-bd: var(--line);
  --pv6-deep: var(--hostome-primary); --pv6-deep-fg: var(--hostome-primary-contrast);
  --pv6-note-bg: rgba(124, 178, 255, 0.08); --pv6-note-fg: var(--t2);
  --pv6-quiet-bg: rgba(124, 178, 255, 0.10); --pv6-quiet-bd: rgba(124, 178, 255, 0.35);
  --pv6-hint-bg: rgba(124, 178, 255, 0.10); --pv6-hint-bd: rgba(124, 178, 255, 0.35); --pv6-hint-fg: #CFE1FF;
  --pv6-photo-empty: var(--surface-2); --pv6-photo-veil: rgba(26, 26, 32, 0.92);
  --pv6-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);
  --pv6-shadow-hover: 0 16px 36px -16px rgba(0, 0, 0, 0.7);
  --pv6-shadow-menu: 0 12px 32px -8px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
  --pv6-shadow-modal: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --pv6-backdrop: rgba(0, 0, 0, 0.55);
  --pv6-mark-airbnb-bg: rgba(244, 103, 150, 0.16); --pv6-mark-airbnb-fg: #F58BA9; --pv6-mark-booking-bg: rgba(124, 178, 255, 0.18); --pv6-mark-booking-fg: #9AC4FF;
  --pv6-mark-other-bg: rgba(255, 255, 255, 0.10); --pv6-mark-other-fg: var(--t2);
}

/* ── Cadre ─────────────────────────────────────────────────────────────── */
.page-main:has(.pv6-page) { background: var(--bg); }
.pv6-page { flex: 1; min-height: 0; overflow-y: auto; font-size: 13.5px; letter-spacing: -0.005em; color: var(--t2); }
.pv6-page-inner { max-width: 1320px; margin: 0 auto; padding: 38px 40px 80px; box-sizing: border-box; }
:where(.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop) *, :where(.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop) *::before, :where(.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop) *::after { box-sizing: border-box; }
:where(.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop, .pv6-toast) :where(button, input, select, textarea) { font-family: inherit; letter-spacing: inherit; }
:where([data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop) { font-size: 13.5px; letter-spacing: -0.005em; color: var(--t2); }
.pv6-page [hidden], [data-pv6-editor] [hidden], [data-pv6-add] [hidden] { display: none !important; }

.pv6-flex { flex: 1 1 0%; min-width: 0; }
.pv6-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-muted { color: var(--t3); }
.pv6-faint { color: var(--t3); font-size: 12.5px; }
.pv6-sr, .pv6-sr-input { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.pv6-editor-open, html.pv6-editor-open body { overflow: hidden; }

/* ── Boutons ──────────────────────────────────────────────────────────── */
.pv6-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px;
  border: 1px solid var(--pv6-border-btn); border-radius: 10px; background: var(--surface); color: var(--t1);
  font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s, filter .15s;
}
.pv6-btn:hover { background: var(--pv6-hover); }
.pv6-btn:disabled { opacity: .55; cursor: not-allowed; }
.pv6-btn--primary { border: 0; background: var(--pv6-deep); color: var(--pv6-deep-fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px -8px rgba(9, 32, 77, 0.55); }
.pv6-btn--primary:hover { background: var(--pv6-deep); filter: brightness(1.18); }
.pv6-btn--primary:disabled { background: var(--t4); box-shadow: none; filter: none; }
.pv6-btn--danger { border: 0; background: var(--pv6-danger); color: #fff; }
[data-theme="dark"] .pv6-btn--danger { color: #12060A; }
.pv6-btn--danger:hover { background: var(--pv6-danger); filter: brightness(1.08); }
.pv6-btn--warn { border-color: var(--pv6-warn-bd); color: var(--pv6-warn-ink); }
.pv6-btn--warn:hover { background: var(--pv6-warn-box); }
.pv6-btn--danger-soft { border-color: var(--pv6-danger-bd); color: var(--pv6-danger-soft); background: var(--surface); }
.pv6-btn--lg { height: 42px; padding: 0 18px; border-radius: 11px; font-size: 14px; gap: 9px; }
.pv6-btn--sm { height: 32px; padding: 0 13px; border-radius: 9px; font-size: 12.5px; }
.pv6-btn--xs { height: 28px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600; }
.pv6-btn--compact { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; }
.pv6-btn--icon { width: 34px; padding: 0; }
.pv6-btn--block { width: 100%; height: 48px; border-radius: 12px; font-size: 15px; margin-top: 16px; }
.pv6-btn.is-selected { border: 1.5px solid var(--hostome-primary); }
.pv6-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; color: var(--hostome-primary); font-size: 12.5px; font-weight: 650; cursor: pointer; text-decoration: none; }
.pv6-link:hover { text-decoration: underline; }
.pv6-link--inline { padding: 0; font-size: inherit; }
.pv6-icon-btn {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 9px;
  background: transparent; color: var(--t2); cursor: pointer; font-size: 14px;
}
.pv6-icon-btn:hover { background: var(--pv6-hover-2); color: var(--t1); }
.pv6-icon-btn.is-danger { color: var(--pv6-danger-soft); }
.pv6-icon-btn.is-sm { width: 30px; height: 30px; font-size: 12px; }
.pv6-icon-btn--lg { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
:where(.pv6-page, [data-pv6-editor], [data-pv6-add], [data-pv6-sheet], .pv6-dialog-backdrop) :where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--hostome-primary); outline-offset: 2px; }

.pv6-count {
  min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; background: var(--pv6-pill-bg); color: var(--pv6-neutral-fg); flex-shrink: 0;
}
.pv6-count.is-warn { background: var(--pv6-warn-pill); color: var(--pv6-warn-fg); }
.pv6-count.is-active { background: var(--pv6-deep); color: var(--pv6-deep-fg); }
.pv6-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pv6-pill.is-neutral { background: var(--pv6-neutral-bg); color: var(--pv6-neutral-fg); }
.pv6-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; background: var(--pv6-neutral-dot); }
.pv6-dot.is-ok { background: var(--pv6-ok-dot); }
.pv6-dot.is-issue { background: var(--pv6-warn-dot); }
.pv6-dot.is-setup { background: var(--hostome-primary); }
.pv6-dot.is-paused { background: var(--pv6-neutral-dot); }

/* ── En-tête ──────────────────────────────────────────────────────────── */
.pv6-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pv6-head-copy { min-width: 0; flex: 1 1 360px; }
.pv6-title { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.025em; color: var(--t1); line-height: 1.15; }
.pv6-intro { margin: 10px 0 0; font-size: 14.5px; color: var(--t3); line-height: 1.5; }
.pv6-summary { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; font-size: 14.5px; color: var(--t2); line-height: 1.4; }
.pv6-summary-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--pv6-ok-dot); box-shadow: 0 0 0 4px rgba(34, 160, 107, 0.16); }
.pv6-summary-dot.is-issue { background: var(--pv6-warn-dot); box-shadow: 0 0 0 4px rgba(232, 162, 58, 0.22); }
.pv6-summary-dot.is-setup { background: var(--hostome-primary); box-shadow: 0 0 0 4px rgba(var(--hostome-primary-rgb), 0.12); }
.pv6-summary-dot.is-paused { background: var(--pv6-neutral-dot); box-shadow: 0 0 0 4px rgba(166, 166, 174, 0.2); }
.pv6-summary-text { min-width: 0; text-wrap: pretty; }
.pv6-summary-link { border: 0; background: none; color: var(--hostome-primary); font-size: 14px; font-weight: 650; cursor: pointer; padding: 0 0 0 6px; }
.pv6-summary-link:hover { text-decoration: underline; }
.pv6-head-cta { flex-shrink: 0; }
.pv6-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--pv6-note-bg); color: var(--pv6-note-fg); font-size: 13px; line-height: 1.5; }
.pv6-alert.is-error { background: var(--pv6-warn-box); color: var(--pv6-warn-ink); }
.pv6-alert ul { margin: 6px 0 0; padding-left: 18px; }
.pv6-alert > i { margin-top: 3px; }
.pv6-loading { display: flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--t3); }

/* ── À faire ──────────────────────────────────────────────────────────── */
.pv6-todo { margin-top: 26px; background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 18px; padding: 6px; box-shadow: var(--pv6-shadow-card); }
.pv6-todo-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 6px; }
.pv6-todo-title { font-size: 15px; font-weight: 700; color: var(--t1); }
.pv6-todo-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.pv6-todo-row:hover { background: var(--pv6-hover); }
.pv6-todo-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.pv6-todo-icon.is-warn { background: var(--pv6-warn-bg); color: var(--pv6-warn-icon); }
.pv6-todo-icon.is-info { background: var(--pv6-info-bg); color: var(--pv6-info-fg); }
.pv6-todo-line { font-size: 13.5px; color: var(--t2); line-height: 1.4; }
.pv6-todo-line strong { color: var(--t1); font-weight: 650; }
.pv6-todo-hint { font-size: 12.5px; color: var(--t3); margin-top: 2px; }
.pv6-todo-more { padding: 8px 14px 10px; font-size: 13px; }

/* ── Onglets / sélecteur « Afficher » ─────────────────────────────────── */
.pv6-tabs { margin-top: 28px; display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--pv6-border-soft); scrollbar-width: none; }
.pv6-tabs::-webkit-scrollbar { display: none; }
.pv6-tab {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; color: var(--t3); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.pv6-tab:hover { color: var(--t1); }
.pv6-tab.is-active { border-bottom-color: var(--pv6-deep); color: var(--t1); font-weight: 700; }
/* Statut « Archivés » (hébergements supprimés, lecture seule), aligné à droite des statuts. */
.pv6-tab-archive { margin-left: auto; }
.pv6-tab-archive > i { font-size: 12px; color: var(--t4); }
.pv6-archive { margin-top: 22px; }
.pv6-archive-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--pv6-note-bg); color: var(--pv6-note-fg); font-size: 13px; line-height: 1.5; }
.pv6-archive-list { background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 18px; box-shadow: var(--pv6-shadow-card); overflow: hidden; }
.pv6-archive-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--pv6-border-soft); }
.pv6-archive-row:first-child { border-top: 0; }
.pv6-archive-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--pv6-neutral-bg); color: var(--pv6-neutral-fg); flex-shrink: 0; }
.pv6-archive-name { font-size: 14px; font-weight: 700; color: var(--t1); }
.pv6-archive-meta { margin-top: 2px; font-size: 12.5px; color: var(--t3); }
.pv6-archive-state.is-restorable { background: var(--pv6-info-bg); color: var(--pv6-info-fg); }
.pv6-archive-state.is-expired { background: var(--pv6-warn-pill); color: var(--pv6-warn-fg); }
.pv6-archive-state.is-purged { background: var(--pv6-neutral-bg); color: var(--pv6-neutral-fg); }
.pv6-archive-more { margin: 16px auto 0; display: flex; }
@media (max-width: 860px) { .pv6-archive-row { flex-wrap: wrap; padding: 12px 14px; } .pv6-archive-state { margin-left: 52px; } }
.pv6-show { display: none; position: relative; margin-top: 22px; z-index: 25; }
.pv6-show-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--pv6-border);
  background: var(--surface); color: var(--t1); font-size: 14.5px; font-weight: 650; cursor: pointer; text-align: left;
}
.pv6-show-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3); }
.pv6-show-menu { left: 0; right: 0; top: calc(100% + 6px); }
.pv6-chev { font-size: 9px; color: var(--t4); }

/* ── Outils ───────────────────────────────────────────────────────────── */
.pv6-tools { position: relative; z-index: 20; display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pv6-tools-mob { display: none; align-items: center; gap: 8px; margin-top: 14px; }
.pv6-search {
  display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; flex: 1 1 240px; max-width: 340px;
  background: var(--surface); border: 1px solid var(--pv6-border); border-radius: 10px; color: var(--t3);
}
.pv6-search i { font-size: 12px; }
.pv6-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; color: var(--t1); }
.pv6-search input::placeholder { color: var(--t4); }
.pv6-search:focus-within { border-color: var(--hostome-primary); box-shadow: 0 0 0 3px rgba(var(--hostome-primary-rgb), 0.12); }
.pv6-search--mob { height: 44px; border-radius: 12px; flex: 1; max-width: none; }
.pv6-search--mob input { font-size: 16px; }
.pv6-pop-wrap { position: relative; }
.pv6-tool-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--pv6-border); border-radius: 10px;
  background: var(--surface); color: var(--t2); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.pv6-tool-btn:hover { background: var(--pv6-hover); }
.pv6-tool-btn > i:first-child { color: var(--t3); }
.pv6-tool-btn--mob { height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--t1); flex-shrink: 0; }
.pv6-tool-strong { font-weight: 650; color: var(--t1); }
.pv6-tool-muted { color: var(--t3); }
.pv6-reset { font-size: 12.5px; }
/* M51-R2 : filtre Propriétaires désactivé (module non disponible) — focusable, sans liste ; explication au survol / focus. */
.pv6-tool-btn.is-disabled { cursor: not-allowed; color: var(--t3); }
.pv6-tool-btn.is-disabled:hover { background: var(--surface); }
.pv6-tool-btn.is-disabled .pv6-tool-strong { color: var(--t3); }
.pv6-tool-btn.is-disabled:focus-visible { outline: 2px solid var(--hostome-primary); outline-offset: 2px; }
.pv6-tip {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; width: max-content; max-width: 260px; padding: 9px 11px;
  background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 10px; box-shadow: var(--pv6-shadow-menu);
  color: var(--t2); font-size: 12.5px; line-height: 1.4; white-space: normal; visibility: hidden; opacity: 0; transition: opacity 0.12s ease; pointer-events: none;
}
.pv6-owner-off:hover .pv6-tip, .pv6-owner-off:focus-within .pv6-tip { visibility: visible; opacity: 1; }
.pv6-seg { display: flex; gap: 2px; padding: 3px; background: var(--pv6-seg-bg); border-radius: 10px; }
.pv6-seg-btn { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--t3); display: grid; place-items: center; cursor: pointer; }
.pv6-seg-btn.is-on { background: var(--surface); color: var(--t1); box-shadow: 0 1px 3px rgba(12, 12, 16, 0.12); }

.pv6-menu {
  position: absolute; z-index: 30; min-width: 230px; padding: 6px; background: var(--surface); border: 1px solid var(--pv6-border-soft);
  border-radius: 12px; box-shadow: var(--pv6-shadow-menu);
}
.pv6-drop { top: calc(100% + 6px); right: 0; }
.pv6-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent;
  color: var(--t1); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer;
}
.pv6-opt:hover { background: var(--pv6-hover-2); }
.pv6-opt.is-on { background: var(--pv6-select-bg); font-weight: 700; }
.pv6-opt.is-static { cursor: default; color: var(--t3); }
.pv6-opt-n { font-size: 12px; color: var(--t3); }
.pv6-opt-check { width: 14px; display: inline-flex; justify-content: center; color: var(--hostome-primary); font-size: 11px; }
.pv6-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none;
  color: var(--t1); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer;
}
.pv6-menu-item > i { width: 16px; text-align: center; color: var(--t3); }
.pv6-menu-item:hover { background: var(--pv6-hover-2); }
.pv6-menu-item.is-danger, .pv6-menu-item.is-danger > i { color: var(--pv6-danger); }
.pv6-menu-sep { height: 1px; background: var(--pv6-border-soft); margin: 5px 4px; }
.pv6-catcher { position: fixed; inset: 0; z-index: 15; }

/* ── Cartes ───────────────────────────────────────────────────────────── */
.pv6-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 20px; margin-top: 28px; }
.pv6-grid.has-tools, .pv6-table.has-tools { margin-top: 18px; }
.pv6-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 18px;
  cursor: pointer; box-shadow: var(--pv6-shadow-card); transition: box-shadow .2s ease, transform .2s ease; outline: none;
}
.pv6-card:hover { box-shadow: var(--pv6-shadow-hover); transform: translateY(-2px); }
.pv6-card:focus-visible { box-shadow: 0 0 0 3px rgba(var(--hostome-primary-rgb), 0.25); }
.pv6-card.is-menu-open { z-index: 30; }
.pv6-card-photo { position: relative; aspect-ratio: 16 / 10; border-radius: 17px 17px 0 0; overflow: hidden; background: var(--pv6-photo-empty); }
.pv6-card-photo-img, .pv6-row-photo-img, .pv6-mrow-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv6-card-photo.is-paused, .pv6-row-photo.is-paused, .pv6-mrow-photo.is-paused { filter: grayscale(0.75) opacity(0.7); }
.pv6-card-nophoto {
  position: absolute; inset: 12px; border: 1.5px dashed var(--pv6-border-input); border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 7px; color: var(--t4);
}
.pv6-card-nophoto i { font-size: 20px; }
.pv6-card-nophoto span { font-size: 12.5px; font-weight: 500; color: var(--t3); }
.pv6-card-more {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--pv6-photo-veil);
  color: var(--t1); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(12, 12, 16, 0.12);
}
.pv6-card-more:hover { box-shadow: 0 4px 12px rgba(12, 12, 16, 0.18); }
.pv6-card-menu { top: 50px; right: 10px; min-width: 220px; cursor: default; }
.pv6-card-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.pv6-card-copy { min-width: 0; }
.pv6-card-name { font-size: 16px; font-weight: 700; color: var(--t1); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-card-meta { font-size: 13px; color: var(--t3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-card-status { margin-top: auto; }
.pv6-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.pv6-card-next { margin-top: 12px; }
.pv6-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.pv6-state .pv6-dot { box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.15); }
.pv6-state.is-ok { color: var(--pv6-ok-fg); }
.pv6-state.is-ok .pv6-dot { background: var(--pv6-ok-dot); }
.pv6-state.is-paused { color: var(--pv6-neutral-fg); }
.pv6-state.is-paused .pv6-dot { box-shadow: none; }
.pv6-marks { display: flex; gap: 4px; }
.pv6-mark {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800;
  background: var(--pv6-mark-other-bg); color: var(--pv6-mark-other-fg); flex-shrink: 0;
}
.pv6-mark--airbnb { background: var(--pv6-mark-airbnb-bg); color: var(--pv6-mark-airbnb-fg); }
.pv6-mark--booking { background: var(--pv6-mark-booking-bg); color: var(--pv6-mark-booking-fg); }
.pv6-card-stay { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pv6-border-soft); font-size: 12.5px; color: var(--t3); }
.pv6-card-hint { font-size: 12.5px; color: var(--t3); margin-top: 6px; }
.pv6-issue-box { background: var(--pv6-warn-box); border-radius: 12px; padding: 12px 12px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.pv6-issue-head { display: flex; gap: 9px; align-items: flex-start; }
.pv6-issue-head > i { color: var(--pv6-warn-icon); font-size: 14px; margin-top: 2px; }
.pv6-issue-title { font-size: 13px; font-weight: 650; color: var(--pv6-warn-ink); line-height: 1.35; }
.pv6-issue-hint { font-size: 12.5px; color: var(--pv6-warn-hint); margin-top: 2px; line-height: 1.45; }
.pv6-issue-box .pv6-btn { align-self: flex-start; }
.pv6-setup-label { font-weight: 650; color: var(--hostome-primary); }
.pv6-progress { display: block; height: 6px; border-radius: 3px; background: var(--pv6-pill-bg); margin-top: 8px; overflow: hidden; }
.pv6-progress > span { display: block; height: 100%; background: var(--hostome-primary); border-radius: 3px; transition: width .4s ease; }
.pv6-progress--mini { width: 48px; height: 5px; margin-top: 0; flex-shrink: 0; }
.pv6-next { font-size: 12.5px; color: var(--t2); min-width: 0; line-height: 1.4; }
.pv6-ghost {
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px;
  border: 1.5px dashed var(--pv6-border-input); border-radius: 18px; background: transparent; cursor: pointer; color: var(--t2); text-align: center;
  transition: border-color .15s, background .15s;
}
.pv6-ghost:hover { border-color: rgba(var(--hostome-primary-rgb), 0.5); background: rgba(var(--hostome-primary-rgb), 0.03); }
.pv6-ghost-plus { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 10px rgba(12, 12, 16, 0.08); display: grid; place-items: center; font-size: 17px; color: var(--pv6-deep); }
.pv6-ghost-title { font-size: 15px; font-weight: 700; color: var(--t1); }
.pv6-ghost-text { font-size: 12.5px; color: var(--t3); max-width: 240px; line-height: 1.45; }

/* ── Vue liste (bureau / tablette) ────────────────────────────────────── */
.pv6-table { margin-top: 28px; background: var(--pv6-border-soft); border: 1px solid var(--pv6-border-soft); border-radius: 16px; display: flex; flex-direction: column; gap: 1px; box-shadow: var(--pv6-shadow-card); }
.pv6-table-head, .pv6-row { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 2.3fr) 120px minmax(0, 1.4fr) 36px; gap: 16px; align-items: center; }
.pv6-table-head { padding: 10px 16px; background: var(--pv6-head-bg); border-radius: 15px 15px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pv6-head-fg); }
.pv6-row { position: relative; padding: 12px 16px; background: var(--surface); cursor: pointer; outline: none; }
.pv6-row.is-last { border-radius: 0 0 15px 15px; }
.pv6-row:hover { background: var(--pv6-row-hover); }
.pv6-row:focus-visible { box-shadow: inset 0 0 0 2px rgba(var(--hostome-primary-rgb), 0.3); }
.pv6-row.is-menu-open { z-index: 30; }
.pv6-row-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv6-row-photo { width: 56px; height: 42px; border-radius: 9px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--pv6-photo-empty); color: var(--t4); font-size: 13px; box-shadow: inset 0 0 0 1px var(--pv6-border-soft); }
.pv6-row-copy { min-width: 0; }
.pv6-row-name { font-size: 14px; font-weight: 650; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-row-meta { font-size: 12.5px; color: var(--t3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-row-state { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pv6-row-status { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pv6-row-status.is-ok { color: var(--pv6-ok-fg); }
.pv6-row-status.is-issue { color: var(--pv6-warn-fg); }
.pv6-row-status.is-setup { color: var(--hostome-primary); }
.pv6-row-status.is-paused { color: var(--pv6-neutral-fg); }
.pv6-row-marks { display: flex; gap: 4px; min-width: 0; }
.pv6-row-stay { font-size: 12.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-row-menu { top: 50px; right: 12px; min-width: 220px; }
.pv6-mlist { display: none; flex-direction: column; gap: 10px; margin-top: 18px; }
.pv6-mrow { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border-radius: 16px; border: 1px solid var(--pv6-border-soft); cursor: pointer; }
.pv6-mrow-photo { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; color: var(--t4); font-size: 16px; background: var(--pv6-photo-empty); }
.pv6-mrow-copy { flex: 1; min-width: 0; }
.pv6-mrow-name { font-size: 15px; font-weight: 650; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-mrow-meta { font-size: 12.5px; color: var(--t3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv6-mrow-state { display: flex; align-items: center; gap: 7px; margin-top: 6px; min-width: 0; }
.pv6-mrow-state .pv6-row-status { font-size: 12.5px; }

/* ── Aucun résultat / état vide ───────────────────────────────────────── */
.pv6-noresults { margin-top: 22px; padding: 48px 20px; text-align: center; background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 18px; color: var(--t3); }
.pv6-noresults > i { font-size: 20px; color: var(--t4); }
.pv6-noresults-title { font-size: 15px; font-weight: 700; color: var(--t1); margin-top: 12px; }
.pv6-noresults p { font-size: 13.5px; margin: 4px 0 0; }
.pv6-noresults .pv6-btn { margin-top: 16px; }
.pv6-empty { margin-top: 28px; background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 24px; padding: 56px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: var(--pv6-shadow-card); }
.pv6-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--pv6-info-bg); color: var(--pv6-deep); display: grid; place-items: center; font-size: 24px; }
[data-theme="dark"] .pv6-empty-icon { color: var(--hostome-primary); }
.pv6-empty-title { margin: 20px 0 0; font-size: 30px; font-weight: 800; color: var(--t1); letter-spacing: -0.02em; line-height: 1.2; }
.pv6-empty-text { margin: 10px 0 0; font-size: 15px; color: var(--t2); max-width: 520px; line-height: 1.55; text-wrap: pretty; }
.pv6-empty-options { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 720px; }
.pv6-empty-opt { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--pv6-border); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer; transition: box-shadow .15s; }
.pv6-empty-opt.is-import { border-color: rgba(var(--hostome-primary-rgb), 0.3); background: rgba(var(--hostome-primary-rgb), 0.03); }
.pv6-empty-opt:hover { box-shadow: 0 8px 22px -12px rgba(12, 12, 16, 0.3); }
.pv6-empty-opt-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--t1); }
.pv6-empty-opt-text { display: block; font-size: 13px; color: var(--t2); margin-top: 4px; line-height: 1.45; }
.pv6-opt-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--pv6-hover-2); color: var(--pv6-deep); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
[data-theme="dark"] .pv6-opt-icon { color: var(--hostome-primary); }
.pv6-opt-icon.is-deep { background: var(--pv6-deep); color: var(--pv6-deep-fg); }
[data-theme="dark"] .pv6-opt-icon.is-deep { color: var(--pv6-deep-fg); }
.pv6-opt-icon.is-sm { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.pv6-empty-steps { margin-top: 32px; display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--t2); }
.pv6-empty-steps span { display: flex; align-items: center; gap: 8px; }
.pv6-empty-steps b { width: 22px; height: 22px; border-radius: 50%; background: var(--pv6-pill-bg); color: var(--t1); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.pv6-empty-help { margin-top: 22px; font-size: 13px; color: var(--t3); }
.pv6-empty-help a { color: var(--hostome-primary); font-weight: 600; }
.pv6-fab {
  display: none; position: fixed; right: 16px; bottom: 20px; z-index: 45; align-items: center; gap: 9px; height: 52px; padding: 0 20px; border-radius: 999px;
  border: 0; background: var(--pv6-deep); color: var(--pv6-deep-fg); font-size: 15px; font-weight: 650; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(9, 32, 77, 0.6);
}

/* ── Feuilles mobiles ─────────────────────────────────────────────────── */
.pv6-sheet-backdrop { position: fixed; inset: 0; z-index: 75; background: rgba(12, 12, 16, 0.32); }
.pv6-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 76; max-height: 85vh; overflow-y: auto; background: var(--surface);
  border-radius: 20px 20px 0 0; padding: 8px 16px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(12, 12, 16, 0.2);
}
.pv6-sheet-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 12px; }
.pv6-sheet-title { font-size: 15px; font-weight: 700; color: var(--t1); padding: 0 6px 8px; }
.pv6-sheet-menu .pv6-menu-item { height: 50px; font-size: 15px; gap: 14px; }
.pv6-sheet-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pv6-head-fg); padding: 14px 4px 6px; }
.pv6-sheet .pv6-opt { min-height: 48px; font-size: 15px; padding: 0 4px; }
.pv6-sheet .pv6-opt.is-disabled { cursor: not-allowed; color: var(--t3); }
.pv6-sheet .pv6-opt.is-disabled:hover { background: none; }
.pv6-sheet-hint { display: flex; gap: 8px; align-items: flex-start; margin: 0 4px 4px; color: var(--t2); font-size: 13px; line-height: 1.45; }
.pv6-sheet-hint > i { color: var(--t3); margin-top: 2px; }
.pv6-sheet-views { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv6-sheet-views .pv6-btn { height: 46px; border-radius: 12px; font-size: 14px; }

/* ── Modale « Ajouter un hébergement » ────────────────────────────────── */
.pv6-modal-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(12, 12, 16, 0.32); display: flex; align-items: center; justify-content: center; padding: 24px; }
.pv6-add { position: relative; width: 580px; max-width: 100%; max-height: calc(100% - 48px); overflow-y: auto; background: var(--surface); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(12, 12, 16, 0.4); display: flex; flex-direction: column; }
.pv6-add-head { display: flex; align-items: center; gap: 8px; padding: 16px 16px 0 24px; min-height: 50px; }
.pv6-add-back { margin-left: -10px; }
.pv6-add-eyebrow { flex: 1; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pv6-head-fg); }
.pv6-add-body { padding: 8px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pv6-add-title { margin: 0; font-size: 22px; font-weight: 800; color: var(--t1); letter-spacing: -0.02em; line-height: 1.25; }
.pv6-add-text { margin: 6px 0 0; font-size: 14px; color: var(--t2); line-height: 1.5; }
.pv6-add-options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pv6-add-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid var(--pv6-border); border-radius: 14px; background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pv6-add-opt:hover { border-color: rgba(var(--hostome-primary-rgb), 0.45); box-shadow: 0 6px 18px -10px rgba(var(--hostome-primary-rgb), 0.35); }
.pv6-add-opt-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; font-weight: 700; color: var(--t1); }
.pv6-add-opt-text { display: block; font-size: 13px; color: var(--t3); margin-top: 3px; line-height: 1.45; }
.pv6-add-opt-chev { color: var(--t4); font-size: 12px; }
.pv6-add-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pv6-platform { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; border: 1px solid var(--pv6-border); border-radius: 14px; background: var(--surface); cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--t1); }
.pv6-platform:hover { border-color: rgba(var(--hostome-primary-rgb), 0.45); box-shadow: 0 6px 18px -10px rgba(var(--hostome-primary-rgb), 0.35); }
.pv6-platform-mark { width: 44px; height: 44px; border-radius: 50%; font-size: 17px; font-weight: 800; display: grid; place-items: center; }
.pv6-platform-mark.is-airbnb { background: var(--pv6-mark-airbnb-bg); color: var(--pv6-mark-airbnb-fg); }
.pv6-platform-mark.is-booking { background: var(--pv6-mark-booking-bg); color: var(--pv6-mark-booking-fg); }
.pv6-add-lock { display: flex; gap: 9px; align-items: center; margin-top: 16px; font-size: 12.5px; color: var(--t3); }
.pv6-add-lock i { font-size: 11px; }
.pv6-add-foot { margin: 22px 0 0; font-size: 13px; color: var(--t3); }
.pv6-add-unavailable { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pv6-add-actions { margin-top: auto; padding-top: 22px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.pv6-add-actions .pv6-btn { height: 44px; padding: 0 20px; border-radius: 11px; font-size: 14px; }
.pv6-copy-list { margin-top: 18px; max-height: 250px; overflow-y: auto; background: var(--pv6-border-soft); border: 1px solid var(--pv6-border-soft); border-radius: 14px; display: flex; flex-direction: column; gap: 1px; }
.pv6-copy-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: var(--surface); text-align: left; cursor: pointer; flex-shrink: 0; }
.pv6-copy-name { font-size: 14px; font-weight: 600; color: var(--t1); }
.pv6-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--pv6-border-input); flex-shrink: 0; display: inline-block; }
.pv6-radio.is-on { border: 5px solid var(--hostome-primary); }
.pv6-copy-field { margin-top: 16px; }

/* ── Champs génériques ────────────────────────────────────────────────── */
.pv6-field { grid-column: 1 / -1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pv6-field.is-half { grid-column: auto; }
.pv6-label-row { display: flex; justify-content: space-between; gap: 8px; }
.pv6-label { font-size: 13px; font-weight: 650; color: var(--t1); }
.pv6-label--block { display: block; margin-bottom: 2px; }
.pv6-counter { font-size: 12px; color: var(--t3); }
.pv6-input-wrap { position: relative; display: flex; align-items: center; }
.pv6-input {
  width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--pv6-border-input); background: var(--surface);
  font-size: 14.5px; color: var(--t1); outline: none;
}
.pv6-input::placeholder { color: var(--t4); }
.pv6-input:focus { border-color: var(--hostome-primary); box-shadow: 0 0 0 3px rgba(var(--hostome-primary-rgb), 0.12); }
.pv6-input:disabled { background: var(--pv6-subtle-bg); color: var(--t3); cursor: not-allowed; }
.pv6-input.is-invalid { border-color: var(--pv6-danger); box-shadow: 0 0 0 3px rgba(194, 51, 95, 0.12); }
.pv6-input--sm { height: 39px; border-radius: 10px; font-size: 13.5px; padding: 0 12px; }
.pv6-input--xs { height: 32px; border-radius: 8px; font-size: 12px; padding: 0 6px; width: auto; }
.pv6-textarea { height: auto; padding: 11px 13px; line-height: 1.55; resize: vertical; font-family: inherit; }
.pv6-select { padding-right: 30px; appearance: auto; }
.pv6-hint { font-size: 12px; color: var(--pv6-head-fg); line-height: 1.45; }
.pv6-hint.is-error { color: var(--pv6-danger); }
.pv6-hint a { color: var(--hostome-primary); }
.pv6-readonly { height: 44px; display: flex; align-items: center; padding: 0 13px; border-radius: 11px; background: var(--pv6-subtle-bg); border: 1px solid var(--pv6-border-soft); color: var(--t1); font-size: 14px; }
.pv6-unit { position: absolute; right: 6px; height: 32px; border: 0; border-radius: 8px; background: var(--pv6-hover-2); color: var(--t2); font-size: 13px; padding: 0 6px; }
.pv6-input-wrap:has(.pv6-unit) .pv6-input, .pv6-input-wrap:has(.pv6-input-suffix-btn) .pv6-input { padding-right: 70px; }
.pv6-input-suffix-btn { position: absolute; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--t3); cursor: pointer; display: grid; place-items: center; }
.pv6-input-suffix-btn:hover { background: var(--pv6-hover-2); color: var(--t1); }

/* ── Grande fiche ─────────────────────────────────────────────────────── */
.pv6-editor-backdrop {
  position: fixed; inset: 0; z-index: 1100; background: var(--pv6-backdrop); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
.pv6-editor { position: relative; width: 1100px; max-width: 100%; height: 100%; max-height: 860px; background: var(--surface); border-radius: 22px; box-shadow: var(--pv6-shadow-modal); display: flex; overflow: hidden; }
.pv6-editor-nav { width: 252px; flex-shrink: 0; border-right: 1px solid var(--pv6-border-soft); background: var(--pv6-head-bg); display: flex; flex-direction: column; overflow-y: auto; }
.pv6-nav-head { padding: 16px 16px 14px; }
.pv6-nav-photo { height: 112px; border-radius: 12px; overflow: hidden; background: var(--pv6-photo-empty); display: grid; place-items: center; color: var(--t4); font-size: 18px; box-shadow: inset 0 0 0 1px var(--pv6-border-soft); }
.pv6-nav-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv6-nav-name { font-size: 15px; font-weight: 700; color: var(--t1); margin-top: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.pv6-nav-status { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.pv6-nav-status.is-ok { color: var(--pv6-ok-fg); }
.pv6-nav-status.is-issue { color: var(--pv6-warn-fg); }
.pv6-nav-status.is-setup { color: var(--hostome-primary); }
.pv6-nav-status.is-paused { color: var(--pv6-neutral-fg); }
.pv6-nav-list { padding: 2px 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.pv6-nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--t2); font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; }
.pv6-nav-item:hover { color: var(--t1); }
.pv6-nav-item.is-active { background: var(--surface); box-shadow: 0 1px 3px rgba(12, 12, 16, 0.08), 0 0 0 1px var(--pv6-border-soft); color: var(--t1); font-weight: 650; }
.pv6-nav-icon { width: 18px; text-align: center; color: var(--t4); flex-shrink: 0; }
.pv6-nav-item.is-active .pv6-nav-icon { color: var(--hostome-primary); }
.pv6-nav-foot { margin-top: auto; padding: 10px 10px 14px; border-top: 1px solid var(--pv6-border-soft); display: flex; flex-direction: column; gap: 2px; }
.pv6-nav-link { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; color: var(--t2); font-size: 13px; font-weight: 500; text-decoration: none; }
.pv6-nav-link > i:first-child { width: 18px; text-align: center; color: var(--pv6-head-fg); }
.pv6-nav-link:hover { background: var(--pv6-hover-2); color: var(--t1); }
.pv6-nav-ext { font-size: 10px; color: var(--t4); }
.pv6-editor-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv6-editor-head { height: 60px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 28px; border-bottom: 1px solid var(--pv6-border-soft); }
.pv6-editor-back { display: none; width: 40px; height: 40px; border-radius: 50%; }
.pv6-editor-close { width: 40px; height: 40px; border-radius: 50%; font-size: 16px; color: var(--t1); }
.pv6-crumb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.pv6-crumb-name { color: var(--t3); min-width: 0; }
.pv6-crumb-sep { font-size: 9px; color: var(--t4); }
.pv6-crumb-sec { color: var(--t1); font-weight: 650; white-space: nowrap; }
.pv6-sec-select { display: none; flex: 1; min-width: 0; height: 40px; border: 1px solid var(--pv6-border-soft); border-radius: 10px; background: var(--pv6-subtle-bg); color: var(--t1); padding: 0 9px; font-size: 14px; font-weight: 700; }
.pv6-dirty-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pv6-warn-dot); flex-shrink: 0; }
.pv6-editor-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pv6-editor-body { padding: 28px 36px 40px; display: flex; flex-direction: column; gap: 18px; max-width: 800px; }
.pv6-sec-title { margin: 0; font-size: 24px; font-weight: 800; color: var(--t1); letter-spacing: -0.02em; line-height: 1.2; outline: none; }
.pv6-sec-intro { margin: 6px 0 0; font-size: 14px; color: var(--t3); line-height: 1.5; text-wrap: pretty; }
.pv6-fcard { border: 1px solid var(--pv6-border-soft); border-radius: 16px; padding: 20px 22px; background: var(--surface); }
.pv6-fcard-head { margin-bottom: 16px; }
.pv6-fcard-title { font-size: 15.5px; font-weight: 700; color: var(--t1); }
.pv6-fcard-sub { font-size: 13px; color: var(--t3); margin-top: 3px; line-height: 1.45; }
.pv6-fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; }

/* Interrupteurs, choix, compteurs */
.pv6-toggle-row { flex-direction: row; align-items: center; gap: 14px; }
.pv6-toggle-label { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--t1); line-height: 1.35; }
.pv6-switch { width: 42px; height: 24px; flex-shrink: 0; border-radius: 999px; border: 0; background: var(--line-strong); position: relative; cursor: pointer; transition: background .15s; }
.pv6-switch.is-on { background: var(--hostome-primary); }
.pv6-switch-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22); transition: left .15s; }
.pv6-switch.is-on .pv6-switch-knob { left: 21px; }
.pv6-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv6-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--pv6-border-btn);
  background: var(--surface); color: var(--t1); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pv6-chip i { font-size: 10px; }
.pv6-chip.is-on { border-color: var(--hostome-primary); background: var(--pv6-chip-on-bg); color: var(--hostome-primary); }
.pv6-chips--sm { gap: 6px; }
.pv6-chip--sm { height: auto; min-height: 34px; padding: 7px 12px; font-size: 12.5px; border-width: 1px; border-color: var(--pv6-equip-bd); color: var(--t2); }
.pv6-chip--sm.is-on { border-color: var(--pv6-equip-on-bd); background: var(--pv6-equip-on-bg); color: var(--hostome-primary); }
.pv6-stepper { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--pv6-border-soft); border-radius: 12px; }
.pv6-stepper-label { font-size: 14px; font-weight: 600; color: var(--t1); }
.pv6-step { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pv6-border-input); background: var(--surface); color: var(--t1); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.pv6-step i { font-size: 10px; }
.pv6-step:disabled { opacity: .4; cursor: not-allowed; }
.pv6-step-val { min-width: 40px; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--t1); }
.pv6-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--pv6-note-bg); color: var(--pv6-note-fg); font-size: 13px; line-height: 1.5; }
.pv6-note > i { margin-top: 3px; font-size: 12px; }

/* Localisation & carte */
.pv6-city { position: relative; }
.pv6-city-results { top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow-y: auto; }
.pv6-map { position: relative; min-height: 270px; height: 270px; border-radius: 12px; overflow: hidden; border: 1px solid var(--pv6-border-soft); background: var(--pv6-subtle-bg); z-index: 0; }
.pv6-map-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--t3); font-size: 13px; line-height: 1.5; }
.pv6-map-empty i { font-size: 22px; color: var(--t4); }

/* Pièces */
.pv6-families { display: flex; flex-direction: column; gap: 14px; }
.pv6-family { border: 1px solid var(--pv6-subtle-bd); border-radius: 15px; overflow: hidden; background: var(--surface); }
.pv6-family-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--pv6-subtle-bg); border-bottom: 1px solid var(--pv6-subtle-bd); }
.pv6-family-title { display: flex; align-items: center; gap: 9px; color: var(--t1); font-size: 14px; font-weight: 750; }
.pv6-family-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--pv6-info-bg); color: var(--hostome-primary); font-size: 12px; flex-shrink: 0; }
.pv6-family-sub { font-size: 11.5px; color: var(--pv6-head-fg); padding-left: 36px; margin-top: 3px; }
.pv6-family-zero { padding: 12px 14px; font-size: 12px; color: var(--t3); }
.pv6-pill-stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--pv6-equip-bd); border-radius: 999px; background: var(--surface); flex-shrink: 0; height: 33px; }
.pv6-pill-stepper.is-square { border-radius: 9px; }
.pv6-pill-stepper button { border: 0; border-radius: 50%; background: transparent; cursor: pointer; padding: 5px 10px; min-height: 30px; color: var(--t1); font-size: 14px; }
.pv6-pill-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.pv6-pill-stepper strong { font-size: 12.5px; color: var(--t1); min-width: 19px; text-align: center; }
.pv6-room { border: 1px solid var(--pv6-subtle-bd); background: var(--pv6-subtle-bg); border-radius: 13px; margin: 12px; padding: 13px; display: flex; flex-direction: column; gap: 11px; }
.pv6-room-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv6-room-title { font-size: 12px; color: var(--t2); text-transform: uppercase; letter-spacing: 0.02em; }
.pv6-mini-field { display: flex; flex-direction: column; gap: 6px; }
.pv6-mini-label { font-size: 11.5px; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: 0.02em; }
.pv6-room-block { display: flex; flex-direction: column; gap: 8px; }
.pv6-usage { display: flex; flex-direction: column; gap: 3px; width: max-content; max-width: 100%; }
.pv6-usage .pv6-mini-label { margin-bottom: 3px; }
.pv6-usage-radio { display: grid; grid-template-columns: 68px 19px; column-gap: 12px; align-items: center; width: max-content; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--t1); cursor: pointer; font-size: 13px; text-align: left; }
.pv6-usage-radio:hover { background: var(--pv6-hover-2); }
.pv6-radio-circle { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #9A9CA6; background: var(--surface); flex-shrink: 0; display: inline-block; position: relative; }
.pv6-radio-circle.is-on { border: 2px solid var(--pv6-deep); }
.pv6-radio-circle.is-on::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--pv6-deep); }
.pv6-bed-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.pv6-bed-row .pv6-select { flex: 1; min-width: 160px; width: auto; height: 38px; }
.pv6-dashed-btn { align-self: flex-start; border: 1px dashed rgba(var(--hostome-primary-rgb), 0.45); background: var(--surface); color: var(--hostome-primary); border-radius: 9px; padding: 8px 11px; cursor: pointer; font-size: 12px; font-weight: 650; }
.pv6-dashed-btn:hover { background: rgba(var(--hostome-primary-rgb), 0.05); }
.pv6-equip-list { display: flex; flex-direction: column; border-top: 1px solid var(--pv6-subtle-bd); padding-top: 5px; }
.pv6-equip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 5px 0; font-size: 13px; font-weight: 550; color: var(--t1); }
.pv6-annex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; padding: 12px; }
.pv6-annex { border: 1px solid var(--pv6-subtle-bd); background: var(--pv6-subtle-bg); border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 9px; min-height: 102px; color: var(--t3); }
.pv6-annex > i { font-size: 17px; }
.pv6-annex.is-on { border-color: var(--pv6-equip-on-bd); background: var(--pv6-equip-on-bg); color: var(--hostome-primary); }
.pv6-annex-label { font-size: 12px; font-weight: 650; text-align: center; line-height: 1.2; color: var(--t1); }
.pv6-times { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pv6-time-card { border: 1px solid var(--pv6-subtle-bd); background: var(--pv6-subtle-bg); border-radius: 13px; padding: 14px; min-width: 0; }
.pv6-time-card.is-invalid { border-color: var(--pv6-danger); }
.pv6-time-title { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 10px; }
.pv6-time-title i { color: var(--t3); }
.pv6-time-grid { display: grid; grid-template-columns: 1fr 16px 1fr; align-items: end; gap: 7px; }
.pv6-time-grid label { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--pv6-neutral-fg); }
.pv6-time-grid .pv6-select { height: 42px; padding: 0 8px; font-size: 13px; border-radius: 10px; }
.pv6-time-arrow { font-size: 16px; text-align: center; color: var(--t4); padding-bottom: 9px; }

/* Photos */
.pv6-drag-hint { display: flex; align-items: center; gap: 10px; background: var(--pv6-hint-bg); border: 1px solid var(--pv6-hint-bd); border-radius: 10px; color: var(--pv6-hint-fg); padding: 11px 12px; font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.pv6-drag-hint i { font-size: 18px; }
.pv6-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv6-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--pv6-photo-empty); border: 1px solid var(--pv6-border-soft); transition: box-shadow .12s, opacity .12s; }
.pv6-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv6-photo.is-drop { outline: 3px dashed var(--hostome-primary); outline-offset: -4px; box-shadow: 0 0 0 5px rgba(var(--hostome-primary-rgb), 0.12); }
.pv6-photo.is-dragging { opacity: .4; }
.pv6-photo-ghost { opacity: .86; box-shadow: 0 14px 34px rgba(9, 32, 77, 0.32); border: 2px solid var(--hostome-primary); transform: scale(1.025); }
.pv6-photo-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.55); color: var(--hostome-primary); font-size: 20px; }
.pv6-photo-main { position: absolute; left: 8px; top: 8px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--pv6-photo-veil); color: var(--t1); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.pv6-photo-main i { font-size: 9px; color: var(--pv6-warn-dot); }
.pv6-photo-btn { position: absolute; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--pv6-photo-veil); color: var(--t2); display: grid; place-items: center; cursor: pointer; font-size: 12px; }
.pv6-photo-star { left: 8px; color: var(--t3); font-size: 11px; }
.pv6-photo-star:hover { color: var(--pv6-warn-dot); }
.pv6-photo-remove { right: 8px; }
.pv6-photo-remove:hover { color: var(--pv6-danger); }
.pv6-photo-btn:disabled { opacity: .5; cursor: not-allowed; }
.pv6-photo-order { position: absolute; top: 8px; right: 42px; height: 28px; display: flex; align-items: center; gap: 3px; background: var(--pv6-photo-veil); border-radius: 8px; padding: 3px; font-size: 11px; font-weight: 700; color: var(--t2); }
.pv6-photo-order button { width: 24px; height: 22px; border: 0; background: transparent; color: var(--hostome-primary); cursor: pointer; font-size: 11px; border-radius: 6px; }
.pv6-photo-order button:disabled { color: var(--t4); cursor: not-allowed; }
.pv6-photo-drag {
  position: absolute; left: 50%; bottom: 43px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 11px; border: 1px solid #95B3EA; border-radius: 8px; background: var(--surface); color: var(--hostome-primary); font-size: 12px; font-weight: 750;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.pv6-photo-drag i { font-size: 14px; }
.pv6-photo-drag:active { cursor: grabbing; }
.pv6-photo-room { position: absolute; bottom: 7px; left: 7px; right: 7px; width: calc(100% - 14px); height: 28px; border-radius: 7px; border: 1px solid var(--pv6-border); background: var(--pv6-photo-veil); color: var(--t1); font-size: 11.5px; padding: 0 6px; }
.pv6-photo-add { aspect-ratio: 4 / 3; border-radius: 12px; border: 1.5px dashed rgba(var(--hostome-primary-rgb), 0.35); background: rgba(var(--hostome-primary-rgb), 0.03); color: var(--hostome-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 12.5px; font-weight: 650; position: relative; }
.pv6-photo-add:hover { background: rgba(var(--hostome-primary-rgb), 0.06); }
.pv6-photo-add:focus-within { outline: 2px solid var(--hostome-primary); outline-offset: 2px; }
.pv6-photo-add i { font-size: 15px; }
.pv6-photo-status { font-size: 12.5px; color: var(--t3); min-height: 1em; }
.pv6-photo-status.is-error { color: var(--pv6-danger); }
.pv6-photo-status.is-ok { color: var(--pv6-ok-fg); }

/* Équipements */
.pv6-amen-explorer { display: flex; flex-direction: column; gap: 14px; }
.pv6-amen-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pv6-amen-search { display: flex; align-items: center; gap: 7px; flex: 1 1 170px; height: 38px; padding: 0 10px; border: 1px solid var(--pv6-border); border-radius: 9px; background: var(--pv6-subtle-bg); color: var(--t3); }
.pv6-amen-search input { width: 100%; border: 0; outline: none; background: transparent; color: var(--t1); font-size: 13px; }
.pv6-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.pv6-filter { border: 1px solid var(--pv6-border-soft); background: var(--pv6-hover-2); color: var(--t3); padding: 8px 11px; border-radius: 8px; font-size: 12px; font-weight: 650; cursor: pointer; }
.pv6-filter.is-on { background: var(--surface); color: var(--pv6-deep); border-color: rgba(var(--hostome-primary-rgb), 0.35); }
[data-theme="dark"] .pv6-filter.is-on { color: var(--hostome-primary); }
.pv6-amen-layout { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.pv6-cats { flex: 0 1 180px; min-width: 140px; background: var(--pv6-hover-2); border-radius: 12px; padding: 5px; display: flex; flex-direction: column; gap: 2px; }
.pv6-cat { padding: 9px 8px; background: transparent; color: var(--t2); border: 0; border-radius: 8px; cursor: pointer; text-align: left; display: flex; gap: 7px; align-items: center; font-size: 12px; font-weight: 500; }
.pv6-cat.is-active { background: var(--surface); color: var(--pv6-deep); font-weight: 750; }
[data-theme="dark"] .pv6-cat.is-active { color: var(--hostome-primary); }
.pv6-cat-n { font-size: 10px; color: var(--t3); }
.pv6-amen-cat-title { display: block; font-size: 13px; margin: 3px 0 10px; color: var(--t1); }
.pv6-amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 7px; }
.pv6-amen { min-height: 38px; padding: 9px 10px; display: flex; align-items: center; gap: 7px; text-align: left; background: var(--surface); border: 1px solid var(--pv6-equip-bd); border-radius: 9px; color: var(--t2); font-size: 12px; font-weight: 600; cursor: pointer; }
.pv6-amen > i { font-size: 12px; }
.pv6-amen.is-on { background: var(--pv6-equip-on-bg); border-color: var(--pv6-equip-on-bd); color: var(--hostome-primary); }
.pv6-amen.is-custom { cursor: default; }
.pv6-amen-custom { margin-left: auto; color: var(--t3); font-size: 10px; }
.pv6-amen-empty { padding: 22px 10px; color: var(--t3); text-align: center; font-size: 12px; }
.pv6-amen-custom-box { border-top: 1px solid var(--pv6-border-soft); padding-top: 15px; }
.pv6-amen-custom-box > strong { display: block; color: var(--t1); font-size: 13.5px; margin-bottom: 3px; }
.pv6-amen-custom-box > p { font-size: 12px; color: var(--t3); line-height: 1.5; margin: 0 0 11px; }
.pv6-amen-add { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.pv6-amen-add .pv6-input:first-child { flex: 1 1 175px; min-width: 145px; width: auto; }
.pv6-amen-add .pv6-select { width: auto; min-width: 150px; }
.pv6-amen-custom-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 9px; border: 1px solid var(--pv6-border-soft); border-radius: 10px; padding: 7px 9px; font-size: 12px; font-weight: 650; color: var(--t1); }

/* Règles */
.pv6-quiet { border: 1px solid var(--pv6-quiet-bd); background: var(--pv6-quiet-bg); border-radius: 14px; padding: 16px 16px 17px; display: flex; flex-direction: column; gap: 13px; }
.pv6-quiet-title { font-size: 14px; font-weight: 750; color: var(--hostome-primary); }
.pv6-quiet .pv6-field { gap: 7px; }
.pv6-quiet .pv6-label { font-weight: 550; color: var(--t2); }

/* Infos pratiques */
.pv6-radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv6-radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--pv6-border); background: var(--surface); text-align: left; cursor: pointer; min-width: 0; }
.pv6-radio-card.is-on { border-color: var(--hostome-primary); background: rgba(var(--hostome-primary-rgb), 0.04); }
.pv6-radio-card .pv6-radio { margin-top: 1px; }
.pv6-radio-title { display: block; font-size: 14px; font-weight: 650; color: var(--t1); }
.pv6-radio-sub { display: block; font-size: 12.5px; color: var(--t3); margin-top: 3px; line-height: 1.45; }
.pv6-custom-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 30px; gap: 8px; align-items: center; margin-bottom: 8px; }

/* Modules associés */
.pv6-modules { display: flex; flex-direction: column; gap: 8px; }
.pv6-module { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px; background: var(--surface); border: 1px solid var(--pv6-border); border-radius: 11px; text-align: left; color: var(--t1); text-decoration: none; }
a.pv6-module:hover { background: var(--pv6-hover); }
.pv6-module.is-static { background: var(--pv6-subtle-bg); }
.pv6-module-icon { width: 22px; text-align: center; color: var(--hostome-primary); font-size: 15px; flex-shrink: 0; }
.pv6-module-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; font-size: 13.5px; }
.pv6-module-detail { display: block; color: var(--t3); font-size: 12px; margin-top: 3px; }
.pv6-module-note { display: block; color: var(--t3); font-size: 11.5px; margin-top: 2px; }
.pv6-module-ext { color: var(--t4); font-size: 11px; }

/* Groupes */
.pv6-group-create { display: flex; align-items: flex-end; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pv6-group-create .pv6-btn { height: 44px; }
.pv6-group-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.pv6-group-card { background: var(--surface); border: 1px solid var(--pv6-border-soft); border-radius: 16px; padding: 12px 14px; box-shadow: var(--pv6-shadow-card); }
.pv6-group-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pv6-group-name { width: auto; flex: 0 1 320px; height: 38px; font-weight: 650; }
.pv6-group-name-ro { font-weight: 650; color: var(--t1); }
.pv6-group-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pv6-border-soft); }
.pv6-check { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--pv6-border-soft); font-size: 13px; color: var(--t1); cursor: pointer; }
.pv6-check input { width: 16px; height: 16px; accent-color: var(--hostome-primary); }
.pv6-group-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ── Dialogues & toast ────────────────────────────────────────────────── */
.pv6-dialog-backdrop { position: fixed; inset: 0; z-index: 1300; background: rgba(12, 12, 16, 0.32); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pv6-dialog { width: 420px; max-width: 100%; background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(12, 12, 16, 0.4); }
.pv6-dialog-title { font-size: 17px; font-weight: 700; color: var(--t1); line-height: 1.3; }
.pv6-dialog-text { font-size: 13.5px; color: var(--t2); margin: 8px 0 0; line-height: 1.55; }
.pv6-dialog-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.pv6-dialog-actions .pv6-btn { height: 40px; padding: 0 16px; font-size: 13.5px; }
.pv6-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1400; display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: #0C0C10; color: #fff; font-size: 13px; line-height: 1.4;
  box-shadow: 0 14px 34px -10px rgba(12, 12, 16, 0.5);
}
[data-theme="dark"] .pv6-toast { background: var(--surface-3); color: var(--t1); }
.pv6-toast[hidden] { display: none; }
.pv6-toast > i { color: #4CC38A; }
.pv6-toast.is-error > i { color: #F5B44C; }
.pv6-toast-undo { border: 0; background: none; color: #9DB8FF; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; white-space: nowrap; }

/* M51-R2 : entre 861 et 1280 px, recherche + Groupes + Propriétaires + Trier + Vue ne tiennent pas sur
 * une ligne ; la recherche prend sa propre ligne, les filtres restent alignés à droite (comme sur bureau),
 * « Réinitialiser » et le préfixe « Trier : » passent en icône seule (texte conservé pour l’accessibilité). */
@media (min-width: 861px) and (max-width: 1280px) {
  .pv6-tools { justify-content: flex-end; }
  .pv6-tools .pv6-search { flex-basis: 100%; max-width: none; }
  .pv6-tools .pv6-reset-label, .pv6-tools .pv6-tool-muted { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── Tablette (861–1180 px) ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .pv6-page-inner { padding: 30px 24px 80px; }
  .pv6-table-head, .pv6-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.2fr) 110px 36px; }
  .pv6-col-stays, .pv6-row-stay { display: none; }
  .pv6-editor-backdrop { padding: 16px; }
  .pv6-editor-nav { width: 216px; }
  .pv6-editor-body { padding: 24px 24px 36px; }
}

/* ── Mobile (≤ 860 px) ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pv6-page-inner { padding: 22px 16px 120px; }
  .pv6-title { font-size: 26px; }
  .pv6-head-cta { display: none; }
  .pv6-fab { display: inline-flex; }
  .pv6-tabs { display: none; }
  .pv6-show { display: block; }
  .pv6-tools { display: none; }
  .pv6-tools-mob { display: flex; }
  .pv6-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pv6-card-photo { aspect-ratio: 16 / 9; }
  .pv6-card-menu, .pv6-row-menu { display: none; }
  .pv6-ghost { min-height: 170px; }
  .pv6-table { display: none; }
  .pv6-mlist { display: flex; }
  .pv6-empty { padding: 36px 20px; }
  .pv6-empty-title { font-size: 24px; }
  .pv6-empty-options { grid-template-columns: 1fr; }
  .pv6-modal-backdrop { padding: 0; }
  .pv6-add { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .pv6-add-platforms { grid-template-columns: 1fr 1fr; }
  .pv6-toast { bottom: 90px; }
  .pv6-editor-backdrop { padding: 0; }
  .pv6-editor { width: 100%; max-height: 100%; border-radius: 0; }
  .pv6-editor-nav { display: none; }
  .pv6-editor-head { padding: 0 6px 0 10px; }
  .pv6-editor-back { display: grid; }
  .pv6-crumb { display: none; }
  .pv6-sec-select { display: block; }
  .pv6-editor-body { padding: 18px 16px 32px; }
  .pv6-sec-title { font-size: 22px; }
  .pv6-fcard { padding: 16px; }
  .pv6-fgrid { grid-template-columns: minmax(0, 1fr); }
  .pv6-field.is-half { grid-column: 1 / -1; }
  .pv6-times { grid-template-columns: minmax(0, 1fr); }
  .pv6-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv6-radio-cards { grid-template-columns: minmax(0, 1fr); }
  .pv6-room { margin: 10px; }
  .pv6-input, .pv6-input--sm, .pv6-select, .pv6-search input, .pv6-amen-search input { font-size: 16px; }
  .pv6-custom-row { grid-template-columns: minmax(0, 1fr) 30px; }
  .pv6-custom-row > input:nth-child(2) { grid-column: 1 / 2; }
  .pv6-custom-row > button { grid-row: 1 / span 2; grid-column: 2; }
  .pv6-group-name { flex: 1 1 100%; }
}
