.agenda-updated{text-align:right;margin:-12px 0 18px}.agenda-tools{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:18px}.agenda-period-nav{display:flex;align-items:center;gap:12px;min-width:0}.agenda-period{font-size:14px;text-align:center;overflow-wrap:anywhere}.agenda-period-arrow{font-size:0;border:0;padding:10px;min-width:38px;flex-shrink:0}.agenda-period-arrow::before{font-size:20px;content:'‹'}.agenda-period-arrow[aria-label='Próxima semana']::before{content:'›'}.agenda-filters{display:flex;gap:12px;align-items:end;flex:1;max-width:520px;min-width:0}.agenda-filters .search{flex:1;min-width:0;margin:0;min-height:40px}.agenda-filters .field{min-width:170px}.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:var(--vet-radius-control);margin:0 0 26px;overflow:visible}.agenda-day{display:grid;grid-template-columns:1fr auto;gap:0 8px;align-items:center;text-align:center;border:0;border-right:1px solid var(--line);border-radius:0;color:var(--muted);font-weight:400;min-width:0;padding:10px 14px}.agenda-day:last-child{border-right:0}.agenda-day>span{grid-column:1/-1;font-size:12px}.agenda-day strong{font-size:18px;color:var(--vet-color-text)}.agenda-day small{font-size:12px}.agenda-day[aria-pressed=true]{background:var(--vet-color-brand-soft);color:var(--green);outline:1px solid var(--green);outline-offset:-1px;border-radius:var(--vet-radius-control)}.agenda-day[aria-current=date]>strong{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}.agenda-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:30px}.agenda-columns>section{min-width:0}.agenda-detail{border-left:1px solid var(--line);padding-left:28px;min-width:0;overflow-wrap:anywhere}.agenda-detail>h2{margin-bottom:18px}.agenda-detail>h3{font-size:22px;margin:8px 0}.agenda-detail>.actions{display:flex;gap:10px}.agenda-detail>.actions>.primary{flex-basis:100%}.agenda-list-heading,.agenda-group-heading{display:flex;gap:12px;justify-content:space-between;align-items:baseline}.agenda-list-heading{margin-bottom:16px}.agenda-group-heading{padding:12px 0 8px;border-bottom:1px solid var(--line)}.agenda-group-heading>h3{font-size:14px}.agenda-group-heading>.muted{font-size:12px;flex-shrink:0}.agenda-today-label{color:var(--green);font-weight:400;margin-left:10px}.agenda-appointments{list-style:none;margin:0;padding:0}.agenda-appointment{border-bottom:1px solid var(--line);padding:0;min-width:0}.agenda-appointment[data-selected=true]{border-left:3px solid var(--green);background:var(--vet-color-surface-subtle)}.agenda-open{display:flex;gap:16px;align-items:flex-start;width:100%;border:0;background:transparent;text-align:left;padding:14px 10px;color:var(--vet-color-text);font-weight:400;min-width:0}.agenda-open::after{content:'›';align-self:center;color:var(--muted);font-size:20px}.agenda-open:focus-visible{outline-offset:-3px}.agenda-time{display:grid;flex-shrink:0;min-width:44px}.agenda-time>time{font-weight:700}.agenda-copy{display:grid;flex:1;min-width:0;overflow-wrap:anywhere}.agenda-copy>span{color:var(--muted);font-size:13px}.agenda-situation{display:grid;gap:5px;max-width:135px;font-size:12px;overflow-wrap:anywhere}.agenda-next-label{color:var(--green);font-weight:700}.agenda-next-action{display:none}.agenda-details{margin:20px 0}.agenda-details>dt{color:var(--muted);font-size:13px;border-top:1px solid var(--line);padding-top:12px}.agenda-details>dd{margin:3px 0 14px}.agenda-day-group[data-empty=true]{display:none}.agenda-availability{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}.agenda-mobile-only{display:none}
@media(max-width:1000px) and (min-width:768px){.agenda-tools{align-items:stretch;flex-direction:column;gap:16px}.agenda-filters{max-width:none}.agenda-columns{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr);gap:20px}.agenda-detail{padding-left:18px}.agenda-open{gap:10px}.agenda-situation{max-width:100px}}
@media(max-width:767px){[data-agenda]{display:flex;flex-direction:column}.agenda-columns{order:2}.agenda-availability{order:3}.agenda-filters{order:1}.agenda-updated{margin:-8px 0 16px;font-size:12px}.agenda-tools{display:contents}.agenda-period-nav{justify-content:space-between;gap:6px;margin-bottom:16px}.agenda-period{font-size:13px;flex:1}.agenda-period-nav>button:last-child{padding:7px 10px}.agenda-period-arrow{padding:7px;min-width:28px}.agenda-week{margin-bottom:20px;order:0}.agenda-day{display:flex;flex-direction:column;padding:6px 2px;gap:0;border-right:0;min-height:64px}.agenda-day>strong{font-size:17px}.agenda-day>span,.agenda-day>small{font-size:12px}.agenda-day[aria-pressed=true]{color:var(--vet-color-on-brand);background:var(--green)}.agenda-day[aria-pressed=true]>strong,.agenda-day[aria-pressed=true]>small{color:var(--vet-color-on-brand)}.agenda-filters{max-width:none;gap:10px;align-items:stretch;margin:0 0 20px}.agenda-filters .field{min-width:0;width:40%;font-size:12px}.agenda-filters .search{width:60%;font-size:12px}.agenda-filters .field select{font-size:12px;padding-inline:6px}.agenda-columns{display:block}.agenda-list-heading{margin-bottom:4px;align-items:start}.agenda-list-heading>.muted{font-size:12px;text-align:right;max-width:100px}.agenda-day-group,.agenda-day-group[data-empty=true]{display:none}.agenda-day-group[data-selected=true]{display:block}.agenda-group-heading{padding-top:8px}.agenda-group-heading>h3{font-size:13px}.agenda-group-heading>.muted{font-size:12px}.agenda-time{min-width:42px}.agenda-open{gap:10px;padding:14px 6px;font-size:13px}.agenda-copy>span{font-size:12px}.agenda-situation{max-width:92px;font-size:12px}.agenda-situation .badge{font-size:12px;padding:2px 4px}.agenda-next-action{display:block;margin:0 12px 12px 58px;width:calc(100% - 70px);font-size:12px;padding:7px 8px}.agenda-detail{border-left:0;border-top:1px solid var(--line);padding:22px 0 0;margin-top:24px}.agenda-detail>h3{font-size:20px}.agenda-desktop-only{display:none}.agenda-mobile-only{display:block}.agenda-availability{font-size:12px}}

