/* Editorial & UI Webfonts: Plus Jakarta Sans + Static Non-Overlapping Fraunces (opsz=36, wght=650) */
@font-face{font-family:'Plus Jakarta Sans';src:url('/fonts/jakarta-latin-ext.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1EFF}
@font-face{font-family:'Plus Jakarta Sans';src:url('/fonts/jakarta-latin.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';src:url('/fonts/fraunces-upright-latin-ext.woff2') format('woff2');font-weight:500 700;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Fraunces';src:url('/fonts/fraunces-upright-latin.woff2') format('woff2');font-weight:500 700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* UTF-8. NovoSivirsk minimal product design. Authentication remains independent. */
@font-face{font-family:Montserrat;src:url('/fonts/montserrat.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ink:#172421;--base:#FFFFFF;--surface:#FFFFFF;--muted:#44534E;--line:#DCE3E0;--accent:#1B433B;--accent-ink:#FFFFFF;--selection:#D6E7E3;--page:#F3F6F5;--raised:none;font:14px/1.5 'Plus Jakarta Sans',Montserrat,sans-serif;color:var(--ink);background:var(--page);color-scheme:light}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.access-shell{width:min(100%,1160px);min-height:100dvh;margin:auto;padding:32px;display:flex;flex-direction:column;align-items:center}
.brand{display:flex;align-items:center;gap:12px;width:100%;font-size:17px;font-weight:650;letter-spacing:-.5px;margin-bottom:44px}.brand img{width:38px;height:38px;object-fit:contain}.pilot-badge{margin-left:auto;border:1px solid var(--line);border-radius:6px;padding:6px 10px;font-size:11px;font-weight:500;letter-spacing:0;color:var(--muted);background:var(--base)}
.auth-card,.workspace-card{width:min(100%,444px);padding:36px;border:1px solid var(--line);border-radius:14px;background:var(--base);box-shadow:0 2px 4px #18212803}.workspace-card{width:min(100%,760px);padding:32px 36px}.eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.13em;color:var(--muted);margin-bottom:12px}h1{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-1px;margin:0 0 14px}h2{font-size:20px;font-weight:600;letter-spacing:-.4px}p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 24px}
.google-button,.primary,.quiet{border-radius:8px;min-height:44px;padding:12px 16px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;box-shadow:none}.google-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--base);border:1px solid var(--line);color:var(--ink)}.google-button:hover,.quiet:hover{background:color-mix(in srgb,var(--accent) 5%,var(--base));border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}.primary{width:100%;background:var(--accent);border:1px solid var(--accent);color:var(--accent-ink)}.primary:hover{filter:brightness(.95)}.quiet{background:var(--base);border:1px solid var(--line);color:var(--ink)}.text-button{border:0;padding:0;background:none;color:var(--accent);font-size:12px;font-weight:600;text-align:left}.text-button:hover{text-decoration:underline}
label{display:block;font-size:12px;font-weight:600;line-height:1.5;margin:18px 0 8px}input,select,textarea{display:block;width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--base);padding:11px 12px;font-size:14px;box-shadow:none}input::placeholder{color:var(--muted);opacity:.8}input[readonly]{background:color-mix(in srgb,var(--ink) 3%,var(--base));font-size:11px;overflow-wrap:anywhere}.label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;margin-bottom:8px}.label-row label{margin:0}#email-submit{margin-top:24px}.divider{display:flex;align-items:center;gap:14px;margin:25px 0 8px;color:var(--muted);font-size:11px}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}.mode-switch{font-size:12px;text-align:center;margin:24px 0 0}.invitation-note{font-size:11px;text-align:center;margin:24px 0 0;color:var(--muted)}#back-login{display:block;margin:20px auto 0}
.status{font-size:13px;line-height:1.6;width:min(100%,760px);margin:0 0 18px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--base);color:var(--muted)}.status:empty{display:none}.status[data-error=true]{background:#fff8f6;color:#934136;border-color:#ecd2cb}
.session-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}.session-header h1{font-size:28px;margin-bottom:0}.session-header .eyebrow{margin-bottom:8px}#logout{min-height:38px;font-size:12px;white-space:nowrap}.profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.profile-option{background:var(--base);border:1px solid var(--line);border-radius:10px;min-height:96px;padding:18px;text-align:left;color:var(--ink)}.profile-option:hover{background:color-mix(in srgb,var(--accent) 4%,var(--base));border-color:var(--accent)}.profile-option strong{font-size:17px;font-weight:600}.profile-option small{display:block;font-size:12px;color:var(--muted);margin-top:8px}.profile-option[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--base))}.profile-detail{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.profile-detail h2{margin:0 0 12px}.profile-detail p{font-size:13px;margin-bottom:12px}.connection-state{font-size:12px;color:var(--muted)}
.notice{background:color-mix(in srgb,var(--ink) 3%,var(--base));border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:20px;box-shadow:none}.notice strong{font-size:14px;font-weight:600}.notice p{font-size:13px;margin:10px 0 16px}.notice input{margin-bottom:14px}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}
details{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}summary{font-size:14px;font-weight:600;cursor:pointer;color:var(--ink);line-height:1.6}details p{font-size:12px;margin:16px 0}details button{margin-top:18px}.workspace-tools{margin-top:24px}.workspace-tools h2{font-size:17px;margin:24px 0 14px}.workspace-tools form{border-bottom:1px solid var(--line);padding-bottom:24px}.workspace-tools label{margin-top:16px}.workspace-tools textarea{min-height:104px;resize:vertical}.workspace-tools input[type=color]{width:80px;min-height:44px;padding:5px}.workspace-tools ul{padding:0;list-style:none;margin:16px 0}.workspace-tools li{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.workspace-tools li p{margin:7px 0;font-size:12px}.workspace-tools li button{margin-top:12px}.workspace-tools li strong{font-size:14px;font-weight:600}#tools-status,#recipient-inbox-status{margin-top:18px;color:var(--muted)}footer{display:flex;gap:8px;align-items:center;margin-top:28px;font-size:11px;line-height:1.6;color:var(--muted);text-align:center;max-width:60ch;padding-bottom:12px}.status-dot{width:6px;height:6px;flex:none;border-radius:50%;background:var(--accent)}
html[data-novo-theme=dark]{color-scheme:dark;--ink:#E7F1ED;--base:#1B2623;--surface:#1B2623;--muted:#B0C4BC;--line:#2E3F3A;--page:#131A18;--accent:#8FD1C1;--accent-ink:#0E2620}html[data-novo-theme=dark] .status[data-error=true]{background:#382724;color:#f2bbb0;border-color:#674139}
@media(prefers-color-scheme:dark){html[data-novo-theme=system]{color-scheme:dark;--ink:#E7F1ED;--base:#1B2623;--surface:#1B2623;--muted:#B0C4BC;--line:#2E3F3A;--page:#131A18;--accent:#8FD1C1;--accent-ink:#0E2620}html[data-novo-theme=system] .status[data-error=true]{background:#382724;color:#f2bbb0;border-color:#674139}}
@media(min-height:850px){.auth-card{margin-top:28px}}@media(max-width:600px){.access-shell{padding:22px 16px}.brand{font-size:16px;margin-bottom:30px}.brand img{width:34px;height:34px}.pilot-badge{font-size:10px;padding:5px 8px}.auth-card,.workspace-card{padding:26px 22px;border-radius:12px}h1{font-size:27px}.profiles{grid-template-columns:minmax(0,1fr)}.session-header{align-items:flex-start;gap:12px}.session-header h1{font-size:25px}#logout{padding:8px 10px;min-height:36px;font-size:11px}.inline-actions>*{flex:1}footer{font-size:10px}.status{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* The sign-in view has its own composition; signed-in workspaces keep the full width. */
.access-intro{display:none}.access-shell:has(#auth-view:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 444px;grid-template-rows:auto 1fr auto auto;gap:20px 72px;align-items:start;padding:28px 40px}.access-shell:has(#auth-view:not([hidden])) .brand{grid-column:1;grid-row:1;margin:0;padding:0;gap:12px;flex-wrap:wrap}.access-shell:has(#auth-view:not([hidden])) .pilot-badge{margin-left:0;font-size:10px}.access-shell:has(#auth-view:not([hidden])) .auth-card{grid-column:2;grid-row:1 / 5;align-self:center;margin:0;padding:28px 32px}.access-shell:has(#auth-view:not([hidden])) .access-intro{display:block;grid-column:1;grid-row:2;align-self:center;max-width:410px;padding:30px 0}.access-intro h2{font-size:clamp(40px,4.3vw,60px);line-height:1.12;letter-spacing:-2px;font-weight:600;margin:20px 0 26px}.access-intro p{font-size:14px;line-height:1.8;max-width:36ch;margin-bottom:24px}.access-areas{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);font-weight:500}.access-areas span+span{border-left:1px solid var(--line);padding-left:16px}.access-shell:has(#auth-view:not([hidden])) .status{grid-column:1;grid-row:3;align-self:end;margin:0;font-size:12px;max-width:410px}.access-shell:has(#auth-view:not([hidden])) footer{grid-column:1;grid-row:4;margin:0;text-align:left;align-items:flex-start;padding:0;max-width:40ch}.auth-card .eyebrow{font-size:10px}.auth-card h1{font-size:28px}.auth-card p{margin-bottom:20px}.auth-card .divider{margin:20px 0 8px}.auth-card #email-submit{margin-top:20px}.auth-card .mode-switch{margin-top:20px;margin-bottom:0}.auth-card .invitation-note{margin-top:18px;margin-bottom:0}
@media(max-width:1000px){.access-shell:has(#auth-view:not([hidden])){grid-template-columns:minmax(0,1fr) 410px;gap:20px 36px;padding:26px}.access-intro h2{font-size:44px}.access-shell:has(#auth-view:not([hidden])) .auth-card{padding:28px}.access-shell:has(#auth-view:not([hidden])) .brand{font-size:16px}.access-shell:has(#auth-view:not([hidden])) .pilot-badge{display:none}}
@media(max-width:800px){.access-shell:has(#auth-view:not([hidden])){display:flex;padding:22px 16px;gap:0}.access-shell:has(#auth-view:not([hidden])) .brand{margin-bottom:24px;width:min(100%,444px)}.access-shell:has(#auth-view:not([hidden])) .access-intro{display:none}.access-shell:has(#auth-view:not([hidden])) .status{margin-bottom:16px;max-width:444px;align-self:center}.access-shell:has(#auth-view:not([hidden])) .auth-card{padding:26px 24px;align-self:center}.access-shell:has(#auth-view:not([hidden])) footer{margin-top:22px;align-self:center;max-width:44ch;font-size:10px}.access-shell:has(#auth-view:not([hidden])) .pilot-badge{display:inline-block;margin-left:auto}.auth-card h1{font-size:26px}}

/* Calendar accounts are isolated from the access layout and the private Nikklos Planner. */
.access-shell:has(.profile-calendar:not([hidden])){width:100%;height:100dvh;min-height:0;padding:18px 24px;gap:12px;overflow:hidden}.access-shell:has(.profile-calendar:not([hidden])) .brand{margin:0;font-size:15px}.access-shell:has(.profile-calendar:not([hidden])) footer{display:none}.profile-calendar{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--base);padding:18px;gap:12px}.pc-toolbar,.pc-navigation{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pc-toolbar h1{font-size:22px;margin:0;flex:1;letter-spacing:-.6px}.pc-account-label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px}.pc-account-label select{width:auto;max-width:340px}.pc-toolbar button,.pc-navigation button{min-height:38px;padding:8px 12px}.pc-navigation h2{font-size:16px;margin:0;flex:1}.pc-navigation>span{color:var(--muted);font-size:12px}.profile-calendar #pc-status{font-size:13px;margin:0;min-height:20px}.profile-calendar #pc-status[data-error=true]{color:#a23d30}.pc-notice{padding:22px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.6;color:var(--muted)}.pc-scroller{overflow:auto;min-height:0;flex:1;border:1px solid var(--line);border-radius:8px}.pc-head,.pc-allday,.pc-time-grid{display:grid;grid-template-columns:64px repeat(7,minmax(100px,1fr));min-width:764px}.pc-head{position:sticky;top:0;z-index:3;background:var(--base);border-bottom:1px solid var(--line)}.pc-head>div{display:flex;flex-direction:column;align-items:center;padding:10px 0;font-size:12px}.pc-head strong{font-size:19px;font-weight:600}.pc-current strong{background:var(--accent);color:var(--accent-ink);border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.pc-zone{font-size:10px;padding:10px 5px;color:var(--muted)}.pc-allday>div{border-right:1px solid var(--line);padding:3px;min-width:0}.pc-time-grid{height:calc(24 * var(--pc-hour,40px));position:relative}.pc-day{position:relative;border-right:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--pc-hour,40px) - 1px),var(--line) calc(var(--pc-hour,40px) - 1px),var(--line) var(--pc-hour,40px))}.pc-hours{position:relative}.pc-hours>span{position:absolute;left:4px;font-size:12px;color:var(--muted);transform:translateY(-50%)}.pc-event{position:absolute;overflow:hidden}.pc-event-content{border-radius:5px;padding:5px 6px;min-width:0;overflow:hidden;font-size:12px;line-height:1.35}.pc-event-content strong,.pc-event-content time{display:block;font-size:inherit}.pc-event-content strong{font-weight:600;overflow-wrap:anywhere}.pc-event-content time{margin-top:3px}.pc-allday .pc-event-content{margin-bottom:3px}@media(max-width:800px){.access-shell:has(.profile-calendar:not([hidden])){padding:10px;gap:8px}.profile-calendar{padding:10px;gap:8px}.pc-toolbar h1{font-size:18px}.pc-account-label{order:3;width:100%;font-size:0}.pc-account-label select{font-size:13px;width:100%;max-width:none}.pc-navigation>span{display:none}.pc-navigation h2{font-size:13px}}

/* Calendar errors remain readable in either night-mode source. */
html[data-novo-theme=dark] .profile-calendar #pc-status[data-error=true]{color:#f2bbb0}
@media(prefers-color-scheme:dark){html:not([data-novo-theme]) .profile-calendar #pc-status[data-error=true],html[data-novo-theme=system] .profile-calendar #pc-status[data-error=true]{color:#f2bbb0}}

/* The existing email assignment form is now available from New Task. */
#tools-new-task{margin:0 0 16px;min-height:44px;padding:10px 22px}.assignment-compose{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #c8d7ce;border-radius:24px;color:var(--ink,#182128);background:var(--base);box-shadow:0 24px 80px #172d3638;overflow:auto}.assignment-compose[open]{animation:assignment-drop-in 300ms cubic-bezier(.2,.8,.2,1)}.assignment-compose::backdrop{background:#182b2452;backdrop-filter:blur(4px)}.assignment-compose>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #dce5de;background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 6%,var(--base)),var(--base))}.assignment-compose>header span{font-size:10px;font-weight:600;letter-spacing:1.3px;color:#52705e}.assignment-compose h2{margin:8px 0 4px;font-size:25px}.assignment-compose header p{margin:0;font-size:13px;color:var(--muted)}#assignment-compose-close{width:38px;min-height:38px;padding:0;border-radius:50%;font-size:24px;flex:none}#assignment-compose-body{padding:24px 28px}#assignment-compose-body form h2{display:none}#assignment-compose-body label{display:block;margin:16px 0 8px;font-size:13px;font-weight:600}#assignment-compose-body input,#assignment-compose-body select,#assignment-compose-body textarea{width:100%;min-height:46px;padding:10px 12px;box-sizing:border-box}#assignment-compose-body p{font-size:12px;line-height:1.6;color:var(--muted,#596570)}#assignment-compose-body #tools-send{width:100%;margin-top:16px;min-height:46px}@keyframes assignment-drop-in{from{opacity:0;transform:translateY(8px) scale(.985);border-radius:40px 18px 28px 24px}to{opacity:1;transform:none;border-radius:24px}}@media(max-width:480px){.assignment-compose{width:calc(100vw - 20px)}.assignment-compose>header,#assignment-compose-body{padding:20px}}@media(prefers-color-scheme:dark){.assignment-compose>header{background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 9%,var(--base)),var(--base))}.assignment-compose>header span{color:#b7cdbd}}@media(prefers-reduced-motion:reduce){.assignment-compose[open]{animation:none!important;transform:none!important}}

/* Keep Calendar controls compact; utility disclosures must never consume its canvas. */
.profile-calendar{overflow:hidden}.pc-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(220px,360px) auto;flex:none}.pc-toolbar h1{font-size:20px;line-height:1.25}.pc-account-label{display:block;min-width:0;font-size:11px}.pc-account-label select{width:100%;max-width:100%;font-size:12px;margin-top:4px;text-overflow:ellipsis}.pc-navigation{order:1;flex:none}.profile-calendar #pc-status{order:2;flex:none;line-height:1.6;overflow-wrap:anywhere}.profile-calendar #pc-status:empty{display:none}.pc-oauth-link{order:3;display:block;flex:none;line-height:1.7;overflow-wrap:anywhere}.pc-notice{order:4;flex:none}.pc-scroller{order:5;min-height:120px}.profile-calendar>.workspace-tools{order:6;flex:0 1 auto;min-height:36px;margin:0;max-height:28dvh;overflow:auto;border-top:1px solid var(--line);padding-top:8px}.profile-calendar>.workspace-tools details{margin:0;border:0;padding:0}.profile-calendar>.workspace-tools summary{font-size:12px;line-height:1.7}.profile-calendar #tools-new-task{margin:6px 0;min-height:36px;padding:6px 14px}.profile-calendar .workspace-tools details:not([open])~button{margin-top:6px}.profile-calendar #tools-status:empty,.profile-calendar #recipient-inbox-status:empty{display:none}
@media(max-width:1100px){.pc-toolbar{grid-template-columns:auto minmax(0,1fr) auto}.pc-account-label{grid-column:1/-1;order:initial;width:100%;font-size:11px}.pc-account-label select{font-size:13px}.pc-toolbar #pc-connect{grid-column:3;grid-row:1}}
@media(max-width:600px){.pc-toolbar{grid-template-columns:auto minmax(0,1fr)}.pc-toolbar h1{font-size:17px}.pc-toolbar #pc-connect{grid-column:1/-1;grid-row:auto;justify-self:start}.pc-navigation h2{flex-basis:calc(100% - 140px);font-size:12px}.pc-navigation{gap:6px}.profile-calendar .pc-notice{padding:12px;font-size:12px}}

.google-button{justify-content:center;gap:12px}.google-button img{width:20px;height:20px;object-fit:contain;flex:none}

/* Full-bleed login background; scoped to the unauthenticated screen. */
body:has(#auth-view:not([hidden])){position:relative;isolation:isolate;min-height:100dvh;background:#16372e}
body:has(#auth-view:not([hidden]))::before{content:'';position:fixed;inset:0;z-index:-2;background-image:var(--nv-landscape);background-size:cover;background-position:center 52%;filter:saturate(.72);pointer-events:none}
body:has(#auth-view:not([hidden]))::after{content:'';position:fixed;inset:0;z-index:-1;background:rgba(8,45,35,.75);pointer-events:none}
.access-shell:has(#auth-view:not([hidden])) .brand>span:not(.pilot-badge){color:#fff}.access-shell:has(#auth-view:not([hidden])) .brand img{background:#f4f7f3;border-radius:50%}.access-shell:has(#auth-view:not([hidden])) footer{color:#e3ede6}.access-shell:has(#auth-view:not([hidden])) .status-dot{background:#bdd4c7}
@media(min-width:801px){
.access-shell:has(#auth-view:not([hidden])){grid-template-columns:minmax(0,1fr) 444px;gap:18px 36px;padding:24px 32px;min-height:100dvh}
.access-shell:has(#auth-view:not([hidden])) .access-intro{max-width:none;width:100%;align-self:stretch;min-height:480px;border-radius:0;padding:40px 34px;display:flex;flex-direction:column;justify-content:center;background:transparent;box-shadow:none}
.access-intro h2{font-size:clamp(36px,4.25vw,56px);line-height:1.13;letter-spacing:-1.7px;color:#fff;margin:18px 0 22px;text-shadow:0 2px 14px #061b1840}
.access-intro .eyebrow{color:#e5f0e8;font-size:10px;letter-spacing:.15em}.access-intro p{color:#f0f5f1;font-size:13px;max-width:31ch;line-height:1.8;margin-bottom:30px}.access-areas{color:#f0f5f1;font-size:11px;gap:12px}.access-areas span+span{border-color:#ffffff50;padding-left:12px}
.access-shell:has(#auth-view:not([hidden])) .auth-card{align-self:center}.access-shell:has(#auth-view:not([hidden])) footer{font-size:10px}
}
@media(min-width:801px) and (max-width:1000px){.access-shell:has(#auth-view:not([hidden])){grid-template-columns:minmax(0,1fr) 390px;gap:16px 24px;padding:24px}.access-shell:has(#auth-view:not([hidden])) .access-intro{padding:28px 22px}.access-intro h2{font-size:36px;letter-spacing:-1.2px}.access-areas{font-size:10px;gap:8px}.access-areas span+span{padding-left:8px}}

/* Manrope from Google Fonts, embedded so sign-in has no font CDN request. */
/* latin */


body:has(#auth-view:not([hidden])){font-family:Manrope,sans-serif}.brand{font-family:Manrope,sans-serif;font-weight:750;letter-spacing:-.45px}.auth-card h1{font-weight:750;letter-spacing:-.9px}.access-intro h2{font-weight:650;letter-spacing:-1.5px}
.brand .brand-isotype{width:68px;height:46px;object-fit:cover;object-position:center;border-radius:0;background:transparent;flex:none}
body:has(#auth-view:not([hidden])) .brand .brand-isotype{background:transparent;border-radius:0}
@media(min-width:801px){
.access-shell:has(#auth-view:not([hidden])){height:100dvh;min-height:0;grid-template-rows:46px minmax(0,1fr) auto;align-content:stretch}
.access-shell:has(#auth-view:not([hidden])) .auth-card{grid-row:1/4;max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.access-shell:has(#auth-view:not([hidden])) .access-intro{min-height:0;grid-row:2;padding-top:24px;padding-bottom:24px}
.access-shell:has(#auth-view:not([hidden])) footer{grid-row:3}
.access-shell:has(#auth-view:not([hidden])) .status{position:fixed;left:32px;bottom:62px;z-index:5;width:min(360px,calc(100vw - 490px));max-width:none;margin:0;box-shadow:0 8px 24px #071c2420}
}
@media(max-width:800px){.brand .brand-isotype{width:58px;height:40px}.auth-card input{font-size:16px}.access-shell:has(#auth-view:not([hidden])) .status{min-height:44px}}

/* Direct product message, replacing the three-line promotional slogan. */
@media(min-width:801px){.access-intro h2{font-size:clamp(28px,3.5vw,46px);font-weight:650;line-height:1.18;letter-spacing:-1px;margin:0 0 22px;max-width:18ch}.access-intro h2 span{font-weight:450;color:#e3eee8}.access-intro p{font-size:14px;line-height:1.7;margin:0;max-width:27ch}.access-shell:has(#auth-view:not([hidden])) .access-intro{padding-left:16px;padding-right:16px}}

/* Product-first sign-in typography: one headline, one supporting sentence. */
body:has(#auth-view:not([hidden])) .brand{font-weight:700;font-size:18px;letter-spacing:-.4px}
.auth-card>.eyebrow{display:none}.auth-card h1{font-size:28px;font-weight:650;line-height:1.2;letter-spacing:-1px;margin:0 0 10px}.auth-card #intro{font-size:15px;line-height:1.55;color:var(--muted);margin-bottom:24px}
.auth-card label{font-size:14px;font-weight:600;margin-top:16px}.auth-card .label-row{margin-top:16px}.auth-card .label-row label{margin:0}.auth-card input{font-size:16px;min-height:48px;padding:12px 14px;border-radius:9px}.auth-card .google-button,.auth-card .primary{min-height:48px;font-size:15px;font-weight:600;border-radius:9px}.auth-card .divider{font-size:12px;margin:20px 0 6px}.auth-card .text-button{font-size:12px;font-weight:600}.auth-card .mode-switch{font-size:13px;margin-top:22px}.auth-card .invitation-note{font-size:12px;line-height:1.5;max-width:100%;margin:16px auto 0}.auth-card #email-submit{margin-top:22px}
@media(min-width:801px){.access-intro h2{font-size:clamp(48px,calc(5.2vw + 8px),68px);font-weight:650;line-height:1.08;letter-spacing:-.035em;margin-bottom:20px;max-width:12ch}.access-intro h2 span{font-weight:500;color:#ecf3ef}.access-intro p{font-size:16px;font-weight:400;line-height:1.6;max-width:29ch;text-wrap:balance}.access-shell:has(#auth-view:not([hidden])) .auth-card{border-radius:16px;padding-top:32px;padding-bottom:32px}}
@media(max-width:800px){.auth-card input{font-size:16px}.auth-card h1{font-size:28px;letter-spacing:-.03em}.access-shell:has(#auth-view:not([hidden])) .access-intro{display:none}}
@media(max-width:360px){.auth-card h1{font-size:26px}}

/* Shared dialog surfaces follow the active theme, including an explicit night preference. */
.assignment-compose>header{border-bottom-color:var(--line)}.assignment-compose>header span{color:var(--muted)}
#assignment-compose-close{display:grid;place-items:center;line-height:1;padding:0;text-align:center}

/* Action labels share a centred box; content fields and headings retain natural reading alignment. */
button.quiet,button.primary{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25}
.assignment-compose{border-color:var(--line)}#assignment-compose-close{height:38px;min-height:38px}
@media(max-width:600px){.pc-navigation h2{font-size:14px;line-height:1.35}}

:root{--nv-landscape:none}

/* Workspace selector: a wide banner and stable, clearly separate profile targets. */
#identity-view{width:min(100%,1120px);padding:24px;border-radius:18px}
#identity-view>.session-header{position:relative;isolation:isolate;overflow:hidden;min-height:164px;margin:-24px -24px 24px;padding:28px 32px;border-radius:17px 17px 0 0;gap:24px;color:#fff;background:#1c3b32}
#identity-view>.session-header::before{content:'';position:absolute;inset:-8%;z-index:-2;background-image:var(--nv-landscape);background-position:50% 48%;background-size:cover;animation:workspace-scenery 24s ease-in-out infinite alternate;pointer-events:none}
#identity-view>.session-header::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,rgba(10,35,28,.91),rgba(16,47,37,.78) 65%,rgba(17,47,39,.59));pointer-events:none}
#identity-view .session-header h1{font-size:32px;font-weight:650;line-height:1.18;letter-spacing:-.9px;color:#fff;margin:0}
#identity-view .session-header .eyebrow{font-size:11px;letter-spacing:.12em;color:#d6e8db;margin:0 0 10px}
#identity-view #identity-email{font-size:13px;line-height:1.5;color:#e1ebe4;margin:12px 0 0;overflow-wrap:anywhere}
#identity-view #logout{min-height:44px;padding:10px 18px;border:1px solid #ffffff70;background:#ffffff10;color:#fff;font-size:13px;flex:none}
#identity-view #logout:hover{background:#ffffff20;border-color:#fff}
#identity-view .profiles{gap:18px;margin-top:0;margin-bottom:24px}
#identity-view .profile-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:140px;padding:24px;text-align:center;border-radius:12px;transition:background .18s,border-color .18s,box-shadow .18s}
#identity-view .profile-option strong{font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.3px}
#identity-view .profile-option small{font-size:13px;line-height:1.5;margin:0}
#identity-view .profile-option:disabled{opacity:.82;cursor:progress}
#identity-view .profile-option[aria-busy=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--base))}
#identity-view .profile-option[aria-busy=true]::after{content:'';position:absolute;top:16px;right:16px;width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:workspace-opening .8s linear infinite}
body:has(#identity-view:not([hidden])) .access-shell{padding-top:24px}
body:has(#identity-view:not([hidden])) #access-status{width:min(100%,1120px)}
body:not(:has(#auth-view:not([hidden]))) .brand-isotype{filter:brightness(.22)}
html[data-novo-theme=dark] body:not(:has(#auth-view:not([hidden]))) .brand-isotype{filter:none}
@media(prefers-color-scheme:dark){html:not([data-novo-theme]) body:not(:has(#auth-view:not([hidden]))) .brand-isotype,html[data-novo-theme=system] body:not(:has(#auth-view:not([hidden]))) .brand-isotype{filter:none}}
@keyframes workspace-scenery{from{transform:scale(1);background-position:50% 48%}to{transform:scale(1.035);background-position:50% 55%}}
@keyframes workspace-opening{to{transform:rotate(360deg)}}
@media(max-width:600px){#identity-view{padding:20px;border-radius:14px}#identity-view>.session-header{margin:-20px -20px 20px;padding:24px 20px;border-radius:13px 13px 0 0;flex-wrap:wrap;gap:18px;min-height:176px}#identity-view .session-header h1{font-size:27px}#identity-view #logout{margin:0;padding:8px 14px;min-height:40px}#identity-view .profiles{gap:12px}#identity-view .profile-option{min-height:116px;padding:20px}#identity-view .profile-option strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){#identity-view>.session-header::before,#identity-view .profile-option[aria-busy=true]::after{animation:none!important;transform:none!important}}

/* The selector remains an app-sized viewport; only its content can scroll. */
body:has(#identity-view:not([hidden])){font-family:Manrope,sans-serif}
body:has(#identity-view:not([hidden])) .access-shell{height:100dvh;min-height:0;gap:14px;overflow:hidden}
body:has(#identity-view:not([hidden])) .brand{margin-bottom:0;flex:none}
body:has(#identity-view:not([hidden])) #access-status{margin:0;flex:none}
#identity-view{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:none}
#identity-view::-webkit-scrollbar{display:none;width:0;height:0}
#identity-view #tools-new-task{display:none}
body:has(#identity-view:not([hidden])) footer{margin-top:0;flex:none;padding-bottom:0}

/* Login refinement: type hierarchy and spacing only; authenticated views stay unchanged. */
body:has(#auth-view:not([hidden])) .access-shell>.brand{align-items:flex-end;gap:6px}
body:has(#auth-view:not([hidden])) .brand>span:not(.pilot-badge){line-height:1;font-size:20px;font-weight:700;letter-spacing:.01em;transform:translateY(-3px)}
body:has(#auth-view:not([hidden])) .brand-isotype{display:block}
body:has(#auth-view:not([hidden])) .auth-card{padding:28px 30px;border-radius:16px;box-shadow:0 8px 28px #061b1810;scrollbar-gutter:auto;overflow-anchor:none}
.auth-card h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.035em;margin:0 0 12px;text-wrap:balance}
.auth-card #intro{font-size:16px;line-height:1.55;margin-bottom:24px;max-width:32ch}
.auth-card label{font-size:15px;line-height:1.4;font-weight:600;margin-top:16px}
.auth-card .label-row{align-items:center;gap:12px;margin-top:14px}
.auth-card input{height:50px;min-height:50px;font-size:16px;line-height:1.4;padding:12px 14px;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease}
.auth-card input:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
.auth-card .google-button,.auth-card .primary{min-height:50px;font-size:16px;line-height:1.3;border-radius:10px;gap:12px}
.auth-card .google-button{margin-top:0}
.auth-card .divider{font-size:14px;line-height:1.4;margin:22px 0 6px;gap:14px}
.auth-card .text-button{font-size:14px;line-height:1.4;min-height:24px;padding:2px 0;font-weight:600}
.auth-card .mode-switch{font-size:14px;line-height:1.5;margin-top:20px}
.auth-card .invitation-note{font-size:13px;line-height:1.5;margin:16px 0 0;text-align:center}
.auth-card #email-submit{margin-top:22px}
.auth-card .google-button:hover:not(:disabled){background:color-mix(in srgb,var(--base) 94%,var(--accent))}
.auth-card .primary:hover:not(:disabled){filter:brightness(.96)}
body:has(#auth-view:not([hidden])) footer{font-size:13px;line-height:1.5;max-width:32ch}
@media(min-width:1100px){.access-shell:has(#auth-view:not([hidden])){grid-template-columns:minmax(0,1fr) 440px;gap:20px clamp(40px,5vw,72px);padding:32px 40px}.access-shell:has(#auth-view:not([hidden])) .auth-card{max-height:calc(100dvh - 64px);padding:32px}.access-intro h2{font-size:clamp(50px,4.8vw,68px)}}
@media(max-width:800px){body:has(#auth-view:not([hidden])) .access-shell{height:auto;min-height:100dvh;overflow:visible;gap:24px;padding-top:24px;padding-bottom:32px}body:has(#auth-view:not([hidden])) .brand{align-items:flex-end;flex:none;margin:0}body:has(#auth-view:not([hidden])) .access-shell .auth-card{padding:26px 24px;flex:none;min-height:0;max-height:none;overflow:visible;overscroll-behavior:auto}.auth-card h1{font-size:28px}.auth-card #intro{font-size:15px}body:has(#auth-view:not([hidden])) footer{font-size:12px;margin:0;padding:0;flex:none}}
@media(max-width:360px){body:has(#auth-view:not([hidden])) .access-shell .auth-card{padding:24px 16px}.auth-card h1{font-size:26px}.auth-card .label-row{gap:8px}.auth-card .label-row label,.auth-card .text-button{font-size:14px}.auth-card .text-button{white-space:nowrap}.auth-card .google-button{font-size:14px;gap:8px;padding-inline:10px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.auth-card input{transition:none}}

/* Keep the login clean at short heights; scroll remains available to touch and keyboard. */
body:has(#auth-view:not([hidden])) .auth-card{scrollbar-width:none;-ms-overflow-style:none}
body:has(#auth-view:not([hidden])) .auth-card::-webkit-scrollbar{display:none;width:0;height:0}
@media(min-width:801px) and (max-height:680px){body:has(#auth-view:not([hidden])) .access-shell .auth-card{padding:22px 28px}.auth-card #intro{margin-bottom:16px}.auth-card .divider{margin:16px 0 4px}.auth-card label{margin-top:12px}.auth-card .label-row{margin-top:12px}.auth-card input,.auth-card .google-button,.auth-card .primary{min-height:48px;height:48px}.auth-card #email-submit{margin-top:18px}.auth-card .mode-switch{margin-top:14px}.auth-card .invitation-note{margin-top:12px}}

/* Authenticated navigation: profile choices stay in the app bar, never on a landing selector. */
.application-navigation{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;flex-wrap:wrap;min-width:0}
.application-navigation button{font-size:14px;min-height:42px;padding:10px 14px}
.app-profile-label{display:flex;align-items:center;gap:10px;margin:0;font-size:13px}
.app-profile-label select{width:auto;min-width:150px;max-width:230px;min-height:42px;font-size:14px;margin:0}
body[data-application=true] .access-shell{height:100dvh;min-height:0;padding:20px 24px;gap:12px;overflow:hidden}
body[data-application=true] .access-shell>.brand{margin:0;flex:none;flex-wrap:wrap;gap:10px;align-items:center}
body[data-application=true] #identity-view{display:none}
body[data-application=true] #access-status{margin:0;flex:none;width:100%;font-size:14px}
body[data-application=true] #pc-back{display:none}
body[data-application=true] .profile-calendar{min-height:0;flex:1}
body[data-application=true] .profile-calendar>.workspace-tools{overflow:auto;scrollbar-width:none}
body[data-application=true] .pc-scroller{scrollbar-width:none}
body[data-application=true] .pc-scroller::-webkit-scrollbar,body[data-application=true] .profile-calendar>.workspace-tools::-webkit-scrollbar{display:none;width:0;height:0}
.application-settings{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--base);color:var(--ink);overflow:auto;scrollbar-width:none}
.application-settings::backdrop{background:#10231d66}
.application-settings::-webkit-scrollbar{display:none}
.application-settings>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.application-settings h2{font-size:24px;line-height:1.2;margin:0}
.application-settings #tools-appearance h2{display:none}
.application-settings label{font-size:16px;line-height:1.4}
.application-settings input,.application-settings select,.application-settings button{font-size:16px}
.application-settings #tools-save{width:100%;margin-top:18px}
.application-settings #tools-color{width:100%;height:48px}
.application-settings p{font-size:14px;line-height:1.5;margin-top:12px}
@media(max-width:700px){body[data-application=true] .access-shell{padding:12px;gap:10px}.application-navigation{width:100%;justify-content:flex-start;margin:0;gap:8px}.application-navigation button{padding:8px 10px}.app-profile-label{margin-left:auto;font-size:0}.app-profile-label select{min-width:130px;max-width:180px}.application-navigation #app-logout{font-size:13px}}

/* Login left-pane composition: shared top edge, stronger headline and original logo. */
@media(min-width:801px){
 body:has(#auth-view:not([hidden])) .access-shell{--login-inset:clamp(28px,5dvh,56px);width:min(100%,1600px);padding-block:var(--login-inset);grid-template-rows:60px auto auto;align-content:center}
 body:has(#auth-view:not([hidden])) .access-shell>.brand{padding-left:16px;gap:10px;align-self:start;transform:translateY(-12px)}
 body:has(#auth-view:not([hidden])) .brand-isotype{width:60px;height:60px;object-fit:contain;flex:none}
 body:has(#auth-view:not([hidden])) .brand>span:not(.pilot-badge){font-size:26px;transform:translateY(-12px)}
 body:has(#auth-view:not([hidden])) .access-shell .access-intro{min-height:0;max-width:none;padding:16px 16px 40px;justify-content:center}
 body:has(#auth-view:not([hidden])) .access-intro h2{font-size:clamp(64px,6.8vw,112px);line-height:1.03;letter-spacing:-.05em;max-width:100%;margin:0 0 24px;text-wrap:normal}
 body:has(#auth-view:not([hidden])) .access-intro p{font-size:clamp(17px,1.4vw,21px);line-height:1.5;max-width:28ch;margin:0;text-wrap:balance}
 body:has(#auth-view:not([hidden])) .access-shell .auth-card{align-self:start;max-height:calc(100dvh - var(--login-inset) * 2)}
}
@media(min-width:801px) and (max-width:1099px){
 body:has(#auth-view:not([hidden])) .access-intro h2{font-size:clamp(48px,6vw,70px)}
 body:has(#auth-view:not([hidden])) .brand-isotype{width:54px;height:54px}
 body:has(#auth-view:not([hidden])) .brand>span:not(.pilot-badge){font-size:24px}
}
@media(max-width:800px){
 body:has(#auth-view:not([hidden])) .brand-isotype{width:48px;height:48px;object-fit:contain;flex:none}
 body:has(#auth-view:not([hidden])) .access-shell>.brand{width:min(100%,444px);align-self:center;align-items:center;margin:0;gap:8px}
 body:has(#auth-view:not([hidden])) .brand>span:not(.pilot-badge){font-size:22px;transform:none}
}

/* Saved appearance: flat semantic surfaces; provider event colours are excluded. */
html[data-novo-theme]{color:var(--ink);background:var(--page)}
html[data-novo-theme] body{color:var(--ink);background:var(--page)}
html[data-novo-theme] :is(.application-settings,.profile-calendar,.workspace-card){color:var(--ink);background:var(--base);border-color:var(--line)}
html[data-novo-theme] :is(input,textarea,select){color:var(--ink);background-color:var(--base);border-color:var(--line)}
html[data-novo-theme] :is(.quiet,.google-button){color:var(--ink);background:var(--base);border-color:var(--line)}
html[data-novo-theme] :is(.primary,#tools-save){background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
html[data-novo-theme] :is(.primary,#tools-save):hover{filter:brightness(.94)}
html[data-novo-theme] .application-navigation [aria-current=page]{background:var(--selection);border-color:var(--accent)}
.application-settings #tools-palette{margin-bottom:14px}
.application-settings #tools-color[hidden]{display:none!important}

html[data-novo-theme] input::placeholder,html[data-novo-theme] textarea::placeholder{color:var(--muted);opacity:1}


/* Precise application controls: consistent icon geometry and comfortable edges. */
:root{--novo-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23536b60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
html[data-novo-theme=dark]{--novo-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b8cbd2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
select,.application-settings select,.app-profile-label select{appearance:none;-webkit-appearance:none;background-image:var(--novo-select-arrow);background-repeat:no-repeat;background-size:20px 20px;background-position:right 18px center;padding:10px 52px 10px 16px;min-height:44px;line-height:1.4}
#application-settings-close,#assignment-compose-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;max-height:44px;aspect-ratio:1;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--base);color:var(--ink);line-height:1;box-shadow:none}
#application-settings-close svg,#assignment-compose-close svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#application-settings-close:hover,#assignment-compose-close:hover{background:var(--selection);border-color:var(--muted)}
#application-settings-close:focus-visible,#assignment-compose-close:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Original approved raster is intact; monochrome rendering removes coloured fringe. */
body[data-application=true] .access-shell>.brand{align-items:flex-end}
body[data-application=true] .brand .brand-isotype{filter:brightness(0);image-rendering:auto;object-fit:cover}
body[data-application=true] .brand>span:not(.pilot-badge){font-size:20px;line-height:1;letter-spacing:.01em;transform:none;padding-bottom:0}
html[data-novo-theme=dark] body[data-application=true] .brand .brand-isotype{filter:brightness(0) invert(1)}
body:has(#auth-view:not([hidden])) .brand .brand-isotype{filter:brightness(0) invert(1)}

.app-profile-label select{min-width:190px;max-width:250px}
@media(max-width:700px){.app-profile-label select{min-width:180px;max-width:230px}}


/* Match the authenticated-state specificity so legacy image filters cannot win. */
body[data-application=true]:not(:has(#auth-view:not([hidden]))) .brand .brand-isotype{filter:brightness(0)}
html[data-novo-theme=dark] body[data-application=true]:not(:has(#auth-view:not([hidden]))) .brand .brand-isotype{filter:brightness(0) invert(1)}


/* Keep dark-mode links and keyboard focus visible with any custom accent. */
html[data-novo-theme=dark] .text-button{color:var(--ink)}
html[data-novo-theme=dark] :is(button,input,textarea,select,a):focus-visible{outline-color:var(--ink)}
html[data-novo-theme=dark] :is(#application-settings-close,#assignment-compose-close):focus-visible{outline-color:var(--ink)}


/* Approved login: left access on desktop; centered access over forest on mobile. */
html:has(#auth-view:not([hidden])){scrollbar-width:none}
html:has(#auth-view:not([hidden]))::-webkit-scrollbar{display:none}
body:has(#auth-view:not([hidden])){--accent:#145442;--accent-ink:#fff;overflow-x:clip}
body:has(#auth-view:not([hidden]))::before{background-image:linear-gradient(#0a302855,#0a302855),var(--nv-landscape);inset:-4%;transform:scale(1.02);animation:login-forest-flight 32s ease-in-out infinite alternate;transform-origin:50% 50%}
@keyframes login-forest-flight{from{transform:translate3d(-.8%,.6%,0) scale(1.02)}to{transform:translate3d(.8%,-.6%,0) scale(1.07)}}
body:has(#auth-view:not([hidden])) .access-shell{width:100%;min-height:100dvh;height:auto;margin:0;padding:0;gap:0;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-content:stretch;position:relative}
body:has(#auth-view:not([hidden]))::after{content:'';position:fixed;inset:0 auto 0 0;width:42%;background:var(--base);z-index:-1;pointer-events:none}
body:has(#auth-view:not([hidden])) .access-shell>.brand{grid-column:1;grid-row:1;align-self:start;align-items:flex-end;flex-wrap:nowrap;gap:10px;width:100%;margin:0;padding:32px clamp(28px,3vw,52px) 0;color:var(--ink);transform:none}
body:has(#auth-view:not([hidden])) .brand .brand-isotype{filter:brightness(0);width:68px;height:46px}
body:has(#auth-view:not([hidden])) .access-shell>.brand>span:not(.pilot-badge){color:inherit;font-size:24px;line-height:1;letter-spacing:-.6px;padding-bottom:2px}
body:has(#auth-view:not([hidden])) .access-shell .auth-card{grid-column:1;grid-row:2;width:calc(100% - 72px);max-width:392px;max-height:none;overflow:visible;align-self:center;justify-self:center;margin:0;padding:32px 0 40px;border:0;border-radius:0;background:transparent;box-shadow:none}
body:has(#auth-view:not([hidden])) .auth-card h1{font-size:28px;line-height:1.2;letter-spacing:-1px;margin:0 0 28px}
body:has(#auth-view:not([hidden])) .auth-card #intro,body:has(#auth-view:not([hidden])) .auth-card .invitation-note{display:none}
body:has(#auth-view:not([hidden])) .auth-card .google-button{justify-content:center;gap:12px}
body:has(#auth-view:not([hidden])) .auth-card .text-button{font-size:13px}
body:has(#auth-view:not([hidden])) .auth-card .mode-switch{font-size:13px;margin-top:24px}
body:has(#auth-view:not([hidden])) .access-shell .access-intro{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:column;align-self:center;justify-self:center;justify-content:center;align-items:flex-start;max-width:600px;width:100%;min-height:0;padding:64px clamp(40px,5vw,80px);color:#fff}
body:has(#auth-view:not([hidden])) .access-intro h2{font-size:clamp(44px,4.4vw,68px);font-weight:600;line-height:1.08;letter-spacing:-.045em;max-width:12ch;margin:0 0 24px}
body:has(#auth-view:not([hidden])) .access-intro h2 span{color:#fff;font-weight:500}
body:has(#auth-view:not([hidden])) .access-intro p{font-size:18px;line-height:1.6;max-width:29ch;margin:0;color:#f1f6f3}
body:has(#auth-view:not([hidden])) .access-shell .status{position:fixed;left:20px;bottom:16px;width:calc(42% - 40px);max-width:392px;min-height:0;margin:0;z-index:5;font-size:13px;box-shadow:none}
body:has(#auth-view:not([hidden])) .access-shell footer{display:none}
html[data-novo-theme=dark] body:has(#auth-view:not([hidden])) .brand .brand-isotype{filter:brightness(0) invert(1)}
@media(prefers-color-scheme:dark){html:not([data-novo-theme]) body:has(#auth-view:not([hidden])) .brand .brand-isotype,html[data-novo-theme=system] body:has(#auth-view:not([hidden])) .brand .brand-isotype{filter:brightness(0) invert(1)}}
@media(min-width:801px) and (max-width:1050px){
 body:has(#auth-view:not([hidden])) .access-shell{grid-template-columns:48% minmax(0,1fr)}
 body:has(#auth-view:not([hidden]))::after{width:48%}
 body:has(#auth-view:not([hidden])) .access-shell .status{width:calc(48% - 40px)}
 body:has(#auth-view:not([hidden])) .access-shell .access-intro{padding-inline:40px}
 body:has(#auth-view:not([hidden])) .access-intro h2{font-size:44px}
}
@media(max-width:800px){
 body:has(#auth-view:not([hidden]))::after{display:none}
 body:has(#auth-view:not([hidden])) .access-shell{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;height:auto;padding:32px 20px;gap:20px}
 body:has(#auth-view:not([hidden])) .access-shell>.brand{width:100%;max-width:420px;min-height:46px;align-self:center;justify-content:center;padding:0;gap:10px;color:#fff}
 body:has(#auth-view:not([hidden])) .brand .brand-isotype{width:68px;height:46px;filter:brightness(0) invert(1)!important}
 body:has(#auth-view:not([hidden])) .access-shell .access-intro{display:none}
 body:has(#auth-view:not([hidden])) .access-shell .auth-card{width:100%;max-width:420px;flex:none;align-self:center;padding:28px 24px;margin:0;border:1px solid var(--line);border-radius:16px;background:var(--base);box-shadow:none}
 body:has(#auth-view:not([hidden])) .auth-card h1{font-size:26px;margin-bottom:24px}
 body:has(#auth-view:not([hidden])) .auth-card input{font-size:16px}
 body:has(#auth-view:not([hidden])) .access-shell .status{position:static;order:3;width:100%;max-width:420px;align-self:center;margin:0}
}
@media(max-width:360px){
 body:has(#auth-view:not([hidden])) .access-shell{padding:24px 16px;gap:16px}
 body:has(#auth-view:not([hidden])) .access-shell .auth-card{padding:24px 20px}
 body:has(#auth-view:not([hidden])) .auth-card h1{font-size:24px}
 body:has(#auth-view:not([hidden])) .label-row{flex-wrap:wrap;gap:4px}
}
@media(prefers-reduced-motion:reduce){body:has(#auth-view:not([hidden]))::before{animation:none!important;transform:none!important}}


/* Login balance: compact desktop spacing; approved mobile composition unchanged. */
@media(min-width:801px){
 body:has(#auth-view:not([hidden])) .access-shell{--login-column-gap:clamp(32px,4vw,64px)}
 body:has(#auth-view:not([hidden])) .access-shell>.brand{width:calc(100% - var(--login-column-gap) * 2);max-width:392px;justify-self:end;margin-right:var(--login-column-gap);padding:32px 0 0}
 body:has(#auth-view:not([hidden])) .access-shell .auth-card{width:calc(100% - var(--login-column-gap) * 2);justify-self:end;margin-right:var(--login-column-gap)}
 body:has(#auth-view:not([hidden])) .access-shell .access-intro{justify-self:start;max-width:640px;padding-inline:var(--login-column-gap)}
}

/* VPS classic Planner host: scoped away from login and existing profile views. */
body[data-classic-planner=true]{overflow:hidden}
body[data-classic-planner=true] .access-shell{width:100%;height:100dvh;min-height:0;padding:0;margin:0;display:block;overflow:hidden}
body[data-classic-planner=true] .access-shell>.brand,body[data-classic-planner=true] #access-status,body[data-classic-planner=true] .access-shell>footer,body[data-classic-planner=true] #identity-view,body[data-classic-planner=true] #profile-view{display:none!important}
.classic-planner-host{width:100%;height:100%;min-height:0;overflow:hidden}
.classic-planner-frame{display:block;width:100%;height:100%;border:0;margin:0}
.classic-planner-state{margin:clamp(24px,5vw,64px);max-width:48ch;font-size:16px;line-height:1.6}
.classic-planner-host>.primary{margin:0 clamp(24px,5vw,64px);min-height:48px}

/* NovoSiv compact lockup: align the wordmark to the grounded paws, not the raster canvas. */
body:has(#auth-view) #application-brand.brand{--brand-isotype-size:68px;align-items:flex-end;flex-wrap:nowrap;gap:6px}
body:has(#auth-view) #application-brand.brand .brand-isotype{display:block;flex:none;width:var(--brand-isotype-size);height:var(--brand-isotype-size);object-fit:contain;object-position:center;margin:calc(var(--brand-isotype-size) * -.179426) calc(var(--brand-isotype-size) * -.019139) calc(var(--brand-isotype-size) * -.212121) calc(var(--brand-isotype-size) * -.027911);clip-path:inset(17.9426% 1.9139% 21.2121% 2.7911%);padding:0;border-radius:0;background:transparent;image-rendering:auto}
body:has(#auth-view) #application-brand.brand>span:not(.pilot-badge){font-size:24px;font-weight:700;line-height:1;letter-spacing:-.24px;white-space:nowrap;padding:0;transform:translateY(.115em)}
@media(max-width:600px){body:has(#auth-view) #application-brand.brand{--brand-isotype-size:64px}body:has(#auth-view) #application-brand.brand>span:not(.pilot-badge){font-size:22px}}

/* Compact authenticated mobile header; preserve the approved login and wolf lockup. */
@media(max-width:700px){
 body[data-application=true]:not([data-classic-planner=true]) #application-brand.brand{display:grid;grid-template-columns:auto 1fr;column-gap:6px;row-gap:16px;align-items:end}
 body[data-application=true]:not([data-classic-planner=true]) #application-navigation{grid-column:1/-1;display:grid;grid-template-columns:auto auto minmax(0,1fr) 44px;align-items:center;gap:6px;width:100%;margin:0}
 body[data-application=true]:not([data-classic-planner=true]) #application-navigation .app-profile-label{margin:0;min-width:0}
 body[data-application=true]:not([data-classic-planner=true]) #application-navigation .app-profile-label select{width:100%;min-width:0;max-width:none;padding-left:10px;padding-right:32px;background-position:right 10px center}
 body[data-application=true]:not([data-classic-planner=true]) #app-logout{font-size:0;width:44px;min-width:44px;height:44px;padding:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23345159' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17v3H4V4h6v3m4 1 4 4-4 4m-6-4h13'/%3E%3C/svg%3E");background-size:20px;background-position:center;background-repeat:no-repeat}
 html[data-novo-theme=dark] body[data-application=true]:not([data-classic-planner=true]) #app-logout{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAF3EF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17v3H4V4h6v3m4 1 4 4-4 4m-6-4h13'/%3E%3C/svg%3E")}
}

/* A frame is revealed only after its own ready signal. */
.classic-planner-frame[hidden]{display:none!important}

/* Profile custom palette: semantic surfaces, never provider event colours. */
html[data-novo-palette=custom][data-novo-theme=light]{--page:color-mix(in srgb,var(--accent) 5%,#f7f8fa)!important;--base:color-mix(in srgb,var(--accent) 2%,#fff)!important;--surface:var(--base)!important;--ink:#202a32!important;--muted:#53616d!important;--line:color-mix(in srgb,var(--accent) 22%,#dfe4e8)!important;--selection:color-mix(in srgb,var(--accent) 14%,#fff)!important;--novo-nav:color-mix(in srgb,var(--accent) 30%,#15212a)!important}
html[data-novo-palette=custom][data-novo-theme=dark]{--page:color-mix(in srgb,var(--accent) 10%,#11171d)!important;--base:color-mix(in srgb,var(--accent) 12%,#1b242c)!important;--surface:var(--base)!important;--ink:#edf2f6!important;--muted:#b5c2ce!important;--line:color-mix(in srgb,var(--accent) 24%,#374550)!important;--selection:color-mix(in srgb,var(--accent) 25%,#202b34)!important;--novo-nav:color-mix(in srgb,var(--accent) 20%,#11171d)!important}
html[data-novo-theme] .application-navigation{color:var(--ink)}
html[data-novo-theme] .application-navigation button:hover{background:var(--selection);border-color:var(--accent)}
/* Prior design retained: compact controls enlarge only the calendar canvas. */
body:has(.direct-classic-calendar) .access-shell{display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:none;height:100dvh;min-height:0;gap:12px;padding:16px 24px;overflow:hidden}
body:has(.direct-classic-calendar) #application-brand.brand{flex:none;margin:0;min-height:48px}
body:has(.direct-classic-calendar) #access-status,body:has(.direct-classic-calendar) .access-shell>footer{display:none}
.direct-classic-calendar{flex:1;min-height:0;margin:0;gap:10px;padding:16px;overflow:hidden}
.direct-classic-calendar .pc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:36px}
.direct-classic-calendar .pc-toolbar h1{flex:1;margin:0;font-size:20px}
.direct-classic-calendar .pc-toolbar>button{flex:none;width:auto;min-height:36px;padding:8px 14px}
.direct-classic-calendar .pc-navigation{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;order:1}
.direct-classic-calendar .pc-navigation input{width:145px;min-width:0;margin:0;font-size:14px;padding:8px 10px;min-height:38px}
.direct-classic-calendar .pc-navigation select{width:120px;min-width:0;margin:0;padding:8px 36px 8px 12px;min-height:38px;background-position:right 14px center;font-size:14px}
.direct-classic-calendar .pc-navigation h2{flex:1;margin:0;font-size:17px;white-space:nowrap}
.direct-classic-calendar .pc-navigation button{flex:none;width:auto;min-height:38px;padding:8px 12px;font-size:14px}
.direct-classic-calendar .pc-status{order:2;flex:none;margin:0;line-height:1.5;font-size:12px;color:var(--muted)}
.direct-classic-calendar .pc-status:empty{display:none}
.direct-classic-calendar .pc-scroller{order:3;flex:1;min-height:0;margin:0;overflow:auto;scrollbar-width:none}
.direct-classic-calendar .pc-scroller::-webkit-scrollbar{display:none}
@media(max-width:760px){body:has(.direct-classic-calendar) .access-shell{padding:10px;gap:8px}.direct-classic-calendar{padding:10px;gap:8px}.direct-classic-calendar .pc-navigation{flex-wrap:wrap}.direct-classic-calendar .pc-navigation input{display:none}.direct-classic-calendar .pc-navigation h2{font-size:13px;white-space:normal}.direct-classic-calendar .pc-navigation select{margin-left:auto;width:110px}.direct-classic-calendar .pc-toolbar h1{font-size:18px}}

/* Keep the original frame paintable; loading feedback overlays it without consuming height. */
.classic-planner-host:has(.classic-planner-frame){position:relative}
.classic-planner-host:has(.classic-planner-frame)>.classic-planner-state{position:absolute;inset:0;z-index:1;display:grid;place-items:center;max-width:none;margin:0;padding:32px;text-align:center;background:var(--page)}

/* Personal Planner tab-safe layout: scoped controls, never global form overrides. */
#personal-planner{padding:24px;min-width:0}
#personal-planner #pp-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}
#personal-planner #pp-form>label{margin:0;min-width:0}
#personal-planner #pp-days{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;min-width:0}
#personal-planner #pp-days label{display:inline-flex;gap:8px;align-items:center;margin:0;min-height:32px}
#personal-planner #pp-days input[type=checkbox]{display:inline-block;width:18px;height:18px;min-height:0;min-width:0;flex:0 0 18px;margin:0;padding:0;accent-color:var(--accent)}
#personal-planner :is(#pp-read,#pp-analyze){width:max-content;max-width:100%;justify-self:start}
#personal-planner :is(#pp-tasks,#pp-form>p,#pp-analyze){grid-column:1/-1}
@media(max-width:760px){#personal-planner{padding:14px}#personal-planner #pp-form{grid-template-columns:repeat(2,minmax(0,1fr))}#personal-planner #pp-form>label:first-child{grid-column:1/-1}}
@media(max-width:420px){#personal-planner #pp-form{grid-template-columns:minmax(0,1fr)}}

/* Empty all-day lanes must not add a second seam below the date header. */
#novo-classic-workspace .all-day:not(:has(.allday-event)),.pc-allday:not(:has(.pc-event-content)){display:none}


/* Google-matched grid density; controls and provider colours stay unchanged. */
#profile-calendar :is(.pc-head,.pc-allday,.pc-time-grid){grid-template-columns:56px repeat(7,minmax(0,1fr));min-width:700px}
#profile-calendar .pc-hours>span{font-size:12px}
#profile-calendar .pc-event-content{font-size:12px;line-height:15px;padding:2px 5px}
#profile-calendar .pc-event-content strong{font-size:12px;line-height:15px;max-height:15px;-webkit-line-clamp:1}
#profile-calendar .pc-event-content time{display:block;font-size:12px;line-height:15px;margin-top:0;white-space:nowrap}
#profile-calendar .pc-event-roomy strong{max-height:30px;-webkit-line-clamp:2}
#profile-calendar .pc-event-compact{display:flex;align-items:center;gap:4px;padding:0 3px}
#profile-calendar .pc-event-compact strong{display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profile-calendar .pc-event-compact time{flex:none;font-size:11px;line-height:13px}
#novo-classic-workspace .calendar-google-layout{--hour:40px;--calendar-min-width:700px}
#novo-classic-workspace .calendar-google-layout :is(.calendar-head,.all-day,.time-grid){min-width:var(--calendar-min-width);grid-template-columns:56px repeat(var(--days,7),minmax(0,1fr))}
#novo-classic-workspace .calendar-google-layout .event{padding:2px 5px;font-size:12px;line-height:15px}
#novo-classic-workspace .calendar-google-layout .event strong{font-size:12px;line-height:15px;max-height:15px;-webkit-line-clamp:1}
#novo-classic-workspace .calendar-google-layout .event time{display:block;font-size:12px;line-height:15px;margin-top:0;white-space:nowrap}
#novo-classic-workspace .calendar-google-layout .event.roomy-event strong{max-height:30px;-webkit-line-clamp:2}
#novo-classic-workspace .calendar-google-layout .event.short-event{display:flex;align-items:center;gap:4px;padding:0 3px}
#novo-classic-workspace .calendar-google-layout .event.short-event strong{display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#novo-classic-workspace .calendar-google-layout .event.short-event time{display:block;flex:none;font-size:11px;line-height:13px}


#novo-classic-workspace .calendar-google-layout :is(.calendar-heading-viewport,.calendar-scroll){scrollbar-gutter:stable;scrollbar-width:thin}


/* Compact calendar header: profile stays in the sidebar; preserve accessible context and errors. */
body:has(#novo-visible-profile) #profile-calendar>.pc-toolbar,
#profile-calendar>#pc-status[data-error="false"]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#profile-calendar>.pc-navigation>span{display:none}
#profile-calendar #pc-refresh{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;flex:none}
#profile-calendar #pc-refresh .novo-control-label{display:none}


/* Profile picker follows the saved palette, including its native top-layer menu. */
:is(#portal-profile,#novo-visible-profile){background-color:color-mix(in srgb,var(--novo-nav,#183c34) 90%,white);color:#eff5f0;border:1px solid color-mix(in srgb,var(--novo-nav,#183c34) 70%,white);border-radius:10px;min-height:48px;padding:10px 44px 10px 14px;background-position:right 16px center;font-size:15px;line-height:1.4}
.calendar-google-layout .rail-profile:focus-within{outline:none}
:is(#portal-profile,#novo-visible-profile):focus-visible{outline:2px solid var(--accent,#c6e2d1);outline-offset:3px}
.calendar-google-layout .rail-profile .profile-initial{background:color-mix(in srgb,var(--novo-nav,#183c34) 90%,white);border-color:color-mix(in srgb,var(--novo-nav,#183c34) 70%,white);color:#eff5f0}
.calendar-google-layout .rail{border-right-color:color-mix(in srgb,var(--novo-nav,#183c34) 80%,white)}
.calendar-google-layout .rail .wolf{border-bottom-color:color-mix(in srgb,var(--novo-nav,#183c34) 80%,white)}
@supports(appearance:base-select){
 :is(#portal-profile,#novo-visible-profile),:is(#portal-profile,#novo-visible-profile)::picker(select){appearance:base-select}
 :is(#portal-profile,#novo-visible-profile){display:flex;align-items:center;gap:12px;background-image:none!important;padding-right:16px;cursor:pointer}
 :is(#portal-profile,#novo-visible-profile)::picker-icon{color:#d7e5df;flex:none;margin-left:auto;transition:rotate .16s ease}
 :is(#portal-profile,#novo-visible-profile):open::picker-icon{rotate:180deg}
 :is(#portal-profile,#novo-visible-profile)::picker(select){margin-top:6px;padding:6px;min-width:216px;max-width:calc(100vw - 32px);border:1px solid color-mix(in srgb,var(--novo-nav,#183c34) 70%,white);border-radius:12px;background:var(--novo-nav,#183c34);color:#eff5f0;font:inherit;box-shadow:0 8px 24px #0003}
 :is(#portal-profile,#novo-visible-profile) option{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:7px;background:transparent;color:#eff5f0;line-height:1.4;cursor:pointer}
 :is(#portal-profile,#novo-visible-profile) option:is(:hover,:focus-visible,:checked){background:color-mix(in srgb,var(--accent,#315d6b) 30%,var(--novo-nav,#183c34));color:#fff}
 :is(#portal-profile,#novo-visible-profile) option::checkmark{color:#eff5f0;order:1;margin-left:auto}
}
@media(prefers-reduced-motion:reduce){:is(#portal-profile,#novo-visible-profile)::picker-icon{transition:none}}

/* Keep calendar tools out of other sections; collapsed profile retains a visible native picker. */
.calendar-google-layout .content:not(:has(#planner-view:not([hidden]))) .top-actions>.calendar-controlbar{display:none}
@supports(appearance:base-select){
 .calendar-google-layout.navigation-collapsed .rail-profile :is(#portal-profile,#novo-visible-profile){opacity:1;color:transparent;background:transparent;border-color:transparent;padding:0}
 .calendar-google-layout.navigation-collapsed .rail-profile :is(#portal-profile,#novo-visible-profile)::picker-icon{visibility:hidden}
}


/* The embedded classic stylesheet must not revert the picker to OS appearance. */
@supports(appearance:base-select){
 #novo-classic-workspace #portal-profile,#novo-classic-workspace #portal-profile::picker(select),
 #novo-visible-profile,#novo-visible-profile::picker(select){appearance:base-select!important}
 #novo-classic-workspace #portal-profile,#novo-visible-profile{padding-right:16px!important}
 #novo-classic-workspace.navigation-collapsed #portal-profile{padding:0!important}
}


/* Match the profile disclosure to the other rounded line icons. */
@supports(appearance:base-select){
 :is(#portal-profile,#novo-visible-profile)::picker-icon{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/18px 18px no-repeat}
 #novo-classic-workspace .navigation-collapsed #portal-profile{padding:0!important}
}


/* Pending panel: readable labels and deliberate spacing without changing task data. */
.calendar-google-layout .task-pane .task-tabs button{min-height:44px;font-size:15px;line-height:1.3}
.calendar-google-layout .task-pane .task-controls{padding:14px;gap:10px}
.calendar-google-layout .task-pane .search-field input{height:44px;min-height:44px;font-size:16px}
.calendar-google-layout .task-pane .task-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.calendar-google-layout .task-pane #task-status{grid-column:1/-1}
.calendar-google-layout .task-pane .task-filter-row select{min-width:0;width:100%;height:44px;min-height:44px;padding:8px 44px 8px 12px;background-position:right 16px center;font-size:14px}
.calendar-google-layout .task-pane .task-row{padding:14px 12px;gap:10px}
.calendar-google-layout .task-pane .task-row strong{font-size:15px;line-height:1.45}
.calendar-google-layout .task-pane :is(.task-row small,.task-duration,.task-footer){font-size:13px;line-height:1.5}
.calendar-google-layout .task-pane .task-row:hover{background:var(--selection)}
.calendar-google-layout .task-page-toolbar{gap:10px}
.calendar-google-layout .task-page-toolbar :is(input,select){min-height:44px;font-size:15px}
.calendar-google-layout .routine-card footer button{min-height:44px;font-size:14px}
@media(max-width:420px){.calendar-google-layout .task-pane .task-filter-row{grid-template-columns:minmax(0,1fr)}}


/* ==========================================================================
   NOVOSIV REDESIGN 2026 (v3): INTACT GPU-MIPMAPPED LOCKUP, STATIC NON-OVERLAPPING
   FRAUNCES WORDMARK, SANS-SERIF UI & FULL-BLEED BOREAL FOREST LOGIN
   ========================================================================== */
:root {
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --page: #F3F6F5;
  --base: #FFFFFF;
  --ink: #172421;
  --ink-brand: #172D36;
  --muted: #44534E;
  --line: #DCE3E0;
  --accent: #1B433B;
  --accent-hover: #122E28;
  --accent-ink: #FFFFFF;
  --selection: #D6E7E3;
  --novo-nav: #172D36;
  --nv-landscape: none;
  font-family: var(--font-ui);
}
html:not([data-restoring]) body:not([data-application="true"]):has(#auth-view:not([hidden])) {
  --nv-landscape: url('/assets/novosiv-forest-hero.jpg');
}
.novo-app-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  max-width: min(420px, calc(100vw - 40px));
  margin: 0 !important;
  box-shadow: 0 10px 28px rgba(15, 29, 34, 0.16);
}

html[data-novo-theme=dark] {
  --ink-brand: #FFFFFF;
}

/* 1. Intact GPU-Mipmapped Wolf + Grounded-Paw Aligned NovoSiv Lockup */
#application-brand.brand .brand-isotype {
  display: none !important;
}
.novo-lockup {
  --lockup-h: 36px;
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: calc(var(--lockup-h) * 0.19) !important;
  line-height: 1 !important;
  text-decoration: none !important;
  user-select: none !important;
}
.novo-wolf-mark {
  position: relative !important;
  width: calc(var(--lockup-h) * 1.571618) !important;
  height: var(--lockup-h) !important;
  overflow: hidden !important;
  flex: none !important;
  display: block !important;
}
.novo-wolf-mark > img.novo-wolf-img {
  position: absolute !important;
  left: -3.459916% !important;
  top: -30.371353% !important;
  width: 105.822785% !important;
  height: 166.312997% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  display: block !important;
  filter: brightness(0) opacity(0.90) !important;
}
html[data-novo-theme="dark"] .novo-wolf-mark > img.novo-wolf-img,
body:has(#auth-view:not([hidden])) .novo-wolf-mark > img.novo-wolf-img {
  filter: brightness(0) invert(1) !important;
}
.novo-wordmark {
  font-family: var(--font-display) !important;
  font-weight: 650 !important;
  font-size: calc(var(--lockup-h) * 0.70) !important;
  line-height: 0.725 !important;
  letter-spacing: -0.022em !important;
  color: currentColor !important;
  display: block !important;
  white-space: nowrap !important;
}

/* 2. Full-Bleed Boreal Forest Login (100vw x 100dvh, Forest Left, Clean Form Right) */
body:has(#auth-view:not([hidden])) {
  margin: 0;
  min-height: 100dvh;
  background: #FFFFFF !important;
  color: #172421 !important;
  font-family: var(--font-ui) !important;
  --accent: #1B433B !important;
  --accent-ink: #FFFFFF !important;
  overflow-x: hidden;
}
body:has(#auth-view:not([hidden]))::after {
  display: none !important;
}
@media (min-width: 861px) {
  body:has(#auth-view:not([hidden])) {
    overflow: hidden;
  }
  html:not([data-restoring]) body:not([data-application="true"]):has(#auth-view:not([hidden]))::before {
    content: '';
    position: fixed;
    inset: 0 auto 0 0 !important;
    width: 54% !important;
    height: 100dvh !important;
    z-index: 0 !important;
    background-image:
      linear-gradient(180deg, rgba(8, 19, 23, 0.74) 0%, rgba(10, 24, 29, 0.30) 44%, rgba(7, 17, 21, 0.88) 100%),
      linear-gradient(90deg, rgba(8, 19, 23, 0.66) 0%, rgba(8, 19, 23, 0.08) 100%),
      url('/assets/novosiv-forest-hero.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    filter: none !important;
    animation: none !important;
    transform: none !important;
  }
  body:has(#auth-view:not([hidden])) .access-shell {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    display: grid !important;
    grid-template-columns: 54% 46% !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-items: stretch !important;
    position: relative;
    z-index: 1;
  }
  body:has(#auth-view:not([hidden])) .access-shell > #application-brand.brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(32px, 4.5vw, 56px) clamp(36px, 4.5vw, 64px) 0 !important;
    box-sizing: border-box !important;
    justify-self: start !important;
    align-self: start !important;
    color: #FFFFFF !important;
    background: transparent !important;
    transform: none !important;
  }
  body:has(#auth-view:not([hidden])) #application-brand .novo-lockup {
    --lockup-h: 48px;
    color: #FFFFFF !important;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
  }
  body:has(#auth-view:not([hidden])) .access-shell .access-intro {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 28px clamp(36px, 4.5vw, 64px) clamp(36px, 4.5vw, 56px) !important;
    margin: 0 !important;
    color: #FFFFFF !important;
  }
  body:has(#auth-view:not([hidden])) .login-hero-copy {
    margin: auto 0;
    max-width: 520px;
  }
  body:has(#auth-view:not([hidden])) .access-intro h2 {
    font-family: var(--font-display) !important;
    font-size: clamp(38px, 3.9vw, 54px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 18px !important;
    max-width: 14ch !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45) !important;
  }
  body:has(#auth-view:not([hidden])) .access-intro p {
    font-family: var(--font-ui) !important;
    font-size: 15.5px !important;
    line-height: 1.66 !important;
    max-width: 44ch !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45) !important;
  }
  body:has(#auth-view:not([hidden])) .login-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  }
  body:has(#auth-view:not([hidden])) .access-shell #auth-view.auth-card {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    justify-self: center !important;
    width: min(392px, calc(100% - 64px)) !important;
    max-width: 392px !important;
    max-height: calc(100dvh - 48px) !important;
    margin: 0 !important;
    padding: 24px 4px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow-y: auto !important;
  }
}

/* Mobile & Tablet Login (<= 860px): Boreal Forest Header Banner + Clean Form Card */
@media (max-width: 860px) {
  body:has(#auth-view:not([hidden]))::before {
    display: none !important;
  }
  body:has(#auth-view:not([hidden])) .access-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #FFFFFF !important;
  }
  html:not([data-restoring]) body:not([data-application="true"]):has(#auth-view:not([hidden])) .access-shell > #application-brand.brand {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px 22px 16px !important;
    justify-content: flex-start !important;
    color: #FFFFFF !important;
    background-image:
      linear-gradient(180deg, rgba(8, 19, 23, 0.78) 0%, rgba(7, 17, 21, 0.86) 100%),
      url('/assets/novosiv-forest-hero.jpg') !important;
    background-size: cover !important;
    background-position: center 35% !important;
  }
  body:has(#auth-view:not([hidden])) #application-brand .novo-lockup {
    --lockup-h: 38px;
    color: #FFFFFF !important;
  }
  html:not([data-restoring]) body:not([data-application="true"]):has(#auth-view:not([hidden])) .access-shell .access-intro {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 4px 22px 26px !important;
    color: #FFFFFF !important;
    background-image:
      linear-gradient(180deg, rgba(7, 17, 21, 0.84) 0%, rgba(8, 22, 26, 0.94) 100%),
      url('/assets/novosiv-forest-hero.jpg') !important;
    background-size: cover !important;
    background-position: center 65% !important;
  }
  body:has(#auth-view:not([hidden])) .access-intro h2 {
    font-family: var(--font-display) !important;
    font-size: 30px !important;
    font-weight: 650 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 8px !important;
    color: #FFFFFF !important;
  }
  body:has(#auth-view:not([hidden])) .access-intro p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    max-width: none !important;
  }
  body:has(#auth-view:not([hidden])) .login-highlights {
    display: none !important;
  }
  body:has(#auth-view:not([hidden])) .access-shell #auth-view.auth-card {
    width: min(440px, 100%) !important;
    max-width: 440px !important;
    box-sizing: border-box !important;
    align-self: center !important;
    padding: 28px 22px 36px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
  }
}

/* Login Form Typography & Google Workspace M3 Pill Buttons */
body:has(#auth-view:not([hidden])) #auth-view #welcome-title {
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #172D36 !important;
  margin: 0 0 8px !important;
}
body:has(#auth-view:not([hidden])) #auth-view #intro {
  display: block !important;
  font-family: var(--font-ui) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #44534E !important;
  margin: 0 0 26px !important;
  max-width: none !important;
}
body:has(#auth-view:not([hidden])) #auth-view .google-button {
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 9999px !important;
  border: 1px solid #DCE3E0 !important;
  background: #FFFFFF !important;
  color: #172421 !important;
  font-size: 14.5px !important;
  font-weight: 650 !important;
  justify-content: center !important;
  gap: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s !important;
}
body:has(#auth-view:not([hidden])) #auth-view .google-button:hover:not(:disabled) {
  background: #F3F6F5 !important;
  border-color: #1B433B !important;
  box-shadow: 0 2px 8px rgba(27, 67, 59, 0.12) !important;
}
body:has(#auth-view:not([hidden])) #auth-view input {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #DCE3E0 !important;
  background: #FFFFFF !important;
  color: #172421 !important;
  padding: 0 14px !important;
  font-size: 15px !important;
}
@media (max-width: 860px) {
  body:has(#auth-view:not([hidden])) #auth-view input {
    font-size: 16px !important;
  }
}
body:has(#auth-view:not([hidden])) #auth-view #email-submit.primary {
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 9999px !important;
  background: #1B433B !important;
  border-color: #1B433B !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  margin-top: 22px !important;
  box-shadow: 0 2px 6px rgba(27, 67, 59, 0.22) !important;
  transition: background 0.15s, box-shadow 0.15s !important;
}
body:has(#auth-view:not([hidden])) #auth-view #email-submit.primary:hover:not(:disabled) {
  background: #122E28 !important;
  border-color: #122E28 !important;
  filter: none !important;
  box-shadow: 0 4px 12px rgba(27, 67, 59, 0.28) !important;
}
body:has(#auth-view:not([hidden])) #auth-view .text-button {
  color: #1B433B !important;
  font-weight: 650 !important;
}
body:has(#auth-view:not([hidden])) #auth-view #access-status {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  background: #F3F6F5 !important;
  border: 1px solid #DCE3E0 !important;
  color: #44534E !important;
}
body:has(#auth-view:not([hidden])) #auth-view #access-status:empty {
  display: none !important;
}
body:has(#auth-view:not([hidden])) #auth-view #access-status[data-error="true"] {
  background: #FFF5F4 !important;
  border-color: #F1C8C3 !important;
  color: #933327 !important;
}

/* 3. Estilo y Personalización Dialog (Google Workspace M3 Surface & Swatch Cards, Sans-Serif UI) */
.application-settings {
  width: min(580px, calc(100vw - 28px)) !important;
  border-radius: 24px !important;
  padding: 26px 28px !important;
  font-family: var(--font-ui) !important;
  box-shadow: 0 16px 44px rgba(15, 29, 34, 0.22) !important;
}
.application-settings > header {
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}
.application-settings > header h2 {
  font-family: var(--font-ui) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
.application-settings .settings-subtitle {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  margin: 6px 0 0 !important;
  line-height: 1.45 !important;
}
.application-settings select {
  appearance: none !important;
  -webkit-appearance: none !important;
  border-radius: 12px !important;
  min-height: 44px !important;
  font-size: 14.5px !important;
}
.application-settings select::picker-icon {
  display: none !important;
}
.novo-theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 520px) {
  .novo-theme-cards-grid {
    grid-template-columns: 1fr;
  }
}
.novo-theme-card {
  padding: 12px 13px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: color-mix(in srgb, var(--ink) 2%, var(--base));
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.novo-theme-card:hover {
  border-color: var(--accent);
}
.novo-theme-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--base));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.novo-swatches {
  display: flex;
  gap: 5px;
  margin-bottom: 2px;
}
.novo-swatches i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: inline-block;
}
.novo-theme-card strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.novo-theme-card small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}
.novo-custom-color-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.novo-custom-color-row[hidden] {
  display: none !important;
}
.novo-custom-color-row input {
  border-radius: 12px !important;
  min-height: 42px !important;
  font-size: 14px !important;
  padding: 0 12px !important;
}
.novo-custom-color-row button {
  border-radius: 9999px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: var(--base) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
}
.novo-quick-accent-box {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 2%, var(--base));
}
.novo-quick-accent-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.novo-quick-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.novo-quick-swatch {
  position: relative;
  width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.novo-quick-swatch:hover {
  transform: scale(1.12);
}
.novo-quick-swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--accent);
}
.novo-quick-swatch[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
#profile-calendar .pc-event-content {
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.1s ease;
}
#profile-calendar .pc-event-content:hover {
  filter: brightness(0.97);
}
.pc-event-dialog {
  width: min(420px, calc(100vw - 24px));
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  background: var(--base);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(16, 37, 30, 0.18);
}
.pc-event-dialog::backdrop {
  background: #10251E48;
  backdrop-filter: blur(2px);
}
.pc-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pc-dialog-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 5%, var(--base));
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.pc-dialog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.pc-dialog-close {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
}
.pc-dialog-close:hover {
  background: var(--selection);
  color: var(--ink);
}
.pc-event-dialog h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 12px;
  letter-spacing: -0.015em;
}
.pc-dialog-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  font-size: 13px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 3%, var(--base));
  border: 1px solid var(--line);
}
.pc-dialog-meta dt {
  color: var(--muted);
  font-weight: 600;
}
.pc-dialog-meta dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.pc-dialog-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 150px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 2%, var(--base));
  border: 1px solid var(--line);
}
.pc-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.pc-dialog-link {
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.pc-dialog-link:hover {
  text-decoration: underline;
}
.pc-dialog-done {
  border-radius: 999px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--base);
  color: var(--ink);
}
.novo-custom-color-row button:hover {
  background: var(--selection) !important;
  border-color: var(--accent) !important;
}
.application-settings #tools-save {
  border-radius: 9999px !important;
  min-height: 46px !important;
  font-weight: 650 !important;
}
button.primary, button.quiet {
  border-radius: 9999px;
}
