.school-cards,.school-photos,.school-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}
.school-dept{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #e1e2db;border-radius:16px;padding:22px;text-align:left;font:inherit;cursor:pointer}.school-dept:hover,.school-dept:focus-visible{border-color:#ca9d00;background:#fffbed}.school-dept span{color:#805f00}
.school-filters,.school-actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:12px}.school-field{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:0;max-width:100%}.school-field :is(select,input,textarea){min-width:0;width:100%;max-width:100%;font:inherit;padding:9px;border-radius:9px;border:1px solid #c9ccd1;background:white}.modal-body .school-field{margin:12px 0}.school-item{padding:16px 0;border-top:1px solid #eaeaea;overflow-wrap:anywhere}.school-item h3,.school-item p{margin:7px 0}.school-item small,.school-photos small,.school-numbers small{display:block;color:#646970}.school-comment{white-space:pre-line}.school-meta,.school-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:5px 0}.school-empty{color:#646970;padding:20px 0}.school-numbers{padding:16px 0}.school-numbers strong{display:block;font-size:26px}.school-photos img{display:block;width:100%;height:130px;object-fit:cover;border-radius:10px;margin:6px 0}.school-photos article{min-width:0;overflow-wrap:anywhere}.school-item .school-filters{margin:8px 0 0}.panel details summary{cursor:pointer;padding:11px 0}
@media(max-width:600px){.school-filters>.school-field{flex:1 1 130px}.school-dept{min-height:65px}.school-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.school-photos img{height:100px}}

.swap-tabs{display:flex;flex-wrap:wrap;gap:4px;width:fit-content;max-width:100%;margin:0 0 14px;padding:4px;border:1px solid #e5e7df;border-radius:12px;background:#f4f5ef}
.swap-tabs button{border:0;border-radius:8px;padding:8px 13px;background:transparent;color:#555c51;font:inherit;font-size:14px;cursor:pointer}
.swap-tabs button[aria-pressed=true]{background:#ffca0b;color:#171a13;font-weight:650}
.swap-tabs button:focus-visible{outline:2px solid #6e5700;outline-offset:1px}
@media(max-width:520px){.swap-tabs{width:100%;box-sizing:border-box}.swap-tabs button{flex:1 1 auto;padding:8px 5px;font-size:13px}}

.push-settings{max-width:920px}
.push-settings h2{margin:0 0 12px}
.push-rule{padding:12px 0;border-top:1px solid #e4e5df}
.push-rule-head{display:flex;gap:20px;align-items:center;justify-content:space-between}
.push-rule-editor,.push-switch{border:0;background:transparent;font:inherit;color:inherit;cursor:pointer}
.push-rule-editor{flex:1;min-width:0;display:flex;align-items:center;gap:14px;justify-content:space-between;padding:6px 2px;text-align:left}
.push-rule-editor strong,.push-rule-editor small{display:block;overflow-wrap:anywhere}
.push-rule-editor small{margin-top:4px;color:#646970;font-size:13px}
.push-rule-arrow{width:8px;height:8px;flex:none;border-right:2px solid #626960;border-bottom:2px solid #626960;transform:rotate(45deg)}
.push-rule-editor[aria-expanded=true] .push-rule-arrow{transform:rotate(225deg)}
.push-switch{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-width:110px;min-height:44px;font-size:13px}
.push-switch-track{box-sizing:border-box;display:inline-flex;align-items:center;width:38px;height:22px;padding:3px;border-radius:20px;background:#b9bdb6}
.push-switch-track::before{content:'';width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}
.push-switch[aria-checked=true] .push-switch-track{background:#ffca0b}
.push-switch[aria-checked=true] .push-switch-track::before{transform:translateX(16px);background:#23251f}
.push-rule-form:not([hidden]){display:grid;gap:12px;max-width:640px;padding:12px 2px 6px}
.push-rule-form button{justify-self:start}
.push-rule .error:empty{display:none}
.push-rule button:focus-visible{outline:2px solid #7e6509;outline-offset:3px}
@media(max-width:600px){.push-rule-head{gap:12px}.push-switch{min-width:44px;justify-content:center}.push-switch-state{display:none}.push-rule-editor .push-rule-arrow{margin-right:4px}.push-rule-form :is(input,textarea){font-size:16px}}

.school-dept.school-dept-locked{cursor:default;opacity:1;box-shadow:none;filter:none}
.school-dept.school-dept-finance{background:#f1ead9;border-color:#ddd1b6;color:#443a28}
.school-dept.school-dept-finance .dept-art{background:#fffaf0;color:#8c702f}
.school-dept.school-dept-oracle{background:#1a1a1a;border-color:#35362f;color:#f5f3e9}
.school-dept.school-dept-oracle .dept-art{background:#ffffff12;color:#ffca0b}
.school-dept .dept-unavailable{position:absolute;top:22px;right:20px;max-width:calc(100% - 108px);font-size:11px;line-height:1.4;font-weight:500;letter-spacing:0;color:#786e5b;text-align:right}
.school-dept.school-dept-oracle .dept-unavailable{color:#bbb9aa}
@media(max-width:650px){.school-dept .dept-unavailable{top:20px;right:18px;max-width:calc(100% - 88px)}}
