body.calendar-compact main{max-width:none;padding:4px 8px 18px}body.calendar-compact #app>.pagehead{margin:0;padding:7px 9px;background:#fff;border:1px solid #bdccd7;border-bottom:0}body.calendar-compact #app>.pagehead .eyebrow,body.calendar-compact #app>.pagehead p{display:none}body.calendar-compact #app>.pagehead h1{font-size:16px}body.calendar-compact .calendar-app{border-radius:0;height:calc(100vh - 185px);min-height:620px}.calendar-head-actions,.holiday-head-actions{display:flex;gap:8px}.calendar-head-actions button{padding:6px 10px}.holiday-event{box-shadow:inset 0 0 0 2px #16808b}.holiday-control{display:grid;grid-template-columns:190px minmax(260px,1fr) auto;align-items:center;gap:18px;padding:14px 18px;background:#285b80;color:#fff;border-radius:10px 10px 0 0}.holiday-control label{margin:0}.holiday-control select{margin-top:4px}.holiday-control small{display:block;color:#dcecf3}.holiday-control>span{font-size:10px;color:#bcd6e2}.holiday-tabs{display:flex;overflow-x:auto;background:#e5edf2;border:1px solid #b4c6d2}.holiday-tabs button{flex:1;min-width:160px;padding:13px;border:0;border-bottom:4px solid transparent;border-radius:0;background:transparent}.holiday-tabs button b,.holiday-tabs button small{display:block}.holiday-tabs button small{margin-top:3px}.holiday-tabs button.chosen{background:#fff;border-bottom-color:#078995;color:#214f70}.holiday-summary{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:20px;padding:17px 20px;background:#fff;border:1px solid #b7c8d3;border-top:0}.holiday-summary h2{margin:3px 0}.holiday-summary p{margin:0}.holiday-kicker{font-size:9px;font-weight:800;letter-spacing:1.4px;color:#078995}.holiday-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px}.holiday-legend span{display:flex;align-items:center;gap:5px}.holiday-legend i{width:10px;height:10px;border-radius:2px}.holiday-legend .normal{background:#bccbd5}.holiday-legend .wish{background:#e0a64d}.holiday-legend .approved{background:#2f9b76}.holiday-release{display:flex;align-items:center;gap:9px}.holiday-release button{white-space:nowrap}.holiday-calendar{max-height:660px;overflow:auto;padding:13px;background:#dfe7ec;border:1px solid #b7c8d3;border-top:0}.holiday-week{min-width:900px;margin-bottom:14px;background:#fff;border:1px solid #aebfcb;border-radius:8px;overflow:hidden}.holiday-week>header{display:flex;align-items:center;gap:12px;padding:9px 12px;background:#285b80;color:#fff}.holiday-week.context>header{background:#718693}.holiday-week>header span{font-size:11px}.holiday-week>header small{margin-left:auto;color:#dce7ed}.holiday-week-head{display:grid;grid-template-columns:48px repeat(7,1fr);border-bottom:1px solid #c5d2da}.holiday-week-head>div{display:flex;justify-content:space-between;padding:7px 9px;border-left:1px solid #d2dce3;font-size:10px}.holiday-week-head .vacation{background:#fff}.holiday-week-body{display:grid;grid-template-columns:48px repeat(7,1fr);height:476px}.holiday-week-body>aside,.holiday-day{position:relative}.holiday-week-body>aside span{position:absolute;right:7px;font-size:9px;color:#667d8d;transform:translateY(-6px)}.holiday-day{border-left:1px solid #d2dce3;background:repeating-linear-gradient(to bottom,#f4f6f7 0,#f4f6f7 33px,#dce4e9 33px,#dce4e9 34px)}.holiday-day.vacation{background:repeating-linear-gradient(to bottom,#fff 0,#fff 33px,#e8eef2 33px,#e8eef2 34px)}.holiday-week.context{opacity:1}.holiday-slot{position:absolute;left:3%;width:94%;padding:4px 6px;border-left:3px solid #6394c3;border-radius:4px;background:#e6effa;color:#305b80;overflow:hidden;font-size:9px;line-height:1.2}.holiday-slot.orange{border-color:#d89950;background:#fff0df;color:#99602e}.holiday-slot.purple{border-color:#9980c4;background:#f0eafa;color:#705397}.holiday-slot.request{border-color:#d79b35;background:#fff0cf;color:#79520f}.holiday-slot.approved{border-color:#2e8c69;background:#dbf0e7;color:#21684e}.holiday-slot b,.holiday-slot span,.holiday-slot small{display:block}.holiday-requests{margin:16px 0}.holiday-request-row{display:grid;grid-template-columns:120px 8px minmax(0,1fr) 90px 100px;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #d5e0e7}.holiday-request-row time small,.holiday-request-row>div small{display:block}.holiday-request-row>i{height:42px;border-radius:4px;background:#6394c3}.holiday-request-row>i.orange{background:#d89950}.holiday-request-row>i.purple{background:#9980c4}.holiday-source{font-size:10px;color:#617786}@media(max-width:850px){.holiday-control,.holiday-summary{grid-template-columns:1fr}.holiday-control>span{display:none}.holiday-calendar{overflow:auto}.holiday-request-row{grid-template-columns:90px 7px 1fr}.holiday-request-row>*:nth-last-child(-n+2){grid-column:3}}
/* Editable club holiday periods. The small pen remains available without
   turning each tab into a tall administration card. */
