@charset "UTF-8";
:root{--ink:#232956;--muted:#68718c;--green:#37417F;--lime:#f0c5ca;--paper:#f5f6fb;--line:#dfe2ee;--white:#fff;--red:#a92835}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,sans-serif;background:var(--paper);color:var(--ink)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #C42225;outline-offset:3px}.brand{font-size:28px;letter-spacing:-1px;font-weight:800;color:inherit;text-decoration:none;white-space:nowrap}.brand span{font-weight:350;color:#c8ccec}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px}.muted,small{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.15;letter-spacing:-1.4px;margin-bottom:10px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:16px;margin-bottom:8px}.primary,.secondary,.danger{border:0;border-radius:7px;padding:11px 17px;font-weight:650;font-size:13px;display:inline-block;text-decoration:none}.primary{background:var(--green);color:white}.secondary{background:#e9ebf7;color:var(--ink)}.danger{color:var(--red);background:#fff0f1}.error{color:var(--red);font-size:13px;margin:14px 0 0;white-space:pre-wrap}.auth{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.auth-story{padding:50px 9%;background:var(--ink);color:#f5f6ff;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story h1{font-size:clamp(36px,3.8vw,60px);line-height:1.12}.auth-story p{max-width:430px;color:#ccd0eb}.auth-story .eyebrow{color:var(--lime);margin-bottom:24px}.auth-story small{color:#b2b9d9}.auth-points{display:grid;gap:10px;margin-top:40px;color:#e0e3f5;font-size:13px}.auth-panel{display:grid;place-items:center;padding:40px}.auth-inner{max-width:370px;width:100%}.auth-inner h2{font-size:32px;margin-bottom:8px}.auth-inner .primary{width:100%;margin-top:15px}.offline-entry{border-top:1px solid var(--line);margin-top:34px;padding-top:24px;font-size:13px;color:var(--muted)}label{display:block;font-size:12px;font-weight:650;margin:16px 0 7px}input,select,textarea{border:1px solid #bbc1d7;border-radius:6px;padding:10px 12px;color:var(--ink);background:white;max-width:100%}label input,label select,label textarea{display:block;width:100%;margin-top:6px}textarea{min-height:100px;resize:vertical}.workspace{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}aside{background:var(--ink);color:#e5e7f6;position:sticky;top:0;height:100vh;padding:30px 20px;display:flex;flex-direction:column}.school-card{border-top:1px solid #4e557f;border-bottom:1px solid #4e557f;padding:20px 0;margin:26px 0}.school-card small{font-size:9px;letter-spacing:1.3px;color:#bfc5e2}.school-card select{background:transparent;color:white;border:0;width:100%;padding:8px 0;font-weight:650;white-space:normal}.school-card option{color:var(--ink)}#role-label{color:#c6cae7;font-size:11px;text-transform:capitalize}nav{display:grid;gap:4px}nav button{border:0;background:transparent;color:#cdd1e8;text-align:left;border-radius:6px;padding:12px 10px;display:flex;gap:13px;align-items:center;font-size:17px}nav button span{font-size:13px;flex:1}nav button.active{background:#414985;color:white}nav b{font-size:10px;background:var(--lime);color:var(--ink);border-radius:20px;padding:1px 6px}.aside-foot{margin-top:auto;padding-top:28px}.network{font-size:11px;display:flex;gap:8px;align-items:center}.network i{width:7px;height:7px;border-radius:50%;background:#cc9834}.network i.online{background:#b1dc72}.aside-foot small{display:block;font-size:10px;color:#b6bddb;margin:6px 0 20px}.aside-foot button{font-size:12px;color:#dce0f4;border:1px solid #7880aa;background:none;border-radius:5px;padding:7px 12px}main{padding:28px 40px;min-width:0}header{display:flex;align-items:center;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid var(--line);gap:20px}header .eyebrow{color:var(--muted);display:block;margin-bottom:7px}.header-user{display:flex;gap:15px;align-items:center;font-size:12px}.pill{border-radius:20px;padding:4px 10px;background:#e9ebf8;color:#37417F;font-size:10px;white-space:nowrap}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:34px 0 26px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stat,.card{border:1px solid var(--line);background:white;border-radius:10px;padding:24px}.stat .label{color:var(--muted);font-size:12px}.stat strong{font-size:38px;display:block;font-weight:650;line-height:1.5}.stat small{font-size:11px}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.card h2{font-size:18px}.card p{font-size:13px;color:var(--muted)}.workflow{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:18px 0}.workflow:last-child{padding-bottom:0}.workflow small{display:block;font-size:11px;margin-top:3px}.workflow button{align-self:center}.table-wrap{border:1px solid var(--line);border-radius:9px;overflow:auto;background:white}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th,td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);background:#eef0f8}td small{display:block;font-size:10px}tr:last-child td{border-bottom:0}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.toolbar input[type=search]{flex:1;min-width:180px;max-width:400px}.toolbar label{margin:0}.toolbar input,.toolbar select{font-size:13px}.toolbar .spacer{flex:1}.empty{text-align:center;padding:45px;color:var(--muted);background:white;border:1px dashed #c9cfe3;border-radius:10px}.empty h2{color:var(--ink)}.callout{background:#f0f1fa;border-left:3px solid #737bb6;padding:14px 18px;font-size:12px;margin:20px 0}.conflict{border-left:3px solid #c88940;margin-bottom:15px}.conflict pre{font-size:11px;white-space:pre-wrap;background:#f5f6fb;padding:12px;border-radius:5px;max-height:240px;overflow:auto}.stack{display:grid;gap:16px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.notice-body{white-space:pre-wrap}.text-button{background:none;border:0;color:var(--green);padding:4px;font-size:12px;text-decoration:underline}.print-only{display:none}footer{display:flex;justify-content:space-between;color:#717a95;font-size:10px;margin:40px 0 0;gap:15px}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;width:min(540px,calc(100% - 30px));max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #20264c44}dialog::backdrop{background:#161b3d66}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{margin-bottom:5px}.dialog-head button{border:0;background:none;font-size:25px;color:var(--muted)}.dialog-actions{display:flex;gap:10px;justify-content:end;margin-top:24px}.notice-time{font-size:10px;color:var(--muted)}#toast{position:fixed;right:25px;bottom:25px;background:#232956;color:#fff;padding:12px 18px;border-radius:8px;box-shadow:0 5px 20px #23295622;z-index:10;max-width:450px;font-size:13px}#toast:empty{display:none}.bar{height:6px;border-radius:4px;background:#e9ebf7;overflow:hidden}.bar span{display:block;height:100%;background:var(--green)}
@media(max-width:1000px){main{padding:24px}.workspace{grid-template-columns:205px 1fr}.grid{grid-template-columns:1fr}.stat{padding:16px}h1{font-size:29px}.header-user>span{display:none}}
@media(max-width:700px){.auth{grid-template-columns:1fr}.auth-story{min-height:280px;padding:28px}.auth-story h1{font-size:32px;margin-top:30px}.auth-story .brand{font-size:24px}.auth-points,.auth-story small{display:none}.auth-panel{padding:35px 25px}.workspace{display:block}aside{height:auto;position:relative;padding:18px;display:block}aside .brand{font-size:23px}.school-card{margin:10px 0;padding:8px 0;display:flex;gap:8px;align-items:center}.school-card small{display:none}.school-card select{max-width:70%}nav{display:flex;overflow:auto}nav button{padding:8px;flex-shrink:0;gap:6px}nav button span{font-size:11px}.aside-foot{display:flex;align-items:center;gap:14px;padding-top:12px}.aside-foot small{display:none}.aside-foot button{margin-left:auto}main{padding:20px 16px}header{gap:10px;padding-bottom:15px}.header-user button{padding:8px;font-size:11px}.page-heading{align-items:start;flex-wrap:wrap;margin-top:25px}h1{font-size:28px}.stats{gap:8px}.stat{padding:12px}.stat strong{font-size:28px}.stat .label,.stat small{font-size:10px}.card{padding:18px}th,td{padding:12px}footer span{display:none}}
@media print{aside,header,footer,.toolbar,button,#toast,.callout{display:none!important}.workspace{display:block}main{padding:0;background:white}.print-only{display:block}.page-heading{margin-top:0}.table-wrap{overflow:visible}body{background:white}.card{break-inside:avoid}}
.accounts-card{margin-top:20px}
@media(min-width:701px){aside nav{overflow-y:auto;min-height:0;flex:1}aside .school-card{flex-shrink:0}aside .aside-foot{flex-shrink:0}}

.grade-bands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.secret{display:block;overflow-wrap:anywhere;background:#f0f2f9;padding:8px}.card a.secondary{display:inline-block;text-decoration:none}label input[type=checkbox]{display:inline-block;width:auto;margin-right:8px}#mfa-panel{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #d7dceb}

.movement-history table{table-layout:fixed;width:100%;min-width:0}.movement-history td,.movement-history th{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.movement-history th:nth-child(1){width:16%}.movement-history th:nth-child(2){width:27%}.movement-history th:nth-child(3){width:23%}.movement-history th:nth-child(4){width:34%}

.followup-list table{table-layout:fixed;width:100%;min-width:740px}.followup-list td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.followup-list th:nth-child(4),.followup-list th:nth-child(5){width:20%}

.followup-list table{min-width:900px}.followup-list th:nth-child(1),.followup-list th:nth-child(6){width:12%}.followup-list th:nth-child(2),.followup-list th:nth-child(3),.followup-list th:nth-child(7){width:10%}.followup-list th:nth-child(4){width:18%}.followup-list th:nth-child(5){width:22%}.followup-list th:nth-child(8){width:6%}.followup-list td:nth-child(1),.followup-list td:nth-child(6),.followup-list td:nth-child(7){white-space:nowrap;overflow-wrap:normal}

.followup-list th:nth-child(5){width:20%}.followup-list th:nth-child(8){width:8%}.followup-list td:last-child{white-space:nowrap;overflow-wrap:normal}

.attendance-reason{display:block;white-space:normal;overflow-wrap:anywhere;max-width:28rem}

.audit-identifier,.audit-detail{white-space:normal;overflow-wrap:anywhere;max-width:28rem}

/* Existing anniversary-site artwork, preserved unchanged. */
.brand{display:block;letter-spacing:normal;white-space:normal;line-height:1.25}
.product-logo{display:block;width:100%;height:auto}
.auth-story .brand{width:100%;max-width:420px}
.auth-story{background:linear-gradient(145deg,#232956,#30376e);border-top:6px solid #C42225}
aside{border-top:5px solid #C42225}
.auth-inner>.eyebrow{color:#a92835}
.primary:hover{background:#303576}
.secondary:hover{background:#dfe3f4}
.corporate-footer{display:block;font-weight:600;color:#37417F}
@media(max-width:700px){.auth-story .brand{max-width:330px}.auth-story{min-height:320px}.auth-story h1{margin-top:25px}aside .brand{max-width:290px}}
