.fs-workspace{max-width:none;width:100%;box-sizing:border-box}.fs-workspace section,.fs-workspace fieldset{margin:20px 0;padding:18px;border:1px solid #d2ddeb;border-radius:14px}.fs-tabs{margin-bottom:24px}.fs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fs-grid>*{min-width:0}.fs-workspace label{display:block}.fs-workspace .maintenance-check{display:flex;align-items:center;gap:10px;margin:12px 0}.fs-workspace input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:0}.fs-workspace input:not([type=checkbox]),.fs-workspace select{width:100%;box-sizing:border-box}.fs-workspace [aria-invalid=true]{border:2px solid #bb1230}.fs-error{color:#b51028;display:block}.fs-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:15px 0}.fs-photo{border:2px dashed #afc9e6;padding:16px;border-radius:12px;background:#f4f8ff}.fs-photo img,.fs-originals img{display:block;max-width:100%;max-height:300px;object-fit:contain;margin-top:12px}.fs-photo img[hidden]{display:none}.fs-dot{display:inline-block;width:11px;height:11px;min-width:11px;border-radius:50%;margin-right:8px;border:1px solid #0002;vertical-align:middle}.fs-dot.red{background:#d8203b}.fs-dot.yellow{background:#e9b026}.fs-dot.green{background:#16814c}.fs-person summary,.fs-vehicle summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.fs-person summary>*,.fs-vehicle summary>*{min-width:0;overflow-wrap:anywhere}.fs-decision{font-size:.9rem}.fs-note{background:#f1f6fc;padding:14px;border-radius:10px}.fs-class{display:block;margin:8px 0}.fs-notice{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #dae3ed}.fs-confirmation{padding:12px 0;border-bottom:1px solid #dae3ed}.fs-table-wrap{max-width:100%;overflow-x:auto}.fs-table-wrap table{width:100%;border-collapse:collapse}.fs-table-wrap td,.fs-table-wrap th{padding:12px;text-align:left;vertical-align:middle;border-bottom:1px solid #dae3ed}.fs-qr{width:140px;height:140px}.fs-mobile-only{display:none}.header-fs-group{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 14px;border-left:1px solid #d2ddeb}.fs-button{display:flex;align-items:center;justify-content:center;width:68px;height:68px;box-sizing:border-box;border-radius:50%;border:3px solid white;background:#347cad;color:white;font-weight:800;font-size:20px;text-decoration:none;box-shadow:0 8px 20px #347cad33}.fs-button:hover{color:white;text-decoration:none;background:#246594}.fs-workspace button:disabled{opacity:.6}.fs-filters{align-items:end}.fs-filters{grid-template-columns:2fr 2fr 2fr 1fr}
@media(max-width:800px){.fs-workspace{padding:16px}.fs-grid,.fs-filters{grid-template-columns:1fr}.fs-workspace section,.fs-workspace fieldset{padding:12px}.fs-workspace .section-head{flex-wrap:wrap;gap:12px}.fs-notice{align-items:start;flex-direction:column}.fs-tabs{overflow-x:auto;flex-wrap:nowrap}.fs-tabs a{white-space:nowrap}.fs-workspace h1{font-size:1.6rem}.fs-workspace .btn{min-height:44px}.fs-table-wrap td,.fs-table-wrap th{padding:9px}.header-fs-group{padding:12px;border-left:0}.fs-person summary{display:block}.fs-person summary>span{display:block;margin:7px 0}}

body.fs-mobile-device .fs-mobile-only{display:block}body.fs-mobile-device .fs-desktop-only{display:none}
.fs-workspace :is(form,fieldset,section){min-width:0;min-inline-size:0;box-sizing:border-box;max-width:100%}
.fs-workspace .fs-actions{flex-wrap:wrap;height:auto;min-width:0}
.fs-workspace .fs-actions>.btn{max-width:100%;height:auto;white-space:normal;overflow-wrap:anywhere;flex:0 1 auto}

header#section-header .header-fs-group{box-sizing:border-box;min-height:var(--header-group-height,116px);justify-content:flex-start;gap:var(--header-action-gap,8px);padding-block:0}
header#section-header .fs-button{width:var(--header-action-size,64px);height:var(--header-action-size,64px);flex:0 0 var(--header-action-size,64px)}
@media(min-width:801px){
 header#section-header.portal-header.has-fs-action{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start!important;gap:18px 0!important}
 header#section-header.has-fs-action>.header-left-final{flex:1 1 240px!important;min-width:240px!important;width:auto!important;align-self:center;padding-inline-end:18px}
 header#section-header.has-fs-action>.header-middle-final{flex:0 1 auto!important;min-width:0!important;width:auto!important;display:flex!important}
 header#section-header.has-fs-action>:is(.header-delivery-group,.header-aao-group,.header-fs-group,.header-right-final,.header-qr){flex:0 0 108px!important;min-width:108px!important;width:108px!important;padding-inline:12px!important}
 header#section-header.has-fs-action .header-right-final>.header-group-label{white-space:nowrap!important}
}
@media(min-width:801px) and (max-width:1200px){header#section-header.has-fs-action>.header-left-final{flex:1 0 100%!important}}
@media(max-width:800px){.fs-workspace .fs-actions>.btn{flex:1 1 100%}.fs-workspace .fs-table-wrap{overflow-x:auto}}

/* Stable columns: vehicle, decision and disclosure arrow never redistribute
   their whitespace according to the length of an individual row's text. */
.fs-workspace .fs-vehicle>summary{
 display:grid;grid-template-columns:minmax(180px,44%) minmax(0,1fr) 16px;
 column-gap:20px;row-gap:8px;align-items:center;
}
.fs-workspace .fs-vehicle>summary>span{
 display:flex;align-items:center;justify-content:flex-start;gap:10px;
 min-width:0;margin:0;text-align:left;line-height:1.4;
}
.fs-workspace .fs-vehicle>summary>.fs-decision{font-size:.9rem}
.fs-workspace .fs-vehicle>summary .fs-dot{
 flex:0 0 11px;width:11px;min-width:11px;height:11px;margin:0;
}
.fs-workspace .fs-vehicle>summary::after{grid-column:3;grid-row:1;justify-self:center;align-self:center}
@media(max-width:600px){
 .fs-workspace .fs-vehicle>summary{grid-template-columns:minmax(0,1fr) 16px;column-gap:12px;row-gap:6px}
 .fs-workspace .fs-vehicle>summary>span{grid-column:1}
 .fs-workspace .fs-vehicle>summary>.fs-decision{font-size:.83rem}
 .fs-workspace .fs-vehicle>summary::after{grid-column:2;grid-row:1/3}
}
header.public-topbar:has(.header-fs-group){grid-template-columns:minmax(0,1fr) auto 90px 72px!important;gap:18px}
@media(max-width:800px){
 header.public-topbar:has(.header-fs-group){grid-template-columns:minmax(0,1fr) 80px!important;gap:12px}
 header.public-topbar:has(.header-fs-group)>.header-left-final{grid-column:1/-1!important}
 header.public-topbar:has(.header-fs-group)>.header-middle-final{grid-column:1!important;grid-row:2!important}
 header.public-topbar:has(.header-fs-group)>.header-fs-group{grid-column:2!important;grid-row:2!important;min-height:0;padding:0;align-self:center}
 header.public-topbar:has(.header-fs-group)>.header-qr{display:none!important}
}
@media(max-width:800px){
 body.fs-intake-view header#section-header .mobile-module-menu{display:none!important}
 body.fs-intake-view header#section-header.has-compact-header{row-gap:0!important}
}

.fs-change-badge{display:inline-block;padding:3px 7px;background:#e6f0ff;color:#1d5484;border-radius:6px;font-size:.8rem}.fs-workspace input.fs-ocr-filled{background:#f0f7ff}.fs-workspace input:disabled{background:#edf0f4;color:#7b8795;cursor:not-allowed}

.fs-review-state{padding:12px 14px;border:1px solid #ead58c;border-radius:10px;background:#fff8df;color:#70520e;line-height:1.5}
.fs-review-state.is-confirmed{background:#edf8f1;border-color:#badbc8;color:#185a37}
.fs-dot[hidden]{display:none}
/* Equal instruction cards: same headings, date rows and bottom action line. */
.fs-workspace .fs-instructions-section{border:0;padding:0;margin:18px 0}
.fs-instruction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;min-width:0}
.fs-workspace form.fs-step-card{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0;padding:16px;border:1px solid #d6e1ec;border-radius:12px;background:#fff}
.fs-step-heading{display:flex;align-items:flex-start;gap:10px;min-height:3.2em}
.fs-step-heading h4{margin:2px 0 0;font-size:1rem;line-height:1.4;min-width:0}
.fs-step-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:#e7f1fb;color:#245f89;border-radius:50%;font-size:.85rem;font-weight:750}
.fs-step-description{font-size:.85rem;line-height:1.5;color:#617187;min-height:4.5em;margin:0}
.fs-workspace .fs-step-card .maintenance-check{margin:0;min-height:28px}
.fs-step-date{margin:0;font-size:.85rem}.fs-step-date input{margin-top:5px}
.fs-step-stamp{display:flex;gap:8px;align-items:flex-start;min-height:3em;font-size:.85rem;line-height:1.4}.fs-step-stamp .fs-dot{margin:4px 0 0}.fs-step-stamp small{display:block;color:#617187;margin-top:3px}
.fs-step-extra{display:flex;flex-direction:column;gap:9px;flex:1;min-width:0}.fs-step-extra p{margin:0;font-size:.83rem}.fs-step-extra .btn{width:100%}
.fs-step-card [data-instruction-error]:empty{display:none}.fs-step-card [data-instruction-error]{margin:0;font-size:.86rem}
.fs-step-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px}.fs-step-permission{font-size:.8rem;line-height:1.4;min-height:2.8em;margin:0}.fs-step-actions .btn{width:100%;margin:0}
.fs-proof-link{font-size:.85rem;font-weight:650}.fs-upload-label{font-size:.83rem;line-height:1.4;margin:0}
.fs-file-control{position:relative;display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}.fs-file-control [data-fs-file-name]{font-size:.8rem;color:#617187;overflow-wrap:anywhere;max-width:100%}
.fs-workspace input.fs-file-input{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fs-file-input:focus-visible+label{outline:3px solid #347cad;outline-offset:3px}.fs-workspace .fs-file-picker{cursor:pointer;margin:0;min-height:40px;padding:8px 12px;font-size:.83rem}
.fs-source-note{border:1px solid #d6e1ec;border-radius:12px;background:#f4f8fc;padding:12px 14px;margin:14px 0}.fs-source-note>p{margin-top:0}.fs-source-note details{margin:0}
.fs-training-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin:14px 0}.fs-training-group{margin:0!important;min-width:0}.fs-training-group>summary{gap:12px;line-height:1.4}.fs-training-group [data-group-progress]{margin-left:auto;font-size:.8rem;white-space:nowrap;color:#617187}
.fs-checklist-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px 16px;padding:12px;border-top:1px solid #e1e8ef;align-items:start}.fs-checklist-row label{display:flex;align-items:flex-start;gap:10px;margin:0;min-width:0;font-size:.88rem;line-height:1.5}.fs-checklist-row input[type=checkbox]{margin-top:2px}.fs-checklist-row .fs-na-check{font-size:.8rem;color:#617187}.fs-checklist-row .fs-error{grid-column:1/-1}.fs-checklist-row.has-error{background:#fff5f5;box-shadow:inset 3px 0 #b51028}
.fs-training-progress{font-size:.9rem;font-weight:700;color:#245f89}.fs-workspace textarea{width:100%;box-sizing:border-box;resize:vertical}
@media(max-width:1100px){.fs-instruction-grid{grid-template-columns:1fr}.fs-step-heading,.fs-step-description,.fs-step-stamp,.fs-step-permission{min-height:0}.fs-step-extra:empty{display:none}}
@media(max-width:800px){.fs-training-groups{grid-template-columns:1fr}.fs-instruction-grid{padding:12px}.fs-workspace form.fs-step-card{padding:14px}.fs-checklist-row{grid-template-columns:1fr}.fs-checklist-row .fs-na-check{padding-left:30px}.fs-source-note{padding:12px}.fs-training-group>summary{flex-wrap:wrap}}

/* A stable person/vehicle workspace below the existing module tabs. */
.fs-training-document{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 12px}
.fs-instruction-people{display:grid;gap:12px}
.fs-person-workspace{padding:14px;min-width:0}
.fs-person-tabs{margin-bottom:16px!important}
.fs-person-tabs a{white-space:normal!important}
.fs-inline-panel{min-width:0}
.fs-inline-panel[hidden],.fs-step-tabs[hidden],.fs-step-card[hidden]{display:none!important}
.fs-inline-panel .fs-instructions-section{margin:0}
.fs-inline-panel .fs-instructions-section>h3{display:none}
.fs-inline-panel .fs-instruction-grid.is-tabbed{grid-template-columns:minmax(0,1fr)}
.fs-step-tabs{grid-column:1/-1;margin-bottom:0!important}
.fs-step-tabs button{cursor:pointer}
.fs-workspace .fs-inline-panel form.fs-step-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
.fs-inline-panel .fs-step-card :is(.fs-step-heading,.fs-step-description,[data-instruction-error],.fs-step-actions){grid-column:1/-1}
.fs-inline-panel .fs-step-card :is(.fs-step-heading,.fs-step-description,.fs-step-stamp,.fs-step-permission){min-height:0}
.fs-inline-panel .fs-step-date input{max-width:300px}
.fs-inline-panel .fs-step-actions{align-items:flex-start}
.fs-inline-panel .fs-save-confirmation{max-width:300px}
.fs-inline-panel .flash{margin:0 0 12px}
.fs-person-loading{padding:12px;color:#52697e}
.fs-person-workspace[aria-busy=true]{cursor:progress}
@media(max-width:700px){.fs-person-workspace{padding:12px}.fs-person-tabs .portal-subtab,.fs-step-tabs .portal-subtab{height:auto;min-height:48px;white-space:normal!important;max-width:100%;padding:8px 10px!important;font-size:.84rem!important}.fs-workspace .fs-inline-panel form.fs-step-card{grid-template-columns:minmax(0,1fr)}}

.fs-inline-panel .fs-step-date{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
@media(max-width:700px){.fs-step-tabs>.portal-subtab,.fs-person-tabs>.portal-subtab{flex:1 1 100%!important;width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere}}

@media(max-width:760px){.fs-workspace .fs-step-tabs,.fs-workspace .fs-person-tabs{grid-template-columns:minmax(0,1fr)!important}}

.fs-step-tabs button:disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.25)}

.fs-select-all{display:inline-flex!important;align-items:center;gap:7px;font-size:.82rem;white-space:nowrap;margin-left:auto}.fs-select-all input{width:20px;height:20px;flex:none}.fs-training-group>summary{flex-wrap:wrap}
