/* AITD task interface. One shared scale across sign-in, admission and payment. */
@font-face{font-family:'AITD Sans';src:url('/brand/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'AITD Sans';src:url('/brand/manrope-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'AITD Display';src:url('/brand/bodoni-500.ttf') format('truetype');font-weight:500;font-display:swap}

:root{
  --navy:#102b42;--ink:#143047;--gold:#d4b66d;--gold-text:#79612c;
  --canvas:#f5f7f8;--mist:#eff3f5;--white:#fff;--line:#d4dde2;--muted:#526674;
  --success:#226149;--success-bg:#e3f0e9;--error:#a52d32;--error-bg:#f9eaea;
  --caution:#715a28;--caution-bg:#f4ead2;--focus:#997521;--field-border:#8195a3;
  --hover:#26465e;--radius:12px;--control-radius:6px;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;
  --space-5:24px;--space-6:32px;--space-7:48px;
}
*{box-sizing:border-box}
html{scroll-padding-top:24px}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--canvas);color:var(--ink);font:16px/1.65 'AITD Sans',Arial,sans-serif}
::selection{background:#e7d6a6;color:var(--navy)}
a{color:var(--ink);text-underline-offset:4px;overflow-wrap:anywhere}
a:hover{color:var(--gold-text)}
button,input,select,textarea{font:inherit;touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed;background:#e4e9ed;color:var(--muted);border-color:var(--line)}
:is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0 0 var(--space-4)}
h1{font-size:1.75rem;line-height:1.3;letter-spacing:-.025em;font-weight:700;text-wrap:balance}
h2{font-size:1.25rem;line-height:1.4;letter-spacing:-.02em;font-weight:700}
h3{font-size:1rem;line-height:1.5;font-weight:700;margin-bottom:8px}
p{max-width:75ch}
small,.small{font-size:.875rem;line-height:1.6}
.muted{color:var(--muted)}
.icon{flex:none;vertical-align:middle}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:16px;top:-100px;padding:12px;background:var(--navy);color:var(--white);z-index:10}
.skip:focus{top:12px}
.demo-bar{padding:7px 24px;background:#e9dbb8;color:#45381e;text-align:center;font-size:.75rem;font-weight:700}
.demo-bar span{margin-left:12px;font-weight:400}
.header{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:88px;padding:16px max(24px,calc((100% - 1096px)/2));background:var(--white);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;flex:none;text-decoration:none;color:var(--navy)}
.brand img{object-fit:contain;width:44px;height:50px}
.brand>span{font:500 25px/1.1 'AITD Display',Georgia,serif;white-space:nowrap}
.brand small{display:block;margin-top:6px;font:400 11px/1.4 'AITD Sans',Arial,sans-serif;text-align:center;letter-spacing:.02em}
.header-end{display:flex;align-items:center;gap:16px;min-width:0}
.header-end>.text-link,.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:.875rem}
.portal-label,.avatar{display:none}
.account{font-size:.875rem;font-weight:700;line-height:1.5}
.account small{display:block;font-size:.75rem;font-weight:400;color:var(--muted)}
.account-menu{position:relative;max-width:100%}
.account-menu>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:4px 8px;cursor:pointer;list-style:none;border-radius:var(--control-radius,6px)}
.account-menu>summary::-webkit-details-marker{display:none}
.account-menu>summary:hover,.account-menu>summary:focus-visible{background:var(--mist)}
.account-menu .avatar{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--navy);color:var(--white);font-weight:700}
.account-menu .avatar img{width:36px;height:36px;object-fit:cover;border-radius:50%}
.profile-photo{object-fit:cover;border-radius:50%}
.content-status{padding:24px 0;border-bottom:1px solid var(--line);margin-bottom:24px}
.learning-item{padding:24px 0;border-top:1px solid var(--line)}
.content-url{overflow-wrap:anywhere}
.question-preview{padding:16px 0;border-bottom:1px solid var(--line)}
.account-menu .account{max-width:180px;overflow-wrap:anywhere}
.account-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:280px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow:auto;padding:8px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.account-menu-panel>a,.account-menu-panel button{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 16px;text-decoration:none;text-align:start;font-size:.875rem;background:transparent;color:var(--ink);border:0;border-radius:6px;cursor:pointer}
.account-menu-panel>a:hover,.account-menu-panel button:hover,.account-menu-panel [aria-current="page"]{background:var(--mist)}
.account-menu-panel form{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.welcome-heading{margin-bottom:32px}
.welcome-heading h1{overflow-wrap:anywhere}
.welcome-heading p{margin:8px 0 0}
.account-record{padding:24px 0;border-bottom:1px solid var(--line)}
.application-state-summary{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0 0}
.application-state-summary>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.application-state-summary dt{font-size:.875rem;color:var(--muted)}
.application-state-summary dd{margin:0}
@media(max-width:640px){
  .application-state-summary{display:grid;gap:8px}
  .application-state-summary>div{display:grid;grid-template-columns:84px minmax(0,1fr)}
  .application-state-summary .status{white-space:normal}
}
.payment-record,.sync-row{display:flex;gap:16px;align-items:start;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);flex-wrap:wrap;overflow-wrap:anywhere}
.payment-record h3,.sync-row h3{margin:0 0 8px}
.payment-record>div,.sync-row>div{min-width:0;flex:1 1 240px}
.search-form{display:flex;align-items:end;gap:16px;margin:24px 0;flex-wrap:wrap}
.search-form label{flex:1;min-width:180px}
@media(max-width:600px){.account-menu>summary{gap:4px;padding:4px}.account-menu .icon{width:16px}.account-menu-panel{position:absolute}.payment-record,.sync-row{flex-direction:column}.sync-row>div,.payment-record>div{flex-basis:auto}.search-form{align-items:stretch}.welcome-heading{margin-bottom:24px}}
.text-button{background:none;border:0;padding:8px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.text-button:hover{color:var(--navy)}
.app-shell{flex:1;min-width:0}
.simple-nav{display:flex;gap:8px;flex-wrap:wrap;padding:0 max(24px,calc((100% - 1096px)/2));background:var(--white);border-bottom:1px solid var(--line)}
.nav-link{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:12px 16px;border-bottom:2px solid transparent;color:var(--muted);font-size:.875rem;font-weight:700;text-decoration:none}
.nav-link:hover{background:var(--mist);color:var(--navy)}
.nav-link.selected{border-bottom-color:var(--navy);color:var(--navy)}
.main{width:100%;max-width:1160px;min-width:0;margin:auto;padding:32px 32px 48px}
.guided-page{max-width:800px;margin:0 auto}
.finance-page{margin-left:0}
.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}
.page-heading h1{margin-bottom:8px}
.page-heading p{margin:0;color:var(--muted);font-size:.9375rem}
.breadcrumbs,.payment-back{display:flex;align-items:center;gap:8px;min-height:44px;margin-bottom:16px;color:var(--muted);font-size:.875rem;flex-wrap:wrap}
.payment-back{display:inline-flex}
.payment-back .icon{transform:rotate(180deg);width:17px}
.footer{display:flex;justify-content:space-between;gap:24px;padding:20px 32px;border-top:1px solid var(--line);background:var(--white);color:var(--muted);font-size:.75rem;margin-top:auto}

