/* Approved navy monthly planner: compact navigation and an editorial agenda. */
.calendar-shell.calw-workspace{max-width:1880px;padding:14px 26px 24px;--calw-line:#789ab747}
.calendar-shell .calw-hero{min-height:38px;padding:0;margin:0 0 8px;overflow:visible}
.calendar-shell .calw-copy{max-width:100%}
.calendar-shell .calw-hero h2{display:flex;align-items:center;gap:12px;font-size:18px;line-height:1.5;font-weight:650;letter-spacing:0;color:#e4eef5}
.calendar-shell .calw-hero h2 i{font-size:20px;color:#b1dcd9}
.calendar-shell .calw-hero-art{inset:-30px 0 auto auto;width:min(46%,560px);height:230px;opacity:.95}
.calendar-shell .calw-toolbar{display:grid;grid-template-columns:minmax(0,1fr);width:54%;min-height:136px;align-content:center;gap:15px 20px;padding:0 16px 20px 0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.calendar-shell .calw-month{grid-column:1;grid-row:1;gap:12px}
.calendar-shell .calw-month h2{font-size:38px;font-weight:450;letter-spacing:-.03em}
.calendar-shell .calw-month .calw-button{min-width:38px;min-height:38px;padding:4px 12px;border-radius:50%;font-size:22px;border-color:#8ba8bf88;background:#19364a55;box-shadow:none}
.calendar-shell .calw-month .calw-button:last-child{min-width:58px;min-height:32px;margin-left:6px;border-radius:18px;font-size:12px}
.calendar-shell .calw-filters{grid-column:1;grid-row:2;min-width:0;gap:5px 8px;align-self:end}
.calendar-shell .calw-filters .calw-filter{min-height:32px;padding:6px 10px;border:1px solid transparent;border-radius:18px;background:transparent;box-shadow:none;backdrop-filter:none;font-weight:500;font-size:12px;color:#d8e5ed}
.calendar-shell .calw-filters .calw-filter[aria-pressed=true]{background:#9ae4d2;border-color:#9ae4d2;color:#123d46;font-weight:650;text-shadow:none}
.calendar-shell .calw-dot{width:8px;height:8px;box-shadow:none}
.calendar-shell .calw-agenda>header{flex-wrap:wrap;gap:10px 8px}
.calendar-shell .calw-agenda>header>.calw-selected-heading{flex:0 0 auto}
.calendar-shell .calw-agenda>header>.cc-wrap{flex:1 1 190px;margin:0 0 0 auto;min-width:190px;width:auto;max-width:270px;align-self:center}
.calendar-shell .calw-agenda .cc-display{gap:4px;padding:6px 6px;justify-content:space-between}
.calendar-shell .calw-agenda .cc-meta{min-width:0;flex:0 1 54px;overflow:hidden;letter-spacing:0}
.calendar-shell .calw-agenda .cc-meta b,.calendar-shell .calw-agenda .cc-meta small{overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
.calendar-shell .calw-agenda .cc-meta b{font-size:9px}
.calendar-shell .calw-agenda .cc-meta small{font-size:7px}
.calendar-shell .calw-agenda .cc-digits{flex-shrink:0}
.calendar-shell .calw-agenda .cc-digit{width:20px;height:32px;flex-shrink:0}
.calendar-shell .calw-agenda .cc-digit.cc-second{width:16px;height:26px}
.calendar-shell .calw-agenda .cc-colon{font-size:30px}
.calendar-shell .calw-agenda .cc-settings header{border:0;padding:0;margin-bottom:16px}
.calendar-shell #calwSelectedTitle{white-space:nowrap}
.calendar-shell .cc-display{border-color:#83a6b970;border-radius:8px;box-shadow:none;background:#071a2a}
.calendar-shell .calw-primary,.calendar-shell .calw-add-day{background:#9ae4d2;color:#103b44;border:1px solid #a6ebdc;border-radius:9px;box-shadow:none;text-shadow:none;font-weight:600}
.calendar-shell .calw-button:hover{transform:none;filter:brightness(1.08)}
.calendar-shell .calw-board{grid-template-columns:minmax(0,2.5fr) minmax(290px,1fr);gap:24px}
.calendar-shell .calw-month-panel{padding:0;border:1px solid #8dacc18c;border-radius:13px;background:#102c45;box-shadow:inset 0 1px #d6edf724,0 7px 20px #020d181f;backdrop-filter:none}
.calendar-shell .calw-weekdays{padding:15px 0;color:#d5e5ef;background:#193b55;font-weight:550;font-size:14px;border-bottom:1px solid #789ab747}
.calendar-shell .calw-weekday-today::before{display:none}
.calendar-shell .calw-grid{gap:1px;border:0;border-radius:0;background:#789ab738;grid-auto-rows:minmax(108px,auto)}
.calendar-shell.calw-workspace .calw-day{min-height:108px;padding:9px 8px 7px;background:#0e2a42;box-shadow:none;border-radius:0}
.calendar-shell.calw-workspace .calw-day:nth-child(14n+1),.calendar-shell.calw-workspace .calw-day:nth-child(14n+2),.calendar-shell.calw-workspace .calw-day:nth-child(14n+3),.calendar-shell.calw-workspace .calw-day:nth-child(14n+4),.calendar-shell.calw-workspace .calw-day:nth-child(14n+5),.calendar-shell.calw-workspace .calw-day:nth-child(14n+6),.calendar-shell.calw-workspace .calw-day:nth-child(14n+7){background:#102e47}
.calendar-shell.calw-workspace .calw-day:hover{background:#1a3b53}
.calendar-shell.calw-workspace .calw-day.today{background:linear-gradient(145deg,#1a4a53,#12384b);box-shadow:none;border-radius:0}
.calendar-shell.calw-workspace .calw-day.calw-selected:not(.today){background:linear-gradient(145deg,#1b3f5c,#17354d);box-shadow:inset 0 0 0 1px #b3e6ff66;border-radius:0}
.calendar-shell .calw-day-heading{font-size:16px;font-weight:450;margin-bottom:5px;padding:0;min-height:28px}
.calendar-shell .calw-date-number{font-variant-numeric:tabular-nums}
.calendar-shell .calw-day.today .calw-date-number{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid #97e8d1;border-radius:50%;color:#d0fff1;line-height:1}
.calendar-shell .calw-day.other-month .calw-day-heading{opacity:.5}
.calendar-shell.calw-workspace .calw-event{gap:5px;min-height:22px;padding:2px 1px;margin-bottom:3px;border:0;border-radius:4px;background:transparent;box-shadow:none;font-size:11px;line-height:1.5;color:#e0ecf5}
.calendar-shell .calw-event>.calw-art{display:none}
.calendar-shell .calw-event::before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--calw-accent,#84c5ff)}
.calendar-shell.calw-workspace .calw-event.calw-span{background:#67c5b71a}
.calendar-shell .calw-event.has-memo>.calw-event-title{color:#ead2a0}
.calendar-shell .calw-event.has-memo .calw-event-memo{stroke:#ead2a0;filter:none}
.calendar-shell .calw-side{gap:0;min-width:0}
.calendar-shell .calw-panel{padding:0 2px 22px;border:0;border-top:1px solid #8ca8bc80;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.calendar-shell .calw-agenda header{gap:10px;align-items:center;padding:18px 0 12px;border-bottom:1px solid #8ca8bc61;margin-bottom:0}
.calendar-shell .calw-agenda header>.calw-art,.calendar-shell .calw-agenda header>div>p{display:none}
.calendar-shell .calw-agenda header>div{min-width:0;flex:1}
.calendar-shell #calwSelectedTitle{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:18px;font-weight:500;line-height:1.4;letter-spacing:-.02em}
.calendar-shell #calwSelectedTitle .calw-selected-number{font-size:64px;font-weight:400;color:#ead2a0;line-height:1.05;font-variant-numeric:tabular-nums}
.calendar-shell .calw-badge{background:#9ae4d2;border-color:#9ae4d2;box-shadow:none;color:#103b44}
.calendar-shell .calw-agenda .calw-empty{min-height:118px;padding:36px 12px 24px;color:#d0e0eb;line-height:1.9}
.calendar-shell .calw-add-day{width:100%;min-height:42px;margin-top:12px}
.calendar-shell .calw-agenda-event{border:0;border-bottom:1px solid #789ab738;border-radius:0;background:transparent;box-shadow:none;padding:14px 0}
.calendar-shell .calw-agenda-event>time{color:#ead2a0}
.calendar-shell .calw-agenda-event>.calw-art{display:none}
.calendar-shell .calw-type{font-size:10px;white-space:normal}
.calendar-shell .calw-upcoming{padding-top:20px}
.calendar-shell .calw-upcoming header{padding:0 0 15px;gap:10px}
.calendar-shell .calw-upcoming header>.calw-art{position:relative;box-sizing:border-box;width:18.4px;height:18.4px;border:.6px solid #ead2a0;border-radius:50%;background:none;filter:none}
.calendar-shell .calw-upcoming header>.calw-art::before{content:'';position:absolute;inset:2.4px;border-radius:50%;background:#ead2a0}
.calendar-shell .calw-upcoming h3{font-size:19px;font-weight:600}
.calendar-shell .calw-upcoming-event{gap:10px;min-height:62px;padding:15px 0;border-bottom:1px solid #789ab74d;font-size:12px}
.calendar-shell .calw-upcoming-event time{min-width:48px;font-size:15px;font-weight:550;color:#ead2a0;font-variant-numeric:tabular-nums}
.calendar-shell .calw-upcoming-event>.calw-art{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--calw-accent);filter:none}
.calendar-shell .calw-upcoming-event>span:not(.calw-art){white-space:normal;line-height:1.6}
.calendar-shell .calw-hint,.calendar-shell .calw-footer{color:#adc3d2;font-size:10px;line-height:1.7}
.calendar-shell ::selection{background:#9ae4d2;color:#123d46}
@media(max-width:1400px){
 .calendar-shell.calw-workspace{padding:12px 20px 24px}
 .calendar-shell .calw-toolbar{grid-template-columns:minmax(0,1fr);gap:14px}
 .calendar-shell .calw-month{grid-column:1;grid-row:1}
 .calendar-shell .calw-filters{grid-column:1;grid-row:2}
 .calendar-shell .calw-hero-art{height:230px}
 .calendar-shell .calw-month h2{font-size:32px}
 .calendar-shell .calw-board{gap:18px}
 .calendar-shell.calw-workspace .calw-day{padding-left:5px;padding-right:5px}
}
@media(max-width:1100px){
 .calendar-shell .calw-board{grid-template-columns:minmax(0,1fr)}
 .calendar-shell .calw-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .calendar-shell .calw-upcoming{padding-top:18px}
}
@media(max-width:760px){
 .calendar-shell.calw-workspace{padding:12px 12px 22px}
 .calendar-shell .calw-hero{min-height:30px;margin-bottom:12px}
 .calendar-shell .calw-hero h2{font-size:16px}
 .calendar-shell .calw-toolbar{grid-template-columns:minmax(0,1fr);width:100%;min-height:0;gap:12px 8px;padding:0 0 16px}
 .calendar-shell .calw-hero{min-height:150px;align-items:flex-start;padding-top:8px}
 .calendar-shell .calw-hero-art{display:block;inset:12px 0 auto auto;width:75%;height:135px}
 .calendar-shell .calw-month{grid-column:1/-1;display:grid;grid-template-columns:30px minmax(0,1fr) 30px 46px;gap:6px;width:100%}
 .calendar-shell .calw-month h2{font-size:clamp(20px,6vw,28px)}
 .calendar-shell .calw-month .calw-button:last-child{min-width:46px;margin-left:0;padding:3px 6px}
 .calendar-shell .calw-month .calw-button{min-width:32px;min-height:32px;padding:3px 9px;font-size:20px}
 .calendar-shell .calw-filters{grid-column:1/-1;grid-row:2;gap:4px}
 .calendar-shell .calw-filters .calw-filter{padding:6px 8px;font-size:11px}
 .calendar-shell .calw-weekdays{padding:11px 0;font-size:12px}
 .calendar-shell .calw-grid{grid-auto-rows:minmax(96px,auto)}
 .calendar-shell.calw-workspace .calw-day{min-height:96px;padding:5px 2px}
 .calendar-shell .calw-day-heading{font-size:12px;min-height:24px;gap:1px;flex-wrap:wrap}
 .calendar-shell .calw-day-heading .calw-date-label{flex:0 0 100%;grid-template-columns:min-content minmax(0,1fr)}
 .calendar-shell .calw-day.today .calw-date-number{width:22px;height:22px}
 .calendar-shell .calw-day-heading>small{font-size:7px;padding:1px 3px}
 .calendar-shell.calw-workspace .calw-event{font-size:9px;gap:3px;min-height:21px;padding:2px 0}
 .calendar-shell .calw-event::before{width:4px;height:4px;flex-basis:4px}
 .calendar-shell .calw-side{grid-template-columns:minmax(0,1fr);gap:0}
 .calendar-shell #calwSelectedTitle .calw-selected-number{font-size:54px}
}
@media(max-width:360px){
 .calendar-shell .calw-day.today .calw-date-number{width:16px;height:18px}
}

.calendar-shell .calw-agenda{container-type:inline-size}
@container(max-width:340px){.calendar-shell #calwSelectedTitle{gap:4px;font-size:16px}.calendar-shell #calwSelectedTitle .calw-selected-number{font-size:48px}}

/* Let tall desktop windows share spare height across the calendar weeks. */
@media(min-width:1101px){
 .calendar-shell.calw-workspace{min-height:100%;display:flex;flex-direction:column}
 .calendar-shell>.calw-hero,.calendar-shell>.calw-toolbar,.calendar-shell>.calw-notice,.calendar-shell>.calw-footer{flex-shrink:0}
 .calendar-shell .calw-board{flex:1;align-items:stretch}
 .calendar-shell .calw-month-panel{display:flex;flex-direction:column}
 .calendar-shell .calw-weekdays{flex-shrink:0}
 .calendar-shell .calw-grid{flex:1;grid-auto-rows:minmax(108px,1fr)}
 .calendar-shell .calw-side{contain:size;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
 .calendar-shell .calw-side::-webkit-scrollbar{display:none;width:0;height:0}
 .calendar-shell .calw-side>.calw-panel{flex-shrink:0}
}
