.ui-settings-panel{position:relative;box-sizing:border-box;margin:18px 0;padding:clamp(18px,3vw,30px);border:1px solid var(--border,rgba(148,163,184,.25));border-radius:20px;background:var(--panel,rgba(15,23,42,.84));color:var(--text,#e2e8f0);isolation:isolate;min-width:0}
.ui-settings-panel h1,.ui-settings-panel h2,.ui-settings-panel h3{margin:0 0 14px}.ui-settings-panel p{margin:10px 0 18px}.ui-settings-panel .btn{width:auto;max-width:100%;margin:6px 8px 6px 0}
.ui-theme-grid{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 24px}.ui-theme-choice,.ui-particle-toggle{display:flex!important;align-items:center;gap:10px;padding:12px 14px;border:1px solid rgba(148,163,184,.3);border-radius:12px;cursor:pointer;line-height:1.5;min-height:48px;box-sizing:border-box}
.ui-settings-panel input[type=radio],.ui-settings-panel input[type=checkbox]{appearance:auto!important;position:static!important;width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px;padding:0!important;margin:0!important;transform:none!important;accent-color:#f59e0b}
.ui-range-field{display:block;margin:20px 0}.ui-range-field input[type=range]{display:block;box-sizing:border-box;width:100%;margin:12px 0 0;padding:0;height:28px}
.ui-frame-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(154px,1fr));gap:16px;margin:20px 0}.ui-frame-choice{position:relative;display:flex!important;align-items:center;justify-content:flex-start;flex-direction:column;gap:12px;padding:16px 12px;min-height:200px;box-sizing:border-box;border:1px solid rgba(148,163,184,.3);border-radius:16px;cursor:pointer;background:rgba(15,23,42,.2);text-align:center}.ui-frame-choice:has(input:checked){border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.25)}.ui-frame-choice>input{align-self:flex-start}.ui-frame-choice b{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.ui-avatar-shell{position:relative!important;display:block!important;flex:0 0 112px!important;width:112px!important;height:112px!important;min-width:112px;overflow:visible!important;line-height:1!important;isolation:isolate;transform:none!important}
.ui-avatar-core{position:absolute!important;inset:25%!important;display:grid!important;place-items:center;overflow:hidden;border-radius:50%;background:#1e293b;color:#fbbf24;font-size:26px;font-weight:800;z-index:1}.ui-avatar-core>img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:50%;transform:none!important}
.ui-avatar-shell>.ui-frame-image{position:absolute!important;inset:0!important;display:block!important;width:112px!important;height:112px!important;max-width:none!important;max-height:none!important;object-fit:contain;pointer-events:none;z-index:2;transform:none!important;border:0!important;border-radius:0!important}
.ui-photo-editor{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:18px 0}.ui-photo-actions{flex:1;min-width:200px}.ui-photo-pick input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.ui-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.ui-profile-hero>div:first-child{flex:1;min-width:180px}.ui-profile-hero .ui-avatar-current{flex-shrink:0}
body[data-oct30-preview="1"] :is(.profile-hero,.parent-profile-hero) .oct15-avatar-shell{position:relative!important;display:block!important;width:130px!important;height:130px!important;flex:0 0 130px!important;overflow:visible!important}
body[data-oct30-preview="1"] :is(.profile-hero,.parent-profile-hero) .oct15-avatar-core{position:absolute!important;inset:25%!important;display:grid!important;place-items:center;overflow:hidden;border-radius:50%;width:auto!important;height:auto!important}
body[data-oct30-preview="1"] :is(.profile-hero,.parent-profile-hero) .oct15-avatar-core>img{position:static!important;width:100%!important;height:100%!important;object-fit:cover;border-radius:50%;transform:none!important}
body[data-oct30-preview="1"] :is(.profile-hero,.parent-profile-hero) .oct15-frame-overlay{position:absolute!important;inset:0!important;width:130px!important;height:130px!important;object-fit:contain;transform:none!important;max-width:none!important}
.parent-invite-edit-link{display:block;color:inherit;text-decoration:none;padding-right:8px}.parent-invite-edit-link:hover{text-decoration:underline}.parent-invite-edit-link small{display:block;color:#fbbf24;margin:6px 0}
.ui-parent-editor label{display:block;margin:18px 0}.ui-parent-editor input:not([type=hidden]){display:block;width:100%;box-sizing:border-box;margin-top:8px}.ui-parent-editor .subject-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:540px){.ui-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ui-frame-choice{padding:14px 8px}.ui-settings-panel{padding:18px 14px}.ui-photo-editor{gap:14px}.ui-photo-actions{min-width:150px}.ui-profile-hero{align-items:flex-start}.ui-settings-panel h1{font-size:28px}}
html[data-theme=light] .ui-settings-panel{background:rgba(255,248,237,.94);color:#1e293b}html[data-theme=light] .ui-frame-choice{background:rgba(255,255,255,.5)}

/* Seasonal sprites stay behind reading/editing, never over form controls. */
body:has(.ui-settings-panel) .halloween-stage{display:none!important}
body:has(.ui-settings-panel) .lab2-main{position:relative;z-index:3}

/* Compact production layout: no global scaling or decorative staging frames. */
.profile-effect-options,.cosmetic-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.profile-effect-options label{display:flex;align-items:center;gap:8px;cursor:pointer}.profile-appearance-form input[type=radio],.profile-appearance-form input[type=checkbox]{appearance:auto!important;width:18px!important;height:18px!important;position:static!important;transform:none!important;margin:0 8px 0 0!important;accent-color:#f59e0b}
.profile-season-options{display:flex;flex-wrap:wrap;gap:12px}.profile-season-options label{display:flex;align-items:center;padding:10px;border:1px solid var(--border);border-radius:12px}.cosmetic-admin input:not([type=hidden]),.cosmetic-admin select{width:100%;box-sizing:border-box}.cosmetic-admin label{display:block;margin:12px 0}.cosmetic-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.cosmetic-admin .btn{max-width:100%}


.ui-frame-choice-group{align-items:stretch!important;text-align:left;padding:16px}
.ui-frame-choice-group.is-selected{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.25)}
.ui-frame-choice-group-head{display:grid;gap:2px}
.ui-frame-choice-group-head b{font-size:15px}
.ui-frame-choice-group-head small{color:var(--muted)}
.ui-frame-variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:2px}
.ui-frame-variant-choice{position:relative;display:grid;justify-items:center;gap:10px;padding:12px 10px;border:1px solid rgba(148,163,184,.28);border-radius:14px;background:rgba(15,23,42,.14);cursor:pointer;text-align:center}
.ui-frame-variant-choice:has(input:checked){border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.22)}
.ui-frame-variant-choice>input{justify-self:start}
.ui-frame-variant-choice b{font-size:14px;line-height:1.35}
@media(max-width:540px){.ui-frame-choice-group{padding:14px 12px}.ui-frame-variant-grid{grid-template-columns:1fr;gap:10px}}

/* V397: a single developer frame family with two square choices inside. */
.ui-frame-grid>.ui-frame-choice-group{grid-column:span 2;min-width:0}
.ui-frame-grid>.ui-frame-choice-group .ui-frame-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ui-frame-grid>.ui-frame-choice-group .ui-frame-variant-choice{min-width:0;aspect-ratio:1 / 1;align-content:start}
@media(max-width:540px){.ui-frame-grid>.ui-frame-choice-group{grid-column:1/-1}.ui-frame-grid>.ui-frame-choice-group .ui-frame-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-frame-grid>.ui-frame-choice-group .ui-avatar-shell{width:88px!important;height:88px!important;min-width:88px!important;flex-basis:88px!important}.ui-frame-grid>.ui-frame-choice-group .ui-frame-image{width:88px!important;height:88px!important}}

/* Universal compact desktop navigation (ordinary and granted accounts).
   Keep the mobile header/dock and auth pages unchanged. */
@media (min-width: 761px) {
  html body:not(.auth-screen) > nav.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;
    width: max-content !important;
    max-width: calc(100vw - 28px) !important;
    margin: 0 auto 10px !important;
    left: auto !important;
    right: auto !important;
    border: 1px solid color-mix(in srgb, var(--line, #64748b) 80%, transparent) !important;
    border-radius: 18px !important;
    background: color-mix(in srgb, var(--nav-bg, #0e1422) 94%, transparent) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(18px) !important;
    box-sizing: border-box !important;
  }
  html body:not(.auth-screen) > nav.navbar > .nav-inner {
    width: max-content !important;
    max-width: 100% !important;
    min-height: 58px !important;
    padding: 6px 14px !important;
    margin: 0 auto !important;
    gap: clamp(8px,1.2vw,18px) !important;
    box-sizing: border-box !important;
  }
  html[data-theme="light"] body:not(.auth-screen) > nav.navbar {
    box-shadow: 0 10px 28px rgba(30,41,59,.10) !important;
  }
}
/* Desktop menus must fit on small laptop widths. */
@media (min-width: 761px) and (max-width: 1080px) {
  html body:not(.auth-screen) > nav.navbar > .nav-inner {gap: 8px !important;padding-inline: 10px !important;}
  html body:not(.auth-screen) > nav.navbar .nav-links {gap: 9px !important;}
}

@media (min-width: 761px) {
  html body:not(.auth-screen) .lab2-main {padding-top: 10px !important;}
}

/* UchetPar V23.9.404: safe, CSP-compatible wallpaper fallback. */
/* The server renders the same background selection in every base.html page. */
/* If lazy JS fails, CSS still paints actual art, not a dark placeholder. */
/* CSS is loaded LAST in both shells to win previous mobile resets. */
html body.season-autumn:not(.season-background-off) .season-bg-layer {
  display:block!important;
  position:fixed!important;
  inset:0!important;
  background-color:#13101c!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
html[data-theme="light"] body.season-autumn:not(.season-background-off) .season-bg-layer {
  background-color:#eee5df!important;
}

html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_dark_runtime_v239183_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_dark_runtime_v239183_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_light_runtime_v239183_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_light_runtime_v239183_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_dark_v239266_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_dark_v239266_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_light_v239266_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_light_v239266_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_dark_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_dark_v239221_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_light_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_light_v239221_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_dark_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_dark_v239221_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_light_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_light_v239221_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_dark_v239239_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_dark_v239239_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_light_v239239_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_light_v239239_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_dark_v239222_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_dark_v239222_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_light_v239222_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_light_v239222_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_1280.webp?v=wallpaper-v404")!important;}}

/* Keep page content over the wallpaper without changing its card styling. */
body.season-autumn:not(.season-background-off) .season-bg-layer:after {pointer-events:none;}


/* Keep the real DOM image visible on older Chromium/Samsung browsers even if an
   earlier stylesheet declares .season-bg-image visibility:hidden !important. */
html body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image.is-decoded {
  display:block!important;
  visibility:visible!important;
}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image-dark.is-decoded.is-active,
html[data-theme="light"] body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image-light.is-decoded.is-active {
  opacity:1!important;
}
html:not([data-theme="light"]) body.season-autumn .season-bg-layer .season-bg-image-light,
html[data-theme="light"] body.season-autumn .season-bg-layer .season-bg-image-dark {
  opacity:0!important;
}
/* When JavaScript has decoded the visible image, do not composite a second
   copy of the wallpaper (important on memory-constrained mobile devices). */
html body.season-autumn:not(.season-background-off)[data-season-preset] .season-bg-layer.is-photo-ready {
  background-image:none!important;
}
/* Developer's A/B background-disable switch must work despite the fallback. */
html body.season-autumn.perf-ab-no-background .season-bg-layer {
  display:none!important;
}


/* V447: Sakura developer-only wallpaper fallback (assets selected server-side). */
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_dark_v239447_768.webp?v=23.9.447")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_dark_v239447_1280.webp?v=23.9.447")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_light_v239447_768.webp?v=23.9.447")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_light_v239447_1280.webp?v=23.9.447")!important;}}

.monday-organization-card{display:grid;gap:5px;margin:0 0 18px;padding:16px 18px!important;border-left:3px solid #f59e0b!important}
.monday-organization-card strong{font-size:1.05rem;color:var(--text);font-weight:850}
.monday-organization-card p{margin:0;color:var(--muted-strong);font-size:.9rem;line-height:1.4}
@media(max-width:760px){.monday-organization-card{margin-bottom:12px;padding:14px!important}}

/* V421: one opaque background+particles canvas for ALL mobile logged-in roles.
   DOM wallpaper remains visible when particles are off or image has not loaded. */
@media (max-width:760px){
 html body.lab2-calm.season-autumn > #season-particles[data-renderer="canvas-wallpaper-v416"]:not([hidden]){
   display:block!important;position:fixed!important;inset:0!important;
   z-index:1!important;transform:none!important;contain:none!important;
   filter:none!important;backdrop-filter:none!important;mix-blend-mode:normal!important;
   background:transparent!important;pointer-events:none!important;overflow:hidden!important;
 }
 html body.lab2-calm.season-autumn > #season-particles[data-renderer="canvas-wallpaper-v416"] > canvas.season-particles-canvas{
   display:block!important;position:absolute!important;inset:0!important;
   width:100%!important;height:100%!important;
   background:transparent!important;transform:none!important;contain:none!important;
   filter:none!important;mix-blend-mode:normal!important;pointer-events:none!important;
 }
 html body.lab2-calm.season-autumn[data-wallpaper-in-particles="1"]:not(.season-background-off):not(.perf-ab-no-background) > .season-bg-layer{
   display:none!important;
 }
}

