/* Agenda: calendário compacto e acompanhamento ilustrado do dia. */
.agenda-page{container-type:inline-size;color:#173754}
.agenda-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.agenda-heading .eyebrow{font-size:.6875rem;letter-spacing:.12em;color:#5c7591;font-weight:800}.agenda-heading h1{font-size:clamp(1.9rem,2.6vw,2.5rem);letter-spacing:-.055em;line-height:1.15;margin:10px 0 12px;font-weight:800}.agenda-heading p{font-size:.9375rem;line-height:1.7;color:#60758b;margin:0}.agenda-heading>.btn{font-size:.875rem;gap:9px;flex-shrink:0}
.agenda-month-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px 23px;padding:15px 0 21px;margin-bottom:23px;border-bottom:1px solid #dfe7f0;font-size:.8125rem;color:#526f8a;line-height:1.6}.agenda-month-summary>span{display:flex;align-items:center;gap:7px}.agenda-month-summary .agenda-summary-label{font-size:.6875rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#72869a;padding-right:9px}.agenda-month-summary svg{width:17px;height:17px;color:#6488b0}.agenda-month-summary strong{font-weight:800;color:#214565}.agenda-page i.confirmed,.agenda-page i.pending,.agenda-page i.recorded{width:7px;height:7px;display:inline-block;border-radius:50%;background:#3169d7;flex-shrink:0}.agenda-page i.pending{background:#d49b34}.agenda-page i.recorded{background:#62a28a}
.agenda-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.92fr);gap:24px;align-items:start}
.agenda-month-panel{background:#fff;border:1px solid #d9e4ef;border-radius:20px;box-shadow:0 5px 22px #16375c04;overflow:hidden}
.agenda-month-header{padding:23px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px}.agenda-panel-kicker{font-size:.625rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750;color:#7990a6}.agenda-month-header h2{font-size:1.375rem;font-weight:800;letter-spacing:-.035em;line-height:1.4;text-transform:none;margin:5px 0 0;color:#173e60}.agenda-month-controls{display:flex;align-items:center;gap:7px}.agenda-month-controls button{width:44px;min-height:44px;border:1px solid #dbe5f0;background:#fff;color:#587593;border-radius:10px;display:flex;justify-content:center;align-items:center;font-size:.8125rem;font-weight:750;padding:8px;flex-shrink:0}.agenda-month-controls button svg{width:18px;height:18px}.agenda-month-controls .agenda-today{width:auto;min-width:54px;background:#f3f7fd;color:#315c99}.agenda-month-controls button:hover{background:#eaf2ff;border-color:#9dbbe3;color:#244f94}
.agenda-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:13px 17px;background:#f5f8fc;border-top:1px solid #e7edf5;border-bottom:1px solid #e7edf5;color:#69839b;font-size:.6875rem;text-align:center;font-weight:650}.agenda-weekdays span:nth-last-child(-n+2){color:#8798ab}
.agenda-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:13px 17px 17px}.agenda-date{min-width:0;width:100%;min-height:65px;border:1px solid transparent;border-radius:10px;background:#fff;color:#34536d;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:7px 2px;font-size:.875rem;font-weight:650;transition:background .15s,border-color .15s}.agenda-date.has-appointments{background:#f1f6fc;border-color:#e2ebf7}.agenda-date:hover{background:#e9f1ff;border-color:#b4cbea}.agenda-date.is-other-month{color:#96a5b5;background:#fafbfd}.agenda-date.is-today{border-color:#4676d7}.agenda-date.is-today .agenda-date-number{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px;color:#2254b7}.agenda-date.is-selected{background:#255cd9;color:#fff;border-color:#255cd9;box-shadow:0 5px 12px #245bdf1c}.agenda-date.is-selected .agenda-date-number{color:#fff}.agenda-date-number{line-height:1.15;font-variant-numeric:tabular-nums}.agenda-date-space{height:12px}.agenda-date-markers{display:flex;align-items:center;gap:3px;height:12px;max-width:100%}.agenda-date-markers i.confirmed,.agenda-date-markers i.pending,.agenda-date-markers i.recorded{width:5px;height:5px}.agenda-date-markers small{font-size:.5625rem;line-height:1;margin-left:1px;font-weight:800;color:#486482}.agenda-date.is-selected .agenda-date-markers small{color:#fff}.agenda-date.is-selected .agenda-date-markers i{box-shadow:0 0 0 1px #ffffff70}
.agenda-month-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 15px;border-top:1px solid #e3ebf4;padding:16px 18px 8px;font-size:.6875rem;color:#627f97;line-height:1.5}.agenda-month-legend>span{display:flex;align-items:center;gap:6px}.agenda-month-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:.6875rem;color:#6c8198;padding:7px 17px 19px;line-height:1.5}.agenda-month-note svg{width:14px;height:14px;flex-shrink:0}
.agenda-day-panel{min-width:0}.agenda-day-header{display:flex;gap:15px;align-items:center;margin:0 0 20px;min-height:73px}.agenda-day-tile{width:61px;min-width:61px;min-height:70px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#e6eefc;border:1px solid #d5e2f9;color:#285dab;border-radius:15px}.agenda-day-tile strong{font-size:1.8rem;line-height:1;font-weight:800;letter-spacing:-.05em}.agenda-day-tile>span{font-size:.625rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800}.agenda-day-header .eyebrow{font-size:.625rem;font-weight:800;letter-spacing:.11em;color:#647f9d}.agenda-day-header h2{font-size:1.125rem;line-height:1.5;font-weight:800;letter-spacing:-.025em;margin:5px 0}.agenda-day-header p{font-size:.75rem;color:#657e96;margin:0;line-height:1.5}
.agenda-day-list{display:grid;gap:15px}.agenda-appointment{background:#fff;border:1px solid #dce6f0;border-radius:16px;overflow:hidden;box-shadow:0 4px 15px #153c6104}.agenda-appointment-slot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:13px 18px;background:#f7faff;border-bottom:1px solid #e5edf6;color:#6a829c;font-size:.6875rem;line-height:1.5}.agenda-appointment-slot strong{font-size:.9375rem;font-weight:800;color:#285b9b}.agenda-appointment-slot>span,.agenda-appointment-slot strong{display:flex;gap:6px;align-items:center}.agenda-appointment-slot svg{width:15px;height:15px;flex-shrink:0}
.agenda-appointment-main{display:grid;grid-template-columns:86px minmax(0,1fr);gap:15px;padding:19px 18px}.agenda-appointment-main>img{width:86px;height:96px;object-fit:cover;border-radius:11px;background:#eef4f9}.agenda-appointment-protocol{font-size:.625rem;color:#7a8b9f;letter-spacing:.04em;line-height:1.5}.agenda-appointment h3{font-size:1rem;line-height:1.45;font-weight:750;letter-spacing:-.025em;color:#1c405f;margin:5px 0 9px;overflow-wrap:anywhere}.agenda-appointment-main p{font-size:.75rem;line-height:1.5;color:#416784;margin:0 0 5px;display:flex;align-items:center;gap:6px}.agenda-appointment-main p svg{width:14px;height:14px;flex-shrink:0}.agenda-appointment-main p strong{font-weight:650;overflow-wrap:anywhere}.agenda-appointment-main small{font-size:.6875rem;color:#6b8095;line-height:1.6;display:block;overflow-wrap:anywhere}
.agenda-appointment-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px;border-top:1px solid #e6edf5}.agenda-appointment-footer .status{font-size:.625rem;line-height:1.5;white-space:normal;padding:5px 7px;gap:5px;max-width:62%}.agenda-appointment-footer .status>span{flex-shrink:0}.agenda-appointment-footer button{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;gap:5px;background:transparent;color:#2e5fba;font-size:.6875rem;line-height:1.5;font-weight:750;border:0;border-radius:8px;padding:8px;flex-shrink:0}.agenda-appointment-footer button svg{width:15px;height:15px}.agenda-appointment-footer button:hover{background:#edf3ff;color:#1f4c9d}
.agenda-empty{background:#fff;border:1px solid #dae5ef;border-radius:18px;overflow:hidden}.agenda-empty>img{width:100%;height:158px;object-fit:cover;object-position:center 29%;display:block;border-bottom:1px solid #e1eaf3}.agenda-empty>div{padding:22px 23px 24px;position:relative}.agenda-empty-icon{display:grid;place-items:center;width:39px;height:39px;background:#e8f3ef;border:4px solid #fff;border-radius:12px;color:#41866e;margin-top:-43px;margin-bottom:12px;position:relative}.agenda-empty-icon svg{width:18px;height:18px}.agenda-empty h3{font-size:1.1875rem;font-weight:800;line-height:1.4;letter-spacing:-.025em;margin:0 0 9px;color:#234461}.agenda-empty p{font-size:.8125rem;line-height:1.8;color:#647d96;margin:0}
.agenda-next-day{display:grid;grid-template-columns:57px minmax(0,1fr) 18px;gap:12px;align-items:center;text-align:left;width:100%;padding:15px;margin-top:17px;border:1px solid #d7e4f5;border-radius:14px;background:#edf4ff;color:#2c587e;transition:background .18s,border-color .18s}.agenda-next-day:hover{background:#e4edff;border-color:#97b7e4}.agenda-next-day>img{height:68px;width:57px;border-radius:9px;object-fit:cover}.agenda-next-day>span{display:flex;flex-direction:column;gap:5px;min-width:0}.agenda-next-day small{font-size:.625rem;color:#567493;line-height:1.5}.agenda-next-day strong{font-size:.9375rem;font-weight:800;line-height:1.3;color:#244f8e}.agenda-next-day>span>span{font-size:.6875rem;line-height:1.6;color:#557590;overflow-wrap:anywhere}.agenda-next-day>svg{width:18px;height:18px;flex-shrink:0}
.agenda-footnote{display:flex;align-items:flex-start;gap:7px;margin:22px 0 0;font-size:.6875rem;line-height:1.7;color:#6b829b}.agenda-footnote svg{width:15px;height:15px;flex-shrink:0;margin-top:1px}.agenda-page :is(button,a):focus-visible{outline:3px solid #285eda;outline-offset:3px}
@container(max-width:1050px){.agenda-layout{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:19px}.agenda-month-header{padding:20px 18px;gap:8px}.agenda-month-header h2{font-size:1.125rem}.agenda-month-controls{gap:5px}.agenda-month-controls .agenda-today{min-width:48px}.agenda-weekdays{padding:12px}.agenda-month-grid{padding:11px 12px 14px;gap:4px}.agenda-date{min-height:62px}.agenda-day-header{gap:12px}.agenda-day-header h2{font-size:1.0625rem}.agenda-day-tile{width:54px;min-width:54px}.agenda-appointment-main{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:17px 15px}.agenda-appointment-main>img{width:70px;height:91px}.agenda-appointment-footer{padding:7px 11px}.agenda-appointment-footer .status{max-width:58%}}
@container(max-width:780px){.agenda-layout{grid-template-columns:1fr;gap:25px}.agenda-month-header{padding:22px}.agenda-month-header h2{font-size:1.375rem}.agenda-weekdays{padding:13px 18px}.agenda-month-grid{padding:11px 18px 15px;gap:5px}.agenda-date{min-height:56px}.agenda-month-note{padding-bottom:16px}.agenda-day-header{margin-bottom:17px}.agenda-day-list{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-day-header h2{font-size:1.25rem}.agenda-empty{display:grid;grid-template-columns:40% 1fr;align-items:stretch}.agenda-empty>img{height:100%;min-height:170px;border:0}.agenda-empty>div{padding:23px}.agenda-empty-icon{margin:0 0 13px;border:0}.agenda-next-day{grid-template-columns:64px minmax(0,1fr) 18px}.agenda-next-day>img{width:64px;height:66px}.agenda-next-day strong{font-size:1rem}.agenda-next-day small,.agenda-next-day>span>span{font-size:.75rem}.agenda-month-summary{gap:10px 17px;padding-top:0}.agenda-heading p{max-width:450px}.agenda-heading>.btn{font-size:.8125rem}.agenda-appointment-footer{flex-wrap:wrap}.agenda-appointment-footer .status{max-width:100%}.agenda-appointment-footer button{margin-left:auto}}
@container(max-width:550px){.agenda-heading{flex-direction:column;align-items:flex-start;gap:17px;margin-bottom:22px}.agenda-heading h1{font-size:2rem}.agenda-heading p{font-size:.875rem}.agenda-heading>.btn{font-size:.875rem}.agenda-month-summary{font-size:.75rem;gap:9px 16px;padding:0 0 18px;margin-bottom:20px}.agenda-month-summary .agenda-summary-label{flex-basis:100%;font-size:.625rem}.agenda-month-summary>span{gap:5px}.agenda-month-summary svg{width:15px;height:15px}.agenda-month-header{padding:17px 16px;gap:10px;flex-wrap:wrap}.agenda-month-header h2{font-size:1.25rem}.agenda-panel-kicker{font-size:.625rem}.agenda-month-controls{gap:4px}.agenda-month-controls button{border:0;background:#f2f6fc}.agenda-weekdays{padding:11px 9px;font-size:.625rem}.agenda-month-grid{gap:3px;padding:9px 8px 13px}.agenda-date{min-height:52px;border-radius:8px;font-size:.8125rem;gap:7px}.agenda-month-legend{font-size:.625rem;gap:9px 12px;padding:14px 10px 8px}.agenda-month-note{font-size:.625rem;padding:4px 10px 14px}.agenda-day-list{grid-template-columns:1fr}.agenda-day-header h2{font-size:1.125rem}.agenda-day-header .eyebrow{font-size:.625rem}.agenda-day-header p{font-size:.8125rem}.agenda-day-tile{min-height:66px}.agenda-appointment-main{grid-template-columns:85px minmax(0,1fr);padding:19px 18px;gap:15px}.agenda-appointment-main>img{width:85px;height:100px}.agenda-appointment h3{font-size:1.0625rem}.agenda-appointment-protocol{font-size:.6875rem}.agenda-appointment-main p{font-size:.875rem}.agenda-appointment-main small{font-size:.75rem}.agenda-appointment-slot{font-size:.75rem;padding:13px 18px}.agenda-appointment-slot strong{font-size:1rem}.agenda-appointment-footer{padding:9px 15px}.agenda-appointment-footer .status{font-size:.75rem;max-width:60%}.agenda-appointment-footer button{font-size:.8125rem}.agenda-empty{display:block}.agenda-empty>img{width:100%;height:145px;min-height:0;object-position:center 32%}.agenda-empty>div{padding:22px}.agenda-empty-icon{margin-top:-40px;border:4px solid #fff}.agenda-empty p{font-size:.875rem}.agenda-footnote{font-size:.75rem}}
@container(max-width:360px){.agenda-month-header{padding:15px 12px;gap:13px}.agenda-month-header>div:first-child{flex-basis:100%}.agenda-month-controls{width:100%;justify-content:space-between}.agenda-month-controls .agenda-today{flex:1;margin:0 5px}.agenda-month-grid{gap:2px;padding:8px 6px 11px}.agenda-date{min-height:48px;font-size:.8125rem}.agenda-date-markers{gap:2px}.agenda-date-markers i.confirmed,.agenda-date-markers i.pending,.agenda-date-markers i.recorded{width:4px;height:4px}.agenda-date-markers small{font-size:.5rem}.agenda-month-legend{gap:8px}.agenda-day-header{align-items:flex-start}.agenda-day-header h2{font-size:1.0625rem}.agenda-appointment-main{grid-template-columns:66px minmax(0,1fr);gap:12px;padding:16px}.agenda-appointment-main>img{width:66px;height:90px}.agenda-appointment-footer{display:grid;grid-template-columns:1fr;gap:7px;padding:12px 16px}.agenda-appointment-footer .status{max-width:100%;justify-self:start}.agenda-appointment-footer button{width:100%;margin:0;background:#edf3ff}.agenda-next-day{grid-template-columns:48px minmax(0,1fr) 16px;padding:12px;gap:10px}.agenda-next-day>img{width:48px;height:68px}}
.high-contrast .agenda-page,.high-contrast .agenda-heading h1,.high-contrast .agenda-month-header h2,.high-contrast .agenda-day-header h2,.high-contrast .agenda-appointment h3,.high-contrast .agenda-empty h3{color:#fff}.high-contrast .agenda-month-panel,.high-contrast .agenda-appointment,.high-contrast .agenda-empty{background:#111f31;border-color:#73869e}.high-contrast .agenda-heading p,.high-contrast .agenda-heading .eyebrow,.high-contrast .agenda-month-summary,.high-contrast .agenda-month-summary strong,.high-contrast .agenda-summary-label,.high-contrast .agenda-panel-kicker,.high-contrast .agenda-month-legend,.high-contrast .agenda-month-note,.high-contrast .agenda-day-header p,.high-contrast .agenda-day-header .eyebrow,.high-contrast .agenda-appointment-protocol,.high-contrast .agenda-appointment-main p,.high-contrast .agenda-appointment-main small,.high-contrast .agenda-empty p,.high-contrast .agenda-footnote{color:#d6e4f5}
.high-contrast .agenda-weekdays,.high-contrast .agenda-appointment-slot{background:#172b43;color:#dfebf9;border-color:#718298}.high-contrast .agenda-weekdays span:nth-last-child(-n+2){color:#d2e1f5}.high-contrast .agenda-date{background:#111f31;color:#fff}.high-contrast .agenda-date.is-other-month{color:#a2b8d1;background:#142339}.high-contrast .agenda-date.has-appointments{background:#253e5e;border-color:#7188a5}.high-contrast .agenda-date.is-today{border-color:#ffe26a}.high-contrast .agenda-date.is-today .agenda-date-number{color:#ffe26a}.high-contrast .agenda-date-markers small{color:#fff}.high-contrast .agenda-date.is-selected{background:#ffe26a;border-color:#ffe26a;color:#111d2d}.high-contrast .agenda-date.is-selected .agenda-date-number,.high-contrast .agenda-date.is-selected .agenda-date-markers small{color:#111d2d}.high-contrast .agenda-date:hover{border-color:#ffe26a}.high-contrast .agenda-date.is-selected .agenda-date-markers i{box-shadow:0 0 0 1px #0a1424}
.high-contrast .agenda-month-controls button,.high-contrast .agenda-next-day{background:#192e47;border-color:#8298b1;color:#ffe26a}.high-contrast .agenda-month-controls button:hover,.high-contrast .agenda-next-day:hover{background:#294b70}.high-contrast .agenda-day-tile{background:#1e3b5a;border-color:#7d97b3;color:#ffe26a}.high-contrast .agenda-appointment-slot strong,.high-contrast .agenda-next-day strong{color:#ffe26a}.high-contrast .agenda-next-day small,.high-contrast .agenda-next-day>span>span{color:#dce9f9}.high-contrast .agenda-appointment-footer .status{background:#294561;color:#fff;border:1px solid #88a2bd}.high-contrast .agenda-appointment-footer button{background:#ffe26a;color:#111d2d}.high-contrast .agenda-appointment-footer button:hover{background:#fff2b2}.high-contrast .agenda-page :is(button,a):focus-visible{outline-color:#ffe26a}
@media(prefers-reduced-motion:reduce){.agenda-page *{transition:none!important}}
@media print{.agenda-month-controls,.agenda-next-day,.agenda-heading>.btn,.agenda-appointment-footer button{display:none!important}.agenda-layout{display:block}.agenda-month-panel{margin-bottom:20px}.agenda-appointment{break-inside:avoid}.agenda-empty>img{display:none}.agenda-date.is-selected{background:#e8effa;color:#16385b}}
