/* [2026-10-31] LIT-CRM Owner Financial Portal — styles copied from LIT-AMS financial_portal.php (inline block) + assets/css/financial_portal_executive.css, then LIT-CRM additions at the end. */

  /* LITAMS_THEME_UNIFY_CLASSIC_V1 — neutral ramp aligned to toolkit.php:124.
     Changed: --bg --surface-2 --line --line-2 --ink --muted --faint --strong --shadow.
     Unchanged: --surface --primary --accent --accent-ink --accent-soft --money
     --money-soft --loss --loss-soft, and --shadow-lg keeps its geometry (tint only). */
  :root{ --bg:#e6efea; --surface:#fff; --surface-2:#f2f7f4; --line:#dbe7e1; --line-2:#e9f1ed; --ink:#33473f; --muted:#668075; --faint:#93a8a0; --strong:#16241e; --primary:#2bb59b; --accent:#4b45d1; --accent-ink:#ffffff; --accent-soft:#ecebfb; --money:#0f9d6f; --money-soft:#e2f5ee; --loss:#d83a4e; --loss-soft:#fbe7ea; --shadow:0 1px 2px rgba(16,40,32,.06); --shadow-lg:0 12px 40px rgba(16,40,32,.16); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --bg:#0e1116; --surface:#161b22; --surface-2:#1c232d; --line:#2a323d; --line-2:#222a34; --ink:#c9d1d9; --muted:#8b949e; --faint:#6e7681; --strong:#f0f6fc; --primary:#3ecfb2; --accent:#8b8bff; --accent-ink:#0a1120; --accent-soft:#1c2650; --money:#33d6a0; --money-soft:#10312a; --loss:#ff6b7d; --loss-soft:#34161f; --shadow:0 1px 2px rgba(0,0,0,.4); --shadow-lg:0 16px 50px rgba(0,0,0,.6);} }
  :root[data-theme="dark"]{ --bg:#0e1116; --surface:#161b22; --surface-2:#1c232d; --line:#2a323d; --line-2:#222a34; --ink:#c9d1d9; --muted:#8b949e; --faint:#6e7681; --strong:#f0f6fc; --primary:#3ecfb2; --accent:#8b8bff; --accent-ink:#0a1120; --accent-soft:#1c2650; --money:#33d6a0; --money-soft:#10312a; --loss:#ff6b7d; --loss-soft:#34161f; --shadow:0 1px 2px rgba(0,0,0,.4); --shadow-lg:0 16px 50px rgba(0,0,0,.6);}

  *{ box-sizing:border-box; } html,body{ margin:0; } body{ background:var(--bg); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
  .num{ font-variant-numeric:tabular-nums; }
  .lock{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; }
  .lock-card{ width:100%; max-width:400px; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:34px 30px; box-shadow:var(--shadow-lg); text-align:center; }
  .brand-mark{ width:52px; height:52px; border-radius:14px; background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 55%,#111)); color:#fff; font-weight:800; font-size:22px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
  .brand-band{ background:linear-gradient(135deg,#1f9d86,#2bb59b); border-radius:14px; padding:16px 22px; margin:0 auto 18px; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow); }
  .brand-band .brand-logo{ display:block; height:58px; width:auto; max-width:100%; }
  .brand-band.sm{ padding:8px 13px; border-radius:11px; margin:0; box-shadow:none; }
  .brand-band.sm .brand-logo{ height:30px; }
  .lock-card h1{ font-size:19px; margin:0 0 4px; color:var(--strong); } .lock-card p{ color:var(--muted); font-size:13.5px; margin:0 0 20px; }
  .lock-card input{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; background:var(--surface-2); color:var(--strong); }
  .lock-card input:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent); }
  .btn-primary{ width:100%; margin-top:14px; padding:12px; border:0; border-radius:12px; background:var(--primary); color:#fff; font-weight:700; font-size:14.5px; cursor:pointer; }
  .lock-err{ color:var(--loss); font-size:13px; margin-top:12px; min-height:16px; } .lock-note{ color:var(--faint); font-size:11.5px; margin-top:18px; }
  .wrap{ max-width:1180px; margin:0 auto; padding:22px 20px 64px; }
  .topbar{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:20px; }
  .brand{ display:flex; align-items:center; gap:12px; margin-right:auto; } .brand-mark.sm{ width:40px; height:40px; font-size:17px; border-radius:11px; margin:0; }
  .brand-mark.has-logo{ background:transparent; border-radius:0; }
  .brand-mark.has-logo img{ width:auto; height:100%; max-width:100%; object-fit:contain; border-radius:0; display:block; }
  /* Brand Control's transparent main logo is the visual mark; do not place it inside a second chip. */
  .brand-mark.sm.has-logo{ width:auto; min-width:0; height:76px; padding:0; border-radius:0; background:transparent; box-shadow:none; flex:0 0 auto; }
  .brand-mark.sm.has-logo img{ height:100%; width:auto; max-width:220px; max-height:100%; }
  /* Lock-screen logo: large, centered and transparent, using the same Brand Control asset. */
  .lock-card .brand-mark.has-logo{ width:auto; height:auto; max-width:320px; border-radius:0; padding:0; margin:0 auto 20px; box-shadow:none; background:transparent; }
  .lock-card .brand-mark.has-logo img{ width:auto; height:auto; max-width:100%; max-height:126px; object-fit:contain; }
  .brand b{ font-size:16px; color:var(--strong); display:block; } .brand small{ color:var(--muted); font-size:12.5px; }
  .seg{ display:inline-flex; background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:3px; } .seg button{ border:0; background:transparent; color:var(--muted); font:inherit; font-size:12.5px; font-weight:600; padding:6px 13px; border-radius:999px; cursor:pointer; } .seg button[aria-pressed="true"]{ background:var(--surface); color:var(--strong); box-shadow:var(--shadow); }
  .timer{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--muted); background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:6px 12px; } .dot{ width:8px; height:8px; border-radius:999px; background:var(--money); } .timer.warn .dot{ background:var(--loss); }
  .pillbtn{ border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:999px; padding:7px 13px; font-weight:600; font-size:12.5px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; text-decoration:none; } .pillbtn:hover{ border-color:var(--accent); }
  .scenario{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; margin:0 0 16px; padding:12px 16px; border:1px dashed var(--line); border-radius:16px; background:color-mix(in srgb,var(--surface) 58%,transparent); }
  .scenario-title{ color:var(--faint); font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
  .scenario-group{ display:flex; align-items:center; gap:9px; min-width:0; }
  .scenario-label{ color:var(--muted); font-size:12.5px; font-weight:700; white-space:nowrap; }
  .scenario .seg{ border-radius:12px; }
  .scenario .seg button{ border-radius:9px; }
  .kpis{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin-bottom:16px; }
  .kpi{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px 20px; box-shadow:var(--shadow); overflow:hidden; }
  .kpi.fp-hero{ background:color-mix(in srgb,var(--primary) 8%,var(--surface)); border-color:color-mix(in srgb,var(--primary) 34%,var(--line)); cursor:pointer; }
  .kpi .label{ font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; } .kpi .val{ font-size:26px; font-weight:800; letter-spacing:-.02em; color:var(--strong); margin-top:4px; } .kpi .val.money{ color:var(--money);} .kpi .val.loss{ color:var(--loss);} .kpi.fp-hero .val{ color:var(--primary); } .kpi .val-sub{ font-size:11.5px; color:var(--muted); margin-top:3px; font-weight:600; }
  .flip-hint{ position:absolute; top:14px; right:14px; display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:3px 8px; border-radius:999px; } .spark{ margin-top:8px; display:block; }
  .grid2{ display:grid; grid-template-columns:1fr 1.15fr; gap:14px; margin-bottom:16px; } @media(max-width:820px){ .grid2{ grid-template-columns:1fr; } }
  .panel{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px 20px; box-shadow:var(--shadow); }
  .panel.toggle-panel{ cursor:pointer; transition:border-color .12s ease,box-shadow .12s ease; }
  .panel.toggle-panel:hover,.panel.toggle-panel:focus-visible{ border-color:var(--accent); box-shadow:var(--shadow-lg); outline:none; }
  .panel h2{ font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin:0 0 12px; display:flex; justify-content:space-between; } .panel h2 .hint{ text-transform:none; letter-spacing:0; color:var(--faint); font-weight:400; }
  .panel h2 .switch-hint{ display:inline-flex; align-items:center; gap:5px; color:var(--accent); background:var(--accent-soft); padding:3px 8px; border-radius:999px; font-weight:700; }
  .panel h2 .switch-hint svg{ flex:none; }
  .divrow{ display:grid; grid-template-columns:1.3fr 1fr auto; gap:12px; align-items:center; padding:7px 0; } .dname{ font-size:13.5px; color:var(--strong); font-weight:600; } .track{ height:9px; background:var(--surface-2); border-radius:999px; overflow:hidden; } .fill{ height:100%; background:var(--accent); border-radius:999px; } .amt{ font-weight:700; color:var(--strong); text-align:right; }
  .chart{ width:100%; height:190px; } .chart .grid line{ stroke:var(--line-2); stroke-width:1; } .chart .axis{ fill:var(--faint); font-size:10px; }
  .legend{ display:flex; gap:16px; margin-top:8px; font-size:12px; color:var(--muted); } .legend i{ display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
  .roll{ background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); overflow:hidden; }
  .roll-head{ display:flex; align-items:baseline; justify-content:space-between; padding:16px 20px 6px; gap:12px; flex-wrap:wrap; } .roll-head h2{ font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin:0; } .roll-total{ font-size:13px; color:var(--muted); } .roll-total b{ color:var(--money); }
  .ent{ border-top:1px solid var(--line-2); padding:13px 20px; display:grid; grid-template-columns:2.2fr 1fr 1fr 1fr 22px; gap:14px; align-items:center; }
  .ent.has-kids{ cursor:pointer; } .ent:hover.has-kids{ background:var(--surface-2); }
  .ent .who b{ display:block; font-size:14.5px; color:var(--strong); } .ent .who .tags{ margin-top:4px; display:flex; gap:6px; }
  .chip{ font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; background:var(--accent-soft); color:var(--accent); }
  .ent .cell{ text-align:right; } .ent .cell .n{ font-weight:700; font-size:14px; } .ent .cell.money .n{ color:var(--money);} .ent .cell.loss .n{ color:var(--loss);} .ent .cell .k{ font-size:11px; color:var(--faint); text-transform:uppercase; }
  .caret svg{ transition:transform .15s; } .ent.open .caret svg{ transform:rotate(90deg); }
  .ent-kids{ max-height:0; overflow:hidden; transition:max-height .25s ease; background:var(--surface-2); } .ent-kids.open{ max-height:1200px; }
  .note{ display:flex; gap:10px; align-items:flex-start; background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:12px 14px; color:var(--muted); font-size:12.5px; margin-top:16px; }
  .empty{ text-align:center; color:var(--muted); background:var(--surface-2); border:1px dashed var(--line); border-radius:14px; padding:30px; }
  .settings{ position:fixed; inset:0; z-index:50; background:var(--bg); overflow-y:auto; padding:26px 20px 60px; } .settings.hidden{ display:none; }
  .settings-inner{ max-width:1000px; margin:0 auto; } .settings-top{ margin-bottom:6px; } .settings h1{ font-size:22px; color:var(--strong); margin:14px 0 2px; } .settings .sub{ color:var(--muted); margin:0 0 20px; font-size:14px; }
  .stiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px; }
  .stile{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px 18px; box-shadow:var(--shadow); transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
  .stile:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--accent); }
  .stile .stile-ic{ width:60px; height:60px; border-radius:999px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent); }
  .stile b{ display:block; color:var(--strong); font-size:14.5px; } .stile span{ display:block; color:var(--muted); font-size:12.5px; margin-top:2px; line-height:1.45; }
  .settings-note{ color:var(--faint); font-size:12px; margin-top:18px; }
  .demo-banner{ display:flex; align-items:center; gap:9px; margin:-4px 0 16px; padding:10px 13px; border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line)); border-radius:12px; background:var(--accent-soft); color:var(--ink); font-size:12.5px; }
  .demo-banner b{ color:var(--accent); }
  .mobile-only{ display:none; }
  /* Secondary settings overlays (Business Tax Rate, Lines of Business) ported from the mockup. */
  .settings-overlay{ position:fixed; inset:0; z-index:50; background:var(--bg); overflow-y:auto; padding:26px 20px 60px; } .settings-overlay.hidden{ display:none; }
  .settings-overlay h1{ font-size:22px; color:var(--strong); margin:14px 0 2px; } .settings-overlay .sub{ color:var(--muted); margin:0 0 20px; font-size:14px; }
  .back-btn{ appearance:none; font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; color:var(--ink); background:var(--surface); border:1px solid var(--line); padding:8px 13px; border-radius:10px; display:inline-flex; align-items:center; gap:7px; }
  .back-btn:hover{ border-color:var(--accent); color:var(--accent); }
  @media(max-width:1024px){
    .seg button,.pillbtn,.back-btn,.btn-primary,.panel.toggle-panel{ min-height:44px; }
    .topbar{ gap:10px; }
    .kpi.fp-hero{ min-height:128px; }
    .ent.has-kids{ min-height:44px; }
    .settings .desktop-settings-copy,.settings-note{ display:none; }
    .settings .mobile-only{ display:block; }
    .stiles{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .stile:not(.mobile-primary){ display:none; }
    .stile.mobile-primary{ min-height:138px; }
  }
  @media(max-width:640px){
    .wrap{ padding:16px 14px 40px; }
    .topbar{ margin-bottom:16px; }
    .brand{ width:100%; margin-right:0; min-width:0; }
    .brand>div:last-child{ min-width:0; }
    .brand b{ overflow-wrap:anywhere; }
    .brand-mark.sm.has-logo{ width:156px; min-width:156px; height:56px; max-width:156px; padding:0; }
    .brand-mark.sm.has-logo img{ max-width:156px; }
    .seg{ flex:1 1 auto; }
    .seg button{ flex:1 1 auto; }
    .timer{ min-height:44px; }
    .scenario{ align-items:stretch; gap:10px; padding:12px; }
    .scenario-title{ width:100%; }
    .scenario-group{ width:100%; flex-wrap:wrap; }
    .scenario-group .seg{ width:100%; }
    .scenario-group .seg button{ min-width:0; padding-inline:7px; }
    .kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .kpi{ padding:15px 14px; min-width:0; }
    .kpi.fp-hero{ grid-column:1/-1; }
    .kpi.mobile-secondary{ display:none; }
    .kpi .val{ font-size:22px; overflow-wrap:anywhere; }
    .panel{ padding:16px 14px; }
    .panel h2{ gap:8px; flex-wrap:wrap; }
    .chart{ height:170px; }
    .roll,.note{ display:none; }
    .roll-head{ padding:14px 14px 8px; }
    .ent,.ent[style]{ grid-template-columns:1fr repeat(3,minmax(0,1fr)) 20px!important; gap:8px; padding:13px 14px; }
    .ent .who{ grid-column:1/-1; }
    .ent .cell{ text-align:left; min-width:0; }
    .ent .cell .n{ font-size:13px; overflow-wrap:anywhere; }
    .ent .caret{ grid-column:5; grid-row:2; align-self:center; }
    .settings{ padding:18px 14px 40px; }
    .settings h1{ font-size:20px; }
    .stiles{ grid-template-columns:1fr; }
    .settings-overlay{ padding:18px 14px 40px; }
    .lob-grid{ grid-template-columns:1fr!important; }
  }
  @media(max-width:360px){
    .brand b{ font-size:0; overflow-wrap:normal; }
    .brand b::after{ content:"Financial Portal"; font-size:15px; }
    .brand small{ display:none; }
  }

/* ---- LIT-AMS financial_portal_executive.css ---- */
/* Owner-approved executive presentation, 2026-10-10. Scoped to this portal only. */
body.fp-executive[data-litams-theme],body.fp-executive{
 --bg:#0c101b;--surface:#151b2a;--surface-2:#1d2536;--line:#2a3348;--line-2:#252e42;
 --ink:#e2e6f2;--strong:#f3f4fc;--muted:#adb7cc;--faint:#a0acc3;
 --primary:#9b8aff;--accent:#b4a5ff;--accent-ink:#111522;--accent-soft:#292540;
 --money:#5adfb3;--money-soft:#15372f;--loss:#ff889c;--loss-soft:#3d2330;
 --shadow:0 8px 25px #02050b20;--shadow-lg:0 20px 60px #0005;
 background:var(--bg);color:var(--ink);color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.fp-executive .wrap{max-width:1280px;padding:28px 32px 48px}
.fp-executive .topbar{padding-bottom:24px;border-bottom:1px solid var(--line);gap:10px;margin-bottom:25px}
.fp-executive .brand{flex:1 1 400px;min-width:0}
.fp-executive .brand b{display:block;font-size:17px;letter-spacing:-.02em;overflow-wrap:anywhere}
.fp-executive .brand small{font-size:11px;color:var(--muted);margin-top:5px}
.fp-executive .brand-mark.sm.has-logo{height:60px;max-width:220px;min-width:0;width:auto}
.fp-executive .brand-mark.sm.has-logo img{max-width:220px}
.fp-executive .pillbtn,.fp-executive .back-btn,.fp-executive select{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:9px 12px;font:inherit;font-size:12px;min-height:40px}
.fp-executive button,.fp-executive select{cursor:pointer}
.fp-executive button:focus-visible,.fp-executive a:focus-visible,.fp-executive select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.fp-executive .timer{font-size:11px;min-height:0;background:transparent;border:0;margin-left:auto}
.fp-executive .fp-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.fp-executive .fp-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.fp-executive .fp-intro h1{font-size:32px;line-height:1.15;letter-spacing:-.04em;color:var(--strong);margin:7px 0 9px;font-weight:650}
.fp-executive .fp-intro p{font-size:12px;color:var(--muted);margin:0}
.fp-executive .fp-view-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fp-executive .seg{background:var(--control);border:1px solid var(--line);border-radius:10px;padding:4px;box-shadow:none}
.fp-executive .seg button{font-size:12px;color:var(--muted);padding:8px 12px;border-radius:7px;min-height:36px;box-shadow:none}
.fp-executive .seg button[aria-pressed="true"]{background:var(--selected);color:var(--selected-ink);box-shadow:none}
.fp-executive .scenario{background:transparent;border:0;border-radius:0;padding:0;justify-content:space-between;gap:14px;margin:0 0 20px}
.fp-executive .scenario-title{display:none}
.fp-executive .scenario-label{font-size:11px;color:var(--muted);font-weight:500}
.fp-executive .fp-company-select{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);max-width:100%}
.fp-executive .fp-company-select select{max-width:230px;min-width:0}
.fp-executive .kpis{grid-template-columns:1.65fr 1fr 1fr;gap:15px;margin-bottom:22px}
.fp-executive .kpi{padding:25px 23px;border-radius:16px;min-width:0;overflow:visible}
.fp-executive .kpi.fp-hero{background:var(--hero-bg);border-color:var(--line);cursor:default}
.fp-executive .kpi .label{text-transform:none;font-size:12px;color:var(--label);letter-spacing:0}
.fp-executive .kpi .val{font-size:clamp(25px,2.6vw,37px);font-weight:650;letter-spacing:-.045em;line-height:1.15;margin:22px 0 14px;color:var(--strong);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fp-executive .kpi.fp-hero .val{font-size:clamp(32px,4vw,52px);color:var(--strong)}
.fp-executive .kpi .val-sub{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}
.fp-executive .fp-tax-toggle{appearance:none;background:none;border:0;padding:0;text-align:left;color:var(--link);font-size:11px;min-height:30px}
.fp-executive .fp-stat-marker{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--money);margin-right:7px;vertical-align:2px}
.fp-executive .fp-stat-marker.loss{background:var(--loss);border-radius:1px}
.fp-executive .grid2{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:20px;margin-bottom:26px;align-items:start}
.fp-executive .panel{padding:24px;border-radius:16px;min-width:0}
.fp-executive .panel h2,.fp-executive .roll-head h2{color:var(--strong);font-size:15px;text-transform:none;letter-spacing:0;font-weight:600;margin:0 0 5px;display:block}
.fp-executive .fp-panel-sub{color:var(--muted);font-size:11px;margin-bottom:18px}
.fp-executive .legend{margin:0 0 12px;font-size:11px;flex-wrap:wrap}
.fp-executive .legend i{width:7px;height:7px;border-radius:50%;vertical-align:0}
.fp-executive .legend .fp-loss-dot{border-radius:1px}
.fp-executive .chart{height:245px;display:block;width:100%;overflow:visible}
.fp-executive .chart .axis{font-size:11px;fill:var(--muted)}
.fp-executive .fp-chart-detail{font-size:11px;color:var(--muted);min-height:20px;margin-top:12px}
.fp-executive .fp-chart-selector{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px;font-size:11px;color:var(--muted)}
.fp-executive .fp-chart-selector select{font-size:11px;min-height:32px;padding:4px 8px}
.fp-executive .fp-breakdown-tabs{display:flex;gap:17px;margin-bottom:16px}
.fp-executive .fp-breakdown-tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);font-size:12px;padding:7px 0}
.fp-executive .fp-breakdown-tabs button[aria-pressed=true]{border-color:var(--accent);color:#e7e0ff}
.fp-executive .divrow{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 13px;padding:5px 0}
.fp-executive .dname{font-size:12px;font-weight:400;overflow-wrap:anywhere}
.fp-executive .amt{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.fp-executive .track{height:5px;background:var(--line-2);grid-column:1/-1}
.fp-executive .fill{background:var(--primary);transition:width .35s ease}
.fp-executive .roll{background:transparent;border:0;box-shadow:none;overflow:visible}
.fp-executive .roll-head{padding:0;align-items:center}
.fp-executive .roll-total{font-size:12px}
.fp-executive .roll-total b{color:var(--strong)}
.fp-executive #enterprises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px;align-items:start}
.fp-executive .fp-company-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:0;overflow:hidden}
.fp-executive .fp-company-head{appearance:none;text-align:left;display:block;width:100%;border:0;background:transparent;color:var(--ink);padding:20px}
.fp-executive .fp-company-head[aria-expanded=true]{background:var(--open-card)}
.fp-executive .fp-company-title{display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:18px}
.fp-executive .fp-company-title strong{font-weight:550;flex:1;overflow-wrap:anywhere}
.fp-executive .fp-company-mark{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:9px;background:var(--mark-bg);color:var(--mark-ink);font-weight:600}
.fp-executive .fp-company-value{font-size:27px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fp-executive .fp-company-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin:6px 0 15px;flex-wrap:wrap}
.fp-executive .fp-company-detail{border-top:1px solid var(--line);padding:16px 20px}
.fp-executive .fp-detail-pair{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:10px;flex-wrap:wrap}
.fp-executive .fp-carrier-detail{padding-top:12px;margin-top:12px;border-top:1px solid var(--line);font-size:11px}
.fp-executive .fp-carrier-detail b{display:block;margin-bottom:7px;font-size:12px}
.fp-executive .fp-carrier-detail .fp-detail-pair{font-size:11px;margin-bottom:5px}
.fp-executive .note{font-size:11px;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;line-height:1.7;padding:17px 0;margin-top:26px}
.fp-executive .fp-data-meta{font-size:11px;color:var(--muted);margin-top:18px}
.fp-executive .fp-zero{font-size:12px;color:var(--muted);line-height:1.6;padding:10px 0}
.fp-executive .demo-banner{font-size:11px}
.fp-executive .btn-primary{background:#a594f7;color:#111522}
.fp-executive .settings,.fp-executive .settings-overlay{background:var(--bg)}
.fp-executive .tx-save,.fp-executive .lob-addbtn{color:#101820}
.fp-executive [hidden]{display:none!important}
@media(max-width:900px){
 .fp-executive .wrap{padding:24px 22px 40px}.fp-executive .grid2{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:15px}.fp-executive .panel{padding:18px}.fp-executive .kpi{padding:22px 17px}.fp-executive #enterprises{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-executive .fp-intro{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:680px){
 .fp-executive .wrap{padding:20px 16px 32px}.fp-executive .topbar{gap:9px;padding-bottom:18px}.fp-executive .brand{flex-basis:100%;width:100%}.fp-executive .brand-mark.sm.has-logo{height:50px;max-width:145px}.fp-executive .brand-mark.sm.has-logo img{max-width:145px}.fp-executive .brand b{font-size:15px}.fp-executive .brand b::after{content:none}.fp-executive .brand small{display:block;font-size:11px}.fp-executive .timer{margin-left:0;order:5;width:100%;min-height:25px}.fp-executive .fp-intro{display:block}.fp-executive .fp-intro h1{font-size:29px}.fp-executive .fp-view-actions{margin-top:17px}.fp-executive .scenario{gap:11px}.fp-executive .scenario-group{width:auto;flex-wrap:wrap}.fp-executive .scenario-group .seg{width:auto}.fp-executive .scenario .seg button{padding:8px 11px}.fp-executive .scenario-group:first-of-type{width:100%}.fp-executive .scenario-label{display:none}.fp-executive .fp-company-select{width:100%}.fp-executive .fp-company-select select{max-width:100%;flex:1}.fp-executive .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fp-executive .kpi.fp-hero{grid-column:1/-1}.fp-executive .kpi{padding:20px 15px}.fp-executive .kpi .val{font-size:clamp(21px,5.2vw,32px);margin:19px 0 12px}.fp-executive .kpi.fp-hero .val{font-size:clamp(36px,10vw,50px)}.fp-executive .grid2{grid-template-columns:1fr}.fp-executive .chart{height:220px}.fp-executive .roll,.fp-executive .note{display:block}.fp-executive .roll-head{padding:0;display:block}.fp-executive .roll-total{margin-top:10px}.fp-executive #enterprises{grid-template-columns:1fr}.fp-executive .pillbtn,.fp-executive .seg button,.fp-executive .fp-breakdown-tabs button{min-height:44px}.fp-executive .fp-tax-toggle{min-height:36px}
}
@media(max-width:360px){.fp-executive .wrap{padding:18px 12px}.fp-executive .kpi:not(.fp-hero){padding:18px 12px}.fp-executive .kpi .val{font-size:21px}.fp-executive .kpi .label{font-size:11px}.fp-executive .brand{flex-wrap:wrap}.fp-executive .fp-intro h1{font-size:26px}.fp-executive .scenario .seg button{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.fp-executive .fill{transition:none}}


/* Portal-local appearance preferences. Header stays charcoal to support the wordmark. */
body.fp-executive{--control:#111725;--selected:#30304e;--selected-ink:#e7e0ff;--hero-bg:radial-gradient(ellipse at top right,#58428866,transparent 70%),linear-gradient(120deg,#252342,#191e32);--label:#c4ccdf;--link:#c6baff;--open-card:#1b2134;--mark-bg:#292b45;--mark-ink:#c2b6ff}
body.fp-executive[data-fp-theme="light"]{--bg:#f2f3f8;--surface:#fff;--surface-2:#f4f3fa;--line:#d8dbe6;--line-2:#e5e6ee;--ink:#353a4d;--strong:#202538;--muted:#646b80;--faint:#687186;--primary:#7555cc;--accent:#6344b8;--accent-soft:#ece7fa;--money:#167b5d;--money-soft:#e5f5ee;--loss:#bd3657;--loss-soft:#fce8ec;--control:#e9eaf2;--selected:#fff;--selected-ink:#553798;--hero-bg:radial-gradient(ellipse at top right,#dccffb,transparent 75%),linear-gradient(120deg,#eee8fa,#f7f5fc);--label:#56546c;--link:#6543b8;--open-card:#f0edf8;--mark-bg:#ebe5fa;--mark-ink:#6747af;--shadow:0 6px 25px #20253808;color-scheme:light}
.fp-executive .topbar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#383c47,#2c303a);border:1px solid #505460;border-radius:18px;padding:20px 23px;gap:18px;color:#eeeefa;box-shadow:0 8px 30px #0001}
.fp-executive .topbar .brand{flex:1 1 430px;gap:22px}.fp-executive .topbar .brand b{color:#f6f4ff;font-size:16px;font-weight:600}.fp-executive .topbar .brand small{color:#c6c6d5}
.fp-executive .topbar .brand-mark.sm.has-logo{max-width:210px;height:58px;flex:none}.fp-executive .topbar .brand-mark.sm.has-logo img{max-width:210px;width:210px;height:auto}
.fp-executive .fp-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.fp-executive .fp-header-links{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.fp-executive .topbar .pillbtn{background:#424754;border-color:#606778;color:#f4f1ff}.fp-executive .topbar .timer{color:#d3d6e1;margin:0;font-size:10px}.fp-executive .topbar .seg{background:#292d36;border-color:#555c6c}.fp-executive .topbar .seg button{color:#d0d0dd;font-size:11px;padding:5px 9px;min-height:29px}.fp-executive .topbar .seg button[aria-pressed=true]{background:#605a76;color:#fff}
.fp-executive .fp-header-preferences{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.fp-executive .fp-scope-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.fp-executive .fp-scope-main{display:flex;gap:12px;align-items:center;min-width:0;flex:1}.fp-executive .fp-scope-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:var(--accent-soft);color:var(--accent);flex:none}
.fp-executive .fp-company-select{display:block;flex:1;min-width:0}.fp-executive .fp-company-select span{display:block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px}.fp-executive .fp-company-select select{width:100%;max-width:400px;min-height:35px;padding:3px 24px 3px 0;background:transparent;border:0;font-size:14px;font-weight:600;color:var(--strong);border-radius:3px}.fp-executive .fp-company-select option{color:var(--ink);background:var(--surface)}
.fp-executive .fp-scope-context{font-size:11px;color:var(--muted);margin-top:5px}.fp-executive .fp-data-switch .seg button{font-size:11px;padding:7px 9px}
.fp-executive #backToAll{margin-top:10px;background:none;border:0;color:var(--accent);padding:5px 0;font-size:12px;min-height:30px}
.fp-executive .fp-company-open{display:block;width:100%;background:var(--accent-soft);border:1px solid var(--line);color:var(--accent);padding:10px;border-radius:8px;font:inherit;font-size:12px;margin-bottom:16px}
.fp-executive .fp-roster{font-size:11px;color:var(--muted);margin:0 0 14px}.fp-executive .fp-showcase-notice{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted);margin:0 0 18px;flex-wrap:wrap}.fp-executive .fp-showcase-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--accent-soft);color:var(--accent);padding:5px 8px;border-radius:6px;font-size:10px;font-weight:650;letter-spacing:.03em}
.fp-executive .fp-showcase-notice i{width:5px;height:5px;background:var(--accent);border-radius:50%}.fp-executive .note details{margin-top:8px}.fp-executive .note summary{cursor:pointer;color:var(--accent);font-weight:500}.fp-executive .note p{margin:8px 0}
.fp-executive .scenario{justify-content:flex-start}.fp-executive .fp-theme-pick button span{display:inline-block;width:7px;height:7px;border-radius:50%;border:1px solid #a4a6b3;margin-right:5px}.fp-executive .fp-theme-pick button[data-fp-theme-choice=dark] span{background:#131728}.fp-executive .fp-theme-pick button[data-fp-theme-choice=light] span{background:#eee}
.fp-executive .lock-card{border-color:var(--line)}.fp-executive .lock-card .brand-mark.has-logo{background:#343844;padding:15px;border-radius:12px}
@media(min-width:1101px){.fp-executive #enterprises{grid-template-columns:repeat(4,minmax(0,1fr))}.fp-executive .fp-company-title{min-height:36px}.fp-executive .fp-company-head{padding:18px}.fp-executive .fp-company-value{font-size:25px}}
@media(min-width:681px) and (max-width:1100px){.fp-executive #enterprises{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.fp-executive .fp-header-actions{align-items:flex-start;width:100%}.fp-executive .fp-header-links{justify-content:flex-start}.fp-executive .fp-header-preferences{justify-content:flex-start}.fp-executive .topbar{gap:18px}.fp-executive .topbar .brand{flex-basis:100%}}
@media(max-width:680px){.fp-executive .topbar{padding:18px 15px}.fp-executive .topbar .brand{gap:14px;align-items:flex-start;flex-direction:column}.fp-executive .topbar .brand-mark.sm.has-logo{max-width:190px;height:49px}.fp-executive .topbar .brand-mark.sm.has-logo img{max-width:190px}.fp-executive .topbar .brand b{font-size:14px}.fp-executive .fp-header-links{gap:6px}.fp-executive .topbar .pillbtn{font-size:11px;padding:8px 9px;min-height:40px}.fp-executive .fp-header-preferences{gap:12px;justify-content:space-between;width:100%}.fp-executive .topbar .timer{width:auto;order:0}.fp-executive .fp-scope-bar{padding:13px;flex-wrap:wrap;gap:12px}.fp-executive .fp-scope-main{width:100%;flex-basis:100%}.fp-executive .fp-company-select select{max-width:100%;font-size:12px}.fp-executive .fp-data-switch{margin-left:49px}.fp-executive .fp-scope-context{line-height:1.5}.fp-executive .fp-company-select{width:auto}.fp-executive .fp-showcase-notice{gap:7px;font-size:10px}.fp-executive .topbar .seg button{min-height:36px}}
@media(max-width:360px){.fp-executive .fp-scope-icon{display:none}.fp-executive .fp-data-switch{margin-left:0}.fp-executive .topbar .pillbtn{padding:8px;font-size:10px}}

/* Four calendar presets; applied dates drive all monetary views. */
.fp-executive .fp-security-actions{display:flex;gap:7px;align-items:center}
.fp-executive .fp-date-controls{max-width:100%;text-align:right}
.fp-executive .fp-period-label{display:inline-block;margin-right:10px;font-size:11px;color:var(--muted)}
.fp-executive #periodSelect,.fp-executive .fp-custom-dates input{color:var(--strong);background:var(--control);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:12px;min-height:42px;color-scheme:dark}
.fp-executive[data-fp-theme="light"] #periodSelect,.fp-executive[data-fp-theme="light"] .fp-custom-dates input{color-scheme:light}
.fp-executive .fp-date-caption{font-size:10px;color:var(--muted);margin-top:8px}
.fp-executive .fp-custom-dates{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px;justify-content:flex-end}
.fp-executive .fp-custom-dates[hidden]{display:none}
.fp-executive .fp-custom-dates label{display:grid;gap:5px;text-align:left;font-size:10px;color:var(--muted)}
.fp-executive #dateError{flex-basis:100%;font-size:11px;color:var(--loss)}
@media(max-width:680px){.fp-executive .fp-date-controls{text-align:left;width:100%}.fp-executive .fp-custom-dates{justify-content:flex-start}.fp-executive .fp-custom-dates input{max-width:150px;box-sizing:border-box}}

/* ---- LIT-CRM additions (2026-10-31) ---- */
.fp-logo{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:14px;overflow:hidden;background:#fff;margin:0 auto 12px}
.fp-logo.sm{width:40px;height:40px;border-radius:10px;margin:0 10px 0 0;flex:0 0 40px}
.fp-logo img{width:100%;height:100%;object-fit:contain}
.fp-logo--letter{background:var(--primary);color:#0c101b;font-weight:800;font-size:22px}
.lock-back{display:block;margin-top:14px;font-size:13px;color:var(--muted,#9aa3b2);text-decoration:none}
.fp-controls{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.fp-custom{display:inline-flex;gap:6px;align-items:center;margin-left:10px}
.fp-custom input{background:var(--surface,#151b2a);color:inherit;border:1px solid var(--line,#2a3245);border-radius:8px;padding:6px 8px}
.fp-portfolio{display:grid;gap:10px}
.fp-pcard{border:1px solid var(--line,#2a3245);border-radius:12px;background:var(--surface,#151b2a);overflow:hidden}
.fp-pcard>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none}
.fp-pcard>summary::-webkit-details-marker{display:none}
.fp-pcard-amt{font-weight:700;color:var(--money,#5adfb3)}
.fp-pcard-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.fp-pcard-body small{display:block;color:var(--muted,#9aa3b2);font-size:11px;margin-bottom:3px}
.fp-pcard-carriers span{display:block;font-size:12px}
.timer.warn .dot{background:var(--loss,#ff889c)}
@media(max-width:640px){.fp-pcard-body{grid-template-columns:1fr 1fr}.fp-pcard>summary{grid-template-columns:1fr auto}.fp-pcard>summary span:nth-child(2){display:none}}
