@font-face{font-family:'Plus Jakarta Sans';src:url('/body-font.woff') format('woff');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'DM Serif Display';src:url('/serif-font.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
body.subpage-theme{--ink:#233644;--muted:#4d5860;--accent:#315f80;--olive:#315f80;--rust:#716247;--sage:#edf3f7;--peach:#f3ead8;--moss:#e6edf0;--paper:#fff;--card:#fff;--soft:#f3f7fa;--highlight:#f6f0e4;--line:#dce2e5;margin:0;background:#fff;color:#233644;font-family:'Plus Jakarta Sans',Arial,sans-serif;font-size:16px;line-height:1.7}
.subpage-theme *{box-sizing:border-box}
.subpage-theme :is(h1,h2,h3){font-family:'DM Serif Display',Georgia,serif!important;font-weight:400!important;text-transform:none!important;letter-spacing:-.025em;color:#716247!important;line-height:1.18}
.subpage-theme h1{font-size:clamp(2rem,4vw,2.75rem)!important}
.subpage-theme h2{font-size:1.75rem!important}
.subpage-theme h3{font-size:1.3rem!important}
.subpage-theme :is(p,li,label,summary){overflow-wrap:break-word}
.subpage-theme :is(a,button,input,select,textarea):focus-visible{outline:3px solid #315f80;outline-offset:4px}
.subpage-theme a{color:#315f80;text-underline-offset:4px}
.subpage-theme :is(.site-header,.portal-header){background:#fff;border-bottom:1px solid #dce2e5;box-shadow:none}
.subpage-theme .brand-logo{height:auto;object-fit:contain}
.subpage-theme :is(.eyebrow,.portal-kicker,.materials-eyebrow){color:#315f80;font-family:'Plus Jakarta Sans',Arial,sans-serif;font-weight:600;letter-spacing:.035em;font-size:.875rem}
.subpage-theme :is(button,.button){font-family:'Plus Jakarta Sans',Arial,sans-serif;font-size:1rem;font-weight:600;line-height:1.5;min-height:48px;padding:12px 18px;border:1px solid #315f80;border-radius:6px;background:#315f80;color:#fff;cursor:pointer;text-decoration:none;white-space:normal;max-width:100%}
.subpage-theme :is(button,.button):hover{background:#244b68;border-color:#244b68;color:#fff}
.subpage-theme :is(button,.button):disabled{opacity:.6;cursor:not-allowed}
.subpage-theme :is(.step-back,.quiet-button,.button.secondary,.button.outline,#previous-part,#all-parts){background:#fff;color:#315f80;border-color:#c4d1da}
.subpage-theme :is(.step-back,.quiet-button,.button.secondary,.button.outline,#previous-part,#all-parts):hover{background:#edf3f7;color:#244b68}
.subpage-theme :is(button.danger,.button.danger,.delete-button){background:#9b4137;border-color:#9b4137;color:#fff}
.subpage-theme :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]),select,textarea){font:400 1rem/1.5 'Plus Jakarta Sans',Arial,sans-serif;color:#233644;background:#fff;border:1px solid #b9c7d0;border-radius:6px;padding:12px;min-height:48px;max-width:100%}
.subpage-theme textarea{resize:vertical}
.subpage-theme :is(input[type=radio],input[type=checkbox],progress){accent-color:#315f80}
.subpage-theme input[type=checkbox],.subpage-theme input[type=radio]{flex-shrink:0}
.subpage-theme :is(input,textarea,select)[aria-invalid=true]{border-color:#a43c31;outline-color:#a43c31}
.subpage-theme input[type=file]{width:100%;overflow:hidden}
.subpage-theme input[type=file]::file-selector-button{font:600 .9375rem 'Plus Jakarta Sans',Arial,sans-serif;background:#edf3f7;color:#315f80;border:1px solid #c4d1da;border-radius:4px;padding:8px 12px;margin-right:12px;cursor:pointer}
.subpage-theme .client-form fieldset{border:1px solid #dce2e5;border-top:3px solid #6289a6;border-radius:12px;background:#fff;box-shadow:0 8px 24px #23364406;padding:28px}
.subpage-theme .client-form legend{font:400 1.6rem/1.25 'DM Serif Display',Georgia,serif;color:#716247;padding-inline:8px;max-width:100%}
.subpage-theme :is(.field-grid,.intake-grid) label{font-size:1rem;line-height:1.5;color:#233644}
.subpage-theme :is(.form-footnote,.field-label small,.materials-question){color:#4d5860;line-height:1.7}
.subpage-theme .form-footnote{font-size:.9375rem}
.subpage-theme .form-intro{margin-bottom:32px}
.subpage-theme .form-intro>p:not(.eyebrow){color:#4d5860;font-size:1rem;line-height:1.75}
.subpage-theme .form-progress>span{background:#e5ebef}
.subpage-theme .form-progress i{background:#315f80}
.subpage-theme .choice-grid label span{border-color:#cbd5dc;background:#fff;border-radius:8px;color:#233644}
.subpage-theme .choice-grid input:checked+span{background:#edf4fa;border-color:#315f80;box-shadow:0 0 0 1px #315f80;color:#233644}
.subpage-theme .choice-grid input:focus-visible+span{outline:3px solid #315f80;outline-offset:4px}
.subpage-theme .check-grid label{border-color:#dce2e5;border-radius:8px;background:#fff;color:#233644}
.subpage-theme :is(.conditional-video,.known-data,.project-hero,.delivery-note,.client-next-step,.intake-navigation,.intake-preview-bar,.materials-preview-bar,.toolbar,.process-guide){background:#f3f7fa;border:1px solid #d5e1e9;border-radius:10px;color:#233644}
.subpage-theme .conditional-video{border-left:3px solid #b4975e}
.subpage-theme :is(.intake-form section,#sections article,.case-card,.upload-box){background:#fff;border-color:#dce2e5;border-radius:10px;box-shadow:0 6px 22px #23364405}
.subpage-theme :is(.intake-form section h2,.known-data h2,#sections h2){font-size:1.65rem!important}
.subpage-theme :is(.intake-navigation #next-part,.intake-navigation #save-draft-top){background:#315f80;border-color:#315f80;color:#fff}
.subpage-theme :is(.materials-preview-bar nav a,.document-nav a){color:#315f80;border-color:#c4d1da;border-radius:6px}
.subpage-theme :is(.materials-preview-bar nav a[aria-current=page],.document-nav .active){background:#edf3f7;color:#244b68;border-color:#6289a6}
.subpage-theme .launch-notice{background:#f3f7fa;color:#315f80;border-color:#dce2e5}
.subpage-theme .submission-status{border-radius:8px;padding:18px;line-height:1.7;overflow-wrap:anywhere}
.subpage-theme .submission-success{background:#edf5ee;color:#284c32;border:1px solid #c2d7c7}
.subpage-theme :is(.access-row,#status,#access-status,#save-status){overflow-wrap:anywhere}
.subpage-theme .legal-page{line-height:1.8}
.subpage-theme .legal-page h2{font-size:1.45rem!important;margin-top:32px}
.subpage-theme .legal-page h3{font-size:1.2rem!important}
.subpage-theme .legal-page :is(input,textarea,select){font-size:1rem}
.subpage-theme .legal-page .withdrawal-form{padding:24px;border:1px solid #dce2e5;border-top:3px solid #b4975e;border-radius:10px;background:#fff}
.subpage-theme .simple-footer{color:#4d5860;border-top:1px solid #dce2e5;padding:24px 20px;line-height:1.7}
@media(max-width:700px){
 .subpage-theme :is(.toolbar,.editor-grid,.settings-grid,.sales-layout,.fields){grid-template-columns:minmax(0,1fr)}
 .subpage-theme :is(.toolbar,.case-heading,.actions,.step-actions,.header-actions){flex-wrap:wrap}
 .subpage-theme .case-heading{flex-direction:column}
 .subpage-theme .form-page{padding-top:32px}
 .subpage-theme .client-form fieldset{padding:20px 16px}
 .subpage-theme .client-form legend{font-size:1.45rem}
 .subpage-theme .form-intro h1{font-size:2rem!important}
 .subpage-theme .legal-page .withdrawal-form{padding:20px 16px}
 .subpage-theme .portal-header{position:relative;gap:16px;flex-wrap:wrap;padding:16px 20px}
 .subpage-theme .portal-header .quiet-button{min-height:44px}
 .subpage-theme .intake-shell{padding-inline:0;width:calc(100% - 40px);margin-inline:auto}
 .subpage-theme :is(.access-row,.form-final){flex-wrap:wrap}
 .subpage-theme .access-row button{width:100%}
 .subpage-theme .access-row input{width:100%;flex-basis:100%}
 .subpage-theme .step-actions .button{flex:1 1 120px}
 .subpage-theme .badge{white-space:normal}
}
@media print{
 body.subpage-theme{background:#fff;color:#000;font-size:11pt}
 .subpage-theme h1{font-size:24pt!important}
 .subpage-theme h2{font-size:15pt!important}
 .subpage-theme h3{font-size:12pt!important}
 .subpage-theme :is(.conditional-video,.known-data,.project-hero,.delivery-note){box-shadow:none;background:#fff}
}
/* Loaded delivery and owner screens retain the same palette as their entry screens. */
body.subpage-theme[data-package]{--package-bg:#f3f7fa;--package-accent:#6289a6;--ink:#233644;--muted:#4d5860;--line:#dce2e5;--material-blue:#edf3f7;--material-coral:#e6d3af}
body.subpage-theme[data-package=kompletny]{--package-accent:#b4975e}
body.subpage-theme[data-package] :is(.portal-header,#summary){background:#fff}
body.subpage-theme[data-package] #sections article{background:#fff;border-color:#dce2e5}
body.subpage-theme[data-package] #sections :is(.section-listing,.section-social){border-top-color:var(--package-accent)}
body.subpage-theme[data-package] #download-information{background:#f3f7fa;border:1px solid #d5e1e9;border-left:3px solid var(--package-accent);border-radius:10px;color:#233644}
body.subpage-theme[data-package] .copy-controls .material-copy{background:#315f80;color:#fff}
body.subpage-theme #sections-nav a,body.subpage-theme #section-menu>summary{font-family:'Plus Jakarta Sans',Arial,sans-serif;font-size:1rem;line-height:1.5;letter-spacing:0;text-transform:none;color:#315f80}
body.subpage-theme :is(.client-next-step a,#case-info,#file-review-list a){color:#315f80}
body.subpage-theme :is(#close-form,#reload-saved,#publish,#upload-settings button){background:#315f80;border-color:#315f80;color:#fff}
body.subpage-theme #publication{border-left-color:#b4975e}
@media print{
 body.subpage-theme[data-package] .materials-intro{background:#fff;border-bottom:2pt solid #6289a6}
 body.subpage-theme[data-package] #sections h2{background:#f3f7fa;border-left-color:#b4975e}
 body.subpage-theme[data-package] #download-information{background:#fff;border-left-color:#b4975e}
 body.subpage-theme[data-package] #sections article{border:0;background:#fff}
}
body.subpage-theme a.primary{display:inline-block;background:#315f80;border-color:#315f80;color:#fff;font:600 1rem/1.5 'Plus Jakarta Sans',Arial,sans-serif;min-height:48px;padding:12px 18px;border-radius:6px}
body.subpage-theme a.primary:hover{background:#244b68}
body.subpage-theme .next-step{background:#f3f7fa;border-left-color:#b4975e;color:#233644}
body.subpage-theme summary{color:#233644}
body.subpage-theme :is(.case-meta,.case-heading p,#count,.case-card dt,.case-card small){color:#4d5860}
body.subpage-theme :is(.badge.work,.badge.instructions){background:#edf3f7;color:#315f80}
