/* Torc — charcoal, steel, oxblood. Component styling; first-party assets only. */
:root {
  color-scheme: dark;
  --canvas: #101011;
  --surface: #19191b;
  --surface-raised: #232326;
  --surface-hover: #2b2b2e;
  --line: #363639;
  --control-line: #707074;
  --muted: #b3b0aa;
  --ink: #f2eee8;
  --accent: #b74736;
  --accent-text: #eed6bf;
  --focus: #e5c39e;
  --display: BigShoulders, Impact, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --control-height: 40px;
}
body,
.product-active {
  background: var(--canvas);
  color: var(--ink);
}
body {
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #79382e;
  color: #fff;
}
.muted,
.small.muted {
  color: var(--muted);
}
button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #404040;
  border-radius: 10px;
  background: #252525;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  gap: 8px;
  transition:
    background-color 150ms,
    border-color 150ms,
    box-shadow 150ms;
}
.product-content button,
.product-dialog button {
  border-radius: 10px;
}
button:hover {
  filter: none;
  background-color: #303030;
  border-color: #646464;
}
button:disabled,
.product-content button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button[type="submit"],
.product-content .primary,
.product-dialog .primary,
.product-content .profile-savebar button,
.spark-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff7f2;
  justify-content: center;
  box-shadow: none;
}
button[type="submit"]:hover,
.product-content .primary:hover,
.product-dialog .primary:hover,
.spark-primary:hover {
  background: #bc4334;
  border-color: #bc4334;
}
.secondary,
.product-content .secondary,
.product-dialog .secondary {
  background: #242424;
  border-color: #424242;
  color: var(--ink);
  box-shadow: none;
  justify-content: center;
}
.secondary:hover,
.product-content .secondary:hover,
.product-dialog .secondary:hover {
  background: #303030;
  border-color: #626262;
}
.text-button,
.product-content .text-button,
.product-dialog .text-button {
  background: transparent;
  border-color: transparent;
  color: var(--accent-text);
  box-shadow: none;
  font-weight: 500;
}
.text-button:hover,
.product-content .text-button:hover,
.product-dialog .text-button:hover {
  background: #ffffff08;
  color: #fff4e9;
}
button.danger,
.danger {
  background: #331c19;
  color: #ffd1c6;
  border-color: #75473d;
}
input,
textarea,
select,
.product-content input,
.product-content textarea,
.product-content select,
.product-dialog input,
.product-dialog textarea,
.product-dialog select {
  border-radius: 10px;
  background: #111;
  color: var(--ink);
  border-color: var(--control-line);
  box-shadow: none;
  caret-color: var(--focus);
}
input::placeholder,
textarea::placeholder {
  color: #a6a6a6;
  opacity: 1;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}
