.calendar-toolbar,.calendar-nav,.calendar-views{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.calendar-toolbar{justify-content:space-between;margin-bottom:16px}.calendar-toolbar h2{font-size:19px;margin:0}.calendar-views button[aria-pressed=true]{background:var(--green);color:white}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--line)}.calendar-day{background:white;min-width:0;min-height:140px;padding:8px}.calendar-day.outside{background:#f5f6f2}.calendar-date{background:transparent;color:var(--ink);border:0;border-radius:7px;min-width:36px;min-height:36px;font:inherit;font-weight:700;cursor:pointer}.calendar-date[aria-current=date]{background:var(--green);color:white}.calendar-event{display:block;width:100%;text-align:left;color:#173c2d;background:#e4efdf;border:1px solid #b7ceb0;border-left:4px solid #3f7552;border-radius:7px;padding:8px;margin:5px 0;font:inherit;font-size:12px;overflow-wrap:anywhere;cursor:pointer}.calendar-event small{display:block;line-height:1.45;color:#405c4b;margin-top:3px}.calendar-event.unavailable{background:#f2eee4;color:#5c5037;border-color:#d5c9ae}.calendar-agenda{display:grid;gap:12px}.calendar-agenda-day{padding:14px;border:1px solid var(--line);border-radius:12px;background:white;min-width:0}.calendar-agenda-day h3{font-size:14px;margin:0 0 10px}.calendar-slot{display:block;width:100%;text-align:left;background:#fafcf7;border:1px dashed #cbd9c7;border-radius:8px;padding:12px;color:#365d43;margin:6px 0;min-height:44px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-week .calendar-agenda-day{padding:8px}.calendar-empty{font-size:12px;color:#56695c;padding:10px 0}.solo-note{color:#53695a;font-size:12px;line-height:1.6}.owner-earnings{background:#f0f5e9;border:1px solid #d6e2cc;border-radius:13px;padding:16px;margin:16px 0}.owner-earnings h3{margin:0 0 12px;font-size:15px}.owner-earnings dl{margin:0}.owner-earnings dl>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #d9e3d2;font-size:13px}.owner-earnings dd{margin:0;font-weight:700}.owner-earnings .earnings-total{font-size:17px;color:#224e34}.owner-earnings small{display:block;font-size:12px;line-height:1.6;margin-top:12px;color:#52664d}.mini-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:10px 0}.mini-calendar button{min-height:65px;background:#f5f8ef;border:1px solid #d9e2d2;border-radius:8px;padding:6px;color:#2a4c36}.mini-calendar button[aria-pressed=true]{outline:2px solid #366746;background:#e0edd7}.mini-calendar small{display:block;margin-top:5px;font-size:10px}.solo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.solo-fields .field{min-width:0}.solo-fields input,.solo-fields select{font-size:16px;min-height:44px;min-width:0}.calendar-legend{font-size:12px;line-height:1.6;color:#526454;margin:10px 0}.solo-schedule{width:min(760px,100%)}.solo-schedule .modalfoot{position:sticky;bottom:-23px;background:white;padding:12px 0;border-top:1px solid var(--line)}.calendar-choice{display:grid;gap:9px}.calendar-choice button{text-align:left;min-height:44px}.solo-settings{margin-top:14px}@media(max-width:900px){.calendar-week{grid-template-columns:1fr}.calendar-week .calendar-agenda-day{padding:14px}.calendar-day{min-height:100px;padding:4px}.calendar-event{padding:6px;font-size:11px}}@media(max-width:550px){.calendar-toolbar{align-items:flex-start}.calendar-nav{width:100%;justify-content:space-between}.calendar-views{width:100%}.calendar-views button{flex:1;min-height:44px;padding:9px 6px}.calendar-grid{gap:1px}.calendar-day{min-height:80px;padding:2px}.calendar-day .calendar-event{font-size:10px;padding:4px 2px;border-left-width:2px}.calendar-day .calendar-event small{display:none}.calendar-date{min-width:28px;min-height:34px;padding:3px;font-size:11px}.calendar-day-head{font-size:10px;padding:6px 0;text-align:center;background:#f3f6ee}.mini-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.mini-calendar button{min-height:55px}.owner-earnings{padding:12px}.owner-earnings dl>div{font-size:12px}.solo-fields{grid-template-columns:1fr}.calendar-toolbar .button{min-height:44px}.calendar-week{display:block}.calendar-week>section{margin-bottom:10px}}

.calendar-holiday{display:block;color:#69501f;font-size:11px;line-height:1.5;padding:4px 2px;background:#fff4d7;border-radius:4px;margin:4px 0}.solo-time-picker{display:flex;gap:6px}.solo-time-picker select{min-width:0;flex:1;font-size:16px;min-height:44px}

.calendar-event-title{display:block;font-weight:650;margin-top:5px;line-height:1.4}.calendar-slot b,.calendar-slot span{display:block}.calendar-slot span{font-size:11px;color:#5b715f;margin-top:5px}.calendar-week .calendar-agenda-day{align-self:start;min-height:165px}

/* Day/Month corrections. Week cards and their merged free windows are unchanged. */
.calendar-day-heading{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 flex-wrap:wrap;
 font-size:13px;
 margin:8px 0}
.calendar-day-heading .calendar-holiday{
 margin:0}
.calendar-day-heading button{
 min-height:44px}
.calendar-timeline-help{
 font-size:12px;
 color:#526454;
 line-height:1.5}
.calendar-timeline{
 height:clamp(360px,65vh,680px);
 overflow-y:auto;
 overflow-x:hidden;
 border:1px solid var(--line);
 border-radius:12px;
 background:#fff;
 overscroll-behavior:contain}
.calendar-timeline-canvas{
 position:relative;
 min-height:360px;
 margin-top:18px;
 margin-bottom:18px}
.calendar-hour{
 position:absolute;
 left:0;
 width:76px;
 height:72px;
 padding:0 7px;
 font-size:11px;
 color:#405848;
 line-height:1.3}
.calendar-hour>span:first-child{
 display:block;
 transform:translateY(-7px)}
.calendar-hour-zone{
 display:block;
 font-size:10px;
 transform:translateY(-7px);
 color:#53695a}
.calendar-time-slot{
 position:absolute;
 left:76px;
 right:0;
 height:72px;
 border:0;
 border-top:1px solid #d9e1d5;
 background:#f8faf5;
 text-align:left;
 color:#365d43;
 cursor:pointer}
.calendar-time-slot:disabled{
 background:#f0f1ee;
 cursor:default}
.calendar-time-slot span{
 display:inline-block;
 padding-left:5px;
 font-size:18px}
.calendar-time-track{
 position:absolute;
 left:105px;
 right:6px;
 top:0;
 pointer-events:none}
.calendar-timeline-canvas:has(.calendar-time-track){
 cursor:default}
.calendar-time-track{
 pointer-events:auto;
 background:transparent}
.calendar-timed-event{
 position:absolute;
 margin:0;
 min-height:18px;
 box-sizing:border-box;
 text-align:left;
 overflow:hidden;
 border:1px solid #abc49f;
 border-left:4px solid #3f7552;
 border-radius:7px;
 background:#e4efdf;
 color:#173c2d;
 padding:7px;
 font:inherit;
 font-size:12px;
 cursor:pointer;
 z-index:2}
.calendar-timed-event b,.calendar-timed-event span,.calendar-timed-event small{
 display:block;
 line-height:1.4;
 overflow:hidden;
 text-overflow:ellipsis}
.calendar-timed-event b{
 font-size:11px}
.calendar-timed-event span{
 font-weight:650;
 margin:4px 0}
.calendar-timed-event small{
 color:#405c4b;
 font-size:11px}
.calendar-timed-event.short{
 padding:2px 5px}
.calendar-timed-event.short span{
 margin:0}
.calendar-timed-event.unavailable,.calendar-month-event.unavailable,.calendar-panel-event.unavailable{
 background:#f2eee4;
 color:#5c5037;
 border-color:#cfc0a0}
.calendar-now{
 position:absolute;
 left:0;
 right:0;
 height:2px;
 background:#b24132;
 z-index:3;
 pointer-events:none}
.calendar-panel-event{
 display:block;
 width:100%;
 min-height:60px;
 text-align:left;
 font:inherit;
 font-size:14px;
 padding:12px;
 border:1px solid #b7ceb0;
 border-left:4px solid #3f7552;
 border-radius:8px;
 background:#e4efdf;
 color:#173c2d}
.calendar-panel-event b,.calendar-panel-event span,.calendar-panel-event small{
 display:block;
 line-height:1.5}
.calendar-panel-event small{
 font-size:12px}
.calendar-day-panel{
 display:grid;
 gap:10px;
 grid-column:1/-1}
.calendar-day-panel .button{
 min-height:44px;
 text-align:left}
.calendar-month{
 grid-template-rows:30px repeat(6,126px)}
.calendar-month .calendar-day{
 min-height:0;
 height:126px;
 padding:4px 6px;
 position:relative;
 overflow:hidden}
.calendar-month .calendar-day-head{
 font-size:12px;
 text-align:center;
 padding:6px;
 background:#f3f6ee;
 color:#405848}
.calendar-month .calendar-date{
 min-width:30px;
 min-height:30px;
 font-size:12px;
 padding:3px 7px}
.calendar-month .selected{
 box-shadow:inset 0 0 0 2px #668b59}
.calendar-month-event{
 display:block;
 width:100%;
 height:23px;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
 background:#e4efdf;
 color:#173c2d;
 border:0;
 border-left:3px solid #3f7552;
 border-radius:3px;
 text-align:left;
 padding:3px 5px;
 font:inherit;
 font-size:11px;
 margin:2px 0;
 cursor:pointer}
.calendar-month .calendar-holiday{
 font-size:10px;
 padding:0 3px;
 margin:1px 0;
 line-height:14px;
 height:14px;
 overflow:hidden;
 white-space:nowrap}
.calendar-more{
 display:block;
 width:100%;
 border:0;
 text-align:left;
 background:transparent;
 color:#234e39;
 font:inherit;
 font-size:12px;
 font-weight:650;
 min-height:24px;
 cursor:pointer;
 padding:2px 4px}
.calendar-mobile-count,.calendar-mobile-holiday{
 display:none}
.calendar-date:focus-visible,.calendar-month-event:focus-visible,.calendar-more:focus-visible,.calendar-timed-event:focus-visible,.calendar-time-slot:focus-visible,.calendar-panel-event:focus-visible,.calendar-timeline:focus-visible{
 outline:3px solid #b27420;
 outline-offset:-3px;
 z-index:5}

@media(max-width:1100px){
 .calendar-month{
 grid-template-rows:30px repeat(6,118px)}
.calendar-month .calendar-day{
 height:118px}
.calendar-month .calendar-date{
 min-height:28px}
.calendar-month-event{
 height:22px}
.calendar-month .calendar-day{
 padding:3px}
}

@media(max-width:700px){
 .calendar-month{
 grid-template-rows:26px repeat(6,67px)}
.calendar-month .calendar-day{
 height:67px;
 padding:0}
.calendar-month .calendar-date{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 width:100%;
 height:100%;
 min-width:0;
 font-size:13px;
 border-radius:0;
 gap:5px}
.calendar-mobile-count{
 display:block;
 font-size:11px;
 font-weight:650;
 min-height:15px}
.calendar-month-details{
 display:none}
.calendar-mobile-holiday{
 display:block;
 position:absolute;
 right:3px;
 top:3px;
 font-size:8px;
 color:#805910;
 pointer-events:none}
.calendar-month .calendar-date[aria-current=date]{
 background:#235b47;
 color:white}
.calendar-month .calendar-day-head{
 font-size:11px;
 padding:4px}
.calendar-hour{
 width:64px;
 padding:0 4px;
 font-size:10px}
.calendar-time-slot{
 left:64px}
.calendar-time-track{
 left:88px;
 right:3px}
.calendar-timed-event{
 padding:5px;
 font-size:12px;
 border-left-width:3px}
.calendar-timed-event b{
 font-size:10px}
.calendar-timed-event small{
 font-size:11px}
.calendar-timed-event.dense{
 padding:3px;
 font-size:11px}
.calendar-timed-event.dense b{
 font-size:9px}
.calendar-timed-event.dense small{
 display:none}
.calendar-timeline{
 height:58vh;
 min-height:360px}
.calendar-day-heading{
 font-size:12px}
.calendar-day-heading button{
 font-size:12px;
 padding:9px}
.calendar-timeline-help{
 font-size:11px}
}

@media(max-width:360px){
 .calendar-month{
 grid-template-rows:26px repeat(6,60px)}
.calendar-month .calendar-day{
 height:60px}
.calendar-hour{
 width:57px}
.calendar-time-slot{
 left:57px}
.calendar-time-track{
 left:81px}
.calendar-timed-event b{
 font-size:9px}
}

.calendar-timed-event{
 align-content:start}
.calendar-month{
 grid-template-rows:30px repeat(6,112px)}
.calendar-month .calendar-day{
 height:112px}
.calendar-month .calendar-holiday{
 position:absolute;
 right:4px;
 top:10px;
 max-width:58%;
 margin:0}
.calendar-month .calendar-more{
 min-height:24px}
.calendar-month .calendar-month-details{
 padding-top:1px}
@media(max-width:1100px) and (min-width:701px){
 .calendar-month{
 grid-template-rows:30px repeat(6,104px)}
.calendar-month .calendar-day{
 height:104px}
}
@media(max-width:700px){
 .calendar-month{
 grid-template-rows:26px repeat(6,67px)}
.calendar-month .calendar-day{
 height:67px}
}
@media(max-width:360px){
 .calendar-month{
 grid-template-rows:26px repeat(6,60px)}
.calendar-month .calendar-day{
 height:60px}
}

@media(max-width:550px){
 .calendar-nav{
 justify-content:flex-start}
.calendar-nav h2{
 flex-basis:100%;
 font-size:18px;
 white-space:normal;
 margin:3px 0}
.calendar-month{
 grid-template-rows:26px repeat(6,60px)}
.calendar-month .calendar-day{
 height:60px}
}
@media(max-width:360px){
 .calendar-month{
 grid-template-rows:26px repeat(6,56px)}
.calendar-month .calendar-day{
 height:56px}
}

.calendar-month-indicators{
 position:absolute;
 right:4px;
 top:9px;
 max-width:65%;
 display:flex;
 gap:3px;
 justify-content:flex-end}
.calendar-month .calendar-month-indicators .calendar-holiday{
 position:static;
 max-width:none}
.calendar-month-blocked{
 background:#f2eee4;
 color:#5c5037;
 border-radius:3px;
 padding:0 3px;
 font-size:10px;
 line-height:14px;
 white-space:nowrap}


.calendar-timed-event .calendar-event-number{
 display:none}
@media(max-width:700px){
 .calendar-timed-event.dense .calendar-event-number{
 display:block;
 font-size:14px;
 font-weight:700}
.calendar-timed-event.dense b,.calendar-timed-event.dense span:not(.calendar-event-number),.calendar-timed-event.dense small{
 display:none}
}
