/* A single readable agenda, with optional detail and filters. Load after workflow.css. */
.simple-calendar{max-width:1120px;margin:0 auto;color:#26342e}
.sc-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:0 0 20px}
.sc-week-controls{display:flex;gap:6px;flex:none}.sc-week-controls .button{min-width:44px}
.sc-period{flex:1;min-width:180px;margin:0;font-size:14px;font-weight:600;line-height:1.6}
.sc-date{display:flex;align-items:center;gap:9px;font-size:12px;color:#66716a;min-width:0}
.sc-date input{border:1px solid #d3d9d2;border-radius:8px;background:white;color:#26342e;padding:9px 10px;min-height:44px;max-width:170px;font-size:14px}
.sc-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-bottom:18px}
.sc-day-strip button{min-width:0;display:grid;justify-items:center;gap:2px;min-height:85px;padding:10px 3px;border:1px solid #dce1d9;border-radius:10px;background:white;color:#536358;cursor:pointer}
.sc-day-strip button:hover{border-color:#809383;background:#f5f7f2}.sc-day-strip button strong{font-size:21px;line-height:1.25;font-weight:650}.sc-day-strip button span{font-size:12px}.sc-day-strip button small{font-size:11px;color:#738073}.sc-day-strip button.is-today{border-color:#748e79}.sc-day-strip button.selected{background:#344e3c;border-color:#344e3c;color:#fff}.sc-day-strip button.selected small{color:#ecf3ed}
.sc-filters{font-size:13px;border-bottom:1px solid #e1e6dd;padding:0 0 14px;margin-bottom:16px}.sc-filters>summary{cursor:pointer;min-height:35px;padding:7px 0;color:#536758;font-weight:600;width:fit-content}.sc-filter-count{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;border-radius:20px;background:#e7ecdf;font-size:11px}
.sc-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:12px}.sc-filter-fields .field{display:grid;gap:7px;margin:0;min-width:0}.sc-filter-fields .field>span{font-size:12px;color:#687569}.sc-filter-fields select{min-height:44px;max-width:100%;width:100%;padding:9px;background:white;border:1px solid #d4dbd0;border-radius:7px;color:#283a2c;font-size:14px}.sc-cancelled{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-height:35px;font-size:13px}.sc-cancelled input{width:17px;height:17px;accent-color:#3e5b44;flex:none}
.sc-active-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.sc-active-filters button{display:flex;align-items:center;gap:10px;max-width:100%;min-height:36px;padding:7px 11px;border:1px solid #dbe1d3;background:#edf1e7;border-radius:7px;font-size:12px;color:#3a4d3d;text-align:left;overflow-wrap:anywhere;cursor:pointer}.sc-active-filters .sc-reset{border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px}
.sc-list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0 16px}.sc-list-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.02em;margin:0}.sc-list-heading .button{font-size:12px;flex:none}
.sc-agenda-day{margin:0 0 27px}.sc-agenda-day>h3{font-size:13px;font-weight:600;line-height:1.6;margin:0 0 11px;color:#657362}.sc-events{display:grid;gap:10px}
.sc-event{display:grid;grid-template-columns:155px minmax(0,1fr) auto;gap:22px;padding:22px 24px;border:1px solid #dee4d8;border-radius:11px;background:#fff;min-width:0;overflow-wrap:anywhere}
.sc-event-time{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}.sc-event-time>strong{font-size:17px;font-weight:650;line-height:1.5}.sc-event-time .badge{max-width:100%;white-space:normal;font-size:11px;line-height:1.5;padding:5px 8px;text-align:left}
.sc-event-main{min-width:0}.sc-event-main h3{font-size:17px;line-height:1.45;font-weight:650;letter-spacing:-.015em;margin:0 0 6px}.sc-event .sc-event-meta{font-size:12px;color:#73806f;line-height:1.6;margin:0 0 14px}.sc-event .sc-event-owner{font-size:13px;line-height:1.65;margin:0;display:flex;flex-wrap:wrap;gap:3px 9px}.sc-event-owner>span{color:#748070}.sc-event-owner>strong{font-weight:550}.sc-event-actions{display:flex;flex-direction:column;gap:6px;min-width:145px}.sc-event-actions .button{font-size:12px!important;min-height:42px;width:100%;padding:9px 12px;white-space:normal}
.sc-more{margin-top:7px;font-size:12px;line-height:1.7;color:#647461}.sc-more summary{width:fit-content;min-height:34px;padding:7px 0;cursor:pointer}.sc-more>div{padding:3px 0 0;max-width:580px}.sc-more p{margin:5px 0;font-size:12px;line-height:1.75}.sc-warning{font-size:12px;line-height:1.65;padding:9px 11px;border-radius:7px;background:#fff4db;color:#75581b;margin:12px 0 5px}.sc-event.cancelled,.sc-event.declined{background:#f7f8f4}
.sc-empty{padding:35px 24px;border:1px dashed #d6ded0;border-radius:11px;background:#f8faf5;color:#52684d}.sc-empty strong{font-size:16px;line-height:1.6;font-weight:550}.sc-empty p{font-size:13px;line-height:1.7;margin:8px 0 0;color:#778270}.sc-updating{font-size:12px;color:#748270;margin:0 0 12px}.sc-calendar-help{font-size:12px;color:#74816e;margin-top:24px}.sc-calendar-help summary{min-height:36px;padding:9px 0;cursor:pointer;width:fit-content}.sc-calendar-help p{line-height:1.8;max-width:740px;margin:5px 0 0}
.simple-calendar button:focus-visible,.simple-calendar summary:focus-visible,.simple-calendar input:focus-visible,.simple-calendar select:focus-visible{outline:3px solid #967524;outline-offset:3px}
@media(max-width:1000px){.sc-event{grid-template-columns:125px minmax(0,1fr);gap:14px 20px;padding:20px}.sc-event-actions{grid-column:2;flex-direction:row;min-width:0;justify-content:flex-start}.sc-event-actions .button{width:auto;min-width:95px}}
@media(max-width:640px){.sc-toolbar{gap:12px;margin-bottom:16px}.sc-period{order:3;flex-basis:100%;font-size:13px}.sc-date{margin-left:auto;gap:6px}.sc-date input{max-width:153px;font-size:16px;min-width:0}.sc-day-strip{gap:4px}.sc-day-strip button{padding:9px 2px;min-height:80px;border-radius:8px}.sc-day-strip button strong{font-size:19px}.sc-day-strip button span{font-size:11px}.sc-filter-fields{grid-template-columns:1fr;gap:13px}.sc-filter-fields select{font-size:16px}.sc-list-heading{align-items:flex-start;gap:10px;margin-top:23px}.sc-list-heading h2{font-size:18px}.sc-list-heading .button{font-size:11px;padding:8px;min-height:38px}.sc-event{grid-template-columns:1fr;padding:18px;gap:15px}.sc-event-time{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.sc-event-time>strong{font-size:17px}.sc-event-main h3{font-size:17px}.sc-event .sc-event-meta{margin-bottom:10px}.sc-event-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}.sc-event-actions .button{width:100%;min-width:0;min-height:44px}.sc-event-owner{display:block!important}.sc-event-owner>span{display:block;font-size:12px}.sc-empty{padding:25px 18px}.sc-agenda-day{margin-bottom:23px}}
@media(max-width:370px){.sc-week-controls{gap:3px}.sc-week-controls .button{min-width:36px;padding:8px}.sc-date{gap:4px}.sc-date>span{font-size:11px}.sc-date input{max-width:130px;padding:8px 4px;font-size:14px}.sc-event{padding:15px}.sc-day-strip{gap:3px}.sc-day-strip button span{font-size:10px}}

/* Match the rest of the workplace; status is always expressed in words. */
.simple-calendar{color:var(--ink)}.sc-calendar-intro{margin:0 0 22px;padding:16px 20px;border-left:3px solid var(--yellow);background:#fff;border-radius:0 9px 9px 0}
.sc-calendar-intro strong{font-size:15px}.sc-calendar-intro p{font-size:13px;color:var(--muted);line-height:1.6;margin:6px 0 0}
.sc-day-strip button.selected{background:#971c23;border-color:#971c23}.sc-day-strip button.is-today{border-color:#971c23}
.sc-status-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.sc-status-tabs button{border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--muted);font:inherit;font-size:13px;min-height:44px;padding:10px 14px;cursor:pointer}
.sc-status-tabs button[aria-pressed="true"]{background:#faeeee;border-color:#d9a2a5;color:#971c23;font-weight:650}
.sc-event{border-color:var(--line)}.sc-event.confirmed{border-left:3px solid #497553}.sc-event.proposed,.sc-event.requested{border-left:3px solid #bb8b22}
.sc-event .sc-event-place{font-size:13px;line-height:1.6;display:flex;flex-wrap:wrap;gap:3px 9px;margin:0 0 8px}.sc-event-place>span,.sc-event-owner>span{color:var(--muted)}.sc-event-place>strong{font-weight:550}
.sc-more,.sc-more p,.sc-calendar-help,.sc-event .sc-event-meta,.sc-agenda-day>h3{color:#57616b}.sc-event-owner>strong{color:var(--ink)}
.sc-active-filters button{background:#f5f6f7;color:var(--ink);border-color:var(--line)}.sc-cancelled input{accent-color:var(--red)}
@media(max-width:640px){.sc-calendar-intro{padding:14px 16px}.sc-status-tabs{display:grid;grid-template-columns:1fr 1fr}.sc-status-tabs button:first-child{grid-column:1/-1}.sc-event .sc-event-place{display:block}.sc-event-place>span{display:block;font-size:12px}}
