/* Solar glass belongs to the Workbench shell, never to business iframe content. */
/* Preloading has real layout without replacing the current visible page. */
.workspace-app-panel[data-workbench-staging]{display:flex!important;position:absolute;inset:0;opacity:0;pointer-events:none}.workspace-stage[data-workbench-staging]{display:block!important;position:fixed;inset:0;width:100%;height:100dvh;z-index:-1;pointer-events:none}
/* Extend the committed application palette to the real document canvas and
   browser edge regions. Preserve native controls and application safe areas. */
:root[data-workbench-canvas]{background-color:var(--workspace-canvas-color)!important;background-image:none!important;color-scheme:var(--workspace-canvas-scheme)}
:root[data-workbench-canvas] body.has-workspace-app{background:transparent;min-height:100dvh}
/* The shared canvas owns the page gradient; the navigation stays on that canvas. */
@media(max-width:900px){.workspace-shell.has-active-app .workspace-navigation{position:sticky;top:0;background-color:var(--workspace-page-surface,transparent)!important;background-image:var(--workspace-page-image,none)!important;background-size:var(--workspace-page-size,auto)!important;background-position:var(--workspace-page-position,0 0)!important;background-repeat:no-repeat!important}}
@media(max-width:900px){html[data-workbench-window-paint],html[data-workbench-window-paint] body.has-workspace-app{height:var(--workspace-paint-height)!important;min-height:var(--workspace-paint-height)!important}html[data-workbench-window-paint] .workspace-shell.has-active-app,html[data-workbench-window-paint] .workspace-body,html[data-workbench-window-paint] .workspace-stage,html[data-workbench-window-paint] .workspace-app-panel:not([hidden]){overflow:visible!important}}
/* Keep the mobile application's paint container out of WebKit's fixed clip.
   Both keyboard states use the same containing block; home scroll is unchanged. */
