:root{color-scheme:light;font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;color:#243b53;background:#f2f5f9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}a:hover{color:#0b5aa6}.hidden{display:none!important}.portal-shell{max-width:1180px;margin:auto;padding:22px 16px 56px}
.banner{background:#104271;border-bottom:5px solid #b62439;color:white;text-align:center;border-radius:13px 13px 0 0;padding:20px 16px}.agency{font-size:11px;letter-spacing:.12em;color:#dce7f6}.agency-title{font:700 clamp(18px,3vw,25px)/1.3 Georgia,serif;letter-spacing:.015em;margin:4px auto}.department{letter-spacing:.07em;font-size:10px;color:#e3ecf8}
.form-heading{text-align:center;background:#fff;padding:23px 30px 24px;border-bottom:1px solid #e1e8f0}.form-eyebrow{font-weight:800;font-size:11px;letter-spacing:.13em;color:#3577b0;margin:0 0 5px}.form-heading h1{font:700 clamp(20px,3vw,29px)/1.25 Georgia,serif;color:#17385c;margin:0}.form-heading p:not(.form-eyebrow){max-width:800px;margin:11px auto 0;color:#536a7e;font-size:14px}
.layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;margin-top:20px}.sidebar{background:#fff;border:1px solid #dce5ee;border-radius:11px;position:sticky;top:14px;align-self:start;padding:18px 10px}.sidebar-title{font-size:12px;font-weight:850;letter-spacing:.035em;margin:0 11px 12px;color:#56718a}.sidebar a{display:block;padding:12px 10px;border-radius:7px;text-decoration:none;font-size:13px;color:#1e4668}.sidebar a:hover{background:#edf5fc}.sidebar-help{border-top:1px solid #e4e9ef;padding:17px 10px 4px;color:#6d8091;font-size:12px}
.form-card{background:white;border:1px solid #dce5ee;border-radius:12px;box-shadow:0 7px 23px #203b590d;overflow:hidden}.notice{border-radius:8px;padding:13px 15px;margin:20px 23px 0;font-size:13px}.pilot{background:#fff6e5;color:#794d10;border:1px solid #f1d49a}.notice.error{background:#ffebeb;border:1px solid #f3c5c5;color:#8d222c}.notice.success{background:#e5f7ed;border:1px solid #c7e7d6;color:#156142}.notice.info{background:#e9f3fd;border:1px solid #c1d8ef;color:#1c5784}
.section{padding:30px 27px 33px;border-bottom:1px solid #e4e9ef;scroll-margin-top:20px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:25px}.section-title h2{font:700 20px/1.3 Georgia,serif;color:#193f69;margin:0}.section-title p{color:#697e91;font-size:12px;margin:3px 0 0}.number{background:#e7f0fa;border:1px solid #cbdff0;color:#125484;font-size:13px;font-weight:850;border-radius:7px;width:38px;height:38px;display:grid;place-items:center;flex:none}
label{display:block;color:#2f475d;font-size:13px;font-weight:650;margin-bottom:19px}label input:not([type=radio]):not([type=checkbox]),label textarea,label select{display:block;background:#fff;color:#203850;width:100%;margin-top:7px;border:1px solid #bdcad7;border-radius:7px;padding:11px 12px;min-height:45px;outline:none}label textarea{resize:vertical}label input:focus,label select:focus,label textarea:focus{border-color:#236ba6;box-shadow:0 0 0 3px #2375a51c}label input:disabled{background:#eff2f5}.required{color:#a62534}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 15px}.section h3{font-size:15px;color:#274f75;padding-bottom:8px;margin:20px 0 18px;border-bottom:1px solid #e6edf4}.helper{font-size:12px;color:#687b8d;margin:10px 0}.action-field{align-content:center;margin-top:5px}.auth-status{font-size:12px;color:#56748e}
.button{border-radius:7px;padding:11px 18px;font-weight:700;font-size:13px;min-height:44px;border:1px solid #a0b3c7}.button.primary{background:#155c96;border-color:#155c96;color:#fff}.button.primary:hover{background:#094876}.button.secondary{background:#fff;color:#1a5d91}.button.secondary:hover{background:#eaf3fb}.button:disabled{opacity:.6;cursor:wait}
.type-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.type-selector label{display:flex;gap:13px;padding:16px;border:1px solid #cbd8e4;border-radius:9px;align-items:flex-start;margin:0}.type-selector label:has(input:checked){border-color:#2779b2;background:#f0f7fe}.type-selector input{margin-top:4px;accent-color:#1c669e}.type-selector small{display:block;color:#688094;font-weight:400;margin-top:5px}
.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 25px}.activity-grid label{display:flex;align-items:flex-start;gap:10px;background:#f8fafc;border:1px solid #e4ebf0;border-radius:7px;padding:10px;margin:0;font-weight:500}.activity-grid label:has(input:checked){border-color:#a5c9e8;background:#edf6ff}.activity-grid input{accent-color:#226b9b;margin-top:3px}
.subheading{border-top:1px solid #e4ebf0;padding-top:18px;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap}.subheading h3{border:0;padding:0;margin:0}.documents{margin-top:12px}.doc-row{border:1px solid #e1e8f0;border-radius:8px;padding:15px;margin:9px 0;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:15px;align-items:center}.doc-row strong{display:block;color:#214562;font-size:13px}.doc-row small{display:block;color:#6b8092;font-size:12px}.doc-row input{font-size:12px;width:100%}.doc-row .uploaded{color:#13844d;font-size:12px;font-weight:700}.empty-state{background:#f3f7fb;color:#73879a;border-radius:7px;padding:18px;font-size:13px}
.declaration{color:#465b71;background:#f7f9fc;padding:19px;border-radius:8px;border:1px solid #e5eaf0;text-align:justify}.checkbox-line{display:flex;gap:11px;font-size:14px}.checkbox-line input{margin-top:4px;accent-color:#216fa8}.form-actions{display:flex;gap:12px;justify-content:flex-end}.submit-section{background:#f9fbfe}.receipt{padding:16px;margin:0 0 20px;background:#e9f8ef;border:1px solid #a5e0b9;border-radius:7px;color:#0e633e;font-size:14px}footer{text-align:center;padding:22px;color:#697d8e;font-size:12px}
@media(max-width:860px){.layout{display:block}.sidebar{position:static;display:flex;flex-wrap:wrap;gap:4px;margin-bottom:14px}.sidebar-title,.sidebar-help{display:none}.sidebar a{padding:8px 10px}.portal-shell{padding:9px 9px 35px}}
@media(max-width:580px){.section{padding:23px 17px 26px}.two-col,.three-col,.type-selector,.activity-grid,.doc-row{grid-template-columns:1fr}.form-heading{padding:20px 16px}.banner{padding:17px 10px}.sidebar a{font-size:11px}.form-actions{flex-direction:column}.button{width:100%}.doc-row{gap:7px}.section-title h2{font-size:18px}}

/* Exact supplied AFAB letterhead is served as an unchanged local site asset. */
.document-header{background:#fff;padding:12px 18px 2px;border-radius:12px 12px 0 0;text-align:center}
.document-header img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin:auto}
.form-heading{padding:28px 34px 24px}
.form-heading h1{font:800 clamp(23px,3.7vw,35px)/1.36 "Segoe UI",Arial,sans-serif;color:#111;max-width:750px;margin:6px auto 0}
.privacy-notice{margin:28px auto 0;max-width:800px;text-align:left;font-size:15px;color:#111}
.privacy-notice strong{font-size:15px;display:block}
.form-heading .privacy-notice p{max-width:none;text-align:justify;margin:4px 0 0;color:#111;font-size:15px;font-style:italic;line-height:1.65}
.form-heading .instructions{max-width:800px;margin:26px auto 0;text-align:left;font-size:15px;color:#111;line-height:1.6}
.form-heading .subtext{margin:18px auto 0;color:#617082;font-size:12px}
.documents:empty{display:none}
.documents-label{margin-top:22px}
.doc-row{grid-template-columns:minmax(0,1fr) minmax(170px,240px)}
@media(max-width:580px){
 .document-header{padding:10px 10px 0}
 .form-heading{padding:18px 17px 26px}
 .privacy-notice{margin-top:24px}
 .form-heading .privacy-notice p,.form-heading .instructions{font-size:14px}
 .doc-row{grid-template-columns:1fr}
}

/* Conditional activity detail panels and repeatable company broker entries */
.activity-detail{border:1px solid #c8dced;background:#f4f8fc;border-radius:10px;padding:16px;margin:14px 0 22px}
.activity-detail h3,.activity-subdetail h3{font-weight:750;margin:0 0 8px;border:0;padding:0;color:#234b70}
.activity-subdetail{border-left:3px solid #3c7cb4;padding:12px 12px 0;margin:14px 0}
.checkbox-options{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0}
.checkbox-options label{display:flex;align-items:center;gap:8px;font-weight:550;margin:0;background:#fff;border:1px solid #d6e3ed;padding:9px 13px;border-radius:7px}
.checkbox-options input{accent-color:#1d689e;width:17px;height:17px}
.activity-disabled{opacity:.42}
.broker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:12px 0}
.broker-row label{margin:0}.broker-row button{align-self:end}
#broker-requirements{margin-top:14px}
@media(max-width:580px){.activity-detail{padding:13px}.broker-row{grid-template-columns:1fr}.broker-row button{justify-self:end}}

/* Truck identity for later verification-based vehicle sticker reuse. */
.fleet-plate-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:750;color:#274c6e}
.fleet-plate-label input{display:block;width:100%;margin-top:5px;padding:11px 12px;min-height:44px;border:1px solid #abc3d7;border-radius:7px;text-transform:uppercase}
.fleet-plate-label input:focus{border-color:#317bac;outline:2px solid #cae2f5}

/* Searchable published FAB Directory clients and automatically triggered PSD document */
.att-client-search-section{background:#f8fbff;border:1px solid #d4e3f1;padding:17px;border-radius:10px;margin:17px 0}
.att-client-search-section h3{margin:0 0 7px;padding:0;border:0;color:#22496b}
.client-search-results{max-height:245px;overflow:auto}
.client-result{display:block;text-align:left;width:100%;font-size:13px;border:1px solid #dae4ee;background:white;color:#244968;padding:11px;margin:4px 0;border-radius:7px;cursor:pointer}
.client-result:hover,.client-result:focus{background:#e9f4ff;border-color:#9ac9e8}
.client-selected{margin:12px 0}
.client-selected-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;margin:6px 0;background:#e9f5e9;border:1px solid #b9ddb9;border-radius:7px;color:#295a40;font-size:13px}
.client-selected-item .button{min-height:32px;padding:5px 10px}
#psd-required-note{margin:14px 0 20px}
#psd-required-note p{margin:7px 0 0}
@media(max-width:580px){.att-client-search-section{padding:13px}.client-selected-item{align-items:flex-start;flex-wrap:wrap}}

/* Desktop: navigation is a separate sibling of the official application form.
   The AFAB letterhead/privacy/instructions must never span over the sidebar. */
.portal-shell{max-width:1260px}
.layout{margin-top:0;grid-template-columns:235px minmax(0,1fr);gap:20px;align-items:start}
.sidebar{top:18px}
.form-card{min-width:0;border-radius:12px}
.form-card > .document-header{border-radius:12px 12px 0 0;padding:14px 20px 0}
.form-card > .document-header img{width:100%;max-width:100%;height:auto}
.form-card > .form-heading{border-top:0;padding-top:21px}
@media(max-width:860px){
  .layout{display:flex;flex-direction:column;gap:12px}
  .sidebar{width:100%;margin:0;padding:10px;position:static}
  .form-card{width:100%}
  .form-card > .document-header{padding:10px 10px 0}
}
