/* =========================================================================
   Phoenix Labs · additions over the Phoenix TF New UI styles.css.
   Everything rides the New UI tokens so both themes (light default) work.
   ========================================================================= */

/* ---- LABS wordmark in the site navbar ---- */
.labs-lockup { display: inline-flex; align-items: center; gap: 10px; }
.labs-lockup-img { height: 30px; width: auto; }
/* the ink lockup is drawn for light surfaces; invert it on the dark theme */
html:not([data-theme="light"]) .labs-lockup-img { filter: invert(1) hue-rotate(180deg); }
.labs-navtag { font-size: 11px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); border: 1.5px dotted var(--accent-line); border-radius: 999px; padding: 4px 10px 4px 13px; }

/* ---- pre-login: hide the app shell behind the gate ---- */
body.labs-login .app, body.labs-login .sitenav { display: none; }
body:not(.labs-ready):not(.labs-login) .app { visibility: hidden; }

/* ---- login overlay (New UI card language) ---- */
#labsLogin { position: fixed; inset: 0; z-index: 120; overflow: auto; background: var(--bg); }
.labs-login-wrap { min-height: 100%; display: grid; place-items: center; padding: 40px 18px; }
.labs-login-card { width: 100%; max-width: 420px; padding: 36px 34px 30px; }
.labs-login-k { display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.labs-login-card h2 { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: 27px;
  font-weight: 700; letter-spacing: -0.02em; color: var(--txt); }
.labs-login-sub { font-size: 13.5px; color: var(--txt-2); line-height: 1.6; margin-top: 8px; }
.labs-login-err { display: none; margin-top: 14px; padding: 11px 13px; border-radius: 11px; font-size: 13px;
  line-height: 1.5; background: var(--fail-soft); border: 1px solid rgba(255, 84, 98, 0.35); color: var(--fail); }
.labs-login-err.show { display: block; }
.labs-login-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--txt-3); line-height: 1.6; }
.labs-login-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---- shared orb dot ---- */
.labs-orb { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, #ff8a4c, var(--accent) 62%, #c23a12);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---- "In the lab" section ---- */
.labs-inlab__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.labs-inlab__head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--txt); }
.labs-chip { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--txt-3); border: 1px dotted var(--line-strong); border-radius: 8px; padding: 4px 9px; }

.labs-empty { text-align: center; padding: 44px 28px; }
.labs-empty__mark { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  border: 2px dotted var(--accent-line); display: grid; place-items: center; }
.labs-empty__mark .labs-orb { width: 14px; height: 14px; }
.labs-empty h3 { font-size: 16.5px; font-weight: 700; color: var(--txt); }
.labs-empty p { font-size: 13.5px; color: var(--txt-2); line-height: 1.65; max-width: 470px; margin: 9px auto 18px; }

/* ---- cross-pointer card ---- */
.labs-pointer { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; }
@media (max-width: 640px) { .labs-pointer { grid-template-columns: 1fr; } }
.labs-pointer__mark { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); }
.labs-pointer__mark img { height: 26px; width: auto; }
/* small TFeed logo used wherever the TFeed-only scope is stated */
.labs-tfeed-ico { height: 14px; width: auto; vertical-align: -2px; border-radius: 3px; }
.labs-pointer__txt b { display: block; font-size: 14.5px; font-weight: 700; color: var(--txt); }
.labs-pointer__txt > span { display: block; font-size: 13px; color: var(--txt-2); line-height: 1.55; margin-top: 3px; }
.labs-pointer__txt > span b { display: inline; color: var(--accent); }
