:root{--ink:#193d32;--accent:#137a50;--line:#dbece3;--muted:#60756b;--gold:#d4a84f;--surface:#fff;--shadow:0 12px 36px #164f3b0b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#def6e8 0,transparent 42%),#f6f7fb;color:var(--ink);font:16px/1.65 system-ui,'Noto Sans Thai',Tahoma,sans-serif;min-height:100vh;display:flex;flex-direction:column}header{background:linear-gradient(115deg,#075c40,#13945e);color:white;padding:19px max(24px,calc((100% - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:3px solid var(--gold)}.brand{display:flex;align-items:center;gap:14px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e5c777;border-radius:14px;color:#f4d689;font-size:16px;font-weight:800;letter-spacing:1px;background:#ffffff0b}.brand strong{letter-spacing:1.5px;font-size:17px}.brand small{color:#d9f6e5;font-size:13px}nav{display:flex;gap:6px;flex-wrap:wrap}header a{color:#ebfff3;text-decoration:none;padding:9px 13px;border-radius:9px;font-size:14px}header a:hover,header a[aria-current=page]{background:#ffffff20;color:#fff}main{width:min(100%,1280px);margin:30px auto;padding:0 24px;flex:1}.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#086746,#20a568);border-radius:24px;padding:32px 36px;margin-bottom:24px;color:white;box-shadow:var(--shadow)}.hero:after{content:'';position:absolute;right:-50px;top:-95px;width:300px;height:300px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff07;pointer-events:none}.hero h1{margin:6px 0;font-size:clamp(24px,4vw,34px);letter-spacing:-.4px}.hero p{color:#e7fff0;margin:4px 0;max-width:75%}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#f4d689}section,.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:18px;box-shadow:var(--shadow)}h1,h2,h3{line-height:1.4;margin-top:0}h1{font-size:28px}h2{font-size:21px;color:#164f3b;margin-bottom:18px}h3{font-size:17px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}label{display:block;font-size:14px;font-weight:650;min-width:0}input,select,textarea{display:block;width:100%;padding:11px 13px;margin:5px 0 10px;border:1px solid #bfd8cb;border-radius:10px;background:#fff;color:inherit;font:inherit;min-height:44px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#169b64;box-shadow:0 0 0 3px #169b6419}input:disabled{background:#eee}button{background:linear-gradient(120deg,#137a50,#16a367);color:white;border:0;border-radius:10px;padding:11px 18px;font:inherit;font-weight:650;cursor:pointer;min-height:44px;transition:filter .15s,transform .15s}button:hover:not(:disabled){filter:brightness(1.12)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}button.secondary{background:#e5f6ed;color:#166244}.actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.notice{white-space:pre-wrap;padding:14px 18px;border-radius:12px;background:#e8edf9;margin:12px 0;border-left:4px solid #169b64}.error{background:#fff0f0;color:#991b1b;border-color:#dc2626}.success{background:#e9f7ed;color:#166534;border-color:#16a34a}.scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}th{background:#e5f6ed;color:#275d46;white-space:nowrap}tbody tr:nth-child(even){background:#f7fcf9}tbody tr:hover{background:#edf9f2}td button{font-size:13px;padding:6px 11px;min-height:36px;margin:2px}fieldset{border:1px solid var(--line);border-radius:14px;padding:18px;margin:0 0 20px;min-width:0}legend{font-weight:750;color:var(--accent);padding:0 8px}.super{background:#fff8e7}.super input,.super select,.super textarea,body[data-page=super] input,body[data-page=super] select,body[data-page=super] textarea{background:#eaf5ec}body[data-page=super] section{background:#fffdf5}body[data-page=super]{background:#fff8e7}.muted{color:var(--muted);font-size:14px}[hidden]{display:none!important}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;background:#eff8f3;padding:12px;border-radius:10px}footer{text-align:center;padding:24px;color:var(--muted);font-size:13px}a{color:var(--accent)}:focus-visible{outline:3px solid #20a66c;outline-offset:3px}.status-pill{display:inline-block;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:650;background:#e1f6eb;color:#137a50;white-space:nowrap}.status-pill[data-status=APPROVED],.status-pill[data-status=PASSED]{background:#dcfce7;color:#166534}.status-pill[data-status=FAILED],.status-pill[data-status=REJECTED],.status-pill[data-status=CANCELLED]{background:#fee2e2;color:#991b1b}.status-pill[data-status=PENDING]{background:#fff3ce;color:#83510a}.loading{color:#137a50;padding:22px}.skip{position:absolute;left:-10000px}.skip:focus{left:12px;top:12px;background:white;padding:10px;z-index:10}@media(max-width:650px){header{padding:14px 16px;gap:10px}nav{width:100%;gap:3px}header a{padding:7px 9px;font-size:12px}main{padding:0 12px;margin:16px auto}.hero{padding:23px 20px;border-radius:17px}.hero p{max-width:100%;font-size:14px}section,.panel{padding:16px;border-radius:14px}fieldset{padding:12px}.grid{gap:8px}button{max-width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,footer,.hero,button{display:none}body{background:white}main{margin:0;padding:0}section{box-shadow:none}}
.actions button[aria-current=page]{background:#137a50;color:#fff;box-shadow:0 4px 12px #137a5025}.kpi-grid{margin-bottom:22px}.kpi{background:linear-gradient(145deg,#f2fcf6,#dff4e8);border:1px solid #c7e8d6;border-radius:16px;padding:20px}.kpi h3{font-size:14px;margin:0;color:#3c6a53}.kpi strong{display:block;font-size:38px;line-height:1.3;font-variant-numeric:tabular-nums;color:#126242}.kpi small{color:#60756b}.kpi[data-kind=approved]{background:#eaf6ee;border-color:#cde8d5}.kpi[data-kind=approved] strong{color:#176b42}.kpi[data-kind=total]{background:#096345;border-color:#096345}.kpi[data-kind=total] h3,.kpi[data-kind=total] small{color:#d9f9e6}.kpi[data-kind=total] strong{color:#fff}

/* Super Admin workspace */
body[data-page=super]{background:radial-gradient(circle at 90% 5%,#e5defa 0,transparent 34%),linear-gradient(145deg,#f8f7fc,#f3f0fa 58%,#f9f6ef)}
body[data-page=super] header{box-shadow:0 8px 26px #21164025}
body[data-page=super] .hero{background:linear-gradient(115deg,#26204d,#4d3b94 65%,#8065c5);box-shadow:0 18px 40px #46358130}
body[data-page=super] section{background:#fff;border:1px solid #e9e5f2;box-shadow:0 14px 40px #392b6810,0 2px 8px #392b6808}
body[data-page=super] input,body[data-page=super] select,body[data-page=super] textarea{background:#f7fcf9;border-color:#ded9eb}
body[data-page=super] input:focus,body[data-page=super] select:focus,body[data-page=super] textarea:focus{background:#fff;border-color:#7963c5;box-shadow:0 0 0 4px #7862c51c;outline:none}
body[data-page=super] .actions{gap:8px;padding-top:8px;border-top:1px solid #eeeaf5}
body[data-page=super] .actions button{border-radius:11px;padding:10px 15px}
body[data-page=super] .super{padding:32px;border-top:4px solid #7962c4}
.settings-description{color:#77718d;margin:-12px 0 24px;font-size:14px}
.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.settings-form label{color:#41395e}
.settings-form label:nth-child(n+3){grid-column:1/-1}
.settings-form input{margin-bottom:0;min-height:50px}
.settings-form button{justify-self:start;min-width:130px;box-shadow:0 7px 18px #5844a432}
.settings-feedback{grid-column:1/-1;padding:14px 18px;border-radius:12px;font-weight:650;border:1px solid}
.settings-feedback.success{background:#eaf8f0;border-color:#b7e5c8;color:#17663d}
.settings-feedback.error{background:#fff0f0;border-color:#f2c6c6;color:#991b1b}
.settings-safety{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:30px;padding:20px;border:1px solid #e9e4f1;border-radius:16px;background:#f9f8fc}
.settings-safety strong{color:#393051}.settings-safety p{margin:3px 0 0;color:#77718d;font-size:14px}.settings-safety button.secondary{background:#fff;color:#57478f;border:1px solid #ded7ee}
@media(max-width:650px){body[data-page=super] .super{padding:20px}.settings-form{grid-template-columns:1fr}.settings-form label:nth-child(n+3){grid-column:auto}.settings-feedback{grid-column:auto}.settings-safety{padding:16px}}

/* Orange Super Admin theme */
body[data-page=super]{--accent:#b94c0a;--ink:#35251f;--muted:#79685f;background:radial-gradient(circle at 90% 5%,#ffe4c9 0,transparent 34%),linear-gradient(145deg,#fffaf5,#fff3e8 58%,#fff9ef)}
body[data-page=super] header{background:linear-gradient(115deg,#572913,#a6440d 65%,#d46216);border-color:#ffc26e;box-shadow:0 8px 26px #72361125}
body[data-page=super] .brand-mark{border-color:#ffd294;color:#ffe4bd}
body[data-page=super] .brand small{color:#ffe7d5}
body[data-page=super] .hero{background:linear-gradient(115deg,#8b350b,#df620e 65%,#ff9d38);box-shadow:0 18px 40px #b64c1a35}
body[data-page=super] .eyebrow{color:#ffe4a6}
body[data-page=super] .hero p{color:#fff0e3}
body[data-page=super] section{border-color:#f3e2d4;box-shadow:0 14px 40px #8c461510,0 2px 8px #8c461508}
body[data-page=super] h2{color:#653016}
body[data-page=super] input,body[data-page=super] select,body[data-page=super] textarea{background:#fffbf7;border-color:#ead7ca}
body[data-page=super] input:focus,body[data-page=super] select:focus,body[data-page=super] textarea:focus{border-color:#e17428;box-shadow:0 0 0 4px #e1742824}
body[data-page=super] button:not(.secondary){background:linear-gradient(120deg,#c74d08,#ef7b22)}
body[data-page=super] button.secondary{background:#fff1e4;color:#98400e}
body[data-page=super] .actions{border-color:#f3e5d9}
body[data-page=super] .actions button[aria-current=page]{background:linear-gradient(120deg,#c74d08,#ef7b22);color:#fff;box-shadow:0 5px 14px #c75a222b}
body[data-page=super] .super{border-top-color:#eb791f}
body[data-page=super] .settings-description,body[data-page=super] .settings-safety p{color:#856e60}
body[data-page=super] .settings-form label,body[data-page=super] .settings-safety strong{color:#633d28}
body[data-page=super] .settings-form button{box-shadow:0 7px 18px #d65c2232}
body[data-page=super] .settings-safety{background:#fff9f4;border-color:#f2e0d2}
body[data-page=super] .settings-safety button.secondary{background:#fff;color:#a14913;border-color:#efd0ba}
body[data-page=super] th{background:#fff1e4;color:#81421f}
body[data-page=super] tbody tr:nth-child(even){background:#fffbf7}
body[data-page=super] tbody tr:hover{background:#fff2e6}
body[data-page=super] :focus-visible{outline-color:#e57928}

body[data-page=super]{background:radial-gradient(circle at 88% 4%,#ffe096 0,transparent 32%),linear-gradient(145deg,#fff9ed,#ffefd9 60%,#fff8eb)}
body[data-page=super] header{background:linear-gradient(110deg,#a63800,#e85b00 58%,#ff8a00);border-color:#ffd65b}
body[data-page=super] .hero{background:linear-gradient(110deg,#d94800,#ff7900 58%,#ffb12e);box-shadow:0 18px 40px #e05a0038}
body[data-page=super] button:not(.secondary),body[data-page=super] .actions button[aria-current=page]{background:linear-gradient(120deg,#e45100,#ff8b00)}
body[data-page=super] button.secondary{background:#ffead1;color:#a33e00}
body[data-page=super] .super{border-top-color:#ff8000}
.banner-upload{grid-column:1/-1;background:#fff8ed;border:1px dashed #f2a55d;border-radius:14px;padding:18px}
.banner-upload strong{color:#71360f}.banner-hint{margin:4px 0 10px;color:#80614d;font-size:14px}
.banner-upload input[type=file]{background:white;margin:0;max-width:100%}
.banner-preview,.public-banner{display:block;width:100%;aspect-ratio:3/1;object-fit:cover;border-radius:14px}
.banner-preview{margin-top:14px;max-height:260px}.public-banner{margin:0 0 24px;box-shadow:0 12px 30px #40270d22}
.dashboard-account{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}
.dashboard-user{font-weight:700;color:#633d28;margin-right:6px}
.dashboard-switch{text-decoration:none;font-size:14px;font-weight:650;padding:9px 13px;border-radius:10px}
.dashboard-switch:hover{background:#fff1e4}
.dashboard-account button{font-size:14px;min-height:40px;padding:8px 14px}
.dashboard-toolbar .actions{margin-bottom:0}
@media(max-width:650px){.dashboard-account{gap:8px}.dashboard-user{width:100%;text-align:right}.dashboard-switch{padding:7px 9px}}
.admission-summary{font-weight:700;color:#71360f}.admission-help{font-size:14px;color:#76685e;margin:5px 0 14px}
.admission-block{margin-top:18px;padding:22px;border:1px solid #f2dfcd;border-radius:16px;background:#fffcf8}
.admission-block h3{margin:0 0 6px;color:#77380f}.admission-block h4{margin:22px 0 8px;color:#71360f}
.admission-block label{max-width:560px}.admission-block>button{margin:4px 0 10px}
.admission-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #f0e5dc}
.admission-row>div:first-child,.admission-row>.plan-name{flex:1;min-width:220px}.admission-row>strong:first-child{flex:1;min-width:180px}
.admission-row .admission-help{margin:0}.admission-row button{min-height:40px;font-size:14px;padding:8px 14px}
.admission-badge{border-radius:99px;font-size:13px;font-weight:700;padding:4px 12px;white-space:nowrap}.admission-badge.is-open{background:#dff5e8;color:#146a3c}.admission-badge.is-closed{background:#f0ece9;color:#685a52}
.admission-message{padding:13px 16px;border-radius:12px;margin:14px 0;background:#fff3d7;color:#754800}.admission-message.success{background:#e4f7ea;color:#17663d}.admission-message.error{background:#fff0f0;color:#991b1b}
@media(max-width:650px){.admission-block{padding:16px}.admission-row>div:first-child,.admission-row>.plan-name{min-width:100%}.admission-row>strong:first-child{min-width:120px}}
.round-current{font-size:13px;font-weight:700;color:#a34608;background:#fff0dc;border-radius:99px;padding:6px 12px;white-space:nowrap}
.round-row button{min-width:110px}
.logo-upload{grid-column:1/-1;background:#fff8ed;border:1px dashed #f2a55d;border-radius:14px;padding:18px}
.logo-upload strong{color:#71360f}.logo-upload input[type=file]{background:#fff;max-width:100%}
.logo-preview{display:block;width:100px;height:100px;object-fit:contain;margin-top:14px;padding:8px;border-radius:14px;background:linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%),linear-gradient(45deg,#eee 25%,#fff 25%,#fff 75%,#eee 75%);background-size:16px 16px;background-position:0 0,8px 8px}
.brand-mark.has-logo{border:0;background:transparent;width:56px;height:56px}.brand-mark img{width:100%;height:100%;object-fit:contain}
.plan-add-form,.plan-edit-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid #f2dfcd;border-radius:12px;background:#fff}
.plan-add-form{margin:16px 0}.plan-add-form h4{width:100%;margin:0}.plan-add-form label,.plan-edit-form label{flex:1;min-width:150px}.plan-add-form input,.plan-add-form select,.plan-edit-form input{margin-bottom:0}.plan-add-form button,.plan-edit-form button{min-height:44px}
.plan-edit-form{flex-basis:100%}.plan-row button{white-space:nowrap}
.sequence-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,3fr);gap:16px;align-items:center;padding:16px 0;border-top:1px solid #f0e5dc}
.sequence-row>strong{color:#71360f}.sequence-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.sequence-form label{width:150px}.sequence-form input{margin-bottom:0}.sequence-example,.sequence-locked{font-size:14px;color:#76685e;align-self:center}.sequence-locked{color:#98400e}.sequence-feedback{font-size:14px;font-weight:650;align-self:center;border-radius:8px;padding:4px 8px}.sequence-feedback:empty{display:none}
@media(max-width:650px){.sequence-row{grid-template-columns:1fr;gap:5px}}
/* Public admission landing page */
body[data-page=student]{background:#f3f6fa;color:#23324c}
body[data-page=student] main{max-width:1100px}
.home-intro{text-align:center;background:#fff;border:1px solid #e8edf3;border-radius:20px;padding:30px 24px;margin-bottom:18px;box-shadow:0 8px 26px #2539580c}
.home-logo,.home-logo-placeholder{width:92px;height:92px;object-fit:contain;margin:0 auto 14px}
.home-logo-placeholder{display:grid;place-items:center;border-radius:50%;background:#fff1df;color:#d75b00;font-weight:800;font-size:23px}
.home-intro h1{color:#0966d5;font-size:clamp(21px,3vw,28px);margin:0 0 6px}.home-school{font-size:19px;font-weight:750;margin:0;color:#23324c}.home-year{margin:4px 0;color:#db550b;font-weight:700}.home-instruction{color:#7c3aed;margin:10px auto 0;max-width:800px;white-space:pre-line}
.home-lookup{background:#edf5ff;border:1px solid #b7d7ff;display:flex;gap:8px 22px;align-items:center;flex-wrap:wrap;padding:20px 24px}
.home-lookup h2{color:#0867d7;margin:0;font-size:19px;flex-basis:100%}.home-lookup p{margin:0;flex:1;min-width:200px;color:#526a88}.home-lookup-link{background:#096be8;color:white;text-decoration:none;border-radius:10px;font-weight:700;padding:11px 18px;box-shadow:0 5px 14px #086ad52e}.home-lookup-link:hover{background:#0057c7}
.home-round{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#e7efff;color:#24528c;border-radius:12px;padding:13px 18px;margin:16px 0;font-size:14px}.home-round span{font-weight:700}.home-round.is-closed{background:#fff0e8;color:#a44213}
.home-grades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 24px}.home-grade{text-align:left;position:relative;padding:22px 24px;border-radius:16px;box-shadow:0 10px 22px #214d8b20;min-height:120px}.home-grade.grade-1{background:linear-gradient(110deg,#0862e4,#10a5ed)}.home-grade.grade-4{background:linear-gradient(110deg,#da354c,#ff6571)}.home-grade strong{display:block;font-size:28px;line-height:1.2}.home-grade span{display:block;margin-top:5px}.home-grade small{display:inline-block;background:#ffffff35;border-radius:99px;padding:3px 10px;margin-top:10px}.home-grade:disabled{opacity:.65;cursor:not-allowed}
.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:transparent;border:0;padding:0;box-shadow:none}.home-stat{border-radius:14px;padding:18px;color:#fff;min-height:95px;box-shadow:0 8px 18px #263f6512}.home-stat.blue{background:linear-gradient(120deg,#00a9d9,#0bc2df)}.home-stat.green{background:linear-gradient(120deg,#00a462,#0dc878)}.home-stat.orange{background:linear-gradient(120deg,#f79409,#ffb52d)}.home-stat strong{display:block;font-size:clamp(20px,3vw,28px);line-height:1.3}.home-stat span{font-size:14px;font-weight:650}.home-stats .muted{grid-column:1/-1}
@media(max-width:650px){.home-intro{padding:22px 16px}.home-grades{grid-template-columns:1fr;gap:10px}.home-grade{min-height:105px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-stat{padding:14px}.home-lookup-link{width:100%;text-align:center}}
.home-intro .home-line{margin:0;line-height:1.32;font-weight:750;white-space:pre-wrap}
.home-intro .home-line-1{font-size:clamp(19px,2.4vw,25px);color:#086cf3}
.home-intro .home-line-2{font-size:clamp(18px,2vw,22px);color:#202631}
.home-intro .home-line-3{font-size:clamp(15px,1.7vw,18px);color:#eb3048}
.home-intro .home-line-4{font-size:clamp(15px,1.7vw,18px);color:#7c3aed}
.home-text-form label{margin-bottom:12px}.home-text-form input{background:#fff!important}.home-text-form .home-text-input-1{color:#086cf3}.home-text-form .home-text-input-2{color:#202631}.home-text-form .home-text-input-3{color:#c41f35}.home-text-form .home-text-input-4{color:#7c3aed}.home-text-form .settings-feedback{margin:12px 0}.home-text-link{display:inline-block;margin-top:16px;font-weight:650}
.public-applicants h2{color:#c52e24}.public-list-controls,.public-list-footer{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap}.public-list-controls label:first-child{width:140px}.public-list-controls label:last-child{width:min(100%,300px)}.public-list-footer{align-items:center;color:#65758a;font-size:14px}.public-list-footer .actions{margin:10px 0 0}.public-applicants table{min-width:850px}.public-applicants th{white-space:nowrap}.public-applicants td{vertical-align:top}.home-schedule{text-align:center}.home-schedule h2{text-align:left}.home-schedule img,.schedule-preview{display:block;max-width:100%;height:auto;margin:12px auto 0;border-radius:10px}.schedule-preview{max-height:280px;object-fit:contain}
.identity-form,.identity-verify{display:flex;align-items:end;gap:12px;flex-wrap:wrap;width:100%}.identity-form label,.identity-verify label{flex:1;min-width:220px}.identity-form input,.identity-verify input{margin-bottom:0;background:#fff}.identity-form button,.identity-verify button{background:linear-gradient(120deg,#086be8,#0989ed);min-width:150px}.identity-result{width:100%}.identity-info{font-weight:650;color:#224e80}.identity-options{display:flex;gap:10px;flex-wrap:wrap}.identity-options button:first-child{background:linear-gradient(110deg,#0862e4,#10a5ed)}.identity-options button:last-child{background:linear-gradient(110deg,#da354c,#ff6571)}
@media(max-width:650px){.identity-form button,.identity-verify button{width:100%}}
.application-round{margin:-12px 0 18px;color:#db2938;font-size:19px;font-weight:750}
.application-choice{display:grid;grid-template-columns:1fr;gap:12px;margin:20px 0}
.application-choice label{font-size:16px;color:#173b78}.application-choice select{background:#fff0dc;color:#1556aa;border-color:#f4bc7c;font-weight:700;width:100%;min-height:52px}.application-choice input{max-width:100%;min-height:50px}
.guardian-fields legend{color:#c83226}.guardian-row{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:16px}.guardian-choice{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#f4f7fb;border:1px solid #dfe5ef;border-radius:10px;padding:12px 14px;margin:10px 0 16px}.guardian-choice strong{color:#0966d5}.guardian-choice label{display:flex;align-items:center;gap:5px;font-weight:500}.guardian-choice input{display:inline;width:auto;min-height:0;margin:0;accent-color:#0874ef}.guardian-fields input[readonly]{background:#f1f3f7;color:#4a5565}
@media(max-width:650px){.guardian-row{grid-template-columns:1fr;gap:0}.guardian-choice{gap:10px}}
body.application-active .home-grades,body.application-active .home-stats{display:none}
.birth-date-field{grid-column:1/-1;min-width:0}.birth-date-title{display:block;font-size:14px;font-weight:650;margin-bottom:5px}
.birth-date-controls{display:grid;grid-template-columns:minmax(75px,1fr) minmax(125px,2fr) minmax(95px,1fr);gap:10px;max-width:620px}.birth-date-controls label{font-size:13px;color:#59657b}.birth-date-controls select{margin-bottom:0}
.address-search-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.address-search-row label{width:300px;max-width:100%}.address-search-row button{margin-bottom:10px}.address-hint{font-size:14px;color:#65758a;margin:0 0 14px}.address-location-grid{margin-bottom:12px}
.guardian-row.guardian-with-prefix{grid-template-columns:minmax(145px,.7fr) minmax(200px,1.4fr) minmax(150px,1fr) minmax(140px,.8fr)}
.identity-verify .birth-date-field{flex:1;min-width:280px}
.applicant-actions{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.applicant-actions button{background:#fff;color:#1261be;border:1px solid #b4d3f4}.applicant-actions button[aria-pressed=true]{background:#096be8;color:#fff;border-color:#096be8}
.application-pdf-preview{display:block;width:100%;height:800px;border:1px solid #d7e1ee;border-radius:12px;background:#fff;margin-top:14px}
@media(max-width:850px){.guardian-row.guardian-with-prefix{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.guardian-row.guardian-with-prefix{grid-template-columns:1fr}.birth-date-controls{gap:6px;grid-template-columns:75px minmax(100px,1fr) 95px}.address-search-row button{width:100%}}
.program-confirm{width:min(90vw,520px);border:2px solid #2563eb;border-radius:16px;padding:26px;background:#eff6ff;color:#1e3a8a;box-shadow:0 18px 55px #0f172a44}.program-confirm::backdrop{background:#0f234a99}.program-confirm h2{color:#1d4ed8;margin:0 0 12px}.program-confirm p{font-size:18px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.program-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.program-confirm-actions button:not(.secondary){background:#2563eb;color:#fff}.program-confirm-actions button:not(.secondary):hover{background:#1d4ed8}.program-confirm-actions .secondary{background:#dbeafe;color:#1e40af;border-color:#93c5fd}.program-confirm-actions .secondary:hover{background:#bfdbfe}
.home-lookup-link{display:inline-flex;align-items:center;justify-content:center;margin:8px 0;min-height:44px;line-height:1.5}
/* Shared fresh green theme across public and staff pages. */
body,body[data-page=student],body[data-page=super]{--accent:#137a50;--ink:#193d32;--muted:#60756b;--line:#dbece3;--shadow:0 12px 36px #124c300b;background:radial-gradient(ellipse at top right,#def6e8 0,transparent 42%),#f5faf7;color:var(--ink)}
header,body[data-page=super] header{background:linear-gradient(115deg,#075c40,#11945c 65%,#23ae70);border-bottom-color:#a3e5b8;box-shadow:0 5px 22px #075c4015}
.brand small,body[data-page=super] .brand small{color:#defbea}.brand-mark,body[data-page=super] .brand-mark{border-color:#a4ebbe;color:#e9fff1}
.hero,body[data-page=super] .hero{background:linear-gradient(115deg,#086746,#15975d 65%,#35b97c);box-shadow:0 18px 40px #16734620}.hero p,body[data-page=super] .hero p{color:#e7fff0}.eyebrow,body[data-page=super] .eyebrow{color:#d4ffd8}
body[data-page=super] section{border-color:#dbece3;box-shadow:var(--shadow)}body[data-page=super] h2{color:#164f3b}
body[data-page=super] input,body[data-page=super] select,body[data-page=super] textarea{background:#fbfefc;border-color:#bfd8cb}
body[data-page=super] input:focus,body[data-page=super] select:focus,body[data-page=super] textarea:focus{border-color:#169b64;box-shadow:0 0 0 4px #169b6424}
body[data-page=super] button:not(.secondary),body[data-page=super] .actions button[aria-current=page]{background:linear-gradient(120deg,#137a50,#16a367);box-shadow:0 5px 14px #137a5020}
body[data-page=super] button.secondary{background:#e5f6ed;color:#166244}body[data-page=super] .actions{border-color:#dbece3}body[data-page=super] .super{border-top-color:#1ba66a}
body[data-page=super] .settings-description,body[data-page=super] .settings-safety p,.settings-description{color:#60756b}body[data-page=super] .settings-form label,body[data-page=super] .settings-safety strong,.settings-form label,.dashboard-user{color:#275d46}
body[data-page=super] .settings-safety,.settings-safety{background:#f3fbf6;border-color:#dbece3}body[data-page=super] .settings-safety button.secondary{background:#fff;color:#166244;border-color:#bfd8cb}
body[data-page=super] th{background:#e5f6ed;color:#275d46}body[data-page=super] tbody tr:nth-child(even){background:#f7fcf9}body[data-page=super] tbody tr:hover{background:#edf9f2}body[data-page=super] :focus-visible{outline-color:#20a66c}
.banner-upload,.logo-upload{background:#f1fbf5;border-color:#8ccfa9}.banner-upload strong,.logo-upload strong,.admission-summary,.admission-block h3,.admission-block h4,.sequence-row>strong{color:#206345}.banner-hint,.admission-help,.sequence-example,.sequence-locked{color:#60756b}
.admission-block{background:#fbfefc;border-color:#dbece3}.admission-row,.sequence-row{border-color:#dbece3}.round-current{color:#166244;background:#e5f6ed}.plan-add-form,.plan-edit-form{border-color:#dbece3}.dashboard-switch:hover{background:#e5f6ed}

button.danger-button{background:#b91c1c;color:#fff}button.danger-button:hover{background:#991b1b}

.citizen-feedback{display:block;font-size:14px;font-weight:500;margin-top:6px}.citizen-feedback:empty{display:none}.citizen-feedback.is-invalid{color:#b91c1c}.citizen-feedback.is-valid{color:#16744f}input.citizen-invalid{border-color:#b91c1c!important;box-shadow:0 0 0 2px #b91c1c22!important}
