/* V82 public illustrations and Super Admin requested UI corrections. */
.town-illustration{margin:1.25rem 0 1.5rem;padding:1rem 1.1rem;background:linear-gradient(145deg,#f4fbfb,#fffaf0);border:1px solid #dbe9e3;border-radius:18px;box-shadow:0 8px 22px #173d2510}
.town-illustration img{display:block;width:100%;max-height:390px;object-fit:contain;margin:auto}
.town-illustration figcaption{margin:.65rem 0 0;text-align:center;font-size:.76rem;line-height:1.8;color:#527267;font-weight:600}
.town-school-illustration{margin-top:1.2rem;background:linear-gradient(145deg,#f1f7ff,#fff8ed);border-color:#dce5ef}
.town-school-illustration img{max-height:330px}
.hero-img img[src$=".svg"]{object-fit:contain;background:linear-gradient(145deg,#f2f8ed,#fff7e8);padding:.35rem}
.school-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.4rem 0}
.school-count-card{min-width:0;text-align:center;padding:1.2rem 1rem;background:#fff;border:1px solid #e6dccb;border-radius:15px;box-shadow:0 6px 18px #49213a0b}
.school-count-icon{display:block;font-size:1.8rem;line-height:1.3}
.school-count-card>strong{display:block;margin:.25rem 0;color:#78203f;font:800 clamp(2rem,4vw,2.65rem)/1.2 var(--tvk-font-stack)}
.school-count-card h3{margin:.4rem auto .25rem;color:#52263a;font-size:.9rem;line-height:1.8;max-width:19rem}
.school-count-card p{margin:0;color:#88717a;font-size:.72rem}
/* The three leaders belong to the sign-in page only. */
body.console-authenticated .admin-login-leader-strip{display:none!important}
@media(min-width:761px){
 .elite-portal.console-shell:not(.console-authenticated) .admin-section>.wrap{position:relative;grid-template-rows:32px 92px minmax(0,1fr)}
 .elite-portal.console-shell:not(.console-authenticated) .admin-login-leader-strip{grid-column:1;grid-row:2;align-self:center;margin:0 0 0 18px}
 .elite-portal.console-shell:not(.console-authenticated) .elite-scene{grid-row:3!important}
 .elite-portal.console-shell:not(.console-authenticated) .admin-login{grid-row:3!important}
}
/* Signed-in user's name, responsibility and permitted scope remain visible at top-right. */
.elite-portal.console-shell .console-personal-context{grid-template-columns:minmax(0,1fr) auto minmax(280px,390px)}
.elite-portal .console-personal-context #adminIdentity{width:100%;max-width:390px;min-width:0;min-height:92px;box-sizing:border-box;padding:.55rem .7rem;background:#ffffff0d;border:1px solid #e6c16d55;border-radius:13px;box-shadow:inset 0 1px #ffffff12}
.elite-portal .console-personal-context .console-user-identity{gap:.75rem}
.elite-portal .console-personal-context .console-user-avatar{width:70px;height:86px;border-radius:12px;background:#fff9ed;border-color:#f2ce8499}
.elite-portal .console-personal-context .console-user-caption{flex:1;min-width:0}
.elite-portal .console-personal-context .console-user-caption b{font-size:.95rem;line-height:1.55;color:#ffdf96}
.elite-portal .console-personal-context .console-user-caption small{font-size:.68rem;line-height:1.65;color:#f5e1e4;overflow-wrap:anywhere}
.elite-portal .console-personal-context .console-party-duties{display:block;max-width:100%;font-size:.65rem!important;line-height:1.65!important;overflow-wrap:anywhere}
.live-staff-dialog [data-staff-member-choice]{width:100%;min-height:44px;border:1px solid #decdb6;border-radius:8px;background:#fff;padding:.55rem .65rem;font:inherit;color:#4c253a}
.live-staff-dialog .staff-member-load-error{padding:.65rem .8rem;margin:0;border-left:3px solid #b33b45;background:#fff2f1;color:#8d2531;font-size:.72rem;line-height:1.8}
.live-staff-dialog [data-staff-form-error]{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){
 .school-count-grid{grid-template-columns:1fr;gap:.65rem}
 .school-count-card{display:grid;grid-template-columns:48px 72px minmax(0,1fr);align-items:center;text-align:left;gap:.25rem .6rem;padding:.8rem}
 .school-count-icon{grid-row:1/3;font-size:1.55rem}
 .school-count-card>strong{grid-column:2;grid-row:1/3;margin:0;font-size:1.8rem}
 .school-count-card h3{grid-column:3;grid-row:1;margin:0;max-width:none;font-size:.82rem}
 .school-count-card p{grid-column:3;grid-row:2}
 .town-illustration{padding:.55rem;border-radius:13px}
 .town-illustration img{max-height:290px}
 .elite-portal.console-shell .console-personal-context{grid-template-columns:minmax(0,1fr)}
 .elite-portal .console-personal-context #adminIdentity{width:100%;max-width:100%;min-height:0;padding:.6rem;background:#ffffff0d}
 .elite-portal .console-personal-context .console-user-avatar{width:62px;height:76px}
}
