/* Shared signed-in chrome: lockup, 4 destinations, breadcrumb, AI dock. */

:root {
  --chrome-navy: #0F1B2D;
  --chrome-card: #16263D;
  --chrome-teal: #14B8A6;
  --chrome-teal-light: #5EEAD4;
  --chrome-orange: #F7931A;
  --chrome-slate: #94A3B8;
  --chrome-body: #F1F5F9;
  --chrome-ink: #0F1B2D;
}

html, body {
  background: var(--chrome-navy);
  color: var(--chrome-body);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.site-lockup .logo {
  width: 64px;
  height: auto;
}

@media (min-width: 1024px) {
  .site-lockup .logo {
    width: 96px;
  }
}

.desk-nav {
  display: none;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1 0 100%;
  order: 2;
}

.desk-nav a {
  color: var(--chrome-body);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  padding: 8px 4px;
}

.desk-nav a[aria-current="page"] {
  border-bottom-color: var(--chrome-teal);
  color: var(--chrome-teal-light);
}

.crumb {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 8px;
  padding: 0 16px;
  color: var(--chrome-slate);
  font-size: 16px;
  white-space: nowrap;
  overflow-x: auto;
}

.crumb a {
  color: var(--chrome-teal-light);
}

.page-back {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--chrome-teal-light);
  text-decoration: none;
  font-weight: 600;
}

.page-for {
  font-size: 20px;
  line-height: 1.6;
  color: var(--chrome-body);
  margin: 0 0 16px;
}

.page-title {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .page-title { font-size: 32px; }
}

.btn-primary,
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--chrome-orange);
  color: var(--chrome-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-teal-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid var(--chrome-teal);
  border-radius: 12px;
  background: transparent;
  color: var(--chrome-teal-light);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-teal-text {
  background: none;
  border: 0;
  color: var(--chrome-teal-light);
  font: inherit;
  font-weight: 600;
  min-height: 48px;
  cursor: pointer;
  text-decoration: underline;
}

.video-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--chrome-card);
  margin: 0 0 20px;
}

.video-slot img,
.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-slot-still {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(15, 27, 45, 0.2), rgba(15, 27, 45, 0.86)),
    #16263D;
  color: var(--chrome-body);
}

.video-slot-still p {
  margin: 0;
  font-size: 18px;
}

.chrome-layout {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 16px 96px;
}

@media (min-width: 1024px) {
  .chrome-has-partner .chrome-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 360px;
    gap: 24px;
    width: min(1144px, 100%);
    margin: 0 auto;
    padding: 0 24px 48px;
    align-items: start;
  }

  .desk-nav { display: flex; }

  .partner-dock {
    position: sticky;
    top: 12px;
    width: 360px;
  }

  .phone-bar,
  .ask-fab { display: none !important; }
}

.phone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 64px;
  background: var(--chrome-navy);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.phone-bar a,
.phone-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border: 0;
  background: none;
  color: var(--chrome-body);
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.phone-bar a[aria-current="page"] {
  color: var(--chrome-teal-light);
}

.phone-bar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ask-fab {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 41;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--chrome-teal);
  color: var(--chrome-navy);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.partner-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: 85vh;
  background: var(--chrome-card);
  border-radius: 20px 20px 0 0;
  padding: 16px;
  overflow: auto;
}

.partner-sheet[hidden] { display: none; }

.partner-dock,
.partner-sheet {
  color: var(--chrome-body);
}

.partner-dock {
  background: var(--chrome-card);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 16px;
}

.tip-word {
  border-bottom: 1px dotted var(--chrome-teal-light);
  color: var(--chrome-teal-light);
  cursor: help;
}

.tip-card {
  position: absolute;
  z-index: 30;
  max-width: 280px;
  padding: 12px;
  background: var(--chrome-navy);
  border: 1px solid var(--chrome-teal);
  border-radius: 10px;
  color: var(--chrome-body);
  font-size: 18px;
}

.step-dots {
  display: flex;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.step-dots li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--chrome-slate);
}

.step-dots .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--chrome-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-dots .is-now .dot {
  background: var(--chrome-teal);
  color: var(--chrome-navy);
  font-weight: 700;
}

.step-dots .is-now span { font-weight: 700; color: var(--chrome-body); }

.q-answer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.q-answer button {
  min-height: 56px;
  padding: 12px 16px;
  border: 2px solid var(--chrome-teal);
  border-radius: 12px;
  background: transparent;
  color: var(--chrome-body);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.groups-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--chrome-card);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 0 12px;
  color: inherit;
}

.group-card > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  min-height: 40px;
  font-size: 17px;
  font-weight: 700;
}

.group-card > summary::-webkit-details-marker { display: none; }

.group-card-items {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.group-card-items a,
#suggestedList a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #5EEAD4;
  text-decoration: none;
}

#suggestedList { display: grid; gap: 4px; }

.item-code {
  display: block;
  color: var(--chrome-slate);
  font-size: 14px;
}

.page-foot {
  margin-top: auto;
  padding: 20px 16px 88px;
  text-align: center;
  color: var(--chrome-slate);
  font-size: 16px;
}

@media (min-width: 1024px) {
  .page-foot { padding-bottom: 24px; }
}

.page-foot a { color: var(--chrome-teal-light); }

.expired-card,
.missing-card {
  max-width: 520px;
  margin: 24px auto;
  padding: 24px;
  background: var(--chrome-card);
  border-radius: 16px;
}

.code-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.code-boxes input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--chrome-teal);
  background: var(--chrome-navy);
  color: #ffffff;
}

.auth-page {
  min-height: 100vh;
  background: var(--chrome-navy);
  color: var(--chrome-body);
}

.auth-page h1 { color: #ffffff; }
.auth-page label,
.auth-page p { font-size: 18px; }
.auth-page .lead { font-size: 20px; }
.auth-page input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: var(--chrome-card);
  color: #F1F5F9;
  font-size: 18px;
}

.nav-toggle,
#moreNav,
#navToggle { display: none !important; }
