:root {
  --blue-ink:#0b154d;
  --blue-muted:#42577e;
  --blue-bg:#f3f6fd;
  --blue-panel:#fbfcff;
  --blue-line:#d6e3f6;
  --blue-soft:#e0ecff;
  --blue-wash:#edf4ff;
  --blue-side:#d5e9fb;
  --blue-active:#aecbf8;
  --blue-button:#0849df;
  --blue-button-dark:#0737b5;
  --blue-radius:18px;
  --blue-font:Nunito,Arial,sans-serif;
  --blue-banner:linear-gradient(115deg,#e5f0ff,#c7dffa);
  --blue-action:linear-gradient(155deg,#245be9,var(--blue-button-dark));
}
body:is(.sb-blue-student,.sb-blue-portal,.sb-blue-public) {
  --ui-jade:var(--blue-button);--ui-jade-d:var(--blue-button-dark);--ui-sea:var(--blue-soft);
  --ui-bg:var(--blue-bg);--ui-card:var(--blue-panel);--ui-line:var(--blue-line);--ui-line2:var(--blue-wash);
  --ui-t1:var(--blue-ink);--ui-t2:var(--blue-muted);--ui-t3:#52658b;--ui-font:var(--blue-font);
  --sb-teal:var(--blue-button);--sb-navy:var(--blue-ink);--sb-sub:var(--blue-muted);--sb-line:var(--blue-line);
  --sb-grad-active:var(--blue-action);--sb-concept-mint:var(--blue-button);--sb-concept-line:var(--blue-line);
}
body:is(.sb-blue-student,.sb-blue-portal,.sb-blue-public),
body:is(.sb-blue-student,.sb-blue-portal) :is(.sg-page,.ad-page,.pv-adv,.as,.lg,.rm) {
  --j:var(--blue-button);--jd:var(--blue-button-dark);--sf:var(--blue-soft);
  --tx:var(--blue-ink);--mu:var(--blue-muted);--ln:var(--blue-line);
}
body:is(.sb-blue-student,.sb-blue-portal) :is(.sg-page,.ad-page,.as,.lg,.rm) {
  font-family:var(--blue-font);
}
.sb-blue-art { object-fit:contain; flex:none; pointer-events:none }
.sb-control-icon { display:inline-block;vertical-align:middle;max-width:100% }
button > .sb-control-icon, summary > .sb-control-icon { margin-inline-end:.2em }
body:is(.sb-blue-student,.sb-blue-portal,.sb-blue-public) :is(.sb-head-emoji,.prof-row-ic,.set-ic):has(.sb-control-icon) {
  display:inline-grid;place-items:center;color:var(--blue-ink);background:var(--blue-soft);
}
.sb-head-emoji .sb-control-icon { width:38px;height:38px }
.c2-blue-icon { width:29px;height:29px;vertical-align:middle }
.blue-primary {
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  border:1px solid #1749df;border-radius:14px;background:linear-gradient(#245be9,#0643d5);
  color:white;font:900 1rem var(--blue-font);padding:.55em 1.4em;cursor:pointer;
}
.blue-primary:hover { background:var(--blue-button-dark) }
.blue-shell button:focus-visible,.blue-shell summary:focus-visible,.blue-home button:focus-visible,.blue-subject-index button:focus-visible {
  outline:3px solid var(--blue-button);outline-offset:3px;
}
html body.sb-blue-student {
  --blue-rail:clamp(190px,19vw,286px);
  --blue-gutter:clamp(14px,1.9vw,32px);
  --blue-mobile-head:calc(64px + env(safe-area-inset-top));
  --blue-mobile-nav:calc(68px + env(safe-area-inset-bottom));
  --bg:var(--blue-bg);--ink:var(--blue-ink);--teal:var(--blue-button);--teal-d:var(--blue-button-dark);
  --brand:var(--blue-button);--mint:var(--blue-button);--mint-d:var(--blue-button-dark);
  --c2-line:var(--blue-line);--c2-bg:var(--blue-bg);--c2-ink:var(--blue-ink);
  --c2-sub:var(--blue-muted);--c2-mint:var(--blue-button);--c2-teal:var(--blue-button);--c2-deep:var(--blue-button-dark);
  background:var(--blue-bg)!important;color:var(--blue-ink);margin:0!important;font-family:var(--blue-font);
}
body.sb-blue-student :is(.sidebar,#content-topbar,.sb-topbar,#sb-mobile-nav,.sidebar-overlay) { display:none!important }
html body.sb-blue-student .layout {
  position:fixed!important;inset:0 0 0 var(--blue-rail)!important;display:block!important;
  width:auto!important;height:auto!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden;
}
html body.sb-blue-student #main-area {
  height:100%!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:var(--blue-bg)!important;box-shadow:none!important;
}
body.sb-blue-student #main-area::before,body.sb-blue-student #main-area::after { display:none!important }
.blue-shell { color:var(--blue-ink);font-family:var(--blue-font) }
.blue-rail {
  position:fixed;inset:0 auto 0 0;width:var(--blue-rail);z-index:100;
  background:linear-gradient(120deg,var(--blue-side),#d3e6fa);display:flex;flex-direction:column;
  padding:clamp(10px,1.35vw,22px);overflow:auto;border-right:1px solid #ccdcf1;
}
.blue-shell button,.blue-explore summary,.blue-feature-grid button {
  appearance:none;border:0;background:transparent;color:inherit;font:900 1rem var(--blue-font);
  display:flex;align-items:center;gap:.55em;cursor:pointer;border-radius:14px;padding:7px;
}
.blue-rail .blue-brand {
  flex-direction:column;gap:6px;align-self:center;font-size:clamp(20px,2.2vw,36px);
  margin-bottom:clamp(18px,4vh,48px);line-height:1.08;text-align:center;
}
.blue-brand img { width:clamp(60px,10vw,142px);height:clamp(60px,12vh,120px) }
.blue-rail nav { display:grid;gap:clamp(5px,1.55vh,18px) }
.blue-rail nav button,.blue-rail-footer button { width:100%;text-align:left;font-size:clamp(16px,1.55vw,26px);min-height:clamp(44px,6vh,70px) }
.blue-rail-footer { margin-top:auto;padding-top:13px;border-top:1px solid #b7d2f5 }
.blue-rail nav img,.blue-rail-footer img { width:clamp(32px,3.5vw,53px);height:clamp(32px,5vh,50px) }
.blue-shell button:hover,.blue-feature-grid button:hover,.blue-shell [aria-current="page"] { background:var(--blue-active);color:#073296 }
.blue-mobile-head,.blue-mobile-nav { display:none }
.blue-explore { position:fixed;top:14px;right:var(--blue-gutter);z-index:140 }
.blue-at-home .blue-explore { display:none }
.blue-explore summary { list-style:none;justify-content:center;width:42px;height:42px;font-size:24px;background:#e0ecfd }
.blue-explore summary::-webkit-details-marker { display:none }
.blue-explore>div {
  position:absolute;right:0;top:calc(100% + 8px);width:220px;max-height:65dvh;overflow:auto;
  padding:8px;border:1px solid var(--blue-line);border-radius:16px;background:var(--blue-panel);box-shadow:0 8px 30px #23437924;
}
.blue-explore button { width:100%;text-align:left;min-height:44px }
.blue-explore img,.blue-feature-grid img { width:30px;height:30px }

html body.sb-blue-student #intro-welcome-screen.blue-home {
  position:absolute;inset:0;display:grid;grid-template-rows:auto minmax(210px,1.15fr) minmax(230px,1.14fr) minmax(80px,.35fr);
  align-content:stretch;gap:clamp(10px,1.9vh,22px);padding:clamp(12px,2vh,25px) var(--blue-gutter)!important;
  overflow:auto;max-width:none;background:var(--blue-bg)!important;color:var(--blue-ink);animation:none!important;
}
.blue-home h1,.blue-home h2,.blue-subject-index h1 { font-family:var(--blue-font);font-weight:1000;color:var(--blue-ink);margin:0;line-height:1.05 }
.blue-home-title { font-size:clamp(24px,2.2vw,38px) }
.blue-home-title span:last-child,.blue-resume { display:none }
.blue-hero {
  position:relative;display:flex;align-items:center;isolation:isolate;border-radius:var(--blue-radius);
  background:linear-gradient(112deg,#cfe3fb 0%,#b9d9f6 60%,#a5ccf7);
}
.blue-hero-art {
  position:absolute;z-index:-1;right:0;bottom:0;width:55%;height:107%;object-fit:fill;
  border-radius:0 18px 18px 0;mask-image:linear-gradient(90deg,transparent 0%,#000 13%);
}
.blue-hero-copy { padding:.65em 0 .65em 5%;width:49% }
.blue-hero h2 { font-size:clamp(30px,min(4.4vw,6.2vh),75px);letter-spacing:-.025em }
.blue-hero p { font-size:clamp(18px,min(2.2vw,3vh),34px);font-weight:800;margin:.25em 0 .75em }
.blue-hero .blue-primary { min-width:min(100%,9em);font-size:clamp(16px,2vw,32px) }
.blue-subjects { min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(9px,1.5vh,19px) }
.blue-subjects h2 { font-size:clamp(25px,2.7vw,44px) }
.blue-subject-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(9px,1.1vw,17px);min-width:0 }
.blue-subject {
  --tone:#deedfc;--tone-arrow:#c0dcf8;
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0;position:relative;
  align-items:center;border:1px solid #eee8e7;border-radius:var(--blue-radius);padding:5px;
  background:linear-gradient(160deg,#fcf6f0,#fbf4ee 70%,var(--tone));color:var(--blue-ink);
  font:inherit;text-align:left;cursor:pointer;
}
.blue-english { --tone:#fbdcec;--tone-arrow:#efc6e1 }
.blue-life { --tone:#d9f0df;--tone-arrow:#bfe6d0 }
.blue-subject-art { grid-column:1/-1;width:100%;height:100%;min-height:0;max-width:100%;margin:auto }
.blue-subject-label {
  grid-column:1/-1;grid-row:2;display:flex;align-items:center;background:var(--tone);padding:.5em 2em .5em .75em;
  min-width:0;border-radius:14px;font-size:clamp(17px,2vw,33px);font-weight:1000;line-height:1.13;
}
.blue-subject-label strong,.blue-journey strong { font-weight:1000 }
.blue-arrow { display:inline-grid;place-items:center;font-size:1.25em;font-weight:1000;line-height:.95;color:#073aaf }
.blue-subject>.blue-arrow {
  z-index:1;grid-column:2;grid-row:2;justify-self:end;margin-right:10px;width:1.2em;height:1.2em;
  border-radius:50%;background:var(--tone-arrow);font-size:clamp(20px,2.3vw,32px);
}
.blue-subject:hover,.blue-journey:hover { filter:brightness(.975) }
.blue-subject-meter { display:none }
.blue-journey {
  display:grid;grid-template-columns:clamp(65px,11vw,175px) minmax(0,1fr) auto;align-items:center;gap:clamp(10px,2vw,30px);
  min-width:0;min-height:0;width:100%;text-align:left;cursor:pointer;background:linear-gradient(120deg,#e1ecfc,#d3e7fc);
  border:1px solid #d3e4f7;border-radius:var(--blue-radius);color:var(--blue-ink);padding:6px 2.5% 6px 1%;font:inherit;
}
.blue-journey img { width:100%;height:100%;max-height:100%;min-height:0;padding-right:9%;border-right:1px solid #a3c6f6 }
.blue-journey-copy { display:grid;gap:.4em;min-width:0;font-size:clamp(16px,1.85vw,28px);line-height:1.12 }
.blue-journey-copy>span,.blue-subject-meter { align-items:center;gap:.65em }
.blue-journey-copy>span { display:flex }
.blue-home progress {
  appearance:none;width:100%;height:.65em;min-width:0;background:#bad3ed;border:0;border-radius:999px;overflow:hidden;
}
.blue-home progress::-webkit-progress-bar { background:#bad3ed;border-radius:999px }
.blue-home progress::-webkit-progress-value { background:#1060fa;border-radius:999px }
.blue-home progress::-moz-progress-bar { background:#1060fa;border-radius:999px }
.blue-percent { font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap }
.blue-journey-link {
  border:1px solid #184af2;border-radius:13px;color:#0a36b4;font-weight:1000;padding:.5em .65em;
  font-size:clamp(12px,1.15vw,18px);white-space:nowrap;
}
.blue-index-head { display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(16px,3vw,29px) }
.blue-index-head img { width:clamp(66px,13vw,165px);height:clamp(46px,12vh,110px) }
.blue-subject-index .blue-subject-grid { grid-auto-rows:clamp(180px,29vh,310px);margin:12px 0 18px }
.blue-feature-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px }
.blue-feature-grid button { background:#e5effd;border:1px solid var(--blue-line);text-align:left }
.blue-learning-options,.blue-life-grid { display:grid;gap:12px;margin:12px 0 18px;min-width:0 }
.blue-learning-options { grid-template-columns:repeat(4,minmax(0,1fr)) }
.blue-learning-options button,.blue-life-grid>section,.blue-life-grid>form {
  min-width:0;padding:clamp(10px,1.5vw,22px);border:1px solid var(--blue-line);border-radius:17px;color:var(--blue-ink);background:#e6effe;
}
.blue-learning-options button {
  display:grid;justify-items:center;gap:10px;align-items:center;cursor:pointer;font:900 clamp(15px,1.8vw,27px) var(--blue-font);
}
.blue-learning-options button:nth-child(2) { background:#e4f1ec }
.blue-learning-options button:nth-child(3) { background:#f9e8f0 }
.blue-learning-options button .blue-arrow { display:none }
.blue-learning-options img { width:100%;height:clamp(58px,14vw,155px) }
.blue-life-grid { grid-template-columns:1fr 1fr }
.blue-life-grid .blue-life-story { background:#fff7f2 }
.blue-life-story img { width:100%;height:auto;border-radius:13px;margin-bottom:8px }
.blue-life-question { display:grid;gap:12px;align-content:start }
.blue-life-question label { display:flex;align-items:center;gap:8px;padding:12px;border-radius:12px;background:#f5fbff;cursor:pointer }
.blue-life-question .blue-primary { justify-self:start }
.blue-life-feedback:empty { display:none }
.blue-subtle { min-height:38px;cursor:pointer;color:var(--blue-button-dark);background:#e7f0ff;border:1px solid #adcafa;border-radius:10px;padding:6px 10px;font:900 14px var(--blue-font) }
.blue-journey-summary { grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px }
.blue-journey-summary>div { display:flex;align-items:center;gap:10px;background:#fbe7f0;border-radius:14px;padding:8px;font-weight:900 }
.blue-journey-summary>div+div { background:#e0f2e8 }
.blue-journey-summary img { width:clamp(40px,9vw,78px);height:clamp(38px,8vw,65px);object-fit:contain }
.blue-journey-summary b { display:block;font-size:clamp(18px,3vw,32px) }
.blue-journey-row { display:grid;grid-template-columns:36px minmax(74px,auto) minmax(34px,1fr) auto;align-items:center;gap:7px;margin:7px 0 }
.blue-journey-row img { width:33px;height:32px;object-fit:contain }
.blue-journey-row progress { width:100%;height:12px;accent-color:#1761f4 }
.sb-blue-student #notif-wrap { position:fixed;inset:12px var(--blue-gutter) auto auto!important;z-index:12500 }
.sb-blue-student #notif-bell-btn { display:none }

html body.sb-blue-student #app-generic-panel { inset:0!important;padding:clamp(14px,2.3vh,28px) var(--blue-gutter)!important }
.sb-blue-student #app-generic-panel :is(.app-panel-inner,.sb-page) { max-width:none!important;width:100%;min-width:0 }
.sb-blue-student #app-generic-panel :is(.sb-page,.app-panel-inner) { color:var(--blue-ink) }
.sb-blue-student #app-generic-panel .sb-page { padding-right:clamp(3px,1vw,16px) }
.sb-blue-student #app-generic-panel :is(h1,.sb-page-title,.c2-title) {
  font-family:var(--blue-font)!important;color:var(--blue-ink)!important;font-weight:1000!important;
}
.sb-blue-student #app-generic-panel.c2-sub .app-panel-inner { gap:14px }
.sb-blue-student #app-generic-panel.c2-sub .sb-page-head { min-height:56px;margin:0 }
.sb-blue-student #app-generic-panel.c2-sub .sb-head-ic { width:52px;height:52px }
.sb-blue-student :is(.c2-back,.c2-link,.prof-band .prof-grade,.prof-plan-now,.set-theme,.set-select,.prof-plans-sub) {
  color:var(--blue-button-dark)!important;
}
.sb-blue-student :is(.prof-card,.prof-plans-card,.set-card,.c2-faq) {
  background:var(--blue-panel);border-color:var(--blue-line);
}
.sb-blue-student #app-generic-panel.c2-only-acct .prof-grid { grid-template-columns:minmax(0,680px)!important }
.sb-blue-student .prof-band {
  display:grid;grid-template-columns:auto minmax(0,1fr) clamp(64px,18vw,136px);
  gap:clamp(8px,2vw,18px);padding:10px 12px;background:var(--blue-banner);min-height:0;
}
.sb-blue-student .prof-avatar {
  width:clamp(46px,10vw,74px);height:clamp(46px,10vw,74px);font-size:clamp(24px,6vw,34px);
  background:var(--blue-action);box-shadow:0 4px 14px #1444a930;
}
.sb-blue-student .prof-name { overflow-wrap:anywhere }
.sb-blue-student .prof-band-art {
  position:static;display:block;width:100%;height:clamp(64px,18vw,116px);max-width:none;mask-image:none;
}
.sb-blue-student :is(.prof-row,.set-row) { border-color:var(--blue-line) }
.sb-blue-student #app-generic-panel.c2-only-acct .prof-actions { display:flex }
.sb-blue-student .prof-btn.is-pass { border-color:#b2cdf8;background:var(--blue-wash);color:var(--blue-button-dark) }
.sb-blue-student .prof-plans-ic { background:var(--blue-soft);box-shadow:none;padding:7px }
.sb-blue-student .prof-plans-art { mask-image:none }
.sb-blue-student .prof-plan.tone-standard { border-color:#81aaf5;background:var(--blue-wash) }
.sb-blue-student :is(.prof-plan-hot,.prof-plan-btn:not(.is-free),.sb-switch[data-on="1"]) { background:var(--blue-action)!important;box-shadow:none }
.sb-blue-student .prof-plan.tone-standard .prof-plan-price b,
.sb-blue-student .prof-plan.tone-standard .prof-plan-list li::before { color:var(--blue-button-dark) }
.sb-blue-student .prof-plan-btn.is-free { background:var(--blue-soft)!important;color:var(--blue-button-dark)!important }
.sb-blue-student .set-theme-dot { width:16px;height:16px;background:var(--blue-button);box-shadow:0 0 0 4px var(--blue-soft) }
.sb-blue-student .set-select { border-color:var(--blue-line);appearance:auto;background:var(--blue-panel);padding-right:12px }
.sb-blue-student .c2-me-page .c2-row-ic { color:var(--blue-button-dark);background:var(--blue-soft) }
.blue-reset {
  position:relative;overflow:auto;max-height:100%;width:min(100%,420px);padding:20px 22px 26px;
  border:1px solid var(--blue-line);border-radius:22px;background:var(--blue-panel);
  color:var(--blue-ink);box-shadow:0 18px 60px #132e6445;text-align:center;
}
.blue-reset h2 { font:1000 1.45rem var(--blue-font);margin:0 }
.blue-reset .blue-primary { width:100% }
.blue-reset .auth-input { border-color:var(--blue-line);color:var(--blue-ink) }
.blue-reset-close {
  position:absolute;top:10px;right:10px;width:36px;height:36px;
  border:0;border-radius:50%;background:var(--blue-soft);color:var(--blue-ink);cursor:pointer;
}
body:is(.sb-blue-student,.sb-blue-portal) :is(.auth-input,.set-select,.blue-reset button,.prof-btn,.c2-back):focus-visible {
  outline:2px solid var(--blue-button);outline-offset:2px;
}
.sb-blue-student :is(.c2-card,.c2-les,.c2-row,.sg-les,.sg-chap,.sg-v2-prev,.mg-card,.sbl-card,.tk-card,.as-card,.ct3-card,.lg3-card,.gr-card) {
  background:var(--blue-panel)!important;border-color:var(--blue-line)!important;color:var(--blue-ink);
}
.sb-blue-student :is(.c2-me,.c2-banner,.ct3-hero,.lg3-hero,.lb-scene,.sg-v2-hero,.tk-hero) {
  background:linear-gradient(115deg,#d9eafb,#bbd7f9)!important;border-color:#ccdff9!important;color:var(--blue-ink)!important;
}
.sb-blue-student :is(.c2-wide,.sbl-btn,.lg-btn,.sg-v2-go,.sb-btn-primary,.ct3-start,.adv-start,.tk-start) {
  background:var(--blue-button)!important;border-color:var(--blue-button)!important;color:white!important;box-shadow:none!important;
}
.sb-blue-student :is(.c2-tabs,.c2-seg,.sg-v2-tabs) { background:#dceafd!important;border-color:var(--blue-line)!important }
.sb-blue-student :is(.c2-tabs,.c2-seg,.sg-v2-tabs) [aria-selected="true"] { color:#fff!important;background:var(--blue-button)!important;box-shadow:none!important }
html body.sb-blue-student #panel-buddy .chat-panel-wrap {
  background:var(--blue-bg)!important;padding-bottom:0!important;min-height:0;
}
.sb-blue-student #panel-buddy :is(.c2-chat-head,.input-area) { background:#e3eefe!important;border-color:var(--blue-line)!important }
.sb-blue-student #panel-buddy .c2-chat-head { padding-right:58px }
.sb-blue-student #panel-buddy #send-btn { background:var(--blue-button)!important;color:white!important }
.sb-blue-student #panel-buddy .msg-row.ai .bubble { background:#e0edfe!important;color:var(--blue-ink);border-color:var(--blue-line)!important }
.sb-blue-student #panel-buddy .msg-row.user .bubble { background:#d1e5fe!important;color:var(--blue-ink)!important }
.sb-blue-student #panel-buddy .c2-chat-ic { background:#d7e9ff!important }
.sb-blue-student #panel-buddy .c2-chat-ic img { object-fit:contain }
.sb-blue-student.sb-c2 #panel-buddy.c2-fresh #learn-bar {
  display:flex!important;background:#e0edff;border:1px solid var(--blue-line);margin:8px 14px 0;border-radius:14px;
}
.sb-blue-student #panel-buddy #learn-bar :is(.learn-chip,.learn-ctx-btn,.new-chat-btn) {
  display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--blue-line);
  background:var(--blue-panel)!important;color:var(--blue-button-dark)!important;
}
.sb-blue-student #panel-buddy #learn-bar :is(.learn-chip[aria-pressed="true"],.new-chat-btn) {
  color:#fff!important;background:var(--blue-button)!important;border-color:var(--blue-button);box-shadow:none!important;
}
.sb-blue-student .c2-card-h .sb-control-icon { width:30px;height:30px }
.sb-blue-student .c2-day.on i { background:var(--blue-button);box-shadow:0 3px 0 var(--blue-button-dark) }
.sb-blue-student .c2-day.today small { color:var(--blue-button-dark) }
.sb-blue-student .gr-back { display:inline-flex;align-items:center;gap:5px;align-self:flex-start }
.sb-blue-student .gr-error { display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap }
.sb-blue-student .gr-page .sb-page-head { display:flex!important;min-height:56px }
body:is(.sb-blue-student,.sb-blue-portal) .gr-wrap :is(.sbl-btn.ghost,.pv-link) {
  border-color:var(--blue-line);color:var(--blue-button-dark)!important;
}
body:is(.sb-blue-student,.sb-blue-portal) .gr-wrap .sbl-btn.ghost { background:var(--blue-wash)!important }
body:is(.sb-blue-student,.sb-blue-portal) .gr-wrap :is(.lb-go,.sbl-btn:not(.ghost)) {
  background:var(--blue-button)!important;color:#fff;box-shadow:none;
}
body:is(.sb-blue-student,.sb-blue-portal) .gr-wrap :is(.gr-intro,.gr-mem.me,.lb-code input) { border-color:var(--blue-line);background:var(--blue-wash) }
.sb-blue-student .gr-wrap :is(.lb-st.on,.lb-tag.m) { color:var(--blue-button-dark);background:var(--blue-soft) }
.sb-blue-student .lb-scene .lb-board-art { left:30%;right:auto;bottom:29%;height:58%;width:38%;object-fit:contain }
.sb-blue-student.sb-c2 #panel-buddy #welcome-screen.c2-welcome {
  display:block;min-height:0;min-width:0;width:100%;max-width:none;margin:0;padding:clamp(10px,2vw,28px) 4%;text-align:left;
}
.blue-chat-start { display:flex;gap:clamp(6px,1.4vw,21px);align-items:center;min-width:0 }
.blue-chat-start img { width:clamp(74px,15vw,165px);height:auto;object-fit:contain }
.blue-chat-start h2 {
  margin:0;min-width:0;font:1000 clamp(17px,2vw,28px)/1.15 var(--blue-font);
  border-radius:16px;background:#d2e7fc;padding:.65em .85em;color:var(--blue-ink);
}
.blue-chat-options { display:flex;gap:8px;margin-top:14px;flex-wrap:wrap }
.blue-chat-options button {
  flex:0 1 auto;display:flex;align-items:center;gap:6px;min-height:42px;padding:3px 10px;
  color:var(--blue-ink);background:#edf4ff;border:1px solid #c0d8fa;border-radius:11px;font:900 14px var(--blue-font);cursor:pointer;
}
.blue-chat-options img { width:33px;height:32px;object-fit:contain }
.sb-blue-student #panel-buddy .c2-cam,
.sb-blue-student #panel-buddy #voice-btn {
  background:#e2efff url('/images/buddy-blue/camera.png') center/34px no-repeat!important;
  border:1px solid var(--blue-line)!important;color:transparent!important;font-size:0!important;
}
.sb-blue-student #panel-buddy #voice-btn { background-image:url('/images/buddy-blue/mic.png')!important }
.sb-blue-student #panel-buddy :is(.c2-cam,#voice-btn):has(>img.sb-control-icon) { background-image:none!important }
.sb-blue-student #panel-buddy :is(.c2-cam,#voice-btn) svg { visibility:hidden }
.sb-blue-student #panel-buddy #welcome-screen h2 { color:var(--blue-ink)!important }
.sb-blue-student #panel-buddy #user-input::placeholder { color:#596b91;opacity:1 }
.sb-blue-student #panel-share_corner .sp3-hero {
  background:linear-gradient(125deg,#fceef5,#f9dae9)!important;color:var(--blue-ink)!important;
}
body:is(.sb-blue-student,.sb-blue-portal) :is(.sbv-overlay,.sbv-card) {
  --teal:var(--blue-button);--teal-d:var(--blue-button-dark);--bg:var(--blue-bg);
}
body:is(.sb-blue-student,.sb-blue-portal) .sbv-card { background:var(--blue-bg);color:var(--blue-ink) }
.sb-blue-student .sbv-orb { width:clamp(125px,26vw,190px);height:clamp(125px,22vh,190px) }
.sb-blue-student .sbv-orb img { width:100%;height:100%;background:transparent;box-shadow:none }
body:is(.sb-blue-student,.sb-blue-portal) .tk-page {
  --tk-ink:var(--blue-ink);--tk-sub:var(--blue-muted);--tk-line:var(--blue-line);--tk-paper:var(--blue-panel);
  --tk-teal:var(--blue-button);--tk-teal-d:var(--blue-button-dark);
}
.sb-blue-student :is(.tk-tabs,.tk-seg) { background:#dceaff;border-color:var(--blue-line) }
.sb-blue-student :is(.tk-tabs [aria-selected="true"],.tk-seg [aria-pressed="true"],.sim-seg [aria-pressed="true"],.sim-btn:not(.ghost)) {
  background:var(--blue-button);color:white;box-shadow:none;border-color:var(--blue-button);
}
.sb-blue-student :is(.tk-mode,.sim-card,.sim-stage) { border-color:var(--blue-line);background:#e3efff;color:var(--blue-ink) }
.sb-blue-student .tk-mode[aria-pressed="true"] { background:#c7defe;outline:2px solid #6ca4f8 }
.sb-blue-student .tk-tabs .sb-blue-art { width:24px;height:24px;vertical-align:middle }
.sb-blue-student .tk-mode .sb-blue-art { width:104px;height:64px }
.sb-blue-student .tk-mode:has(.sb-blue-art) .tk-mode-ic { width:auto;height:auto }
.sb-blue-student .tk-mode[data-mode="memory"] { background:#e9e0fb }
.sb-blue-student .tk-mode[data-mode="tug"] { background:#d9f0df }
.sb-blue-student .tk-mode[data-mode="race"] { background:#fff0c8 }
.sb-blue-student .tk-mode[data-mode="wheel"] { background:#fbe1ee }
.sb-blue-student .lg3:has(.lg3-langs) .lg3-langs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px }
.sb-blue-student .lg3-langs [data-lang] { min-width:0;min-height:105px;background:#e2effe!important;border:1px solid var(--blue-line)!important;border-radius:16px }
.sb-blue-student .lg3-langs [aria-checked="true"] { outline:2px solid #1961e9 }
.sb-blue-student .lg3-langs .sb-blue-art { width:76px;height:52px;vertical-align:middle }
.sb-blue-student .lg3-go { background:var(--blue-button)!important;box-shadow:none!important }
body:is(.sb-blue-student,.sb-blue-portal) .lg3-hero h2 { color:var(--blue-ink) }
.sb-blue-student .sim-slider input,.sb-blue-student .sim-toggle input { accent-color:var(--blue-button) }
.sb-blue-student :is(.learn-profile-main,.buddy-mem,.sb-empty,.gr-card,.as-card,.ad-card,.sg-card) { border-color:var(--blue-line) }
.sb-blue-student :is(.math-hero,.hist-hero,.gr-hero,.pp-hero) { background:var(--blue-banner)!important;color:var(--blue-ink) }
.sb-blue-student :is(.learn-ctx-btn,.hist-back,.c2-chat-new,.share-info-btn,.sp3-back button,.sp3-note header button) {
  border-color:var(--blue-line);background:var(--blue-wash);color:var(--blue-button-dark)!important;
}
.sb-blue-student :is(.bm-input,.c2-faq) { border-color:var(--blue-line);background:var(--blue-wash);color:var(--blue-ink) }
.sb-blue-student :is(.learn-ctx-btn:hover,.hist-back:hover) { background:var(--blue-soft) }
.sb-blue-student :is(.c2-chip,.c2-les-play,.c2-round,.c2-more-les,.c2-card-h>b) { color:var(--blue-button-dark) }
.sb-blue-student :is(.c2-chip,.c2-les-play,.c2-round) { background:var(--blue-soft) }
.sb-blue-student :is(.c2-faq summary,.sp3-back,.sp3-links button) { color:var(--blue-button-dark) }
.sb-blue-student #panel-share_corner .share-input-row .send-btn {
  background:var(--blue-action)!important;box-shadow:none!important;
}
body:is(.sb-blue-student,.sb-blue-portal) .tk-welcome { background:#e1edff url('/images/buddy-blue/desktop-buddy.png') right bottom/auto 92% no-repeat }
body:is(.sb-blue-student,.sb-blue-portal) .tk-wel { background:#fbfcfff2;color:var(--blue-ink) }
body:is(.sb-blue-student,.sb-blue-portal) .tk-wel-clock { color:var(--blue-button-dark) }
body:is(.sb-blue-student,.sb-blue-portal) .tk-src { min-inline-size:0;border-color:var(--blue-line) }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box { background:var(--blue-panel);color:var(--blue-ink) }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box :is(h2,.sbc-total,.sbc-row b,.sbc-pick) { color:var(--blue-ink) }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box :is(a,.sbc-links button,.sbc-copy,.sbc-total span:last-child) { color:var(--blue-button-dark) }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box :is(.sbc-card,.sbc-status,.sbc-x,.sbc-seg button.on,.sbc-pick:hover,.sbc-pick:focus-visible) {
  background:var(--blue-wash);border-color:var(--blue-line);color:var(--blue-ink);
}
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box .sbc-btn:not(.ghost) { background:var(--blue-action);box-shadow:none }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box .sbc-btn.ghost { background:var(--blue-soft);color:var(--blue-button-dark) }
body:is(.sb-blue-student,.sb-blue-portal) .sbc-box input { accent-color:var(--blue-button) }

@media(max-width:760px) {
  html body.sb-blue-student .layout { inset:var(--blue-mobile-head) 0 var(--blue-mobile-nav)!important }
  .blue-rail,.blue-hero,.blue-home-title span:first-child { display:none }
  .blue-mobile-head,.blue-mobile-nav {
    position:fixed;right:0;left:0;z-index:100;display:flex;background:var(--blue-bg);
  }
  .blue-mobile-head {
    top:0;height:var(--blue-mobile-head);padding:env(safe-area-inset-top) 12px 0;
    align-items:center;justify-content:space-between;
  }
  .blue-mobile-head .blue-brand { font-size:clamp(17px,5vw,23px) }
  .blue-mobile-head .blue-brand img { width:46px;height:46px }
  .blue-mobile-head>button:last-child { height:42px;width:42px;justify-content:center;background:#e1edff;border-radius:50% }
  .blue-mobile-head>button:last-child img { width:28px;height:28px }
  .blue-mobile-nav {
    bottom:0;height:var(--blue-mobile-nav);padding:5px 8px calc(5px + env(safe-area-inset-bottom));
    border-top:1px solid var(--blue-line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;
  }
  .blue-mobile-nav button { flex-direction:column;justify-content:center;gap:0;font-size:clamp(10px,3.1vw,14px);line-height:1.1;min-width:0 }
  .blue-mobile-nav img { width:36px;height:35px }
  .blue-explore { top:calc(var(--blue-mobile-head) + 7px);right:9px }
  html body.sb-blue-student #intro-welcome-screen.blue-home {
    padding:clamp(10px,2vh,18px) 10px 14px!important;gap:clamp(7px,1.25vh,13px);
    grid-template-rows:auto minmax(104px,1.04fr) minmax(180px,2.3fr) minmax(57px,.57fr);
  }
  .blue-home-title { font-size:clamp(19px,5.5vw,26px);padding-left:3px }
  .blue-home-title span:last-child { display:inline }
  .blue-resume {
    position:relative;display:flex;align-items:center;isolation:isolate;border-radius:14px;overflow:hidden;
    background:#cde3fb;
  }
  .blue-resume-copy { width:60%;padding:6px 0 6px 5%;min-width:0 }
  .blue-resume h2 { font-size:clamp(23px,6vw,30px) }
  .blue-resume p { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(12px,3.65vw,17px);font-weight:800;margin:.25em 0 .55em }
  .blue-resume .blue-primary { min-height:35px;border-radius:10px;font-size:clamp(13px,4vw,17px);padding:.2em 1.5em }
  .blue-resume img { position:absolute;right:0;bottom:0;height:100%;width:53%;object-fit:fill;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 12%) }
  .blue-subjects { gap:7px }
  .blue-subjects h2 { font-size:clamp(19px,5.7vw,26px) }
  .blue-subject-grid { grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:7px }
  .blue-subject {
    grid-template-rows:minmax(0,1fr);grid-template-columns:clamp(57px,25%,100px) minmax(0,1fr) 22px;
    background:var(--tone);border-color:color-mix(in srgb,var(--tone) 85%,#a2bae4);border-radius:13px;
  }
  .blue-subject-art { grid-column:1;grid-row:1;width:100%;height:100%;max-height:75px;border-right:1px solid #a9c9f3 }
  .blue-subject-label {
    grid-column:2;grid-row:1;display:grid;gap:.45em;padding:.2em .55em;background:transparent;font-size:clamp(14px,5vw,21px);overflow-wrap:anywhere;
  }
  .blue-subject>.blue-arrow { grid-column:3;grid-row:1;margin-right:0;font-size:24px;background:transparent }
  .blue-subject-meter { display:flex;font-size:.61em }
  .blue-journey { grid-template-columns:clamp(42px,20%,80px) minmax(0,1fr) auto;gap:7px;padding:4px 6px;border-radius:12px }
  .blue-journey-copy { font-size:clamp(11px,3.6vw,17px) }
  .blue-journey-link { font-size:clamp(9px,2.8vw,13px);padding:4px;white-space:normal }
  .blue-journey img { max-height:65px }
  .blue-subject-index .blue-subject-grid { grid-auto-rows:76px }
  .blue-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .blue-feature-grid button { padding:5px;gap:5px;font-size:.83rem }
  .blue-learning-options,.blue-life-grid { grid-template-columns:minmax(0,1fr) }
  .blue-learning-options button { grid-template-columns:64px 1fr auto;justify-items:start;text-align:left;padding:6px 12px }
  .blue-learning-options button .blue-primary { display:none }
  .blue-learning-options button .blue-arrow { display:inline }
  .blue-learning-options img { width:59px;height:59px }
  .sb-blue-student.sb-c2 #panel-buddy.c2-fresh #learn-bar { margin:5px 8px 0 }
  .sb-blue-student #panel-buddy #learn-bar .learn-chip { padding:4px 6px;font-size:11px;min-height:31px }
  .sb-blue-student #panel-buddy #learn-bar .sb-control-icon { width:18px;height:18px }
  .sb-blue-student #panel-buddy #learn-bar .learn-ctx { font-size:11px }
  .blue-chat-options button { flex:1;justify-content:center }
  .sb-blue-student .tk-modes { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .sb-blue-student .tk-mode .sb-blue-art { max-width:100%;height:50px }
  body:is(.sb-blue-student,.sb-blue-portal) .tk-page :is(.tk-wrap,.tk-card,.tk-grid2,.tk-row,label,select,input) {
    min-width:0;max-width:100%;
  }
  body:is(.sb-blue-student,.sb-blue-portal) .tk-page .tk-row label { flex-wrap:wrap }
  body:is(.sb-blue-student,.sb-blue-portal) .tk-page .tk-row label.grow { flex-basis:100% }
  .sb-blue-student .lg3:has(.lg3-langs) .lg3-langs { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .sb-blue-student .c2-jr .c2-seg { display:flex }
  .sb-blue-student .c2-jr .c2-seg button { flex:1;min-width:0;font-size:13px }
  .sb-blue-student .prof-card { padding:10px }
  .sb-blue-student .prof-band { padding:6px }
  .sb-blue-student .prof-grade { white-space:normal }
  .sb-blue-student #app-generic-panel :is(.sb-page,.app-panel-inner) { min-width:0;overflow-wrap:anywhere }
}
@media(prefers-reduced-motion:reduce) {
  .sb-blue-student #app-generic-panel,.sb-blue-student #app-generic-panel>* { animation:none!important }
}
