/* Scoped R1 theme around the existing Portal's authorization view.
   Provider identity, login controls, requests and authentication logic are untouched. */
.lr-school-auth{background:var(--bg,#e8eef5);color:var(--ink,#293548);font-family:'Microsoft YaHei','PingFang SC',sans-serif}.lr-school-auth .acme-shell{min-height:100vh;background:var(--bg,#e8eef5)}.lr-school-auth .acme-topbar{background:transparent;border-bottom:1px solid var(--line,#d3deea)}.lr-school-auth .acme-brand{color:var(--ink,#293548)}.lr-school-auth .acme-global-course,.lr-school-auth .acme-account{color:var(--accent,#647c97)}.lr-school-auth .acme-main{max-width:880px;margin:auto;background:transparent}.lr-school-auth .campus{max-width:760px;padding-top:35px;color:var(--ink,#293548)}.lr-school-auth .campus>.section-head,.lr-school-auth #campus-page-intro,.lr-school-auth #campus-courses,.lr-school-auth #campus-lectures,.lr-school-auth #campus-jobs,.lr-school-auth #campus-focus-action,.lr-school-auth #campus-report-shortcut{display:none!important}.lr-school-auth .school-option{padding:30px 32px;border:1px solid var(--line,#d3deea);border-radius:18px;background:var(--p,#f5f9ff);box-shadow:var(--shadow)}.lr-school-auth .school-option h2{font-size:22px;color:var(--ink,#293548);margin-bottom:12px}.lr-school-auth .school-option .small{color:var(--muted,#74869b);line-height:1.6}.lr-school-auth .school-option .btn:not(.ghost){background:var(--accent,#647c97);color:var(--accentText,#fff);border-color:var(--accent,#647c97);box-shadow:none;border-radius:10px;padding:10px 17px}.lr-school-auth .school-option .btn.ghost{border-radius:10px}.lr-school-auth .school-qr-frame{margin-top:14px;border-color:var(--line,#d3deea);background:var(--bg,#e8eef5)}.lr-school-auth .school-auth-message{color:var(--muted,#74869b)}.lr-school-auth .campus-connection-bar{border-bottom:0}.lr-school-auth .campus-login-actions{justify-content:flex-start}.lr-school-auth .campus-connection-bar #campus-manage{display:none!important}@media(max-width:640px){.lr-school-auth .school-option{padding:22px 18px}.lr-school-auth .campus{padding-top:18px}}

/* R8: authorized-page navigation must work without the protected legacy acme.css.
   Geometry and typography follow the current /lr/study.html appbar, not a new shell.
   This stylesheet is already served for anonymous authorization; no route or auth changes. */
.lr-school-auth{
  --lr-nav-top:#edf5fc;--lr-nav-line:#d1e0ec;--lr-nav-brand:#142b41;
  --lr-nav-ink:#2b4055;--lr-nav-muted:#688094;--lr-nav-accent:#4a7393;
  --lr-nav-panel:#f2f7fc;--lr-nav-account:#436987;
  --lr-nav-raise:4px 6px 12px rgba(111,144,177,.22),-4px -4px 10px #fff;
}
body.lr-school-auth .acme-topbar{
  height:65px;min-height:65px;box-sizing:border-box;position:relative;z-index:10;
  margin:0;padding:0;
  background:var(--lr-nav-top);
  border:0;border-bottom:1px solid var(--lr-nav-line);
  box-shadow:0 4px 20px rgba(57,88,116,.045);
}
body.lr-school-auth .acme-top-inner{
  width:min(calc(100% - 100px),1400px);max-width:1400px;height:100%;box-sizing:border-box;
  margin:0 auto;padding:0;display:flex;align-items:center;gap:42px;
  font-family:'Microsoft YaHei','Microsoft YaHei UI','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif;
}
body.lr-school-auth a.acme-brand{
  display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;
  color:var(--lr-nav-brand);font-size:16px;font-weight:700;
  line-height:1.45;letter-spacing:-.4px;text-decoration:none;white-space:nowrap;
}
body.lr-school-auth .acme-brand .lr-brand-logo{
  margin:0;display:block;width:26px;height:26px;flex:0 0 26px;object-fit:contain;
}
body.lr-school-auth a.acme-global-course{
  display:inline-flex;align-items:center;align-self:stretch;flex:0 0 auto;
  padding:0 6px;min-width:0;height:100%;line-height:1.45;white-space:nowrap;
  font-size:13px;font-weight:600;
  color:var(--lr-nav-ink)!important;text-decoration:none;
  transition:color .16s;
}
body.lr-school-auth a.acme-global-course:hover{color:var(--lr-nav-accent)!important;text-decoration:none}
body.lr-school-auth .acme-top-spacer{display:block;flex:1 1 auto;min-width:0;margin:0}
body.lr-school-auth a.acme-account{
  display:grid;place-items:center;flex:0 0 33px;
  width:33px;height:33px;border-radius:50%;border:0;
  background:var(--lr-nav-panel);color:var(--lr-nav-account);box-shadow:var(--lr-nav-raise);
  font-size:12px;font-weight:600;text-decoration:none;
}
body.lr-school-auth .acme-top-inner a:focus-visible{outline:2px solid var(--lr-nav-accent);outline-offset:3px;border-radius:5px}
@media(max-width:1180px){body.lr-school-auth .acme-top-inner{width:calc(100% - 68px)}}
@media(max-width:950px){body.lr-school-auth .acme-top-inner{width:calc(100% - 38px)}}
@media(max-width:700px){body.lr-school-auth .acme-top-inner{gap:12px}}
@media(max-width:640px){
  body.lr-school-auth .acme-topbar{height:58px;min-height:58px}
  body.lr-school-auth .acme-top-inner{width:calc(100% - 30px)}
}
@media(max-width:600px){
  body.lr-school-auth .acme-brand .lr-brand-logo{width:24px;height:24px;flex-basis:24px}
}
@media(max-width:430px){
  body.lr-school-auth .acme-top-inner{width:calc(100% - 22px)}
  body.lr-school-auth a.acme-brand{gap:6px}
  body.lr-school-auth a.acme-global-course{padding:0 3px}
  body.lr-school-auth a.acme-account{width:30px;height:30px;flex-basis:30px}
}
@media(prefers-reduced-motion:reduce){body.lr-school-auth a.acme-global-course{transition:none}}

/* Exact navigation palette from the current learn.css. */
html[data-theme="white"] body.lr-school-auth{--lr-nav-top:#fff;--lr-nav-line:#dce6ef;--lr-nav-brand:#162b3d;--lr-nav-ink:#2c3d50;--lr-nav-muted:#667d90;--lr-nav-accent:#496f8c;--lr-nav-panel:#ffffff;--lr-nav-account:#375f7c;--lr-nav-raise:3px 5px 12px rgba(94,127,155,.15),-3px -3px 8px rgba(255,255,255,.86);}
html[data-theme="silver"] body.lr-school-auth{--lr-nav-top:#edf5fc;--lr-nav-line:#d1e0ec;--lr-nav-brand:#142b41;--lr-nav-ink:#2b4055;--lr-nav-muted:#688094;--lr-nav-accent:#4a7393;--lr-nav-panel:#f2f7fc;--lr-nav-account:#436987;--lr-nav-raise:4px 6px 12px rgba(111,144,177,.22),-4px -4px 10px #fff;}
html[data-theme="porcelain"] body.lr-school-auth{--lr-nav-top:#fffdf9;--lr-nav-line:#e8dfd2;--lr-nav-brand:#242a30;--lr-nav-ink:#393c42;--lr-nav-muted:#83776c;--lr-nav-accent:#816b5b;--lr-nav-panel:#fffefa;--lr-nav-account:#745f50;--lr-nav-raise:3px 5px 10px rgba(146,122,104,.17),-3px -3px 9px #fff;}
html[data-theme="aqua"] body.lr-school-auth{--lr-nav-top:#f2faf9;--lr-nav-line:#d2e2e2;--lr-nav-brand:#153237;--lr-nav-ink:#263c3e;--lr-nav-muted:#637e81;--lr-nav-accent:#41767b;--lr-nav-panel:#fcfefe;--lr-nav-account:#386a70;--lr-nav-raise:4px 5px 11px rgba(100,145,149,.18),-4px -4px 10px #fff;}

/* The four names are the choices. The existing provider button remains the
   whole-row, keyboard-accessible hit target and keeps its original handler. */
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school])){
  width:min(520px,100%);margin:clamp(32px,7vh,88px) auto 0;gap:0;
  border:0;border-radius:0;
  background:transparent;box-shadow:none;overflow:visible;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option{
  position:relative;display:flex;align-items:center;min-height:70px;
  margin:0;padding:15px 21px;border:0;border-radius:0;
  background:transparent;box-shadow:none;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option:not(:last-child){
  border-bottom:1px solid var(--line,#d3deea);
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option h2{
  margin:0;font-size:17px;line-height:1.4;font-weight:650;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option .school-description{
  display:none;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option::after{
  content:"›";margin-left:auto;color:var(--muted,#74869b);
  font-size:23px;line-height:1;pointer-events:none;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option>[data-school-start]{
  position:absolute;inset:0;z-index:1;width:100%;height:100%;
  margin:0;padding:0;opacity:0;cursor:pointer;
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option:hover{
  background:var(--accent-light,rgba(91,122,151,.08));
}
.lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option:focus-within{
  outline:2px solid var(--accent,#647c97);outline-offset:-2px;
}
@media(max-width:640px){
  .lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school])){
    width:100%;margin-top:26px;border-radius:16px;
  }
  .lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option{
    min-height:64px;padding:13px 17px;
  }
}
@media(prefers-reduced-motion:no-preference){
  .lr-school-auth .school-options:is([data-selected-school=""],:not([data-selected-school]))>.school-option{
    transition:background-color .15s ease;
  }
}
