:root{
  --lp-navy:#061c38;--lp-navy2:#0a2a52;--lp-blue:#1268ee;--lp-blue2:#2d83ff;
  --lp-teal:#0aa48f;--lp-mint:#e9f7f3;--lp-pink:#f36f97;--lp-pink-bg:#fff0f5;
  --lp-gold:#e3a72f;--lp-gold-bg:#fff7df;--lp-purple:#7757d9;--lp-purple-bg:#f2edff;
  --lp-ink:#102947;--lp-muted:#6d7d91;--lp-bg:#f5f8fc;--lp-line:#dfe7f0;--lp-white:#fff;
  --lp-shadow:0 12px 34px rgba(10,42,82,.08);
}
html,body{background:var(--lp-bg)!important;color:var(--lp-ink)!important}
body{font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}

/* PUBLIC NAV — dark, crisp, visible */
.public-header{background:linear-gradient(90deg,#061a35,#08264b)!important;border:0!important;box-shadow:0 2px 14px rgba(5,25,50,.14)!important}
.public-nav{max-width:1400px!important;height:74px!important;padding:0 28px!important;gap:28px!important}
.public-header .brand img{filter:brightness(0) invert(1)!important;width:190px!important}
.public-links{margin-left:auto!important;gap:30px!important}
.public-links button{color:#eef5ff!important;font-size:13px!important;font-weight:650!important;opacity:.92}
.public-links button:hover{opacity:1;color:#fff!important}
.public-actions .btn.secondary{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important}
.public-actions .btn:not(.secondary){background:linear-gradient(135deg,var(--lp-blue),var(--lp-blue2))!important;color:#fff!important}
.public-actions .btn{border-radius:10px!important;min-height:42px!important}

/* PUBLIC HOME — approved concept */
.public-main{max-width:1400px!important;padding:0 28px 78px!important}
.hero.v13-hero{margin-top:0!important;min-height:460px!important;border-radius:0 0 28px 28px!important;border:0!important;box-shadow:none!important;background:linear-gradient(108deg,#f8fbff 0%,#edf6ff 53%,#e8f2ff 100%)!important;overflow:hidden!important}
.v13-hero .hero-copy{padding:64px 34px 54px 72px!important;align-self:center!important}
.v13-hero .eyebrow{display:inline-flex!important;align-items:center!important;background:#e6f7f3!important;color:#0a8e7b!important;border-radius:999px!important;padding:7px 11px!important;letter-spacing:.03em!important;text-transform:none!important;font-size:11px!important}
.v13-hero .display{font-family:'DM Sans',system-ui,sans-serif!important;font-size:58px!important;line-height:.98!important;font-weight:800!important;letter-spacing:-.052em!important;color:#08254a!important;max-width:580px!important;margin:14px 0 18px!important}
.v13-hero .display::first-line{color:#08254a}
.v13-hero .hero-copy p{font-size:15px!important;line-height:1.65!important;color:#536d87!important;max-width:590px!important}
.v13-primary,.btn.v13-primary{background:linear-gradient(135deg,#0c60ea,#1d7af4)!important;border-radius:10px!important;box-shadow:0 10px 22px rgba(18,104,238,.18)!important}
.v13-hero .btn.secondary{background:#fff!important;color:#173a61!important;border:1px solid #d4e0ed!important}
.v13-hero-points{color:#5f7690!important;font-size:11px!important;margin-top:20px!important}
.v13-house-art{min-height:460px!important;background:transparent!important;padding:28px 54px 20px 0!important}
.v13-house-art svg{filter:drop-shadow(0 20px 24px rgba(16,57,99,.08));max-width:720px!important}

/* new three-card strip inserted by v14.js */
.v14-public-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 8px}
.v14-public-feature{display:grid;grid-template-columns:52px 1fr 22px;align-items:center;gap:14px;background:#fff;border:1px solid #e0e8f1;border-radius:15px;padding:16px 18px;box-shadow:0 8px 22px rgba(10,42,82,.04);color:var(--lp-ink);text-align:left}
.v14-public-feature:hover{border-color:#c8d8e9;box-shadow:0 12px 28px rgba(10,42,82,.07)}
.v14-public-feature .ico{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;font-size:21px;font-weight:850}
.v14-public-feature:nth-child(1) .ico{background:#eaf2ff;color:#1166de}.v14-public-feature:nth-child(2) .ico{background:#e7f8f0;color:#079174}.v14-public-feature:nth-child(3) .ico{background:#f1ebff;color:#7350d4}
.v14-public-feature b{display:block;font-size:13px}.v14-public-feature small{display:block;margin-top:4px;color:#718196;font-size:10.5px;line-height:1.4}.v14-public-feature em{font-style:normal;color:#60758e}

.section{padding-top:50px!important}.section-head h2{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:760!important;letter-spacing:-.035em!important;color:#112e50!important}.section-head p{color:#718196!important}.path-grid{grid-template-columns:repeat(4,1fr)!important}.path-card{min-height:220px!important;border-radius:16px!important;box-shadow:none!important;border-color:#e3eaf2!important;padding:21px!important}.path-card .iconbox{border-radius:12px!important;font-size:19px!important;width:42px!important;height:42px!important;background:#eef4fb!important}.path-card h3{font-size:15px!important;color:#153251!important}.path-card .btn{border-radius:9px!important}.price-card,.resource,.public-text,.management-hero{box-shadow:none!important;border-color:#e1e9f1!important}

/* APP FRAME */
.app-shell{background:#f4f7fb!important}.sidebar{width:248px!important;background:linear-gradient(180deg,#061a35 0%,#0b315e 100%)!important;border:0!important;padding:18px 12px!important;box-shadow:5px 0 22px rgba(4,25,50,.08)!important}
.sidebar-brand{border-bottom:1px solid rgba(255,255,255,.10)!important;padding:5px 8px 17px!important}.sidebar-brand img{filter:brightness(0) invert(1)!important;width:190px!important}
.side-nav{gap:4px!important;padding-top:15px!important}.side-nav button{color:#d8e6f4!important;border-radius:9px!important;padding:10px 11px!important;font-size:12.5px!important}.side-nav button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.side-nav button.active{background:linear-gradient(90deg,#0e5fdb,#1275f4)!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,73,176,.22)!important}.side-icon{font-size:0!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important}.side-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.side-section-label{color:#7994af!important}.sidebar-bottom{border-top:1px solid rgba(255,255,255,.10)!important}.v13-agent-card{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.14)!important}.sidebar-bottom .btn.secondary{display:flex!important;background:rgba(255,255,255,.09)!important;color:#fff!important;border:1px solid rgba(255,255,255,.13)!important;justify-content:center!important}
.app-main{margin-left:248px!important}.app-top{height:72px!important;background:rgba(255,255,255,.96)!important;border-color:#e2e9f1!important;padding:0 28px!important}.app-search{max-width:620px!important}.app-search input{height:42px!important;border-radius:11px!important;background:#fbfcfe!important}.app-content{max-width:1460px!important;padding:24px 28px 42px!important}.page-title h1{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:780!important;letter-spacing:-.035em!important;color:#102c4c!important}

/* DASHBOARD — close to approved mockup */
#dashboardPage{max-width:1400px!important;margin:auto!important}
.v13-welcome{min-height:104px!important;padding:18px 24px!important;border-radius:16px!important;background:#fff!important;border:0!important;margin:0 0 12px!important;box-shadow:none!important}.v13-welcome h1{font-size:30px!important;color:#0d2b4d!important;margin:3px 0!important}.v13-welcome p{font-size:12px!important}.v13-kicker{color:#0a947e!important;font-size:9.5px!important}.v13-mini-house{width:150px!important;color:#0c3767!important;opacity:.92!important}
.v13-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.v13-stat{position:relative!important;min-height:118px!important;border-radius:14px!important;padding:17px 17px 14px!important;border:1px solid #e0e8f1!important;box-shadow:0 6px 18px rgba(10,42,82,.035)!important;background:#fff!important}.v13-stat:before{content:'';display:block;width:36px;height:36px;border-radius:11px;margin-bottom:8px}.v13-stat.pink:before{background:var(--lp-pink-bg)}.v13-stat.blue:before{background:#edf4ff}.v13-stat.mint:before{background:#e8f8f4}.v13-stat.amber:before{background:#fff5de}.v13-stat strong{font-size:24px!important;margin:0 0 5px!important}.v13-stat span{font-size:10.5px!important;color:#677b91!important}.stat-note{font-size:9.5px!important}
.v13-dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.62fr)!important;gap:12px!important;margin-top:12px!important}.v13-roadmap-panel{min-height:318px!important;border-radius:16px!important;padding:21px 22px!important;background:linear-gradient(145deg,#061a35,#0a2d57)!important;box-shadow:0 14px 32px rgba(5,25,52,.13)!important}.v13-panel-head h2{font-size:22px!important}.v13-roadmap-panel>p{font-size:11.5px!important}.v13-road-line{margin:28px 0 20px!important}.v13-road-line span{width:33px!important;height:33px!important}.v13-dark-actions{border-radius:11px!important;padding:13px 14px!important}.v13-dark-actions .btn{border-radius:9px!important}
.v13-side-stack{gap:12px!important}.v13-next-card,.v13-agent-panel{border-radius:14px!important;box-shadow:none!important;border-color:#e1e9f1!important}.v13-next-card{padding:17px!important}.v13-agent-panel{padding:17px!important}
.v13-quick-tools{grid-template-columns:repeat(3,1fr)!important;gap:12px!important;margin:12px 0!important}.v13-tool-card{border-radius:13px!important;padding:14px!important;grid-template-columns:43px 1fr 18px!important;box-shadow:none!important}.v13-tool-icon{width:42px!important;height:42px!important;border-radius:12px!important}.v13-tool-card b{font-size:12px!important}.v13-tool-card small{font-size:9.5px!important}
.v13-toolkit{border-radius:14px!important;box-shadow:none!important}.v13-toolkit .tool-grid{grid-template-columns:repeat(3,1fr)!important}.tool-tile{border-radius:12px!important;min-height:112px!important}.toolkit-head h2{font-family:'DM Sans',system-ui,sans-serif!important;font-size:22px!important;letter-spacing:-.025em!important}

/* generic app cards/forms */
.card,.panel,.feature-panel,.roadmap-section,.roadmap-intro,.money-panel,.checkin-card,.calendar-card{border-radius:14px!important;box-shadow:none!important;border-color:#e0e8f0!important;background:#fff!important}.btn{border-radius:9px!important}.field input,.field select,.field textarea{border-radius:9px!important;background:#fbfcfe!important;border-color:#dce5ee!important}.notice{border-radius:10px!important}.status-chip,.tag,.pill{border-radius:999px!important}

/* MARKETPLACE — clean healthcare SaaS */
.v13-marketplace .page-title{border-radius:14px!important;background:#fff!important;padding:18px 20px!important}.v13-market-tabs{margin-top:10px!important}.vacancy-grid{gap:14px!important}.vacancy{border-radius:14px!important;overflow:hidden!important;box-shadow:none!important}.vacancy-img{background:#e8eef5!important}.modal{border-radius:16px!important;box-shadow:0 24px 70px rgba(5,27,55,.24)!important}.modal:before{height:3px!important;background:linear-gradient(90deg,var(--lp-blue),var(--lp-teal),var(--lp-pink))!important}

/* MANAGEMENT — IcarePro-inspired but original */
.v13-management-preview{border-radius:14px!important}.v13-management-stats{grid-template-columns:repeat(4,1fr)!important}.v13-management-stats>div{background:#fff!important;padding:17px!important}.v13-management-body{grid-template-columns:1.55fr .55fr!important}.v13-management-body>aside{background:#f8fafc!important}.v13-preview-table{border-radius:10px!important}.v13-coming-module{border-radius:10px!important}.v13-management .tag{background:#edf1f6!important;color:#496078!important}

/* never show playful decorative animation */
.v12-enter,*[class*='confetti'],*[class*='sparkle']{animation:none!important}.hero-heart,.hero-leaf{display:none!important}

/* MOBILE — no trapped screens, buttons always visible */
.mobile-menu,.mobile-dash-home{display:none}
.v14-mobile-signout{display:none}
@media(max-width:980px){
  .public-main{padding-left:18px!important;padding-right:18px!important}.path-grid{grid-template-columns:1fr 1fr!important}.v14-public-features{grid-template-columns:1fr!important}.v13-stat-grid{grid-template-columns:1fr 1fr!important}.v13-dashboard-grid{grid-template-columns:1fr!important}.v13-toolkit .tool-grid{grid-template-columns:1fr 1fr!important}.v13-management-stats{grid-template-columns:1fr 1fr!important}.v13-management-body{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .public-header{background:linear-gradient(90deg,#061a35,#08264b)!important;position:sticky!important}.public-nav{height:66px!important;padding:0 12px!important}.public-header .brand img{filter:brightness(0) invert(1)!important;width:144px!important}.public-links{display:none!important}.public-actions{margin-left:auto!important}.public-actions .btn{min-height:39px!important;padding:8px 10px!important;font-size:11px!important}.public-actions .btn.secondary{display:inline-flex!important}
  .public-main{padding:0 0 64px!important}.hero.v13-hero{grid-template-columns:1fr!important;border-radius:0!important}.v13-hero .hero-copy{padding:35px 22px 22px!important}.v13-hero .display{font-size:42px!important}.v13-house-art{min-height:250px!important;padding:0 18px 18px!important}.v13-hero-points{gap:10px!important}.v14-public-features{margin:12px!important}.section{padding:38px 14px 0!important}.path-grid{grid-template-columns:1fr!important}.path-card{min-height:auto!important}.section-head{display:block!important}.section-head p{margin-top:7px!important}
  .sidebar{width:min(82vw,280px)!important;transform:translateX(-102%);transition:.2s}.sidebar.open{transform:translateX(0)}.app-main{margin-left:0!important}.app-top{height:64px!important;padding:0 10px!important}.mobile-menu,.mobile-dash-home{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;min-height:40px!important}.app-top-actions{gap:6px!important}.app-top-actions .btn[data-page='billingPage']{display:none!important}.v14-mobile-signout{display:inline-flex!important;min-height:40px!important;background:#eef3f8!important;color:#123a65!important}.app-content{padding:14px 10px 28px!important}.v13-welcome{padding:16px!important}.v13-welcome h1{font-size:25px!important}.v13-mini-house{display:none!important}.v13-stat-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.v13-stat{min-height:100px!important;padding:13px!important}.v13-stat strong{font-size:20px!important}.v13-dashboard-grid{grid-template-columns:1fr!important}.v13-roadmap-panel{padding:16px!important}.v13-road-line{overflow:auto!important}.v13-road-line i{min-width:24px!important}.v13-quick-tools{grid-template-columns:1fr!important}.v13-toolkit .tool-grid{grid-template-columns:1fr!important}.toolkit-head{display:block!important}.toolkit-head .status-chip{display:inline-flex!important;margin-top:8px!important}.v13-management-stats{grid-template-columns:1fr!important}.v13-management-body{grid-template-columns:1fr!important}.v13-preview-table{overflow:auto!important}.v13-preview-table>div{min-width:620px!important}.modal{width:calc(100% - 18px)!important;max-height:84vh!important;overflow:auto!important}.form-grid,.two-col,.money-grid{grid-template-columns:1fr!important}
}
