:root{font-family:Inter,Segoe UI,Roboto,system-ui,sans-serif;font-size:14px;color-scheme:light;--text: #1a2a22;--muted: #53655b;--subtle: #718178;--surface: #ffffff;--surface-alt: #f4f7f4;--surface-soft: #f9fbf9;--line: #dfe7e1;--line-quiet: #e7ede8;--green: #236a4a;--green-strong: #1c563c;--green-soft: #e8f2eb;--on-green: #fff;--danger: #a23835;--danger-soft: #f9eaea;--yellow: #a46a16;--yellow-soft: #fff8e7;--shadow: 0 8px 26px #182d2321;background:var(--surface-alt);color:var(--text)}:root[data-theme=dark]{color-scheme:dark;--text: #e7f0e9;--muted: #adc0b4;--subtle: #93a79b;--surface: #1b2420;--surface-alt: #151f19;--surface-soft: #1d2922;--line: #39473f;--line-quiet: #303e35;--green: #86c9a4;--green-strong: #abdebe;--green-soft: #263e31;--on-green: #14241b;--danger: #f2a8a4;--danger-soft: #422827;--yellow: #e8c279;--yellow-soft: #392e1c;--shadow: 0 8px 26px #0007}@media(prefers-color-scheme:dark){:root[data-theme=system]{color-scheme:dark;--text: #e7f0e9;--muted: #adc0b4;--subtle: #93a79b;--surface: #1b2420;--surface-alt: #151f19;--surface-soft: #1d2922;--line: #39473f;--line-quiet: #303e35;--green: #86c9a4;--green-strong: #abdebe;--green-soft: #263e31;--on-green: #14241b;--danger: #f2a8a4;--danger-soft: #422827;--yellow: #e8c279;--yellow-soft: #392e1c;--shadow: 0 8px 26px #0007}}*,*:before,*:after{box-sizing:border-box}body{margin:0}button,select,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--green);outline-offset:2px}svg{display:block;flex:none}a{color:var(--green-strong)}hr{border:0;border-top:1px solid var(--line);margin:5px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.shell{height:100dvh;min-height:460px;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.topbar{min-height:65px;display:flex;align-items:center;gap:16px;padding:9px 19px;background:var(--surface);border-bottom:1px solid var(--line);z-index:6}.brand{display:flex;align-items:center;gap:10px;min-width:174px;flex-shrink:0}.with-sidebar .brand{min-width:max(174px,calc(var(--sidebar-width) - 35px))}.wordmark{display:inline-flex;align-items:center;gap:4px;font-size:18px;font-weight:480;letter-spacing:-.035em;white-space:nowrap}.wordmark strong{color:var(--green-strong);font-weight:760}.wordmark img{object-fit:contain;margin-right:4px}.top-navigation{display:flex;gap:13px;align-items:center;min-width:0;flex:1}.top-navigation h1{font-size:inherit;font-weight:400;margin:0;min-width:0}.step-buttons{display:flex;gap:1px}.step-buttons .icon-button{min-width:31px}.date-heading{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:5px 3px;font-size:clamp(17px,1.6vw,24px);line-height:1.2;font-weight:660;letter-spacing:-.035em;text-align:left;min-width:0}.date-heading svg{color:var(--subtle)}.top-controls,.top-icons{display:flex;align-items:center;gap:7px}.top-controls{margin-left:auto;gap:14px}.top-divider{height:24px;width:1px;background:var(--line);margin:0 3px}.icon-button{display:inline-grid;place-items:center;min-width:35px;height:35px;padding:0;color:var(--muted);border:0;background:transparent;border-radius:6px}.icon-button:hover,.text-button:hover,.date-heading:hover{color:var(--green-strong)}.icon-button:hover{background:var(--green-soft)}.account-button{height:34px;min-width:34px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green-strong);border:1px solid color-mix(in srgb,var(--green) 14%,var(--line));font-weight:750}.text-button{padding:0;border:0;background:transparent}.view-picker{display:flex;align-items:center;position:relative}.view-picker select{max-width:175px;min-width:89px;height:35px;appearance:none;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:0 30px 0 10px;cursor:pointer}.view-picker svg{position:absolute;right:9px;pointer-events:none;color:var(--muted)}.outline-button,.primary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;color:var(--text);border-radius:6px;padding:0 13px;border:1px solid var(--line);background:var(--surface);font-weight:590}.outline-button:hover{color:var(--green-strong);background:var(--surface-alt)}.primary-button{background:var(--green);color:var(--on-green);border-color:transparent}.primary-button:hover{background:var(--green-strong)}.danger-button{background:var(--danger);color:var(--surface);border-color:transparent}.danger-text{color:var(--danger)}.work-area{display:flex;min-width:0;min-height:0;position:relative}.sidebar{position:relative;flex:0 0 var(--sidebar-width);min-width:0;background:var(--surface);border-right:1px solid var(--line);z-index:4}.side-inner{display:flex;flex-direction:column;padding:19px 15px;height:100%}.side-create{margin:0 2px 20px}.create-button{width:100%;display:flex;justify-content:space-between;height:42px;text-align:left;padding:0 13px}.create-button span{flex:1}.menu-anchor{position:relative}.action-menu{position:absolute;top:calc(100% + 5px);left:0;min-width:210px;z-index:10;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}.action-menu.align-right{right:0;left:auto}.action-menu button{display:flex;align-items:center;gap:9px;padding:7px 9px;width:100%;border:0;border-radius:5px;text-align:left;background:transparent;white-space:nowrap;min-height:36px}.action-menu button:hover{background:var(--surface-alt)}.mini-calendar{padding:0 2px 15px}.mini-heading{display:flex;justify-content:space-between;align-items:center;min-height:32px;gap:4px}.mini-heading>button{font-weight:690;text-align:left}.mini-arrows{display:flex}.mini-arrows .icon-button{min-width:26px;height:28px}.mini-arrows svg{width:15px;height:15px}.mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));place-items:center;gap:1px;padding-top:7px}.mini-weekday{display:grid;place-items:center;min-height:23px;font-size:.86rem;font-weight:660;color:var(--muted)}.mini-day{display:grid;justify-items:center;align-items:center;height:27px;width:min(27px,100%);border:0;border-radius:50%;background:transparent;font-size:.9rem}.mini-day:hover{background:var(--surface-alt)}.mini-day.outside{color:var(--subtle)}.mini-day.selected{color:var(--green-strong);background:var(--green-soft);font-weight:700}.mini-day.today{background:var(--green);color:var(--on-green);font-weight:720}.side-section{padding:10px 0;border-top:1px solid var(--line-quiet)}.side-section-head{display:flex;align-items:center;justify-content:space-between;gap:4px}.side-section-head>.icon-button,.calendar-line .icon-button{min-width:29px;height:28px}.side-section-head svg,.calendar-line .icon-button svg{width:15px;height:15px}.side-section-title{display:flex;align-items:center;gap:6px;border:0;padding:0;min-height:30px;background:transparent;font-weight:690;white-space:nowrap}.side-section-title svg{color:var(--subtle)}.calendar-lines{padding-top:4px}.calendar-line{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-left:19px;min-height:31px}.calendar-checkbox{cursor:pointer;display:flex;align-items:center;gap:8px;min-width:0;flex:1;min-height:28px}.calendar-checkbox span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-checkbox input{width:15px;height:15px;align-self:center;appearance:none;border-radius:4px;border:1px solid var(--calendar-color);margin:0;background:var(--surface)}.calendar-checkbox input:checked{background:var(--calendar-color)}.calendar-checkbox input:checked:before{content:"";display:block;width:8px;height:5px;transform:rotate(-45deg);border:solid #fff;border-width:0 0 2px 2px;margin:3px 0 0 3px}.side-empty{padding:0 4px;margin:6px 0;font-size:.89rem;color:var(--muted)}.archive-section summary{cursor:pointer}.archive-section .calendar-line{padding-top:4px}.side-tools{display:grid;gap:2px;margin-top:4px;border-top:1px solid var(--line-quiet);padding-top:10px}.side-tools button{display:flex;align-items:center;gap:8px;border:0;border-radius:6px;min-height:33px;background:transparent;text-align:left;color:var(--muted);padding:0 5px;white-space:nowrap}.side-tools button:hover{background:var(--surface-alt);color:var(--green-strong)}.nav-count{margin-left:auto;border:1px solid var(--line);padding:0 5px;border-radius:8px;font-size:.87rem}.panel-grip{width:8px;position:absolute;height:100%;z-index:5;cursor:col-resize;touch-action:none}.panel-grip:hover,.panel-grip:focus-visible{background:color-mix(in srgb,var(--green) 15%,transparent)}.left-grip{left:calc(var(--sidebar-width) - 4px)}.right-grip{right:calc(var(--detail-width) - 4px)}.details{flex:0 0 var(--detail-width);min-width:0;z-index:4;background:var(--surface);border-left:1px solid var(--line);overflow:auto}.calendar-main{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;padding:14px 17px 17px;gap:10px;overflow:auto}.session-banner{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:8px 11px;border:1px solid color-mix(in srgb,var(--yellow) 22%,var(--line));border-radius:7px;color:color-mix(in srgb,var(--yellow) 38%,var(--text));background:var(--yellow-soft);font-size:.88rem}.session-banner svg{color:var(--yellow)}.session-banner a{margin-left:auto;font-weight:630}.selection-bar{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:7px;background:var(--green-soft)}.selection-bar span{padding-left:4px;font-weight:630}.month-grid{display:grid;grid-template-rows:36px minmax(0,1fr);flex:1;min-height:340px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.month-weekdays,.month-week{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr))}.month-weekdays.has-week-numbers,.month-week.has-week-numbers{grid-template-columns:31px repeat(var(--columns),minmax(0,1fr))}.month-weekdays{align-items:center;border-bottom:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.055em}.month-weekdays span{text-align:center}.month-weeks{display:grid;grid-template-rows:repeat(var(--weeks),minmax(0,1fr))}.month-week{min-height:0}.month-week:not(:last-child){border-bottom:1px solid var(--line-quiet)}.week-number{display:grid;place-items:center;align-content:start;padding-top:8px;font-size:.79rem;color:var(--subtle)}.month-weekdays .week-number{padding-top:0}.month-cell{min-width:0;min-height:0;padding:5px 5px 4px;border-left:1px solid var(--line-quiet);overflow:hidden;cursor:default}.month-week:not(.has-week-numbers) .month-cell:first-child{border-left:0}.month-cell.weekend{background:var(--surface-soft)}.month-cell.outside{color:var(--subtle)}.month-cell.current{background:color-mix(in srgb,var(--green-soft) 45%,var(--surface))}.month-cell.drop-target,.time-lane.drop-target{background:var(--green-soft)}.cell-heading{position:relative;display:flex;justify-content:center;align-items:center}.day-number{display:grid;place-items:center;width:26px;height:26px;background:transparent;border:0;border-radius:50%;font-size:.91rem;font-weight:600;font-variant-numeric:tabular-nums}.day-number:hover{background:var(--green-soft);color:var(--green-strong)}.day-number[aria-current=date]{background:var(--green);color:var(--on-green);font-weight:750}.cell-create{position:absolute;right:1px;display:grid;place-items:center;background:var(--green-soft);color:var(--green-strong);border:0;border-radius:4px;padding:3px;visibility:hidden}.month-cell:hover .cell-create,.month-cell:focus-within .cell-create{visibility:visible}.cell-events{display:grid;gap:3px;padding-top:3px}.month-event{display:flex;align-items:center;gap:4px;min-width:0;height:20px;padding:0 4px;background:color-mix(in srgb,var(--event-color) 16%,var(--surface));color:var(--text);border:0;border-left:3px solid var(--event-color);border-radius:3px;text-align:left;box-shadow:none}.month-event:hover,.month-event.is-selected{background:color-mix(in srgb,var(--event-color) 27%,var(--surface))}.is-selected{outline:2px solid var(--green);outline-offset:-2px}.month-event.completed .month-event-title{text-decoration:line-through}.month-event-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:650}.mini-event-time{color:var(--muted);font-size:.76rem;white-space:nowrap;font-variant-numeric:tabular-nums}.cell-more{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;border:0;border-radius:3px;font-size:.82rem;color:var(--green-strong);background:transparent;text-align:left}.cell-more:hover{background:var(--green-soft)}.statusbar{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);background:var(--surface);border-top:1px solid var(--line);padding:0 18px;font-size:.85rem}.status-left,.status-right,.sync-status,.zone-status{display:flex;align-items:center;gap:6px}.status-left,.status-right{gap:12px}.icon-credit{color:var(--muted);text-underline-offset:2px}.statusbar .text-button{color:var(--green-strong);text-decoration:underline}.sync-status.local svg{color:var(--yellow)}.sync-status.saved svg{color:var(--green-strong)}.sync-status.error svg,.sync-status.conflict svg,.sync-status.offline svg{color:var(--danger)}.dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:0;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 26px);box-shadow:var(--shadow);overflow:auto}.dialog::backdrop{background:#14291e66}.dialog[data-panel=event-editor]{width:min(650px,calc(100vw - 24px))}.dialog[data-panel=settings],.dialog[data-panel=search]{width:min(640px,calc(100vw - 24px))}.dialog[data-panel=jump],.dialog[data-panel=range],.dialog[data-panel=confirm],.dialog[data-panel=account]{width:min(438px,calc(100vw - 24px))}.confirm-panel>div,.confirm-panel header,.confirm-panel footer{padding:14px 18px}.confirm-panel header,.confirm-panel footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.confirm-panel header{border-bottom:1px solid var(--line)}.confirm-panel header h2{margin:0;font-size:1.17rem}.confirm-panel footer{justify-content:flex-end;border-top:1px solid var(--line)}.confirm-panel p{margin:0;color:var(--muted)}.confirm-panel label{display:grid;gap:6px}.confirm-panel select{padding:7px;border-radius:6px;border:1px solid var(--line);background:var(--surface)}.toast-area{position:fixed;z-index:30;inset:auto 18px 45px auto;max-width:min(440px,calc(100vw - 36px))}.toast{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 12px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;box-shadow:var(--shadow)}.toast>svg{color:var(--green-strong)}.toast>button:not(.icon-button){border:0;background:var(--green-soft);border-radius:5px;color:var(--green-strong);min-height:31px;padding:0 8px;font-weight:690}.sidebar-scrim{display:none}@media(max-height:625px){.side-inner{overflow:auto}.side-create{margin-bottom:8px}.mini-calendar{padding-bottom:8px}}@media(max-width:1050px){.topbar{gap:9px;padding-inline:9px}.top-controls,.top-icons{gap:4px}.top-navigation{gap:6px}.topbar .icon-button{min-width:30px}.view-picker select{max-width:105px}.calendar-main{padding-inline:10px}.mini-event-time{display:none}}@media(max-width:800px){.topbar{padding:6px 8px;min-height:auto;flex-wrap:wrap;gap:4px}.brand,.with-sidebar .brand{min-width:0}.wordmark{font-size:16px}.top-navigation{width:100%;min-height:39px;flex:none;order:5}.date-heading{font-size:17px}.top-controls,.top-icons{gap:3px}.top-icons .icon-button{min-width:28px;width:28px}.top-icons .icon-button svg{width:17px;height:17px}.top-divider{display:none}.view-picker select{max-width:106px;min-width:66px}.account-button{width:29px;min-width:29px;height:29px}.sidebar{position:absolute;inset:0 auto 0 0;width:min(var(--sidebar-width),85vw);box-shadow:var(--shadow)}.sidebar-scrim{display:block;position:absolute;inset:0;background:#12221966;border:0;z-index:3}.panel-grip{display:none}.details{position:absolute;inset:0 0 0 auto;width:min(var(--detail-width),94vw);box-shadow:var(--shadow)}.calendar-main{padding:7px 5px}.month-grid{border-radius:7px;grid-template-rows:32px minmax(0,1fr)}.month-cell{padding-inline:2px}.month-weekdays.has-week-numbers,.month-week.has-week-numbers{grid-template-columns:20px repeat(var(--columns),minmax(0,1fr))}.cell-create{display:none}.month-event{height:17px;padding-inline:2px}.month-event-title{font-size:.76rem}.month-event>svg{display:none}}@media(max-width:430px){.wordmark{font-size:14px;gap:2px}.wordmark img{width:22px;height:22px;margin:0}.brand{gap:1px}.brand .icon-button{min-width:25px}.view-picker select{font-size:.88rem;width:65px;padding-left:5px}.top-icons .icon-button{min-width:25px;width:25px}.statusbar{padding-inline:7px}}.form-error{color:var(--danger);background:var(--danger-soft);padding:8px 12px;margin:4px 13px;border-radius:6px}.details .aux-scroll{max-height:none}:is(.time-view,.agenda-view,.year-view){--schedule-surface: var(--surface, Canvas);--schedule-soft: var(--surface-subtle, var(--surface-2, color-mix(in srgb, CanvasText 3%, Canvas)));--schedule-line: var(--border, var(--line, color-mix(in srgb, CanvasText 12%, Canvas)));--schedule-text: var(--text, CanvasText);--schedule-muted: var(--muted, color-mix(in srgb, CanvasText 63%, Canvas));--schedule-green: var(--accent, var(--green, #236e48));--schedule-hover: color-mix(in srgb, var(--schedule-green) 7%, var(--schedule-surface));min-width:0;min-height:0;color:var(--schedule-text)}:is(.time-view,.agenda-view,.year-view) button{font:inherit}.time-view{display:flex;flex:1;flex-direction:column;overflow:hidden}.time-scroll{flex:1;overflow:auto;scrollbar-color:color-mix(in srgb,var(--schedule-muted) 35%,var(--schedule-surface)) transparent}.time-grid{--hour-height: 56px;--day-heading-height: 73px;--axis-width: 5.15rem;display:grid;grid-template-columns:var(--axis-width) repeat(var(--day-count),minmax(0,1fr));min-width:calc(var(--axis-width) + var(--day-count) * 92px);background:var(--schedule-surface)}.time-corner,.time-day-heading{position:sticky;top:0;z-index:5;display:flex;height:var(--day-heading-height);align-items:center;justify-content:center;border:0;border-right:1px solid var(--schedule-line);border-bottom:1px solid var(--schedule-line);background:var(--schedule-surface);color:var(--schedule-muted)}.time-corner{left:0;z-index:7;gap:4px;flex-direction:column;padding-inline:5px;overflow-wrap:anywhere;font-size:.69rem;text-align:center}.time-day-heading{flex-direction:column;gap:3px;cursor:pointer}.time-day-heading:hover,.time-day-heading:focus-visible{background:var(--schedule-hover)}.time-day-heading>span{font-size:.73rem;font-weight:600;letter-spacing:.045em;text-transform:uppercase}.time-day-heading>strong{display:grid;inline-size:33px;block-size:33px;place-items:center;border-radius:50%;color:var(--schedule-text);font-size:1.2rem;font-weight:650}.time-day-heading.time-today>span{color:var(--schedule-green)}.time-day-heading.time-today>strong{background:var(--schedule-green);color:#fff}.time-all-day-label,.time-all-day{position:sticky;top:var(--day-heading-height);z-index:4;display:flex;min-height:38px;border-right:1px solid var(--schedule-line);border-bottom:1px solid var(--schedule-line);background:var(--schedule-surface)}.time-all-day-label{left:0;z-index:6;align-items:center;justify-content:center;color:var(--schedule-muted);font-size:.71rem;text-align:center}.time-all-day{position:sticky;flex-direction:column;gap:3px;justify-content:flex-start;padding:5px 5px 5px 6px}.time-all-day-create{display:grid;order:1;inline-size:26px;block-size:25px;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--schedule-muted);cursor:pointer}.time-all-day:has(.time-chip) .time-all-day-create{block-size:20px}.time-all-day-create:hover,.time-all-day-create:focus-visible{background:var(--schedule-hover);color:var(--schedule-green)}.time-axis{position:sticky;left:0;z-index:3;border-right:1px solid var(--schedule-line);background:var(--schedule-surface)}.time-axis-hour{display:flex;height:var(--hour-height);align-items:flex-start;justify-content:center;gap:.3rem;box-sizing:border-box;padding:5px 4px 0;border-bottom:1px solid var(--schedule-line);color:var(--schedule-muted);font-size:.69rem;font-variant-numeric:tabular-nums;white-space:nowrap}.time-axis-hour>span+span{border-left:1px solid var(--schedule-line);padding-left:.3rem}.time-lane{position:relative;min-width:0;border-right:1px solid var(--schedule-line)}.time-slot{display:block;width:100%;height:calc(var(--hour-height) / 2);box-sizing:border-box;border:0;border-bottom:1px solid color-mix(in srgb,var(--schedule-line) 50%,transparent);background:var(--schedule-surface);cursor:crosshair}.time-slot-half{border-bottom-color:var(--schedule-line)}.time-slot-off{background:var(--schedule-soft)}.time-slot:hover,.time-slot:focus-visible{background:var(--schedule-hover)}.time-now{position:absolute;z-index:2;top:var(--now);right:0;left:0;height:2px;background:var(--schedule-green);pointer-events:none}.time-now:before{position:absolute;top:-3px;left:0;inline-size:8px;block-size:8px;border-radius:50%;background:currentColor;color:var(--schedule-green);content:""}.time-chip{position:relative;display:flex;min-width:0;overflow:hidden;border-inline-start:3px solid var(--event-accent);border-radius:4px;background:color-mix(in srgb,var(--event-accent) 15%,var(--schedule-surface));color:var(--schedule-text)}.time-chip-timed{position:absolute;top:var(--start);left:calc(var(--track-start) + 3px);width:calc(var(--track-width) - 6px);height:max(1rem,calc(var(--length) - 2px));z-index:1}.time-chip:hover,.time-chip:focus-within{background:color-mix(in srgb,var(--event-accent) 24%,var(--schedule-surface))}.time-chip-open{display:flex;width:100%;min-width:0;align-items:flex-start;flex-direction:column;gap:2px;overflow:hidden;border:0;padding:4px 5px;background:transparent;color:inherit;cursor:pointer;text-align:left}.time-chip-open[draggable=true]{cursor:grab}.time-chip-leading{display:flex;max-width:100%;align-items:center;gap:4px;font-size:.78rem;line-height:1.15}.time-chip-leading>svg{flex:none}.time-chip-leading>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.time-chip-complete strong,.agenda-complete strong{text-decoration:line-through}.time-chip-hour{color:var(--schedule-muted);font-size:.67rem;white-space:nowrap}.time-chip-short .time-chip-open{flex-direction:row;align-items:center;justify-content:space-between;padding-block:1px}.time-chip-short .time-chip-hour{display:none}.time-chip-resize{position:absolute;right:0;bottom:0;left:0;height:6px;border:0;padding:0;background:transparent;cursor:ns-resize;touch-action:none}.time-chip-resize:hover{background:color-mix(in srgb,var(--event-accent) 45%,transparent)}.agenda-view{display:flex;flex:1;flex-direction:column;overflow:hidden;background:var(--schedule-surface)}.agenda-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:16px 20px;border-bottom:1px solid var(--schedule-line)}.agenda-filters label{display:grid;gap:4px;min-width:0;color:var(--schedule-muted);font-size:.75rem;font-weight:600}.agenda-filters :is(input,select){min-width:126px;min-height:35px;box-sizing:border-box;border:1px solid var(--schedule-line);border-radius:6px;padding:5px 8px;background:var(--schedule-surface);color:var(--schedule-text);font:inherit;font-size:.83rem;font-weight:400}.agenda-results{flex:1;min-height:0;overflow:auto}.agenda-day{display:grid;grid-template-columns:minmax(120px,160px) 1fr;min-width:0;min-height:72px;border-bottom:1px solid var(--schedule-line);padding:5px 16px}.agenda-day-heading{display:flex;height:fit-content;align-items:center;align-self:start;gap:10px;border:0;border-radius:6px;padding:10px;background:transparent;color:var(--schedule-text);text-align:left;cursor:pointer}.agenda-day-heading:hover,.agenda-day-heading:focus-visible{background:var(--schedule-hover)}.agenda-day-heading>strong{flex:none;min-width:26px;font-size:1.45rem;font-weight:650;text-align:center}.agenda-day-heading>span{display:grid;gap:2px}.agenda-day-heading b{font-size:.85rem;font-weight:650}.agenda-day-heading small{color:var(--schedule-muted);font-size:.73rem}.agenda-event{display:grid;width:100%;grid-template-columns:minmax(80px,112px) minmax(0,1fr) 16px;align-items:center;gap:11px;border:0;border-inline-start:3px solid var(--event-accent);border-radius:4px;margin:5px 0;padding:9px 12px;background:color-mix(in srgb,var(--event-accent) 5%,var(--schedule-surface));color:var(--schedule-text);text-align:left;cursor:pointer}.agenda-event:hover,.agenda-event:focus-visible{background:color-mix(in srgb,var(--event-accent) 12%,var(--schedule-surface))}.agenda-event-time{color:var(--schedule-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.agenda-event-details{display:flex;min-width:0;align-items:center;gap:7px}.agenda-event-details>svg{flex:none;color:var(--schedule-muted)}.agenda-event-details>span{display:grid;min-width:0;gap:3px}.agenda-event-details :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agenda-event-details>span>strong{font-size:.875rem;font-weight:650}.agenda-event-details small,.agenda-event>svg{color:var(--schedule-muted);font-size:.72rem}.agenda-empty{display:grid;min-height:265px;justify-items:center;align-content:center;gap:8px;padding:24px;text-align:center}.agenda-empty>svg{color:var(--schedule-green)}.agenda-empty h2{margin:3px 0 0;font-size:1rem;font-weight:650}.agenda-empty p{margin:0;color:var(--schedule-muted);font-size:.86rem}.agenda-more{display:block;border:1px solid var(--schedule-line);border-radius:6px;margin:16px auto;padding:7px 12px;background:var(--schedule-surface);color:var(--schedule-green);cursor:pointer}.agenda-more:hover,.agenda-more:focus-visible{background:var(--schedule-hover)}.year-view{display:grid;flex:1;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-content:start;padding:5px 16px;overflow:auto;background:var(--schedule-surface)}.year-month{min-height:227px;padding:16px clamp(9px,2.5vw,26px);border-bottom:1px solid var(--schedule-line)}.year-month>h2{margin:0 0 10px;font-size:.97rem;font-weight:650}.year-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));justify-items:center;align-items:center;gap:1px;font-size:.75rem;font-variant-numeric:tabular-nums}.year-dates>span{display:grid;inline-size:100%;min-height:24px;place-items:center;color:var(--schedule-muted)}.year-day{position:relative;display:grid;width:100%;min-width:0;max-width:34px;height:27px;place-items:center;border:0;border-radius:5px;padding:0;background:transparent;color:var(--schedule-text);cursor:pointer}.year-day:hover,.year-day:focus-visible{background:var(--schedule-hover)}.year-day.year-important{color:var(--schedule-green);font-weight:750}.year-day.year-today{background:var(--schedule-green);color:#fff;font-weight:650}.year-markers{position:absolute;right:0;bottom:2px;left:0;display:flex;justify-content:center;gap:2px}.year-markers i{inline-size:3px;block-size:3px;border-radius:50%;background:var(--event-accent)}.year-today .year-markers i{background:#fff}@media(max-width:640px){.time-grid{--axis-width: 3.9rem}.time-chip-leading{font-size:.72rem}.agenda-filters{gap:8px;padding:10px}.agenda-filters label{flex:1 1 128px}.agenda-filters :is(input,select){width:100%}.agenda-day{grid-template-columns:71px minmax(0,1fr);padding:3px 6px}.agenda-day-heading{gap:3px;padding:6px 2px}.agenda-day-heading>strong{min-width:22px;font-size:1.2rem}.agenda-day-heading small{font-size:.66rem}.agenda-event{grid-template-columns:1fr 14px;gap:4px;padding:6px}.agenda-event-time{grid-column:1;font-size:.69rem}.agenda-event-details{grid-column:1}.agenda-event>svg{grid-area:1 / 2 / span 2}}.editor-form{--editor-control: var(--surface, #fff);--editor-primary: #246045;display:flex;flex-direction:column;width:100%;max-height:87vh;max-height:87dvh;margin:0;color:var(--text, #172720);background:var(--surface, #fff);border-radius:inherit}.editor-heading,.editor-footer{flex:none;display:flex;align-items:center;gap:10px;padding:16px 22px}.editor-heading{justify-content:space-between;border-bottom:1px solid var(--line, #dce3de)}.editor-heading h2{margin:0;font-size:1.25rem;font-weight:690;letter-spacing:-.02em}.editor-close,.editor-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:0 13px;border:1px solid var(--line, #dce3de);border-radius:7px;color:var(--text, #172720);background:var(--surface, #fff);cursor:pointer;font:inherit;font-size:.875rem;font-weight:640}.editor-close{width:35px;min-height:35px;padding:0;border-color:transparent}.editor-close:hover,.editor-button:hover{background:var(--surface-alt, #f3f6f4)}.editor-button-primary{border-color:transparent;background:var(--editor-primary);color:#fff}.editor-button-primary:hover{background:#1c4d37}.editor-footer{justify-content:flex-end;border-top:1px solid var(--line, #dce3de)}.editor-body{min-height:0;display:grid;gap:16px;padding:20px 22px;overflow:auto;overscroll-behavior:contain}.editor-form-calendar .editor-body{gap:14px}.editor-grid,.editor-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;align-items:start}.editor-field{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;color:var(--text, #172720);font-size:.875rem;line-height:1.35;font-weight:550}.editor-field>:is(input,select,textarea),.editor-checklist-row input[type=text]{display:block;width:100%;min-width:0;min-height:38px;padding:7px 9px;border:1px solid var(--line, #dce3de);border-radius:6px;background-color:var(--editor-control);color:var(--text, #172720);font:inherit;font-size:.875rem;font-weight:420}.editor-field>select{padding-right:27px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2377887f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:12px}.editor-field textarea{resize:vertical}.editor-field input[type=color]{min-width:44px;min-height:37px;width:76px;padding:3px 5px;cursor:pointer}.editor-field input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}.editor-field input[type=color]::-moz-color-swatch{border:0;border-radius:4px}.editor-field input::placeholder,.editor-field textarea::placeholder{color:var(--muted, #52635a);opacity:.9}.editor-title-field>input{font-size:1rem;font-weight:550}.editor-form :is(button,input,select,textarea,summary):focus-visible,.editor-pill:has(input:focus-visible){outline:2px solid var(--green, #246045);outline-offset:2px}.editor-section,.editor-advanced-body{display:grid;gap:10px;min-width:0}.editor-section{padding-top:13px;border-top:1px solid var(--line, #dce3de)}.editor-section h3{display:flex;align-items:center;gap:7px;margin:0;font-size:.875rem;font-weight:680}.editor-section h3 svg,.editor-advanced summary svg,.editor-close svg{color:var(--muted, #52635a);flex:none}.editor-dated-fields,.editor-recurrence-options{display:grid;gap:10px}.editor-check{display:inline-flex;align-items:center;justify-self:start;gap:8px;min-height:29px;font-size:.875rem}.editor-form input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--editor-primary);flex:none}.editor-pills{display:flex;flex-wrap:wrap;gap:6px}.editor-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;min-height:31px;border:1px solid var(--line, #dce3de);border-radius:6px;color:var(--muted, #52635a);font-size:.8125rem;line-height:1.3;cursor:pointer}.editor-pill>input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.editor-pill:has(input:checked){color:var(--green, #246045);border-color:var(--green, #246045);background:var(--green-soft, #ebf4ee)}.editor-weekdays{min-width:0;padding:0;margin:0;border:0}.editor-weekdays legend{margin-bottom:5px;padding:0;font-size:.875rem;font-weight:550}.editor-checklist-row,.editor-color-choice{display:flex;align-items:center;gap:9px}.editor-color-choice{align-items:flex-end;flex-wrap:wrap}.editor-advanced{border-top:1px solid var(--line, #dce3de)}.editor-advanced summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;min-height:37px;font-size:.875rem;font-weight:640}.editor-advanced summary::-webkit-details-marker{display:none}.editor-advanced summary svg:last-child{margin-left:auto}.editor-advanced[open] summary svg:last-child{transform:rotate(180deg)}.editor-advanced-body{padding-top:5px}.editor-hint{margin:0;color:var(--muted, #52635a);font-size:.8125rem;line-height:1.4}.editor-scope-field{padding:9px;background:var(--surface-alt, #f3f6f4);border-radius:6px}#event-form:not(:has(select[name=type] option[value=task]:checked)) .editor-task-only,#event-form:not(:has(select[name=type] option[value=birthday]:checked)) .editor-birthday-only,#event-form:has(select[name=type] option[value=task]:checked):has(input[name=undated]:checked) .editor-dated-fields,#event-form:has(select[name=type] option[value=birthday]:checked) :is(.editor-all-day-control,.editor-end-date,.editor-recurrence-section,.editor-time-only),#event-form:has(input[name=allDay]:checked) .editor-time-only,#event-form:not(:has(input[name=customColor]:checked)) .editor-color-picker,#event-form:has(select[name=recurrenceFrequency] option[value=none]:checked) :is(.editor-recurrence-options,.editor-recurrence-custom),#event-form:has(select[name=recurrenceFrequency] option[value=fortnight]:checked) .editor-recurrence-custom,#event-form:not(:has(select[name=recurrenceFrequency] option:is([value=weekly],[value=fortnight]):checked)) .editor-weekdays,#event-form:not(:has(select[name=recurrenceEnd] option[value=until]:checked)) .editor-recurrence-until,#event-form:not(:has(select[name=recurrenceEnd] option[value=count]:checked)) .editor-recurrence-count{display:none}@media(min-width:600px){.editor-date-fields{grid-template-columns:repeat(2,minmax(0,1.15fr) minmax(0,1fr))}}@media(max-width:480px){.editor-heading,.editor-footer{padding:12px 15px}.editor-body{padding:15px}.editor-grid{grid-template-columns:minmax(0,1fr)}.editor-field>:is(input,select,textarea),.editor-checklist-row input[type=text]{font-size:1rem}}.aux-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.25rem 1.4rem 1rem;border-bottom:1px solid var(--line)}.aux-heading h2,.aux-detail h2{margin:0;color:var(--text);font-size:1.16rem;font-weight:680;line-height:1.35}.aux-heading p,.aux-scroll>p,.aux-account p{margin:.4rem 0 0;color:var(--muted);font-size:.875rem}.aux-heading .aux-icon{flex-shrink:0;margin:-.28rem -.3rem 0 0}.aux-form{display:flex;flex-direction:column;min-height:0}.aux-scroll{min-height:0;overflow:auto;padding:1rem 1.4rem}.aux-form>.aux-scroll{max-height:min(64vh,38rem)}.aux-field{display:grid;gap:.35rem;min-width:0;color:var(--text);font-size:.875rem;font-weight:580}.aux-field>input,.aux-field>select,.aux-input-icon{width:100%;min-width:0;min-height:2.4rem;box-sizing:border-box;padding:.45rem .65rem;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:.37rem;font:inherit;font-weight:400}.aux-field :is(input,select):focus,.aux-input-icon:focus-within{border-color:var(--green);outline:2px solid var(--green-soft);outline-offset:0}.aux-field>select{text-overflow:ellipsis}.aux-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem .95rem}.aux-settings section+section{margin-top:1.05rem;padding-top:.95rem;border-top:1px solid var(--line)}.aux-settings h3{margin:0 0 .75rem;color:var(--text);font-size:.92rem;font-weight:680}.aux-weekdays{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .85rem;min-width:0;margin:.75rem 0 0;padding:0;border:0}.aux-weekdays legend{margin-bottom:.35rem;color:var(--text);font-size:.875rem;font-weight:580}.aux-check-group{display:flex;flex-wrap:wrap;gap:.55rem 1.2rem;margin-top:.7rem}.aux-check{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.875rem;cursor:pointer}.aux-check input,.aux-trash-check input{margin:0;accent-color:var(--green)}.aux-actions,.aux-detail-actions,.aux-notify-actions,.aux-search-actions{display:flex;align-items:center;justify-content:flex-end;gap:.43rem;flex-wrap:wrap}.aux-actions{padding:.85rem 1.4rem;border-top:1px solid var(--line)}.aux-button,.aux-icon{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-height:2.15rem;padding:.38rem .65rem;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:.38rem;font:inherit;font-size:.875rem;font-weight:570;line-height:1.25;text-decoration:none;cursor:pointer}.aux-icon{width:2.15rem;height:2.15rem;padding:0;color:var(--muted);background:transparent;border-color:transparent}.aux-button:hover,.aux-icon:hover{background:var(--surface-alt)}.aux-button:disabled{opacity:.48;cursor:default}.aux-button:disabled:hover{background:var(--surface)}.aux-button:focus-visible,.aux-icon:focus-visible,.aux-record:focus-visible{outline:2px solid var(--green);outline-offset:2px}.aux-primary,.aux-primary:disabled:hover{color:var(--on-green, #fff);background:var(--green);border-color:var(--green)}.aux-primary:hover{background:var(--green);filter:brightness(.91)}.aux-primary:disabled:hover{filter:none}.aux-danger{color:var(--danger)}.aux-trash-actions>button:first-child{margin-right:auto}.aux-empty{display:grid;justify-items:center;gap:.45rem;padding:1rem .3rem 1.2rem;text-align:center;color:var(--text)}.aux-empty-icon,.aux-record-icon{display:inline-grid;place-items:center;flex:none;width:2.55rem;height:2.55rem;margin-bottom:.25rem;color:var(--green);background:var(--green-soft);border-radius:.55rem}.aux-empty strong,.aux-account strong{font-size:.95rem}.aux-empty p{max-width:29ch;margin:0;color:var(--muted);font-size:.875rem;line-height:1.45}.aux-shortcuts{max-height:min(65vh,32rem);margin:0}.aux-shortcuts>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:2.65rem;color:var(--text);font-size:.9rem}.aux-shortcuts>div+div{border-top:1px solid var(--line)}.aux-shortcuts dd{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.2rem;margin:0}.aux-shortcuts kbd{min-width:1.5rem;padding:.16rem .27rem;color:var(--muted);background:var(--surface-alt);border:1px solid var(--line);border-radius:.24rem;font-size:.75rem;text-align:center}.aux-search-filters{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.8rem}.aux-search-actions{margin-top:.8rem}.aux-input-icon{display:flex;align-items:center;gap:.5rem;color:var(--muted)}.aux-input-icon input{width:100%;min-width:0;margin:0;padding:0;color:var(--text);background:transparent;border:0;font:inherit}.aux-input-icon input:focus{outline:none}.aux-results:empty,.aux-results:not(:has(>*)){display:none}.aux-results{max-height:min(43vh,20rem);border-top:1px solid var(--line)}.aux-list,.aux-detail-checklist{display:grid;gap:0;margin:0;padding:0;list-style:none}.aux-list li+li{border-top:1px solid var(--line)}.aux-record{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;width:100%;padding:.65rem .35rem;color:var(--text);background:transparent;border:0;border-radius:.33rem;font:inherit;text-align:left;text-decoration:none;cursor:pointer}.aux-record:hover{background:var(--surface-alt)}.aux-record[draggable]{cursor:grab}.aux-record[draggable]:active{cursor:grabbing}.aux-record-icon{width:2rem;height:2rem;margin:0;border-radius:.38rem}.aux-record strong,.aux-trash-row strong,.aux-notification strong{display:block;overflow:hidden;font-size:.9rem;font-weight:630;text-overflow:ellipsis;overflow-wrap:anywhere}.aux-record small,.aux-trash-row small,.aux-notification small{display:block;margin-top:.12rem;color:var(--muted);font-size:.78rem}.aux-record>svg:last-child{color:var(--muted)}.aux-trash-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .05rem}.aux-trash-check{display:flex;align-items:center;gap:.65rem;color:var(--text);cursor:pointer}.aux-row-actions{display:flex;flex:none;gap:.15rem}.aux-notification{padding:.65rem 0}.aux-notification p{margin:.2rem 0;color:var(--muted);font-size:.875rem;overflow-wrap:anywhere}.aux-notify-actions{justify-content:flex-start;margin-top:.55rem}.aux-notify-actions button{min-height:1.95rem;font-size:.79rem}.aux-account{display:flex;align-items:flex-start;gap:.65rem;color:var(--text);overflow-wrap:anywhere}.aux-detail{display:flex;flex-direction:column;height:100%;min-height:0;padding:1.1rem;box-sizing:border-box}.aux-detail-head{display:flex;align-items:center;justify-content:space-between;margin:-.3rem -.4rem .46rem 0}.aux-detail-type{display:inline-flex;align-items:center;gap:.42rem;color:var(--green);font-size:.84rem;font-weight:630}.aux-detail h2{font-size:1.23rem;overflow-wrap:anywhere}.aux-detail-body{min-height:0;padding:.9rem 0;overflow:auto}.aux-detail-row,.aux-detail-checklist li{display:flex;align-items:flex-start;gap:.55rem;margin:0 0 .65rem;color:var(--muted);font-size:.87rem;line-height:1.35;overflow-wrap:anywhere}.aux-detail-row>svg,.aux-detail-checklist svg{flex:none}.aux-detail-row a{color:var(--green)}.aux-detail-description{margin:.3rem 0 .7rem;color:var(--text);font-size:.92rem;white-space:pre-wrap;overflow-wrap:anywhere}.aux-detail-actions{justify-content:flex-start;margin-top:auto;padding-top:.7rem;border-top:1px solid var(--line)}@media(max-width:500px){.aux-heading{padding:1rem}.aux-scroll,.aux-actions{padding-right:1rem;padding-left:1rem}.aux-search-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.aux-fields{grid-template-columns:1fr}.aux-trash-actions>button:first-child{margin-right:0}}
