/* Athena login: CBRO paper / forest / acid. Isolated from workspace styles. */
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --white: #fffdf7;
  --forest: #123b2e;
  --ink: #172e24;
  --muted: #637066;
  --acid: #d7ff2f;
  --line: #d5d8ca;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(#123b2e04 1px, transparent 1px), linear-gradient(90deg, #123b2e04 1px, transparent 1px);
  background-size: 40px 40px;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; object-fit: contain; }
::selection { color: var(--forest); background: var(--acid); }
:focus-visible { outline: 3px solid #648831; outline-offset: 5px; }
.mono { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--acid); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.masthead, .page-footer { width: min(1320px, calc(100% - 96px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.masthead { min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 24px; text-decoration: none; }
.brand img { width: 116px; height: 49px; }
.brand-divider { height: 26px; width: 1px; background: #bbc4b5; }
.brand-product { font-family: var(--mono); font-size: 14px; letter-spacing: .19em; line-height: 1.65; }
.brand-product > span { display: block; font-size: 8px; color: var(--muted); letter-spacing: .16em; }
.header-note { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.header-note i { width: 6px; height: 6px; background: #7f9469; }
.login-layout { display: grid; grid-template-columns: 1.1fr 1fr; width: min(1120px, calc(100% - 96px)); margin: auto; padding-block: 64px; }
.research-panel { min-height: 610px; position: relative; overflow: hidden; background: var(--forest); color: var(--paper); padding: 30px 36px 0; display: flex; flex-direction: column; animation: panel-enter .85s var(--ease) both; }
.research-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 56%, #547e462b, transparent 66%); pointer-events: none; }
.research-panel::after { content: ""; height: 3px; position: absolute; inset: 0 0 auto; background: linear-gradient(90deg, var(--acid) 0 15%, transparent 15%); transform-origin: left; animation: rule-enter 1.2s var(--ease) both; }
.field-grid { position: absolute; inset: 0; background-image: linear-gradient(#eff5e507 1px, transparent 1px), linear-gradient(90deg, #eff5e507 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(transparent, #000 45%, #000 85%, transparent); pointer-events: none; }
.panel-top { display: flex; justify-content: space-between; color: #bbccb5; position: relative; font-size: 9px; letter-spacing: .11em; }
.research-copy { position: relative; margin-top: 52px; animation: copy-enter .8s .08s var(--ease) both; }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 9px var(--mono); letter-spacing: .12em; color: #becdb7; margin: 0 0 17px; }
.eyebrow i { width: 5px; height: 5px; background: var(--acid); }
h2 { margin: 0; font-size: clamp(48px, 5.2vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
h2 span { display: block; font-size: 20px; letter-spacing: .13em; margin-top: 22px; font-weight: 400; }
.signal-field { height: 278px; position: relative; margin: 6px -8px 0; flex: 1; min-height: 220px; }
.field-axis { position: absolute; background: #dce7b913; }
.axis-x { top: 50%; height: 1px; left: 0; right: 0; }
.axis-y { left: 50%; width: 1px; top: 8%; bottom: 8%; }
.orbit { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid #dce7b924; transform: translate(-50%, -50%); }
.orbit-outer { width: 236px; height: 236px; border-style: dashed; border-color: #dce7b924; }
.orbit-middle { width: 182px; height: 182px; }
.orbit-inner { width: 126px; height: 126px; border-color: #dce7b91c; background: #0b2f2426; }
.orbit-trace { width: 182px; height: 182px; position: absolute; left: calc(50% - 91px); top: calc(50% - 91px); border-radius: 50%; border: 1px solid transparent; border-top-color: #d7ff2f78; animation: orbit-drift 48s linear infinite; }
.orbit-trace i { position: absolute; width: 5px; height: 5px; background: var(--acid); border-radius: 50%; left: calc(50% - 2px); top: -3px; box-shadow: 0 0 14px #d7ff2f35; }
.signal-core { position: absolute; inset: 0; display: grid; place-items: center; }
.signal-core::before { content: ""; position: absolute; width: 94px; height: 94px; border-radius: 50%; background: #e5ead8; border: 1px solid #b4c4a3; }
.signal-core img { position: relative; width: 37px; height: 62px; }
.field-label { position: absolute; top: calc(50% + 11px); font: 8px var(--mono); letter-spacing: .1em; color: #b4c5aa; }
.field-label-left { left: 0; }
.field-label-right { right: 0; }
.field-cross { position: absolute; font: 15px var(--mono); color: #b9cca381; left: calc(50% - 4px); }
.cross-top { top: 8%; }
.cross-bottom { bottom: 8%; }
.panel-bottom { position: relative; display: flex; align-items: center; gap: 18px; border-top: 1px solid #dce7b926; min-height: 63px; color: #c8d5c1; font-size: 11px; letter-spacing: .08em; }
.panel-bottom i { width: 2px; height: 2px; background: #c8d5c164; }
.panel-bottom b { margin-left: auto; font-size: 19px; color: var(--acid); font-weight: 400; }
.access-panel { background: var(--white); border: 1px solid var(--line); border-left: 0; padding: 30px 48px 0; display: flex; flex-direction: column; animation: copy-enter .85s .1s var(--ease) both; }
.access-index { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.access-index > span:last-child { font-size: 16px; line-height: .7; color: #899681; }
.login-content { margin-block: auto; padding: 48px 0 34px; }
.entry-mark { display: flex; gap: 4px; height: 22px; align-items: flex-end; margin-bottom: 26px; }
.entry-mark span { display: block; width: 6px; height: 13px; background: var(--forest); transform-origin: bottom; animation: rule-enter .65s .22s var(--ease) both; }
.entry-mark span:nth-child(2) { height: 18px; background: #6f8257; animation-delay: .3s; }
.entry-mark span:nth-child(3) { height: 22px; background: #c2dc64; animation-delay: .38s; }
.login-eyebrow { color: var(--muted); font-size: 9px; margin: 0 0 14px; letter-spacing: .1em; }
h1 { margin: 0; font-size: 34px; letter-spacing: -.035em; font-weight: 550; line-height: 1.4; }
h1 span { display: block; margin-top: 5px; font-size: 17px; font-weight: 400; letter-spacing: .025em; }
.login-description { margin: 17px 0 32px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.google-login { appearance: none; width: 100%; display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 54px; padding: 14px 18px; font-family: inherit; font-size: 14px; line-height: 1.5; font-weight: 500; color: #1f1f1f; border: 1px solid #889582; border-radius: 3px; background: #fff; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.google-mark { flex: 0 0 20px; }
.google-login:hover:enabled { background: #f4f6ef; border-color: var(--forest); box-shadow: 0 3px 0 #d5dfc3; transform: translateY(-2px); }
.google-login:active:enabled { transform: translateY(0); box-shadow: none; }
.google-login:disabled { cursor: default; color: #69746b; border-color: #c7cebf; background: #fafbf7; }
.button-arrow { margin-left: auto; color: #657b60; transition: transform .25s var(--ease); font-size: 19px; line-height: 1; }
.google-login:hover:enabled .button-arrow { transform: translateX(3px); }
.button-spinner { display: none; width: 14px; height: 14px; margin-left: auto; border: 1px solid #b7c4aa; border-top-color: var(--forest); border-radius: 50%; animation: orbit-drift .9s linear infinite; }
.google-login[aria-busy="true"] .button-arrow { display: none; }
.google-login[aria-busy="true"] .button-spinner { display: block; }
.login-error { font-size: 12px; line-height: 1.7; color: #9b3528; overflow-wrap: anywhere; margin: 12px 0 0; }
.login-error:empty { display: none; }
.login-guidance { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 20px 0 0; }
.access-footer { border-top: 1px solid #e3e6d9; min-height: 63px; display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.access-footer .mono { margin-left: auto; font-size: 8px; letter-spacing: .06em; }
.page-footer { border-top: 1px solid var(--line); min-height: 62px; font-family: var(--mono); font-size: 9px; letter-spacing: .07em; color: var(--muted); gap: 16px; }
.page-footer > span:last-child { font-family: inherit; letter-spacing: .14em; }
.footer-slash { margin-inline: 9px; color: #9aa68e; }
@keyframes panel-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes copy-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rule-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes orbit-drift { to { transform: rotate(360deg); } }
@media (min-width: 1440px) { .login-layout { padding-block: 76px; } }
@media (max-width: 1000px) {
  .masthead, .page-footer { width: calc(100% - 56px); }
  .login-layout { width: calc(100% - 56px); grid-template-columns: 1fr 1fr; padding-block: 44px; }
  .research-panel { padding-inline: 26px; min-height: 570px; }
  .access-panel { padding-inline: 30px; }
  .panel-bottom { gap: 12px; }
  .access-footer .mono { display: none; }
  .field-label { font-size: 7px; }
}
@media (max-width: 720px) {
  .masthead, .page-footer { width: calc(100% - 40px); }
  .masthead { min-height: 82px; }
  .brand { gap: 16px; }
  .brand img { width: 98px; height: 42px; }
  .brand-product { font-size: 12px; }
  .header-note { font-size: 10px; gap: 6px; letter-spacing: 0; }
  .login-layout { width: min(460px, calc(100% - 40px)); grid-template-columns: 1fr; padding-block: 32px; }
  .access-panel { grid-row: 1; border: 1px solid var(--line); padding: 26px 28px 0; }
  .login-content { padding-block: 36px 30px; }
  h1 { font-size: 30px; }
  .entry-mark { margin-bottom: 22px; }
  .login-description { margin-bottom: 26px; }
  .access-footer { min-height: 56px; }
  .access-footer .mono { display: block; }
  .research-panel { min-height: 0; padding: 22px 28px 0; }
  .research-copy { margin-top: 22px; margin-bottom: 24px; }
  .eyebrow, .signal-field { display: none; }
  h2 { font-size: 38px; }
  h2 span { font-size: 14px; letter-spacing: .08em; margin-top: 12px; }
  .panel-bottom { min-height: 49px; font-size: 10px; }
  .page-footer { min-height: 66px; font-size: 8px; flex-wrap: wrap; align-content: center; gap: 8px 20px; padding-block: 16px; }
}
@media (max-width: 380px) { .header-note { display: none; } .access-panel { padding-inline: 22px; } .access-footer .mono { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