/* Shared controls: no page-specific font or target-size overrides. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:11px 20px;border:1px solid transparent;border-radius:var(--control-radius);background:var(--navy);color:var(--white);font-size:.9375rem;line-height:1.5;font-weight:700;text-align:center;text-decoration:none;white-space:normal;transition:background-color .18s ease-out,color .18s ease-out}
.button:hover{background:var(--hover);color:var(--white)}
.button.secondary{background:var(--white);border-color:var(--field-border);color:var(--ink)}
.button.secondary:hover{background:var(--mist)}
.button.gold{background:var(--gold);color:var(--navy)}
.button.gold:hover{background:#e1c986}
.button.danger{background:var(--error)}
.button:disabled,.button:disabled:hover{background:#e4e9ed;color:var(--muted);border-color:var(--line)}
.button.small{min-height:44px;padding:9px 14px;font-size:.875rem}
.stack{display:flex;flex-direction:column;gap:24px}
.stack>.button{width:100%}
label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:700;min-width:0}
label small{font-weight:400;color:var(--muted)}
input,select,textarea{width:100%;min-width:0;min-height:48px;padding:11px 12px;border:1px solid var(--field-border);border-radius:var(--control-radius);color:var(--ink);background:var(--white);font-size:1rem;caret-color:var(--navy)}
input:hover,select:hover,textarea:hover{border-color:var(--navy)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
textarea{min-height:112px;resize:vertical;line-height:1.65}
textarea[rows="2"]{min-height:88px}
input:is([type=checkbox],[type=radio]){width:20px;height:20px;min-height:20px;flex:none;accent-color:var(--navy);margin:3px 0 0}
.checkbox{flex-direction:row;align-items:flex-start;gap:12px;min-height:44px;font-weight:400;padding:4px 0}
.block{display:block}
.consent{margin-top:16px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.full{grid-column:1/-1}
.form-group{margin:0;padding:32px 0;border:0;border-bottom:1px solid var(--line)}
.form-group:first-of-type{padding-top:0}
.form-group:last-child{padding-bottom:0;border:0}
.form-group h2{margin-bottom:20px}
.form-group legend{padding:0}
.form-intro{margin-bottom:24px;color:var(--muted);font-size:.875rem}
.form-actions,.wizard-actions{display:flex;align-items:center;gap:16px;margin:24px 0}
.wizard-actions .text-button{padding:12px}
.draft-actions{position:sticky;bottom:16px;z-index:2;flex-wrap:wrap;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.draft-actions [data-draft-state]{margin-inline-start:auto}
.background-section{padding:16px 0;border-bottom:1px solid var(--line);scroll-margin-top:24px}
.background-section>summary{font-size:1rem;font-weight:700;cursor:pointer;min-height:44px}
.background-section>summary .small{display:block;font-weight:400;margin-top:4px;margin-inline-start:20px}
.background-section>.form-group{padding:24px 0 0;margin:0;border:0}
.background-editor .page-heading{margin-bottom:24px}
.background-editor .wizard-steps{margin-bottom:16px}
.application-editor [id]{scroll-margin-block:24px 160px}
.evidence-group{border:0;margin:24px 0 0;padding:0;min-width:0}
.evidence-group legend{font-size:.875rem;font-weight:700;margin-bottom:8px;padding:0}
.payment-prerequisite .button{max-width:100%;white-space:normal}
.form-actions{justify-content:space-between}
.privacy-note{font-size:.8125rem;color:var(--muted);margin-top:32px}
.inline-link,.file-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem}
.inline-link{margin-top:12px}
.file-link{overflow-wrap:anywhere}
.spaced{margin-top:32px}

/* Single sign-in surface and recovery use the same task column. */
.auth-main{width:100%;flex:1;padding:40px 24px}
.auth-main>.notice{max-width:480px;margin:0 auto 24px}
.auth-box{width:100%;max-width:480px;margin:0 auto;padding:32px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.auth-box h1{margin-top:16px;font-size:1.75rem}
.simple-login h1{margin-top:0}
.auth-box>p{font-size:.9375rem;color:var(--muted);margin-bottom:24px}
.auth-box>p:last-child{margin:24px 0 0;font-size:.875rem}
.auth-recovery{display:inline-flex;align-items:center;min-height:44px;align-self:flex-start;margin-top:-12px}

/* Status and errors: text always accompanies color. */
.notice{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border:1px solid #cbb98f;border-radius:var(--control-radius);background:var(--caution-bg);color:var(--caution);margin:0 0 24px;font-size:.875rem}
.notice p{margin:0}
.notice.success{border-color:#a6c5b5;background:var(--success-bg);color:var(--success)}
.notice.error{border-color:#c8868a;background:var(--error-bg);color:var(--error)}
.notice ul{margin:8px 0 0;padding-left:20px}
.notice a{color:inherit;display:inline-flex;align-items:center;min-height:32px}
.notice:focus{outline:3px solid var(--focus);outline-offset:3px}
.field-error{display:block;margin:0;color:var(--error);font-size:.875rem;font-weight:400}
[aria-invalid=true]{border-color:var(--error)}
.status{display:inline-flex;align-items:center;max-width:100%;padding:5px 10px;border-radius:4px;background:#e9eef1;color:#355366;font-size:.8125rem;font-weight:700;line-height:1.5;white-space:normal}
.status-accepted,.status-paid,.status-demo_active,.status-active{background:var(--success-bg);color:var(--success)}
.status-needs_information,.status-conditional_acceptance,.status-partially_paid,.status-replacement_requested{background:var(--caution-bg);color:var(--caution)}
.status-rejected,.status-refunded{background:#f7e6e6;color:var(--error)}

/* Flat task surfaces, records and honest process navigation. */
.panel,.current-task{padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);min-width:0}
.current-task h2{font-size:1.5rem;line-height:1.35;margin-bottom:12px}
.current-task>p{color:var(--muted);margin-bottom:24px}
.current-task>form,.current-task>a{margin-top:8px}
.task-secondary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 24px;font-size:.875rem}
.task-secondary>a{display:inline-flex;align-items:center;min-height:44px}
.journey-progress{margin:0 0 32px}
.journey-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.journey-progress li{display:flex;align-items:center;gap:8px;padding:0 0 16px;border-bottom:2px solid var(--line);color:var(--muted);font-size:.875rem}
.journey-progress li.is-current{border-bottom-color:var(--navy);color:var(--navy);font-weight:700}
.journey-marker{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#e3eaee;font-size:.75rem}
.journey-marker .icon{width:15px;height:15px}
.is-current .journey-marker{background:var(--navy);color:var(--white)}
.is-complete .journey-marker{background:var(--success-bg);color:var(--success)}
.wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 32px;padding:0}
.wizard-steps a{display:flex;gap:8px;align-items:center;min-height:56px;padding:8px 0 16px;border-bottom:2px solid var(--line);font-size:.875rem;color:var(--muted);text-decoration:none}
.wizard-steps a>span:first-child{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e3eaee;font-size:.8125rem}
.wizard-steps a[aria-current=step]{color:var(--navy);font-weight:700;border-bottom-color:var(--navy)}
.wizard-steps a[aria-current=step]>span:first-child{background:var(--navy);color:var(--white)}
.step-count{font-size:.875rem;color:var(--muted);white-space:nowrap}
.record-disclosure{border-bottom:1px solid var(--line)}
summary{min-height:48px;padding:12px 0;cursor:pointer;color:var(--ink);font-size:.875rem;line-height:1.6}
.record-disclosure>summary{padding:20px 0;font-weight:700;font-size:.9375rem}
.record-content{padding:4px 0 24px}
.optional-details{border-top:1px solid var(--line);padding-top:8px;margin-top:24px}
.optional-details>summary,.quiet-disclosure>summary{color:var(--muted)}
details[open]>summary{margin-bottom:12px}
.application-records{margin-top:24px}
.plain-record{margin:0;padding:0}
.plain-record+.plain-record{margin-top:24px}
.record-content>.plain-record{background:none;padding:0;border:0}
.agreement-copy{padding:20px;background:var(--mist);border-radius:var(--control-radius);font-size:.9375rem;line-height:1.8;white-space:pre-line;margin:20px 0}
.task-price,.balance-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0;margin:16px 0;border-block:1px solid var(--line)}
.task-price>strong{font-size:1.5rem;font-variant-numeric:tabular-nums}
.task-form{margin-top:24px}
.balance-total{font-weight:700}
.facts{margin:0}
.facts>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}
.facts>div:last-child{border:0}
.facts dt{color:var(--muted);font-size:.875rem}
.facts dd{margin:0;font-size:.9375rem;overflow-wrap:anywhere;white-space:pre-line}
.review-checklist{margin-top:24px}
.review-checklist ul{padding:0;margin:0;list-style:none}
.review-checklist a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.9375rem}
.submit-section{padding-top:32px}
.submit-section p{color:var(--muted)}
.review-comment{padding:16px;background:var(--mist);margin:16px 0;font-size:.9375rem}
.review-comment p:last-child{margin:8px 0 0}
.request-message .message-copy{white-space:pre-wrap;overflow-wrap:anywhere}
.request-message h2,.current-task .request-message h2{font-size:1rem;line-height:1.5;margin-bottom:8px}
.request-message .small{margin-bottom:8px}
.review-checklist .checklist-next{display:inline-flex;border:0;padding:8px 0;margin-bottom:16px;font-weight:700}
.checklist-group{border-top:1px solid var(--line)}
.checklist-group>summary{min-height:48px;padding:16px 0;font-weight:700}
.checklist-group>summary .small{float:inline-end;margin-inline-start:16px}
.checklist-group ul{padding-bottom:16px}
.checklist-group li:last-child a{border-bottom:0}
.rejection-link{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;color:var(--error)}
.help-contact{margin:32px 0;padding-top:24px;border-top:1px solid var(--line)}
.condition{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.875rem}
.condition-content{min-width:0;width:100%;overflow-wrap:anywhere}
.condition-description{font-size:1rem}
.condition-editor{display:flex;flex-direction:column;gap:16px}
.condition-draft{display:flex;flex-direction:column;gap:16px}

/* Files and secondary financial records retain their original controls. */
.document-row{padding:24px 0;border-bottom:1px solid var(--line)}
.document-row:first-of-type{padding-top:8px}
.document-row:last-child{border:0;padding-bottom:0}
.row-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.row-top h3{margin:0}
.document-row p{font-size:.875rem;color:var(--muted);margin:12px 0;overflow-wrap:anywhere}
.upload-simple{max-width:520px;margin:16px 0}
.upload-simple>.button{align-self:flex-start}
input[type=file]{padding:8px;font-size:.875rem}
input::file-selector-button{padding:8px 12px;margin-right:12px;border:0;border-radius:4px;color:var(--ink);background:var(--mist);font:inherit;cursor:pointer}
.document-actions{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.document-actions>details{flex:1;min-width:160px}
.review-form{display:flex;flex-direction:column;gap:16px;padding:16px;background:var(--mist);margin-top:12px}
.invoice{padding:24px 0;border-bottom:1px solid var(--line)}
.invoice:first-of-type{padding-top:12px}
.invoice:last-child{border:0;padding-bottom:0}
.invoice h3{margin:0}
.invoice-meta{font-size:.875rem;color:var(--muted);margin-top:8px}
.invoice-amount{text-align:right;flex:none}
.invoice-amount strong{font-size:1.125rem}
.invoice .optional-details{border:0;margin-top:12px;padding:0}
.invoice .optional-details .stack{max-width:420px;margin-top:12px}
.payment-entry-link,.direct-payment{margin-top:24px}
.invoice-pay,.inline-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.inline-form label{flex:1;min-width:130px}
.invoice-pay label{max-width:220px}
.payment-entry{padding:16px 0;border-bottom:1px solid var(--line)}
.payment-entry p{margin-bottom:8px;overflow-wrap:anywhere}
.money,.no-wrap{white-space:nowrap;font-variant-numeric:tabular-nums}
.next-payment-title{margin-top:24px}
.other-payments>.invoice{padding:20px 0}

/* Payment is the same task system, with one amount and one primary action. */
.payment-page{max-width:880px;margin:0 auto}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:var(--radius);background:var(--white);overflow:hidden}
.checkout-summary{padding:32px;background:var(--navy);color:var(--white)}
.checkout-summary h2{color:var(--white)}
.checkout-summary>p{color:#d0dde6;font-size:.875rem}
.checkout-total{padding:16px 0 24px}
.checkout-total>span{color:#d0dde6;font-size:.875rem}
.checkout-total>strong{display:block;font-size:2rem;line-height:1.4;font-variant-numeric:tabular-nums;margin:8px 0}
.checkout-total>strong>span{font-size:1rem;font-weight:400;color:#d0dde6}
.checkout-total p{margin:8px 0 0;color:#e8d6a9;font-size:.9375rem}
.checkout-details{border-top:1px solid #526a7c}
.checkout-details>summary{color:#e8d6a9}
.checkout-breakdown{margin:0}
.checkout-breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #526a7c;font-size:.875rem}
.checkout-breakdown dt{color:#d0dde6}
.checkout-breakdown dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.checkout-reference{color:#d0dde6;font-size:.8125rem;margin:16px 0 0;overflow-wrap:anywhere}
.checkout-action{padding:32px;min-width:0;align-self:start}
.checkout-action>p{font-size:.9375rem;color:var(--muted)}
.checkout-action .button{width:100%;justify-content:space-between}
.payment-method{display:flex;align-items:flex-start;gap:12px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.payment-method>.icon{width:24px;height:24px;margin-top:3px}
.payment-method p{font-size:.875rem;color:var(--muted);margin:8px 0 0}
.payment-purpose{margin-bottom:20px}
.payment-test-note{background:var(--caution-bg);color:var(--caution);padding:12px 16px;font-size:.875rem;line-height:1.65}
.checkout-caption{font-size:.8125rem!important;margin:16px 0 0}
.payment-confirmed-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:16px;border-radius:50%;color:var(--success);background:var(--success-bg)}
.payment-issues{padding-left:20px;color:var(--muted)}
.payment-issues li{margin-bottom:12px}
.print-page{max-width:800px;width:100%;margin:32px auto;padding:32px;background:var(--white)}
.receipt-page .header{padding:0 0 24px;margin-bottom:24px;border:0}
.receipt-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.receipt-amount{padding:24px 0;border-bottom:1px solid var(--line)}
.receipt-amount>span{display:block;font-size:.875rem;color:var(--muted)}
.receipt-amount>strong{display:block;font-size:2rem;margin:8px 0;font-variant-numeric:tabular-nums}
.receipt-amount>p{color:var(--muted);margin:0}
.receipt-transactions article{padding:20px 0;border-bottom:1px solid var(--line);break-inside:avoid}
.receipt-transactions article>div{display:flex;justify-content:space-between;gap:16px;font-variant-numeric:tabular-nums}
.receipt-transactions article>div>span{font-size:.875rem;color:var(--muted)}
.receipt-transactions p{margin:8px 0 0;overflow-wrap:anywhere}
.receipt-actions{display:flex;gap:24px;align-items:center;padding-top:24px}
.receipt-actions .text-link{display:inline-flex;min-height:44px;align-items:center}

/* Director review shares type, spacing and controls with the student view. */
.tabs{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:24px}
.tabs a{display:inline-flex;align-items:center;padding:12px 0;min-height:48px;font-size:.875rem;text-decoration:none;border-bottom:2px solid transparent}
.tabs a.active{border-bottom-color:var(--navy);font-weight:700}
.inbox-search{display:flex;align-items:center;gap:12px;margin:0 0 24px}
.inbox-search>input{flex:1}
.inbox-search>.button{width:auto;white-space:nowrap}
.staff-list,.application-list{background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.staff-item,.application-item{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border-bottom:1px solid var(--line)}
.staff-item:last-child,.application-item:last-child{border:0}
.staff-item>div:first-child,.application-item>div{min-width:0}
.staff-item p,.application-item p{font-size:.9375rem;color:var(--muted);margin:4px 0 8px}
.applicant-name{display:inline-flex;align-items:center;min-height:44px;font-size:1rem;font-weight:700}
.record-meta,.reference{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums}
.staff-item-action{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:none}
.staff-item-action>.status{max-width:180px}
.staff-item-action>.button{flex:none}
.record-content.application-list{background:none;border:0;border-radius:0}
.record-content .application-item{padding:16px 0}
.record-content .application-item h2{font-size:1rem}
.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.review-layout>div,.review-layout>aside{min-width:0}
.review-jump{display:none}
.decision-panel .stack{gap:20px}
.decision-panel .record-disclosure:last-child{border:0}
.decision-panel .record-disclosure>summary{font-size:.875rem}
.quick-accept{margin-bottom:16px}
.decision-actions{display:flex;flex-direction:column;gap:12px}
.decision-options{padding:0;border:0;margin:0}
.decision-options legend{font-size:.875rem;color:var(--muted);margin-bottom:8px}
.decision-options label{flex-direction:row;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0}
.change-options{padding:0;border:0;margin:0;min-width:0}
.qualification-entry{border:0;border-top:1px solid var(--line);padding:24px 0 0;margin:24px 0;min-width:0}
.qualification-entry legend{font-weight:700;padding:0 0 12px}
.additional-qualifications{margin-top:24px}
.change-options legend{font-size:.875rem;font-weight:700;margin-bottom:8px}
.change-options .checkbox{margin:0;min-height:48px;padding:12px 0;border-bottom:1px solid var(--line)}
.change-options .checkbox:last-child{border-bottom:0}
.requested-items{padding-inline-start:20px;margin:8px 0 16px}
.requested-item{display:inline-flex;align-items:center;min-height:44px}
.conditional-fields{display:grid;gap:16px;margin-top:16px}
.decision-consequence{margin:0}
.readiness-list{font-size:.875rem;padding-left:20px}
.readiness-list li{padding:4px 0}
.request-options{list-style:none;padding:0;display:grid;gap:4px}
.request-options a{display:flex;align-items:center;min-height:48px;padding:8px 0}
.request-case{border-top:1px solid var(--line);padding-top:24px;margin-top:32px;scroll-margin-top:24px}
.request-case h3{margin:0}
.request-facts{margin-top:16px}
.request-messages{list-style:none;padding:0;margin:20px 0}
.request-messages li+li{margin-top:20px}
.request-messages p{margin:0}
.request-message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.request-form{margin-top:20px}
.timeline-item{display:flex;gap:16px;padding-bottom:24px}
.timeline-marker{height:7px;width:7px;flex:none;border-radius:50%;background:var(--field-border);margin-top:10px}
.timeline p{font-size:.9375rem;margin-bottom:8px}
.timeline time{font-size:.8125rem;color:var(--muted)}
.pagination{margin-top:24px}
.pagination-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pagination-control{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--field-border);border-radius:var(--control-radius);font-size:.875rem;text-decoration:none;font-variant-numeric:tabular-nums;background:var(--white)}
.pagination-control:hover{background:var(--mist);color:var(--navy)}
.pagination-control.current{background:var(--navy);color:var(--white);border-color:var(--navy)}
.pagination-control[aria-disabled]{color:var(--muted);background:var(--mist);border-color:var(--line)}
.pagination-gap{padding:8px;color:var(--muted)}
/* One destination per task: labelled staff workspace, compact student navigation. */
.primary-navigation{min-width:0;background:var(--white)}
.navigation-toggle{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 24px;cursor:pointer;list-style:none;font-size:.9375rem;font-weight:700}
.navigation-toggle::-webkit-details-marker,.navigation-group>summary::-webkit-details-marker{display:none}
.navigation-toggle>.icon:last-child{margin-left:auto}
.primary-navigation[open]>.navigation-toggle>.icon:last-child{transform:rotate(180deg)}
.navigation-panel{padding:12px 16px}
.navigation-caption{margin:0 12px 12px;font-size:.8125rem;color:var(--muted)}
.staff-nav,.daily-navigation,.navigation-group-links{display:flex;flex-direction:column;gap:4px}
.navigation-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;border-radius:var(--control-radius);color:var(--muted);font-size:.875rem;line-height:1.5;text-decoration:none}
.navigation-link .icon{width:18px;height:18px}
.navigation-link span{min-width:0}
.navigation-link:hover,.navigation-group>summary:hover{background:var(--mist);color:var(--ink)}
.navigation-link.selected{background:var(--mist);color:var(--navy);font-weight:700}
.navigation-group{margin-top:16px}
.navigation-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:12px;list-style:none;cursor:pointer;font-size:.875rem;font-weight:700;border-radius:var(--control-radius)}
.navigation-group>summary .icon{width:16px;height:16px}
.navigation-group[open]>summary .icon{transform:rotate(180deg)}
.navigation-group-links{margin-top:4px;padding-left:12px}
.student-nav{display:flex;gap:8px;max-width:1096px;margin:auto}
.student-nav .navigation-link{white-space:nowrap}
@media(min-width:1100px){
  .navigation-toggle{display:none}
  /* 240px workspace + fluid content; both stay inside the same outer frame. */
  .staff-portal .header{padding-inline:32px}
  .staff-shell{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;width:100%;max-width:1680px;margin:0 auto}
  .staff-navigation{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;margin:24px 0 24px 16px;border-radius:var(--radius)}
  .staff-navigation .navigation-panel{padding:20px 12px}
  .staff-shell>.main{margin:0 auto}
  .student-navigation{border-bottom:1px solid var(--line)}
  .student-navigation .navigation-panel{padding:8px 24px}
}
@media(max-width:1099px){
  .primary-navigation{position:relative;border-bottom:1px solid var(--line)}
  .primary-navigation[open]>.navigation-panel{position:absolute;inset-inline:16px;top:calc(100% + 8px);z-index:30;max-height:65dvh;overflow-y:auto;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 32px #102b4214}
  .student-nav{flex-direction:column;gap:4px}
  .navigation-caption{margin-top:8px}
}
.settings-map{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:24px}
.settings-map a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}
.program-settings-group>summary{min-height:52px;font-size:1.125rem}
.save-scope{margin-top:16px}
.decision-identity{overflow-wrap:anywhere}
.empty{padding:32px}
.empty p{color:var(--muted)}
.program-list{display:flex;flex-direction:column;gap:24px}
.program{display:grid;grid-template-columns:minmax(0,1fr) 224px;gap:32px}
.program p{font-size:.9375rem;color:var(--muted)}
.program-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin:20px 0;font-size:.875rem}
.program-action{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding-left:24px;border-left:1px solid var(--line)}
.program-action>strong{font-size:1.5rem;font-variant-numeric:tabular-nums}
.program-action .button{width:100%}
.owner-mobile-nav{display:none}
.owner-desktop-nav{flex-wrap:wrap}
@media(max-width:800px){
  .owner-desktop-nav{display:none}
  .owner-mobile-nav{display:block;margin:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--white);border:1px solid var(--line);border-radius:var(--control-radius)}
  .owner-mobile-nav>summary{font-weight:700;min-height:24px}
  .owner-mobile-nav nav{display:flex;flex-direction:column;margin-top:var(--space-3)}
  .owner-mobile-nav a{display:flex;align-items:center;min-height:48px;padding:var(--space-2);color:var(--ink)}
  .owner-mobile-nav a[aria-current]{font-weight:700;background:var(--mist)}
}
/* Legacy records remain readable; none is promoted to a primary destination. */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}
table{border-collapse:collapse;width:100%;text-align:left}
th,td{padding:16px;border-bottom:1px solid var(--line);font-size:.875rem}
th{background:var(--mist);color:var(--muted)}
td strong,td small{display:block}
.narrow{max-width:720px;margin-inline:auto}
.required-label{color:var(--gold-text);font-size:.8125rem}
.missing-details a{display:inline-flex;align-items:center;min-height:44px}
.mobile-guidance{display:none}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
progress{width:100%;height:8px;accent-color:var(--navy);margin:16px 0}

@media(max-width:1000px){
  .account{display:none}
  .review-layout{grid-template-columns:minmax(0,1fr) 320px}
  .staff-item-action{flex-direction:column;align-items:flex-end;gap:12px}
}
@media(max-width:800px){
  .main{padding:28px 24px 40px}
  .review-layout,.checkout-layout,.program{grid-template-columns:minmax(0,1fr)}
  .review-jump{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:16px;font-size:.875rem}
  .program-action{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}
  .program-action form{width:100%}
  .checkout-summary,.checkout-action{padding:28px}
  .checkout-summary>p{margin-bottom:8px}
  .checkout-total{padding:8px 0 20px}
  .wizard-steps a{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:600px){
  .demo-bar{padding:6px 16px}
  .demo-bar span{display:none}
  .header{padding:12px 16px;gap:12px;min-height:80px}
  .brand{gap:8px}
  .brand img{width:32px;height:40px}
  .brand>span{font-size:20px}
  .brand small{font-size:9px;letter-spacing:0;margin-top:5px}
  .header-end{gap:0}
  .header-end>.text-link,.header-end .text-button{font-size:.8125rem;padding-inline:4px;max-width:88px;text-align:center}
  .simple-nav{padding:0 8px;gap:0}
  .navigation-toggle{padding-inline:16px}
  .main{padding:24px 16px 40px}
  .footer{padding:20px 16px;flex-direction:column;gap:8px}
  h1{font-size:1.5rem}
  .page-heading{flex-direction:column;gap:12px;margin-bottom:24px}
  .page-heading p{font-size:.875rem}
  .panel,.current-task{padding:24px 20px}
  .current-task h2{font-size:1.375rem}
  .fields{grid-template-columns:minmax(0,1fr)}
  .form-actions,.wizard-actions{flex-direction:column;align-items:stretch;gap:8px}
  .draft-actions{flex-direction:row;align-items:center;padding:12px;bottom:8px}
  .draft-actions>.button{flex:1;white-space:normal}
  .draft-actions [data-draft-state]{flex-basis:100%;margin-inline-start:0}
  .wizard-actions>.text-link{display:flex;align-items:center;justify-content:center;min-height:44px}
  .button{width:100%}
  .auth-main{padding:24px 16px}
  .auth-box{padding:28px 24px}
  .auth-box h1{font-size:1.5rem}
  .journey-progress{margin-bottom:24px}
  .journey-progress ol,.wizard-steps{gap:8px}
  .journey-progress li{flex-direction:column;align-items:flex-start;gap:8px;font-size:.8125rem;padding-bottom:12px}
  .wizard-steps{margin-bottom:24px}
  .wizard-steps a{font-size:.8125rem;line-height:1.5;padding-bottom:12px}
  .wizard-steps a>span:first-child{width:24px;height:24px;font-size:.75rem}
  .task-secondary{flex-direction:column;align-items:flex-start;gap:4px}
  .task-price{flex-direction:column;gap:8px}
  .facts>div{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0}
  .staff-item,.application-item{padding:20px;flex-direction:column;align-items:stretch;gap:16px}
  .staff-item-action{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
  .staff-item-action>.button{width:auto;flex:1;max-width:220px;font-size:.875rem;padding-inline:12px}
  .staff-item-action>.status{max-width:140px}
  .inbox-search{gap:8px;flex-wrap:wrap}
  .inbox-search>input{flex-basis:140px}
  .inbox-search>.button{padding-inline:14px}
  .tabs{gap:0 20px}
  .tabs a{font-size:.8125rem}
  .document-actions{flex-direction:column}
  .document-actions>form,.document-actions>details{width:100%}
  .upload-simple>.button{align-self:stretch}
  .invoice-amount{font-size:.875rem}
  .invoice-amount strong{font-size:1rem}
  .inline-form{align-items:stretch}
  .condition,.balance-total{flex-wrap:wrap}
  .checkout-summary,.checkout-action{padding:24px 20px}
  .checkout-summary h2{font-size:1.125rem;margin-bottom:8px}
  .checkout-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:8px 0 16px}
  .checkout-total>strong{grid-column:2;grid-row:1;margin:0}
  .checkout-total>p{grid-column:1/-1;margin:4px 0 0}
  .checkout-total>strong{font-size:1.875rem}
  .print-page{margin:0;padding:24px 20px}
  .receipt-title{flex-direction:column;gap:8px}
  .receipt-actions{flex-direction:column;align-items:stretch;gap:12px}
  .receipt-actions .text-link{justify-content:center}
}
@media(max-width:360px){
  .brand>span{font-size:18px}
  .brand img{width:28px}
  .brand small{font-size:9px}
  .header-end>.text-link{max-width:64px}
  .staff-item-action{flex-direction:column;align-items:stretch}
  .staff-item-action>.button{width:100%;max-width:none}
}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
@media(max-height:500px){.draft-actions{position:static}}
@media print{
  .demo-bar,.simple-nav,.primary-navigation,.footer,.no-print,.skip{display:none}
  .staff-shell{display:block}
  body{background:white;display:block}
  .header{border:0}
  .main,.print-page{padding:0;margin:0;max-width:none}
  .panel,.receipt-transactions article{break-inside:avoid}
}
.curriculum-order{padding-left:24px;margin:16px 0}.curriculum-order li{padding:16px 0;border-bottom:1px solid var(--line)}.curriculum-order li>span{display:block;font-weight:700;margin-bottom:12px;overflow-wrap:anywhere}.curriculum-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.agreement-terms .facts dd { font-size: 1rem; }