@media(max-width:900px){.has-active-app.workspace-shell,.has-active-app.workspace-shell.app-keyboard-viewport{position:absolute;inset:var(--workspace-layout-top,0px) 0 auto;width:100%;height:var(--workspace-height,100dvh);min-height:0;overflow:hidden}}
:root{--bg:#0b1421;--panel:#142237;--sidebar:#101c2bec;--ink:#edf1f6;--text:#edf1f6;--muted:#a6b2c3;--line:#a5bdd914;--primary:#e4b878;--accent:#e4b878;--warm:#e6bd81;--solar-gold:#edc58d;--solar-glass:linear-gradient(145deg,#dfedff0a,#7196c108 65%,#e5efff04);color-scheme:dark;background:#0b1421;color:var(--ink)}
body{background:radial-gradient(ellipse at 5% 0%,#3b639222,transparent 46%),radial-gradient(ellipse at 88% 65%,#31577f10,transparent 50%),#0b1421;color:var(--ink)}
.workspace-body{background:radial-gradient(ellipse at 6% -8%,#4973a524,transparent 46%),radial-gradient(ellipse at 88% 65%,#3e628d11,transparent 48%),linear-gradient(145deg,#17263a,#0b1421 67%)}
.workspace-sidebar{background:linear-gradient(165deg,#1b293aed,#0c1624f5);border-right-color:#c4d9f00c;backdrop-filter:blur(28px) saturate(1.15);-webkit-backdrop-filter:blur(28px) saturate(1.15)}
.workspace-shell.has-active-app{--workspace-drawer-fill:linear-gradient(155deg,color-mix(in srgb,var(--workspace-page-surface) 58%,transparent),color-mix(in srgb,var(--workspace-page-surface) 78%,transparent))!important}
.workspace-shell.has-active-app .workspace-sidebar{background:var(--workspace-drawer-fill);color:var(--workspace-nav-ink);border-color:var(--workspace-glass-line)}
.workspace-shell.has-active-app .workspace-sidebar .sidebar-brand,.workspace-shell.has-active-app .workspace-sidebar .sidebar-label,.workspace-shell.has-active-app .workspace-sidebar .brand-subtitle,.workspace-shell.has-active-app .workspace-sidebar .nav-item,.workspace-shell.has-active-app .workspace-sidebar .icon-button,.workspace-shell.has-active-app .workspace-sidebar .account-details strong{color:var(--workspace-nav-ink)}
.workspace-shell.has-active-app .sidebar-footer{background:transparent}
.sidebar-brand,.sidebar-footer{border-color:#afc6e30d}.brand img{border-radius:23%;object-fit:contain}.brand-subtitle{color:#9baabe}.brand .sidebar-label{font-weight:650;letter-spacing:.055em}
.nav-item{position:relative;z-index:1;color:#d2d4d7;border:1px solid transparent;border-radius:15px;transition:transform .2s ease}.sidebar-nav .nav-item,.sidebar-nav .nav-item:hover,.sidebar-nav .nav-item:active,.sidebar-nav .nav-item.is-selected,.sidebar-nav .nav-item[aria-current=page]{background:transparent;border-color:transparent;box-shadow:none;color:#d2d4d7}
.sidebar-nav{position:relative;isolation:isolate}
.icon-button{color:#d4cbbd}.icon-button:hover{background:#eac58c10;color:#f2d6a6}.account-avatar{background:#b58a4c22;color:#edc88e}.account-state{color:#9aabc0}.button-primary,.primary{background:linear-gradient(135deg,#f0d4a4,#d5a967);color:#251c10;box-shadow:0 5px 20px #c08d3917;border-color:#fff3d321}.skip-link{color:#20190f}
.workspace-main{max-width:1200px;padding-top:52px}.workspace-heading{margin-bottom:35px}.eyebrow{color:#c8a66e;letter-spacing:.24em}.workspace-heading h1{color:#edf2f8;font-weight:650;letter-spacing:-.035em}.heading-dot{color:#efc88b}.workspace-subtitle{color:#a9b7ca;line-height:1.65}.section-heading h2{color:#d4dfec}#module-count{color:#d1b98f;background:#b98e5120;border:1px solid #f4ce9510;border-radius:8px}
.module-grid{gap:14px}.module-card{--tone:221,181,116!important;min-height:94px;border:1px solid #bdd5f012;border-radius:22px;background:radial-gradient(ellipse at 15% 0%,#d9eaff0a,transparent 78%),var(--solar-glass),#142337ad;box-shadow:inset 0 1px #e4f0ff0a,0 7px 24px #00000012;backdrop-filter:blur(20px) saturate(1.15);-webkit-backdrop-filter:blur(20px) saturate(1.15);transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .25s ease}
.module-content h3{font-weight:600;color:#e7edf6}.module-content p{color:#a8b7cb}.module-status{color:#b9c5d5}.module-status:before{background:#ddbd81}.module-card.is-pending{opacity:.57}.module-card.is-pending .module-status{color:#8e9db0}.module-icon{width:44px;height:44px}.module-icon img{width:38px;height:38px;filter:none}.module-card[data-module=easel] .module-icon img{filter:brightness(1.45) saturate(.8)}
.module-card:focus-within{outline:0;box-shadow:0 0 0 2px #e8bc77aa}.module-card:not(:focus-visible):has(.module-action:focus:not(:focus-visible)){outline:0}
@media(hover:hover)and(pointer:fine){.module-card.is-available:hover{transform:translateY(-2px);border-color:#f3cf9640;box-shadow:inset 0 1px #e4efff10,0 12px 30px #00000020,0 2px 18px #bc853310}.nav-item:active{transform:scale(.985)}}
.workspace-caption,.workspace-footer{color:#8e9fb5}.notification-panel{background:linear-gradient(145deg,#1c2c42ee,#101c2df5);border-color:#f6d49b1f;box-shadow:0 24px 75px #00000055;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}.notification-empty,.notification-empty p{color:#a9b7ca}.notification-empty>svg{color:#d8b880}.notification-empty strong{color:#dbe4ef}.sidebar-backdrop,.notification-panel::backdrop{background:#050c1666;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
/* The navigation itself has no floor, separator, bottom stroke or opaque band. */
.workspace-navigation,.workspace-tabs{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none}.workspace-tabs{padding-block:8px;isolation:isolate}.workspace-tab-list{position:relative;align-items:center;gap:6px;scrollbar-width:none;overflow-y:clip;touch-action:pan-x}
/* Expanded navigation owns one transparent row; collapsed height stays zero. */
.has-active-app .workspace-body{background-image:var(--workspace-page-image,none)!important;background-size:var(--workspace-page-size,auto)!important;background-position:var(--workspace-page-position,0 0)!important;background-repeat:no-repeat!important;background-origin:border-box!important;background-clip:border-box!important}
.has-active-app .workspace-body{position:relative;background:var(--workspace-page-surface,transparent)}.has-active-app .workspace-navigation{position:relative;inset:auto;flex:none}.has-active-app .workspace-tabs{position:relative;inset:auto;width:100%;box-sizing:border-box;flex:none}
.workspace-tab{position:relative;z-index:1;background:var(--workspace-tab-fill,#ffffff05);border:1px solid var(--workspace-tab-line,#c6d9f00e);border-radius:999px;box-shadow:none;transition:background .2s ease,border-color .2s ease}.workspace-tab:has([aria-selected=true]){background:transparent;border-color:transparent;box-shadow:none}.workspace-home-tab{position:relative;z-index:1;background:var(--workspace-tab-fill,#ffffff05);border:1px solid var(--workspace-tab-line,#c6d9f00e);border-radius:999px;box-shadow:none}.workspace-home-tab[aria-selected=true]{background:transparent;box-shadow:none;border-color:transparent}
.workspace-tab-select,.workspace-tab-select[aria-selected=true]{position:relative;z-index:1;color:var(--workspace-nav-ink,#e3eaf4);border-radius:999px;font-weight:500}.workspace-tab-select{opacity:.68}.workspace-tab-select[aria-selected=true]{opacity:1}.workspace-tab-close,.workspace-tool,.workspace-tab-menu,.workspace-nav-actions .icon-button{position:relative;z-index:1;color:var(--workspace-nav-ink,#c4d0e0);opacity:.7;border-radius:999px}.workspace-tool:hover,.workspace-nav-actions .icon-button:hover,.workspace-tab-menu:hover{background:#dbb77b14;color:var(--workspace-nav-ink,#ffe4b6);opacity:1}
.workspace-tab{gap:0;padding-right:4px}.workspace-tab-select{padding-right:5px}.workspace-tab-close{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:26px;min-height:26px;height:26px;margin:0;background:transparent;font-size:18px;line-height:1;opacity:.54}.workspace-tab:has([aria-selected=true]) .workspace-tab-close{opacity:.75}.workspace-tab-close:hover{background:transparent}.workspace-tab-close{-webkit-tap-highlight-color:transparent}@media(hover:hover)and(pointer:fine){.workspace-tab-close:hover{background:#e4bc7d1a;opacity:1}}.workspace-tab-select:focus-visible,.workspace-tab-close:focus-visible,.workspace-tool:focus-visible,.workspace-nav-reveal:focus-visible{outline-color:#e4b878}
.workspace-liquid-thumb{position:absolute;left:0;top:1px;height:calc(100% - 2px);z-index:0;pointer-events:none;transform-origin:left center;will-change:transform;border-radius:999px;transition:none!important}
.workspace-liquid-thumb>i{display:block;position:absolute;inset:0;border-radius:inherit;background:var(--workspace-glass-fill,linear-gradient(140deg,#fff5dd21,#f3d5a80c 48%,#eec99517));border:1px solid var(--workspace-glass-line,#f8dfb731);box-shadow:var(--workspace-glass-shadow,0 4px 14px #0000001c);backdrop-filter:blur(16px) saturate(1.28);-webkit-backdrop-filter:blur(16px) saturate(1.28);transform:none;transition:none}.workspace-tab-list.tab-dragging .workspace-liquid-thumb{transition:none}.workspace-tab-select[data-preview]{opacity:1}.workspace-app-frame{background:transparent}.workspace-stage{background:transparent}
.has-active-app .workspace-tabs{color:var(--workspace-nav-ink,#e9eff7)}.workspace-nav-reveal span{background:#c7a57599}.workspace-nav-reveal:hover span,.workspace-nav-reveal:focus-visible span{background:#ebc58d}.has-active-app .workspace-nav-reveal span{background:var(--workspace-nav-ink,#c9d5e5);opacity:.4}.has-active-app .workspace-nav-reveal:hover span,.has-active-app .workspace-nav-reveal:focus-visible span{background:var(--workspace-nav-ink,#edc58d);opacity:.72}.workspace-nav-menu{border-color:#f0cf9c1d;background:linear-gradient(145deg,#1a2a40e8,#0f1b2df2);color:#e3ebf6;box-shadow:0 12px 40px #00000050}.workspace-nav-menu button:hover,.workspace-nav-menu a:hover{background:#eac48a12}
/* Platform member and module tools use the same material; permissions stay server owned. */
.workspace-navigation,.workspace-tabs,.workspace-body,.workspace-tab,.workspace-home-tab,.workspace-tab-select,.workspace-tab-close,.workspace-tool,.workspace-tab-menu,.workspace-nav-actions .icon-button,.workspace-nav-reveal span{transition-property:transform,opacity!important}
.workspace-tab-list{-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--workspace-tab-fade-start,0px),#000 calc(100% - var(--workspace-tab-fade-end,0px)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--workspace-tab-fade-start,0px),#000 calc(100% - var(--workspace-tab-fade-end,0px)),transparent)}
.workspace-home-tab>.workspace-tab-icon{width:16px;height:16px;object-fit:contain;flex:none}
/* Only a newly opened label waits for the single glass capsule to arrive.
   Opacity leaves its real geometry intact and never changes the nav height. */
.workspace-tab[data-workbench-tab-arrival="waiting"]{opacity:0;pointer-events:none;transition:none!important}
.workspace-tab[data-workbench-tab-arrival="shown"]{opacity:1;transition:opacity 240ms cubic-bezier(.2,.8,.2,1)}
.admin-shell .topbar{border-bottom-color:#bdd1eb0b}.admin-shell .app-tabs{gap:9px;border-bottom-color:#bdd1eb0d}.admin-shell .app-tab,.admin-shell .member-picker,.admin-shell input,.admin-shell select,.admin-shell .button,.admin-shell .role-option{background:var(--solar-glass),#17273db3;border-color:#b8cfe91b;border-radius:15px}.admin-shell .app-tab[aria-selected=true],.admin-shell .role-option[aria-pressed=true]{background:linear-gradient(135deg,#e7be7d25,#dba8610e);border-color:#e9c68e75;color:#f0d7ad}.admin-shell .primary{background:linear-gradient(135deg,#efcf9b,#c99a59);color:#271d0e}.admin-shell .member-menu{background:#142338f5;border-color:#bdd1eb24;box-shadow:0 18px 46px #00000045;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.admin-shell .member-option[aria-selected=true],.admin-shell .member-option:hover{background:#cba46620}.admin-shell .member-avatar{background:#d3aa6c22;color:#ebc88d}.admin-shell .view-switch [aria-pressed=true],.admin-shell .text-action{color:#e7c28a}.admin-shell .member-state{background:#7ba38c19;color:#acd0bc}.admin-shell .editor-note,.admin-shell .muted,.admin-shell .page-status{color:#a8b7cb}.admin-shell input:focus-visible,.admin-shell select:focus-visible{outline-color:#e7bc79}.admin-shell .danger-action{color:#dbaf9c}
@media(max-width:900px){.workspace-main{padding:30px 20px 18px}.workspace-heading{margin-bottom:26px}.workspace-heading h1{font-size:33px}.module-grid{gap:11px}.module-card{min-height:92px;padding:15px;border-radius:21px}.module-icon{width:41px}.module-icon img{width:36px;height:36px}.workspace-tabs{padding:4px 7px 5px}.workspace-tab-select{min-height:28px}.workspace-tab{border-radius:999px}.workspace-sidebar{background:linear-gradient(155deg,#1c2c40f0,#0b1625f7)}.workspace-footer{color:#8fa2bc}.admin-shell input,.admin-shell select,.admin-shell textarea,[contenteditable=true]{font-size:16px}.workspace-liquid-thumb{height:calc(100% - 2px)}}
@media(prefers-reduced-motion:reduce){.module-card,.nav-item,.workspace-tab,.workspace-tab-select,.workspace-liquid-thumb{transition:none!important;scroll-behavior:auto!important;animation:none!important}}
/* Navigation and the live page share the same spring-controlled boundary. */
@media(max-width:900px){
 .workspace-shell[data-nav-motion] .workspace-navigation{height:var(--workspace-nav-height,40px);min-height:0;flex:none;transition:none!important}
 .workspace-shell[data-nav-motion] .workspace-tabs{height:40px;max-height:40px;min-height:0;padding-top:4px;padding-bottom:5px;opacity:1;transform:translate3d(0,var(--workspace-nav-travel,0px),0);clip-path:inset(var(--workspace-nav-clip,0px) 0 0 0);transition:none!important}
 .workspace-shell[data-nav-rebound] .workspace-body{transform:translate3d(0,var(--workspace-nav-rebound),0);transition:none!important}
 .workspace-shell.has-active-app[data-nav-motion] .workspace-body{height:calc(100% + var(--workspace-nav-overscan,0px))}
 .workspace-shell[data-nav-moving] .workspace-body{overflow-anchor:none}
}
/* Equal visible logo height, including files with different transparent padding. */
.module-icon.has-normalized-logo{position:relative;flex:0 0 60px;width:60px;overflow:visible;align-self:center}.module-icon.has-normalized-logo img{position:absolute;max-width:none;max-height:none;object-fit:contain;pointer-events:none}
.module-card,.module-card a,.module-card img,.sidebar-nav .nav-item,.sidebar-nav .nav-item *,.sidebar-brand .brand,.sidebar-brand .brand img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
@media(max-width:900px){.module-grid{margin-inline:-8px}.module-card{padding-inline:8px;gap:8px}.workspace-sidebar{width:min(66vw,260px);background:linear-gradient(155deg,#243a539e,#0b1625b3);backdrop-filter:blur(24px) saturate(1.16);-webkit-backdrop-filter:blur(24px) saturate(1.16)}.sidebar-footer{background:#101e303d}.sidebar-backdrop{background:#050c161f;backdrop-filter:none;-webkit-backdrop-filter:none}.sidebar-nav{padding-inline:12px}.nav-item{padding-inline:12px}}
/* The drawer and its backdrop start at the same animated edge as the page.
   Keep the navigation accessible above them, including keyboard viewport shifts. */
@media(max-width:900px){.workspace-shell[data-nav-motion] .workspace-sidebar,.workspace-shell[data-nav-motion] .sidebar-backdrop{top:calc(var(--workspace-visual-top,0px) + var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px));height:calc(var(--workspace-height,100dvh) - var(--workspace-nav-height,40px) - var(--workspace-nav-rebound,0px));max-height:none;bottom:auto}}
@media(max-width:900px){html[data-workbench-window-paint] .workspace-shell[data-nav-motion] .workspace-sidebar{height:calc(var(--workspace-control-height) - var(--workspace-nav-height,40px) - var(--workspace-nav-rebound,0px))}html[data-workbench-window-paint] .workspace-nav-menu{max-height:calc(var(--workspace-control-height) - 64px);overflow-y:auto}}
@media(max-width:900px){.workspace-shell[data-nav-motion] .workspace-sidebar{border-top:0;border-top-left-radius:0;border-top-right-radius:0;box-shadow:12px 16px 30px #00000014}}
/* The committed page canvas owns the full gradient. Retire the older fixed
   72px scroll fade in home, fallback and application states alike. */
@media(max-width:900px){.workspace-body::before{content:none}.workspace-stage{position:relative;z-index:1}.workspace-shell.has-active-app .workspace-navigation{background-color:var(--workspace-page-surface)!important;background-image:none!important}}
@media(max-width:900px){.sidebar-mobile-open .workspace-navigation{z-index:120}}
/* One continuous L-shaped glass canvas spans the navigation and drawer.
   Neither child paints another tint or blur across their shared edge. */
.workspace-drawer-glass{display:none;pointer-events:none}
@media(max-width:900px){body:has(.workspace-shell[data-home-window-drawer]){overflow:visible!important;min-height:var(--workspace-home-drawer-extent)!important}.workspace-shell[data-home-window-drawer]{position:relative}.workspace-shell[data-home-window-drawer] .workspace-body{min-height:var(--workspace-drawer-window-height)}.workspace-shell[data-home-window-drawer] .workspace-navigation{position:sticky;top:0;background-color:#0b1421!important}.workspace-shell[data-home-window-drawer] .workspace-drawer-glass:not([hidden]),.workspace-shell[data-home-window-drawer] .sidebar-backdrop{position:absolute;top:var(--workspace-drawer-document-top);height:var(--workspace-drawer-window-height);bottom:auto}.workspace-shell[data-home-window-drawer][data-sidebar-motion] .workspace-sidebar{position:absolute;top:calc(var(--workspace-drawer-document-top) + var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px))}}
/* One outer drawing canvas includes the area behind Safari's floating controls.
   The drawer's interactive footer still uses --workspace-control-height. Avoid
   fixed viewport-sized/sidebar containers retaining Safari's previous edge. */
@media(max-width:900px){body[data-workbench-body-canvas] .workspace-shell.has-active-app{overflow:visible!important}body[data-workbench-body-canvas] .workspace-shell.has-active-app .workspace-body{background:transparent!important;background-image:none!important}body[data-workbench-body-canvas] .workspace-shell.has-active-app .workspace-drawer-glass:not([hidden]),body[data-workbench-body-canvas] .workspace-shell.has-active-app .sidebar-backdrop{position:absolute;top:0;height:max(var(--workspace-height),var(--workspace-window-canvas-height));bottom:auto}body[data-workbench-body-canvas] .workspace-shell.has-active-app[data-sidebar-motion] .workspace-sidebar{position:absolute}}
/* The menu consumes the same live surface tokens as the navigation, including
   future modules and previews; there is no application-specific theme list. */
.workspace-nav-menu{background:linear-gradient(145deg,#ffffff0d,#ffffff00 65%),color-mix(in srgb,var(--workspace-page-surface,#17263a) 94%,transparent);color:var(--workspace-nav-ink,#e3ebf6);border-color:var(--workspace-glass-line,#f0cf9c1d);box-shadow:0 12px 40px #00000024;backdrop-filter:blur(22px) saturate(1.15);-webkit-backdrop-filter:blur(22px) saturate(1.15)}
.workspace-nav-menu button:hover,.workspace-nav-menu a:hover,.workspace-nav-menu button:active,.workspace-nav-menu a:active{background:color-mix(in srgb,var(--workspace-nav-ink,#e3ebf6) 9%,transparent)}
.workspace-nav-menu button:focus-visible,.workspace-nav-menu a:focus-visible{outline:2px solid color-mix(in srgb,var(--workspace-nav-ink,#e3ebf6) 58%,transparent);outline-offset:-2px;background:color-mix(in srgb,var(--workspace-nav-ink,#e3ebf6) 9%,transparent)}
@media(max-width:900px){
 .workspace-shell[data-sidebar-motion] .workspace-sidebar{transform:translate3d(var(--workspace-drawer-x,-100vw),0,0) scaleX(var(--workspace-drawer-stretch,1));transform-origin:left center;transition:none!important;visibility:hidden;background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;box-shadow:none;color:var(--workspace-nav-ink,#edf1f6)}
 .workspace-shell[data-sidebar-visible] .workspace-sidebar{visibility:visible}
 .workspace-shell[data-sidebar-moving] .workspace-sidebar{will-change:transform}
 .workspace-shell[data-sidebar-visible] .workspace-navigation{z-index:120}
 .workspace-shell[data-sidebar-visible] .workspace-nav-menu{z-index:130}
 .workspace-shell .workspace-drawer-glass:not([hidden]){display:block;position:fixed;z-index:105;left:0;top:var(--workspace-visual-top,0px);width:100%;height:var(--workspace-height,100dvh);background:var(--workspace-drawer-fill,linear-gradient(155deg,#243a539e,#0b1625b3));backdrop-filter:blur(24px) saturate(1.16);-webkit-backdrop-filter:blur(24px) saturate(1.16);opacity:var(--workspace-drawer-opacity,0);clip-path:polygon(0 0,100% 0,100% max(0px,calc(var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px))),var(--workspace-drawer-edge,0px) max(0px,calc(var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px))),var(--workspace-drawer-edge,0px) 100%,0 100%)}
 .workspace-shell[data-sidebar-motion] .sidebar-backdrop{opacity:var(--workspace-drawer-opacity,0);clip-path:inset(0 0 0 var(--workspace-drawer-edge,0px));transition:none!important}
 .workspace-shell[data-sidebar-motion] .sidebar-footer{background:transparent}
 .workspace-shell[data-sidebar-motion] .sidebar-nav .nav-item,.workspace-shell[data-sidebar-motion] .sidebar-brand,.workspace-shell[data-sidebar-motion] .sidebar-label,.workspace-shell[data-sidebar-motion] .brand-subtitle,.workspace-shell[data-sidebar-motion] .sidebar-footer .icon-button{color:var(--workspace-nav-ink,#d9e1ec)}
}
/* Single-choice rails share one continuous glass, without duplicate active fills. */
.glass-choices{position:relative;isolation:isolate;touch-action:pan-y}.glass-choices>button{position:relative;z-index:1;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glass-choice-thumb{position:absolute;top:0;left:0;z-index:0;pointer-events:none;border-radius:15px;will-change:transform,width,height}.glass-choice-thumb[hidden]{display:none}.glass-choice-thumb>i{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(140deg,#fff5dd21,#f3d5a80c 48%,#eec99517);border:1px solid #f8dfb750;box-shadow:0 4px 14px #0000001c;backdrop-filter:blur(16px) saturate(1.28);-webkit-backdrop-filter:blur(16px) saturate(1.28)}
.admin-shell .app-tabs.glass-choices .app-tab[aria-selected=true],.glass-choices>button[aria-pressed=true],.glass-choices>button.selected{background:transparent;box-shadow:none;border-color:transparent}.glass-choices>button[data-glass-preview]{color:#ffe5b9}.view-switch.glass-choices,.view-tabs.glass-choices{display:inline-flex;align-items:center;gap:2px;max-width:100%;width:max-content;padding:4px;border:1px solid #f0d2a41c;border-radius:999px;background:#c99c5a0b;touch-action:pan-x}.view-switch.glass-choices>button,.view-tabs.glass-choices>button{flex:none;min-height:30px;padding:5px 13px;margin:0;border:0;border-radius:999px;color:#a6b7cd;font-size:12px;line-height:1.4;background:transparent}.view-switch.glass-choices>button[aria-pressed=true],.view-tabs.glass-choices>button[aria-pressed=true]{color:#e7eef8}.view-switch.glass-choices .glass-choice-thumb,.view-tabs.glass-choices .glass-choice-thumb{border-radius:999px}.admin-shell .app-tabs.glass-choices{border-bottom:0}.admin-shell .view-switch.glass-choices button[aria-pressed=true]{border:0}.glass-choices button:focus-visible{outline:2px solid #e7bc79;outline-offset:2px}
/* Native H5 full window: paint behind system regions; keep controls in safe bounds. */
@media(max-width:900px){
 .workspace-shell[data-native-window]{--workspace-native-safe-top:env(safe-area-inset-top,0px);--workspace-native-safe-bottom:env(safe-area-inset-bottom,0px)}
 .workspace-shell[data-native-window] .workspace-body{padding-top:var(--workspace-native-safe-top);box-sizing:border-box}
 .workspace-shell[data-native-window] .workspace-navigation{top:var(--workspace-native-safe-top)!important}
 html .workspace-shell[data-native-window][data-nav-motion] .workspace-sidebar{top:calc(var(--workspace-native-safe-top) + var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px));height:calc(var(--workspace-height,100dvh) - var(--workspace-native-safe-top) - var(--workspace-nav-height,40px) - var(--workspace-nav-rebound,0px));max-height:none}
 .workspace-shell[data-native-window] .sidebar-footer{padding-bottom:max(16px,var(--workspace-native-control-bottom,var(--workspace-native-safe-bottom)))}
 .workspace-shell[data-native-window] .workspace-drawer-glass{clip-path:polygon(0 0,100% 0,100% max(0px,calc(var(--workspace-native-safe-top) + var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px))),var(--workspace-drawer-edge,0px) max(0px,calc(var(--workspace-native-safe-top) + var(--workspace-nav-height,40px) + var(--workspace-nav-rebound,0px))),var(--workspace-drawer-edge,0px) 100%,0 100%)}
}
/* Desktop sidebar and navigation sit on the same live module canvas. The
   sidebar's former currentColor fallback must never create a white seam. */
.workspace-sidebar{border-right:0!important}
/* Feishu already supplies a full native window. Its outer shell has no user
   document scroll; only the application and its modal content may scroll.
   Keep the native viewport anchor separate from Safari's extended paint flow. */
@media(max-width:900px){
 html:has(.workspace-shell[data-native-window].has-active-app),body:has(.workspace-shell[data-native-window].has-active-app){overflow:hidden!important;overscroll-behavior:none}
 body .workspace-shell[data-native-window].has-active-app,body .workspace-shell[data-native-window].has-active-app.app-keyboard-viewport{position:fixed;inset:var(--workspace-visual-top,0px) 0 auto;height:var(--workspace-height,100dvh)}
 /* Native already owns the live scene on workspace-body. Do not leave the
    former solid navigation floor after removing Safari's body-canvas owner. */
 .workspace-shell[data-native-window].has-active-app .workspace-navigation{background:transparent!important}
 .workspace-shell[data-native-content-keyboard] .workspace-app-frame{translate:0 calc(0px - var(--workspace-visual-top,0px))}
}
@media(min-width:901px){
 .workspace-shell.has-active-app{background-color:var(--workspace-page-surface);background-image:var(--workspace-page-image,none);background-size:var(--workspace-page-size,auto);background-position:var(--workspace-page-position,0 0);background-repeat:no-repeat}
 .workspace-shell.has-active-app .workspace-body{background:transparent!important}
 .workspace-shell.has-active-app .workspace-sidebar{background:var(--workspace-glass-fill);box-shadow:none}
}
/* The committed outer canvas already owns the live gradient. A second solid
   navigation/fade layer breaks that scene at every detail or backdrop change. */
@media(max-width:900px){
 body[data-workbench-body-canvas] .workspace-shell.has-active-app .workspace-navigation{background:transparent!important}
 /* The acknowledged module itself draws behind the logical navigation row.
    Its content reserves the same spring-driven row; no duplicated top fill. */
 body[data-workbench-body-canvas] .workspace-shell.has-active-app:has(.workspace-app-frame[data-workbench-full-window]) .workspace-navigation{position:relative;background:transparent!important}
 html[data-workbench-window-paint] .workspace-app-frame[data-workbench-full-window]{flex:none;height:calc(100% + var(--workspace-nav-height,40px));max-height:none;margin-top:calc(0px - var(--workspace-nav-height,40px))}
 body[data-workbench-body-canvas] .workspace-shell.has-active-app .workspace-body::before{content:none}
}

/* Existing more-menu on home and applications; dismiss below the real rail. */
.workspace-nav-actions{display:flex;align-items:center;flex:none}
.workspace-nav-dismiss{position:fixed;inset:0;z-index:129;background:transparent}
.workspace-nav-dismiss[hidden]{display:none!important}
.workspace-nav-menu{z-index:130;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.workspace-nav-actions .icon-button{width:30px;min-width:30px;min-height:30px;height:30px;border-radius:11px}

/* Original vertical sidebar capsule; one glass surface, original engine. */
.sidebar-nav.has-liquid-glass .nav-item.is-selected{background:transparent;border-color:transparent;box-shadow:none}
.sidebar-nav .nav-item[data-preview]{color:var(--workspace-nav-ink,#ffe5b9);background:transparent}
.sidebar-liquid-thumb{position:absolute;top:0;left:0;width:100%;z-index:0;pointer-events:none;border-radius:15px;transform-origin:center;will-change:transform}
.sidebar-liquid-thumb[hidden]{display:none}
.sidebar-liquid-thumb>i{position:absolute;inset:0;border-radius:inherit;background:var(--workspace-glass-fill,linear-gradient(140deg,#fff5dd21,#f3d5a80c 48%,#eec99517));border:1px solid var(--workspace-glass-line,#f8dfb731);box-shadow:var(--workspace-glass-shadow,0 4px 14px #0000001c);backdrop-filter:blur(16px) saturate(1.28);-webkit-backdrop-filter:blur(16px) saturate(1.28)}

/* Desktop business applications use the full host width, with no collapsed rail. */
@media(min-width:901px){
 .workspace-shell.has-active-app[data-desktop-sidebar="false"]>.workspace-sidebar,
 .workspace-shell.has-active-app[data-desktop-sidebar="false"]>.workspace-drawer-glass,
 .workspace-shell.has-active-app[data-desktop-sidebar="false"]>.sidebar-backdrop{display:none!important}
}

/* One desktop sidebar paint surface. Hover must not tint its sections. */
@media(min-width:901px){
 .workspace-sidebar{--workbench-sidebar-paint:linear-gradient(165deg,#1b293aed,#0c1624f5);background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:isolate}
 .workspace-shell.has-active-app .workspace-sidebar{--workbench-sidebar-paint:var(--workspace-glass-fill,linear-gradient(165deg,#1b293aed,#0c1624f5))}
 .workspace-sidebar::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--workbench-sidebar-paint);border-radius:inherit;backdrop-filter:blur(28px) saturate(1.15);-webkit-backdrop-filter:blur(28px) saturate(1.15)}
 .workspace-sidebar .sidebar-brand,.workspace-sidebar .sidebar-scroll,.workspace-sidebar .sidebar-footer{background:transparent!important;box-shadow:none!important}
}
@media(hover:hover)and(pointer:fine){
 .workspace-sidebar .brand:hover,.workspace-sidebar .nav-item:hover,.workspace-sidebar .icon-button:hover{background:transparent!important;background-image:none!important;box-shadow:none!important}
}

/* The drawer trigger lives in the navigation, outside .workspace-sidebar.
   Its hover/pressed/expanded states never keep a separate colored tile. */
#sidebar-open,#sidebar-open:hover,#sidebar-open:active,#sidebar-open:focus,#sidebar-open[aria-expanded="true"]{background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--workspace-nav-ink,#d4cbbd)!important;-webkit-tap-highlight-color:transparent}
/* Keep an explicit keyboard focus indicator without forcing blur. */
#sidebar-open:focus-visible{outline:2px solid var(--workspace-nav-ink,#e4b878);outline-offset:-2px}

/* The horizontal scroller needs real vertical paint room: overflow-y:visible
   would compute back to auto when overflow-x:auto. Negative margins preserve
   the original navigation row footprint and label positions. */
.workspace-tab-list{padding-block:12px;margin-block:-12px}
.workspace-tab-list .workspace-liquid-thumb{top:13px;height:calc(100% - 26px)}
.workspace-tabs{overflow:visible}
@media(max-width:900px){
 .workspace-shell[data-nav-motion] .workspace-tabs{--workspace-glass-air:clamp(0px,calc(var(--workspace-nav-height,40px)*.3),12px);clip-path:inset(calc(var(--workspace-nav-clip,0px) - var(--workspace-glass-air)) 0 calc(0px - var(--workspace-glass-air)) 0)}
}

/* Stable base canvas; only navigation mirrors a child-owned backdrop scene. */
.workspace-shell.has-active-app .workspace-navigation,.workspace-shell[data-native-window].has-active-app .workspace-navigation{background-color:var(--workspace-nav-surface,var(--workspace-page-surface,transparent))!important;background-image:var(--workspace-nav-image,var(--workspace-page-image,none))!important;background-size:var(--workspace-nav-size,var(--workspace-page-size,auto))!important;background-position:var(--workspace-nav-position,var(--workspace-page-position,0 0))!important;background-repeat:no-repeat!important}

/* Native safe-area and navigation share one scene plane. The application
   keeps its stable base canvas; its own backdrop still shades it only once. */
@media(max-width:900px){
 .workspace-shell[data-native-window].has-active-app .workspace-body::before{
  content:"";position:absolute;inset:0 0 auto;height:calc(var(--workspace-native-safe-top,0px) + var(--workspace-nav-height,40px));
  z-index:0;pointer-events:none;opacity:1;transform:none;filter:none;
  background-color:var(--workspace-nav-surface,var(--workspace-page-surface,transparent));
  background-image:var(--workspace-nav-image,var(--workspace-page-image,none));
  background-size:var(--workspace-nav-size,var(--workspace-page-size,auto));
  background-position:var(--workspace-nav-position,var(--workspace-page-position,0 0));
  background-repeat:no-repeat;background-origin:border-box;background-clip:border-box;
 }
 .workspace-shell[data-native-window].has-active-app .workspace-navigation{background:transparent!important}
}

/* One acknowledged application canvas paints beneath transparent navigation.
   Dialog/backdrop/gradient animation pixels belong to that same document;
   no message round-trip can put navigation one frame behind the page. */
.workspace-shell.has-active-app:has(.workspace-app-panel:not([hidden])>.workspace-app-frame[data-workbench-full-window]) .workspace-stage,
.workspace-shell.has-active-app .workspace-app-panel:has(>.workspace-app-frame[data-workbench-full-window]){overflow:visible!important}
.workspace-shell.has-active-app .workspace-app-frame[data-workbench-full-window]{flex:none;height:calc(100% + var(--workspace-top-paint,var(--workspace-nav-height,40px)));max-height:none;margin-top:calc(0px - var(--workspace-top-paint,var(--workspace-nav-height,40px)))}
.workspace-shell.has-active-app:has(.workspace-app-panel:not([hidden])>.workspace-app-frame[data-workbench-full-window]) .workspace-navigation{background:transparent!important}
.workspace-shell.has-active-app:has(.workspace-app-panel:not([hidden])>.workspace-app-frame[data-workbench-full-window]) .workspace-body::before{content:none!important}
@media(max-width:900px) and (prefers-reduced-motion:no-preference){
  .workspace-shell[data-native-keyboard-motion]{transition:top .28s cubic-bezier(.25,.1,.25,1)!important}
}

/* A desktop navigation wrapper needs a real paint box, with its original row
   height. display:contents could never paint the committed modal/theme scene. */
@media(min-width:901px){.workspace-shell.has-active-app .workspace-navigation{display:block;flex:none;min-width:0}}
/* An opaque full-page dialog keeps its own content-sized gradient. Extend its
   actual top edge upward instead of stretching a second gradient differently.
   Two source rows provide raster bleed beneath the opaque iframe. A one-row
   source magnifies fractional browser-zoom antialiasing into a visible gap.
   This is the existing public scene plane; content/fixed controls do not move. */
.workspace-shell.has-active-app[data-workbench-edge=page] .workspace-body::before,
.workspace-shell.has-active-app[data-workbench-canvas-own] .workspace-body::before{
 content:""!important;position:absolute!important;inset:0 0 auto!important;height:2px!important;
 z-index:0;pointer-events:none;opacity:1;filter:none;transform-origin:top left!important;
 transform:scaleY(var(--workspace-edge-scale,0))!important;
 background-color:var(--workspace-nav-surface,var(--workspace-page-surface));
 background-image:var(--workspace-nav-image,none);background-size:var(--workspace-nav-size,auto);
 background-position:var(--workspace-nav-position,0 0);background-repeat:no-repeat;
}
.workspace-shell.has-active-app[data-workbench-edge=page] .workspace-navigation,
.workspace-shell.has-active-app[data-workbench-canvas-own] .workspace-navigation{background:transparent!important}

/* Keep the shared top-edge raster below the real embedded application.
   Desktop previously had no content stacking layer; the two-row raster bleed
   painted over the first navigation-height of iframe content. Keep the host
   menu above the app without moving or resizing either document. */
@media(min-width:901px){
 .workspace-shell.has-active-app[data-workbench-canvas-own] .workspace-stage,
 .workspace-shell.has-active-app[data-workbench-edge=page] .workspace-stage{position:relative;z-index:1}
 .workspace-shell.has-active-app[data-workbench-canvas-own] .workspace-navigation,
 .workspace-shell.has-active-app[data-workbench-edge=page] .workspace-navigation{z-index:2}
}

/* iOS native keyboard moves a viewport-fixed layer during dismissal even
   when its DOM rectangle is stable. Keep this canvas in document paint;
   no extra animation, root scrolling, focus transfer, or size change. */
@media(max-width:900px){
 body .workspace-shell[data-native-window][data-native-document-anchor].has-active-app,
 body .workspace-shell[data-native-window][data-native-document-anchor].has-active-app.app-keyboard-viewport{
  position:absolute;inset:var(--workspace-native-document-top,0px) 0 auto;transition:none!important
 }
}

/* One top-edge pull progress translates the complete active canvas. */
@media(max-width:900px){
 .workspace-shell.has-active-app[data-workbench-page-pull]{translate:0 var(--workspace-page-pull,0px)}
}
