:root{color-scheme:dark;font-family:Arimo,Arial,sans-serif;color:#f1f3f7;background:#080d16;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at top,#101c30 0,transparent 65%);font-size:15px}button,input,textarea,select{font:inherit}button,.button{border:1px solid #364255;background:#172130;color:#f1f3f7;border-radius:7px;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px}button:hover,.button:hover{background:#223349;border-color:#6684a9}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.button.primary{background:#087fea;border-color:#258ff1;color:white}button.danger{color:#ff9da9;border-color:#743749;background:#281921}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #62b9ff;outline-offset:3px}a{color:#9eceff;text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.agenda-top{max-width:1160px;margin:auto;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-size:27px;font-weight:700;color:white;letter-spacing:1px}.agenda-top>div{display:flex;gap:24px;align-items:center}.text-button{background:transparent;border-color:transparent;font-size:12px}.agenda-shell{max-width:1120px;margin:28px auto 0;padding:32px;background:#0e1520;border:1px solid #2b3647;border-radius:14px;box-shadow:0 18px 70px #0003}.agenda-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}h1{font-size:27px;letter-spacing:1px;margin:8px 0}h2{font-size:16px;margin:0}p{line-height:1.5}.eyebrow{font-size:10px;letter-spacing:2px;color:#96accc;margin:0}.muted{color:#a6b4c6;font-size:13px;margin:8px 0}.status{color:#aac9ec;font-size:14px}.status:empty{display:none}.error{color:#ffb1be;font-size:14px}.toolbar,.datebar{display:flex;align-items:center;justify-content:space-between;gap:18px}.toolbar{padding:19px 0;border-top:1px solid #253247}.view-tabs{display:flex;background:#0a111b;border:1px solid #2b384c;border-radius:8px;padding:4px;gap:4px}.view-tabs button{border:0;background:transparent;min-width:92px;font-size:12px}.view-tabs button[aria-pressed=true]{background:#087fea}.zone-control{display:flex;gap:12px;align-items:center;font-size:12px;color:#a6b4c6}.zone-control select{max-width:190px}.datebar{padding:16px 0 23px}.datebar>div{display:flex;align-items:center;gap:5px}.datebar h2{text-align:center;font-size:16px}.icon-button{font-size:23px;padding:6px 13px}.jump input{width:145px;font-size:12px}.agenda-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;min-height:330px}.appointments{min-width:0}.list-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.list-heading h2{font-size:11px;letter-spacing:1.2px;color:#9dafc4}.list-heading label{font-size:11px;color:#a6b4c6;display:flex;align-items:center;gap:4px}input[type=checkbox]{accent-color:#168bea;width:16px;height:16px}.appointment{display:grid;grid-template-columns:63px minmax(0,1fr) 18px;gap:13px;width:100%;text-align:left;margin-bottom:10px;padding:18px 15px;border:1px solid #2b394c;border-left:3px solid #268bf0;background:#141d29;justify-content:initial}.appointment.cat-work{border-left-color:#50bb92}.appointment.cat-event{border-left-color:#dfb757}.appointment[aria-pressed=true]{background:#132944;border-color:#228bf2}.appointment time{font-size:17px;font-variant-numeric:tabular-nums;align-self:start}.appointment strong{display:block;line-height:1.35;overflow-wrap:anywhere}.appointment small{display:block;margin-top:6px;color:#a6b4c6;line-height:1.4;font-size:12px}.appointment .bell{font-size:14px;color:#8ea5c4}.appointment.is-finished{opacity:.58}.group-date{color:#a3b8d2;font-size:12px;margin:22px 0 12px}#detail{border-left:1px solid #2b3648;padding-left:29px;min-width:0}.detail-title{font-size:23px;overflow-wrap:anywhere;line-height:1.3;margin:0 0 20px}.detail-line{color:#b6c5d8;line-height:1.5;margin:12px 0;font-size:14px;overflow-wrap:anywhere}.detail-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5;color:#c3cfdf;background:#0a121e;border-radius:7px;padding:14px;max-height:180px;overflow:auto}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.detail-actions button,.detail-actions a{font-size:12px}.detail-actions .delete{margin-left:auto}.pills{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.pill{font-size:10px;padding:7px 9px;border-radius:5px;border:1px solid #2e5a87;background:#122942;color:#baddff}.private{font-size:11px;color:#8fa5be;letter-spacing:1px}.empty{padding:42px 16px;color:#9bacbf;text-align:center;border:1px dashed #2b394c;border-radius:8px}.empty h2{line-height:1.5;margin-bottom:16px}.empty p{font-size:13px}.agenda-note{color:#8194ae;font-size:12px;line-height:1.6;margin:20px 0 0}.agenda-note+.agenda-note{margin-top:8px}footer{text-align:center;padding:34px 20px 46px;font-size:12px;letter-spacing:1px}footer a{color:#b2c6de}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:28px}.weekday{text-align:center;font-size:11px;color:#8499b5;padding:10px 0}.calendar button{min-height:64px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;background:#111c2a;padding:10px;border-color:#293648}.calendar button.outside{opacity:.4}.calendar button[aria-pressed=true]{border-color:#2191ff;background:#173351}.calendar .dot{height:5px;width:5px;background:#4fa8fb;border-radius:50%;display:inline-block;margin-right:3px}.calendar .today span:first-child{color:#68bcff;font-weight:700}dialog{color:#eef3fa;border:1px solid #35465e;border-radius:12px;background:#111b29;width:min(620px,calc(100% - 30px));padding:25px;max-height:90dvh;overflow:auto;box-shadow:0 20px 90px #0008}dialog::backdrop{background:#000b}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-size:20px}form>label,.form-grid label,.reminder-heading label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#b2c2d7;margin-bottom:15px}input:not([type=checkbox]),textarea,select{width:100%;min-width:0;border:1px solid #34445b;background:#0b131f;color:#eff4fa;padding:11px 12px;border-radius:6px;min-height:42px}textarea{resize:vertical}input[type=date],input[type=time]{min-height:44px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.reminder-heading{display:flex;gap:20px;align-items:center;justify-content:space-between}.reminder-heading label{flex:1}.reminder-heading a{font-size:11px}fieldset{border:1px solid #33435b;border-radius:8px;padding:12px;margin:0 0 18px}legend{font-size:12px;color:#b5c6dc;padding:0 6px}.channel-grid{display:flex;flex-wrap:wrap;gap:8px}.channel-grid label{display:flex;align-items:center;gap:7px;font-size:11px;border:1px solid #3b4b61;padding:9px;border-radius:5px}.channel-grid label:has(input:checked){background:#163453;border-color:#2588e5}.channel-grid label:has(input:disabled){opacity:.45}fieldset small{display:block;color:#98abc4;line-height:1.5;margin-top:12px;font-size:11px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:22px}.dialog-actions button{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.agenda-top{padding:20px}.agenda-shell{margin:8px 12px 0;padding:21px 17px}.agenda-heading{gap:12px}.agenda-heading h1{font-size:22px}.agenda-heading .muted{font-size:12px}.agenda-columns{grid-template-columns:1fr;gap:24px}#detail{border-left:0;border-top:1px solid #2b3648;padding:23px 0 0}.toolbar{flex-wrap:wrap}.view-tabs{flex:1}.view-tabs button{min-width:0;flex:1}.zone-control{width:100%;justify-content:space-between}.datebar{flex-wrap:wrap;gap:14px}.datebar h2{order:3;width:100%;text-align:left}.datebar .jump{margin-left:auto}.jump input{width:130px}.list-heading{align-items:flex-start;flex-wrap:wrap}.calendar button{padding:8px;min-height:48px}.agenda-top>div{gap:10px}.agenda-top a:not(.brand){font-size:12px}.eyebrow{font-size:9px}.appointment{padding:16px 11px;grid-template-columns:58px minmax(0,1fr) 15px}.form-grid{gap:0 12px}dialog{padding:20px}.reminder-heading{flex-wrap:wrap}.reminder-heading label{min-width:150px}.agenda-note{font-size:11px}footer{padding-bottom:35px}}
@media(prefers-reduced-motion:no-preference){button,.button{transition:background .15s,border-color .15s}}
.form-grid>*{min-width:0}fieldset{min-width:0}.dialog-heading h2{min-width:0;overflow-wrap:anywhere}.dialog-heading .icon-button{flex-shrink:0}.zone-control select{min-width:0}.zone-control span{min-width:0}.channel-grid label{max-width:100%;overflow-wrap:anywhere}@media(max-width:380px){.form-grid{grid-template-columns:1fr}.dialog-heading h2{font-size:18px}.reminder-heading{display:block}.reminder-heading a{display:inline-block;margin:0 0 14px}}

@media(min-width:761px){.zone-control span{white-space:nowrap}}

#add{white-space:nowrap;flex-shrink:0;font-size:13px;padding:11px 15px}
.zone-control select{width:190px;flex:0 1 190px}@media(min-width:761px){.zone-control span{flex:0 0 auto}}@media(max-width:760px){.zone-control select{max-width:55%}.zone-control span{white-space:normal}}

/* V4.29 — distinct list/calendar modes, stable action rows and directory-style Back. */
body{display:flex;flex-direction:column;min-height:100dvh}.agenda-top{width:100%;margin:0 auto}.agenda-shell{width:calc(100% - 40px);margin-bottom:0}.page-bottom-nav{margin-top:auto;padding:52px 20px 32px;display:flex;justify-content:center}.page-back-button{min-width:112px;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ffffff1a;border-radius:7px;background:#040404a6;color:#ffffffd6;font-size:11px;font-weight:700;letter-spacing:.08em;transition:transform .18s,border-color .18s}.page-back-button:hover{text-decoration:none;transform:translateY(-3px);border-color:#ffffff99}.page-back-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.list-range{display:flex;gap:5px;margin:0 0 4px}.list-range button{min-height:34px;padding:7px 16px;background:transparent;border-color:transparent;font-size:11px;color:#9aafc9}.list-range button[aria-pressed=true]{border-color:#3b526e;background:#182738;color:#fff}.view-tabs button{gap:9px;min-width:128px}.view-tabs button>span[aria-hidden]{font-size:17px}.datebar{gap:14px}.selected-day{margin:0 0 22px;padding-top:24px;border-top:1px solid #29394d;font-weight:700;font-size:17px;scroll-margin-top:18px}.calendar{gap:7px;margin-bottom:24px}.calendar button{min-width:0;min-height:104px;gap:10px;justify-content:flex-start}.day-cell-top{display:flex;justify-content:space-between;align-items:center;width:100%;gap:3px;font-variant-numeric:tabular-nums}.day-count{font-size:10px!important;font-weight:600;border-radius:20px;background:#243c59;color:#c2dfff;padding:3px 6px;min-width:20px;text-align:center}.day-titles{width:100%;min-width:0;display:flex;flex-direction:column;gap:4px;text-align:left;color:#9db7d3}.day-titles>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.day-titles small{font-size:10px;color:#83bffd}.day-preview{position:fixed;z-index:90;width:290px;max-width:calc(100vw - 24px);padding:18px;border:1px solid #39516d;border-radius:10px;background:#111b29;box-shadow:0 14px 40px #0008;color:#eef3fa;max-height:calc(100dvh - 24px);overflow:auto}.day-preview strong{display:block;font-size:13px;margin-bottom:14px}.preview-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;padding:7px 0;font-size:12px}.preview-row span{overflow-wrap:anywhere}.preview-row time{color:#91c8ff;font-variant-numeric:tabular-nums}.day-preview small{display:block;color:#8eabc9;font-size:11px;border-top:1px solid #2a3c54;margin-top:12px;padding-top:12px}.day-preview p{font-size:12px;color:#9db7d3}
.detail-actions{display:flex;flex-direction:column;gap:13px;margin-top:24px}.primary-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.primary-actions>*{width:100%;min-height:44px}.complete-action{border-color:#44658a;background:#152b43}.secondary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #2a394d;padding-top:10px}.secondary-actions button{min-width:0;font-size:11px;padding:9px 4px;background:transparent;border:0;border-radius:5px;overflow-wrap:anywhere}.detail-actions .delete{margin-left:0;color:#efa3ad}.secondary-actions button:hover{background:#ffffff08}#day-tasks:focus{outline:0}
@media(max-width:760px){.agenda-shell{width:calc(100% - 24px);margin:8px 12px 0}.view-tabs button{min-width:0}.calendar{gap:4px}.calendar button{min-height:65px;padding:7px 5px;gap:5px}.day-titles{display:none}.day-cell-top{flex-direction:column;align-items:center;gap:9px}.day-count{font-size:10px!important;min-width:21px;padding:2px 5px}.weekday{font-size:10px}.selected-day{font-size:15px}.day-preview{width:270px}.page-bottom-nav{padding-top:36px;padding-bottom:28px}.detail-actions{gap:12px}}
@media(prefers-reduced-motion:reduce){.page-back-button{transition:none}}
.primary-actions{align-items:start}.primary-actions>*{height:44px}.calendar button{min-height:82px}.calendar .today .day-titles span:first-child{color:inherit;font-weight:400}@media(max-width:760px){.calendar button{min-height:65px}}
.detail-actions{flex-wrap:nowrap}.primary-actions{flex:0 0 auto;height:44px}

/* V4.30 — clear period navigation, date + zone together, taller list. */
.toolbar{gap:20px;flex-wrap:wrap;padding-bottom:20px}.list-range{margin:0;gap:4px;border:1px solid #2b384c;padding:4px;border-radius:8px}.list-range button{min-height:40px;min-width:65px;padding:8px 13px;font-size:11px}.datebar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:5px 0 18px;flex-wrap:wrap}.datebar .period-heading{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.datebar h2{order:0;text-align:left;width:auto;font-size:19px}.period-heading #today{min-height:30px;border:0;background:transparent;padding:4px 0;font-size:11px;color:#86c4ff;justify-content:flex-start}.period-heading #today:hover{text-decoration:underline}.datebar .date-settings{display:flex;gap:10px;align-items:center;flex-wrap:nowrap}.date-settings .jump{margin:0}.date-settings .jump input{width:150px}.date-settings .zone-control{width:auto}.date-settings .zone-control select{width:165px;max-width:none;flex:none;font-size:12px}.period-navigation{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.period-navigation button{padding:8px 13px;min-height:38px;font-size:11px;background:#101d2b;gap:10px}.period-navigation button>span[aria-hidden]{font-size:21px;line-height:1}.show-more{display:flex;margin:18px auto;font-size:12px}#agenda[data-layout=list] .agenda-columns{min-height:980px}#agenda[data-layout=list] #detail{align-self:stretch}#agenda[data-layout=calendar] .agenda-columns{min-height:330px}.agenda-shell{padding-bottom:32px}.agenda-columns{padding-bottom:8px}
@media(max-width:760px){.toolbar{gap:15px}.list-range{width:100%;justify-content:space-between}.list-range button{flex:1;min-width:0;padding:8px 9px}.datebar{gap:14px;padding-top:2px}.datebar .period-heading{width:100%;align-items:flex-start}.datebar h2{width:auto;font-size:17px}.datebar .date-settings{width:100%;gap:10px}.date-settings .jump,.date-settings .zone-control{width:calc(50% - 5px);margin:0}.date-settings .jump input,.date-settings .zone-control select{width:100%;max-width:100%;min-width:0}.period-navigation{margin-bottom:22px;gap:8px}.period-navigation button{font-size:10px;padding:8px 9px;gap:7px}#agenda[data-layout=list] .agenda-columns{min-height:1450px;grid-template-rows:minmax(860px,auto) auto;align-content:start}#agenda[data-layout=list] #detail{align-self:start}.agenda-shell{padding-bottom:24px}}
@media(max-width:760px){#agenda[data-layout=list] .agenda-columns{grid-template-rows:auto 1fr}}
@media(min-width:761px){#agenda[data-layout=list] .agenda-columns{min-height:1100px}}

/* V4.31 — viewport workspace, compact controls, separate personal/team areas. */
.agenda-top{padding:12px 24px;max-width:1400px}.brand{font-size:23px}.agenda-shell{max-width:1360px;width:calc(100% - 32px);margin:4px auto 0;padding:18px 22px}.agenda-heading{margin-bottom:12px}.agenda-heading h1{font-size:23px;margin:3px 0}.agenda-heading .muted{margin:3px 0;font-size:12px}.eyebrow{font-size:9px}.workspace-bar{display:flex;align-items:center;gap:8px;margin-bottom:10px}.workspace-bar label{min-width:0;flex:1;max-width:340px}.workspace-bar select{font-size:12px;min-height:36px;padding:8px 11px}.workspace-bar button{font-size:11px;min-height:36px;padding:8px 14px}.toolbar{padding:8px 0;gap:12px}.view-tabs{padding:3px}.view-tabs button{min-height:33px;min-width:104px;padding:6px 10px;font-size:11px}.list-range{padding:3px}.list-range button{min-height:33px;padding:6px 10px;min-width:54px}.datebar{padding:5px 0 7px;gap:12px}.datebar h2{font-size:16px}.datebar .period-heading{flex-direction:row;align-items:center;gap:14px}.period-heading #today{font-size:10px;min-height:28px}.date-settings .jump input,.date-settings .zone-control select{min-height:35px;padding:8px 10px;width:145px;font-size:11px}.period-navigation{margin-bottom:8px}.period-navigation button{min-height:30px;padding:4px 10px;font-size:10px}.selected-day{margin:8px 0;padding-top:9px;font-size:13px}.list-heading{margin-bottom:10px}.appointment{padding:12px 10px;gap:9px;margin-bottom:7px}.appointment time{font-size:15px}.appointment strong{font-size:13px}.appointment small{font-size:11px}.detail-title{font-size:20px;margin-bottom:10px}.detail-line{font-size:12px;margin:8px 0}.detail-notes{font-size:12px;padding:10px;margin:10px 0;max-height:120px}.pills{margin:10px 0}.detail-actions{margin-top:12px}.primary-actions>*{height:38px;min-height:38px}.primary-actions{height:38px}.secondary-actions{padding-top:4px}.private{margin:6px 0}.page-bottom-nav{padding:10px 20px}.page-back-button{min-height:34px}.workspace-card{padding:14px;border:1px solid #31445d;border-radius:8px;margin:12px 0}.workspace-card label,.invite-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:12px;min-width:0}.workspace-card p{font-size:12px}.compact-actions{display:flex;gap:8px;flex-wrap:wrap}.compact-actions button,.invite-form button{font-size:11px}.member-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #2c3b50;font-size:12px}.member-row span{overflow-wrap:anywhere;min-width:0}.member-row button{font-size:10px;min-height:32px;padding:5px 9px;flex-shrink:0}.invite-form{margin:16px 0}.note-body{white-space:pre-wrap;overflow-wrap:anywhere}.workspace-card strong{overflow-wrap:anywhere}.agenda-body{min-height:0}#agenda[data-layout=list] .agenda-columns,#agenda[data-layout=calendar] .agenda-columns{min-height:0;grid-template-rows:none}#agenda[data-layout=list] #detail{align-self:stretch}
@media(min-width:901px) and (min-height:600px){body{height:100dvh;overflow:hidden;min-height:0}.agenda-top{flex:0 0 52px}.agenda-shell{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}#agenda{flex:1;min-height:0;display:flex;flex-direction:column}.toolbar,.datebar,.period-navigation{flex-shrink:0}.agenda-body{flex:1;display:flex;flex-direction:column;overflow:hidden}.calendar{flex:0 1 52%;min-height:135px;margin:0;grid-template-rows:18px repeat(6,minmax(0,1fr));gap:3px}.weekday{padding:2px}.calendar button{min-height:0;gap:2px;padding:5px 8px}.day-cell-top{font-size:12px}.day-count{font-size:9px!important;padding:1px 5px}.day-titles{display:none}#day-tasks{flex:1;overflow:auto;min-height:85px!important;scrollbar-width:thin}.selected-day{flex-shrink:0}#agenda[data-layout=list] .agenda-body{overflow:auto}#agenda[data-layout=list] #day-tasks{min-height:100%!important}.page-bottom-nav{flex:0 0 50px;margin-top:0}.agenda-columns{gap:20px}#detail{padding-left:20px}}
@media(max-width:900px),(max-height:599px){body{height:auto;overflow:auto}.agenda-shell{padding:16px;margin-top:4px}.agenda-top{padding:12px 18px}.agenda-top .brand{font-size:22px}.datebar .period-heading{flex-wrap:wrap;width:auto}.datebar .date-settings{width:auto}.date-settings .jump,.date-settings .zone-control{width:auto}.date-settings .jump input,.date-settings .zone-control select{width:145px}.calendar{margin:8px 0}.calendar button{min-height:47px}.day-titles{display:none}.calendar .day-cell-top{gap:4px}.workspace-bar label{max-width:none}.workspace-bar button{padding:8px 10px}.agenda-columns{grid-template-columns:1fr;gap:14px}#detail{border-left:0;border-top:1px solid #2b3648;padding:16px 0 0}.page-bottom-nav{padding:16px}.selected-day{margin-top:15px}.toolbar{flex-wrap:wrap}.datebar{flex-wrap:wrap}#agenda[data-layout=list] .agenda-columns{min-height:0;grid-template-rows:none}}
@media(max-width:440px){.workspace-bar{flex-wrap:wrap}.workspace-bar label{flex-basis:100%}.workspace-bar button{flex:1}.datebar .date-settings{width:100%}.date-settings .jump,.date-settings .zone-control{width:calc(50% - 5px)}.date-settings .jump input,.date-settings .zone-control select{width:100%}.agenda-heading h1{font-size:20px}.agenda-heading .muted{font-size:11px}.list-range{width:100%}.view-tabs{width:100%}.view-tabs button{flex:1;min-width:0}.calendar button{padding:5px 3px}.agenda-top>div{gap:6px}}
@media(min-width:901px) and (min-height:600px) and (max-height:850px){#agenda[data-layout=calendar] .agenda-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px 20px}#agenda[data-layout=calendar] #calendar{grid-column:1;grid-row:1/3;height:100%;min-height:0;grid-template-rows:22px repeat(6,minmax(0,1fr));gap:5px}#agenda[data-layout=calendar] .selected-day{grid-column:2;grid-row:1;margin:0;padding:3px 0;border-top:0}#agenda[data-layout=calendar] #day-tasks{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0!important}#agenda[data-layout=calendar] #detail{border-left:0;border-top:1px solid #2c3b50;padding:10px 0 0;flex-shrink:0}#agenda[data-layout=calendar] .appointments{flex-shrink:0}.calendar button{padding:8px}.calendar .day-cell-top{font-size:13px}}

/* V4.32 — three views of the same appointments. */
.workspace-picker{display:flex;align-items:center;gap:10px}.workspace-picker>span{font-size:10px;white-space:nowrap;color:#9badc3;letter-spacing:.06em}.workspace-picker select{flex:1;min-width:80px}.workspace-bar{flex-wrap:wrap;margin-bottom:12px}.workspace-bar label{max-width:430px}.workspace-stage,.workspace-main{min-width:0;min-height:0}.workspace-stage{display:flex;gap:20px;flex:1}#agenda{min-width:0;width:100%}.toolbar{justify-content:space-between;border-bottom:1px solid #263449;padding:0 0 12px;margin-bottom:7px}.view-tabs{display:flex;gap:2px}.view-tabs button{min-height:37px;min-width:110px}.list-range button{min-width:48px}.datebar{padding:6px 0 10px}.period-navigation{margin-bottom:12px}.agenda-body{border-top:1px solid #263449;padding-top:14px}#workspace-sidebar{width:165px;flex:0 0 165px;padding-right:16px;border-right:1px solid #263449;overflow:auto;scrollbar-width:thin}#workspace-sidebar h2{font-size:10px;color:#9badc3;letter-spacing:.06em;margin:5px 0 15px}#calendar-scopes{display:flex;flex-direction:column;gap:6px}.scope-button{width:100%;text-align:left;justify-content:flex-start;min-height:42px;padding:10px;font-size:13px;background:transparent;border-color:transparent;overflow-wrap:anywhere}.scope-button:before{content:'';flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#788da6;margin-right:8px}.scope-button[aria-pressed=true]{background:#122d49;border-color:#2969a5}.scope-button[aria-pressed=true]:before{background:#168bef}#sidebar-notes{width:100%;margin-top:24px;background:transparent;font-size:11px}.sidebar-help{font-size:11px;line-height:1.6;color:#8297b1;margin-top:12px}.list-heading{margin-bottom:14px;gap:10px}.list-heading h2{font-size:11px}.list-heading label{font-size:11px}.appointment{display:grid;grid-template-columns:110px minmax(110px,1fr) 78px 78px 12px;gap:12px;align-items:center;border-width:0 0 1px;border-color:#25354a;border-radius:0;border-left:0;background:transparent;padding:16px 10px;margin:0;min-height:61px}.appointment[aria-pressed=true]{background:#112b47;border-color:#2a547f}.appointment:hover{background:#152638}.appointment time{font-size:12px;color:#becde0;align-self:center;white-space:nowrap}.appointment strong{font-size:14px;line-height:1.4}.appointment small{font-size:10px;margin-top:4px}.appointment-category,.appointment-state{font-size:11px;color:#9bb0c9}.appointment-category{display:flex;align-items:center;gap:6px}.appointment-category:before{content:'';width:6px;height:6px;flex:0 0 6px;background:#2695f7;border-radius:50%}.cat-work .appointment-category:before{background:#51bd99}.cat-event .appointment-category:before{background:#c29afa}.row-arrow{font-size:18px;color:#8faac8}.list-labels{display:grid;grid-template-columns:110px minmax(110px,1fr) 78px 78px 12px;gap:12px;padding:9px 10px;background:#0c1725;color:#8fa6c2;font-size:9px;letter-spacing:.06em}.group-date{margin:0;padding:15px 10px;background:#0c1521;border-bottom:1px solid #25354a;color:#e3ebf6;font-size:13px}.agenda-columns{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:20px}#detail{padding-left:20px}.detail-title{font-size:22px}.detail-line,.detail-notes{font-size:13px}.detail-actions{margin-top:18px}.day-group{border:1px solid #2b3b50;border-radius:8px;margin-bottom:14px;overflow:hidden;background:#0c1521}.day-group>summary{cursor:pointer;padding:14px 16px;display:flex;align-items:center;gap:12px;background:#101d2c;font-size:13px;list-style:none}.day-group>summary::-webkit-details-marker{display:none}.day-group>summary:before{content:'›';font-size:20px;line-height:1;color:#91adc9}.day-group[open]>summary:before{transform:rotate(90deg)}.group-full-date{color:#8fa6c2;font-size:12px}.group-count{margin-left:auto;background:#21374f;min-width:23px;padding:3px 6px;text-align:center;border-radius:20px;font-size:11px}.day-group-content{display:grid;grid-template-columns:78px minmax(0,1fr)}.date-badge{display:flex;flex-direction:column;align-items:center;padding:22px 10px;gap:5px;color:#8fa6c2;font-size:11px;border-right:1px solid #25354a}.date-badge strong{font-size:27px;color:#e6effa}.day-entries{min-width:0}.day-entry #detail{border-left:0;border-top:1px solid #2a4c70;padding:14px 18px;background:#102239}.day-entry .detail-title,.day-entry .private{display:none}.day-entry .detail-actions{max-width:560px;margin-left:auto}.day-entry .detail-notes{background:transparent;padding:0}.day-entry .detail-line{margin:3px 0}.day-entry .pills:empty{display:none}#agenda[data-layout=days] .agenda-columns{display:block;min-height:0}#agenda[data-layout=days] .appointment{grid-template-columns:120px minmax(100px,1fr) 110px 100px 16px}#agenda[data-layout=calendar] .appointment{grid-template-columns:1fr 15px;padding:12px;border:1px solid #2a3d53;border-radius:7px;margin-bottom:7px;gap:5px 10px}#agenda[data-layout=calendar] .appointment time{grid-column:1;font-size:11px}#agenda[data-layout=calendar] .appointment-name{grid-column:1}#agenda[data-layout=calendar] .appointment-category,#agenda[data-layout=calendar] .appointment-state{display:none}#agenda[data-layout=calendar] .row-arrow{grid-column:2;grid-row:1/3}#agenda[data-layout=calendar] .list-heading{flex-wrap:wrap;margin-bottom:10px}.calendar button[aria-pressed=true]{background:#133757;border-color:#208ee7}.calendar button.outside{opacity:.5}.day-count[data-empty]{visibility:hidden}
@media(min-width:901px) and (min-height:600px){
 .workspace-stage{overflow:hidden}.workspace-stage>#agenda{flex:1}.agenda-body{min-height:0}#agenda[data-layout=list] #day-tasks{min-height:0!important;height:100%;overflow:hidden}#agenda[data-layout=list] .appointments{overflow:auto;scrollbar-width:thin}#agenda[data-layout=list] #detail{overflow:auto;scrollbar-width:thin}#agenda[data-layout=days] .agenda-body{overflow:hidden}#agenda[data-layout=days] #day-tasks{overflow:auto;height:100%;min-height:0!important;padding-right:4px}#agenda[data-layout=calendar] .agenda-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:auto minmax(0,1fr);gap:10px 20px}#agenda[data-layout=calendar] #calendar{grid-column:1;grid-row:1/3;height:100%;margin:0;min-height:0;grid-template-rows:24px repeat(6,minmax(0,1fr));gap:4px}#agenda[data-layout=calendar] .selected-day{grid-column:2;grid-row:1;margin:0;border:0;padding:0;font-size:13px}#agenda[data-layout=calendar] #day-tasks{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0!important}#agenda[data-layout=calendar] .appointments{flex-shrink:0}#agenda[data-layout=calendar] #detail{border-left:0;border-top:1px solid #2c3b50;padding:14px 0 0;flex-shrink:0}.calendar .day-cell-top{font-size:14px}.calendar button{padding:9px}.calendar .day-titles{display:none}.page-bottom-nav{flex:0 0 50px}
}
@media(max-width:1100px){#workspace-sidebar{display:none}.appointment{grid-template-columns:90px minmax(90px,1fr) 65px 15px}.appointment-state{display:none}.list-labels{grid-template-columns:90px minmax(90px,1fr) 65px 15px}.list-labels span:last-child{display:none}.agenda-columns{grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr)}}
@media(min-width:901px) and (max-width:1200px){.workspace-bar label{max-width:350px}.workspace-picker>span{display:none}.view-tabs button{min-width:90px}.list-range button{min-width:38px;padding:6px 8px}.workspace-stage{gap:14px}#agenda[data-layout=calendar] .agenda-body{grid-template-columns:minmax(0,1fr) 255px;gap:10px 14px}}
@media(max-width:900px),(max-height:599px){.workspace-stage{display:block}#workspace-sidebar{display:none}.agenda-columns{grid-template-columns:1fr}.agenda-body{padding-top:12px}.appointment{grid-template-columns:105px minmax(0,1fr) 76px 12px}.list-labels{grid-template-columns:105px minmax(0,1fr) 76px 12px}.appointment-state,.list-labels span:last-child{display:none}#detail{padding:18px 0 0}#agenda[data-layout=days] .appointment{grid-template-columns:100px minmax(0,1fr) 80px 12px}.day-entry #detail{padding:14px}.calendar{grid-template-rows:24px repeat(6,minmax(50px,1fr));gap:4px}.calendar button{min-height:50px}#agenda[data-layout=calendar] .appointment{grid-template-columns:100px minmax(0,1fr) 15px;gap:8px}#agenda[data-layout=calendar] .appointment-name{grid-column:2}#agenda[data-layout=calendar] .row-arrow{grid-column:3;grid-row:1}.workspace-bar .workspace-picker{flex-basis:100%;max-width:none}.workspace-bar button{flex:0 1 auto}.workspace-picker>span{display:inline}.view-tabs{width:auto;flex:1}.list-range{width:auto}.toolbar{gap:10px}.view-tabs button{min-width:0;padding:8px 10px}.day-group-content{grid-template-columns:65px minmax(0,1fr)}}
@media(max-width:600px){.toolbar{flex-direction:column;align-items:stretch}.view-tabs{width:100%;display:flex}.view-tabs button{flex:1;font-size:10px;gap:6px}.list-range{width:100%}.list-range button{flex:1}.datebar .period-heading{width:100%;justify-content:space-between}.datebar h2{font-size:15px}.datebar .date-settings{width:100%}.date-settings .jump,.date-settings .zone-control{width:calc(50% - 5px)}.date-settings .jump input,.date-settings .zone-control select{width:100%}.appointment,#agenda[data-layout=days] .appointment{grid-template-columns:minmax(0,1fr) 16px;gap:5px;padding:13px 10px}.appointment time{grid-column:1;font-size:11px}.appointment-name{grid-column:1}.appointment-category,.list-labels{display:none}.row-arrow{grid-column:2;grid-row:1/3}.appointment strong{font-size:14px}.date-badge{padding:18px 4px}.date-badge strong{font-size:23px}.day-group-content{grid-template-columns:50px minmax(0,1fr)}.day-group>summary{padding:12px 10px;gap:8px;font-size:12px;flex-wrap:wrap}.group-full-date{font-size:10px}.day-entry #detail{padding:12px}.day-entry .detail-line{font-size:11px}.day-entry .detail-actions{margin-top:12px}.day-entry .primary-actions{grid-template-columns:1fr;height:auto}.day-entry .secondary-actions button{font-size:9px;overflow-wrap:anywhere}.day-entry .detail-notes{font-size:12px}.workspace-bar{gap:7px}.workspace-picker{gap:8px}.workspace-picker>span{font-size:9px}.workspace-bar button{font-size:10px;padding:8px 10px}.agenda-shell{padding:14px}.appointment small{font-size:10px}.selected-day{font-size:14px}}

@media(min-width:1101px) and (min-height:600px){body:has(#agenda[data-layout=calendar]) .workspace-picker{display:none}body:has(#agenda[data-layout=calendar]) #notes-open{display:none}}

/* Keep navigation and inline details compact without reducing task text. */
.datebar .period-navigation{margin:0;gap:7px;justify-content:flex-start}.datebar .period-navigation button{white-space:nowrap}.datebar{gap:10px;padding-bottom:12px}.day-entry #detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:16px;align-items:center}.day-entry .detail-time,.day-entry .detail-repeat{display:none}.day-entry .detail-actions{margin:0;width:100%}.day-entry .detail-summary{min-width:0}.day-entry .detail-notes{margin:7px 0}.day-entry .pills{margin:8px 0}
@media(min-width:901px) and (min-height:600px){.agenda-heading .eyebrow,.agenda-heading #agenda-subtitle{display:none}.agenda-heading{margin-bottom:12px;align-items:center}.agenda-heading h1{font-size:20px}.datebar h2{font-size:15px}.datebar .period-heading{gap:10px}.date-settings .jump input,.date-settings .zone-control select{width:130px}}
@media(max-width:700px){.day-entry #detail{display:block}.day-entry .detail-actions{margin-top:12px}.datebar .period-navigation{width:100%;justify-content:space-between;order:3}}
@media(max-width:700px){.datebar .period-navigation button{white-space:normal;min-width:0;flex:1}.datebar .period-navigation button span:not([aria-hidden]){overflow-wrap:anywhere}}

#my-reminders-form .reminder-toggle{display:flex;flex-direction:row;align-items:center;gap:10px;padding:14px;border:1px solid #324760;border-radius:7px;margin:20px 0;font-size:13px}.reminder-toggle input{flex-shrink:0}#team-reminders-options>label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-bottom:18px}#my-reminders-agenda{font-size:16px;font-weight:700;overflow-wrap:anywhere}#my-reminders-form>a{font-size:11px}#my-reminders-form .muted{line-height:1.6}#my-reminders-dialog{width:min(540px,calc(100% - 30px))}

/* V4.34: team responsibility, without changing membership permissions. */
.assignment-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:11px;color:#a9b8cc}.assignment-filter select{width:auto;max-width:100%;min-width:180px;font-size:12px;padding:8px 10px}.appointment .appointment-assignee{color:#9bb9dd;overflow-wrap:anywhere}.detail-assignee{overflow-wrap:anywhere}.detail-assignee strong{font-weight:600;color:#d2e5ff}#assignee-field select{max-width:100%}
@media(max-width:600px){.assignment-filter{gap:7px}.assignment-filter select{flex:1;min-width:0;font-size:11px}.assignment-filter>span{font-size:10px}}

/* V4.36: compact owner controls in the existing team dialog. */
.team-settings{margin:16px 0;border:1px solid #2b394c;border-radius:7px;padding:12px}.team-settings summary{cursor:pointer;font-size:12px;color:#c5d8ef}.rename-team-form{display:flex;align-items:end;gap:10px;margin-top:14px}.rename-team-form label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0;font-size:11px}.rename-team-form input{width:100%}.rename-team-form button{font-size:11px}.member-row{flex-wrap:wrap;gap:12px}.member-identity{flex:1;min-width:120px;overflow-wrap:anywhere}.member-identity strong{font-size:13px}.member-identity small{display:block;margin-top:5px;color:#a6b4c6;font-size:11px}.member-controls{display:flex;gap:7px;flex-wrap:wrap;align-items:center;max-width:100%}.member-controls select{width:auto;max-width:100%;font-size:11px;padding:9px}.member-controls button{font-size:10px;padding:8px 10px}#confirm-text{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:600px){.member-controls{width:100%}.member-controls select{flex:1;min-width:0}.rename-team-form{align-items:stretch;flex-direction:column}}

/* V4.36: one calm agenda header and a centered, stable view switcher. */
.agenda-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;margin-bottom:16px}.agenda-title{display:flex;align-items:center;gap:10px;min-width:0}.agenda-title>svg{width:22px;height:22px;flex:none;color:#94afd0}.agenda-heading h1{font-size:18px;letter-spacing:.04em;margin:0;white-space:nowrap}.agenda-heading #workspace-caption,.agenda-heading #agenda-subtitle{display:none}.agenda-heading>#add{grid-column:3;grid-row:1;gap:7px;min-height:38px;padding:9px 14px;font-size:11px}.agenda-heading>#add svg,.workspace-actions svg{width:16px;height:16px;flex:none}.agenda-heading .workspace-bar{display:flex;gap:10px;margin:0;min-width:0;flex-wrap:wrap;border-left:1px solid #2b394c;padding-left:18px}.agenda-heading .workspace-picker{flex:0 1 220px;max-width:260px;min-width:120px;margin:0;gap:0}.agenda-heading .workspace-picker select{width:100%;min-width:0;min-height:38px;border-color:#33435a;background:#0b1420;padding:8px 12px;font-size:12px}.agenda-heading .workspace-picker>span.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.workspace-actions{display:flex;align-items:center;gap:3px;flex-wrap:wrap;min-width:0}.agenda-heading .workspace-actions button{border-color:transparent;background:transparent;color:#a9bbd1;padding:8px 9px;font-size:10px;min-height:36px;gap:7px}.agenda-heading .workspace-actions button:hover{background:#172638;color:#eef5ff}.toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding-top:13px}.toolbar .view-tabs{grid-column:2;grid-row:1;width:auto;justify-self:center;flex:none}.toolbar .list-range{grid-column:3;grid-row:1;justify-self:end;width:auto;flex:none}.toolbar .list-range button{flex:none}
@media(min-width:1101px) and (min-height:600px){body:has(#agenda[data-layout=calendar]) .agenda-heading .workspace-picker{display:flex}body:has(#agenda[data-layout=calendar]) .agenda-heading #notes-open{display:inline-flex}}
@media(max-width:1200px){.agenda-heading{grid-template-columns:minmax(0,1fr) auto;gap:12px}.agenda-heading>#add{grid-column:2}.agenda-heading .workspace-bar{grid-column:1/-1;grid-row:2;border:0;padding:0}.agenda-heading .workspace-picker{flex-basis:220px;max-width:300px}.toolbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.toolbar .view-tabs button{min-width:86px;padding:8px;font-size:10px}.toolbar .list-range button{min-width:40px;padding:7px;font-size:10px}}
@media(max-width:1000px){.toolbar{grid-template-columns:1fr;gap:10px}.toolbar .view-tabs{grid-column:1;grid-row:1}.toolbar .list-range{grid-column:1;grid-row:2;justify-self:end}.toolbar .list-range button{min-width:46px}}
@media(max-width:600px){.agenda-heading{gap:13px;margin-bottom:14px}.agenda-heading h1{font-size:17px}.agenda-title{gap:8px}.agenda-title>svg{width:19px;height:19px}.agenda-heading .workspace-bar{gap:8px}.agenda-heading .workspace-picker{flex:1 1 100%;max-width:none}.workspace-actions{gap:2px;width:100%}.agenda-heading .workspace-actions button{padding:8px;font-size:10px;flex:none;gap:6px}.toolbar .view-tabs{width:100%;max-width:380px}.toolbar .view-tabs button{min-width:0;flex:1;font-size:10px}.toolbar .list-range{max-width:100%;gap:2px}.toolbar .list-range button{min-width:46px;flex:none;font-size:10px}}
@media(max-width:420px){.agenda-title>svg{display:none}.agenda-heading h1{font-size:16px;letter-spacing:.02em}.agenda-heading>#add{font-size:10px;padding:8px 10px}}

/* Requested order: date/zone left, views centered, periods right; Today between arrows. */
.toolbar .date-settings{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}.toolbar .date-settings .jump,.toolbar .date-settings .zone-control{width:auto;min-width:0;margin:0}.toolbar .date-settings .jump input{width:130px}.toolbar .date-settings .zone-control select{width:112px;max-width:100%}.datebar{justify-content:center;padding:2px 0 12px}.datebar .period-navigation{display:flex;align-items:center;justify-content:center;gap:7px;margin:0;max-width:100%}.datebar .period-navigation button{min-height:34px;padding:7px 11px}.datebar .period-navigation #today{background:transparent;border-color:transparent;color:#b3c9e1;min-width:60px;font-size:10px;letter-spacing:.04em}.datebar .period-navigation #today:hover{background:#172638;color:#fff}
@media(min-width:1001px) and (max-width:1200px){.toolbar .date-settings .jump input{width:122px}.toolbar .date-settings .zone-control select{width:92px}}
@media(max-width:1000px){.toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.toolbar .date-settings{grid-column:1;grid-row:1}.toolbar .list-range{grid-column:2;grid-row:1;justify-self:end}.toolbar .view-tabs{grid-column:1/-1;grid-row:2;justify-self:center}.datebar .period-navigation{width:auto;order:initial}.datebar .period-navigation button{flex:0 1 auto}}
@media(max-width:600px){.toolbar{grid-template-columns:1fr;gap:10px}.toolbar .date-settings{grid-column:1;grid-row:1;justify-self:stretch;max-width:none;width:100%}.toolbar .date-settings .jump,.toolbar .date-settings .zone-control{flex:1;width:calc(50% - 4px)}.toolbar .date-settings .jump input,.toolbar .date-settings .zone-control select{width:100%}.toolbar .view-tabs{grid-column:1;grid-row:2}.toolbar .list-range{grid-column:1;grid-row:3;justify-self:end}.datebar .period-navigation{width:100%;gap:4px}.datebar .period-navigation button{min-width:0;min-height:36px;font-size:10px;padding:6px;gap:4px}.datebar .period-navigation #prev,.datebar .period-navigation #next{flex:1}.datebar .period-navigation #today{min-width:46px;padding:6px 4px;font-size:10px}}
.datebar .period-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}

/* V4.37 — the same reference header in List, By day and Calendar. */
.unified-heading{display:flex;gap:20px;align-items:center;flex-wrap:wrap;position:relative;z-index:5;margin-bottom:14px;flex-shrink:0}.unified-heading .brand{font-size:24px;line-height:32px;padding-right:22px;border-right:1px solid #3c4652}.agenda-menu{position:relative;flex:none}.agenda-menu>summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;min-height:38px;color:#e8edf4}.agenda-menu>summary::-webkit-details-marker{display:none}.agenda-menu>summary:focus-visible{outline:2px solid #62b9ff;outline-offset:3px;border-radius:5px}.menu-chevron{font-size:17px;color:#aebdcd}.agenda-menu .workspace-actions{position:absolute;top:calc(100% + 8px);left:0;width:240px;max-width:calc(100vw - 48px);display:flex;flex-direction:column;align-items:stretch;background:#111d2b;border:1px solid #35465a;border-radius:8px;padding:7px;box-shadow:0 12px 28px #0005;z-index:20}.agenda-menu:not([open]) .workspace-actions{display:none}.unified-heading .workspace-actions button{justify-content:flex-start;font-size:11px;padding:11px;min-height:40px;text-align:left}.unified-heading .workspace-bar{border:0;padding:0;margin:0;flex:0 1 200px;min-width:110px;max-width:230px}.unified-heading .workspace-picker{flex:1;max-width:100%;min-width:0}.unified-heading .workspace-picker select{background:transparent;border-color:transparent;font-size:13px;padding:8px 12px;width:100%}.unified-heading .workspace-picker select:hover{background:#18232f}.header-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-left:auto}.header-tools #notes-open{background:transparent;border-color:transparent;font-size:12px;padding:7px;min-height:38px;color:#b4c0d0}.header-tools #add{padding:10px 13px;min-height:38px;font-size:12px;gap:7px}.header-tools #add svg{width:16px;height:16px;flex:none}.header-tools [data-language-open]{padding:8px;min-height:36px}.header-tools .account-link{font-size:12px;color:#b4c0d0;white-space:nowrap}.header-tools #notes-open:after{content:'';width:1px;height:20px;background:#455363;margin-left:16px}.unified-heading #invitation-dot{color:#4aa9ff;font-size:18px}.unified-heading #workspace-caption,.unified-heading #agenda-subtitle{display:none}.agenda-shell{margin-top:12px}.unified-heading .workspace-picker{display:flex!important}.unified-heading #notes-open{display:inline-flex!important}#workspace-sidebar{display:none!important}
.toolbar .view-tabs button>span[aria-hidden]{display:none}.toolbar .view-tabs{border-radius:5px;padding:0;gap:0}.toolbar .view-tabs button{border-radius:4px;font-size:12px;font-weight:400}.toolbar .list-range{border-radius:5px;padding:0;gap:0}.toolbar .list-range button{border-radius:4px;font-weight:400}.toolbar .list-range button:disabled{opacity:.38;cursor:default}.datebar{display:flex;flex-direction:column;gap:5px;padding:7px 0 16px;flex-shrink:0}.datebar #period{order:2;font-size:14px;letter-spacing:.06em;font-weight:500;line-height:1.4;text-align:center;width:auto}.datebar .period-navigation{order:1;display:grid;grid-template-columns:36px 90px 36px;gap:12px;width:auto}.datebar .period-navigation #prev,.datebar .period-navigation #next{border-color:transparent;background:transparent;min-height:32px;padding:4px}.datebar .period-navigation #today{border:1px solid #405167;min-height:32px;min-width:0;padding:6px 14px;border-radius:7px;font-size:11px}.datebar .period-navigation #prev:hover,.datebar .period-navigation #next:hover{background:#1b2a3b}

/* Only Calendar content changes: a full-width month with inline appointments below. */
#agenda[data-layout=calendar] .agenda-body{display:block;overflow:auto;min-height:0;border-top:0;padding-top:0;scrollbar-width:thin}#agenda[data-layout=calendar] #calendar{display:grid;grid-column:auto;grid-row:auto;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:28px;grid-auto-rows:minmax(76px,auto);gap:0;height:auto;min-height:0;width:100%;margin:0 0 16px;flex:none;border-left:1px solid #2d3a4b;border-top:0}#agenda[data-layout=calendar] #calendar .weekday{display:block;text-align:center;padding:4px 0 9px;font-size:11px;color:#aebdd1;background:#0e1520}.weekday-short{display:none}#agenda[data-layout=calendar] #calendar button{min-height:76px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;padding:8px;border:0;border-right:1px solid #2d3a4b;border-bottom:1px solid #2d3a4b;border-radius:0;background:transparent;min-width:0;overflow:hidden}#agenda[data-layout=calendar] #calendar button:nth-child(n+8):nth-child(-n+14){border-top:1px solid #2d3a4b}#agenda[data-layout=calendar] #calendar button:hover{background:#142436}#agenda[data-layout=calendar] #calendar button[aria-pressed=true]{background:#13253b;box-shadow:inset 0 0 0 1.5px #178bfa}#agenda[data-layout=calendar] #calendar button.outside{opacity:.5}#agenda[data-layout=calendar] #calendar .day-cell-top{font-size:12px;text-align:left;display:flex;justify-content:space-between;width:100%}#agenda[data-layout=calendar] #calendar .day-count{display:none}#agenda[data-layout=calendar] #calendar .day-titles{display:flex;flex-direction:column;width:100%;gap:4px;min-width:0}#agenda[data-layout=calendar] #calendar .calendar-event{display:block;border-radius:4px;background:#233044;padding:5px 7px;text-align:left;min-width:0;max-width:100%;line-height:1.35}#agenda[data-layout=calendar] #calendar .calendar-event-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:400;color:#e6edf5}.calendar-event-title:before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#3299f5}.cat-work .calendar-event-title:before{background:#50bb92}.cat-event .calendar-event-title:before{background:#c18ce9}#agenda[data-layout=calendar] #calendar .calendar-event-time{display:block;font-size:10px;color:#a6b7cc;margin:2px 0 0 13px}#agenda[data-layout=calendar] #calendar .day-titles>small{font-size:10px;text-align:left;color:#9fb6d2}
#agenda[data-layout=calendar] #selected-day{font-size:15px;margin:0 0 9px;padding:0;color:#e5edf6;grid-column:auto;grid-row:auto}#agenda[data-layout=calendar] #day-tasks{display:block;grid-column:auto;grid-row:auto;height:auto;min-height:0!important;overflow:visible;padding-bottom:5px}#agenda[data-layout=calendar] .appointments{overflow:visible}#agenda[data-layout=calendar] .list-heading{justify-content:flex-end;margin:0 0 8px}#agenda[data-layout=calendar] #list-title{display:none}.calendar-entry{border:1px solid #2b3b50;border-radius:6px;margin-bottom:6px;overflow:hidden;background:#111d2b}#agenda[data-layout=calendar] .calendar-entry .appointment{display:grid;grid-template-columns:130px minmax(0,1fr) 85px 80px 18px;border:0;border-radius:0;padding:11px 13px;gap:13px;margin:0;min-height:48px;background:transparent}#agenda[data-layout=calendar] .calendar-entry .appointment[aria-expanded=true]{background:#1c2c40}#agenda[data-layout=calendar] .calendar-entry .appointment time{grid-column:auto;font-size:12px}#agenda[data-layout=calendar] .calendar-entry .appointment-name{grid-column:auto}#agenda[data-layout=calendar] .calendar-entry .appointment-category,#agenda[data-layout=calendar] .calendar-entry .appointment-state{display:flex}#agenda[data-layout=calendar] .calendar-entry .row-arrow{grid-column:auto;grid-row:auto}#agenda[data-layout=calendar] .calendar-entry #detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.55fr);gap:20px;align-items:center;border:0;padding:0 14px 14px 157px;background:#1c2c40;overflow:visible;min-width:0}#agenda[data-layout=calendar] .calendar-entry .detail-title,#agenda[data-layout=calendar] .calendar-entry .private,#agenda[data-layout=calendar] .calendar-entry .detail-time{display:none}#agenda[data-layout=calendar] .calendar-entry .detail-summary{min-width:0}#agenda[data-layout=calendar] .calendar-entry .detail-line{font-size:11px;margin:3px 0}#agenda[data-layout=calendar] .calendar-entry .detail-notes{background:transparent;padding:0;margin:5px 0;font-size:12px}#agenda[data-layout=calendar] .calendar-entry .pills{margin:5px 0}#agenda[data-layout=calendar] .calendar-entry .pills:empty{display:none}#agenda[data-layout=calendar] .calendar-entry .detail-actions{margin:0}#agenda[data-layout=calendar] .calendar-entry .detail-actions button,#agenda[data-layout=calendar] .calendar-entry .detail-actions a{font-size:10px;min-height:31px;padding:7px 9px}
@media(max-width:1100px){.unified-heading{gap:12px}.unified-heading .brand{font-size:21px;padding-right:14px}.unified-heading .workspace-bar{flex-basis:160px;max-width:200px}.header-tools{gap:8px}.header-tools #notes-open:after{margin-left:8px}.header-tools #add{font-size:11px}.unified-heading .header-tools{flex:1;justify-content:flex-end}.toolbar .view-tabs button{font-size:11px}#agenda[data-layout=calendar] .calendar-entry #detail{padding-left:14px}}
@media(max-width:760px){.unified-heading{gap:10px;justify-content:flex-start}.unified-heading .brand{padding-right:12px;font-size:21px}.agenda-menu>summary{font-size:12px;gap:8px}.unified-heading .workspace-bar{flex:1;max-width:none;min-width:100px}.unified-heading .header-tools{flex:1 1 100%;justify-content:flex-end;gap:9px}.header-tools #add{font-size:11px}.header-tools .account-link{font-size:11px}.header-tools [data-language-open]{padding:5px}.header-tools #notes-open:after{display:none}.agenda-menu .workspace-actions{left:auto;right:-60px}.weekday-long{display:none}.weekday-short{display:inline}#agenda[data-layout=calendar] #calendar{grid-auto-rows:minmax(65px,auto)}#agenda[data-layout=calendar] #calendar button{padding:5px;min-height:65px}#agenda[data-layout=calendar] #calendar .calendar-event{padding:3px}#agenda[data-layout=calendar] #calendar .calendar-event-title{font-size:10px}.calendar-event-title:before{width:5px;height:5px;margin-right:3px}#agenda[data-layout=calendar] #calendar .calendar-event-time{display:none}#agenda[data-layout=calendar] .calendar-entry .appointment{grid-template-columns:105px minmax(0,1fr) 15px;gap:8px}#agenda[data-layout=calendar] .calendar-entry .appointment-category,#agenda[data-layout=calendar] .calendar-entry .appointment-state{display:none}#agenda[data-layout=calendar] .calendar-entry #detail{display:block;padding:0 12px 12px}#agenda[data-layout=calendar] .calendar-entry .detail-actions{margin-top:10px}}
@media(max-width:480px){.unified-heading .workspace-bar{flex:1 1 100%;max-width:100%;margin:0}.unified-heading .workspace-picker select{padding-left:0}.unified-heading .header-tools{justify-content:space-between;gap:6px}.header-tools #add{font-size:10px;padding:9px 8px}.header-tools #notes-open{font-size:11px;padding:5px}.header-tools .account-link{font-size:10px}.header-tools [data-language-open]{padding:4px}.header-tools [data-language-open] svg{width:16px;height:16px}.datebar #period{font-size:12px;letter-spacing:.02em}#agenda[data-layout=calendar] #calendar .day-titles{display:none}#agenda[data-layout=calendar] #calendar .day-count{display:inline-block;font-size:9px;min-width:14px;padding:2px}#agenda[data-layout=calendar] #calendar .day-cell-top{font-size:11px}#agenda[data-layout=calendar] #calendar button{min-height:48px}#agenda[data-layout=calendar] #calendar{grid-auto-rows:minmax(48px,auto)}#agenda[data-layout=calendar] .calendar-entry .appointment{grid-template-columns:minmax(0,1fr) 16px;gap:5px;padding:11px}#agenda[data-layout=calendar] .calendar-entry .appointment time,#agenda[data-layout=calendar] .calendar-entry .appointment-name{grid-column:1}#agenda[data-layout=calendar] .calendar-entry .row-arrow{grid-column:2;grid-row:1/3}}

/* V4.37 — appointment colors remain accents, with legible neutral text. */
.event-color-field{display:flex;flex-direction:column;gap:7px}.event-color-field>label{font-size:12px;color:#b8c8dc}.event-color-controls{display:flex;gap:8px;align-items:center;min-width:0}.event-color-controls input[type=color]{width:44px;height:38px;min-width:44px;padding:4px;cursor:pointer;background:#0c1521}.event-color-controls button{font-size:11px;min-height:38px;padding:6px 10px}.event-color-controls button[aria-pressed=true]{border-color:#428dd5;background:#142a43}.appointment .appointment-category:before,.calendar-event .calendar-event-title:before{background:var(--event-color,#2695f7)}.appointment .appointment-name{border-left:3px solid var(--event-color,#2695f7);padding-left:10px}.preview-row{border-left:3px solid var(--event-color,#2695f7);padding-left:8px}
.form-grid .event-color-field{margin-bottom:15px}.form-grid .event-color-field>label{margin:0;gap:0}.event-color-controls input[type=color]{min-height:42px}.event-color-controls button{min-height:42px}
@media(min-width:761px){#agenda[data-layout=calendar] #calendar{grid-auto-rows:minmax(68px,auto)}#agenda[data-layout=calendar] #calendar button{min-height:68px}#agenda[data-layout=calendar] .list-heading{margin-top:-23px;margin-bottom:12px}#agenda[data-layout=calendar] #selected-day{padding-right:240px}#agenda[data-layout=calendar] .calendar-entry .detail-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}#agenda[data-layout=calendar] .calendar-entry .primary-actions,#agenda[data-layout=calendar] .calendar-entry .secondary-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0}#agenda[data-layout=calendar] .calendar-entry .complete-action{width:auto;flex:none}}

/* V4.38: uppercase header and matching chevrons. */
.unified-heading .agenda-menu>summary,.unified-heading .workspace-picker select,.unified-heading .header-tools{text-transform:uppercase;font-size:11px;letter-spacing:.035em}.unified-heading .agenda-menu>summary{font-weight:600;gap:12px;min-height:38px}.unified-heading .menu-chevron,.unified-heading .workspace-chevron{width:16px;height:16px;flex:0 0 16px;color:#c4cbd4}.unified-heading .workspace-picker{position:relative}.unified-heading .workspace-picker select{appearance:none;-webkit-appearance:none;padding-right:30px!important;cursor:pointer}.unified-heading .workspace-chevron{position:absolute;right:8px;top:50%;transform:translateY(-50%);pointer-events:none}.unified-heading .agenda-menu[open] .menu-chevron{transform:rotate(180deg)}.unified-heading .workspace-actions button{text-transform:uppercase}.unified-heading .header-tools button,.unified-heading .header-tools a{font-size:11px}
@media(max-width:480px){.unified-heading .header-tools button,.unified-heading .header-tools a{font-size:10px;letter-spacing:0}.unified-heading .agenda-menu>summary{font-size:11px}.unified-heading .workspace-picker select{font-size:11px}}
/* The weekday heading has no outer side borders. Keep the date grid closed. */
#agenda[data-layout=calendar] #calendar{border-left:0}#agenda[data-layout=calendar] #calendar button:nth-child(7n+8){border-left:1px solid #2d3a4b}
.unified-heading .header-tools #notes-open,.unified-heading .header-tools #add,.unified-heading .header-tools .account-link{text-transform:uppercase}

/* V4.39: one compact filter control for all views. */
#filters-open{min-height:30px;padding:5px 9px;font-size:10px;gap:6px;background:#111;border-color:#39414c;color:#e1e6ed;white-space:nowrap}#filters-open svg{width:15px;height:15px}#filters-open.has-filters{background:#142a40;border-color:#4986bd}#filter-count{min-width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#2684d5;color:#fff;font-size:10px}#filters-dialog{width:min(430px,calc(100% - 28px));background:#0b0b0b;border-color:#333}#filters-dialog .dialog-heading{margin-bottom:20px}#filters-dialog .dialog-heading h2{font-size:17px}#filters-dialog input:not([type=checkbox]),#filters-dialog select{background:#111;border-color:#383838;color:#eee}#filters-form>label{margin-bottom:8px;gap:8px;color:#ccc}#filters-form .filter-scope{font-size:11px;color:#999;margin:8px 0 20px}#filters-form .assignment-filter{display:flex;align-items:stretch;margin:17px 0}#filters-form .assignment-filter select{max-width:none;width:100%}#filters-form .filter-finished{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;margin-top:20px}#filter-results{font-size:12px;color:#aaa;margin:18px 0 0}#filters-dialog button:not(.primary){background:#111;border-color:#333}#filters-dialog button:not(.primary):hover{background:#222}#filters-dialog .dialog-actions{justify-content:space-between}#filters-dialog .dialog-actions button{font-size:11px}#filters-dialog .dialog-actions button.primary{min-width:90px}
@media(min-width:761px){#agenda[data-layout=calendar] .list-heading{margin-top:-29px;margin-bottom:12px}#agenda[data-layout=calendar] #selected-day{padding-right:140px}}

/* V4.48: direct HUD shortcut beside the calendar selector. */
.unified-heading .hud-quick-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;font-size:11px;letter-spacing:.035em;white-space:nowrap;background:#111;border-color:#35414d;color:#eee}
.unified-heading .hud-quick-button svg{width:16px;height:16px;flex:none}
#reminder-help,#monthly-help{font-size:12px;line-height:1.5}#monthly-help{grid-column:1/-1;margin:0 0 8px}
#channels{margin-bottom:20px}#channels:disabled{opacity:.6}#team-reminders-shortcut{margin:0 0 20px}
@media(max-width:480px){.unified-heading .workspace-bar{flex:1;min-width:90px}.unified-heading .hud-quick-button{font-size:10px;padding:7px}}
