.agenda{--agenda-muted:#62716a;min-width:0}.agenda-toolbar{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.agenda-toolbar h2{margin:4px 0;font-size:23px;line-height:1.25}.agenda-eyebrow{font-size:11px;font-weight:750;letter-spacing:.11em;color:#39755c;margin:0}.agenda-subtitle,.agenda-muted{font-size:13px;color:var(--agenda-muted,#62716a);line-height:1.5;margin:6px 0 0}.agenda-navigation,.agenda-filters,.agenda-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agenda-navigation .button,.agenda-filters .button{min-height:40px}.agenda-filters .button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.agenda-view-label{display:flex;align-items:center;gap:7px;font-size:13px}.agenda-view-label select{border:1px solid #d4dfd8;border-radius:8px;min-height:40px;background:#fff;color:#18382b;padding:8px;font:inherit}.agenda-filters{width:100%;border-top:1px solid #e2eae5;padding-top:12px}.agenda-dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #0002;flex-shrink:0}.dot-Riccardo{background:#c2c2c2}.dot-Remo{background:#dc2127}.dot-pose{background:#16815c}.agenda-status{font-size:13px;color:var(--agenda-muted);min-height:25px;margin:0 2px 8px}.agenda-notice{background:#fff9e9;border:1px solid #e9d6a1;border-radius:12px;padding:12px 16px;margin-bottom:14px;font-size:14px;line-height:1.5}.agenda-notice p{margin:4px 0 0}.agenda-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;align-items:stretch}.agenda-day{min-width:0;border:1px solid #dce6df;border-radius:12px;background:#fff;overflow:hidden}.agenda-day h3{display:flex;flex-direction:column;gap:3px;margin:0;padding:12px;border-bottom:1px solid #e4ece7;background:#f5f8f6}.agenda-day h3 span{font-size:12px;color:var(--agenda-muted);text-transform:uppercase;letter-spacing:.05em}.agenda-day time{font-size:17px;color:#244b37}.agenda-day.is-today{border-color:#418b67}.agenda-day.is-today h3{background:#e8f4ec}.agenda-day-events{display:grid;gap:8px;padding:8px;align-content:start}.agenda-event{font-family:inherit;display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;min-width:0;border:1px solid #e2e6e4;border-left:5px solid var(--event-color);background:#fff;color:#203d2e;border-radius:8px;padding:10px 9px;cursor:pointer;overflow-wrap:anywhere;box-shadow:0 2px 5px #183e2810}.agenda-event:hover{background:#f8faf9;border-top-color:#bbcbbf}.agenda-event:focus-visible,.agenda button:focus-visible,.agenda-dialog a:focus-visible{outline:3px solid #236c4b;outline-offset:2px}.agenda-event-title{font-size:14px;line-height:1.35;font-weight:700}.agenda-event-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:12px;line-height:1.4}.agenda-event-meta b{font-size:11px;font-weight:600;color:#536359}.agenda-event-location{font-size:12px;color:#57675e;line-height:1.4}.agenda-event.is-reminder{box-shadow:none;background:#fafbfa;padding:8px;gap:5px}.agenda-event.is-reminder .agenda-event-title{font-size:13px;font-weight:550}.agenda-reminder{align-self:flex-start;font-size:11px;font-weight:600;line-height:1.5;padding:1px 6px;background:#eef0ed;color:#5a655d;border-radius:5px}.agenda-empty{font-size:12px;color:#738078;margin:8px 3px;line-height:1.4}.agenda-grid.is-month .agenda-day{min-height:125px}.agenda-grid.is-month .agenda-day h3{padding:8px 10px}.agenda-grid.is-month .agenda-event{padding:7px;gap:4px}.agenda-grid.is-month .agenda-event-title{font-size:13px}.agenda-grid.is-month .agenda-event-location{display:none}.agenda-day.is-outside-month{background:#f7f9f7}.agenda-dialog{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #d4dfd7;border-radius:17px;padding:0;color:#203d2e;box-shadow:0 24px 80px #102c3250}.agenda-dialog::backdrop{background:#102b2570}.agenda-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px;border-bottom:1px solid #e2eae5}.agenda-detail-head h2{margin:6px 0 0;font-size:23px;line-height:1.3;overflow-wrap:anywhere}.agenda-detail-head .button{flex-shrink:0}.agenda-detail-body{padding:22px;font-size:15px;line-height:1.55}.agenda-detail-body dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px 16px;margin:0 0 20px}.agenda-detail-body dt{font-size:13px;color:#657469}.agenda-detail-body dd{margin:0;overflow-wrap:anywhere}.agenda-detail-body h3{font-size:14px;margin:20px 0 8px}.agenda-original{white-space:pre-wrap;overflow-wrap:anywhere}.agenda-notes{font-size:15px;background:#f6f8f6;padding:14px;border-radius:10px}.agenda-detail-actions{margin:16px 0}.agenda-detail-actions .button{min-height:44px}.agenda-detail-body small{font-size:11px;color:#6b786e}
@media(min-width:1500px){.agenda-event-title{font-size:15px}.agenda-event-meta{font-size:13px}.agenda-event-location{font-size:13px}}
@media(max-width:1100px){.agenda-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-day{min-height:140px}.agenda-event-title{font-size:15px}.agenda-event-meta,.agenda-event-location{font-size:13px}.agenda-navigation{width:100%}}
@media(max-width:650px){.agenda-toolbar{padding:16px;gap:12px}.agenda-toolbar h2{font-size:21px}.agenda-grid{grid-template-columns:minmax(0,1fr);gap:12px}.agenda-day h3{flex-direction:row;align-items:baseline;justify-content:space-between;padding:12px 14px}.agenda-day h3 span{font-size:13px}.agenda-day time{font-size:18px}.agenda-day{min-height:0}.agenda-event-title{font-size:16px}.agenda-event-meta,.agenda-event-location{font-size:14px}.agenda-event-meta b{font-size:12px}.agenda-day-events{padding:10px}.agenda-event.is-reminder .agenda-event-title{font-size:14px}.agenda-navigation{gap:7px}.agenda-navigation .button{min-width:42px;min-height:44px}.agenda-view-label{margin-left:0}.agenda-filters{gap:6px}.agenda-filters .button{padding:9px 11px;font-size:13px}.agenda-grid.is-month .agenda-day{min-height:0}.agenda-grid.is-month .agenda-event-title{font-size:16px}.agenda-grid.is-month .agenda-event-location{display:block}.agenda-detail-head,.agenda-detail-body{padding:17px}.agenda-detail-head h2{font-size:21px}.agenda-detail-body dl{grid-template-columns:1fr;gap:3px}.agenda-detail-body dd{margin-bottom:10px}.agenda-dialog{max-height:calc(100dvh - 20px)}.agenda-detail-actions a{width:100%;justify-content:center}}

@media(max-width:450px){.agenda-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-filters .button{width:100%}}

.agenda-smart-summary{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.4fr);gap:14px;padding:16px 18px;margin-bottom:12px;border-color:#cfe2d8;background:linear-gradient(135deg,#f7fbf8,#eef7f2)}
.agenda-smart-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.agenda-smart-totals>div{display:grid;gap:2px;padding:10px 12px;border:1px solid #dce9e1;border-radius:10px;background:#fff}
.agenda-smart-totals span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#607369}.agenda-smart-totals strong{font-size:24px;line-height:1;color:#124c39}.agenda-smart-totals small{font-size:11px;color:#65776e}
.agenda-next-event,.agenda-next-empty{min-width:0;display:grid;gap:5px;padding:12px 14px;border:1px solid #bcd8ca;border-radius:11px;background:#fff;text-align:left;color:#173d2d;font:inherit}.agenda-next-event{cursor:pointer}.agenda-next-event:hover{background:#f7fbf8}.agenda-next-event span,.agenda-next-empty span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#39755c}.agenda-next-event strong,.agenda-next-empty strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.agenda-smart-alerts,.agenda-smart-reminders{grid-column:1/-1;display:grid;gap:6px}.agenda-smart-alerts p{margin:0;padding:9px 11px;border-radius:9px;font-size:13px;line-height:1.4}.agenda-smart-alerts .is-conflict{background:#fff0f0;border:1px solid #efb9b9;color:#7f2626}.agenda-smart-alerts .is-possible{background:#fff8e9;border:1px solid #ead4a0;color:#755116}
.agenda-smart-reminders{grid-template-columns:auto repeat(4,minmax(0,1fr));align-items:stretch}.agenda-smart-reminders>strong{align-self:center;font-size:12px;color:#53685d}.agenda-smart-reminders button{border:1px solid #dde6e0;border-radius:8px;background:#fff;padding:8px 9px;text-align:left;font:inherit;font-size:12px;color:#3e5449;cursor:pointer;overflow-wrap:anywhere}
.agenda-warning-badge,.agenda-linked-badge{align-self:flex-start;font-size:10px;font-weight:750;line-height:1.4;padding:2px 6px;border-radius:5px}.agenda-warning-badge.is-conflict{background:#ffe2e2;color:#8a2020}.agenda-warning-badge.is-possible{background:#fff0ca;color:#7a5611}.agenda-linked-badge{background:#e3f3eb;color:#236348}
.agenda-event.has-conflict{box-shadow:0 0 0 2px #e59b9b}.agenda-event.has-possible{box-shadow:0 0 0 2px #e6c77a}
.agenda-detail-warnings{display:grid;gap:7px}.agenda-detail-warnings p{margin:0;padding:9px 10px;border-radius:9px}.agenda-detail-warnings .is-conflict{background:#fff0f0}.agenda-detail-warnings .is-possible{background:#fff8e9}
.agenda-smart-links{padding:12px 14px;border:1px solid #d8e6de;border-radius:11px;background:#f8fbf9}.agenda-smart-links>div:first-child{display:grid;gap:2px}.agenda-smart-links span{font-size:12px;color:#62756b}.agenda-smart-links small{font-size:11px;color:#6c7d74}.agenda-smart-links .agenda-detail-actions{margin:10px 0 0}
@media(max-width:900px){.agenda-smart-summary{grid-template-columns:1fr}.agenda-smart-reminders{grid-template-columns:1fr 1fr}.agenda-smart-reminders>strong{grid-column:1/-1}}
@media(max-width:520px){.agenda-smart-summary{padding:12px}.agenda-smart-totals{gap:5px}.agenda-smart-totals>div{padding:8px}.agenda-smart-totals strong{font-size:21px}.agenda-smart-reminders{grid-template-columns:1fr}.agenda-smart-reminders>strong{grid-column:auto}.agenda-next-event strong,.agenda-next-empty strong{font-size:14px}}

.agenda-operations-summary{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(360px,1.4fr) auto;gap:14px;align-items:center;padding:13px 16px;margin-bottom:12px;border-color:#d7e6df;background:#fbfdfc}
.agenda-operations-title{display:grid;gap:2px}.agenda-operations-title>span{font-size:10px;font-weight:850;letter-spacing:.08em;color:#4b7867}.agenda-operations-title>strong{font-size:15px;color:#173f31}.agenda-operations-title>small{font-size:11px;color:#6b7e75}
.agenda-operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.agenda-operations-metrics>div{display:grid;gap:2px;padding:8px 10px;border:1px solid #e0e9e4;border-radius:8px;background:#fff}.agenda-operations-metrics strong{font-size:18px;color:#124c39}.agenda-operations-metrics span{font-size:10.5px;color:#687a71}.agenda-operations-metrics .is-alert{border-color:#e5b5b5;background:#fff7f7}.agenda-operations-metrics .is-alert strong{color:#9b2f2f}
.agenda-operations-summary.is-loading,.agenda-operations-summary.is-error{grid-template-columns:1fr auto}.agenda-operations-summary.is-loading>div,.agenda-operations-summary.is-error>div{display:grid;gap:2px}.agenda-operations-summary.is-loading span,.agenda-operations-summary.is-error span{font-size:10px;font-weight:850;letter-spacing:.06em;color:#4b7867}.agenda-operations-summary.is-error small{font-size:10px;color:#8a4b4b}
@media(max-width:900px){.agenda-operations-summary{grid-template-columns:1fr}.agenda-operations-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-operations-summary>a{justify-self:start}}
@media(max-width:520px){.agenda-operations-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-operations-summary{padding:11px 12px}}
