:root{color:#26352e;font-synthesis:none;text-rendering:optimizelegibility;--line:#dce5df;--red:#c74343;--blue:#347cb5;background:#f3f6f2;font-family:DM Sans,Noto Sans JP,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{touch-action:manipulation}.app-shell{flex-direction:column;max-width:1800px;height:100dvh;margin:auto;padding:0 clamp(10px,2vw,32px) 12px;display:flex;overflow:hidden}.topbar{border-bottom:1px solid #e1e8e2;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:68px;display:grid}.brand{color:#174c35;letter-spacing:.02em;align-items:center;gap:10px;width:max-content;font-size:17px;font-weight:700;text-decoration:none;display:flex}.brand-mark{color:#208250;background:#dceee2;border-radius:12px;place-items:center;width:35px;height:35px;font-size:22px;display:grid}.brand-sub{color:#84948a;letter-spacing:.2em;margin-top:1px;font-size:8px;font-weight:600;display:block}.jump-form{color:#68756c;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.jump-form input,.jump-form select,.field-label input,.field-label select,.field-label textarea{color:#30443a;background:#fff;border:1px solid #d8e2db;border-radius:9px}.jump-form input,.jump-form select{height:39px;padding:0 10px}.jump-form select{min-width:82px}.jump-button,.today-button,.outline-button,.save-button,.quiet-button,.delete-button{cursor:pointer;border:0}.jump-button{color:#fff;background:#1f8052;border-radius:9px;height:39px;padding:0 17px;font-size:13px;font-weight:700}.today-button{color:#315d44;background:#fff;border:1px solid #d7e2da;border-radius:9px;justify-self:end;height:39px;padding:0 15px;font-size:13px;font-weight:700}.today-button span{margin-right:4px;font-size:17px}.calendar-panel{flex-direction:column;flex:1;min-height:250px;padding-top:15px;display:flex}.month-heading{grid-template-columns:42px 1fr 42px;place-items:center;padding:0 2px 12px;display:grid}.month-heading h1{letter-spacing:-.03em;grid-area:1/2;margin:0;font-size:25px;font-weight:700;line-height:1.2}.month-heading h1 span{letter-spacing:0;margin:0 3px;font-size:14px;font-weight:500}.month-arrow{color:#476456;cursor:pointer;background:#fff;border:1px solid #dce5df;border-radius:10px;grid-row:1;width:38px;height:38px;font-size:25px;line-height:1}.month-arrow:first-child{grid-column:1}.month-arrow:last-child{grid-column:3}.weekday-row{text-align:center;color:#75837b;flex:none;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;height:29px;font-size:12px;font-weight:700;display:grid}.weekday-row .sunday{color:var(--red)}.weekday-row .saturday{color:var(--blue)}.calendar-grid{border-top:1px solid var(--line);border-left:1px solid var(--line);background:#fff;flex:1;grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(7,minmax(0,1fr));min-height:0;display:grid;overflow:hidden}.week-row{grid-column:1/-1;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:23px calc(var(--bar-lanes)*17px) minmax(0,1fr);min-height:0;display:grid;position:relative}.day-cell{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;cursor:pointer;color:#35473d;background:#fff;border-radius:0;flex-direction:column;grid-row:1/4;align-items:stretch;min-width:0;min-height:0;padding:4px clamp(2px,.35vw,6px);display:flex;position:relative;overflow:hidden}.day-cell:nth-child(7n+1){color:#b33434}.day-cell:nth-child(7n){color:#276aa2}.day-cell.outside{color:#a2ada5;background:#f8faf8}.day-cell.is-holiday{color:#b33434}.day-cell.selected{z-index:1;background:#f2f8f2;box-shadow:inset 0 0 0 2px #76a98a}.day-cell.selected.is-saturday{background:#eef6fc}.day-cell.selected.is-sunday,.day-cell.selected.is-holiday{background:#fff1ef}.day-cell.pick-day{background:#e8f5e8;box-shadow:inset 0 0 0 2px #458b59}.date-line{white-space:nowrap;align-items:center;gap:4px;width:100%;height:23px;min-height:23px;display:flex;overflow:hidden}.date-number{z-index:0;flex:none;padding:2px 3px;font-size:14px;font-weight:700;line-height:1.2;position:relative}.holiday-name{text-overflow:ellipsis;color:#b33434;min-width:0;font-size:clamp(8px,.72vw,11px);font-weight:600;overflow:hidden}.today-label{color:#fff;background:#27835a;border-radius:5px;flex:none;margin-left:auto;padding:2px 4px;font-size:8px;font-style:normal}.event-stack{min-height:0;padding-top:calc(var(--bar-lanes)*17px);flex-direction:column;gap:2px;display:flex;overflow:hidden}.calendar-event{white-space:nowrap;text-align:left;color:#fff;cursor:pointer;border-radius:4px;align-items:center;height:16px;min-height:16px;padding:0 4px;font-size:clamp(8px,.7vw,10px);font-weight:600;line-height:1;display:flex;overflow:hidden}.event-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.calendar-event.blue,.multi-day-bar.blue{background:#287fb4}.calendar-event.mint,.multi-day-bar.mint{background:#218557}.calendar-event.rose,.multi-day-bar.rose{background:#c64f52}.calendar-event.purple,.multi-day-bar.purple{background:#765bb0}.calendar-event.amber,.multi-day-bar.amber{background:#bd7b11}.more-count{color:#56665c;padding-left:4px;font-size:9px;font-weight:700;line-height:14px}.week-bars{grid-area:2/1/auto/-1;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(var(--bar-lanes),16px);z-index:2;pointer-events:none;gap:1px 0;padding-top:1px;display:grid}.week-bars.is-picking>.multi-day-bar{pointer-events:none}.multi-day-bar{color:#fff;text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;pointer-events:auto;border:0;border-radius:0;min-width:0;margin:0;padding:0 5px;font-size:10px;font-weight:700;overflow:hidden}.multi-day-bar.bar-start{border-radius:5px 0 0 5px;margin-left:3px}.multi-day-bar.bar-end{border-radius:0 5px 5px 0;margin-right:3px}.multi-day-bar.bar-start.bar-end{border-radius:5px}.multi-day-bar.continues-before{border-radius:0;padding-left:8px}.multi-day-bar.continues-after{border-radius:0}.resize-handle{cursor:row-resize;touch-action:none;flex:none;place-items:center;height:17px;display:grid}.resize-handle span{background:#c8d5cc;border-radius:5px;width:48px;height:4px}.resize-handle:hover span{background:#648e70}.agenda-panel{background:#fff;border:1px solid #dfe8e2;border-radius:13px 13px 0 0;flex-direction:column;flex:none;min-height:120px;max-height:65vh;padding:12px clamp(10px,1.6vw,22px) 5px;display:flex;overflow:hidden;box-shadow:0 -5px 20px #355d4210}.agenda-heading{flex:none;justify-content:space-between;align-items:center;padding:0 1px 9px;display:flex}.agenda-heading h2{margin:0;font-size:16px;font-weight:700}.eyebrow{color:#7e8c83;letter-spacing:.14em;margin-bottom:3px;font-size:9px;font-weight:700;display:block}.agenda-heading .eyebrow{display:none}.holiday-detail{color:#b33434;margin-top:3px;font-size:12px;display:block}.outline-button{color:#246b45;background:#fff;border:1px solid #d4e3d9;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:700}.outline-button span{font-size:16px}.agenda-list{overscroll-behavior:contain;touch-action:pan-y;min-height:0;padding-right:4px;overflow-y:auto}.agenda-item{cursor:grab;border-top:1px solid #edf1ee;align-items:center;gap:10px;min-height:50px;padding:5px 4px;display:flex}.agenda-item:active{cursor:grabbing}.agenda-item[draggable=true]{-webkit-user-select:none;user-select:none}.grip{color:#a7b4ab;cursor:grab;font-size:19px}.agenda-color{border-radius:5px;flex:none;width:4px;height:30px}.agenda-color.blue{background:#287fb4}.agenda-color.mint{background:#218557}.agenda-color.rose{background:#c64f52}.agenda-color.purple{background:#765bb0}.agenda-color.amber{background:#bd7b11}.agenda-time{color:#3c5947;flex-direction:column;flex:none;width:72px;font-size:12px;display:flex}.agenda-time small{color:#738178;margin-top:2px;font-size:10px}.all-day-label{color:#237548;font-size:11px;font-weight:700}.agenda-content{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.agenda-content strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.agenda-content small{color:#77857d;font-size:10px}.item-tools{gap:3px;display:flex}.item-tools button{color:#536e5e;cursor:pointer;background:0 0;border:0;border-radius:8px;width:34px;height:34px;font-size:16px}.item-tools button:hover{color:#246b45;background:#eef5ef}.empty-state{color:#75847a;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:115px;display:flex}.empty-state span{color:#4d9565;font-size:19px}.empty-state strong{font-size:12px;font-weight:700}.empty-state small{font-size:10px}.pick-banner{color:#3c6445;background:#edf6ed;border-radius:9px;flex:none;align-items:center;gap:9px;margin-bottom:7px;padding:8px 10px;font-size:11px;display:flex}.pick-banner>span{flex:1}.pick-banner small{color:#718672}.pick-banner .outline-button{padding:6px 10px}.outline-button:disabled{opacity:.45;cursor:not-allowed}.quiet-button{color:#687a6e;background:0 0;padding:8px;font-size:12px}.modal-backdrop,.confirm-backdrop{z-index:5;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1d2c2477;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.event-modal{background:#fff;border-radius:17px;flex-direction:column;gap:13px;width:min(520px,100%);max-height:95dvh;padding:22px 24px 17px;display:flex;overflow:auto;box-shadow:0 20px 70px #10251b38}.modal-heading{justify-content:space-between;align-items:center;display:flex}.modal-heading h2{margin:0;font-size:19px;font-weight:700}.close-button{cursor:pointer;background:#f0f5f1;border:0;border-radius:9px;width:36px;height:36px;font-size:22px}.field-label{color:#53685c;flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.field-label input,.field-label select{width:100%;height:40px;padding:0 10px;font-size:13px}.field-label textarea{resize:vertical;width:100%;min-height:55px;padding:9px 10px;font-size:13px}.date-fields,.recurrence-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.checkbox-label{color:#445d4d;align-items:center;gap:8px;font-size:13px;display:flex}.checkbox-label input,.weekday-choices input{accent-color:#218557}.color-options{gap:12px;padding:3px 0;display:flex}.color-choice{cursor:pointer;border:2px solid #fff;border-radius:50%;width:27px;height:27px;box-shadow:0 0 0 1px #c7d5cb}.color-choice.active{box-shadow:0 0 0 2px #265f3d}.color-choice.blue{background:#287fb4}.color-choice.mint{background:#218557}.color-choice.rose{background:#c64f52}.color-choice.purple{background:#765bb0}.color-choice.amber{background:#bd7b11}.recurrence-fields{border:1px solid #dfe8e2;border-radius:11px;flex-direction:column;gap:12px;padding:12px;display:flex}.recurrence-fields legend{color:#315d44;padding:0 5px;font-size:12px;font-weight:700}.weekday-choices{flex-wrap:wrap;gap:9px;display:flex}.weekday-choices label{align-items:center;gap:4px;font-size:12px;display:flex}.modal-footer{border-top:1px solid #e9efea;align-items:center;gap:7px;padding-top:12px;display:flex}.modal-footer>span{flex:1}.save-button{color:#fff;background:#1f8052;border-radius:9px;padding:10px 16px;font-size:13px;font-weight:700}.delete-button{color:#b33f43;background:0 0;font-size:12px}.move-confirm{background:#fff;border-radius:16px;width:min(430px,100%);max-height:80dvh;padding:22px;overflow:auto}.move-confirm h2{margin:0 0 10px;font-size:18px}.move-confirm p{font-size:13px;line-height:1.6}.move-confirm ul{max-height:150px;overflow:auto}.move-confirm>div{justify-content:flex-end;gap:8px;display:flex}.storage-warning{color:#ac3838;background:#fff0ee;border-radius:8px;padding:7px 9px;font-size:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=1100px){.day-cell{padding-top:5px}.date-line{height:25px;min-height:25px}.date-number{font-size:15px}.calendar-event{height:18px;min-height:18px}.week-row{grid-template-rows:25px calc(var(--bar-lanes)*19px) minmax(0,1fr)}.week-bars{grid-template-rows:repeat(var(--bar-lanes),18px)}.event-stack{padding-top:calc(var(--bar-lanes)*19px)}.multi-day-bar{font-size:11px}}@media (width<=760px){.app-shell{padding:0 7px 7px}.topbar{grid-template-columns:auto 1fr auto;gap:5px;min-height:58px}.brand{gap:6px;font-size:13px}.brand-mark{border-radius:9px;width:29px;height:29px;font-size:18px}.brand-sub{display:none}.jump-form{gap:4px}.jump-form select{width:68px;min-width:0;height:34px;padding:0 4px;font-size:11px}.jump-button,.today-button{height:34px;padding:0 9px;font-size:11px}.today-button span{display:none}.calendar-panel{min-height:205px;padding-top:8px}.month-heading{grid-template-columns:34px 1fr 34px;padding-bottom:6px}.month-heading h1{font-size:20px}.month-heading h1 span{font-size:12px}.month-arrow{width:32px;height:32px}.weekday-row{height:22px;font-size:10px}.week-row{grid-template-rows:18px calc(var(--bar-lanes)*14px) minmax(0,1fr)}.week-bars{grid-template-rows:repeat(var(--bar-lanes),13px)}.event-stack{padding-top:calc(var(--bar-lanes)*14px)}.multi-day-bar{padding:0 3px;font-size:8px}.multi-day-bar.bar-start{margin-left:1px}.multi-day-bar.bar-end{margin-right:1px}.day-cell{padding:2px 1px}.date-line{gap:1px;height:18px;min-height:18px}.date-number{padding:1px;font-size:11px}.holiday-name{font-size:8px}.today-label{padding:1px 2px;font-size:7px}.calendar-event{border-radius:3px;height:13px;min-height:13px;padding:0 2px;font-size:8px}.event-stack{gap:1px}.more-count{padding-left:2px;font-size:8px;line-height:12px}.resize-handle{height:14px}.agenda-panel{padding:9px 8px 3px}.agenda-heading{padding-bottom:5px}.agenda-heading h2{font-size:14px}.holiday-detail{font-size:11px}.outline-button{padding:8px 9px;font-size:11px}.agenda-item{gap:6px;min-height:47px;padding:4px 1px}.agenda-time{width:48px;font-size:10px}.agenda-content strong{font-size:12px}.agenda-content small{font-size:9px}.item-tools{gap:0}.item-tools button{width:31px;height:34px;font-size:14px}.pick-banner{flex-wrap:wrap;gap:4px;padding:6px;font-size:10px}.pick-banner .quiet-button{padding:5px;font-size:10px}.event-modal{gap:11px;padding:17px 14px 12px}.field-label{font-size:11px}}@media (width<=380px){.brand{font-size:11px}.brand-mark{width:26px;height:26px}.jump-form select{width:58px;font-size:10px}.jump-button{padding:0 7px}.month-heading h1{font-size:18px}.agenda-time{width:42px}.item-tools button{width:28px}}@media (height<=700px) and (width<=760px){.topbar{min-height:50px}.calendar-panel{padding-top:4px}.month-heading{padding-bottom:3px}.month-heading h1{font-size:18px}.weekday-row{height:18px}.agenda-panel{padding-top:6px}}.date-help{color:#718078;margin-top:-9px;font-size:11px;line-height:1.4}.grip{touch-action:none}@media (height<=600px){.app-shell{padding-bottom:4px}.topbar{min-height:46px}.calendar-panel{min-height:145px;padding-top:3px}.month-heading{padding-bottom:2px}.month-heading h1{font-size:19px}.weekday-row{height:18px}.resize-handle{height:10px}.agenda-panel{min-height:90px;padding-top:5px;height:38vh!important;max-height:38vh!important}.agenda-heading{padding-bottom:3px}.agenda-item{min-height:39px}}.storage-recovery-screen{background:#fff;border:1px solid #dce5df;border-radius:18px;flex-direction:column;align-items:flex-start;gap:14px;width:min(680px,100% - 32px);margin:auto;padding:clamp(24px,6vw,48px);display:flex;box-shadow:0 16px 48px #24382d18}.storage-recovery-screen h1,.storage-recovery-screen h2,.storage-recovery-screen p{margin:0}.storage-recovery-screen h1{color:#174c35;font-size:20px}.storage-recovery-screen h2{font-size:20px}.storage-recovery-screen p{line-height:1.7}.storage-recovery-detail{color:#68756c;font-size:13px}.storage-recovery-screen button{min-height:44px}.topbar{z-index:4;grid-template-columns:auto auto minmax(200px,1fr) auto;gap:clamp(10px,1.5vw,22px);min-height:66px;display:grid;position:relative}.brand-group{white-space:nowrap;align-items:center;gap:10px;display:flex}.brand{color:#174c35;font-size:17px}.brand-sub,.brand-mark{display:none}.icon-button{color:#315d44;cursor:pointer;background:#fff;border:1px solid #d8e2db;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.icon-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.settings-button svg{fill:none;stroke-width:1.6px}.search-button{justify-self:start}.month-controls{justify-content:center;align-items:center;gap:8px;display:flex}.month-current{color:#23382c;cursor:pointer;background:#fff;border:1px solid #d8e2db;border-radius:10px;min-width:148px;height:40px;font-size:17px;font-weight:700}.month-current span{color:#718078;margin-left:5px;font-size:12px}.month-controls .month-arrow{width:40px;height:40px;font-size:27px}.today-button{min-width:68px;height:40px}.month-popover{z-index:9;background:#fff;border:1px solid #dce5df;border-radius:13px;width:min(440px,100vw - 24px);padding:15px;position:absolute;top:calc(100% + 5px);left:50%;transform:translate(-50%);box-shadow:0 12px 36px #183b2824}.month-popover .jump-form{flex-wrap:wrap;display:flex}.month-popover .jump-form label{align-items:center;gap:6px;font-weight:700;display:flex}.month-popover .jump-form select{min-width:95px;height:40px}.calendar-panel{padding-top:7px}.weekday-row{height:27px}.day-cell,.day-cell.outside{background:#fff}.day-cell.selected,.day-cell.selected.is-saturday,.day-cell.selected.is-sunday,.day-cell.selected.is-holiday{background:#fff;box-shadow:inset 0 0 0 2px #4b9668}.day-cell.outside.is-sunday{color:#b33434}.day-cell.outside.is-saturday{color:#276aa2}.date-line{isolation:isolate;position:relative;overflow:hidden}.vacation-strip{z-index:-1;pointer-events:none;background:#f5caca;position:absolute;inset:1px -2px}.vacation-strip.vacation-start{border-radius:7px 0 0 7px;left:2px}.vacation-strip.vacation-end{border-radius:0 7px 7px 0;right:2px}.vacation-strip.vacation-start.vacation-end{border-radius:7px}.date-number{border-radius:50%;flex:none;place-items:center;width:24px;height:24px;padding:0;display:inline-grid}.is-today .date-number{background:#111;color:#fff!important}.birthday-name{z-index:1;text-overflow:ellipsis;white-space:nowrap;color:#b32635;flex:0 auto;min-width:0;max-width:62%;font-size:clamp(8px,.7vw,10px);font-weight:700;position:relative;overflow:hidden}.holiday-name{z-index:1;flex:auto;min-width:0;position:relative}.event-stack{padding-top:calc(var(--day-bar-lanes)*17px);padding-bottom:0}.has-overflow .event-stack{padding-bottom:10px}.hidden-count{color:#fff;clip-path:polygon(100% 0,100% 100%,0 100%);text-align:right;pointer-events:none;z-index:3;background:#8b9392;width:29px;height:21px;padding:7px 1px 0 0;font-size:8px;font-weight:700;line-height:1;position:absolute;bottom:0;right:0}.calendar-event,.week-bars .multi-day-bar{cursor:default}.agenda-heading{align-items:flex-start}.birthday-detail,.holiday-detail,.vacation-detail{margin-top:3px;font-size:12px;display:block}.birthday-detail{color:#b32635}.vacation-detail{color:#a54b4b}.item-tools{gap:6px}.item-tools button{place-items:center;width:38px;height:38px;display:grid}.item-tools svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.grip{text-align:center;min-width:24px}.management-modal,.search-modal{background:#fff;border-radius:17px;flex-direction:column;gap:14px;width:min(620px,100%);max-height:92dvh;padding:22px 24px 18px;display:flex;overflow:auto;box-shadow:0 20px 70px #10251b38}.settings-tabs{border-bottom:1px solid #e5ece7;gap:8px;display:flex}.settings-tabs button{color:#6a796f;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 14px}.settings-tabs button.active{color:#175f3b;border-color:#218557;font-weight:700}.manage-form{background:#fbfdfb;border:1px solid #e1e9e3;border-radius:12px;flex-direction:column;gap:11px;padding:13px;display:flex}.manage-form h3,.search-results h3{color:#314d3c;margin:0;font-size:14px}.form-actions{justify-content:flex-end;gap:8px;display:flex}.managed-list{max-height:25vh;overflow:auto}.managed-row{border-bottom:1px solid #edf1ee;align-items:center;gap:8px;padding:8px 2px;font-size:12px;display:flex}.managed-row span{overflow-wrap:anywhere;flex:1;min-width:0}.managed-row button{color:#3e7555;cursor:pointer;background:0 0;border:0;padding:8px}.helper-copy{color:#77857d;font-size:12px}.search-modal{width:min(680px,100%)}.search-results{max-height:58vh;overflow:auto}.search-results ul{margin:6px 0 14px;padding:0;list-style:none}.search-results li{border-bottom:1px solid #edf1ee;padding:5px 0}.search-result{color:#256d49;text-align:left;cursor:pointer;background:0 0;border:0;width:100%;padding:8px}.recurring-results{border-top:2px solid #e5ece7;padding-top:12px}.recurring-results li{padding:7px 8px;font-size:13px}.delete-confirm-button{color:#fff;cursor:pointer;background:#b83238;border:0;border-radius:9px;padding:10px 16px;font-weight:700}.vacation-link{color:#28764c;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-self:flex-start;font-size:12px;text-decoration:underline}@media (width>=1100px){.event-stack{padding-top:calc(var(--day-bar-lanes)*19px)}}@media (width<=760px){.topbar{grid-template-columns:minmax(0,1fr) auto auto auto;gap:5px;min-height:58px}.brand-group{gap:5px}.brand{font-size:13px}.icon-button{width:34px;height:34px}.icon-button svg{width:19px;height:19px}.month-controls{gap:3px}.month-controls .month-arrow{width:30px;height:34px;font-size:22px}.month-current{min-width:95px;height:34px;padding:0 4px;font-size:13px}.month-current span{margin-left:1px;font-size:9px}.today-button{min-width:46px;height:34px;padding:0 7px;font-size:11px}.month-popover{left:auto;right:4px;transform:none}.calendar-panel{padding-top:2px}.weekday-row{height:21px}.date-line{height:21px;min-height:21px}.date-number{width:20px;height:20px;font-size:11px}.birthday-name{max-width:62%;font-size:8px}.holiday-name{font-size:8px}.event-stack{padding-top:calc(var(--day-bar-lanes)*14px)}.hidden-count{width:25px;height:19px;padding-top:6px;font-size:7px}.agenda-heading{padding-bottom:7px}.agenda-heading h2{font-size:14px}.item-tools{gap:2px}.item-tools button{width:32px;height:36px}.item-tools svg{width:18px;height:18px}.agenda-item{gap:5px}.agenda-time{width:43px}.management-modal,.search-modal{gap:11px;padding:17px 14px 13px}.managed-row{font-size:11px}.managed-row button{padding:8px 5px}}@media (width<=390px){.topbar{grid-template-columns:minmax(0,1fr) auto auto auto;gap:3px}.brand{font-size:11px}.brand-group{gap:3px}.month-controls .month-arrow{width:26px}.month-current{min-width:84px;font-size:12px}.today-button{min-width:40px;padding:0 5px;font-size:10px}.item-tools button{width:29px;height:34px}.agenda-item{gap:3px}.agenda-time{width:38px}}.vacation-strip{z-index:0}.date-number{z-index:1}.birthday-name,.holiday-name{z-index:1;position:relative}@media (width<=360px){.brand{font-size:10px}.icon-button{width:30px;height:32px}.month-controls{gap:2px}.month-controls .month-arrow{width:23px}.month-current{min-width:74px;font-size:11px}.today-button{min-width:35px;padding:0 3px;font-size:9px}}.event-modal-title{flex:1;min-width:0}.modal-heading{gap:14px}.top-save-button{white-space:nowrap;flex:none}.close-button{flex:none;margin-left:4px}.vacation-date-picker{min-width:0;position:relative}.date-picker-trigger{color:#30443a;text-align:left;cursor:pointer;background:#fff;border:1px solid #d8e2db;border-radius:9px;justify-content:space-between;align-items:center;width:100%;height:40px;padding:0 10px;font-size:13px;display:flex}.date-picker-trigger>span{color:#718078}.date-picker-popover{background:#fff;border:1px solid #dce5df;border-radius:10px;padding:8px;box-shadow:0 6px 20px #183b2818}.date-picker-heading{justify-content:space-between;align-items:center;margin-bottom:5px;display:flex}.date-picker-heading strong{font-size:13px}.date-picker-heading button{color:#315d44;cursor:pointer;background:#f3f7f3;border:0;border-radius:8px;width:36px;height:36px;font-size:23px}.date-picker-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.date-picker-grid>span{color:#53685c;place-items:center;height:28px;font-size:11px;font-weight:700;display:grid}.date-picker-grid>span.sunday{color:#b33434}.date-picker-grid>span.saturday{color:#276aa2}.date-picker-grid>button{color:#30443a;cursor:pointer;background:0 0;border:0;border-radius:7px;min-width:0;height:38px;font-size:12px}.date-picker-grid>button.outside{color:#a2ada5}.date-picker-grid>button.selected{color:#fff;background:#218557;font-weight:700}.date-picker-grid>button:disabled{color:#c2cbc5;cursor:not-allowed}.date-validation{color:#b33434;margin:0;font-size:12px}@media (width<=760px){.topbar{justify-content:space-between;gap:0;min-height:58px;padding:0 1px;display:flex;position:relative}.brand-group{flex:none;align-items:center;gap:4px;display:flex}.brand-group .brand{display:none}.brand-group .icon-button{width:32px;height:38px}.month-controls{justify-content:center;gap:4px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.month-controls .month-arrow{width:42px;height:42px;font-size:28px}.month-current{white-space:nowrap;width:94px;min-width:94px;height:42px;padding:0 2px;font-size:13px}.today-button{min-width:46px;height:38px;margin-left:auto;padding:0 7px;font-size:11px}.calendar-panel{min-height:0}.weekday-row{z-index:2;background:#f3f6f2;flex:none;position:relative}.calendar-grid{overscroll-behavior:contain;touch-action:pan-y;flex:1;grid-template-rows:none;grid-auto-rows:minmax(92px,1fr);align-content:start;min-height:0;overflow:hidden auto}.week-row{min-height:92px}.agenda-list{overscroll-behavior:contain;touch-action:pan-y}.modal-heading{gap:9px}.top-save-button{padding:9px 11px;font-size:12px}.close-button{margin-left:3px}.vacation-date-fields .vacation-date-picker.is-open{grid-column:1/-1}}@media (width<=380px){.month-controls .month-arrow{width:36px;height:40px}.month-current{width:82px;min-width:82px;height:40px;font-size:12px}.brand-group .icon-button{width:30px}.today-button{min-width:40px;padding:0 5px}.top-save-button{padding:8px 9px;font-size:11px}.close-button{width:34px;height:34px}}:root{color:#27313b;--line:#d9dde2;--red:#c74343;--blue:#347cb5;background:#f1f2f4}body{color:#27313b;background:#f1f2f4}.app-shell{height:100dvh;min-height:0;padding-bottom:8px;overflow:hidden auto}.topbar{z-index:8;background:#f1f2f4;position:sticky;top:0}.brand-group{gap:10px}.settings-button svg{overflow:visible}.settings-button svg path{transform-origin:12px 12px}.weekday-row{z-index:5;background:#f1f2f4;border-bottom:1px solid #d9dde2;height:27px;position:sticky;top:66px}.calendar-grid{height:calc(var(--week-row-height,90px) * 6);grid-template-rows:repeat(6,minmax(0,var(--week-row-height,90px)));touch-action:pan-y;overscroll-behavior:contain;flex:none;min-height:0;overflow:hidden}.week-row{grid-template-rows:23px calc(var(--bar-lanes)*17px) minmax(0,1fr);min-height:0}.resize-handle{touch-action:none;cursor:row-resize;height:20px}.agenda-panel{flex:none;min-height:110px;max-height:none}.agenda-heading{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.agenda-heading-copy{min-width:0}.agenda-heading>.outline-button{white-space:nowrap;justify-self:end}.reset-week-height{color:#58636d;cursor:pointer;white-space:nowrap;background:#f5f6f7;border:1px solid #d9dde2;border-radius:8px;justify-self:center;padding:8px 10px;font-size:11px;font-weight:600}.agenda-event-title{color:#26352e;text-align:left;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;padding:0;font-size:13px;font-weight:700;overflow:hidden}.agenda-event-title:hover{text-underline-offset:2px;text-decoration:underline}.date-number{border-radius:7px}.is-today .date-number{background:#111;border-radius:7px;color:#fff!important}.birthday-name{background:#fde8e9;border:1px solid #a9323a;border-radius:5px;flex:none;width:max-content;max-width:calc(100% - 28px);padding:1px 4px;line-height:1.2;color:#9e2831!important}.birthday-name.three-char-birthday{transform-origin:0;transform:scaleX(.88)}.vacation-strip{background:#fff0bd!important}.vacation-strip.vacation-start,.vacation-strip.vacation-end{border-radius:0!important}.calendar-preferences{flex-direction:column;gap:12px;padding:16px 4px;display:flex}.calendar-preferences>label{color:#394550;justify-content:space-between;align-items:center;font-size:14px;display:flex}.calendar-preferences input[type=range]{accent-color:#526c82;width:100%}.event-detail{background:#fff;border-radius:16px;width:min(520px,100%);max-height:92dvh;padding:16px 20px 22px;overflow:auto;box-shadow:0 18px 56px #1e283333}.detail-toolbar{align-items:center;gap:12px;margin-bottom:10px;display:flex}.detail-toolbar>span{flex:1}.detail-back,.detail-icon{color:#35434e;cursor:pointer;background:#f8f9fa;border:1px solid #d9dde2;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.detail-back{font-size:29px;line-height:1}.detail-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.detail-icon.delete-detail{color:#a6373d}.event-detail h2{overflow-wrap:anywhere;margin:8px 0 18px;font-size:21px}.detail-fields{grid-template-columns:84px minmax(0,1fr);gap:11px 12px;margin:0;font-size:14px;display:grid}.detail-fields dt{color:#707a84;font-weight:600}.detail-fields dd{color:#2f3942;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.detail-fields a{color:#276aa2;text-underline-offset:2px;overflow-wrap:anywhere;text-decoration:underline}.invalid-url{color:#9a5555}.detail-description{line-height:1.6}.settings-tabs{scrollbar-width:thin;overflow-x:auto}.event-actions{border-bottom:1px solid #e5e8eb;align-items:center;gap:12px;width:100%;padding:0 0 10px;display:flex}.event-actions>span{flex:1}.event-actions .cancel-event{text-align:left;color:#58636d;min-width:92px}.event-actions .save-button{min-width:92px}.modal-backdrop{z-index:30}.confirm-backdrop{z-index:32}.detail-backdrop{z-index:30}@media (width<=760px){.topbar{z-index:8;justify-content:space-between;gap:0;min-height:58px;padding:0 2px;display:flex;position:sticky;top:0}.brand-group{flex:none;gap:4px}.brand-group .brand{display:none}.brand-group .icon-button{width:40px;height:40px}.month-controls{gap:5px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.month-controls .month-arrow{width:42px;height:42px;font-size:28px}.month-current{width:94px;min-width:94px;height:42px;font-size:13px}.today-button{min-width:48px;height:40px;margin-left:auto;padding:0 8px;font-size:11px}.calendar-panel{padding-top:2px}.weekday-row{z-index:5;background:#f1f2f4;height:23px;position:sticky;top:58px}.week-row{grid-template-rows:20px calc(var(--bar-lanes)*14px) minmax(0,1fr)}.agenda-panel{padding:8px 8px 4px}.agenda-heading{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:4px}.agenda-heading h2{font-size:13px}.agenda-heading>.outline-button{padding:7px 8px;font-size:10px}.reset-week-height{padding:7px 6px;font-size:9px}.agenda-event-title{font-size:12px}.event-detail{padding:13px 14px 18px}.detail-fields{grid-template-columns:65px minmax(0,1fr);font-size:13px}.birthday-name{padding:1px 2px;font-size:8px}}@media (width<=390px){.brand-group .icon-button{width:34px;height:38px}.month-controls{gap:2px}.month-controls .month-arrow{width:35px;height:38px}.month-current{width:78px;min-width:78px;height:38px;font-size:11px}.today-button{min-width:39px;padding:0 5px;font-size:10px}.agenda-heading{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:2px}.agenda-heading>.outline-button{padding:6px 5px;font-size:9px}.reset-week-height{padding:6px 4px;font-size:8px}}@media (height<=560px){.app-shell{height:auto;min-height:100dvh;overflow-y:auto}.calendar-panel{flex:none}.agenda-panel{max-height:none}.calendar-grid{overflow:hidden}}.topbar{justify-content:space-between;display:flex;position:sticky;top:0}.month-controls{justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.topbar{z-index:8;top:0}.weekday-row{top:68px}.settings-button{padding:0;line-height:0}.settings-button svg{width:21px;height:21px;display:block;overflow:visible}.settings-button svg path,.settings-button svg circle{transform:none}.month-current span{display:none}.week-bars{grid-template-rows:repeat(var(--bar-lanes),var(--lane-height,16px));gap:0;padding-top:0}.multi-day-bar{height:var(--event-row-height,16px);min-height:var(--event-row-height,16px);box-sizing:border-box;line-height:var(--event-row-height,16px);align-self:start;padding-top:0;padding-bottom:0}.event-stack{padding-top:calc(var(--day-bar-lanes)*var(--lane-height,16px));gap:2px;padding-bottom:0!important}.calendar-event{height:var(--event-row-height,16px);min-height:var(--event-row-height,16px);box-sizing:border-box;line-height:var(--event-row-height,16px);flex:none;padding-top:0;padding-bottom:0}.hidden-count{z-index:4;clip-path:polygon(100% 0,100% 100%,0 100%);overflow:visible}.birthday-name{white-space:nowrap;flex:0 auto;width:max-content;min-width:0;max-width:calc(100% - 24px);padding:1px 2px;overflow:visible}.birthday-name>span{transform-origin:0;width:max-content;max-width:none;display:block}.birthday-name.compressed-birthday>span{transform:scaleX(.76)}.month-enter-next{animation:.18s cubic-bezier(.2,.75,.25,1) both month-enter-next}.month-enter-previous{animation:.18s cubic-bezier(.2,.75,.25,1) both month-enter-previous}@keyframes month-enter-next{0%{opacity:.55;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes month-enter-previous{0%{opacity:.55;transform:translate(-16px)}to{opacity:1;transform:translate(0)}}@media (width<=760px){.weekday-row{top:58px}.week-row{grid-template-rows:var(--date-row-height,21px) calc(var(--bar-lanes)*var(--lane-height,14px)) minmax(0,1fr)}.week-bars{grid-template-rows:repeat(var(--bar-lanes),var(--lane-height,14px))}.multi-day-bar,.calendar-event{line-height:var(--event-row-height,14px)}.birthday-name{max-width:calc(100% - 22px);padding:0 1px}.birthday-name.compressed-birthday>span{transform:scaleX(.68)}}@media (prefers-reduced-motion:reduce){.month-enter-next,.month-enter-previous{animation:none}}.calendar-chrome{z-index:8;background:#f1f2f4;flex:none;position:sticky;top:0}.calendar-chrome .topbar,.calendar-chrome .weekday-row{z-index:auto;background:#f1f2f4;position:relative;top:auto}.calendar-panel{flex:none;min-height:0;padding-top:7px}.calendar-viewport{height:calc(var(--calendar-week-height)*6);border-top:1px solid var(--line);border-left:1px solid var(--line);touch-action:pan-y;overscroll-behavior:contain;background:#fff;flex:none;width:100%;position:relative;overflow:hidden}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,var(--calendar-week-height)));border:0;width:100%;height:100%;display:grid;position:absolute;inset:0;overflow:hidden}.week-row{grid-template-rows:var(--date-row-height,23px) calc(var(--bar-lanes)*var(--lane-height,16px)) minmax(0,1fr)}.day-cell{grid-template-rows:var(--date-row-height,23px) calc(var(--day-bar-lanes)*var(--lane-height,16px)) minmax(0,1fr);grid-row:1/4;gap:0;padding:0 clamp(2px,.35vw,6px);display:grid}.date-line{height:var(--date-row-height,23px);min-height:0}.birthday-name{white-space:nowrap;color:#8f202b;background:#fbe3e4;border:1px solid #a82e38;border-radius:0;flex:none;align-items:center;gap:0;width:max-content;min-width:max-content;max-width:none;padding:0 1px;font-size:clamp(8px,.7vw,10px);font-weight:700;line-height:14px;display:inline-flex;overflow:visible}.birthday-name>.birthday-icon{flex:none;width:auto;line-height:1;display:inline-block}.birthday-name>.birthday-person{white-space:nowrap;flex:none;width:auto;min-width:max-content;display:inline-block;overflow:visible}.birthday-name.three-char-birthday{transform:none}.event-stack{grid-row:3;gap:2px;height:100%;min-height:0;overflow:hidden;padding:0!important}.hidden-count{clip-path:none;background:0 0;justify-content:flex-end;align-items:flex-end;width:auto;min-width:23px;height:18px;padding:0 1px 0 8px;line-height:11px;display:flex}.hidden-count-bg{clip-path:polygon(100% 0,100% 100%,0 100%);z-index:-1;background:#59645f;width:25px;position:absolute;inset:0 0 0 auto}.hidden-count-label{z-index:1;padding-right:1px;position:relative}.calendar-grid--old,.calendar-grid--current{will-change:transform;backface-visibility:hidden}.calendar-grid--old{z-index:2;pointer-events:none}.calendar-grid--current{z-index:1}.slide-old-left{animation:.21s cubic-bezier(.2,.75,.25,1) both calendar-exit-left}.slide-old-right{animation:.21s cubic-bezier(.2,.75,.25,1) both calendar-exit-right}.slide-new-from-right{animation:.21s cubic-bezier(.2,.75,.25,1) both calendar-enter-right}.slide-new-from-left{animation:.21s cubic-bezier(.2,.75,.25,1) both calendar-enter-left}@keyframes calendar-exit-left{to{transform:translate(-100%)}}@keyframes calendar-exit-right{to{transform:translate(100%)}}@keyframes calendar-enter-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes calendar-enter-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@media (width<=760px){.calendar-panel{padding-top:2px}.week-row{grid-template-rows:var(--date-row-height,21px) calc(var(--bar-lanes)*var(--lane-height,14px)) minmax(0,1fr)}.day-cell{padding:0 1px}.date-line{gap:1px}.date-number{width:16px;height:20px;font-size:11px}.birthday-name{padding:0 1px;font-size:8px;line-height:14px}.event-stack{gap:1px}.hidden-count{height:17px}.hidden-count-bg{width:23px}}@media (width<=430px){.birthday-name.three-char-birthday .birthday-person{transform-origin:0;transform:scaleX(.78)}}@media (prefers-reduced-motion:reduce){.slide-old-left,.slide-old-right,.slide-new-from-right,.slide-new-from-left{animation-duration:1ms}}.pwa-status{z-index:2000;pointer-events:none;top:calc(env(safe-area-inset-top,0px) + 8px);color:#274d38;background:#fff;border:1px solid #c7d8cd;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 24px);padding:8px 12px;font-size:13px;line-height:1.35;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #203a2b26}.pwa-status small{color:#5c6d62}.pwa-status button{pointer-events:auto;color:#fff;min-height:36px;font:inherit;cursor:pointer;background:#1c7048;border:0;border-radius:8px;padding:0 11px;font-weight:700}@media (width<=520px){.pwa-status{flex-wrap:wrap;gap:6px 9px;font-size:12px}}
