/* LOP Streak v2.8.739 — unified LOP Streak shell, shared Admin theme picker, panel palette and compact rail. */
:root{
  --lopws-bg:#f5f7fb;--lopws-primary:#2457e6;--lopws-primary-2:#173ba8;--lopws-accent-2:#7b4ff6;
  --lopws-sidebar:#111827;--lopws-hero:#22345f;--lopws-accent:#8fb2ff;--lopws-soft:#eef2ff;--lopws-soft-text:#2447b1;--lopws-sidebar-muted:#9aa7ba;
  --lopws-panel-bg:var(--lopws-sidebar);--lopws-panel-text:#fff;--lopws-panel-muted:var(--lopws-sidebar-muted);--lopws-panel-link:#cbd2df;--lopws-panel-icon:#93a1b8;
  --lopws-panel-line:rgba(255,255,255,.08);--lopws-panel-hover:rgba(255,255,255,.09);--lopws-panel-active:#fff;--lopws-panel-active-bg:rgba(255,255,255,.09);--lopws-panel-subtle:rgba(255,255,255,.055);
  --lopws-side-width:248px;--lopws-side-compact:84px;
}
html[data-lop-workspace-theme="lop-indigo"]{--lopws-bg:#f5f7fb;--lopws-primary:#2457e6;--lopws-primary-2:#173ba8;--lopws-accent-2:#7b4ff6;--lopws-sidebar:#111827;--lopws-hero:#22345f;--lopws-accent:#8fb2ff;--lopws-soft:#eef2ff;--lopws-soft-text:#2447b1;--lopws-sidebar-muted:#9aa7ba}
html[data-lop-workspace-theme="ocean-blue"]{--lopws-bg:#f3f8fc;--lopws-primary:#0875d1;--lopws-primary-2:#075aa0;--lopws-accent-2:#06a7c7;--lopws-sidebar:#0d2038;--lopws-hero:#153d68;--lopws-accent:#8fd3ff;--lopws-soft:#e8f5ff;--lopws-soft-text:#075aa0;--lopws-sidebar-muted:#9eb2c8}
html[data-lop-workspace-theme="emerald-focus"]{--lopws-bg:#f3f8f6;--lopws-primary:#0b8f6a;--lopws-primary-2:#087052;--lopws-accent-2:#14a7a0;--lopws-sidebar:#102823;--lopws-hero:#174c3f;--lopws-accent:#96dcc6;--lopws-soft:#e6f6ef;--lopws-soft-text:#087052;--lopws-sidebar-muted:#a8c9bd}
html[data-lop-workspace-theme="royal-violet"]{--lopws-bg:#f7f5fb;--lopws-primary:#6d4bd2;--lopws-primary-2:#5233ae;--lopws-accent-2:#9b51d6;--lopws-sidebar:#211a35;--lopws-hero:#493874;--lopws-accent:#c8b8fa;--lopws-soft:#eee9fb;--lopws-soft-text:#593bb2;--lopws-sidebar-muted:#c0b7d5}
html[data-lop-workspace-theme="amber-executive"]{--lopws-bg:#faf7f1;--lopws-primary:#aa6410;--lopws-primary-2:#824b0a;--lopws-accent-2:#d08a1e;--lopws-sidebar:#282116;--lopws-hero:#55421f;--lopws-accent:#f2c96f;--lopws-soft:#f8eed9;--lopws-soft-text:#824b0a;--lopws-sidebar-muted:#cbbda2}
html[data-lop-workspace-theme="graphite-steel"]{--lopws-bg:#f5f6f8;--lopws-primary:#465a73;--lopws-primary-2:#33465d;--lopws-accent-2:#667b92;--lopws-sidebar:#171c24;--lopws-hero:#39475a;--lopws-accent:#c2cbd6;--lopws-soft:#e8edf2;--lopws-soft-text:#3c4e63;--lopws-sidebar-muted:#a6b0bd}
html[data-lop-workspace-theme="skyline-cyan"]{--lopws-bg:#f2f9fb;--lopws-primary:#0f8ea8;--lopws-primary-2:#0a6e82;--lopws-accent-2:#38bdf8;--lopws-sidebar:#102a34;--lopws-hero:#18596a;--lopws-accent:#8cdef0;--lopws-soft:#e0f5f9;--lopws-soft-text:#0a7085;--lopws-sidebar-muted:#a4c9d1}
html[data-lop-workspace-theme="forest-sage"]{--lopws-bg:#f6f8f5;--lopws-primary:#497b62;--lopws-primary-2:#365e49;--lopws-accent-2:#78a989;--lopws-sidebar:#1d2a24;--lopws-hero:#365546;--lopws-accent:#b2d2bd;--lopws-soft:#e8f0e9;--lopws-soft-text:#365e49;--lopws-sidebar-muted:#b0c5b7}

/* Panel palette follows /lop-admin/ and can be selected independently from the workspace theme. */
html[data-lop-workspace-panel="theme-dark"]{--lopws-panel-bg:var(--lopws-sidebar);--lopws-panel-text:#fff;--lopws-panel-muted:var(--lopws-sidebar-muted);--lopws-panel-link:#cbd2df;--lopws-panel-icon:#93a1b8;--lopws-panel-line:rgba(255,255,255,.08);--lopws-panel-hover:rgba(255,255,255,.09);--lopws-panel-active:#fff;--lopws-panel-active-bg:rgba(255,255,255,.09);--lopws-panel-subtle:rgba(255,255,255,.055)}
html[data-lop-workspace-panel="midnight-navy"]{--lopws-panel-bg:#0b1730;--lopws-panel-text:#f8fafc;--lopws-panel-muted:#93a4bd;--lopws-panel-link:#c7d2e1;--lopws-panel-icon:#9cafc6;--lopws-panel-line:rgba(255,255,255,.09);--lopws-panel-hover:rgba(255,255,255,.08);--lopws-panel-active:#fff;--lopws-panel-active-bg:rgba(255,255,255,.1);--lopws-panel-subtle:rgba(255,255,255,.055)}
html[data-lop-workspace-panel="graphite-pro"]{--lopws-panel-bg:#171c24;--lopws-panel-text:#f8fafc;--lopws-panel-muted:#9ea9b6;--lopws-panel-link:#ced5dd;--lopws-panel-icon:#9ba7b5;--lopws-panel-line:rgba(255,255,255,.09);--lopws-panel-hover:rgba(255,255,255,.08);--lopws-panel-active:#fff;--lopws-panel-active-bg:rgba(255,255,255,.1);--lopws-panel-subtle:rgba(255,255,255,.055)}
html[data-lop-workspace-panel="slate-blue"]{--lopws-panel-bg:#24344d;--lopws-panel-text:#fff;--lopws-panel-muted:#aebbd0;--lopws-panel-link:#d6dfec;--lopws-panel-icon:#b3c0d4;--lopws-panel-line:rgba(255,255,255,.11);--lopws-panel-hover:rgba(255,255,255,.09);--lopws-panel-active:#fff;--lopws-panel-active-bg:rgba(255,255,255,.11);--lopws-panel-subtle:rgba(255,255,255,.065)}
html[data-lop-workspace-panel="soft-light"]{--lopws-panel-bg:#f8fafc;--lopws-panel-text:#1f2937;--lopws-panel-muted:#697586;--lopws-panel-link:#475569;--lopws-panel-icon:#667085;--lopws-panel-line:#e3e8ef;--lopws-panel-hover:#eef3f9;--lopws-panel-active:#173ba8;--lopws-panel-active-bg:#e9efff;--lopws-panel-subtle:#edf2f7}
html[data-lop-workspace-panel="warm-stone"]{--lopws-panel-bg:#f4f1eb;--lopws-panel-text:#302b25;--lopws-panel-muted:#7b7165;--lopws-panel-link:#554d45;--lopws-panel-icon:#776b5e;--lopws-panel-line:#ded7cc;--lopws-panel-hover:#eae4db;--lopws-panel-active:#7c4a0a;--lopws-panel-active-bg:#eadfce;--lopws-panel-subtle:#e7e1d8}

body.lop-teacher-workspace-body,body.lop-center-workspace-body{--tw-bg:var(--lopws-bg);--tw-primary:var(--lopws-primary);--tw-primary-2:var(--lopws-primary-2);--tw-sidebar:var(--lopws-panel-bg);--tw-sidebar-muted:var(--lopws-panel-muted);background:var(--lopws-bg)}
body.lop-teacher-workspace-body .loptw-welcome,body.lop-center-workspace-body .lopcw-welcome{background:linear-gradient(135deg,var(--lopws-sidebar),var(--lopws-hero))}
body.lop-teacher-workspace-body :is(.loptw-welcome span,.loptw-page-intro>div>span,.loptw-profile-card span),body.lop-center-workspace-body :is(.lopcw-welcome span,.lopcw-page-intro>div>span,.lopcw-profile-card span){color:var(--lopws-accent)}
body.lop-teacher-workspace-body :is(.loptw-quick-grid>a>span,.loptw-avatar,.loptw-mini-avatar,.loptw-empty-icon),body.lop-center-workspace-body :is(.lopcw-quick-grid>a>span,.lopcw-avatar,.lopcw-mini-avatar,.lopcw-empty-icon){background:var(--lopws-soft);color:var(--lopws-soft-text)}
body.lop-teacher-workspace-body :is(.loptw-pill,.loptw-badge),body.lop-center-workspace-body :is(.lopcw-pill,.lopcw-badge){background:var(--lopws-soft);color:var(--lopws-soft-text)}
body.lop-teacher-workspace-body .loptw-user>span,body.lop-center-workspace-body .lopcw-user>span{background:var(--lopws-soft);color:var(--lopws-soft-text)}

/* One sidebar contract for Teacher + Center. */
body.lop-teacher-workspace-body .loptw-sidebar,body.lop-center-workspace-body .lopcw-sidebar{width:var(--lopws-side-width);background:var(--lopws-panel-bg);color:var(--lopws-panel-text);border-color:var(--lopws-panel-line);transition:width .16s ease}
body.lop-teacher-workspace-body .loptw-main,body.lop-center-workspace-body .lopcw-main{margin-left:var(--lopws-side-width);width:calc(100% - var(--lopws-side-width));transition:margin-left .16s ease,width .16s ease}
body.lop-teacher-workspace-body .loptw-content,body.lop-center-workspace-body .lopcw-content{max-width:none!important;width:100%!important;margin:0!important}
body.lop-teacher-workspace-body .loptw-brand,body.lop-center-workspace-body .lopcw-brand{border-color:var(--lopws-panel-line)}
body.lop-teacher-workspace-body .loptw-brand>a,body.lop-center-workspace-body .lopcw-brand>a{color:var(--lopws-panel-text)}
body.lop-teacher-workspace-body .loptw-brand small,body.lop-center-workspace-body .lopcw-brand small{color:var(--lopws-panel-muted)}
body.lop-teacher-workspace-body .loptw-nav-group>small,body.lop-center-workspace-body .lopcw-nav-group>small{color:var(--lopws-panel-muted)}
body.lop-teacher-workspace-body .loptw-nav a,body.lop-center-workspace-body .lopcw-nav a{color:var(--lopws-panel-link)}
body.lop-teacher-workspace-body .loptw-nav a>span,body.lop-center-workspace-body .lopcw-nav a>span{color:var(--lopws-panel-icon)}
body.lop-teacher-workspace-body .loptw-nav a:hover,body.lop-center-workspace-body .lopcw-nav a:hover{background:var(--lopws-panel-hover);color:var(--lopws-panel-active)}
body.lop-teacher-workspace-body .loptw-nav a.is-active,body.lop-center-workspace-body .lopcw-nav a.is-active{background:var(--lopws-panel-active-bg);color:var(--lopws-panel-active);box-shadow:inset 3px 0 0 var(--lopws-accent)}
body.lop-teacher-workspace-body .loptw-nav a.is-active>span,body.lop-center-workspace-body .lopcw-nav a.is-active>span{color:var(--lopws-panel-active)}
body.lop-teacher-workspace-body .loptw-sidebar-bottom,body.lop-center-workspace-body .lopcw-sidebar-bottom{border-color:var(--lopws-panel-line);color:var(--lopws-panel-muted)}
.loptw-brand>.lop-workspace-side-toggle,.lopcw-brand>.lop-workspace-side-toggle{flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;display:grid!important;place-items:center;border:1px solid var(--lopws-panel-line)!important;border-radius:8px;background:var(--lopws-panel-subtle)!important;color:var(--lopws-panel-muted)!important;font-size:20px!important;line-height:1;cursor:pointer}
.loptw-brand>.lop-workspace-side-toggle:hover,.lopcw-brand>.lop-workspace-side-toggle:hover{background:var(--lopws-panel-hover)!important;color:var(--lopws-panel-active)!important}
.loptw-brand>.lop-workspace-side-toggle:focus-visible,.lopcw-brand>.lop-workspace-side-toggle:focus-visible{outline:2px solid var(--lopws-primary);outline-offset:2px}
body.lop-workspace-sidebar-collapsed{--lopws-side-width:var(--lopws-side-compact)}
body.lop-workspace-sidebar-collapsed :is(.loptw-brand,.lopcw-brand){padding-left:8px;padding-right:8px;gap:6px}
body.lop-workspace-sidebar-collapsed :is(.loptw-brand,.lopcw-brand)>a{flex:1;justify-content:center;gap:0;min-width:0}
body.lop-workspace-sidebar-collapsed :is(.loptw-brand,.lopcw-brand) img{width:36px;height:36px;flex-basis:36px;border-radius:10px}
body.lop-workspace-sidebar-collapsed .loptw-brand>a>span,body.lop-workspace-sidebar-collapsed .lopcw-brand>a>div{display:none}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav,.lopcw-nav){padding-left:8px;padding-right:8px}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav-group,.lopcw-nav-group){margin-bottom:8px}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav-group,.lopcw-nav-group)>small{display:none}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav,.lopcw-nav) a{justify-content:center;gap:0;padding-left:8px;padding-right:8px}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav,.lopcw-nav) a>span{width:32px;font-size:16px}
body.lop-workspace-sidebar-collapsed :is(.loptw-nav,.lopcw-nav) a>strong{display:none}
body.lop-workspace-sidebar-collapsed :is(.loptw-sidebar-bottom,.lopcw-sidebar-bottom){display:flex;justify-content:center;padding:10px 4px}
body.lop-workspace-sidebar-collapsed :is(.loptw-sidebar-bottom,.lopcw-sidebar-bottom)>span{display:none}

/* Companion keeps its lighter student-card language while sharing the same theme selector. */
body.lop-companion-workspace-body{background:var(--lopws-bg)}
body.lop-companion-workspace-body :is(.lopcw-kicker,.lopcw-hero-copy>span,.lopcw-section-head span,.lopcw-student-hero-copy>span,.lopcw-panel>header span){color:var(--lopws-primary)}
body.lop-companion-workspace-body :is(.lopcw-student-card footer a.is-primary,.lopcw-actions a.is-primary,.lopcw-student-hero-actions a.is-primary){border-color:var(--lopws-primary);background:var(--lopws-primary);color:#fff}
body.lop-companion-workspace-body .lopcw-panel>header>strong{background:var(--lopws-soft);color:var(--lopws-soft-text)}
body.lop-companion-workspace-body .lopcw-readonly{border-color:var(--lopws-soft);background:var(--lopws-soft)}
body.lop-companion-workspace-body .lopcw-readonly strong{color:var(--lopws-primary-2)}
body.lop-companion-workspace-body .lopcw-student-card footer a.is-primary:hover,body.lop-companion-workspace-body .lopcw-actions a.is-primary:hover,body.lop-companion-workspace-body .lopcw-student-hero-actions a.is-primary:hover{background:var(--lopws-primary-2);border-color:var(--lopws-primary-2)}

/* Admin-style theme picker: same two layers (workspace + panel), same density and interaction. */
.lop-workspace-theme-control{position:relative;flex:none;--lopws-ui-surface:#fff;--lopws-ui-surface-2:#fafbfc;--lopws-ui-text:#172033;--lopws-ui-muted:#687386;--lopws-ui-line:#e5e9f0}
.lop-workspace-theme-trigger{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:1px solid var(--lopws-ui-line);border-radius:8px;background:var(--lopws-ui-surface);color:var(--lopws-ui-muted);font:inherit;cursor:pointer;white-space:nowrap}
.lop-workspace-theme-trigger>span{font-size:15px;line-height:1;color:var(--lopws-primary)}.lop-workspace-theme-trigger>strong{font-size:10.5px;line-height:1.2;font-weight:750}.lop-workspace-theme-trigger:hover,.lop-workspace-theme-trigger[aria-expanded="true"]{border-color:color-mix(in srgb,var(--lopws-primary) 28%,#dbe3ef);background:var(--lopws-soft);color:var(--lopws-soft-text)}.lop-workspace-theme-trigger:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--lopws-primary) 18%,transparent)}
.lop-workspace-theme-popover[hidden]{display:none!important}.lop-workspace-theme-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:130;width:min(720px,calc(100vw - 34px));max-height:min(76vh,720px);overflow:auto;padding:16px;border:1px solid var(--lopws-ui-line);border-radius:16px;background:var(--lopws-ui-surface);box-shadow:0 22px 60px rgba(15,23,42,.18);color:var(--lopws-ui-text);overscroll-behavior:contain}
.lop-workspace-theme-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:0 0 13px;border-bottom:1px solid var(--lopws-ui-line)}.lop-workspace-theme-popover-head strong{display:block;font-size:15px;line-height:1.25}.lop-workspace-theme-popover-head span{display:block;margin-top:3px;color:var(--lopws-ui-muted);font-size:11.5px;line-height:1.45}.lop-workspace-theme-close{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--lopws-ui-line);border-radius:8px;background:var(--lopws-ui-surface-2);color:var(--lopws-ui-muted);font-size:18px;line-height:1;cursor:pointer}
.lop-workspace-theme-section{padding-top:15px}.lop-workspace-theme-section+.lop-workspace-theme-section{margin-top:15px;border-top:1px solid var(--lopws-ui-line)}.lop-workspace-theme-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}.lop-workspace-theme-section-head strong{display:block;font-size:13.5px;color:var(--lopws-ui-text)}.lop-workspace-theme-section-head span{display:block;margin-top:2px;color:var(--lopws-ui-muted);font-size:11px;line-height:1.4}.lop-workspace-theme-section-head>small{flex:none;padding:4px 7px;border-radius:999px;background:var(--lopws-ui-surface-2);color:var(--lopws-ui-muted);font-size:9.5px;font-weight:800}
.lop-workspace-theme-grid,.lop-workspace-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lop-workspace-theme-card,.lop-workspace-panel-card{position:relative;display:grid;grid-template-columns:66px minmax(0,1fr) 20px;gap:10px;align-items:center;min-height:82px;padding:10px;border:1px solid var(--lopws-ui-line);border-radius:12px;background:var(--lopws-ui-surface);color:var(--lopws-ui-text);text-align:left;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .12s ease}.lop-workspace-theme-card:hover,.lop-workspace-panel-card:hover{border-color:var(--lopws-primary);box-shadow:0 7px 20px rgba(15,23,42,.07);transform:translateY(-1px)}.lop-workspace-theme-card.is-selected,.lop-workspace-panel-card.is-selected{border-color:var(--lopws-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lopws-primary) 18%,transparent)}.lop-workspace-theme-card:focus-visible,.lop-workspace-panel-card:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--lopws-primary) 20%,transparent)}
.lop-workspace-theme-preview{height:54px;border-radius:9px;overflow:hidden;background:var(--theme-bg);border:1px solid rgba(17,24,39,.08);display:grid;grid-template-columns:18px 1fr;grid-template-rows:15px 1fr;position:relative}.lop-workspace-theme-preview:before{content:"";grid-row:1/3;background:var(--theme-sidebar)}.lop-workspace-theme-preview i{display:block;margin:4px 5px 0;height:6px;width:28px;border-radius:999px;background:linear-gradient(90deg,var(--theme-accent),var(--theme-accent-2))}.lop-workspace-theme-preview b{display:block;margin:7px 5px 2px;border-radius:4px;background:#fff;box-shadow:0 2px 4px rgba(15,23,42,.06)}.lop-workspace-theme-preview em{position:absolute;right:5px;bottom:5px;width:16px;height:5px;border-radius:999px;background:var(--theme-accent)}
.lop-workspace-panel-preview{height:54px;border-radius:9px;overflow:hidden;background:var(--panel-preview-bg);border:1px solid rgba(17,24,39,.08);display:flex;flex-direction:column;gap:4px;padding:6px;position:relative;color:var(--panel-preview-text)}.lop-workspace-panel-preview b{font-size:8px;line-height:1.1;color:var(--panel-preview-text)}.lop-workspace-panel-preview i{display:block;width:70%;height:5px;border-radius:999px;background:var(--panel-preview-muted,rgba(255,255,255,.28))}.lop-workspace-panel-preview i:nth-of-type(2){width:88%}.lop-workspace-panel-preview i:nth-of-type(3){width:62%}.lop-workspace-panel-preview em{position:absolute;left:6px;bottom:5px;width:20px;height:3px;border-radius:999px;background:var(--lopws-primary)}
.lop-workspace-theme-copy{min-width:0}.lop-workspace-theme-copy strong{display:block;color:var(--lopws-ui-text);font-size:11.5px;line-height:1.25}.lop-workspace-theme-copy small{display:block;margin-top:3px;color:var(--lopws-ui-muted);font-size:9.8px;line-height:1.35}.lop-workspace-theme-check{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--lopws-ui-surface-2);color:#98a2b3;font-size:10px;font-weight:900}.lop-workspace-theme-card.is-selected .lop-workspace-theme-check,.lop-workspace-panel-card.is-selected .lop-workspace-theme-check{background:var(--lopws-primary);color:#fff}.lop-workspace-theme-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding-top:13px;border-top:1px solid var(--lopws-ui-line)}.lop-workspace-theme-actions>span{color:var(--lopws-ui-muted);font-size:10px;line-height:1.4}.lop-workspace-theme-reset{min-height:32px;padding:6px 9px;border:1px solid var(--lopws-ui-line);border-radius:8px;background:var(--lopws-ui-surface-2);color:var(--lopws-ui-text);font:inherit;font-size:10px;font-weight:750;cursor:pointer;white-space:nowrap}.lop-workspace-theme-reset:hover{border-color:var(--lopws-primary);color:var(--lopws-primary)}
.lop-workspace-context-bar{gap:8px;align-items:center}.loptw-topbar .lop-workspace-theme-control,.lopcw-topbar .lop-workspace-theme-control{flex:none}

@media(max-width:1180px){.lop-workspace-theme-trigger>strong{display:none}.lop-workspace-theme-trigger{width:34px;padding:0}}
@media(max-width:860px){
  body.lop-teacher-workspace-body,body.lop-center-workspace-body{--lopws-side-width:248px}
  body.lop-teacher-workspace-body .loptw-main,body.lop-center-workspace-body .lopcw-main{margin-left:0;width:100%}
  .loptw-brand>.lop-workspace-side-toggle,.lopcw-brand>.lop-workspace-side-toggle{display:none!important}
}
@media(max-width:760px){.lop-workspace-theme-popover{position:fixed;left:10px;right:10px;top:auto;bottom:10px;width:auto;max-height:min(78vh,680px);padding:14px;border-radius:16px}.lop-workspace-theme-grid,.lop-workspace-panel-grid{grid-template-columns:1fr}.lop-workspace-theme-actions{align-items:stretch;flex-direction:column}.lop-workspace-theme-reset{width:100%}.lop-workspace-theme-card,.lop-workspace-panel-card{grid-template-columns:62px minmax(0,1fr) 20px;padding:9px}.lop-workspace-theme-copy strong{font-size:12px}.lop-workspace-theme-copy small{font-size:10.5px}}

/* v2.8.739 — one LOP Streak operational shell + the exact Admin Theme Picker UI. */
body.lop-workspace-shell-v2739{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow-x:hidden!important;
}
body.lop-workspace-shell-v2739 > :is(.loptw-app,.lopcw-app){
  width:100vw!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}

/* The picker is the Admin component itself, not a parallel imitation. */
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-control{
  --lop-admin-shell-surface:#fff;
  --lop-admin-shell-surface-2:#fafbfc;
  --lop-admin-shell-text:#172033;
  --lop-admin-shell-muted:#687386;
  --lop-admin-shell-line:#e5e9f0;
  --lop-admin-shell-primary:var(--lopws-primary);
  --lop-admin-shell-primary-strong:var(--lopws-primary-2);
  --lop-admin-shell-primary-soft:var(--lopws-soft);
  --lop-admin-shell-primary-soft-text:var(--lopws-soft-text);
  --lop-admin-shell-primary-soft-line:#d5defe;
  --lop-admin-shell-focus:var(--lopws-primary);
  --lop-admin-shell-focus-ring:rgba(36,87,230,.12);
  --lop-admin-shell-sidebar:var(--lopws-sidebar);
  position:relative;
  flex:none;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-control .lop-admin-theme-trigger{
  min-height:34px!important;
  padding:7px 10px!important;
  border:1px solid var(--lop-admin-shell-line)!important;
  border-radius:8px!important;
  background:var(--lop-admin-shell-surface)!important;
  color:var(--lop-admin-shell-muted)!important;
  box-shadow:none!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-control .lop-admin-theme-trigger:hover,
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-control .lop-admin-theme-trigger[aria-expanded="true"]{
  border-color:var(--lop-admin-shell-primary-soft-line)!important;
  background:var(--lop-admin-shell-primary-soft)!important;
  color:var(--lop-admin-shell-primary-soft-text)!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover{
  color:var(--lop-admin-shell-text)!important;
  background:var(--lop-admin-shell-surface)!important;
  border-color:var(--lop-admin-shell-line)!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-card,
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-panel-card{
  display:grid!important;
  grid-template-columns:66px minmax(0,1fr) 20px!important;
  gap:10px!important;
  align-items:center!important;
  min-height:82px!important;
  padding:10px!important;
  border:1px solid var(--lop-admin-shell-line)!important;
  border-radius:12px!important;
  background:var(--lop-admin-shell-surface)!important;
  color:var(--lop-admin-shell-text)!important;
  box-shadow:none!important;
  text-align:left!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-card:hover,
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-panel-card:hover{
  background:var(--lop-admin-shell-surface-2)!important;
  border-color:var(--lop-admin-shell-focus)!important;
  color:var(--lop-admin-shell-text)!important;
  box-shadow:0 7px 20px rgba(15,23,42,.07)!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-card.is-selected,
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-panel-card.is-selected{
  background:var(--lop-admin-shell-primary-soft)!important;
  border-color:var(--lop-admin-shell-primary)!important;
  color:var(--lop-admin-shell-text)!important;
  box-shadow:0 0 0 2px var(--lop-admin-shell-focus-ring)!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover .lop-admin-theme-copy strong{color:var(--lop-admin-shell-text)!important}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover .lop-admin-theme-copy small{color:var(--lop-admin-shell-muted)!important}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-close{
  width:30px!important;height:30px!important;padding:0!important;
  border:1px solid var(--lop-admin-shell-line)!important;border-radius:8px!important;
  background:var(--lop-admin-shell-surface-2)!important;color:var(--lop-admin-shell-muted)!important;
  box-shadow:none!important;font-size:18px!important;line-height:1!important;
}
body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-reset{
  min-height:32px!important;padding:6px 9px!important;
  border:1px solid var(--lop-admin-shell-line)!important;border-radius:8px!important;
  background:var(--lop-admin-shell-surface-2)!important;color:var(--lop-admin-shell-text)!important;
  box-shadow:none!important;
}

/* Teacher + Center follow the same fixed-sidebar/workarea contract as /lop-admin/. */
@media(min-width:861px){
  body.lop-workspace-shell-v2739 :is(.loptw-sidebar,.lopcw-sidebar){
    position:fixed!important;inset:0 auto 0 0!important;
    width:var(--lopws-side-width)!important;max-width:none!important;height:100vh!important;
    margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-main,.lopcw-main){
    margin:0 0 0 var(--lopws-side-width)!important;
    padding:0!important;
    width:calc(100vw - var(--lopws-side-width))!important;
    max-width:none!important;
    min-width:0!important;
    min-height:100vh!important;
    box-sizing:border-box!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-topbar,.lopcw-topbar){
    width:100%!important;max-width:none!important;margin:0!important;
    min-height:74px!important;padding-left:28px!important;padding-right:28px!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-content,.lopcw-content){
    width:100%!important;max-width:none!important;margin:0!important;
    padding:20px 28px 34px!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-footer,.lopcw-footer){
    width:100%!important;max-width:none!important;margin:0!important;
    padding-left:28px!important;padding-right:28px!important;
  }
}

@media(max-width:860px){
  body.lop-workspace-shell-v2739 > :is(.loptw-app,.lopcw-app){width:100%!important}
  body.lop-workspace-shell-v2739 :is(.loptw-main,.lopcw-main){margin-left:0!important;width:100%!important}
}

@media(max-width:760px){
  body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-theme-card,
  body:is(.lop-companion-workspace-body,.lop-teacher-workspace-body,.lop-center-workspace-body) .lop-shared-theme-popover button.lop-admin-panel-card{
    grid-template-columns:62px minmax(0,1fr) 20px!important;padding:9px!important;
  }
}

/* v2.8.739 — align operational navigation rhythm with the Admin shell. */
body.lop-workspace-shell-v2739 :is(.loptw-brand,.lopcw-brand){
  height:74px!important;min-height:74px!important;padding:0 14px 0 16px!important;
}
body.lop-workspace-shell-v2739 :is(.loptw-nav,.lopcw-nav){
  padding:13px 10px 16px!important;scrollbar-width:thin;
}
body.lop-workspace-shell-v2739 :is(.loptw-nav-group,.lopcw-nav-group){margin-bottom:12px!important}
body.lop-workspace-shell-v2739 :is(.loptw-nav-group,.lopcw-nav-group)>small{
  padding:4px 9px 7px!important;font-size:9.5px!important;line-height:1.2!important;
  font-weight:850!important;letter-spacing:.085em!important;text-transform:uppercase!important;
}
body.lop-workspace-shell-v2739 :is(.loptw-nav,.lopcw-nav) a{
  min-height:38px!important;padding:8px 10px!important;border-radius:9px!important;
  font-size:12.5px!important;line-height:1.25!important;font-weight:650!important;
}
body.lop-workspace-shell-v2739 :is(.loptw-sidebar-bottom,.lopcw-sidebar-bottom){
  min-height:46px!important;padding:11px 16px!important;font-size:9.5px!important;
}


/* v2.8.740 — Management header bars share the same top-edge rhythm as Admin Portal. */
body.lop-workspace-shell-v2739:is(.lop-teacher-workspace-body,.lop-center-workspace-body){
  margin:0!important;
  padding:0!important;
}
body.lop-workspace-shell-v2739 :is(.loptw-app,.lopcw-app,.loptw-main,.lopcw-main){
  margin-top:0!important;
  padding-top:0!important;
}
body.lop-workspace-shell-v2739 :is(.loptw-topbar,.lopcw-topbar){
  height:74px!important;
  min-height:74px!important;
  margin:0!important;
  top:0!important;
  inset-block-start:0!important;
}
@media(max-width:860px){
  body.lop-workspace-shell-v2739 :is(.loptw-topbar,.lopcw-topbar){height:66px!important;min-height:66px!important}
}


/* v2.8.741 — Teacher/Center header bars use the same fixed top-edge contract as Admin.
 * The header is viewport-anchored; the workspace content owns the exact offset. */
@media(min-width:861px){
  body.lop-workspace-shell-v2739 :is(.loptw-topbar,.lopcw-topbar){
    position:fixed!important;
    top:0!important;
    left:var(--lopws-side-width)!important;
    right:0!important;
    width:auto!important;
    height:74px!important;
    min-height:74px!important;
    max-height:74px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    transform:none!important;
    box-sizing:border-box!important;
    z-index:70!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-content,.lopcw-content){padding-top:94px!important}
}
@media(max-width:860px){
  body.lop-workspace-shell-v2739 :is(.loptw-topbar,.lopcw-topbar){
    position:fixed!important;top:0!important;left:0!important;right:0!important;width:auto!important;
    height:66px!important;min-height:66px!important;max-height:66px!important;padding-top:0!important;padding-bottom:0!important;transform:none!important;
  }
  body.lop-workspace-shell-v2739 :is(.loptw-content,.lopcw-content){padding-top:84px!important}
}

/* v2.8.803 — Business ONE-aligned Student Workspace shell. Presentation only. */
html[data-lop-workspace-theme="burgundy-signature"]{--lopws-bg:#fbf5f7;--lopws-primary:#9a3f58;--lopws-primary-2:#763044;--lopws-accent-2:#c76b7f;--lopws-sidebar:#2b1820;--lopws-hero:#5b2c3a;--lopws-accent:#d9a0b0;--lopws-soft:#f6e7eb;--lopws-soft-text:#83364d;--lopws-sidebar-muted:#bea7b0}
html[data-lop-workspace-theme="cobalt-night"]{--lopws-bg:#f4f7fc;--lopws-primary:#3155c6;--lopws-primary-2:#24439f;--lopws-accent-2:#4f7cf3;--lopws-sidebar:#101a34;--lopws-hero:#263d78;--lopws-accent:#93adff;--lopws-soft:#e8edff;--lopws-soft-text:#2748a8;--lopws-sidebar-muted:#9fabca}

html.lop-student-workspace-v2803,
html.lop-student-workspace-v2803 body{background:var(--lopws-bg)!important;overflow-x:hidden}
html.lop-student-workspace-v2803{--lop-student-side-width:248px;--lop-student-side-compact:84px;--lop-student-topbar-height:56px}
html.lop-student-workspace-v2803 .lopws-icon{width:20px;height:20px;max-width:20px;max-height:20px;display:inline-block;vertical-align:middle;flex:0 0 20px}
.lopws-student-sidebar{position:fixed;inset:0 auto 0 0;z-index:10090;width:var(--lop-student-side-width);height:100vh;background:var(--lopws-panel-bg);color:var(--lopws-panel-text);border-right:1px solid var(--lopws-panel-line);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;transition:width .16s ease,transform .18s ease}
.lopws-student-brand{height:64px;min-height:64px;padding:0 12px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--lopws-panel-line)}
.lopws-student-brand>a{min-width:0;display:flex;align-items:center;gap:10px;color:var(--lopws-panel-text)!important;text-decoration:none!important}
.lopws-student-brand img{width:34px;height:34px;border-radius:9px;object-fit:contain;flex:none;background:#fff}
.lopws-student-brand a>span{min-width:0;display:flex;flex-direction:column;line-height:1.14}
.lopws-student-brand strong{font-size:14px;font-weight:800;letter-spacing:-.01em;white-space:nowrap}
.lopws-student-brand small{margin-top:3px;color:var(--lopws-panel-muted);font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.lopws-student-brand>button{width:32px;height:32px;display:grid;place-items:center;flex:none;padding:0;border:1px solid var(--lopws-panel-line);border-radius:8px;background:var(--lopws-panel-subtle);color:var(--lopws-panel-muted);cursor:pointer}
.lopws-student-brand>button:hover{background:var(--lopws-panel-hover);color:var(--lopws-panel-active)}
.lopws-student-nav{flex:1;min-height:0;overflow:auto;padding:13px 10px 16px;scrollbar-width:thin;scrollbar-color:var(--lopws-panel-muted) transparent}
.lopws-student-nav-group{margin-bottom:12px}
.lopws-student-nav-group>small{display:block;padding:4px 9px 7px;color:var(--lopws-panel-muted);font-size:9.5px;line-height:1.2;font-weight:850;letter-spacing:.085em;text-transform:uppercase;white-space:nowrap;overflow:hidden}
.lopws-student-nav-group>a,.lopws-student-sidebar-bottom>a{min-height:38px;display:flex;align-items:center;gap:10px;margin:2px 0;padding:8px 10px;border-radius:9px;color:var(--lopws-panel-link)!important;text-decoration:none!important;font-size:12.5px;line-height:1.25;font-weight:650;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}
.lopws-student-nav-group>a:hover,.lopws-student-sidebar-bottom>a:hover{background:var(--lopws-panel-hover);color:var(--lopws-panel-active)!important}
.lopws-student-nav-group>a.is-active{background:var(--lopws-panel-active-bg);color:var(--lopws-panel-active)!important;box-shadow:inset 3px 0 0 var(--lopws-primary)}
.lopws-student-nav-group>a span,.lopws-student-sidebar-bottom>a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lopws-student-sidebar-bottom{padding:10px;border-top:1px solid var(--lopws-panel-line)}
.lopws-student-backdrop{display:none}

html.lop-student-workspace-v2803 .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html.lop-student-workspace-v2803 .lopsp-student-shell-with-fixed-topnav{box-sizing:border-box!important;width:calc(100% - var(--lop-student-side-width))!important;max-width:none!important;margin-left:var(--lop-student-side-width)!important;margin-right:0!important;padding-top:calc(var(--lop-student-topbar-height) + 12px)!important;background:var(--lopws-bg)!important;transition:margin-left .16s ease,width .16s ease}
html.lop-student-workspace-v2803 .lopws-student-topbar{position:fixed!important;top:0!important;left:var(--lop-student-side-width)!important;right:0!important;width:auto!important;height:var(--lop-student-topbar-height)!important;min-height:var(--lop-student-topbar-height)!important;margin:0!important;padding:0 16px!important;border:0!important;border-bottom:1px solid #e5e9f0!important;background:#fff!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;z-index:10080!important;box-sizing:border-box!important;transition:left .16s ease}
html.lop-student-workspace-v2803 .lopws-student-topbar-context{min-width:0;display:flex;align-items:center;gap:10px;color:#172033}
html.lop-student-workspace-v2803 .lopws-student-topbar-context>span{min-width:0;display:flex;align-items:baseline;gap:8px;white-space:nowrap}
html.lop-student-workspace-v2803 .lopws-student-topbar-context small{color:#7b8496;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
html.lop-student-workspace-v2803 .lopws-student-topbar-context strong{color:#172033;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis}
html.lop-student-workspace-v2803 .lopws-student-topbar-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
html.lop-student-workspace-v2803 .lopws-student-topbar-actions .lopsp-member-account-menu-v2763{margin:0!important;position:relative}
html.lop-student-workspace-v2803 .lopws-student-topbar-actions .lopsp-member-account-submenu-v2763{position:absolute!important;left:auto!important;right:0!important}
html.lop-student-workspace-v2803 .lopws-student-topbar .lopsp-member-account-trigger-v2763{min-height:34px!important;padding:6px 10px!important;border:1px solid #e5e9f0!important;border-radius:9px!important;background:#fff!important;color:#344054!important;box-shadow:none!important}
html.lop-student-workspace-v2803 .lopws-student-topbar .lopsp-member-account-trigger-v2763:hover{background:#f9fafb!important;border-color:#d0d5dd!important}
html.lop-student-workspace-v2803 .lopws-student-drawer-toggle{display:none;width:34px;height:34px;place-items:center;flex:none;padding:0;border:1px solid #e5e9f0;border-radius:9px;background:#fff;color:#344054;cursor:pointer}
html.lop-student-workspace-v2803 .lopws-student-drawer-toggle .lopws-icon{width:18px;height:18px}
html.lop-student-workspace-v2803 .lopws-student-drawer-close{display:none}
html.lop-student-workspace-v2803 .lopsp-mobile-header-spacer-v308{display:none!important}
html.lop-student-workspace-v2803 .lopsp-learning-page-head-v2764{margin-top:0!important}

html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar{width:var(--lop-student-side-compact)}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-brand>a>span,
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-nav-group>small,
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-nav-group>a span,
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar-bottom>a span{display:none}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-brand{padding:0 10px;justify-content:center;flex-direction:column;height:82px;gap:5px}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-brand img{width:30px;height:30px}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-brand>button{width:28px;height:28px}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-nav-group>a,
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar-bottom>a{justify-content:center;padding:8px}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopsp-student-shell-with-fixed-topnav{width:calc(100% - var(--lop-student-side-compact))!important;margin-left:var(--lop-student-side-compact)!important}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-topbar{left:var(--lop-student-side-compact)!important}

/* Student theme picker uses the exact shared ONE-like card contract. */
html.lop-student-workspace-v2803 .lop-shared-theme-control{--lop-admin-shell-surface:#fff;--lop-admin-shell-surface-2:#fafbfc;--lop-admin-shell-text:#172033;--lop-admin-shell-muted:#687386;--lop-admin-shell-line:#e5e9f0;--lop-admin-shell-primary:var(--lopws-primary);--lop-admin-shell-primary-strong:var(--lopws-primary-2);--lop-admin-shell-primary-soft:var(--lopws-soft);--lop-admin-shell-primary-soft-text:var(--lopws-soft-text);--lop-admin-shell-primary-soft-line:#d5defe;--lop-admin-shell-focus:var(--lopws-primary);--lop-admin-shell-focus-ring:rgba(36,87,230,.12);position:relative;flex:none}
html.lop-student-workspace-v2803 .lop-shared-theme-control .lop-admin-theme-trigger{min-height:36px!important;padding:7px 10px!important;border:1px solid #e5e9f0!important;border-radius:9px!important;background:#fff!important;color:#687386!important;box-shadow:none!important}
html.lop-student-workspace-v2803 .lop-shared-theme-control .lop-admin-theme-trigger:hover,
html.lop-student-workspace-v2803 .lop-shared-theme-control .lop-admin-theme-trigger[aria-expanded="true"]{border-color:var(--lopws-primary)!important;background:var(--lopws-soft)!important;color:var(--lopws-soft-text)!important}

@media(max-width:900px){
  html.lop-student-workspace-v2803{--lop-student-topbar-height:54px}
  html.lop-student-workspace-v2803 .lopws-student-sidebar{display:flex!important;width:min(86vw,300px)!important;transform:translateX(-102%);box-shadow:18px 0 48px rgba(15,23,42,.22);transition:transform .2s ease}
  html.lop-student-workspace-v2803 body.lop-student-sidebar-open .lopws-student-sidebar{transform:translateX(0)}
  html.lop-student-workspace-v2803 .lopws-student-backdrop{display:block!important;position:fixed;inset:0;z-index:10085;background:rgba(15,23,42,.38);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
  html.lop-student-workspace-v2803 body.lop-student-sidebar-open .lopws-student-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  html.lop-student-workspace-v2803 body.lop-student-sidebar-open{overflow:hidden}
  html.lop-student-workspace-v2803 .lopws-student-collapse-toggle{display:none!important}
  html.lop-student-workspace-v2803 .lopws-student-drawer-close{display:grid;width:34px;height:34px;place-items:center;flex:none;padding:0;border:1px solid var(--lopws-panel-line);border-radius:9px;background:var(--lopws-panel-subtle);color:var(--lopws-panel-link);font-size:21px;line-height:1;cursor:pointer}
  html.lop-student-workspace-v2803 .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html.lop-student-workspace-v2803 .lopsp-student-shell-with-fixed-topnav{width:100%!important;margin-left:0!important;padding-top:66px!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar{left:0!important;height:54px!important;min-height:54px!important;padding:0 10px!important}
  html.lop-student-workspace-v2803 .lopws-student-drawer-toggle{display:grid}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context>span{gap:0}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context small{display:none}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context strong{font-size:13px}
  html.lop-student-workspace-v2803 .lopws-student-topbar .lopsp-member-account-menu-v2763{position:relative}
  html.lop-student-workspace-v2803 .lopws-student-topbar .lopsp-member-account-submenu-v2763{position:fixed!important;top:58px!important;left:10px!important;right:10px!important;width:auto!important;max-height:calc(100vh - 70px)!important;overflow-y:auto!important}
  html.lop-student-workspace-v2803 .lop-shared-theme-control .lop-admin-theme-trigger>strong{display:none}
}
@media(max-width:600px){
  html.lop-student-workspace-v2803 .lopws-student-topbar{gap:8px!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar-actions{gap:5px}
  html.lop-student-workspace-v2803 .lopws-student-topbar .lopsp-member-account-trigger-v2763{max-width:118px!important;min-height:32px!important;padding:5px 8px!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context strong{max-width:100px}
}


/* v2.8.806 — Student/Companion Workspace owns the viewport top edge.
 * WordPress admin-bar/theme offsets must never create dead space above the
 * dedicated Workspace topbar. Public/Learning Experience pages are untouched. */
html.lop-student-workspace-v2803,
html.lop-student-workspace-v2803.admin-bar{margin-top:0!important;padding-top:0!important}
html.lop-student-workspace-v2803 body{margin-top:0!important;padding-top:0!important}
html.lop-student-workspace-v2803 body #wpadminbar{display:none!important;height:0!important;min-height:0!important}
html.lop-student-workspace-v2803 .lopws-student-topbar{top:0!important;inset-block-start:0!important;transform:none!important}

/* v2.8.807 — compact Student Workspace top rail.
 * Desktop management pages keep only a 10px visual rail at the viewport top;
 * page content starts immediately after it. Theme/account actions live in the
 * sidebar. Mobile retains a small functional drawer bar instead of dead space. */
html.lop-student-workspace-v2803{--lop-student-topbar-height:10px}
html.lop-student-workspace-v2803 .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html.lop-student-workspace-v2803 .lopsp-student-shell-with-fixed-topnav{
  padding-top:10px!important;
}
html.lop-student-workspace-v2803 .lopws-student-topbar{
  height:10px!important;
  min-height:10px!important;
  max-height:10px!important;
  padding:0!important;
  border:0!important;
  background:var(--lopws-bg)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html.lop-student-workspace-v2803 .lopws-student-topbar-context{
  display:none!important;
}

/* Theme Picker is now a first-class sidebar action instead of a reason to keep
 * a tall frozen toolbar. Its storage/logic remains the existing shared picker. */
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-shared-theme-control{
  width:100%;
  margin:0 0 2px;
  --lop-admin-shell-surface:transparent;
  --lop-admin-shell-surface-2:var(--lopws-panel-hover);
  --lop-admin-shell-text:var(--lopws-panel-text);
  --lop-admin-shell-muted:var(--lopws-panel-link);
  --lop-admin-shell-line:var(--lopws-panel-line);
}
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-admin-theme-trigger{
  width:100%!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--lopws-panel-link)!important;
  box-shadow:none!important;
  text-align:left!important;
}
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-admin-theme-trigger:hover,
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-admin-theme-trigger[aria-expanded="true"]{
  background:var(--lopws-panel-hover)!important;
  color:var(--lopws-panel-active)!important;
}
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-admin-theme-trigger>span{
  width:20px!important;
  flex:0 0 20px!important;
  text-align:center!important;
  color:var(--lopws-panel-icon)!important;
  font-size:16px!important;
}
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-admin-theme-trigger>strong{
  display:block!important;
  color:inherit!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-shared-theme-popover{
  position:fixed!important;
  left:calc(var(--lop-student-side-width) + 12px)!important;
  right:auto!important;
  top:auto!important;
  bottom:12px!important;
  width:min(720px,calc(100vw - var(--lop-student-side-width) - 36px))!important;
  max-height:min(76vh,720px)!important;
  z-index:10120!important;
}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar-bottom .lop-admin-theme-trigger{
  justify-content:center!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar-bottom .lop-admin-theme-trigger>strong{display:none!important}
html.lop-student-workspace-v2803.lop-student-sidebar-collapsed .lopws-student-sidebar-bottom .lop-shared-theme-popover{
  left:calc(var(--lop-student-side-compact) + 12px)!important;
  width:min(720px,calc(100vw - var(--lop-student-side-compact) - 36px))!important;
}

/* Other role workspaces keep their functional topbars, but remove the oversized
 * dead gap below them: only 10px separates the fixed bar from page content. */
body.lop-teacher-workspace-body .loptw-content,
body.lop-center-workspace-body .lopcw-content{padding-top:84px!important}

@media(max-width:900px){
  html.lop-student-workspace-v2803{--lop-student-topbar-height:44px}
  html.lop-student-workspace-v2803 .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html.lop-student-workspace-v2803 .lopsp-student-shell-with-fixed-topnav{
    width:100%!important;
    margin-left:0!important;
    padding-top:54px!important;
  }
  html.lop-student-workspace-v2803 .lopws-student-topbar{
    left:0!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0 10px!important;
    border-bottom:1px solid #e5e9f0!important;
    background:#fff!important;
    display:flex!important;
    align-items:center!important;
  }
  html.lop-student-workspace-v2803 .lopws-student-topbar-context{
    min-width:0!important;
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  html.lop-student-workspace-v2803 .lopws-student-topbar-context>span{display:flex!important;min-width:0!important;align-items:center!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context small{display:none!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context strong{
    display:block!important;
    max-width:calc(100vw - 76px)!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
  }
  html.lop-student-workspace-v2803 .lopws-student-drawer-toggle{
    display:grid!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    flex:0 0 32px!important;
  }
  html.lop-student-workspace-v2803 .lopws-student-sidebar-bottom .lop-shared-theme-popover{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    width:auto!important;
    max-height:min(78vh,680px)!important;
  }
}
@media(max-width:860px){
  body.lop-teacher-workspace-body .loptw-content,
  body.lop-center-workspace-body .lopcw-content{padding-top:76px!important}
}
@media(max-width:430px){
  html.lop-student-workspace-v2803 .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html.lop-student-workspace-v2803 .lopsp-student-shell-with-fixed-topnav{padding-top:52px!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar{height:42px!important;min-height:42px!important;max-height:42px!important;padding:0 8px!important}
  html.lop-student-workspace-v2803 .lopws-student-drawer-toggle{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important}
  html.lop-student-workspace-v2803 .lopws-student-topbar-context strong{font-size:12.5px!important;max-width:calc(100vw - 62px)!important}
}
