/* ClientFlow X100 — standalone front-end */
:root{--cf-bg:#f5f7fb;--cf-card:#fff;--cf-ink:#101828;--cf-muted:#667085;--cf-brand:#176b4d;--cf-brand2:#0d513a;--cf-line:#e5e7eb;--cf-soft:#eaf6f0;--cf-danger:#b42318;--cf-warn:#b54708;--cf-shadow:0 20px 60px rgba(16,24,40,.10)}
.cfx-site,.cfx-site *{box-sizing:border-box}.cfx-site{background:var(--cf-bg);color:var(--cf-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cfx-shell{min-height:70vh}.cfx-nav{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,5vw);background:#fff;border-bottom:1px solid var(--cf-line);position:sticky;top:0;z-index:20}.cfx-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--cf-ink)!important;font-weight:800;font-size:20px}.cfx-brand>span:last-child span{color:var(--cf-brand)}.cfx-logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--cf-brand),#2c9c70);color:#fff;font-size:13px;font-weight:900;box-shadow:0 8px 18px rgba(23,107,77,.22)}.cfx-logo.large{margin:auto;width:54px;height:54px}.cfx-links{display:flex;gap:30px}.cfx-links a,.cfx-login-link{color:#475467;text-decoration:none;font-size:14px}.cfx-links a:hover,.cfx-login-link:hover{color:var(--cf-brand)}.cfx-actions{display:flex;gap:14px;align-items:center}.cfx-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;text-decoration:none!important;font-weight:750;border:1px solid transparent;cursor:pointer}.cfx-btn-sm{min-height:38px;padding:0 14px;font-size:13px}.cfx-primary{background:var(--cf-brand)!important;color:#fff!important;box-shadow:0 8px 20px rgba(23,107,77,.16)}.cfx-primary:hover{background:var(--cf-brand2)!important}.cfx-secondary{background:#fff!important;color:var(--cf-ink)!important;border-color:#d0d5dd}.cfx-white{background:#fff!important;color:var(--cf-brand)!important}.cfx-hero{max-width:1240px;margin:0 auto;padding:85px 28px 60px;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.cfx-pill{display:inline-flex;background:var(--cf-soft);color:var(--cf-brand);border-radius:999px;padding:8px 13px;font-size:11px;font-weight:850;letter-spacing:.08em}.cfx-hero h1{font-size:clamp(44px,5vw,72px);line-height:.98;letter-spacing:-.055em;margin:18px 0}.cfx-hero h1 span{color:var(--cf-brand)}.cfx-lead{font-size:19px;line-height:1.65;color:var(--cf-muted);max-width:590px}.cfx-hero-buttons{display:flex;gap:12px;margin:30px 0 18px;flex-wrap:wrap}.cfx-trust{display:flex;gap:18px;flex-wrap:wrap;color:#667085;font-size:12px}.cfx-dashboard-preview{background:#111827;border-radius:24px;padding:13px;box-shadow:0 35px 80px rgba(16,24,40,.22);transform:rotate(1.2deg)}.cfx-window-bar{height:30px;display:flex;align-items:center;gap:5px;color:#fff;font-size:11px;padding:0 5px}.cfx-window-bar i{width:7px;height:7px;border-radius:50%;background:#64748b}.cfx-window-bar b{margin-left:auto;margin-right:auto;font-weight:600;color:#cbd5e1}.cfx-mini-top,.cfx-stats,.cfx-table{background:#f8fafc}.cfx-mini-top{padding:18px 20px 8px;display:flex;justify-content:space-between;font-size:10px;color:#64748b}.cfx-mini-top span{font-size:14px;color:#111827;font-weight:800}.cfx-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:12px 14px}.cfx-stats div{background:#fff;padding:16px;border-radius:10px}.cfx-stats small,.cfx-stats strong,.cfx-stats em{display:block}.cfx-stats small{font-size:9px;color:#667085}.cfx-stats strong{font-size:15px;margin:5px 0}.cfx-stats em{font-size:9px;color:var(--cf-brand);font-style:normal}.cfx-chart{height:120px;background:#fff;margin:0 14px;padding:18px;position:relative;overflow:hidden}.cfx-chart-line{height:80px;border-bottom:2px solid var(--cf-brand);border-radius:50%;transform:skewY(-8deg) rotate(-2deg);border-top:2px solid transparent}.cfx-table{margin:0 14px 14px;padding:14px;display:grid;gap:9px;font-size:10px}.cfx-table span{display:flex;justify-content:space-between;color:#667085}.cfx-table mark{background:#dcfae6;color:#067647;border-radius:99px;padding:3px 7px}.cfx-table mark.warn{background:#fef0c7;color:#b54708}.cfx-table mark.danger{background:#fee4e2;color:#b42318}.cfx-section{max-width:1000px;margin:40px auto;padding:80px 25px 35px}.cfx-centered{text-align:center}.cfx-centered h2,.cfx-cta h2{font-size:42px;letter-spacing:-.04em;margin:15px 0}.cfx-centered p{color:var(--cf-muted)}.cfx-features{max-width:1180px;margin:0 auto;padding:25px 25px 100px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cfx-features article{background:#fff;border:1px solid var(--cf-line);border-radius:20px;padding:27px;box-shadow:0 8px 30px rgba(16,24,40,.04)}.cfx-icon{font-size:25px;margin-bottom:15px}.cfx-features h3{margin:0 0 8px}.cfx-features p{color:var(--cf-muted);line-height:1.6;margin:0}.cfx-cta{max-width:1180px;margin:0 auto 80px;border-radius:28px;background:linear-gradient(135deg,#0e4d37,#176b4d);color:#fff;text-align:center;padding:70px 25px}.cfx-cta p{color:#d1fae5;margin-bottom:28px}.cfx-page-title{text-align:center;max-width:850px;margin:0 auto;padding:85px 25px 45px}.cfx-page-title h1{font-size:52px;letter-spacing:-.05em;margin:16px 0}.cfx-page-title p{color:var(--cf-muted);font-size:18px}.cfx-pricing{max-width:1120px;margin:20px auto 100px;padding:0 25px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cfx-pricing article{background:#fff;border:1px solid var(--cf-line);border-radius:22px;padding:32px;position:relative}.cfx-pricing article.featured{border:2px solid var(--cf-brand);box-shadow:var(--cf-shadow)}.cfx-popular{position:absolute;top:14px;right:14px;background:var(--cf-soft);color:var(--cf-brand);font-size:9px;font-weight:900;padding:6px 9px;border-radius:99px}.price{font-size:34px;font-weight:850;margin:20px 0 10px}.price small{font-size:12px;color:var(--cf-muted);font-weight:500}.cfx-pricing p{color:var(--cf-muted);min-height:42px}.cfx-pricing ul{padding:0;list-style:none;line-height:2;color:#344054;margin-bottom:25px}.cfx-pricing li:before{content:"✓";color:var(--cf-brand);font-weight:800;margin-right:9px}.cfx-contact-grid{max-width:1000px;margin:0 auto 100px;padding:0 25px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.cfx-card{background:#fff;border:1px solid var(--cf-line);border-radius:18px;padding:28px;box-shadow:0 8px 30px rgba(16,24,40,.04)}.cfx-card h3{margin-top:0}.cfx-contact-grid .cfx-btn{margin:8px 8px 0 0}.cfx-checks{list-style:none;padding:0;line-height:2}.cfx-checks li:before{content:"✓";color:var(--cf-brand);font-weight:800;margin-right:10px}.cfx-prose{max-width:850px;margin:0 auto;padding:80px 25px 120px}.cfx-prose h1{font-size:48px;letter-spacing:-.04em}.cfx-prose h2{margin-top:40px}.cfx-prose p{color:#475467;line-height:1.8}.cfx-auth-wrap{min-height:650px;display:grid;place-items:center;padding:70px 20px}.cfx-auth-card{width:min(450px,100%);text-align:center}.cfx-auth-card h1{font-size:32px;letter-spacing:-.03em}.cfx-auth-card>p{color:var(--cf-muted)}.cfx-form{text-align:left;display:grid;gap:15px}.cfx-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#344054}.cfx-form input,.cfx-form select,.cfx-form textarea{width:100%;padding:13px 14px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;font:inherit}.cfx-form textarea{min-height:90px;resize:vertical}.cfx-form button{width:100%;border:0}.cfx-auth-switch{font-size:13px}.cfx-auth-switch a{color:var(--cf-brand);font-weight:800}.cfx-notice{padding:12px 15px;border-radius:10px;margin-bottom:16px;font-size:13px}.cfx-notice.success{background:#ecfdf3;color:#067647}.cfx-notice.danger{background:#fef3f2;color:#b42318}.cfx-appnav{max-width:1250px;margin:0 auto;padding:20px 25px;display:flex;align-items:center;gap:28px}.cfx-appnav nav{display:flex;gap:6px;flex:1}.cfx-appnav nav a{padding:9px 12px;border-radius:9px;text-decoration:none;color:#667085;font-size:13px}.cfx-appnav nav a.active,.cfx-appnav nav a:hover{background:#eaf6f0;color:var(--cf-brand);font-weight:750}.cfx-logout{font-size:12px;color:#667085;text-decoration:none}.cfx-app-head{max-width:1200px;margin:35px auto 25px;padding:0 25px;display:flex;justify-content:space-between;align-items:end;gap:20px}.cfx-eyebrow{font-size:10px;font-weight:900;color:var(--cf-brand);letter-spacing:.12em}.cfx-app-head h1{margin:8px 0 3px;font-size:35px;letter-spacing:-.04em}.cfx-app-head p{color:var(--cf-muted);margin:0}.cfx-app-stats{max-width:1200px;margin:0 auto 20px;padding:0 25px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cfx-stat-card{background:#fff;border:1px solid var(--cf-line);border-radius:16px;padding:22px}.cfx-stat-card small,.cfx-stat-card strong,.cfx-stat-card span{display:block}.cfx-stat-card small{color:#667085;font-size:11px}.cfx-stat-card strong{font-size:25px;margin:7px 0}.cfx-stat-card span{font-size:10px;color:#98a2b3}.cfx-grid-2{max-width:1200px;margin:0 auto 80px;padding:0 25px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.cfx-card-head{display:flex;justify-content:space-between;align-items:center}.cfx-card-head h3{margin:0}.cfx-card-head span{font-size:11px;color:#667085}.cfx-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.cfx-quick a{padding:15px;border:1px solid var(--cf-line);border-radius:12px;text-decoration:none;color:#344054;font-size:13px}.cfx-quick a:hover{border-color:#98a2b3;background:#f8fafc}.cfx-progress{height:9px;background:#eaecf0;border-radius:99px;overflow:hidden;margin:18px 0}.cfx-progress i{display:block;width:0;height:100%;background:var(--cf-brand)}.cfx-list{display:grid;gap:2px}.cfx-row,.cfx-invoice-row,.cfx-follow-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f2f4f7}.cfx-row:last-child,.cfx-invoice-row:last-child,.cfx-follow-row:last-child{border-bottom:0}.cfx-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--cf-soft);color:var(--cf-brand);font-weight:900}.cfx-row small,.cfx-invoice-row small,.cfx-follow-row small{display:block;color:#667085;font-size:11px;margin-top:3px}.cfx-invoice-row>div{flex:1}.cfx-status{font-size:10px;padding:5px 8px;border-radius:99px;background:#f2f4f7;color:#475467}.cfx-status.paid{background:#ecfdf3;color:#067647}.cfx-status.overdue{background:#fef3f2;color:#b42318}.cfx-status.cancelled{background:#f2f4f7;color:#98a2b3;text-decoration:line-through}.cfx-wa{font-size:10px;color:var(--cf-brand);font-weight:800;text-decoration:none}.grow{flex:1}.cfx-narrow{max-width:700px;margin:0 auto 100px}.cfx-setting{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #f2f4f7;font-size:13px}.cfx-empty{text-align:center;color:#98a2b3;padding:30px}.cfx-footer{max-width:1180px;margin:0 auto;padding:30px 25px 45px;border-top:1px solid var(--cf-line);display:flex;justify-content:space-between;gap:20px;color:#667085;font-size:12px}.cfx-footer strong{color:var(--cf-ink)}.cfx-footer-links{display:flex;gap:20px}.cfx-footer a{color:#667085;text-decoration:none}.cfx-invoice-items{display:grid;gap:8px;padding:14px;border:1px dashed var(--cf-line);border-radius:12px;background:#fafcfb}.cfx-label{font-size:12px;font-weight:800;color:#344054;text-transform:uppercase;letter-spacing:.04em}.cfx-item-row{display:grid;grid-template-columns:1fr 90px;gap:8px}.cfx-item-row select,.cfx-item-row input{width:100%;padding:11px 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;font:inherit}.cfx-help{color:var(--cf-muted);font-size:13px}
.cfx-pay-toggle{position:relative}
.cfx-pay-toggle summary{cursor:pointer;list-style:none}
.cfx-pay-toggle summary::-webkit-details-marker{display:none}
.cfx-pay-toggle .cfx-inline-pay{position:absolute;right:0;top:26px;z-index:10;background:#fff;border:1px solid var(--cf-line);border-radius:12px;padding:14px;box-shadow:0 12px 30px rgba(16,24,40,.14);width:220px;gap:10px}
@media(max-width:480px){.cfx-pay-toggle .cfx-inline-pay{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto}}
.cfx-cashier-badge{font-size:11px;background:#fef0c7;color:#b54708;padding:6px 10px;border-radius:99px;font-weight:800;margin-right:10px}
.cfx-ai-input-row{display:flex;gap:8px;margin-top:14px}
.cfx-ai-input-row input{flex:1;padding:12px 14px;border:1px solid #d0d5dd;border-radius:10px;font:inherit}
.cfx-ai-live{transition:opacity .2s}

/* --- Mobile/tablet hamburger navigation (marketing header + in-app nav) --- */
.cfx-nav-toggle{display:none;flex-direction:column;justify-content:center;gap:4px;width:40px;height:40px;border:1px solid var(--cf-line);border-radius:10px;background:#fff;cursor:pointer;padding:0;align-items:center}
.cfx-nav-toggle span{display:block;width:18px;height:2px;background:#344054;border-radius:2px;transition:transform .2s,opacity .2s}
.cfx-nav-open .cfx-nav-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.cfx-nav-open .cfx-nav-toggle span:nth-child(2){opacity:0}
.cfx-nav-open .cfx-nav-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:900px){
  .cfx-appnav{flex-wrap:wrap;position:relative}
  .cfx-appnav .cfx-nav-toggle{display:flex;order:2;margin-left:auto}
  .cfx-appnav .cfx-cashier-badge{order:3}
  .cfx-appnav .cfx-logout{order:4}
  .cfx-appnav nav{order:5;flex-basis:100%;display:none;flex-direction:column;gap:2px;min-width:0;max-height:0;overflow:hidden;transition:max-height .2s ease}
  .cfx-appnav nav a{padding:12px 14px}
  .cfx-appnav.cfx-nav-open nav{display:flex;max-height:600px;background:#fff;border:1px solid var(--cf-line);border-radius:14px;margin-top:12px;padding:8px;box-shadow:0 14px 34px rgba(16,24,40,.12)}
}
@media(max-width:768px){
  .cfx-nav .cfx-nav-toggle{display:flex}
  .cfx-nav .cfx-links{display:none;flex-direction:column;gap:0;position:absolute;left:16px;right:16px;top:64px;background:#fff;border:1px solid var(--cf-line);border-radius:14px;padding:8px;box-shadow:0 14px 34px rgba(16,24,40,.14);z-index:30}
  .cfx-nav .cfx-links a{padding:12px 14px;border-radius:8px}
  .cfx-nav .cfx-links a:hover{background:#f5fbf8}
  .cfx-nav.cfx-nav-open .cfx-links{display:flex}
  .cfx-nav .cfx-login-link{display:none}
  .cfx-nav .cfx-actions{margin-left:auto}
}
/* --- Full responsive pass: phone / tablet / laptop --- */
.cfx-site img{max-width:100%;height:auto}
.cfx-site table{max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cfx-search{width:100%;padding:11px 14px;border:1px solid #d0d5dd;border-radius:10px;font:inherit;margin-bottom:12px}
/* Laptop / small desktop: tighten the 1200px containers a bit before the tablet breakpoint kicks in */
@media(max-width:1180px){
  .cfx-hero,.cfx-features,.cfx-cta,.cfx-footer,.cfx-app-stats,.cfx-grid-2,.cfx-app-head,.cfx-appnav,.cfx-ai-hero,.cfx-ai-grid{max-width:100%}
}
/* Tablet (portrait & landscape): 2-col layouts survive, but give them room and bigger tap targets */
@media(max-width:1024px) and (min-width:769px){
  .cfx-hero{gap:36px;padding-left:20px;padding-right:20px}
  .cfx-grid-2{grid-template-columns:1fr 1fr;gap:14px;padding:0 20px}
  .cfx-app-stats{grid-template-columns:repeat(2,1fr);padding:0 20px}
  .cfx-app-head{padding:0 20px}
  .cfx-appnav{padding:16px 20px}
  .cfx-features,.cfx-ai-grid{grid-template-columns:1fr 1fr}
  .cfx-pricing{grid-template-columns:1fr 1fr}
}
/* Tablet portrait and down: stack the two-column app layout, keep forms full-width and touch-friendly */
@media(max-width:900px){
  .cfx-item-row{grid-template-columns:1fr 80px}
}
@media(max-width:768px){
  .cfx-grid-2{grid-template-columns:1fr!important}
  .cfx-app-stats{grid-template-columns:repeat(2,1fr)!important}
  .cfx-contact-grid{grid-template-columns:1fr!important}
  .cfx-pricing{grid-template-columns:1fr!important}
  .cfx-features{grid-template-columns:1fr 1fr!important}
  .cfx-hero{grid-template-columns:1fr!important;padding:40px 18px}
  .cfx-page-title{padding:50px 18px 30px}
  .cfx-page-title h1{font-size:34px}
  .cfx-btn,.cfx-form button,.cfx-form input,.cfx-form select,.cfx-form textarea{min-height:46px}
  .cfx-item-row{grid-template-columns:1fr;gap:8px}
  .cfx-item-row select{min-height:46px}
}
/* Phones: single column everything, larger tap targets, no fixed widths that could overflow */
@media(max-width:480px){
  .cfx-nav{padding:0 12px;height:64px}
  .cfx-logo{width:32px;height:32px;font-size:11px}
  .cfx-brand{font-size:17px}
  .cfx-hero h1{font-size:clamp(30px,9vw,40px)}
  .cfx-lead{font-size:15px}
  .cfx-hero-buttons{flex-direction:column}
  .cfx-hero-buttons .cfx-btn{width:100%}
  .cfx-features{grid-template-columns:1fr!important;padding:16px}
  .cfx-cta{padding:40px 18px;border-radius:18px;margin:0 12px 50px}
  .cfx-cta h2{font-size:28px}
  .cfx-section{padding:40px 16px 20px}
  .cfx-app-head h1{font-size:26px}
  .cfx-app-head p{font-size:13px}
  .cfx-card{padding:18px}
  .cfx-quick{grid-template-columns:1fr}
  .cfx-invoice-row{flex-direction:column;align-items:stretch;gap:6px}
  .cfx-invoice-row>div{width:100%}
  .cfx-invoice-row .cfx-wa,.cfx-invoice-row a.cfx-wa,.cfx-invoice-row button.cfx-share-pdf{width:100%;text-align:center;padding:9px;background:#f5fbf8;border-radius:8px;border:1px solid var(--cf-line)}
  .cfx-status{align-self:flex-start}
  .cfx-setting{flex-direction:column;gap:4px}
  .cfx-ai-hero{flex-direction:column;text-align:center;gap:14px}
  .cfx-ai-orb{margin:0 auto}
  table.widefat{font-size:12px}
}
/* Touch devices generally: avoid iOS auto-zoom on focus by keeping form text >=16px */
@media(max-width:600px){
  .cfx-form input,.cfx-form select,.cfx-form textarea,.cfx-search{font-size:16px}
}
/* --- Dark mode: toggled via [data-theme="dark"] on .cfx-site, persisted client-side --- */
.cfx-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--cf-line);background:#fff;cursor:pointer;font-size:16px;margin-right:8px;padding:0}
.cfx-site[data-theme="dark"]{--cf-bg:#0b1220;--cf-card:#131b2c;--cf-ink:#e5e9f2;--cf-muted:#93a0b4;--cf-line:#232e44;--cf-soft:#0f2a20;--cf-shadow:0 20px 60px rgba(0,0,0,.4)}
.cfx-site[data-theme="dark"]{background:var(--cf-bg);color:var(--cf-ink)}
.cfx-site[data-theme="dark"] .cfx-nav,.cfx-site[data-theme="dark"] .cfx-card,.cfx-site[data-theme="dark"] .cfx-appnav nav a.active,.cfx-site[data-theme="dark"] .cfx-appnav nav a:hover,.cfx-site[data-theme="dark"] .cfx-nav-open .cfx-links,.cfx-site[data-theme="dark"] .cfx-appnav.cfx-nav-open nav,.cfx-site[data-theme="dark"] .cfx-pay-toggle .cfx-inline-pay{background:var(--cf-card);border-color:var(--cf-line)}
.cfx-site[data-theme="dark"] .cfx-theme-toggle{background:var(--cf-card);border-color:var(--cf-line);color:var(--cf-ink)}
.cfx-site[data-theme="dark"] .cfx-form input,.cfx-site[data-theme="dark"] .cfx-form select,.cfx-site[data-theme="dark"] .cfx-form textarea,.cfx-site[data-theme="dark"] .cfx-search,.cfx-site[data-theme="dark"] .cfx-item-row select,.cfx-site[data-theme="dark"] .cfx-item-row input{background:#0f1729;border-color:var(--cf-line);color:var(--cf-ink)}
.cfx-site[data-theme="dark"] .cfx-brand,.cfx-site[data-theme="dark"] .cfx-app-head h1,.cfx-site[data-theme="dark"] .cfx-card h3,.cfx-site[data-theme="dark"] .cfx-row b,.cfx-site[data-theme="dark"] .cfx-invoice-row b{color:var(--cf-ink)}
.cfx-site[data-theme="dark"] .cfx-links a,.cfx-site[data-theme="dark"] .cfx-login-link,.cfx-site[data-theme="dark"] .cfx-appnav nav a,.cfx-site[data-theme="dark"] .cfx-logout{color:var(--cf-muted)}
.cfx-site[data-theme="dark"] .cfx-secondary{background:var(--cf-card)!important;color:var(--cf-ink)!important;border-color:var(--cf-line)!important}
.cfx-site[data-theme="dark"] .cfx-row,.cfx-site[data-theme="dark"] .cfx-invoice-row,.cfx-site[data-theme="dark"] .cfx-follow-row,.cfx-site[data-theme="dark"] .cfx-setting{border-color:var(--cf-line)}
.cfx-site[data-theme="dark"] .cfx-quick a,.cfx-site[data-theme="dark"] .cfx-invoice-items{border-color:var(--cf-line);color:var(--cf-ink)}
.cfx-site[data-theme="dark"] .cfx-stat-card,.cfx-site[data-theme="dark"] .cfx-notice.success{background:var(--cf-card)}
.cfx-site[data-theme="dark"] .cfx-ai-suggestions button{background:var(--cf-card);border-color:var(--cf-line);color:var(--cf-ink)}
@media(max-width:900px){.cfx-hero{grid-template-columns:1fr;padding-top:55px}.cfx-dashboard-preview{max-width:650px;margin:auto;width:100%}.cfx-features{grid-template-columns:1fr 1fr}.cfx-pricing{grid-template-columns:1fr}.cfx-app-stats{grid-template-columns:1fr 1fr}.cfx-appnav{overflow:auto}.cfx-appnav nav{min-width:520px}.cfx-app-head{align-items:start;flex-direction:column}.cfx-grid-2,.cfx-contact-grid{grid-template-columns:1fr}}
@media(max-width:600px){.cfx-links{display:none}.cfx-nav{padding:0 16px}.cfx-login-link{display:none}.cfx-hero h1{font-size:47px}.cfx-features{grid-template-columns:1fr}.cfx-app-stats{grid-template-columns:1fr}.cfx-grid-2{padding:0 16px}.cfx-app-stats{padding:0 16px}.cfx-app-head{padding:0 16px}.cfx-appnav{padding:15px 16px}.cfx-page-title h1{font-size:38px}.cfx-footer{flex-direction:column}.cfx-footer-links{gap:12px}.cfx-stats{grid-template-columns:1fr}.cfx-invoice-row{flex-wrap:wrap}.cfx-follow-row{align-items:flex-start;flex-wrap:wrap}}

.cfx-ai-hero{max-width:1200px;margin:25px auto 20px;padding:38px 25px;border-radius:24px;background:linear-gradient(135deg,#0d513a,#176b4d);color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.cfx-ai-hero h1{font-size:40px;letter-spacing:-.04em;max-width:720px;margin:8px 0}.cfx-ai-hero p{color:#d1fae5;max-width:680px;line-height:1.6}.cfx-ai-orb{width:100px;height:100px;border-radius:30px;display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:42px;box-shadow:0 0 70px rgba(255,255,255,.16)}.cfx-ai-grid{max-width:1200px;margin:0 auto 80px;padding:0 25px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.cfx-ai-card{min-height:220px}.cfx-ai-card-icon{font-size:27px;margin-bottom:10px}.cfx-ai-card p{color:#667085;line-height:1.65}.cfx-ai-insight{padding:14px;background:#eaf6f0;border-radius:12px;color:#176b4d;font-size:12px;line-height:1.55;margin-top:18px}.cfx-ai-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.cfx-ai-tags span{background:#f2f4f7;padding:7px 10px;border-radius:99px;font-size:10px;color:#475467}.cfx-ai-chat{grid-column:1/-1}.cfx-ai-chat small{display:block;color:#98a2b3;margin-top:4px}.cfx-ai-live{font-size:10px;color:#067647;background:#ecfdf3;padding:6px 9px;border-radius:99px}.cfx-ai-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.cfx-ai-suggestions button{border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:10px 12px;font-size:11px;cursor:pointer;color:#344054}.cfx-ai-suggestions button:hover{border-color:#176b4d;background:#eaf6f0}.cfx-ai-message{background:#f8fafc;border-radius:14px;padding:18px;color:#667085;font-size:13px;line-height:1.6;min-height:65px}
@media(max-width:700px){.cfx-ai-grid{grid-template-columns:1fr}.cfx-ai-chat{grid-column:auto}.cfx-ai-hero{margin:15px 16px 20px;padding:28px 20px}.cfx-ai-orb{display:none}.cfx-ai-hero h1{font-size:31px}}

/* ClientFlow X100 9-second startup experience */
.cfx-loader{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#f5fbf8;opacity:1;visibility:visible;transition:opacity .45s ease,visibility .45s ease;overflow:hidden}
.cfx-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.cfx-loader-panel{position:relative;width:min(100vw,520px);height:100%;max-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5fbf8}
.cfx-loader-panel img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.cfx-loader-count{position:absolute;left:50%;top:67.5%;transform:translate(-50%,-50%);font-weight:800;font-size:18px;color:#245b4d;letter-spacing:.01em;text-shadow:0 1px 8px rgba(255,255,255,.9);white-space:nowrap}
@media(max-width:600px){.cfx-loader-panel{width:100vw}.cfx-loader-count{top:67.5%;font-size:17px}}
.cfx-pay-page{min-height:calc(100vh - 80px);display:grid;place-items:center;padding:45px 18px;background:linear-gradient(180deg,#f5fbf8,#fff)}
.cfx-pay-card{width:min(560px,100%);background:#fff;border:1px solid #dfeee6;border-radius:28px;padding:34px;box-shadow:0 24px 80px rgba(16,24,40,.10)}
.cfx-pay-brand{display:flex;align-items:center;gap:10px;color:#0e513a;font-size:18px;margin-bottom:28px}.cfx-pay-badge{display:inline-block;background:#eaf6f0;color:#176b4d;padding:7px 10px;border-radius:99px;font-size:10px;font-weight:900;letter-spacing:.08em}.cfx-pay-card h1{font-size:34px;margin:12px 0 5px;letter-spacing:-.04em}.cfx-pay-customer{color:#667085}.cfx-pay-amount{margin:25px 0;padding:24px;border-radius:18px;background:#f5fbf8;text-align:center}.cfx-pay-amount small{display:block;color:#667085;font-size:11px}.cfx-pay-amount strong{display:block;color:#0e513a;font-size:38px;margin-top:5px}.cfx-pay-details{display:grid;gap:0;border-top:1px solid #eef2f0;margin-bottom:22px}.cfx-pay-details div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #eef2f0;font-size:13px}.cfx-pay-details span{color:#667085}.cfx-pay-email{display:grid;gap:7px;font-size:12px;font-weight:800;color:#344054;margin-bottom:12px}.cfx-pay-email input{padding:13px 14px;border:1px solid #d0d5dd;border-radius:10px}.cfx-pay-button{width:100%;border:0;margin-top:3px}.cfx-pay-button:disabled{opacity:.65;cursor:not-allowed}.cfx-pay-secure{text-align:center;color:#98a2b3;font-size:11px;margin:13px 0}.cfx-pay-footer{text-align:center;color:#98a2b3;font-size:11px;margin:25px 0 0}.cfx-help{font-size:12px;color:#667085;background:#f8fafc;padding:10px 12px;border-radius:10px}

/* Standalone ClientFlow shell: never inherit the active WordPress theme layout. */
html,body.cfx100-standalone{margin:0!important;padding:0!important;width:100%;min-height:100%;background:#fff}
body.cfx100-standalone{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--cf-ink);overflow-x:hidden}
body.cfx100-standalone *{box-sizing:border-box}
body.cfx100-standalone a{text-decoration:none}
.cfx100-standalone .cfx-footer{margin-top:0}
.cfx-check-label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:600!important}
.cfx-check-label input{width:auto!important;margin:0}
.cfx-loader{width:100vw;height:100dvh;max-height:none}
.cfx-loader-panel{width:min(100vw,520px);height:100dvh;max-height:none}
@media (min-width:901px){
  .cfx-hero{min-height:680px}
  .cfx-appnav{max-width:1280px}
}
@media (max-width:600px){
  .cfx-hero{min-height:auto;padding:48px 16px 42px}
  .cfx-hero-copy{width:100%}
  .cfx-hero h1{font-size:clamp(40px,12vw,54px);line-height:1.02}
  .cfx-dashboard-preview{overflow:hidden}
  .cfx-appnav{width:100%;max-width:100%;padding:12px 12px}
  .cfx-appnav nav{min-width:0;overflow-x:auto;scrollbar-width:none}
  .cfx-appnav nav::-webkit-scrollbar{display:none}
  .cfx-appnav nav a{white-space:nowrap}
  .cfx-app-head h1{font-size:clamp(28px,8vw,38px)}
  .cfx-card{border-radius:16px}
  .cfx-footer{padding:26px 16px 36px}
}

.cfx-brand-logo{width:34px;height:34px;object-fit:contain;border-radius:9px}.cfx-payment-logo{width:44px;height:44px;object-fit:contain;border-radius:10px}.cfx-share-pdf{border:0;background:none;cursor:pointer;padding:0;font:inherit}.cfx-footer small{font-size:10px;color:#98a2b3}.cfx-plan-pay{width:100%;border:0;cursor:pointer}.cfx-plan-pay:disabled{opacity:.65}.cfx-pricing .featured{position:relative}
@media(max-width:600px){.cfx-brand-logo{width:30px;height:30px}.cfx-nav{min-height:62px}.cfx-invoice-row{gap:9px}.cfx-invoice-row .cfx-wa{padding:6px 7px;background:#f5fbf8;border-radius:8px}.cfx-payment-logo{width:38px;height:38px}}
