/* Studio H card system — one set of surfaces, type and spacing across workspace pages. */
:root{--card-forest:#173e34;--card-lime:#dcf3a6;--card-purple:#e8e2f5;--card-purple-strong:#ad97d2;--card-white:#fff;--card-ink:#263b32;--card-muted:#627568;--card-canvas:#f3f5ef}
@media screen{
:root,body,#sh-v2,#sh-v2[data-theme],#firm-app{--green:var(--card-forest)!important;--sage:#e5eedb!important;--blue:#e7f1f6!important;--pink:#f6ebee!important;--paper:var(--card-canvas)!important;--white:var(--card-white)!important;--ink:var(--card-ink)!important;--muted:var(--card-muted)!important;--sub:var(--card-muted)!important;--ground:var(--card-canvas)!important;--theme-hero:#e5eedb!important;--theme-selection:var(--card-forest)!important;--theme-selectiontext:#fff!important;--theme-rail:#f8faf5!important;--theme-railtext:var(--card-ink)!important;--theme-raillabel:var(--card-muted)!important;--theme-railwell:#e5eedb!important;color-scheme:light}
body:has(#sh-v2){background:#e8ede3!important}html:has(#firm-app),body#firm-app{background:var(--card-canvas)!important}
:is(#sh-v2,#firm-app,body) :is(.w-card,.card,.fn-card,.step-card,.catalog-card,.library-preview-card,.reference-card,.hero-card,.tm-card,.side-card,.scope-card,.plant-record-card,.week-card,.update-card,.next-card,.panel,.metric,.tm-a1-stat){border:0!important;border-radius:22px!important;box-shadow:none!important;background:var(--card-white);color:var(--card-ink);min-width:0}
:is(#sh-v2,#firm-app,body) :is(.w-card,.card,.fn-card,.step-card,.tm-card,.panel){padding:24px}
:is(#sh-v2,#firm-app,body) :is(.w-card,.card,.fn-card,.step-card,.tm-card,.panel) h2{font-size:18px;font-weight:650;letter-spacing:-.4px;line-height:1.35}
:is(#sh-v2,#firm-app,body) :is(.blue,.pink,.lavender,.lilac){background:#e7eee2!important;color:var(--card-ink)!important;border:0!important}
:is(#sh-v2,#firm-app,body) :is(.sage,.lime,.green-soft){background:#e5eedb!important;color:var(--card-ink)!important;border:0!important}
:is(#sh-v2,#firm-app,body) :is(.w-metrics,.fn-metrics,.tm-metrics)>div{border:0!important;border-radius:18px;background:var(--card-white);padding:21px}
:is(#sh-v2,#firm-app,body) :is(.w-metrics,.fn-metrics,.tm-metrics,.metric) strong{font-size:clamp(26px,2.6vw,40px);font-weight:600;letter-spacing:-1px;line-height:1.2;font-variant-numeric:tabular-nums}
:is(#sh-v2,#firm-app,body) :is(.metric,.w-card,.card,.fn-card,.panel) small{font-size:12px;line-height:1.5}
:is(#sh-v2,#firm-app,body) :is(.card-art,.w-line,.recap-stat){background:#e8eedf;border:0!important;border-radius:15px}
:is(#sh-v2,#firm-app,body) :is(.card-art.blue,.card-art.pink){background:#e7eee2!important}
:is(#sh-v2,#firm-app,body) :is(.section-actions,.fn-actions,.actions,.card-footer){gap:12px}
:is(#sh-v2,#firm-app,body) :is(.w-grid,.overview-cards,.card-shelf,.tm-metrics,.fn-metrics){gap:22px}
:is(#sh-v2,#firm-app,body) :is(.primary,button.action,a.action){background:var(--card-forest);color:#fff;border:0!important;box-shadow:none!important;border-radius:12px}
:is(#sh-v2,#firm-app,body) button{border:0;box-shadow:none}button:focus-visible,a:focus-visible{outline:3px solid #856daf;outline-offset:3px}
:is(#sh-v2,#firm-app,body) :is(.blue,.pink,.sage,.lime,.lavender,.lilac,.card-art,.w-line) :is(.line,.row,.card-footer){border:0!important;box-shadow:none!important}
:is(#sh-v2,#firm-app,body) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:#fff;color:var(--card-ink);border-color:#dce3d9;border-radius:11px}
#firm-app .chrome{border:0!important;background:transparent!important}#firm-app .line{border-bottom:0}#firm-app .panel+.panel{margin-top:24px}
@media(max-width:600px){:is(#sh-v2,#firm-app,body) :is(.w-card,.card,.fn-card,.step-card,.tm-card,.panel){padding:18px}:is(#sh-v2,#firm-app,body) :is(.w-grid,.overview-cards,.card-shelf,.tm-metrics,.fn-metrics){gap:16px}}
}
@media screen{
#sh-v2 #v2-project-home :is(.card,.visual-recap),#sh-v2[data-theme] #v2-project-home :is(.card,.visual-recap),#sh-v2[data-theme] #v2-setup :is(.step-card,.reference-card,.next-step),#sh-v2 #finance .step-card{background:var(--card-white)!important;color:var(--card-ink)!important;border-radius:22px!important}
#sh-v2 #v2-project-home :is(.top-r,.visual-recap-wrap),#sh-v2 .w-hero{background:#e5eedb!important;border:0!important;border-radius:22px!important}
#sh-v2 #v2-project-home :is(.blue,.middle,.strong-deadline,.card-shelf>.update-card),#sh-v2 #finance :is(.card-art.blue,.card-art.blush),#sh-v2[data-theme] #v2-project-home :is(.blue,.middle,.strong-deadline){background:#e7eee2!important;color:var(--card-ink)!important;border:0!important}
#sh-v2 #finance .card-art.sage{background:#e5eedb!important}
#sh-v2 #v2-project-home .strong-deadline>.deadline-link{border:0!important}
#sh-v2 #v2-project-home .recap-stat strong{color:var(--card-forest)!important}
#sh-v2 #v2-project-home .stat-track i{background:#78916e!important}
#sh-v2 #v2-project-home .dark{background:var(--card-forest)!important;color:white!important}
#sh-v2 #v2-project-home .dark :is(p,small,.eyebrow,button){color:#d2e5d9!important}
#sh-v2 #finance .w-card .action{background:var(--card-forest)!important;color:white!important}
#sh-v2[data-theme] #v2-setup :is(p,small,.overall,.eyebrow,.card-footer,.setup-placeholder,.help-note){color:var(--card-muted)!important}
body :is(.cost-net,.cost-total-strip,.cost-group-total){background:#e7eee2!important;color:var(--card-ink)!important;border:0!important}
body .cost-choice.selected{background:#e5eedb!important;border:0!important}
body :is(.note,.cost-meta>span,.segmented){border:0!important;border-radius:12px}
}
@media screen{
:root,body,#sh-v2,#sh-v2[data-theme]{--soft:#e5eedb!important;--sky:#53715c!important;--blush:#f6ebee!important;--card:var(--card-white)!important;--tx:var(--card-ink)!important}
body :is(button,.btn,.fee){border:0!important;box-shadow:none!important}
body:has(.cost-workspace) .nav a.active,body:has(.cost-workspace) .expense-item.active,body:has(.cost-workspace) .expense-item.selected{background:#e7eee2!important;color:var(--card-ink)!important}
body:has(.cost-workspace) .note{background:#eaf0e4!important;color:var(--card-ink)!important}
}

#sh-v2 #finance #tabs{background:transparent!important;border-radius:16px!important}#sh-v2 #finance .card-top{border-radius:14px}

@media screen{:is(#sh-v2,#firm-app,body) :is(.w-card,.card,.fn-card,.step-card,.catalog-card,.library-preview-card,.reference-card,.hero-card,.tm-card,.side-card,.scope-card,.plant-record-card,.week-card,.update-card,.next-card,.panel,.metric,.tm-a1-stat,.visual-recap,.next-step,.upload-card),body :is(.w-metrics,.fn-metrics,.tm-metrics)>div{border:0!important;box-shadow:none!important}}