select option {
  color: var(--ink);
  background: var(--surface);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
.product-content button:focus-visible,
.product-dialog button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.wordmark {
  letter-spacing: -0.025em;
  gap: 10px;
}
.ring {
  border-color: #dedbd7 #92908d transparent #f1eeea;
  border-bottom-color: transparent;
}
.eyebrow {
  color: #bdb7b0;
}
.preview {
  background: #191919;
  color: #c5c0bb;
  border-bottom: 1px solid #303030;
}
footer {
  color: var(--muted);
  border-color: var(--line);
}
/* The brand is expressive at the entrance; member screens stay quiet. */
.auth-page:not(.product-active) > header {
  max-width: 1400px;
  padding: 24px 36px;
}
.auth-page:not(.product-active) main {
  max-width: 1400px;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  padding: 0 36px;
  margin: 24px auto 70px;
  align-items: center;
}
.auth-page:not(.product-active) .intro {
  position: relative;
  top: auto;
  min-height: 590px;
  padding: 42px 34px;
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: 20px;
  align-self: stretch;
  background: #101010 url("/assets/leather-ring-v1.jpg") 65% center / cover
    no-repeat;
}
.auth-page:not(.product-active) .intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #080808e8, #0808086b 62%, #08080818);
}
.auth-page:not(.product-active) .intro > * {
  position: relative;
  z-index: 1;
}
.auth-page:not(.product-active) .intro .eyebrow {
  letter-spacing: 0.22em;
  font-size: 10px;
}
.auth-page:not(.product-active) .intro h1 {
  font: 800 clamp(88px, 8.5vw, 126px)/0.93 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin: 100px 0 24px;
}
.auth-page:not(.product-active) .intro h1 em {
  color: #ddd4c6;
  font-style: normal;
}
.auth-page:not(.product-active) .intro > p:last-child {
  font-size: 14px;
  color: #e1ddd8;
}
.auth-page:not(.product-active) .workspace {
  min-width: 0;
}
.auth-page:not(.product-active) .panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
}
.auth-page:not(.product-active) .panel h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.auth-page:not(.product-active) .panel > .muted {
  font-size: 14px;
}
.auth-page:not(.product-active) .panel .check {
  font-size: 12px;
  line-height: 1.6;
}
.auth-page:not(.product-active) .panel button {
  min-height: 46px;
}
/* Navigation and page hierarchy. */
.product-active > header {
  padding: 18px 32px;
  border-color: #262626;
}
.product-active > header .wordmark {
  font-size: 30px;
}
.product-active > header .ring {
  width: 21px;
  height: 21px;
  border-width: 4px;
}
.product-active > header > .eyebrow {
  font-size: 9px;
  color: #999;
}
.product-active main {
  margin-top: 0;
  padding-inline: 32px;
}
#product-shell {
  grid-template-columns: 178px minmax(0, 1fr);
  column-gap: 32px;
}
.workspace-rail {
  border-color: #262626;
  padding-top: 24px;
  padding-right: 18px;
}
.rail-brand {
  margin-bottom: 20px;
  color: #aaa;
}
.product-nav {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
.nav-item {
  min-height: 44px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #aaa;
  background: transparent;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: #1b1b1b;
  color: #f3efea;
  border-color: transparent;
}
.nav-item[aria-current="page"] {
  background: #252525;
  color: #fff4e9;
  border-color: transparent;
  box-shadow: none;
}
.nav-item[aria-current="page"] .nav-icon {
  color: #d77b68;
}
.nav-item[aria-current="page"]::before {
  display: none;
}
.nav-icon {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}
.rail-identity {
  border-color: #292929;
  padding-block: 16px;
  border-radius: 0 !important;
}
.rail-identity:hover {
  background: transparent;
}
.mini-avatar,
.rail-identity .mini-avatar {
  background: #2b2b2b;
  color: #e4ded7;
  border: 0;
  border-radius: 12px;
}
.rail-identity .small {
  color: #a5a5a5;
}
.product-content {
  padding-top: 24px;
}
.view-heading,
.discover-heading {
  padding: 0 0 24px;
  margin: 0;
  min-height: 0;
  background: none;
  border: 0;
  border-radius: 0;
  display: block;
  overflow: visible;
}
.view-heading h1,
.product-content .view-heading h1:last-child,
.discover-heading h1 {
  font:
    650 30px/1.2 system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: -0.045em;
  text-transform: none;
  margin: 0;
  font-size: 30px !important;
}
.discover-heading::after {
  display: none;
}
/* Filters: quiet fields, pill choices, one clearly selected state. */
.people-search {
  background: #191919;
  border-color: #717171;
  border-radius: 12px;
  padding: 5px 6px 5px 14px;
  margin-bottom: 16px;
  gap: 10px;
}
.people-search > .nav-icon {
  color: #aaa;
}
.product-content .people-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 40px;
}
.people-search button {
  min-width: 76px;
  min-height: 38px;
  border-radius: 8px;
}
.discovery-intents {
  gap: 6px;
  margin-bottom: 12px;
}
.product-content .intent-pill,
.product-content .shared-filter {
  min-height: 36px;
  width: auto;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #3d3d3d;
  border-radius: 999px !important;
  color: #bdbdbd;
  background: transparent;
  justify-content: center;
}
.product-content .intent-pill:hover,
.product-content .shared-filter:hover {
  background: #242424;
  border-color: #686868;
}
.product-content .intent-pill[aria-pressed="true"],
.product-content .shared-filter[aria-pressed="true"] {
  background: #e6dfd5;
  color: #181818;
  border-color: #e6dfd5;
}
.discovery-filters {
  background: #161616;
  border: 1px solid #373737;
  border-radius: 14px;
  padding: 20px;
}
.filter-summary {
  color: #c1bcb5;
  font-size: 12px;
}
.results-toolbar {
  border-color: #292929;
  padding-top: 12px;
  margin-top: 4px;
  gap: 12px;
}
.results-toolbar > p {
  color: #aaa;
  font-size: 11px;
  line-height: 1.5;
}
.view-switch {
  border: 0;
  background: #1f1f1f;
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}
.product-content .view-button {
  min-height: 32px;
  border-radius: 6px;
  padding: 6px 11px;
  color: #aaa;
  background: transparent;
  border: 0;
}
.product-content .view-button[aria-pressed="true"] {
  background: #3a3a3a;
  color: #f5f0e9;
}
.setup-callout {
  background: #211d19;
  border-color: #554536;
  border-radius: 12px;
  color: #e5d6c6;
}
/* A substantial photo panel with a quiet no-photo fallback. */
.people-grid,
.people-grid:not(.people-list) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
  gap: 14px;
  margin-top: 18px;
}
.person-card {
  background: #171717;
  border: 1px solid #353535;
  border-radius: 16px !important;
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 150ms,
    background-color 150ms;
}
.person-card:hover {
  background: #1c1c1c;
  border-color: #717171;
  transform: none;
  box-shadow: none;
}
.person-card:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.product-content .person-open {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0;
  border-radius: 0 !important;
  color: var(--ink);
  width: 100%;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.product-content .person-open:hover {
  background: transparent;
  border-color: transparent;
}
.person-open:focus-visible {
  outline: 0 !important;
}
.card-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 170px;
  max-height: 240px;
  flex: 0 0 auto;
  overflow: hidden;
  background: linear-gradient(145deg, #292929, #1c1c1c);
  border-bottom: 1px solid #363636;
}
.card-media.tone-1 {
  background: linear-gradient(145deg, #352721, #211b18);
}
.card-media.tone-2 {
  background: linear-gradient(145deg, #293238, #1b2125);
}
.card-media.tone-3 {
  background: linear-gradient(145deg, #322e26, #211e19);
}
.card-media.tone-4 {
  background: linear-gradient(145deg, #303030, #1d1d1d);
}
.card-media > .nav-icon {
  width: 44px;
  height: 44px;
  color: #9e9992;
  stroke-width: 1.1;
}
/* When the media service is connected, fill this reserved box without stretching. */
.card-media > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 35%;
}
.person-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 14px 16px;
}
.person-top {
  min-width: 0;
}
.portrait::before,
.portrait::after,
.portrait-line {
  display: none;
}
.person-title {
  min-width: 0;
  flex: 1;
}
.person-title h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: baseline;
  font:
    650 17px/1.35 system-ui,
    sans-serif;
  letter-spacing: -0.025em;
  color: #f3efea;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.person-title .person-age {
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
}
.area-label {
  font-size: 11px;
  line-height: 1.45;
  color: #b3b3b3;
  overflow-wrap: anywhere;
}
.person-copy {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.person-copy:empty {
  display: none;
}
.person-copy .basic-summary,
.person-copy .identity-summary {
  margin: 0;
  color: #aaa;
  font-size: 11px;
  line-height: 1.5;
}
.person-copy .person-bio {
  color: #d0ceca;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 2.8em;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 0;
  margin: 0;
  -webkit-line-clamp: 2;
}
.person-copy .chips {
  margin: auto 0 0;
  padding: 2px 0 0;
  gap: 5px;
}
.chip,
.person-copy .chip,
.product-content .chips > button,
.product-dialog .chips > button,
.product-content .single-picker > button.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  padding: 5px 9px;
  gap: 5px;
  background: #282828;
  color: #d3cec8;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}
.product-content .chips > button,
.product-dialog .chips > button,
.product-content .single-picker > button.chip {
  min-height: 32px;
  border-color: #626262;
}
.product-content .chips > button:hover,
.product-dialog .chips > button:hover,
.product-content .single-picker > button.chip:hover {
  background: #383838;
  border-color: #919191;
  color: #fff2e5;
}
.profile-limits {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #45403a;
}
.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.product-dialog .social-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  min-height: 32px;
  border: 1px solid #626262;
  border-radius: 8px;
  color: #ddd;
  font-size: 12px;
  text-decoration: none;
}
.product-dialog .social-link:hover {
  background: #303030;
  color: #fff;
}
.social-editor h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.social-editor-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px 0;
}
.social-editor-row .field {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.social-editor-row .choice {
  margin: 18px 0 0;
  white-space: nowrap;
  font-size: 12px;
}
@media (max-width: 700px), (pointer: coarse) {
  .product-dialog .social-link {
    min-height: 44px;
  }
}
.profile-limits h3 {
  margin: 0 0 8px;
}
.profile-limits h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #b6cdb5;
}
.limit-group + .limit-group {
  margin-top: 10px;
}
.limit-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 5px;
}
.limit-level {
  flex: 0 0 32px;
  font-size: 12px;
  color: #c6bdb2;
}
.product-dialog .limit-chip {
  background: #29251f;
  color: #dfd2bd;
  border: 1px solid #736651;
}
.product-dialog .limit-chip.is-shared {
  background: #202c24;
  color: #c1dfbc;
  border-color: #526f55;
}
.limits-editor > p {
  margin: 0 0 12px;
}
.limit-editor-group {
  margin-bottom: 12px;
}
.limit-editor-group h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.limit-editor-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 8px 0;
  border-bottom: 1px solid #333;
}
.limit-editor-row > strong {
  flex: 1 1 140px;
  font-size: 13px;
}
.product-content .limit-editor-row > select {
  width: auto;
  max-width: 180px;
}
.limit-editor-row .choice {
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}
.product-content .limit-remove {
  min-height: 36px;
  min-width: 36px;
  padding: 4px;
  font-size: 20px;
}
.limit-picker > summary {
  cursor: pointer;
  font-size: 13px;
  padding: 8px 0;
}
.limit-picker > input {
  width: 100%;
  margin: 6px 0;
}
.limit-add-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-content .limit-add-row > select:first-child {
  flex: 1 1 180px;
  width: auto;
}
.product-content .limit-add-row > select:nth-child(2) {
  width: auto;
}
.limit-add-row > button {
  white-space: nowrap;
}
@media (max-width: 700px), (pointer: coarse) {
  .product-content .limit-remove {
    min-width: 44px;
    min-height: 44px;
  }
}
.person-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #303030;
}
.person-footer .person-intent {
  color: #b8b1a8;
  font-size: 10px;
  line-height: 1.4;
  border: 0;
  padding: 0;
  margin: 0;
  flex: 1 1 90px;
}
.person-footer .shared-badge {
  position: static;
  inset: auto;
  background: none;
  border: 0;
  padding: 0;
  max-width: 100%;
  color: #d7b995;
  font-size: 10px;
  font-weight: 500;
}
.people-list {
  grid-template-columns: 1fr;
  gap: 8px;
}
.people-list .person-card {
  display: block;
}
.people-list .person-open {
  display: grid;
  grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
}
.people-list .card-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 210px;
  max-height: none;
  border-bottom: 0;
  border-right: 1px solid #363636;
}
.people-list .person-body {
  padding: 14px 16px;
}
.people-list .person-copy {
  padding: 0;
}
.people-list .person-copy .basic-summary {
  margin: 0;
  display: block;
}
.people-list .person-copy .person-bio {
  margin: 0;
}
/* Profile and dialogs: clear hierarchy, uncluttered details and actions. */
.product-dialog {
  background: #171717;
  border: 1px solid #505050;
  border-radius: 20px;
  box-shadow: 0 24px 100px #000a;
}
.product-dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(6px);
}
.product-dialog > .section-heading {
  background: #171717;
  border-color: #303030;
}
.product-dialog > .section-heading h2 {
  font:
    600 13px/1.4 system-ui,
    sans-serif;
  color: #b4b4b4;
  text-transform: none;
  letter-spacing: 0;
}
.product-dialog .profile-hero {
  padding-block: 18px;
  border: 0;
  gap: 16px;
}
.product-dialog .profile-name {
  font:
    650 28px/1.2 system-ui,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 0;
}
.product-dialog .profile-monogram {
  width: 64px;
  height: 64px;
  border: 1px solid #4a4a4a;
  border-radius: 18px;
  background: #282828;
  box-shadow: none;
  color: #e6ddd2;
  font:
    600 28px/1 system-ui,
    sans-serif;
  flex-shrink: 0;
}
.product-dialog .profile-bio {
  font-size: 15px;
  line-height: 1.65;
  color: #dedad5;
}
.profile-basics dt {
  color: #aaa;
}
.profile-basics dd {
  color: #f0ebe5;
}
.product-dialog .profile-details,
.conversation-prompt {
  background: #202020;
  border-color: #3e3e3e;
  border-radius: 12px;
}
.product-dialog .profile-details > summary {
  color: #e0dbd5;
}
.spark-action {
  background: #251c18;
  border: 1px solid #654335;
  border-radius: 14px;
}
.spark-heading,
.mutual-spark,
.spark-feedback {
  color: #e4c2a8;
}
.spark-explainer > summary {
  color: #c4b7aa;
}
/* Messaging: one quiet container, flat rows, readable bubbles. */
.inbox-workspace {
  background: #141414;
  border: 1px solid #393939;
  border-radius: 16px;
  overflow: hidden;
}
.inbox-sidebar {
  background: #191919;
  border-color: #343434;
}
.inbox-sidebar .inbox-tabs {
  gap: 3px;
  padding: 4px;
  background: #101010;
  border-radius: 10px;
}
.inbox-sidebar .inbox-tabs button {
  background: transparent;
  color: #aaa;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  min-height: 36px;
}
.inbox-sidebar .inbox-tabs button[aria-pressed="true"] {
  background: #333;
  color: #f3eee8;
  border-color: #505050;
}
.inbox-list .conversation-row {
  border-radius: 10px !important;
  background: transparent;
  border-color: transparent;
}
.inbox-list .conversation-row:hover {
  background: #242424;
  border-color: transparent;
}
.inbox-list .conversation-row[aria-current="true"] {
  background: #30241e;
  border-color: #624535;
  box-shadow: none;
}
.inbox-list .mini-avatar,
.thread-heading .mini-avatar {
  background: #333;
  border: 0;
  border-radius: 12px;
  color: #e4ddd4;
}
.conversation-copy strong {
  color: #eee9e2;
  font-weight: 600;
}
.conversation-copy .message-preview,
.conversation-meta {
  color: #b2b2b2;
}
.conversation-meta span {
  color: #d5bda5;
}
.inbox-tools,
.thread-heading {
  border-color: #333;
}
.inbox-tools [aria-pressed="true"]::before {
  background: #d7b995;
}
.thread-status,
.thread-loading,
.first-introduction summary {
  color: #bab3aa;
}
.conversation-empty h2 {
  font:
    600 24px/1.3 system-ui,
    sans-serif;
  text-transform: none;
  letter-spacing: -0.025em;
  color: #e8e1d8;
}
.conversation-empty p,
.message-day {
  color: #aaa;
}
.thread-feed .message-bubble {
  background: #292929;
  color: #f0ebe6;
  border: 1px solid #3d3d3d;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 15px;
}
.thread-feed .message-bubble.mine {
  background: #422a20;
  border-color: #6e4c39;
  border-radius: 16px 16px 4px 16px;
}
.thread-feed .message-bubble time {
  color: #c0b3a7;
}
.message-composer {
  background: #202020;
  border-color: #717171;
  border-radius: 14px;
}
.product-content .message-composer textarea {
  background: transparent;
  box-shadow: none;
}
.direction-badge.incoming {
  color: #b8d4ed;
  background: #20303d;
}
.direction-badge.outgoing {
  color: #f1c5a5;
  background: #432b20;
}
.direction-badge.mutual {
  color: #e6d3a7;
  background: #3c3220;
}
/* Editing and activity use the same rounded surfaces and low-noise dividers. */
.editor-panel {
  background: #161616;
  border: 1px solid #393939;
  border-radius: 16px;
}
.editor-menu-item {
  color: #b7b7b7;
  background: transparent;
  border-color: transparent;
}
.editor-menu-item:hover {
  background: #222;
  border-color: transparent;
}
.editor-menu-item[aria-pressed="true"] {
  background: #303030;
  border-color: transparent;
  color: #f0ebe4;
}
.profile-state,
.editor-section,
.interest-option,
.relationship-row {
  border-color: #333;
}
.editor-section > summary,
.basic-heading {
  color: #ded8d0;
}
.interest-option {
  border-radius: 10px;
}
.interest-option.selected {
  background: #28221c;
  border-color: #79614a;
}
.product-content .profile-savebar {
  background: #202020f5;
  border-color: #565656;
  border-radius: 12px;
  box-shadow: 0 8px 32px #0007;
}
.save-state {
  color: #b7b7b7;
}
.has-changes .save-state {
  color: #e1c7aa;
}
.visitor-row {
  color: #f0e9e0;
  background: #191919;
  border-color: #393939;
  border-radius: 12px;
}
.visitor-row:hover {
  background: #232323;
  border-color: #646464;
}
.visitor-row time {
  color: #b4b4b4;
}
.product-status:not(:empty),
.product-active #status:not(:empty) {
  background: #252525;
  border: 1px solid #646464;
  color: #eee7dd;
  border-radius: 12px;
}
.product-status.error:not(:empty),
#status.error:not(:empty) {
  background: #371f19;
  border-color: #a36b56;
  color: #ffdcce;
}
@media (max-width: 1100px) {
  .auth-page:not(.product-active) main {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    padding-inline: 24px;
  }
  .auth-page:not(.product-active) .intro {
    min-height: 530px;
    padding: 32px 24px;
  }
  .auth-page:not(.product-active) .intro h1 {
    font-size: 96px;
    margin-top: 100px;
  }
  #product-shell {
    grid-template-columns: 155px minmax(0, 1fr);
    column-gap: 24px;
  }
}
@media (max-width: 700px) {
  .auth-page:not(.product-active) > header {
    padding: 18px;
  }
  .auth-page:not(.product-active) > header > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .auth-page:not(.product-active) main {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 4px;
    padding: 0 16px;
    gap: 18px;
  }
  .auth-page:not(.product-active) .intro {
    min-height: 280px;
    padding: 24px;
    background-position: 65% 50%;
    border-radius: 16px;
  }
  .auth-page:not(.product-active) .intro h1 {
    font-size: 76px;
    margin: 30px 0 12px;
  }
  .auth-page:not(.product-active) .intro > p:last-child {
    font-size: 12px;
  }
  .auth-page:not(.product-active) .panel {
    padding: 16px 4px;
  }
  .product-active > header {
    padding: 16px 18px;
  }
  .product-active main {
    padding-inline: 16px;
  }
  #product-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .product-content {
    padding-top: 20px;
  }
  .product-nav {
    background: #151515f5;
    backdrop-filter: blur(16px);
    border-top-color: #3c3c3c;
    padding: 6px 8px max(8px, env(safe-area-inset-bottom));
    gap: 4px;
  }
  .product-content .nav-item,
  .nav-item {
    min-height: 50px;
    font-size: 10px;
    padding: 7px 3px;
    border-radius: 10px;
  }
  .view-heading,
  .discover-heading {
    padding-bottom: 20px;
  }
  .view-heading h1,
  .product-content .view-heading h1:last-child,
  .discover-heading h1 {
    font-size: 27px !important;
  }
  .people-grid,
  .people-grid:not(.people-list) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 10px;
  }
  .people-list {
    grid-template-columns: 1fr;
  }
  .product-content .person-open,
  .people-list .person-open {
    padding: 0;
    gap: 0;
  }
  .person-body,
  .people-list .person-body {
    padding: 12px 14px;
    gap: 3px;
  }
  .card-media {
    max-height: 220px;
  }
  .people-list .card-media {
    min-height: 210px;
    max-height: none;
  }
  .people-list .card-media > .nav-icon {
    width: 32px;
    height: 32px;
  }
  .person-title h2 {
    font-size: 17px;
  }
  .person-copy .chips {
    gap: 5px;
  }
  .person-copy .chip {
    padding: 5px 9px;
  }
  .people-list .person-copy {
    padding: 0;
  }
  .people-list .person-copy .person-bio {
    display: -webkit-box;
    margin: 0;
  }
  .product-dialog {
    border-radius: 18px;
  }
  .product-dialog .profile-name {
    font-size: 25px;
  }
  .visitor-row time {
    font-size: 11px;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
  .product-content input,
  .product-content textarea,
  .product-content select,
  .product-dialog input,
  .product-dialog textarea,
  .product-dialog select {
    font-size: 16px;
  }
}
/* Discovery destinations, map picker, and the full profile destination. */
.discovery-sections {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #363636;
  margin: -4px 0 18px;
}
.product-content .discovery-section {
  width: auto;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: #a9a9a9;
  min-height: 44px;
  padding: 8px 0 14px;
  font-size: 15px;
  font-weight: 600;
}
.product-content .discovery-section[aria-pressed="true"] {
  color: #f5ede4;
  border-bottom-color: #c16b54;
}
.product-content .discovery-section:hover {
  background: none;
  color: #fff1e2;
}
.discovery-location {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-content .location-choice {
  width: auto;
  max-width: 360px;
  text-align: left;
  background: none;
  border-color: transparent;
  padding-left: 0;
  font-size: 13px;
  justify-content: flex-start;
}
.discovery-location > button {
  width: auto;
  min-height: 38px;
}
.discovery-location > select {
  width: 92px;
  min-height: 38px;
  margin-left: auto;
  padding: 7px 10px;
  font-size: 12px;
}
.fixed-radius {
  margin-left: auto;
  color: #d6c4af;
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid #514639;
  border-radius: 8px;
}
.discovery-caption {
  color: #b3aaa0;
  font-size: 12px;
  margin: 6px 0 18px;
}
.profile-dialog {
  width: min(1080px, calc(100% - 48px));
  padding: 0;
  border-radius: 22px;
  max-height: calc(100dvh - 40px);
}
.profile-dialog > .section-heading {
  position: sticky;
  top: 0;
  padding: 12px 24px;
  margin: 0;
  border-bottom: 1px solid #333;
  z-index: 3;
  background: #171717f5;
  backdrop-filter: blur(16px);
}
.profile-dialog > .section-heading button {
  min-height: 34px;
  padding: 6px 12px;
}
.profile-dialog > [role="alert"]:empty {
  display: none;
}
.profile-dialog > [role="alert"]:not(:empty) {
  margin: 12px 24px;
}
.profile-sheet {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
}
.profile-visual {
  padding: 24px;
  background: #111;
  border-right: 1px solid #303030;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}
.profile-cover {
  aspect-ratio: 4/5;
  min-height: 280px;
  max-height: 460px;
  border: 1px solid #3f3a34;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 70% 15%, #3b3126, transparent 65%),
    linear-gradient(145deg, #242424, #181818);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #b7afa5;
  position: relative;
  overflow: hidden;
}
.profile-cover > .nav-icon {
  width: 64px;
  height: 64px;
  stroke-width: 1;
  color: #a79d91;
}
.profile-cover > span {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.profile-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.profile-main {
  padding: 26px 30px 30px;
  min-width: 0;
}
.profile-dialog .profile-main .profile-hero {
  padding: 0 0 6px;
  border: 0;
  margin: 0;
}
.profile-dialog .profile-name {
  font:
    650 34px/1.15 system-ui,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.profile-main > .muted,
.profile-intro > .muted {
  font-size: 12px;
  color: #b7b0a8;
  margin: 6px 0 14px;
}
.profile-dialog .profile-bio {
  font-size: 16px;
  line-height: 1.55;
  color: #e3ddd4;
  margin: 16px 0 18px;
}
.profile-main > .profile-section {
  margin: 16px 0;
}
.profile-dialog .profile-main h3 {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  font-weight: 650;
  color: #c2b5a5;
}
.profile-dialog .profile-main .profile-name {
  font-size: 34px;
  font-weight: 650;
  color: #f3ede5;
  letter-spacing: -0.045em;
  margin: 0;
}
.profile-looking > p {
  font-size: 14px;
  line-height: 1.6;
}
.profile-looking .chips .chip {
  color: #e8d1b6;
  background: #30271f;
  border-color: #59452f;
}
.profile-looking > .small {
  font-size: 12px;
}
.profile-overlap {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #44382b;
  border-bottom: 1px solid #44382b;
  margin: 24px 0;
}
.overlap-count {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 3px;
}
.overlap-count strong {
  font:
    500 36px/1 system-ui,
    sans-serif;
  color: #e3c29b;
  letter-spacing: -0.04em;
}
.overlap-count span {
  font-size: 10px;
  color: #c1ae97;
}
.profile-overlap p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #e1d4c3;
}
.profile-overlap .muted {
  color: #b9aea0;
  font-size: 11px;
}
.profile-dialog .profile-details {
  background: none;
  padding: 0;
  border: 0;
  border-top: 1px solid #333;
  border-radius: 0;
  margin: 24px 0;
}
.profile-dialog .profile-details > summary {
  color: #c2b5a5;
  font-size: 13px;
  padding: 16px 0;
}
.profile-details .profile-basics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0;
}
.profile-details .profile-basics > div {
  display: block;
  padding: 0;
  border: 0;
  min-width: 0;
}
.profile-details .profile-basics dt {
  font-size: 10px;
  margin-bottom: 5px;
  color: #aaa;
}
.profile-details .profile-basics dd {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
  color: #e0d9d0;
  overflow-wrap: anywhere;
}
.profile-interest-group {
  margin: 16px 0;
}
.profile-dialog .profile-interest-group .chips {
  gap: 6px;
}
.profile-dialog .profile-interest-group .chips > button {
  min-height: 32px;
  border-color: #4e4b46;
  background: #242321;
  color: #d8cfc3;
  font-size: 11px;
}
.profile-dialog .conversation-prompt {
  margin: 24px 0;
  padding: 18px 20px;
  border: 0;
  border-left: 2px solid #a76d45;
  border-radius: 0 10px 10px 0;
  background: #201c17;
}
.conversation-prompt .eyebrow {
  font-size: 10px;
  color: #c4ab8b;
  margin: 0 0 8px;
}
.conversation-prompt p:last-child {
  font-size: 17px;
  line-height: 1.5;
  color: #e7d9c6;
  margin: 0;
}
.profile-visual .favorite-profile-action {
  margin: 0;
  display: flex;
}
.profile-visual .favorite-profile-action button {
  flex: 1;
  justify-content: center;
}
.profile-visual .spark-action {
  margin: 0;
  padding: 18px;
  border-color: #51402e;
  background: #211b16;
}
.profile-visual .spark-action h3 {
  margin: 0 0 10px;
  font-size: 13px;
}
.profile-visual .spark-action > p {
  font-size: 12px;
  line-height: 1.55;
}
.profile-visual .spark-explainer {
  margin: 14px 0 0;
  padding-top: 12px;
}
.profile-visual .spark-explainer summary {
  font-size: 11px;
}
.profile-dialog .profile-composer {
  padding: 22px;
  background: #1f1f1f;
  border: 1px solid #48433c;
  border-radius: 14px;
  margin-top: 26px;
}
.profile-composer .conversation-starters {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
.profile-composer .conversation-starters summary {
  font-size: 12px;
  color: #c5b7a6;
}
.profile-composer .field {
  margin-top: 16px;
}
.profile-composer > .small {
  font-size: 11px;
  color: #b9b1a8;
}
.profile-main .safety-actions {
  border-color: #333;
  margin-top: 28px;
}
.map-dialog {
  width: min(800px, calc(100% - 32px));
}
.map-city-search {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.map-viewport {
  height: 360px;
  border: 1px solid #6f6f6f;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #272b2d;
  touch-action: none;
  cursor: grab;
}
.map-viewport:active {
  cursor: grabbing;
}
.map-viewport:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.map-tiles {
  position: absolute;
  inset: 0;
  filter: grayscale(0.8) brightness(0.75);
}
.map-tiles > img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.map-pin {
  position: absolute;
  z-index: 2;
  color: #ffbf66;
  text-shadow: 0 0 3px #000;
  width: 28px;
  height: 28px;
  font-size: 30px;
  line-height: 28px;
  text-align: center;
  transform: translate(-50%, -50%);
  border: 2px solid #1c1814;
  border-radius: 50%;
  background: #9d3c22;
  pointer-events: none;
}
.map-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}
.map-controls {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
.map-controls button {
  width: auto;
  min-width: 42px;
  justify-content: center;
}
.map-attribution {
  color: #d2c6b8;
  font-size: 11px;
  display: inline-block;
}
.map-provider-note {
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .discovery-sections {
    gap: 24px;
  }
  .discovery-location .location-choice {
    flex: 1 1 calc(100% - 100px);
    max-width: none;
  }
  .discovery-location > select {
    margin-left: auto;
  }
  .profile-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .profile-dialog > .section-heading {
    padding: 10px 18px;
  }
  .profile-sheet {
    grid-template-columns: 1fr;
  }
  .profile-visual {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .profile-cover {
    grid-column: 1 / -1;
    aspect-ratio: 4/3;
    min-height: 230px;
    max-height: 340px;
  }
  .profile-visual .spark-action {
    grid-column: 1 / -1;
  }
  .profile-main {
    padding: 24px 20px;
  }
  .profile-dialog .profile-main .profile-name {
    font-size: 30px;
  }
  .profile-dialog .profile-composer {
    padding: 18px;
  }
  .map-dialog {
    padding: 18px;
  }
  .map-viewport {
    height: 320px;
  }
}

@media (max-width: 700px) {
  .profile-dialog .profile-sheet {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 24px;
    gap: 14px;
  }
  .profile-dialog .profile-visual,
  .profile-dialog .profile-main {
    display: contents;
  }
  .profile-dialog .profile-cover {
    order: 0;
    width: 100%;
  }
  .profile-dialog .profile-main > * {
    order: 4;
  }
  .profile-dialog .profile-main > .profile-intro {
    order: 1;
  }
  .profile-dialog .profile-intro .profile-bio {
    margin-bottom: 4px;
  }
  .profile-dialog .profile-main > .profile-section {
    margin: 10px 0;
  }
  .profile-dialog .profile-overlap,
  .profile-dialog .profile-details {
    margin: 10px 0;
  }
}
/* Card content is bounded; the full profile retains all text and interests. */
.person-title h2 {
  margin-bottom: 2px;
  line-height: 1.25;
}
.person-card .area-label {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.person-copy .basic-summary {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.person-copy .card-tags {
  --tag-font-size: 10px;
  position: relative;
  font-size: var(--tag-font-size);
  max-height: calc(2 * (1.35em + 8px) + 3px);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 3px 4px;
  margin: 0;
  padding: 0;
}
.person-copy .card-tags .chip {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 3px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: inherit;
  line-height: 1.35;
}
.person-copy .card-tags .tag-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  inset: 0 auto auto 0;
}
.card-tags .tag-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-tags .tag-match-mark {
  flex: none;
  font-weight: 700;
}
.person-copy .card-tags .interest-match {
  background: #3a3026;
  border-color: #8e7356;
  color: #f4d8b4;
}
.person-copy .card-tags .more-tags {
  color: #d9bda0;
  background: transparent;
  border-color: #514438;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .nav-item[aria-current="page"],
  .conversation-row[aria-current="true"],
  .editor-menu-item[aria-pressed="true"],
  .intent-pill[aria-pressed="true"],
  .shared-filter[aria-pressed="true"] {
    border: 2px solid Highlight;
  }
  .person-card:focus-within {
    outline-color: Highlight;
  }
  .intro::before {
    display: none;
  }
}

/* Compact browsing metadata and inbox rows. */
.person-title .person-city {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: normal;
  color: #b3b3b3;
}
.person-card .distance-label {
  display: block;
  margin: 1px 0 0;
  padding: 0;
  color: #c5b49e;
  font-size: 10px;
  line-height: 1.35;
}
.inbox-sidebar {
  padding: 10px;
}
.inbox-sidebar .inbox-tabs {
  margin-bottom: 8px;
}
.inbox-sidebar > p {
  margin-block: 7px 4px;
}
.inbox-list .conversation-row {
  min-height: 56px;
  padding: 7px 8px;
  gap: 8px;
  margin: 0;
  align-items: center;
}
.inbox-list .mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.inbox-list .conversation-copy {
  line-height: 1.3;
}
.inbox-list .message-preview {
  margin-top: 2px;
  line-height: 1.3;
}
.inbox-list .conversation-meta {
  align-self: center;
  gap: 3px;
  padding: 0;
  line-height: 1.2;
}
.conversation-flags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.conversation-flags:empty {
  display: none;
}
.inbox-list .direction-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 14px;
}
.discovery-sections {
  gap: 22px;
}
@media (max-width: 700px) {
  .discovery-sections {
    gap: 18px;
    overflow-x: auto;
  }
  .discovery-section {
    flex-shrink: 0;
  }
}
/* Switch the rail and its tabs together, at the same breakpoint. */
@media (max-width: 700px) {
  .product-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-nav .nav-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    padding: 10px;
    gap: 0;
  }
  .product-nav .nav-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .product-nav .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* List previews use their wider text column; grid cutoffs stay compact. */
.people-list .person-copy .person-bio {
  -webkit-line-clamp: 4;
  max-height: 5.6em;
}
.people-list .person-copy .card-tags {
  --tag-font-size: 11px;
}
.people-list .card-media {
  min-height: 160px;
}
@media (max-width: 700px) {
  .people-list .person-copy .person-bio {
    -webkit-line-clamp: 3;
    max-height: 4.2em;
  }
  .people-list .card-media {
    min-height: 130px;
  }
}

/* Grid cards stay uniform. List rows shrink to content within a firm cap. */
.person-card .person-body {
  box-sizing: border-box;
  height: 12.5rem;
  min-height: 0;
  flex: 0 0 auto;
  overflow: hidden;
}
.people-list .person-open,
.people-list .person-body {
  height: auto;
  max-height: 15rem;
}
.person-card .person-top {
  flex-shrink: 0;
}
.person-card .person-copy {
  min-height: 0;
}
.person-card .person-copy > * {
  flex-shrink: 0;
}
.person-card .person-title h2 {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.person-title .person-name,
.person-title .person-city {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.person-title .has-city .person-name {
  max-width: 60%;
}
.person-title .person-age {
  flex: none;
}
.person-card .distance-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.person-card .person-copy .basic-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
}
@media (max-width: 700px) {
  .people-list .person-open,
  .people-list .person-body {
    max-height: 14rem;
  }
}

/* Circle: compact, private lists and explicit mutual relationships. */
.circle-friends {
  display: grid;
  gap: 0;
}
.circle-friend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 4px;
  border-bottom: 1px solid #343434;
  min-width: 0;
}
.circle-peer {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-weight: 650;
}
.friend-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.friend-actions button {
  min-height: 36px;
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
}
.friend-state {
  color: #c9c4bb;
  font-size: 12px;
}
.circle-connections .relationship-row {
  padding: 12px 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #343434;
  border-radius: 0;
  background: transparent;
}
.circle-connections .relationship-row p {
  margin: 3px 0;
}
.circle-connections .relationship-row .button-row {
  gap: 6px;
  margin-top: 6px;
}
.circle-connections .relationship-row button {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
}
.connection-link {
  color: #ede3d3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-connections p {
  margin: 6px 0;
}
.visit-privacy {
  padding: 14px 0;
  border-top: 1px solid #343434;
}
.visit-privacy p {
  margin: 4px 0;
}
.profile-visual .favorite-profile-action {
  flex-wrap: wrap;
  gap: 6px;
}
.profile-visual .favorite-profile-action > .friend-actions {
  flex: 1 1 auto;
}
.profile-visual .favorite-profile-action button {
  flex: 0 1 auto;
}
.profile-dialog .profile-visual .spark-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 10px;
}
.profile-dialog .profile-visual .spark-action > button {
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 7px 12px;
}
.profile-dialog .profile-visual .spark-action > p {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1.4;
}
.profile-dialog .profile-visual .spark-action .spark-explainer {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 11px;
}
.profile-dialog .profile-visual .spark-explainer[open] {
  flex-basis: 100%;
}
.profile-dialog .profile-visual .spark-explainer summary {
  min-height: 32px;
  display: flex;
  align-items: center;
}
.profile-dialog .profile-visual .spark-explainer p {
  margin: 4px 0;
  font-size: 11px;
}
@media (max-width: 560px) {
  .circle-friend {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .circle-friend .friend-actions {
    margin-left: auto;
  }
}

/* Shared kink filtering is an additional requirement, not a separate search. */
.discovery-choices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.shared-filter-help {
  font-size: 11px;
  line-height: 1.35;
}
.shared-filter-help[hidden] {
  display: none;
}

/* Keep Circle pills clear of their section divider, including keyboard focus rings. */
.product-content .circle-sections {
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.product-content .circle-tab {
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #3d3d3d;
  border-radius: 8px;
  background: transparent;
  color: #bdbdbd;
  font-size: 13px;
}
.product-content .circle-tab:hover {
  border-color: #74706a;
  background: #242424;
}
.product-content .circle-tab[aria-pressed="true"] {
  border-color: #e6dfd5;
  background: #e6dfd5;
  color: #181818;
}

/* Symmetric connections have no role control, including the field label. */
.product-dialog .relationship-role[hidden] {
  display: none !important;
}
/* Inbox sits directly on the workspace; only the column divider remains. */
.product-content .inbox-workspace {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.product-content .inbox-sidebar {
  background: transparent;
  padding-left: 0;
}
.product-content .conversation-pane {
  background: transparent;
}
.product-nav .nav-item,
.inbox-tabs button {
  position: relative;
}
.unread-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #f05c62;
  vertical-align: middle;
  box-shadow: 0 0 0 2px #171717;
}
.product-nav .unread-dot {
  position: absolute;
  top: 10px;
  right: 10px;
}
.inbox-tabs .unread-dot {
  margin-left: 5px;
}
.unread-dot[hidden] {
  display: none !important;
}

/* One control frame across the editor, Refine, messages and dialogs. */
:root {
  --field-height: 38px;
  --field-radius: 8px;
  --field-background: #151515;
  --field-border: #717171;
  --field-padding: 8px 11px;
}
.product-active
  :is(.product-content, .product-dialog)
  :is(
    input:not(
      [type="checkbox"],
      [type="radio"],
      [type="range"],
      [type="color"],
      [type="file"],
      [type="hidden"]
    ),
    select,
    textarea
  ) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: var(--field-height);
  padding: var(--field-padding);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  background-color: var(--field-background);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  box-shadow: none;
}
.product-active
  :is(.product-content, .product-dialog)
  :is(
    input:not(
      [type="checkbox"],
      [type="radio"],
      [type="range"],
      [type="color"],
      [type="file"],
      [type="hidden"]
    ),
    select:not([multiple])
  ) {
  height: var(--field-height);
}
.product-active :is(.product-content, .product-dialog) select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #bfbab2 50%),
    linear-gradient(135deg, #bfbab2 50%, transparent 50%);
  background-position:
    calc(100% - 17px) center,
    calc(100% - 12px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.product-active :is(.product-content, .product-dialog) textarea {
  resize: vertical;
}
.product-active
  :is(.product-content, .product-dialog)
  :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.product-active
  :is(.product-content, .product-dialog)
  :is(input, select, textarea):disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.product-active
  :is(.product-content, .product-dialog)
  :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #e87970;
}
/* Search has one shared frame rather than an input border nested inside it. */
.product-active .product-content .people-search {
  min-height: var(--field-height);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  background: var(--field-background);
}
.product-active .product-content .people-search input[type="search"] {
  border: 0;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 700px), (pointer: coarse) {
  :root {
    --field-height: 44px;
  }
  .product-active
    :is(.product-content, .product-dialog)
    :is(
      input:not(
        [type="checkbox"],
        [type="radio"],
        [type="range"],
        [type="color"],
        [type="file"],
        [type="hidden"]
      ),
      select,
      textarea
    ) {
    font-size: 16px;
  }
}
@media (forced-colors: active) {
  .product-active
    :is(.product-content, .product-dialog)
    select:not([multiple]) {
    appearance: auto;
    background-image: none;
    padding-right: 11px;
  }
}

@media (max-width: 700px) {
  .product-nav .unread-dot {
    top: 7px;
    right: calc(50% - 21px);
  }
}

/* Full profiles: one action column and compact, consistent disclosures. */
.profile-dialog .profile-visual {
  padding: 20px;
  gap: 10px;
}
.profile-dialog .profile-main {
  padding: 20px 24px 24px;
}
.profile-dialog .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.profile-dialog .profile-actions > button {
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
}
.profile-dialog .profile-actions .favorite-profile-action {
  margin: 0;
  gap: 6px;
}
.profile-dialog .profile-actions > p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}
.profile-dialog .profile-actions .safety-actions {
  gap: 16px;
  justify-content: flex-start;
  margin: 2px 0 0;
  padding-top: 4px;
  border-color: #333;
}
.profile-dialog .profile-actions .safety-actions button {
  margin: 0;
  min-height: 36px;
}
.profile-dialog p {
  line-height: 1.4;
  margin-block: 6px;
}
.profile-dialog .profile-intro > .profile-location {
  margin: 2px 0 4px;
}
.profile-dialog .profile-intro > .distance-label {
  margin: 0 0 6px;
}
.profile-dialog .profile-intro .profile-bio {
  font-size: 15px;
  line-height: 1.4;
  margin: 10px 0;
}
.profile-dialog .profile-main h3:not(.profile-name) {
  margin-bottom: 6px;
}
.profile-dialog .profile-main > .profile-section,
.profile-dialog .profile-interest-group {
  margin: 10px 0;
}
.profile-dialog .profile-looking > p {
  margin: 5px 0;
  line-height: 1.4;
}
.profile-dialog .profile-overlap {
  margin: 12px 0;
  padding: 10px 0;
  gap: 14px;
}
.profile-dialog .profile-overlap p {
  margin: 3px 0;
  line-height: 1.4;
}
.profile-dialog .profile-interest-group .chips {
  gap: 4px;
}
.profile-dialog .profile-socials {
  margin: 8px 0;
}
.profile-dialog .conversation-prompt {
  margin: 12px 0;
  padding: 10px 12px;
}
.profile-dialog .conversation-prompt p:last-child {
  font-size: 15px;
  line-height: 1.4;
}
.profile-dialog .conversation-prompt .eyebrow {
  margin-bottom: 4px;
}
.profile-dialog .profile-composer {
  padding: 14px;
  margin-top: 14px;
}
.profile-dialog .profile-composer .field {
  margin-top: 10px;
}
.profile-dialog .profile-composer .button-row {
  margin: 8px 0;
  gap: 6px;
}
.profile-dialog .profile-disclosure {
  margin: 10px 0;
  padding: 0;
  background: #1c1c1c;
  border: 1px solid #393735;
  border-radius: 9px;
  overflow: hidden;
}
.profile-dialog .profile-intro .profile-connections {
  margin: 6px 0 8px;
}
.profile-dialog .profile-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 8px 12px;
  list-style: none;
  color: #d7cec2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  outline-offset: -3px;
}
.profile-disclosure > summary::-webkit-details-marker {
  display: none;
}
.profile-disclosure > summary::marker {
  content: "";
}
.profile-disclosure > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid #b3a18c;
  border-bottom: 1.5px solid #b3a18c;
  transform: rotate(45deg) translate(-2px, -2px);
}
.profile-disclosure[open] > summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}
.profile-dialog .profile-disclosure > summary:hover {
  background: #272421;
  color: #f2e9df;
}
.profile-dialog .profile-disclosure-content {
  padding: 0 12px 10px;
}
.profile-dialog .profile-connections p {
  margin: 3px 0;
  font-size: 13px;
  line-height: 1.35;
}
.profile-dialog .profile-details .profile-basics {
  gap: 8px 14px;
}
.profile-dialog .profile-details .profile-basics dt {
  margin-bottom: 2px;
}
.profile-dialog .profile-details .profile-basics dd {
  line-height: 1.35;
}
@media (max-width: 700px) {
  .profile-dialog .profile-sheet {
    gap: 10px;
  }
  .profile-dialog .profile-actions {
    order: 2;
  }
  .profile-dialog .profile-main > .profile-section,
  .profile-dialog .profile-overlap,
  .profile-dialog .profile-details {
    margin: 4px 0;
  }
}
@media (max-width: 700px), (pointer: coarse) {
  .profile-dialog .profile-actions button,
  .profile-dialog .profile-disclosure > summary {
    min-height: 44px;
  }
}

.profile-dialog .profile-main > .muted {
  margin: 6px 0;
}
.profile-dialog .profile-limits {
  margin-top: 12px;
  padding-top: 10px;
}

.profile-dialog .profile-actions .spark-action {
  padding: 8px;
  gap: 4px;
}
.profile-dialog .profile-actions .spark-action > button {
  flex: 1 0 100%;
  width: 100%;
  min-height: 40px;
  justify-content: center;
}
.profile-dialog .profile-actions .spark-action > p,
.profile-dialog .profile-actions .spark-action .spark-explainer {
  flex-basis: 100%;
}
.profile-dialog .profile-actions .message-toggle {
  display: flex;
  justify-content: space-between;
  min-height: 40px;
}
.message-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.message-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}
.profile-dialog .profile-actions .profile-composer {
  margin: 0;
  padding: 10px;
}
.profile-dialog .intro-starters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.intro-starter-choice {
  min-width: 0;
}
.profile-dialog .intro-starter {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 7px 6px;
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
}
.profile-dialog .intro-starter[aria-pressed="true"] {
  background: #352820;
  border-color: #ae7955;
  color: #f3deca;
}
.profile-dialog .intro-starter:disabled {
  background: #222;
  border-color: #454545;
  color: #999;
  cursor: not-allowed;
  opacity: 1;
}

.starter-unavailable {
  display: block;
  margin-top: 4px;
  color: #aaa;
  font-size: 10px;
  line-height: 1.3;
}
.profile-dialog .profile-actions .profile-composer > button {
  width: 100%;
  margin-top: 10px;
}
.profile-dialog .profile-actions .profile-composer .character-count {
  margin: 4px 0;
}
.starter-preferences {
  margin: 12px 0;
  padding: 0;
  border: 0;
}
.starter-preferences legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
@media (max-width: 700px), (pointer: coarse) {
  .profile-dialog .profile-actions .spark-action > button,
  .profile-dialog .profile-actions .message-toggle,
  .profile-dialog .intro-starter {
    min-height: 44px;
  }
}

/* Albums: compact photo grids and revocable member access. */
.profile-dialog .profile-actions .spark-action {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.profile-dialog .profile-actions .spark-action > button {
  width: 100%;
  min-height: 42px;
}
.profile-spark-footer {
  margin: 18px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line, #35312e);
  color: var(--muted, #aba7a2);
  font-size: 0.78rem;
}
.profile-spark-footer summary {
  cursor: pointer;
}
.profile-spark-footer p {
  margin: 6px 0 0;
}
.profile-cover.has-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.profile-cover.has-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-dialog .profile-cover .profile-photo-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  border-radius: inherit;
  padding: 0;
}
.photo-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 20px;
  color: #fff;
  background: #141414bf;
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
}
.photo-manager {
  min-width: 0;
}
.photo-manager > p {
  margin: 0 0 10px;
}
.album-create,
.album-toolbar,
.album-rename,
.album-grant,
.album-grantee,
.photo-viewer-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.album-create {
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.album-create > input {
  flex: 1 1 140px;
  min-width: 0;
}
.album-create > select {
  flex: 0 1 110px;
}
.album-editor {
  border: 1px solid var(--line, #35312e);
  background: #ffffff02;
  border-radius: 10px;
  margin: 0 0 10px;
  overflow: hidden;
}
.album-editor > summary {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}
.album-editor > summary > span:first-child,
.photo-album summary > span:first-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
.album-kind {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted, #aaa49e);
  flex-shrink: 0;
}
.album-content {
  padding: 0 12px 12px;
}
.album-toolbar {
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.album-rename {
  flex: 1 1 160px;
  min-width: 0;
}
.album-rename > input,
.album-grant > input {
  flex: 1;
  min-width: 0;
}
.photo-upload {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #716253;
  border-radius: 7px;
  padding: 6px 12px;
  color: #e8d9c9;
  cursor: pointer;
  margin: 0;
}
.photo-upload:focus-within {
  outline: 2px solid #bfa27e;
  outline-offset: 2px;
}
.photo-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 7px;
  min-width: 0;
}
.photo-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff12;
  border-radius: 7px;
  background: #1b1a19;
}
.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}
.photo-tile:hover img {
  transform: scale(1.03);
}
.photo-tile[aria-pressed="true"] {
  outline: 2px solid #c6a57a;
  outline-offset: -2px;
}
.photo-tile[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #c6a57a;
  color: #171412;
  font-weight: 700;
}
.photo-edit-tile {
  min-width: 0;
}
.photo-tile-actions {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.photo-tile-actions button {
  min-height: 32px;
  font-size: 0.72rem;
  padding: 3px 0;
}
.photo-tile-actions button[aria-pressed="true"] {
  color: #d9bc96;
}
.album-access {
  border-top: 1px solid #ffffff12;
  margin-top: 12px;
  padding-top: 10px;
}
.album-access h3 {
  margin: 0 0 4px;
  font-size: 0.85rem;
}
.album-access p {
  margin: 4px 0 8px;
}
.album-grantee {
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 4px;
}
.album-grantee > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.album-grantee button {
  flex-shrink: 0;
}
.profile-albums {
  margin: 12px 0;
}
.profile-albums .photo-grid {
  margin: 0 10px 10px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.profile-albums .photo-album > summary {
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile-albums .album-kind {
  margin-left: auto;
}
.photo-viewer {
  max-width: min(94vw, 950px);
  width: max-content;
  max-height: 94dvh;
  padding: 12px;
  border: 1px solid #4c443c;
  border-radius: 12px;
  color: #eee8e0;
  background: #141312;
}
.photo-viewer::backdrop {
  background: #050505e6;
}
.photo-viewer-stage {
  min-width: min(70vw, 400px);
}
.photo-viewer-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(86vw, 900px);
  max-height: 72dvh;
  object-fit: contain;
  margin: auto;
}
.photo-viewer-bar {
  justify-content: space-between;
  font-size: 0.8rem;
}
.photo-viewer-bar button {
  min-height: 38px;
}
.photo-picker {
  padding: 12px;
  border: 1px solid #615342;
  background: #211d19;
  border-radius: 10px;
  margin: 8px 0;
}
.photo-picker .photo-grid {
  max-height: 260px;
  overflow-y: auto;
  margin: 10px 0;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
}
.photo-picker > textarea {
  width: 100%;
}
.photo-picker .section-heading h3 {
  margin: 0;
}
.photo-picker > p {
  margin: 5px 0;
}
.message-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: min(320px, 65vw);
  margin: 4px 0;
}
.message-photos > :only-child {
  grid-column: 1 / -1;
  max-height: 320px;
}
.message-photos .photo-tile {
  min-height: 0;
}
@media (max-width: 700px) {
  .profile-album-slot {
    order: 4;
  }
  .album-create > button {
    min-height: 40px;
  }
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  }
  .album-kind {
    font-size: 0.67rem;
  }
}
.custom-tag-picker {
  margin: 6px 0 10px;
  min-width: 0;
}
.custom-tag-picker:has(> [hidden]):not(:has(> :not([hidden]))) {
  display: none;
}
.custom-tag-results {
  display: grid;
  gap: 4px;
  max-height: 240px;
  overflow: auto;
  margin-bottom: 8px;
}
.custom-tag-results .custom-tag-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  background: #ffffff04;
  border: 1px solid #ffffff12;
  border-radius: 7px;
}
.custom-tag-result > span:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.custom-tag-result strong {
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.custom-tag-result small,
.tag-user-count {
  font-size: 0.72rem;
  color: #aaa39b;
}
.tag-user-count {
  flex-shrink: 0;
}
.custom-tag-create {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.custom-tag-create select {
  flex: 1 1 180px;
  min-width: 0;
}
.custom-tag-create button {
  font-size: 0.78rem;
}
.interest-controls input {
  width: 100%;
  min-width: 0;
}
.limit-editor-row input:not([type="checkbox"]) {
  min-width: 80px;
  max-width: 160px;
}
.custom-tag-notice {
  flex-basis: 100%;
  color: #aaa39b;
  font-size: 0.72rem;
}
/* Private writings: compact library, quiet editor and permission-checked reader. */
.writings-manager {
  min-width: 0;
}
.writings-manager > .section-heading {
  align-items: start;
  gap: 10px;
}
.writings-manager h3,
.writing-picker h3 {
  margin: 0;
}
.writings-manager .section-heading p {
  margin: 4px 0;
}
.writing-workspace {
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(0, 2fr);
  gap: 16px;
}
.writing-list,
.writing-picker-list {
  display: grid;
  align-content: start;
  gap: 5px;
}
.writing-list-item {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 10px;
  text-align: left;
  border: 1px solid #ffffff12;
  border-radius: 8px;
  background: #ffffff03;
  min-width: 0;
}
.writing-list-item strong {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.writing-list-item[aria-pressed="true"] {
  border-color: #af8b61;
  background: #af8b6110;
}
.writing-editor {
  display: grid;
  gap: 10px;
}
.writing-editor > input,
.writing-editor > textarea {
  width: 100%;
  min-width: 0;
}
.writing-editor > textarea {
  min-height: 320px;
  line-height: 1.65;
  resize: vertical;
}
.writing-metadata {
  display: grid;
  grid-template-columns: minmax(100px, 0.6fr) minmax(0, 1fr);
  gap: 8px;
}
.writing-metadata label,
.writing-metadata input {
  min-width: 0;
}
.writing-editor-footer,
.writing-grantee {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.writing-editor-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.writing-access {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #ffffff15;
}
.writing-access h4,
.writing-access p {
  margin: 0 0 6px;
}
.writing-grantee {
  font-size: 0.8rem;
}
.writing-grantee > span {
  overflow-wrap: anywhere;
}
.writing-picker {
  border: 1px solid #615342;
  background: #211d19;
  border-radius: 10px;
  padding: 12px;
  margin: 8px 0;
}
.writing-picker-list {
  max-height: 250px;
  overflow-y: auto;
  margin: 10px 0;
}
.writing-message {
  display: grid;
  text-align: left;
  gap: 5px;
  width: min(290px, 65vw);
  padding: 12px;
  border: 1px solid #9d795b66;
  border-radius: 8px;
  background: #9d795b12;
  color: inherit;
}
.writing-message strong {
  overflow-wrap: anywhere;
}
.writing-message.unavailable {
  border-style: dashed;
  opacity: 0.7;
}
.writing-reader {
  width: min(760px, 94vw);
  max-width: 94vw;
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #51463b;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 28px);
  background: #191715;
  color: #e9e2d9;
}
.writing-reader::backdrop {
  background: #080706d9;
}
.writing-reader h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  margin: 16px 0 10px;
}
.writing-reader-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #b7aba0;
  font-size: 0.75rem;
}
.writing-prose {
  margin-top: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  font-size: 1rem;
}
.writing-reader-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.writing-report {
  display: grid;
  width: 100%;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #ffffff15;
}
.writing-report textarea {
  width: 100%;
}
@media (max-width: 900px) {
  .writing-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .writing-list {
    max-height: 180px;
    overflow: auto;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
@media (max-width: 700px) {
  .writing-editor > textarea {
    min-height: 260px;
  }
  .composer-bottom {
    flex-wrap: wrap;
  }
}
/* Albums sit with profile actions; private covers never use photo thumbnails. */
.profile-dialog .profile-actions .profile-album-slot {
  width: 100%;
  min-width: 0;
}
.profile-dialog .profile-albums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
}
.profile-dialog .profile-album-tile {
  padding: 0;
  display: grid;
  gap: 7px;
  text-align: left;
  border: 0;
  border-radius: 9px;
  background: none;
  min-width: 0;
  color: #e5ddd3;
}
.album-tile-cover {
  display: block;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid #ffffff16;
  background: #1c1916;
}
.album-tile-cover > img:not(.private-album-mark) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.profile-album-tile:hover .album-tile-cover > img:not(.private-album-mark) {
  transform: scale(1.04);
}
.album-tile-cover.is-private {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(ellipse at 50% 0, #393129, #171513 75%);
}
.album-tile-cover .private-album-mark {
  width: 48%;
  max-width: 72px;
  height: auto;
}
.private-album-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbae9d;
}
.album-tile-count {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 7px;
  background: #101010bf;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  font-size: 0.67rem;
  color: #eee6dc;
}
.album-tile-title {
  font-size: 0.76rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-status {
  grid-column: 1/-1;
}
.album-order-controls {
  display: flex;
  gap: 3px;
  margin-left: auto;
  flex-shrink: 0;
}
.album-order-controls button {
  padding: 3px 7px;
  min-width: 30px;
  min-height: 32px;
}
.photo-tile-actions {
  flex-wrap: wrap;
  justify-content: start;
  gap: 5px 9px;
}
.photo-viewer {
  width: min(1120px, 96vw);
  max-width: 96vw;
  max-height: 96dvh;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ffffff26;
  box-shadow: 0 30px 120px #000a;
  background: #11100f;
}
.photo-viewer-bar {
  padding: 12px 18px;
  border-bottom: 1px solid #ffffff12;
  gap: 16px;
}
.photo-viewer-heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.photo-viewer-heading strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-viewer-bar button {
  min-width: 48px;
  min-height: 40px;
}
.photo-viewer-stage {
  position: relative;
  min-width: 0;
  width: 100%;
  height: min(65dvh, 720px);
  background: radial-gradient(ellipse, #23201c, #080807);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-viewer-image {
  width: 100%;
  height: 100%;
}
.photo-viewer-stage .photo-viewer-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.photo-viewer .photo-viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 54px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #ffffff25;
  background: #171411b8;
  color: #f4ede3;
  font-size: 32px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.photo-previous {
  left: 12px;
}
.photo-next {
  right: 12px;
}
.photo-viewer-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid #ffffff12;
}
.photo-viewer-count {
  font-size: 0.75rem;
  color: #b8ab9d;
  flex-shrink: 0;
  min-width: 48px;
}
.photo-filmstrip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  min-width: 0;
  padding: 3px;
  scrollbar-width: thin;
}
.photo-filmstrip .photo-film-frame {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 6px;
  opacity: 0.5;
}
.photo-filmstrip .photo-film-frame[aria-pressed="true"] {
  opacity: 1;
  outline: 2px solid #ccb08a;
  outline-offset: 1px;
}
.photo-film-frame[aria-pressed="true"]::after {
  display: none;
}
@media (max-width: 700px) {
  .profile-dialog .profile-actions .profile-albums {
    gap: 9px;
  }
  .photo-viewer {
    width: 96vw;
  }
  .photo-viewer-stage {
    height: 60dvh;
  }
  .photo-viewer-bar,
  .photo-viewer-footer {
    padding: 8px 12px;
  }
  .photo-filmstrip .photo-film-frame {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
}
.profile-dialog > .section-heading .profile-back {
  flex-shrink: 0;
  min-height: 40px;
}
.profile-dialog > .section-heading {
  gap: 12px;
}
.profile-dialog > .section-heading #dialog-title {
  flex: 1;
}
.profile-dialog .profile-actions .message-toggle {
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-inline: 30px;
}
.profile-dialog .message-toggle::after {
  position: absolute;
  right: 14px;
  top: calc(50% - 5px);
}

/* Consistent, visible disclosure controls across filters, editor and dialogs. */
.product-content details > summary,
.product-dialog details > summary,
#account details > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 42px 10px 12px;
  margin: 0;
  border: 1px solid #49433d;
  border-radius: 9px;
  background: linear-gradient(110deg, #2a2724, #201f1e);
  color: #f1e9df;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background 140ms ease;
}
.product-content details > summary::-webkit-details-marker,
.product-dialog details > summary::-webkit-details-marker,
#account details > summary::-webkit-details-marker {
  display: none;
}
.product-content details > summary::marker,
.product-dialog details > summary::marker,
#account details > summary::marker {
  content: "";
}
.product-content details > summary::after,
.product-dialog details > summary::after,
#account details > summary::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid #cfb796;
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 140ms ease;
}
.product-content details[open] > summary,
.product-dialog details[open] > summary,
#account details[open] > summary {
  background: #302a24;
  border-color: #8a7054;
  margin-bottom: 10px;
}
.product-content details[open] > summary::after,
.product-dialog details[open] > summary::after,
#account details[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.product-content details > summary:hover,
.product-dialog details > summary:hover,
#account details > summary:hover {
  border-color: #b19879;
  background: #332e28;
}
.product-content details > summary:focus-visible,
.product-dialog details > summary:focus-visible,
#account details > summary:focus-visible {
  outline: 2px solid #d8b98e;
  outline-offset: 3px;
}
.basics-filters > details,
.basics-filters > .filter-grid + details {
  margin-top: 10px;
}
.product-content select:not([multiple]),
.product-dialog select:not([multiple]),
#account select:not([multiple]) {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23cfb796' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.album-manager-heading {
  margin-bottom: 10px;
}
.album-manager-heading h3,
.album-access h3 {
  margin: 0;
  font-size: 0.9rem;
}
.album-create {
  padding: 12px;
  background: #201e1c;
  border: 1px solid #4b4035;
  border-radius: 10px;
}
.album-create > p {
  flex-basis: 100%;
  margin: 0;
}
.album-editor > summary .album-kind {
  margin-left: auto;
}
.album-toolbar {
  gap: 8px 12px;
}
.album-toolbar .album-rename {
  flex: 1 0 100%;
  order: 3;
}
.album-access > .section-heading {
  gap: 12px;
  margin-bottom: 6px;
}
.album-access .album-grant {
  flex-wrap: wrap;
  margin-block: 10px;
}
.album-access-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.album-access-list .album-grantee {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff12;
}
.album-member-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #352e27;
  color: #dfc5a4;
}
.album-member-name {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1.3;
}
.album-member-name strong,
.album-member-name > span {
  display: block;
  overflow-wrap: anywhere;
}
.album-member-name > span {
  font-size: 0.75rem;
}
.album-grantee > button {
  min-height: 36px;
  padding: 6px 9px;
}
.profile-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}
.profile-share .profile-share-button {
  flex: 0 0 112px;
  width: 112px;
  min-height: 32px;
  padding: 6px 10px;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  border-radius: 8px;
}
.view-heading:has(> .profile-share) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (pointer: coarse) {
  .profile-share .profile-share-button {
    min-height: 44px;
  }
}
.profile-share-link {
  width: min(100%, 320px);
  font-size: 0.75rem;
}
.profile-dialog > .section-heading {
  flex-wrap: wrap;
}
@media (prefers-reduced-motion: reduce) {
  .product-content details > summary,
  .product-dialog details > summary,
  .product-content details > summary::after,
  .product-dialog details > summary::after {
    transition: none;
  }
}

