/* Login v2: scoped presentation; authentication stays in the existing app. */
.login-view {
  --login-ink: #24372f;
  --login-muted: #748079;
  --login-accent: #2e6b50;
  position: fixed; inset: 0; z-index: 60; overflow: auto;
  display: grid; place-items: center; padding: 40px 24px;
  background: radial-gradient(ellipse at 18% 18%, #e2e9e0 0, transparent 50%),
    radial-gradient(ellipse at 90% 85%, #e9ece6 0, transparent 50%), #f1f3ef;
  color: var(--login-ink);
}
.login-shell {
  width: min(100%, 1060px); display: grid; grid-template-columns: 1.12fr 1fr;
  border: 1px solid #fff; border-radius: 22px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 80px #283e2a10, 0 2px 8px #283e2a04;
}
.login-story {
  min-width: 0; min-height: 620px; padding: 34px 40px 27px;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 100% 100%, #344d38, transparent 65%), #1d382d;
  color: #f4f5eb;
}
.login-story::before {
  content: ''; position: absolute; z-index: -1; width: 500px; height: 500px;
  border: 1px solid #d9e6b408; border-radius: 50%; left: 215px; top: -200px;
  box-shadow: 0 0 0 65px #e4e8c702, 0 0 0 130px #e4e8c702;
}
.login-wordmark { display: flex; gap: 11px; align-items: center; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.login-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #cbd5b632; border-radius: 10px; background: #cbd5b60c; font-size: 21px; font-weight: 500; }
.login-wordmark small { display: block; margin-top: 3px; color: #afc1af; font-size: 10px; font-weight: 400; letter-spacing: .16em; }
.login-story-copy { margin-top: 36px; }
.login-eyebrow { display: flex; gap: 7px; align-items: center; font-size: 10px; letter-spacing: .16em; color: #c2cea9; }
.login-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: #c2cea9; }
.login-story h1 { margin-top: 12px; font-size: 39px; line-height: 1.42; font-weight: 500; letter-spacing: .055em; }
.login-story-copy p { margin-top: 13px; color: #afc0ad; font-size: 11px; line-height: 1.9; letter-spacing: .015em; }
.login-archive { position: relative; width: 100%; max-width: 390px; margin: 28px auto 30px; padding: 10px 4px 0; }
.archive-layer { position: absolute; inset: 0 18px 15px; border: 1px solid #b7c6a92e; border-radius: 10px; background: #36503a; }
.layer-back { transform: rotate(-5deg) translate(-9px, -1px); opacity: .4; }
.layer-mid { transform: rotate(3deg) translate(4px, -2px); opacity: .65; }
.archive-cover { position: relative; padding: 12px; border: 1px solid #b9c7a541; border-radius: 11px; background: #2b4434; box-shadow: 0 16px 32px #10251c40; }
.archive-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: #c3d0b3; font-size: 10px; letter-spacing: .08em; }
.archive-top>span { display: flex; align-items: center; gap: 7px; }
.archive-top i { width: 5px; height: 6px; border: 1px solid #bac8a4; border-radius: 1px; box-shadow: 2px -2px 0 -1px #2b4434, 2px -2px 0 0 #bac8a4; }
.archive-top svg { width: 12px; height: 12px; fill: none; stroke: #9db292; stroke-width: 1.5; }
.archive-scene { position: relative; height: 133px; overflow: hidden; border-radius: 5px; background: #203b2c; }
.archive-room { display: block; width: 100%; height: 100%; }
.archive-scene-frame { position: absolute; inset: 10px; border: 1px solid #d3ddb912; border-radius: 2px; }
.archive-play { position: absolute; inset: 0; margin: auto; width: 35px; height: 35px; border: 1px solid #e1e8d23b; border-radius: 50%; background: #dfe7cf14; backdrop-filter: blur(3px); display: grid; place-items: center; }
.archive-play svg { width: 14px; height: 14px; fill: #e2e9d2; margin-left: 2px; }
.archive-scene-tag { position: absolute; left: 16px; bottom: 13px; font: 7px ui-monospace, monospace; letter-spacing: .2em; color: #b6c6a1; }
.archive-bottom { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px 10px; }
.archive-bottom b { font-size: 10px; font-weight: 500; letter-spacing: .05em; color: #e0e6cd; }
.archive-bottom small { display: block; font-size: 8px; color: #9eb196; margin-top: 3px; }
.archive-bars { display: flex; gap: 3px; align-items: center; height: 14px; }
.archive-bars i { width: 3px; height: 8px; border-radius: 1px; background: #c0cba5; }
.archive-bars i:nth-child(2) { height: 13px; }.archive-bars i:nth-child(3) { height: 5px; }
.archive-timeline { position: relative; display: flex; gap: 3px; height: 4px; }
.archive-timeline i { flex: 1; border-radius: 2px; background: #6d897044; }
.archive-timeline i:nth-child(1) { background: #b4c39caa; }.archive-timeline i:nth-child(2) { background: #b4c39c55; }
.archive-timeline b { position: absolute; height: 8px; width: 1px; left: 38%; top: -2px; background: #e4e8cf; }
.login-story-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; color: #a9bca2; font-size: 9px; }
.login-story-foot>span:first-child { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.login-story-foot>span>i { font-style: normal; color: #718b70; }
.login-story-foot .brand-strip { margin: 0; gap: 4px; }.login-story-foot .brand-strip i { width: 13px; height: 3px; }
.login-form-panel { display: flex; align-items: center; min-width: 0; padding: 48px 52px; background: #fffefa; }
.login-card { width: 100%; padding: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; gap: 20px; }
.login-heading { margin-bottom: 10px; }.login-kicker { color: #677f60; font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.login-heading h2 { margin: 9px 0 8px; font-size: 27px; line-height: 1.4; font-weight: 600; letter-spacing: .02em; }
.login-heading p { color: var(--login-muted); font-size: 11px; line-height: 1.8; }
.login-field { min-width: 0; gap: 8px; }.login-field>span,.login-field>label { font-size: 11px; font-weight: 500; color: #4c5c50; }
.login-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.login-input-wrap>svg { position: absolute; left: 14px; width: 16px; height: 16px; fill: none; stroke: #8a978c; stroke-width: 1.5; pointer-events: none; }
.login-field .login-input-wrap input { width: 100%; min-width: 0; height: 47px; padding: 0 43px 0 40px; border: 1px solid #dde2d9; border-radius: 8px; background: #fffefa; color: #263b2d; font-size: 14px; line-height: normal; font-weight: 400; transition: border-color .15s, box-shadow .15s, background .15s; }
.login-field input::placeholder { font-size: 11px; color: #a1aaa0; }.login-field input:focus { outline: none; border-color: #69855b; background: #fff; box-shadow: 0 0 0 3px #69855b0d; }
.login-input-wrap:focus-within>svg { stroke: #64805a; }.login-field input[aria-invalid=true] { border-color: #ca7667; }
.login-toggle { position: absolute; right: 4px; top: 4px; width: 39px; height: 39px; display: grid; place-items: center; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: #8a978c; }
.login-toggle:hover { background: #ecf0e7; color: #527044; }.login-toggle:focus-visible { outline: 2px solid #69855b; outline-offset: -3px; }
.login-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }.login-eye-slash { display: none; }.login-toggle[aria-pressed=true] .login-eye-slash { display: block; }
.login-feedback { display: flex; flex-direction: column; gap: 6px; margin: -7px 0; }.login-feedback:has(.login-caps[hidden]):has(.login-error[hidden]) { display: none; }
.login-caps { color: #9a6b2a; font-size: 11px; line-height: 1.6; }.login-error { color: #aa4438; background: #fff2ec; border: 1px solid #f1d9ce; border-radius: 7px; padding: 9px 11px; font-size: 11px; line-height: 1.7; }
.login-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; height: 47px; margin-top: 4px; padding: 0 40px; border-color: #2c523a; border-radius: 8px; background: #2c523a; color: #f5f6ec; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-indent: 0; transition: background .15s, box-shadow .15s; }
.login-btn::after { content: '→'; position: absolute; right: 18px; font: 18px/1 sans-serif; color: #c6d1b9; transition: transform .15s; }
.login-btn:hover { background: #23452f; box-shadow: 0 4px 12px #23452f15; }.login-btn:hover::after { transform: translateX(2px); }.login-btn:focus-visible { outline: 3px solid #a4b594; outline-offset: 3px; }
.login-btn:disabled { opacity: .7; cursor: wait; }.login-btn[aria-busy=true]::after { content: none; }.login-btn[aria-busy=true]::before { content: ''; width: 12px; height: 12px; border: 1.5px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
.login-help { margin-top: -5px; color: #7c897b; font-size: 11px; line-height: 1.8; }
.login-help summary { width: fit-content; margin: 0 auto; display: flex; align-items: center; gap: 3px; cursor: pointer; list-style: none; border-radius: 3px; }.login-help summary::-webkit-details-marker { display: none; }
.login-help summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }.login-help[open] summary svg { transform: rotate(180deg); }
.login-help summary:hover { color: #3a643e; }.login-help summary:focus-visible { outline: 2px solid #839c70; outline-offset: 3px; }
.login-help>div { margin-top: 10px; padding: 10px 12px; background: #f1f4ec; border: 1px solid #e6ebdf; border-radius: 7px; font-size: 10px; color: #74816f; }.login-help p+p { margin-top: 4px; }
.login-form-foot { margin-top: 9px; padding-top: 20px; border-top: 1px solid #ebeee4; display: flex; align-items: center; justify-content: center; gap: 6px; color: #8e9a88; font-size: 10px; }
.login-form-foot svg { width: 13px; height: 13px; fill: none; stroke: #879c7a; stroke-width: 1.4; }.login-mobile-brand { display: none; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (min-width: 1450px) { .login-shell { max-width: 1080px; }.login-story { padding: 36px 44px 29px; }.login-form-panel { padding: 50px 58px; } }
@media (max-width: 900px) { .login-shell { grid-template-columns: 1fr 1fr; }.login-story { padding: 30px 28px 25px; min-height: 585px; }.login-story h1 { font-size: 34px; }.login-form-panel { padding: 38px 30px; }.login-story-foot>span:first-child { gap: 7px; font-size: 8px; }.login-story-foot .brand-strip i { width: 9px; } }
@media (max-width: 680px) {
  .login-view { display: flex; align-items: safe center; justify-content: center; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); }
  .login-shell { display: block; max-width: 400px; border-radius: 17px; }.login-story { display: none; }.login-form-panel { display: block; padding: 27px 25px; }
  .login-mobile-brand { display: flex; align-items: center; gap: 9px; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid #ebeee4; color: #53664c; font-size: 12px; font-weight: 500; }
  .login-mobile-brand .login-mark { width: 30px; height: 30px; background: #2c523a; color: #eef1e5; border: 0; border-radius: 8px; font-size: 18px; }.login-card { gap: 20px; }.login-heading { margin-bottom: 6px; }.login-heading h2 { font-size: 26px; }.login-heading p { font-size: 11px; }
  .login-field .login-input-wrap input { height: 48px; font-size: 16px; }.login-btn { height: 48px; }.login-toggle { height: 40px; }.login-form-foot { margin-top: 5px; padding-top: 17px; }
}
@media (max-width: 360px) { .login-form-panel { padding: 24px 20px; }.login-heading p { font-size: 10px; } }
@media (max-height: 740px) and (min-width: 681px) { .login-view { padding-top: 22px; padding-bottom: 22px; }.login-story { min-height: 550px; padding-top: 28px; padding-bottom: 23px; }.login-story-copy { margin-top: 26px; }.login-story h1 { font-size: 35px; }.login-archive { margin-top: 19px; margin-bottom: 23px; }.archive-scene { height: 111px; }.login-form-panel { padding-top: 32px; padding-bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { .login-view *, .login-view *::before, .login-view *::after { animation: none !important; transition: none !important; } }

/* Desktop only: full-window split, following the supplied reference. */
.login-site-brand { display: none; }
@media (min-width: 901px) {
  .login-view { display: block; padding: 0; background: #f1f5f1; }
  .login-shell { width: 100%; max-width: none; min-height: 100svh; grid-template-columns: 58% 42%; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .login-site-brand { position: absolute; z-index: 2; left: 42px; top: 32px; display: flex; align-items: center; gap: 11px; color: #264631; font-size: 17px; font-weight: 600; letter-spacing: .025em; }
  .login-site-brand .login-mark { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #2c523a; color: #f0f4e8; font-size: 21px; }
  .login-form-panel { order: -1; min-height: 100svh; justify-content: center; padding: 116px 54px 80px; position: relative; background: radial-gradient(ellipse at 15% 15%, #e8f0e7 0, transparent 65%), linear-gradient(155deg, #f3f7f2, #f8faf7); }
  .login-form-panel:before { content: ''; position: absolute; right: 3%; top: 19%; width: 210px; height: 210px; border: 1px solid #b7cbb322; border-radius: 20px; transform: rotate(25deg); box-shadow: 0 0 0 48px #c4d2ba08; pointer-events: none; }
  .login-card { position: relative; z-index: 1; width: min(100%, 420px); flex: 0 0 auto; background: #fffefa; padding: 36px 36px 27px; border: 1px solid #e6ece2; border-radius: 13px; box-shadow: 0 12px 40px #29422b07, 0 2px 6px #29422b03; gap: 20px; }
  .login-heading { margin-bottom: 10px; }.login-heading h2 { font-size: 27px; }.login-heading p { font-size: 11px; }
  .login-form-foot { margin-top: 6px; padding-top: 18px; }
  .login-story { min-height: 100svh; padding: 100px clamp(36px, 4.2vw, 76px) 92px; justify-content: center; background: radial-gradient(ellipse at 85% 80%, #344d38 0, transparent 65%), #1d382d; }
  .login-story .login-wordmark { display: none; }
  .login-story-copy { width: 100%; max-width: 420px; margin: 0 auto; }
  .login-story h1 { font-size: clamp(36px, 3vw, 48px); line-height: 1.4; margin-top: 16px; }
  .login-eyebrow { font-size: 11px; }
  .login-story-copy p { font-size: 12px; line-height: 1.95; margin-top: 19px; }
  .login-archive { max-width: 420px; margin: 37px auto 0; }
  .archive-scene { height: clamp(132px, 12vw, 190px); }
  .archive-top { font-size: 10px; }.archive-bottom b { font-size: 11px; }.archive-bottom small { font-size: 9px; }
  .login-story-foot { position: absolute; left: clamp(36px, 4.2vw, 76px); right: clamp(36px, 4.2vw, 76px); bottom: 35px; margin: 0; padding: 0; }
  .login-mobile-brand { display: none; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .login-form-panel { padding-top: 95px; padding-bottom: 44px; }
  .login-story { padding-top: 78px; padding-bottom: 76px; }
  .login-story h1 { font-size: 36px; }.login-archive { margin-top: 25px; }.archive-scene { height: 132px; }
}

/* Brand revision from the supplied escape-room posters. Desktop focus. */
.brand-system-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #bdf14a; color: #182117; }
.brand-system-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.brand-system-icon svg path:last-child { fill: currentColor; stroke: none; }
.login-site-brand>span:last-child>small { display: block; font-size: 10px; font-weight: 400; color: #828a78; letter-spacing: .13em; margin-top: 3px; }
.brand-story { background: #111b15; color: #fafbf5; }
.brand-story-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand-series { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #e2e9d7; letter-spacing: .035em; }
.brand-series i { width: 5px; height: 5px; border-radius: 50%; background: #bdf14a; }
.brand-edition { font: 8px/1.5 ui-monospace, monospace; color: #73816e; letter-spacing: .13em; }
.brand-story .login-story-copy { position: relative; z-index: 1; }
.brand-story .login-story-copy h1 em { font-style: normal; color: #c1f14b; }
.brand-hero { min-width: 0; min-height: 0; position: relative; }
.brand-hero img { display: block; width: 100%; height: 100%; max-height: 450px; object-fit: contain; }
.brand-family { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; font-size: 11px; color: #dbe1d4; }
.brand-family>span { display: flex; align-items: center; gap: 6px; }
.brand-family i { width: 4px; height: 13px; border-radius: 2px; }
.family-green { background: #bdf14a; }.family-orange { background: #e6a84c; }.family-yellow { background: #ffd34d; }
@media (min-width: 901px) {
  .login-view { --login-ink: #232b21; --login-muted: #7f8779; --login-accent: #506b30; background: #f8f9f3; }
  .login-shell { grid-template-columns: 55% 45%; }
  .login-site-brand { top: 30px; left: 40px; color: #252d21; font-size: 16px; }
  .login-form-panel { background: radial-gradient(ellipse at 0 0, #eff5e5, transparent 58%), #fafbf6; padding: 116px 60px 76px; }
  .login-form-panel::before { border-color: #c8d5b322; box-shadow: 0 0 0 48px #c8d5b307; }
  .login-card { width: min(100%, 426px); padding: 36px 36px 28px; border-radius: 14px; background: #fff; border-color: #e8ecdf; box-shadow: 0 10px 36px #283e1c06; }
  .login-kicker { color: #74835c; font-size: 11px; }
  .login-heading h2 { margin-top: 8px; font-size: 28px; color: #242d20; }
  .login-heading p { font-size: 11px; color: #848c7e; }
  .login-field>span,.login-field>label { color: #525d49; }
  .login-field .login-input-wrap input { height: 48px; background: #fcfdf9; border-color: #e0e6d7; color: #26321e; }
  .login-field input:focus { background: #fff; border-color: #9dbb68; box-shadow: 0 0 0 3px #bdf14a18; }
  .login-input-wrap:focus-within>svg { stroke: #739341; }
  .login-toggle:hover { color: #50712a; background: #f0f6e4; }
  .login-btn { height: 48px; margin-top: 5px; background: #bbed48; border-color: #bbed48; color: #243015; font-weight: 600; }
  .login-btn::after { color: #4c622d; }.login-btn:hover { background: #afe137; box-shadow: 0 4px 15px #9cb94520; }
  .login-btn:focus-visible { outline-color: #89ad43; }.login-btn[aria-busy=true]::before { border-color: #65813150; border-top-color: #405d1c; }
  .login-help summary { color: #7e8873; }.login-help summary:hover { color: #506b30; }.login-help>div { background: #f5f8ed; border-color: #e8eedc; }
  .login-form-foot { border-color: #edf0e6; color: #959d8c; }.login-form-foot svg { stroke: #95a781; }
  .login-story.brand-story { min-height: 100svh; padding: 38px clamp(32px, 3.6vw, 64px) 28px; display: grid; grid-template-rows: auto auto minmax(190px, 1fr) auto auto; gap: 21px; justify-content: initial; background: #111b15; }
  .brand-story::before { left: auto; right: -250px; top: 0; border-color: #b9ec4106; box-shadow: 0 0 0 70px #b9ec4102; }
  .brand-story .login-story-copy { width: 100%; max-width: none; margin: 22px 0 0; }
  .brand-story .login-eyebrow { color: #7c8e6a; font-size: 10px; letter-spacing: .15em; }
  .brand-story .login-story-copy h1 { color: #fafbf5; font-size: clamp(33px, 3vw, 45px); letter-spacing: .025em; line-height: 1.34; font-weight: 600; margin: 13px 0 0; }
  .brand-story .login-story-copy p { color: #9aa58f; font-size: 11px; line-height: 1.8; margin-top: 14px; }
  .brand-hero { margin: -2px -25px -5px; align-self: stretch; display: grid; align-items: center; }
  .brand-hero img { min-height: 0; max-height: 430px; }
  .brand-family { padding: 17px 0 21px; border-bottom: 1px solid #ffffff0a; }
  .brand-story .login-story-foot { position: static; margin: 0; padding: 0; color: #6e7d64; font-size: 9px; }
  .brand-story .login-story-foot>span:first-child { gap: 10px; }.brand-story .brand-strip { opacity: .6; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .login-form-panel { padding-top: 98px; padding-bottom: 42px; }.login-card { padding: 28px 32px 23px; gap: 17px; }
  .login-story.brand-story { padding-top: 26px; padding-bottom: 22px; gap: 15px; grid-template-rows: auto auto minmax(160px, 1fr) auto auto; }
  .brand-story .login-story-copy { margin-top: 6px; }.brand-story .login-story-copy h1 { font-size: 35px; }.brand-story .login-story-copy p { margin-top: 11px; }
  .brand-family { padding-top: 10px; padding-bottom: 15px; }.brand-hero img { max-height: 285px; }
}
@media (min-width: 901px) { .login-story.brand-story { height: 100svh; min-height: 680px; } }
@media (min-width: 901px) and (max-height: 760px) { .login-story.brand-story { min-height: 620px; } }

/* User correction: one sunny canvas, no dark/light split. Desktop only. */
@media (min-width: 901px) {
  .login-view { background: radial-gradient(ellipse at 92% 78%, #f5f7d4 0, transparent 48%), radial-gradient(ellipse at 3% 5%, #f2f7e9 0, transparent 45%), #fffef4; }
  .login-shell { background: transparent; }
  .login-site-brand { color: #35442b; }
  .brand-system-icon { background: #e3efb3; color: #506637; }
  .login-site-brand>span:last-child>small { color: #9a9f88; }
  .login-form-panel { background: transparent; }
  .login-form-panel::before { display: none; }
  .login-card { background: #ffffffbd; border: 1px solid #e9eddc; box-shadow: 0 12px 46px #78894706; }
  .login-kicker { color: #8b9e60; }
  .login-heading h2 { color: #35432b; }
  .login-heading p { color: #929981; }
  .login-field .login-input-wrap input { background: #fffffc; border-color: #e5eadb; }
  .login-field input:focus { border-color: #a5bf6b; box-shadow: 0 0 0 3px #b8d87616; }
  .login-btn { background: #cae991; border-color: #cae991; color: #40572a; }
  .login-btn:hover { background: #bddf7d; box-shadow: 0 4px 14px #a5bc6c18; }
  .login-btn::after { color: #6d8845; }
  .login-help>div { background: #f7faef; border-color: #edf1e3; }
  .login-story.brand-story { background: transparent; }
  .brand-story::before { display: none; }
  .brand-series { color: #8c9879; }
  .brand-series i { background: #abc965; }
  .brand-edition { color: #b4bca6; }
  .brand-story .login-eyebrow { color: #a0ae87; }
  .brand-story .login-story-copy h1 { color: #52663b; font-weight: 600; }
  .brand-story .login-story-copy h1 em { color: #8aa94f; }
  .brand-story .login-story-copy p { color: #95a080; }
  .brand-hero { margin-top: -9px; }
  .brand-hero img { mix-blend-mode: multiply; }
  .brand-family { border-color: #c5d3aa38; color: #85936b; }
  .family-green { background: #b0d071; }.family-orange { background: #e9bf70; }.family-yellow { background: #e4cf72; }
  .brand-story .login-story-foot { color: #a2ad90; }
  .brand-story .login-story-foot>span>i { color: #bbc5a7; }
  .brand-story .brand-strip { opacity: .38; }
}
@media (min-width: 901px) {
  .login-heading p { color: #7a836c; font-size: 12px; }
  .login-field>span,.login-field>label { font-size: 12px; }
  .brand-series,.brand-edition { color: #6d795b; }
  .brand-story .login-eyebrow { color: #6d795b; }
  .brand-story .login-story-copy h1 em { color: #799344; }
  .brand-story .login-story-copy p { color: #6d795b; font-size: 13px; }
  .brand-family { color: #6d795b; font-size: 12px; }
  .brand-story .login-story-foot { color: #7a8666; }
}
@media (min-width: 901px) {
  .login-heading p,.login-help summary,.login-form-foot,.login-site-brand>span:last-child>small { color: #6d795b; }
}

/* Alpha cutout: use the page canvas, without tinting white characters. */
@media (min-width: 901px) {
  .brand-hero { background: transparent; }
  .brand-hero img { mix-blend-mode: normal; background: transparent; border: 0; box-shadow: none; }
}

/* Four content rows after removing the redundant top labels. */
@media (min-width: 901px) {
  .login-story.brand-story { padding-top: 96px; grid-template-rows: auto minmax(190px, 1fr) auto auto; }
  .brand-story .login-story-copy { margin-top: 0; }
  .brand-story .login-story-copy h1 { margin-top: 0; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .login-story.brand-story { padding-top: 70px; grid-template-rows: auto minmax(160px, 1fr) auto auto; }
}

/* Desktop correction: illustration on the left, login on the right.
   Restore pre-v8 sizing; only swap the two areas. */
@media (min-width: 901px) {
  .login-shell { grid-template-columns: 45% 55%; }
  .login-form-panel { order: 0; }
}
