:root{--green:#146b59;--deep:#16473c;--mint:#e6f2ed;--ink:#1e322e;--sub:#71827b;--line:#dfe7e2;--bg:#f6f8f5;--white:#fff;--red:#aa4337;--gold:#926a2b}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;color:var(--ink);background:var(--bg)}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin:0}h1{line-height:1.2;letter-spacing:-1.3px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:17px}p{color:var(--sub)}button:focus-visible,a:focus-visible{outline:3px solid #7fbdab;outline-offset:3px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:20px;font-weight:750;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--green);border-radius:11px;color:white;font-size:23px;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--sub)}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:42px;padding:9px 18px;border-radius:9px;border:1px solid var(--green);background:var(--green);color:#fff;font-weight:600}.button.secondary{background:white;border-color:var(--line);color:var(--ink)}.button.danger{background:#fff;border-color:#e6c5c0;color:var(--red)}.button.text{background:transparent;border-color:transparent;color:var(--green);padding:6px 9px;min-height:32px}.button.small{font-size:13px;padding:6px 12px;min-height:34px}.muted{color:var(--sub)}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700;text-transform:uppercase}.flex{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:20px}.spaced{margin-top:22px}.subtle{font-size:13px;color:var(--sub)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.error{color:var(--red);font-size:14px;margin-top:12px}.notice{background:var(--mint);border:1px solid #cfe2d8;border-radius:10px;padding:15px 18px;color:var(--deep);font-size:14px}.notice.warn{background:#faf4e8;border-color:#ebddbd;color:var(--gold)}.tag{display:inline-block;font-size:12px;line-height:1.5;padding:5px 9px;border-radius:6px;background:var(--mint);color:var(--green);white-space:nowrap}.tag.gray{background:#edf0ed;color:#6c7971}.tag.gold{background:#f7edd9;color:var(--gold)}.tag.red{background:#fae9e6;color:var(--red)}.boot{padding:100px;text-align:center;color:var(--green)}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.page-header h1{font-size:32px;margin:8px 0 10px}.page-header p{font-size:14px}.card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:13px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.metric{background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:12px;position:relative;overflow:hidden}.metric:after{content:"";position:absolute;width:48px;height:48px;border:12px solid #eff5ef;border-radius:50%;right:16px;top:30px}.metric strong{display:block;font-size:34px;font-weight:650;margin:8px 0 3px}.metric span{font-size:13px;color:var(--sub)}.metric:first-child{background:var(--deep);color:#fff;border-color:var(--deep)}.metric:first-child span{color:#b7d3c7}.metric:first-child:after{border-color:#2a584a}.empty{padding:45px 20px;text-align:center}.empty-icon{display:block;width:50px;height:50px;margin:0 auto 13px;background:var(--mint);border-radius:15px;line-height:50px;font-size:24px;color:var(--green)}.empty h3{margin-bottom:8px}.empty .button{margin-top:18px}.table-scroll{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{text-align:left;color:var(--sub);font-size:12px;font-weight:500;background:#f7f9f6;padding:12px 14px;white-space:nowrap}.table td{padding:17px 14px;border-bottom:1px solid #edf1eb;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table td strong{font-weight:600}.table td small{display:block;color:var(--sub);font-size:11px;margin-top:3px}.table-actions{display:flex;gap:5px}.filters{display:flex;gap:10px;margin-bottom:18px}.filters input{flex:1;max-width:350px}.filters select{width:160px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:13px;color:#50645b;font-weight:550}input,select,textarea{border:1px solid #d7e2da;border-radius:8px;background:white;padding:10px 12px;outline:none;color:var(--ink);width:100%;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #146b5912}textarea{min-height:100px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.span2{grid-column:span 2}.field input[type=checkbox]{width:auto}.field-checkbox{display:flex;gap:9px;align-items:center;font-size:13px;margin:15px 0}.field-checkbox input{width:17px}.full{width:100%}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;padding:12px 24px;border-radius:11px;z-index:100;box-shadow:0 8px 24px #18332920;display:none;max-width:90vw}#toast.show{display:block}#modal{position:fixed;inset:0;background:#0c241b70;display:grid;place-items:center;z-index:80;padding:24px}#modal[hidden]{display:none}.modal-box{background:white;border-radius:15px;padding:28px;width:min(100%,650px);max-height:90vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:23px}.icon-button{border:0;background:#f0f4ee;border-radius:50%;width:32px;height:32px;font-size:20px;color:var(--sub)}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.landing-nav{display:flex;justify-content:space-between;align-items:center;padding:20px 0}.landing-shell{width:min(1120px,calc(100% - 48px));margin:auto}.landing-nav nav{display:flex;align-items:center;gap:25px;font-size:14px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding:75px 0 80px}.hero h1{font-size:60px;line-height:1.16;margin:20px 0 25px}.hero h1 em{font-style:normal;color:var(--green)}.hero p{font-size:17px;max-width:510px}.hero .flex{margin:30px 0 20px}.hero-card{background:var(--deep);color:white;border-radius:24px;padding:30px;transform:none;box-shadow:0 30px 50px #254c3920}.hero-card .eyebrow{color:#bddbce}.hero-card h3{font-size:25px;margin:12px 0 24px}.hero-line{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid #49695d}.hero-line b{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#315d4c;color:#d5ead8;font-size:12px}.hero-line span{font-size:15px}.hero-card footer{font-size:12px;color:#b6cfbe;padding-top:20px}.public-section{padding:50px 0;border-top:1px solid var(--line)}.public-section .section-title{margin-bottom:25px}.section-title h2{font-size:30px;margin:9px 0}.three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.public-card{padding:25px;background:#fff;border:1px solid var(--line);border-radius:13px}.public-card .num{font-size:12px;letter-spacing:2px;color:var(--green);margin-bottom:20px}.public-card h3{font-size:21px;margin-bottom:9px}.public-card p{font-size:14px}.site-footer{padding:28px 0;font-size:12px;color:var(--sub);border-top:1px solid var(--line);display:flex;justify-content:space-between}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-left{background:var(--deep);padding:50px 60px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.auth-left .brand{color:white}.auth-left .brand-mark{background:#c1e1b1;color:var(--deep)}.auth-left h1{font-size:48px;margin:30px 0 25px;line-height:1.25}.auth-left p{color:#b5cfc0;max-width:450px}.auth-left footer{font-size:12px;color:#a6c3b1}.auth-right{display:grid;place-items:center;padding:40px}.auth-form{width:100%;max-width:400px}.auth-form h2{font-size:30px;margin:7px 0 8px}.auth-form>p{margin-bottom:26px;font-size:14px}.auth-links{margin-top:22px;text-align:center;font-size:13px}.auth-role{display:flex;padding:4px;background:#edf2ec;border-radius:9px;margin-bottom:24px}.auth-role button{flex:1;border:0;background:transparent;padding:9px;border-radius:6px;color:var(--sub)}.auth-role button.selected{background:white;color:var(--green);box-shadow:0 1px 4px #203c2510}.workspace{min-height:100vh;display:grid;grid-template-columns:232px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:white;border-right:1px solid var(--line);padding:27px 18px;display:flex;flex-direction:column}.sidebar .brand{padding:0 9px 28px}.workspace-label{padding:0 12px;margin-bottom:16px;font-size:11px;color:var(--sub);letter-spacing:1px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{padding:11px 13px;border-radius:8px;color:#687c72;font-size:14px;display:flex;gap:12px;align-items:center}.sidebar nav a.active{background:var(--mint);color:var(--green);font-weight:600}.sidebar nav a:hover{background:#f2f5ef}.nav-symbol{width:20px;text-align:center;font-size:17px}.sidebar-bottom{margin-top:auto;padding:18px 8px 0;border-top:1px solid var(--line)}.profile-name{font-weight:650;font-size:14px}.sidebar-bottom .subtle{font-size:11px;overflow-wrap:anywhere}.sidebar-bottom .button{margin-top:12px}.main-pane{min-width:0}.topbar{height:75px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 35px;font-size:13px;color:var(--sub)}.topbar .user-pill{display:flex;align-items:center;gap:9px;color:var(--ink)}.avatar{height:30px;width:30px;border-radius:50%;background:var(--mint);display:grid;place-items:center;color:var(--green);font-weight:600}.workspace-body{padding:32px 35px;max-width:1600px;margin:auto}.application-card{border:1px solid var(--line);background:white;border-radius:13px;padding:24px}.application-card .head{display:flex;justify-content:space-between;align-items:start;gap:12px}.application-card h3{font-size:21px;margin:10px 0 3px}.application-card .meta{font-size:12px;color:var(--sub);margin:15px 0}.application-card footer{border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;align-items:center}.stepper{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:26px 0}.step{text-align:center;position:relative;font-size:12px;color:#8b988d}.step:before{content:"";height:2px;background:#e1e9df;position:absolute;top:16px;left:0;right:0}.step .circle{position:relative;margin:0 auto 9px;width:33px;height:33px;border:1px solid #d4dfd2;background:white;border-radius:50%;display:grid;place-items:center;z-index:1}.step.done .circle{background:var(--green);color:white;border-color:var(--green)}.step.done:before{background:#aacabd}.step.current{color:var(--green);font-weight:600}.step.current .circle{border:2px solid var(--green);box-shadow:0 0 0 4px var(--mint)}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:20px}.dl-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.dl-grid small{display:block;font-size:12px;color:var(--sub);margin-bottom:5px}.timeline{list-style:none;margin:0;padding:0}.timeline li{padding:0 0 22px 23px;border-left:1px solid #dce6db;position:relative}.timeline li:before{content:"";position:absolute;width:8px;height:8px;background:var(--green);border-radius:50%;left:-4px;top:9px}.timeline li:last-child{padding-bottom:0}.timeline .time{font-size:11px;color:var(--sub);margin:5px 0}.timeline .note{font-size:13px;color:#506459;white-space:pre-wrap;overflow-wrap:anywhere}.file-list{display:grid;gap:10px}.file-item{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--line);padding:13px 15px;border-radius:8px}.file-item b{font-size:14px;overflow-wrap:anywhere}.file-item small{font-size:11px;color:var(--sub);display:block;overflow-wrap:anywhere}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalog-grid .school-name{font-size:12px;color:var(--green);margin-bottom:10px}.catalog-grid h3{font-size:22px;margin-bottom:8px}.catalog-grid .requirements{white-space:pre-wrap;font-size:13px;color:var(--sub);margin:15px 0;max-height:200px;overflow:auto}.catalog-grid footer{padding-top:15px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.role-tabs{display:flex;gap:7px;margin-bottom:20px;overflow:auto}.role-tabs a{padding:9px 15px;font-size:13px;border:1px solid var(--line);border-radius:8px;color:var(--sub);background:white;white-space:nowrap}.role-tabs a.active{color:var(--green);border-color:#b2d0c0;background:var(--mint)}
@media(min-width:1500px){.workspace-body{padding:42px 55px}.topbar{padding:0 55px}.auth-left{padding:60px 90px}}@media(max-width:1000px){.workspace{grid-template-columns:190px 1fr}.sidebar{padding:22px 12px}.sidebar .brand{font-size:18px}.topbar{padding:0 22px}.workspace-body{padding:25px 22px}.detail-grid{grid-template-columns:1fr}.hero{gap:30px}.hero h1{font-size:46px}.auth-left{padding:40px 30px}.auth-left h1{font-size:37px}.metric-grid{grid-template-columns:repeat(2,1fr)}.three-grid{grid-template-columns:1fr}}@media(max-width:700px){.workspace{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:15px}.sidebar .brand{padding:0 0 12px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow:auto}.sidebar nav a{white-space:nowrap;padding:9px 12px;font-size:13px}.nav-symbol{display:none}.topbar{height:55px;padding:0 18px}.workspace-body{padding:24px 16px}.page-header h1{font-size:27px}.page-header{gap:12px;flex-wrap:wrap}.card{padding:18px}.metric-grid{gap:10px;margin:20px 0}.metric{padding:17px}.metric strong{font-size:30px}.metric:after{display:none}.catalog-grid{grid-template-columns:1fr}.auth-layout{display:block}.auth-left{padding:22px;background:var(--deep)}.auth-left>div:not(:first-child),.auth-left footer{display:none}.auth-right{padding:35px 24px}.auth-left .brand{font-size:19px}.landing-shell{width:calc(100% - 36px)}.landing-nav nav>a:not(.button){display:none}.landing-nav nav{gap:8px}.hero{grid-template-columns:1fr;padding:35px 0 45px;gap:30px}.hero h1{font-size:44px}.hero-card{transform:none;padding:24px}.public-section{padding:32px 0}.public-card{padding:20px}.form-grid{grid-template-columns:1fr}.span2{grid-column:span 1}.modal-box{padding:21px}.filters{flex-wrap:wrap}.filters select{width:100%}.filters input{max-width:none}.step{font-size:10px}.step .circle{width:29px;height:29px}.stepper{gap:4px}.site-footer{gap:10px;flex-wrap:wrap}.dl-grid{grid-template-columns:1fr 1fr}.application-card{padding:18px}.file-item{flex-wrap:wrap}.user-pill .profile-label{display:none}}

.demo-notice{margin-bottom:24px}
/* Each portal has its own visual identity, while sharing account permissions. */
.portal-student{--green:#197968;--accent:#197968;--deep:#164f47;--mint:#e5f4ee;--line:#dae7e1;background:#f5faf7}
.portal-school{--green:#2864b6;--accent:#2864b6;--deep:#173b68;--mint:#eaf1fb;--line:#dce5f2;background:#f3f6fb}
.portal-admin{--green:#6751bd;--accent:#6751bd;--deep:#29223e;--mint:#efeafa;--line:#e3e0e9;background:#f5f4f8}
.portal-label{margin-top:24px;font-size:14px;letter-spacing:2px;opacity:.8}.portal-features{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:15px}.portal-features li{display:flex;gap:18px;align-items:center;font-size:14px}.portal-features span{opacity:.55;font-size:12px;letter-spacing:2px}.portal-switch{min-height:100vh;display:grid;place-items:center;padding:32px}.portal-switch>.card{width:min(650px,100%)}
.portal-school.auth-layout{grid-template-columns:1.15fr 1fr}.portal-school .auth-left{background:linear-gradient(135deg,#173b68,#22558f);position:relative;overflow:hidden}.portal-school .auth-left:after{content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff12;border-radius:50%;bottom:-280px;right:-180px;box-shadow:0 0 0 85px #ffffff05,0 0 0 170px #ffffff03;pointer-events:none}.portal-school .auth-right{background:#f3f6fb}.portal-school .auth-form{background:white;padding:40px;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px #1534530a}
.portal-admin.auth-layout{background:#181622;grid-template-columns:1fr 1fr}.portal-admin .auth-left{background:#181622;border-right:1px solid #ffffff12}.portal-admin .auth-right{background:radial-gradient(circle at 100% 0,#34304e,#181622 65%)}.portal-admin .auth-form{background:#fff;border-radius:12px;padding:42px;box-shadow:0 24px 60px #0003}.portal-admin .auth-left h1{font-size:42px}.portal-admin .auth-left .brand-mark{background:#8b78d2}
.workspace-school .sidebar{background:#17304f;color:#d5e2f5;border-right:0}.workspace-school .sidebar .brand,.workspace-school .profile-name{color:white}.workspace-school .sidebar .brand-mark{background:#3974c8}.workspace-school .sidebar .workspace-label,.workspace-school .sidebar .subtle{color:#9fb7d5}.workspace-school .sidebar nav a{color:#b4c9e3}.workspace-school .sidebar nav a.active{background:#315982;color:white}.workspace-school .sidebar nav a:hover{background:#254a70}.workspace-school .sidebar-bottom{border-color:#ffffff20}.workspace-school .sidebar button{color:#c4d7f0}.workspace-school .topbar{border-bottom:3px solid #2864b6}.workspace-school .metric{border-top:3px solid #4d7fbe}.workspace-school .workspace-body{max-width:1800px;margin:0;padding:30px}
.workspace-admin{grid-template-columns:218px 1fr}.workspace-admin .sidebar{background:#211e2e;color:#e3dff1;border-right:0}.workspace-admin .sidebar .brand,.workspace-admin .profile-name{color:white}.workspace-admin .sidebar .brand-mark{background:#7b67c5}.workspace-admin .sidebar .workspace-label,.workspace-admin .sidebar .subtle{color:#aaa0c4}.workspace-admin .sidebar nav a{color:#bab1d0;border-radius:7px}.workspace-admin .sidebar nav a.active{background:#5e4b9b;color:white}.workspace-admin .sidebar nav a:hover{background:#3b3351}.workspace-admin .sidebar-bottom{border-color:#ffffff20}.workspace-admin .sidebar button{color:#ccc4e2}.workspace-admin .topbar{height:64px;background:#fff}.workspace-admin .workspace-body{max-width:1800px;margin:0;padding:28px}.workspace-admin .card{border-radius:10px;box-shadow:none}.workspace-admin .metric{border-radius:10px}.workspace-admin .page-header h1{font-size:28px}.workspace-admin .table td{padding:13px 16px}.workspace-admin .table th{background:#f5f3f9}
.workspace-student{display:block}.workspace-student .sidebar{position:sticky;top:0;z-index:10;min-height:0;height:88px;display:flex;flex-direction:row;align-items:center;gap:35px;padding:16px 36px;border-right:0;border-bottom:1px solid var(--line);background:#fff}.workspace-student .sidebar .workspace-label{margin:0;white-space:nowrap}.workspace-student .sidebar nav{display:flex;gap:10px;margin-left:auto}.workspace-student .sidebar nav a{padding:12px 20px;white-space:nowrap}.workspace-student .sidebar-bottom{display:none}.workspace-student .topbar{height:62px;background:transparent;border:0;max-width:1440px;margin:auto}.workspace-student .workspace-body{max-width:1440px;padding:12px 36px 48px}.workspace-student .application-card{border-radius:20px;background:#fff;box-shadow:0 8px 25px #174d3905}.workspace-student .metric{border:0;background:#e8f3ed;border-radius:16px}.workspace-student .page-header h1{font-size:36px}.workspace-student .stepper{background:#f6faf8;padding:15px 10px;border-radius:12px}
@media(max-width:1100px){.workspace-student .sidebar{gap:18px;padding:15px 22px}.workspace-student .sidebar .workspace-label{display:none}.workspace-student .sidebar nav a{padding:12px}.portal-school .auth-form,.portal-admin .auth-form{padding:28px}}
@media(max-width:700px){.workspace-admin{display:block}.workspace-school .workspace-body,.workspace-admin .workspace-body{padding:20px 16px}.workspace-student .sidebar{height:auto;min-height:0;position:static;display:block;padding:20px 16px}.workspace-student .sidebar nav{margin:20px 0 0;overflow-x:auto}.workspace-student .sidebar nav a{flex:none}.workspace-student .topbar{padding:0 16px}.workspace-student .workspace-body{padding:8px 16px 32px}.workspace-student .page-header h1{font-size:28px}.portal-school.auth-layout,.portal-admin.auth-layout{grid-template-columns:1fr}.portal-school .auth-left,.portal-admin .auth-left{display:none}.portal-school .auth-right,.portal-admin .auth-right{min-height:100vh;padding:24px}.portal-school .auth-form,.portal-admin .auth-form{padding:24px;width:100%}.portal-switch{padding:20px}.portal-switch .flex{flex-wrap:wrap}}
.workspace-student .metric:first-child{background:#197968;color:#fff}.workspace-student .metric:first-child span{color:#d1eae0}.workspace-student .metric:first-child:after{border-color:#2a8a78}

/* Student language picker and Urdu right-to-left layout. */
.language-control{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line,#dce6e1);background:#fff;border-radius:9px;padding:6px 10px;color:#276c60;flex-shrink:0}
.language-select{font:inherit;color:inherit;border:0;background:transparent;max-width:170px;cursor:pointer;min-height:28px}
.auth-form>.language-control{float:right;margin-bottom:24px}
.auth-form>.language-control+*{clear:both}
.landing-nav>.language-control{margin-inline-start:auto;margin-inline-end:20px}
html[dir=rtl] .workspace-student,html[dir=rtl] .portal-student{text-align:right}
html[dir=rtl] .workspace-student .stepper .step:not(:last-child)::after{left:auto;right:50%}
html[dir=rtl] .timeline{padding-left:0;padding-right:24px}
html[dir=rtl] .timeline li{border-left:0;border-right:1px solid var(--line,#dce6e1);padding-left:0;padding-right:22px}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] input[name=email],html[dir=rtl] input[type=tel]{direction:ltr;text-align:left}
@media(max-width:700px){.language-control{padding:4px 7px}.language-select{max-width:130px;font-size:14px}.topbar .user-pill{gap:8px;flex-wrap:wrap}.landing-nav>.language-control{margin-inline-end:0}.auth-form>.language-control{margin-bottom:20px}}

/* Let long translated navigation labels and mobile headers wrap naturally. */
.landing-nav{gap:16px;flex-wrap:wrap}.landing-nav nav{flex-wrap:wrap;gap:16px}
.hero>div{min-width:0}.hero h1{overflow-wrap:anywhere}.hero .flex{flex-wrap:wrap}
@media(max-width:700px){.landing-nav{display:grid;grid-template-columns:1fr auto}.landing-nav>.brand{grid-column:1/-1}.landing-nav>.language-control{margin:0;justify-self:start}.landing-nav nav{justify-content:flex-end}.landing-nav .button{white-space:normal;max-width:170px;text-align:center}}
html[lang=ko] .hero h1,html[lang=ko] .hero-card h3{word-break:keep-all}
.translation-pending{border-bottom:1px dotted #b19052}.translation-editor{border:1px solid var(--line);border-radius:9px;padding:14px}.translation-editor summary{cursor:pointer;font-weight:600}.translation-editor .field{margin-top:14px}.translation-editor textarea{min-height:96px}
/* Service journeys, configurable program facts and operations workspaces. */
.core-service{display:flex;flex-direction:column;align-items:flex-start}.core-service .button{margin-top:auto;padding-top:20px}.core-service p{margin-bottom:20px}.service-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.service-shortcut{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:600}.service-shortcut:hover{border-color:var(--green);background:var(--mint)}.service-form{max-width:900px}.service-card .preserve{min-height:42px}.project-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:18px}.catalog-filters{align-items:center;flex-wrap:wrap}.catalog-filters .field-checkbox{margin:0;white-space:nowrap}.workspace-student .sidebar{height:auto;min-height:88px;flex-wrap:wrap;gap:14px}.workspace-student .sidebar .brand{padding-bottom:0}.workspace-student .sidebar nav{gap:4px;max-width:100%;overflow-x:auto}.workspace-student .sidebar nav a{padding:10px 12px;font-size:13px}.metric strong{overflow-wrap:anywhere;font-size:clamp(20px,2.1vw,34px)}.sidebar{overflow-y:auto}.hero-card .hero-line{padding:12px 0}.core-service .num{letter-spacing:1px}html[lang=ko] .public-card h3{word-break:keep-all}
@media(max-width:900px){.service-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-student .sidebar nav{margin-left:0;width:100%}.workspace-student .sidebar nav a{flex-shrink:0}}@media(max-width:700px){.service-shortcut{padding:14px;font-size:14px}.catalog-filters .field-checkbox{white-space:normal}.workspace-student .sidebar nav{margin-top:8px}.service-card .preserve{min-height:0}.metric strong{font-size:23px}.public-card h3{overflow-wrap:anywhere}.landing-nav .button{max-width:160px}.hero h1{font-size:42px}.hero-card h3{font-size:24px}}

/* Public service hub: secondary support and a clear consultation entry. */
.core-service-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto}.core-service .core-service-actions .button{margin-top:0;padding-top:6px}.home-support{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;margin-top:24px;padding:26px;border:1px solid #cfe2d8;border-radius:13px;background:var(--mint)}.home-support h3{font-size:21px;margin:9px 0}.home-support p{font-size:14px}.home-support small{display:block;margin-top:10px;color:var(--sub);font-size:12px}.home-support .flex{justify-content:flex-end}.home-cta{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:32px;margin:12px 0 40px;border-radius:16px;background:var(--deep);color:#fff}.home-cta h2{margin-bottom:8px}.home-cta p{color:#bddbce;font-size:14px}.home-cta .button{background:#e6f2ed;border-color:#e6f2ed;color:var(--deep);flex-shrink:0}
@media(max-width:700px){.home-support{grid-template-columns:minmax(0,1fr);padding:21px;gap:18px}.home-support .flex{justify-content:flex-start}.home-cta{flex-direction:column;align-items:flex-start;padding:24px;gap:20px}.home-cta .button{max-width:100%;white-space:normal}.core-service-actions{gap:0;flex-wrap:wrap}}

/* Self-service admissions: readable templates, checklist and payment snapshots. */
.template-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;margin:0 0 24px;border-radius:18px;background:#e2edcc;border:1px solid #c4d8a4;color:#214938}
.template-banner h2{margin:6px 0 8px;font-size:24px}.template-banner p{margin:0;color:#4b6656}
.template-card{display:flex;flex-direction:column;align-items:stretch}.template-languages{display:flex;flex-wrap:wrap;gap:4px}
.template-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#f4f6f1;border-radius:10px;font-family:inherit;font-size:14px;line-height:1.8;max-height:400px;overflow:auto}
.material-checklist{margin-top:16px}.checklist-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 0;border-top:1px solid var(--line,#e4e8df)}
.checklist-row h3{font-size:15px;margin:0 0 8px}.checklist-row p{margin:8px 0}.checklist-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:140px;max-width:230px}
.application-fee-panel{border:1px solid #bed1a5}.application-fee-panel .dl-grid{gap:24px}.application-fee-panel b{overflow-wrap:anywhere}
.landing-shell>header nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#resource-grid .card p{overflow-wrap:anywhere}details>summary{cursor:pointer;font-weight:600}#template-grid>.empty,#resource-grid>.empty{grid-column:1/-1}
[dir="rtl"] .checklist-actions{justify-content:flex-start}
@media(max-width:700px){.template-banner{align-items:flex-start;flex-direction:column;padding:24px}.template-banner .button{width:100%}.checklist-row{flex-direction:column}.checklist-actions{max-width:none;justify-content:flex-start}.filters>.field{width:100%}.landing-shell>header nav{gap:10px;font-size:13px}.application-fee-panel .dl-grid{grid-template-columns:1fr}.template-banner h2{font-size:22px}}

/* Shared form and filter controls: labels above, equal heights, bottom alignment. */
.field{min-width:0}
.field>input:not([type=checkbox]):not([type=radio]),.field>select{
 height:44px;min-height:44px;line-height:22px;padding-block:10px;
}
.filters,.filters.catalog-filters{align-items:flex-end;flex-wrap:wrap;gap:16px}
.filters>.field{flex:0 1 180px;min-width:160px;margin:0;gap:8px}
.filters>.field label{font-size:12px;line-height:1.5}
.filters>.filter-search{flex:1 1 280px;max-width:420px}
.filters>.field>input,.filters>.field>select{flex:none;width:100%;max-width:none}
.filters>.field-checkbox{min-height:44px;margin:0}
@media(max-width:700px){
 .filters>.field{flex:1 1 100%;width:100%;min-width:0;max-width:none}
 .filters>.field-checkbox{width:100%}
 .workspace .topbar{
  display:grid;grid-template-columns:minmax(0,1fr);align-items:center;
  height:auto;min-height:64px;gap:8px;padding:12px 16px;
 }
 .workspace .topbar>span{min-width:0;overflow-wrap:anywhere}
 .workspace .topbar .user-pill{flex-wrap:nowrap;gap:8px;justify-content:flex-end}
 .workspace .topbar .language-control{margin-inline-end:auto}
 .workspace .topbar .user-pill>button{white-space:nowrap}
}