.transient-notice:not(:empty) {
  display: flex;
  align-items: center;
  gap: 12px;
}
.transient-notice > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.transient-notice .notice-dismiss {
  flex: 0 0 32px;
  width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  border-radius: 6px;
}
.transient-notice .notice-dismiss:hover {
  background: #ffffff12;
}
.photo-manager form button {
  margin-top: 0;
}

/* Profile sections share one header, one tab row and one content edge. */
.profile-heading-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}
.profile-heading-title .visibility-state {
  padding: 3px 8px;
  border: 1px solid #49443d;
  border-radius: 20px;
  font-size: 11px;
  line-height: 1.4;
}
.product-content .editor-workspace {
  display: block;
  min-width: 0;
}
.product-content .editor-menu {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 4px;
  padding: 0 0 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid #35312d;
  scrollbar-width: thin;
}
.product-content .editor-menu-item,
.product-content .editor-preview {
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 7px 11px;
  margin: 0;
  white-space: nowrap;
  justify-content: center;
  font-size: 12px;
}
.product-content .editor-menu-item[aria-pressed="true"] {
  background: #332a24;
  border: 1px solid #8a7054;
  color: #f5e8d9;
}
.product-content .editor-preview {
  margin-left: auto;
}
.product-content .editor-body,
.product-content .profile-editor {
  margin: 0;
  padding-top: 0;
  min-width: 0;
}
.product-content .editor-panel {
  padding: 18px;
  margin: 0;
  min-width: 0;
}
.product-content .editor-panel > .editor-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0 0 12px;
  margin: 0 0 16px;
  border-bottom: 1px solid #35312d;
}
.product-content .editor-panel-heading > h2 {
  margin: 0;
  padding: 0;
  font:
    600 18px/1.3 system-ui,
    sans-serif;
  letter-spacing: -0.02em;
  color: #f1e8dd;
}
.product-content .editor-panel-heading > button {
  margin: 0;
  min-height: 34px;
  width: auto;
  padding: 6px 12px;
  font-size: 12px;
}
.product-content .editor-panel > .editor-section,
.product-content .editor-panel > .account-settings {
  margin-top: 0;
}
.product-content .editor-panel > .editor-section > .field:first-child {
  margin-top: 0;
}
.product-content .section-heading > :is(h2, h3, h4, p) {
  margin-block: 0;
  min-width: 0;
}
.product-content .section-heading {
  flex-wrap: wrap;
  gap: 8px 12px;
}
.product-content .section-heading > button {
  flex-shrink: 0;
  margin-top: 0;
}
/* Use the editor's available width, not the viewport, for the writing layout. */
.writings-manager {
  container-type: inline-size;
}
.writings-manager > [role="status"]:empty {
  display: none;
}
.writing-workspace {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.writing-library,
.writing-editor-slot {
  min-width: 0;
}
.writing-library {
  display: grid;
  gap: 10px;
}
.writing-library > input {
  margin: 0;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 12px;
}
.writing-library .writing-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  gap: 6px;
}
.writing-list .writing-list-item {
  min-height: 60px;
  margin: 0;
  padding: 10px;
  align-content: center;
}
.writing-list-item strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}
.writing-editor {
  gap: 12px;
}
.editor-panel .writing-editor .field {
  margin: 0;
  display: grid;
  gap: 5px;
}
.writing-editor .field > span {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: #bfb4a8;
}
.writing-editor :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.writing-editor input,
.writing-editor select {
  min-height: 40px;
  padding: 9px 11px;
}
.writing-editor > textarea {
  min-height: 340px;
  max-height: 70dvh;
  padding: 14px;
  font-size: 15px;
  line-height: 1.7;
}
.writing-metadata {
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1fr);
  align-items: start;
}
.writing-editor-footer {
  min-height: 36px;
  gap: 10px;
}
.writing-editor-footer > button {
  margin: 0;
  width: auto;
  min-height: 34px;
  padding: 7px 16px;
}
.writing-editor > [role="status"] {
  margin: 0;
}
.writing-editor > [role="status"]:empty {
  display: none;
}
.writing-secondary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.45fr);
  gap: 10px;
  margin-top: 16px;
  align-items: start;
}
.writing-secondary > details {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.writing-secondary .writing-grantee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff10;
}
.writing-reader-name {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.writing-secondary button {
  margin: 4px 0 0;
  width: auto;
  min-height: 34px;
  font-size: 12px;
  padding: 6px 9px;
}
.writing-editor-slot > .small {
  margin: 12px 0 0;
  font-size: 11px;
}
.writing-empty {
  display: grid;
  place-content: center;
  min-height: 240px;
  padding: 20px;
  border: 1px dashed #51473c;
  border-radius: 10px;
  text-align: center;
}
.writing-empty h4 {
  margin: 0 0 8px;
}
.writing-empty p {
  margin: 0;
}
@container (max-width: 640px) {
  .writing-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .writing-library .writing-list {
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }
  .writing-list .writing-list-item {
    flex: 0 0 170px;
  }
  .writing-editor > textarea {
    min-height: 300px;
  }
}
@container (max-width: 380px) {
  .writing-metadata,
  .writing-secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .product-content .editor-panel {
    padding: 12px;
  }
  .product-content .editor-menu {
    margin-bottom: 10px;
  }
  .product-content .editor-panel > .editor-panel-heading {
    margin-bottom: 12px;
  }
}

.writing-picker-list .writing-paste-choice {
  display: grid;
  grid-template-rows: 1.4em 4.2em;
  gap: 6px;
  padding: 12px;
  text-align: left;
}
.writing-paste-choice > strong {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.4;
}
.writing-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: pre-line;
  font-size: 12px;
  line-height: 1.4;
  color: #c1b7ac;
}

