/* Shared visual system. Served separately so native builds keep it intact. */
:root,[data-theme="light"]{--color-primary:#147d72;--color-primary-content:#fff;--color-secondary:#213249;--color-base-100:#fff;--color-base-200:#f5f7fa;--color-base-300:#e2e7ee;--color-base-content:#213249;--radius-box:1rem;--radius-field:.6rem;--radius-selector:.5rem}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.015em;background:#f5f7fa;color:#213249}
h1,h2,h3{letter-spacing:-.035em}a,button,input,select{touch-action:manipulation}::selection{background:#bde6db;color:#183c36}:focus-visible{outline:3px solid #147d72;outline-offset:4px}
.site-header{background:rgba(255,255,255,.96);border-bottom-color:#e6ebef}.site-header .navbar{height:76px}.site-header a>span.bg-primary{background:#213249;border-radius:11px;transform:rotate(-5deg)}
.btn{font-weight:600;box-shadow:none;letter-spacing:-.01em;border-radius:9px}.btn-primary{background:#147d72;border-color:#147d72;color:white}.btn-primary:hover{background:#0d625a;border-color:#0d625a}.btn-outline{border-color:#d2dbe3}.btn-ghost:hover{background:#eaf3f1}.card{border-color:#e2e7ee;border-radius:15px;box-shadow:0 3px 16px #21324904}.card-body{gap:.7rem}.table thead{background:#f6f8fa;color:#627185;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}.table th,.table td{padding:1rem 1.2rem}.table-zebra tbody tr:nth-child(even){background:#fbfcfd}.input,.select,.textarea{border-color:#dbe2e9;border-radius:9px}.badge{font-weight:550}.page-heading{margin-bottom:1.8rem}.page-heading h1{font-weight:650;font-size:clamp(1.8rem,3vw,2.35rem)}
.workspace-sidebar{background:#fff;padding:2rem 1.1rem;min-height:calc(100vh - 76px)}.workspace-label{font-size:.65rem;letter-spacing:.16em;color:#718093;padding:.2rem .8rem 1.3rem;font-weight:700}.workspace-navigation>.btn{justify-content:flex-start;color:#617083;min-height:46px;height:auto;padding:.8rem 1rem;margin-bottom:.25rem;font-size:.87rem;font-weight:550}.workspace-navigation>.btn svg{margin-right:.3rem;opacity:.85}.workspace-navigation>.menu-active{background:#e6f3ef;color:#11665d;box-shadow:inset 3px 0 #147d72}.workspace-navigation>.btn:hover{color:#11665d}
.eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.17em;color:#147d72}.landing-hero{display:grid;grid-template-columns:1.08fr 1fr;gap:4rem;align-items:center;padding:3.6rem 0 5rem}.hero-pill{display:inline-flex;align-items:center;gap:.6rem;border:1px solid #dce6e3;background:#eef6f3;border-radius:30px;padding:.55rem .8rem;color:#35675b;font-size:.72rem;font-weight:600}.hero-pill>span,.status-dot{width:6px;height:6px;background:#147d72;border-radius:50%;display:inline-block}.hero-copy h1{font-size:clamp(2.9rem,5vw,4.6rem);font-weight:650;line-height:1.07;letter-spacing:-.065em;margin:1.6rem 0}.hero-copy h1 em{color:#147d72;font-style:normal}.hero-copy>p{color:#667487;font-size:1rem;line-height:1.85;max-width:29rem}.hero-actions{display:flex;flex-wrap:wrap;gap:1.3rem;align-items:center;margin-top:1.9rem}.hero-actions .btn{height:49px;padding:0 1.2rem;gap:1.8rem}.hero-secondary{font-size:.78rem;font-weight:600}.hero-secondary:hover{text-decoration:underline}.hero-footnote{color:#738092;font-size:.72rem;margin-top:1.2rem}
.product-preview{border:1px solid #dee5e9;background:#fff;border-radius:19px;box-shadow:0 22px 65px #2132490d;transform:rotate(-1deg);overflow:hidden}.preview-top{padding:1rem 1.3rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9edf1;background:#fcfdfd}.preview-brand{font-weight:800;color:#147d72;font-size:1.05rem;display:flex;align-items:center;gap:.7rem}.preview-brand>span{font-size:.72rem;font-weight:600;color:#48576c}.preview-tag{font-size:.5rem;letter-spacing:.12em;color:#788698;border:1px solid #e3e9ee;padding:.25rem .4rem;border-radius:4px}.preview-body{padding:1.65rem}.preview-greeting{display:flex;align-items:center;justify-content:space-between}.preview-greeting h2{font-weight:650;font-size:1.25rem;margin-top:.4rem}.preview-sun{font-size:2.1rem;color:#bd9462}.preview-metrics{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1.5rem 0}.preview-metrics>div{padding:1.1rem .9rem;background:#f5f8fa;border:1px solid #edf0f3;border-radius:10px}.preview-metrics span{font-size:.7rem;color:#6c7b8c}.preview-metrics strong{display:block;font-size:1.25rem;font-weight:650;margin:.6rem 0 .4rem}.preview-metrics small{font-size:.6rem;color:#718092}.preview-invoice{display:flex;align-items:center;gap:.8rem;padding:1rem 0}.preview-document{border-radius:10px;background:#eaf4ee;color:#147d72;padding:.8rem 1rem}.preview-invoice strong{font-size:.75rem;font-weight:650}.preview-invoice p{font-size:.65rem;color:#748092;margin-top:.3rem}.preview-flow{display:flex;align-items:center;justify-content:space-between;gap:.3rem;border:1px solid #e5eaf0;border-radius:9px;padding:.8rem;font-size:.67rem;margin:.7rem 0 1.2rem}.preview-flow b{color:#a3afbb}.flow-paid{color:#147d72;font-weight:650;background:#e7f3ed;border-radius:5px;padding:.3rem .5rem}.preview-bottom{border-top:1px solid #edf0f3;padding-top:1rem;display:flex;align-items:center;gap:.5rem;color:#7a8796;font-size:.6rem}.preview-bottom>span:last-child{margin-left:auto}
.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;padding:2.5rem 0 3rem;border-top:1px solid #dfe5eb}.feature-number{font-size:.6rem;font-weight:700;letter-spacing:.15em;color:#147d72}.feature-strip h2{font-size:1.2rem;font-weight:650;margin:.8rem 0 .5rem}.feature-strip p{color:#738092;font-size:.8rem;line-height:1.8}.landing-footer{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #dfe5eb;padding:1.7rem 0;color:#7b8796;font-size:.7rem}.landing-footer strong{color:#435269}
.account-layout{max-width:1040px;margin:0 auto;padding:5rem 2rem;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6rem}.account-intro h1{font-size:clamp(2.6rem,4vw,3.4rem);line-height:1.12;font-weight:650;margin:1.1rem 0 1.5rem;letter-spacing:-.055em}.account-intro p{line-height:1.9;color:#6d7b8c;font-size:.95rem}.account-note{margin-top:2rem;border-top:1px solid #dce4e9;padding-top:1.3rem;color:#147d72;font-size:.75rem}.account-panel>.eyebrow{margin:0 0 1rem .2rem}.account-panel .card{box-shadow:0 12px 45px #21324908}.account-panel h1{font-size:1.8rem;font-weight:650;margin-bottom:1rem}.account-caption{text-align:center;font-size:.7rem;color:#7b8796;margin-top:1.4rem}.account-panel .card-body>p{line-height:1.7;color:#667487;font-size:.87rem}
@media(max-width:1023px){.landing-hero{gap:2rem}.account-layout{gap:3rem;padding-top:3rem}.workspace-navigation{max-height:60vh;overflow-y:auto}}
@media(max-width:767px){.landing-hero{grid-template-columns:1fr;padding:1.5rem 0 3rem;gap:2.5rem}.hero-copy h1{font-size:3.2rem}.product-preview{transform:none;max-width:480px;width:100%;margin:auto}.feature-strip{grid-template-columns:1fr;gap:1.6rem;padding:2rem 0}.feature-strip article{border-bottom:1px solid #e6ebef;padding-bottom:1.5rem}.feature-strip article:last-child{border:0}.account-layout{grid-template-columns:1fr;padding:2rem 1.25rem;gap:2rem;max-width:540px}.account-intro h1{font-size:2.3rem}.account-intro p,.account-note{display:none}.account-intro h1{margin-bottom:0}.landing-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep the account controls aligned with the sidebar breakpoint. */
.desktop-account{display:none}.mobile-account{display:block}
@media(min-width:1024px){.desktop-account{display:flex}.mobile-account{display:none}}
.financial-summary .card:first-child{border-top:3px solid #147d72}
.financial-summary .card:last-child{border-top:3px solid #bd9462}
.financial-summary .card h3{color:#6b798a;font-size:.75rem}
.financial-summary .card p{font-variant-numeric:tabular-nums}

.team-summary{display:grid;grid-template-columns:1fr auto auto;gap:3rem;align-items:center;padding:1.5rem 1.8rem;margin-bottom:1.5rem;background:#eaf3f0;border:1px solid #dceae4;border-radius:14px}.team-summary p{font-size:1rem;line-height:1.6;margin-top:.6rem;color:#536c66}.team-summary p strong{color:#244e44;font-weight:600}.team-count{display:flex;flex-direction:column;gap:.35rem}.team-count strong{font-size:2rem;line-height:1.2;font-weight:650;color:#244e44}.team-count span{color:#61766f;font-size:.7rem}.invite-title{display:flex;gap:1rem;align-items:center;margin-bottom:1rem}.invite-symbol{display:grid;place-items:center;background:#e9f4ef;color:#147d72;border-radius:11px;width:44px;height:44px;font-size:1.8rem;font-weight:300;flex-shrink:0}.invite-title p{font-size:.8rem;color:#748092;margin-top:.3rem}.invite-title .card-title{font-size:1.1rem}.member-identity{display:flex;gap:.8rem;align-items:center}.member-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eef2f7;color:#55677d;font-size:.8rem;font-weight:650;flex-shrink:0}.role-label{font-size:.75rem;padding:.3rem .6rem;border:1px solid #e0e6ed;border-radius:6px;background:#f9fafc}.team-invite form button[type=submit]{margin-top:0}
@media(max-width:640px){.team-summary{grid-template-columns:1fr 1fr;gap:1.3rem;padding:1.3rem}.team-summary>div:first-child{grid-column:1/-1}.team-count strong{font-size:1.6rem}.invite-title{align-items:flex-start}.invite-title .card-title{line-height:1.5}}

.brand-mark{display:block;width:38px;height:38px;flex-shrink:0}.preview-brand img{display:block;width:26px;height:26px;flex-shrink:0}

.brand-wordmark{display:block;width:174px;height:auto;max-height:74px;object-fit:contain;flex-shrink:0}@media(max-width:480px){.brand-wordmark{width:145px}}

.report-filter-grid,.report-total-grid{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.report-filter-grid button[type=submit]{margin:0}.report-total-grid{align-items:stretch}.report-total-grid strong{font-size:1.4rem;font-variant-numeric:tabular-nums}@media(max-width:639px){.report-filter-grid,.report-total-grid{grid-template-columns:1fr}}

/* Task-based navigation, with account details anchored below the links. */
.workspace-navigation{gap:2px}.workspace-navigation .workspace-label{padding:.25rem 1rem .65rem;margin:0;color:#7a8898;font-size:.61rem;letter-spacing:.15em}.workspace-navigation .nav-section-label{padding-top:1.25rem}.workspace-navigation>.btn{min-height:42px;padding:.65rem 1rem;margin-bottom:0;gap:.65rem;font-size:.84rem;border-radius:8px}.workspace-navigation>.btn svg{width:17px;height:17px;flex-shrink:0;margin:0}.sidebar-identity{display:flex;align-items:center;gap:.65rem;border-top:1px solid #e6ebef;margin-top:1.6rem;padding:1.1rem .6rem .3rem}.sidebar-avatar{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border-radius:10px;background:#eaf3f0;color:#147d72;font-size:.8rem;font-weight:650}.sidebar-identity>div{min-width:0}.sidebar-identity-label{font-size:.6rem;color:#83909f;margin-bottom:.2rem}.sidebar-email{font-size:.72rem;color:#536276;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1024px){.workspace-sidebar{position:sticky;top:76px;align-self:start;height:calc(100dvh - 76px);min-height:0;overflow-y:auto;padding:1.5rem 1rem 1rem}.workspace-sidebar .workspace-navigation{min-height:100%}.workspace-sidebar .sidebar-identity{margin-top:auto;padding-top:1rem}}

/* Workspace identity belongs at the top-left, before navigation. */
.workspace-navigation>.sidebar-identity{margin:0 0 1rem;padding:.35rem .8rem 1rem;border-top:0;border-bottom:1px solid #e6ebef;text-align:left;justify-content:flex-start}.workspace-navigation>.sidebar-identity .sidebar-email{font-weight:600}.workspace-navigation>.sidebar-identity .sidebar-identity-label{font-size:.65rem}.workspace-sidebar .workspace-navigation>.sidebar-identity{margin-top:0}

.workspace-shell{min-height:calc(100dvh - 76px);margin:0;max-width:none}.workspace-navbar{max-width:none}@media(min-width:1024px){.workspace-navbar{padding-left:1rem;padding-right:2rem}}

.pilot-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.pilot-checklist{margin:.5rem 0;padding:0;list-style:none}.pilot-checklist li{display:flex;align-items:center;gap:.8rem;border-top:1px solid #edf0f3;padding:1rem 0}.pilot-checklist li>div{flex:1}.pilot-checklist strong{display:block;font-size:.85rem;font-weight:600}.pilot-checklist li>div>span{font-size:.7rem;color:#788698}.pilot-check-indicator{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e0e6ed;border-radius:50%;color:#7c8896;flex-shrink:0}.pilot-check-indicator.is-complete{background:#e6f3ef;color:#147d72;border-color:#d3e9e0}.pilot-manual-check{display:flex;align-items:center;gap:.8rem;border-top:1px solid #edf0f3;padding:1rem 0}.pilot-manual-check label{display:flex;align-items:center;gap:.7rem;flex:1;font-size:.8rem}.pilot-manual-check button[type=submit]{width:auto;margin:0}.pilot-feedback-list{display:grid;gap:1rem}.pilot-feedback-status{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}.pilot-feedback-status button[type=submit]{width:auto;margin:0}.pilot-dashboard-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#eaf3f0;border:1px solid #d9e9e2;border-radius:12px;padding:1.2rem 1.4rem;margin-bottom:1.7rem}.pilot-dashboard-banner strong{font-size:.85rem}.pilot-dashboard-banner p{font-size:.75rem;color:#64796f;margin-top:.3rem}@media(max-width:767px){.pilot-layout{grid-template-columns:1fr}.pilot-dashboard-banner{align-items:flex-start;flex-direction:column}}

/* Small labels and help text need full contrast on the light workspace surfaces. */
.workspace-navigation .workspace-label,.sidebar-identity-label,.financial-summary .card h3,.pilot-checklist li>div>span,.invite-title p,.account-caption,.account-intro p,.text-base-content\/60,.label,.label-text,.label-text-alt,main form p .helptext{color:#536276}
.sidebar-avatar,.pilot-check-indicator.is-complete,.eyebrow,.invite-symbol{color:#11665d}
.pilot-dashboard-banner p,.team-count span{color:#4f665b}
.badge-success.badge-outline{color:#11665d;border-color:#147d72}
.text-error,.errorlist,.badge-error.badge-outline{color:#b42332}