/* Presentation: compact controls and keep connection details below the agenda. */
main[data-agenda]{display:flex;flex-direction:column}
.agenda-detail>.actions>button:nth-child(2){flex-basis:100%}
.agenda-detail>.actions>button:nth-child(n+3){flex:1;border-color:transparent;background:transparent}
.agenda-detail>.actions>button:nth-child(n+3):not(:disabled):hover{background:var(--vet-color-surface-subtle)}
.agenda-situation>.badge{background:transparent;padding:0;color:var(--muted)}
.agenda-situation>.badge::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--vet-color-text-muted);margin-right:8px}
.agenda-appointment[data-next=true] .agenda-situation>.badge::before{background:var(--green)}
@media(min-width:768px){.agenda-updated{margin:-8px 0 18px}.agenda-open{padding-block:12px}.agenda-time{min-width:78px;display:flex;gap:4px;align-items:baseline}.agenda-time>small::before{content:'– ';}.agenda-time>small{font-size:13px}.agenda-detail>.actions>.primary{font-weight:700}}
@media(max-width:767px){
 main[data-agenda]>.topline{margin-bottom:16px}.agenda-updated{margin:0 0 12px}.agenda-period-nav{margin-bottom:12px}
 .agenda-filters{gap:8px;margin-bottom:16px}.agenda-filters .search{min-height:42px;font-size:12px}.agenda-filters .field{font-size:12px}
 .agenda-list-heading{display:none}.agenda-group-heading{margin-bottom:6px}
 .agenda-day{min-height:60px}.agenda-situation{max-width:85px}.agenda-situation>.badge::before{width:6px;height:6px;margin-right:4px}
 main[data-agenda]>.topline>button{max-width:132px;font-size:12px;padding:8px 10px}
 main[data-agenda]>.topline>div{min-width:0;flex:1}.agenda-period{font-weight:400}
}