/* Preserve pasted headings, paragraphs and line breaks in sent chat text. */
.thread-feed .message-bubble > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.inbox-list .conversation-row.has-unread {
  background: #2c241f;
  border-color: #68513f;
}
.conversation-row.has-unread .conversation-copy > strong {
  font-weight: 750;
  color: #fff5e9;
}
.conversation-row.has-unread .message-preview {
  color: #eee0ce;
}
.conversation-row.has-unread .conversation-meta > time {
  color: #e5b68b;
}
.conversation-unread-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #b33d30;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}
.message-unread-divider {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 10px 0;
  color: #e1ba8d;
  font-size: 11px;
  font-weight: 600;
}
.message-unread-divider::before,
.message-unread-divider::after {
  content: "";
  height: 1px;
  background: #796047;
  flex: 1;
}

/* The chat identity is one generous profile link, including on narrow screens. */
.thread-heading .thread-profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.thread-profile-link h2 {
  min-width: 0;
}
.thread-profile-link .mini-avatar {
  flex-shrink: 0;
}
.thread-profile-link:hover h2 {
  color: #e5b68b;
}
.thread-profile-link:focus-visible {
  outline: 2px solid #e5b68b;
  outline-offset: 4px;
}

/* One search workspace; geography stays outside Refine. */
.search-location {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid #423a34;
  border-radius: 12px;
  background: #201d1a;
}
.search-location-controls {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}
.search-location-controls .field {
  flex: 1 1 130px;
  margin: 0;
}
.search-location-controls > button {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
}
.search-location .place-picker {
  margin: 0;
}
.search-location .place-picker .field-title {
  display: none;
}
.search-zip {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-zip input {
  min-width: 0;
  flex: 1;
}
.search-zip button {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
}
.search-location > p {
  margin: 0;
}
.search-location > a {
  justify-self: start;
}
.search-origin-label {
  font-size: 12px;
  color: #e5b68b;
}
.product-content .limits-editor .limit-editor-row > .limit-remove {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  margin: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  border-radius: 8px;
}
@media (max-width: 700px), (pointer: coarse) {
  .product-content .limits-editor .limit-editor-row > .limit-remove {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }
}
.writing-editor .writing-metadata {
  grid-template-columns: minmax(0, 1fr);
}

/* Compact chat text. */
.thread-feed .message-bubble {
  padding: 7px 10px;
  border-radius: 12px 12px 12px 4px;
}
.thread-feed .message-bubble.mine {
  border-radius: 12px 12px 4px 12px;
}
.thread-feed .message-bubble > p {
  margin: 2px 0 4px;
  line-height: 1.4;
}

/* Keep the name's existing row; the viewer-only caution grows below it. */
.thread-heading .thread-profile-link {
  align-items: flex-start;
}
.thread-profile-identity {
  min-width: 0;
  flex: 1;
}
.thread-name-line {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.thread-heading .thread-new-member {
  margin: -2px 0 0;
  color: #d4b28e;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
}

.profile-activity {
  margin: 2px 0;
  padding: 8px 0;
  border-top: 1px solid #39332e;
  border-bottom: 1px solid #39332e;
  font-size: 11px;
  line-height: 1.4;
}
.profile-activity > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.profile-activity > div + div {
  margin-top: 3px;
}
.profile-activity dt {
  color: #a99f94;
  white-space: nowrap;
}
.profile-activity dd {
  margin: 0;
  color: #d7cec3;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Private profile setup guide: optional next steps, no score. */
.setup-guide {
  margin: 0 0 20px;
  padding: 16px 18px 18px;
  border: 1px solid #554536;
  border-radius: 12px;
  background: #211d19;
}
.setup-guide[hidden] {
  display: none;
}
.setup-guide-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.setup-guide-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.setup-guide-heading p {
  margin: 4px 0 0;
}
.setup-guide-heading .text-button {
  width: auto;
  flex: none;
  white-space: nowrap;
}
.setup-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
}
.product-content .setup-step {
  width: 100%;
  height: 100%;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  text-align: left;
  white-space: normal;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: inherit;
}
.product-content .setup-step:hover {
  background: var(--surface-hover);
  border-color: #6c5a48;
}
.setup-step strong {
  font-size: 13px;
  font-weight: 600;
}
.setup-step strong::after {
  content: " →";
  color: var(--accent-text);
}
/* Footer links wrap instead of overflowing on narrow screens. */
footer {
  flex-wrap: wrap;
  row-gap: 10px;
}

/* First-run welcome: three short steps before the full product. */
.welcome {
  max-width: 720px;
}
.welcome-progress {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: welcome;
}
.welcome-progress li {
  counter-increment: welcome;
  flex: 1;
  padding-top: 8px;
  border-top: 3px solid var(--line);
  font-size: 12px;
  color: #a9a29b;
}
.welcome-progress li::before {
  content: counter(welcome) ". ";
}
.welcome-progress li.done {
  border-color: #7a5a4c;
}
.welcome-progress li[aria-current="step"] {
  border-color: var(--accent);
  color: #f5f0e9;
  font-weight: 600;
}
.welcome-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.welcome-form h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  outline: none;
}
.welcome-lead {
  margin: 6px 0 18px;
  color: #c9c1b9;
  font-size: 13px;
  line-height: 1.5;
}
.welcome-body {
  display: grid;
  gap: 14px;
}
.welcome-body .field {
  margin: 0;
}
.welcome-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #8a3a2e;
  border-radius: 8px;
  background: #2a1613;
  color: #f3c9c0;
  font-size: 13px;
}
.welcome-error[hidden] {
  display: none;
}
.welcome-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.product-content .welcome-actions button {
  width: auto;
  min-width: 120px;
  min-height: 44px;
}
.welcome-intents,
.welcome-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.welcome-interests {
  display: grid;
  gap: 16px;
  max-height: min(46vh, 420px);
  overflow-y: auto;
  padding: 2px 4px 2px 2px;
}
.welcome-group legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #c9c1b9;
}
.welcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-content .welcome-chip {
  margin: 0;
  width: auto;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: #e8e1d9;
  font-size: 13px;
}
.product-content .welcome-chip:hover {
  background: var(--surface-hover);
}
.product-content .welcome-chip[aria-pressed="true"] {
  background: #4a2019;
  border-color: var(--accent);
  color: #fff;
}
.product-content .welcome-chip[aria-pressed="true"]::before {
  content: "✓ ";
}
.welcome-sharing {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.welcome-alternative {
  margin: 14px 2px 0;
}
.product-content .welcome-alternative .text-button {
  width: auto;
  display: inline;
  padding: 0;
  min-height: 0;
}
@media (max-width: 640px) {
  .welcome-form {
    padding: 16px;
  }
  .welcome-actions {
    position: sticky;
    /* Stay above the fixed bottom navigation. */
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    margin: 16px -16px -16px;
    padding: 12px 16px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
  }
  .product-content .welcome-actions button {
    flex: 1;
  }
}

/* Connection and load-failure states. */
.offline-bar {
  position: fixed;
  z-index: 60;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #8a6a2e;
  border-radius: 999px;
  background: #2b2212;
  color: #f4dfae;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 24px rgb(0 0 0 / 45%);
}
.offline-bar[hidden] {
  display: none;
}
.load-failure {
  max-width: 560px;
  margin: 24px 0;
}
.load-failure h2 {
  margin: 0 0 6px;
  font-size: 18px;
}
/* Placeholder cards while the first Discover results load. */
.card-skeleton {
  pointer-events: none;
  overflow: hidden;
}
.skeleton-media {
  aspect-ratio: 3 / 2;
  background: var(--surface-raised);
}
.skeleton-line {
  height: 12px;
  margin: 16px 14px 0;
  border-radius: 6px;
  background: var(--surface-raised);
}
.skeleton-line.short {
  width: 45%;
  margin-bottom: 18px;
}
.skeleton-media,
.skeleton-line {
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-media,
  .skeleton-line {
    animation: none;
  }
}

/* A profile without a photo keeps a compact placeholder instead of a tall empty box. */
.profile-dialog .profile-cover:not(.has-photo) {
  aspect-ratio: auto;
  min-height: 0;
  height: 148px;
  gap: 10px;
}
.profile-dialog .profile-cover:not(.has-photo) > .nav-icon {
  width: 44px;
  height: 44px;
}
/* Dialog titles take focus for screen readers; they are not controls. */
.product-dialog #dialog-title:focus {
  outline: none;
}

