@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root{font-family:Inter,system-ui,sans-serif;color:#151620;background:#ededf0;--line:#e7e7ec;--violet:#933bc2}*{box-sizing:border-box}body{margin:0;background:#ededf0;font-size:13px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.sidebar{position:fixed;inset:18px auto 18px 18px;width:210px;padding:16px 11px 12px;border:1px solid var(--line);border-radius:24px;background:#fff;display:flex;flex-direction:column;z-index:20;transition:.2s}.brand{height:54px;padding:0 6px 14px;border:0;border-bottom:1px solid #e8eaf1;background:transparent;cursor:pointer}.brand img{width:38px;height:38px;border-radius:12px}.product-nav{display:grid;gap:3px;overflow:auto;margin:7px -2px 12px;padding:0 2px 12px}.nav-label{margin:14px 9px 6px;color:#9298aa;text-transform:uppercase;letter-spacing:.1em;font-size:9px;font-weight:700}.product-nav>a,.product-nav summary{height:40px;padding:0 9px;display:flex;align-items:center;gap:9px;border-radius:11px;list-style:none;cursor:pointer;font-size:12.5px;font-weight:600;color:#626a80}.product-nav>a>span,.product-nav summary>span{width:20px;min-width:20px;text-align:center;font-size:16px}.product-nav>a:hover,.product-nav summary:hover{background:#f3f4f8;color:#171820}.product-nav>a.active{background:#151727;color:#fff}.product-nav summary::-webkit-details-marker{display:none}.product-nav summary:after{content:'›';margin-left:auto}.product-nav details>div{display:grid;margin:3px 0 6px 31px;padding:4px 0 4px 11px;border-left:1px solid #dfe2eb}.product-nav details>div a{padding:7px 9px;color:#747c92;font-size:11px}.account{margin-top:auto;border:0;border-radius:12px;background:#f2f4f8;padding:7px;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;text-align:left}.account>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#5875ed;color:#fff}.account b,.account small{display:block}.account small{color:#777f92;font-size:10px}main{height:calc(100vh - 36px);margin:18px 18px 18px 246px;border:1px solid #e5e5ea;border-radius:24px;background:#fff;overflow:hidden;transition:.2s}.topbar{height:82px;padding:0 28px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #eeeef2}.topbar>div p{margin:0 0 4px;color:#8e909a;font-size:8px;letter-spacing:.08em}.topbar h1{margin:0;font-size:21px}.menu{width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.search{margin-left:auto;width:280px;height:40px;padding:0 13px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;background:#f8f8fa;color:#7b7d87}.search input{width:100%;border:0;outline:0;background:transparent}.add-event{height:40px;padding:0 15px;border:0;border-radius:11px;background:#151620;color:#fff;font-weight:700;cursor:pointer}.calendar-shell{height:calc(100% - 82px);padding:22px 28px 28px;background:#fafafa}.calendar-toolbar{height:70px;padding:0 14px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:17px 17px 0 0;background:#fff}.date-chip{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px}.date-chip b{font-size:8px;color:#888b96}.date-chip strong{font-size:18px;margin-top:-8px}.calendar-toolbar h2{margin:0 0 4px;font-size:16px}.calendar-toolbar p{margin:0;color:#7d808d;font-size:10px}.view-actions{margin-left:auto;display:flex}.view-actions button,.view-actions select{height:36px;padding:0 12px;border:1px solid var(--line);background:#fff}.view-actions button:first-child{border-radius:9px 0 0 9px}.view-actions select{margin-left:9px;border-radius:9px}.calendar-body{height:calc(100% - 70px);display:grid;grid-template-columns:minmax(600px,1fr) 300px;border:1px solid var(--line);border-top:0;border-radius:0 0 17px 17px;background:#fff;overflow:hidden}.day-schedule{position:relative;display:grid;grid-template-columns:58px 1fr;grid-template-rows:repeat(10,1fr);min-height:0;overflow:auto}.time{padding:8px 10px 0 0;color:#8c8e97;text-align:right;font-size:9px}.rule{border-top:1px solid #eeeeF2}.schedule-event{position:absolute;left:66px;right:10px;padding:9px 11px;border:1px solid #e5d9ed;border-radius:9px;background:#f7effb;color:#65218c;text-align:left;cursor:pointer}.schedule-event b,.schedule-event small{display:block}.schedule-event b{font-size:10px}.schedule-event small{margin-top:4px;font-size:9px}.schedule-event span{position:absolute;right:9px;top:9px;font-size:8px}.schedule-event.selected{outline:2px solid rgba(147,59,194,.22)}.standup{top:11%;height:6%;background:#f5f5f6;border-color:#e7e7ea;color:#4c4f59}.shoot{top:22%;height:19%}.review{top:58%;height:11%;background:#edf2ff;border-color:#d5def7;color:#3f4f91}.delivery{top:73%;height:15%;background:#f9f2ea;border-color:#ede0d2;color:#845d37}.calendar-inspector{border-left:1px solid var(--line);overflow:auto}.mini-head{height:56px;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.mini-head h3{font-size:13px}.mini-head button{border:0;background:transparent}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;padding:0 15px 14px;border-bottom:1px solid var(--line);text-align:center}.month-grid>*{position:relative;height:25px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;font-size:9px}.month-grid b{height:18px;color:#838690}.month-grid .muted{color:#b7b9c0}.month-grid .dot:after{content:'';position:absolute;bottom:0;width:3px;height:3px;border-radius:50%;background:var(--violet)}.month-grid .chosen{background:#171820;color:#fff}.event-detail{padding:18px}.event-detail>small{color:var(--violet);font-size:8px;font-weight:700;letter-spacing:.08em}.detail-title{display:flex;align-items:center;justify-content:space-between}.detail-title h3{font-size:16px}.detail-title button{border:0;background:transparent}.event-detail p{color:#666a77;font-size:10px;line-height:1.45}.team{display:flex;align-items:center;margin:14px 0}.team i{width:29px;height:29px;margin-right:-5px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#eee5f2;color:#702b95;font-size:7px;font-style:normal;font-weight:700}.team span{margin-left:12px}.team b,.team small{display:block;font-size:9px}.team small{margin-top:2px;color:#898b94}.event-detail h4{margin:20px 0 6px;font-size:11px}.event-detail a{display:inline-block;margin-top:8px;color:var(--violet);font-size:10px;font-weight:700}.event-dialog{width:min(460px,calc(100% - 32px));padding:0;border:0;border-radius:20px;box-shadow:0 25px 80px rgba(20,15,25,.24)}.event-dialog::backdrop{background:rgba(20,20,28,.35);backdrop-filter:blur(3px)}.event-dialog form{padding:22px}.event-dialog header{display:flex;justify-content:space-between}.event-dialog header small{color:var(--violet);font-size:9px;font-weight:700}.event-dialog h2{margin:5px 0 20px}.event-dialog header button{border:0;background:transparent;font-size:22px}.event-dialog label{display:grid;gap:6px;margin-top:12px;color:#666a77;font-size:10px;font-weight:600}.event-dialog input,.event-dialog select{padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.event-dialog footer button{padding:10px 14px;border:0;border-radius:9px}.event-dialog .primary{background:#171820;color:#fff}.nav-collapsed .sidebar{width:72px}.nav-collapsed .nav-label{height:8px;overflow:hidden;color:transparent}.nav-collapsed .product-nav>a,.nav-collapsed .product-nav summary{width:48px;overflow:hidden;font-size:0}.nav-collapsed .product-nav summary:after,.nav-collapsed .product-nav details>div{display:none}.nav-collapsed .account{width:48px;overflow:hidden}.nav-collapsed .account>span+span{opacity:0}.nav-collapsed main{margin-left:108px}
@media(max-width:1050px){.calendar-body{grid-template-columns:1fr 270px}.search{display:none}}
@media(max-width:760px){.sidebar{inset:0 auto 0 0;width:278px;border-radius:0;transform:translateX(-100%)}.nav-open .sidebar{transform:none}main{height:auto;min-height:100vh;margin:0;border:0;border-radius:0}.topbar{height:70px;padding:0 14px}.topbar>div{display:none}.add-event{margin-left:auto}.calendar-shell{height:auto;padding:14px}.calendar-toolbar{height:auto;padding:12px}.calendar-toolbar>div:nth-child(2){display:none}.view-actions{margin-left:0;width:100%;justify-content:flex-end}.calendar-body{height:auto;display:block}.day-schedule{height:650px}.calendar-inspector{border-left:0;border-top:1px solid var(--line)}.month-grid>*{height:38px}.event-detail{padding-bottom:30px}}
.month-grid .chosen{width:25px!important;height:25px!important;aspect-ratio:1;justify-self:center}@media(max-width:760px){.month-grid .chosen{width:38px!important;height:38px!important}}

/* AI Home-aligned typography, iconography and interactive calendar views. */
.product-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.product-nav>a.active svg{stroke-width:2}
.topbar>div p{font-size:10px;line-height:14px;font-weight:700;letter-spacing:.1em}.topbar h1{font-size:22px;line-height:28px;letter-spacing:-.025em}.search{font-size:12.5px}.add-event{font-size:12px}.calendar-toolbar h2{font-size:17px;line-height:22px;letter-spacing:-.02em}.calendar-toolbar p{font-size:10.5px;line-height:15px}.view-actions button,.view-actions select{font-size:11px;font-weight:600}.date-chip b{font-size:9px}.schedule-event b{font-size:11.5px;line-height:15px}.schedule-event small{font-size:9.5px;line-height:13px}.schedule-event.tone-neutral,.tone-neutral{background:#f5f5f6!important;border-color:#e7e7ea!important;color:#4c4f59!important}.schedule-event.tone-violet,.tone-violet{background:#f7effb!important;border-color:#e5d9ed!important;color:#65218c!important}.schedule-event.tone-blue,.tone-blue{background:#edf2ff!important;border-color:#d5def7!important;color:#3f4f91!important}.schedule-event.tone-sand,.tone-sand{background:#f9f2ea!important;border-color:#ede0d2!important;color:#845d37!important}
.month-grid>*{font-size:10px}.event-detail>small{font-size:9.5px;line-height:13px}.event-detail p{font-size:10.5px;line-height:1.5}.team b,.team small{font-size:10px}.event-detail h4{font-size:11.5px}.event-detail a{font-size:10.5px}
.week-view{min-width:0;display:grid;grid-template-columns:52px repeat(7,minmax(90px,1fr));overflow:auto}.week-hours{display:grid;padding-top:59px;grid-template-rows:repeat(5,1fr);border-right:1px solid var(--line)}.week-hours b{padding:6px;color:#8a8e9b;font-size:9px;font-weight:500}.week-day{min-width:90px;border-right:1px solid var(--line)}.week-date{width:100%;height:58px;border:0;border-bottom:1px solid var(--line);background:#fff;display:grid;place-items:center;align-content:center;gap:4px}.week-date small{color:#858995;font-size:9px;text-transform:uppercase}.week-date b{font-size:14px}.week-day.current .week-date b{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#171820;color:#fff}.week-day>div{height:calc(100% - 58px);padding:8px;display:grid;align-content:start;gap:7px;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(20% - 1px),#f0f0f3 20%)}.week-event{min-height:62px;padding:8px;border:1px solid;border-radius:9px;text-align:left;display:grid;gap:3px}.week-event time{font-size:8.5px;font-weight:700}.week-event b{font-size:10px;line-height:13px}.week-event small{font-size:8.5px;line-height:12px}
.month-view{min-width:0;display:block;overflow:auto}.month-view>header{height:38px;display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line)}.month-view>header b{display:grid;place-items:center;color:#777b89;font-size:9.5px;text-transform:uppercase}.month-cells{height:calc(100% - 38px);min-height:570px;display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));grid-template-rows:repeat(6,minmax(92px,1fr))}.month-cell{min-width:110px;padding:8px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;text-align:left;display:flex;flex-direction:column;gap:4px}.month-cell>strong{align-self:flex-end;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;font-size:10.5px}.month-cell.current>strong{background:#171820;color:#fff}.month-cell.outside{background:#fafafa;color:#b3b5bd}.month-cell span{padding:4px 5px;border:1px solid;border-radius:5px;overflow:hidden;color:inherit;font-size:8.5px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.month-cell span i{margin-right:4px;font-size:7.5px;font-style:normal}.month-cell em{color:#777b89;font-size:8px;font-style:normal}
button,a,select{transition:border-color .16s,background .16s,color .16s,transform .16s}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid rgba(103,48,255,.24);outline-offset:2px}.view-actions button:hover,.view-actions select:hover,.mini-head button:hover{background:#f5f2fb}.add-event:hover{background:#6730ff}.schedule-event:hover,.week-event:hover,.month-cell:hover{filter:brightness(.98)}
@media(max-width:760px){.calendar-toolbar{flex-wrap:wrap}.date-chip{display:none}.view-actions{justify-content:space-between}.view-actions select{margin-left:auto}.calendar-body{display:flex;flex-direction:column}.week-view{height:620px}.month-view{height:560px}.month-cells{min-height:520px;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,1fr)}.month-cell{min-width:0;padding:5px;align-items:center}.month-cell>strong{align-self:center}.month-cell span{width:5px;height:5px;padding:0;border:0;border-radius:50%;font-size:0;background:#6730ff!important}.month-cell span.tone-blue{background:#5277dc!important}.month-cell span.tone-sand{background:#c17b36!important}.month-cell span.tone-neutral{background:#737785!important}.month-cell em{font-size:0}.calendar-inspector{max-height:none}.topbar h1{font-size:20px}.schedule-event b{font-size:11px}}
.day-schedule{grid-template-rows:repeat(14,1fr)}
.week-hours{grid-template-rows:repeat(7,1fr)}
.team-view{min-width:0;display:grid;grid-template-columns:58px repeat(4,minmax(180px,1fr));overflow:auto}.team-time{display:grid;padding-top:66px;grid-template-rows:repeat(14,minmax(48px,1fr));border-right:1px solid var(--line)}.team-time b{padding:6px;color:#8a8e9b;font-size:9px;font-weight:500}.team-column{min-width:180px;border-right:1px solid var(--line)}.team-column>header{height:66px;padding:0 12px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:2}.team-column>header i{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#f0eaff;color:#6730ff;font-size:9px;font-style:normal;font-weight:800}.team-column>header span{min-width:0;display:grid;gap:2px}.team-column>header b{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.team-column>header small{color:#858995;font-size:8.5px}.team-column>header em{margin-left:auto;display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#171820;color:#fff;font-size:8px;font-style:normal}.team-column>div{position:relative;height:calc(100% - 66px);min-height:672px;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(7.142% - 1px),#ececf1 7.142%)}.team-event{position:absolute;left:7px;right:7px;min-height:38px;padding:7px;border:1px solid;border-radius:8px;text-align:left;display:grid;align-content:start;gap:2px;overflow:hidden}.team-event time{font-size:8px;font-weight:700}.team-event b{font-size:10px;line-height:13px}.team-event small{font-size:8px;line-height:11px}.team-event.selected{outline:2px solid rgba(103,48,255,.25);outline-offset:1px}
@media(max-width:760px){.team-view{height:740px;grid-template-columns:52px repeat(4,180px)}.team-time{grid-template-rows:repeat(14,48px)}}

/* Calendar redesign: AI-guided weekly planning surface. */
.calendar-page-label{position:absolute;left:34px;top:43px}.topbar .calendar-page-label small{color:#747886;font-size:10.5px;line-height:15px;font-weight:800;letter-spacing:.12em}
main{overflow:auto;background:#fbfbfc}.topbar{height:92px;padding:0 28px;border-bottom:0}.topbar>div{display:grid;gap:4px}.topbar>div h1{order:1;font-size:30px;line-height:34px}.topbar>div p{order:2;margin:0;color:#777b89;font-size:12.5px;font-weight:500;letter-spacing:0}.calendar-shell{height:auto;min-height:calc(100% - 92px);padding:0 28px 28px;background:#fbfbfc}.calendar-toolbar{height:58px;padding:0;border:0;background:transparent}.calendar-toolbar .date-chip{display:none}.calendar-toolbar>div:nth-child(2){display:grid}.calendar-toolbar>div:nth-child(2) h2{font-size:14px}.calendar-toolbar>div:nth-child(2) p{font-size:10px}.view-actions button,.view-actions select{height:40px}.calendar-ai{position:relative;min-height:72px;padding:14px 54px 14px 18px;display:grid;grid-template-columns:34px 1fr auto 70px;align-items:center;gap:12px;border:1px solid #eee8fb;border-radius:16px;background:linear-gradient(90deg,#fff 0%,#fbf8ff 72%,#f0e6ff 100%);overflow:hidden}.calendar-ai>i{color:#6730ff;font-size:27px;font-style:normal}.calendar-ai>div{display:grid;gap:4px}.calendar-ai b{font-size:11.5px}.calendar-ai span{color:#686c7a;font-size:11px}.calendar-ai>a{position:relative;z-index:2;color:#7433d4;font-size:10.5px;font-weight:800}.calendar-ai>em{position:absolute;right:40px;bottom:-38px;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff 0 7%,#d9b7ff 25%,#8a4ce8 62%,#6730ff 100%);box-shadow:0 0 30px rgba(103,48,255,.22)}.calendar-ai>button{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#737785;font-size:19px}.calendar-metrics{min-height:78px;margin:12px 0 14px;padding:12px 18px;display:grid;grid-template-columns:repeat(4,1fr) 1.15fr;align-items:center;border:1px solid var(--line);border-radius:16px;background:#fff}.calendar-metrics article{height:48px;padding:0 22px;display:flex;align-items:center;gap:13px;border-right:1px solid var(--line)}.calendar-metrics article:first-child{padding-left:0}.calendar-metrics article>i{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#f0eaff;color:#6730ff;font-size:16px;font-style:normal}.calendar-metrics article>div{display:grid;gap:2px}.calendar-metrics article b{font-size:18px;line-height:20px}.calendar-metrics article span{color:#777b89;font-size:9.5px}.calendar-metrics blockquote{margin:0;padding-left:24px;color:#5b5e6b;font:600 13px/1.35 Inter,system-ui,sans-serif}.calendar-body{height:780px;grid-template-columns:minmax(720px,1fr) 310px;border:1px solid var(--line);border-radius:17px;background:#fff}.week-view{grid-template-columns:56px repeat(7,minmax(118px,1fr))}.week-hours{padding-top:64px;grid-template-rows:repeat(14,1fr)}.week-hours b{padding:4px 7px;font-size:8.5px}.week-date{height:64px}.week-date small{font-size:9px}.week-date b{font-size:15px}.week-day>div{position:relative;height:calc(100% - 64px);padding:0;display:block;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(7.142% - 1px),#ececf1 7.142%)}.week-day.current>div{background:repeating-linear-gradient(to bottom,#fcfaff 0,#fcfaff calc(7.142% - 1px),#e9e3f4 7.142%)}.week-event{position:absolute;left:7px;right:7px;min-height:34px;padding:7px;border:1px solid;border-left-width:3px;border-radius:8px;text-align:left;display:grid;align-content:start;gap:2px;overflow:hidden;z-index:1}.week-event time{font-size:8px;font-weight:700}.week-event b{font-size:10px;line-height:13px}.week-event small{font-size:8.5px;line-height:11px}.week-event.selected{outline:2px solid #6730ff;outline-offset:1px}.tone-cyan{background:#e9fffd!important;border-color:#35d5d2!important;color:#176d72!important}.tone-pink{background:#fff0f5!important;border-color:#ff75a5!important;color:#9f3158!important}.calendar-inspector{background:#fff}.mini-head{height:60px}.month-grid{padding-bottom:16px}.event-detail{padding:16px 18px 20px;border-top:1px solid var(--line)}.event-detail>small{color:#777b89}.detail-title h3{margin:8px 0 2px;font-size:18px}.detail-title button{width:34px;height:34px;border-radius:50%;background:#f3effa}.event-detail .event-time{margin:2px 0 12px;color:#6730ff;font-weight:800}.event-cover{width:100%;height:78px;border-radius:9px;object-fit:cover}.event-link{margin:0!important;padding:10px 0;display:grid!important;grid-template-columns:30px 1fr 12px;align-items:center;gap:8px;border-bottom:1px solid var(--line);color:#171820!important}.event-link>i{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#f5f5f7;font-style:normal}.event-link span{display:grid;gap:2px}.event-link small{color:#858995;font-size:8.5px}.event-link b{font-size:10px}.event-link strong{color:#777b89}.event-status{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:9.5px}.event-status span{color:#858995}.event-status b{color:#6730ff}.event-detail .team{margin:12px 0}.open-work{width:100%;padding:11px!important;border-radius:9px;background:#151620;color:#fff!important;text-align:center}.event-buttons{margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.event-buttons button{padding:9px;border:0;border-radius:8px;background:#f1f1f4;font-size:9px;font-weight:700}
@media(max-width:1050px){.calendar-metrics{grid-template-columns:repeat(4,1fr)}.calendar-metrics blockquote{display:none}.calendar-body{grid-template-columns:minmax(650px,1fr) 280px}}
@media(max-width:760px){.topbar{height:76px}.topbar>div{display:grid}.topbar>div h1{font-size:22px}.topbar>div p{display:none}.calendar-shell{padding:0 14px 20px}.calendar-toolbar{height:58px}.calendar-toolbar>div:nth-child(2){display:none}.calendar-ai{grid-template-columns:28px 1fr}.calendar-ai>a,.calendar-ai>em{display:none}.calendar-ai span{font-size:10px}.calendar-metrics{grid-template-columns:1fr 1fr;padding:8px 12px}.calendar-metrics article{padding:8px;border-right:0}.calendar-metrics article>i{width:32px;height:32px}.calendar-body{height:auto;display:flex;grid-template-columns:none}.week-view{height:740px;grid-template-columns:52px repeat(7,150px)}.week-hours{grid-template-rows:repeat(14,48px)}.calendar-inspector{max-height:none}.event-cover{height:120px}}
.topbar .page-heading{display:grid;gap:2px}.topbar .page-heading small{color:#747886;font-size:10.5px;line-height:15px;font-weight:800;letter-spacing:.12em}.topbar .page-heading h1{margin:1px 0 0;font:700 28px/34px Inter,system-ui,sans-serif;letter-spacing:-.035em;color:#141620}.topbar .page-heading span{color:#6d7080;font-size:12.5px;line-height:18px}
@media(max-width:760px){.topbar .page-heading{gap:0}.topbar .page-heading small,.topbar .page-heading span{display:none}.topbar .page-heading h1{font-size:22px;line-height:28px}}
.topbar.calendar-actions{position:relative;height:84px;justify-content:flex-end}.calendar-actions>.menu{display:none}.calendar-actions+.calendar-shell{min-height:calc(100% - 84px)}
@media(max-width:760px){.topbar.calendar-actions{height:78px;padding:28px 14px 0}.calendar-page-label{left:14px;top:9px}.topbar .calendar-page-label small{font-size:8px}.calendar-actions>.menu{display:grid;margin-right:auto}.calendar-actions+.calendar-shell{min-height:calc(100% - 78px)}}

/* Navigation state changes must never animate or drag page content sideways. */
.sidebar,main{transition:none!important}

/* Calendar period is the page's primary narrative heading. */
.calendar-toolbar{height:88px;align-items:center}
.calendar-toolbar>div:nth-child(2) h2{margin:0 0 5px;color:#111219;font-size:36px;line-height:1.1;font-weight:700;letter-spacing:-.045em}
.calendar-toolbar>div:nth-child(2) p{color:#747886;font-size:11px;line-height:16px}
@media(max-width:760px){.calendar-toolbar{height:72px}.calendar-toolbar>div:nth-child(2){display:grid!important;min-width:0}.calendar-toolbar>div:nth-child(2) h2{overflow:hidden;font-size:24px;line-height:29px;white-space:nowrap;text-overflow:ellipsis}.calendar-toolbar>div:nth-child(2) p{display:none}.view-actions{width:auto;margin-left:auto}.view-actions .today{display:none}.view-actions select{max-width:96px}}

/* Shared PhotoGram action-button token, sourced from AI Home / New gallery. */
.add-event,.open-work,.event-dialog .primary{min-height:44px;padding:11px 15px;border:1px solid #101116;border-radius:11px;background:#101116;color:#fff;font-size:14px;line-height:20px;font-weight:400}
.view-actions button,.view-actions select,.event-buttons button{border-radius:11px;font-size:12px;line-height:18px;font-weight:500}

/* Functional calendar states */
.event-dialog textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;resize:vertical;font:inherit}.event-dialog .form-error{min-height:16px;margin:8px 0 0;color:#b42318;font-size:11px}.event-dialog .delete-event{margin-right:auto;color:#b42318;background:#fff0f0}.schedule-event.complete,.week-event.complete,.team-event.complete,.month-cell span.complete{opacity:.55;text-decoration:line-through}.calendar-empty{position:absolute;inset:45% 20px auto;margin:0;text-align:center;color:#777b89;font-size:13px}.calendar-toast{position:fixed;left:50%;bottom:24px;z-index:100;max-width:calc(100% - 32px);padding:11px 16px;border-radius:999px;background:#171820;color:#fff;box-shadow:0 12px 40px #1114;opacity:0;transform:translate(-50%,14px);pointer-events:none;transition:.2s}.calendar-toast.show{opacity:1;transform:translate(-50%,0)}.event-link{cursor:default}.event-buttons button:hover,.detail-title button:hover{background:#e9e4f4}.month-grid button{cursor:pointer}.dialog-close,.dialog-cancel,.delete-event{cursor:pointer}
@media(max-width:760px){.event-dialog form{padding:18px}.form-row{grid-template-columns:1fr 1fr}.event-dialog footer{flex-wrap:wrap}.calendar-inspector{order:2}.calendar-toast{bottom:16px}.search{display:flex;position:absolute;left:14px;right:14px;top:84px;width:auto;z-index:4}.topbar.calendar-actions{margin-bottom:54px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Secure production calendar connection and async states. */
.calendar-connection{min-height:38px;padding:5px 7px 5px 10px;display:flex!important;align-items:center;gap:7px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#666a77;font-size:10px;white-space:nowrap}.calendar-connection i{width:7px;height:7px;border-radius:50%;background:#a7a9b2}.calendar-connection[data-state=connected] i{background:#168a63}.calendar-connection[data-state=loading] i{background:#6730ff;animation:calendar-pulse 1s infinite}.calendar-connection[data-state=error] i{background:#c24141}.calendar-connection button{padding:6px 9px;border:0;border-radius:7px;background:#f0eaff;color:#6730ff;font-size:10px;font-weight:700;cursor:pointer}.add-event:disabled{opacity:.48;cursor:not-allowed}.calendar-state{display:grid!important;place-items:center!important}.calendar-state-card{grid-column:1/-1;display:grid;place-items:center;gap:8px;padding:28px;text-align:center}.calendar-state-card b{font-size:13px}.calendar-state-card small{color:#777b89}.calendar-state-card button{margin-top:5px;padding:9px 13px;border:0;border-radius:9px;background:#171820;color:#fff;cursor:pointer}.calendar-state-card.error b{color:#9c2e2e}.spinner{width:24px;height:24px;border:3px solid #e8ddfa;border-top-color:#6730ff;border-radius:50%;animation:calendar-spin .8s linear infinite}@keyframes calendar-spin{to{transform:rotate(1turn)}}@keyframes calendar-pulse{50%{opacity:.3}}
@media(max-width:1050px){.calendar-connection span{display:none}}
@media(max-width:760px){.calendar-connection{position:static;margin-left:auto}.calendar-connection span{display:none}.calendar-connection button{padding:5px 7px}.topbar.calendar-actions .add-event{margin-left:0}.calendar-state{min-height:420px}}
.preview-auth-dialog{width:min(420px,calc(100% - 32px));padding:0;border:0;border-radius:20px;box-shadow:0 25px 80px rgba(20,15,25,.24)}.preview-auth-dialog::backdrop{background:rgba(20,20,28,.42);backdrop-filter:blur(3px)}.preview-auth-dialog form{padding:24px}.preview-auth-dialog header{display:flex;justify-content:space-between;gap:18px}.preview-auth-dialog header small{color:#6730ff;font-size:9px;font-weight:800;letter-spacing:.1em}.preview-auth-dialog h2{margin:5px 0 8px;font-size:22px}.preview-auth-dialog header button{border:0;background:transparent;font-size:22px;cursor:pointer}.preview-auth-dialog form>p{color:#666a77;font-size:11px;line-height:1.5}.preview-auth-dialog label{display:grid;gap:6px;margin-top:14px;color:#666a77;font-size:10px;font-weight:600}.preview-auth-dialog input{padding:11px;border:1px solid var(--line);border-radius:9px}.preview-auth-dialog .auth-error{min-height:17px;margin:9px 0 0;color:#b42318}.preview-auth-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.preview-auth-dialog footer button{padding:10px 14px;border:0;border-radius:9px;cursor:pointer}.preview-auth-dialog .primary{background:#101116;color:#fff}.preview-auth-dialog button:disabled{opacity:.5;cursor:wait}
