.schedule-workspace{min-width:0;margin-top:16px}.schedule-controls,.schedule-tools,.schedule-views,.schedule-filterbar,.schedule-summary,.schedule-counts{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.schedule-controls{justify-content:space-between;margin-bottom:14px}.schedule-views{padding:4px;background:#e8eff8;border-radius:10px;gap:3px}.schedule-views .button{border:0;box-shadow:none}.schedule-views [aria-pressed=true],.schedule-editor-tabs [aria-pressed=true]{background:#194b86;color:#fff}.schedule-filterbar{background:#fff;border:1px solid #dbe4ef;border-radius:12px;padding:15px}.schedule-field{display:flex;flex:1;min-width:145px;flex-direction:column;gap:6px;color:#334b66;font-size:12px;font-weight:650}.schedule-field input,.schedule-field select,.schedule-hours-row input,.schedule-hours-row select{height:39px;width:100%;min-width:0;padding:8px 10px;background:white;border:1px solid #ccd8e5;border-radius:7px;color:#233950;font:inherit}.schedule-summary{justify-content:space-between;margin:18px 0 12px}.schedule-summary h3{margin:4px 0;color:#173d66;font-size:20px;text-transform:capitalize}.schedule-counts span{padding:8px 12px;border:1px solid #dce6f2;background:#f7faff;border-radius:8px;color:#536a83;font-size:12px}.schedule-counts b{font-size:18px;color:#214e80;margin-right:4px}.schedule-board{max-height:660px;overflow:auto;background:#fff;border:1px solid #d7e2ef;border-radius:12px;overscroll-behavior:contain}.schedule-grid{display:grid;min-width:100%;width:max-content;position:relative}.schedule-column-title{position:sticky;top:0;background:#eaf2fc;color:#214c7a;border-bottom:2px solid #bed2ea;padding:13px 10px;z-index:4;font-size:13px;font-weight:700;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis}.schedule-time-axis{position:relative;background:#f4f7fb}.schedule-time-axis span{position:absolute;left:7px;color:#6b8097;font-size:11px;transform:translateY(3px)}.schedule-column{position:relative;border-left:1px solid #e0e7f0;background-image:linear-gradient(to bottom,transparent calc(100% - 1px),#e8edf4 1px);min-width:0}.schedule-event{display:flex;flex-direction:column;gap:3px;text-align:left;background:#ecf4ff;border:1px solid #c9dbf3;border-left:4px solid #4484cb;border-radius:6px;color:#294863;padding:6px 8px;cursor:pointer;font:inherit;overflow:hidden}.schedule-event:hover,.schedule-event:focus-visible{background:#dcecff;outline:2px solid #2563a6;outline-offset:-2px}.schedule-event--timeline{position:absolute;z-index:2}.schedule-event strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.schedule-event span,.schedule-event small{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.schedule-event-time{font-weight:700;color:#1c528b}.schedule-event-time em{font-style:normal;font-weight:500;background:#dce9f8;border-radius:4px;padding:1px 4px}.schedule-event[data-status=arrived]{background:#fff8e7;border-color:#edcf85;border-left-color:#c69125}.schedule-event[data-status=in_progress]{background:#edf2ff;border-left-color:#685abe}.schedule-event[data-status=completed]{background:#eef7f5;border-left-color:#43816d}.schedule-event[data-status=cancelled],.schedule-event[data-status=no_show]{background:#fff3f3;border-left-color:#bf6a6a}.schedule-free-slot{position:absolute;left:5px;right:5px;border:1px dashed #a5c5e3;background:#f2f8ff;color:#326698;padding:5px;border-radius:4px;cursor:pointer;font-size:11px;z-index:1;text-align:left}.schedule-blocked{position:absolute;left:0;right:0;z-index:3;background:repeating-linear-gradient(135deg,#f1eff0e8,#f1eff0e8 7px,#e4e1e3e8 7px,#e4e1e3e8 8px);border:1px solid #d5cdd0;color:#79565f;font-size:11px;padding:5px;overflow:hidden}.schedule-lane-hint{margin:65px 15px;color:#7b8da3;font-size:12px;line-height:1.6;max-width:230px}.schedule-cancelled{margin-top:14px;padding:12px;background:#fff;border:1px solid #dce5ef;border-radius:9px}.schedule-cancelled summary{cursor:pointer;font-size:13px;font-weight:650;color:#53677f}.schedule-cancelled>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;padding-top:10px}.has-scheduling .appointment-layout:not(.schedule-month-mode){grid-template-columns:minmax(0,1fr)}.has-scheduling .appointment-layout:not(.schedule-month-mode)>.appointment-calendar-panel{display:none}.has-scheduling .appointment-detail{margin-top:16px}.has-scheduling .appointment-month-field .appointment-toolbar-label{font-size:0}.has-scheduling .appointment-month-field .appointment-toolbar-label:after{content:'Navegar na agenda';font-size:12px}.has-scheduling .appointment-policy{margin-bottom:12px}.has-scheduling .appointment-toolbar{margin-bottom:8px}.has-scheduling .appointment-detail-list{grid-template-columns:repeat(4,minmax(0,1fr))}.has-scheduling .appointment-detail-text{grid-column:span 2}.schedule-config-dialog{width:min(1020px,calc(100vw - 28px));max-height:90vh;padding:0;border:1px solid #cddbea;border-radius:16px;color:#243f5b;box-shadow:0 25px 100px #162f5360}.schedule-config-dialog::backdrop{background:#162c4a85}.schedule-config-dialog form{padding:24px}.schedule-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.schedule-dialog-header h2{margin:4px 0 8px;font-size:23px}.schedule-dialog-header p{margin:0;color:#6b7e93;font-size:13px}.schedule-editor-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0 18px;padding-bottom:14px;border-bottom:1px solid #e0e8f1}.schedule-add-professional,.schedule-resource-row{display:flex;gap:12px;align-items:flex-end;margin-bottom:14px;flex-wrap:wrap}.schedule-resource-row{padding:12px;border:1px solid #dae5f1;border-radius:9px}.schedule-editor-card{margin:16px 0;border:1px solid #d9e3f0;border-radius:10px;padding:16px}.schedule-editor-card legend{font-size:15px;font-weight:700;padding:0 7px;color:#224e7e}.schedule-check{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;line-height:1.5;margin:8px 0}.schedule-check input{width:16px;height:16px;accent-color:#245d97}.schedule-services-checks{display:flex;flex-wrap:wrap;gap:5px 18px;margin:12px 0}.schedule-editor-card>.schedule-field{max-width:240px}.schedule-help{font-size:12px;line-height:1.6;color:#687d93}.schedule-hours-row{display:grid;grid-template-columns:1.3fr 1fr auto 1fr 34px;gap:8px;align-items:center;margin:8px 0}.schedule-resource-quantities{display:flex;gap:12px;max-width:450px}.schedule-exception-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px;border:1px solid #d9e3f0;border-radius:9px;margin-bottom:12px}.schedule-exception-row .button{justify-self:start}.schedule-config-footer{margin-top:22px;padding-top:16px;border-top:1px solid #dbe5ef;display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.schedule-config-footer .form-error{flex-basis:100%}.schedule-config-footer .schedule-field{min-width:230px}.schedule-editor-tabs button:focus-visible,.schedule-controls button:focus-visible{outline:3px solid #89b6e7;outline-offset:2px}
@media(max-width:650px){.schedule-controls,.schedule-tools{gap:6px}.schedule-views{width:100%;overflow:auto;flex-wrap:nowrap}.schedule-views .button{white-space:nowrap;padding:8px}.schedule-filterbar{padding:10px;gap:10px}.schedule-filterbar .schedule-field{flex-basis:calc(50% - 10px);min-width:120px}.schedule-summary h3{font-size:17px}.schedule-counts{gap:5px}.schedule-counts span{padding:6px 8px;font-size:10px}.schedule-counts b{font-size:15px}.schedule-config-dialog form{padding:16px}.schedule-exception-row{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-exception-row .schedule-field{min-width:0}.schedule-hours-row{grid-template-columns:1fr 1fr 12px 1fr 28px;gap:4px}.schedule-hours-row input,.schedule-hours-row select{padding:5px;font-size:11px}.has-scheduling .appointment-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-config-footer .schedule-field{min-width:0;flex-basis:100%}.schedule-board{max-height:560px}.schedule-resource-row .schedule-field{min-width:110px}.schedule-dialog-header{gap:8px}.schedule-dialog-header h2{font-size:20px}}
@media print{body.schedule-printing>*{display:none!important}body.schedule-printing #dashboard-view{display:block!important}body.schedule-printing .admin-header,body.schedule-printing .page-heading,body.schedule-printing .view-section:not(#appointments-section),body.schedule-printing .appointment-toolbar,body.schedule-printing .appointment-policy,body.schedule-printing .schedule-controls,body.schedule-printing .schedule-filterbar,body.schedule-printing .appointment-layout,body.schedule-printing .schedule-cancelled,body.schedule-printing #schedule-status{display:none!important}body.schedule-printing .schedule-board{max-height:none;overflow:visible}body.schedule-printing .schedule-grid{width:100%}body.schedule-printing .schedule-event{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.schedule-policy-disclosure{margin:8px 0 14px;border:1px solid #dbe5f1;border-radius:9px;background:#fff}.schedule-policy-disclosure>summary{padding:11px 16px;cursor:pointer;font-size:12px;color:#436383;font-weight:650}.schedule-policy-disclosure .appointment-policy{margin:0;border:0;box-shadow:none}.schedule-workspace .schedule-views [aria-pressed=true],.schedule-config-dialog .schedule-editor-tabs [aria-pressed=true]{background:#194b86;color:white}.schedule-config-dialog .schedule-editor-tabs [aria-pressed=false]{background:#fff;color:#275b9d}.has-scheduling .section-heading--compact{margin-bottom:12px}.has-scheduling .section-heading--compact>p{font-size:13px}.has-scheduling .appointment-toolbar{padding:12px 16px}.has-scheduling .appointment-detail{border-radius:12px}.schedule-board{scrollbar-gutter:stable}.schedule-config-dialog .schedule-help{margin:8px 0}.schedule-config-dialog [data-editor-panel]{padding-bottom:4px}
@media(max-width:750px){.section-heading--compact>p{flex:0 1 auto}.has-scheduling .section-heading__actions{width:100%}.has-scheduling .section-heading__actions .button{flex:1 1 auto}.has-scheduling .appointment-toolbar{padding:12px}.schedule-filterbar .schedule-field{font-size:11px}.schedule-summary{margin-block:12px}.schedule-tools .button{font-size:11px;padding:7px 9px}}

.has-scheduling .appointment-toolbar{padding:9px 14px;margin-top:8px}.has-scheduling .appointment-toolbar input,.has-scheduling .appointment-toolbar select,.has-scheduling .appointment-toolbar .button{min-height:36px;height:36px}.has-scheduling .appointment-clinic-fixed{min-height:36px;padding:8px 12px}.schedule-filterbar{padding:10px 14px}.schedule-filterbar input,.schedule-filterbar select{height:35px}.schedule-controls{margin-bottom:10px}.schedule-summary{margin:12px 0 8px}.schedule-summary h3{font-size:18px}.schedule-counts span{padding:6px 9px}.schedule-workspace #schedule-status{font-size:11px;margin:8px 0}.schedule-workspace .schedule-views .button--primary{background:#194b86;color:#fff}.has-scheduling>.section-heading>p{max-width:480px}.has-scheduling>.section-heading{gap:8px}.has-scheduling>.section-heading .button{min-height:37px;font-size:12px;padding:8px 14px}
@media(min-width:1200px){.admin-header{min-height:68px}.admin-header .brand--sidebar{padding-block:0;gap:3px}.admin-header .user-chip__avatar{width:32px;height:32px}.admin-header .nav-item{min-height:38px;padding:8px 11px}.admin-header .sidebar__footer{gap:3px}.topbar{min-height:56px;padding-block:10px}.content{padding-top:16px}}
@media(max-width:750px){.has-scheduling>.section-heading>p{display:none}.has-scheduling .appointment-search{flex-basis:100%}.has-scheduling .appointment-toolbar{gap:10px}.has-scheduling .appointment-clinic-fixed{font-size:13px}.schedule-tools{gap:5px}.schedule-counts{gap:4px}}

.schedule-search-disclosure{flex:1;min-width:230px}.schedule-search-disclosure>summary{font-size:13px;color:#275b9d;cursor:pointer;padding:10px 0;font-weight:650}.schedule-search-disclosure[open]>summary{margin-bottom:8px}.schedule-search-disclosure:has(form[hidden]){display:none}.schedule-search-disclosure .appointment-search{width:100%}
@media(max-width:750px){.schedule-search-disclosure{flex-basis:100%;min-width:0}.schedule-search-disclosure>summary{padding:3px 0}.schedule-tools #schedule-print{display:none}.schedule-controls{margin-top:0}}

@media print{body.schedule-printing #appointments-section>.section-heading,body.schedule-printing #appointment-policy-disclosure{display:none!important}}

.schedule-setup{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0;padding:14px 16px;background:#fff;border:1px solid #d7e2ef;border-radius:10px}.schedule-setup strong{font-size:13px;color:#254b75}.schedule-setup p{margin:5px 0 0;font-size:12px;color:#59718a}.schedule-setup>div:last-child{display:flex;flex-wrap:wrap;gap:7px}.schedule-filterbar .schedule-field{min-width:130px}@media(max-width:750px){.schedule-setup{flex-direction:column;align-items:stretch}.schedule-setup .button{flex:1}}@media print{body.schedule-printing .schedule-setup{display:none!important}}
.schedule-column-title small{display:block;margin:5px 0;font-size:11px;font-weight:400;white-space:normal}.schedule-column-title .button{margin-top:5px}.has-scheduling .appointment-detail-dialog{margin:auto;width:min(800px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #c5d6ed;border-radius:16px;color:#173d66;box-shadow:0 25px 100px #162f5360}.appointment-detail-dialog:not([open]){display:none!important}.appointment-detail-dialog::backdrop{background:#162c4a85}.has-scheduling .appointment-detail-dialog .appointment-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-detail-dialog .panel__header{position:sticky;top:-24px;background:#fff;z-index:1;gap:12px;padding-block:12px}.appointment-detail-dialog dd{overflow-wrap:anywhere}.appointment-detail-dialog .appointment-detail-actions{padding-top:16px;border-top:1px solid #dbe5ef;display:flex;flex-wrap:wrap;gap:10px}.has-scheduling .appointment-layout.schedule-month-mode{grid-template-columns:minmax(0,1fr)}@media(max-width:600px){.has-scheduling .appointment-detail-dialog{padding:16px}.has-scheduling .appointment-detail-dialog .appointment-detail-list{grid-template-columns:minmax(0,1fr)}.has-scheduling .appointment-detail-dialog .appointment-detail-text{grid-column:auto}.appointment-detail-dialog .panel__header{top:-16px}.appointment-detail-dialog .appointment-detail-actions .button{flex:1 1 180px}}@media print{body.schedule-printing .appointment-detail-dialog{display:none!important}}
.has-scheduling .appointment-detail-dialog .appointment-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.appointment-action-control{display:flex;align-items:center;gap:7px;min-width:0}.appointment-action-control:has(>.button[hidden]){display:none}.appointment-action-control>.button{flex:1;min-width:0;white-space:normal}.appointment-action-control>.help-trigger{flex:none}.schedule-field>span>.help-trigger{vertical-align:middle;margin-left:4px}.schedule-tools>.help-trigger,.schedule-setup .help-trigger{flex:none;align-self:center}.schedule-column-title .button{white-space:normal}@media(max-width:600px){.has-scheduling .appointment-detail-dialog .appointment-detail-actions{grid-template-columns:minmax(0,1fr)}}

/* R174: one visual language for the agenda, installed equipment and initial shifts. */
.has-scheduling .appointment-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 16px;margin:0 0 12px}
.has-scheduling .appointment-toolbar .field--grow{flex:1 1 180px;max-width:320px}
.has-scheduling .appointment-month-field{flex:none;display:flex;align-items:center;gap:12px}
.has-scheduling .appointment-toolbar .appointment-toolbar-label{display:none}
.has-scheduling .schedule-search-disclosure{margin-left:auto;flex:0 1 410px;min-width:220px}
.has-scheduling .schedule-search-disclosure>summary{padding:6px 0;text-align:right}
.schedule-workspace{margin-top:0}
.schedule-controls{margin-bottom:10px;gap:12px}
.schedule-tools{gap:7px}
.schedule-setup{display:block;padding:0;margin:0 0 12px;background:#f7faff}
.schedule-setup>summary{padding:12px 16px;cursor:pointer;color:#244c7c;font-size:13px;font-weight:700}
.schedule-setup>summary>span{font-size:12px;font-weight:400;color:#68809a;margin-left:12px}
.schedule-setup-content{padding:0 16px 14px;border-top:1px solid #e0e8f2}
.schedule-setup-content p{margin:12px 0;color:#657b94;font-size:12px}
.schedule-setup .schedule-setup-actions{display:flex;gap:8px;flex-wrap:wrap}
.schedule-filterbar{gap:14px;padding:14px 16px;border-radius:12px}
.schedule-field{font-size:12px;font-weight:400;color:#5d7697}
.schedule-field input,.schedule-field select{height:42px;border-color:#cbdaf0;border-radius:7px;color:#163e69;background:#f8faff;font-size:13px;font-weight:400}
.schedule-field input:focus,.schedule-field select:focus{outline:2px solid #6b9cff;outline-offset:2px;background:#fff}
.schedule-summary{margin:20px 0 12px}.schedule-summary .eyebrow{font-size:10px;letter-spacing:.08em}.schedule-summary h3{font-size:20px}
.schedule-period-tabs{display:flex;gap:4px;border-bottom:1px solid #d4e1f1;margin-top:8px}
.schedule-period-tabs .button{border:0;border-radius:7px 7px 0 0;background:transparent;box-shadow:none;color:#607791;padding:9px 15px}
.schedule-period-tabs [aria-pressed=true]{background:#e8f1ff;border-bottom:3px solid #3275c5;color:#15477e}
.schedule-cancelled{margin-top:10px;min-height:180px;padding:16px;background:#fff}
.schedule-cancelled>div{padding-top:0}
.schedule-cancelled[hidden]{display:none!important}
.schedule-editor-card h4,.schedule-uninstalled h4{margin:14px 0 6px;color:#214871;font-size:14px}
.schedule-services-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:12px 0 20px}
.schedule-services-checks .schedule-check{align-items:flex-start;margin:4px 0;flex-wrap:wrap;gap:5px}
.schedule-services-checks input{flex:none;margin-top:2px}
.schedule-services-checks small{color:#61758e;font-size:11px;font-weight:400}
.schedule-shift-tools{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;flex-wrap:wrap;margin-top:14px}
.schedule-advanced{flex:0 1 320px;font-size:12px;color:#486789}.schedule-advanced summary{cursor:pointer;padding:8px 0}
.schedule-advanced .schedule-field{margin-top:10px}
.schedule-incomplete{padding:10px 12px;border-left:3px solid #d69425;background:#fff8e8;color:#795214;font-size:12px}
.schedule-room-card{padding:18px;border:1px solid #d5e2f2;border-radius:12px;margin:0 0 18px;background:#fff}
.schedule-room-card legend{padding:0 7px;font-weight:700;font-size:16px;color:#214871}
.schedule-room-card>.schedule-resource-row{border:0;padding:0;margin-bottom:10px}
.schedule-room-card .schedule-resource-row>.schedule-field{flex:1}
.schedule-installed-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin-bottom:14px}
.schedule-installed-checks .schedule-check{padding:12px;margin:0;border:1px solid #d9e4f3;border-radius:8px;background:#f8faff;align-items:flex-start}
.schedule-installed-checks .schedule-check:has(input:checked){border-color:#7ea7da;background:#eef5ff}
.schedule-installed-checks input{flex:none;margin-top:3px}.schedule-installed-checks span{overflow-wrap:anywhere}.schedule-installed-checks small{display:block;color:#687e98;font-size:11px;margin-top:3px}
.schedule-device-identification{margin:10px 0 14px}.schedule-device-identification>summary{font-size:12px;color:#416990;cursor:pointer;padding:8px 0}
.schedule-device-editor{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr) auto;gap:12px;align-items:end;margin:12px 0}
.schedule-device-editor .schedule-field{min-width:0}.schedule-device-editor .schedule-check{margin-bottom:10px}
.schedule-uninstalled{padding:14px 18px;background:#fff9eb;border:1px solid #ecd8a9;border-radius:10px;margin-top:18px}
.schedule-uninstalled .schedule-help{color:#795e35}
.schedule-exception-actions{display:flex;gap:8px;flex-wrap:wrap}
.schedule-config-dialog form{padding:24px;background:#f8faff}.schedule-dialog-header{padding-bottom:5px}.schedule-editor-card{background:#fff;padding:18px}
.schedule-exception-row{background:#fff}.schedule-config-footer{background:#f8faff}
.schedule-field>.help-trigger{align-self:flex-start}
@media(max-width:750px){.has-scheduling .appointment-month-field{width:auto}.has-scheduling .schedule-search-disclosure{margin-left:0;min-width:0;flex:1 1 160px}.has-scheduling .schedule-search-disclosure>summary{text-align:left;font-size:12px}.schedule-setup>summary>span{display:block;margin:4px 0 0 15px}.schedule-summary h3{font-size:17px}.schedule-summary{margin-top:14px}.schedule-config-dialog form{padding:16px}.schedule-services-checks{grid-template-columns:1fr}.schedule-room-card{padding:12px}.schedule-installed-checks{grid-template-columns:1fr}.schedule-device-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.schedule-device-editor>.schedule-field:first-child{grid-column:1 / -1}.schedule-device-editor .schedule-check{margin-bottom:8px}.schedule-room-card .button{white-space:normal}.schedule-uninstalled{padding:10px 12px}.schedule-shift-tools{gap:8px}.schedule-advanced{flex:1 1 100%}.schedule-config-dialog .schedule-hours-row{grid-template-columns:minmax(62px,1.15fr) minmax(67px,1fr) 10px minmax(67px,1fr) 26px;gap:3px}.schedule-config-dialog .schedule-hours-row input{padding:3px;font-size:10px}.schedule-config-dialog .schedule-hours-row select{font-size:10px;padding:3px}.schedule-config-dialog .schedule-hours-row button{padding:3px;min-width:0}.schedule-config-dialog .schedule-field{min-width:0}.schedule-filterbar{padding:12px;gap:12px}.schedule-tools #schedule-print{display:inline-flex}}

.has-scheduling .section-heading__actions>.schedule-setup{position:relative;align-self:center;margin:0;background:#fff;flex:0 0 auto;border-color:#bfd3ef;z-index:8}
.has-scheduling .section-heading__actions>.schedule-setup>summary{padding:10px 14px;white-space:nowrap;font-size:12px}
.has-scheduling .section-heading__actions>.schedule-setup>.schedule-setup-content{position:absolute;right:0;top:calc(100% + 8px);width:350px;max-width:calc(100vw - 36px);padding:0 16px 16px;background:#fff;border:1px solid #cbdaf0;border-radius:12px;box-shadow:0 14px 35px #14325524}
.has-scheduling .schedule-setup-actions>.button{flex:1 1 100%}
.has-scheduling .appointment-toolbar{gap:12px}
.has-scheduling .appointment-toolbar .schedule-views{flex:none}
.has-scheduling .appointment-toolbar .schedule-tools{margin-left:auto;gap:6px}
.has-scheduling .appointment-toolbar .schedule-tools .button{white-space:nowrap}
.has-scheduling .appointment-toolbar .schedule-search-disclosure{flex:1 1 100%;margin-left:0;min-width:0;border-top:1px solid #e4ebf5;padding-top:4px}
.has-scheduling .appointment-toolbar .schedule-search-disclosure>summary{padding:3px 0;font-size:11px;text-align:left}
.has-scheduling .appointment-toolbar .schedule-search-disclosure[open]{padding-top:8px}
.has-scheduling .appointment-toolbar .appointment-month-controls{gap:6px}
.has-scheduling .appointment-toolbar .appointment-month-controls .button{padding-inline:12px}
@media(max-width:750px){.has-scheduling .appointment-toolbar{gap:10px}.has-scheduling .appointment-toolbar .schedule-views{order:2;width:100%;flex-wrap:nowrap}.has-scheduling .appointment-toolbar .schedule-tools{order:3;margin-left:0;width:100%;flex-wrap:wrap}.has-scheduling .appointment-toolbar .schedule-search-disclosure{order:4}.has-scheduling .section-heading__actions{flex-wrap:wrap}.has-scheduling .section-heading__actions>.schedule-setup{flex:1 1 auto}.has-scheduling .section-heading__actions>.schedule-setup>.schedule-setup-content{right:0;width:280px;max-width:calc(100vw - 48px)}}

.schedule-setup-action{display:flex;gap:8px;align-items:center;width:100%;min-width:0}.schedule-setup-action>.button{flex:1;min-width:0}.schedule-setup-action>.help-trigger{flex:none}

/* R175: compact agenda menus, with search always visible. */
.agenda-heading-actions{display:flex;align-items:center;gap:7px;margin-left:10px}
.agenda-heading-actions[hidden]{display:none!important}
.agenda-heading-actions .button{min-height:36px;padding:7px 12px;font-size:12px;gap:7px}
#refresh-appointments:before{content:'↻';font-size:18px;line-height:1}
.schedule-dropdown{position:relative;display:flex;align-items:center;gap:7px;min-width:0;z-index:10}
.schedule-dropdown[hidden],.schedule-menu-panel[hidden]{display:none!important}
.has-scheduling .appointment-toolbar .schedule-views{order:0;width:auto;padding:0;background:transparent;border-radius:0;overflow:visible;flex:none;gap:7px;flex-wrap:nowrap}
.schedule-dropdown .schedule-menu-toggle{gap:8px;background:#194b86;color:#fff;border:1px solid #194b86;white-space:nowrap;box-shadow:0 3px 9px #173d6614}
.schedule-dropdown .schedule-menu-toggle:hover{background:#123e73;color:#fff}
.schedule-dropdown .schedule-menu-toggle[aria-expanded=true]{background:#123e73;color:#fff;box-shadow:0 0 0 3px #2f6fc629}
.schedule-menu-icon{width:17px;height:17px;flex:none}
.schedule-menu-chevron{width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0 4px;flex:none}
.schedule-menu-panel{position:absolute;left:0;top:calc(100% + 8px);width:235px;max-width:calc(100vw - 48px);padding:7px;background:#fff;border:1px solid #c6d8ef;border-radius:11px;box-shadow:0 12px 32px #12355a28;z-index:30;display:flex;flex-direction:column;gap:3px}
.schedule-menu-panel .button{justify-content:flex-start;gap:9px;width:100%;min-width:0;min-height:38px;height:auto;padding:9px 10px;border:0;box-shadow:none;background:#fff;color:#234f81;font-size:12px;text-align:left}
.schedule-menu-panel .button:hover,.schedule-menu-panel .button:focus-visible{background:#edf4ff;color:#184d91}
.schedule-menu-panel [aria-checked=true]{background:#e7f0ff;color:#154b91;font-weight:750}
.schedule-menu-panel [aria-checked=true]:after{content:'✓';margin-left:auto;color:#1f61ac;font-size:16px}
.schedule-menu-panel .button:focus-visible,.schedule-menu-toggle:focus-visible{outline:2px solid #548ed7;outline-offset:1px}
.schedule-menu-entry{display:flex;align-items:center;gap:5px;min-width:0}
.schedule-menu-entry>.button{flex:1}
.schedule-menu-entry>.help-trigger{flex:none;margin:0 2px}
.has-scheduling .section-heading__actions{gap:10px}
.has-scheduling .section-heading__actions>.schedule-action-menu{flex:none}
.has-scheduling .section-heading__actions .schedule-tools{gap:6px}
.has-scheduling .section-heading__actions>.schedule-setup{z-index:9}
.has-scheduling .appointment-toolbar{align-items:flex-end;gap:14px}
.has-scheduling .appointment-toolbar .appointment-month-field,.has-scheduling .appointment-toolbar .schedule-views{align-self:flex-end;margin-bottom:0}
.has-scheduling .appointment-toolbar .appointment-search{flex:1 1 290px;max-width:590px;margin-left:auto;gap:6px;order:0}
.has-scheduling .appointment-toolbar .appointment-search__row{flex-direction:row;align-items:center;gap:7px}
.has-scheduling .appointment-toolbar .appointment-search__row input{min-width:0;min-height:36px;height:36px;font-size:13px}
.has-scheduling .appointment-toolbar .appointment-search__row .button{flex:none;width:auto;min-width:0;font-size:12px;padding:8px 12px}
.has-scheduling .appointment-toolbar .appointment-search>.field-label-row label,.has-scheduling .appointment-toolbar .appointment-search>label{font-size:12px;color:#315578;font-weight:700}
.has-scheduling .appointment-toolbar #appointment-search-results{height:auto;min-height:36px;font-size:12px}
@media(max-width:750px){.workspace>.topbar{gap:8px;flex-wrap:wrap}.agenda-heading-actions{margin-left:0}.agenda-heading-actions .button{padding:7px 9px;font-size:11px}.has-scheduling>.section-heading{align-items:stretch}.has-scheduling .section-heading__actions{width:100%;justify-content:flex-start;gap:8px}.has-scheduling .section-heading__actions>.schedule-setup{flex:0 0 auto}.has-scheduling .appointment-toolbar{gap:12px;padding:12px}.has-scheduling .appointment-toolbar .schedule-views{order:0;width:auto;flex-wrap:nowrap;flex:1 0 auto;justify-content:flex-end}.has-scheduling .appointment-toolbar .schedule-views .schedule-menu-panel{left:auto;right:0}.has-scheduling .appointment-toolbar .appointment-search{order:1;flex:1 1 100%;max-width:none;margin:0}.has-scheduling .section-heading__actions .schedule-tools{width:auto;margin:0}.has-scheduling .section-heading__actions>.schedule-setup>.schedule-setup-content{left:0;right:auto;width:280px;max-width:calc(100vw - 48px)}}
@media(max-width:390px){.has-scheduling .appointment-toolbar{gap:8px}.has-scheduling .appointment-toolbar .appointment-month-controls{gap:4px}.has-scheduling .appointment-toolbar .appointment-month-controls .button{padding-inline:10px}.has-scheduling .appointment-toolbar .schedule-views .schedule-menu-toggle{padding-inline:10px;gap:6px}.has-scheduling .appointment-toolbar .schedule-views{gap:0}.has-scheduling .appointment-toolbar .appointment-search__row{flex-wrap:wrap}.has-scheduling .appointment-toolbar .appointment-search__row input{flex:1 1 145px}.has-scheduling .appointment-toolbar .appointment-search__row #appointment-search-clear{margin-left:auto}}

#schedule-print[hidden]+.help-trigger{display:none!important}

.schedule-dropdown:has(>[data-menu-toggle][aria-expanded=true]){z-index:40}

/* R176: navigation, date and search share one compact row; every room stays selectable. */
.has-scheduling .appointment-toolbar{gap:12px;margin-bottom:0;padding:12px 14px;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none}
.has-scheduling .appointment-toolbar .schedule-navigation-date{flex:0 0 165px;min-width:0;align-self:flex-end}
.has-scheduling .appointment-toolbar .schedule-navigation-date input{height:36px;background:#fff;font-size:13px}
.has-scheduling .appointment-toolbar .appointment-search{max-width:590px;flex:1 1 260px}
.has-scheduling .appointment-toolbar .appointment-search__row{flex-wrap:nowrap}
.has-scheduling .schedule-filterbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:0;border-top-left-radius:0;border-top-right-radius:0;padding:11px 14px 13px}
.has-scheduling .schedule-filterbar .schedule-field{min-width:0;gap:5px}
.has-scheduling .schedule-filterbar select{height:36px;background:#fff;font-size:13px;padding:7px 9px}
.schedule-summary{margin:12px 0 8px;gap:10px}
.schedule-date-summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.schedule-date-summary h3{font-size:18px;margin:0}
.schedule-timezone{font-size:10px;color:#6b8097}
.schedule-counts{gap:6px}
.schedule-counts>span{padding:4px 8px;font-size:11px}
.schedule-counts b{font-size:16px}
.schedule-counts>.help-trigger{margin:0}
.schedule-counts>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.schedule-counts>span>.help-trigger{margin:0 0 0 3px}
.schedule-menu-panel{overflow-y:auto;overscroll-behavior:contain}
.schedule-menu-panel.schedule-menu-panel--above{top:auto;bottom:calc(100% + 8px)}
.schedule-period-tabs{margin-top:5px;align-items:center}
.schedule-period-tabs>.help-trigger{margin-right:7px}
#agenda-primary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
#agenda-primary-actions .button,#agenda-primary-actions .schedule-setup>summary{min-height:36px;font-size:12px;padding:8px 12px}
#agenda-primary-actions .schedule-tools{display:flex;gap:6px;flex-wrap:nowrap}
#agenda-primary-actions .schedule-setup{position:relative;flex:0 0 auto;margin:0;border-radius:8px;border:1px solid #c6d8ef;background:#fff;z-index:9}
#agenda-primary-actions .schedule-setup>summary{display:flex;align-items:center;gap:6px;white-space:nowrap}
#agenda-primary-actions .schedule-setup>summary:before{content:'▸';font-size:11px}
#agenda-primary-actions .schedule-setup[open]>summary:before{content:'▾'}
#agenda-primary-actions .schedule-setup[open]{z-index:40}
#agenda-primary-actions .schedule-setup>.schedule-setup-content{position:absolute;top:calc(100% + 8px);right:0;width:340px;max-width:calc(100vw - 32px);padding:12px;background:#fff;border:1px solid #c6d8ef;border-radius:10px;box-shadow:0 12px 32px #12355a28}
#agenda-primary-actions .schedule-setup-content p{margin:0 0 10px}
#agenda-primary-actions .schedule-menu-panel{left:auto;right:0}
#agenda-primary-actions[hidden]{display:none!important}
@media(max-width:1000px){.has-scheduling .appointment-toolbar .appointment-search{flex-basis:270px}.has-scheduling .appointment-toolbar .schedule-navigation-date{flex-basis:154px}.schedule-date-summary{gap:6px}}
@media(max-width:750px){.has-scheduling .appointment-toolbar{gap:10px;padding:12px}.has-scheduling .appointment-toolbar .schedule-navigation-date{flex:1 1 100%;max-width:none}.has-scheduling .appointment-toolbar .schedule-views{flex:1 1 auto;width:auto}.has-scheduling .appointment-toolbar .appointment-search{order:1;flex-basis:100%;margin:0}.has-scheduling .schedule-filterbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 12px 12px}.schedule-date-summary{align-items:center;gap:5px;flex-wrap:wrap}.schedule-date-summary h3{font-size:16px}.schedule-summary{margin:12px 0 6px}.schedule-counts{gap:4px}.schedule-counts>span{padding:4px 6px;font-size:10px}.schedule-counts b{font-size:14px}.schedule-period-tabs .button{padding:8px;font-size:11px}#agenda-primary-actions{width:100%;margin:0;gap:7px}#agenda-primary-actions .schedule-setup>.schedule-setup-content{left:auto;right:-36px;width:280px}#agenda-primary-actions .button,#agenda-primary-actions .schedule-setup>summary{font-size:11px;padding:8px 9px}#agenda-primary-actions .schedule-action-menu .schedule-menu-panel{left:0;right:auto}}
@media(max-width:390px){.has-scheduling .appointment-toolbar .appointment-search__row{flex-wrap:wrap}.has-scheduling .appointment-toolbar .appointment-search__row input{flex:1 1 140px}.has-scheduling .schedule-filterbar select{font-size:12px}.schedule-timezone{font-size:9px}.schedule-summary{align-items:flex-start;flex-direction:column}.schedule-period-tabs{gap:1px}.schedule-period-tabs>.help-trigger{margin-right:1px}}

/* R177: keep the task, the next choice and its result together. */
.appointment-dialog{width:min(820px,calc(100vw - 28px))}
.appointment-flow-section{padding:16px;border:1px solid #d6e3f3;border-radius:12px;background:#fff;min-width:0}
.appointment-flow-section h3{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:16px;color:#173f6c;line-height:1.4}
.appointment-flow-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;border-radius:50%;background:#e8f1ff;color:#205ea9;font-size:13px;font-weight:700}
.appointment-flow-hint{margin:5px 0 12px;color:#526f8f;font-size:12px;line-height:1.5}
.appointment-flow-section>.appointment-flow-hint:last-child{margin-bottom:0}
.appointment-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.appointment-flow-grid .field,.appointment-flow-section .field{min-width:0}
.appointment-flow-section .lia-field-grid{margin:0}
.appointment-flow-section input,.appointment-flow-section select{min-width:0}
.appointment-flow-section .form-stack{gap:12px}
.appointment-dialog #appointment-dialog-description{margin-bottom:18px}
.appointment-dialog .form-stack{gap:14px}
.appointment-dialog #appointment-patient-fields{display:block}
.appointment-dialog #appointment-patient-fields>.field{margin-bottom:12px}
.appointment-dialog .appointment-flow-section h3{margin:0 0 10px}
.appointment-dialog .appointment-flow-hint{margin:4px 0 10px;font-size:12px}
.appointment-dialog .confirm-dialog__close+.help-trigger{position:absolute;top:25px;right:72px;margin:0}
.appointment-flow-review{background:#f7faff}
.appointment-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0}
.appointment-review-grid>div{min-width:0}
.appointment-review-grid dt{color:#5e7794;font-size:11px;margin-bottom:4px}
.appointment-review-grid dd{margin:0;color:#1c436f;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.appointment-review-grid>div:first-child{grid-column:1/-1}
.appointment-review-grid+.appointment-flow-hint{margin-top:13px;padding-top:10px;border-top:1px solid #dbe6f3}
.appointment-optional{border:1px solid #d9e4f3;border-radius:10px;padding:12px 15px;background:#fff}
.appointment-optional>summary{cursor:pointer;color:#315d8f;font-size:13px;font-weight:650}
.appointment-optional>summary>span{font-weight:400;color:#647d99}
.appointment-optional>.field{margin-top:12px}
.appointment-dialog .confirm-dialog__actions{align-items:center;gap:12px;flex-wrap:wrap;flex-direction:row}
.appointment-dialog .confirm-dialog__actions>.help-trigger{flex:none}
.appointment-form-action{display:flex;align-items:center;gap:6px;min-width:0}
.appointment-form-action>.help-trigger{flex:none;margin:0}
.appointment-form-action>.button{min-width:0}
.appointment-dialog [hidden]{display:none!important}
.appointment-next-action{padding:12px 14px;margin:0 0 16px;background:#edf5ff;border-left:3px solid #3476c6;border-radius:6px}
.appointment-next-action strong{font-size:13px;color:#214e7d}.appointment-next-action p{margin:5px 0 0;font-size:13px;line-height:1.5;color:#466588}
.appointment-detail-list dt{display:inline-flex;align-items:center;gap:4px}.appointment-detail-list dt>.help-trigger{margin:0;flex:none}
.schedule-panel-intro{padding:12px 15px;margin:0 0 16px;background:#f1f6ff;border-left:3px solid #3476c6;border-radius:5px}
.schedule-editor-card,.schedule-room-card,.schedule-exception-row{min-inline-size:0;max-width:100%}
.schedule-editor-card legend,.schedule-room-card legend{max-width:100%;overflow-wrap:anywhere}
.schedule-shift-tools .schedule-advanced{min-width:0;max-width:100%}
.schedule-panel-intro h3{margin:0 0 5px;font-size:15px;color:#224e7e}
.schedule-panel-intro p,.schedule-save-result,.schedule-exception-effect{margin:0;font-size:12px;line-height:1.6;color:#56728f}
.schedule-save-result{flex-basis:100%;margin-bottom:2px}
.schedule-hours-row{grid-template-columns:minmax(100px,1.25fr) minmax(95px,1fr) minmax(95px,1fr) auto;align-items:end;gap:12px;padding:10px;background:#f8faff;border-radius:8px}
.schedule-hours-row .schedule-field{min-width:0}
.schedule-hours-row .schedule-field>span{display:flex;align-items:center;gap:4px}
.schedule-hours-row .schedule-field>span>.help-trigger{margin:0;flex:none}
.schedule-row-action{display:flex;align-items:center;gap:5px;align-self:end;min-height:39px}
.schedule-row-action>.help-trigger{flex:none;margin:0}
.schedule-close-action{align-self:flex-start;margin-top:0;flex:none}
@media(max-width:420px){.schedule-add-professional>.schedule-field{flex-basis:100%}.schedule-add-professional{gap:8px}.schedule-add-professional>#schedule-add-professional{flex:1}.schedule-dialog-header h2{font-size:18px}.schedule-dialog-header p{font-size:12px}}
.schedule-exception-row legend{font-size:14px;color:#244f7d;font-weight:700;padding:0 6px}
.schedule-exception-effect{grid-column:1/-1;padding-top:5px}
.schedule-editor-tabs>.help-trigger{align-self:center;margin-right:8px}
.schedule-config-footer>.help-trigger{align-self:center;margin-left:-7px}
.schedule-config-dialog .schedule-check:has(>.field-label-row){flex-wrap:wrap}
@media(max-width:650px){.schedule-hours-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.schedule-hours-row>.schedule-row-action{grid-column:1/-1;justify-content:flex-end}.schedule-hours-row input,.schedule-hours-row select{font-size:12px;padding:6px}.schedule-editor-tabs{gap:6px;margin-top:15px}.schedule-editor-tabs>.button{flex:1 1 calc(100% - 45px);white-space:normal;text-align:left}.schedule-editor-tabs>.help-trigger{margin-right:0}.schedule-panel-intro{padding:10px 12px}.appointment-flow-section{padding:13px}.appointment-flow-section h3{font-size:15px}.appointment-flow-grid{gap:12px}.appointment-dialog .confirm-dialog__actions>.appointment-form-action{flex:1 1 100%}.appointment-form-action>.button{flex:1}.appointment-form-action--primary{order:-1}}
@media(max-width:420px){.appointment-flow-grid,.appointment-review-grid{grid-template-columns:minmax(0,1fr)}.appointment-flow-section{padding:12px}.appointment-flow-section .lia-field-grid{grid-template-columns:minmax(0,1fr)}.schedule-hours-row{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-hours-row>.schedule-field:first-child{grid-column:1/-1}.schedule-exception-row{grid-template-columns:minmax(0,1fr)}.schedule-counts{flex-wrap:wrap}}

/* R178: the approved agenda and appointment composition, with live data. */
.appointment-dialog{width:min(900px,calc(100vw - 32px));padding:28px;border-radius:16px;color:#123766}
.appointment-dialog h2{font-size:30px;line-height:1.2;letter-spacing:-.025em;color:#092f64;padding-right:38px}
.appointment-dialog form>#appointment-dialog-description{margin:8px 48px 24px 0;font-size:18px;line-height:1.4;color:#557298}
.appointment-dialog .confirm-dialog__close{top:-7px;right:-7px;width:38px;height:38px;font-size:32px;font-weight:300;border:0;background:transparent;box-shadow:none;color:#6681a6}
.appointment-dialog .form-stack{gap:0}
.appointment-dialog .appointment-flow-section{padding:0 0 24px;margin:0 0 20px;border:0;border-bottom:1px solid #cbdcf2;border-radius:0;background:transparent}
.appointment-dialog .appointment-flow-section h3{gap:16px;margin:0 0 14px;font-size:24px;line-height:1.35;font-weight:700;color:#0c3267}
.appointment-flow-number{width:40px;height:40px;font-size:22px;font-weight:600;background:#0b5be7;color:#fff;border:1px solid #0758df;box-shadow:0 2px 3px #124ba50d}
.appointment-dialog .appointment-flow-section h3>.help-trigger{margin-left:0}
.appointment-dialog .appointment-flow-grid{gap:18px 32px}
.appointment-dialog .field{gap:7px}
.appointment-dialog .field-label-row{gap:5px;align-items:center}
.appointment-dialog .field label{font-size:16px;font-weight:400;color:#123a70}
.appointment-dialog .field input,.appointment-dialog .field select{height:48px;padding:9px 15px;font-size:17px;line-height:1.35;border:1px solid #bdd3f2;border-radius:9px;background:#fff;color:#214573}
.appointment-dialog .field small{font-size:13px;line-height:1.5}
.appointment-dialog #appointment-patient-search-field{margin:0 0 15px}
.appointment-dialog #appointment-patient-new-fields{gap:16px 32px;margin:0 0 12px}
.appointment-selected-patient,.appointment-review-card{display:flex;align-items:center;gap:22px;background:linear-gradient(105deg,#edf5ff,#edf4fd);border:1px solid #d6e6fb;border-radius:11px;padding:12px 16px;min-height:88px;min-width:0}
.appointment-card-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#dceaff;color:#0060ee;flex:none}
.appointment-card-icon svg{width:28px;height:28px}
.appointment-card-copy{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.appointment-card-copy strong{font-size:20px;line-height:1.35;color:#093575;overflow-wrap:anywhere}
.appointment-card-copy>span{font-size:17px;line-height:1.4;color:#5878a5;overflow-wrap:anywhere}
.appointment-selected-patient .button{flex:none;min-height:48px;padding:10px 22px;color:#075be3;font-size:16px;border:1px solid #8faff3;background:#fff;border-radius:10px}
.appointment-patient-change-action>.help-trigger{margin-left:-16px;flex:none}
.appointment-dialog .appointment-new-patient-link{display:inline-flex;align-items:center;gap:10px;margin-top:5px;padding:9px 2px;min-height:40px;font-size:17px;font-weight:400;border:0;background:transparent;color:#0060ef;box-shadow:none;border-radius:5px}
.appointment-new-patient-link>span{font-size:23px;line-height:1}
.appointment-new-patient-link+.help-trigger{margin-left:6px}
.appointment-room-preview{display:flex;align-items:center;gap:14px;min-height:52px;margin-top:15px;padding:12px 16px;border:1px solid #d8e5fa;border-radius:10px;background:#edf4fd;color:#164875;font-size:16px}
.appointment-room-preview>svg{width:23px;height:23px;flex:none;color:#0057d7}
.appointment-room-preview>.help-trigger{margin-left:0;flex:none}
.appointment-dialog .appointment-optional{margin:10px 0 0;padding:8px 0 0;border:0;border-radius:0;background:transparent}
.appointment-dialog .appointment-optional>summary{padding:5px 6px;color:#005ce6;font-size:17px;font-weight:400}
.appointment-dialog .appointment-flow-review{margin-bottom:0;padding-bottom:16px;border-bottom:0}
.appointment-review-card{min-height:86px;background:linear-gradient(105deg,#e8f2ff,#e3efff);padding:12px 16px}
.appointment-review-card .appointment-card-copy strong{font-size:17px}
.appointment-review-card .appointment-card-copy>span{font-size:16px}
.appointment-dialog .appointment-flow-hint{font-size:13px;margin:10px 0 0}
.appointment-dialog .confirm-dialog__actions{justify-content:space-between;margin:0 -28px -28px;padding:14px 26px 18px;border-top:1px solid #dce7f4;gap:12px}
.appointment-dialog .confirm-dialog__actions .button{min-height:48px;padding:11px 26px;font-size:16px;border-radius:9px}
.appointment-dialog #appointment-submit{min-width:276px;background:#0b5ce8}
.appointment-dialog .appointment-form-action--primary{margin-left:auto}
.appointment-dialog .appointment-form-action{gap:5px}
.appointment-dialog .appointment-form-action>.help-trigger{width:20px;height:20px;min-width:20px}
.has-scheduling .appointment-toolbar{padding:22px 24px 20px;gap:20px;align-items:center}
.has-scheduling .appointment-toolbar .appointment-month-controls{gap:12px}
.has-scheduling .appointment-toolbar .appointment-month-controls .button{height:50px;min-width:50px;padding:10px 17px;font-size:18px}
.has-scheduling .appointment-toolbar .schedule-views .schedule-menu-toggle{height:50px;min-width:138px;padding:12px 18px;font-size:18px}
.has-scheduling .appointment-toolbar .schedule-menu-icon{width:23px;height:23px}
.has-scheduling .appointment-toolbar .schedule-views{margin-right:16px}
.has-scheduling .appointment-toolbar .schedule-navigation-date{align-self:stretch;justify-content:center;flex:0 0 21%;padding:0 30px;border-left:1px solid #cdddf1;border-right:1px solid #cdddf1}
.has-scheduling .appointment-toolbar .schedule-navigation-date input{height:50px;font-size:18px;padding:10px 14px}
.has-scheduling .appointment-toolbar .schedule-navigation-date>span{font-size:17px;font-weight:400}
.has-scheduling .appointment-toolbar .appointment-search{align-self:center;flex:1 1 270px;max-width:none;margin-left:12px;gap:8px}
.has-scheduling .appointment-toolbar .appointment-search>.field-label-row label{font-size:17px}
.has-scheduling .appointment-toolbar .appointment-search__row{gap:12px}
.has-scheduling .appointment-toolbar .appointment-search__row input{height:50px;font-size:17px;padding:10px 15px}
.has-scheduling .appointment-toolbar .appointment-search__row .button{height:50px;font-size:17px;padding:11px 20px}
.has-scheduling .schedule-filterbar{padding:20px 24px 22px;gap:40px;position:relative}
.has-scheduling .schedule-filterbar:before{content:'';position:absolute;top:0;left:24px;right:24px;height:1px;background:#dce7f4}
.has-scheduling .schedule-filterbar .schedule-field{gap:9px;font-size:17px;font-weight:400}
.has-scheduling .schedule-filterbar select{height:54px;font-size:18px;padding:10px 15px;border-radius:9px}
.schedule-summary{margin:30px 0 22px}
.schedule-date-summary{gap:20px;align-items:center}
.schedule-date-summary h3{font-size:30px;line-height:1.3;text-transform:none}
.schedule-timezone{font-size:18px;border-left:1px solid #c9dbee;padding-left:20px}
.schedule-counts{gap:0}
.schedule-counts>span{border:0;border-radius:0;background:transparent;padding:0 20px;font-size:17px;gap:6px}
.schedule-counts>span+span{border-left:1px solid #cdddef}
.schedule-counts b{font-size:27px}
.schedule-counts .help-trigger{width:18px;height:18px;min-width:18px;font-size:11px}
.schedule-period-tabs{margin-top:0;margin-bottom:18px;gap:6px}
.schedule-period-tabs>.button{font-size:18px;padding:13px 23px;min-height:52px}
.schedule-board{border-radius:13px}
.schedule-grid th{font-size:18px;padding:13px 16px}
.schedule-grid td.schedule-time{font-size:17px}
.schedule-panel-intro{background:transparent;border-left:0;padding:0 0 15px;border-bottom:1px solid #d6e3f3;border-radius:0}
.schedule-panel-intro h3{display:flex;align-items:center;gap:12px;font-size:21px;color:#123b6c}
.schedule-panel-intro h3 .appointment-flow-number{width:34px;height:34px;font-size:19px}
.schedule-config-dialog .schedule-dialog-header h2{font-size:28px}
.schedule-config-dialog .schedule-dialog-header .eyebrow{display:none}
.schedule-config-dialog .schedule-save-result{font-size:14px;color:#315b86}
.schedule-save-title{display:flex;align-items:center;gap:12px;flex-basis:100%;margin:0;color:#123b6c;font-size:21px}.schedule-save-title .appointment-flow-number{width:34px;height:34px;font-size:19px}
.schedule-shift-action{display:inline-flex;align-items:center;gap:7px;min-width:0}.schedule-shift-action>.help-trigger{flex:none;margin:0}
body[data-current-view="appointments"] .topbar{background:transparent;border:0;min-height:80px;padding-block:12px}
body[data-current-view="appointments"] .content{padding-top:0}
body[data-current-view="appointments"] .agenda-heading-actions .button{height:48px;font-size:17px;padding:11px 18px}
body[data-current-view="appointments"] #agenda-primary-actions .button,body[data-current-view="appointments"] #agenda-primary-actions .schedule-setup>summary{min-height:50px;font-size:17px;padding:12px 18px;gap:10px}
body[data-current-view="appointments"] #agenda-primary-actions{gap:14px}
body[data-current-view="appointments"] #agenda-primary-actions .schedule-menu-panel .button,body[data-current-view="appointments"] #agenda-primary-actions .schedule-setup-content .button{font-size:14px;min-height:40px;padding:9px 12px}
#schedule-status[data-passive="true"]{display:none}
.appointment-patient-change-action{display:flex;align-items:center;gap:7px;flex:none;min-width:0}
.appointment-patient-change-action>.help-trigger{margin:0;flex:none}
.schedule-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#164b85;line-height:0}
.schedule-search-icon .schedule-menu-icon{width:23px;height:23px}
.has-scheduling .appointment-search__row{position:relative}
.has-scheduling .appointment-toolbar .appointment-search__row #appointment-search{padding-left:50px}
#agenda-primary-actions .schedule-setup>summary:before{display:none}
#agenda-primary-actions .schedule-setup>summary .schedule-menu-icon,#schedule-print .schedule-menu-icon{width:21px;height:21px;flex:none}
#schedule-print{display:inline-flex;align-items:center;gap:9px}
#appointment-dialog .field :is(input,select){font-family:inherit;font-size:17px;padding:9px 15px;border-radius:9px}
#appointments-section .schedule-filterbar select,#appointments-section .schedule-navigation-date input{font-size:18px;border-radius:9px;padding:10px 15px}
.schedule-column-title{font-size:18px;padding:14px 16px;border-bottom:0}
.schedule-time-axis span{font-size:17px;left:24px;transform:translateY(12px);color:#315582}
.schedule-grid{--schedule-time-width:112px}
.schedule-board{max-height:max(180px,calc(100dvh - 650px))}
@media(max-width:1500px){.has-scheduling .appointment-toolbar{gap:12px;padding:18px}.has-scheduling .appointment-toolbar .schedule-views{margin-right:0}.has-scheduling .appointment-toolbar .schedule-navigation-date{padding:0 18px;flex-basis:21%}.has-scheduling .appointment-toolbar .appointment-month-controls{gap:7px}.has-scheduling .appointment-toolbar .appointment-month-controls .button{min-width:43px;padding-inline:12px}.has-scheduling .appointment-toolbar .schedule-views .schedule-menu-toggle{min-width:112px;padding-inline:12px}.schedule-date-summary h3{font-size:25px}.schedule-timezone{font-size:15px}.schedule-counts>span{font-size:14px;padding-inline:12px}.schedule-counts b{font-size:23px}.has-scheduling .schedule-filterbar{gap:24px}}
@media(max-width:1100px){.has-scheduling .appointment-toolbar .appointment-search{flex-basis:100%;margin:0}.has-scheduling .appointment-toolbar .schedule-navigation-date{flex:1;border-right:0}.schedule-summary{flex-wrap:wrap;gap:15px}.schedule-date-summary h3{font-size:23px}.schedule-counts>span:first-child{padding-left:0}.schedule-timezone{font-size:14px}.has-scheduling .schedule-filterbar select{font-size:15px}}
@media(max-width:650px){.appointment-dialog{padding:20px;width:calc(100vw - 24px);border-radius:14px}.appointment-dialog h2{font-size:26px}.appointment-dialog form>#appointment-dialog-description{font-size:16px;margin-bottom:22px}.appointment-dialog .appointment-flow-section h3{font-size:20px;gap:10px}.appointment-flow-number{width:34px;height:34px;font-size:19px}.appointment-dialog .appointment-flow-section{padding-bottom:20px;margin-bottom:20px}.appointment-dialog .appointment-flow-grid{gap:15px}.appointment-dialog .field input,.appointment-dialog .field select{font-size:16px}.appointment-selected-patient{flex-wrap:wrap;gap:12px;padding:12px}.appointment-card-icon{width:46px;height:46px}.appointment-card-copy strong{font-size:17px}.appointment-card-copy>span{font-size:14px}.appointment-selected-patient .button{margin-left:58px;min-height:40px;font-size:14px;padding:8px 14px}.appointment-patient-change-action>.help-trigger{margin-left:-6px}.appointment-dialog .appointment-new-patient-link{font-size:15px}.appointment-review-card{gap:12px;padding:12px}.appointment-review-card .appointment-card-copy strong{font-size:15px}.appointment-review-card .appointment-card-copy>span{font-size:14px}.appointment-dialog .confirm-dialog__actions{margin:0 -20px -20px;padding:14px 16px;gap:12px}.appointment-dialog .confirm-dialog__actions>.appointment-form-action{flex:1 1 100%;order:0}.appointment-dialog .appointment-form-action--primary{margin-left:0}.appointment-dialog .confirm-dialog__actions .button{font-size:15px}.appointment-dialog #appointment-submit{min-width:0}.appointment-dialog .appointment-optional>summary{font-size:15px}.has-scheduling .appointment-toolbar{padding:14px;gap:10px}.has-scheduling .appointment-toolbar .schedule-navigation-date{padding:10px 0 0;border:0;border-top:1px solid #dce7f4;flex-basis:100%}.has-scheduling .appointment-toolbar .schedule-views{flex:1 1 auto;justify-content:flex-end}.has-scheduling .appointment-toolbar .appointment-month-controls{gap:6px}.has-scheduling .appointment-toolbar .appointment-month-controls .button{height:42px;min-width:38px;padding:7px 10px;font-size:15px}.has-scheduling .appointment-toolbar .schedule-views .schedule-menu-toggle{height:42px;min-width:100px;font-size:15px}.has-scheduling .appointment-toolbar .appointment-search>.field-label-row label,.has-scheduling .appointment-toolbar .schedule-navigation-date>span{font-size:14px}.has-scheduling .appointment-toolbar .appointment-search__row input{font-size:14px;height:44px}.has-scheduling .appointment-toolbar .appointment-search__row .button{font-size:14px;height:44px;padding:8px 13px}.has-scheduling .schedule-filterbar{padding:16px 14px;gap:14px}.has-scheduling .schedule-filterbar:before{left:14px;right:14px}.has-scheduling .schedule-filterbar .schedule-field{font-size:14px}.has-scheduling .schedule-filterbar select{font-size:14px;height:46px;padding:8px}.schedule-summary{margin:22px 0 15px}.schedule-date-summary{gap:7px}.schedule-date-summary h3{font-size:22px;flex-basis:100%}.schedule-timezone{padding-left:0;border:0;font-size:13px}.schedule-counts>span{font-size:12px;padding:0 8px}.schedule-counts b{font-size:20px}.schedule-counts .help-trigger{width:16px;height:16px;min-width:16px;font-size:10px}.schedule-period-tabs>.button{font-size:14px;padding:10px 12px;min-height:44px}.schedule-grid th{font-size:15px}}
@media(max-width:420px){.appointment-dialog .appointment-flow-grid{grid-template-columns:minmax(0,1fr)}.appointment-dialog .appointment-flow-section h3{font-size:18px}.appointment-dialog #appointment-patient-new-fields{grid-template-columns:minmax(0,1fr)}.appointment-dialog .appointment-optional>summary{padding-inline:0}.appointment-room-preview{font-size:14px;gap:10px}.schedule-counts>span{font-size:11px;padding-inline:6px}.schedule-config-dialog .schedule-dialog-header h2{font-size:23px}}
@media(max-width:1100px){#appointments-section .schedule-filterbar select{font-size:15px}.schedule-grid{--schedule-time-width:78px}.schedule-time-axis span{left:13px;font-size:15px}}
@media(max-width:650px){#appointment-dialog .field :is(input,select){font-size:16px;padding:9px 12px}#appointments-section .schedule-filterbar select,#appointments-section .schedule-navigation-date input{font-size:14px;padding:8px}.schedule-column-title{font-size:15px;padding:12px 9px}.schedule-grid{--schedule-time-width:60px}.schedule-time-axis span{left:8px;font-size:13px}.schedule-board{max-height:440px}}
@media(max-width:650px){.appointment-selected-patient{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px 12px}.appointment-selected-patient>.appointment-card-copy{grid-column:2;min-width:0}.appointment-patient-change-action{grid-column:2;justify-content:flex-start;gap:5px}.appointment-selected-patient .button{margin-left:0;min-width:0;max-width:calc(100% - 25px);padding:8px 10px;font-size:13px;white-space:normal}.appointment-patient-change-action>.help-trigger{margin:0}.appointment-dialog .appointment-form-action .button{max-width:calc(100% - 25px)}}
@media(max-width:1500px){body[data-current-view="appointments"] #agenda-primary-actions .button,body[data-current-view="appointments"] #agenda-primary-actions .schedule-setup>summary{font-size:14px;padding:10px 13px;min-height:45px}body[data-current-view="appointments"] .agenda-heading-actions .button{height:43px;font-size:14px;padding:10px 13px}}
@media(max-width:650px){body[data-current-view="appointments"] .topbar{padding-block:20px}body[data-current-view="appointments"] #agenda-primary-actions{gap:8px}body[data-current-view="appointments"] #agenda-primary-actions .button,body[data-current-view="appointments"] #agenda-primary-actions .schedule-setup>summary{font-size:13px;min-height:42px;padding:9px 11px;gap:7px}body[data-current-view="appointments"] .agenda-heading-actions{margin-left:0}body[data-current-view="appointments"] .agenda-heading-actions .button{font-size:13px;height:40px;padding:9px 11px}}
