/* Hourglass Flow V7 final visual layer. Loaded after all legacy styles. */
body:not(.login-page){background:radial-gradient(circle at 88% 2%,rgba(203,231,126,.18),transparent 24rem),linear-gradient(180deg,#f5f3eb 0,#eef2eb 100%);color:var(--flow-ink)}
.page-content{max-width:1480px;margin-inline:auto;padding-bottom:72px}
.card{background:rgba(255,254,250,.97);border-color:var(--flow-line);border-radius:20px;box-shadow:0 12px 35px rgba(24,61,47,.055)}
.module-hero{background:linear-gradient(135deg,var(--flow-forest-deep),var(--flow-forest));border:0;border-radius:22px;box-shadow:0 18px 44px rgba(16,45,36,.16)}
.module-hero h2{color:#fff;font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.035em}
.module-hero p{color:#d9e7df}.module-stats>div{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.13)}
.module-stats strong{color:#fff}.module-stats span{color:#cbdcd3}
.primary-btn{background:var(--flow-forest);border-color:var(--flow-forest);color:#fff;border-radius:12px}.primary-btn:hover{background:var(--flow-forest-deep)}
.ghost-btn{border-color:#cbd8d0;color:#285c45;background:#f9fbf8;border-radius:12px}.ghost-btn:hover{border-color:#7ba18e;background:#eef5f0}
.verified-review-panel,.search-setup-panel,.verified-lead-shell,.verified-item,.info-card{border-color:var(--flow-line)}
.verified-review-panel,.verified-lead-shell,.verified-item{background:var(--flow-paper)}.search-setup-panel,.info-card{background:#f7faf6}
.score-orb,.tab-pill.active{background:var(--flow-forest);border-color:var(--flow-forest)}.tab-pill.active{color:var(--flow-lime)}
.title-with-icon{color:var(--flow-ink)}.section-subtitle,.muted{color:var(--flow-muted)}
.status-pill.pass{background:#e5f2e8;color:#246245}.status-pill.warn{background:#fff3d6;color:#856217}
.empty-inline-state{border-radius:14px;background:#f7f9f6;color:var(--flow-muted)}
.resource-card,.bundle-card,.tool-card,.task-calendar-col{border-color:var(--flow-line)!important;border-radius:18px!important}

/* Restore the three-column Contact layout after the older <=1500px rule made
   the composer span a second row. Flow stacks all three columns only at the
   dedicated responsive breakpoint below. */
@media (min-width:1201px){
  .outreach-layout-quality>.composer-col{grid-column:auto}
}
.owner-filter-row,.compact-filter-card{border-color:var(--flow-line)}

.flow-nav-item{padding-block:8px}
.flow-nav-copy{width:auto!important;height:auto!important;min-width:0;display:grid;gap:1px}
.flow-nav-copy b{line-height:1.15}
.flow-nav-copy small{font-size:8px;line-height:1.2;color:#80978d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-nav-item.active .flow-nav-copy small{color:#315241}
.flow-more>summary{line-height:1.2}

.flow-purpose-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:30px;align-items:center;margin-bottom:20px;padding:30px 34px;border-radius:22px;background:linear-gradient(135deg,var(--flow-forest-deep),var(--flow-forest));color:#fff;box-shadow:0 18px 44px rgba(16,45,36,.16)}
.flow-purpose-hero h2{margin:7px 0 9px;color:#fff;font:500 34px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.035em}
.flow-purpose-hero p{max-width:760px;margin:0;color:#d7e5dd;line-height:1.5}
.flow-purpose-hero ol{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.flow-purpose-hero li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center;padding:11px 13px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.07)}
.flow-purpose-hero li>b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--flow-lime);color:var(--flow-ink);font-size:11px}
.flow-purpose-hero li span{display:grid;gap:1px}.flow-purpose-hero li strong{font-size:12px;color:#fff}.flow-purpose-hero li small{font-size:10px;color:#bdd2c7}

.flow-contact-actions{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;margin-bottom:14px}
.flow-contact-actions>span{display:flex;align-items:center;padding:0 8px;color:#7c8982;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.flow-contact-actions>a{display:grid;grid-template-columns:20px 1fr;column-gap:8px;align-items:center;padding:10px 11px;border:1px solid #dde3dc;border-radius:12px;background:#f7f8f5;color:#506159;text-decoration:none}
.flow-contact-actions>a svg{grid-row:1/3;width:17px;height:17px}.flow-contact-actions>a b{font-size:11px}.flow-contact-actions>a small{font-size:8px;color:#7d8983}
.flow-contact-actions>a:hover,.flow-contact-actions>a.active{border-color:#8ead9d;background:#edf5ef;color:#1e5b40}
.flow-contact-actions>a.active{box-shadow:inset 0 0 0 1px rgba(55,112,82,.12)}
#send-email,#set-follow-up,#create-proposal{scroll-margin-top:20px}

.flow-search-connection{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:10px 13px;border-radius:12px;border:1px solid}
.flow-search-connection span{font-size:11px;font-weight:900;white-space:nowrap}.flow-search-connection small{font-size:10px;line-height:1.35}
.flow-search-connection a{margin-left:auto;font-size:10px;font-weight:900;text-decoration:none}
.flow-search-connection.connected{background:#eaf5ed;border-color:#cbe1d1;color:#255f43}
.flow-search-connection.connected small{color:#52715f}
.flow-search-connection.disconnected{background:#fff4df;border-color:#ead5a5;color:#805e20}
.flow-search-connection.disconnected small{color:#806f4b}.flow-search-connection.disconnected a{color:#6c501d}
.v49-btn[disabled]{cursor:not-allowed;opacity:.62}

@media(max-width:1100px){
  .flow-purpose-hero{grid-template-columns:1fr}.flow-contact-actions{grid-template-columns:1fr 1fr}.flow-contact-actions>span{grid-column:1/-1}
}
@media(max-width:760px){
  .page-content{padding-bottom:44px}
  .flow-purpose-hero{padding:24px;grid-template-columns:1fr}.flow-purpose-hero h2{font-size:29px}
  .flow-contact-actions{grid-template-columns:1fr}.flow-contact-actions>span{grid-column:auto}
  .flow-search-connection{align-items:flex-start;flex-direction:column}.flow-search-connection a{margin-left:0}
}
