/* PASSFILE v9.4 — consistent, deliberately minimal presentation.
   Styling only: no changes to file-processing, AI, validation or upload logic. */
:root{color-scheme:light;--pf-text:#17253b;--pf-secondary:#5e6d80;--pf-line:#dfe5ee;--pf-surface:#fff;--pf-background:#f7f9fc;--pf-blue:#245bd7;--pf-soft:#f0f4fa}
html{scroll-behavior:smooth}
body,body.pf-clean,body.pf-clean-smart,body.pf-clean-ai,body.pf-clean-legal{background:var(--pf-background)!important;color:var(--pf-text)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
body::before,body:before{display:none!important;content:none!important;background:none!important}
body.pf-clean,body.pf-clean-smart,body.pf-clean-ai,body.pf-clean-legal{isolation:auto!important}
a{color:#2454bc}
header{min-height:75px;padding:18px 0!important;border-bottom:1px solid var(--pf-line);gap:15px!important}
header .logo,header .brand,header .logo b,header .brand b,header a.logo,header a.brand{color:var(--pf-text)!important;text-decoration:none!important;letter-spacing:-.045em;font-weight:800}
header .logo span,header .brand b,header .logo b{color:var(--pf-blue)!important}
header .topnav{gap:16px}
header .topnav a,header .back{color:#526176!important;text-decoration:none!important;font-size:13px!important;font-weight:600}
header .topnav a:hover,header .back:hover{color:var(--pf-blue)!important}
header .back{background:transparent!important;border:0!important;padding:7px 0!important}
header .privacy{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;font-size:12px!important;line-height:1.3;color:var(--pf-secondary)!important;font-weight:500!important}
header .pf-lang-wrap,header .pf-lang-wrap label,.pf-lang-wrap label,main>.pf-lang-wrap{color:#53657c!important;font-weight:600!important}
.pf-lang-wrap select{border:1px solid #d4dce7!important;background:white!important;color:#24354d!important;border-radius:8px!important;min-height:39px!important;box-shadow:none!important;font-size:12px!important;padding:8px 10px!important}
.hero{margin:30px 0 20px!important;color:var(--pf-text)!important}
.hero h1{font-size:clamp(32px,5vw,54px)!important;letter-spacing:-.045em!important;line-height:1.12!important;margin:10px 0 15px!important;max-width:930px!important;color:var(--pf-text)!important;font-weight:750!important}
.hero p,.hero .lead{color:var(--pf-secondary)!important;font-size:16px!important;line-height:1.65!important;max-width:770px!important}
.hero .eyebrow,.hero small,.pf-growth-kicker{display:none!important}
.pf-growth-home .hero{margin-top:37px!important}
.pf-growth-home .hero h1{max-width:940px!important}
/* The primary user action: plain form, no decorative progress badge or accent stripe. */
.pf-intent{background:#fff!important;border:1px solid var(--pf-line)!important;border-radius:16px!important;box-shadow:none!important;padding:clamp(20px,3.6vw,34px)!important;margin:23px 0 38px!important;overflow:visible!important;color:var(--pf-text)!important}
.pf-intent::before,.pf-intent:before,.pf-intent-step{display:none!important;content:none!important}
.pf-intent-head{margin-bottom:22px!important}
.pf-intent-head h2{font-size:clamp(23px,3vw,30px)!important;color:var(--pf-text)!important;letter-spacing:-.035em!important}
.pf-intent-head p{color:var(--pf-secondary)!important}
.pf-intent-kicker{display:none!important}
.pf-intent-label,.pf-intent-upload-head strong{color:#263750!important}
.pf-intent textarea{background:#fff!important;border:1px solid #bcc8d8!important;border-radius:9px!important;box-shadow:none!important;color:var(--pf-text)!important;padding:14px!important;min-height:107px!important}
.pf-intent textarea:focus{outline:3px solid #e1eafd!important;border-color:var(--pf-blue)!important}
.pf-intent-chip,.pf-intent-filetools button{background:#fff!important;color:#2e527f!important;border:1px solid #d7dfe9!important;border-radius:8px!important;font-weight:600!important;box-shadow:none!important}
.pf-intent-chip:hover,.pf-intent-filetools button:hover{background:var(--pf-soft)!important}
.pf-intent-chip[aria-pressed=true]{background:#eaf1fc!important;color:#1f4fa4!important;border-color:#90b2e4!important}
.pf-intent-upload{background:#fbfcfe!important;border:1px dashed #abbacc!important;border-radius:10px!important;box-shadow:none!important;padding:20px 17px!important;min-height:70px!important;gap:12px!important}
.pf-intent-upload:hover{background:#f4f7fb!important;border-color:var(--pf-blue)!important}
.pf-intent-upload-icon,.pf-intent-upload-action{display:none!important}
.pf-intent-filetools button{font-size:12px!important}
.pf-intent-submit,.primary,.btn:not(.alt):not(.dl),.actions button:not(:disabled),button.primary{background:var(--pf-blue)!important;color:white!important;border:1px solid var(--pf-blue)!important;box-shadow:none!important;border-radius:9px!important;font-weight:700!important;transition:background .15s ease!important}
.pf-intent-submit:hover,.primary:hover,.btn:not(.alt):not(.dl):hover{background:#1745ac!important}
.pf-intent-submit span{font-size:16px!important}
.pf-intent-bar p{color:var(--pf-secondary)!important}
.pf-intent-profile,.pf-intent-batch,.pf-intent-result,.pf-intent-status{border:1px solid var(--pf-line)!important;border-radius:10px!important;background:#f8fafc!important;box-shadow:none!important}
.pf-intent-profile{color:#36506a!important}
.pf-intent-status[data-kind=good],.pf-intent-report .pf-check-ok{background:#edf8f2!important;border-color:#b4dfc9!important;color:#17603d!important}
.pf-intent-status[data-kind=bad],.pf-intent-report .pf-check-fail{background:#fff3f1!important;border-color:#eccac4!important;color:#873b33!important}
.pf-intent-download,.download,.btn.dl{background:var(--pf-blue)!important;color:#fff!important;border:1px solid var(--pf-blue)!important;border-radius:8px!important;box-shadow:none!important;text-decoration:none!important;font-weight:700!important}
.pf-intent-report span{border-radius:6px!important}
.pf-intent-batch-table{border-color:var(--pf-line)!important}
.pf-intent-batch th{background:#f1f4f8!important;color:#425875!important}
/* The sample is useful, but it should feel subordinate to the real form. */
.pf-growth{background:#fff!important;color:var(--pf-text)!important;box-shadow:none!important;border:1px solid var(--pf-line)!important;border-radius:16px!important;gap:28px!important;padding:clamp(20px,3vw,31px)!important;margin:29px 0 34px!important}
.pf-growth-text h2{color:var(--pf-text)!important;font-size:clamp(22px,3vw,29px)!important}
.pf-growth-text p{color:var(--pf-secondary)!important}
.pf-growth-card{background:#f9fbfe!important;border:1px solid var(--pf-line)!important;box-shadow:none!important;border-radius:12px!important}
.pf-growth-main-link{background:var(--pf-blue)!important;color:#fff!important;border-radius:8px!important}
.pf-growth-sub-link{color:var(--pf-blue)!important}
.pf-demo-auto-pill,.pf-demo-success-icon{display:none!important}
.pf-growth-card-head>span:first-child{padding-right:0!important}
.pf-growth-card[data-phase=fix] .pf-growth-after::after{display:none!important}
.pf-demo-progress span{background:var(--pf-blue)!important}
.pf-demo-step-indicator{border-radius:5px!important}
.pf-demo-stages .pf-step-current .pf-demo-step-indicator{box-shadow:none!important}
/* Reusable panels, navigation, cards, tool controls. */
.panel,.toolnav,.subnav,.ai-feature{border:1px solid var(--pf-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;color:var(--pf-text)!important}
.panel{padding:clamp(19px,3vw,28px)!important}
.panel h2,.ai-feature h2,.toolnav h2,.guide h2,.below h3{color:var(--pf-text)!important;letter-spacing:-.025em!important}
.panel p,.guide p,.below p,.ai-feature p{color:var(--pf-secondary)!important}
.tabs{border-bottom:1px solid var(--pf-line)!important;gap:8px!important;margin-bottom:17px!important}
.tab{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:#53657b!important;font-weight:650!important;padding:11px 16px!important}
.tab[aria-selected=true]{background:transparent!important;border-color:var(--pf-blue)!important;color:var(--pf-blue)!important}
.drop,.upload{background:#fbfcfe!important;border:1px dashed #acbaca!important;border-radius:10px!important;box-shadow:none!important}
.drop:hover,.upload:hover{background:#f2f6fb!important;border-color:var(--pf-blue)!important}
label{color:#2b3d55!important}
label input:not([type=checkbox]),label select,.panel textarea{border-radius:8px!important;box-shadow:none!important;border-color:#cbd5e1!important}
.preview,.results>div,.preview-card,.pack-option,.pf-specs,.pf-spec-grid>div{background:#f8fafc!important;border-radius:10px!important;box-shadow:none!important}
.pf-specs{border:1px solid var(--pf-line)!important}
.pf-spec-grid>div{background:#fff!important;border:1px solid #edf0f4!important}
.pf-preset-btn{box-shadow:none!important;border-radius:8px!important}
.notice,.alert{background:#fffaf1!important;border:1px solid #ecdfc2!important;border-radius:9px!important;color:#765824!important}
.message,.msg{border-radius:9px!important}
.message.good,.msg.success{background:#eaf7f0!important;color:#15663f!important}
.message.bad,.msg.error{background:#fff0ed!important;color:#913d32!important}
.secondary,.btn.alt,.subnav a,.toolnav-link{background:#f5f7fa!important;color:#36506c!important;border:1px solid #dfe5ed!important;border-radius:8px!important;box-shadow:none!important}
.subnav{gap:9px!important;padding:12px!important}
.subnav a{font-weight:600!important}
.toolnav{padding:20px!important}
.toolnav-list{gap:8px!important}
.toolnav-link{font-weight:600!important}
.ai-feature{padding:21px 23px!important;margin:15px 0!important}
.ai-feature h2{font-size:20px!important}
.ai-feature a{border-radius:8px!important;background:#f2f5fb!important;color:var(--pf-blue)!important;border:1px solid #e1e7f0!important;box-shadow:none!important}
footer,.footer{color:#6d7989!important;padding:22px 0 32px!important;font-size:12px!important;background:transparent!important;border-top:1px solid var(--pf-line)!important}
footer a,.footer a{color:#49617e!important}
/* File Doctor & Marketplace are no longer photographic landing pages. */
body.pf-clean-smart .hero h1,body.pf-clean-smart .hero p{color:var(--pf-text)!important}
body.pf-clean-smart .hero{margin:29px 0 25px!important}
body.pf-clean-smart .panel{margin:16px 0!important}
body.pf-clean-smart .topnav a:focus-visible{outline:2px solid var(--pf-blue);outline-offset:5px}
/* AI works differently from local tools: preserve its clearly worded privacy warning. */
body.pf-clean-ai .hero h1,body.pf-clean-ai .hero p{color:var(--pf-text)!important}
body.pf-clean-ai .panel{margin:16px 0!important}
body.pf-clean-ai .privacy{background:#f2f5f9!important;color:#405672!important;border:1px solid var(--pf-line)!important;box-shadow:none!important}
body.pf-clean-ai .limitations{background:#fff9ee!important;color:#72552d!important;border:1px solid #f0e0bd!important;box-shadow:none!important}
body.pf-clean-ai nav[style]{background:#fff!important;border:1px solid var(--pf-line)!important;border-radius:10px!important}
/* Legal document: same typography and background, no photographic backdrop. */
body.pf-clean-legal main{background:#fff!important;color:var(--pf-text)!important;box-shadow:none!important;border:1px solid var(--pf-line)!important;border-radius:14px!important;padding:clamp(23px,4vw,42px)!important;margin:34px auto!important;max-width:820px!important;width:calc(100% - 32px)!important;line-height:1.7!important}
body.pf-clean-legal main h1{font-size:clamp(28px,4vw,40px)!important;letter-spacing:-.035em!important;color:var(--pf-text)!important;line-height:1.2!important}
body.pf-clean-legal main h2{font-size:21px!important;margin-top:30px!important;color:var(--pf-text)!important}
body.pf-clean-legal main p,body.pf-clean-legal main li{color:#4d5f76!important}
body.pf-clean-legal main>.pf-lang-wrap{margin-bottom:20px!important}
body.pf-clean-legal main>.pf-lang-wrap label{color:#51627a!important}
/* Never hide errors, control labels, verification outcomes, or legal disclosures. */
:focus-visible{outline:3px solid #a1c1f4!important;outline-offset:2px}
@media(max-width:760px){header{flex-wrap:wrap!important;gap:10px!important;min-height:0!important}header .topnav{order:3;flex-basis:100%;gap:13px!important}header .privacy{order:3;flex-basis:100%;text-align:left!important;max-width:none!important}header .pf-lang-wrap{margin-left:auto!important}body.pf-clean-smart header .pf-lang-wrap{margin-left:0!important}.hero{margin-top:23px!important}.hero h1{font-size:clamp(30px,7vw,42px)!important}.pf-growth{grid-template-columns:1fr!important}.pf-growth-links{gap:8px!important}.pf-intent{margin:16px 0 24px!important}.pf-intent-bar{align-items:stretch!important}.pf-intent-bar p{line-height:1.5}.ai-feature{flex-wrap:wrap!important}.ai-feature a{width:100%;text-align:center!important}.pf-intent-batch table{min-width:430px}}
@media(max-width:450px){header .topnav{gap:11px!important}header .topnav a{font-size:12px!important}header .privacy{font-size:11px!important}body.pf-clean-legal main{padding:21px!important;margin:16px auto!important}.tab{padding:11px 9px!important}.pf-intent{padding:19px!important}.pf-growth{padding:18px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pf-intent-submit{transition:none!important}}

/* Editorial/supporting content uses the same restrained surface as the tools. */
.below,.guide{background:#fff!important;border:1px solid var(--pf-line)!important;border-radius:14px!important;padding:22px 25px!important;box-shadow:none!important}
.pf-growth-home .below,.pf-growth-home .guide{margin:21px 0!important}
.pf-growth-home .ai-feature a:hover,.pf-growth-home .toolnav-link:hover{background:#e9eff8!important}
body.pf-clean .pf-lang-wrap select,body.pf-clean-smart .pf-lang-wrap select{box-shadow:none!important}
