.schedule-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:22px;padding:5px;border:1px solid var(--line);border-radius:14px;background:var(--canvas)}
.schedule-mode-switch button{min-height:44px;padding:10px 8px;border:0;border-radius:10px;font:inherit;font-size:13px;font-weight:750;color:var(--ink);background:transparent}
.schedule-mode-switch button[aria-pressed="true"]{background:#1567e8;color:#fff;box-shadow:0 3px 9px #1567e824}
.schedule-editor .modal-body{display:flex;flex-direction:column;gap:16px}.schedule-editor .modal-body>*{flex-shrink:0}.schedule-editor .modal-body>.field{margin:0}
html:has(body.modal-open){overflow:hidden}body.modal-open .gestao-install-prompt,body:has(dialog[open]) .gestao-install-prompt{display:none!important}
.schedule-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.schedule-two-columns>*{min-width:0}
.schedule-block-note{display:flex;gap:12px;padding:16px;border:1px solid #c9defc;border-radius:14px;background:#f1f7ff;color:#123c73}
.schedule-block-note>svg{width:24px;height:24px;flex:none}.schedule-block-note span,.schedule-section-label{display:grid;gap:5px}.schedule-block-note strong{font-size:13px}.schedule-block-note small,.schedule-section-label small{font-size:12px;line-height:1.5;color:#526c8b}
.schedule-block-time,.schedule-recurrence{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.schedule-recurrence{margin:16px 0}.schedule-recurrence>.field{margin:0}.schedule-recurrence [data-recurrence-options]{display:grid;gap:14px}
.schedule-section-label strong{font-size:14px;color:var(--ink)}.schedule-helper{display:block;margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.schedule-all-day{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:700;color:var(--ink)}.schedule-all-day input,.schedule-weekdays input{width:20px;height:20px;accent-color:#1567e8;flex:none}
.schedule-weekdays{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;min-width:0}.schedule-weekdays legend{margin-bottom:10px;font-size:12px;font-weight:750;color:var(--ink)}.schedule-weekdays label{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:10px;font-size:12px}.schedule-weekdays label:has(input:checked){background:#edf5ff;border-color:#1567e8;color:#12457e}.schedule-weekdays small{flex-basis:100%;font-size:11px;color:var(--muted)}
.schedule-delete{justify-self:start;color:#b3263f;background:transparent;border:1px solid #e6b9c1}.schedule-editor [hidden],.schedule-recurrence [hidden]{display:none!important}
.agenda-event.schedule-block{border-color:#ddd2ef;border-left-color:#7952ad;background:#f4effb}.agenda-event.schedule-block time{color:#684193}.agenda-block-list{display:grid;gap:10px;margin-top:20px}.agenda-block-list>h3{margin:0;font-size:15px}.agenda-block-list button{display:flex;gap:14px;align-items:center;justify-content:space-between;text-align:left;padding:14px;border:1px solid #d8c9eb;border-radius:12px;background:#f7f3fc;color:#35244d}.agenda-block-list button span{display:grid;gap:4px;min-width:0}.agenda-block-list small{font-size:12px;color:#6b587f}.agenda-block-list strong{overflow-wrap:anywhere}.agenda-block-list svg{width:18px;flex:none}
html.web-theme-dark .schedule-block-note{background:#122e50;border-color:#32547c;color:#e3edff}html.web-theme-dark .schedule-block-note small,html.web-theme-dark .schedule-section-label small{color:#adbed7}html.web-theme-dark .schedule-weekdays label:has(input:checked){background:#193a67;color:#dbe9ff}html.web-theme-dark .agenda-event.schedule-block,html.web-theme-dark .agenda-block-list button{background:#2f2345;border-color:#644a85;color:#f2e9ff}html.web-theme-dark .agenda-event.schedule-block time,html.web-theme-dark .agenda-block-list small{color:#d3b9f3}
@media(max-width:560px){.schedule-editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.schedule-editor .modal-body{padding:18px 16px 22px;gap:14px}.schedule-block-time,.schedule-recurrence{padding:14px}.schedule-editor .modal-head{padding:16px}.schedule-editor .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.schedule-editor .modal-actions .btn{min-height:46px;width:100%;margin:0}.schedule-editor .schedule-two-columns .field input,.schedule-editor .schedule-two-columns .field select{font-size:16px;min-height:44px}.schedule-two-columns:has(select[name="professionalId"]){grid-template-columns:1fr}.schedule-mode-switch{margin-bottom:8px}.agenda-control-actions{gap:8px}.agenda-toolbar .toolbar-group{flex-wrap:wrap;overflow:visible}.agenda-block-list button{align-items:flex-start}}
