/* Membership, delegation and administration surfaces share the AFGED palette. */
[hidden]{display:none!important}.site-header nav{gap:17px;font-size:.87rem}.site-header .nav-shell{gap:18px}.site-header .brand-name{font-size:1.08rem}.paper-form-link{display:block;margin:20px 0 8px;font-size:.95rem;text-decoration:underline;text-underline-offset:4px}.application-section{scroll-margin-top:135px}.application-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:46px;align-items:start}.portal-form{color:var(--navy)}.portal-form label,.private-link-label,.portal-filter label{display:flex;flex-direction:column;gap:9px;font-size:.95rem;font-weight:650;line-height:1.5;min-width:0}.portal-form label small{font-size:.78rem;font-weight:500;color:#4f6177}.portal-form input:not([type=checkbox]),.portal-form select,.portal-form textarea,.private-link-label input,.portal-filter select{width:100%;min-width:0;padding:13px 15px;border:1px solid #c4cedc;background:#fff;border-radius:7px;color:#16345b;font:inherit;font-weight:500;line-height:1.5;transition:border-color .2s,box-shadow .2s}.portal-form input:focus,.portal-form select:focus,.portal-form textarea:focus,.private-link-label input:focus{outline:2px solid #c85c29;outline-offset:3px;border-color:#b94d1c}.portal-form input:disabled{background:#edf1f6;color:#5b6a80}.portal-form>label{margin-bottom:20px}.portal-form fieldset{min-width:0;border:0;border-top:1px solid #d8e0ec;margin:0 0 36px;padding:26px 0 0}.portal-form legend{float:left;width:100%;display:flex;align-items:center;gap:13px;font-size:1.25rem;font-weight:650;margin-bottom:24px}.portal-form legend span{display:grid;place-items:center;background:#fbeddf;color:#a9471c;border-radius:50%;width:34px;height:34px;font-size:.8rem;flex-shrink:0}.portal-form fieldset:after{content:'';display:block;clear:both}.portal-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;clear:both}.portal-fields .wide{grid-column:1/-1}.required-note,.field-note{font-size:.9rem;line-height:1.7;color:#435670}.required-note{margin:0 0 30px}.field-note{margin:12px 0 20px}.portal-form .check-label{display:flex;flex-direction:row;align-items:flex-start;gap:13px;font-weight:500;line-height:1.7;margin:25px 0 0}.check-label input{width:19px;height:19px;flex:0 0 19px;margin-top:5px;accent-color:#123363}.check-label a{text-decoration:underline;text-underline-offset:3px}.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.fee-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;clear:both;padding:20px 24px;background:#eef3f9;border-radius:9px}.fee-summary>span{font-size:.95rem}.fee-summary strong{font-size:1.2rem}.payment-card{position:sticky;top:140px;background:linear-gradient(145deg,#eef3fa,#f8faff);padding:30px;border:1px solid #dce4ef;border-radius:16px}.payment-card h3{font-size:1.75rem;letter-spacing:-.04em;margin:15px 0}.payment-card p{font-size:.97rem;line-height:1.7;color:#435670}.payment-symbol{width:48px;height:48px;border-radius:50%;background:#fff;color:#c65722;display:grid;place-items:center;font-size:1.5rem;margin-bottom:24px;box-shadow:0 6px 20px #1537680a}.payment-card dl{margin:25px 0}.payment-card dl>div{border-top:1px solid #d2ddeb;padding:13px 0}.payment-card dt{font-size:.78rem;color:#4f6177;margin-bottom:5px}.payment-card dd{margin:0;font-size:1rem;font-weight:650;overflow-wrap:anywhere}.bank-number{letter-spacing:.04em}#payment-qr img{display:block;width:100%;height:auto;background:white;padding:10px;border-radius:10px}#payment-qr h4{font-size:1rem;margin-top:25px}.payment-help{border-top:1px solid #cbd6e5;padding-top:22px;display:grid;gap:8px;font-size:.9rem}.payment-help strong{margin-bottom:5px}.portal-message{min-height:1.7em;line-height:1.7;color:#1c563c;overflow-wrap:anywhere}.portal-message.is-error,.is-error{color:#9d3025}.portal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.application-success{padding:50px;border:1px solid #dce4ef;background:linear-gradient(130deg,#f0f5fc,#fff);border-radius:16px;max-width:900px}.application-success h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.15}.application-success>p{max-width:690px;color:#435670;line-height:1.8}.application-success .portal-actions{margin:25px 0}.private-link-label{margin-top:30px}.private-link-label input{font-size:.85rem;font-weight:500}.application-success .text-button{margin-top:15px}.portal-pagination{display:flex;align-items:center;justify-content:center;gap:22px;margin:25px 0}.button:disabled,button:disabled{opacity:.55;cursor:wait}.portal-pagination button:disabled{cursor:default}.private-application{padding-top:60px;padding-bottom:80px;max-width:1100px}.private-application h1{font-size:clamp(2.8rem,5vw,4rem);letter-spacing:-.05em}.application-record{border:1px solid #d8e1ed;border-radius:10px;padding:34px;background:#fff;margin-top:24px}.record-letterhead{display:flex;gap:24px;align-items:center;border-bottom:2px solid #e36b30;padding-bottom:25px}.record-letterhead img{width:100px;height:auto;object-fit:contain}.record-letterhead h2{font-size:1.35rem;line-height:1.35;letter-spacing:-.025em;margin:0}.record-letterhead p{font-size:.86rem;color:#a74316;margin:7px 0 0}.record-reference{font-size:.85rem;color:#435670;overflow-wrap:anywhere;line-height:1.8;margin:22px 0}.record-status{display:flex;gap:20px;flex-wrap:wrap;font-size:.9rem;background:#f1f5fa;padding:15px}.application-record section h3{font-size:1.05rem;border-bottom:1px solid #e0e6ef;padding-bottom:10px;margin-top:28px}.record-fields{margin:0}.record-fields>div{display:grid;grid-template-columns:210px 1fr;gap:20px;border-bottom:1px solid #edf0f5;padding:12px 0;font-size:.91rem;line-height:1.65}.record-fields dt{color:#435670}.record-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.record-declaration{font-size:.9rem;line-height:1.8}.record-footer{border-top:2px solid #e36b30;padding-top:20px;margin-top:35px;font-size:.73rem;font-weight:650;letter-spacing:.03em}.portal-tabs{display:flex;gap:7px;overflow-x:auto;border-bottom:1px solid #ccd7e7;margin:0 0 35px}.portal-tabs button{padding:17px 22px;font:inherit;font-size:1rem;font-weight:600;white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;color:#465873;cursor:pointer}.portal-tabs button[aria-selected=true]{color:#102e5e;border-bottom-color:#dd642b;background:#f0f4fa}.portal-tabs button:focus-visible{outline:2px solid #c85622;outline-offset:-3px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:38px}.dashboard-stats>div{border:1px solid #dae3ef;background:linear-gradient(140deg,#f3f6fc,#fff);padding:24px;border-radius:12px;display:flex;flex-direction:column;gap:16px}.dashboard-stats span{font-size:.85rem;color:#435670}.dashboard-stats strong{font-size:2.4rem;letter-spacing:-.04em;font-weight:600}.portal-section-title{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:25px 0}.portal-section-title h2{font-size:2rem;letter-spacing:-.04em;margin:0}.portal-section-title h3{font-size:1.4rem}.portal-filter{display:flex;align-items:center;gap:30px;margin:25px 0}.portal-filter select{min-width:220px}.portal-filter p{font-size:.95rem;color:#435670}.application-row{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:20px;align-items:center;border:1px solid #dbe4ee;padding:24px;margin-top:12px;border-radius:10px}.application-row h3{font-size:1.12rem;margin:0 0 6px;overflow-wrap:anywhere}.application-row p{font-size:.93rem;margin:0 0 5px;color:#435670;overflow-wrap:anywhere}.application-row span:not(.status-badge){font-size:.82rem;overflow-wrap:anywhere}.application-row .field-note{font-size:.8rem;margin:8px 0 0}.application-dialog{width:min(1000px,95vw);max-height:92dvh;border:1px solid #d6dfec;border-radius:15px;padding:30px;color:#123363;box-shadow:0 30px 100px #0d2b6033;overflow-y:auto;overscroll-behavior:contain}.application-dialog::backdrop{background:#102b60a8;backdrop-filter:blur(3px)}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-toolbar h2{font-size:1.5rem;margin:0}.review-form{background:#f0f4fa;border-radius:12px;padding:24px;margin:24px 0}.review-form h3{margin-top:0}.review-form>label{margin-top:22px}#admin-qr-preview{display:block;object-fit:contain;max-width:100%;height:auto;border:1px solid #d9e2ef;border-radius:9px;padding:12px}#panel-payment .bank-details dd{margin:4px 0 20px;font-weight:600}#panel-payment .bank-details dt{font-size:.8rem}#panel-delegations .portal-form>label{margin-bottom:20px}#panel-delegations .portal-fields{margin-bottom:20px}.delegation-section{background:linear-gradient(135deg,#f1f5fb,#fcfdff);border-block:1px solid #e3e9f2;scroll-margin-top:110px}.delegation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.delegation-empty{grid-column:1/-1;display:flex;align-items:center;gap:55px;padding:45px 55px;border-radius:16px;border:1px solid #d4dfed;background:#fff;overflow:hidden}.delegation-empty h3{font-size:clamp(1.6rem,2.8vw,2.4rem);letter-spacing:-.04em;line-height:1.2;margin:12px 0 15px}.delegation-empty p{max-width:620px;color:#435670;font-size:1.05rem;line-height:1.8}.delegation-orbit{width:165px;height:165px;flex:0 0 165px;border:1px solid #d5dfed;border-radius:50%;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#fff,#e1e9f5);box-shadow:inset -8px -12px 25px #c0cee342,0 20px 35px #0d2b6008}.delegation-orbit:before,.delegation-orbit:after{content:'';position:absolute;border:1px solid #c2d0e3;border-radius:50%;inset:20px -10px;transform:rotate(-35deg)}.delegation-orbit:after{inset:-8px 35px;transform:rotate(35deg)}.delegation-orbit span{z-index:1;color:#d56026;font-size:3.5rem;font-weight:400}.delegation-card{padding:32px;border:1px solid #d4dfed;border-radius:14px;background:#fff;box-shadow:0 12px 35px #0d2b6004;transition:transform .35s,box-shadow .35s}.delegation-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px #0d2b600a}.delegation-card-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.delegation-card .eyebrow{font-size:.75rem;line-height:1.6}.delegation-arrow{width:40px;height:40px;border-radius:50%;background:#fff1e9;display:grid;place-items:center;font-size:1.6rem;color:#ba4a16;flex:0 0 40px}.delegation-date{font-size:.87rem;font-weight:650;color:#a94315;margin:24px 0 14px}.delegation-card h3{font-size:1.7rem;line-height:1.3;letter-spacing:-.035em;margin:0 0 18px}.delegation-card>p:not(.delegation-date){font-size:1rem;color:#435670;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.delegation-sectors strong{display:block;color:#173863;font-size:.8rem;margin:20px 0 3px}.delegation-card details{border-top:1px solid #dce4ef;margin-top:24px}.delegation-card summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:20px 0;font-size:.95rem;font-weight:650}.delegation-card summary::-webkit-details-marker{display:none}.delegation-programme{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem;line-height:1.9;padding-bottom:20px;color:#435670}.delegation-enquiries{display:flex;flex-direction:column;gap:7px;border-top:1px solid #dce4ef;padding-top:20px;margin-top:5px}.delegation-enquiries span{font-size:.78rem;color:#435670}.delegation-enquiries a{font-size:.95rem;font-weight:650}@media(min-width:1101px) and (max-width:1300px){.site-header .brand>img{width:82px}.site-header .brand>.brand-copy{padding-left:14px}.site-header .brand-name{font-size:.95rem}.site-header .brand-tagline{font-size:.72rem}.site-header nav{gap:13px;font-size:.79rem}.site-header nav .nav-contact{padding-left:10px}}@media(max-width:1100px){.application-layout{grid-template-columns:minmax(0,1fr) 290px;gap:25px}.payment-card{padding:23px}.application-row{grid-template-columns:minmax(0,1fr) 150px}.application-row>button{grid-column:1/-1;justify-self:start}}@media(max-width:800px){.application-layout{grid-template-columns:1fr}.payment-card{position:static;grid-row:1}.payment-card dl{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.payment-symbol{display:none}#payment-qr img{width:240px;max-width:100%}.payment-help{display:flex;flex-wrap:wrap;gap:12px 22px}.payment-card h3{margin:10px 0}.application-success{padding:28px}.portal-section-title{align-items:flex-start;flex-direction:column}.dashboard-stats{grid-template-columns:1fr 1fr;gap:12px}.dashboard-stats>div{padding:20px}.delegation-list{grid-template-columns:1fr}.delegation-empty{padding:30px;gap:28px}.delegation-orbit{width:100px;height:100px;flex-basis:100px}.delegation-orbit span{font-size:2.5rem}.application-dialog{padding:20px}.record-fields>div{grid-template-columns:170px 1fr}}@media(max-width:540px){.portal-fields{grid-template-columns:1fr;gap:20px}.fee-summary{align-items:flex-start;flex-direction:column}.payment-card dl{grid-template-columns:1fr}.application-row{grid-template-columns:1fr}.application-row>button{grid-column:auto}.portal-filter{align-items:flex-start;flex-direction:column;gap:8px}.portal-filter label{width:100%}.application-record{padding:20px}.record-letterhead{align-items:flex-start;flex-direction:column;gap:16px}.record-letterhead h2{font-size:1.15rem}.record-fields>div{grid-template-columns:1fr;gap:3px}.record-status{flex-direction:column;gap:9px}.delegation-empty{flex-direction:column;align-items:flex-start;padding:27px}.delegation-orbit{margin:0 0 15px 10px}.delegation-card{padding:25px}.portal-tabs button{font-size:.9rem;padding:16px}.portal-pagination{gap:10px;font-size:.85rem}.portal-actions>.button{width:100%;justify-content:center}.dialog-toolbar h2{font-size:1.15rem}.review-form{padding:18px}.private-application{padding-top:35px}.application-success .button{width:100%;justify-content:center}.portal-form legend{font-size:1.13rem}}@media(prefers-reduced-motion:reduce){.delegation-card{transition:none}.delegation-card:hover{transform:none}}
/* Keep existing mobile brand sizing; avoid double anchor offsets. */
.application-section,.delegation-section{scroll-margin-top:0}
@media(max-width:760px){.site-header .nav-shell{gap:10px}.site-header .brand-name{font-size:.92rem}.site-header nav{font-size:1.05rem;gap:0}.portal-form input:not([type=checkbox]),.portal-form select,.portal-form textarea{font-size:16px}}
@media(max-width:390px){.site-header .brand-name{font-size:.84rem}.application-success{padding:22px}}
.portal-form fieldset>label{clear:both}.portal-form .field-label small{display:inline;font-weight:500;margin-left:5px}.portal-form .field-label>span{color:#a74316}
.applicant-choice{clear:both;margin-bottom:25px}.applicant-choice>p{font-size:.95rem;font-weight:650;color:var(--navy);margin-bottom:12px}.applicant-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portal-form .applicant-options label{display:flex;flex-direction:row;align-items:center;padding:18px;border:1px solid #c8d4e4;border-radius:10px;gap:12px;background:#fff;cursor:pointer;transition:background .2s,border-color .2s}.portal-form .applicant-options label:has(:checked){border-color:#c65a22;background:#fff7f0;box-shadow:0 0 0 1px #c65a22}.portal-form .applicant-options input{width:18px!important;min-width:18px;height:18px;accent-color:#bd4e1c}.applicant-options strong{display:block;font-size:1rem}.applicant-options small{display:block;margin-top:4px;line-height:1.5}.portal-form #applicant-fields>.portal-fields{margin-bottom:22px}.representative-table{clear:both;border-collapse:collapse;width:100%;table-layout:fixed}.representative-table th{text-align:left;font-size:.9rem;padding:12px 8px;color:#435670;border-bottom:1px solid #d5dfed}.representative-table td{padding:12px 8px;border-bottom:1px solid #e5ebf3;vertical-align:top}.representative-table th:first-child,.representative-table td:first-child{padding-left:0}.representative-table th:last-child,.representative-table td:last-child{padding-right:0}.representative-table input{font-size:.9rem!important}.portal-form .representative-table label{margin:0}.portal-form input[type=radio]:focus-visible{outline:2px solid #c85622;outline-offset:4px}@media(max-width:540px){.applicant-options{grid-template-columns:1fr}.portal-form .applicant-options label{padding:16px}.representative-table input{padding:11px 9px;font-size:16px!important}}
