@layer guma-material {
/* Shared entry frame: login and launcher consume the same geometry. */
body.entry-page{display:block;min-height:100dvh;padding:24px;background:var(--guma-custom-paper,var(--guma-paper));color:var(--guma-text)}
.entry-page .entry-frame{width:100%;max-width:1360px;min-height:calc(100dvh - 48px);margin:0 auto;border:1px solid var(--guma-border);border-radius:var(--ui-radius-panel);background:var(--guma-surface);box-shadow:var(--ui-shadow-panel);overflow:visible}
.entry-page[data-launcher-layout=full]{padding:0}.entry-page[data-launcher-layout=full] .entry-frame{max-width:none;min-height:100dvh;border:0;border-radius:0;box-shadow:none}
.entry-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-bottom:1px solid var(--guma-border);background:var(--ui-glass);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;position:relative;z-index:20}
.entry-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--guma-text);flex:none}.entry-brand .work-brand-mark{width:44px;height:44px}.entry-brand .work-wordmark{font-size:20px;letter-spacing:-.035em;white-space:nowrap}
.entry-tools{display:flex;align-items:center;gap:12px}.entry-tools .login-utilities{gap:8px}.entry-header .color-mode-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--guma-border);border-radius:var(--ui-radius-control);background:var(--guma-surface);color:var(--guma-accent);cursor:pointer}.color-mode-toggle span{display:grid;place-items:center}.color-mode-toggle [hidden]{display:none!important}
.entry-page .launcher-main{min-height:calc(100dvh - 180px)}
@media(max-width:700px),(max-height:500px) and (max-width:1024px){body.entry-page{padding:0}.entry-page .entry-frame{max-width:none;border:0;border-radius:0;box-shadow:none;min-height:100dvh}.entry-header{padding:8px max(12px,env(safe-area-inset-right));min-height:64px;gap:8px;flex-wrap:wrap}.entry-brand .work-brand-mark{width:40px;height:40px}.entry-brand .work-wordmark{font-size:18px}.entry-tools{gap:6px;margin-left:auto}.entry-header .login-locale button{padding:0 8px}.entry-header .login-help summary>span{display:none}.entry-header .login-help summary{width:44px;padding:0;justify-content:center}}
}

@layer guma-material {
.entry-language{display:flex;align-items:center;margin:0;border:1px solid var(--guma-border);border-radius:var(--ui-radius-pill);overflow:hidden;flex:none}
.entry-language button{border:0;background:transparent;color:var(--guma-text);padding:0 10px;min-height:44px;font-size:var(--ui-font-label);cursor:pointer;border-radius:0}
.entry-language button[aria-pressed=true]{background:var(--ui-action-gradient);color:var(--guma-text);border-radius:var(--ui-radius-pill)}
@media(max-width:700px){.entry-language button{padding-inline:8px}.entry-tools{gap:8px}}
}

@layer guma-material {
/* Specialist consumers retain their registered app identities and menus. */
.pim-app .entry-header{height:auto;min-height:72px;padding:12px 24px;background:var(--ui-glass);gap:12px}
.pim-app .entry-header .entry-brand{gap:10px}.pim-app .entry-header .work-brand-mark{width:44px;height:44px}.pim-app .entry-header .work-wordmark{font-size:20px;letter-spacing:-.035em}
.pim-app .entry-header .pilot-tools{gap:8px;margin-left:auto}.pim-app .entry-header .pilot-account>summary{width:44px;height:44px}
.pim-app .pilot-grid{height:calc(100dvh - 72px)}.pim-app.has-demo-bar .pilot-grid{height:calc(100dvh - 128px)}
@media(max-width:700px),(max-height:500px) and (max-width:1024px){.pim-app .entry-header{min-height:64px;padding:8px 12px;gap:8px;flex-wrap:wrap}.pim-app .entry-header .work-brand-mark{width:40px;height:40px}.pim-app .entry-header .work-wordmark{font-size:18px}.pim-app .entry-header .pilot-tools{gap:6px}.pim-app .pilot-grid{height:calc(100dvh - 64px)}.pim-app.has-demo-bar .pilot-grid{height:calc(100dvh - 120px)}}
@media(max-width:600px) and (orientation:portrait),(max-height:500px) and (max-width:1024px){.pim-app .pilot-grid{height:calc(100dvh - 124px - env(safe-area-inset-bottom))}.pim-app.has-demo-bar .pilot-grid{height:calc(100dvh - 180px - env(safe-area-inset-bottom))}}
}

@layer guma-material {@media(max-width:700px){.pim-app .entry-header .entry-brand{min-width:0;flex:1}.pim-app .entry-header .entry-brand .work-wordmark{min-width:0;overflow:hidden;text-overflow:ellipsis;display:block}.pim-app .entry-header .pilot-tools,.pim-app .entry-header .pilot-account{flex:none}}}

@layer guma-material {.specialist-name-short{display:none}@media(max-width:700px){.specialist-name-full{display:none}.specialist-name-short{display:inline}}}

@layer guma-material {@media(max-width:600px) and (orientation:portrait),(max-height:500px) and (max-width:1024px){.pim-app .pilot-grid{height:calc(100dvh - 142px - env(safe-area-inset-bottom))}.pim-app.has-demo-bar .pilot-grid{height:calc(100dvh - 198px - env(safe-area-inset-bottom))}}}
