/* Navigation shells reuse the current prototype's midnight surfaces and type. */
#screen.prototype-overview-mode > :not(.prototype-overview):not(.bottom-nav) {
  display: none !important;
}
.prototype-overview {
  min-height: 650px;
  padding: 30px 22px 120px;
  color: #f4edf8;
}
.prototype-overview header {
  margin-bottom: 38px;
}
.prototype-overview header > small {
  color: #b9a5c8;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.prototype-overview h1 {
  margin: 22px 0 12px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.prototype-overview header p {
  color: #b8adbf;
  font-size: 15px;
  line-height: 1.6;
}
.prototype-overview section {
  margin: 32px 0;
}
.prototype-overview h2 {
  margin: 0 0 16px;
  font-size: 17px;
}
.prototype-overview a {
  text-decoration: none;
  color: inherit;
}
.prototype-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  background: linear-gradient(125deg, #261c31, #181220);
  border: 1px solid #44394d;
  border-radius: 22px;
}
.prototype-person > span:nth-child(2) {
  flex: 1;
}
.prototype-person strong {
  display: block;
  font-size: 18px;
}
.prototype-person small {
  display: block;
  margin-top: 5px;
  color: #b7a7bf;
  font-size: 12px;
  line-height: 1.5;
}
.prototype-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3b2836;
  border: 1px solid #8d6951;
  color: #efbb85;
  font-weight: 800;
  flex-shrink: 0;
}
.prototype-avatar-blue {
  background: #192e41;
  border-color: #4d7796;
  color: #a8d3f1;
}
.prototype-destinations {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.prototype-destinations a {
  flex: 1;
  padding: 15px;
  border: 1px solid #413448;
  border-radius: 16px;
  background: #1b1324;
  font-size: 13px;
}
.prototype-destinations a span,
.prototype-row > span,
.prototype-person > span:last-child {
  color: #cda6d9;
}
.prototype-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #302538;
  color: #e4d6ed;
  background: transparent;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.prototype-overview :is(a, button):focus-visible {
  outline: 2px solid #d5b6f8;
  outline-offset: 4px;
}

/* People shares the accepted Portrait's quieter, editorial hierarchy. */
#screen .people-overview {
  --people-accent: #b79acb;
  min-height: 0;
  padding: 25px 20px calc(104px + env(safe-area-inset-bottom));
}
.people-overview .people-heading {
  margin: 0 0 22px;
}
.people-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.people-heading .people-eyebrow small {
  color: #b6a3c4;
  font-size: calc(9px * var(--scale, 1));
  font-weight: 650;
  letter-spacing: 0.14em;
}
.people-orbit {
  color: #b79acb;
  font-size: 29px;
  line-height: 1;
}
.people-heading h1 {
  margin: 12px 0 9px;
  color: #f1eaf4;
  font-size: calc(34px * var(--scale, 1));
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -1.2px;
}
.people-heading p {
  margin: 0;
  max-width: 310px;
  color: #aca0b6;
  font-size: calc(13px * var(--scale, 1));
  line-height: 1.65;
}
.people-self {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 13px;
  border: 1px solid #b79acb20;
  border-radius: 17px;
  background: linear-gradient(110deg, #241a2c80, #15101d80);
}
.people-self-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 12px;
  background: #83d0ce0a;
  color: #83d0ce;
  font-size: 25px;
}
.people-self > span:nth-child(2) {
  flex: 1;
}
.people-self strong,
.people-self small {
  display: block;
}
.people-self strong {
  font-size: calc(12px * var(--scale, 1));
  font-weight: 600;
  color: #d9cfdf;
}
.people-self small {
  margin-top: 3px;
  color: #9b8da6;
  font-size: calc(10px * var(--scale, 1));
}
.people-self > span:last-child {
  color: #83d0ce;
}
.people-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 0 10px;
}
.people-toolbar > span {
  color: #ab9bb7;
  font-size: calc(9px * var(--scale, 1));
  font-weight: 650;
  letter-spacing: 0.09em;
}
.people-toolbar b {
  padding-left: 8px;
  color: #796985;
  font-weight: 500;
}
.people-add,
.people-no-results button,
.people-add-preview [data-people-example],
.people-read-error button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #b79acb3a;
  border-radius: 14px;
  background: linear-gradient(130deg, #b79acb20, #b79acb0e);
  color: #ded0e7;
  font: inherit;
  font-size: calc(11px * var(--scale, 1));
  font-weight: 600;
  cursor: pointer;
}
.people-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.people-add > span {
  font-size: 18px;
  font-weight: 400;
}
.people-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #b79acb1c;
  border-radius: 13px;
  background: #0d0a1480;
  margin-bottom: 13px;
}
.people-search > svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #a091ac;
}
.people-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #e1d8e8;
  font: inherit;
  font-size: calc(12px * var(--scale, 1));
  outline: none;
}
.people-search:focus-within {
  border-color: #b79acb88;
}
.people-search input::placeholder {
  color: #95859e;
  opacity: 1;
}
.people-connections {
  display: grid;
  gap: 16px;
}
.people-connection {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--person-accent) 34%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 0 0,
      color-mix(in srgb, var(--person-accent) 23%, transparent),
      transparent 73%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--person-accent) 8%, #16101d),
      #14101c
    );
  box-shadow: inset 0 1px #ffffff06;
}
.people-person-open {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 19px 19px 12px;
}
.people-avatar {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--person-accent) 34%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--person-accent) 12%, transparent);
  color: var(--person-accent);
  font-size: 20px;
  font-weight: 500;
}
.people-avatar svg {
  width: 29px;
  height: 29px;
}
.people-person-open > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.people-person-open strong {
  display: block;
  color: #f0e7f2;
  font-size: calc(23px * var(--scale, 1));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.people-relation {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--person-accent) 26%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--person-accent) 9%, transparent);
  color: var(--person-accent);
  font-size: calc(9px * var(--scale, 1));
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.people-person-arrow {
  color: var(--person-accent);
  font-size: 20px;
}
.people-signature {
  padding: 16px 19px 20px;
}
.people-signature > small {
  color: #ae9db9;
  font-size: calc(8px * var(--scale, 1));
  letter-spacing: 0.1em;
  font-weight: 650;
}
.people-signature > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 10px;
}
.people-hero-mark {
  color: var(--person-accent);
}
.people-hero-mark svg {
  width: 27px;
  height: 27px;
}
.people-overview .people-signature h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #efe5f3;
  font-size: calc(18px * var(--scale, 1));
  line-height: 1.3;
  font-weight: 600;
}
.people-signature > div > strong {
  color: var(--person-accent);
  font-size: calc(21px * var(--scale, 1));
  line-height: 1.2;
  font-weight: 600;
}
.people-signature p {
  margin: 0;
  color: #b2a0bb;
  font-size: calc(11px * var(--scale, 1));
  line-height: 1.6;
}
.people-overview .people-story-compact h2 {
  margin-top: 0;
  font-size: calc(17px * var(--scale, 1));
}
.people-story {
  padding: 13px 19px 18px;
}
.people-story > small {
  color: #a998b6;
  font-size: calc(8px * var(--scale, 1));
  letter-spacing: 0.1em;
  font-weight: 650;
}
.people-overview .people-story h2 {
  margin: 10px 0 8px;
  color: #e8deec;
  font-size: calc(21px * var(--scale, 1));
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 550;
}
.people-story p {
  margin: 0;
  color: #a79aaf;
  font-size: calc(12px * var(--scale, 1));
  line-height: 1.65;
}
.people-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 16px;
}
.people-modes a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 1px solid #b79acb36;
  border-radius: 13px;
  background: #b79acb16;
  color: #d1b7e3;
  font-size: calc(12px * var(--scale, 1));
  font-weight: 600;
}
.people-overview .people-lenses {
  margin: 12px 16px 4px;
  gap: 0;
  border-top: 1px solid #b79acb19;
}
.people-overview .people-lenses a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b6a5c0;
  font-size: calc(10px * var(--scale, 1));
}
.people-lenses svg {
  width: 19px;
  height: 19px;
  color: #b79acb;
}
.people-ask {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 15px;
  border: 1px solid #d2a9e645;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 0 0, #d2a9e619, transparent 75%),
    linear-gradient(130deg, #2b1b34, #191322);
}
.people-ask > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.people-ask-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  background: #d2a9e613;
  color: #d2a9e6;
}
.people-ask-mark svg {
  width: 29px;
  height: 29px;
}
.people-ask small {
  display: block;
  margin-bottom: 6px;
  color: #d2a9e6;
  font-size: calc(8px * var(--scale, 1));
  letter-spacing: 0.1em;
  font-weight: 650;
}
.people-ask strong {
  color: #dbcee3;
  font-size: calc(12px * var(--scale, 1));
  line-height: 1.55;
  font-weight: 550;
}
.people-ask > span:last-child {
  color: #d2a9e6;
}
.people-overview [hidden] {
  display: none !important;
}
.people-no-results {
  padding: 28px 18px;
  border: 1px dashed #b79acb35;
  border-radius: 20px;
  text-align: center;
}
.people-overview .people-no-results h2 {
  margin: 0 0 10px;
  color: #ddd0e7;
  font-size: 18px;
}
.people-no-results p {
  color: #a99ab4;
  font-size: 12px;
  line-height: 1.6;
}
.people-add-preview {
  position: relative;
  padding: 42px 24px 26px;
}
.people-add-preview > .close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
}
.people-add-preview > small {
  color: #b79acb;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.people-add-preview h2 {
  color: #efe6f4;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 600;
}
.people-add-preview p {
  color: #b7a8c2;
  font-size: 14px;
  line-height: 1.65;
}
.people-add-preview [data-people-example] {
  width: 100%;
  margin-top: 12px;
}
/* Scope selector exceptions locally; permanent destination colors stay intact. */
#screen .rh-tabs [data-tab] > :is(svg, i),
#screen .tabs [data-tab] > :is(svg, i) {
  display: none;
}
#screen [data-relationship-layer-nav] button > svg {
  color: #b79acb;
}
#screen [data-people-data] {
  transition:
    filter 350ms ease,
    opacity 350ms ease;
}
/* The declarative veil also covers data inserted during a lens change. */
#screen.people-read-pending [data-people-data],
:is(html[data-people-read-waiting] #screen, #screen.people-read-pending)
  .content
  > :not([data-relationship-layer-nav]):not([data-product-section]):not(
    [data-product-heading]
  ):not(.td-opening):not(.people-read-error):not(
    .relationship-journey-footer
  ):not(.how-it-works-link),
:is(html[data-people-read-waiting] #screen, #screen.people-read-pending)
  .td-opening
  > :not(.td-context):not([data-product-heading]),
:is(html[data-people-read-waiting] #screen, #screen.people-read-pending)
  [data-product-section]
  > :not([data-product-heading]) {
  filter: blur(12px);
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}
.people-read-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.people-read-error {
  margin: 12px 0;
  padding: 18px;
  border: 1px solid #b79acb30;
  border-radius: 18px;
  background: #1b1424;
}
.people-read-error h3 {
  margin: 0 0 8px;
  color: #e9dcf1;
  font-size: 17px;
}
.people-read-error p {
  color: #b3a3bf;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 350px) {
  #screen .people-overview {
    padding-left: 16px;
    padding-right: 16px;
  }
  .people-toolbar {
    gap: 6px;
  }
  .people-toolbar > span {
    font-size: 8px;
  }
  .people-add {
    padding: 0 10px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #screen [data-people-data] {
    transition: none;
  }
}
