*{box-sizing:border-box}body{font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif;margin:0;color:#1b1f23;background:#fff}
header{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center;padding:.8rem 1rem;background:#0b3d5c;color:#fff}header a{color:#fff;text-decoration:none}.logo{font-weight:700;font-size:1.1rem}nav a{margin-right:1rem;font-size:.95rem;text-decoration:underline}
main{max-width:62rem;margin:0 auto;padding:1rem}h1{font-size:1.6rem;line-height:1.25;margin:.5rem 0}h2{font-size:1.2rem;margin-top:1.6rem}a{color:#0a58a8}
.lead{font-size:1.05rem}.note{background:#fff7e0;border-left:4px solid #e0a800;padding:.6rem .8rem;margin:1rem 0}.small{font-size:.88rem;color:#444}.crumb{font-size:.9rem;color:#555}
.controls{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin:1rem 0}.controls label{display:flex;flex-direction:column;font-size:.85rem;gap:.2rem}.controls .chk{flex-direction:row;align-items:center;gap:.4rem;align-self:flex-end}
input[type=search],select{font:inherit;padding:.4rem;border:1px solid #888;border-radius:4px;min-width:11rem}
.tw{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:.45rem .6rem;border-bottom:1px solid #ddd;vertical-align:top}thead th{background:#eef3f7;position:sticky;top:0}
.num{text-align:right;white-space:nowrap}th.sortable{cursor:pointer;user-select:none}th.sortable:after{content:" \2195";color:#888;font-size:.8em}th[aria-sort=ascending]:after{content:" \25B2";color:#000}th[aria-sort=descending]:after{content:" \25BC";color:#000}
.na{color:#888}.kv th{width:12rem;background:#f6f8fa;font-weight:600}abbr{cursor:help;color:#a15c00;text-decoration:none;font-size:.8em}
.form{max-width:36rem}.form label{display:block;font-weight:600;margin-bottom:.25rem}.form p{margin:0 0 1rem}.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=url],.form select,.form textarea{width:100%;font:inherit;padding:.45rem .5rem;border:1px solid #888;border-radius:4px}
.form textarea{resize:vertical}.form button{font:inherit;background:#0b3d5c;color:#fff;border:0;border-radius:4px;padding:.5rem 1rem;cursor:pointer}.form button:hover{background:#082c42}
.req{color:#8a1f11;font-weight:500;font-size:.85rem}.opt,.hint{display:block;font-weight:400;color:#555;font-size:.85rem;margin-top:.2rem}
.chkline label{font-weight:400;display:flex;gap:.5rem;align-items:flex-start}.chkline input{margin-top:.3rem}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.err{background:#fdeeee;border-left:4px solid #b42318;padding:.6rem .8rem;margin:1rem 0}
.admin .sub{border:1px solid #ddd;padding:.8rem;margin:0 0 1rem;background:#fafafa}.admin .meta{font-size:.85rem;color:#444}.admin .actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.admin .actions button{font:inherit;padding:.3rem .6rem;border:1px solid #888;background:#fff;border-radius:4px;cursor:pointer}
.admin .st-new{color:#8a5a00}.admin .st-applied{color:#0b6b2c}.admin .st-rejected{color:#8a1f11}
.form fieldset{border:1px solid #ccc;border-radius:4px;padding:.8rem 1rem 0;margin:0 0 1rem}
.form legend{font-weight:700;padding:0 .3rem}
.changed{background:#fff6d8}
.changed th{background:#f5e7a8}
.old{color:#6b4a00;display:block}
.new{font-weight:600;display:block}
.badge{display:inline-block;background:#0b3d5c;color:#fff;font-size:.75rem;padding:.1rem .45rem;border-radius:3px;margin-right:.35rem;vertical-align:middle}
.badge-new{background:#6b2f8a}
.badge-contact{background:#0a58a8}
footer{max-width:62rem;margin:2rem auto 1rem;padding:1rem;border-top:1px solid #ddd;font-size:.85rem;color:#444}
footer a{color:#0a58a8}
.map{height:26rem;margin:1rem 0;border:1px solid #c5d0d8;background:#eef3f7;z-index:0}
.map.school-map{height:16rem}
.map-full{height:calc(100vh - 14rem);height:calc(100svh - 14rem);min-height:22rem;margin:.75rem 0}
body.map-page{display:flex;flex-direction:column;min-height:100vh}
body.map-page main{flex:1;display:flex;flex-direction:column;max-width:72rem;width:100%}
body.map-page .map-full{flex:1 1 auto;width:100%}
body.map-page footer{margin-top:1rem}
.leaflet-container{font:inherit;z-index:0}
.leaflet-popup-content{margin:.6rem .8rem;font-size:.9rem}
.map-approx{font-size:.85rem;color:#555}
.approx-box{margin:0 0 1rem}.approx-box ul{margin:.3rem 0 0;padding-left:1.2rem}
@media(max-width:600px){.kv th{width:auto;display:block}.kv td{display:block}.map:not(.map-full){height:20rem}body.map-page .map-full,.map-full{min-height:calc(100vh - 17rem);height:calc(100vh - 17rem);height:calc(100svh - 17rem)}}