.scoodle-menu-router{--router-primary:#006747;--router-accent:#d8b42f;box-sizing:border-box;width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbd8cf;border-radius:14px;color:#173e31;background:#fff;font-family:Arial,Helvetica,sans-serif;overflow:auto}
.scoodle-menu-router::backdrop{background:#092b2373}
.scoodle-menu-router>header{display:block;padding:23px 20px 20px;background:var(--router-primary);color:#fff;border-bottom:5px solid var(--router-accent)}
.scoodle-menu-router>header h2{margin:0;font-size:23px;line-height:1.2;font-weight:700;overflow-wrap:anywhere;color:inherit}
.scoodle-menu-router>header.router-has-controls{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:12px}
.scoodle-menu-router .schedule-navigation .mobile-overflow-menu-button{color:#fff}
.scoodle-menu-router .schedule-navigation-panel[popover]{position:fixed;inset:auto;box-sizing:border-box;margin:0;width:220px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto}
.scoodle-menu-router .schedule-navigation-panel[popover]:not(:popover-open){display:none}
.scoodle-menu-router .schedule-navigation-panel[popover]:popover-open{display:block}
.scoodle-menu-router .router-visibility{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding:9px 18px;background:#f5f7f5;border-bottom:1px solid #dce5de;font-size:13px}
.scoodle-menu-router .router-visibility strong{white-space:nowrap}
.scoodle-menu-router .router-visibility label{display:flex;align-items:center;gap:7px;min-height:44px;white-space:nowrap}
.scoodle-menu-router input[role=switch]{appearance:none;flex:none;width:38px;height:23px;padding:0;border:0;border-radius:20px;background:#aab7ae;position:relative;margin:0;cursor:pointer}
.scoodle-menu-router input[role=switch]::before{content:"";position:absolute;width:17px;height:17px;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .15s}
.scoodle-menu-router input[role=switch]:checked{background:var(--router-primary)}
.scoodle-menu-router input[role=switch]:checked::before{transform:translateX(15px)}
.scoodle-menu-router>nav{display:block;padding:7px 18px}
.scoodle-menu-router>nav button{display:flex;gap:14px;align-items:center;width:100%;min-height:62px;padding:12px 4px;background:#fff;color:#173e31;border:0;border-bottom:1px solid #dce5de;border-radius:0;text-align:left;font:600 16px/1.3 Arial,Helvetica,sans-serif;cursor:pointer}
.scoodle-menu-router>nav button:last-child{border-bottom:0}
.scoodle-menu-router>nav button small{display:block;margin-top:4px;font-size:13px;line-height:1.4;font-weight:400;color:#52655b}
.scoodle-menu-router>nav button:hover{background:#f5f7f5;filter:none}
.scoodle-menu-router>nav svg:not(.router-arrow){width:30px;height:30px;flex:0 0 30px;stroke-width:1.8}
.scoodle-menu-router>nav .router-arrow{width:17px;height:17px;flex:0 0 17px;margin-left:auto}
.scoodle-menu-router>footer{padding:12px 18px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dce5de;background:#f5f7f5;color:#173e31;gap:12px}
.scoodle-menu-router>footer [role=status]{font-size:12px;overflow-wrap:anywhere}
.scoodle-menu-router>footer button{border:1px solid #b9cbc1;border-radius:7px;padding:10px 22px;min-height:44px;background:#fff;color:#173e31;font:600 14px Arial,Helvetica,sans-serif}
.scoodle-menu-router :is(button,input):focus-visible{outline:2px solid #173e31;outline-offset:2px}
.scoodle-menu-router :disabled{opacity:.55;cursor:wait}
.scoodle-menu-router .router-error{color:#982d24}
.scoodle-menu-router>nav button[hidden]{display:none}
.scoodle-menu-router .router-search{display:block;box-sizing:border-box;margin:12px 18px;width:calc(100% - 36px);padding:10px;border:1px solid #b9cbc1;border-radius:6px;font:16px Arial}
.scoodle-menu-router .router-signin{display:block;padding:16px 4px;color:var(--router-primary);font-weight:700}
@media(max-width:400px){.scoodle-menu-router>header{padding:19px 14px}.scoodle-menu-router>header h2{font-size:21px}.scoodle-menu-router .router-visibility{gap:5px 9px;padding:9px 10px;font-size:12px}.scoodle-menu-router .router-visibility label{gap:5px}.scoodle-menu-router>nav{padding:5px 13px}.scoodle-menu-router>nav button{font-size:15px;gap:11px}}
@media(prefers-reduced-motion:reduce){.scoodle-menu-router input[role=switch]::before{transition:none}}
.scoodle-widget-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);height:fit-content;margin:auto;padding:clamp(18px,3vw,32px);overflow:auto;border:1px solid #bdd0c2;border-radius:12px;background:#fff;color:#173e31;font:16px/1.5 Arial,Helvetica,sans-serif}
.scoodle-widget-dialog::backdrop{background:#092b2373}
.scoodle-widget-dialog h2{margin:0 0 14px;font-size:24px;line-height:1.2;color:inherit}
.scoodle-widget-dialog p{margin:14px 0}
.scoodle-widget-dialog label{display:block;font-weight:600}
.scoodle-widget-dialog textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:100px;max-height:none;margin-top:8px;padding:12px;border:1px solid #b8c8bc;border-radius:6px;background:#f7f9f7;color:#173e31;font:14px/1.5 monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;resize:none}
.scoodle-widget-dialog .widget-actions{display:flex;justify-content:flex-end;margin-top:20px}
.scoodle-widget-dialog button{min-height:44px;padding:9px 24px;border:1px solid #b9cbc1;border-radius:6px;background:#fff;color:#173e31;font:600 14px Arial;cursor:pointer}
.scoodle-widget-dialog :is(button,textarea):focus-visible{outline:2px solid #173e31;outline-offset:2px}
/* Schedule confirmations share the outer Office modal layer with its pencil router. */
dialog.scoodle-schedule-confirm{box-sizing:border-box;width:min(460px,calc(100vw - 30px));max-height:calc(100dvh - 30px);margin:auto;padding:22px;border:1px solid #bdd0c2;border-radius:12px;background:#fff;color:#173e31;font:15px/1.5 Arial,Helvetica,sans-serif;overflow:auto}
dialog.scoodle-schedule-confirm::backdrop{background:#0a2d23a6}
dialog.scoodle-schedule-confirm h2{margin:0;font:700 21px/1.25 Arial,Helvetica,sans-serif}
dialog.scoodle-schedule-confirm .actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}
dialog.scoodle-schedule-confirm button{font:inherit;cursor:pointer;padding:8px 12px;border:1px solid #b9cbc1;border-radius:6px;background:#fff;color:#173e31}
dialog.scoodle-schedule-confirm button.primary{background:#00543c;color:#fff;border-color:#00543c}
dialog.scoodle-schedule-confirm button:focus-visible{outline:2px solid #173e31;outline-offset:2px}