.holiday-tab{position:relative;flex:1;min-width:170px;border-bottom:4px solid transparent}
.holiday-tab>button:first-child{width:100%;height:100%;min-width:0!important;padding:13px 37px 10px 13px!important;border:0!important;border-radius:0;background:transparent}
.holiday-tab b,.holiday-tab small{display:block}.holiday-tab small{margin-top:3px}
.holiday-tab.chosen{background:#fff;border-bottom-color:#078995;color:#214f70}
.holiday-tab-edit{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-width:30px!important;padding:4px 6px!important;border:1px solid #bfd0da!important;border-radius:6px!important;background:#fff!important}
.holiday-summary-edit{margin-left:8px;padding:3px 7px;font-size:11px}
.holiday-edit-note{padding:10px;border-radius:7px;background:#e8f2f4;font-size:12px}
.holiday-slot.regular{border-color:#899ca8;background:#e4e9ec;color:#536772}
.holiday-slot.requested{border-color:#d79b35;background:#fff0cf;color:#79520f}
.holiday-slot.rejected{border-color:#b56a65;background:#f8e4e2;color:#7f3935}
.holiday-release{flex-wrap:wrap;justify-content:flex-end}.holiday-request-row{grid-template-columns:120px 8px minmax(0,1fr) 90px minmax(260px,auto)}.holiday-request-row>i.requested{background:#d79b35}.holiday-request-row>i.approved,.holiday-request-row>i.published{background:#2e8c69}.holiday-request-row>i.rejected{background:#b56a65}.holiday-request-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.holiday-request-actions button{padding:6px 8px;white-space:nowrap}
@media(max-width:850px){.holiday-request-row{grid-template-columns:90px 7px minmax(0,1fr)}.holiday-request-row>.team-status,.holiday-request-actions{grid-column:3}.holiday-request-actions{justify-content:flex-start}}

.holiday-slot.crowded{padding:3px;font-size:8px}.holiday-slot.crowded b{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.holiday-week.context.collapsed{min-width:0;margin-bottom:10px;border-color:#9db4c3;background:#fff}.holiday-context-toggle{display:flex;align-items:center;gap:11px;width:100%;padding:12px 15px;border:0;border-radius:7px;background:#edf4f7;color:#244f6d;text-align:left}.holiday-context-toggle:hover{background:#e3f0f3}.holiday-context-toggle>span:nth-child(2){display:grid;gap:2px;min-width:0}.holiday-context-toggle small{color:#5d7687;font-weight:400}.holiday-context-toggle strong{margin-left:auto;white-space:nowrap;color:#087d89}.holiday-context-chevron{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;background:#285b80;color:#fff;font-size:23px;line-height:1}.holiday-context-close{margin-left:3px;padding:4px 8px;border-color:#ffffff66;background:#fff;color:#285b80;font-size:10px;white-space:nowrap}@media(max-width:650px){.holiday-context-toggle{align-items:flex-start}.holiday-context-toggle strong{display:none}}

.holiday-legend .taken{background:#287faa}.holiday-slot.regular-taken{border-color:#287faa;background:#dceef7;color:#184f6d}.holiday-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.holiday-choice button{display:grid;gap:6px;padding:18px;text-align:left;background:#eef5f8;border:1px solid #aec5d2}.holiday-choice button b{font-size:15px;color:#174c6c}.holiday-choice button small{color:#536d7d;line-height:1.4}.holiday-regular-options{display:grid;gap:8px;max-height:55vh;overflow:auto}.holiday-regular-options label{display:flex;gap:10px;align-items:flex-start;padding:11px;border:1px solid #c5d5de;border-radius:7px;background:#f7fafb}.holiday-regular-options input{margin-top:4px}.holiday-regular-options span{display:grid;gap:3px}.holiday-regular-options small,.holiday-regular-options em{font-size:11px;color:#607887}.holiday-regular-options em{font-style:normal;color:#087d89}.holiday-week-body>aside span:first-child{top:3px!important;transform:none}@media(max-width:650px){.holiday-choice{grid-template-columns:1fr}}
.holiday-publish-toggle.planning{border-color:#cc8a24;background:#e39a2d;color:#fff}.holiday-publish-toggle.planning:hover{background:#cd8520}.holiday-publish-toggle.released{border-color:#27805f;background:#2f9b76;color:#fff}.holiday-publish-toggle.released:hover{background:#267e60}.holiday-requests>.between>[data-real-holiday-new]{margin-left:auto}

.holiday-regular-hint{margin:0 0 12px}.holiday-regular-options{padding:1px 3px 1px 1px}.holiday-regular-options label{display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:12px 14px;cursor:pointer}.holiday-regular-options label:hover{border-color:#6f9bb3;background:#eef6f9}.holiday-regular-options input[type=checkbox]{width:18px!important;height:18px;margin:0!important;justify-self:center}.holiday-regular-copy{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 14px;min-width:0}.holiday-regular-copy>b{font-size:14px;color:#173f5a;overflow-wrap:anywhere}.holiday-regular-meta{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;grid-column:1/-1;color:#526d7d}.holiday-regular-meta strong,.holiday-regular-meta time,.holiday-regular-meta small{font-size:11px;white-space:nowrap}.holiday-regular-copy>em{grid-column:1/-1;justify-self:start;padding:3px 7px;border-radius:999px;background:#dff0f2;color:#096d76!important;font-size:10px!important;font-weight:750}@media(max-width:600px){.holiday-regular-copy{grid-template-columns:1fr}.holiday-regular-meta{align-items:flex-start;flex-direction:column;gap:2px}.holiday-regular-meta strong,.holiday-regular-meta time,.holiday-regular-meta small{white-space:normal}}
