.founder-hq{--fhq-bg:#080f17;--fhq-panel:#0d1824;--fhq-panel-2:#101e2c;--fhq-border:#263b4e;--fhq-text:#f4f7fb;--fhq-muted:#93a7ba;--fhq-orange:#ff7416;--fhq-cyan:#19c8ff;--fhq-green:#20df82;--fhq-purple:#a96cff;--fhq-gold:#ffd11a;--fhq-red:#ff4d5f;background:linear-gradient(180deg,#07111b 0%,#09131d 100%);min-height:100%;color:var(--fhq-text);font-family:Inter,"Segoe UI",Arial,sans-serif}
.founder-hq *{box-sizing:border-box}.fhq-shell{padding:18px;max-width:1680px;margin:auto}.fhq-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 24px;background:linear-gradient(135deg,#0b1926 0%,#0c141d 75%);border:1px solid var(--fhq-border);border-radius:12px 12px 0 0}.fhq-title{display:flex;align-items:center;gap:16px}.fhq-title-icon,.fhq-section-title>span,.fhq-metric-icon,.fhq-record-icon{display:grid;place-items:center;flex:0 0 auto;border:1px solid currentColor;border-radius:50%}.fhq-title-icon{width:52px;height:52px;color:var(--fhq-orange);background:rgba(255,116,22,.08);box-shadow:0 0 22px rgba(255,116,22,.13)}.fhq-title-icon svg{width:27px;height:27px}.fhq-title .eyebrow,.fhq-section-title p{margin:0;color:var(--fhq-orange);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.fhq-title h2{font-size:27px;line-height:1.1;margin:3px 0 5px}.fhq-title p:last-child{margin:0;color:var(--fhq-muted);font-size:14px}.fhq-security{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(32,223,130,.38);border-radius:9px;background:rgba(32,223,130,.06);color:var(--fhq-green)}.fhq-security svg{width:24px}.fhq-security span{display:grid}.fhq-security small{color:var(--fhq-muted);font-size:11px}.fhq-nav{display:grid;grid-template-columns:repeat(8,minmax(110px,1fr));gap:6px;padding:9px;background:#0a131d;border:1px solid var(--fhq-border);border-top:0;border-radius:0 0 12px 12px;overflow:auto}.fhq-nav button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#adbdca;font:800 13px/1.1 inherit;white-space:nowrap;cursor:pointer}.fhq-nav button svg{width:18px;height:18px}.fhq-nav button:hover{color:#fff;border-color:rgba(255,116,22,.62);background:rgba(255,116,22,.05)}.fhq-nav button.active{color:#fff;border-color:var(--fhq-orange);background:linear-gradient(180deg,rgba(255,116,22,.17),rgba(255,116,22,.06));box-shadow:inset 0 -2px 0 var(--fhq-orange)}.fhq-content{padding-top:16px}.fhq-metrics{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;margin-bottom:14px}.fhq-metrics.small{grid-template-columns:repeat(4,minmax(180px,1fr))}.fhq-metric{display:flex;align-items:center;gap:12px;min-height:108px;padding:16px;background:linear-gradient(145deg,var(--fhq-panel),#0a141f);border:1px solid var(--fhq-border);border-radius:10px;position:relative;overflow:hidden}.fhq-metric:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:currentColor}.fhq-metric-icon{width:42px;height:42px;border-radius:50%;box-shadow:0 0 22px color-mix(in srgb,currentColor 17%,transparent)}.fhq-metric-icon svg{width:21px}.fhq-metric div{display:grid;gap:2px}.fhq-metric span:not(.fhq-metric-icon){font-size:11px;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#c3cfda}.fhq-metric strong{font-size:24px;color:#fff}.fhq-metric small{font-size:11px;color:var(--fhq-muted)}.fhq-metric.green{color:var(--fhq-green)}.fhq-metric.cyan{color:var(--fhq-cyan)}.fhq-metric.purple{color:var(--fhq-purple)}.fhq-metric.orange{color:var(--fhq-orange)}.fhq-metric.gold{color:var(--fhq-gold)}.fhq-metric.red{color:var(--fhq-red)}.fhq-dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}.fhq-dashboard-grid.system{grid-template-columns:1fr 1fr}.fhq-panel{background:linear-gradient(145deg,var(--fhq-panel),#0a141e);border:1px solid var(--fhq-border);border-radius:11px;overflow:hidden}.fhq-panel.full{min-height:480px}.fhq-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--fhq-border);background:linear-gradient(90deg,rgba(255,255,255,.018),transparent)}.fhq-section-title{display:flex;align-items:center;gap:13px}.fhq-section-title>span{width:42px;height:42px;color:var(--fhq-orange);background:rgba(255,116,22,.06)}.fhq-panel.sales .fhq-section-title>span{color:var(--fhq-cyan)}.fhq-panel.admin .fhq-section-title>span{color:var(--fhq-green)}.fhq-section-title h3{margin:2px 0;font-size:20px}.fhq-section-title small{font-size:12px;color:var(--fhq-muted)}.fhq-action{min-height:34px;padding:7px 12px;border:1px solid #385169;border-radius:7px;background:#101d2a;color:#e9f0f6;font:800 12px/1 inherit;cursor:pointer;white-space:nowrap}.fhq-action:hover{border-color:var(--fhq-orange)}.fhq-action.primary{background:var(--fhq-orange);border-color:var(--fhq-orange);color:#101010;box-shadow:0 7px 18px rgba(255,116,22,.15)}.fhq-action.danger{color:var(--fhq-red);border-color:rgba(255,77,95,.55)}.fhq-action.good{color:var(--fhq-green);border-color:rgba(32,223,130,.5)}.fhq-pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:16px 18px}.fhq-pipeline button{min-height:76px;text-align:left;padding:12px;border:1px solid var(--fhq-border);background:#0a141e;color:#fff;border-radius:8px;cursor:pointer}.fhq-pipeline button:hover{transform:translateY(-1px);border-color:currentColor}.fhq-pipeline strong{display:block;font-size:22px}.fhq-pipeline span{display:block;color:var(--fhq-muted);font-size:11px}.fhq-pipeline .green{color:var(--fhq-green)}.fhq-pipeline .cyan{color:var(--fhq-cyan)}.fhq-pipeline .purple{color:var(--fhq-purple)}.fhq-pipeline .orange{color:var(--fhq-orange)}.fhq-pipeline .gold{color:var(--fhq-gold)}.fhq-list{padding:0 18px 18px}.fhq-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid #203344;border-radius:8px;background:#09131d;margin-top:8px}.fhq-list article div{display:grid}.fhq-list small{color:var(--fhq-muted);margin-top:3px}.fhq-avatar{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--fhq-cyan);border-radius:50%;color:var(--fhq-cyan);font-weight:900;background:rgba(25,200,255,.07)}.fhq-status{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;border:1px solid currentColor;font-size:10px;font-weight:900;letter-spacing:.025em}.fhq-status.good{color:var(--fhq-green);background:rgba(32,223,130,.07)}.fhq-status.danger{color:var(--fhq-red);background:rgba(255,77,95,.07)}.fhq-status.warn{color:var(--fhq-gold);background:rgba(255,209,26,.07)}.fhq-status.info{color:var(--fhq-cyan);background:rgba(25,200,255,.07)}.fhq-health{margin:16px 18px;padding:17px;display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(32,223,130,.38);border-radius:9px;background:rgba(32,223,130,.045)}.fhq-health div{display:grid}.fhq-health span:first-child{font-size:11px;text-transform:uppercase;font-weight:900;color:var(--fhq-green)}.fhq-health strong{font-size:25px}.fhq-health small{color:var(--fhq-muted)}.fhq-health-ring{display:grid;place-items:center;width:54px;height:54px;border:5px solid var(--fhq-green);border-left-color:#17352b;border-radius:50%;font-weight:900;color:#fff}.fhq-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--fhq-border)}.fhq-toolbar label{display:flex;align-items:center;gap:8px;min-width:300px;padding:0 11px;border:1px solid #31495e;border-radius:7px;background:#09131d}.fhq-toolbar label:focus-within{border-color:var(--fhq-orange)}.fhq-toolbar input{width:100%;min-height:38px;border:0!important;background:transparent!important;color:#fff!important;outline:0}.fhq-filter{display:flex;gap:5px;flex-wrap:wrap}.fhq-filter button{padding:7px 10px;border:1px solid #31495e;border-radius:6px;background:#0c1722;color:#aebdca;font-weight:800;cursor:pointer}.fhq-filter button:hover{border-color:var(--fhq-orange);color:#fff}.fhq-table{padding:0 18px 18px;overflow:auto}.fhq-row{display:grid;grid-template-columns:1.5fr .8fr .85fr 1fr .7fr .65fr;align-items:center;gap:12px;min-width:920px;min-height:64px;padding:10px 12px;border-bottom:1px solid #203344;color:#d9e3ec;font-size:13px}.fhq-row.head{min-height:42px;color:#8fa4b6;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;background:#0a151f}.fhq-row>span{min-width:0}.fhq-row span:first-child{display:grid;gap:3px}.fhq-row small{color:var(--fhq-muted);font-size:11px}.fhq-row:hover:not(.head){background:rgba(25,200,255,.025)}.fhq-inline-actions{display:flex!important;gap:6px}.payments .fhq-row{grid-template-columns:1.3fr .7fr 1fr .7fr .8fr}.support .fhq-row{grid-template-columns:.65fr 1fr 1.6fr .7fr .6fr .7fr}.fhq-card-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:12px;padding:18px}.fhq-record-card{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:16px;border:1px solid var(--fhq-border);border-radius:9px;background:#09131d}.fhq-record-card>div:nth-child(2){display:grid}.fhq-record-card p{margin:0 0 4px;color:var(--fhq-cyan);font-size:11px;font-weight:900;text-transform:uppercase}.fhq-record-card h3{margin:0 0 4px;font-size:17px}.fhq-record-card span{color:var(--fhq-muted);font-size:12px}.fhq-record-card footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px;padding-top:12px;border-top:1px solid #203344}.fhq-record-icon{width:40px;height:40px;color:var(--fhq-cyan)}.fhq-record-icon.purple{color:var(--fhq-purple)}.fhq-progress{grid-column:1/-1;height:7px;border-radius:999px;background:#162635;overflow:hidden}.fhq-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--fhq-purple),var(--fhq-cyan))}.fhq-record-card>small{grid-column:1/-1;color:var(--fhq-muted)}.fhq-usage-bars,.fhq-event-list{padding:18px}.fhq-usage-bars>div{margin-bottom:17px}.fhq-usage-bars span{display:flex;justify-content:space-between;margin-bottom:7px}.fhq-usage-bars small{color:var(--fhq-muted)}.fhq-usage-bars b{display:block;height:8px;background:#152534;border-radius:999px;overflow:hidden}.fhq-usage-bars b i{display:block;height:100%;background:linear-gradient(90deg,var(--fhq-cyan),var(--fhq-green))}.fhq-event-list article{display:flex;align-items:center;gap:11px;padding:13px;border-bottom:1px solid #203344}.fhq-event-list article>svg{color:var(--fhq-orange)}.fhq-event-list article div{display:grid}.fhq-event-list small{color:var(--fhq-muted);margin-top:4px}
@media(max-width:1200px){.fhq-nav{grid-template-columns:repeat(4,minmax(150px,1fr))}.fhq-metrics{grid-template-columns:repeat(3,1fr)}.fhq-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.fhq-shell{padding:10px}.fhq-hero,.fhq-section-head,.fhq-toolbar{align-items:flex-start;flex-direction:column}.fhq-security{width:100%}.fhq-nav{grid-template-columns:repeat(2,minmax(150px,1fr))}.fhq-metrics,.fhq-metrics.small{grid-template-columns:repeat(2,1fr)}.fhq-dashboard-grid,.fhq-dashboard-grid.system,.fhq-card-grid{grid-template-columns:1fr}.fhq-pipeline{grid-template-columns:repeat(2,1fr)}.fhq-toolbar label{min-width:100%;width:100%}}
@media(max-width:500px){.fhq-metrics,.fhq-metrics.small{grid-template-columns:1fr}.fhq-title h2{font-size:23px}.fhq-title-icon{width:44px;height:44px}.fhq-nav button{justify-content:flex-start;padding-left:14px}}
.founder-topbar-access{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(32,223,130,.4);border-radius:8px;background:rgba(32,223,130,.055);color:#20df82}.founder-topbar-access svg{width:21px;height:21px}.founder-topbar-access span{display:grid;line-height:1.15}.founder-topbar-access small{color:#8fa4b6;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.founder-topbar-access strong{color:#f4f7fb;font-size:12px}.founder-app-shell section.content{padding:0;background:#080f17}

/* Founder sales uses the approved Leads board language without exposing tenant data. */
.founder-hq .fhq-status{display:none!important}
.founder-hq .fhq-status-text{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#dce6ef;font-size:12px;font-weight:800;letter-spacing:0}
.founder-hq .fhq-status-text i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px color-mix(in srgb,currentColor 48%,transparent)}
.founder-hq .fhq-status-text.good{color:var(--fhq-green)}.founder-hq .fhq-status-text.danger{color:var(--fhq-red)}.founder-hq .fhq-status-text.warn{color:var(--fhq-gold)}.founder-hq .fhq-status-text.info{color:var(--fhq-cyan)}
.founder-hq .fhq-avatar{border-radius:50%}
.founder-hq .fhq-filter{display:flex;gap:14px;flex-wrap:wrap}
.founder-hq .fhq-filter button{padding:8px 1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#aebdca;font:800 12px/1.1 inherit;cursor:pointer}
.founder-hq .fhq-filter button:hover,.founder-hq .fhq-filter button.active{border-bottom-color:var(--fhq-orange);color:#fff}
.fhq-customer-journey{margin:16px 18px 0;border:1px solid var(--fhq-border);border-radius:9px;background:#09131d;overflow:hidden}
.fhq-customer-journey>header{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:14px 16px;border-bottom:1px solid #203344}
.fhq-customer-journey>header p{margin:0 0 3px;color:var(--fhq-orange);font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
.fhq-customer-journey>header h4{margin:0;font-size:18px;color:#f8fafc}.fhq-customer-journey>header small{max-width:520px;color:var(--fhq-muted);font-size:12px;line-height:1.4}
.fhq-journey-track{display:grid;grid-template-columns:repeat(6,minmax(138px,1fr));padding:14px 12px;overflow-x:auto}
.fhq-journey-step{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:138px;padding:5px 17px 5px 5px;color:#94a3b8}
.fhq-journey-step>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border:1px solid currentColor;border-radius:50%;background:color-mix(in srgb,currentColor 8%,transparent)}.fhq-journey-step svg{width:17px;height:17px}
.fhq-journey-step strong{font-size:12px;color:#e5edf5;white-space:nowrap}.fhq-journey-step small{font-size:10px;color:var(--fhq-muted)}
.fhq-journey-step>i{position:absolute;right:4px;top:50%;width:14px;height:1px;background:#405367}.fhq-journey-step>i:after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid #60758a;border-right:1px solid #60758a;transform:rotate(45deg)}
.fhq-journey-step.cyan{color:var(--fhq-cyan)}.fhq-journey-step.orange{color:var(--fhq-orange)}.fhq-journey-step.green{color:var(--fhq-green)}.fhq-journey-step.purple{color:var(--fhq-purple)}.fhq-journey-step.gold{color:var(--fhq-gold)}
.fhq-lead-board{display:grid;grid-template-columns:repeat(6,minmax(235px,1fr));gap:10px;min-width:0;max-width:100%;padding:16px 18px 20px;overflow-x:auto;overscroll-behavior-x:contain}
.fhq-lead-board:focus-visible{outline:2px solid var(--fhq-orange);outline-offset:-3px}
.fhq-leads-workspace-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:14px;color:var(--fhq-muted);font-size:12px}
.fhq-leads-workspace-tools>div{display:flex;flex-wrap:wrap;gap:7px}
.fhq-lead-column{--stage:#38bdf8;display:flex;flex-direction:column;min-height:360px;border:1px solid #263b4e;border-top:2px solid var(--stage);border-radius:9px;background:#09131d;overflow:hidden}
.fhq-lead-column.orange{--stage:var(--fhq-orange)}.fhq-lead-column.green{--stage:var(--fhq-green)}.fhq-lead-column.purple{--stage:var(--fhq-purple)}.fhq-lead-column.gold{--stage:var(--fhq-gold)}.fhq-lead-column.cyan{--stage:var(--fhq-cyan)}
.fhq-lead-column>header{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:11px 12px;border-bottom:1px solid #203344;background:#0c1823}
.fhq-lead-column>header div{display:flex;align-items:center;gap:8px;color:var(--stage)}.fhq-lead-column>header svg{width:18px;height:18px}.fhq-lead-column>header strong{color:#edf4fa;font-size:13px}.fhq-lead-column>header>span{color:var(--stage);font-size:15px;font-weight:900}
.fhq-lead-column-body{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:9px;padding:9px;min-height:305px}
.fhq-lead-card{--card-stage:var(--fhq-cyan);position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:11px;padding:12px 12px 12px 15px;border:1px solid #24394b;border-radius:8px;background:linear-gradient(180deg,#101923,#0a1018);overflow:hidden}
.founder-hq .fhq-lead-card[hidden]{display:none}
.fhq-lead-card:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--card-stage)}
.fhq-lead-card.stage-demo-requested{--card-stage:var(--fhq-orange)}.fhq-lead-card.stage-demo-scheduled,.fhq-lead-card.stage-customer{--card-stage:var(--fhq-green)}.fhq-lead-card.stage-trial{--card-stage:var(--fhq-purple)}.fhq-lead-card.stage-follow-up{--card-stage:var(--fhq-gold)}
/* Keep the saved compact Founder card header independent of the app's global header. */
.founder-hq .fhq-lead-card>header{position:static;inset:auto;z-index:auto;display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:0;padding:0;border:0;background:transparent;backdrop-filter:none}.fhq-lead-initials{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--card-stage) 42%,transparent);border-radius:50%;background:color-mix(in srgb,var(--card-stage) 14%,transparent);color:var(--card-stage);font-size:11px;font-weight:900}
.fhq-lead-card header div{min-width:0;flex:1}.fhq-lead-card h5{margin:0;color:#f8fafc;font-size:14px;overflow-wrap:anywhere;white-space:normal}.fhq-lead-card header p{margin:3px 0 0;color:#a9bac9;font-size:12px;overflow-wrap:anywhere}
.fhq-lead-details{display:grid;gap:8px;padding-top:8px;border-top:1px solid rgba(148,163,184,.14)}.fhq-lead-details>span{display:grid;gap:2px}.fhq-lead-details small{color:#7f95a8;font-size:10px;font-weight:800;text-transform:uppercase}.fhq-lead-details strong{color:#dce6ef;font-size:12px;font-weight:700}
/* Added operational actions must wrap, never enlarge the original card track. */
.fhq-lead-card>footer{display:flex;flex-wrap:wrap;min-width:0;gap:7px}.fhq-lead-card>footer .fhq-action{flex:1 1 calc(50% - 7px);min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-family:inherit;font-size:12px;font-weight:800;line-height:1.2}.fhq-lead-details{min-width:0;overflow-wrap:anywhere}.fhq-lead-empty{padding:22px 12px;color:#72879a;font-size:12px;text-align:center;border:1px dashed #2a4052;border-radius:7px}
.fhq-lead-secondary-actions{display:flex;justify-content:space-between;flex-wrap:wrap;min-width:0;gap:7px}
.fhq-lead-secondary-actions .fhq-action{flex:1 1 70px;min-width:0;padding:4px 0;min-height:32px;border-color:transparent;background:transparent;white-space:normal;font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;color:var(--fhq-muted)}
.fhq-lead-secondary-actions .fhq-action:hover{color:var(--fhq-text);border-color:var(--fhq-border)}
@media(max-width:800px){.fhq-customer-journey>header{align-items:flex-start;flex-direction:column}.fhq-journey-track{grid-template-columns:repeat(6,170px)}.fhq-lead-board{min-width:0;display:flex;scroll-snap-type:x mandatory}.fhq-lead-column{min-width:82vw;scroll-snap-align:start}}

/* Founder appointments mirror the approved contractor calendar without sharing tenant data. */
.fhq-demo-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--fhq-border);background:#09131d}
.fhq-demo-toolbar h3{margin:0;color:#f8fafc;font-size:19px;text-align:center}.fhq-demo-nav{display:flex;align-items:center;gap:7px}.fhq-demo-nav button{display:grid;place-items:center;min-width:38px;min-height:36px;padding:7px 11px;border:1px solid #385169;border-radius:7px;background:#101d2a;color:#e9f0f6;font:800 12px/1 inherit;cursor:pointer}.fhq-demo-nav button:hover{border-color:var(--fhq-orange);color:#fff}.fhq-demo-nav svg{width:17px;height:17px}.fhq-demo-view-label{justify-self:end;padding:7px 1px;border-bottom:2px solid var(--fhq-orange);color:#fff;font-size:12px;font-weight:800}
.fhq-demo-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;padding:14px;align-items:start}.fhq-demo-board{min-width:0;overflow:auto;border:1px solid var(--fhq-border);border-radius:9px;background:#09131d}.fhq-demo-month{display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));min-width:875px}.fhq-demo-weekday{position:sticky;top:0;z-index:2;padding:9px 10px;border-right:1px solid #263b4e;border-bottom:1px solid #263b4e;background:#172432;color:#aebdca;font-size:11px;font-weight:900;text-transform:uppercase}.fhq-demo-day{min-height:112px;padding:7px;border-right:1px solid #203344;border-bottom:1px solid #203344;background:#0c1722}.fhq-demo-day.muted{background:#09121b;color:#5e7285}.fhq-demo-date{display:block;margin-bottom:6px;color:#dce6ef;font-size:12px;font-weight:900}.fhq-demo-day.muted .fhq-demo-date{color:#607486}.fhq-demo-events{display:grid;gap:5px}.fhq-demo-event{display:grid;gap:2px;width:100%;padding:7px 8px;border:1px solid #2b4b61;border-left:4px solid var(--fhq-cyan);border-radius:6px;background:#102333;color:#edf6fc;text-align:left;cursor:pointer}.fhq-demo-event:hover,.fhq-demo-event.selected{border-color:var(--fhq-orange);border-left-color:var(--fhq-orange);background:#172535}.fhq-demo-event time{color:var(--fhq-orange);font-size:10px;font-weight:900}.fhq-demo-event strong{overflow:hidden;color:#fff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.fhq-demo-event small{overflow:hidden;color:#9eb2c3;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.fhq-demo-inspector{position:sticky;top:92px;border:1px solid var(--fhq-border);border-radius:9px;background:#09131d;overflow:hidden}.fhq-demo-inspector>header{display:flex;align-items:center;gap:11px;padding:15px;border-bottom:1px solid #203344;background:#0d1925}.fhq-demo-inspector>header>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--fhq-orange);border-radius:50%;color:var(--fhq-orange);background:rgba(255,116,22,.06)}.fhq-demo-inspector>header svg{width:20px;height:20px}.fhq-demo-inspector header p{margin:0 0 3px;color:var(--fhq-orange);font-size:10px;font-weight:900;text-transform:uppercase}.fhq-demo-inspector h4{margin:0;color:#fff;font-size:17px}.fhq-demo-detail{display:grid;gap:0;padding:4px 15px}.fhq-demo-detail>div{display:grid;gap:3px;padding:11px 0;border-bottom:1px solid #1d3040}.fhq-demo-detail small{color:#8298ab;font-size:10px;font-weight:800;text-transform:uppercase}.fhq-demo-detail strong{color:#e5edf5;font-size:13px}.fhq-demo-inspector>footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px}.fhq-demo-empty{padding:26px;color:var(--fhq-muted);text-align:center}
@media(max-width:1100px){.fhq-demo-shell{grid-template-columns:1fr}.fhq-demo-inspector{position:static}.fhq-demo-inspector>footer{display:flex}.fhq-demo-toolbar{grid-template-columns:1fr auto}.fhq-demo-toolbar h3{grid-column:1/-1;grid-row:1;text-align:left}.fhq-demo-nav{grid-row:2}.fhq-demo-view-label{grid-row:2}}
@media(max-width:600px){.fhq-demo-toolbar{display:flex;align-items:flex-start;flex-direction:column}.fhq-demo-view-label{align-self:flex-start}.fhq-demo-shell{padding:9px}.fhq-demo-month{grid-template-columns:repeat(7,minmax(110px,1fr))}.fhq-demo-day{min-height:100px}.fhq-demo-inspector>footer{display:grid}}

/* Founder live-data connection, forms, and phone-safe administration cards. */
.fhq-live-note{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:11px 13px;border:1px solid #31506a;border-radius:9px;background:#0b1722;color:var(--fhq-cyan)}
.fhq-live-note>svg{flex:0 0 auto;width:20px;height:20px}.fhq-live-note>span{display:grid;gap:2px;min-width:0}.fhq-live-note strong{color:#f1f6fa;font-size:12px}.fhq-live-note small{color:#9db0c0;font-size:11px;line-height:1.4}.fhq-live-note .fhq-action{margin-left:auto}
.fhq-live-note.good{border-color:rgba(32,223,130,.45);color:var(--fhq-green)}.fhq-live-note.qa{border-color:rgba(168,85,247,.48);color:var(--fhq-purple)}.fhq-live-note.error{border-color:rgba(255,77,95,.5);color:var(--fhq-red)}.fhq-live-note.loading>svg{animation:fhq-spin 1s linear infinite}@keyframes fhq-spin{to{transform:rotate(360deg)}}
.fhq-safe-note{margin:14px 18px 0;padding:10px 12px;border:1px solid rgba(32,223,130,.3);border-radius:8px;background:#0a1719;color:#b9c9c3;font-size:11px;line-height:1.45}
.founder-hq .payments .fhq-row{grid-template-columns:1.2fr 1fr .65fr .9fr .8fr .7fr}
.fhq-empty-state{padding:18px;color:var(--fhq-muted);font-size:12px;text-align:center}
.fhq-modal-backdrop{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:20px;background:rgba(2,7,12,.82)}
.fhq-modal{width:min(720px,100%);max-height:min(820px,calc(100vh - 40px));overflow:auto;border:1px solid #3c5870;border-radius:12px;background:#09131d;color:#eef4f8;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.fhq-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #263b4e;background:#0d1924}.fhq-modal>header p{margin:0 0 4px;color:var(--fhq-orange);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.fhq-modal>header h3{margin:0 0 4px;font-size:21px}.fhq-modal>header small{color:#9cb0c1;font-size:12px}.fhq-modal>header button{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #49657b;border-radius:50%;background:#0b1721;color:#fff;cursor:pointer}.fhq-modal>header button:hover{border-color:var(--fhq-orange)}.fhq-modal>header svg{width:18px;height:18px}
.fhq-modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:18px 20px}.fhq-modal-fields label{display:grid;gap:6px}.fhq-modal-fields label>span,.fhq-detail-row>span{color:#93a8ba;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.fhq-modal-fields input,.fhq-modal-fields select,.fhq-modal-fields textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #3a556c;border-radius:7px;background:#070e15;color:#f5f7fa;font:700 13px/1.35 inherit;outline:0}.fhq-modal-fields textarea{resize:vertical}.fhq-modal-fields input:focus,.fhq-modal-fields select:focus,.fhq-modal-fields textarea:focus{border-color:var(--fhq-orange)}.fhq-modal-fields .wide{grid-column:1/-1}.fhq-modal-warning{margin:0;padding:10px 12px;border:1px solid rgba(255,209,26,.35);border-radius:7px;background:#18170d;color:#d8c97b;font-size:11px;line-height:1.45}
.fhq-detail-row{display:grid;gap:4px;padding:11px 12px;border:1px solid #263b4e;border-radius:7px;background:#0c1822}.fhq-detail-row strong{color:#edf4f8;font-size:13px;overflow-wrap:anywhere}.fhq-modal form>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid #263b4e;background:#0b1620}
@media(max-width:700px){
  .fhq-live-note{align-items:flex-start;flex-wrap:wrap}.fhq-live-note .fhq-action{margin-left:31px}
  .fhq-safe-note{margin:12px 10px 0}
  .founder-hq .fhq-table{padding:2px 10px 14px;overflow:visible}.founder-hq .fhq-row.head{display:none}
  .founder-hq .customer-table .fhq-row,.founder-hq .payments .fhq-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0;min-height:0;margin-top:10px;padding:14px;border:1px solid #2a4154;border-radius:9px;background:#09131d}
  .founder-hq .customer-table .fhq-row>span:first-child,.founder-hq .payments .fhq-row>span:first-child,.founder-hq .fhq-inline-actions{grid-column:1/-1}
  .founder-hq .customer-table .fhq-row>span:not(:first-child):not(.fhq-inline-actions),.founder-hq .payments .fhq-row>span:not(:first-child){display:grid;align-content:start;gap:3px}
  .founder-hq .customer-table .fhq-row>span:nth-child(2):before{content:'Plan'}.founder-hq .customer-table .fhq-row>span:nth-child(3):before{content:'Access'}.founder-hq .customer-table .fhq-row>span:nth-child(4):before{content:'Users'}.founder-hq .customer-table .fhq-row>span:nth-child(5):before{content:'Billing'}
  .founder-hq .payments .fhq-row>span:nth-child(2):before{content:'Plan'}.founder-hq .payments .fhq-row>span:nth-child(3):before{content:'Amount'}.founder-hq .payments .fhq-row>span:nth-child(4):before{content:'Billing'}.founder-hq .payments .fhq-row>span:nth-child(5):before{content:'Status'}
  .founder-hq .customer-table .fhq-row>span:before,.founder-hq .payments .fhq-row>span:before{color:#7e94a6;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
  .fhq-inline-actions{justify-content:flex-end;padding-top:10px;border-top:1px solid #203344}
  .fhq-modal-backdrop{place-items:end center;padding:0}.fhq-modal{max-height:92vh;border-radius:14px 14px 0 0}.fhq-modal-fields{grid-template-columns:1fr;padding:15px}.fhq-modal-fields .wide{grid-column:auto}.fhq-modal>header,.fhq-modal form>footer{padding:15px}
}

/* Explicit closed outcomes sit outside the restored six-stage sales journey. */
.founder-app-shell .wbe-business-overview .wbe-overview-panels{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))!important;align-items:start}
.founder-app-shell .wbe-business-overview .dashboard-pipeline-row{grid-template-columns:repeat(6,minmax(100px,1fr));overflow-x:auto}
.founder-app-shell .wbe-business-overview .wbe-overview-record{display:flex;width:100%;align-items:center;gap:12px;text-align:left;min-width:0;white-space:normal}
.founder-app-shell .wbe-business-overview .wbe-overview-record .dashboard-list-main{flex:1;min-width:0}
.founder-app-shell .wbe-business-overview .wbe-overview-record strong,.founder-app-shell .wbe-business-overview .wbe-overview-record small{display:block;white-space:normal;overflow-wrap:anywhere}
.founder-app-shell .wbe-business-overview .wbe-overview-record svg{width:20px;height:20px;flex:none}
.founder-app-shell .wbe-business-overview .wbe-overview-empty{padding:16px}
.founder-app-shell .wbe-business-overview .dashboard-command-copy>p{max-width:60ch}

.fhq-lead-outcomes{margin-top:20px;padding-top:18px;border-top:1px solid #203344}
.fhq-closed-lead-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px}
.fhq-lead-outcomes[hidden],.fhq-lead-board[hidden],.fhq-lead-card[hidden]{display:none}

/* Only WBE Founder lead details have the restored six-stage progress track. */
.premium-app .lead-customer-workspace>.lead-stage-progress.founder-stage-progress{grid-template-columns:repeat(6,minmax(112px,1fr))!important;min-width:0;overflow-x:auto!important;overscroll-behavior-x:contain}

/* View-only Founder billing: retain the existing table and mobile card language. */
.founder-hq .fhq-billing-overview .fhq-section-head{gap:16px}
.founder-hq .fhq-billing-overview .fhq-safe-note{margin-bottom:14px}
.founder-hq .fhq-billing-table .fhq-row{grid-template-columns:minmax(220px,1.6fr) .8fr .85fr 1fr .9fr minmax(170px,1.2fr);align-items:start}
.founder-hq .fhq-billing-table [role="cell"]{min-width:0;display:grid;align-content:start;gap:4px;overflow-wrap:anywhere;white-space:normal}
.founder-hq .fhq-billing-table [role="cell"]>span{display:grid;gap:4px}
.founder-hq .fhq-billing-table a{color:var(--fhq-cyan);text-decoration:underline;text-underline-offset:3px}
.founder-hq .fhq-billing-overview .fhq-empty-state{padding:24px 18px;color:var(--fhq-muted)}
@media(max-width:800px){
  .founder-hq .fhq-billing-table .fhq-row{grid-template-columns:1fr 1fr;min-width:0;gap:14px;margin-top:12px;padding:14px;border:1px solid #2a4154;border-radius:9px}
  .founder-hq .fhq-billing-table .fhq-row.head{display:none}
  .founder-hq .fhq-billing-table [role="cell"]:first-child,.founder-hq .fhq-billing-table [role="cell"]:last-child{grid-column:1/-1}
  .founder-hq .fhq-billing-table [role="cell"]:before{content:attr(data-label);color:var(--fhq-muted);font-size:11px;font-weight:700}
}
