:root{font-family:Inter,Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172025;background:#f8fafb;font-synthesis:none;--line:#e3e8ed;--muted:#6e7a83;--blue:#2463df;--danger:#bd3446}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,summary{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{border:1px solid var(--line);border-radius:5px;background:white;color:inherit;min-height:36px;padding:0 13px}button:hover,summary:hover{background:#f2f5f8}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}svg{width:17px;height:17px;flex-shrink:0;stroke-width:1.8}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;line-height:1.2}h2{font-size:14px;font-weight:650}h3{font-size:13px}input[type=checkbox]{accent-color:var(--blue);width:15px;height:15px;flex-shrink:0}.skip-link{position:fixed;top:-60px;left:20px;background:white;padding:12px;z-index:30}.skip-link:focus{top:10px}
.app-header{height:72px;padding:0 42px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;gap:55px}.brand{font-size:24px;font-weight:750;display:flex;align-items:center;gap:4px}.brand-dot{height:5px;width:5px;background:var(--blue);border-radius:50%;margin-top:12px}.desktop-nav{display:flex;align-self:stretch;gap:29px}.desktop-nav a{display:flex;align-items:center;font-size:13px;border-bottom:3px solid transparent;padding-top:3px;color:#65717a}.desktop-nav a.selected{color:#18212a;font-weight:650;border-color:var(--blue)}.header-end{margin-left:auto;display:flex;align-items:center;gap:22px}.profile{width:33px;height:33px;border-radius:50%;background:#eaf0fc;color:#315fc2;display:grid;place-items:center;font-size:11px;font-weight:650}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}#connectionDot{width:6px;height:6px;border-radius:50%;background:#9aa5af}#connectionDot.connected{background:#39a06a}#connectionDot.failed{background:#c95556}
.calendar-shell{max-width:1640px;margin:auto;padding:31px 42px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.page-eyebrow{color:var(--muted);font-size:11px;margin-bottom:7px}.summary{display:flex;align-items:center;gap:25px}.summary>div,.summary>button{padding-left:24px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:4px;align-items:flex-start}.summary>div:first-child{border-left:0}.summary strong{font-size:24px;font-weight:650;line-height:1.1}.summary span{font-size:11px;color:var(--muted)}.summary button{border:0;border-left:1px solid var(--line);border-radius:0;background:none;padding-right:0}.overdue-counter strong{color:var(--danger)}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.week-navigation,.toolbar-actions{display:flex;align-items:center;gap:7px}.week-navigation{position:relative}.icon-button{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}.week-picker{border:0;background:none;font-size:16px;font-weight:550;display:flex;gap:8px;align-items:center;padding-left:12px}.week-picker svg{width:13px;color:var(--muted)}#jumpDate{position:absolute;left:165px;top:35px;width:1px;height:1px;opacity:0;pointer-events:none}.view-switch{display:flex;border:1px solid var(--line);border-radius:5px;margin-right:5px;background:white;overflow:hidden}.view-switch button{border:0;border-radius:0;display:flex;gap:7px;align-items:center;font-size:12px;min-height:34px}.view-switch button.active{color:var(--blue);background:#edf3ff}.filter-menu{position:relative}.filter-menu>summary{list-style:none;display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:5px;min-height:36px;padding:0 11px;background:white;font-size:12px}.filter-menu>summary::-webkit-details-marker{display:none}#filterCount{font-size:10px;padding:1px 5px;background:#edf0f3;border-radius:3px}.filter-popover{position:absolute;top:43px;right:0;width:280px;background:white;box-shadow:0 8px 30px #17202515;border:1px solid var(--line);padding:16px;border-radius:7px;z-index:8}.filter-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.text-button{border:0;background:none;color:var(--blue);font-size:11px;min-height:28px;padding:0 4px}.filter-label{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:12px}.project-dot{height:9px;width:9px;border-radius:50%;background:var(--project-color);flex-shrink:0}.completed-filter{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:13px;margin-top:8px;font-size:12px}
.search-row{display:flex;align-items:center;justify-content:space-between;margin:17px 0 14px;gap:10px}.calendar-search{display:flex;align-items:center;gap:8px;color:#87929b}.calendar-search input{border:0;background:transparent;font-size:12px;outline:none;min-width:0;width:210px;color:#25323b;padding:7px 0}.calendar-search input::placeholder{color:#929ba3}.calendar-search svg{width:15px}.week-caption{font-size:10px;color:#88939c;display:flex;gap:13px;flex-wrap:wrap;justify-content:flex-end}.feedback{background:#fff2df;color:#755528;padding:11px 14px;border-radius:5px;margin-bottom:14px;line-height:1.5;font-size:12px}.feedback button{margin-left:12px;font-size:11px;min-height:28px}.loading-state{background:white;border:1px solid var(--line);border-radius:6px;height:330px;display:flex;gap:10px;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.loading-state>span{width:7px;height:7px;background:var(--blue);border-radius:50%;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.25}}.week-date-strip{display:none}
.project-planner{border:1px solid var(--line);border-radius:7px;background:white;overflow:auto}.project-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:960px}.project-table col:first-child{width:166px}.project-table th,.project-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.project-table tr>*:last-child{border-right:0}.project-table tbody:last-child tr:last-child>*{border-bottom:0}.project-table thead th{height:49px;background:#f9fafc;text-align:left;padding:0 12px;font-size:11px;font-weight:550;color:#4a5865}.project-table thead th:not(:first-child){text-align:center}.project-table .is-today{background:#f3f7ff}.project-table thead .is-today{color:var(--blue)}.project-name{position:sticky;left:0;z-index:1;background:white;text-align:left;padding:18px 13px;vertical-align:middle;font-size:12px;font-weight:600;line-height:1.6}.project-name>span{display:flex;gap:10px;align-items:center}.project-table td{vertical-align:top;padding:8px 6px;height:92px}.project-table .range-row td{height:33px;padding:5px 5px 0;border-bottom:0}.range-row+.detail-row td{height:92px}.event-stack{display:flex;flex-direction:column;gap:7px}.event-card{display:block;width:100%;height:auto;min-height:0;padding:7px 7px 7px 9px;background:var(--project-tint);border:0;border-left:3px solid var(--project-color);border-radius:4px;text-align:left;line-height:1.4}.event-card:hover{filter:brightness(.97);background:var(--project-tint)}.event-reference{display:block;font-size:10px;font-weight:650;margin-bottom:2px}.event-title{display:block;font-size:11px;overflow-wrap:anywhere}.event-time{display:block;font-size:11px;font-weight:650;margin-top:5px}.badge{font-size:9px;font-weight:500;padding:3px 5px;border-radius:3px;display:inline-block;color:var(--project-color,#416898);background:var(--project-tint,#edf3ff);white-space:nowrap;line-height:1.3}.event-card .badge{margin-top:5px;background:#ffffffb3}.badge.proposed{color:#846317;background:#fff0cf}.badge.needs-review{color:#a34e2a;background:#fff0e4}.badge.done{color:#528567;background:#e9f5ec}.range-bar{background:var(--project-tint);color:#263b51;border:0;border-left:3px solid var(--project-color);border-radius:4px;padding:5px 8px;width:100%;min-height:27px;font-size:11px;display:flex;align-items:center;gap:9px;text-align:left}.range-bar strong{font-size:10px;flex-shrink:0}.range-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.range-bar .badge{margin-left:auto;font-size:9px;overflow:visible}.empty-project{color:#929ca5;font-size:11px;padding:23px 12px!important;vertical-align:middle!important}.empty-project .badge{background:#fff0cf;color:#886623}.empty-text{color:#89949d;font-size:12px;padding:20px 0;line-height:1.6}.completed .event-title,.completed .row-copy strong{text-decoration:line-through;opacity:.6}
.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:10px;min-height:28px}.section-heading h2{display:flex;gap:8px;align-items:center}.section-heading h2 svg{width:16px;color:#61707d}.section-heading .text-button{margin-left:auto}.count{font-size:10px;color:#82909b}.overdue-section,.awaiting-section{margin-top:26px}.overdue-section h2,.agenda-sidebar> .section-heading h2{color:var(--danger)}.compact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.compact-row{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;display:flex;align-items:center;gap:11px;min-height:54px;padding:10px 2px;text-align:left;width:100%;height:auto}.compact-row .row-copy{min-width:0;flex:1}.row-copy strong{font-size:12px;font-weight:550;display:block;line-height:1.5;overflow-wrap:anywhere}.row-copy small{font-size:10px;color:var(--muted);display:block;margin-top:2px;line-height:1.4}.compact-row>svg{width:13px;color:#8a969f}.row-reference{font-size:10px;font-weight:650;margin-right:7px}.compact-row .badge{margin-left:auto}.date-small{color:var(--danger);font-size:10px;flex-shrink:0}.calendar-footer{display:flex;justify-content:space-between;gap:20px;padding-top:24px;color:#8c969e;font-size:10px;line-height:1.6}.calendar-footer a{display:flex;gap:4px;align-items:center;white-space:nowrap}.calendar-footer svg{width:12px}
.agenda-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px}.agenda-sidebar{border-left:1px solid var(--line);padding-left:24px}.agenda-sidebar .compact-row{align-items:flex-start}.agenda-sidebar .compact-row .date-small{display:none}.source-section{margin-top:26px}.source-line{display:flex;align-items:flex-start;gap:9px;padding:9px 0;font-size:11px;line-height:1.5;color:#586873}.source-line small{display:block;color:#8b969e;font-size:10px}.source-line .project-dot{margin-top:4px}.day-group{margin-top:23px}.day-group:first-child{margin-top:5px}.day-heading{display:flex;align-items:center;gap:8px;padding:0 0 11px;border-bottom:1px solid var(--line)}.day-heading h2{font-size:13px}.day-heading span{font-size:10px;color:#89949e}.agenda-row{display:grid;grid-template-columns:70px 9px minmax(0,1fr) auto 13px;gap:13px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left;align-items:start;padding:17px 4px;height:auto;min-height:70px}.agenda-row>time{font-size:12px;color:#657580;line-height:1.6}.agenda-row .project-dot{margin-top:5px}.agenda-row .row-copy strong{font-size:12px}.agenda-row>svg{width:13px;margin-top:3px;color:#8b98a3}.ongoing-bar{display:flex;align-items:center;gap:10px;width:100%;height:auto;border:0;background:var(--project-tint);border-radius:5px;margin-bottom:10px;text-align:left;padding:12px 13px}.ongoing-bar .row-copy{flex:1}.ongoing-bar .row-copy strong{font-size:12px}.ongoing-bar .badge{align-self:center}.ongoing-bar>svg{width:13px}.mobile-nav{display:none}
dialog{border:1px solid var(--line);border-radius:8px;padding:30px;width:min(490px,calc(100vw - 32px));max-height:calc(100dvh - 48px);color:#24313b;box-shadow:0 20px 80px #14213424}dialog::backdrop{background:#17202566}.dialog-close{position:absolute;right:12px;top:12px;border:0;background:transparent}.event-dialog-project{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);padding-right:30px;margin-bottom:18px}#eventTitle{font-size:21px;line-height:1.4;margin-bottom:12px;overflow-wrap:anywhere}.event-dialog-reference{font-size:11px;color:var(--muted);margin-bottom:8px}.event-meta{display:grid;grid-template-columns:80px minmax(0,1fr);font-size:12px;gap:13px;margin:24px 0}.event-meta dt{color:var(--muted)}.event-meta dd{margin:0;overflow-wrap:anywhere}.event-notes{font-size:12px;line-height:1.7;border-top:1px solid var(--line);padding-top:18px;white-space:pre-wrap;overflow-wrap:anywhere}.event-evidence{font-size:11px;color:var(--muted);line-height:1.6;margin-top:17px}.event-action{margin-top:22px;background:var(--blue);border-color:var(--blue);color:white;display:flex;align-items:center;gap:8px}.event-action:hover{background:#1d54c6}.dialog-error{font-size:12px;color:var(--danger);margin-top:13px;line-height:1.5}
@media(min-width:900px){.agenda-mode .week-date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:6px;overflow:hidden;margin-bottom:20px}.date-button{border:0;border-right:1px solid var(--line);border-radius:0;min-height:63px;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.date-button:last-child{border-right:0}.date-button small{font-size:10px;color:var(--muted)}.date-button strong{font-size:17px;font-weight:550}.date-button.today{background:#f1f6ff;color:var(--blue)}.date-button.active{box-shadow:inset 0 -2px var(--blue)}}
@media(max-width:1100px) and (min-width:900px){.app-header{padding:0 25px;gap:35px}.calendar-shell{padding:28px 25px}.desktop-nav{gap:22px}.connection{display:none}.summary{gap:17px}.summary>div,.summary>button{padding-left:17px}.week-picker{font-size:14px}.toolbar-actions{gap:5px}}
@media(max-width:899px){.app-header{height:62px;padding:0 22px;gap:10px}.brand{font-size:22px}.desktop-nav{display:none}.header-end{gap:15px}.connection{font-size:9px}.profile{width:31px;height:31px}.calendar-shell{padding:24px 22px calc(100px + env(safe-area-inset-bottom));max-width:760px}.page-heading{display:block;margin-bottom:22px}.page-eyebrow{font-size:10px;margin-bottom:7px}h1{font-size:27px}.summary{gap:15px;margin-top:16px}.summary>div,.summary>button{flex-direction:row;align-items:center;gap:5px;padding-left:15px}.summary>div:first-child{padding-left:0}.summary strong{font-size:14px}.summary span{font-size:10px}.calendar-toolbar{align-items:flex-start;flex-wrap:wrap;gap:12px}.week-navigation{gap:4px;width:100%}.week-navigation>button:first-child{min-height:33px;padding:0 12px;font-size:12px}.week-navigation .icon-button{width:30px;height:33px;min-height:33px}.week-picker{font-size:14px;padding:0 0 0 5px;min-height:33px;gap:3px;flex:1;justify-content:flex-end}.week-picker svg{width:11px}.toolbar-actions{width:100%;justify-content:space-between}.view-switch{display:none}.filter-menu{flex:1;margin-right:4px}.filter-menu>summary{min-height:33px;font-size:11px}.filter-popover{left:0;right:auto;width:min(280px,calc(100vw - 44px))}.toolbar-actions>.icon-button{width:33px;height:33px;min-height:33px}.search-row{margin:11px 0 12px;align-items:center}.calendar-search{min-width:0;flex:1}.calendar-search input{width:100%;font-size:11px}.week-caption{font-size:9px;gap:2px;flex-direction:column;line-height:1.5;text-align:right;flex-shrink:0}.calendar-search svg{width:13px}.week-date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:19px}.date-button{border:0;min-height:58px;border-radius:5px;padding:5px 0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.date-button small{font-size:10px;color:#7b8791}.date-button strong{font-size:17px;font-weight:550}.date-button.today strong{color:var(--blue)}.date-button.active{background:#edf3ff;color:var(--blue);box-shadow:inset 0 -2px var(--blue)}.date-button.active small{color:var(--blue)}.day-dot{width:3px;height:3px;border-radius:50%;background:#b8c3cf}.date-button.active .day-dot{background:var(--blue)}.agenda-layout{display:block}.agenda-sidebar{border:0;padding:0;margin-top:28px}.source-section{display:none}.ongoing-bar{padding:11px 10px;gap:8px;align-items:flex-start}.ongoing-bar .row-copy strong{font-size:11px}.ongoing-bar .badge{font-size:8px}.ongoing-bar .row-copy small{font-size:9px}.ongoing-bar .project-dot{margin-top:4px}.day-group{margin-top:24px}.day-heading h2{font-size:13px}.agenda-row{grid-template-columns:49px 7px minmax(0,1fr) 11px;gap:9px;padding:16px 0;min-height:78px}.agenda-row>time{font-size:11px}.agenda-row .project-dot{width:7px;height:7px}.agenda-row .row-copy strong{font-size:12px}.agenda-row .row-copy small{font-size:10px}.agenda-row>.badge{grid-column:3;justify-self:start;margin-top:-6px}.agenda-row>svg{grid-column:4;grid-row:1;width:11px}.row-reference{font-size:10px}.compact-list{display:block}.compact-row{min-height:58px;gap:10px}.compact-row .row-copy strong{font-size:11px}.compact-row .badge{font-size:8px;max-width:90px;white-space:normal}.section-heading h2{font-size:13px}.awaiting-section{margin-top:27px}.calendar-footer{font-size:9px;gap:12px;align-items:flex-start;padding-top:20px}.calendar-footer>span{max-width:65%}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;height:calc(66px + env(safe-area-inset-bottom));padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#74818c}.mobile-nav svg{width:21px;height:21px}.mobile-nav a.selected{color:var(--blue);font-weight:600}.loading-state{height:240px}dialog{padding:26px 22px}#eventTitle{font-size:19px}}
@media(max-width:359px){.app-header{padding:0 15px}.calendar-shell{padding-left:15px;padding-right:15px}.summary{gap:10px}.summary>div,.summary>button{padding-left:10px}.summary span{font-size:9px}.week-picker{font-size:12px}.week-picker svg{display:none}.connection{display:none}.calendar-footer>a{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
