/* Version 12: login-only presentation. Portal layouts and shared theme stay untouched. */
body.brooke-auth-page.brooke-login-future {
  --plexus-cyan: #74ddff;
  --plexus-gold: #f1bb58;
  --login-gutter: clamp(22px, 5vw, 80px);
  min-height: 100vh;
  margin: 0;
  color: #edf6ff;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #071a30;
  background-image: radial-gradient(ellipse at 27% 45%, #113c5a 0, transparent 56%),
    radial-gradient(ellipse at 90% 10%, #14295c 0, transparent 45%),
    linear-gradient(130deg, #081c32, #050f20);
  isolation: isolate;
}
.brooke-login-future::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#77caff07 1px, transparent 1px),
    linear-gradient(90deg, #77caff07 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(transparent, #000 40%, transparent);
}
.brooke-login-future .brooke-login-network,
.brooke-login-future .brooke-login-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.brooke-login-future .brooke-login-trail { z-index: 5; }
.brooke-login-future .brooke-login-masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - var(--login-gutter) * 2);
  max-width: 1440px;
  min-height: 114px;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid #b3dfff20;
}
.brooke-login-future .brooke-login-brand { display: flex; align-items: center; gap: 18px; }
.brooke-login-future .brooke-auth-logo { display: block; width: 100px; height: auto; margin: 0; object-fit: contain; }
.brooke-login-future .brooke-login-brand__text { color: #f0f6ff; font-size: 12px; font-weight: 700; letter-spacing: 1.7px; }
.brooke-login-future .brooke-login-brand__text > span { display: block; margin-top: 6px; color: #adc3d7; font-size: 12px; font-weight: 400; letter-spacing: .4px; }
.brooke-login-future .brooke-login-controls { display: flex; align-items: center; gap: 12px; }
.brooke-login-future .brooke-theme-toggle--auth,
.brooke-login-future .brooke-login-motion {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  margin: 0;
  border: 1px solid #9acdf536;
  border-radius: 10px;
  color: #d5e7f6;
  background: #11263dcc;
  box-shadow: none;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.brooke-login-future .brooke-login-motion { padding: 0 12px; }
.brooke-login-future .brooke-login-motion[hidden] { display: none; }
.brooke-login-future .brooke-login-motion:disabled { cursor: default; opacity: .8; }
.brooke-login-future .brooke-login-motion svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.brooke-login-future .brooke-login-motion:hover:not(:disabled),
.brooke-login-future .brooke-theme-toggle--auth:hover { background: #1b3a57; border-color: #75c9ff88; color: #fff; }
.brooke-login-future button:focus-visible { outline: 3px solid #d5a444; outline-offset: 4px; }
.brooke-login-future .brooke-auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, .85fr);
  gap: clamp(38px, 5vw, 92px);
  align-items: center;
  max-width: 1440px;
  width: calc(100% - var(--login-gutter) * 2);
  min-height: calc(100vh - 114px);
  margin: 0 auto;
  padding: 52px 0;
}
.brooke-login-future .brooke-auth-story {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: none;
}
.brooke-login-future .brooke-auth-story::before,
.brooke-login-future .brooke-auth-story::after,
.brooke-login-future .brooke-auth-panel::before { display: none; }
.brooke-login-future .brooke-auth-story__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(.95) brightness(.82);
  mix-blend-mode: normal;
  mask-image: none;
  border: 1px solid #8bcaff40;
  border-radius: 18px;
  pointer-events: none;
}
.brooke-login-future .brooke-auth-story__content { position: relative; z-index: 1; max-width: none; }
.brooke-login-future .brooke-auth-story .brooke-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--plexus-gold);
  font-size: 10px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.brooke-login-future .brooke-login-signal { flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--plexus-gold); box-shadow: 0 0 12px #f1bb5866; }
.brooke-login-future .brooke-auth-story h1 {
  margin: 23px 0 22px;
  color: #f6faff;
  font-family: inherit;
  font-size: clamp(38px, 4.15vw, 66px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.05em;
}
.brooke-login-future .brooke-auth-story h1 > span { color: #91dbff; }
.brooke-login-future .brooke-auth-story .brooke-login-lead { max-width: 470px; margin: 0; color: #b9cddd; font-size: 15px; line-height: 1.85; }
.brooke-login-future .brooke-plexus-map { position: relative; width: 100%; margin: 26px 0 16px; perspective: 1000px; }
.brooke-login-future .brooke-plexus-map::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; background: linear-gradient(180deg, #071a302e, #071a3008 50%, #071a3040); pointer-events: none; }
.brooke-login-future .brooke-plexus-map__depth {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 680 / 360;
  transform-style: preserve-3d;
  transform: rotateX(var(--plexus-tilt-x, 0deg)) rotateY(var(--plexus-tilt-y, 0deg));
  transition: transform .7s ease-out;
}
.brooke-login-future .brooke-plexus-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.brooke-login-future .brooke-plexus-link { stroke: #6ccaff44; stroke-width: 1; }
.brooke-login-future .brooke-plexus-flow { stroke: #79dcff; stroke-width: 1.1; stroke-dasharray: 18 190; opacity: .65; }
.brooke-login-future .brooke-plexus-junctions { fill: #a0deff; }
.brooke-login-future .brooke-plexus-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(25px); }
.brooke-login-future .brooke-plexus-core::before { content: ""; position: absolute; inset: -25%; border-radius: 50%; background: radial-gradient(circle, #44baff28, #44baff08 48%, transparent 68%); }
.brooke-login-future .brooke-plexus-globe { position: relative; width: 100%; height: 100%; stroke: #8bddff; stroke-width: .8; }
.brooke-login-future .brooke-plexus-globe__outer { stroke: #8bddff55; stroke-dasharray: 3 8; }
.brooke-login-future .brooke-plexus-globe__node { fill: #ffcb74; stroke: #ffcb74; }
.brooke-login-future .brooke-plexus-core__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateZ(12px); display: block; width: 62%; height: auto; object-fit: contain; border-radius: 7px; box-shadow: 0 6px 22px #00102488, 0 0 16px #83d7ff44; }
.brooke-login-future .brooke-plexus-orbit { position: absolute; inset: 1%; border: 1px solid #6fccff66; border-radius: 50%; transform: rotateX(62deg) rotateZ(-25deg) scale(1.2); }
.brooke-login-future .brooke-plexus-sectors { list-style: none; margin: 0; padding: 0; }
.brooke-login-future .brooke-plexus-sector {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 31%;
  min-height: 76px;
  padding: 14px 13px;
  border: 1px solid #8bcaff40;
  border-radius: 13px;
  background: linear-gradient(125deg, #183d56ed, #0a233ae8);
  box-shadow: 0 12px 30px #0002, inset 0 1px #c7eeff0f;
  transform: translateY(-50%) translateZ(35px);
}
.brooke-login-future .brooke-plexus-sector--technology { left: 0; top: 23.3%; }
.brooke-login-future .brooke-plexus-sector--energy { right: 0; top: 23.3%; animation-delay: -2s !important; }
.brooke-login-future .brooke-plexus-sector--construction { left: 0; top: 77.2%; animation-delay: -4s !important; }
.brooke-login-future .brooke-plexus-sector--green { right: 0; top: 77.2%; animation-delay: -6s !important; border-color: #7fdbc348; }
.brooke-login-future .brooke-plexus-sector > svg { flex: 0 0 29px; width: 29px; height: 29px; stroke: #88dfff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brooke-login-future .brooke-plexus-sector--energy > svg { stroke: #f6c775; }
.brooke-login-future .brooke-plexus-sector--green > svg { stroke: #9ce5cc; }
.brooke-login-future .brooke-plexus-sector > span { display: block; color: #f2f9ff; font-size: clamp(11px, 1vw, 15px); line-height: 1.3; font-weight: 600; white-space: nowrap; }
.brooke-login-future .brooke-plexus-sector--technology > span { min-width: 0; white-space: normal; }
.brooke-login-future .brooke-plexus-sector small { display: block; margin-bottom: 7px; color: #a5c6d8; font-size: 8px; font-weight: 500; letter-spacing: 1px; }
.brooke-login-future .brooke-login-story-footer { display: flex; align-items: center; gap: 14px; color: #9ab7cb; font-size: 11px; letter-spacing: .2px; line-height: 1.6; }
.brooke-login-future .brooke-login-rule { width: 34px; flex: 0 0 34px; height: 1px; background: var(--plexus-gold); }
.brooke-login-future .brooke-auth-panel { min-width: 0; min-height: 0; padding: 0; background: transparent; }
.brooke-login-future .brooke-auth-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: clamp(28px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid #ffffffdd;
  border-radius: 23px;
  color: #1e354b;
  background: #f8fbfff7;
  box-shadow: 0 28px 80px #0004, 0 0 70px #6399ff0a;
}
.brooke-login-future .brooke-auth-card::before { content: ""; position: absolute; inset: 0 28px auto; height: 3px; background: linear-gradient(90deg, transparent, #ce9c40 25%, #f1cf8b 70%, transparent); }
.brooke-login-future .brooke-auth-card > .brooke-eyebrow { color: #7c5c20; margin-bottom: 17px; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.brooke-login-future .brooke-auth-card h2 { margin: 0 0 12px; color: #142c45; font-size: 31px; font-weight: 650; line-height: 1.2; letter-spacing: -.8px; }
.brooke-login-future .brooke-auth-intro { margin-bottom: 30px; color: #54677a; font-size: 13px; line-height: 1.8; }
.brooke-login-future .brooke-auth-card .form-group { margin-bottom: 20px; }
.brooke-login-future .brooke-auth-card label { margin-bottom: 9px; color: #294157; font-size: 12px; font-weight: 600; }
.brooke-login-future .brooke-auth-input .form-control { height: 52px; border: 1px solid #c6d5e3; border-radius: 9px; background: #fff; color: #233b52; font-family: inherit; font-size: 12px; padding-left: 42px; }
.brooke-login-future .brooke-auth-input .form-control::placeholder { color: #63788a; opacity: 1; }
.brooke-login-future .brooke-auth-input .form-control:focus { border-color: #2264b1; box-shadow: 0 0 0 3px #2264b11c; }
.brooke-login-future .brooke-auth-input > i { color: #53758e; }
.brooke-login-future .brooke-password-toggle { color: #46657e; }
.brooke-login-future .brooke-auth-submit { min-height: 52px; margin-top: 5px; border: 1px solid #2465b2; border-radius: 9px; color: #fff; background: linear-gradient(110deg, #0c3d74, #205fa4); box-shadow: 0 7px 15px #1a4e7826; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.brooke-login-future .brooke-auth-submit:hover { color: #fff; background: #174f8e; box-shadow: 0 8px 22px #1a4e783b; }
.brooke-login-future .brooke-auth-help { margin: 22px 0 0; color: #536b7e; font-size: 11px; line-height: 1.7; }
.brooke-login-future .brooke-auth-footnote { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #dbe4ed; color: #586d81; font-size: 10px; line-height: 1.8; }
html[data-brooke-theme="dark"] body.brooke-auth-page.brooke-login-future { background-color: #050f20; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-panel { background: transparent; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-card { border-color: #7195b444; background: #0c2035fa; box-shadow: 0 28px 80px #0005, inset 0 1px #afd6ff0a; color: #e9f4ff; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-card > .brooke-eyebrow { color: #f1c771; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-card h2 { color: #f0f7ff; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-card label { color: #dcebf8; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-intro,
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-help { color: #afc5d8; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-footnote { color: #9fb8ce; border-color: #6e94b433; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-input .form-control { color: #f0f7ff; border-color: #4b6780; background: #0b1c2e; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-input .form-control::placeholder { color: #94aec5; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-input .form-control:focus { border-color: #70b7ff; box-shadow: 0 0 0 3px #70b7ff26; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-input > i,
html[data-brooke-theme="dark"] .brooke-login-future .brooke-password-toggle { color: #97bad7; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-auth-help > i { color: #8acbff; }
.brooke-login-future.brooke-login-animated .brooke-plexus-flow { animation: brookePlexusFlow 10s linear infinite; }
.brooke-login-future.brooke-login-animated .brooke-plexus-sector { animation: brookePlexusFloat 8s ease-in-out infinite; }
.brooke-login-future.brooke-login-animated .brooke-plexus-globe { animation: brookePlexusGlobe 18s ease-in-out infinite; }
.brooke-login-future.brooke-login-animated .brooke-plexus-orbit { animation: brookePlexusOrbit 24s linear infinite; }
@keyframes brookePlexusFlow { to { stroke-dashoffset: -416; } }
@keyframes brookePlexusFloat { 0%, 100% { transform: translateY(-50%) translateZ(35px); } 50% { transform: translateY(calc(-50% - 5px)) translateZ(43px); } }
@keyframes brookePlexusGlobe { 0%, 100% { transform: rotateY(-12deg) rotateX(8deg); } 50% { transform: rotateY(20deg) rotateX(-8deg); } }
@keyframes brookePlexusOrbit { from { transform: rotateX(62deg) rotateZ(-25deg) scale(1.2); } to { transform: rotateX(62deg) rotateZ(335deg) scale(1.2); } }
@media (max-width: 1199px) and (min-width: 961px) {
  .brooke-login-future .brooke-plexus-sector { gap: 7px; padding: 12px 8px; }
  .brooke-login-future .brooke-plexus-sector > svg { width: 23px; height: 23px; flex-basis: 23px; }
  .brooke-login-future .brooke-plexus-sector small { font-size: 7px; letter-spacing: .5px; }
}
@media (max-width: 960px) {
  .brooke-login-future .brooke-auth-shell { grid-template-columns: minmax(0, 1fr); gap: 64px; padding: 36px 0 48px; min-height: 0; }
  .brooke-login-future .brooke-auth-panel { grid-row: 1; }
  .brooke-login-future .brooke-auth-story { width: 100%; max-width: 640px; margin: 0 auto; }
  .brooke-login-future .brooke-auth-story h1 { font-size: clamp(35px, 7.2vw, 58px); }
  .brooke-login-future .brooke-auth-story .brooke-login-lead { font-size: 14px; }
  .brooke-login-future .brooke-plexus-sector > span { font-size: 13px; }
}
@media (max-width: 540px) {
  body.brooke-auth-page.brooke-login-future { --login-gutter: 20px; }
  .brooke-login-future .brooke-login-masthead { min-height: 86px; gap: 12px; padding: 17px 0; }
  .brooke-login-future .brooke-auth-logo { width: 78px; }
  .brooke-login-future .brooke-login-brand { gap: 10px; }
  .brooke-login-future .brooke-login-brand__text { display: none; }
  .brooke-login-future .brooke-login-controls { gap: 8px; }
  .brooke-login-future .brooke-login-motion { padding: 0 9px; font-size: 11px; }
  .brooke-login-future .brooke-auth-shell { padding-top: 25px; gap: 52px; }
  .brooke-login-future .brooke-auth-card { padding: 30px 25px; border-radius: 19px; }
  .brooke-login-future .brooke-auth-card h2 { font-size: 29px; }
  .brooke-login-future .brooke-auth-story .brooke-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .brooke-login-future .brooke-auth-story h1 { margin: 20px 0; font-size: clamp(29px, 8.7vw, 43px); }
  .brooke-login-future .brooke-plexus-map { margin: 20px 0; }
  .brooke-login-future .brooke-plexus-map__depth { aspect-ratio: 1.5; }
  .brooke-login-future .brooke-plexus-connectors { height: 100%; }
  .brooke-login-future .brooke-plexus-sector { min-height: 74px; width: 35%; padding: 9px; gap: 6px; flex-direction: column; align-items: flex-start; }
  .brooke-login-future .brooke-plexus-sector > svg { width: 21px; height: 21px; flex-basis: 21px; }
  .brooke-login-future .brooke-plexus-sector > span { font-size: 11px; }
  .brooke-login-future .brooke-plexus-sector small { font-size: 6px; margin-bottom: 4px; letter-spacing: .8px; }
  .brooke-login-future .brooke-plexus-core { width: 27%; }
  .brooke-login-future .brooke-plexus-core__logo { width: 76%; border-radius: 4px; }
  .brooke-login-future .brooke-login-story-footer { font-size: 10px; gap: 10px; }
}
@media (max-width: 360px) {
  body.brooke-auth-page.brooke-login-future { --login-gutter: 15px; }
  .brooke-login-future .brooke-auth-card { padding: 27px 20px; }
  .brooke-login-future .brooke-auth-input .form-control { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .brooke-login-future .brooke-plexus-map *,
  .brooke-login-future .brooke-auth-card *,
  .brooke-login-future .brooke-login-controls * { animation: none !important; transition: none !important; }
  .brooke-login-future .brooke-plexus-map__depth { transform: none; }
  .brooke-login-future .brooke-login-trail { display: none; }
}

/* Restore the earlier full-height, half-video login while retaining the plexus layers. */
.brooke-login-split .brooke-auth-shell {
  z-index: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.brooke-login-split .brooke-auth-story {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: clamp(30px, 4.3vw, 70px);
  overflow: hidden;
  background: #071a30;
}
.brooke-login-split .brooke-auth-story__video { border: 0; border-radius: 0; filter: saturate(.95) brightness(.88); }
.brooke-login-split .brooke-auth-story::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  transform: none;
  clip-path: none;
  background: linear-gradient(180deg, #071a301a 0%, #071a301f 30%, #071a309e 60%, #071a30f2 100%);
  pointer-events: none;
}
.brooke-login-split .brooke-plexus-map { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.brooke-login-split .brooke-plexus-map::before { display: none; }
.brooke-login-split .brooke-plexus-map__depth { width: 100%; height: 100%; aspect-ratio: auto; }
.brooke-login-split .brooke-login-network { z-index: 2; }
.brooke-login-split .brooke-auth-story__content { z-index: 3; width: 100%; max-width: 650px; }
.brooke-login-split .brooke-auth-story h1 { font-size: clamp(36px, 4.2vw, 66px); }
.brooke-login-split .brooke-auth-story .brooke-login-lead { color: #d5e4f0; }
.brooke-login-split .brooke-auth-sectors { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 24px; }
.brooke-login-split .brooke-auth-sectors > a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 12px; border: 1px solid #afdcff69; border-radius: 7px; background: #0b2947e8; color: #e8f5ff; font-size: 11px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: border-color .2s, background .2s; }
.brooke-login-split .brooke-auth-sectors > a::after { content: "+"; color: #f1c771; font-size: 15px; font-weight: 400; }
.brooke-login-split .brooke-auth-sectors > a:hover { border-color: #98d9ff; background: #183e60; }
.brooke-login-split .brooke-auth-sectors > a:focus-visible { outline: 3px solid #f1c771; outline-offset: 3px; }
.brooke-login-split .brooke-login-story-footer { color: #b2c9dc; }
.brooke-login-split .brooke-auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 104px clamp(30px, 4.3vw, 72px) 44px;
  background: #f5f9fd;
}
.brooke-login-split .brooke-login-controls { position: absolute; top: 28px; right: clamp(30px, 4.3vw, 72px); z-index: 4; }
.brooke-login-split .brooke-login-motion,
.brooke-login-split .brooke-theme-toggle--auth { background: #183955; }
.brooke-login-split .brooke-auth-card { z-index: 3; padding: 0; max-width: 390px; border: 0; border-radius: 0; box-shadow: none; background: #f5f9fd; overflow: visible; }
.brooke-login-split .brooke-auth-card::before { display: none; }
.brooke-login-split .brooke-auth-card .brooke-auth-logo { width: 142px; height: auto; margin: 0 0 25px; }
.brooke-login-split .brooke-auth-card h2 { font-size: 31px; }
.brooke-login-split .brooke-auth-intro { margin-bottom: 25px; }
html[data-brooke-theme="dark"] .brooke-login-split .brooke-auth-panel,
html[data-brooke-theme="dark"] .brooke-login-split .brooke-auth-card { background: #0c2035; box-shadow: none; }
@media (max-width: 960px) {
  .brooke-login-split .brooke-auth-shell { grid-template-columns: minmax(0, 1fr); }
  .brooke-login-split .brooke-auth-panel { grid-row: 1; min-height: 0; padding: 98px 32px 42px; }
  .brooke-login-split .brooke-login-controls { top: 24px; right: 32px; }
  .brooke-login-split .brooke-auth-story { min-height: 540px; padding: 44px 32px; }
  .brooke-login-split .brooke-auth-story__content { max-width: 650px; margin: 0 auto; }
  .brooke-login-split .brooke-auth-story h1 { font-size: clamp(35px, 6.5vw, 58px); }
}
@media (max-width: 540px) {
  .brooke-login-split .brooke-auth-panel { padding: 86px 26px 36px; }
  .brooke-login-split .brooke-login-controls { top: 20px; right: 26px; }
  .brooke-login-split .brooke-auth-card .brooke-auth-logo { width: 122px; margin-bottom: 23px; }
  .brooke-login-split .brooke-auth-story { min-height: 490px; padding: 36px 26px; }
  .brooke-login-split .brooke-auth-story h1 { font-size: clamp(29px, 8.4vw, 43px); }
  .brooke-login-split .brooke-auth-sectors { gap: 8px; margin: 24px 0 20px; }
  .brooke-login-split .brooke-auth-sectors > a { padding: 8px 10px; font-size: 10px; }
}

/* Transparent industry information, isolated from the portal's existing modals. */
.brooke-login-future.brooke-sector-open { overflow: hidden; }
.brooke-login-future .brooke-sector-dialog {
  --sector-ink: #173550;
  --sector-muted: #3e5970;
  --sector-accent: #79591d;
  --sector-rule: #30689930;
  position: fixed;
  inset: 0;
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(26px, 4vw, 42px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--sector-ink);
  background: linear-gradient(135deg, #f7fcffed, #e7f2f9e8);
  border: 1px solid #ffffffc9;
  border-top: 2px solid #d3ab62;
  border-radius: 20px;
  box-shadow: 0 28px 100px #00152b55, inset 0 1px #fff9;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  font-family: "Segoe UI", Arial, sans-serif;
  text-align: left;
}
.brooke-login-future .brooke-sector-dialog:not([open]) { display: none; }
.brooke-login-future .brooke-sector-dialog[open] { animation: brookeSectorReveal .25s ease-out both; }
.brooke-login-future .brooke-sector-dialog::backdrop { background: #06182e70; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.brooke-login-future .brooke-sector-close {
  position: absolute; top: 13px; right: 13px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--sector-rule);
  border-radius: 50%; background: #3068990c; color: var(--sector-ink); cursor: pointer;
  font: 28px/1 "Segoe UI", Arial, sans-serif;
}
.brooke-login-future .brooke-sector-close:hover { background: #30689920; }
.brooke-login-future .brooke-sector-eyebrow { display: block; padding-right: 36px; margin-bottom: 18px; color: var(--sector-accent); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.7; text-transform: uppercase; }
.brooke-login-future .brooke-sector-dialog h2 { margin: 0 0 18px; padding-right: 10px; color: var(--sector-ink); font-size: clamp(26px, 4vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.8px; }
.brooke-login-future .brooke-sector-dialog #brooke-sector-summary { margin: 0 0 22px; color: var(--sector-muted); font-size: 15px; line-height: 1.8; }
.brooke-login-future .brooke-sector-facts { margin: 0; padding: 20px 0 20px 18px; border-block: 1px solid var(--sector-rule); color: var(--sector-ink); }
.brooke-login-future .brooke-sector-facts li { padding-left: 5px; font-size: 13px; line-height: 1.85; }
.brooke-login-future .brooke-sector-facts li + li { margin-top: 12px; }
.brooke-login-future .brooke-sector-facts li::marker { color: var(--sector-accent); }
.brooke-login-future .brooke-sector-sources { display: flex; flex-wrap: wrap; column-gap: 18px; margin-top: 18px; }
.brooke-login-future .brooke-sector-sources a { display: inline-flex; align-items: center; min-height: 44px; color: #174e83; font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.brooke-login-future .brooke-sector-sources a:hover { color: #081f43; }
.brooke-login-future .brooke-sector-sources a:focus-visible { outline: 3px solid #b58128; outline-offset: 3px; border-radius: 2px; }
.brooke-login-future .brooke-sector-caption { margin: 12px 0 0; color: var(--sector-muted); font-size: 10px; line-height: 1.7; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-sector-dialog {
  --sector-ink: #edf6ff; --sector-muted: #c0d4e5; --sector-accent: #f1c771; --sector-rule: #a5d8ff30;
  background: linear-gradient(135deg, #102d47ed, #081c31ed);
  border-color: #95d5ff52; border-top-color: #d3ab62;
  box-shadow: 0 28px 100px #0008, inset 0 1px #abdfff12;
}
html[data-brooke-theme="dark"] .brooke-login-future .brooke-sector-sources a { color: #a2dcff; }
html[data-brooke-theme="dark"] .brooke-login-future .brooke-sector-sources a:hover { color: #fff; }
@keyframes brookeSectorReveal { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .brooke-login-future .brooke-sector-dialog[open],
  .brooke-login-future .brooke-auth-sectors > a { animation: none; transition: none; }
}
