#modal:has(.sf-layout){width:min(1050px,calc(100vw - 24px));max-width:1050px}.sf-head{padding:22px;background:#eaf5f2;border-radius:15px;margin-bottom:20px}.sf-head h2{margin:10px 0}.sf-head p{font-size:18px;color:#135e55}.sf-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:24px}.sf-layout aside{align-self:start;padding:18px;background:#f6f8fa;border-radius:14px}.sf-contact{overflow-wrap:anywhere}.sf-contact h3{margin:8px 0}.sf-contact small{letter-spacing:.08em;color:#627783;font-size:11px}.sf-contact p{line-height:1.6}.sf-step{padding:20px;border:1px solid #dfe7e9;border-radius:14px;margin-bottom:14px;background:#fff}.sf-step-title{display:flex;align-items:center;gap:12px;margin-bottom:14px}.sf-step-title span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#e9eff4;color:#355467;font-weight:700}.sf-step-title h3{font-size:16px;margin:0}.sf-complete .sf-step-title span{background:#d6eee1;color:#206142}.sf-done{color:#20734b;font-size:13px}.sf-step details{margin-top:16px}.sf-step summary{cursor:pointer}.sf-step label{display:grid;gap:6px}.sf-step .form-grid{margin-top:12px;gap:12px}#sf-transport-fields{display:grid;gap:12px}.sf-step .btn{min-height:44px}.sf-step .note-box{font-size:13px;line-height:1.6}@media(max-width:720px){.sf-layout{grid-template-columns:1fr;gap:14px}.sf-head,.sf-step{padding:16px}.sf-head p{font-size:16px}.sf-step .btn{width:100%;white-space:normal}.sf-layout aside{position:static}}
.sf-head{padding:16px 20px}.sf-head p{margin:8px 0}.sf-head .source-hint{font-size:12px}.sf-head h2{font-size:20px;margin:12px 0 6px}.sf-step-title strong{flex:1}.sf-step-title small{font-size:11px;color:#71848c}.sf-step[open] .sf-step-title small{visibility:hidden}.sf-step:not([open]) .sf-step-title{margin:0}.sf-step-title{list-style:none;cursor:pointer}.sf-step-title::-webkit-details-marker{display:none}.sf-step summary{margin:0}

/* Stable desktop modal: opening a step no longer recenters a growing dialog. */
#modal:has(.sf-layout){position:fixed;inset:18px 0 auto;margin:0 auto;height:calc(100dvh - 36px);max-height:calc(100dvh - 36px);overflow:auto;overflow-anchor:none;overscroll-behavior:contain}
.sf-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.sf-nav button{min-height:44px;border:1px solid #cbdad8;border-radius:8px;background:white;padding:10px 13px;color:#284c48}.sf-nav [aria-current="step"]{background:#195b51;color:white;border-color:#195b51}.sf-step-title h3{margin:0;font-size:17px}.sf-step-title{margin-bottom:16px}.sf-footer{display:flex;gap:20px;flex-wrap:wrap}.sf-my-jobs{padding:20px;background:#eaf5f2;border:1px solid #cce2d9;border-radius:14px;margin-bottom:22px}.sf-my-jobs h2{font-size:21px;margin:8px 0 14px}.sf-job{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:16px;text-align:left;background:white;border:1px solid #d4e2dc;border-radius:9px;margin:8px 0;color:#1c4f47}.sf-job small{display:block;margin-top:7px;color:#617974}.sf-job strong{white-space:nowrap}.sf-head .btn{margin:4px 12px 4px 0}.sf-head .source-hint{margin:6px 0}.sf-step select,.sf-step input,.sf-step textarea{font-size:16px!important}.sf-step .note-box{color:#526874}.sf-step:focus{outline:none}
@media(max-width:720px){.sf-layout{display:flex;flex-direction:column}.sf-layout aside{order:2}.sf-steps{order:1}.sf-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sf-nav button{font-size:12px}.sf-job{align-items:flex-start;gap:10px}.sf-job strong{font-size:12px}}

.sf-evidence{margin:18px 0;padding:18px;background:#f4f8fa;border:1px solid #dce5eb;border-radius:16px}.sf-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.sf-product-grid article{background:white;padding:16px;border-radius:12px}.sf-product-grid dl{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:13px}.sf-product-grid dd{margin:0;font-weight:700}.sf-history{padding-left:22px}.sf-history li{padding:12px 0;border-bottom:1px solid #dce5eb}.sf-history span,.sf-history time,.sf-history small{display:block;margin-top:4px}.sf-evidence summary{cursor:pointer;padding:12px 0;font-weight:700}@media(max-width:600px){.sf-product-grid{grid-template-columns:1fr}.sf-evidence{padding:12px}}

.sf-head>.eyebrow{display:block;margin-bottom:6px}.sf-head form{margin:4px 0}.sf-head>.source-hint{margin:6px 0}
