/* Shared agenda: quiet surfaces, compact appointments, persistent case evidence. */
#agendaList{--agenda-ink:#183c36;--agenda-muted:#657770;--agenda-line:#e3eae5;background:#f8faf7;padding:24px;border:1px solid var(--agenda-line);border-radius:24px;color:#233c35}
#agendaList *{box-sizing:border-box}#agendaList button{font:inherit;cursor:pointer}#agendaList button:focus-visible,#agendaList a:focus-visible{outline:3px solid #348373;outline-offset:3px}#agendaList button:disabled{opacity:.5;cursor:wait}
.agenda-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 0 26px;border-bottom:1px solid var(--agenda-line)}.agenda-eyebrow{display:block;color:#6b7f72;font-size:10px;font-weight:700;letter-spacing:1.7px}.agenda-hero h2{font-size:clamp(27px,3vw,38px);font-weight:550;letter-spacing:-1.5px;margin:10px 0;color:var(--agenda-ink);text-transform:capitalize}.agenda-hero p{font-size:14px;margin:0 0 10px;color:#506c5d}.agenda-hero small{font-size:11px;color:#76857b}.agenda-hero-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;max-width:400px}.agenda-team{width:100%;text-align:right;font-size:12px;color:#607668;margin-bottom:8px}
#agendaList button{border:1px solid #dce5dd;border-radius:10px;padding:9px 12px;background:#fff;color:#25483d;font-size:12px;font-weight:550}#agendaList button:hover{border-color:#91b3a0;background:#f1f6ef}#agendaList button.primary{background:#204c40;color:white;border-color:#204c40}
.agenda-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0 10px}.agenda-toolbar label{display:grid;gap:5px;margin:0;font-size:10px;color:#61756a}.agenda-toolbar input,.agenda-toolbar select{font:inherit;font-size:12px;padding:9px;border:1px solid #dce5dd;border-radius:9px;background:white;color:#25483d;min-height:36px;max-width:180px}.agenda-pager,.agenda-views{display:flex;gap:4px;align-items:center}.agenda-views{background:#eaf0e8;padding:4px;border-radius:12px}#agendaList .agenda-views button{border:0;background:transparent;padding:7px 13px}#agendaList .agenda-views button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #24473418}.agenda-toolbar .agenda-mode-select{display:none}
.agenda-small{font-size:12px;color:#617569;line-height:1.6}.agenda-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 24px}.agenda-counts>div{background:#fff;border:1px solid var(--agenda-line);border-radius:14px;padding:16px 18px}.agenda-counts strong{display:block;font-weight:550;font-size:28px;line-height:1.2;letter-spacing:-1px}.agenda-counts span{display:block;font-size:11px;color:#6b7c70;margin-top:7px}.agenda-counts .partial strong{color:#99722b}.agenda-counts .complete strong{color:#2f7860}
.agenda-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.agenda-main,.agenda-sidebar{min-width:0}.agenda-sidebar{display:grid;gap:16px}.agenda-side-section{background:white;border:1px solid var(--agenda-line);border-radius:16px;padding:18px}.agenda-side-section h3{font-size:15px;margin:0 0 14px;letter-spacing:-.3px}.agenda-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.agenda-section-title h3{margin:0}.agenda-pill{display:inline-block;background:#edf2e9;border-radius:7px;padding:2px 6px;font-size:11px;vertical-align:middle;color:#567344;margin-left:4px}.agenda-legend{display:flex;gap:18px;font-size:11px;color:#65766c;margin:0 0 12px}.agenda-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#7594b5;margin-right:6px}.agenda-legend .partial:before{background:#c6a25c}.agenda-legend .renewal:before{background:#63a18b}
.agenda-calendar{display:grid;gap:8px}.agenda-week{grid-template-columns:repeat(7,minmax(0,1fr))}.agenda-day{background:#fff;border:1px solid var(--agenda-line);border-radius:12px;min-height:190px;padding:8px;min-width:0}.agenda-day.today{border-color:#7aab8b;background:#f2f8ec}.agenda-day.selected{box-shadow:inset 0 0 0 1px #c7d8c0}#agendaList .agenda-day-heading{border:0;background:transparent;display:block;padding:6px 2px 12px;width:100%;text-align:left;font-size:11px;color:#617569;text-transform:capitalize;line-height:1.5}.agenda-day.today .agenda-day-heading{color:#285d40;font-weight:750}.agenda-empty{font-size:11px;color:#8b998f;line-height:1.6;padding:12px 4px}
.agenda-event{background:#fff;border:1px solid #e5e9e3;border-radius:9px;margin-bottom:8px;overflow:hidden}#agendaList .agenda-appointment{display:block;width:100%;text-align:left;white-space:normal;border:0;border-left:3px solid #9caea1;border-radius:0;padding:10px 8px;color:#264239;font-size:11px;line-height:1.5;overflow-wrap:anywhere}#agendaList .agenda-appointment.new{border-left-color:#7594b5;background:#f5f8fc}#agendaList .agenda-appointment.partial{border-left-color:#c6a25c;background:#fcfaf3}#agendaList .agenda-appointment.renewal{border-left-color:#63a18b;background:#f2f8f4}.agenda-appointment strong,.agenda-appointment small,.agenda-event-title{display:block;margin-bottom:4px}.agenda-appointment strong{font-size:11px;color:#526a5d}.agenda-appointment small{font-size:10px;font-weight:400;color:#697d70}.agenda-event-title{font-size:13px;font-weight:650}.agenda-appointment.cancelled{opacity:.55;text-decoration:line-through}.agenda-signature{display:inline-block;font-size:9px;border-radius:5px;padding:3px 5px;margin:4px 0 7px;background:#e9eee9;color:#536554}.agenda-signature.complete{background:#deefdf;color:#2d6336}.agenda-signature.partial{background:#f3e8cb;color:#83621d}#agendaList .agenda-review{font-size:10px;display:block;width:100%;border:0;border-top:1px solid #e5e9e3;border-radius:0;padding:6px;text-align:left;color:#4c7260}.agenda-note-preview{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-style:italic}
.agenda-month{grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid var(--agenda-line);border-radius:12px;overflow:hidden}.agenda-month .agenda-weekday{padding:10px;text-align:center;font-size:10px;background:#edf2e9;color:#617662}.agenda-month .agenda-day{border-radius:0;border:0;border-right:1px solid var(--agenda-line);border-top:1px solid var(--agenda-line);min-height:110px;padding:6px}.agenda-month .agenda-day.adjacent{background:#f4f6f2}.agenda-month .agenda-day.adjacent .agenda-day-heading{color:#a3ada2}.agenda-month .agenda-appointment small,.agenda-month .agenda-review{display:none!important}.agenda-month .agenda-appointment{padding:5px!important}.agenda-month .agenda-event-title{font-size:11px}.agenda-month .agenda-signature{font-size:8px;margin:2px 0}.agenda-month .agenda-day-heading{padding-bottom:7px!important}.agenda-month .agenda-event{margin-bottom:4px}.agenda-day.agenda-calendar,.agenda-list{grid-template-columns:1fr}.agenda-day.agenda-calendar{background:transparent;border:0;padding:0}.agenda-day.agenda-calendar>.agenda-day{min-height:220px;padding:16px}.agenda-day.agenda-calendar .agenda-event,.agenda-list .agenda-event{display:grid;grid-template-columns:minmax(0,1fr) 140px}.agenda-list .agenda-day{min-height:0;padding:12px 16px}.agenda-list .agenda-appointment,.agenda-day.agenda-calendar .agenda-appointment{padding:14px!important}.agenda-list .agenda-review,.agenda-day.agenda-calendar .agenda-review{border-top:0!important;border-left:1px solid var(--agenda-line)!important;align-self:stretch!important;text-align:center!important}
.agenda-pending{display:flex;align-items:start;gap:8px;border-bottom:1px solid #edf0e9;padding:14px 0}.agenda-pending:last-child{border-bottom:0}.agenda-pending>div{flex:1;min-width:0}.agenda-pending strong{display:block;font-size:12px;line-height:1.6;font-weight:550;overflow-wrap:anywhere}.agenda-pending small{display:block;font-size:10px;color:#79877c;line-height:1.6;margin-top:4px}.agenda-pending.overdue{border-left:2px solid #b98563;padding-left:10px}#agendaList .agenda-pending button{font-size:10px;padding:6px;flex-shrink:0;max-width:85px}.agenda-notebook{background:#fbfaf4;border-color:#e9e6d8}.agenda-notebook h3{margin-top:8px}#agendaList .agenda-note{display:block;text-align:left;width:100%;border:0;border-radius:0;background:transparent;padding:12px 0;border-bottom:1px solid #e8e5d7;font-weight:400}.agenda-note small,.agenda-note span{display:block;font-size:11px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.agenda-note small{font-size:10px;color:#7b816b;margin-bottom:6px}.agenda-office{font-size:11px;line-height:1.7;color:#7a897b;margin:16px 0 24px}.agenda-section{border-top:1px solid var(--agenda-line);padding-top:24px;margin-top:18px}.agenda-section h3{font-size:20px;margin:8px 0 16px;font-weight:550}.agenda-backlog{margin-top:24px;padding:16px;background:white;border:1px solid var(--agenda-line);border-radius:12px;font-size:12px}.agenda-backlog summary{cursor:pointer;font-weight:600}.agenda-connection p{font-size:11px;line-height:1.7;color:#718074}.agenda-connection button,.agenda-connection a{display:block;width:100%;margin-top:10px;overflow-wrap:anywhere;text-align:center;font-size:11px}.agenda-connection-state{font-size:10px;color:#8a6f3c;background:#faf3e1;border-radius:5px;padding:4px 6px}
.agenda-dialog{max-width:650px;width:calc(100% - 32px);border:1px solid #dce5dd;border-radius:20px;padding:28px}.agenda-dialog::backdrop{background:#142d2766;backdrop-filter:blur(4px)}.agenda-dialog form{display:grid;gap:14px}.agenda-dialog label{display:grid;gap:7px;font-size:13px}.agenda-dialog input,.agenda-dialog select,.agenda-dialog textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1px solid #d4dfd5;border-radius:9px}.agenda-dialog input[type=checkbox]{width:auto}.agenda-dialog textarea{min-height:110px;resize:vertical}.agenda-dialog .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.agenda-dialog .checks label{display:block;margin:10px 0}.agenda-dialog p{line-height:1.7}.agenda-dialog [role=status]{color:#8c4c27}
@media(max-width:1100px){.agenda-layout{grid-template-columns:minmax(0,1fr)}.agenda-sidebar{grid-template-columns:1fr 1fr}.agenda-sidebar>.agenda-connection{grid-column:1/-1}.agenda-week .agenda-day{min-height:230px}}
@media(max-width:700px){#agendaList{padding:14px;border-radius:16px}.agenda-hero{display:block;padding-bottom:20px}.agenda-hero-actions{max-width:none;justify-content:flex-start;margin-top:20px}.agenda-team{text-align:left}.agenda-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agenda-counts>div{padding:12px}.agenda-counts strong{font-size:24px}.agenda-layout,.agenda-sidebar{grid-template-columns:1fr;gap:16px}.agenda-toolbar{gap:8px}.agenda-toolbar label{flex:1;min-width:120px}.agenda-toolbar input,.agenda-toolbar select{width:100%;max-width:none}.agenda-views{order:-1;width:100%}.agenda-views button{flex:1}.agenda-toolbar .agenda-pager{margin-right:auto}.agenda-toolbar>[data-agenda-refresh]{margin-left:auto}.agenda-week{grid-template-columns:1fr}.agenda-week .agenda-day{min-height:0}.agenda-month .agenda-day{min-height:75px;padding:3px}.agenda-month .agenda-appointment strong{font-size:8px}.agenda-month .agenda-event-title{font-size:9px}.agenda-month .agenda-signature{display:none}.agenda-month .agenda-weekday{padding:8px 0}.agenda-month .agenda-appointment{padding:3px!important}.agenda-month .agenda-day-heading{font-size:10px!important}.agenda-legend{font-size:10px;gap:12px}.agenda-list .agenda-event,.agenda-day.agenda-calendar .agenda-event{grid-template-columns:1fr}.agenda-list .agenda-review,.agenda-day.agenda-calendar .agenda-review{border-left:0!important;border-top:1px solid var(--agenda-line)!important;text-align:left!important}.agenda-dialog .two{grid-template-columns:1fr}.agenda-section h3{font-size:19px}.agenda-connection-state{display:inline-block}.agenda-side-section{padding:16px}}
@media(prefers-reduced-motion:reduce){#agendaList *{scroll-behavior:auto}}
.agenda-google-link{display:block;text-align:center;background:#204c40;color:white!important;border-radius:10px;padding:12px;margin:16px 0;text-decoration:none}.agenda-dialog details{margin-top:24px;border-top:1px solid #dce5dd;padding-top:16px}.agenda-dialog summary{cursor:pointer}.agenda-dialog [data-link] input{font-size:11px;margin:8px 0}.agenda-dialog [data-link] label{overflow-wrap:anywhere}
.agenda-mobile-count{display:none}#scr-agenda:has([data-agenda=true])>.section-head #newEvent{display:none}@media(max-width:700px){.agenda-month .agenda-event{display:none}.agenda-month .agenda-day{min-height:64px}.agenda-month .agenda-mobile-count{display:block;font-size:10px;font-weight:600;color:#307457;white-space:nowrap;margin-top:8px}.agenda-month .agenda-day-heading{min-height:52px}.agenda-hero h2{text-transform:none}}
