@import url('/assets/fonts.css');
:root{--ink:#27231f;--brown:#543821;--brown-dark:#34251b;--gold:#a77731;--cream:#faf4e5;--paper:#fff;--muted:#756f65;--line:#e5dfd4;--soft:#f6f4ed;--green:#246647;--red:#a63131;--radius:12px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Poppins,Arial,sans-serif;font-size:14px;line-height:1.7}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.23;letter-spacing:-.035em;font-weight:600}h1{font-size:44px;margin-bottom:20px}h2{font-size:32px;margin-bottom:20px}h3{font-size:20px;letter-spacing:-.02em}p{margin-bottom:18px}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button{cursor:pointer}img{max-width:100%}button:disabled{opacity:.5;cursor:default}.wrap{max-width:1280px;margin:auto;width:calc(100% - 64px)}.narrow{max-width:900px}.between{display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar{background:var(--brown-dark);color:#f6ebd2;font-size:11px;padding:9px 0}.sep{margin:0 14px;opacity:.4}.brand{background:#fffbe8}.brand img{display:block;width:100%;height:230px;object-fit:cover;object-position:50% 46%;max-width:1510px;margin:auto}.mainnav{background:var(--brown);color:white;position:sticky;top:0;z-index:20;box-shadow:0 3px 12px #241b170d}.navrow{display:flex;align-items:stretch;justify-content:space-between}.navlinks{display:flex;align-items:stretch;gap:4px}.navlinks>a,.dropdown>button{padding:19px 10px;font-size:12px;color:#fff;white-space:nowrap;background:none;border:0;display:block}.navlinks>a:hover,.dropdown:hover>button{background:#ffffff12}.nav-enquire{font-size:12px;background:#ab7c3c;align-content:center;padding:0 20px;color:#fff}.dropdown{position:relative}.dropmenu{display:none;position:absolute;top:100%;left:0;min-width:235px;padding:8px;background:#fff;color:var(--ink);box-shadow:0 15px 45px #2015092a;border:1px solid var(--line);border-radius:0 0 10px 10px}.dropmenu a{padding:10px 12px;display:block;font-size:12px;border-radius:4px}.dropmenu a:hover{background:var(--cream)}.dropdown:hover .dropmenu,.dropdown:focus-within .dropmenu{display:block}.mobile-menu{display:none}.eyebrow{display:block;font-size:10px;letter-spacing:.19em;font-weight:600;color:#90632d;margin-bottom:17px}.hero{background:linear-gradient(110deg,#fcf7e9,#f4ebd9);overflow:hidden;padding:40px 0 60px}.hero-slide{display:none;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.hero-slide.active{display:grid}.hero-copy{padding:25px 0}.hero h1{font-size:57px;line-height:1.14;color:var(--brown-dark);max-width:580px}.hero-copy>p{font-size:15px;color:#6e6253;max-width:490px}.hero-image{position:relative;min-height:430px;align-self:stretch;display:flex;align-items:stretch}.hero-image>img{width:100%;object-fit:cover;border-radius:60px 12px 12px 12px;min-height:430px}.image-label{position:absolute;bottom:28px;left:28px;background:#fff9;padding:17px 25px;border-radius:8px;backdrop-filter:blur(12px);font-size:16px;line-height:1.5;color:#30261c}.hero-caption{display:flex;align-items:center;gap:14px;margin-top:32px;font-size:11px;color:#776652}.small-mark{background:#fff;border:1px solid #d7ccb5;border-radius:50%;width:34px;height:34px;text-align:center;align-content:center;color:var(--green)}.slidercontrols{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:16px;font-size:10px;color:var(--muted)}.slidercontrols button{border:1px solid #d7c9ae;background:transparent;border-radius:50%;width:32px;height:32px;color:var(--brown)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--brown);color:#fff;padding:13px 22px;border:1px solid var(--brown);border-radius:6px;font-weight:500;font-size:12px;line-height:1.6;text-align:center}.btn:hover{background:var(--brown-dark);color:#fff}.btn.outline{background:transparent;color:var(--brown);border-color:#cbbdaa}.btn.outline:hover{background:#ede6d7}.btn.light{background:#fff4d8;color:var(--brown);border-color:#fff4d8}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.quicklinks{margin-top:-26px;position:relative;display:grid;grid-template-columns:repeat(4,1fr);z-index:3;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #5034110b}.quicklinks>a{display:flex;align-items:center;gap:15px;padding:26px 22px;border-right:1px solid var(--line)}.quicklinks>a:last-child{border:0}.quicklinks strong{font-size:12px;display:block}.quicklinks small{font-size:10px;display:block;color:var(--muted)}.quick-icon{font-size:26px;line-height:1;color:#97703e}.quicklinks b{margin-left:auto;font-size:18px;font-weight:400}.section{padding-top:72px;padding-bottom:72px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}.section-heading h1,.section-heading h2{margin-bottom:8px}.text-link{font-size:12px;color:#7e5425;font-weight:500}.grid{display:grid;gap:22px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tag{display:inline-block;background:#f1eadb;color:#825e2c;padding:5px 9px;border-radius:4px;font-size:9px;letter-spacing:.02em;font-weight:500}.course-card,.post-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.course-card{padding:24px;display:flex;flex-direction:column}.course-card h3{font-size:20px;line-height:1.4;margin-bottom:14px;margin-top:16px}.course-card p{color:var(--muted);font-size:11px}.course-symbol{font-size:35px;color:#a67c3d;margin-top:25px;line-height:1.5}.card-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:17px;font-size:10px}.card-bottom a{font-size:15px;color:var(--brown)}.soft{background:var(--soft)}.sector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sector-grid>a{background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:8px;position:relative;min-height:112px}.sector-grid strong{display:block;font-size:12px;max-width:90%;line-height:1.5;margin-bottom:8px}.sector-grid small{font-size:10px;color:var(--muted)}.sector-grid span{position:absolute;bottom:20px;right:20px;color:var(--gold)}.twocol{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:start}.lead{font-size:16px;color:var(--muted)}.steps{list-style:none;padding:0;counter-reset:step;margin:30px 0}.steps li{position:relative;padding-left:52px;counter-increment:step;margin-bottom:25px}.steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;font-size:11px;background:var(--cream);border:1px solid var(--line);color:var(--gold);width:33px;height:33px;border-radius:50%;text-align:center;align-content:center}.steps strong{font-size:13px}.steps p{font-size:11px;color:var(--muted);margin-top:3px}.noticeboard{padding:30px;background:#f8f4e8;border:1px solid #e8deca;border-radius:var(--radius)}.noticeboard h3{margin:0;font-size:21px}.notice{display:block;padding:23px 0;border-bottom:1px solid #e5dac6}.notice small{display:block;font-size:10px;color:var(--gold)}.notice strong{display:block;margin-top:6px;font-size:14px}.notice span{display:block;font-size:11px;color:var(--muted);margin-top:8px}.noticeboard>.text-link{display:block;margin-top:20px}.mission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.mission-grid>a{padding:30px;border-radius:10px;background:#edf1e9}.mission-grid>a:nth-child(2){background:#f1ebe3}.mission-grid>a:nth-child(3){background:#eef0f6}.mission-grid .eyebrow{font-size:9px}.mission-grid h3{font-size:23px}.mission-grid p{font-size:12px;color:var(--muted)}.mission-grid>a>span:last-child{font-size:11px;font-weight:500}.post-card>img{display:block;width:100%;height:200px;object-fit:cover}.post-card>div{padding:24px}.post-card h3{margin-top:10px}.post-card small{font-size:10px;color:var(--muted)}.post-card p{font-size:12px;color:var(--muted)}.cta{background:var(--brown);color:#fff;padding:45px 55px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta .eyebrow{color:#e3c493}.cta h2{font-size:35px}.cta p{color:#dacbb9;margin-bottom:0;font-size:12px}footer{background:#2f241b;color:#cbbfaf;padding-top:60px;font-size:11px}footer h3{font-size:13px;color:#fff;letter-spacing:0;margin:0 0 20px}.footergrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:50px;padding-bottom:45px}.footergrid a{display:block;margin-bottom:11px}.footerbrand{font-size:24px;color:#fff;letter-spacing:-.04em}.footerbottom{border-top:1px solid #ffffff16;padding:20px 0;display:flex;justify-content:space-between;font-size:10px}.pagehead{background:var(--cream);padding:45px 0;border-bottom:1px solid var(--line)}.pagehead h1{font-size:40px;max-width:950px}.pagehead p{color:#7c6b55;max-width:830px;margin-bottom:0}.pagehead>a,.pagehead .wrap>a{font-size:12px;display:inline-block;margin-bottom:20px}.pagehead .eyebrow{margin-bottom:12px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;margin-bottom:25px}.card h2{font-size:23px;letter-spacing:-.025em}.card h3{font-size:18px}.stack{display:flex;flex-direction:column;gap:17px}.stack .btn{align-self:flex-start}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.full{grid-column:1/-1}label{display:flex;flex-direction:column;font-size:12px;gap:7px;font-weight:500}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;padding:12px 13px;border:1px solid #d8d2c7;border-radius:5px;background:#fff;color:var(--ink);font-size:13px;min-width:0}textarea{resize:vertical;line-height:1.6}input:focus,select:focus,textarea:focus{border-color:var(--gold);outline:2px solid #be8c4424}.check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;font-size:11px}.check input{margin-top:5px}.check a{text-decoration:underline}.filterbar{display:flex;gap:15px;align-items:flex-end;background:var(--soft);border:1px solid var(--line);padding:22px;border-radius:9px;margin-bottom:28px}.filterbar label{flex:1}.filterbar .btn{white-space:nowrap}.filterbar.compact{max-width:700px;background:transparent;border:0;padding:0}.filterbar>a{font-size:11px;white-space:nowrap;align-self:center}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;font-weight:600;color:#7d6a53;background:#f7f4ed;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}td,th{padding:16px 13px;border-bottom:1px solid var(--line);vertical-align:top}td:first-child,th:first-child{padding-left:12px}td .block{margin-top:5px}td>a{color:var(--brown)}.num{text-align:right;white-space:nowrap}.block{display:block}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:20px;padding:4px 10px;background:#eee9df;color:#6c6254;font-size:10px;text-transform:capitalize;font-weight:500}.badge.active,.badge.approved,.badge.issued,.badge.graded,.badge.resolved,.badge.captured{color:#276b4a;background:#e6f3ea}.badge.suspended,.badge.rejected,.badge.revoked,.badge.absent,.badge.timed_out{color:#a33834;background:#fae8e5}.badge.inactive{color:#667085;background:#eaecef}.badge.pending,.badge.in_progress,.badge.submitted,.badge.open{color:#95651b;background:#fff2d5}.badge.platinum{background:#e7eaf3;color:#506684}.badge.gold{background:#fff1cd;color:#91651b}.badge.silver{background:#eceef0;color:#5e6772}.muted{color:var(--muted);font-weight:400}.danger{color:var(--red)}.empty{text-align:center;color:var(--muted);padding:40px 20px;min-width:220px}.empty h2,.empty h3{color:var(--ink);font-size:21px}.alert{padding:15px 20px;border-radius:7px;margin-top:20px;margin-bottom:20px;border:1px solid #e6ddc8;font-size:12px;max-width:100%}.alert.success{background:#e9f4ed;border-color:#c9e2d0;color:#295b3b}.alert.error{background:#fcefed;border-color:#eed3cf;color:#983c35}.alert.pending{background:#fff6df;border-color:#e8d5a9;color:#8d681f}.alert ul{padding-left:20px;margin-bottom:0}.prose{font-size:14px;line-height:1.9}.prose h2{font-size:27px;margin-top:28px}.prose a{color:#8c602c;text-decoration:underline}.prose ul,.prose ol{padding-left:25px}.prose img,.article-image{border-radius:10px;width:100%;height:auto}.prose pre{overflow-x:auto;background:var(--soft);padding:20px}.preline{white-space:pre-line;overflow-wrap:anywhere}.review{padding:20px}.lookup-result{margin-top:25px}.verification{text-align:center;padding:45px}.verification h1{font-size:32px}.verification-symbol{display:block;font-size:40px;color:var(--green);line-height:1;margin:25px}.verification dl{text-align:left}.record-details,dl{display:grid;grid-template-columns:minmax(140px,.5fr) minmax(0,1.5fr);gap:0 25px}.record-details dt,.record-details dd,dl dt,dl dd{padding:14px 0;border-bottom:1px solid var(--line);margin:0;overflow-wrap:anywhere}.record-details dt,dl dt{font-size:11px;font-weight:500;color:var(--muted)}.record-details dd,dl dd{font-size:12px}.authcard{max-width:460px;min-height:500px}.authcard h1{font-size:34px}.authcard>.eyebrow{font-size:9px}.authcard p{font-size:12px}.honeypot,.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;padding:12px;border:2px solid var(--brown)}.skip:focus{top:10px}.pagination{display:flex;justify-content:center;align-items:center;gap:30px;margin:35px 0;font-size:12px}.pagination a{padding:10px 16px;background:var(--soft);border-radius:5px}.pagination>span{color:var(--muted)}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-size:13px;font-weight:500}details p{margin:15px 0 0}.chat-launch{position:fixed;bottom:24px;right:26px;border:1px solid #725330;background:var(--brown);color:#fff;border-radius:100px;padding:14px 22px;z-index:40;box-shadow:0 5px 20px #0002;font-size:12px}.chat-launch span{margin-left:12px;color:#e8c792}.chat-panel{position:fixed;bottom:90px;right:26px;width:360px;max-width:calc(100vw - 35px);background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:0 15px 70px #0002;z-index:50;font-size:12px}.chat-panel .between button{border:0;background:none;font-size:22px}.chat-panel .inline{display:flex;gap:7px}.chat-panel .btn{padding:9px 12px}.chat-bubble{background:#f6f1e6;padding:12px;border-radius:7px;margin-bottom:10px}.chat-bubble.user{background:#edeff3}.chat-panel #chat-log{max-height:280px;overflow-y:auto}.chat-panel p{font-size:11px}.portal-body{background:#f5f4ef}.app-layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--brown-dark);color:#ddd1c0;position:sticky;top:0;height:100vh;overflow-y:auto;padding:25px 17px;display:flex;flex-direction:column}.sidebrand{display:flex;align-items:center;gap:10px;padding:0 12px 20px;color:#fff}.sidebrand img{width:48px;height:48px;object-fit:cover;background:#fff;border-radius:6px}.sidebrand span{font-size:25px;font-weight:600;line-height:1.15;letter-spacing:.04em}.sidebrand strong{display:block;font-size:11px;letter-spacing:.05em;font-weight:400}.account-role{font-size:9px;color:#bb9f75;letter-spacing:.14em;text-transform:uppercase;padding:12px;margin-bottom:5px;border-top:1px solid #ffffff16}.sidebar nav>a{display:block;padding:10px 13px;border-radius:5px;font-size:11px;margin:3px 0;line-height:1.5}.sidebar nav>a:hover,.sidebar nav>a.selected{background:#ffffff10;color:#fff}.sidebar nav>a.selected{border-left:2px solid #ceaa71}.sidebar form{margin-top:auto;padding-top:25px}.logout{border:1px solid #ffffff2a;background:transparent;border-radius:5px;color:#fff;font-size:11px;padding:10px 13px;width:100%;text-align:left}.app-header{background:#fff;border-bottom:1px solid var(--line);padding:19px 35px;display:flex;justify-content:space-between;align-items:center;gap:20px}.app-header>div:first-child span{font-size:8px;letter-spacing:.15em;display:block}.app-header strong{display:block;font-size:12px}.app-header>div:last-child{display:flex;align-items:center;gap:20px;font-size:11px}.app-content{padding:35px;max-width:1700px;margin:auto}.app-content h1{font-size:32px;margin-top:15px}.app-content>.section-heading h1{margin-top:0}.app-content h2{font-size:22px}.app-content .wrap{width:100%}.app-content .section-heading .eyebrow{font-size:9px}.app-content .section-heading p{font-size:11px;margin-bottom:0}.app-content .card{padding:25px}.app-content .card.tablewrap{padding:0}.app-content td{font-size:11px}.app-content th{font-size:9px}.app-content label{font-size:11px}.app-content .formgrid{max-width:1100px}.app-foot{font-size:10px;color:var(--muted);padding:0 35px 25px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat{padding:24px 20px;background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0}.stat small{font-size:10px;display:block;color:var(--muted);margin-bottom:13px}.stat strong{font-size:27px;line-height:1.25;font-weight:600;overflow-wrap:anywhere;display:block;letter-spacing:-.04em}.stat:first-child strong:has(+*){font-size:20px}.tier{display:block;padding:10px 20px;border:1px solid #c6ab6c;background:#fff4d7;border-radius:6px;color:#84602c;font-size:12px}.tier.silver{border-color:#c9ced3;background:#eff1f4;color:#5e6772}.tier.platinum{border-color:#b8c1d4;background:#edf0f7;color:#465a7d}.queue-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.queue-grid>a{padding:15px;background:#f8f5ed;border-radius:7px}.queue-grid strong{display:block;font-size:25px;color:var(--brown)}.queue-grid span{display:block;font-size:11px;line-height:1.4}.queue-grid small{font-size:9px;color:var(--muted);display:block;margin-top:8px}.chart{display:flex;gap:12px;height:245px;padding:10px 0 20px;align-items:flex-end;border-bottom:1px solid var(--line);margin-bottom:15px}.chart-column{flex:1;min-width:0;height:100%;text-align:center;display:flex;flex-direction:column;justify-content:flex-end}.chart-track{height:195px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #e6e1d8}.chart-bar{width:65%;background:linear-gradient(#ac8248,#77522c);border-radius:4px 4px 0 0;position:relative;min-height:1px}.chart-bar span{display:none;position:absolute;white-space:nowrap;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);font-size:10px;color:#fff;background:var(--brown-dark);padding:4px 9px;border-radius:3px;z-index:2}.chart-column:hover .chart-bar span{display:block}.chart-column small{font-size:9px;color:var(--muted);margin-top:8px}.listrow{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:18px 0}.listrow:last-child{border:0}.listrow p{margin:5px 0 0;font-size:11px;color:var(--muted)}.listrow strong{font-size:12px}.listrow>span{font-size:10px}.json{background:var(--soft);font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:5px;max-height:350px;overflow-y:auto;margin:0}.hint{background:var(--soft);padding:20px;border-radius:6px;font-size:11px}.hint pre{white-space:pre-wrap;overflow-wrap:anywhere}.hint p{margin-bottom:0}.danger-btn{background:#9d3b35;border-color:#9d3b35}.timeline{padding:15px 20px;border-left:2px solid #c4a679;margin:15px 0 20px;background:var(--soft)}.timeline strong{font-size:11px}.timeline p{font-size:12px;margin:10px 0}.timeline small{font-size:10px;color:var(--muted)}.certificate-print{text-align:center;border:3px double #c4ae83!important;padding:45px!important;background:#fffdf7!important}.certificate-print img{display:block;margin:20px auto;background:#fff}.certificate-print h2{font-size:27px}.reader-toolbar{display:flex;align-items:center;gap:20px;margin:25px 0}.reader-toolbar label{margin-left:auto;flex-direction:row;align-items:center;gap:10px}.reader-toolbar select{max-width:110px}.pdf-reader{position:relative;background:#e5e3de;overflow:auto;padding:20px;text-align:center;user-select:none;max-height:80vh}.pdf-reader canvas{max-width:100%;height:auto;display:block;margin:auto;background:#fff;box-shadow:0 3px 20px #0001}.watermark{position:absolute;left:8%;top:35%;width:84%;pointer-events:none;color:#7d756025;transform:rotate(-28deg);font-size:clamp(18px,3vw,38px);line-height:2;font-weight:600;text-align:center}.question{border:1px solid var(--line);margin:25px 0;padding:22px;border-radius:7px}.question legend{font-weight:500;font-size:13px;padding:0 5px}.answer{display:flex;align-items:center;flex-direction:row;padding:12px;background:var(--soft);border-radius:5px;margin-bottom:8px;font-size:12px;font-weight:400}.answer input{accent-color:var(--brown)}.test-timer{position:sticky;top:0;background:#fff7e2;border:1px solid #e1c792;border-radius:5px;padding:13px;z-index:5;font-size:12px}.code-editor{font-family:Consolas,monospace;font-size:13px!important;background:#25231f!important;color:#f4f1e8!important;tab-size:4}.question small{font-weight:400;color:var(--muted)}.assessment-form>.btn{margin-top:25px}
@media(min-width:1500px){.brand img{height:260px}}@media(max-width:1180px){.navlinks>a,.dropdown>button{font-size:10px;padding:18px 7px}.nav-enquire{padding:0 12px;font-size:10px}.wrap{width:calc(100% - 40px)}.hero h1{font-size:48px}.quicklinks>a{padding:22px 14px;gap:10px}.quicklinks strong{font-size:11px}.quicklinks small{font-size:9px}.quick-icon{font-size:21px}.sector-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-content{padding:25px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-layout{grid-template-columns:220px minmax(0,1fr)}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.topbar .between>span{display:none}.topbar .between{justify-content:center}.brand img{height:150px}.mobile-menu{display:block;background:none;border:0;color:#fff;padding:16px 0;font-size:13px}.navlinks{display:none;position:absolute;top:100%;left:0;width:100%;background:var(--brown);padding:10px 20px;max-height:75vh;overflow:auto}.mainnav.menu-open .navlinks{display:block}.navlinks>a,.dropdown>button{font-size:12px;width:100%;text-align:left;padding:12px}.dropmenu{position:static;box-shadow:none;border:0;background:#ffffff0c;color:#fff;margin-left:10px}.dropmenu a{font-size:11px}.nav-enquire{padding:0 20px;font-size:11px}.hero{padding:20px 0 50px}.hero-slide{gap:25px}.hero h1{font-size:39px}.hero-image,.hero-image>img{min-height:340px}.hero-image>img{border-radius:35px 10px 10px 10px}.hero .btn{font-size:11px;padding:11px 15px}.quicklinks{grid-template-columns:repeat(2,1fr)}.quicklinks>a:nth-child(2){border-right:0}.quicklinks>a:nth-child(-n+2){border-bottom:1px solid var(--line)}.twocol{gap:30px}.mission-grid{gap:12px}.mission-grid>a{padding:22px}.mission-grid h3{font-size:20px}.footergrid{gap:25px;grid-template-columns:1.2fr 1fr}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.app-layout{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:20px 10px}.sidebar nav>a{font-size:10px;padding:9px}.app-content{padding:20px}.app-header{padding:15px 20px}.app-content .section-heading{align-items:start;flex-direction:column}.filterbar{flex-wrap:wrap}.filterbar label{min-width:170px}.pagehead h1{font-size:34px}.section{padding-top:50px;padding-bottom:50px}.record-details{grid-template-columns:125px minmax(0,1fr)}.queue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart{gap:7px}.chart-column small{font-size:8px}}
@media(max-width:640px){.wrap{width:calc(100% - 32px)}h1{font-size:32px}h2{font-size:27px}.topbar{font-size:9px}.sep{margin:0 7px}.brand img{height:100px}.hero-slide.active{display:flex;flex-direction:column;gap:20px}.hero-copy{padding:25px 0 0}.hero h1{font-size:43px;max-width:100%}.hero-copy>p{font-size:13px}.hero-image{width:100%;min-height:250px;max-height:300px}.hero-image>img{min-height:250px;max-height:300px}.hero-caption{margin-top:22px}.image-label{font-size:12px;padding:12px 20px;left:18px;bottom:18px}.hero .eyebrow{font-size:9px}.quicklinks{margin-top:-20px}.quicklinks>a{padding:20px 12px;gap:9px}.quicklinks strong{font-size:10px}.quicklinks small{font-size:8px}.quicklinks b{display:none}.quick-icon{font-size:22px}.section-heading{align-items:start;flex-direction:column;gap:12px}.grid.three,.grid.four,.mission-grid,.twocol{grid-template-columns:minmax(0,1fr)}.sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sector-grid>a{padding:16px;min-height:110px}.sector-grid strong{font-size:11px}.course-card{padding:23px}.course-symbol{margin-top:15px}.cta{padding:30px;flex-direction:column;align-items:flex-start}.cta h2{font-size:29px}.footergrid{gap:30px;grid-template-columns:repeat(2,1fr)}.footergrid>div:first-child{grid-column:1/-1}.footergrid p{font-size:11px}.footerbottom{font-size:9px;align-items:start;gap:15px;flex-direction:column}.pagehead{padding:35px 0}.pagehead h1{font-size:32px}.pagehead p{font-size:12px}.formgrid{grid-template-columns:1fr}.filterbar{padding:17px;gap:12px}.filterbar label{min-width:100%;width:100%}.filterbar .btn{flex:1}.card{padding:22px}.verification{padding:25px}.verification h1{font-size:26px}dl,.record-details{grid-template-columns:1fr;gap:0}dl dt,.record-details dt{border:0;padding-bottom:3px}dl dd,.record-details dd{padding-top:0}.chat-launch{right:16px;bottom:18px;padding:12px 18px}.chat-panel{right:16px;bottom:77px}.app-layout{display:flex;flex-direction:column}.sidebar{position:static;width:100%;height:auto;padding:12px 16px}.sidebrand{padding:0 0 8px;gap:8px}.sidebrand img{width:36px;height:36px}.sidebrand span{font-size:20px}.sidebrand strong{font-size:9px}.account-role{position:absolute;top:16px;right:16px;border:0;padding:0;font-size:8px}.sidebar nav{display:flex;overflow-x:auto;gap:4px;padding-top:5px}.sidebar nav>a{white-space:nowrap;font-size:10px;flex-shrink:0;padding:8px 12px;margin:0}.sidebar form{position:absolute;right:16px;top:33px;margin:0;padding:0}.logout{font-size:9px;border:0;padding:4px}.sidebar nav>a.selected{border-left:0;border-bottom:2px solid #c6a16a}.app-header{padding:12px 16px}.app-content{padding:22px 16px}.app-content h1{font-size:28px}.stats{gap:10px}.stat{padding:18px 15px}.stat strong{font-size:23px}.stat small{font-size:9px}.app-content .card{padding:20px}.app-content .card.tablewrap{padding:0}.queue-grid{gap:10px}.queue-grid>a{padding:12px}.listrow{align-items:flex-start;flex-direction:column;gap:12px}.chart{height:190px;gap:6px}.chart-track{height:140px}.chart-column small{font-size:7px;writing-mode:vertical-rl;align-self:center;height:32px}.reader-toolbar{gap:9px;flex-wrap:wrap;font-size:10px}.reader-toolbar .btn{padding:8px 10px}.reader-toolbar label{margin-left:0}.pdf-reader{padding:5px}.app-foot{padding:0 16px 20px}.pagination{gap:15px;font-size:10px}.pagination a{padding:8px}.section{padding-top:40px;padding-bottom:40px}}
@media print{.sidebar,.app-header,.app-foot,.mainnav,.topbar,.chat-panel,.chat-launch,.no-print,.btn,footer,.actions,.test-timer{display:none!important}.app-layout,.app-main{display:block}.app-content{padding:0;max-width:none}body{font-size:11px;background:#fff}.card{break-inside:avoid;border:1px solid #bbb;box-shadow:none}.pdf-reader,.reader-toolbar{display:none!important}.brand img{height:110px}.tablewrap{overflow:visible}table{font-size:9px}.record-details{display:grid;grid-template-columns:1fr 2fr}.certificate-print{break-before:page}.chart{height:180px}.wrap{width:100%}}

@media print{th{white-space:normal}td,th{padding:6px;font-size:8px}}

/* JNTE portal gradient theme v20261028.1 */
/* JNTE public gradient theme v20261028.1 */
@media screen {
  body:not(.portal-body) {
    --ink: #172444;
    --brown: #4f46e5;
    --brown-dark: #24315d;
    --gold: #4f46e5;
    --cream: #eef2ff;
    --muted: #62708a;
    --line: #e0e7f3;
    --soft: #f4f7ff;
    --green: #13715b;
    --red: #b42339;
  }

  body:not(.portal-body) .topbar {
    color: #e6edff;
    background: linear-gradient(105deg, #14254d, #2d326a);
  }

  body:not(.portal-body) .topbar a:hover { color: #99f6e4; }

  body:not(.portal-body) .brand {
    background:
      radial-gradient(ellipse at 92% 20%, #ede9fe, transparent 42%),
      linear-gradient(105deg, #fbfdff, #eef4ff);
    border-bottom: 1px solid #e5eafa;
  }

  .brand-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: 17px; }
  .brand-identity { display: flex; align-items: center; gap: 17px; color: #192b55; }
  .brand-identity:hover { color: #192b55; }
  .brand-logo { position: relative; display: block; overflow: hidden; flex-shrink: 0; width: 82px; height: 82px; background: #fff; border: 1px solid #dfe7fb; border-radius: 17px; box-shadow: 0 5px 20px #3d479a0a; }
  .brand .brand-logo img { position: absolute; display: block; left: 50%; top: 50%; width: 136px; height: 136px; object-fit: contain; max-width: none; margin: 0; transform: translate(-50%, -53.333%); }
  .brand-copy { display: flex; flex-direction: column; gap: 5px; }
  .brand-eyebrow { font-size: 8px; line-height: 1.2; font-weight: 600; letter-spacing: .2em; color: #5b56b3; }
  .brand-copy strong { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
  .brand-subtitle { font-size: 10px; line-height: 1.3; color: #637493; letter-spacing: .02em; }
  .brand-access { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #d9e0f4; padding: 8px 0 8px 26px; color: #283c69; }
  .brand-access > span { font-size: 8px; line-height: 1.2; letter-spacing: .16em; font-weight: 600; color: #6864b3; }
  .brand-access strong { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
  .brand-access small { font-size: 10px; line-height: 1.3; color: #4f46c8; }

  body:not(.portal-body) .mainnav {
    background: linear-gradient(105deg, #283c82, #4f46e5 65%, #6d28d9);
    box-shadow: 0 5px 20px #343b9620;
  }

  body:not(.portal-body) .navlinks > a:hover,
  body:not(.portal-body) .dropdown:hover > button { background: #ffffff15; }

  body:not(.portal-body) .nav-enquire {
    background: linear-gradient(115deg, #0f766e, #0e7490);
    color: #fff;
    border-inline: 1px solid #ffffff22;
  }

  body:not(.portal-body) .nav-enquire:hover { background: #0f766e; color: #fff; }
  body:not(.portal-body) .dropmenu { border-color: #e0e7f3; border-radius: 0 0 12px 12px; box-shadow: 0 16px 40px #223b6b1f; }
  body:not(.portal-body) .dropmenu a:hover { background: #eef2ff; color: #4338ca; }
  body:not(.portal-body) .eyebrow { color: #6250b8; }

  body:not(.portal-body) .hero {
    background:
      radial-gradient(ellipse at 96% 10%, #d8f4f270, transparent 45%),
      radial-gradient(ellipse at 2% 85%, #e6e0ff90, transparent 55%),
      linear-gradient(110deg, #f6f8ff, #eef5ff);
  }

  body:not(.portal-body) .hero h1 { color: #253c83; }
  body:not(.portal-body) .hero-copy > p { color: #5b6b8a; }
  body:not(.portal-body) .hero-image > img { border: 6px solid #ffffffcc; box-shadow: 0 18px 45px #3d4d9420; }
  body:not(.portal-body) .image-label { color: #1e335e; background: #ffffffd9; border: 1px solid #ffffff99; }
  body:not(.portal-body) .hero-caption { color: #667591; }
  body:not(.portal-body) .small-mark { border-color: #cce6e8; background: #effcf8; color: #0f766e; }
  body:not(.portal-body) .slidercontrols button { color: #4f46c8; background: #ffffff88; border-color: #d0d9ef; }

  body:not(.portal-body) .btn {
    color: #fff;
    background: linear-gradient(110deg, #4f46e5, #6d28d9);
    border-color: #4f46e5;
    border-radius: 8px;
    box-shadow: 0 5px 16px #4f46e51c;
  }

  body:not(.portal-body) .btn:hover { color: #fff; background: linear-gradient(110deg, #4338ca, #5b21b6); }
  body:not(.portal-body) .btn.outline { color: #4842b8; border-color: #cbd6ef; background: #ffffffb8; box-shadow: none; }
  body:not(.portal-body) .btn.outline:hover { background: #eef2ff; }
  body:not(.portal-body) .btn.light { color: #3730a3; border-color: #fff; background: #fff; box-shadow: 0 4px 16px #131d4e12; }
  body:not(.portal-body) .btn.light:hover { background: #eef2ff; }
  body:not(.portal-body) .text-link { color: #4f46c8; }

  body:not(.portal-body) .quicklinks { border-color: #e0e7f5; border-radius: 14px; box-shadow: 0 10px 30px #334a880e; }
  body:not(.portal-body) .quicklinks > a { border-color: #e7ecf7; }
  body:not(.portal-body) .quicklinks > a:hover { background: #f6f8ff; color: #333c83; }
  body:not(.portal-body) .quicklinks > a:first-child { border-radius: 14px 0 0 14px; }
  body:not(.portal-body) .quicklinks > a:last-child { border-radius: 0 14px 14px 0; }
  body:not(.portal-body) .quicklinks b { color: #7673c4; }
  body:not(.portal-body) .quick-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(130deg, #e9edff, #eee7ff); color: #5b48ca; font-size: 23px; }
  body:not(.portal-body) .quicklinks > a:nth-child(2) .quick-icon { background: linear-gradient(130deg, #e4f5f3, #e8f4ff); color: #0f766e; }
  body:not(.portal-body) .quicklinks > a:nth-child(3) .quick-icon { background: linear-gradient(130deg, #f1eaff, #fbefff); color: #7e22ce; }
  body:not(.portal-body) .quicklinks > a:nth-child(4) .quick-icon { background: linear-gradient(130deg, #e7f0ff, #e6f6ff); color: #2563b9; }

  body:not(.portal-body) .course-card,
  body:not(.portal-body) .post-card { border-color: #dfe6f3; border-radius: 14px; box-shadow: 0 4px 20px #263d6b05; }
  body:not(.portal-body) .course-card { border-top: 3px solid #818cf8; }
  body:not(.portal-body) .course-card:nth-child(4n + 2) { border-top-color: #2fb7a7; }
  body:not(.portal-body) .course-card:nth-child(4n + 3) { border-top-color: #a78bfa; }
  body:not(.portal-body) .course-card:nth-child(4n + 4) { border-top-color: #60a5fa; }
  body:not(.portal-body) .course-card:hover,
  body:not(.portal-body) .post-card:hover { box-shadow: 0 9px 28px #334c8b10; }
  body:not(.portal-body) .course-symbol { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 15px; font-size: 28px; line-height: 1; color: #6250c6; background: linear-gradient(130deg, #edf0ff, #f1eaff); }
  body:not(.portal-body) .course-card:nth-child(4n + 2) .course-symbol { color: #0f766e; background: linear-gradient(130deg, #e6f7f2, #eaf5ff); }
  body:not(.portal-body) .course-card:nth-child(4n + 3) .course-symbol { color: #7c3aad; background: linear-gradient(130deg, #f3eaff, #fbefff); }
  body:not(.portal-body) .card-bottom { border-top-color: #e5eaf5; color: #637492; }
  body:not(.portal-body) .card-bottom a { color: #4f46c8; }
  body:not(.portal-body) .tag { color: #5951a8; background: #eef0ff; border-radius: 5px; }

  body:not(.portal-body) .soft { background: linear-gradient(120deg, #f4f7ff, #f7f5ff); }
  body:not(.portal-body) .sector-grid > a { border-color: #e0e6f5; border-radius: 11px; background: #fff; }
  body:not(.portal-body) .sector-grid > a:nth-child(3n + 2) { background: #fdfcff; }
  body:not(.portal-body) .sector-grid > a:nth-child(3n) { background: #fbfefd; }
  body:not(.portal-body) .sector-grid > a:hover { border-color: #b9bafb; background: #eef2ff; color: #3f3c9c; }
  body:not(.portal-body) .sector-grid span { color: #6962c2; }
  body:not(.portal-body) .steps li::before { background: linear-gradient(130deg, #edf1ff, #eee8ff); color: #5b4fc2; border-color: #dfe3fb; }
  body:not(.portal-body) .noticeboard { background: linear-gradient(130deg, #f0f4ff, #f8f3ff); border-color: #e1e4f6; border-radius: 16px; }
  body:not(.portal-body) .notice { border-bottom-color: #dfe4f5; }
  body:not(.portal-body) .notice small { color: #6e5cc2; }

  body:not(.portal-body) .mission-grid > a { color: #fff; border: 1px solid #ffffff30; border-radius: 15px; background: linear-gradient(125deg, #4f46b8, #6d28d9); box-shadow: 0 7px 24px #4f46e512; }
  body:not(.portal-body) .mission-grid > a:nth-child(2) { background: linear-gradient(125deg, #0f766e, #0e7490); }
  body:not(.portal-body) .mission-grid > a:nth-child(3) { background: linear-gradient(125deg, #2848a9, #4338ca); }
  body:not(.portal-body) .mission-grid .eyebrow { color: #e0e7ff; }
  body:not(.portal-body) .mission-grid p { color: #edf2ff; }
  body:not(.portal-body) .mission-grid > a > span:last-child { color: #fff; }

  body:not(.portal-body) .cta { background: radial-gradient(ellipse at 100% 0, #2dd4bf30, transparent 40%), linear-gradient(115deg, #263b86, #4f46c8 60%, #6d28d9); border: 1px solid #d0d8ff33; border-radius: 18px; box-shadow: 0 12px 35px #3730a316; }
  body:not(.portal-body) .cta .eyebrow { color: #c1f4f4; }
  body:not(.portal-body) .cta p { color: #e1e8ff; }

  body:not(.portal-body) .pagehead { color: #fff; background: radial-gradient(ellipse at 100% 0, #2dd4bf25, transparent 40%), linear-gradient(115deg, #1f325f, #3d3f9c 65%, #6531a2); border-bottom-color: #5b61ad; }
  body:not(.portal-body) .pagehead .eyebrow { color: #bff1f2; }
  body:not(.portal-body) .pagehead p { color: #e0e7ff; }
  body:not(.portal-body) .pagehead a { color: #dceeff; }

  body:not(.portal-body) .card { border-color: #e0e7f3; border-radius: 13px; box-shadow: 0 4px 20px #263d6b05; }
  body:not(.portal-body) input:not([type=checkbox]):not([type=radio]),
  body:not(.portal-body) select,
  body:not(.portal-body) textarea { border-color: #d6dff0; border-radius: 8px; }
  body:not(.portal-body) input:focus,
  body:not(.portal-body) select:focus,
  body:not(.portal-body) textarea:focus { border-color: #6366f1; outline: 3px solid #6366f11f; }
  body:not(.portal-body) input[type=checkbox],
  body:not(.portal-body) input[type=radio] { accent-color: #4f46e5; }
  body:not(.portal-body) .filterbar { background: linear-gradient(115deg, #f1f5ff, #f6f3ff); border-color: #e0e7f3; border-radius: 12px; }
  body:not(.portal-body) .filterbar.compact { background: transparent; }
  body:not(.portal-body) th { color: #47577c; background: #f1f4ff; }
  body:not(.portal-body) td > a { color: #4f46c8; }
  body:not(.portal-body) .authcard { padding: 35px; margin-block: 45px; border: 1px solid #dfe6f6; border-radius: 17px; background: linear-gradient(145deg, #fff, #fafaff); box-shadow: 0 12px 40px #334a880c; }

  body:not(.portal-body) footer { color: #c7d2ee; background: radial-gradient(ellipse at 95% 0, #4f46e526, transparent 45%), linear-gradient(115deg, #132341, #26234e); }
  body:not(.portal-body) footer h3,
  body:not(.portal-body) .footerbrand { color: #fff; }
  body:not(.portal-body) footer a:hover { color: #99f6e4; }
  body:not(.portal-body) .footerbottom { border-top-color: #c7d2fe21; }
  body:not(.portal-body) .footergrid .footer-logo { position: relative; display: block; width: 96px; height: 112px; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid #ffffff66; margin-bottom: 22px; }
  body:not(.portal-body) .footer-logo img { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; max-width: none; object-fit: contain; transform: translate(-50%, -53.333%); }

  body:not(.portal-body) .chat-launch { color: #fff; background: linear-gradient(110deg, #4f46e5, #6d28d9); border: 1px solid #ffffff33; box-shadow: 0 8px 25px #4f46e52b; }
  body:not(.portal-body) .chat-launch > span { color: #b8f5ef; }
  body:not(.portal-body) .chat-panel { border-color: #dbe3f5; border-radius: 15px; box-shadow: 0 12px 40px #283a6c24; }
  body:not(.portal-body) .chat-panel > .between { color: #fff; background: linear-gradient(110deg, #374488, #5b35b6); }
  body:not(.portal-body) .chat-panel > .between button { color: #fff; }
  body:not(.portal-body) .chat-bubble { color: #2d416a; background: #eff3ff; }
  body:not(.portal-body) .chat-bubble.user { color: #fff; background: #5145b5; }

  body:not(.portal-body) :is(a, button, summary):focus-visible { outline: 3px solid #0891b2; outline-offset: 4px; }
}

@media screen and (min-width: 641px) and (max-width: 900px) {
  .brand-row { padding-block: 16px; }
  .brand-logo { width: 76px; height: 76px; border-radius: 15px; }
  .brand .brand-logo img { width: 124px; height: 124px; }
  .brand-copy strong { font-size: 22px; }
  .brand-access { display: none; }
}

@media screen and (max-width: 900px) {
  body:not(.portal-body) .navlinks { background: linear-gradient(145deg, #283b79, #4434a2); }
  body:not(.portal-body) .dropmenu { color: #fff; background: #ffffff0d; border: 0; box-shadow: none; }
  body:not(.portal-body) .dropmenu a:hover { background: #ffffff15; color: #fff; }
}

@media screen and (max-width: 640px) {
  .brand-row { padding-block: 14px; gap: 12px; }
  .brand-identity { gap: 12px; }
  .brand-logo { width: 56px; height: 64px; border-radius: 12px; }
  .brand .brand-logo img { width: 104px; height: 104px; }
  .brand-copy { gap: 4px; }
  .brand-eyebrow { font-size: 7px; letter-spacing: .13em; }
  .brand-copy strong { font-size: clamp(14px, 3.8vw, 18px); line-height: 1.25; }
  .brand-subtitle { font-size: 8px; letter-spacing: 0; }
  .brand-access { display: none; }
  body:not(.portal-body) .quicklinks > a { border-radius: 0; gap: 10px; padding-inline: 12px; }
  body:not(.portal-body) .quicklinks > a:first-child { border-radius: 14px 0 0 0; }
  body:not(.portal-body) .quicklinks > a:last-child { border-radius: 0 0 14px 0; }
  body:not(.portal-body) .quick-icon { width: 30px; height: 34px; border-radius: 8px; font-size: 19px; }
  body:not(.portal-body) .authcard { padding: 25px; margin-block: 30px; }
  body:not(.portal-body) .cta { border-radius: 15px; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  body:not(.portal-body) :is(.course-card, .post-card, .sector-grid > a, .btn) { transition: box-shadow .18s ease, background .18s ease, border-color .18s ease; }
}

@media print {
  .brand-row, .brand-identity { display: flex; align-items: center; gap: 15px; }
  .brand-row { padding-block: 15px; }
  .brand .brand-logo img { width: 65px; height: 65px; object-fit: contain; }
  .brand-copy { display: flex; flex-direction: column; gap: 3px; }
  .brand-copy strong { font-size: 18px; line-height: 1.3; }
  .brand-eyebrow, .brand-subtitle { font-size: 9px; }
  .brand-access { display: none; }
}

@media screen {
  .portal-body {
    --ink: #172444;
    --brown: #4f46e5;
    --brown-dark: #312e81;
    --gold: #4f46e5;
    --cream: #eef2ff;
    --paper: #fff;
    --muted: #62708a;
    --line: #e0e7f3;
    --soft: #f3f6ff;
    --green: #13715b;
    --red: #b42339;
    background:
      radial-gradient(ellipse at 98% 5%, #dbeafe80, transparent 36%),
      radial-gradient(ellipse at 20% 80%, #ede9fe66, transparent 40%),
      #f5f7fc;
  }

  .portal-body .sidebar {
    color: #dbe5ff;
    background:
      radial-gradient(ellipse at 0 0, #2563eb40, transparent 42%),
      linear-gradient(165deg, #121d40 0%, #243969 48%, #403077 100%);
    border-right: 1px solid #ffffff14;
    scrollbar-color: #8999c5 #1e2b50;
    scrollbar-width: thin;
  }

  .portal-body .sidebrand {
    color: #fff;
    padding-bottom: 24px;
  }

  .portal-body .sidebrand img {
    border-radius: 12px;
    box-shadow: 0 4px 18px #050b2c26;
  }

  .portal-body .sidebrand strong { color: #c7d5f9; }

  .portal-body .account-role {
    color: #b8d7fb;
    border-color: #ffffff1f;
  }

  .portal-body .sidebar nav > a {
    color: #e0e8ff;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 11px 13px;
    margin-block: 4px;
  }

  .portal-body .sidebar nav > a:hover {
    background: #ffffff12;
    border-color: #ffffff14;
    color: #fff;
  }

  .portal-body .sidebar nav > a.selected {
    color: #fff;
    background: linear-gradient(110deg, #4f46e5, #6d28d9);
    border: 1px solid #a5b4fc66;
    box-shadow: inset 3px 0 #8df1ed, 0 5px 18px #070e3026;
  }

  .portal-body .logout {
    color: #eaf0ff;
    border-color: #dbeafe33;
    border-radius: 9px;
    background: #ffffff08;
  }

  .portal-body .logout:hover { background: #ffffff16; }

  .portal-body .app-header {
    background: linear-gradient(100deg, #fffffff5, #f4f7fff5);
    border-bottom-color: #dfe7f7;
    box-shadow: 0 3px 20px #233b6b05;
  }

  .portal-body .app-header strong { color: #23365b; }
  .portal-body .app-header > div:first-child span { color: #697893; }
  .portal-body .app-header a { color: #4f46e5; }

  .portal-body .app-header .badge {
    background: linear-gradient(110deg, #e8edff, #f0eaff);
    color: #4338a9;
    border: 1px solid #dce3ff;
    padding: 5px 12px;
  }

  .portal-body .app-content > .section-heading {
    position: relative;
    isolation: isolate;
    padding: 27px 30px;
    border-radius: 18px;
    color: #fff;
    background:
      radial-gradient(ellipse at 95% 15%, #2dd4bf30, transparent 42%),
      linear-gradient(115deg, #182958, #343ca1 62%, #5b2c9e);
    box-shadow: 0 10px 28px #363b9e18;
    border: 1px solid #5b6eb633;
    margin-bottom: 25px;
  }

  .portal-body .app-content > .section-heading h1 { color: #fff; }
  .portal-body .app-content > .section-heading .eyebrow { color: #c1f4f4; }
  .portal-body .app-content > .section-heading .muted { color: #dbe6ff; }
  .portal-body .app-content > .section-heading a:not(.btn) { color: #e0f7ff; }

  .portal-body .app-content > .section-heading .btn {
    background: #ffffff;
    color: #3730a3;
    border-color: #ffffff;
    box-shadow: 0 3px 12px #141c4e18;
  }

  .portal-body .app-content > .section-heading .btn.outline {
    background: #ffffff10;
    color: #fff;
    border-color: #c7d2fe88;
    box-shadow: none;
  }

  .portal-body .app-content > .section-heading .btn:hover {
    background: #e8edff;
    color: #312e81;
  }

  .portal-body .stats { gap: 18px; }

  .portal-body .stat {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 25px 22px;
    border: 1px solid #ffffff38;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(125deg, #4338ca, #2563eb);
    box-shadow: 0 7px 22px #3730a31c;
  }

  .portal-body .stat:nth-child(4n + 2) {
    background: linear-gradient(125deg, #6d28d9, #a21caf);
    box-shadow: 0 7px 22px #7e22ce1c;
  }

  .portal-body .stat:nth-child(4n + 3) {
    background: linear-gradient(125deg, #0f766e, #0e7490);
    box-shadow: 0 7px 22px #0f766e1c;
  }

  .portal-body .stat:nth-child(4n + 4) {
    background: linear-gradient(125deg, #1d4ed8, #0369a1);
    box-shadow: 0 7px 22px #1d4ed81c;
  }

  .portal-body .stat::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 132px;
    height: 132px;
    right: -36px;
    top: -47px;
    border-radius: 50%;
    border: 22px solid #ffffff0b;
    background: #ffffff04;
    pointer-events: none;
  }

  .portal-body .stat small {
    color: #f3f6ff;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .portal-body .stat strong {
    color: #fff;
    font-size: clamp(23px, 2.25vw, 34px);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .portal-body .app-content .card {
    border: 1px solid #e0e7f3;
    border-radius: 16px;
    box-shadow: 0 4px 22px #1e3a6e05;
    background: #ffffff;
  }

  .portal-body .app-content .card h2 { color: #22345a; }
  .portal-body .app-content .card > h2 { margin-bottom: 22px; }

  .portal-body .queue-grid > a {
    color: #23375e;
    padding: 17px;
    border: 1px solid #dfe5fb;
    border-radius: 11px;
    background: linear-gradient(130deg, #eef2ff, #f6f3ff);
  }

  .portal-body .queue-grid > a:nth-child(3n + 2) {
    background: linear-gradient(130deg, #f4eeff, #fcefff);
    border-color: #eadefb;
  }

  .portal-body .queue-grid > a:nth-child(3n) {
    background: linear-gradient(130deg, #eaf8f7, #edf7ff);
    border-color: #d8eeef;
  }

  .portal-body .queue-grid > a:hover {
    border-color: #b9bafb;
    box-shadow: 0 4px 14px #4f46e510;
  }

  .portal-body .queue-grid strong { color: #4f46c8; }
  .portal-body .queue-grid > a:nth-child(3n + 2) strong { color: #7e22ce; }
  .portal-body .queue-grid > a:nth-child(3n) strong { color: #0f766e; }

  .portal-body .chart {
    background-image: repeating-linear-gradient(to top, #e8edf5 0, #e8edf5 1px, transparent 1px, transparent 25%);
    border-bottom-color: #dfe7f3;
  }

  .portal-body .chart-track { border-bottom-color: #dfe7f3; }

  .portal-body .chart-bar {
    background: linear-gradient(180deg, #818cf8, #4f46e5);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 3px 9px #4f46e512;
  }

  .portal-body .chart-column:nth-child(3n + 2) .chart-bar {
    background: linear-gradient(180deg, #a78bfa, #7c3aed);
  }

  .portal-body .chart-column:nth-child(3n) .chart-bar {
    background: linear-gradient(180deg, #2dd4bf, #0f766e);
  }

  .portal-body .chart-bar span {
    background: #25355b;
    box-shadow: 0 3px 12px #17255418;
  }

  .portal-body .btn {
    border: 1px solid #4f46e5;
    border-radius: 8px;
    background: linear-gradient(110deg, #4f46e5, #6d28d9);
    color: #fff;
    box-shadow: 0 3px 10px #4f46e512;
  }

  .portal-body .btn:hover {
    background: linear-gradient(110deg, #4338ca, #5b21b6);
    color: #fff;
  }

  .portal-body .btn.outline {
    color: #4842b8;
    border-color: #d2d9f4;
    background: #fff;
    box-shadow: none;
  }

  .portal-body .btn.outline:hover { background: #eef2ff; }

  .portal-body .danger-btn {
    background: linear-gradient(110deg, #b42339, #9f1239);
    border-color: #b42339;
  }

  .portal-body .danger-btn:hover { background: #9f1239; }

  .portal-body input:not([type=checkbox]):not([type=radio]),
  .portal-body select,
  .portal-body textarea {
    background: #fff;
    border-color: #d8e0f0;
    border-radius: 8px;
    color: #172444;
  }

  .portal-body input:focus,
  .portal-body select:focus,
  .portal-body textarea:focus {
    border-color: #6366f1;
    outline: 3px solid #6366f11f;
  }

  .portal-body input[type=checkbox],
  .portal-body input[type=radio] { accent-color: #4f46e5; }

  .portal-body .filterbar {
    background: linear-gradient(115deg, #f0f4ff, #f7f4ff);
    border-color: #e0e7f3;
    border-radius: 12px;
  }

  .portal-body .filterbar.compact { background: transparent; }

  .portal-body th {
    color: #47577c;
    background: #f1f4ff;
    border-bottom-color: #dce4f3;
  }

  .portal-body td,
  .portal-body .listrow { border-bottom-color: #e6ebf5; }
  .portal-body tbody tr:hover { background: #f8faff; }
  .portal-body td > a { color: #4f46c8; }
  .portal-body summary { color: #35466b; font-weight: 500; }
  .portal-body summary::marker { color: #6366f1; }
  .portal-body .pagination a { border-color: #d8e1f3; border-radius: 8px; }
  .portal-body .pagination a:hover { background: #eef2ff; }
  .portal-body .timeline { border-left-color: #818cf8; background: #f4f6ff; }
  .portal-body .hint,
  .portal-body .json { background: #f3f6ff; border-radius: 9px; }
  .portal-body .pdf-reader { background: #e4eaf5; border-radius: 12px; }

  .portal-body .tier {
    background: linear-gradient(110deg, #fff4d0, #fce8b4);
    border-color: #ecd39c;
    color: #7f560d;
    box-shadow: 0 3px 10px #0000000a;
  }

  .portal-body .tier.silver {
    background: linear-gradient(110deg, #f8fafc, #dfe6ef);
    border-color: #ccd7e5;
    color: #46566f;
  }

  .portal-body .tier.platinum {
    background: linear-gradient(110deg, #edf4ff, #e0e2fb);
    border-color: #cbd4f4;
    color: #424b87;
  }

  .portal-body .app-foot { color: #6a7893; }
  .portal-body .app-foot a { color: #4f46c8; }

  .portal-body :is(a, button, summary):focus-visible {
    outline: 3px solid #0891b2;
    outline-offset: 4px;
  }

  .portal-body .sidebar :is(a, button):focus-visible { outline-color: #99f6e4; }

  .portal-body .code-editor {
    color: #e0e7ff !important;
    background: #17233f !important;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .portal-body .sidebar nav > a,
  .portal-body .btn,
  .portal-body .queue-grid > a { transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
}

@media screen and (max-width: 900px) {
  .portal-body .sidebar nav > a { padding: 10px 9px; }
  .portal-body .app-content > .section-heading { padding: 24px; }
}

@media screen and (max-width: 640px) {
  .portal-body .sidebrand { padding-bottom: 8px; }
  .portal-body .sidebrand img { border-radius: 8px; }
  .portal-body .sidebar nav > a { padding: 8px 12px; margin: 0; }
  .portal-body .sidebar nav > a.selected { box-shadow: inset 0 -2px #8df1ed; }
  .portal-body .logout { font-size: 9px; padding: 3px 6px; }
  .portal-body .app-content > .section-heading { padding: 21px; border-radius: 14px; }
  .portal-body .stats { gap: 11px; }
  .portal-body .stat { padding: 19px 15px; border-radius: 12px; }
  .portal-body .stat small { font-size: 9px; margin-bottom: 12px; }
  .portal-body .stat strong { font-size: 24px; }
  .portal-body .app-content .card { border-radius: 13px; }
  .portal-body .queue-grid > a { padding: 13px; border-radius: 9px; }
}


/* JNTE compact institution header and JSON imports v20261029.1 */
@media screen {
  .brand-row { gap: 24px; padding-block: 15px; }
  .brand-identity { flex: 1; min-width: 0; gap: 16px; }
  .brand-copy { gap: 8px; min-width: 0; }
  .brand-copy strong { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.25; letter-spacing: -.035em; }
  .brand-subtitle { font-size: clamp(11px, 1vw, 13px); line-height: 1.45; color: #4c5b83; font-weight: 500; letter-spacing: .015em; }
  .brand-recognitions { flex: 0 0 auto; display: flex; gap: 9px; align-items: center; padding: 4px 7px; background: #fffcf5; border: 1px solid #e6e6f1; border-radius: 11px; box-shadow: 0 3px 12px #223b6b06; }
  .recognition-badge { display: block; flex: 0 0 auto; height: 80px; background-image: url('jnte-recognitions.jpg'); background-size: 1228.8px 275.4px; background-repeat: no-repeat; }
  .badge-iso { width: 72px; background-position: -938.4px -45.6px; }
  .badge-msme { width: 78px; background-position: -1025.4px -45.6px; }
  .badge-niti { width: 94px; background-position: -1110px -45.6px; }
  .portal-body .json-import-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; margin-top: 22px; }
  .portal-body .json-import-grid .card { min-width: 0; margin: 0; }
  .portal-body .json-import-grid select { max-width: 100%; }
  .portal-body .import-guidance { padding-left: 20px; }
  .portal-body .import-guidance li { margin-block: 12px; line-height: 1.65; color: #52617c; }
  .portal-body .json-import-grid .hint p { margin-bottom: 0; }
}
@media screen and (max-width: 1100px) and (min-width: 761px) {
  .brand-row { gap: 15px; }
  .brand-identity { gap: 12px; }
  .brand-copy strong { font-size: 21px; }
  .brand-subtitle { font-size: 11px; }
  .brand-logo { width: 70px; height: 76px; }
  .brand-recognitions { gap: 2px; zoom: .85; }
}
@media screen and (max-width: 900px) {
  .portal-body .json-import-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 760px) {
  .brand-row { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .brand-identity { flex-basis: 100%; gap: 12px; }
  .brand-copy { gap: 4px; }
  .brand-copy strong { font-size: clamp(16px, 3.4vw, 22px); line-height: 1.25; }
  .brand-subtitle { font-size: clamp(10px, 2vw, 12px); line-height: 1.4; }
  .brand-recognitions { margin-left: auto; padding: 3px 7px; gap: 9px; border-radius: 8px; zoom: .62; }
}
@media print {
  .brand-recognitions { display: none; }
}

/* Stable homepage image dimensions while assets load. */
@media screen {
  .hero-image { height: 430px; min-height: 0; }
  .hero-image > img { height: 100%; min-height: 0; }
}
@media screen and (max-width: 900px) {
  .hero-image { height: 340px; }
}
@media screen and (max-width: 640px) {
  .hero-image { height: 280px; min-height: 0; max-height: 280px; }
  .hero-image > img { min-height: 0; max-height: 280px; }
}

@media screen {
  .portal-body .json-import-grid .card > h3 { margin-top: 24px; }
}

/* JNTE institutional pages and contact directory v20261029.2 */
@media screen {
  .institution-pagehead { padding-block: 48px; }
  .institution-pagehead .eyebrow { letter-spacing: .15em; }
  .institution-pagehead h1 { margin-bottom: 12px; }
  .institution-pagehead p { max-width: 700px; margin-bottom: 0; }
  .institution-prose { max-width: 1060px; font-size: 15px; line-height: 1.9; }
  .institution-prose h2 { margin-top: 42px; padding-top: 20px; border-top: 1px solid #e1e6f2; color: #253970; font-size: 26px; }
  .institution-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .institution-prose h3 { color: #344578; font-size: 19px; margin-top: 24px; }
  .institution-prose li { margin-block: 10px; padding-left: 4px; }
  .institution-prose li::marker { color: #6366c9; }
  .institution-prose table { width: 100%; table-layout: fixed; margin-block: 24px; border-collapse: collapse; font-size: 13px; line-height: 1.7; }
  .institution-prose th, .institution-prose td { padding: 15px; vertical-align: top; border: 1px solid #dde4f3; white-space: normal; overflow-wrap: anywhere; }
  .institution-prose th:first-child { width: 20%; }
  .institution-prose tbody tr:nth-child(even) { background: #f8faff; }
  .institution-prose strong { color: #304475; }
  .institution-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 64px; padding: 28px 32px; border: 1px solid #dfe4f5; border-radius: 16px; background: linear-gradient(115deg, #eef5ff, #f3edff); }
  .institution-cta h2 { font-size: 24px; margin: 0 0 8px; }
  .institution-cta p { margin: 0; }
  .recognition-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 38px; }
  .recognition-highlight { display: flex; align-items: center; gap: 18px; padding: 22px; margin: 0; }
  .recognition-highlight .recognition-badge { border-radius: 8px; }
  .recognition-highlight h2 { font-size: 19px; margin: 0 0 5px; }
  .recognition-highlight p { font-size: 12px; margin: 0 0 7px; color: #64738e; }
  .recognition-highlight small { color: #5149b0; font-size: 11px; }
  .contact-intro { padding-block: 36px 0; max-width: 1320px; }
  .contact-intro p { max-width: 980px; }
  .contact-directory { padding-top: 30px; }
  .contact-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .contact-person { padding: 24px; margin: 0; border-top: 3px solid #6d65d6 !important; }
  .contact-person:nth-child(2) { border-top-color: #16a394 !important; }
  .contact-person:nth-child(3) { border-top-color: #4591d4 !important; }
  .contact-person:nth-child(4) { border-top-color: #a769cb !important; }
  .contact-role { display: block; color: #5e53aa; font-size: 11px; font-weight: 600; margin-bottom: 14px; }
  .contact-person h3 { color: #263b68; font-size: 18px; line-height: 1.4; min-height: 50px; margin: 0 0 16px; }
  .contact-person a { display: block; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; color: #4c47ad; }
  .contact-person .contact-number { font-size: 17px; font-weight: 500; margin-bottom: 5px; }
  .contact-office-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .office-list > h2 { margin: 10px 0 30px; }
  .office-card { display: flex; gap: 19px; padding-block: 25px; border-top: 1px solid #dfe5f2; }
  .office-number { display: grid; place-items: center; height: 42px; width: 42px; flex: 0 0 42px; background: #e9e7fc; color: #6551b4; border-radius: 11px; font-size: 13px; font-weight: 600; }
  .office-card h3 { font-size: 19px; margin: 0 0 12px; color: #2d4070; }
  .office-card address { font-style: normal; font-size: 14px; line-height: 1.8; color: #596984; margin-bottom: 12px; }
  .office-card a { display: block; margin-top: 7px; font-size: 13px; color: #4f46ad; overflow-wrap: anywhere; }
  .contact-help { padding: 21px 24px; margin-top: 16px; border-left: 3px solid #22a596; border-radius: 0 12px 12px 0; background: #e9f7f5; font-size: 13px; color: #315b64; }
  .contact-help p { margin: 8px 0; }
  .contact-help a { font-weight: 500; color: #196c66; }
  .contact-message { margin: 0; padding: 32px; scroll-margin-top: 80px; }
  .contact-message > h2 { font-size: 27px; margin: 10px 0; }
  .contact-message > p { color: #64718b; margin-bottom: 28px; }
  .contact-message .formgrid { gap: 20px; }
  .contact-message .check { align-items: flex-start; flex-wrap: wrap; line-height: 1.6; font-size: 12px; }
  .contact-service-links { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
  .contact-service-links h2 { font-size: 24px; }
  .contact-service-links p { margin-bottom: 0; color: #64718b; }
  .institution-footer .footergrid { grid-template-columns: 1.2fr 1.25fr .85fr .85fr; gap: 40px; padding-bottom: 35px; }
  .institution-footer .footer-office h3 { margin-top: 0; margin-bottom: 14px; }
  .institution-footer .footer-office .footer-logo + h3 { margin-top: 20px; }
  .institution-footer address { font-style: normal; font-size: 13px; line-height: 1.8; color: #cad4ed; margin-bottom: 16px; }
  .institution-footer .footer-office a { overflow-wrap: anywhere; font-size: 12px; }
  .institution-footer .footer-office .footer-phone { font-size: 17px; color: #f2f6ff; margin: 19px 0 8px; }
  .institution-footer .footer-office .footer-contact-link { margin-top: 22px; color: #baf1e9; }
  .footer-team { border-top: 1px solid #ffffff1c; padding-block: 28px 35px; }
  .footer-team-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
  .footer-team-heading h3 { margin: 0; color: #f5f6ff; font-size: 15px; }
  .footer-team-heading > span { color: #adbce0; font-size: 11px; }
  .footer-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
  .footer-person { border-left: 2px solid #7976b9; padding-left: 16px; }
  .footer-person > span { display: block; color: #adbce0; font-size: 10px; margin-bottom: 9px; }
  .footer-person strong { display: block; color: #f2f5ff; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
  .footer-person a { display: block; font-size: 11px; color: #d5def1; margin-top: 5px; overflow-wrap: anywhere; }
}
@media screen and (max-width: 1000px) {
  .contact-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-office-grid { gap: 30px; grid-template-columns: 1fr 1.15fr; }
  .recognition-highlights { gap: 12px; }
  .recognition-highlight { gap: 12px; padding: 17px; flex-direction: column; align-items: flex-start; }
  .institution-footer .footergrid { gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .contact-service-links { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media screen and (max-width: 700px) {
  .contact-office-grid { grid-template-columns: 1fr; }
  .contact-message { padding: 25px; }
  .contact-message .formgrid { grid-template-columns: 1fr; }
  .institution-cta { flex-direction: column; align-items: flex-start; padding: 25px; margin-bottom: 40px; }
  .institution-prose { font-size: 13px; line-height: 1.85; }
  .institution-prose h2 { font-size: 23px; }
  .institution-prose table { font-size: 11px; }
  .institution-prose td, .institution-prose th { padding: 9px 7px; }
  .institution-prose th:first-child { width: 24%; }
  .footer-team-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media screen and (max-width: 480px) {
  .institution-pagehead { padding-block: 32px; }
  .institution-pagehead h1 { font-size: 30px; }
  .contact-team-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-person h3 { min-height: 0; margin-bottom: 10px; }
  .contact-person { padding: 22px; }
  .contact-directory .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .recognition-highlights { grid-template-columns: 1fr; gap: 12px; }
  .recognition-highlight { flex-direction: row; align-items: center; padding: 20px; }
  .institution-footer .footergrid { gap: 28px 18px; }
  .institution-footer .footer-office { grid-column: 1 / -1; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media print {
  .contact-message, .contact-service-links, .institution-cta { display: none; }
  .office-card address { font-style: normal; }
}

/* Admissions and collection workspaces */
.crm-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.crm-charts>.card{margin:0}.crm-bars{display:grid;gap:18px;margin:24px 0 8px}.crm-bar-row{display:grid;grid-template-columns:108px minmax(0,1fr) 30px;align-items:center;gap:12px;font-size:.83rem}.crm-bar-row>strong{text-align:right}.crm-bar-track{height:13px;background:#edf0fa;border-radius:12px;overflow:hidden}.crm-bar-track i{height:100%;display:block;border-radius:12px;background:linear-gradient(100deg,#4f46e5,#7c3aed,#16a6ac)}.crm-links{margin:20px 0;flex-wrap:wrap}.block{display:block}.workflow-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#eef2ff,#f5f0ff,#edfafa)}.workflow-summary h2{margin-top:8px}.formgrid small{font-weight:400}.crm-charts+.card{margin-top:20px}.badge.central{background:#e9e7ff;color:#4338ca}.badge.center{background:#dcf4ee;color:#116a56}.formgrid select{min-width:0;max-width:100%}
@media(max-width:850px){.crm-charts{grid-template-columns:1fr}.workflow-summary{align-items:flex-start;flex-direction:column;gap:8px}.crm-bar-row{grid-template-columns:96px minmax(0,1fr) 28px;gap:8px}}
/* Structured learning */
.learning-hero{background:linear-gradient(120deg,#102947 0%,#25347e 52%,#5f3aa3 100%);color:#fff;border-radius:22px;padding:32px;margin:20px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 16px 35px #18365a16}.learning-hero h1{color:#fff;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.22;max-width:900px;margin:12px 0}.learning-hero p{color:#d7e4f7;max-width:660px}.learning-hero .eyebrow{color:#8fe3d0}.learning-hero-stat{display:grid;gap:5px;flex-shrink:0}.learning-hero-stat strong{font-size:2.4rem}.learning-hero-stat span{color:#d8e3fa}.learning-search{display:flex;gap:10px;margin:20px 0}.learning-search input{flex:1;min-width:0}.learning-cards,.learning-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.learning-course{display:block;text-decoration:none;color:inherit}.learning-course h2{font-size:1.25rem;line-height:1.4}.learning-course:hover{border-color:#5260c0;transform:translateY(-2px)}.learning-progress{height:9px;border-radius:99px;background:#e8edf5;overflow:hidden;margin:18px 0 10px}.learning-progress span{display:block;height:100%;background:linear-gradient(90deg,#3689ac,#36b49d);border-radius:inherit}.learning-meta{display:flex;justify-content:space-between;gap:10px;font-size:.85rem}.learning-link{display:inline-block;font-weight:600;color:#334e9e;margin-top:10px}.learning-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.learning-stats .card{display:flex;flex-direction:column;gap:8px}.learning-stats strong{font-size:1.8rem;color:#1c3460}.learning-stats small{font-size:.9rem;font-weight:400;color:#64748b}.learning-stats p{margin:0;font-size:.85rem}.learning-success{border-left:5px solid #1aa58b;background:#f0fbf7}.topic-list{padding:0;list-style:none}.topic-list li{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #e8edf5}.topic-list li>div{flex:1;min-width:0}.topic-list small{display:block;margin-top:5px;color:#64748b}.topic-number{border-radius:12px;background:#eaf0f7;min-width:38px;height:38px;display:grid;place-items:center;font-weight:600}.topic-done .topic-number{background:#ddf5ed;color:#12745f}.topic-current .topic-number{background:#e2e7ff;color:#354ba5}.topic-locked{color:#768399}.learning-reading{white-space:pre-line;line-height:1.9;max-width:950px}.learning-code{background:#13233c;color:#e1eafb;padding:22px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:.88rem}.learning-practice{background:#f1f6fb;border-left:4px solid #5879be;padding:18px 22px;margin:24px 0;border-radius:0 12px 12px 0}.exam-question{border:1px solid #dce3ef;border-radius:13px;padding:20px;margin:10px 0}.exam-question legend{font-weight:600;padding:0 8px;max-width:100%}.exam-option{display:flex;gap:12px;align-items:flex-start;padding:12px;background:#f5f8fc;border-radius:8px;margin:8px 0;cursor:pointer}.exam-option input{width:auto;flex-shrink:0;margin-top:4px}.exam-clock{background:#e9f2ff;color:#23447a;padding:14px;border-radius:10px;font-weight:600;margin:16px 0}.sidebar .sidebrand{justify-content:center;padding:14px}.sidebar .sidebrand img{width:78px;height:78px;object-fit:contain}.auth-logo{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 22px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){.learning-hero{padding:24px;align-items:flex-start;flex-direction:column}.learning-hero-stat{display:flex;align-items:baseline;gap:12px}.learning-hero-stat strong{font-size:1.9rem}.learning-cards,.learning-subject-grid{grid-template-columns:1fr}.learning-stats{grid-template-columns:1fr}.topic-list li{gap:10px;flex-wrap:wrap}.topic-list li>div{flex-basis:calc(100% - 60px)}.topic-list li>a{margin-left:auto}.learning-search .btn{padding-left:16px;padding-right:16px}}
@media print{.pdf-reader,.reader-toolbar{display:none!important}}

.portal-mobile-nav{display:none}@media(max-width:900px){.portal-mobile-nav{display:block;background:#fff;padding:10px 18px;border-bottom:1px solid #dfe5ef}.portal-mobile-nav summary{display:flex;align-items:center;gap:12px;cursor:pointer;color:#293e74;font-weight:600}.portal-mobile-nav summary::after{content:'▾';margin-left:auto}.portal-mobile-nav img{width:34px;height:34px;object-fit:contain}.portal-mobile-nav nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.portal-mobile-nav nav a{padding:10px;background:#f2f5fc;border-radius:8px;font-size:.8rem}.portal-mobile-nav form{margin:10px 0}}