/* Circle sections with nothing in them yet. */
.circle-empty {
  margin: 4px 0 16px;
  padding: 22px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.circle-empty[hidden] {
  display: none;
}
.circle-empty h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.circle-empty p {
  margin: 0;
}

/* Request pane: keep the status with the introduction and off the pane edge. */
.product-content .conversation-pane > .request-decision {
  margin-top: 0;
  padding: 20px 16px 8px;
}
.product-content .conversation-pane > .button-row {
  padding-inline: 16px;
}
.first-introduction .intro-entry > time {
  display: block;
  margin: 6px 16px 0;
}
.conversation-pane > .safety-actions {
  margin-top: auto;
}
/* Headings focused by script for screen readers are not controls. */
.product-content :is(h1, h2)[tabindex="-1"]:focus {
  outline: none;
}

/* Discover controls: one compact row so results start higher on the page. */
.product-content .discover-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
}
.product-content .discover-controls > :is(.discovery-choices, .discovery-toolbar, .results-toolbar) {
  display: contents;
}
.product-content .discover-controls :is(.shared-filter, .discovery-toolbar > .text-button) {
  margin: 0;
  width: auto;
  flex: none;
}
.product-content .discover-controls .filter-disclosure {
  flex: 0 0 auto;
  margin: 0;
  width: auto;
}
.product-content .discover-controls .filter-disclosure > summary {
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.product-content .discover-controls .filter-disclosure[open] {
  flex: 1 0 100%;
  order: 10;
}
.product-content .discover-controls .view-switch {
  margin: 0 0 0 auto;
}
.product-content .discover-controls .shared-filter-help {
  order: 5;
}
.product-content .discover-controls .results-status {
  order: 20;
  flex: 1 0 100%;
  margin: 0;
}
.product-content .discover-controls .results-status:empty {
  display: none;
}
.product-content .applied-filters:empty {
  display: none;
}

/* No-photo cards: a monogram on the member's tone instead of a blank silhouette. */
.card-media > .card-initial {
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: rgb(245 240 233 / 0.34);
  letter-spacing: -0.02em;
  user-select: none;
}
.people-list .card-media > .card-initial {
  font-size: 44px;
}
/* Refine: nested groups sit flush, without an empty strip above each heading. */
.product-content .discovery-filters details {
  padding: 0;
  overflow: hidden;
}
.product-content .discovery-filters details > summary {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.product-content .discovery-filters > details:first-child {
  margin-top: 0;
}

/* Refine form: consistent inset and spacing, labels instead of raw fieldset frames. */
.product-content .discovery-filters details[open] > summary {
  border-bottom: 1px solid var(--line);
}
#discovery-filter-form details > :not(summary) {
  margin: 12px 12px 0;
}
#discovery-filter-form details > :is(input, select):not([type="checkbox"]) {
  width: calc(100% - 24px);
}
#discovery-filter-form details > :last-child {
  margin-bottom: 14px;
}
#discovery-filter-form details > [hidden],
#discovery-filter-form details > :empty:not(input):not(select) {
  margin: 0;
}
.product-content .discovery-filters fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}
.product-content .discovery-filters legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #c9c1b9;
}
.product-content .discovery-filters .choice-row {
  gap: 4px 16px;
}
.product-content .discovery-filters > .button-row {
  margin-top: 14px;
}
.product-content .discover-controls .filter-disclosure > summary {
  padding-right: 40px;
}

