/* Hoamefa V1.4.2: single authoritative stylesheet for guest workspace. */
.hf-guests-workspace{--hf-gold:#b58b50;--hf-ink:#11233b;--hf-line:#e9e6e1;color:var(--hf-ink);max-width:100%;font-family:Inter,system-ui,-apple-system,sans-serif}
.hf-guests-workspace .hf-guests-panel{padding:0;background:transparent;border:0;box-shadow:none}
.hf-guest-hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:end;gap:22px;min-height:185px;padding:28px 34px;margin-bottom:18px;border-radius:15px;overflow:hidden;background:linear-gradient(105deg,#f5ede2 0%,#f5ede2e8 55%,#eee1d2a8 100%)}
.hf-guest-hero:before{content:"";position:absolute;z-index:-1;inset:0;background-image:linear-gradient(90deg,#f9f3ec 0%,#f9f3ecd9 45%,#f9f3ec24 100%),var(--hf-guest-hero-image,linear-gradient(135deg,#f7f0e7,#e9d7c4));background-size:cover;background-position:center 38%}
.hf-guest-hero-content{min-width:0}.hf-guest-eyebrow{display:inline-block;padding:5px 10px;background:#fff9;border-radius:20px;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:#835e36}
.hf-guests-workspace .hf-guest-hero h2{margin:11px 0 8px;font:clamp(27px,3vw,43px)/1.12 Georgia,serif;letter-spacing:-.8px;color:#30241e}.hf-guest-hero p{margin:0;color:#584c42;font-size:13px}.hf-guest-hero-select{width:min(255px,100%);flex-shrink:0;background:#fffc;padding:10px 13px;border-radius:10px;backdrop-filter:blur(8px)}
.hf-guest-hero-select label{font-size:11px;color:#6c5b4c}.hf-guests-workspace .hf-guest-hero-select select{min-height:36px;margin-top:3px;background:#fff;border:1px solid #eadfd3;font-size:12px}
.hf-guest-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 18px}.hf-guest-kpi{display:flex;align-items:center;gap:15px;min-height:94px;padding:18px 20px;border:1px solid #ece8e3;border-radius:13px;background:#fff;box-shadow:0 8px 24px #25314608}.hf-guest-kpi-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;font-size:25px;background:#eaf0ff;color:#275bb6;flex-shrink:0}.hf-guest-kpi:nth-child(2) .hf-guest-kpi-icon{background:#e5f7eb;color:#108e4c}.hf-guest-kpi:nth-child(3) .hf-guest-kpi-icon{background:#fff1db;color:#bd7612}.hf-guest-kpi:nth-child(4) .hf-guest-kpi-icon{background:#ffe8e9;color:#c83743}.hf-guest-kpi strong{display:block;font-size:27px;line-height:1.15;color:#12223c}.hf-guest-kpi span:last-child{display:block;font-size:12px;color:#69788e;margin-top:4px}
.hf-guests-workspace .hf-guests-panel>.hf-panel-head,.hf-guests-workspace .hf-guest-tabs,.hf-guests-workspace .hf-guest-filters,.hf-guests-workspace .hf-guest-table-scroll,.hf-guests-workspace .hf-guest-pagination{background:#fff}
.hf-guests-workspace .hf-guest-head{padding:24px 24px 15px;border:1px solid #ece8e3;border-bottom:0;border-radius:15px 15px 0 0;gap:18px;flex-wrap:wrap}.hf-guest-heading{display:flex;align-items:center;gap:13px;min-width:0}.hf-guest-heading-icon{display:grid;place-items:center;width:49px;height:49px;background:#f5ede2;color:#9e6e2e;border-radius:12px;flex-shrink:0}.hf-guests-workspace .hf-guest-heading h3{margin:0;font-size:19px;font-weight:750;letter-spacing:-.4px}.hf-guest-heading p{font-size:12px;color:#718096;margin:5px 0 0}.hf-guest-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hf-guests-workspace .hf-guest-head-actions button{display:inline-flex;align-items:center;gap:8px;min-height:41px;font-size:12px;white-space:nowrap}.hf-guests-workspace .hf-guest-head-actions .hf-btn{background:#ac8043;color:white}.hf-guests-workspace .hf-guest-head-actions .hf-btn:hover{background:#92672e}.hf-guests-workspace .hf-guest-head-actions .hf-outline-btn{background:white;border:1px solid #dce2ea;color:#203451}.hf-guests-workspace .hf-guest-head-actions .hf-outline-btn:hover{background:#f8f5ef}
.hf-guests-workspace .hf-guest-tabs{display:flex;align-items:center;gap:25px;overflow-x:auto;padding:0 24px;border-left:1px solid #ece8e3;border-right:1px solid #ece8e3;border-bottom:1px solid #e7e9ee}.hf-guests-workspace .hf-guest-tabs button{background:none!important;color:#627188;border:0;border-bottom:2px solid transparent;border-radius:0;padding:15px 3px 13px;white-space:nowrap;font-size:13px;font-weight:550}.hf-guests-workspace .hf-guest-tabs button.active{color:#9d6b2d;border-bottom-color:#b58b50;font-weight:750}
.hf-guests-workspace .hf-guest-filters{display:flex;gap:12px;padding:17px 24px;border-left:1px solid #ece8e3;border-right:1px solid #ece8e3}.hf-guests-workspace .hf-guest-filters input{flex:1;min-width:0;margin:0}.hf-guests-workspace .hf-guest-filters select{width:230px;flex-shrink:0;margin:0}.hf-guests-workspace .hf-guest-table-scroll{overflow-x:auto;margin:0;padding:0 24px;border-left:1px solid #ece8e3;border-right:1px solid #ece8e3}.hf-guests-workspace .hf-guest-table{width:100%;min-width:700px;border-collapse:separate;border-spacing:0;font-size:12px;border:1px solid #e9edf2;border-radius:8px;overflow:hidden}.hf-guests-workspace .hf-guest-table th{padding:14px 15px;text-align:left;background:#f5f6f8;color:#24354c;font-size:12px;font-weight:750;white-space:nowrap}.hf-guests-workspace .hf-guest-table td{padding:15px;border-top:1px solid #edf0f4;color:#34435a;vertical-align:middle}.hf-guests-workspace .hf-guest-table tr:hover td{background:#fcfaf7}.hf-guest-table td strong{font-weight:650}.hf-guest-table td small{display:block;color:#8190a3;margin-top:4px}.hf-guest-badge{display:inline-flex;align-items:center;border-radius:30px;padding:6px 11px;font-size:11px;font-weight:650;white-space:nowrap}.hf-guest-confirmed{background:#e8f7eb;color:#078443}.hf-guest-pending{background:#fff1d9;color:#ad6900}.hf-guest-declined{background:#fee7e7;color:#bd2832}.hf-guests-workspace .hf-guest-edit,.hf-guests-workspace .hf-guest-delete button{background:transparent;color:#31547c;border:0;padding:5px;font-size:11px}.hf-guests-workspace .hf-guest-delete button{color:#bd4350}.hf-guest-delete{display:inline}
.hf-guests-workspace .hf-guest-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 24px 24px;border:1px solid #ece8e3;border-top:0;border-radius:0 0 15px 15px;color:#758399;font-size:12px}.hf-guest-pagination>div{display:flex;align-items:center;gap:10px}.hf-guests-workspace .hf-guest-pagination button{background:#fff;color:#34455e;border:1px solid #e0e5ec;padding:7px 12px}.hf-guests-workspace .hf-guest-pagination button:disabled{opacity:.35;cursor:default}.hf-guest-modal[hidden]{display:none!important}.hf-guest-modal{position:fixed;inset:0;z-index:99999;background:#0b1a30a8;display:flex;align-items:center;justify-content:center;padding:18px}.hf-guest-dialog{width:min(100%,650px);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:28px;box-shadow:0 30px 90px #08172855}.hf-guest-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.hf-guest-dialog-head h3{margin:0}.hf-guests-workspace .hf-guest-dialog-head button{background:transparent;color:#52647a;padding:5px;font-size:25px}.hf-guest-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hf-guest-form-grid label{font-size:12px;font-weight:650}.hf-guest-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.hf-guests-workspace .hf-guest-dialog-actions .hf-outline-btn{background:white;color:#24354c;border:1px solid #dfe4eb}
@media(max-width:1050px){.hf-guest-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hf-guest-hero{align-items:start;flex-direction:column}.hf-guest-hero-select{width:100%;max-width:330px}}
@media(max-width:650px){.hf-guest-hero{padding:23px;min-height:180px}.hf-guest-kpis{gap:9px}.hf-guest-kpi{padding:13px 11px;gap:8px;min-height:75px}.hf-guest-kpi-icon{width:33px;height:33px;font-size:19px}.hf-guest-kpi strong{font-size:22px}.hf-guest-kpi span:last-child{font-size:10px}.hf-guests-workspace .hf-guest-head{padding:18px 15px 12px}.hf-guest-head-actions{width:100%;justify-content:flex-end}.hf-guests-workspace .hf-guest-tabs{padding:0 15px;gap:17px}.hf-guests-workspace .hf-guest-filters{padding:15px;flex-direction:column}.hf-guests-workspace .hf-guest-filters select{width:100%}.hf-guests-workspace .hf-guest-table-scroll{padding:0 15px}.hf-guests-workspace .hf-guest-pagination{padding:17px 15px;flex-wrap:wrap}.hf-guest-form-grid{grid-template-columns:1fr}}

/* V1.4.2 — visual fidelity; scoped to guests only, no legacy override stack. */
.hf-app:has(.hf-guests-workspace) .hf-sidebar{position:relative;background:linear-gradient(165deg,#06182b 0%,#0c2338 65%,#1c2630 100%)}
.hf-app:has(.hf-guests-workspace) .hf-sidebar a.active{background:linear-gradient(110deg,#cba66c,#ad8044);color:#fff;box-shadow:0 4px 15px #0002}
.hf-app:has(.hf-guests-workspace) .hf-sidebar a.active .hf-nav-icon{color:#fff}
.hf-app:has(.hf-guests-workspace) .hf-main{background:#faf8f5}
.hf-guests-workspace .hf-guest-hero{min-height:170px;align-items:center;background:#f8f0e8}
.hf-guests-workspace .hf-guest-hero:before{background-image:linear-gradient(90deg,#fff9f3 0%,#fff9f3ed 29%,#fff9f3a8 51%,#fff9f300 85%),var(--hf-guest-hero-image,linear-gradient(135deg,#e6d6c5,#d1b79e));background-position:center,center 42%}
.hf-guests-workspace .hf-guest-eyebrow{letter-spacing:.3px;font-size:11px;font-weight:650;background:#eee8e0;color:#54432e}
.hf-guests-workspace .hf-guest-hero h2{font-size:clamp(28px,2.7vw,40px);font-weight:400;margin:9px 0 13px}
.hf-guest-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px!important;color:#172a42!important}.hf-guest-hero-meta svg{flex-shrink:0}.hf-guest-meta-separator{width:9px}
.hf-guest-kpi{min-height:100px;padding:17px 19px}.hf-guest-kpi-icon{width:53px;height:53px}.hf-guest-kpi-detail{flex:1;min-width:0}.hf-guest-kpi-progress{min-width:64px;width:27%;align-self:center;text-align:right;color:#344b5f;font-size:12px}.hf-guest-progress-track{height:5px;border-radius:9px;background:#e8edf0;margin-top:9px;overflow:hidden}.hf-guest-progress-track i{display:block;height:100%;border-radius:9px;background:#18a05b}.hf-guest-kpi-pending .hf-guest-progress-track i{background:#f4a31b}.hf-guest-kpi-declined .hf-guest-progress-track i{background:#df4050}.hf-guest-kpi-confirmed strong{color:#087d46}.hf-guest-kpi-pending strong{color:#9a6219}.hf-guest-kpi-declined strong{color:#c32436}
.hf-guest-filters .hf-guest-advanced{flex:0 0 auto;background:#fff!important;border:1px solid #dce2ea!important;color:#24354c!important;font-size:12px;white-space:nowrap}.hf-guest-advanced-panel{padding:0 24px 16px;background:#fff;border-left:1px solid #ece8e3;border-right:1px solid #ece8e3}.hf-guest-advanced-panel[hidden]{display:none}.hf-guest-advanced-panel label{max-width:240px}
.hf-guests-workspace .hf-guest-table{min-width:820px}.hf-guests-workspace .hf-guest-table th:first-child,.hf-guests-workspace .hf-guest-table td:first-child{width:48px;text-align:center}.hf-guests-workspace .hf-guest-table input[type=checkbox]{width:17px;height:17px;accent-color:#b58b50;vertical-align:middle}
.hf-guests-workspace .hf-guest-pagination{display:grid;grid-template-columns:1fr auto 1fr}.hf-guest-per-page{display:flex!important;align-items:center;justify-content:flex-end;gap:9px;font-size:12px!important;font-weight:400!important;white-space:nowrap}.hf-guests-workspace .hf-guest-per-page select{width:75px;margin:0;padding:8px}.hf-guest-pages{justify-self:center}.hf-guest-pages #hf-guest-page{display:inline-block;padding:8px 11px;border-radius:6px;background:#b58b50;color:#fff}
@media(max-width:1100px){.hf-guest-kpi{gap:9px}.hf-guest-kpi-progress{width:25%;min-width:44px}.hf-guest-hero-meta{font-size:12px!important}}
@media(max-width:750px){.hf-guests-workspace .hf-guest-hero{align-items:flex-start}.hf-guest-meta-separator{display:none}.hf-guest-kpi-progress{min-width:38px}.hf-guest-filters .hf-guest-advanced{width:100%}.hf-guests-workspace .hf-guest-pagination{grid-template-columns:1fr;justify-items:center;text-align:center}.hf-guest-per-page{justify-content:center}}

/* V1.4.3 — contact import and WhatsApp actions */
.hf-guest-import-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.hf-vcf-label{position:relative;cursor:pointer;display:inline-flex;align-items:center}.hf-vcf-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.hf-guest-csv-label{display:grid;gap:8px}.hf-guest-import-preview{max-height:220px;overflow:auto;border:1px solid #e6ddd1;border-radius:12px;padding:14px;background:#fffcf8}.hf-guest-import-preview ul{margin:10px 0;padding-left:20px}.hf-guest-whatsapp{background:#e7f6eb;color:#176c3b;border:1px solid #c9e6d0;border-radius:8px;padding:7px 10px;cursor:pointer}.hf-guest-whatsapp:hover{background:#d3eedb}@media(max-width:640px){.hf-guest-import-options{flex-direction:column}.hf-guest-import-options>*{justify-content:center}}

/* V1.5.0.3 — Harmonisation premium, limitée aux actions invités */
.hf-guests-workspace .hf-guest-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.hf-guests-workspace .hf-guest-actions form{display:inline-flex!important;margin:0!important;padding:0!important;align-items:center}
.hf-guests-workspace .hf-guest-actions button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:7px 10px!important;border-radius:9px!important;border:1px solid #dbe3ec!important;background:#f8fafc!important;color:#263c55!important;font:600 12px/1.2 inherit!important;font-size:12px!important;white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.hf-guests-workspace .hf-guest-actions button svg{width:15px;height:15px;flex-shrink:0}
.hf-guests-workspace .hf-guest-actions .hf-invitation-action{background:#fbf5eb!important;border-color:#e8d6b8!important;color:#80551f!important}
.hf-guests-workspace .hf-guest-actions .hf-guest-whatsapp{background:#edf9f1!important;border-color:#cbe8d4!important;color:#187344!important}
.hf-guests-workspace .hf-guest-actions .hf-guest-delete button{background:#fff4f4!important;border-color:#f4d9dc!important;color:#b43643!important}
.hf-guests-workspace .hf-guest-actions button:hover{transform:translateY(-1px);box-shadow:0 3px 9px #102a4314!important;filter:brightness(.98)}
.hf-guests-workspace .hf-guest-actions button:focus-visible{outline:2px solid #1b5fbc!important;outline-offset:2px}
@media(max-width:1050px){.hf-guests-workspace .hf-guest-actions{gap:5px}.hf-guests-workspace .hf-guest-actions button{padding:7px 8px!important}}
@media(prefers-reduced-motion:reduce){.hf-guests-workspace .hf-guest-actions button{transition:none!important}.hf-guests-workspace .hf-guest-actions button:hover{transform:none}}
