/* Shared shell. ID specificity bridges legacy Admin rules without deleting them. */
@media screen {
  html[data-kc-design] :is(body,#adminApp).kc-navigation-shell,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-shell {
    display:grid !important; grid-template-columns:var(--kc-sidebar-width) minmax(0,1fr) !important;
    min-height:100dvh; gap:0;
  }
  html[data-kc-design] :is(body,#adminApp) :is(.kc-navigation,.kc-navigation *) { box-sizing:border-box; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation {
    display:flex !important; flex-direction:column !important; position:sticky !important; top:0 !important;
    width:var(--kc-sidebar-width) !important; height:100dvh !important;
    min-height:0; padding:var(--kc-space-10) var(--kc-space-5) var(--kc-space-10) var(--kc-space-10) !important; margin:0 !important; gap:12px !important;
    align-items:stretch !important; border:0 !important; border-right:1px solid var(--kc-color-border) !important; border-radius:0;
    background:var(--kc-color-page) !important; color:var(--kc-color-text); box-shadow:none !important;
    overflow-x:hidden !important; overflow-y:auto !important; z-index:30;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-content {
    min-width:0; width:calc(100% - 24px) !important; max-width:none !important; margin:12px !important;
    padding:24px !important; border:1px solid var(--kc-color-border); border-radius:var(--kc-radius-shell);
    background:var(--kc-color-surface); box-shadow:var(--kc-shadow-xs);
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.brand,.finance-brand,.kc-sidebar-brand) {
    display:flex !important; width:100% !important; min-height:48px !important; height:auto !important; align-items:center;
    gap:10px !important; padding:0 !important; margin:0 !important; background:transparent !important; flex-shrink:0;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.brand strong,.brand h1,.kc-sidebar-brand__name) {
    color:var(--kc-color-text) !important; font-size:14px !important; font-weight:var(--kc-font-weight-semibold) !important; line-height:1.3 !important;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.brand img,.brand .logo,.kc-sidebar-brand__mark) { width:40px !important; height:40px !important; min-width:40px; flex-basis:40px; border-radius:10px !important; box-shadow:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.brand small,.sidebar-section-label,.finance-sidebar__label,.schedule-sidebar__section) { font-size:12px !important; color:var(--kc-color-text-muted) !important; font-weight:500 !important; text-transform:none; letter-spacing:normal; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.sidebar-section-label,.finance-sidebar__label,.schedule-sidebar__section) { margin:0 !important; padding:0 8px !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items { display:grid !important; align-content:start; width:100%; min-height:0; gap:4px !important; margin:0 !important; padding:0 !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-heading { display:flex; align-items:flex-start; gap:var(--kc-space-2); flex-shrink:0; min-width:0; margin-bottom:0; padding-bottom:var(--kc-space-5); border-bottom:1px solid var(--kc-color-border); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-heading :is(.brand,.finance-brand,.kc-sidebar-brand) { flex:1; min-width:0; width:auto !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-heading :is(.brand>div:not(.logo),.brand>span:not(.kc-sidebar-brand__mark),.kc-sidebar-brand__copy) { display:flex; flex-direction:column; min-width:0; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-heading small { order:-1; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-heading [data-organization-name] { overflow-wrap:anywhere; white-space:normal; overflow:visible; text-overflow:clip; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-global { gap:var(--kc-space-2) !important; flex:0 0 auto; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-caption { padding:var(--kc-space-4) 10px var(--kc-space-2); font-size:var(--kc-font-size-xs); letter-spacing:.1em; text-transform:uppercase; color:var(--kc-color-text-muted); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-group { min-width:0; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-group[hidden],
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-subpages[hidden] { display:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items .kc-navigation-module.is-current-module { background:var(--kc-color-primary-surface) !important; color:var(--kc-color-primary-surface-text) !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-subpages { width:calc(100% - 16px); margin:8px 0 8px 16px !important; padding:4px 0 4px 10px !important; border-left:1px solid var(--kc-color-border); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-label { min-width:0; flex:1; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-module>svg { flex:0 0 20px; fill:none; stroke:currentColor; stroke-width:1.8; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-chevron { display:flex; flex:0 0 16px; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-chevron svg { width:16px !important; height:16px !important; fill:none; stroke:currentColor; stroke-width:1.8; }
  html[data-kc-design] :is(body,#adminApp) [aria-expanded="false"]>.kc-navigation-chevron { transform:rotate(-90deg); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-utility { justify-content:flex-start; gap:10px; min-width:0; font-size:var(--kc-font-size-xs); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-utility svg { flex:0 0 20px; width:20px; height:20px; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .nav-subgroup { display:grid !important; gap:4px !important; margin:0 !important; padding:0 !important; width:100%; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation :is(.nav-track-svg,.nav-subgroup::before,.nav-subgroup::after,.nav-item::after,.nav-sub::before) { display:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .nav-subgroup::before,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .nav-subgroup::after,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .nav-item::after,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .nav-sub::before { display:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(a,button,.nav-item) {
    display:flex; width:100% !important; height:auto !important; min-height:44px !important;
    align-items:center; justify-content:flex-start !important; gap:10px !important; padding:8px 10px !important;
    border:1px solid transparent !important; border-radius:var(--kc-radius-control) !important;
    background:transparent !important; color:var(--kc-color-text-secondary) !important; box-shadow:none !important;
    font:500 14px/1.35 var(--kc-font-family-sans) !important; text-align:left; text-decoration:none;
    white-space:normal; overflow-wrap:anywhere; transform:none !important; cursor:pointer;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(a,button,.nav-item)[hidden] { display:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(a,button,.nav-item):hover { background:var(--kc-color-surface-muted) !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(.active,.is-active,[aria-current="page"]) {
    background:var(--kc-color-primary-surface) !important; color:var(--kc-color-primary-surface-text) !important;
    font-weight:var(--kc-font-weight-semibold) !important;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(.nav-label,.nav-item>span:last-child) { display:block !important; font:inherit !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(.nav-icon,.finance-icon,.app-item__icon,.nav-icon-pro) {
    width:20px !important; height:20px !important; min-width:20px !important; flex:0 0 20px; margin:0 !important;
    padding:0 !important; border:0 !important; background:transparent !important; color:inherit !important;
    box-shadow:none !important; border-radius:0 !important;
  }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items svg { width:20px !important; height:20px !important; }
  /* Subpage SVGs are also rendered in a host from another module, where the
     original document's icon rules are absent. Keep the shared outline here. */
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-items :is(.nav-icon,.finance-icon,.app-item__icon,.nav-icon-pro) svg {
    display:block; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  }
  /* Retained subpages can belong to a different legacy module. Their SVG
     replaces the host module's mask pseudo-element; never draw both. */
  html[data-kc-design] .kc-workspace-navigation .nav-icon:has(svg)::before { content:none !important; display:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-footer { display:grid !important; flex:0 0 auto; gap:8px !important; margin-top:auto !important; padding:12px 0 0 !important; width:100%; border-top:1px solid var(--kc-color-border); }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .kc-sidebar-account { width:100%; font-size:12px; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-controls { display:flex; flex-direction:column; align-items:center; flex-shrink:0; gap:var(--kc-space-2); min-height:44px; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-control { display:inline-flex; flex-shrink:0; width:44px !important; height:44px !important; min-width:44px !important; min-height:44px !important; padding:0 !important; border-radius:10px !important; border:0 !important; color:var(--kc-color-text-secondary) !important; background:transparent !important; box-shadow:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-control:hover { background:var(--kc-color-surface-muted) !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-page-header { padding-bottom:var(--kc-space-5) !important; margin-bottom:var(--kc-space-6) !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-desktop-toggle { display:none !important; }
  .kc-navigation-control svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .kc-navigation-desktop-toggle .kc-navigation-toggle-sidebar { fill:none; stroke:none; }
  .kc-navigation-desktop-toggle[aria-expanded="true"] .kc-navigation-toggle-sidebar { fill:currentColor; }
  html[data-kc-design] :is(body,#adminApp) :is(.kc-navigation-retired,.kc-navigation-close,.kc-navigation-trigger) { display:none !important; }
  html[data-kc-design] .kc-navigation-backdrop { position:fixed; inset:0; z-index:1090; background:var(--kc-color-overlay); }
  html[data-kc-design] .kc-navigation-backdrop[hidden] { display:none !important; }
  html[data-kc-design] :is(#mobileNavigation,#mobileSidebarBackdrop,#adminMobileBackdrop) { display:none !important; }
  html[data-kc-design] .schedule-sidebar__hint { display:none; }
  html[data-kc-design][data-kc-page="home"] .portal-main { padding-block:32px !important; }
  html[data-kc-design][data-kc-page="home"] .app-item { border-radius:var(--kc-radius-card); box-shadow:var(--kc-shadow-xs); }
  html[data-kc-design][data-kc-page="home"] .app-item__copy small { display:none; }
  /* The shareable recognition board is a focus view, without admin navigation. */
  html[data-kc-design] :is(body,#adminApp).ranking-public-view .kc-navigation { display:none !important; }
  html[data-kc-design] :is(body,#adminApp).ranking-public-view .kc-navigation-shell { display:block !important; }
  html[data-kc-design] :is(body,#adminApp).ranking-public-view .kc-navigation-content { width:100% !important; margin:0 !important; padding:0 !important; border:0; border-radius:0; background:var(--kc-color-page); box-shadow:none; }
  html[data-kc-design] :is(body,#adminApp).embedded .kc-navigation { display:none !important; }
  html[data-kc-design] :is(body,#adminApp).embedded .kc-navigation-shell { display:block !important; }
  html[data-kc-design] :is(body,#adminApp).embedded .kc-navigation-content { width:100% !important; margin:0 !important; padding:0 !important; border:0; border-radius:0; box-shadow:none; }
}
@media screen and (min-width:1101px) {
  /* Resize once on toggle; legacy grid transitions reflow the whole page each frame. */
  html[data-kc-design] :is(body,#adminApp).kc-navigation-shell,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-shell { transition:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-controls > .kc-navigation-desktop-toggle { display:inline-flex !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-content .page-head { justify-content:space-between; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-content .page-head > .kc-navigation-page-heading { display:block; }
  /* Clipping the page horizontally must not create a second scroll container. */
  html[data-kc-design] body.kc-navigation-page { overflow-x:clip; }
  /* Let the document scroll a long menu; fill the viewport when it fits. */
  html[data-kc-design] :is(body,#adminApp) .kc-navigation {
    height:auto !important; min-height:100dvh; max-height:none !important;
    align-self:start; overflow:visible !important; top:var(--kc-navigation-sticky-top,0px) !important;
  }
  html[data-kc-nav-collapsed] { --kc-sidebar-width:76px; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation { padding:var(--kc-space-10) var(--kc-space-3) !important; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation-heading { flex-direction:column; align-items:center; gap:var(--kc-space-3); }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation-heading :is(.brand,.finance-brand,.kc-sidebar-brand) { justify-content:center; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation :is(.kc-navigation-caption,.kc-navigation-label,.kc-navigation-subpages) { display:none !important; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation-utility { justify-content:center; padding-inline:0; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation :is(.brand>span,.brand>div:not(.logo),.brand-copy,.kc-sidebar-brand__copy,.sidebar-section-label,.finance-sidebar__label,.schedule-sidebar__section,.schedule-sidebar__active strong,.kc-sidebar-account__copy,.sidebar-footer-label) { display:none !important; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation-items :is(a,button,.nav-item) { justify-content:center !important; padding:10px 0 !important; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation-items :is(a,button,.nav-item)>:not(:first-child) { display:none !important; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation .kc-sidebar-account { grid-template-columns:24px; justify-content:center; padding:4px; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation .sidebar-module-link { font-size:0; gap:0; padding:0; justify-content:center; }
  html[data-kc-nav-collapsed] :is(body,#adminApp) .kc-navigation .sidebar-module-link>span:last-child { display:none; }
}
@media screen and (max-width:1100px) {
  html[data-kc-design] :is(body,#adminApp).kc-navigation-shell,
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-shell { display:block !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation {
    position:fixed !important; inset:0 auto 0 0 !important; margin:0 !important; top:0 !important;
    height:100dvh !important; width:min(320px,calc(100vw - 48px)) !important; max-width:none !important;
    padding:16px !important; border-radius:0;
    background:var(--kc-color-surface) !important; z-index:1100 !important; box-shadow:var(--kc-shadow-modal) !important;
    visibility:hidden; transform:translateX(-100%) !important; pointer-events:none;
  }
  html[data-kc-design][data-kc-nav-open] :is(body,#adminApp) .kc-navigation { visibility:visible; transform:none !important; pointer-events:auto; }
  html[data-kc-nav-open] body { overflow:hidden !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-content { width:calc(100% - 16px) !important; margin:8px !important; padding:16px !important; }
  html[data-kc-design] :is(body,#adminApp) :is(.kc-navigation-close,.kc-navigation-trigger) { display:inline-flex !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation [data-kc-nav-action="collapse"] { display:none !important; }
  /* Center without a transform: the shared hover reset must not move the hit target. */
  html[data-kc-design] #adminApp .admin-page-heading>[data-kc-nav-action="open"] { inset-block:0; margin-block:auto; transform:none !important; }
  html[data-kc-design] :is(body,#adminApp) .kc-navigation .kc-sidebar-account { display:grid; }
  html[data-kc-design][data-kc-page="calendario"] .page-head { display:flex !important; align-items:flex-start; flex-wrap:wrap; gap:12px; }
  html[data-kc-design][data-kc-page="calendario"] .page-head .head-actions { display:flex !important; flex-wrap:wrap; gap:8px; }
  html[data-kc-design][data-kc-page="calendario"] :is(body,#adminApp):not(.embedded) .kc-navigation-content { padding-top:82px !important; }
  html[data-kc-design] .mobile-nav-brand small { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
}
@media screen and (max-width:640px) {
  html[data-kc-design] :is(body,#adminApp) .kc-navigation-content { padding:12px !important; border-radius:var(--kc-radius-card); }
  html[data-kc-design][data-kc-page="calendario"] .page-head .head-actions { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  html[data-kc-design][data-kc-page="calendario"] .head-actions>.btn { width:100%; min-width:0; min-height:44px; font-size:12px; padding:8px; overflow-wrap:normal; }
  html[data-kc-design][data-kc-page="calendario"] .head-actions>.calendar-theme-toggle { display:none; }
  html[data-kc-design][data-kc-page="calendario"] .head-actions>.event-menu-wrap { grid-column:1/-1; }
}
@media print { .kc-navigation,.kc-navigation-backdrop,.kc-navigation-trigger { display:none !important; } .kc-navigation-shell { display:block !important; } .kc-navigation-content { width:100% !important; margin:0 !important; padding:0 !important; border:0 !important; box-shadow:none !important; } }
/* Two isolated module documents; shared tokens and existing page loading UI. */
.kc-module-frame{position:fixed;inset:0;width:100%;height:100%;border:0;z-index:calc(var(--kc-z-modal) + 100);background:var(--kc-color-page)}
.kc-module-frame[hidden]{display:none!important}
.kc-module-covered{overflow:hidden!important}
.kc-module-covered body>:not(.kc-module-frame):not(.kc-workspace-navigation):not(.kc-workspace-backdrop):not(.kc-workspace-pending){visibility:hidden!important}

/* The host keeps its sidebar; retained documents occupy only the content area. */
@media screen {
  html.kc-workspace-host[data-kc-design] :is(body,#adminApp) .kc-navigation:not(.kc-workspace-navigation) { visibility:hidden!important; pointer-events:none!important; }
  html.kc-workspace-host[data-kc-design] :is(body,#adminApp) .kc-workspace-navigation {
    position:fixed!important; inset:0 auto auto 0!important; top:0!important;
    height:100dvh!important; min-height:0!important; max-height:100dvh!important;
    overflow-y:auto!important; overscroll-behavior:contain; z-index:1110!important;
  }
  .kc-workspace-host .kc-module-frame,.kc-workspace-host .kc-workspace-frame { left:var(--kc-sidebar-width); width:calc(100% - var(--kc-sidebar-width)); }
  .kc-workspace-host .kc-module-frame { z-index:100; }
  html.kc-workspace-host.kc-auth-pending :is(body,#adminApp) :is(.kc-workspace-navigation,.kc-module-frame,.kc-workspace-backdrop,.kc-workspace-pending) { visibility:hidden!important; pointer-events:none!important; }
  html.kc-workspace-host.kc-loading-active:not(.kc-auth-pending) body > :is(.kc-workspace-navigation,.kc-workspace-backdrop,.kc-workspace-pending,.kc-module-frame) { visibility:visible!important; }
  .kc-workspace-host body > :is(.kc-loading,.kc-workspace-loading) { left:var(--kc-sidebar-width); z-index:1050; }
  .kc-workspace-host.kc-module-covered body > .kc-loading:not(.kc-workspace-pending):not(.kc-workspace-loading) { display:none!important; }
  html.kc-module-embedded[data-kc-design] :is(body,#adminApp) .kc-navigation { display:none!important; }
  html.kc-module-embedded[data-kc-design] :is(body,#adminApp).kc-navigation-shell,
  html.kc-module-embedded[data-kc-design] :is(body,#adminApp) .kc-navigation-shell { grid-template-columns:minmax(0,1fr)!important; }
  .kc-workspace-operational body { margin-inline-start:var(--kc-sidebar-width)!important; }
  .kc-workspace-pending { inset:0 0 0 var(--kc-sidebar-width); z-index:1050; }
  .kc-workspace-pending[hidden] { display:none!important; }
  .kc-workspace-menu-trigger { flex-shrink:0; }
  .kc-workspace-menu-trigger .kc-navigation-toggle-sidebar { fill:none; stroke:none; }
  .kc-workspace-menu-trigger[aria-expanded="true"] .kc-navigation-toggle-sidebar { fill:currentColor; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-record-header__shell { grid-template-columns:44px minmax(0,1fr)!important; align-items:start!important; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-record-header__brand { display:none!important; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-workspace-menu-trigger { grid-area:1/1!important; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-record-header__navigation { grid-column:2!important; grid-row:1!important; }
  html.kc-workspace-host[data-kc-design] :is(body,#adminApp) .kc-workspace-backdrop { z-index:1105; }
  /* A retained document can be narrower than its desktop host. Its own media
     query must not bring a second sidebar control back into the page. */
  html.kc-module-embedded:not([data-kc-navigation-mobile])[data-kc-design] :is(body,#adminApp) :is(.kc-workspace-menu-trigger,[data-kc-nav-action="open"]) { display:none!important; }
  html.kc-module-embedded:not([data-kc-navigation-mobile])[data-kc-design] #adminApp .admin-page-heading { padding-left:0!important; }
  html.kc-module-embedded:not([data-kc-navigation-mobile]) body[data-kc-module] .kc-record-header .kc-record-header__shell { grid-template-columns:minmax(0,1fr)!important; }
  html.kc-module-embedded:not([data-kc-navigation-mobile]) body[data-kc-module] .kc-record-header .kc-record-header__navigation { grid-column:1!important; }
}
@media screen and (max-width:1100px) {
  html.kc-workspace-host[data-kc-design] :is(body,#adminApp) .kc-workspace-navigation { height:100dvh!important; max-height:100dvh!important; }
  .kc-workspace-host .kc-module-frame,.kc-workspace-host .kc-workspace-frame { left:0; width:100%; }
  .kc-workspace-operational body { margin-inline-start:0!important; }
  .kc-workspace-pending,.kc-workspace-host body > :is(.kc-loading,.kc-workspace-loading) { left:0; }
}
@media screen and (min-width:1101px) {
  html[data-kc-design] :is(body,#adminApp) .kc-workspace-menu-trigger { display:none!important; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-record-header__shell { grid-template-columns:minmax(0,1fr)!important; }
  html:is(.kc-workspace-host,.kc-module-embedded) body[data-kc-module] .kc-record-header .kc-record-header__navigation { grid-column:1!important; }
}
@media print {
  .kc-workspace-navigation,.kc-workspace-backdrop,.kc-workspace-pending,.kc-workspace-menu-trigger { display:none!important; }
  .kc-workspace-operational body { margin-inline-start:0!important; }
}

/* A retained page's modal shades and disables the sidebar in its parent. */
@media screen {
  html.kc-workspace-host[data-kc-design][data-kc-workspace-modal="host"] :is(body,#adminApp) .kc-workspace-navigation { z-index:0!important; }
  html.kc-workspace-host[data-kc-workspace-modal="covered"] .kc-workspace-navigation::after { content:"";position:fixed;inset:0 auto 0 0;width:var(--kc-workspace-modal-width);height:100dvh;background:var(--kc-color-overlay);z-index:1;pointer-events:none; }
  html.kc-workspace-host :is(.kc-module-frame,.kc-workspace-frame)[data-kc-modal-viewport-frame] { inset:0;left:0;width:100%;height:100dvh;z-index:calc(var(--kc-z-modal) + 200); }
}
