/* The same daylight palette follows the class from sign-in through its workplaces. */
:root {
  --studio-bg: #f2f6fc;
  --studio-surface: #fff;
  --studio-ink: #40434c;
  --studio-muted: #626c7b;
  --studio-accent: #396cb2;
  --studio-line: #d8e1ee;
  --studio-wash: #e6effc;
  --studio-apricot: #f4c5a4;
  --bg: var(--studio-bg);
  --ink: var(--studio-ink);
  --line: var(--studio-line);
  --v7-navy: var(--studio-ink);
}
body.v7-shell { background: var(--studio-bg); color: var(--studio-ink) }
body.v7-shell .sidebar {
  background: #edf3fc; color: var(--studio-ink); border-right: 1px solid var(--studio-line);
}
.v7-shell .sidebar .brand { color: var(--studio-ink); border-color: var(--studio-line) }
.v7-shell .sidebar .brand strong, .v7-shell .sidebar .profile strong { color: var(--studio-ink) }
.v7-shell .sidebar .brand small, .v7-shell .sidebar .profile small, .v7-shell .sidebar .nav-label { color: var(--studio-muted) }
.v7-shell .sidebar .brand-mark { background: var(--studio-apricot); color: #564b48 }
.v7-shell .sidebar .nav button { color: #535e70 }
.v7-shell .sidebar .nav button:hover { background: #e3ebf7; color: #374e72 }
.v7-shell .sidebar .nav button.active { background: #d8e6fa; color: #315d96; box-shadow: none }
.v7-shell .sidebar .nav button.active:after { background: var(--studio-accent) }
.v7-shell .sidebar .nav-sep,.v7-shell .sidebar .profile { border-color: var(--studio-line) }
.v7-shell .sidebar .nav-sep { background: var(--studio-line) }
.v7-shell .sidebar .avatar { background: #d9e6f7; color: #41669a }
.v7-shell .topbar { background: #fff; border-color: var(--studio-line) }
.v7-shell .breadcrumb strong, .v7-shell main h1 { color: var(--studio-ink) }
.v7-shell .footer-note { color: var(--studio-muted); opacity: 1 }
.v7-shell button:focus-visible,.v7-shell a:focus-visible,.v7-shell input:focus-visible,.v7-shell summary:focus-visible { outline: 3px solid #5c8bc7; outline-offset: 3px }
.v7-shell :is(.btn-primary,.world-primary,.world-course-start,.pl-btn.pl-primary,.mp-primary,.jy-primary,.vn-primary,.ip-primary) {
  background: var(--studio-accent); border-color: var(--studio-accent); color: white;
}
.v7-shell :is(.hero,.ws-home,.rl-home-card,.report-hero,.result-hero,.cl-welcome,.ec-header) {
  background: #e4eefb; color: var(--studio-ink); border-color: var(--studio-line);
}
.v7-shell :is(.hero,.ws-home,.rl-home-card,.report-hero,.result-hero,.cl-welcome,.ec-header) :is(h1,h2,h3,p,small,.eyebrow,.hero-footer span) { color: inherit }
.v7-shell .ec-header .ec-kicker { color: #43658d }
.v7-shell .ec-header .cl-button-secondary { background: #fff; color: #315d96; border-color: #a7bedc }
.v7-shell .ec-header .cl-button-secondary:hover { background: #f0f5fd; color: #244c7e; border-color: #829fc5 }
.v7-shell :is(.jy-case,.jy-road button.active,.wp-pages button.active,.world-location-tabs button.active,.vn-periods .current,.ip-periods .current) { background: #dce9fb; color: #365f93; border-color: #adc5e4 }
.v7-shell .jy-case :is(h2,h3,p,small) { color: inherit }
.v7-shell .studio-login {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); min-height: 100svh;
  border: 0; border-radius: 0; background: white; color: var(--studio-ink); overflow: visible;
}
.studio-scene { position: relative; isolation: isolate; overflow: hidden; background: #e9f2fa; min-height: 100%; }
.studio-illustration { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -1 }
.studio-identity { padding: clamp(1.5rem,3.4vw,3.5rem); position: relative; width: fit-content }
.studio-wordmark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 720; font-size: 1.15rem; color: #414752; text-decoration: none; letter-spacing: .015em }
.studio-wordmark span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .57rem; font: 700 1.35rem/1 system-ui; background: var(--studio-apricot); color: #4d4545 }
.v7-shell .studio-identity h1 { margin: clamp(1rem,3.2vh,2.6rem) 0 0; font-size: clamp(2rem,3.3vw,3.65rem); font-weight: 730; line-height: 1.14; letter-spacing: -.035em; color: #394659; text-shadow: 0 1px 12px #ffffffba }
.v7-shell.portal-mode .studio-login .studio-entry {
  display: flex; justify-content: center; align-items: center; background: #fbfcff; padding: clamp(2rem,5.2vw,6.8rem); min-width: 0;
}
.studio-login .studio-entry .pt-card { width: 100%; max-width: 27rem; margin: 0 auto; color: var(--studio-ink) }
.studio-login .pt-tabs { background: #eaf0f9; padding: 4px; margin: 0 0 clamp(1.55rem,4vh,3rem); border-radius: 12px }
.studio-login .pt-tabs button { font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 43px; color: #626e7c; border-radius: 9px }
.studio-login .pt-tabs button.active { background: #fff; color: #315f9b; box-shadow: 0 1px 6px #44638424 }
.studio-login .pt-card #pt-entry-heading { margin: 0; font-size: clamp(1.7rem,2.45vw,2.6rem); font-weight: 720; line-height: 1.36; letter-spacing: -.03em; color: var(--studio-ink) }
.studio-login .pt-description { color: var(--studio-muted); font-size: .96rem; line-height: 1.7; margin: .7rem 0 1.7rem }
.studio-login .pt-card label { color: var(--studio-ink); font-size: .925rem; margin-top: 1.05rem }
.studio-login .pt-card :is(input,textarea) { min-height: 46px; color: var(--studio-ink); background: #fff; border-color: #becad9; border-radius: 8px; font-size: 16px }
.studio-login .pt-card .pt-button.pt-primary { border-radius: 9px; min-height: 48px; font-size: 1rem; background: var(--studio-accent); color: white; border-color: var(--studio-accent); box-shadow: none }
.studio-login .pt-card .pt-primary:hover { background: #305f9e }
.studio-login .la-link { color: var(--studio-accent); text-decoration: none; font-size: .88rem }
.studio-login .la-link:hover { text-decoration: underline }
.studio-login .la-options { border-color: var(--studio-line) }
.studio-login :is(.la-legacy,.pt-note) { color: var(--studio-muted) }
@media (min-width:761px) and (max-height:740px) {
  .studio-identity { padding-top: 1.5rem }
  .studio-identity h1 br { display: none }
  .v7-shell .studio-identity h1 { font-size: clamp(1.7rem,2.65vw,2.75rem) }
}
@media (max-width:760px) {
  .v7-shell.portal-mode .studio-login { display: flex; flex-direction: column; min-height: 100svh }
  .studio-scene { min-height: 0; height: 155px; background: #eef4fa; border-bottom: 1px solid var(--studio-line) }
  .studio-illustration { left: auto; right: 0; width: 49%; object-position: 50% 49%; mask-image: linear-gradient(to right, transparent, #000 20%) }
  .studio-identity { padding: 15px max(20px,6vw); max-width: 60% }
  .studio-wordmark { font-size: 14px; gap: .4rem }
  .studio-wordmark span { width: 23px; height: 23px; border-radius: 6px; font-size: 17px }
  .v7-shell .studio-identity h1 { font-size: 25px; margin: 13px 0 0; line-height: 1.17 }
  .v7-shell.portal-mode .studio-login .studio-entry { flex: 1; padding: 22px max(20px,6vw) 26px; justify-content: start }
  .portal-mode .studio-login .studio-entry .pt-card { margin: 0 auto }
  .studio-login .pt-tabs { margin-bottom: 1.3rem }
  .studio-login .pt-description { margin-bottom: 1rem }
  .studio-login .la-legacy summary { padding: .6rem 0 }
}
