
/* Host portal — supplements main.css, does not override container width */
.host-portal{min-height:100vh}
.hp-flash{
  background:#ECFDF5;color:#047857;border-radius:12px;padding:10px 14px;
  font-weight:700;font-size:13.5px;margin-bottom:8px;
}

/* Host landing uses body.home-hero (same as vitrine): full-bleed, no radius, header overlay */
body.home-hero.hp-landing .hero-card > .hero-inner{
  grid-template-columns: minmax(0,1.15fr) minmax(0,0.95fr);
  gap: 32px 40px;
}
.hp-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 16px}
.hp-btn-ghost{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
}
.hp-trust-row{display:flex;flex-wrap:wrap;gap:16px 22px}
.hp-trust-row span{font-size:13px;font-weight:600;color:rgba(255,255,255,.7)}
.hp-trust-row b{color:#fff;font-weight:900;margin-right:4px}

.hp-dash-preview{
  width:100%;max-width:340px;margin-left:auto;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;padding:14px;
}
.hp-dp-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.hp-dp-live{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#fff}
.hp-dp-live i{width:7px;height:7px;border-radius:50%;background:#34D399}
.hp-dp-muted{font-size:12px;color:rgba(255,255,255,.45);font-weight:600}
.hp-dp-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.hp-dp-kpis div{background:rgba(255,255,255,.06);border-radius:12px;padding:10px 6px;text-align:center}
.hp-dp-kpis b{display:block;font-size:13px;font-weight:900;color:#fff}
.hp-dp-kpis small{font-size:10px;color:rgba(255,255,255,.5);font-weight:600}
.hp-dp-card{background:#fff;color:var(--ink);border-radius:14px;padding:12px 14px;margin-bottom:8px}
.hp-dp-card.muted{opacity:.95}
.hp-dp-card-top{display:flex;justify-content:space-between;margin-bottom:6px}
.hp-dp-tag{font-size:11px;font-weight:800;color:var(--muted)}
.hp-dp-ok{font-size:11px;font-weight:800;color:#059669}
.hp-dp-warn{font-size:11px;font-weight:800;color:#C2410C}
.hp-dp-card strong{display:block;font-size:14px;font-weight:800}
.hp-dp-meta{font-size:12.5px;color:var(--muted);font-weight:600}
.hp-dp-actions{display:flex;gap:8px;margin-top:10px}
.hp-dp-btn{font-size:12px;font-weight:800;padding:6px 11px;border-radius:9px;background:#F1F3F7}
.hp-dp-btn.primary{background:var(--brand);color:#fff}

/* Features with SVG */
.hp-feat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hp-feat{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 18px;
}
.hp-feat-ico{
  display:inline-flex;width:40px;height:40px;border-radius:12px;
  align-items:center;justify-content:center;
  background:#FFF1EC;color:var(--brand);margin-bottom:12px;
}
.hp-feat-ico .i{width:20px;height:20px}
.hp-feat h3{margin:0 0 6px;font-size:16px;font-weight:800}
.hp-feat p{margin:0;font-size:13.5px;line-height:1.5;color:var(--muted);font-weight:500}

.hp-compare{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,0.9fr);
  gap:28px;align-items:center;
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px 26px;
}
.hp-compare-copy h2{margin:0 0 14px;font-size:24px;font-weight:900;letter-spacing:-.02em}
.hp-check-list{margin:0 0 20px;padding:0;list-style:none}
.hp-check-list li{
  position:relative;padding:8px 0 8px 28px;font-size:14.5px;font-weight:600;line-height:1.4;
}
.hp-check-list li::before{
  content:"";position:absolute;left:0;top:11px;width:16px;height:16px;border-radius:50%;
  background:var(--brand);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
}
/* simpler check without mask issues */
.hp-check-list li::before{
  mask:none;-webkit-mask:none;
  background:var(--brand);
  box-shadow:inset 0 0 0 3px var(--brand);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:12px;
}
.hp-compare-card{background:#0B1220;color:#fff;border-radius:18px;padding:18px 16px}
.hp-cc-row{
  display:flex;justify-content:space-between;gap:12px;
  padding:11px 4px;border-bottom:1px solid rgba(255,255,255,.08);
  font-size:13.5px;font-weight:600;
}
.hp-cc-row:last-child{border-bottom:0}
.hp-cc-row .ok{color:#34D399;font-weight:800}
.hp-cc-row .bad{color:#FB7185;font-weight:800}

.hp-final-cta{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:linear-gradient(145deg,#0B1220,#152238);color:#fff;
  border-radius:22px;padding:28px 26px;
}
.hp-final-cta h2{margin:0 0 6px;font-size:24px;font-weight:900}
.hp-final-cta p{margin:0;color:rgba(255,255,255,.7);font-weight:500;font-size:14.5px}
.hp-final-actions{display:flex;flex-wrap:wrap;gap:10px}
.hp-final-actions .btn-ghost{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.14)!important;color:#fff!important;
}

.hp-auth{max-width:420px;margin:36px auto 64px;padding:0 16px}
.hp-auth-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px 24px;
  display:flex;flex-direction:column;gap:12px;
}
.hp-auth-card h1{margin:0;font-size:22px;font-weight:900}
.hp-auth-sub{margin:0 0 4px;color:var(--muted);font-size:13.5px;font-weight:600}
.hp-auth-card label{
  display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;
  color:var(--muted);text-transform:uppercase;letter-spacing:.04em;
}
.hp-auth-card input{
  border:1px solid var(--line);border-radius:11px;padding:11px 12px;font:inherit;
  font-size:14.5px;font-weight:600;background:#FAFBFC;
}
.hp-auth-card input:focus{outline:none;border-color:var(--brand)}
.hp-error{background:#FEF2F2;color:#B91C1C;border-radius:10px;padding:10px 12px;font-size:13.5px;font-weight:700}
.hp-auth-foot{margin:6px 0 0;font-size:13.5px;color:var(--muted);text-align:center}
.hp-auth-foot a{color:var(--brand);font-weight:800;text-decoration:none}

/* dashboard */
.hp-dash{max-width:1180px;width:min(1180px,94vw);margin:0 auto;padding:28px 0 40px}
.hp-dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.hp-dash-head h1{margin:0;font-size:28px;font-weight:900}
.hp-dash-head p{margin:4px 0 0;color:var(--muted);font-weight:600}
.hp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.hp-kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.hp-kpi b{display:block;font-size:22px;font-weight:900}
.hp-kpi span{font-size:12.5px;color:var(--muted);font-weight:700}
.hp-dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hp-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.hp-panel-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.hp-panel-h h2{margin:0;font-size:16px;font-weight:800}
.hp-panel-h a{font-size:13px;font-weight:800;color:var(--brand);text-decoration:none}
.hp-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #F0F2F5}
.hp-row b{display:block;font-size:14px}
.hp-row small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;margin-top:2px}
.hp-row-actions{display:flex;gap:10px}
.hp-row-actions a{font-size:12.5px;font-weight:800;color:var(--brand);text-decoration:none}
.hp-status{font-size:11.5px;font-weight:800;padding:4px 9px;border-radius:99px;background:#F1F3F7}
.hp-status.pending{background:#FFF7ED;color:#C2410C}
.hp-status.confirmed{background:#ECFDF5;color:#047857}
.hp-empty{padding:16px 0;color:var(--muted);font-weight:600}
.hp-empty a{color:var(--brand);font-weight:800}
.hp-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.hp-tool{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:13px;font-weight:800;color:var(--ink);text-decoration:none}

@media(max-width:960px){
  .hp-feat-grid,.hp-compare,.hp-dash-grid{grid-template-columns:1fr}
  .hp-kpis{grid-template-columns:1fr 1fr}
  body.home-hero.hp-landing .hp-dash-preview{max-width:none;margin:0}
}
