/* EmailTheme adaptive colours, shared with the actual native Calendar panel. */
.dc-host{--dc-reader:#fff;--dc-ink:#262626;--dc-line:#e5e4e1;--dc-muted:#777875;--dc-soft:#eaeaec}
.native-dark .dc-host{--dc-reader:#1b1c1d;--dc-ink:#ecebe8;--dc-line:#353637;--dc-muted:#a3a39f;--dc-soft:#303134}
.dc-host{position:relative;min-width:0;color:var(--dc-ink);background:var(--dc-reader);font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.dc-host *{box-sizing:border-box}.dc-calendar{position:relative;display:flex;flex-direction:column;height:100%;padding:18px 18px 8px;min-width:0}.dc-host button,.dc-host input,.dc-host select,.dc-host textarea{font:inherit;color:inherit}.dc-host button{cursor:pointer;background:var(--dc-reader);border:1px solid var(--dc-line);border-radius:6px;padding:5px 9px;line-height:18px;min-width:0}.dc-host button:hover{background:var(--dc-soft)}.dc-host button:disabled{opacity:.45;cursor:default}.dc-host button:focus-visible,.dc-host input:focus-visible,.dc-host select:focus-visible,.dc-host textarea:focus-visible,.dc-view:focus-visible{outline:2px solid #7175ed;outline-offset:2px}.dc-header{display:flex;align-items:center;gap:8px;min-height:38px;flex:none}.dc-range{font-size:20px;font-weight:600;white-space:nowrap;letter-spacing:-.4px}.dc-controls{margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap}.dc-host .dc-icon-button{width:28px;height:28px;padding:0;font-size:18px;background:transparent;border-color:transparent}.dc-host .dc-jump-arrow{padding:0;width:18px;background:transparent;border:0}.dc-mode{font-size:12px!important;background:var(--dc-reader);border:1px solid var(--dc-line);border-radius:5px;padding:5px 2px}.dc-host .dc-new,.dc-host .dc-primary{background:#706af4;border-color:#706af4;color:white}.dc-host .dc-new:hover,.dc-host .dc-primary:hover{background:#625ce2}.dc-separator{height:1px;background:var(--dc-line);margin:10px 0 12px;flex:none}.dc-view{position:relative;flex:1;min-height:0;min-width:0;overflow:auto;outline:none}.dc-status{font-size:11px;color:var(--dc-muted);margin:8px 0 5px;min-height:14px}.dc-footer{display:flex;align-items:center;gap:16px;font-size:10px;color:#7e8593;height:22px;flex:none;white-space:nowrap}.dc-footer kbd{font:10px inherit;color:#4e5562;margin-right:4px}.dc-footer button{font-size:10px;border:0;background:transparent;padding:0;color:#7e8593}.dc-timeline{min-width:650px;--dc-cols:7;--dc-hour:58px;--dc-hours:18}.dc-week-header,.dc-all-day{display:grid;grid-template-columns:48px repeat(var(--dc-cols),minmax(0,1fr))}.dc-week-header{height:58px}.dc-day-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#838a98;font-size:10px;font-weight:500}.dc-day-title strong{font-size:20px;line-height:25px;font-weight:500;color:#2e3440}.dc-day-title.dc-today strong{background:#706af4;color:white;border-radius:50%;width:28px;height:28px;text-align:center;line-height:28px}.dc-all-day{min-height:24px;border-bottom:1px solid #e4e7ee}.dc-all-day>span{font-size:9px;color:#9298a4;padding:5px 3px 0 0;text-align:right}.dc-all-day>div{padding:0 4px;border-left:1px solid #e7e9ef}.dc-host .dc-all-event{display:block;width:100%;height:21px;padding:1px 4px;border:0;border-radius:4px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;margin-bottom:3px}.dc-time-grid{display:grid;grid-template-columns:48px repeat(var(--dc-cols),minmax(0,1fr));height:calc(var(--dc-hours)*var(--dc-hour) + 12px)}.dc-time-labels{position:relative}.dc-time-labels span{position:absolute;right:7px;color:#979eaa;font-size:9px;transform:translateY(-5px)}.dc-day-track{position:relative;border-left:1px solid #e7e9ef}.dc-track-today{background:rgba(112,106,244,.025)}.dc-hour-line{display:block;height:var(--dc-hour);border-top:1px solid #e8eaf0}.dc-host .dc-event{position:absolute;border:0;border-left:3px solid;border-radius:5px;padding:5px 6px;overflow:hidden;text-align:left;line-height:14px;display:flex;flex-direction:column;gap:2px}.dc-event strong{font-size:11px;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.dc-event span{font-size:10px;opacity:.8}.dc-event.dc-work,.dc-all-event.dc-work,.dc-month-event.dc-work{background:#e8e8ff;color:#5956b1;border-left-color:#7873e4}.dc-event.dc-personal,.dc-all-event.dc-personal,.dc-month-event.dc-personal{background:#e5f1f4;color:#417d89;border-left-color:#6aa4b1}.dc-host .dc-selected{box-shadow:0 0 0 2px #575067 inset}.dc-draft{left:3px;width:calc(100% - 6px);pointer-events:none;position:absolute;border:1px dashed #5b5f72;background:rgba(36,40,49,.13);border-radius:5px;font-size:11px;padding:5px;overflow:hidden;z-index:2}.dc-month{height:100%;min-height:420px;display:flex;flex-direction:column}.dc-month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:10px;color:#8c94a2;height:28px;align-items:center;flex:none}.dc-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));flex:1;min-height:0;border-left:1px solid #e6e8ef;border-top:1px solid #e6e8ef}.dc-month-cell{min-width:0;overflow:hidden;border-right:1px solid #e6e8ef;border-bottom:1px solid #e6e8ef;padding:4px}.dc-other-month{opacity:.42}.dc-host .dc-month-date{border:0;background:transparent;padding:0 4px;font-size:12px;position:relative}.dc-month-today .dc-month-date{background:#706af4;color:white;border-radius:50%}.dc-month-cell.dc-cell-selected{background:#f2f2fa}.dc-host .dc-month-event{display:block;width:100%;text-align:left;font-size:10px;padding:1px 4px;margin-top:3px;border:0;border-left:2px solid;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:16px}.dc-host .dc-more{font-size:10px;border:0;background:transparent;padding:2px}.dc-year{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;padding:0 2px}.dc-compact-month{height:272px;min-height:272px}.dc-host .dc-month-name{font-size:15px;font-weight:600;text-align:left;background:transparent;border:0;padding:0;height:28px}.dc-compact-month .dc-month-grid{border:0}.dc-compact-month .dc-month-cell{border:0;padding:0;text-align:center}.dc-compact-month .dc-month-date{font-size:11px;line-height:23px;width:24px;height:24px}.dc-mini-dot{position:absolute;width:3px;height:3px;background:#706af4;border-radius:50%;left:11px;bottom:0}.dc-overlay-host{position:absolute;inset:0;pointer-events:none;z-index:40}.dc-popover{position:absolute;pointer-events:auto;background:#fafbfe;border:1px solid #d9dce4;box-shadow:0 9px 34px #20243435,0 1px 4px #2024341a;border-radius:11px;padding:20px;max-height:calc(100% - 16px);overflow:auto;display:flex;flex-direction:column;gap:13px}.dc-popover h2,.dc-popover h3,.dc-popover p{margin:0}.dc-popover h2{font-size:19px;font-weight:600;line-height:25px}.dc-popover h3{font-size:15px;font-weight:600}.dc-popover input:not([type=checkbox]),.dc-popover textarea,.dc-popover select{width:100%;border:1px solid var(--dc-line);background:var(--dc-reader);border-radius:5px;padding:6px 8px;min-height:28px}.dc-popover small{font-size:10px;color:var(--dc-muted)}.dc-popover .dc-detail-source{font-size:11px;color:#7771dc}.dc-popover .dc-detail-source.dc-personal{color:#568d9b}.dc-detail-when{font-size:12px;line-height:20px}.dc-place{font-weight:600;font-size:12px}.dc-notes{font-size:12px;line-height:17px;max-height:85px;overflow:hidden;white-space:pre-wrap}.dc-local-note{font-size:11px;color:var(--dc-muted)}.dc-rsvp{display:flex;gap:6px}.dc-rsvp button{flex:1}.dc-popover-search{padding:14px;gap:0}.dc-popover-search input{height:28px}.dc-popover-date input{border:0!important;background:var(--dc-soft)!important;height:40px}.dc-host .dc-date-result{border:0;text-align:left;background:var(--dc-soft);min-height:60px;display:flex;flex-direction:column;gap:5px;padding:10px}.dc-date-result strong{font-size:13px;font-weight:500}.dc-date-result span,.dc-date-examples{font-size:10px;color:var(--dc-muted)}.dc-mini-heading{display:flex;align-items:center;justify-content:space-between;height:30px;font-size:11px}.dc-mini-heading button{padding:0;width:22px;height:22px;border:0;background:transparent}.dc-mini-week,.dc-mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}.dc-mini-week{font-size:9px;color:#a0a6b0;height:24px;align-items:center}.dc-host .dc-mini-days button{border:0;background:transparent;border-radius:50%;padding:0;height:28px;font-size:11px;justify-self:center;min-width:24px}.dc-mini-days .dc-muted{color:#bfc4cd}.dc-host .dc-mini-days .dc-mini-selected{background:#706af4;color:var(--dc-reader)}.dc-popover-date [data-date-calendar]{width:304px;align-self:center;min-height:248px}.dc-popover [hidden]{display:none!important}.dc-popover-sources{padding:12px;gap:16px;min-height:560px}.dc-popover-sources select{font-size:10px;padding:4px}.dc-source-list{display:flex;flex-direction:column;gap:10px}.dc-host .dc-account-heading{background:transparent;border:0;font-size:9px;text-align:left;padding:0;color:var(--dc-muted)}.dc-source-list label{display:flex;align-items:center;font-size:11px;gap:5px}.dc-source-list input{accent-color:#7771dc;margin:0}.dc-source-dot{color:#7771dc}.dc-source-dot.dc-personal{color:#5b98a5}.dc-sources-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px;font-size:9px;color:#8a919e}.dc-sources-bottom button{font-size:10px;text-align:left}.dc-editor-label{font-size:10px;letter-spacing:1px;color:var(--dc-muted)}.dc-popover input.dc-event-title{font-size:24px;font-weight:500;padding:0;border:0;background:transparent}.dc-popover-editor{gap:12px}.dc-calendar-field{display:flex;align-items:center;gap:12px;font-size:12px}.dc-calendar-field select{margin-left:auto;width:220px}.dc-popover-editor [data-time-summary]{font-size:12px;text-align:left}.dc-popover-editor [data-times],.dc-popover-editor [data-details]{display:flex;flex-direction:column;gap:8px}.dc-popover-editor [data-times] label{display:flex;align-items:center;gap:12px;font-size:12px}.dc-popover-editor [data-times] input{margin-left:auto;width:265px;font-size:11px}.dc-popover-editor textarea{height:56px;resize:none}.dc-editor-actions{display:flex;gap:8px}.dc-editor-actions button:first-child{flex:1}.dc-popover [data-editor-error]{font-size:11px;color:#b74646;min-height:0}.dc-popover-help dl{display:grid;grid-template-columns:135px 1fr;gap:10px 5px;font-size:11px;margin:0}.dc-popover-help dt,.dc-popover-help dd{margin:0}.dc-popover-help kbd{font:inherit;color:#767c88}.dc-availability{display:flex;align-items:flex-start;flex-direction:column;gap:16px;padding:4px}.dc-availability h3{font-size:15px;font-weight:500;margin:2px 0}.dc-availability p{font-size:13px;margin:0}.dc-compact-header>.dc-controls{margin:6px 0 0;min-height:30px}.dc-compact-header .dc-controls [data-dc=refresh],.dc-compact-header .dc-controls [data-dc=help]{display:none}@media(prefers-reduced-motion:reduce){.dc-host *{scroll-behavior:auto!important}}

.dc-host .dc-source-toggle{background:transparent;border:0;padding:0;text-align:left;font-size:11px;font-weight:500;color:#7771dc}.dc-host .dc-source-toggle.dc-personal{color:#568d9b}.dc-editor-actions{margin-top:auto}.dc-popover-editor .dc-event-title{min-height:42px}.dc-host .dc-popover-sources{padding:22px 16px 16px}.dc-popover-sources h3{font-size:15px}.dc-popover-sources small{font-size:9px;font-weight:600}

.dc-host .dc-new{background:transparent;border-color:transparent;color:var(--dc-ink)}
.dc-host .dc-new:hover{background:var(--dc-soft)}
.native-dark .dc-month-cell,.native-dark .dc-week-header,.native-dark .dc-time-labels,.native-dark .dc-all-day{background:var(--dc-reader);border-color:var(--dc-line)}
.native-dark .dc-month-weekdays,.native-dark .dc-month-date,.native-dark .dc-footer{color:var(--dc-muted)}
.native-dark .dc-hour-line,.native-dark .dc-day-track{border-color:var(--dc-line)}
/* Dark mode follows native CalendarWeekGrid: ink day numbers, muted captions, events tinted at 22% with ink text. */
.native-dark .dc-day-title{color:var(--dc-muted)}
.native-dark .dc-day-title strong{color:var(--dc-ink)}
.native-dark .dc-time-labels span,.native-dark .dc-all-day>span,.native-dark .dc-mini-week,.native-dark .dc-sources-bottom,.native-dark .dc-footer button,.native-dark .dc-footer kbd,.native-dark .dc-popover-help kbd{color:var(--dc-muted)}
.native-dark .dc-all-day>div,.native-dark .dc-month-grid,.native-dark .dc-separator{border-color:var(--dc-line)}
.native-dark .dc-track-today{background:rgba(112,106,244,.07)}
.native-dark .dc-event.dc-work,.native-dark .dc-all-event.dc-work,.native-dark .dc-month-event.dc-work{background:rgba(120,115,228,.22);color:var(--dc-ink);border-left-color:rgba(120,115,228,.85)}
.native-dark .dc-event.dc-personal,.native-dark .dc-all-event.dc-personal,.native-dark .dc-month-event.dc-personal{background:rgba(106,164,177,.22);color:var(--dc-ink);border-left-color:rgba(106,164,177,.85)}
.native-dark .dc-host .dc-selected{box-shadow:0 0 0 2px rgba(120,115,228,.9) inset}
.native-dark .dc-month-cell.dc-cell-selected{background:var(--dc-soft)}
.native-dark .dc-mini-days .dc-muted{color:#5f605e}
.native-dark .dc-draft{border-color:var(--dc-muted);background:rgba(236,235,232,.08)}
.native-dark .dc-popover{background:#262728;border-color:var(--dc-line);color:var(--dc-ink);box-shadow:0 9px 34px #0008,0 1px 4px #0006}
