/* AHEC experience system: shared proportions, accessible controls and calm motion. */
:root{--ahec-ink:#122b43;--ahec-ink-soft:#38536b;--ahec-gold:#c9a030;--ahec-gold-deep:#886818;--ahec-paper:#fff;--ahec-canvas:#f3f6f8;--ahec-line:#dce5eb;--ahec-success:#176547;--ahec-danger:#963a32;--ahec-radius:18px;--ahec-shadow:0 14px 38px rgba(18,43,67,.075)}
.ahec-workspace{background:radial-gradient(ellipse at 90% 0,rgba(201,160,48,.08),transparent 30%),var(--ahec-canvas);color:var(--ahec-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.ahec-workspace main{padding:clamp(18px,3.5vw,42px);max-width:1580px}
.ahec-workspace main h1,.ahec-workspace main h2,.ahec-workspace main h3{letter-spacing:-.025em}
.ahec-workspace main a:not(.button){text-underline-offset:3px}
.ahec-workspace main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ahec-workspace main select,.ahec-workspace main textarea{width:min(100%,680px);min-height:46px;padding:11px 13px;border:1px solid #cbd7e0;border-radius:11px;background:#fff;color:var(--ahec-ink);font:inherit;transition:border-color .16s,box-shadow .16s,background .16s}
.ahec-workspace main textarea{min-height:118px;resize:vertical}
.ahec-workspace main input[type=file]{width:100%;min-height:auto;padding:11px;border:1px dashed #bccbd7;border-radius:12px;background:#f9fbfc}
.ahec-workspace main input:focus,.ahec-workspace main select:focus,.ahec-workspace main textarea:focus{border-color:var(--ahec-gold);outline:0;box-shadow:0 0 0 4px rgba(201,160,48,.16)}
.ahec-workspace main button,.ahec-workspace main .button,.ahec-workspace main input[type=submit]{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid var(--ahec-ink);border-radius:11px;background:linear-gradient(135deg,#193b59,#102b43);color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none;box-shadow:0 6px 13px rgba(18,43,67,.12);cursor:pointer;transition:transform .16s,box-shadow .16s,filter .16s}
.ahec-workspace main button:hover,.ahec-workspace main .button:hover,.ahec-workspace main input[type=submit]:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 9px 19px rgba(18,43,67,.16)}
.ahec-workspace main button:active,.ahec-workspace main .button:active{transform:translateY(0) scale(.985)}
.ahec-workspace main :disabled{cursor:not-allowed!important;opacity:.62}
.ahec-workspace main .ahec-action-card,.ahec-workspace main .ahec-profile-card,.ahec-workspace main .ahec-library-section,.ahec-workspace main .ahec-overview-curriculum,.ahec-workspace main .ahec-review-card,.ahec-workspace main .portal-panel{box-shadow:var(--ahec-shadow)}
.ahec-workspace main table{border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--ahec-line);border-radius:14px;background:#fff}
.ahec-workspace main th{background:#edf2f5;color:var(--ahec-ink);font-size:12px;font-weight:800;letter-spacing:.025em}
.ahec-workspace main td,.ahec-workspace main th{padding:12px 14px;border-bottom:1px solid #e8edf1}
.ahec-workspace main tbody tr:hover{background:#fafbfd}
.ahec-workspace main details{transition:border-color .16s,box-shadow .16s}
.ahec-workspace main details>summary{min-height:42px;display:flex;align-items:center;gap:10px}
.ahec-workspace main details[open]>summary{color:var(--ahec-gold-deep)}
.ahec-workspace main .ahec-status-panel,.ahec-workspace main .ahec-review-summary{border:1px solid #e5d8af;border-left:4px solid var(--ahec-gold);background:linear-gradient(120deg,#fffaf0,#f8f7f2)}
.ahec-workspace main .ahec-upload-status{margin:10px 0;padding:12px 15px;border:1px solid #b8dfcb;border-radius:12px;background:#edfaf2;color:#1a6044;font-weight:650;animation:ahec-notice-in .24s ease-out}
.ahec-workspace main .ahec-upload-status[role=alert]{border-color:#efc4bd;background:#fff3f0;color:#8a3028}
.ahec-workspace main [aria-busy=true]{cursor:progress}
.ahec-workspace main .ahec-agent-form[aria-busy=true]{opacity:.78}
/* Public AHEC applications, candidate and institutional dashboards. */
.ahec-agent,.ahec-onboarding,.ahec-reg-portal,.ahec-exam-workspace,.ahec-qual-page{color:var(--ahec-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.ahec-agent,.ahec-onboarding{width:min(calc(100% - 28px),1120px);margin:clamp(20px,4vw,48px) auto;padding:clamp(20px,4vw,42px);border:1px solid var(--ahec-line);border-radius:22px;background:linear-gradient(145deg,#fff,#fbfcfd 72%,#faf7eb);box-shadow:var(--ahec-shadow)}
.ahec-agent>h1,.ahec-onboarding>h1{font-size:clamp(27px,4vw,42px);line-height:1.13;color:var(--ahec-ink)}
.ahec-agent h2,.ahec-onboarding h2,.ahec-reg-portal h2{color:var(--ahec-ink);letter-spacing:-.025em}
.ahec-agent p,.ahec-onboarding p{color:#52697d;line-height:1.7}
.ahec-agent form,.ahec-onboarding form,.ahec-reg-portal form,.ahec-exam-workspace form{max-width:100%}
.ahec-agent label,.ahec-onboarding label,.ahec-reg-portal label,.ahec-exam-workspace label{display:grid;gap:7px;min-width:0;color:#29465f;font-size:13px;font-weight:700}
.ahec-agent input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ahec-agent select,.ahec-agent textarea,.ahec-onboarding input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ahec-onboarding select,.ahec-onboarding textarea,.ahec-reg-portal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ahec-reg-portal select,.ahec-reg-portal textarea,.ahec-exam-workspace input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ahec-exam-workspace select,.ahec-exam-workspace textarea{width:100%;max-width:100%;min-height:45px;padding:10px 12px;border:1px solid #cbd7e0;border-radius:10px;background:#fff;color:var(--ahec-ink);font:inherit}
.ahec-agent textarea,.ahec-onboarding textarea,.ahec-reg-portal textarea,.ahec-exam-workspace textarea{min-height:110px}
.ahec-agent button,.ahec-onboarding button,.ahec-reg-portal button,.ahec-exam-workspace button,.ahec-agent .button,.ahec-onboarding .button{min-height:44px;border-radius:10px;font-weight:750;transition:transform .16s,box-shadow .16s}
.ahec-agent button:hover,.ahec-onboarding button:hover,.ahec-reg-portal button:hover,.ahec-exam-workspace button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(18,43,67,.14)}
.ahec-agent table,.ahec-reg-portal table,.ahec-exam-workspace table{width:100%;max-width:100%;border-collapse:collapse;border:1px solid var(--ahec-line);border-radius:14px;overflow:hidden;background:#fff}
.ahec-agent th,.ahec-reg-portal th,.ahec-exam-workspace th{background:#edf2f5;color:var(--ahec-ink);font-weight:800}
.ahec-agent td,.ahec-agent th,.ahec-reg-portal td,.ahec-reg-portal th,.ahec-exam-workspace td,.ahec-exam-workspace th{padding:11px 13px;border-bottom:1px solid #e7edf1;overflow-wrap:anywhere}
.ahec-agent details,.ahec-onboarding details,.ahec-reg-portal details{padding:14px;border:1px solid var(--ahec-line);border-radius:12px;background:#fff}
.ahec-agent details>summary,.ahec-onboarding details>summary,.ahec-reg-portal details>summary{cursor:pointer;font-weight:750}
.ahec-exam-workspace .ahec-exam-tile,.ahec-reg-portal .portal-panel,.ahec-onboarding .ahec-onboarding-step{border-radius:17px;box-shadow:0 10px 28px rgba(18,43,67,.06)}
.ahec-exam-workspace .ahec-exam-grid,.ahec-agent .ahec-field-grid,.ahec-onboarding .ahec-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ahec-qual-page{width:min(calc(100% - 28px),1240px);margin:clamp(20px,4vw,48px) auto}
#ahec-payment-main{width:min(calc(100% - 28px),1320px);margin-inline:auto}
#ahec-payment-main form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),#ahec-payment-main form select,#ahec-payment-main form textarea{max-width:100%;border-radius:10px}
#ahec-payment-main .wc-block-components-button{min-height:48px;border-radius:11px;font-weight:750;transition:transform .16s,box-shadow .16s}
#ahec-payment-main .wc-block-components-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(18,43,67,.14)}
.ahec-workspace .ahec-workspace-sidebar{box-shadow:12px 0 36px rgba(7,23,38,.08)}
.ahec-workspace .ahec-workspace-brand{display:inline-flex;min-height:55px;align-items:center}
.ahec-workspace .ahec-workspace-sidebar nav a{position:relative;border:1px solid transparent;transition:background .18s,border-color .18s,transform .18s}
.ahec-workspace .ahec-workspace-sidebar nav a[aria-current=page]{border-color:rgba(226,195,121,.32);background:linear-gradient(100deg,rgba(201,160,48,.22),rgba(255,255,255,.055));box-shadow:inset 3px 0 var(--ahec-gold)}
.ahec-workspace .ahec-workspace-topbar{backdrop-filter:blur(14px)}
.ahec-review-workspace .ahec-review-panel>summary{min-height:70px;padding:8px 4px}
.ahec-review-workspace .ahec-review-panel .ahec-expand{margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f2f5f7;color:var(--ahec-ink);transition:transform .2s,background .2s}
.ahec-review-workspace .ahec-review-panel[open] .ahec-expand{transform:rotate(45deg);background:#f8f1dd}
.ahec-review-workspace .ahec-review-document{border:1px solid var(--ahec-line);background:linear-gradient(145deg,#f9fbfc,#f3f6f8)}
.ahec-review-workspace .ahec-review-preview{box-shadow:0 7px 20px rgba(18,43,67,.045)}
.ahec-review-workspace .ahec-review-actions{padding-top:14px;border-top:1px solid #e1e8ed}
.ahec-review-workspace .ahec-review-actions .ahec-review-approved{background:linear-gradient(135deg,#19714f,#13583f);border-color:#13583f}
.ahec-review-workspace .ahec-review-actions .ahec-review-rejected,.ahec-review-workspace .ahec-review-actions .ahec-review-suspended{background:#fff;color:var(--ahec-danger);border-color:#d9a39d;box-shadow:none}
.ahec-review-workspace .ahec-review-feedback{grid-column:1/-1;margin:0;padding:11px 13px;border:1px solid #badfc9;border-radius:10px;background:#effaf3;color:var(--ahec-success);font-weight:700}
.ahec-review-workspace .ahec-review-feedback.is-error{border-color:#efc4bd;background:#fff3f0;color:var(--ahec-danger)}
.ahec-review-workspace .ahec-review-actions.is-complete{opacity:.83}
.ahec-review-workspace .ahec-review-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.ahec-review-workspace .ahec-review-switcher>a{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:17px;border:1px solid var(--ahec-line);border-radius:16px;background:linear-gradient(145deg,#fff,#f8fafb);color:var(--ahec-ink);text-decoration:none;box-shadow:0 8px 24px rgba(18,43,67,.05);transition:transform .18s,border-color .18s,box-shadow .18s}
.ahec-review-workspace .ahec-review-switcher>a:hover{transform:translateY(-2px);border-color:#d6c17f;box-shadow:0 14px 30px rgba(18,43,67,.1)}
.ahec-review-workspace .ahec-review-switch-icon{display:grid;width:46px;height:46px;place-items:center;border:1px solid #eadba9;border-radius:14px;background:linear-gradient(145deg,#fff9e9,#f2e7c3);color:#785e1b;font-size:22px}
.ahec-review-workspace .ahec-review-switcher strong,.ahec-review-workspace .ahec-review-switcher small{display:block}
.ahec-review-workspace .ahec-review-switcher strong{font-size:15px}
.ahec-review-workspace .ahec-review-switcher small{margin-top:4px;color:#637587;font-size:12px;line-height:1.45}
.ahec-review-workspace .ahec-review-switcher b{display:grid;min-width:36px;height:36px;place-items:center;border-radius:50%;background:#edf2f5;color:var(--ahec-ink)}
.ahec-review-workspace .ahec-review-group{scroll-margin-top:20px;margin:28px 0 38px}
.ahec-review-workspace .ahec-review-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #dce5eb}
.ahec-review-workspace .ahec-review-group-head h2{margin:5px 0 0;font-size:clamp(23px,3vw,31px)}
.ahec-review-workspace .ahec-review-group-count{padding:7px 11px;border-radius:999px;background:#edf2f5;color:#456074;font-size:12px;font-weight:750}
.ahec-review-workspace .ahec-review-guidance{max-width:80ch;color:#536a7e;line-height:1.65}
@keyframes ahec-notice-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
/* WordPress admin surfaces */
body.wp-admin #wpbody-content>.wrap{max-width:min(1580px,calc(100% - 40px));color:var(--ahec-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body.wp-admin #wpbody-content>.wrap>h1{border-bottom:0;padding-bottom:14px;font-family:Georgia,serif;letter-spacing:-.025em}
body.wp-admin #wpbody-content>.wrap h2{letter-spacing:-.02em}
body.wp-admin #wpbody-content>.wrap form{border-radius:15px;border-color:var(--ahec-line);box-shadow:0 8px 24px rgba(18,43,67,.045)}
body.wp-admin #wpbody-content>.wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.wp-admin #wpbody-content>.wrap select,body.wp-admin #wpbody-content>.wrap textarea{min-height:43px;border-color:#cbd7e0;border-radius:9px;box-shadow:none}
body.wp-admin #wpbody-content>.wrap input:focus,body.wp-admin #wpbody-content>.wrap select:focus,body.wp-admin #wpbody-content>.wrap textarea:focus{border-color:var(--ahec-gold);outline:0;box-shadow:0 0 0 4px rgba(201,160,48,.15)}
body.wp-admin #wpbody-content>.wrap .button{min-height:40px;border-radius:9px;font-weight:650;transition:transform .15s,box-shadow .15s,background .15s}
body.wp-admin #wpbody-content>.wrap .button:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(18,43,67,.1)}
body.wp-admin #wpbody-content>.wrap .notice{border-radius:10px}
body.wp-admin #wpbody-content>.wrap .widefat tbody tr:nth-child(even){background:#fafbfd}
body.wp-admin #wpbody-content>.wrap .widefat tbody tr:hover{background:#f4f8fa}
body.wp-admin .ahec-review-workspace{max-width:min(1480px,calc(100% - 36px))}
body.wp-admin .ahec-review-workspace .ahec-review-actions{display:grid;gap:12px}
body.wp-admin .ahec-review-workspace .ahec-review-actions>div{display:flex;flex-wrap:wrap;gap:9px}
body.wp-admin .ahec-review-workspace .ahec-review-actions .ahec-review-approved{background:linear-gradient(135deg,#19714f,#13583f);border-color:#13583f;color:#fff}
body.wp-admin .ahec-review-workspace .ahec-review-actions .ahec-review-rejected,body.wp-admin .ahec-review-workspace .ahec-review-actions .ahec-review-suspended{border-color:#d9a39d;background:#fff;color:var(--ahec-danger)}
body.wp-admin .ahec-review-workspace .ahec-review-feedback{display:block;margin:0;padding:10px 12px;border:1px solid #badfc9;border-radius:9px;background:#effaf3;color:var(--ahec-success);font-weight:700}
body.wp-admin .ahec-review-workspace .ahec-review-feedback.is-error{border-color:#efc4bd;background:#fff3f0;color:var(--ahec-danger)}
body.wp-admin .ahec-review-workspace .ahec-review-hero{padding:clamp(22px,3vw,36px);border-radius:20px;background:radial-gradient(circle at 90% 0,rgba(201,160,48,.22),transparent 27%),linear-gradient(125deg,#102b43,#20455d);color:#fff;box-shadow:0 18px 40px rgba(16,43,67,.15)}
body.wp-admin .ahec-review-workspace .ahec-review-hero h1{margin:7px 0 9px;padding:0;border:0;color:#fff;font-size:clamp(29px,4vw,42px)}
body.wp-admin .ahec-review-workspace .ahec-review-hero p{max-width:70ch;margin:0;color:#dce7ee;font-size:14px;line-height:1.65}
body.wp-admin .ahec-review-workspace .ahec-review-guidance{max-width:85ch;color:#52687b;line-height:1.7}
body.wp-admin .ahec-review-workspace .ahec-approvals-eyebrow{color:#9a7720}
body.wp-admin .ahec-review-workspace .ahec-review-hero .ahec-approvals-eyebrow{color:#e5c873}
body.wp-admin .ahec-admin-wrap .ahec-doc-review-feedback{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;color:var(--ahec-success)}
body.wp-admin .ahec-admin-wrap .ahec-doc-review-feedback.is-error{color:var(--ahec-danger)}
body.wp-admin .ahec-admin-wrap .ahec-approve-doc{transition:transform .15s,box-shadow .15s}
body.wp-admin .ahec-admin-wrap .ahec-approve-doc:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(18,43,67,.12)}
@media(max-width:860px){.ahec-review-workspace .ahec-review-switcher{grid-template-columns:1fr}}
@media(max-width:700px){.ahec-agent,.ahec-onboarding{width:min(calc(100% - 20px),1120px);padding:18px;border-radius:17px}.ahec-exam-workspace .ahec-exam-grid,.ahec-agent .ahec-field-grid,.ahec-onboarding .ahec-field-grid{grid-template-columns:1fr}.ahec-agent table,.ahec-reg-portal table,.ahec-exam-workspace table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:600px){.ahec-workspace main{padding:15px}.ahec-review-workspace .ahec-review-card{padding:15px}.ahec-review-workspace .ahec-review-group-head{align-items:flex-start;flex-direction:column}.ahec-review-workspace .ahec-review-switcher>a{grid-template-columns:42px minmax(0,1fr) auto;padding:13px}.ahec-review-workspace .ahec-review-switch-icon{width:40px;height:40px}body.wp-admin .ahec-review-workspace .ahec-review-actions>div{display:grid;grid-template-columns:1fr}body.wp-admin .ahec-review-workspace .ahec-review-actions button{width:100%}body.wp-admin #wpbody-content>.wrap{max-width:100%;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.ahec-workspace *{scroll-behavior:auto!important;animation:none!important;transition:none!important}.ahec-review-workspace .ahec-review-switcher>a:hover,.ahec-workspace main button:hover,.ahec-workspace main .button:hover{transform:none}}
