.hy-sms-dialog{direction:rtl;font-family:inherit;width:min(760px,96vw);max-height:92dvh;overflow:auto;background:#f7fbf9;color:#183f30;border:1px solid #c9dfd2;border-radius:18px;padding:20px;box-sizing:border-box}.hy-sms-dialog::backdrop{background:#09281dcc}.hy-sms-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hy-sms-dialog h2{font-size:19px;margin:0}.hy-sms-dialog h3{font-size:17px}.hy-sms-dialog .sms-body{display:grid;gap:14px;min-width:0}.hy-sms-dialog .sms-form{display:grid;gap:14px}.hy-sms-dialog label{display:grid;gap:6px}.hy-sms-dialog input,.hy-sms-dialog select,.hy-sms-dialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:10px;border:1px solid #c9dfd2;border-radius:9px;background:#fff;color:#183f30;box-sizing:border-box}.hy-sms-dialog input[type=tel]{direction:ltr}.hy-sms-dialog .sms-check{display:flex;align-items:center;gap:8px}.hy-sms-dialog input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.hy-sms-dialog fieldset{display:flex;gap:14px;flex-wrap:wrap;border:1px solid #c9dfd2;border-radius:10px;padding:12px}.hy-sms-dialog .sms-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.hy-sms-dialog button{font:inherit;min-height:44px;padding:8px 14px;border:1px solid #c9dfd2;border-radius:10px;background:#fff;color:#175e40;cursor:pointer}.hy-sms-dialog button.primary,.hy-sms-dialog button[aria-pressed=true]{background:#08774f;color:white;border-color:#08774f}.hy-sms-dialog button:disabled{opacity:.5;cursor:default}.hy-sms-dialog .sms-status{color:#176c43;overflow-wrap:anywhere;font-size:14px}.hy-sms-dialog .sms-error{color:#ad253d}.hy-sms-dialog .sms-preview-row{background:#eaf4ee;padding:12px;border-radius:10px;overflow-wrap:anywhere}.hy-sms-dialog .sms-preview-row p{white-space:pre-line}.hy-sms-dialog .sms-roster{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.7fr);align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #d8e5dd}.hy-sms-dialog .sms-account{padding:12px 0;border-bottom:1px solid #d8e5dd}.hy-sms-dialog small,.hy-sms-dialog .sms-note{font-size:12px;color:#526d60}.hy-sms-dialog [data-accounts],.hy-sms-dialog [data-schedules]{display:grid;gap:12px}[data-sms-login]{margin-top:10px}@media(max-width:420px){.hy-sms-dialog{padding:13px}.hy-sms-dialog .sms-tabs button{flex:1 1 40%}.hy-sms-dialog .sms-roster{grid-template-columns:minmax(0,1fr) 110px}}

/* Ordered navigation and responsive forms. */
.hy-sms-dialog{width:min(860px,96vw);padding:24px}.hy-sms-dialog header{padding-bottom:16px;border-bottom:1px solid #d8e5dd}.hy-sms-dialog .sms-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.hy-sms-dialog .sms-tabs button{white-space:normal;line-height:1.7;min-width:0}.hy-sms-dialog .sms-status{background:#eaf4ee;border-radius:10px;padding:12px;margin:0 0 18px;line-height:1.9}.hy-sms-dialog .sms-body>.sms-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.hy-sms-dialog .sms-form>label:has(select[multiple]),.hy-sms-dialog .sms-form>label:has(textarea),.hy-sms-dialog .sms-form>.sms-check,.hy-sms-dialog .sms-form>fieldset,.hy-sms-dialog .sms-form>[data-roster],.hy-sms-dialog .sms-form>.sms-note,.hy-sms-dialog .sms-form>button{grid-column:1/-1}.hy-sms-dialog textarea{resize:vertical;min-height:130px}.hy-sms-dialog select[multiple]{min-height:120px}.hy-sms-dialog [data-accounts]{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.hy-sms-dialog .sms-account{background:white;border:1px solid #d8e5dd;border-radius:12px;padding:14px}.hy-sms-dialog .sms-body>p{margin:0;line-height:1.9}.hy-sms-dialog .sms-preview-row p{margin:8px 0 0;line-height:1.9}@media(max-width:600px){.hy-sms-dialog{padding:16px}.hy-sms-dialog .sms-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.hy-sms-dialog .sms-body>.sms-form,.hy-sms-dialog [data-accounts]{grid-template-columns:minmax(0,1fr)}.hy-sms-dialog h2{font-size:17px}}

.hy-sms-dialog .sms-solar-date{display:grid;grid-template-columns:70px minmax(90px,1fr) 90px;gap:6px}.hy-sms-dialog .sms-solar-date select{padding-inline:6px}.hy-sms-dialog .sms-preview-row>small{display:block;margin-top:6px}

.hy-sms-dialog .sms-directory-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hy-sms-dialog .sms-target-tabs{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}.hy-sms-dialog [data-targets],.hy-sms-dialog .sms-member-list,.hy-sms-dialog [data-picked],.hy-sms-dialog .sms-form>h3{grid-column:1/-1}.hy-sms-dialog .sms-member-list{max-height:300px;overflow:auto;border:1px solid #c9dfd2;border-radius:10px;padding:10px;display:grid;gap:4px;background:#fff}.hy-sms-dialog .sms-member-list label{padding:8px;min-height:44px;overflow-wrap:anywhere}.hy-sms-dialog .sms-member-list label:nth-child(even){background:#f1f7f3}.hy-sms-dialog .sms-tabs button{display:flex;align-items:center;justify-content:center;gap:6px}.hy-sms-dialog .sms-tabs .nav-icon,.hy-sms-dialog .sms-tabs .nav-icon svg{width:18px;height:18px;min-width:18px;padding:0;background:none}.hy-sms-dialog .sms-preview-row>button{margin:8px 0 0 8px}@media(max-width:600px){.hy-sms-dialog .sms-directory-filters{grid-template-columns:minmax(0,1fr)}.hy-sms-dialog .sms-target-tabs>button{flex:1 1 40%}}

.hy-sms-dialog .sms-number-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;margin-bottom:10px;direction:ltr}.hy-sms-dialog .sms-number-row input{direction:ltr}.hy-sms-dialog .sms-number-row button{font-size:24px;min-width:44px;background:#08774f;color:white}.hy-sms-dialog .sms-student-targets{grid-column:1/-1;display:block}.hy-sms-dialog .sms-student-targets .sms-target-tabs{margin-bottom:10px}
.hy-sms-page{position:static;width:100%;max-width:none;max-height:none;overflow:visible;margin:0;padding:0;border:0;border-radius:22px;background:#f5f8fc;box-shadow:none}.hy-sms-page[hidden]{display:none!important}.hy-sms-page .sms-page-hero{padding:26px 30px;border:0;border-radius:22px;background:linear-gradient(115deg,#075b4a,#0b806b 70%,#219b83);color:#fff;min-height:120px}.hy-sms-page .sms-page-hero h2{font-size:26px;color:#fff;margin:7px 0}.hy-sms-page .sms-page-hero p{font-size:14px;line-height:1.9;margin:0;color:#e0f5ed}.sms-eyebrow{font-size:12px;color:#c5ecde}.sms-hero-icon{display:grid;place-items:center;width:66px;height:66px;flex:none;border:1px solid #ffffff38;border-radius:20px;background:#ffffff18;font-size:34px}.sms-page-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px;padding:22px 0}.hy-sms-page .sms-tabs{display:flex;flex-direction:column;gap:8px;margin:0;align-self:start;padding:12px;background:#fff;border:1px solid #e3e9ef;border-radius:18px}.hy-sms-page .sms-tabs button{justify-content:flex-start;text-align:right;border:0;background:transparent;color:#536476;padding:12px 14px}.hy-sms-page .sms-tabs button[aria-pressed=true]{background:#e0f4ed;color:#076b50;box-shadow:inset -3px 0 #0b8d66}.sms-page-content{min-width:0;background:#fff;border:1px solid #e3e9ef;border-radius:18px;padding:24px}.hy-sms-page .sms-status{background:#edf5fc;color:#355c79;font-size:13px}.hy-sms-page .sms-status:empty{display:none}.hy-sms-page .sms-body>.sms-form{gap:20px}.hy-sms-page label{font-weight:600;font-size:14px;color:#33485d}.hy-sms-page input,.hy-sms-page select,.hy-sms-page textarea{border-color:#dce4ed;border-radius:12px;background:#fafcfe;font-weight:400}.hy-sms-page input:focus,.hy-sms-page select:focus,.hy-sms-page textarea:focus{outline:2px solid #9addc8;outline-offset:2px}.hy-sms-page .sms-member-list{border-color:#e2e9f0;max-height:340px;padding:8px;gap:6px}.hy-sms-page .sms-member-list label{border:1px solid #e6edf3;border-radius:12px;padding:12px;background:#fff;cursor:pointer;font-weight:400}.hy-sms-page .sms-member-list label:has(input:checked){border-color:#5ebf9e;background:#ecf9f2;color:#076b50}.hy-sms-page input[type=checkbox]{accent-color:#0a8863}.hy-sms-page fieldset{border-color:#e1e8f0;padding:16px;border-radius:14px}.hy-sms-page legend{padding:0 8px;font-weight:700;color:#244d42}.hy-sms-page button.primary{background:#087b59;border-color:#087b59;min-height:48px;box-shadow:0 4px 12px #087b591c}.hy-sms-page .sms-target-tabs button{border-radius:12px}.hy-sms-page .sms-preview-row{background:#f1f7fb;border:1px solid #e1eaf1;border-radius:14px}.hy-sms-page .sms-check{line-height:1.8}.hy-sms-page .sms-form>button.primary{justify-self:start;min-width:220px}.hy-sms-page .sms-member-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.sms-page-layout{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px 0}.hy-sms-page .sms-tabs{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:8px;gap:6px}.hy-sms-page .sms-tabs button{flex:0 0 auto;min-height:44px;padding:9px 13px}.hy-sms-page .sms-tabs button[aria-pressed=true]{box-shadow:inset 0 -3px #0b8d66}.sms-page-content{padding:16px}.hy-sms-page .sms-page-hero{padding:20px;min-height:110px}.hy-sms-page .sms-page-hero h2{font-size:22px}.sms-hero-icon{width:48px;height:48px;font-size:26px;border-radius:15px}.hy-sms-page .sms-form>button.primary{justify-self:stretch;min-width:0}.hy-sms-page .sms-member-list{grid-template-columns:minmax(0,1fr)}}
.hy-sms-page .sms-meeting-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;border:1px solid #b9dfd0;background:#effaf5;border-radius:16px}.hy-sms-page .sms-meeting-fields h3,.hy-sms-page .sms-meeting-fields p{grid-column:1/-1;margin:0}.hy-sms-page [hidden]{display:none!important}@media(max-width:600px){.hy-sms-page .sms-meeting-fields{grid-template-columns:minmax(0,1fr)}}


/* The compact mobile toolbar shares desktop navigation and server permissions. */
#hy-mobile-feature-bar{display:none}
@media(max-width:900px){
 #hy-mobile-feature-bar:not([hidden]){display:block!important;margin:0 0 12px;padding:9px;background:#f7fbf8;border:1px solid #d9e9df;border-radius:16px}
 .hy-mobile-feature-actions{display:flex;gap:8px;align-items:center}
 .hy-mobile-feature-actions button{flex:1;border:1px solid #c9e3d5;border-radius:11px;background:#fff;color:#075c43;padding:10px 8px;min-height:42px;font:inherit;font-size:13px;cursor:pointer}
 #hy-mobile-sms-entry:not([hidden]){background:#087b59;color:#fff;border-color:#087b59}
 #hy-mobile-feature-list:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
 .hy-mobile-feature{display:flex;align-items:center;gap:8px;min-width:0;min-height:48px;text-align:start;border:1px solid #dce8e0;background:#fff;border-radius:11px;padding:10px;color:#214b3b;font:inherit;font-size:12px;cursor:pointer}
 .hy-mobile-feature .nav-icon{display:inline-flex;flex:0 0 24px;width:24px;height:24px}
 .hy-mobile-feature svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
 #hy-mobile-feature-bar [hidden]{display:none!important}
}

.hy-sms-dialog .sms-contact-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #dce8e0;border-radius:14px;background:#f7fbf8}.hy-sms-dialog .sms-roster-entry{display:grid;gap:2px;padding:3px 0;border-bottom:1px solid #d8e5dd}.hy-sms-dialog .sms-roster-entry .sms-roster{border:0;padding:8px 0}.hy-sms-dialog .sms-late-duration{display:grid;grid-template-columns:repeat(2,minmax(76px,100px));justify-content:end;gap:8px;padding:0 8px 9px}.hy-sms-dialog .sms-late-duration label{display:grid;gap:4px;justify-items:center;color:#536d60;font-size:12px}.hy-sms-dialog .sms-late-duration input{width:76px;height:46px;padding:6px;text-align:center;font-size:16px;font-weight:700}.hy-sms-dialog [data-late-duration][hidden]{display:none!important}@media(max-width:600px){.hy-sms-dialog .sms-contact-filters{grid-template-columns:minmax(0,1fr);gap:9px;padding:11px}.hy-sms-dialog .sms-late-duration{justify-content:center}}