/* Claude Design: lista e detalhe em cartões brancos; semana como faixa de seleção; horário em
 * Bricolage; item selecionado/próximo em verde-claro, sem borda colorida à esquerda. */
.agenda-columns{align-items:start}
.agenda-columns>section,.agenda-detail{background:var(--vet-color-surface);border:var(--vet-border-width) solid var(--vet-color-border);border-radius:var(--vet-radius-panel);box-shadow:var(--vet-shadow-card);padding:var(--vet-space-5) var(--vet-space-6)}
.agenda-detail>h3{font-family:var(--vet-font-display);letter-spacing:-.01em}
.agenda-week{background:var(--vet-color-surface);border-radius:var(--vet-radius-panel);box-shadow:var(--vet-shadow-card);overflow:hidden}
.agenda-day{min-height:60px}
.agenda-day strong{font-family:var(--vet-font-display);font-weight:var(--vet-weight-semibold)}
.agenda-day[aria-pressed=true]{background:var(--vet-color-brand-subtle);border-radius:0;outline:0;box-shadow:inset 0 -3px var(--vet-color-brand)}
.agenda-day:focus-visible{outline:var(--vet-focus-width) solid var(--vet-color-focus);outline-offset:-4px}
.agenda-day[aria-pressed=true]:not(:disabled):is(:hover,:active){background:var(--vet-color-brand-subtle)}
/* Seleção: contorno verde de 2 px em volta do item (3:1 contra o branco), não filete lateral. */
.agenda-appointment[data-selected=true]{border-left:0;background:var(--vet-color-brand-subtle);border-radius:var(--vet-radius-control);box-shadow:inset 0 0 0 2px var(--vet-color-brand)}
.agenda-open{border-radius:var(--vet-radius-control)}
.agenda-open:not(:disabled):hover{background:var(--vet-color-surface-subtle)}
.agenda-time>time{font-family:var(--vet-font-display);font-size:18px;font-weight:var(--vet-weight-semibold);font-variant-numeric:tabular-nums}
.agenda-appointment[data-next=true] .agenda-time>time{color:var(--vet-color-brand)}
.agenda-copy>strong,.agenda-copy>:first-child{font-weight:650}
.agenda-group-heading>h3{font-size:var(--vet-font-overline);font-weight:var(--vet-weight-semibold);letter-spacing:var(--vet-tracking-overline);text-transform:uppercase;color:var(--vet-color-text-secondary)}
.agenda-period-arrow{min-height:var(--control-height);width:var(--control-height);border:var(--vet-border-width) solid var(--vet-color-control-border-soft);border-radius:var(--vet-radius-pill);background:var(--vet-color-surface)}
@media(max-width:767px){
 .agenda-columns>section,.agenda-detail{padding:var(--vet-space-4)}
 .agenda-detail{margin-top:var(--vet-space-5)}
 .agenda-filters{align-items:end}
 .agenda-day[aria-pressed=true],.agenda-day[aria-pressed=true]:not(:disabled):is(:hover,:active){background:var(--vet-color-brand);box-shadow:none}
 .agenda-group-heading>h3{font-size:var(--vet-font-overline)}
}
