.scCalendar{--sc-red:#ed1427;--sc-line:#e9ebef;--sc-ink:#17191e;--sc-muted:#737985;color:var(--sc-ink);background:#fff;min-height:calc(100dvh - 88px);padding:30px 32px 24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.scCalendar *,.scEditor *{box-sizing:border-box}.scCalendar button,.scEditor button{font:inherit;cursor:pointer}.scCalendar button:focus-visible,.scEditor :focus-visible{outline:3px solid #1769df;outline-offset:3px}.scCalendar button:disabled,.scEditor button:disabled{cursor:wait;opacity:.55}
.scHeading,.scToolbar,.scDateNav,.scModes,.scLegend,.scEditorTop,.scDates,.scTimes,.scSwatches,.scEditorFoot{display:flex;align-items:center;gap:12px}.scHeading{justify-content:space-between;margin-bottom:28px}.scHeading h1{margin:0;font-size:32px;font-weight:750;letter-spacing:-1.3px}.scHeading p{margin:5px 0 0;color:var(--sc-muted);font-size:13px}.scSaveState{display:flex;align-items:center;gap:7px;font-size:13px;color:#527160;min-height:30px}.scSaveState[data-state=error]{color:#b72c31}.scSaveState[data-state=saving]{color:#777}.scToolbar{justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.scDateNav h2{font-size:23px;letter-spacing:-.7px;margin:0 12px 0 2px;min-width:180px}.scNavButton,.scToday,.scModes button{border:1px solid var(--sc-line);background:#fff;color:var(--sc-ink);border-radius:10px;min-height:40px;padding:8px 14px}.scNavButton{width:40px;padding:8px}.scNavButton svg,.scEditor svg,.scSaveState svg{width:18px;height:18px;vertical-align:middle}.scNavButton:hover,.scToday:hover{background:#f6f7f9}.scModes{gap:2px;background:#f5f6f8;padding:4px;border-radius:12px}.scModes button{background:transparent;border:0;min-height:34px;font-size:13px;padding:8px 18px}.scModes button[aria-pressed=true]{background:#fff;color:var(--sc-red);box-shadow:0 1px 5px #17202c12;font-weight:700}.scLegend{gap:16px;flex-wrap:wrap;font-size:12px;color:var(--sc-muted);margin:0 0 16px}.scLegend span{display:inline-flex;align-items:center;gap:6px}.scDot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--event-color,#9560c5);flex-shrink:0}.scZone{margin-left:auto}.scHint{color:var(--sc-muted);font-size:12px;margin:12px 0 0}.scError{border:1px solid #f1c8cc;background:#fff5f5;color:#a0202b;padding:14px;border-radius:12px;margin-bottom:16px;font-size:14px}.scError button{background:white;border:1px solid #e0a5ab;border-radius:7px;padding:7px 12px;margin-left:12px;color:inherit}.scLoading{padding:80px 20px;text-align:center;color:var(--sc-muted)}
.scMonth{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--sc-line);border-radius:15px;overflow:hidden}.scWeekday{padding:13px;text-align:center;font-size:12px;font-weight:600;color:var(--sc-muted);border-bottom:1px solid var(--sc-line);background:#fcfcfd}.scDay{min-width:0;min-height:135px;border-right:1px solid var(--sc-line);border-bottom:1px solid var(--sc-line);padding:8px 7px;cursor:crosshair;position:relative;transition:background .15s ease}.scDay:nth-child(7n){border-right:0}.scDay:nth-last-child(-n+7){border-bottom:0}.scDay.scOutside{background:#fafbfc}.scDay:hover{background:#fffafb}.scDay.scSelected,.scDay.scDrop{background:#fff0f2;box-shadow:inset 0 0 0 1px #f3b2b8}.scDate{border:0;background:transparent;color:var(--sc-ink);min-width:34px;height:34px;border-radius:50%;font-size:14px;text-align:center;padding:0;margin-bottom:4px}.scOutside .scDate{color:#9aa0aa}.scDate[aria-current=date]{background:var(--sc-red);color:#fff;font-weight:700}.scDayEvents{display:flex;flex-direction:column;gap:4px}.scEvent{--event-color:#9855cf;--event-bg:#f1e9fb;--event-ink:#643099;border:0;border-left:3px solid var(--event-color);border-radius:5px;background:var(--event-bg);color:var(--event-ink);text-align:left;min-height:29px;padding:6px 8px;font-size:12px!important;line-height:1.35;min-width:0;max-width:100%;width:100%;cursor:grab!important;transition:box-shadow .16s,opacity .16s}.scEvent:hover{box-shadow:0 2px 7px #15192218}.scEvent.scPending{opacity:.7}.scEventTitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.scEvent small{display:block;font-size:11px;margin-top:3px}.scEvent[data-color=red],.scColor-red{--event-color:#ec2942;--event-bg:#ffe8ec;--event-ink:#a3132b}.scEvent[data-color=blue],.scColor-blue{--event-color:#3481e4;--event-bg:#e7f1ff;--event-ink:#1956a3}.scEvent[data-color=green],.scColor-green{--event-color:#2c9d65;--event-bg:#e5f5ec;--event-ink:#17603b}.scEvent[data-color=amber],.scColor-amber{--event-color:#d29118;--event-bg:#fff3d9;--event-ink:#80520a}.scEvent[data-color=teal],.scColor-teal{--event-color:#239b9a;--event-bg:#e4f5f4;--event-ink:#146866}.scEvent[data-color=purple],.scColor-purple{--event-color:#9457cf;--event-bg:#f0e8fb;--event-ink:#633295}
.scWeekFrame{border:1px solid var(--sc-line);border-radius:14px;overflow:hidden}.scWeekHead,.scAllDay{display:grid;grid-template-columns:58px repeat(var(--sc-days,7),minmax(0,1fr));border-bottom:1px solid var(--sc-line)}.scWeekHead>div{text-align:center;padding:10px 2px;font-size:12px;color:var(--sc-muted)}.scWeekHead .scDate{display:block;margin:5px auto 0;font-size:20px;height:38px;width:38px}.scAllDay>div{border-right:1px solid var(--sc-line);padding:5px;min-height:44px;cursor:crosshair}.scAllDay>span{font-size:10px;padding:10px 4px;color:var(--sc-muted)}.scAllDay .scEvent{margin-bottom:3px}.scWeekScroll{height:min(66dvh,760px);overflow-y:auto;overscroll-behavior:contain;position:relative}.scTimeGrid{display:grid;grid-template-columns:58px repeat(var(--sc-days,7),minmax(0,1fr));height:1536px;position:relative}.scHourLabels{position:relative}.scHourLabels span{position:absolute;right:9px;top:calc(var(--hour)*64px);font-size:11px;color:var(--sc-muted);transform:translateY(-50%)}.scTimeDay{position:relative;min-width:0;border-right:1px solid var(--sc-line);background:repeating-linear-gradient(to bottom,#fff 0px,#fff 31px,#f5f6f8 31px,#f5f6f8 32px,#fff 32px,#fff 63px,#e9ebef 63px,#e9ebef 64px);cursor:crosshair}.scTimeDay:last-child{border:0}.scTimedEvent{position:absolute;min-height:24px;overflow:hidden;z-index:2;padding-bottom:9px}.scTimedEvent .scEventTitle{white-space:normal;overflow-wrap:anywhere}.scResize{position:absolute;bottom:0;height:10px;left:0;width:100%;cursor:ns-resize;touch-action:none}.scResize:after{content:"";width:20px;height:2px;background:currentColor;opacity:.3;display:block;margin:4px auto;border-radius:2px}.scTimeSelection{position:absolute;left:2px;right:2px;background:#f5142930;border:1px solid #ed1427;border-radius:7px;pointer-events:none;z-index:4}.scAgenda{display:grid;gap:14px}.scAgendaDay{display:grid;grid-template-columns:110px 1fr;gap:22px;padding:18px 0;border-bottom:1px solid var(--sc-line)}.scAgendaDay h3{font-size:14px;margin:0}.scAgendaDay h3 button{border:0;background:none;font:inherit;color:inherit;text-align:left;min-height:44px}.scAgendaDay h3 small{display:block;color:var(--sc-muted);font-weight:400;margin-top:5px}.scAgendaDay .scEvent{padding:13px;font-size:14px!important}.scAgendaEmpty{border:1px dashed #e1e4e9;border-radius:9px;background:#fff;color:#969ba5;text-align:left;padding:12px;min-height:44px;font-size:13px}
.scEditor{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:fixed;z-index:11050;width:355px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow-y:auto;background:#fff;color:#17191e;border:1px solid #e6e8ed;border-radius:18px;box-shadow:0 16px 65px #15213b26,0 2px 8px #15213b0a;padding:20px}.scEditorTop{justify-content:space-between;color:#787e89;font-size:12px;margin-bottom:10px}.scEditorTop button{width:32px;height:32px;border:0;border-radius:50%;background:#f5f6f8;color:#555}.scEditor label{display:block;font-size:12px;font-weight:600;color:#737986;margin-top:15px}.scEditor input,.scEditor select,.scEditor textarea{font:inherit;font-size:15px;line-height:1.45;border:1px solid #e5e7ec;border-radius:8px;background:#fff;color:#1b2029;padding:9px 10px;min-width:0;width:100%;margin-top:5px}.scEditor .scTitle{font-size:22px;font-weight:650;letter-spacing:-.5px;border:0;border-radius:0;padding:2px 0 10px;margin:0;border-bottom:1px solid #eee}.scEditor textarea{resize:vertical;min-height:65px}.scKinds{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:7px}.scKinds button{border:1px solid #e8e9ef;background:#fff;color:#626975;border-radius:8px;min-height:36px;font-size:13px;padding:8px}.scKinds button[aria-pressed=true]{border-color:#ed1427;background:#fff1f3;color:#bd1122;font-weight:650}.scDates,.scTimes{gap:10px;align-items:flex-end}.scDates label,.scTimes label{flex:1;min-width:0}.scAllDayToggle{display:flex!important;align-items:center;gap:8px;font-weight:400!important;color:#353b46!important}.scAllDayToggle input{width:17px;height:17px;margin:0;accent-color:#ed1427}.scSwatches{margin-top:15px;gap:9px}.scSwatches button{width:30px;height:30px;border-radius:50%;border:3px solid white;background:var(--event-color);outline:1px solid transparent;color:white;font-size:17px;padding:0}.scSwatches button[aria-pressed=true]{outline-color:var(--event-color)}.scEditor details{margin-top:15px}.scEditor summary{font-size:12px;color:#6f7683;cursor:pointer;padding:5px 0}.scEditorFoot{justify-content:space-between;border-top:1px solid #eee;padding-top:12px;margin-top:16px;font-size:12px;color:#66746a}.scDelete{border:0;background:none;color:#ba2e3d;padding:6px}.scEditorMessage{font-size:12px;line-height:1.5;margin-top:12px;color:#b32434}.scEditorMessage button{font:inherit;padding:6px 9px;background:#fff;border:1px solid #e3b7bd;border-radius:6px;color:#942735;margin:6px 6px 0 0}.scToast{position:fixed;z-index:11060;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:18px;padding:13px 18px;border:1px solid #e4e7eb;background:#fff;box-shadow:0 6px 30px #17202c18;border-radius:12px;font:13px Inter,-apple-system,sans-serif;max-width:calc(100vw - 24px);color:#273239}.scToast button{border:0;color:#d0162a;background:none;font:inherit;font-weight:650;cursor:pointer;padding:6px}.scToast.scFailure{color:#a21e2d}.scCalendar [hidden],.scEditor [hidden]{display:none!important}
.scEditor{box-sizing:border-box}
@media(min-width:1600px){.scDay{min-height:155px}.scCalendar{padding:34px 42px}}
@media(max-width:1000px){.scCalendar{padding:24px 18px}.scDateNav h2{font-size:20px;min-width:150px}.scDay{min-height:115px}.scModes button{padding:8px 12px}.scLegend{gap:12px}}
@media(max-width:767px){.scCalendar{padding:18px 10px 30px;min-height:75dvh}.scHeading{margin:0 4px 20px;gap:10px}.scHeading h1{font-size:27px}.scHeading p{font-size:12px}.scSaveState{font-size:11px}.scToolbar{gap:14px}.scDateNav{gap:5px;width:100%}.scDateNav h2{font-size:20px;min-width:0;flex:1;margin:0 4px}.scNavButton{min-height:44px;width:38px}.scToday{min-height:44px;padding:8px 11px}.scModes{width:100%}.scModes button{flex:1;min-height:38px;font-size:14px}.scLegend{font-size:10px;gap:9px;line-height:1.5;margin-bottom:12px}.scZone{display:block;width:100%;margin-left:0}.scMonth{border-radius:10px}.scWeekday{padding:10px 0;font-size:11px}.scDay{min-height:98px;padding:3px 2px}.scDate{font-size:12px;min-width:30px;width:100%;height:34px;border-radius:7px}.scDate[aria-current=date]{width:30px}.scEvent{padding:5px 3px;font-size:10px!important;min-height:28px;border-left-width:2px;border-radius:4px}.scDayEvents{gap:3px}.scHint{font-size:11px;line-height:1.6}.scEditor{left:10px!important;right:10px!important;top:auto!important;bottom:max(10px,env(safe-area-inset-bottom));width:auto;max-width:none;border-radius:20px;max-height:calc(100dvh - 35px);padding:18px}.scEditor input,.scEditor select,.scEditor textarea{font-size:16px}.scEditor .scTitle{font-size:22px}.scKinds button{min-height:44px}.scSwatches{gap:12px}.scSwatches button{width:34px;height:34px}.scEditorTop button{width:40px;height:40px}.scWeekHead,.scAllDay,.scTimeGrid{grid-template-columns:40px repeat(var(--sc-days,3),minmax(0,1fr))}.scWeekHead>div{font-size:11px}.scWeekHead .scDate{width:36px}.scHourLabels span{right:4px;font-size:10px}.scWeekScroll{height:60dvh}.scTimedEvent{font-size:11px!important;padding:6px 4px}.scTimedEvent small{font-size:10px}.scAgendaDay{grid-template-columns:70px 1fr;gap:12px}.scAgendaDay h3{font-size:12px}.scAgendaDay .scEvent{font-size:13px!important;min-height:44px}.scToast{font-size:12px;gap:10px;padding:10px 13px}}
@media(max-width:767px){.scDate{height:44px}.scEvent{min-height:44px}.scTimedEvent{min-height:24px}.scSwatches button{width:36px;height:36px}.scDelete{min-height:44px}}
@media(prefers-reduced-motion:reduce){.scCalendar *,.scEditor *{transition:none!important;animation:none!important}}

/* Shared week lanes: one uninterrupted event surface across date boundaries. */
.scMonthWeek{grid-column:1/-1;position:relative;min-width:0;min-height:135px;padding:48px 0 12px;border-bottom:1px solid var(--sc-line)}
.scMonthWeek:last-child{border-bottom:0}
.scWeekDays{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--sc-days,7),minmax(0,1fr))}
.scMonthWeek .scDay{min-height:0;border-bottom:0;padding:7px}
.scWeekDays>[data-cal-day]{border-right:1px solid var(--sc-line);min-width:0;cursor:crosshair}
.scWeekDays>[data-cal-day]:last-child{border-right:0}
.scEventLaneGrid{position:relative;display:grid;grid-template-columns:repeat(var(--sc-days,7),minmax(0,1fr));grid-auto-rows:32px;min-height:32px;pointer-events:none}
.scLaneEvent{position:relative;z-index:1;pointer-events:auto;align-self:stretch;width:auto;max-width:none;min-height:28px;margin:0 4px 4px;padding:5px 9px;border:0;border-radius:6px}
.scLaneEvent.scContinuesBefore{margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:15px}
.scLaneEvent.scContinuesAfter{margin-right:0;border-top-right-radius:0;border-bottom-right-radius:0;padding-right:15px}
.scContinuesBefore:before,.scContinuesAfter:after{position:absolute;top:50%;transform:translateY(-50%);font-size:17px;font-weight:500;line-height:1;opacity:.85}
.scContinuesBefore:before{content:"‹";left:4px}.scContinuesAfter:after{content:"›";right:4px}
.scAllDay{grid-template-columns:58px minmax(0,1fr)}
.scAllDay>.scAllDayBand{position:relative;min-width:0;min-height:48px;border:0;padding:8px 0}
.scAllDay .scLaneEvent{margin-bottom:4px}
.scAllDay .scWeekDays>[data-cal-day]:hover{background:#f7f8fc}
.scAllDay .scWeekDays>.scDrop,.scAllDay .scWeekDays>.scSelected{background:#fff0f2;box-shadow:inset 0 0 0 1px #f3b2b8}

/* Trim real event endpoints like a timeline; continuation arrows are not edges. */
.scLaneEvent.scDateResizable{padding-left:14px;padding-right:14px}
.scDateResize{position:absolute;z-index:5;top:0;bottom:0;width:12px;cursor:ew-resize!important;touch-action:none;user-select:none}
.scDateResize-start{left:0}.scDateResize-end{right:0}
.scDateResize:after{content:"";position:absolute;top:50%;left:5px;width:2px;height:12px;transform:translateY(-50%);border-radius:2px;background:currentColor;opacity:.38;transition:opacity .12s}
.scLaneEvent:hover .scDateResize:after,.scLaneEvent:focus-visible .scDateResize:after{opacity:.9}
.scDateResize:hover{background:#ffffff24}.scDateResize-start:hover{border-radius:6px 0 0 6px}.scDateResize-end:hover{border-radius:0 6px 6px 0}
.scCalendarDateResizing,.scCalendarDateResizing *{cursor:ew-resize!important;user-select:none!important}
.scEvent.scResizeOriginal{opacity:.22;filter:none;box-shadow:none}
.scDateResizePreview{position:absolute;z-index:8;pointer-events:none!important;height:28px;min-height:28px;padding:5px 12px;border-radius:6px;outline:2px solid #fff;box-shadow:0 4px 14px #17202c30!important;transition:none!important;overflow:hidden}
.scResizeHint{position:fixed;z-index:11070;pointer-events:none;max-width:calc(100vw - 24px);padding:9px 13px;border:1px solid #ffffff24;border-radius:11px;background:#202631;color:#fff;box-shadow:0 6px 22px #15213b26;font:650 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:767px){.scDateResize{display:none}}

/* Saturated, distinct fills. Existing saved color IDs remain unchanged. */
.scEvent{--event-color:#7538e8;--event-bg:#7538e8;--event-ink:#fff;border-left:0;background:var(--event-bg);color:var(--event-ink);box-shadow:inset 0 0 0 1px #00000005}
.scEvent[data-color=red],.scColor-red{--event-color:#dc1d32;--event-bg:#dc1d32;--event-ink:#fff}
.scEvent[data-color=blue],.scColor-blue{--event-color:#155eef;--event-bg:#155eef;--event-ink:#fff}
.scEvent[data-color=purple],.scColor-purple{--event-color:#7538e8;--event-bg:#7538e8;--event-ink:#fff}
.scEvent[data-color=green],.scColor-green{--event-color:#087f4b;--event-bg:#087f4b;--event-ink:#fff}
.scEvent[data-color=amber],.scColor-amber{--event-color:#ffd32a;--event-bg:#ffd32a;--event-ink:#352800}
.scEvent[data-color=teal],.scColor-teal{--event-color:#007f86;--event-bg:#007f86;--event-ink:#fff}
.scEvent:hover{box-shadow:0 3px 9px #17202c24,inset 0 0 0 1px #0000000a;filter:brightness(.96)}
.scEvent:focus-visible{outline:3px solid #17191e;outline-offset:2px;z-index:3}
.scSwatches button{color:var(--event-ink,#fff)}
.scColor-amber .scDot{box-shadow:inset 0 0 0 1px #9b750035}
@media(min-width:1600px){.scMonthWeek{min-height:155px}}
@media(max-width:1000px){.scMonthWeek{min-height:115px}}
@media(max-width:767px){
  .scMonthWeek{padding-top:49px;padding-bottom:7px;min-height:105px}
  .scMonthWeek .scDay{padding:2px}
  .scEventLaneGrid{grid-auto-rows:46px;min-height:46px}
  .scLaneEvent{min-height:44px;margin:0 2px 2px;padding:6px 5px;font-size:11px!important;border-radius:5px;display:flex;align-items:center}
  .scEventTitle{min-width:0}
  .scAllDay{grid-template-columns:40px minmax(0,1fr)}
  .scAllDay>.scAllDayBand{padding:5px 0;min-height:56px}
  .scAllDay .scLaneEvent{margin-bottom:2px}
}

/* Type symbols stay distinct from the user-selected event color. */
.scCalendar .scKindIcon,.scEditor .scKindIcon{display:block;width:16px;height:16px;flex:0 0 16px;pointer-events:none}
.scEventHeading{display:flex;align-items:flex-start;gap:6px;min-width:0;width:100%}
.scEventHeading .scEventTitle{flex:1;min-width:0}
.scEventHeading .scKindIcon{margin-top:0}
.scLegend .scKindIcon{color:var(--event-color)}
.scLegend .scColor-amber .scKindIcon{color:#8a6500}
.scKinds button{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding-left:12px;text-align:left}
.scAgenda .scKindIcon{width:18px;height:18px;flex-basis:18px;margin-top:1px}
@media(max-width:767px){
  .scEventHeading{gap:4px}
  .scEvent .scKindIcon{width:14px;height:14px;flex-basis:14px}
  .scMonth .scSingleDayEvent .scEventHeading{flex-direction:column;gap:2px}
  .scMonth .scSingleDayEvent .scEventTitle{width:100%;flex:auto;line-height:14px}
  .scMonth .scSingleDayEvent{padding:5px 4px}
  /* Seven columns can be narrower than the shell's 44px button minimum. */
  .scCalendar .scMonth .scLaneEvent{min-width:0!important}
  .scLegend .scKindIcon{width:14px;height:14px;flex-basis:14px}
}

/* Calendar type filters: compact controls that retain the saved color model. */
.scLegend button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid #e6e8ed;border-radius:999px;background:#fff;color:#4f5662;font-size:12px;white-space:nowrap;transition:background .15s,border-color .15s,opacity .15s}
.scLegend button .scKindIcon{color:var(--event-color)}
.scLegend button.scColor-amber .scKindIcon{color:#8a6500}
.scLegend button[aria-pressed=true]{background:color-mix(in srgb,var(--event-color) 10%,white);border-color:color-mix(in srgb,var(--event-color) 35%,#e6e8ed);color:#242832;font-weight:650}
.scLegend button[aria-pressed=false]{opacity:.46;background:#f7f8fa;text-decoration:line-through}
.scKinds [data-cal-kind=travel][aria-pressed=true]{border-color:#d6a80c;background:#fff7d6;color:#745500}

/* The phone keeps the month useful as an overview and gives the chosen day a
   full, readable agenda. Only the visual lanes are capped; all events remain
   available in the selected-day list. */
.scMobileDayAgenda{display:none}
.scHeadingActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.scHeadingActions .scSaveState{margin-right:8px}
.scNewItem{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #dde4e6;border-radius:12px;padding:9px 14px;font-size:13px!important;font-weight:700!important;background:#f1f8f8;color:#125e64}
.scNewItem{background:#191e27;border-color:#191e27;color:#fff}.scNewItem>span{font-size:22px;font-weight:400;line-height:1}
.scNewItem:hover{background:#303947}
.scMeetingNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e1e5eb;background:#f6f8fb;border-radius:12px;margin:0 0 14px;color:#535e70;font-size:13px;line-height:1.5}
.scMeetingNotice button{flex:none;min-height:40px;padding:7px 12px;border:1px solid #d7dee6;border-radius:9px;background:#fff;color:#283a50;font-weight:650}
.scEvent[draggable=false]{cursor:pointer!important}.scEvent[draggable=true]:active{cursor:grabbing!important}.scTimeDay.scDrop{box-shadow:inset 0 0 0 2px #e51f32}
.scCreateDialog{box-sizing:border-box;width:min(590px,calc(100vw - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:26px;border:1px solid #e1e5eb;border-radius:25px;background:#fff;color:#1a202a;box-shadow:0 28px 90px #15213b2b;overflow:auto;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
.scCreateDialog::backdrop{background:#15213b66;backdrop-filter:blur(5px)}
.scCreateDialog *{box-sizing:border-box}.scCreateDialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 23px}
.scCreateEyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:#00777f}.scCreateDialog h2{font-size:27px;font-weight:760;letter-spacing:-.8px;line-height:1.2;margin:8px 0}.scCreateDialog header p{margin:0;font-size:13px;color:#707b8a;line-height:1.5}
.scCreateDialog button{font:inherit;cursor:pointer}.scCreateDialog header>button{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #e8ebef;border-radius:50%;background:#f7f8fa;color:#586271}.scCreateDialog header>button svg{width:19px;height:19px}
.scCreateOptions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scCreateOption{display:flex;align-items:center;gap:11px;min-width:0;min-height:84px;padding:15px 12px;border:1px solid #e4e8ee;border-radius:15px;background:#fff;text-align:left;color:#1c2531;transition:background .15s,border-color .15s,transform .15s}.scCreateOption:hover{background:#f7f9fb;border-color:#cbd5df;transform:translateY(-1px)}

.scCreateSymbol{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:color-mix(in srgb,var(--event-color) 11%,white);color:var(--event-color)}.scCreateSymbol svg{width:23px;height:23px}.scCreateOption.scColor-amber .scCreateSymbol{color:#8a6500;background:#fff4cf}.scCreateOption strong{display:block;font-size:14px;font-weight:750;line-height:1.3}.scCreateOption small{display:block;font-size:11px;line-height:1.4;color:#6d7786;margin-top:4px}.scCreateArrow{font-size:23px;color:#8895a3;margin-left:auto}.scCreateFoot{font-size:11px;line-height:1.5;color:#7b8592;margin:18px 0 0}.scCreateDialog :focus-visible{outline:3px solid #1769df;outline-offset:3px}
@media(max-width:767px){.scHeading{flex-wrap:wrap}.scHeadingActions{width:100%;justify-content:flex-start}.scHeadingActions .scSaveState{margin-right:auto}.scNewItem{min-height:44px;font-size:11px!important;padding:8px 11px}.scMeetingNotice{align-items:flex-start;font-size:12px}.scMeetingNotice button{font-size:11px}.scCreateDialog{padding:20px;border-radius:23px}.scCreateDialog h2{font-size:25px}.scCreateOptions{gap:8px}.scCreateOption{padding:12px 10px;gap:8px;min-height:84px}.scCreateSymbol{width:33px;height:33px;flex-basis:33px;border-radius:10px}.scCreateSymbol svg{width:19px;height:19px}.scCreateOption strong{font-size:13px}.scCreateOption small{font-size:10px}.scCreateOption .scCreateArrow{display:none}}
@media(prefers-reduced-motion:reduce){.scCreateDialog *{transition:none!important;animation:none!important}.scCreateOption:hover{transform:none}}
@media(max-width:767px){
  .scCalendar{padding:14px 10px calc(28px + env(safe-area-inset-bottom));min-width:0;overflow-x:clip}
  .scHeading{margin:0 2px 14px;align-items:flex-start}
  .scHeading h1{font-size:25px;letter-spacing:-.9px}
  .scHeading p{margin-top:2px}
  .scSaveState{min-height:26px;padding-top:3px}
  .scToolbar{gap:10px;margin-bottom:12px}
  .scDateNav{display:grid;grid-template-columns:44px 44px minmax(0,1fr) auto;gap:5px}
  .scDateNav h2{font-size:19px;letter-spacing:-.55px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 4px}
  .scNavButton{width:44px;padding:8px}
  .scToday{padding:8px 12px}
  .scModes{border-radius:13px;padding:4px}
  .scModes button{min-height:40px;padding:8px 5px;font-size:13px}
  .scLegend{flex-wrap:nowrap;gap:7px;margin:0 -10px 10px;padding:0 10px 5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
  .scLegend::-webkit-scrollbar{display:none}
  .scLegend button{flex:0 0 auto;min-height:38px;font-size:11px;padding:7px 10px}
  .scLegend .scZone{display:none}
  .scMonthShell{min-width:0}
  .scMonth{border-radius:14px;border-color:#dfe3e9;box-shadow:0 8px 26px #19243b0a}
  .scWeekday{padding:8px 0;font-size:10px;letter-spacing:.02em;background:#f8f9fb}
  .scMonthWeek{padding-top:43px;padding-bottom:5px;min-height:68px}
  .scMonthWeek .scDay{padding:2px;background:transparent}
  .scMonthWeek .scDay.scOutside{background:#fafbfc}
  .scMonthWeek .scDay.scSelectedDay{background:#fff4f5;box-shadow:inset 0 0 0 1px #f2b6bd}
  .scMonthWeek .scDay.scSelectedDay .scDate:not([aria-current=date]){color:#c31629;font-weight:750}
  .scDate{height:40px;min-width:0;width:100%;margin:0;border-radius:8px;font-size:12px}
  .scDate[aria-current=date]{width:32px;height:32px;margin:4px auto}
  .scDayMore{position:absolute;z-index:4;right:3px;top:27px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:9px;background:#fff;color:#9b2936;border:1px solid #efc6cb;font-size:9px;font-weight:750;pointer-events:none}
  .scEventLaneGrid{grid-auto-rows:21px;min-height:21px}
  .scMonth .scLaneEvent{min-height:19px;height:19px;margin:0 1px 2px;padding:2px 4px;border-radius:4px;font-size:9px!important;line-height:13px;display:flex;align-items:center;touch-action:manipulation}
  .scMonth .scSingleDayEvent .scEventHeading{flex-direction:row;align-items:center;gap:2px}
  .scMonth .scLaneEvent .scKindIcon{width:10px;height:10px;flex-basis:10px}
  .scMonth .scLaneEvent .scEventTitle{font-size:9px;line-height:12px;width:auto;white-space:nowrap}
  .scMonth .scLaneEvent.scContinuesBefore{padding-left:8px}
  .scMonth .scLaneEvent.scContinuesAfter{padding-right:8px}
  .scMonth .scContinuesBefore:before,.scMonth .scContinuesAfter:after{font-size:11px}
  .scMonth .scContinuesBefore:before{left:2px}.scMonth .scContinuesAfter:after{right:2px}
  .scMobileDayAgenda{display:block;margin-top:12px;border:1px solid #e2e5ea;border-radius:16px;background:#fff;box-shadow:0 8px 28px #19243b0b;overflow:hidden;scroll-margin:12px}
  .scMobileDayAgenda>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 15px 13px;border-bottom:1px solid #eceef2;background:#fbfbfc}
  .scMobileDayAgenda>header h3{margin:2px 0 0;font-size:18px;line-height:1.2;letter-spacing:-.35px}
  .scMobileDayAgenda>header p{margin:4px 0 0;color:#777e89;font-size:11px}
  .scEyebrow{display:block;color:#d31327;font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
  .scMobileDayAgenda>header>button{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 13px;border:0;border-radius:11px;background:#ed1427;color:#fff;font-size:13px;font-weight:750;white-space:nowrap}
  .scMobileDayAgenda>header>button span{font-size:20px;line-height:1}
  .scMobileDayList{display:grid;gap:8px;padding:10px}
  .scMobileAgendaEvent{display:grid;grid-template-columns:32px minmax(0,1fr) 12px;align-items:center;gap:10px;min-height:64px!important;padding:10px 12px!important;border-radius:12px!important;font-size:13px!important;cursor:pointer!important}
  .scMobileAgendaIcon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#ffffff30}
  .scMobileAgendaIcon .scKindIcon{width:18px!important;height:18px!important;flex-basis:18px!important}
  .scMobileAgendaCopy{min-width:0}
  .scMobileAgendaCopy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.25}
  .scMobileAgendaCopy small{display:block;margin-top:4px;font-size:11px;line-height:1.3;opacity:.86}
  .scMobileAgendaArrow{font-size:23px;line-height:1;opacity:.75}
  .scMobileDayEmpty{display:grid;grid-template-columns:30px 1fr;column-gap:8px;align-items:center;min-height:64px;padding:10px 12px;border:1px dashed #d7dbe2;border-radius:12px;background:#fff;color:#69717e;text-align:left}
  .scMobileDayEmpty>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f2f3f6;color:#d31327;font-size:20px}
  .scMobileDayEmpty strong{font-size:13px}.scMobileDayEmpty small{font-size:11px;color:#8a9099}
  .scHint{margin:10px 2px 0}
  .scAgenda{gap:10px}
  .scAgendaDay{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px 0}
  .scAgendaDay h3 button{padding:3px 0}
  .scAgendaDay .scDayEvents{min-width:0}
  .scAgendaDay .scEvent{min-height:50px;padding:9px 10px!important;border-radius:9px;font-size:12px!important}
  .scAgendaMonthEmpty{display:grid;justify-items:start;gap:10px;padding:28px 20px;border:1px dashed #d7dbe2;border-radius:14px;color:#727985}
  .scAgendaMonthEmpty strong{color:#272c35}.scAgendaMonthEmpty button{min-height:44px;padding:8px 14px;border:0;border-radius:10px;background:#ed1427;color:#fff;font-weight:700}
  .scKinds [data-cal-kind=travel]{grid-column:1/-1}
}
.scTrash{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px dashed #d6d9df;border-radius:12px;color:#747b87;font-size:12px;font-weight:650;transition:background .15s,color .15s,border-color .15s}
.scTrash svg{width:18px;height:18px}
.scTrash.scTrashReady{border-color:#e79da4;color:#c82d40;background:#fff6f7}
.scTrash.scDrop{border-style:solid;border-color:#cf2439;background:#ffe2e7;color:#a71e30}
@media(max-width:767px){.scTrash{display:none}}
