/* =========================================================
   Le Hub Immo — Modern SaaS / Laravel-style UI v4
   Palette: white, slate, deep blue. No legacy green skin.
========================================================= */
:root{
  --lh-bg:#f8fafc;
  --lh-surface:#ffffff;
  --lh-surface-2:#f1f5f9;
  --lh-border:#e2e8f0;
  --lh-border-soft:#edf2f7;
  --lh-text:#0f172a;
  --lh-muted:#64748b;
  --lh-soft:#94a3b8;
  --lh-blue:#1047ff;
  --lh-blue-600:#0f39d8;
  --lh-blue-50:#eef4ff;
  --lh-blue-100:#dbe7ff;
  --lh-navy:#071b36;
  --lh-navy-2:#0b2445;
  --lh-orange:#f59e0b;
  --lh-purple:#8b5cf6;
  --lh-cyan:#0ea5e9;
  --lh-green:#16a34a;
  --lh-red:#ef4444;
  --lh-radius:18px;
  --lh-radius-sm:12px;
  --lh-shadow:0 16px 40px rgba(15,23,42,.06);
  --lh-shadow-sm:0 8px 24px rgba(15,23,42,.05);
  --lh-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.app-body{
  margin:0;
  font-family:var(--lh-font);
  color:var(--lh-text);
  background:var(--lh-bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
a{color:inherit}
img{max-width:100%;display:block}
.container{max-width:1280px;margin-inline:auto;padding-inline:24px}
.ui-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:currentColor}
.ui-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ui-icon-logo svg{fill:currentColor;stroke:none}

/* Hard reset legacy decorative chrome on v4 pages */
.home-saas *, .hub-dashboard *, .hub-public-header *, .hub-workspace *{letter-spacing:normal}
body.page-home-modern .site-footer,
body.is-authenticated .site-footer,
body.is-authenticated .support-widget{display:none!important}
body.page-home-modern{background:#fff}
body.page-home-modern .container{max-width:100%;padding-inline:0}

/* Buttons */
.hub-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:46px;padding:0 20px;border-radius:10px;border:1px solid var(--lh-border);
  font-weight:760;font-size:14px;text-decoration:none;white-space:nowrap;
  transition:.18s ease;line-height:1;color:var(--lh-text);background:#fff;
}
.hub-btn:hover{transform:translateY(-1px);box-shadow:var(--lh-shadow-sm)}
.hub-btn--primary{background:linear-gradient(180deg,#174bff 0%, #0d37d7 100%);border-color:#0d37d7;color:#fff;box-shadow:0 12px 28px rgba(16,71,255,.22)}
.hub-btn--primary:hover{background:linear-gradient(180deg,#0f3eea 0%, #0b2eba 100%)}
.hub-btn--ghost{background:#fff;color:var(--lh-text);border-color:#dbe3ef}
.hub-btn--soft{background:var(--lh-blue-50);color:var(--lh-blue);border-color:#dbe7ff}
.hub-btn .ui-icon{width:18px;height:18px}

/* Public header */
.hub-public-header{
  height:72px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--lh-border);position:sticky;top:0;z-index:50;
}
.hub-public-header__inner{
  max-width:1510px;margin:0 auto;height:100%;padding:0 32px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.hub-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-weight:900;color:var(--lh-text)}
.hub-brand__mark{width:33px;height:33px;display:inline-flex;color:var(--lh-blue)}
.hub-brand__mark .ui-icon{width:33px;height:33px}
.hub-brand__text{font-size:24px;line-height:1;letter-spacing:-.04em}
.hub-public-nav{display:flex;align-items:center;gap:34px;font-weight:750;font-size:14px;color:#16213a}
.hub-public-nav a{text-decoration:none;opacity:.92}
.hub-public-nav a:hover{color:var(--lh-blue)}
.hub-public-actions{display:flex;align-items:center;gap:12px}
.hub-mobile-nav{display:none;border:0;background:#fff;color:var(--lh-text);padding:8px;border-radius:10px}

/* Homepage */
.home-saas{overflow:hidden;background:#fff;color:var(--lh-text)}
.home-saas__wrap{max-width:1510px;margin:0 auto;padding:0 32px}
.home-hero-saas{
  position:relative;padding:54px 0 28px;display:grid;grid-template-columns:minmax(420px, 550px) 1fr;gap:54px;align-items:center;
}
.home-hero-saas::before{
  content:"";position:absolute;inset:-120px -160px auto auto;width:560px;height:560px;
  background:radial-gradient(circle, rgba(16,71,255,.08), rgba(16,71,255,0) 67%);pointer-events:none;
}
.hero-copy h1{
  margin:0 0 20px;font-size:58px;line-height:1.05;letter-spacing:-.065em;font-weight:900;color:#07122b;
}
.hero-copy p{margin:0;color:#475569;font-size:17px;line-height:1.72;max-width:600px;font-weight:500}
.hero-actions{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap}
.hero-proof{display:flex;align-items:center;gap:26px;margin-top:30px;flex-wrap:wrap;color:#475569;font-size:13px;font-weight:650}
.proof-avatars{display:flex;align-items:center}
.proof-avatar{width:30px;height:30px;border-radius:999px;border:2px solid #fff;margin-left:-8px;background:linear-gradient(135deg,#ffe4e6,#dbeafe);box-shadow:0 2px 8px rgba(15,23,42,.12)}
.proof-avatar:first-child{margin-left:0}
.proof-avatar--more{display:grid;place-items:center;background:var(--lh-blue);color:#fff;font-size:12px;font-weight:900}
.proof-rating{display:flex;align-items:center;gap:9px}
.proof-rating__stars{color:#fbbf24;letter-spacing:.08em;font-size:16px}
.proof-france{display:flex;align-items:center;gap:10px;border-left:1px solid var(--lh-border);padding-left:28px}
.proof-france .ui-icon{width:26px;height:26px;color:#0f172a}

.product-preview{
  background:#fff;border:1px solid var(--lh-border);border-radius:22px;box-shadow:0 28px 70px rgba(15,23,42,.12);
  min-height:365px;display:grid;grid-template-columns:130px 1fr;overflow:hidden;position:relative;
}
.product-preview__sidebar{background:linear-gradient(180deg,#12243f,#071b36);padding:20px 16px;color:#d8e5ff;display:flex;flex-direction:column;gap:16px}
.product-preview__logo{font-weight:850;color:#fff;display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:4px}
.product-preview__logo .ui-icon{width:21px;height:21px;color:#7ea0ff}
.product-preview__nav{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:750}
.product-preview__nav span{display:flex;align-items:center;gap:8px;border-radius:8px;padding:9px;color:#dbe7ff;opacity:.85}
.product-preview__nav span.active{background:rgba(255,255,255,.11);opacity:1;color:#fff}
.product-preview__nav .ui-icon{width:14px;height:14px}
.product-preview__main{padding:18px;background:#fff;min-width:0}
.product-preview__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#26334d;font-size:13px;font-weight:800}
.product-preview__user{display:flex;align-items:center;gap:8px;color:#475569;font-size:11px;font-weight:700}
.product-preview__avatar{width:30px;height:30px;border-radius:999px;background:linear-gradient(135deg,#fde68a,#bfdbfe)}
.product-preview__grid{display:grid;grid-template-columns:1.15fr .9fr .75fr;gap:14px}
.mock-listing-card,.mock-content-card,.mock-performance-card{border:1px solid var(--lh-border);border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.04);overflow:hidden}
.mock-property-img{height:158px;margin:10px 10px 0;border-radius:12px;position:relative;background:
  linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.16)),
  radial-gradient(circle at 78% 20%,#dbeafe 0 12%,transparent 13%),
  linear-gradient(135deg,#ebe7dd 0 28%,#c7d2fe 29% 47%,#bfc7d4 48% 100%);overflow:hidden}
.mock-property-img::before{content:"";position:absolute;inset:44px 18px 0;background:linear-gradient(90deg,#f8fafc 0 34%,#e2e8f0 34% 37%,#f8fafc 37% 65%,#cbd5e1 65% 68%,#f8fafc 68%);clip-path:polygon(0 44%,50% 0,100% 44%,100% 100%,0 100%);opacity:.92}
.mock-property-img::after{content:"";position:absolute;left:0;right:0;bottom:0;height:33px;background:linear-gradient(90deg,#d7c7ae,#f8fafc,#b7d0e7)}
.mock-badge{position:absolute;right:10px;top:10px;padding:5px 9px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:11px;font-weight:800}
.mock-count{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:8px;background:rgba(15,23,42,.78);color:#fff;font-size:11px;font-weight:800}
.mock-listing-body{padding:13px 13px 14px}
.mock-listing-body strong{display:block;font-size:15px;margin-bottom:6px}
.mock-price{color:var(--lh-blue);font-size:16px;font-weight:900;margin-bottom:10px}
.mock-meta{display:flex;gap:15px;color:#64748b;font-size:11px;font-weight:700}
.mock-content-card,.mock-performance-card{padding:14px}
.mock-card-title{font-size:13px;font-weight:900;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.mock-generated{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--lh-border-soft);font-size:12px;font-weight:750;color:#25324a}
.mock-generated:last-of-type{border-bottom:0}
.mock-generated .service-dot{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--lh-blue-50);color:var(--lh-blue);font-size:11px;font-weight:900}
.mock-generated small{margin-left:auto;color:#16a34a;font-weight:900}
.mock-content-card .hub-btn{width:100%;margin-top:12px;min-height:38px;font-size:12px}
.mock-performance-card{display:flex;flex-direction:column;gap:10px}
.mock-performance-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.mock-performance-card header strong{font-size:13px}
.mock-performance-card header span{font-size:10px;border:1px solid var(--lh-border);border-radius:8px;padding:4px 7px;color:#64748b;font-weight:800}
.mock-metric{display:grid;grid-template-columns:1fr 70px;gap:10px;align-items:end;border-bottom:1px solid var(--lh-border-soft);padding-bottom:9px}
.mock-metric:last-child{border-bottom:0}
.mock-metric small{color:#64748b;font-size:11px;font-weight:700}
.mock-metric strong{display:block;font-size:16px;margin-top:2px}.spark{height:26px;background:linear-gradient(135deg,transparent 0 7%,var(--lh-blue) 8% 13%,transparent 14% 23%,var(--lh-blue) 24% 30%,transparent 31% 42%,var(--lh-blue) 43% 50%,transparent 51% 63%,var(--lh-blue) 64% 70%,transparent 71%);opacity:.8;border-radius:8px}

.feature-tabs{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;margin:22px 0 18px}
.feature-tab{height:40px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--lh-border);border-radius:10px;background:#fff;color:#111827;font-weight:800;font-size:13px;box-shadow:0 5px 16px rgba(15,23,42,.03)}
.feature-tab .ui-icon{width:16px;height:16px;color:#0f172a}

.home-section-title{text-align:center;margin:20px 0 18px;font-size:27px;letter-spacing:-.035em;font-weight:900;color:#07122b}
.feature-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:28px}
.saas-feature-card{border:1px solid var(--lh-border);border-radius:14px;background:#fff;box-shadow:var(--lh-shadow-sm);padding:16px;min-height:210px;display:flex;flex-direction:column;gap:14px}
.saas-feature-card__head{display:flex;align-items:flex-start;gap:12px}
.saas-feature-icon{width:34px;height:34px;border-radius:10px;background:var(--lh-blue-50);color:var(--lh-blue);display:grid;place-items:center;flex:0 0 auto}
.saas-feature-card h3{margin:0;font-size:15px;line-height:1.15;font-weight:900;letter-spacing:-.02em}
.saas-feature-card p{margin:4px 0 0;color:#475569;font-size:11.5px;line-height:1.45;font-weight:600}
.feature-preview{margin-top:auto;border:1px solid #e7edf6;border-radius:10px;background:#f8fafc;min-height:92px;overflow:hidden;position:relative}
.preview-form{padding:12px}.preview-label{font-size:9px;font-weight:900;color:#475569;margin-bottom:8px}.preview-input{height:34px;background:#fff;border:1px solid var(--lh-border);border-radius:8px;color:#64748b;font-size:10px;display:flex;align-items:center;padding:0 10px;margin-bottom:9px}.preview-btn{display:inline-flex;height:28px;padding:0 12px;border-radius:7px;align-items:center;background:var(--lh-blue);color:#fff;font-size:10px;font-weight:800}
.preview-split{display:grid;grid-template-columns:1fr 1fr;height:100%}.preview-room{background:linear-gradient(135deg,#f8fafc,#e2e8f0);position:relative}.preview-room::after{content:"";position:absolute;left:18%;right:18%;bottom:12px;height:24px;border-radius:8px;background:#d6c8b8}.preview-room:nth-child(2){background:linear-gradient(135deg,#fff7ed,#e0e7ff)}.preview-room:nth-child(2)::before{content:"";position:absolute;left:18px;top:25px;width:55px;height:28px;background:#c4b5fd;border-radius:16px 16px 8px 8px}.preview-split::after{content:"";position:absolute;left:50%;top:50%;width:25px;height:25px;transform:translate(-50%,-50%);border-radius:999px;background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.2)}
.preview-social{padding:10px}.preview-social-img{height:58px;border-radius:8px;background:linear-gradient(135deg,#f3f4f6,#bfdbfe);position:relative}.preview-social-img::before{content:"";position:absolute;inset:22px 14px 0;background:#fff;clip-path:polygon(0 45%,50% 0,100% 45%,100% 100%,0 100%)}.preview-social-icons{display:flex;gap:7px;margin-top:8px}.preview-social-icons span{width:18px;height:18px;border-radius:6px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:900}.i-ig{background:#e1306c}.i-fb{background:#1877f2}.i-in{background:#0a66c2}
.preview-video{height:100%;background:linear-gradient(135deg,#cbd5e1,#94a3b8);display:grid;place-items:center}.preview-video span{width:42px;height:42px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;display:grid;place-items:center;font-size:18px}.preview-video small{position:absolute;right:9px;bottom:8px;background:#0f172a;color:#fff;border-radius:6px;padding:3px 6px;font-size:9px;font-weight:800}
.preview-card{display:grid;grid-template-columns:1.25fr .9fr;gap:9px;padding:12px}.preview-card-profile{display:flex;gap:8px;align-items:center}.preview-card-avatar{width:36px;height:36px;border-radius:999px;background:linear-gradient(135deg,#fde68a,#bfdbfe)}.preview-card-lines span{display:block;height:6px;border-radius:999px;background:#cbd5e1;margin:4px 0}.preview-card-lines span:first-child{width:70px;background:#0f172a}.preview-card-img{border-radius:8px;background:linear-gradient(135deg,#fef3c7,#bfdbfe)}
.preview-site{height:100%;padding:14px;background:linear-gradient(135deg,rgba(15,23,42,.85),rgba(15,23,42,.42)),linear-gradient(135deg,#dbeafe,#fef3c7);color:#fff}.preview-site strong{display:block;width:75%;font-size:12px;line-height:1.2}.preview-site span{display:inline-flex;margin-top:12px;background:#fff;color:#0f172a;border-radius:6px;font-size:9px;font-weight:800;padding:5px 8px}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 42px}.audience-card{border:1px solid var(--lh-border);border-radius:18px;background:#fff;box-shadow:var(--lh-shadow-sm);display:grid;grid-template-columns:105px 1fr 200px;align-items:center;overflow:hidden;min-height:120px}.audience-icon{width:58px;height:58px;border-radius:16px;background:#eef2ff;color:var(--lh-blue);display:grid;place-items:center;margin-left:22px}.audience-card h3{margin:0 0 8px;font-size:20px;letter-spacing:-.03em}.audience-card p{margin:0;color:#475569;font-size:13px;line-height:1.55;font-weight:600}.audience-checks{margin-top:12px;display:flex;gap:16px;flex-wrap:wrap;color:#475569;font-size:11px;font-weight:800}.audience-checks span::before{content:"✓";color:var(--lh-blue);margin-right:6px}.audience-img{height:100%;background:linear-gradient(135deg,#e0e7ff,#fff7ed);position:relative}.audience-img::before{content:"";position:absolute;width:56px;height:56px;border-radius:999px;background:#d1d5db;left:30px;top:26px;box-shadow:44px 10px 0 #e5e7eb,88px 0 0 #cbd5e1}.audience-img::after{content:"";position:absolute;left:18px;right:18px;bottom:18px;height:22px;border-radius:10px;background:rgba(255,255,255,.76)}

/* Workspace chrome */
body.is-authenticated{background:#f8fafc;padding-left:268px;padding-top:74px;min-height:100vh}
.hub-sidebar{position:fixed;left:0;top:0;bottom:0;width:268px;background:linear-gradient(180deg,#071b36,#0b2445 68%,#0a1f3d);color:#dbeafe;padding:24px 16px;z-index:80;display:flex;flex-direction:column;gap:22px;box-shadow:18px 0 50px rgba(7,27,54,.18)}
.hub-sidebar__brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;padding:0 4px 10px}.hub-sidebar__brand .hub-brand__mark{width:31px;height:31px;color:#7ea0ff}.hub-sidebar__brand .hub-brand__mark .ui-icon{width:31px;height:31px}.hub-sidebar__brand .hub-brand__text{font-size:22px;color:#fff}
.hub-sidebar__profile{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:10px 4px 6px}.hub-avatar{width:44px;height:44px;border-radius:999px;object-fit:cover;background:linear-gradient(135deg,#fef3c7,#bfdbfe);border:2px solid rgba(255,255,255,.16)}.hub-avatar--initials{display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,#2b60ff,#9b5cff)}.hub-sidebar__profile strong{display:block;color:#fff;font-size:14px;font-weight:850}.hub-sidebar__profile small{display:block;color:#afc2df;font-size:11px;margin-top:2px}.hub-plan-badge{align-self:end;background:#234cff;color:#fff;border-radius:7px;font-size:10px;font-weight:850;padding:4px 6px}
.hub-sidebar__nav{display:flex;flex-direction:column;gap:6px}.hub-sidebar__nav a{display:flex;align-items:center;gap:13px;min-height:46px;padding:0 14px;text-decoration:none;color:#e5efff;border-radius:10px;font-size:14px;font-weight:780;transition:.16s ease}.hub-sidebar__nav a .ui-icon{width:19px;height:19px;color:#d7e4ff}.hub-sidebar__nav a:hover{background:rgba(255,255,255,.08);color:#fff}.hub-sidebar__nav a.active{background:linear-gradient(180deg,#1954ff,#0f3fd4);box-shadow:0 10px 26px rgba(16,71,255,.28);color:#fff}.hub-sidebar__nav a.active .ui-icon{color:#fff}
.hub-sidebar__help{margin-top:auto;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:18px;background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.hub-sidebar__help>.ui-icon{width:34px;height:34px;border-radius:999px;background:rgba(255,255,255,.14);padding:7px;color:#fff;margin-bottom:10px}.hub-sidebar__help strong{display:block;color:#fff;font-size:14px}.hub-sidebar__help p{margin:6px 0 14px;color:#b6c8e3;font-size:12px;line-height:1.5}.hub-sidebar__help a{height:40px;border:1px solid rgba(255,255,255,.17);border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;text-decoration:none;font-weight:850;font-size:12px}.hub-sidebar__help a .ui-icon{width:15px;height:15px}
.hub-topbar{position:fixed;top:0;left:268px;right:0;height:74px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);z-index:70;border-bottom:1px solid var(--lh-border);display:flex;align-items:center;gap:20px;padding:0 28px}.hub-sidebar-toggle{display:none;border:0;background:#fff;color:var(--lh-text);border-radius:10px;padding:10px}.hub-topbar__search{height:46px;width:min(550px,42vw);display:flex;align-items:center;gap:12px;padding:0 10px 0 14px;border:1px solid var(--lh-border);border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.035)}.hub-topbar__search .ui-icon{color:#64748b}.hub-topbar__search input{border:0;outline:0;background:transparent;width:100%;font:600 14px var(--lh-font);color:var(--lh-text)}.hub-topbar__search button{height:32px;border:0;border-radius:9px;background:#eef4ff;color:var(--lh-blue);padding:0 12px;font:800 12px var(--lh-font);cursor:pointer}.hub-topbar__search button:hover{background:#dbe7ff}.hub-topbar__actions{margin-left:auto;display:flex;align-items:center;gap:14px}.hub-credits-chip{height:46px;display:flex;align-items:center;gap:8px;border:1px solid var(--lh-border);border-radius:12px;background:#fff;text-decoration:none;padding:0 16px;font-size:14px;color:#0f172a}.hub-credits-chip .ui-icon{width:18px;height:18px;color:#0f172a}.hub-credits-chip strong{font-weight:900}.hub-credits-chip span{font-weight:700;color:#475569}.hub-notif{position:relative;border:0;background:#fff;color:#334155;padding:9px;border-radius:10px}.hub-notif .ui-icon{width:22px;height:22px}.hub-notif span{position:absolute;right:2px;top:1px;min-width:16px;height:16px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}.hub-avatar--topbar{width:40px;height:40px}.hub-user-menu{position:relative}.hub-user-menu__trigger{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;border-radius:999px;cursor:pointer;color:#64748b}.hub-user-menu__trigger:hover{color:#0f172a}.hub-user-menu__chevron{font-size:18px;font-weight:900;line-height:1;transform:translateY(-2px)}.hub-user-menu__dropdown{position:absolute;right:0;top:calc(100% + 12px);width:260px;background:#fff;border:1px solid var(--lh-border);border-radius:16px;box-shadow:0 22px 50px rgba(15,23,42,.16);padding:8px;display:none;z-index:100}.hub-user-menu.is-open .hub-user-menu__dropdown{display:block}.hub-user-menu__head{padding:12px 12px 10px;border-bottom:1px solid var(--lh-border-soft);margin-bottom:6px}.hub-user-menu__head strong{display:block;font-size:14px;color:#0f172a}.hub-user-menu__head small{display:block;margin-top:3px;color:#64748b;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-user-menu__dropdown a{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:10px;text-decoration:none;color:#334155;font-size:13px;font-weight:800}.hub-user-menu__dropdown a:hover{background:#f8fafc;color:var(--lh-blue)}.hub-user-menu__dropdown a .ui-icon{width:18px;height:18px;color:#64748b}.hub-user-menu__divider{height:1px;background:var(--lh-border-soft);margin:6px 4px}.hub-user-menu__dropdown a.hub-user-menu__logout{color:#dc2626}.hub-user-menu__dropdown a.hub-user-menu__logout:hover{background:#fef2f2;color:#b91c1c}

/* Dashboard */
.hub-dashboard{max-width:1500px;margin:0 auto;padding:28px 28px 42px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:26px}.dashboard-hero{margin:0 0 18px}.dashboard-hero h1{font-size:30px;line-height:1.2;letter-spacing:-.045em;margin:0 0 6px;font-weight:900;color:#081634}.dashboard-hero p{margin:0;color:#64748b;font-size:15px;font-weight:600}.dashboard-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:20px 0 18px}.kpi-card{background:#fff;border:1px solid var(--lh-border);border-radius:14px;padding:22px 18px;box-shadow:var(--lh-shadow-sm);min-height:136px}.kpi-card__icon{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:var(--lh-blue);display:grid;place-items:center;margin-bottom:16px}.kpi-card__icon .ui-icon{width:21px;height:21px}.kpi-card small{display:block;color:#64748b;font-size:12px;line-height:1.25;font-weight:750}.kpi-card strong{display:block;font-size:32px;letter-spacing:-.04em;margin:8px 0 8px;color:#081634}.kpi-card span{font-size:12px;color:#1d4ed8;font-weight:800}.panel-card{background:#fff;border:1px solid var(--lh-border);border-radius:16px;box-shadow:var(--lh-shadow-sm)}.panel-card__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--lh-border-soft)}.panel-card__head h2,.panel-card__head h3{margin:0;font-size:18px;letter-spacing:-.03em;font-weight:900}.panel-link{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border-radius:9px;background:#f8fafc;border:1px solid var(--lh-border);color:#334155;text-decoration:none;font-size:12px;font-weight:850}
.mandates-table{width:100%;border-collapse:separate;border-spacing:0}.mandates-table th{height:42px;padding:0 20px;text-align:left;color:#64748b;font-size:11px;font-weight:850;text-transform:none;border-bottom:1px solid var(--lh-border-soft)}.mandates-table td{padding:11px 20px;border-bottom:1px solid var(--lh-border-soft);vertical-align:middle}.mandates-table tr:last-child td{border-bottom:0}.property-cell{display:flex;align-items:center;gap:14px;min-width:245px}.property-thumb{width:86px;height:48px;border-radius:9px;background:linear-gradient(135deg,#fef3c7,#bfdbfe);position:relative;overflow:hidden;flex:0 0 auto}.property-thumb::after{content:"";position:absolute;left:9px;right:9px;bottom:0;height:30px;background:#fff;clip-path:polygon(0 50%,50% 0,100% 50%,100% 100%,0 100%);opacity:.78}.property-cell strong{display:block;font-size:13px;font-weight:900;color:#0f172a;margin-bottom:3px}.property-cell span,.mandates-table .sub{display:block;color:#64748b;font-size:12px;font-weight:650}.location-cell strong{font-size:13px}.status-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:850;background:#eef4ff;color:#1d4ed8}.status-badge::before{content:"";width:6px;height:6px;border-radius:999px;background:currentColor}.status-badge--draft{background:#f1f5f9;color:#64748b}.status-badge--prep{background:#fff7ed;color:#ea580c}.status-badge--published{background:#eef4ff;color:#1047ff}.price-cell{font-weight:850;color:#0f172a;font-size:13px;white-space:nowrap}.activity-cell strong{font-size:13px}.row-menu{width:34px;height:34px;border-radius:9px;border:1px solid var(--lh-border);background:#fff;display:grid;place-items:center;color:#334155;font-weight:900}.actions-quick{margin-top:16px;padding:14px 14px 12px}.actions-quick h2{font-size:18px;margin:0 0 14px;letter-spacing:-.03em}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.quick-card{min-height:88px;border:1px solid var(--lh-border);border-radius:12px;background:#fff;display:grid;grid-template-columns:42px 1fr;gap:10px;padding:15px 14px;text-decoration:none;color:inherit;align-items:start}.quick-card:hover{border-color:#c7d2fe;box-shadow:0 12px 30px rgba(16,71,255,.08);transform:translateY(-1px)}.quick-icon{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:var(--lh-blue);display:grid;place-items:center}.quick-icon .ui-icon{width:20px;height:20px}.quick-card strong{font-size:12px;line-height:1.2;display:block;margin-bottom:4px}.quick-card span{font-size:11px;color:#64748b;line-height:1.35;font-weight:650}
.side-stack{display:flex;flex-direction:column;gap:16px}.lead-pipeline{padding:16px}.pipeline-row{display:grid;grid-template-columns:12px 1fr auto auto;align-items:center;gap:12px;height:43px;border-bottom:1px solid var(--lh-border-soft);font-size:13px}.pipeline-row:last-child{border-bottom:0}.pipeline-dot{width:10px;height:10px;border-radius:999px;background:var(--lh-blue)}.pipeline-dot.purple{background:#8b5cf6}.pipeline-dot.orange{background:#f59e0b}.pipeline-dot.cyan{background:#0ea5e9}.pipeline-row span:nth-child(2){color:#475569;font-weight:750}.pipeline-row strong{font-weight:900}.mini-avatars{display:flex}.mini-avatars i{width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#fef3c7,#bfdbfe);border:2px solid #fff;margin-left:-7px}.mini-avatars i:first-child{margin-left:0}.mini-avatars em{font-style:normal;height:22px;min-width:28px;border-radius:999px;background:#f1f5f9;color:#64748b;display:grid;place-items:center;font-size:10px;font-weight:900;margin-left:-4px;border:2px solid #fff}.performance-body{display:grid;grid-template-columns:1fr 94px;gap:14px;padding:20px}.line-chart{height:150px;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--lh-border-soft);position:relative;overflow:hidden}.line-chart::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0 31px,#edf2f7 32px)}.line-chart svg{position:absolute;inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);overflow:visible}.line-chart path.area{fill:rgba(16,71,255,.08);stroke:none}.line-chart path.line{fill:none;stroke:var(--lh-blue);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.perf-numbers{display:flex;flex-direction:column;gap:22px}.perf-numbers strong{display:block;font-size:20px;line-height:1;color:#0f172a}.perf-numbers span{display:block;font-size:12px;color:#64748b;margin-top:4px;font-weight:750}.perf-numbers small{color:#16a34a;font-weight:900}.digital-card{padding:16px}.digital-card__preview{border-radius:14px;background:linear-gradient(135deg,#fff,#eef4ff);border:1px solid var(--lh-border);min-height:150px;display:grid;grid-template-columns:1fr 150px;overflow:hidden}.digital-profile{padding:22px}.digital-profile .hub-avatar{width:48px;height:48px;margin-bottom:12px}.digital-profile strong{display:block;font-size:16px}.digital-profile span{display:block;color:#64748b;font-size:12px;margin-top:4px}.digital-image{background:linear-gradient(135deg,#e2e8f0,#bfdbfe);position:relative}.digital-image::after{content:"";position:absolute;inset:55px 20px 0;background:#fff;clip-path:polygon(0 50%,50% 0,100% 50%,100% 100%,0 100%);opacity:.8}.digital-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:12px;margin-top:16px}.digital-actions .hub-btn{width:100%}

/* Clean up old forms/tables inside app pages */
body.is-authenticated main.container{max-width:1500px;padding:28px}
body.is-authenticated .site-header{display:none!important}
body.is-authenticated .btn-primary{background:var(--lh-blue)!important;border-color:var(--lh-blue)!important}

@media (max-width:1400px){
  .home-hero-saas{grid-template-columns:1fr;gap:30px}.hero-copy h1{font-size:50px}.feature-grid{grid-template-columns:repeat(3,1fr)}.audience-grid{grid-template-columns:1fr}.product-preview{max-width:980px}.dashboard-grid{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr}.side-stack .panel-card:last-child{grid-column:1/-1}.dashboard-kpis{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1100px){
  body.is-authenticated{padding-left:0}.hub-sidebar{transform:translateX(-105%);transition:.22s ease}.hub-sidebar-open .hub-sidebar{transform:none}.hub-topbar{left:0}.hub-sidebar-toggle{display:inline-flex}.hub-topbar__search{width:min(520px,52vw)}.feature-tabs{grid-template-columns:repeat(4,1fr)}.product-preview__grid{grid-template-columns:1fr}.product-preview{grid-template-columns:110px 1fr}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  .hub-public-header__inner{padding:0 18px}.hub-public-nav{display:none;position:absolute;left:16px;right:16px;top:72px;background:#fff;border:1px solid var(--lh-border);border-radius:14px;box-shadow:var(--lh-shadow);padding:14px;flex-direction:column;align-items:flex-start}.hub-public-nav.is-open{display:flex}.hub-mobile-nav{display:inline-flex}.hub-public-actions .hub-btn--ghost{display:none}.home-saas__wrap{padding:0 18px}.hero-copy h1{font-size:38px}.product-preview{grid-template-columns:1fr}.product-preview__sidebar{display:none}.feature-tabs{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}.audience-card{grid-template-columns:1fr;padding:18px}.audience-icon{margin-left:0}.audience-img{display:none}.hub-topbar{padding:0 14px}.hub-topbar__search{display:none}.hub-topbar__actions{gap:8px}.hub-credits-chip span{display:none}.hub-dashboard{padding:20px 16px}.dashboard-kpis{grid-template-columns:1fr}.mandates-table{display:block;overflow:auto}.side-stack{display:flex}.quick-grid{grid-template-columns:1fr}.digital-card__preview{grid-template-columns:1fr}.digital-image{min-height:110px}
}


/* v4.2 UX fixes: searchable topbar, notification menu, scrollable sidebar */
.workspace-search{
  display:flex;
  align-items:center;
  gap:8px;
}
.workspace-search input{
  min-width:0;
}
.workspace-search__kbd{
  display:none !important;
}
.workspace-search__submit{
  border:1px solid var(--lh-border);
  background:#fff;
  color:var(--lh-text);
  border-radius:12px;
  height:38px;
  padding:0 14px;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  transition:.16s ease;
}
.workspace-search__submit:hover{
  border-color:var(--lh-blue);
  color:var(--lh-blue);
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}

.workspace-notifications{
  position:relative;
  display:flex;
  align-items:center;
}
.workspace-notification{
  position:relative;
  width:42px;
  height:42px;
  border:1px solid transparent;
  border-radius:14px;
  background:#fff;
  color:var(--lh-muted);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.16s ease;
}
.workspace-notification:hover,
.workspace-notifications.is-open .workspace-notification{
  color:var(--lh-blue);
  border-color:var(--lh-border);
  box-shadow:0 10px 24px rgba(15,23,42,.07);
}
.workspace-notification > span{
  position:absolute;
  right:-4px;
  top:-4px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:900;
  border:2px solid #fff;
}
.workspace-notifications-menu{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:320px;
  background:#fff;
  border:1px solid var(--lh-border);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(15,23,42,.16);
  padding:8px;
  z-index:120;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:.16s ease;
}
.workspace-notifications.is-open .workspace-notifications-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.workspace-menu-head{
  padding:12px 12px 10px;
  border-bottom:1px solid var(--lh-border-soft);
  margin-bottom:4px;
}
.workspace-menu-head strong{
  display:block;
  font-size:14px;
  color:var(--lh-text);
}
.workspace-menu-head span{
  display:block;
  margin-top:2px;
  font-size:12px;
  color:var(--lh-muted);
}
.workspace-notifications-menu a{
  display:flex;
  gap:10px;
  padding:11px 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--lh-text);
}
.workspace-notifications-menu a:hover{
  background:var(--lh-blue-50);
}
.workspace-notifications-menu a span:last-child{
  min-width:0;
}
.workspace-notifications-menu strong{
  display:block;
  font-size:13px;
  line-height:1.2;
}
.workspace-notifications-menu small{
  display:block;
  color:var(--lh-muted);
  font-size:12px;
  margin-top:3px;
}
.workspace-menu-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--lh-blue);
  margin-top:4px;
  flex:0 0 auto;
}
.workspace-menu-dot.is-orange{background:var(--lh-orange)}
.workspace-menu-dot.is-blue{background:var(--lh-cyan)}

.hub-sidebar{
  height:100vh;
  max-height:100vh;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(148,163,184,.45) transparent;
  padding-bottom:24px;
}
.hub-sidebar::-webkit-scrollbar{width:7px}
.hub-sidebar::-webkit-scrollbar-thumb{background:rgba(148,163,184,.35);border-radius:999px}
.hub-sidebar__help{
  margin-top:24px;
  margin-bottom:10px;
}
.hub-sidebar__nav{
  padding-bottom:8px;
}
@media (max-height: 860px){
  .hub-sidebar__brand{margin-bottom:18px}
  .hub-sidebar__user{margin-bottom:18px}
  .hub-sidebar__nav a{min-height:42px}
  .hub-sidebar__help{margin-top:18px}
}


/* v4.3 topbar UX fixes: notification dropdown + no avatar arrow */
.hub-user-menu__chevron{display:none!important}
.hub-user-menu__trigger{gap:0!important}
.hub-notif-wrap{position:relative;display:flex;align-items:center}
.hub-notif{cursor:pointer;border:1px solid transparent!important;transition:.16s ease}
.hub-notif:hover,
.hub-notif-wrap.is-open .hub-notif{
  border-color:var(--lh-border)!important;
  color:var(--lh-blue)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.hub-notif-dropdown{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:320px;
  background:#fff;
  border:1px solid var(--lh-border);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(15,23,42,.16);
  padding:8px;
  z-index:160;
  display:none;
}
.hub-notif-wrap.is-open .hub-notif-dropdown{display:block}
.hub-notif-head{
  padding:12px 12px 10px;
  border-bottom:1px solid var(--lh-border-soft);
  margin-bottom:5px;
}
.hub-notif-head strong{display:block;font-size:14px;color:#0f172a}
.hub-notif-head small{display:block;margin-top:3px;color:#64748b;font-size:12px}
.hub-notif-dropdown a{
  display:flex;
  gap:10px;
  padding:11px 12px;
  border-radius:14px;
  text-decoration:none;
  color:#0f172a;
}
.hub-notif-dropdown a:hover{background:var(--lh-blue-50)}
.hub-notif-dropdown a strong{display:block;font-size:13px;line-height:1.25}
.hub-notif-dropdown a small{display:block;margin-top:3px;font-size:12px;color:#64748b;line-height:1.25}
.hub-notif-dot{
  width:9px;height:9px;border-radius:999px;background:var(--lh-blue);flex:0 0 auto;margin-top:4px;
}
.hub-notif-dot.is-blue{background:#0ea5e9}
.hub-notif-dot.is-orange{background:#f59e0b}
@media(max-width:680px){
  .hub-notif-dropdown{right:-70px;width:292px}
}


/* Dashboard v1.4 — mandats/clients + vraies miniatures */
.dashboard-kpis--business{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.dashboard-kpis--business .kpi-card{
  min-height:126px;
}
.property-thumb--photo{
  background:#e2e8f0;
}
.property-thumb--photo::after{display:none!important}
.property-thumb--photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.property-mandate-chip{
  display:inline-flex!important;
  width:max-content;
  margin-top:6px;
  min-height:22px;
  align-items:center;
  padding:0 8px;
  border-radius:999px;
  background:#eef4ff;
  color:#1047ff!important;
  font-size:10.5px!important;
  font-style:normal;
  font-weight:850!important;
}
.property-mandate-chip--muted{
  background:#f1f5f9;
  color:#64748b!important;
}
.quick-grid--business{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.quick-card--primary{
  border-color:#c7d2fe;
  background:linear-gradient(180deg,#ffffff 0%,#f6f9ff 100%);
}
.quick-card--primary .quick-icon{
  background:#1742ff;
  color:#fff;
}
@media(max-width:1200px){
  .dashboard-kpis--business{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-grid--business{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .dashboard-kpis--business{grid-template-columns:1fr}
  .quick-grid--business{grid-template-columns:1fr}
}
