

:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;color:#242424;background:#f7f7f7;font-synthesis:none;--ink:#252525;--muted:#777;--line:#e9e9e9}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #444;outline-offset:3px}button,a{transition:background .12s,border-color .12s}h1,h2,p{margin:0}h1,h2{font-weight:550;letter-spacing:-.6px}svg{flex-shrink:0}button{border:0;background:none}input,textarea{min-width:0}input::placeholder,textarea::placeholder{color:#999}
.calendar-app{max-width:1120px;padding:0 40px 70px;margin:0 auto}.app-header{display:flex;align-items:center;gap:18px;height:118px}.wordmark{font-size:23px;letter-spacing:-1.3px;font-weight:800;line-height:1}.wordmark>span{display:inline-block;margin-left:4px;font-weight:400;color:#888}.app-header h1{font-size:16px;font-weight:450;color:#777;letter-spacing:0}.calendar-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(295px,1fr);background:#fff;border:1px solid #e4e4e4;border-radius:14px;min-height:520px;overflow:hidden;box-shadow:0 4px 20px #00000002}.month-panel{padding:27px 26px 23px;min-width:0}.month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}.month-toolbar h2{font-size:22px;text-transform:capitalize;white-space:nowrap;line-height:1.3}.month-actions{display:flex;gap:12px;align-items:center}.month-navigation{display:flex;gap:4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:8px 11px;border:1px solid #e1e1e1;border-radius:7px;background:#fff;color:#444;font-size:14px;font-weight:450;line-height:1.2;white-space:nowrap}.button:hover:not(:disabled){background:#f1f1f1;border-color:#c8c8c8}.button.icon-button{width:33px;min-height:33px;padding:0}.button.is-active,.button.add-button{color:white;background:#292929;border-color:#292929}.button.is-active:hover:not(:disabled),.button.add-button:hover:not(:disabled){background:#464646;border-color:#464646}.button.today-button{font-size:13px;min-height:33px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{font-size:13px;font-weight:450;color:#8b8b8b;text-align:center;padding:0 0 15px}.calendar-day{height:73px;padding:8px 5px 5px;min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;border-radius:8px;border:1px solid transparent;text-align:center;position:relative}.calendar-day:hover{background:#f1f1f1;border-color:#e2e2e2}.calendar-day.selected{background:#f0f0f0;border-color:#e5e5e5}.date-number{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:7px;font-size:15px;line-height:1}.calendar-day.current-day .date-number{box-shadow:inset 0 0 0 1px #999}.calendar-day.selected .date-number{background:#292929;box-shadow:none;color:#fff}.calendar-day.outside .date-number{color:#bcbcbc}.calendar-day.outside.selected .date-number{color:#fff}.day-summary{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin-top:7px;min-width:0;overflow:hidden;font-size:11px;line-height:1.2;color:#7c7c7c;min-height:13px}.entry-preview{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;max-width:100%}.entry-preview>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}.entry-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#7c7c7c;flex-shrink:0}.entry-extra{flex-shrink:0;color:#6b6b6b}.outside .day-summary{opacity:.45}.day-panel{border-left:1px solid var(--line);display:flex;flex-direction:column;padding:27px 22px 10px;min-width:0}.day-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding-bottom:24px;border-bottom:1px solid var(--line)}.selected-date p{font-size:12px;line-height:1.2;color:#919191;text-transform:capitalize;margin-bottom:7px}.selected-date p:empty{display:none}.selected-date h2{font-size:20px;line-height:1.2;white-space:nowrap}.add-button{padding:9px 10px;min-height:35px;font-size:13px}.day-list{overflow-y:auto;max-height:430px;min-height:300px;scrollbar-width:thin;scrollbar-color:#ddd transparent}.day-entry{display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid #eee;padding:19px 0}.day-entry:last-child{border-bottom:0}.task-checkbox{display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:4px;border:1px solid #c9c9c9;flex-shrink:0;padding:0;margin-top:3px;background:white;color:#fff}.task-checkbox:hover{background:#eee;border-color:#777}.task-checkbox.checked{background:#444;border-color:#444}.entry-body{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;flex:1;min-width:0;padding:0;border-radius:4px}.entry-body:hover .entry-title{text-decoration:underline;text-decoration-color:#c5c5c5;text-underline-offset:3px}.entry-title{font-size:16px;line-height:1.55;overflow-wrap:anywhere;letter-spacing:-.2px;font-weight:400}.completed .entry-title{text-decoration:line-through!important;color:#aaa}.entry-time{font-size:14px;font-weight:550;line-height:1.3}.entry-time>span{font-size:11px;color:#999;font-weight:400;margin-left:4px}.entry-project{font-size:12px;color:#929292}.meeting-icon{color:#777;line-height:1;margin-top:2px;display:inline-flex}.meeting-link{margin-left:2px;flex-shrink:0}.empty-day{display:flex;align-items:center;justify-content:center;gap:10px;min-height:260px;color:#a1a1a1;font-size:14px}.undated-bar{margin-top:14px;padding-top:14px;border-top:1px solid #eee}.undated-bar .button{font-size:13px}.undated-bar .button>span{font-size:11px;color:#999}.error-message{margin-bottom:20px;border:1px solid #ddd;background:#eee;border-radius:9px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.error-message button{flex-shrink:0}
dialog{position:fixed;inset:0;border:1px solid #e1e1e1;padding:0;border-radius:13px;width:calc(100% - 32px);max-width:430px;max-height:90vh;margin:auto;background:#fff;color:var(--ink);box-shadow:0 20px 70px #0000001f}dialog::backdrop{background:#00000033;backdrop-filter:blur(2px)}.entry-form{padding:24px}.form-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.form-header h2{font-size:21px}.form-header .button{border-color:transparent}.entry-type{display:flex;gap:7px;margin-bottom:21px}.entry-type>.button{flex:1;min-height:37px}.field{display:flex;flex-direction:column;gap:8px;margin:17px 0}.field>span{font-size:14px;color:#717171;display:flex;align-items:baseline;gap:8px}.field small{font-size:12px;color:#a0a0a0}.field input,.field textarea{font-size:16px;line-height:1.5;border:1px solid #dcdcdc;border-radius:7px;background:#fff;color:#333;padding:10px 11px;width:100%;box-shadow:none}.field textarea{resize:vertical;min-height:77px}.field input[type=date],.field input[type=time]{height:44px}.form-datetime{display:grid;grid-template-columns:1.15fr 1fr;gap:13px}.form-datetime .field{margin:0}.existing-notes{font-size:13px;line-height:1.65;color:#808080;white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid #eee;padding-top:16px;margin-top:20px;max-height:140px;overflow:auto}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:25px;padding-top:18px;border-top:1px solid #eee}.delete-button{font-size:13px;color:#888}.form-footer .is-active{min-width:117px}.delete-confirmation{border-top:1px solid #eee;margin-top:25px;padding-top:18px;display:flex;flex-direction:column;gap:15px;font-size:14px}.delete-confirmation>div{display:flex;justify-content:flex-end;gap:7px}.form-error{font-size:13px;line-height:1.6;border-radius:6px;padding:10px;background:#eee;color:#555;margin-top:15px}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#333;color:#fff;border-radius:7px;padding:12px 17px;font-size:14px;max-width:calc(100% - 32px);line-height:1.6;box-shadow:0 4px 18px #00000012;z-index:60}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1350px){.calendar-app{padding-top:25px}.app-header{height:125px}}
@media(max-width:1050px){.calendar-app{padding-left:28px;padding-right:28px}.month-panel{padding:24px 20px 20px}.calendar-workspace{grid-template-columns:minmax(0,1.55fr) minmax(285px,1fr)}.month-toolbar{gap:8px;flex-wrap:wrap;margin-bottom:23px}.month-toolbar h2{font-size:21px}.month-actions{gap:8px}.day-panel{padding:24px 18px 10px}.selected-date h2{font-size:19px}.day-toolbar{gap:8px}.day-summary{font-size:10px}.calendar-day{height:70px}}
@media(max-width:780px){.calendar-app{max-width:620px;padding:0 20px 40px}.app-header{height:88px}.wordmark{font-size:22px}.app-header h1{font-size:15px}.calendar-workspace{display:block;min-height:0;border-radius:12px}.month-panel{padding:22px 18px 17px}.month-toolbar{flex-wrap:nowrap;margin-bottom:23px}.month-toolbar h2{font-size:21px}.month-actions{gap:10px}.calendar-day{height:65px}.day-panel{border-left:0;border-top:1px solid var(--line);padding:22px 22px 12px}.day-toolbar{padding-bottom:19px}.selected-date h2{font-size:21px}.selected-date p{font-size:13px}.add-button{font-size:14px;padding:10px 12px}.day-list{max-height:360px;min-height:135px}.empty-day{min-height:145px}.entry-title{font-size:16px}.weekday{font-size:13px}.day-summary{font-size:11px}.date-number{font-size:15px}.entry-preview>span:last-child{max-width:55px}.day-entry{padding:18px 0}.form-header h2{font-size:21px}}
@media(max-width:420px){.calendar-app{padding-left:12px;padding-right:12px}.app-header{height:78px;padding-left:4px;gap:14px}.month-panel{padding:19px 13px 15px}.month-toolbar h2{font-size:19px}.month-actions{gap:6px}.month-navigation{gap:3px}.button.today-button{font-size:12px;padding:7px 8px;min-height:31px}.month-navigation .button{width:28px;min-height:31px}.calendar-day{height:61px;padding-left:2px;padding-right:2px}.month-grid{gap:3px}.date-number{font-size:14px;width:27px;height:27px}.day-summary{font-size:10px;margin-top:7px;gap:2px}.entry-preview{gap:3px}.entry-preview>span:last-child{max-width:29px}.entry-extra{font-size:9px}.entry-dot{width:3px;height:3px}.day-panel{padding:21px 17px 10px}.selected-date h2{font-size:20px}.weekday{font-size:12px}.entry-form{padding:22px 19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.day-summary{font-size:12px}.entry-preview>span:last-child{max-width:none}.entry-dot{width:3px;height:3px}
@media(max-width:420px){.day-summary{font-size:10px}.entry-preview>span:last-child{max-width:none}.entry-preview{gap:2px}.entry-dot{display:none}}

.agent-output{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:15px;margin-top:16px}.agent-url{display:block;text-decoration:underline;margin-top:10px}.app-header{flex-wrap:wrap}@media(max-width:600px){.app-header .button{font-size:12px;padding:8px}.app-header{gap:9px}}

.field select{font:inherit;width:100%;padding:11px 34px 11px 12px;border:1px solid #dcdcdc;border-radius:7px;background:#fff;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.agent-caption{font-size:14px;color:#777;line-height:1.55}.agent-cost{border-top:1px solid #eee;margin-top:22px;padding-top:16px;font-size:14px;line-height:1.6}.agent-cost summary{cursor:pointer}.agent-cost p{margin:12px 0}.agent-cost a,.form-error a{text-decoration:underline}
.agent-proposal{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.agent-proposal .agent-output{margin:0 0 14px}.agent-confirm{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.field select:focus-visible{outline:2px solid #444;outline-offset:3px}
