/* JI Education Agents — standards-aligned design. All public selectors are page-scoped. */
#ji-ea-page{--ea-navy:#142f55;--ea-deep:#0b2b52;--ea-blue:#1a476f;--ea-gold:#e2b75f;--ea-light:#f1f6fb;--ea-muted:#4b6077;--ea-border:#dfe7f0;background:#fff;color:var(--ea-navy);overflow:clip;font:400 16px/1.62 'Avenir Next','Segoe UI',Arial,sans-serif}
#ji-ea-page *,#ji-ea-page *:before,#ji-ea-page *:after{box-sizing:border-box}
#ji-ea-page .jiea-container{max-width:1200px;margin:0 auto}
#ji-ea-page :is(h1,h2,h3,p){margin-top:0}
#ji-ea-page :is(h1,h2,h3){font-family:'Avenir Next','Segoe UI',Arial,sans-serif;letter-spacing:-.03em;line-height:1.15}
#ji-ea-page h2{font-size:clamp(1.5rem,2.5vw,2.3rem);font-weight:750;color:#133258;margin-bottom:12px}
#ji-ea-page h3{font-size:1.1rem;font-weight:750;color:#133258;margin-bottom:10px}
#ji-ea-page p,#ji-ea-page li{color:#496076}
#ji-ea-page :is(a,button,input,select,textarea):focus-visible{outline:3px solid #238bc0;outline-offset:3px}
#ji-ea-page .jiea-banner{isolation:isolate;position:relative;background:linear-gradient(110deg,#092850 0%,#11345f 60%,#0a274d 100%);color:#fff;padding:39px 20px 43px;min-height:225px;overflow:hidden}
#ji-ea-page .jiea-banner-art{pointer-events:none;position:absolute;z-index:-1;inset:0 0 0 auto;width:58%;background:url('navy-building-line-art.png') right center/cover no-repeat;opacity:.85}
#ji-ea-page .jiea-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font:400 13px/1.5 system-ui,sans-serif;color:#d4e2ef;margin-bottom:22px}
#ji-ea-page .jiea-breadcrumb a{color:#d4e2ef;text-decoration:none}
#ji-ea-page .jiea-banner h1{font:750 clamp(35px,4.5vw,59px)/1.1 'Avenir Next','Segoe UI',Arial,sans-serif!important;color:#fff!important;letter-spacing:-.04em;margin:0 0 15px!important}
#ji-ea-page .jiea-gold-rule{display:block;width:93px;height:4px;background:var(--ea-gold);border-radius:8px}
#ji-ea-page .jiea-banner-tagline{color:#cfddea;font:650 11px/1.4 system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;margin:15px 0 0}
#ji-ea-page .jiea-content-wrap{padding:29px 18px 60px}
#ji-ea-page .jiea-overline{color:#40617e;font:800 .68rem/1.5 system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;margin-bottom:10px}
#ji-ea-page .jiea-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;border:1px solid #e4eaf0;background:linear-gradient(115deg,#f9fbfd 10%,#f0f6fa);border-radius:20px;padding:32px;align-items:center;margin-bottom:20px}
#ji-ea-page .jiea-intro-main h2{font-size:clamp(1.9rem,3vw,2.8rem);max-width:24ch}
#ji-ea-page .jiea-intro-main p{font-size:.94rem;margin-bottom:12px}
#ji-ea-page .jiea-intro-main .jiea-actions{margin-top:22px}
#ji-ea-page .jiea-actions{display:flex;flex-wrap:wrap;gap:9px}
#ji-ea-page .jiea-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:22px;padding:11px 17px;text-decoration:none!important;font-size:.84rem;font-weight:750;border:1px solid #bdcde0;line-height:1.3;cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;min-height:44px}
#ji-ea-page .jiea-btn:hover{transform:translateY(-2px);box-shadow:0 5px 16px rgba(11,42,88,.13)}
#ji-ea-page .jiea-btn-primary{background:#143961;color:#fff!important;border-color:#143961}
#ji-ea-page .jiea-btn-primary:hover{background:#265c88}
#ji-ea-page .jiea-btn-secondary{background:#fff;color:#14365e!important}
#ji-ea-page .jiea-btn-outline{background:transparent;color:#14365e!important}
#ji-ea-page .jiea-intro-side{padding:10px}
#ji-ea-page .jiea-handdrawn{display:block;width:min(280px,78%);height:110px;margin:0 auto 7px}
#ji-ea-page .jiea-value-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#ji-ea-page .jiea-value-grid>div{background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:14px 13px;min-height:115px}
#ji-ea-page .jiea-value-grid>div:nth-child(2){background:#fffaf0}
#ji-ea-page .jiea-value-grid>div:nth-child(3){background:#f0f7fc}
#ji-ea-page .jiea-value-grid>div:nth-child(4){background:#ecf8f3}
#ji-ea-page .jiea-value-grid span{float:left;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e6eef7;color:#183e65;margin-right:8px;font-weight:800}
#ji-ea-page .jiea-value-grid strong{display:block;font-size:.8rem;color:#122e4f;line-height:1.38}
#ji-ea-page .jiea-value-grid small{display:block;clear:both;padding-top:10px;font-size:.73rem;line-height:1.45;color:#4c6175}
#ji-ea-page .jiea-section-nav{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;border-bottom:1px solid #e3eaf2;padding:9px 0 17px;margin-bottom:21px}
#ji-ea-page .jiea-section-nav a{color:#163b62;text-decoration:none;font-size:.8rem;font-weight:700;padding:7px 10px;border-radius:16px}
#ji-ea-page .jiea-section-nav a:hover{background:#f0f5fa}
#ji-ea-page .jiea-section{margin:27px 0;padding-bottom:27px;border-bottom:1px solid #e1e8ef;scroll-margin-top:90px}
#ji-ea-page .jiea-number-heading{display:flex;gap:22px;align-items:flex-start;margin-bottom:16px}
#ji-ea-page .jiea-number-heading>div{flex:1;min-width:0}
#ji-ea-page .jiea-number-heading h2{margin-bottom:8px}
#ji-ea-page .jiea-number-heading p:last-child{margin-bottom:0;font-size:.93rem}
#ji-ea-page .jiea-section-number{display:inline-flex;flex:0 0 48px;color:#9bafc4;font:bold 2.45rem/1 'Avenir Next','Segoe UI',Arial,sans-serif;letter-spacing:-.045em;position:relative;padding-bottom:10px}
#ji-ea-page .jiea-section-number:after{content:"";position:absolute;bottom:0;left:0;width:35px;height:3px;background:#e2b75f;border-radius:3px}
#ji-ea-page .jiea-approved{padding-top:5px}
#ji-ea-page .jiea-empty-directory{display:flex;gap:17px;align-items:flex-start;border-radius:13px;border:1px solid #d8e5f0;background:#f2f7fb;padding:24px}
#ji-ea-page .jiea-empty-directory>span{font-size:1.9rem;color:#35688d;line-height:1}
#ji-ea-page .jiea-empty-directory strong{display:block;color:#1a3e66;margin-bottom:5px}
#ji-ea-page .jiea-empty-directory p{margin:0;font-size:.86rem}
#ji-ea-page .jiea-directory-tools{display:flex;gap:12px;margin-bottom:13px;flex-wrap:wrap}
#ji-ea-page .jiea-search{display:flex;align-items:center;gap:9px;flex:1;min-width:230px;border:1px solid #ccdbe9;border-radius:9px;padding:0 12px}
#ji-ea-page .jiea-search>span{font-size:1.7rem;color:#6e849b}
#ji-ea-page .jiea-directory-tools input{width:100%;border:0!important;padding:12px 4px;font:inherit;background:transparent;box-shadow:none!important}
#ji-ea-page .jiea-directory-tools select{border-radius:9px;border:1px solid #ccdbe9;background:#fff;min-height:46px;padding:10px 12px;min-width:195px;font:inherit}
#ji-ea-page .jiea-table-scroller{overflow:auto;border:1px solid #dae5f0;border-radius:10px}
#ji-ea-page .jiea-agents-table{width:100%;border-collapse:collapse;min-width:690px;font-size:.83rem}
#ji-ea-page .jiea-agents-table th{text-align:left;background:#123e68;color:#fff;font-size:.75rem;font-weight:650;padding:12px}
#ji-ea-page .jiea-agents-table td{padding:14px 12px;border-bottom:1px solid #e5ecf3;color:#385673}
#ji-ea-page .jiea-agents-table tr:last-child td{border-bottom:none}
#ji-ea-page .jiea-agents-table tbody tr:nth-child(even){background:#f9fbfe}
#ji-ea-page .jiea-agents-table a{color:#1a5989}
#ji-ea-page .jiea-approved-chip{display:inline-block;background:#def4e5;color:#16623c;border-radius:18px;font-size:.7rem;font-weight:800;padding:5px 10px}
#ji-ea-page .jiea-none-found[hidden]{display:none}
#ji-ea-page .jiea-small-note{font-size:.78rem!important;color:#657c90!important;margin:12px 0 0}
#ji-ea-page .jiea-become{position:relative;display:grid;grid-template-columns:185px 1fr;gap:20px;align-items:center;border-radius:17px;border:1px solid #f0e3c8;background:linear-gradient(105deg,#fff8e9,#fffcf7 55%,#f8eee1);padding:24px 34px;margin:28px 0 28px;scroll-margin-top:90px}
#ji-ea-page .jiea-become h2{font-size:clamp(1.65rem,2.8vw,2.2rem)}
#ji-ea-page .jiea-become p{margin-bottom:10px;font-size:.91rem}
#ji-ea-page .jiea-become-art svg{width:170px;height:130px;max-width:100%}
#ji-ea-page .jiea-become .jiea-actions{margin-top:16px}
#ji-ea-page .jiea-form-heading p{font-size:.9rem}
#ji-ea-page .jiea-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}
#ji-ea-page .jiea-field{display:block;min-width:0}
#ji-ea-page .jiea-field span{display:block;font-size:.79rem;font-weight:750;margin-bottom:6px;color:#17385c}
#ji-ea-page .jiea-field input,#ji-ea-page .jiea-field textarea{width:100%;max-width:100%;padding:12px 13px;border:1px solid #bdcede;border-radius:9px;background:#fff;color:#17365a;box-shadow:none;min-height:44px;font:inherit;font-size:.88rem}
#ji-ea-page .jiea-full{grid-column:1/-1}
#ji-ea-page .jiea-agreements{display:grid;gap:10px}
#ji-ea-page .jiea-agreements label{display:flex;align-items:flex-start;gap:10px;font-size:.83rem;color:#385775;line-height:1.5}
#ji-ea-page .jiea-agreements input{margin-top:4px;flex:0 0 auto}
#ji-ea-page .jiea-agreements a{color:#115685}
#ji-ea-page .jiea-form-note{background:#fff9e9;border:1px solid #f0e1b9;padding:14px;border-radius:8px;font-size:.81rem;margin:0}
#ji-ea-page .jiea-submit{justify-self:start;font-size:.86rem}
#ji-ea-page .jiea-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
#ji-ea-page .jiea-success{background:#e6f6ec;color:#1c5f39;border-color:#b5dfc7}
#ji-ea-page .jiea-error{background:#fff1ef;color:#88322c;border-color:#edd2cc}
#ji-ea-page .jiea-two-columns{display:grid;grid-template-columns:1fr 1.25fr;gap:27px}
#ji-ea-page .jiea-two-columns>.jiea-section{min-width:0}
#ji-ea-page .jiea-check-list{list-style:none;padding:0;margin:18px 0 0}
#ji-ea-page .jiea-check-list li{position:relative;background:#f4f7fa;border-radius:9px;padding:11px 12px 11px 42px;margin:7px 0;font-size:.82rem;line-height:1.44}
#ji-ea-page .jiea-check-list li:before{content:'✓';position:absolute;left:13px;top:11px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid #316083;color:#245a83;font-size:.7rem;font-weight:800}
#ji-ea-page .jiea-responsibility-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#ji-ea-page .jiea-responsibility-grid>div{padding:18px 19px;border-radius:12px;min-width:0}
#ji-ea-page .jiea-responsibility-must{background:#eef6fc}
#ji-ea-page .jiea-responsibility-mustnot{background:#fbefed}
#ji-ea-page .jiea-responsibility-mustnot h3{color:#842c29}
#ji-ea-page .jiea-responsibility-grid ul{padding-left:19px;margin:0}
#ji-ea-page .jiea-responsibility-grid li{font-size:.8rem;line-height:1.47;margin-bottom:9px}
#ji-ea-page .jiea-duty-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
#ji-ea-page .jiea-duty{background:#fafcff;border:1px solid #dfe6ee;box-shadow:0 4px 15px rgba(16,52,86,.04);border-radius:12px;padding:19px 14px}
#ji-ea-page .jiea-duty span{display:block;color:#2d6a93;font-weight:850;font-size:1.15rem;margin-bottom:6px}
#ji-ea-page .jiea-duty p{font-size:.79rem;line-height:1.45;margin:0}
#ji-ea-page .jiea-monitor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-top:21px}
#ji-ea-page .jiea-monitor-grid>div{text-align:center;padding:4px 7px}
#ji-ea-page .jiea-monitor-circle{display:grid;place-items:center;margin:0 auto 11px;border:1px solid #e7d5af;background:#fffaf0;border-radius:50%;width:44px;height:44px;font-weight:800;color:#123f6c}
#ji-ea-page .jiea-monitor-grid p{font-size:.79rem;margin:0;line-height:1.43}
#ji-ea-page .jiea-ethics{background:#fff;border:0}
#ji-ea-page .jiea-warning-list{padding:18px 27px 17px 48px;background:#fdf1ee;border-radius:12px;border:1px solid #f3dfdb}
#ji-ea-page .jiea-warning-list li{font-size:.85rem;padding-bottom:7px}
#ji-ea-page .jiea-lower{margin-top:12px;grid-template-columns:1fr 1fr}
#ji-ea-page .jiea-contact{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:center;background:linear-gradient(105deg,#0c315b,#16517c);color:#fff;border-radius:16px;padding:25px 31px;margin-top:20px}
#ji-ea-page .jiea-contact h2{color:#fff}
#ji-ea-page .jiea-contact p,#ji-ea-page .jiea-contact .jiea-overline{color:#e6f0fa}
#ji-ea-page .jiea-contact>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:7px 15px}
#ji-ea-page .jiea-contact>div:last-child p{font-size:.78rem;margin-bottom:0;overflow-wrap:anywhere}
#ji-ea-page .jiea-contact a{color:#fff}
#ji-ea-page .jiea-contact strong{color:#dfc483;font-size:.65rem;letter-spacing:.12em}
#ji-ea-page .jiea-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){#ji-ea-page .jiea-intro{grid-template-columns:1fr}#ji-ea-page .jiea-intro-side{display:grid;grid-template-columns:210px 1fr;align-items:center}#ji-ea-page .jiea-handdrawn{width:200px}#ji-ea-page .jiea-two-columns{grid-template-columns:1fr}#ji-ea-page .jiea-duty-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:770px){#ji-ea-page .jiea-banner{min-height:190px;padding:28px 16px}#ji-ea-page .jiea-content-wrap{padding:18px 14px 40px}#ji-ea-page .jiea-intro{padding:22px}#ji-ea-page .jiea-intro-side{grid-template-columns:1fr}#ji-ea-page .jiea-handdrawn{width:175px;height:80px}#ji-ea-page .jiea-become{grid-template-columns:1fr;padding:23px 20px}#ji-ea-page .jiea-become-art{display:none}#ji-ea-page .jiea-duty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ji-ea-page .jiea-monitor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#ji-ea-page .jiea-responsibility-grid{grid-template-columns:1fr}}
@media(max-width:500px){#ji-ea-page .jiea-banner h1{font-size:clamp(30px,8vw,40px)!important}#ji-ea-page .jiea-value-grid{grid-template-columns:1fr 1fr}#ji-ea-page .jiea-number-heading,#ji-ea-page .jiea-form-heading{gap:12px}#ji-ea-page .jiea-section-number{flex-basis:36px;font-size:2rem}#ji-ea-page .jiea-form{grid-template-columns:1fr}#ji-ea-page .jiea-monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ji-ea-page .jiea-contact{grid-template-columns:1fr}#ji-ea-page .jiea-contact>div:last-child{grid-template-columns:1fr}#ji-ea-page .jiea-actions .jiea-btn{width:100%}#ji-ea-page .jiea-directory-tools select{width:100%}}
@media(prefers-reduced-motion:reduce){#ji-ea-page *,#ji-ea-page *:before,#ji-ea-page *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#ji-ea-page .jiea-student-visa-notice{padding:12px 14px;background:#fff7e7;border-left:3px solid #e2b75f;color:#624f30;font-size:.82rem;margin:15px 0 0}

#ji-ea-page .jiea-overview-details{background:rgba(255,255,255,.75);border:1px solid #d9e5ef;border-radius:10px;padding:11px 14px;margin:12px 0 4px}#ji-ea-page .jiea-overview-details summary{cursor:pointer;font-size:.82rem;font-weight:800;color:#20486e;display:flex;justify-content:space-between;gap:9px}#ji-ea-page .jiea-overview-details summary span{font-size:1.2rem;line-height:1}#ji-ea-page .jiea-overview-details[open] summary{margin-bottom:10px}#ji-ea-page .jiea-overview-details p{font-size:.85rem;margin:0 0 9px}

/* v1.0 placeholder safeguards: sample directory is never represented as approved. */
#ji-ea-page .jiea-demo-label{margin:15px 0 14px;background:#fff8e8;border:1px solid #e9d29f;border-left:4px solid #c79027;border-radius:10px;padding:14px 18px}
#ji-ea-page .jiea-demo-label strong{color:#8b5c12;font-size:.78rem;letter-spacing:.05em}
#ji-ea-page .jiea-demo-label p{margin:5px 0 0;font-size:.85rem}
#ji-ea-page .jiea-demo-chip{display:inline-block;color:#715728;background:#fff1d7;border:1px solid #e1c998;border-radius:99px;padding:5px 10px;white-space:nowrap;font-size:.7rem;font-weight:750}
#ji-ea-page .jiea-btn-disabled{cursor:not-allowed;background:#e3e8ef;border:1px dashed #b4c0ce;color:#5c6b7d;box-shadow:none;user-select:none}
#ji-ea-page .jiea-btn-disabled:hover{transform:none;box-shadow:none}
#ji-ea-page .jiea-link-placeholder{margin-top:0}

/* v1.1: bespoke academic partnership illustration replacing handshake artwork. */
#ji-ea-page .jiea-intro{grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);gap:23px;background:linear-gradient(116deg,#fbfdff 12%,#f2f8fc 85%)}
#ji-ea-page .jiea-intro-side{padding:0;min-width:0}
#ji-ea-page .jiea-illustration-frame{position:relative;display:flex;align-items:center;justify-content:center;min-height:245px;isolation:isolate;overflow:hidden;margin:0 auto 13px;width:100%;max-width:480px}
#ji-ea-page .jiea-illustration-frame:before{content:"";position:absolute;inset:20px 18px 3px;background:radial-gradient(ellipse at 53% 53%,rgba(231,244,254,.82),rgba(247,250,252,.2) 72%);border-radius:45% 55% 42% 58%;z-index:-1}
#ji-ea-page .jiea-handdrawn{display:block;margin:0;width:100%;max-width:470px;height:auto;max-height:290px;object-fit:contain;filter:drop-shadow(0 5px 6px rgba(20,52,88,.05))}
#ji-ea-page .jiea-value-grid>div{transition:box-shadow .2s ease,transform .2s ease}
#ji-ea-page .jiea-value-grid>div:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,52,88,.07)}
@media (max-width:1000px){#ji-ea-page .jiea-intro-side{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:14px}#ji-ea-page .jiea-illustration-frame{min-height:185px;margin:0}#ji-ea-page .jiea-handdrawn{max-width:380px;max-height:240px}}
@media (max-width:770px){#ji-ea-page .jiea-intro-side{grid-template-columns:1fr}#ji-ea-page .jiea-illustration-frame{min-height:180px;max-width:350px;margin:0 auto 8px}#ji-ea-page .jiea-handdrawn{width:100%;max-width:350px;height:auto;max-height:235px}}
@media (max-width:500px){#ji-ea-page .jiea-illustration-frame{min-height:160px;max-width:300px}#ji-ea-page .jiea-handdrawn{max-height:210px}}
@media (prefers-reduced-motion:reduce){#ji-ea-page .jiea-value-grid>div{transition:none}}
@media (max-width:1000px){#ji-ea-page .jiea-intro{grid-template-columns:minmax(0,1fr)}}

/* v1.3: larger, crisp original academic partnership illustration. */
#ji-ea-page .jiea-intro{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:30px;align-items:start}
#ji-ea-page .jiea-intro-side{padding:0;min-width:0}
#ji-ea-page .jiea-illustration-frame{min-height:210px;display:flex;align-items:center;justify-content:center;margin:-8px -8px 12px;border-radius:20px;background:radial-gradient(ellipse at 52% 65%,rgba(237,247,253,.82),transparent 73%)}
#ji-ea-page .jiea-handdrawn{display:block;width:min(100%,480px);max-width:100%;height:auto;max-height:280px;object-fit:contain;margin:0 auto;filter:drop-shadow(0 7px 8px rgba(13,56,92,.04))}
#ji-ea-page .jiea-value-grid>div{min-height:96px}
#ji-ea-page .jiea-become-art svg{width:180px;height:auto;aspect-ratio:200/155}
@media(max-width:1000px){#ji-ea-page .jiea-intro{grid-template-columns:1fr}#ji-ea-page .jiea-intro-side{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px}#ji-ea-page .jiea-illustration-frame{min-height:155px;margin:0}#ji-ea-page .jiea-handdrawn{width:min(100%,300px);height:auto;max-height:210px}}
@media(max-width:770px){#ji-ea-page .jiea-intro-side{grid-template-columns:1fr}#ji-ea-page .jiea-illustration-frame{min-height:180px}#ji-ea-page .jiea-handdrawn{width:min(100%,385px);height:auto;max-height:230px}#ji-ea-page .jiea-intro{gap:12px}}
@media(max-width:500px){#ji-ea-page .jiea-handdrawn{width:min(100%,340px);max-height:215px}}
