/* ORA engagement landing portal.
   The production aurora, live orb canvases and glass header remain the visual source of truth. */

body.ora-choosing .hdr {
  background-color: rgba(255, 255, 255, .42);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 10px 30px -22px rgba(124, 58, 237, .4);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}

body.ora-choosing .hdr-controls .usage-chip,
body.ora-choosing .hdr-controls .pill,
body.ora-choosing .hdr-controls .conn-failure {
  display: none !important;
}

body.ora-choosing .hdr-controls {
  gap: 10px;
}

/* Product orientation is available on demand. Keep it in the same global action row as
   account context, but let the selected engagement remain the visual focus. */
.what-ora-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(104, 79, 151, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .34);
  color: #5a4e72;
  font: 700 12px/1.1 var(--sans);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.what-ora-btn:hover { color: #4b20ba; border-color: rgba(93, 40, 239, .34); background: rgba(255, 255, 255, .66); transform: translateY(-1px); }
.what-ora-btn:focus-visible { outline: 3px solid rgba(93, 40, 239, .32); outline-offset: 3px; }
.what-ora-btn > i { color: #6d4dcc; flex: none; font-size: 16px; }
.auth-gated .what-ora-btn { display: none; }
.ora-explainer-open { overflow: hidden; }

.ora-explainer[hidden] { display: none; }
.ora-explainer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}
.ora-explainer-scrim { position: absolute; inset: 0; background: rgba(27, 18, 44, .42); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.ora-explainer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(280px, 1.05fr);
  width: min(860px, 100%);
  max-height: min(680px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(244,239,255,.68));
  box-shadow: 0 32px 100px -38px rgba(27, 16, 66, .72), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}
.ora-explainer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(91, 65, 145, .18);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  color: #4d4162;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ora-explainer-close:hover { background: rgba(255,255,255,.85); }
.ora-explainer-close:focus-visible { outline: 3px solid rgba(93, 40, 239, .32); outline-offset: 2px; }
.ora-explainer-art-wrap { display: grid; place-items: center; min-height: 280px; padding: 34px; background: radial-gradient(circle at 50% 46%, rgba(125, 80, 224, .2), transparent 64%); }
.ora-explainer-art { display: block; width: min(100%, 380px); max-height: 370px; object-fit: contain; mix-blend-mode: multiply; border-radius: 16px; }
.ora-explainer-copy { align-self: center; padding: 54px clamp(28px, 5vw, 58px) 48px 10px; }
.ora-explainer-kicker { color: #6740b7; font: 800 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ora-explainer-copy h2 { max-width: 12ch; margin: 12px 0 20px; color: #181321; font: 750 clamp(30px, 4vw, 47px)/.98 var(--serif); letter-spacing: -.045em; }
.ora-explainer-copy p { max-width: 40ch; margin: 0; color: #5f6680; font-size: 15px; line-height: 1.65; }
.ora-explainer-copy .ora-explainer-note { margin-top: 22px; color: #6d4dcc; font-size: 13px; font-weight: 700; }

.hdr-account-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
  font: 700 13px/1.2 var(--sans);
}

.hdr-account-name[hidden] { display: none; }

/* The voice interview's orb belongs to the interview; behind the client list ORA shows its
   still compass instead (ora-compass.css). */
body.ora-choosing .stage {
  transform: translate(-57vw, -2vh);
  opacity: 0;
  pointer-events: none;
  transition: none;
}

/* The chooser reuses the pearl and its clean concentric rings, not the live interview's
   assessment beads or page-wide blur. Those layers created the moving "droplet" smears. */
body.ora-choosing #haloCanvas { opacity: 0; }
body.ora-choosing .orbit-blur {
  opacity: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ora-choosing #stageHead,
body.ora-choosing #stageTools { display: none !important; }

.landing-choose {
  position: fixed;
  inset: 91px 0 0;
  z-index: 7;
  display: block;
  transform: none;
  overflow: auto;
}

.landing-choose[hidden] { display: none; }

.lp-shell {
  width: calc(100vw - clamp(220px, 18.5vw, 286px) - 42px);
  min-height: calc(100vh - 91px);
  margin: 0 42px 0 clamp(220px, 18.5vw, 286px);
  padding: clamp(86px, 11.5vh, 118px) 0 clamp(36px, 7vh, 72px);
  display: grid;
  grid-template-columns: minmax(390px, 458px) minmax(0, 1fr);
  gap: 76px;
}

.lp-engagements {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px clamp(32px, 4vw, 58px) 20px 0;
}

.lp-engagements::after {
  content: "";
  position: absolute;
  top: -28px;
  right: 0;
  bottom: -28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(116, 96, 165, .22) 12%, rgba(116, 96, 165, .22) 88%, transparent);
}

.lp-engagement-unavailable {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  border: 1px solid rgba(142, 104, 35, .28);
  border-radius: 12px;
  background: rgba(255, 250, 239, .8);
  color: #6e571f;
  padding: 13px;
}
.lp-engagement-unavailable > i { color: #9d711d; font-size: 18px; }
.lp-engagement-unavailable > div { display: grid; gap: 3px; }
.lp-engagement-unavailable strong { color: #514021; font-size: 11px; }
.lp-engagement-unavailable span { color: #756445; font-size: 9px; line-height: 1.4; }
.lp-engagement-unavailable .btn { min-height: 31px; white-space: nowrap; }

.lp-copy h2,
.lp-workspace h2 {
  margin: 0;
  color: #151120;
  font-family: var(--serif);
  font-size: clamp(35px, 2.85vw, 44px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: .98;
}

.lp-copy p,
.lp-empty p {
  max-width: 390px;
  margin: 24px 0 0;
  color: #66718b;
  font-size: 15px;
  line-height: 1.55;
}

.lp-available {
  min-height: 22px;
  margin-top: 43px;
  color: #6c7690;
  font-size: 13px;
  font-weight: 650;
}

.lp-engagement-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 13px;
}

.lp-new-client-slot:not(:empty) { margin-top: 14px; }
/* Who can create clients: the global admins' way into the list, under "New client"; quiet, it is a setting. */
.lp-creators-slot:not(:empty) { margin-top: 10px; }
.lp-creators-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 1px solid rgba(124, 92, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .3); color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.lp-creators-link:hover { background: rgba(255, 255, 255, .7); border-color: rgba(124, 92, 255, .32); }
.lp-creators-link:focus-visible { outline: 2px solid var(--lav-400); outline-offset: 2px; }
.lp-creators-mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--lav-100); color: var(--lav-600); font-size: 19px; }
.lp-creators-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.lp-creators-text strong { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.lp-creators-text small { color: var(--mute); font-size: 12.5px; }
.lp-creators-link > .ph-caret-right { flex: none; color: var(--mute); }

.lp-engagement-card {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(132, 112, 184, .22);
  border-radius: 13px;
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 18px 42px -35px rgba(77, 52, 139, .55), inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .22s ease, background .22s ease;
}

.lp-engagement-card:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 72, 236, .42);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 48px -33px rgba(77, 52, 139, .7), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.lp-engagement-card:focus { outline: none; }
.lp-engagement-card:focus-visible {
  outline: 3px solid rgba(93, 40, 239, .34);
  outline-offset: 3px;
}

.lp-engagement-card[aria-selected="true"] {
  position: relative;
  border-color: rgba(126, 87, 235, .26);
  background: linear-gradient(110deg, rgba(242, 237, 255, .88), rgba(255, 255, 255, .62));
  box-shadow: 0 22px 50px -34px rgba(93, 54, 191, .68), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.lp-engagement-card[aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 13px 0 0 13px;
  background: var(--brand-grad);
}

.lp-client-mark,
.lp-destination-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(233, 225, 255, .78));
  color: var(--lav-600);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
}

.lp-client-mark { width: 58px; height: 58px; }
.lp-client-mark img { width: 26px; height: 26px; display: block; }
.lp-client-name { font: 750 clamp(22px, 1.8vw, 26px)/1.1 var(--serif); letter-spacing: -.025em; }
.lp-engagement-card .lp-client-name small { display: block; margin-top: 6px; color: #707991; font: 650 12px/1.3 var(--sans); letter-spacing: 0; }
.lp-card-state { width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; }
.lp-card-state img { width: 18px; height: 18px; display: block; }
.lp-engagement-card[aria-selected="true"] .lp-card-state {
  border-radius: 999px;
  background: #5d28ef;
}
.lp-engagement-card[aria-selected="true"] .lp-card-state img { width: 13px; height: 13px; }

/* The category labels repeat the selected workspace context; the action title is enough.
   Keep the icon as the semantic wayfinding cue. */
.lp-destination-mark { border-radius: 18px; }

.lp-workspace {
  min-width: 0;
  padding: 14px 0 20px;
}

.lp-empty { padding: 0 0 0 2px; }
.lp-empty span {
  display: block;
  margin-top: 45px;
  color: #6c7690;
  font-size: 13px;
  font-weight: 650;
}

.lp-workspace-head {
  margin-bottom: 38px;
  animation: lpReveal .35s ease both;
}

.lp-workspace-head h2 { font-size: clamp(34px, 3vw, 46px); }
.lp-workspace-head h2 em { color: #5d28ef; font-style: normal; }
.lp-workspace-subtitle { max-width: 560px; margin: 12px 0 0; color: #66718b; font-size: 14px; line-height: 1.55; }

@media (min-width: 1121px) {
  .lp-workspace-head h2 { font-size: 39px; white-space: nowrap; }
}

.lp-destination-frame {
  overflow: hidden;
  border: 1px solid rgba(132, 112, 184, .24);
  border-radius: 15px;
  background: rgba(255, 255, 255, .54);
  box-shadow: 0 25px 58px -42px rgba(74, 49, 128, .68), inset 0 1px 0 rgba(255, 255, 255, .76);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  animation: lpReveal .42s .04s ease both;
}

.lp-destination {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 34px 30px;
}

.lp-destination + .lp-destination { border-top: 1px solid rgba(130, 112, 173, .17); }
.lp-destination-mark { width: 72px; height: 72px; }
.lp-destination-mark img { width: 29px; height: 29px; display: block; }
.lp-destination-copy { min-width: 0; }

.lp-destination-copy h3 {
  margin: 0;
  color: #171220;
  font: 750 25px/1.06 var(--serif);
  letter-spacing: -.025em;
}

.lp-destination-copy p {
  max-width: 350px;
  margin: 10px 0 0;
  color: #66718b;
  font-size: 13.5px;
  line-height: 1.55;
}

.lp-action {
  min-width: 164px;
  border: 1px solid rgba(99, 45, 235, .28);
  border-radius: 10px;
  padding: 14px 17px;
  background: rgba(255, 255, 255, .54);
  color: #5d28ef;
  font: 750 13px/1.15 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
}

.lp-action:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .84); box-shadow: 0 12px 28px -18px rgba(76, 39, 170, .6); }
.lp-action.is-primary { border-color: transparent; background: var(--brand-grad); color: #fff; box-shadow: 0 10px 26px -15px rgba(79, 43, 196, .85); }

.lp-boundary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 3px 0;
  color: #72809d;
  font-size: 12px;
  line-height: 1.5;
  animation: lpReveal .42s .09s ease both;
}
.lp-action-error {
  max-width: 620px;
  margin: 18px 3px 0;
  padding: 13px 15px;
  border: 1px solid rgba(166, 83, 87, .28);
  border-radius: 10px;
  background: rgba(255, 246, 246, .72);
  color: #8b343a;
  font-size: 13px;
  line-height: 1.5;
}
.lp-action:disabled { cursor: wait; opacity: .72; transform: none; }
.lp-no-destination {
  padding: 30px;
  border: 1px solid rgba(132, 112, 184, .22);
  border-radius: 13px;
  background: rgba(255, 255, 255, .5);
  color: #66718b;
  font-size: 14px;
}

@keyframes lpReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  body.ora-choosing { overflow: auto; }
  body.ora-choosing .stage { transform: translate(-50vw, -2vh); opacity: 0; }
  .landing-choose { top: 83px; }
  .lp-shell { width: min(720px, calc(100vw - 36px)); grid-template-columns: 1fr; gap: 42px; padding-top: 48px; }
  .lp-shell { margin: 0 auto; }
  .lp-engagements { padding-right: 0; }
  .lp-engagements::after { display: none; }
  .lp-workspace { padding-bottom: 64px; }
}

@media (max-width: 620px) {
  body.ora-choosing .hdr { padding: 16px 18px; }
  body.ora-choosing .brand-tag { display: none; }
  .what-ora-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-account-name { max-width: 126px; }
  .landing-choose { inset: 72px 0 0; }
  .lp-shell { width: calc(100vw - 28px); padding-top: 36px; }
  .lp-copy h2, .lp-workspace h2 { font-size: 35px; }
  .lp-destination { grid-template-columns: 54px 1fr; padding: 25px 20px; gap: 16px; }
  .lp-destination-mark { width: 54px; height: 54px; font-size: 21px; }
  .lp-action { grid-column: 1 / -1; width: 100%; }
  .ora-explainer-panel { grid-template-columns: 1fr; max-height: calc(100vh - 28px); }
  .ora-explainer-art-wrap { min-height: 190px; padding: 22px 58px 8px 22px; }
  .ora-explainer-art { max-height: 190px; }
  .ora-explainer-copy { padding: 16px 24px 30px; }
  .ora-explainer-copy h2 { max-width: 14ch; font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-workspace-head, .lp-destination-frame, .lp-boundary { animation: none; }
  body.ora-choosing .stage, .lp-engagement-card, .lp-action, .what-ora-btn { transition: none; }
}
