:root{--agenda-navy:#071426;--agenda-yellow:#ffc722;--agenda-border:#d8e1ed;--agenda-muted:#52657b}*{box-sizing:border-box}body{margin:0;background:#f1f4f8;color:#102238;font:16px/1.5 system-ui,Arial,sans-serif}.agenda-header{background:var(--agenda-navy);color:white;padding:18px max(20px,calc((100vw - 1440px)/2));display:flex;gap:24px;align-items:center;justify-content:space-between;border-bottom:4px solid var(--agenda-yellow)}.agenda-brand{display:flex;align-items:center;gap:12px;font-weight:900;text-decoration:none;color:white}.agenda-brand img{width:48px;height:48px;object-fit:contain}.agenda-header nav{display:flex;gap:18px;flex-wrap:wrap}.agenda-header nav a{color:white;text-decoration:none;font-size:14px}.agenda-header nav a:hover{text-decoration:underline}.agenda-main{max-width:1480px;margin:34px auto 90px;padding:0 24px}.agenda-topline{color:#7d6000;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:10px 0}h2{font-size:23px;line-height:1.3}p{line-height:1.6}.agenda-intro{color:var(--agenda-muted);margin-bottom:24px}.agenda-panel{background:white;border:1px solid var(--agenda-border);border-radius:18px;box-shadow:0 12px 35px #07142608;padding:24px;margin-top:20px}.agenda-controls{border:0;padding:0;margin:0;display:flex;align-items:end;gap:14px;flex-wrap:wrap}.agenda-controls label,.agenda-admin-form label{display:grid;gap:6px;font-size:14px;font-weight:700}.agenda-controls select{min-width:210px}.agenda-controls label.agenda-check{display:flex;align-items:center;gap:8px;min-height:44px}.agenda-controls input[type=checkbox]{width:18px;height:18px;accent-color:#0b3a75}button,.agenda-button{font:700 14px/1.35 system-ui,sans-serif;cursor:pointer;min-height:44px;padding:10px 15px;border:1px solid #c3cfdf;border-radius:9px;background:white;color:var(--agenda-navy);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled),.agenda-button:hover{border-color:#0b3a75;background:#edf5ff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e7ae00;outline-offset:2px}button.primary,.agenda-button.primary,button[aria-pressed=true]:not(.agenda-day-number){background:var(--agenda-navy);color:white;border-color:var(--agenda-navy)}.agenda-toggle{display:flex;gap:8px;margin-left:auto}select,input[type=date],input[type=month],input[type=text],input[type=url],input[type=number],textarea{font:inherit;min-height:44px;padding:9px 12px;border:1px solid #bdcbdd;border-radius:9px;background:white;color:#102238;min-width:0;max-width:100%}.agenda-summary{color:var(--agenda-muted);font-size:14px;margin:20px 0 0}.agenda-monthbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between;margin-bottom:20px}.agenda-monthbar h2{margin:0;text-transform:none}.agenda-month-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agenda-weekdays,.agenda-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.agenda-weekdays{background:#edf3fa;border-radius:8px 8px 0 0;text-align:center;font-size:12px;font-weight:800;padding:10px 0}.agenda-day{min-height:64px;padding:8px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;min-width:0}.agenda-day:nth-child(7n){border-right:0}.agenda-day-number{border:0;padding:4px;width:34px;min-height:34px;font-weight:800;margin-bottom:4px}.agenda-day.is-today .agenda-day-number{background:#e6f1ff;border:1px solid #3778c2}.agenda-day.is-selected{box-shadow:inset 0 0 0 2px #dca800;background:#fffef5}.agenda-day.has-holiday{background:#fff4f2}.agenda-day-blank,.agenda-day.outside-season{background:#f7f9fc}.agenda-day.outside-season{opacity:.4}.agenda-cell-holiday{display:block;color:#a62430;font-size:10px;font-weight:800;line-height:1.3;margin:4px 0 8px;overflow-wrap:anywhere}.agenda-mini{display:block;text-align:center;min-height:72px;width:100%;margin:4px 0;padding:7px 4px;background:#f5f8fc;border:1px solid #dce5ef;border-radius:8px}.agenda-mini-teams{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#63738a}.agenda-mini img{object-fit:contain;max-width:28%}.agenda-mini-names{display:block;font-size:10px;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}.agenda-mini small{display:block;font-size:10px;margin-top:4px;color:#536981}.agenda-more{font-size:11px;width:100%;padding:5px;min-height:34px}.agenda-day-detail{scroll-margin-top:50px;margin-top:30px}.agenda-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.agenda-match{display:block;min-width:0;padding:16px;border:1px solid var(--agenda-border);border-radius:13px;text-decoration:none;color:#12283e;background:white;transition:box-shadow .15s}.agenda-match:hover{box-shadow:0 8px 20px #10223818;border-color:#8499b4}.agenda-match-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#52657b}.agenda-match-meta>span:first-child{color:#8b6500;font-weight:800}.agenda-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:16px 0}.agenda-versus>span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0;font-size:13px}.agenda-versus strong{overflow-wrap:anywhere}.agenda-versus img{object-fit:contain}.agenda-versus>b{color:#8b6500;font-size:14px;white-space:nowrap}.agenda-match-foot{font-size:11px;color:#52657b;border-top:1px solid #e2e8f0;padding-top:10px}.agenda-empty{grid-column:1/-1;padding:18px;border:1px dashed #c9d4e0;border-radius:9px;color:#607087}.agenda-holiday{display:flex;gap:10px;padding:14px;margin-bottom:12px;background:#fff2ef;border-radius:10px;border:1px solid #f3cac5}.agenda-holiday small{display:block;color:#915b52;font-size:12px}.agenda-holiday a{font-size:12px;color:#8a352f}.agenda-dot{width:8px;height:8px;border-radius:50%;background:#c83345;margin-top:8px;flex-shrink:0}.agenda-round{margin-bottom:32px}.agenda-status{font-size:14px;color:#8c3131;min-height:20px}.agenda-footer{font-size:13px;color:#52657b;text-align:center;padding:18px}.agenda-list[hidden],[hidden]{display:none!important}.agenda-hint{font-size:13px;color:#52657b}.agenda-admin-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.agenda-admin-form .wide{grid-column:1/-1}.agenda-admin-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:22px 0}.agenda-table-wrap{overflow:auto}.agenda-admin-table{width:100%;border-collapse:collapse;font-size:14px}.agenda-admin-table th,.agenda-admin-table td{text-align:left;padding:12px;border-bottom:1px solid #dbe3ed;vertical-align:top}.agenda-admin-table small{display:block;color:#607087}.agenda-admin-table th{color:#7e6000;background:#f7f9fc}.agenda-admin-table .row-actions{display:flex;gap:6px}.agenda-admin-table input[type=checkbox]{width:18px;height:18px}.agenda-dialog{width:560px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;border:1px solid #bccbdf;border-radius:16px;padding:24px}.agenda-dialog::backdrop{background:#071426b5}.agenda-dialog label{display:grid;gap:5px;margin:16px 0;font-size:14px;font-weight:700}.agenda-dialog label.agenda-check{display:flex;gap:10px}.agenda-source-list{font-size:13px;color:#52657b}.agenda-source-list a{color:#0b3a75}
@media(max-width:1100px){.agenda-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-mini-names{display:none}.agenda-mini-teams{gap:4px}.agenda-mini{min-height:64px}}
@media(max-width:700px){.agenda-main{padding:0 12px;margin-top:24px}.agenda-panel{padding:14px;border-radius:14px}.agenda-header{padding:14px;align-items:flex-start;flex-direction:column;gap:14px}.agenda-brand img{width:40px;height:40px}.agenda-header nav{gap:16px}.agenda-controls{gap:12px}.agenda-controls label:not(.agenda-check){width:100%}.agenda-controls select{width:100%;min-width:0}.agenda-toggle{margin-left:0;width:100%}.agenda-toggle button{flex:1}.agenda-monthbar{gap:14px}.agenda-monthbar h2{order:-1;width:100%;text-align:center;font-size:22px}.agenda-month-actions{gap:6px}.agenda-month-actions button{padding:8px 10px;font-size:12px}.agenda-day{min-height:50px;padding:3px 2px}.agenda-day-number{width:100%;max-width:42px;min-height:44px;padding:4px;font-size:12px}.agenda-weekdays{font-size:10px}.agenda-mini{padding:4px 1px;min-height:56px}.agenda-mini img{width:16px;height:16px;max-width:32%}.agenda-mini-teams{gap:2px}.agenda-mini-teams>span{font-size:8px}.agenda-mini small{font-size:8px;line-height:1.2}.agenda-cell-holiday{font-size:8px}.agenda-match-grid{grid-template-columns:1fr}.agenda-admin-form{grid-template-columns:1fr}.agenda-admin-form .wide{grid-column:auto}.agenda-versus{grid-template-columns:1fr auto 1fr}.agenda-admin-table{min-width:680px}.agenda-more{font-size:9px}.agenda-hint{font-size:12px}}

.agenda-generator-dialog{width:850px}.holiday-provisional{color:#996100!important;font-weight:700}.agenda-admin-actions>label{display:grid;gap:5px;font-size:14px;font-weight:700}.agenda-dialog [hidden]{display:none!important}#generatorNotice{padding:12px;background:#fff6d9;border-left:4px solid #ffc722}#bankStatus:empty{display:none}#annualHolidayBank .agenda-table-wrap,#seasonHolidaySettings .agenda-table-wrap{max-height:540px;overflow:auto}#annualHolidayBank th,#seasonHolidaySettings th{position:sticky;top:0;z-index:1}

.agenda-generator-dialog #generatorPreview .agenda-table-wrap{max-height:260px;overflow:auto}.agenda-generator-dialog p{margin:10px 0}.agenda-generator-dialog summary{cursor:pointer;color:#52657b;font-size:14px}.agenda-generator-dialog .agenda-admin-table{min-width:600px}

.agenda-date-highlights{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.agenda-date-highlight{padding:18px 22px;border:1px solid #d6e0eb;border-left:4px solid #ffc722;border-radius:12px;background:#f6f8fc}.agenda-date-highlight span{display:block;font-size:12px;font-weight:800;color:#52657b;text-transform:uppercase;letter-spacing:.04em}.agenda-date-highlight strong{display:block;font-size:24px;line-height:1.3;margin-top:7px}.agenda-date-highlight.is-final{background:#071426;color:white}.agenda-date-highlight.is-final span{color:#ffc722}.agenda-date-highlights>p{grid-column:1/-1;margin:0;font-size:12px;color:#52657b}.agenda-round-heading,.agenda-event-heading{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}.agenda-round-dates{font-size:13px;background:#fff4cd;color:#654d00;padding:9px 14px;border:1px solid #f4d566;border-radius:30px}.agenda-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agenda-event-card,.agenda-event-record{border:1px solid #d7dfee;border-left:4px solid #1863ad;background:white;border-radius:13px;padding:18px;overflow-wrap:anywhere}.agenda-event-card{background:#f2f7fd}.agenda-event-card h3,.agenda-event-record h3{margin:10px 0}.agenda-event-card p,.agenda-event-record p{margin:8px 0}.agenda-event-meta{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:12px;font-weight:800;color:#235383}.agenda-event-description{white-space:pre-wrap}.agenda-event-list{display:grid;gap:16px;margin-top:20px}.agenda-event-state{display:inline-block;border-radius:30px;padding:5px 10px;font-size:12px;font-weight:800;background:#fff1c0;color:#6b4d00}.agenda-event-state.state-approved{background:#d9f1e5;color:#08643c}.agenda-event-state.state-rejected,.agenda-event-state.state-cancelled{background:#ffe3e3;color:#922727}.agenda-review-note{padding:10px;background:#f1f4f8;border-radius:8px}.agenda-cell-event{display:block;width:100%;text-align:left;margin:4px 0;padding:5px 7px;background:#e4effa;color:#164f87;border:1px solid #c3d9ee;border-radius:6px;font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.agenda-events-access{border-left:4px solid #ffc722}#eventTeamLabel[hidden],#eventPublicationLabel[hidden],#eventReviewLabel[hidden]{display:none!important}.agenda-event-record input[type=time],#eventForm input[type=time]{padding:11px;border:1px solid #c4d0df;border-radius:9px;background:white;font:inherit;width:100%;min-height:44px}.agenda-event-heading>label{font-size:13px;display:grid;gap:4px}@media(max-width:700px){.agenda-date-highlights,.agenda-event-grid{grid-template-columns:1fr}.agenda-date-highlight{padding:14px 16px}.agenda-date-highlight strong{font-size:21px}.agenda-cell-event{font-size:8px;padding:4px 2px}.agenda-round-dates{border-radius:10px}.agenda-event-meta{display:block}.agenda-event-meta>span{display:block}}

.agenda-date-estimated{display:inline-block;padding:4px 9px;margin:8px 0 2px;border:1px solid #ebca62;border-radius:20px;background:#fff3c6;color:#6d5100;font-size:11px;font-weight:800}.agenda-highlight-estimate{display:inline-block;margin-top:8px;padding:3px 8px;border-radius:20px;color:#ffc722;background:#ffffff12;font-size:12px;font-weight:800}.agenda-round-dates:not(.is-estimated){background:#edf4fb;color:#2a5679;border-color:#d0e0ee}
.agenda-week-detail{margin-top:30px;scroll-margin-top:32px}
.agenda-week-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:5px 16px;margin-bottom:14px}
.agenda-week-heading h2,.agenda-week-range{margin:0}
.agenda-week-range{font-size:.88rem;color:#52677f}
.agenda-week-day{scroll-margin-top:32px}
.agenda-week-day+.agenda-week-day{margin-top:22px}
.agenda-week-day-title{font-size:1rem;margin:0 0 10px}
.agenda-week-day-title::first-letter{text-transform:uppercase}
.agenda-week-day.is-selected .agenda-week-day-title{border-inline-start:4px solid #d9a800;padding-inline-start:10px}