/* Editor panels: the selected tab already names the section. Keep the heading
   for assistive technology and only show it when it carries an action. */
.product-active .editor-workspace .editor-panel > .editor-panel-heading:not(:has(button)) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Search: the applied area is a single line; controls open on demand. */
.product-content .search-location {
  padding: 0;
  margin: 10px 0;
}
.search-where > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
}
.search-where > summary::-webkit-details-marker {
  display: none;
}
.search-where > summary::after {
  content: none;
}
.search-where-label {
  color: #a9a29b;
}
.search-where > summary > strong {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-where-change {
  margin-left: auto;
  color: var(--accent-text);
  font-weight: 600;
}
.search-where[open] > summary {
  border-bottom: 1px solid var(--line);
}
.search-where[open] .search-where-change {
  visibility: hidden;
}
.search-where > :not(summary) {
  margin: 12px 14px 0;
}
.search-where > :last-child {
  margin-bottom: 14px;
  display: inline-block;
}
.search-where > [hidden] {
  display: none;
}
/* interface.css loads after this file, so these need the extra ancestor. */
.product-active .product-content .search-location {
  padding: 0;
  margin: 10px 0;
}
.product-active .product-content .search-where {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.product-active .product-content .search-where > summary {
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  padding: 0 14px;
}
.product-active .product-content .search-where[open] > summary {
  border-bottom: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
}
.product-active .product-content .search-where > summary::after {
  content: none;
  display: none;
}
.product-active .product-content .search-where > :not(summary) {
  margin: 12px 14px 0;
}
.product-active .product-content .search-where > :last-child {
  margin-bottom: 14px;
}
.product-active .product-content .search-where > .place-picker {
  display: grid;
  gap: 8px;
}

/* Chat status line: inset with the conversation, and absent when empty. */
.product-active .product-content .conversation-pane > .thread-status {
  margin: 0;
  padding: 8px 16px 0;
}
.product-active .product-content .conversation-pane > .thread-status:empty {
  display: none;
}

/* Sign-in code: easy to read and compare against the email. */
#code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  letter-spacing: 0.12em;
}
#code::placeholder {
  font-family: inherit;
  letter-spacing: 0;
  font-size: 14px;
}

