/* GENERATED from packages/shared/public/pages.css by scripts/build.mjs. Do not edit here: edit the source and run npm run build. */
/* Resolv Gig: page layout for the three standalone apps, the environment bar, the demo guide and the sign-in panel.
   Uses Resolv Flat tokens only. */
html, body { height: 100%; }
body.rg-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; background: var(--surface); }
#demobar[hidden], #guide[hidden] { display: none; }

/* Environment bar (Local, Dev, Demo only) */
.demobar { flex: none; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; background: var(--brand-navy); color: #FFFFFF; font-size: 13px; line-height: 18px; }
.demobar__env { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 600; white-space: nowrap; }
.demobar__note { color: var(--brand-powder); white-space: nowrap; }
.demobar__apps { display: flex; gap: 2px; margin-left: auto; }
.demobar__apps a, .demobar__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #FFFFFF; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.demobar__apps a:hover, .demobar__btn:hover { background: rgba(255, 255, 255, 0.14); }
.demobar__apps a[aria-current="page"] { background: #FFFFFF; color: var(--brand-navy); }
.demobar__btn[aria-pressed="true"] { background: var(--action); }
.demobar a:focus-visible, .demobar__btn:focus-visible { outline: var(--stroke-focus) solid var(--brand-powder); outline-offset: 1px; }
.demobar__people { position: relative; }
.demobar__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 280px; max-height: 70vh; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.demobar__group + .demobar__group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.demobar__group-h { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.demobar__menu a { display: flex; flex-direction: column; padding: 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.demobar__menu a:hover, .demobar__menu a:focus-visible { background: var(--action-tint); outline: none; }
.demobar__who { font-weight: 600; }
.demobar__what { font-size: 12px; color: var(--ink-muted); }
.envmark { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 22px; background: var(--brand-navy); color: #FFFFFF; font-size: 12px; font-weight: 600; line-height: 16px; }

/* App frame and guide */
.rg-frame { flex: 1; min-height: 0; display: flex; position: relative; }
.rg-app { flex: 1; min-width: 0; min-height: 0; display: flex; }
.rg-frame .guide { height: auto; }

/* Talent App: full screen on a phone, a centred column on a wide screen */
.rg-page--talent .rg-app { justify-content: center; background: var(--surface-subtle); }
.rg-page--talent .ta { width: 100%; max-width: 480px; flex: 1 1 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* Full-page states: loading, sign-in, not set up */
.rg-state { flex: 1; overflow: auto; display: flex; flex-direction: column; background: var(--surface); }
.rg-state__bar { flex: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 var(--space-5); border-bottom: 1px solid var(--line); }
.rg-state__body { flex: 1; }
.rg-loading { margin: auto; display: flex; align-items: center; gap: 12px; color: var(--ink-muted); }

.signin { max-width: 440px; margin: 0 auto; padding: 40px 20px 56px; display: flex; flex-direction: column; gap: 16px; }
.signin h1 { font-size: 28px; line-height: 36px; font-weight: 700; }
.signin .lead { font-size: 16px; line-height: 24px; color: var(--ink-muted); margin-top: -8px; }
.signin__providers { display: flex; flex-direction: column; gap: 8px; }
.signin__or { display: flex; align-items: center; gap: 12px; color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.signin__or::before, .signin__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin__form { display: flex; flex-direction: column; gap: 16px; }
.signin__alt { color: var(--ink-muted); }
.signin__persona { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.ap .signin { padding-top: 24px; }

@media (max-width: 1180px) {
  .rg-frame .guide { position: absolute; top: 0; right: 0; bottom: 0; z-index: 80; box-shadow: -8px 0 24px rgba(0, 9, 38, 0.12); }
}
@media (max-width: 760px) {
  .demobar { gap: 8px; padding: 0 8px; }
  .demobar__apps a, .demobar__btn { padding: 0 8px; }
  .rg-frame .guide { width: 100%; }
  .rg-page--talent .ta { border: 0; max-width: none; }
}
