.mobile-app{margin:0;background:#f3f6fa;color:#203047;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.mobile-app *{box-sizing:border-box}
.mobile-app button,.mobile-app a{-webkit-tap-highlight-color:transparent}
.mobile-app button{font:inherit}
.mobile-app :focus-visible{outline:3px solid #e5a62f;outline-offset:3px}
.mobile-header{position:fixed;top:0;left:0;right:0;z-index:10;display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#0755a6;color:white;box-shadow:0 2px 8px #142d4c20}
.mobile-header h1{margin:0;font-size:19px;font-weight:600;line-height:1.3}
.mobile-icon-button{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.mobile-icon-button:hover{background:#ffffff22}
.mobile-icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mobile-content{max-width:900px;margin:auto;padding:calc(80px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.mobile-card{background:white;border:1px solid #dce5ef;border-radius:12px;padding:24px;box-shadow:0 3px 12px #20304706}
.mobile-card h2{margin:8px 0 12px;font-size:23px}
.mobile-card p{margin:10px 0}
.mobile-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:700;color:#0755a6}
.mobile-muted{color:#5c6c7e}
.mobile-drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:0;width:min(320px,88vw);max-width:88vw;height:100%;height:100dvh;max-height:100dvh;border:0;background:#fff;color:#203047;overflow-y:auto;overscroll-behavior:contain;box-shadow:8px 0 30px #152e482e}
.mobile-drawer[open]{animation:mobile-slide-in .18s ease-out}
.mobile-drawer::backdrop{background:#12223880}
.mobile-drawer-heading{display:flex;align-items:center;justify-content:space-between;padding:calc(8px + env(safe-area-inset-top)) 12px 8px max(20px,env(safe-area-inset-left));background:#0755a6;color:white}
.mobile-drawer-heading h2{margin:0;font-size:18px}
.mobile-brand{text-align:center;padding:24px 22px 20px;border-bottom:1px solid #e3eaf2;background:#f4f8fc}
.mobile-brand img{margin-inline:auto;display:block;object-fit:contain;background:white;border-radius:10px}
.mobile-school-name{font-size:19px;font-weight:700;margin:14px 0 4px}
.mobile-welcome{margin:0;color:#536579;font-size:14px}
.mobile-navigation{padding:16px 12px max(24px,env(safe-area-inset-bottom))}
.mobile-menu-label{margin:0 12px 10px;color:#63758b;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:bold}
.mobile-navigation a,.mobile-navigation button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;margin:4px 0;padding:12px;border:0;border-radius:8px;text-decoration:none;text-align:left;font-size:15px;color:#253a52;background:white}
.mobile-navigation a[aria-current=page]{background:#e8f1fc;color:#064c96;font-weight:700}
.mobile-navigation button:disabled{color:#647386;cursor:default}
.mobile-navigation span{font-size:11px;white-space:nowrap;background:#f0f3f7;padding:3px 6px;border-radius:4px}
.mobile-skip{position:fixed;top:-100px;left:12px;z-index:30;background:white;color:#0755a6;padding:10px}
.mobile-skip:focus{top:12px}
.mobile-noscript{margin:16px}
html.mobile-menu-visible,html.mobile-menu-visible body{overflow:hidden}
@keyframes mobile-slide-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.mobile-drawer[open]{animation:none}}
@media(max-width:360px){.mobile-header h1{font-size:17px}.mobile-card{padding:18px}}
.mobile-auth{max-width:480px;margin:0 auto}
.mobile-form{display:grid;gap:10px;margin-top:20px}
.mobile-form>label{font-weight:600}
.mobile-form>input{width:100%;min-height:48px;padding:11px 12px;border:1px solid #acbbcd;border-radius:7px;font:inherit;background:white;color:#203047}
.mobile-form .mobile-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400}
.mobile-checkbox input{width:20px;height:20px;accent-color:#0755a6}
.mobile-primary{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px;border:0;border-radius:8px;background:#0755a6;color:white;cursor:pointer;font-weight:700;line-height:1.5;aspect-ratio:auto}
.mobile-form>.mobile-primary{height:48px;align-self:start;width:100%;padding:8px 12px}
.mobile-form>a{padding:10px 0;color:#0755a6;min-height:44px}
.mobile-error{color:#a02020;font-size:14px}
.mobile-error ul{padding-left:20px}
.validation-summary-valid,.field-validation-valid{display:none}
.mobile-success{padding:12px;border:1px solid #b6dcc3;border-radius:7px;background:#eef8f1;color:#176734;font-weight:600}
.mobile-navigation .mobile-logout{color:#a02020;cursor:pointer}
.mobile-form>select,.mobile-form>textarea{width:100%;min-height:48px;padding:11px 12px;border:1px solid #acbbcd;border-radius:7px;background:white;color:#203047;font:inherit}
.notice-audiences{min-width:0;border:1px solid #dce5ef;border-radius:8px;padding:12px}
.notice-checkboxes{display:flex;flex-wrap:wrap;gap:4px 24px;max-height:230px;overflow:auto}
.notice-selection{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.notice-selection button{padding:10px;border:1px solid #acbbcd;border-radius:6px;background:#f4f8fc;color:#0755a6;min-height:44px}
.notice-history{margin-top:28px}.notice-item{margin:12px 0}.notice-message{white-space:pre-wrap}
.notice-item a{display:inline-block;padding:10px 0;color:#0755a6;min-height:44px}
.notice-delete-form{margin-top:16px;padding-top:12px;border-top:1px solid #e3eaf2}
.notice-delete{min-height:44px;padding:10px 16px;border:1px solid #bd3434;border-radius:7px;background:white;color:#a02020;cursor:pointer}
.message-students{max-height:360px;overflow:auto}
.message-students .mobile-checkbox{display:grid;grid-template-columns:20px 36px minmax(0,1fr);gap:10px;padding:6px 0;border-bottom:1px solid #eef1f5}
.message-roll{font-variant-numeric:tabular-nums}
.message-delete-form{margin-top:16px;padding-top:12px;border-top:1px solid #e3eaf2}
.mobile-app .Header_Table_Container,.mobile-app .Form_Styling{width:100%;max-width:100%;box-sizing:border-box}
.mobile-app .Grid_View_Container{max-width:100%;overflow-x:auto}
.mobile-app .Column_Update_Textareas{display:flex;flex-direction:column}
.mobile-app .Column_Update_Filter{padding:12px;gap:12px}
.mobile-app .Column_Update_Field .select2-container{max-width:100%}


.notification-settings-button{position:fixed;top:10px;right:12px;z-index:1100;background:#fff;color:#0755a6;border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:none}.notification-settings-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-choice{display:flex;gap:10px;align-items:center;padding:10px 0}.notification-choice input{width:20px;height:20px}


.mobile-menu-section{margin-bottom:16px}
.mobile-menu-section h3{margin:8px 0;padding:10px 12px;color:#0755a6;background:#e8f1fc;border-radius:8px;font-size:16px}
.mobile-menu-footer{border-top:1px solid #dbe2ea;padding-top:8px}
.mobile-result-card{padding:12px}
.mobile-result-external{border:0;background:transparent;color:#0755a6;text-decoration:underline;text-align:left;cursor:pointer;padding:8px 0;font:inherit;min-height:44px}
.mobile-result-frame{display:block;width:100%;height:calc(100dvh - 210px);min-height:450px;border:1px solid #dbe2ea;background:white}

.school-web-app {
    padding: 12px;
    margin-block: 0 14px;
    border: 1px solid #c6d8ee;
    border-radius: 10px;
    background: #f0f6ff;
}
.school-web-app [hidden], .school-web-app > p:empty { display: none; }
.school-web-app button {
    min-height: 44px;
    padding: 8px 12px;
    margin: 2px;
    font: inherit;
    border-radius: 6px;
    border: 1px solid #0755a6;
    background: #0755a6;
    color: white;
    cursor: pointer;
}
.school-web-app [data-dismiss-install] { background: white; color: #0755a6; }
.school-web-app > p { margin: 8px 0 0; }