/* Wide screens: the wordmark sits in the navigation rail and the separate
   header bar is removed, giving the content the full height. */
.workspace-rail > .rail-brand {
  display: none;
}
@media (min-width: 1101px) {
  body.product-active > header {
    display: none;
  }
  body.product-active .workspace-rail > .rail-brand {
    display: inline-flex;
    margin: 0 10px 22px;
    font-size: 30px;
    color: #f5f0e9;
    opacity: 1;
  }
  body.product-active .workspace-rail > .rail-brand .ring {
    width: 21px;
    height: 21px;
    border-width: 4px;
  }
  body.product-active .workspace-rail {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }
  body.product-active main {
    margin-top: 0;
  }
  body.product-active #product-shell {
    padding-top: 6px;
  }
}
@media (min-width: 1101px) {
  /* Chat fills the height freed by the removed header, without page scroll. */
  body.product-active .product-content .inbox-workspace {
    height: calc(100vh - 150px);
    height: calc(100dvh - 150px);
    max-height: none;
    min-height: 480px;
  }
}

/* "Here for" sits clear of the field above it. */
.product-active .editor-workspace .profile-intentions {
  margin-top: 18px;
  padding-top: 0;
  border: 0;
}
.product-active .editor-workspace .profile-intentions > legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Settings rows: each explanation belongs to the choice directly above it. */
.product-active .editor-workspace .profile-card > .check {
  margin: 6px 0 0;
}
.product-active .editor-workspace .profile-card > .check + p.small {
  margin: 4px 0 16px 31px;
  max-width: 62ch;
}
.product-active .editor-workspace .profile-card > .check + p.small:last-child {
  margin-bottom: 0;
}
.product-active .editor-workspace .profile-card form > .check {
  margin: 6px 0 0;
}
.product-active .editor-workspace .profile-card form > .check + p.small {
  margin: 4px 0 14px 31px;
  max-width: 62ch;
}
.product-active .editor-workspace .profile-card form > fieldset {
  margin-top: 16px;
}