/* V422: picker is portalled to <body>; never position fixed inside the
   transformed navbar or scrollable laboratory card. */
@media (max-width:760px){
 .v422-picker-backdrop{position:fixed!important;inset:0!important;z-index:45000!important;background:rgba(4,8,20,.45)!important;pointer-events:auto!important}
 .v422-picker-shell{position:fixed!important;z-index:45001!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:hidden!important;padding:10px!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:18px!important;background:#111b30!important;color:#e9efff!important;box-shadow:0 24px 70px rgba(0,0,0,.5)!important;isolation:isolate!important;transform:none!important;contain:none!important;overscroll-behavior:contain}
 .v422-picker-shell > :is(.dev-quick-login,.dev-parent-tester,.admin-group-switcher-pop){position:relative!important;inset:auto!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;max-height:none!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:4px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;overflow:hidden!important;box-sizing:border-box!important}
 .v422-picker-shell > :is(.dev-quick-login,.dev-parent-tester) > .dev-section-head{display:none!important}
 .v422-picker-shell .dev-lab-account-search{flex:0 0 auto!important;min-height:0!important;margin:0 36px 8px 0!important;padding:4px!important;border:0!important;background:transparent!important;flex-direction:column!important}
 .v422-picker-shell .dev-lab-account-search>label{flex:0 0 auto!important;width:100%!important;max-width:none!important}
 .v422-picker-shell .dev-lab-account-search input,.v422-picker-shell input[data-group-filter]{flex:0 0 auto!important;min-width:0!important;min-height:44px!important;height:44px!important;margin:0 0 6px!important;font-size:16px!important}
 .v422-picker-shell .dev-lab-account-search-meta{width:100%!important;min-height:24px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
 .v422-picker-shell > .admin-group-switcher-pop > .admin-group-switcher-list,
 .v422-picker-shell .dev-user-panel,.v422-picker-shell .dev-parent-panel{display:block!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
 .v422-picker-shell .dev-user-panel .dev-user-list,
 .v422-picker-shell .dev-parent-panel .dev-parent-test-grid{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;align-content:stretch!important;gap:10px!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:4px!important}
 .v422-picker-shell .dev-user-row,.v422-picker-shell .dev-parent-test-card{position:relative!important;display:flex!important;flex:0 0 auto!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;height:auto!important;min-height:76px!important;max-height:none!important;margin:0!important;padding:12px!important;overflow:visible!important;transform:none!important;box-sizing:border-box!important}
 .v422-picker-shell .dev-user-row > div:first-child{width:100%!important}
 .v422-picker-shell .dev-user-actions{justify-content:flex-start!important}
 .v422-picker-shell .dev-parent-test-controls{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 .v422-picker-shell .dev-parent-test-controls :is(select,button){width:100%!important;max-width:100%!important;min-width:0!important;min-height:40px!important;font-size:12px!important}
 .v422-picker-shell [hidden]{display:none!important}
 .v422-picker-shell > .admin-group-switcher-pop > .admin-group-switcher-list{display:block!important}
 .v422-picker-shell .admin-group-switcher-list form{display:block!important;margin:0 0 7px!important}
 .v422-picker-shell .admin-group-switcher-list button{min-height:56px!important;width:100%!important}
 .v422-picker-close{position:absolute!important;right:8px!important;top:8px!important;width:30px!important;height:30px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(16,24,40,.94)!important;color:white!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important;z-index:3!important}
}
@media (max-width:760px){
  /* V422: older .admin-group-switcher-pop has an explicit stacking level; the
     sheet close control must be above that level, not behind the search input. */
  .v422-picker-shell > .admin-group-switcher-pop > input[data-group-filter]{width:calc(100% - 38px)!important;max-width:calc(100% - 38px)!important}
  .v422-picker-shell > .v422-picker-close{z-index:2147480000!important;pointer-events:auto!important}
}

/* V423: [hidden] MUST outrank old display:block/flex !important selectors.
   Otherwise group and account filtering appears to work only in counters. */
@media (max-width:760px){
  .v422-picker-shell .admin-group-switcher-list form[data-group-code][hidden],
  .v422-picker-shell .dev-user-panel .dev-user-row[hidden],
  .v422-picker-shell .dev-parent-panel .dev-parent-test-card[hidden]{display:none!important}
  .v422-picker-shell .dev-user-panel,.v422-picker-shell .dev-parent-panel,
  .v422-picker-shell .admin-group-switcher-list{scrollbar-gutter:auto!important}
}

/* V23.9.426 — teacher grade statements: unobtrusive controls for both UI shells. */
.teacher-grade-statement-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:var(--table-head)}
.teacher-grade-statement-toolbar>a{font-size:13px;font-weight:750;min-height:38px;display:inline-flex;align-items:center;justify-content:center}
.teacher-grade-statement-toolbar>span{color:var(--muted);font-size:11px;line-height:1.5}
.teacher-subject-export{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;margin:8px 0}
.teacher-subject-export>a{min-height:36px;white-space:nowrap;font-size:12px;padding:7px 12px}
@media (max-width:760px){
 .teacher-subject-row .teacher-subject-export{width:100%;justify-content:stretch;margin:8px 0 4px}
 .teacher-subject-row .teacher-subject-export>a{width:100%;text-align:center}
 .teacher-grade-statement-toolbar{align-items:stretch;flex-direction:column}
 .teacher-grade-statement-toolbar>a{width:100%}
}

