.calendar-workspace {
    --calendar-line: #dce6eb;
    --calendar-soft: #f1f6f8;
    --calendar-hour: 42px;
    --calendar-columns: 52px repeat(7, minmax(0, 1fr));
    color: var(--text);
}
.titleline .calendar-add {flex: 0 0 auto; min-height: 44px; padding-inline: 12px}
.calendar-heading {gap:10px}
.calendar-heading h2 {margin-right:auto}
.calendar-heading .link {min-height:44px}
.calendar-controls {display:flex; gap:8px; flex-wrap:wrap; justify-content:space-between; margin:0 0 14px}
.calendar-segment {
    display:inline-flex; max-width:100%; background:var(--calendar-soft); padding:3px;
    border:1px solid var(--calendar-line); border-radius:10px;
}
.calendar-segment button {padding:7px 11px; font-size:13px; border-radius:7px; min-height:40px; white-space:nowrap}
.calendar-segment button[aria-pressed="true"] {color:#136395; background:white; font-weight:700; box-shadow:0 1px 3px #1c3f5015}
.calendar-workspace .calendar-toolbar {margin:0 0 12px; align-items:center}
.calendar-workspace .calendar-toolbar h3 {margin:0; color:var(--text); font-size:18px}
.calendar-workspace .calendar-toolbar h3::first-letter,.calendar-agenda-label h4::first-letter {text-transform:uppercase}
.calendar-workspace .calendar-notes {margin-top:0}
.calendar-family-panel {
    display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 12px; padding:8px 10px;
    border:1px solid var(--calendar-line); border-radius:10px; background:var(--calendar-soft);
}
.calendar-family-panel strong {margin-right:auto}
.calendar-family-panel p {margin:0; flex:1 1 160px; font-size:14px}
.calendar-family-panel .bluebutton {flex:0 0 auto; min-height:44px}
.calendar-family-panel .link {min-height:44px}
.calendar-family-panel select {width:auto; max-width:100%; padding:8px; min-height:44px}
.calendar-agenda-day {margin:0 0 14px}
.calendar-agenda-label {display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--calendar-line)}
.calendar-agenda-label h4 {margin:0; font-size:14px}
.calendar-agenda-label button {min-width:44px; min-height:44px; font-size:21px}
.calendar-current {color:var(--accent)}
.calendar-workspace [data-color="blue"] {--event-ink:#145885; --event-bg:#e8f4fc; --event-line:#4793c0}
.calendar-workspace [data-color="green"] {--event-ink:#1e653b; --event-bg:#eaf6ea; --event-line:#50976a}
.calendar-workspace [data-color="purple"] {--event-ink:#634485; --event-bg:#f1ebfa; --event-line:#8a70b4}
.calendar-workspace [data-color="rose"] {--event-ink:#873b5a; --event-bg:#faeaf0; --event-line:#b65f80}
.calendar-workspace [data-color="orange"] {--event-ink:#824918; --event-bg:#fff2e0; --event-line:#ba7137}
.calendar-workspace [data-color="teal"] {--event-ink:#146762; --event-bg:#e6f7f4; --event-line:#3c938b}
.calendar-workspace .calendar-note {
    display:grid; grid-template-columns:auto minmax(0, 1fr); gap:11px; align-items:start;
    margin:6px 0 0; padding:9px 11px; min-height:44px;
    color:var(--event-ink); background:var(--event-bg); border:0; border-left:3px solid var(--event-line);
    border-radius:7px; font-size:14px; line-height:1.32; white-space:normal;
}
.calendar-workspace .note-time {color:inherit; font-size:12px; line-height:1.5}
.calendar-note-name {min-width:0; overflow-wrap:anywhere}
.calendar-note-name small {display:block; margin-top:2px; font-size:11px; font-weight:600}
.calendar-workspace .calendar-empty {margin:12px 0 10px}
.calendar-workspace .calendar-day {border:0; border-radius:7px; min-height:45px}
.calendar-workspace .calendar-grid {padding:4px; border:1px solid var(--calendar-line); border-radius:12px}
.calendar-dots {position:absolute; display:flex; justify-content:center; bottom:4px; inset-inline:2px; gap:3px}
.calendar-dots b {height:4px; width:4px; background:var(--event-line); border-radius:50%}
.calendar-week-scroll {overflow-x:auto; max-width:100%; border:1px solid var(--calendar-line); border-radius:10px}
.calendar-week-grid {min-width:650px}
.calendar-dayheads,.calendar-all-day,.calendar-timeline {display:grid; grid-template-columns:var(--calendar-columns)}
.calendar-dayheads {background:var(--calendar-soft)}
.calendar-dayheads>span {align-self:center; text-align:center; color:var(--sub); font-size:10px}
.calendar-dayheads button {min-height:44px; text-align:center; border-left:1px solid var(--calendar-line); white-space:nowrap; font-size:13px}
.calendar-dayheads button b {font-size:16px}
.calendar-all-day {border-block:1px solid var(--calendar-line)}
.calendar-all-day>span {font-size:10px; padding:7px 3px; color:var(--sub); text-align:center}
.calendar-all-day>div {min-width:0; padding:0 2px 3px; border-left:1px solid var(--calendar-line)}
.calendar-all-day .calendar-note,.calendar-time-column .calendar-note {
    display:block; min-height:0; margin:3px 0 0; padding:2px 4px; font-size:11px;
}
.calendar-all-day .note-time {display:none}
.calendar-time-scroll {max-height:min(52vh,460px); min-height:240px; overflow:auto; scrollbar-width:thin}
.calendar-timeline {height:calc(var(--calendar-hour) * 24)}
.calendar-hours,.calendar-time-column {background:repeating-linear-gradient(to bottom, transparent 0 calc(var(--calendar-hour) - 1px), var(--calendar-line) calc(var(--calendar-hour) - 1px) var(--calendar-hour))}
.calendar-hours {font-size:11px; color:var(--sub); text-align:right}
.calendar-hours span {display:block; height:var(--calendar-hour); padding:3px 5px}
.calendar-time-column {position:relative; min-width:0; border-left:1px solid var(--calendar-line)}
.calendar-time-column.current-day {background-color:#f4faff}
.calendar-time-column .calendar-note {
    position:absolute; inset:auto; top:var(--ct); left:var(--cl); width:calc(var(--cw) - 2px);
    height:var(--ch); margin:0; overflow:hidden;
}
.calendar-time-column .note-time {display:block; font-size:10px}
.calendar-time-column .calendar-note-name {display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.calendar-time-column .calendar-compact-block {display:flex; align-items:center; gap:4px; white-space:nowrap}
.calendar-compact-block .note-time {flex:none}
.calendar-compact-block .calendar-note-name small {display:none}
.calendar-form {
    max-width:570px; padding:12px 14px 14px; margin:0 auto; background:white;
    border:1px solid var(--calendar-line); border-radius:12px;
}
.calendar-form h3 {margin:4px 0 8px; overflow-wrap:anywhere}
.calendar-form p {overflow-wrap:anywhere}
.calendar-form .field {width:100%; min-width:0; min-height:44px; padding:8px; font-size:16px}
.calendar-form textarea {min-height:66px}
.calendar-form-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 9px}
.calendar-form label.calendar-check {display:flex; gap:8px; align-items:center; min-height:36px}
.calendar-check input {width:18px; height:18px; accent-color:var(--accent)}
.calendar-form input:disabled,.calendar-form select:disabled {opacity:.55}
.calendar-form .calendar-editor-actions button {min-height:44px}
@media(max-width:370px) {
    .calendar-workspace .calendar-toolbar h3 {font-size:14px}
    .calendar-workspace .calendar-toolbar {grid-template-columns:minmax(0,1fr) auto 34px 34px}
    .calendar-workspace .calendar-arrow {width:34px}
    .calendar-segment button {padding-inline:8px}
}
@media(max-width:530px) {
    .calendar-family-panel select {order:2; flex:1 0 100%}
    #familyInviteLink {order:3}
}

.calendar-invitation > span {flex:1 1 200px;font-size:14px}
.calendar-family-panel small {flex-basis:100%;color:var(--muted)}
.calendar-overview {display:grid;grid-template-columns:minmax(230px, .8fr) minmax(0,1fr);gap:24px;align-items:start}
.calendar-overview>section>h3 {margin-top:0;font-size:22px}
.calendar-month-cell {min-width:0;position:relative;min-height:48px}
.calendar-month-cell.adjacent>.calendar-day {opacity:.4}
.calendar-month-cell .calendar-day {width:100%;height:100%;position:relative}
.calendar-detailed-month .calendar-month-cell {min-height:110px;border-top:1px solid var(--calendar-line);padding:2px}
.calendar-detailed-month .calendar-day {height:36px;min-height:36px}
.calendar-detailed-month .calendar-note {display:block;font-size:10px;padding:3px;min-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calendar-detailed-month .calendar-note-name {white-space:nowrap}
.calendar-detailed-month .calendar-note-name small,.calendar-detailed-month .note-time,.calendar-detailed-month .calendar-dots {display:none}
.calendar-overflow {font-size:10px;color:var(--accent);padding:5px 1px;min-height:28px;max-width:100%}
.calendar-now {position:absolute;left:0;right:0;border-top:2px solid #da695b;pointer-events:none;z-index:2}
.calendar-now:before {content:'';position:absolute;left:-3px;top:-4px;width:6px;height:6px;border-radius:50%;background:#da695b}
.calendar-weekdays {display:flex;flex-wrap:wrap;gap:10px;padding:10px 0}
.calendar-weekdays label {display:flex;gap:3px;align-items:center}
.calendar-form [hidden] {display:none!important}
.calendar-workspace [data-color="red"] {--event-ink:#963c3c;--event-bg:#fceeee;--event-line:#ce5353}
.calendar-workspace [data-color="yellow"] {--event-ink:#78650d;--event-bg:#fcf8df;--event-line:#b69a27}
.calendar-workspace [data-color="lime"] {--event-ink:#526c1d;--event-bg:#f0f7e1;--event-line:#7e9b3e}
.calendar-workspace [data-color="cyan"] {--event-ink:#216680;--event-bg:#e8f6fc;--event-line:#368fb3}
.calendar-workspace [data-color="indigo"] {--event-ink:#45478d;--event-bg:#eeeefa;--event-line:#6063b5}
.calendar-workspace [data-color="gray"] {--event-ink:#4b5960;--event-bg:#edf1f3;--event-line:#78838a}
.calendar-workspace {padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.calendar-form .error:empty {display:none}
.calendar-form .calendar-editor-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}
@media(max-width:700px){.calendar-overview{display:block}.calendar-overview>section{margin-top:22px}.calendar-detailed-month .calendar-month-cell{min-height:94px}.calendar-workspace .calendar-toolbar h3{font-size:17px}.calendar-heading h2{font-size:26px}.calendar-heading .calendar-add{font-size:13px}.calendar-form{padding:12px}.calendar-family-panel{border-radius:16px}.calendar-grid{font-size:12px}}
.calendar-author-dot{display:inline-block;width:7px;height:7px;background:var(--event-line);border-radius:50%;margin-right:4px}
.calendar-v3 .calendar-now{border-color:#087ff1}.calendar-v3 .calendar-now:before{background:#087ff1}.calendar-v3 .calendar-now-label{position:absolute;right:3px;transform:translateY(-50%);font-size:11px;line-height:16px;background:#fff;color:#087ff1;z-index:3}
.calendar-participants{display:flex;align-items:center;gap:5px}
.calendar-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--event-bg);color:var(--event-ink);border:1px solid var(--event-line)}
.calendar-today-label{font-size:13px;color:var(--sub);margin:0 0 5px}
@media(max-width:700px){.titleline .calendar-add{position:absolute;right:20px;bottom:calc(82px + env(safe-area-inset-bottom));width:56px;height:56px;min-width:56px;border-radius:50%;padding:0;font-size:32px;box-shadow:0 4px 12px #145b8330;z-index:5}.calendar-add-label{display:none}.calendar-workspace{padding-bottom:100px}}
/* Approved compact white calendar, variant 3. */
.calendar-v3{max-width:430px;width:100%;align-self:center;padding:15px 19px 105px;background:#fff;color:#101826;--calendar-line:#edf0f5;--calendar-hour:60px}.calendar-v3 .calendar-today-label{font-size:12px;color:#7b8494;margin:0 0 10px}.calendar-v3 .calendar-toolbar{display:flex;gap:7px;margin:0 0 16px;position:relative}.calendar-v3 .calendar-toolbar h3{font-size:33px;letter-spacing:-1px;font-weight:700;flex:1;line-height:1.1}.calendar-v3 .calendar-arrow{width:30px;min-height:36px;flex:none;color:#1378da;padding:0}.calendar-v3 #calendarPicker{color:#7d8796}.calendar-date-picker{position:absolute;right:100px;top:38px;width:1px;height:1px;opacity:0;pointer-events:none}.calendar-v3 .calendar-segment{display:flex;width:100%;height:41px;background:#f0f3f7;border:0;border-radius:12px;padding:4px;margin-bottom:16px}.calendar-v3 .calendar-segment button{flex:1;font-size:15px;min-height:0;padding:0;border-radius:9px;color:#7e8796}.calendar-v3 .calendar-segment button[aria-pressed=true]{color:#0779e7;font-weight:650}.calendar-v3 .calendar-grid{border:0;border-radius:0;padding:0;margin:0 -2px 12px}.calendar-v3 .calendar-weekday{height:27px;padding:0;color:#7e8797;font-size:12px}.calendar-v3 .calendar-month-cell,.calendar-v3 .calendar-detailed-month .calendar-month-cell{height:39px;min-height:39px;padding:0;border:0}.calendar-v3 .calendar-day,.calendar-v3 .calendar-detailed-month .calendar-day{height:39px;min-height:39px;border:0;background:none;border-radius:0;padding:0;font-size:16px}.calendar-v3 .calendar-day span{width:33px;height:33px}.calendar-v3 .calendar-day.today span{background:none;color:inherit}.calendar-v3 .calendar-day[aria-pressed=true] span{background:#087ff1;color:#fff;font-weight:650}.calendar-v3 .calendar-dots{display:flex!important;top:33px;bottom:auto}.calendar-v3 .calendar-dots b{background:var(--person-color);height:5px;width:5px}.calendar-v3 .calendar-agenda-label{padding:16px 0 12px;border-top:1px solid #edf0f5;border-bottom:0;gap:5px}.calendar-v3 .calendar-agenda-label h4{font-size:19px;letter-spacing:-.45px;font-weight:700}.calendar-v3 .calendar-agenda-label button{font-size:13px;white-space:nowrap;min-height:0}.calendar-v3 .calendar-note{min-height:67px;margin:8px 0 0;padding:10px 13px 10px 18px;display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center;gap:13px;border:1px solid #e7edf4;border-left:4px solid var(--person-color);border-radius:13px;color:#101826;font-size:14px}.calendar-v3 .note-time{font-size:13px;color:#596576;font-weight:550;white-space:nowrap}.calendar-v3 .calendar-note-name{font-weight:650;letter-spacing:-.2px}.calendar-v3 .calendar-note-name small{font-weight:400;font-size:12px;color:#8390a1;margin-top:5px}.calendar-v3 .calendar-add{position:absolute;right:20px;bottom:20px;width:57px;height:57px;padding:0;border-radius:50%;font-size:37px;font-weight:300;background:#0578dc;box-shadow:0 7px 13px #167bd52b;z-index:5;line-height:1}.calendar-v3 .calendar-form{border:0;padding:6px 0;max-width:100%;border-radius:0}.calendar-v3 .calendar-form label{display:block;margin:12px 0 5px}.calendar-v3 .calendar-form .calendar-check{display:flex}.calendar-v3 .calendar-help{font-size:12px;color:#8390a1;line-height:1.5}.calendar-invitation{padding:10px;border:1px solid #e7edf4;border-radius:10px;font-size:13px;margin:8px 0;display:flex;flex-wrap:wrap;gap:12px}.calendar-invitation span{width:100%}.calendar-week-strip{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:14px}.calendar-week-strip button{padding:4px 0;color:#101826}.calendar-week-strip small{display:block;font-size:12px;color:#7e8797;margin-bottom:5px}.calendar-week-strip span{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:50%;font-size:16px}.calendar-week-strip [aria-pressed=true] span{background:#087ff1;color:white}.calendar-v3 .calendar-time-scroll{max-height:none;min-height:0;height:56vh;overflow-y:auto;overflow-x:hidden;border-top:1px solid #edf0f5}
@media(max-width:350px){.calendar-v3{padding-inline:14px}.calendar-v3 .calendar-toolbar h3{font-size:29px}.calendar-v3 .calendar-toolbar{gap:2px}.calendar-v3 .calendar-note{grid-template-columns:80px minmax(0,1fr);gap:8px;padding-left:12px}.calendar-v3 .note-time{font-size:11px}.calendar-v3 .calendar-agenda-label h4{font-size:17px}.calendar-v3 .calendar-agenda-label button{font-size:11px}}
.calendar-v3 .calendar-note-name{font-size:14px}.calendar-v3 .calendar-note-name small{font-size:12px}.calendar-v3 .calendar-week-strip{gap:4px}.calendar-v3 .calendar-week-strip button{border-radius:10px;background:#f6f7f9;min-height:60px;padding:6px 0}.calendar-v3 .calendar-week-strip button[aria-pressed=true]{background:#087ff1;color:white}.calendar-v3 .calendar-week-strip button[aria-pressed=true] small{color:white}.calendar-v3 .calendar-week-strip small{font-size:12px;margin-bottom:2px}.calendar-v3 .calendar-week-strip span{font-size:20px;width:auto;height:27px}.calendar-v3 .calendar-week-strip [aria-pressed=true] span{background:none}
.calendar-overlap-group{position:absolute;left:0;right:0}.calendar-group-carousel{width:100%;height:100%;overflow-x:auto;overflow-y:hidden}.calendar-group-inner{height:100%;position:relative}.calendar-group-more{position:absolute;right:3px;top:-15px;background:#fff;color:#087ff1;font-size:11px;z-index:3;padding:0 3px}

.calendar-v3 .calendar-day.today:not([aria-pressed=true]) span{box-shadow:inset 0 0 0 1.5px #087ff1}


.calendar-week {--hours-width:42px}
.calendar-v3 .calendar-week-strip {margin:0 0 8px var(--hours-width);grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.calendar-v3 .calendar-week-strip button {min-width:0;margin-inline:1px;border-radius:7px}
.calendar-week-strip,.calendar-time-scroll,.calendar-month-dates .calendar-period-swipe,.calendar-agenda-day {touch-action:pan-y pinch-zoom}
.calendar-month-dates {margin:0 -2px 12px}
.calendar-month-weekdays {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
.calendar-v3 .calendar-month-dates .calendar-grid {margin:0}
.calendar-period-swipe {overflow:clip}
.calendar-period-track {position:relative}
.calendar-period-current {display:flow-root}
.calendar-period-track.is-dragging {will-change:transform}
.calendar-period-track.is-settling {transition:transform 200ms cubic-bezier(.2,.72,.25,1)}
.calendar-period-preview {position:absolute;inset:0 auto auto 100%;width:100%;pointer-events:none}
.calendar-period-preview[data-direction="-1"] {left:auto;right:100%}
.calendar-week-allday,.calendar-week-timeline {display:grid;grid-template-columns:var(--hours-width) repeat(7,minmax(0,1fr))}
.calendar-week-allday {min-height:26px;margin-bottom:4px;border-top:1px solid var(--calendar-line)}
.calendar-week-allday:empty {border-color:transparent}
.calendar-week-allday>span {align-self:center;text-align:right;padding-right:5px;color:#596576;font-size:9px}
.calendar-v3 .calendar-week .calendar-time-scroll {scrollbar-width:none}
.calendar-week-timeline {height:calc(var(--calendar-hour) * 24);margin-top:8px}
.calendar-week-timeline .calendar-hours {position:relative;background:none;font-size:10px}
.calendar-week-timeline .calendar-hours span {padding:0 5px 0 0;transform:translateY(-6px)}
.calendar-week .calendar-group-carousel,.calendar-allday-carousel {scrollbar-width:none}
.calendar-allday-carousel {display:flex;overflow-x:auto;overflow-y:hidden;min-width:0}
.calendar-week .calendar-group-carousel,.calendar-allday-carousel {scroll-snap-type:x proximity}
.calendar-v3 .calendar-week .calendar-note {display:block;min-height:0;margin:0;overflow:hidden;padding:2px;text-align:left;
    border-radius:5px;border-left-width:2px}
.calendar-v3 .calendar-allday-carousel .calendar-note {flex:0 0 100%;scroll-snap-align:start}
.calendar-v3 .calendar-week .calendar-time-block {width:var(--cw)}
.calendar-v3 .calendar-week .calendar-note-name {display:block;margin:0;font-size:10px;line-height:1.25}
.calendar-v3 .calendar-week .calendar-note-title {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calendar-v3 .calendar-week .calendar-time-block .calendar-note-title {-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;white-space:normal}
.calendar-v3 .calendar-week .calendar-short-block .calendar-note-title {display:block;white-space:nowrap}
.calendar-v3 .calendar-week .note-time,.calendar-v3 .calendar-week .calendar-note-name small {display:none}
.calendar-week .calendar-group-more {top:-12px;right:0;padding-inline:2px;font-size:9px;pointer-events:none}
.calendar-week .calendar-time-column .calendar-note:focus-visible,.calendar-week .calendar-allday-carousel .calendar-note:focus-visible {outline-offset:-2px}
.calendar-v3 .calendar-note-name small .icon{width:15px;height:15px;vertical-align:-3px;margin-right:2px}.calendar-people-button .calendar-person-avatar{font-size:0}
.calendar-duration-input{display:grid;grid-template-columns:1fr 1fr;gap:9px}.calendar-color-chips{display:flex;flex-wrap:wrap;gap:9px;padding:9px 0}.calendar-color-chips button{width:26px;height:26px;border-radius:50%;border:2px solid white;outline:1px solid transparent}.calendar-color-chips [aria-pressed=true]{outline-color:#087ff1}.calendar-v3 .calendar-note-name small .icon{color:var(--record-color)}.calendar-v3 .calendar-form-grid{grid-template-columns:1fr}.calendar-v3 .calendar-form-grid>div{border-bottom:1px solid #edf0f5;padding-bottom:8px}.calendar-v3 .calendar-form input,.calendar-v3 .calendar-form select,.calendar-v3 .calendar-form textarea{border:1px solid #e7edf4;border-radius:10px;background:#f9fafc}.calendar-v3 #calendarDurationControl{border-bottom:1px solid #edf0f5;padding-bottom:8px}
.calendar-v3:has(.calendar-editor)>.calendar-toolbar,.calendar-v3:has(.calendar-editor)>.calendar-today-label,.calendar-v3:has(.calendar-editor)>.calendar-segment,.calendar-v3:has(.calendar-editor)>.calendar-add{display:none}.calendar-v3 .calendar-editor h3{font-size:21px;margin:0 0 15px}
.calendar-v3:has(.calendar-form)>.calendar-toolbar,.calendar-v3:has(.calendar-form)>.calendar-today-label,.calendar-v3:has(.calendar-form)>.calendar-segment,.calendar-v3:has(.calendar-form)>.calendar-add{display:none}

.calendar-event-editor {--editor-blue:#087ff1;--editor-ink:#101826;--editor-muted:#737e90;--editor-wash:#f0f3f7}
.calendar-editor-header {display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}
.calendar-editor-header .link {font-size:15px;min-height:42px;color:var(--editor-blue);padding:0;white-space:nowrap}
.calendar-editor-subheader {display:grid;grid-template-columns:1fr auto 1fr;margin-bottom:20px}
.calendar-editor-subheader .link:first-child {justify-self:start}
.calendar-editor-subheader .link:last-child {justify-self:end}
.calendar-v3 .calendar-editor-subheader h3 {font-size:clamp(14px,4vw,17px);margin:0;text-align:center}
.calendar-v3 .calendar-event-editor #calendarNoteText {display:block;border:0;border-radius:10px;background:white;min-height:45px;resize:none;text-align:center;font-size:clamp(22px,6vw,27px);line-height:1.25;padding:5px 4px 9px}
.calendar-event-editor #calendarNoteText::placeholder {color:#858e9e;opacity:1}
.calendar-event-editor #calendarNoteText:focus {background:var(--editor-wash)}
.calendar-v3 .calendar-note.is-completed .calendar-note-title,
.calendar-details h3.is-completed {text-decoration:line-through;color:#465368}
.calendar-details {position:relative}
.calendar-details-toolbar {display:flex;align-items:center;gap:5px;margin:0 0 23px}
.calendar-details-toolbar button {display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#0875da;padding:0}
.calendar-details-toolbar button:hover,.calendar-details-toolbar button[aria-expanded=true] {background:#f0f3f7}
.calendar-details-toolbar button:first-child {margin-right:auto;color:#566275}
.calendar-details-toolbar button#deleteCalendarNote {color:#b5394c}
.calendar-details-toolbar .icon,.calendar-complete .icon {width:22px;height:22px}
.calendar-details-people {display:flex;align-items:center;gap:5px;margin-bottom:10px}
.calendar-details-people > span:first-child {font-size:12px;font-weight:700;letter-spacing:.08em;color:#596576;margin-right:5px}
.calendar-details-people .calendar-person-avatar {width:32px;height:32px;font-size:0}
.calendar-v3 .calendar-details h3 {font-size:clamp(25px,7vw,32px);line-height:1.2;overflow-wrap:anywhere;margin:0 0 17px}
.calendar-details-summary {display:grid;gap:12px;background:#f3f6fa;border-radius:14px;padding:14px;margin:0;line-height:1.45}
.calendar-details-summary dt {font-size:12px;color:#596576}
.calendar-details-summary dd {font-size:15px;margin:2px 0 0;overflow-wrap:anywhere}
.calendar-details-description {white-space:pre-wrap;line-height:1.55}
.calendar-details p {overflow-wrap:anywhere}
.calendar-complete {display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;margin-top:18px;border-radius:12px;border:1px solid #bddcf9;background:#eef6ff;color:#0866be;font-size:16px;font-weight:650}
.calendar-complete[aria-pressed=true] {background:#0875da;color:#fff;border-color:#0875da}
.calendar-details button:disabled {opacity:.62}
.calendar-completed-status {color:#465368;font-weight:600}
#calendarDetailsError {margin:8px 0;color:#a9293e}
#calendarDetailsError:empty {display:none}
#calendarDeleteChoices {position:absolute;right:0;z-index:6;top:51px;width:min(100%,280px);background:#fff;border:1px solid #e3e9f1;border-radius:14px;box-shadow:0 10px 30px #26324526;padding:5px}
.calendar-delete-choices button {display:block;text-align:left;padding:8px 12px;width:100%;min-height:44px;color:#aa293f;border-radius:8px}
.calendar-delete-choices button:hover {background:#f6f1f3}
.calendar-delete-choices button:last-child {color:#0875da}
.calendar-v3 .calendar-event-editor .calendar-kind-segment {margin-bottom:22px}
.calendar-v3 .calendar-event-editor .calendar-all-day-switch {display:flex;align-items:center;gap:12px;margin:0;min-height:44px;font-size:16px;cursor:pointer}
.calendar-all-day-switch .icon,.calendar-editor-repeat-row .icon,.calendar-editor-repeat-heading .icon {width:23px;height:23px;flex:none;color:#566275}
.calendar-v3 .calendar-event-editor #calendarAllDay {appearance:none;min-width:45px;width:45px;height:27px;border:0;border-radius:999px;background:#dfe3e9;margin:0 3px 0 auto;display:grid;align-items:center;padding:2px;cursor:pointer}
.calendar-v3 .calendar-event-editor #calendarAllDay::before {content:'';width:23px;height:23px;border-radius:50%;background:white;box-shadow:0 1px 3px #26324530}
.calendar-v3 .calendar-event-editor #calendarAllDay:checked {background:var(--editor-blue);justify-items:end}
.calendar-editor-time-row {display:flex;justify-content:space-between;gap:5px;padding-left:32px}
.calendar-editor-time-row button {padding:4px 7px;min-height:37px;border-radius:8px;color:var(--editor-ink);font-size:15px;text-align:left}
.calendar-editor-time-row button[aria-expanded=true] {color:#076fcf;background:#e9f3ff}
.calendar-inline-picker {margin:5px 0 9px}
.calendar-editor-repeat {margin:8px 0 18px}
.calendar-editor-repeat-row {display:grid;align-items:center;grid-template-columns:23px minmax(0,1fr) auto;gap:12px;width:100%;text-align:left;font-size:16px;min-height:46px;padding:0;color:var(--editor-ink)}
.calendar-editor-repeat-row > :last-child {margin-right:5px;color:#566275}
.calendar-editor-repeat-row > span:last-child {font-size:25px}
.calendar-editor-repeat-menu {margin:2px 0 0 32px;border:1px solid #e7edf4;border-radius:12px;background:#f9fafc;overflow:hidden}
.calendar-editor-repeat-menu button {display:grid;grid-template-columns:21px 1fr;text-align:left;gap:5px;align-items:center;width:100%;min-height:42px;padding:4px 10px;font-size:15px}
.calendar-editor-repeat-menu button + button {border-top:1px solid #e7edf4}
.calendar-editor-repeat-menu [aria-pressed=true] {color:#0673d6;font-weight:650}
#calendarAlertRow {margin-top:6px}
.calendar-alert-summary {display:block;color:var(--editor-muted);font-size:13px;margin-top:2px}
.calendar-picker-month {display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--editor-ink);font-size:14px;font-weight:650}
.calendar-picker-month button {width:44px;min-height:36px;padding:0;font-size:23px;color:var(--editor-blue)}
.calendar-picker-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;align-items:center;justify-items:center;row-gap:2px}
.calendar-picker-grid > span {color:var(--editor-muted);font-size:12px;line-height:24px}
.calendar-picker-grid button {display:grid;place-items:center;width:min(36px,100%);aspect-ratio:1;min-height:0;padding:0;border-radius:50%;font-size:14px}
.calendar-picker-grid button[aria-pressed=true] {color:white;background:var(--editor-blue);font-weight:650}
.calendar-picker-grid button:disabled {opacity:.35}
.calendar-picker-wheels {display:grid;grid-template-columns:repeat(2,minmax(0,70px));justify-content:center;gap:4px;position:relative;--wheel-row:34px}
.calendar-picker-wheels::before {content:'';position:absolute;inset:50% 0 auto;height:var(--wheel-row);transform:translateY(-50%);border-radius:9px;background:#eef3f9;pointer-events:none}
.calendar-wheel {position:relative;height:calc(5 * var(--wheel-row));padding-block:calc(2 * var(--wheel-row));overflow:auto;scrollbar-width:none;scroll-snap-type:y mandatory;overscroll-behavior:contain;mask-image:linear-gradient(transparent,#000 24%,#000 76%,transparent)}
.calendar-wheel [role=option] {display:grid;place-items:center;height:var(--wheel-row);scroll-snap-align:center;font-variant-numeric:tabular-nums;font-size:17px;color:var(--editor-muted);cursor:pointer}
.calendar-wheel [aria-selected=true] {color:var(--editor-ink);font-weight:650}
.calendar-wheel:focus-visible {outline:0;background:#e5f1fd88}
.calendar-editor-repeat-heading {display:flex;gap:12px;align-items:center;font-size:16px;min-height:44px;margin:0}
#calendarRecurrenceEditor .calendar-picker-wheels,#calendarAlertEditor .calendar-picker-wheels {margin:12px 0 16px}
#calendarRepeatEnding {border-top:1px solid #edf0f5}
.calendar-v3 .calendar-event-editor .calendar-repeat-ending {display:flex;align-items:center;gap:8px;min-height:47px;padding:6px 0;margin:0;border-bottom:1px solid #edf0f5;cursor:pointer}
.calendar-repeat-ending input {position:absolute;width:1px;height:1px;opacity:0}
.calendar-repeat-ending:focus-within {outline:2px solid var(--editor-blue);outline-offset:-2px;border-radius:6px}
.calendar-repeat-check {visibility:hidden;margin-left:auto;color:var(--editor-blue);font-size:20px;padding-inline:4px}
.calendar-repeat-ending input:checked ~ .calendar-repeat-check {visibility:visible}
#calendarRepeatCount {margin-top:8px;width:110px;text-align:center}
.calendar-v3 .calendar-event-editor .calendar-color-chips {display:grid;grid-template-columns:repeat(10,minmax(0,1fr));justify-items:center;gap:8px 2px;padding:7px 0 5px}
.calendar-event-editor .calendar-color-chips button {width:min(31px,100%);height:auto;min-height:0;padding:0;aspect-ratio:1;border:0;background:none;outline:0;display:grid;place-items:center}
.calendar-event-editor .calendar-color-chips button::before {content:'';width:calc(100% - 4px);aspect-ratio:1;border-radius:50%;background:var(--chip-color)}
.calendar-event-editor .calendar-color-chips [aria-pressed=true],.calendar-event-editor .calendar-color-chips button:focus-visible {box-shadow:0 0 0 1.5px var(--editor-blue)}