.mini-avatar.has-photo {
  overflow: hidden;
  padding: 0;
}
.mini-avatar.has-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid cards: keep the firm height cap, but let a row of sparse profiles be
   shorter. Cards in the same row still match, and tags stay at the bottom. */
.product-active .people-grid:not(.people-list) .person-card .person-body {
  height: auto;
  max-height: 12.5rem;
  min-height: 4.75rem;
  flex: 1 1 auto;
}

/* Profile at a glance and labelled rows — November 12 (owner request, after
   the Sniffies reference): a stats line under the name, a quoted bio, an
   "In common" band, and one labelled row per topic with clear dividers.
   Shared interests are circled (round, ringed) everywhere; other tags stay
   squared, so the difference does not rely on colour alone (✓ mark too). */
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  margin: 10px 0 2px;
  font-size: 15px;
  line-height: 1.4;
  color: #ece6dd;
  font-variant-numeric: tabular-nums;
}
.profile-stats .stat-sep {
  color: #8d867e;
}
.profile-intro > .profile-location {
  margin: 4px 0 2px;
  font-size: 13px;
  color: #c1b9b0;
}
.profile-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin: 2px 0 4px;
  font-size: 12px;
}
.presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8cfc3;
}
.presence::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77716a;
}
.presence.now::before {
  background: #5fbf7a;
  box-shadow: 0 0 0 3px rgb(95 191 122 / 0.2);
}
.profile-dialog blockquote.profile-bio {
  margin: 16px 0 20px;
  padding: 12px 16px 12px 18px;
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #1d1b19;
}
.profile-dialog blockquote.profile-bio p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #e7e0d6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.profile-dialog .profile-overlap {
  display: block;
  margin: 4px 0 18px;
  padding: 14px 16px;
  border: 1px solid #5a4632;
  border-radius: var(--radius);
  background: #221d18;
}
.profile-dialog .profile-overlap h3 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #ecc89f;
}
.profile-dialog .profile-overlap .chips {
  gap: 6px;
}
.profile-dialog .profile-overlap p.small {
  margin: 10px 0 0;
  font-size: 12px;
}
.chip.interest-match,
.person-copy .card-tags .interest-match,
.profile-dialog .chips > .interest-match {
  border: 1.5px solid #d9a46c;
  border-radius: 999px;
  background: #3a2c20;
  color: #f6dcb9;
  box-shadow: 0 0 0 2px rgb(217 164 108 / 0.14);
}
.interest-match .tag-match-mark {
  font-weight: 700;
}
.profile-rows {
  margin: 6px 0 0;
  border-bottom: 1px solid #333;
}
.profile-dialog .profile-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 0;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #333;
  border-radius: 0;
  background: none;
}
.profile-dialog .profile-main .profile-row > h3 {
  grid-column: 1;
  grid-row: 1 / span 12;
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ab9f91;
}
.profile-dialog .profile-row > :not(h3) {
  grid-column: 2;
  min-width: 0;
}
.profile-row-value > p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #e3ddd4;
  overflow-wrap: anywhere;
}
.profile-row-value > p:last-child {
  margin-bottom: 0;
}
.profile-row-value > .chips + p {
  margin-top: 10px;
}
.profile-row-value > p.small {
  font-size: 12px;
}
.profile-dialog .profile-row.conversation-prompt {
  border-left: 0;
  border-radius: 0;
  background: none;
  padding: 14px 0;
  margin: 0;
}
.profile-dialog .profile-row.conversation-prompt p {
  font-size: 15px;
  color: #ecdcc6;
}
.profile-dialog .profile-row.profile-limits h4 {
  margin: 0 0 8px;
  font-size: 12px;
}
.common-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid #d9a46c;
  border-radius: 999px;
  background: rgb(22 19 16 / 0.84);
  color: #f6dcb9;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}
@media (max-width: 560px) {
  .profile-dialog .profile-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  .profile-dialog .profile-main .profile-row > h3,
  .profile-dialog .profile-row > :not(h3) {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (forced-colors: active) {
  .chip.interest-match,
  .profile-dialog .chips > .interest-match,
  .common-pill {
    border: 2px solid CanvasText;
  }
  .presence::before {
    background: CanvasText;
  }
}
