:root {
  --bg: #0f1a12;
  --bg-2: #1c271f;
  --card: #232d26;
  --card-2: #2e3831;
  --ink: #eaf0ec;
  --ink-2: #bec5c0;
  --ink-3: #9ba39e;
  --line: #3f4942;
  --line-2: #7c857f;
  --brand: #61e589;
  --brand-2: #8ddee2;
  --violet: #8ddee2;
  --blue: #8ddee2;
  --glass: #162019;
  --on-brand: #000000;
  --grad: linear-gradient(#61e589, #61e589);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #8ddee2;
  --gold: #8ddee2;
  --danger: #8ddee2;
  --ok-bg: transparent;
  --ok-ink: #61e589;
  --err-bg: transparent;
  --err-ink: #8ddee2;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Red Hat Text", system-ui, sans-serif;
  --head: "Spectral", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: none;
  --tex-size: auto;
  --sp: 18px;
  --sec: 48px;
  --lh: 1.55;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --bw: 1px;
  --bs: solid;
}
/* f13: the card-catalogue cabinet. Paper is --card, the cabinet is --bg/--bg-2, the red header line of an index card is --brand-2,
   the label ink is --ink. Logical properties only; no letter-spacing or case change on running text (Arabic, CJK). */
:root { --hl: color-mix(in srgb, var(--brand) 60%, var(--ink)); --rule: color-mix(in srgb, var(--ink) 13%, transparent); --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; --pad: calc(var(--sp) * 2); }
body { font-weight: 400; line-height: var(--lh); background-color: var(--bg); background-image: var(--tex); background-size: var(--tex-size); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.16; }
a { text-underline-offset: 3px; }
.badge-ai { background: var(--card); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 10px; font-weight: 700; padding: 0 5px; backdrop-filter: none; box-shadow: none; line-height: 1.5; }

/* the rod hole every card has at its foot */
.nsxst6vt { position: absolute; inset-block-end: 9px; inset-inline: 0; margin-inline: auto; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); pointer-events: none; }

/* the frame */
.nsxlhca2 { min-height: 100dvh; display: flex; flex-direction: column; }
.main, .has-rail .main { margin: 0; padding: var(--pad); min-height: 0; flex: 1 0 auto; width: 100%; max-width: none; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.nsxxh2fr { width: 100%; max-width: 1400px; margin-inline: auto; padding: var(--sp) var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.nsxkzxel { display: flex; align-items: center; gap: 12px; padding: 7px 10px; padding-inline: 10px 18px; background: var(--card); color: var(--ink); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--line); min-width: 0; }
.nsxf6267 { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--brand); color: var(--on-brand); border-radius: var(--r-sm); }
.nsxebwl6 { display: flex; flex-direction: column; min-width: 0; }
.nsx2jhfd { font: 700 22px/1.1 var(--head); overflow-wrap: anywhere; }
.nsxcxzyc { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.nsx3xj4s { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.nsx3xj4s a { min-height: 36px; display: inline-flex; align-items: center; padding-inline: 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.nsx3xj4s a:hover { background: var(--bg-2); color: var(--ink); }
.nsx3xj4s a.nsxm5zsv { background: var(--brand); color: var(--on-brand); font-weight: 700; }
.nsxncaix { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); flex: 1 0 auto; display: flex; align-items: flex-start; gap: 0; min-width: 0; }
.nsxc2crz { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; min-height: 66dvh; background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); position: relative; }
.nsxzs75z { padding: var(--sp) var(--pad); border-block-start: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.nsxzs75z a { text-decoration: underline; }
.nsxzs75z nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; }
.nsxzs75z nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.nsxq2m7s { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); gap: 3px; padding-inline: 6px; padding-block-start: 6px; }
.nsxq2m7s .tab { font-size: 11.5px; color: var(--ink-2); gap: 2px; min-width: 0; border: var(--bw) var(--bs) transparent; border-block-end: 0; border-start-start-radius: var(--r); border-start-end-radius: var(--r); }
.nsxq2m7s .tab span:not(.dot) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 2px; }
.nsxq2m7s .tab.active { color: var(--ink); background: var(--card); border-color: var(--line-2); box-shadow: inset 0 3px 0 var(--brand); }

/* controls over the engine's */
.btn { font-weight: 700; white-space: normal; height: auto; min-height: 44px; padding-block: 8px; text-align: center; border-radius: var(--r-sm); }
.btn-sm { min-height: 34px; padding-block: 4px; }
.btn-lg { min-height: 50px; }
.btn-primary, .btn-primary:hover { background: var(--brand); color: var(--on-brand); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline, .btn-outline:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost { color: var(--ink); }
.chip { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; border-radius: var(--r-sm); color: var(--ink); }
.chip.on { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.input, .select, .textarea { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.card { background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.section { margin-block-start: var(--sec); }
.nsxafdny { color: var(--hl); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.nsxbonxl { font-size: clamp(28px, 3.6vw, 42px); margin-block-end: 8px; }
.nsxa3p2p { font-size: 24px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.nsxecfdi { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.nsx6zz7v, .nsx3iq63, .nsxtwreg, .nsxv35to, .nsxfjykg, .nsx4okcz, .nsxy4gnl, .nsxsc4om { font-family: var(--mono); }

/* index cards: one look for a person, whichever card option is chosen */
.nsxpszds { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card); color: var(--ink); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); overflow: hidden; }
.nsxpszds:hover { border-color: var(--hl); }
.nsxtlupe { position: relative; display: block; overflow: hidden; background: var(--bg-2); }
.nsxtlupe img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; }
.nsx2363t { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; background: var(--card); }
.nsxjebhg { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.nsxtq3k5 { font: 700 17px/1.2 var(--head); overflow-wrap: anywhere; }
.nsxsune3 { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.nsxv35to { font-size: 11.5px; color: var(--ink-2); }
.nsxw7rsx { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.nsxnpghg { font-size: 13px; font-weight: 700; color: var(--hl); text-decoration: underline; }
.grid { gap: var(--sp); grid-template-columns: repeat(auto-fill, minmax(min(212px, 100%), 1fr)); }
.nsxz5uq5 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 14px); }
.nsxz5uq5 .nsxw7rsx, .nsxz5uq5 .nsxnpghg, .nsxz5uq5 .nsxv35to { display: none; }
.nsxz5uq5 .nsxtq3k5 { font-size: 16px; }
.nsx4izmn { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.nsx4izmn .nsx5evf7 { margin: 0; }
.nsxyirhi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.on-dot { display: inline-block; vertical-align: middle; }

/* the front page */
.nsxwbg3q > section, .nsxwbg3q > nav { margin-block-end: var(--sec); }
.nsxwbg3q > .nsx2wph4 { margin-block-end: calc(var(--sec) * .8); }
.nsx2wph4 h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; overflow-wrap: anywhere; }
.nsx3iq63 { font-size: 12.5px; color: var(--ink-2); margin-block-end: 6px; overflow-wrap: anywhere; }
.nsxnzsl5 { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.nsx4eap4 { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-block-start: var(--sp); }
.nsxlnpgp { margin: 0; padding: 0; list-style: none; }
.nsxlnpgp dt, .nsxlnpgp b { font: 700 28px/1.1 var(--head); color: var(--hl); }
.nsxlnpgp dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
/* the home banner is the engine's (section.hw); this is its dress. On a wide photo the engine's scrim and white text stand */
.nsx2wph4 .hw { margin-block: var(--sp); border: var(--bw) var(--bs) var(--line-2); box-shadow: none; text-align: start; border-radius: var(--r); }
.nsx2wph4 .hw-name { font-family: var(--head); font-weight: 700; }
.nsx2wph4 .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.nsx2wph4 .hw-text .btn { text-shadow: none; }
.hw .hw-ghost, .hw .hw-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.hw .hw-ghost:hover { background: rgba(255, 255, 255, .12); }
.hw-nav .stage-arrow, .hw-nav .stage-arrow:hover { color: #fff; }
.hw-nav .stage-dots button { background: rgba(255, 255, 255, .55); }
.hw-nav .stage-dots button.on { background: #fff; }
@media (min-width: 901px) { .nsx2wph4 .hw { height: clamp(300px, 27vw, 380px); } }

/* sections */
.nsxanjyh { margin-block-end: var(--sp); }
.nsxj4naj h2 { font-size: clamp(24px, 2.7vw, 32px); }
.nsx5evf7 { display: inline-block; font-size: 12.5px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 1px 8px; margin-block-end: 6px; overflow-wrap: anywhere; }
.nsxtwreg { font-size: 13px; color: var(--hl); font-weight: 700; margin-block-end: 2px; }
.nsxcp4pg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp); margin-block-start: var(--sp); }
.nsxlguve { position: relative; padding: calc(var(--sp) * .9) var(--sp) 30px; background: var(--card); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--rule) 27px 28px); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); border-radius: var(--r-sm); }
.nsxcp4pg h3, .nsxo4ney h3 { font-size: 19px; margin-block-end: 6px; }
.nsxcp4pg p, .nsxo4ney p { margin-block-end: 8px; }
.nsxt5x3q { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp); }
.nsxph242 { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); border-radius: var(--r-sm); color: var(--ink); min-width: 0; }
.nsxph242[hidden] { display: none; }
.nsxph242:hover { border-color: var(--hl); border-block-start-color: var(--brand-2); }
.nsxfjykg { font-size: 11.5px; color: var(--ink-2); padding-block-end: 4px; border-block-end: 1px solid var(--line); }
.nsx2atsi { display: block; background-image: repeating-linear-gradient(to bottom, transparent 0 25px, var(--rule) 25px 26px); }
.nsxlibxg { display: block; font: 400 16px/26px var(--head); }
.nsxnv5p2 { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 6px; font-size: 13px; color: var(--ink-2); }
.nsxnv5p2 b { color: var(--hl); }
.nsxkomju .nsxph242 { background: var(--bg-2); }
.nsxo4ney { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.nsxo4ney ul { list-style: none; margin: 0; padding: 0; }
.nsxo4ney li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.nsx63pas { width: 100%; border-collapse: collapse; }
.nsx63pas td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.nsx63pas tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: var(--bw) var(--bs) var(--line-2); background: var(--bg-2); }
.nsx63pas td:first-child { color: var(--ink-2); }
.nsxfgxpe { position: relative; padding: calc(var(--sp) * 1.6) var(--sp) calc(var(--sp) * 2.2); background: var(--card-2); border: 1px solid var(--line-2); border-block-start: 4px solid var(--brand-2); border-radius: var(--r-sm); text-align: center; }
.nsx4wwe5 { max-width: 62ch; margin-inline: auto; }
.nsxfgxpe h2 { font-size: clamp(25px, 3vw, 34px); margin-block-end: 8px; }
.nsxfgxpe p:not(.nsx5evf7) { margin-block-end: var(--sp); }
.nsx6sewb h2 { font-size: 20px; margin-block-end: 6px; }
.nsx6sewb ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.nsx6sewb li { break-inside: avoid; }
.nsx6sewb a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.nsx5s4zy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.nsx5s4zy > div { flex: 1 1 320px; min-width: 0; }
.nsx5s4zy p { color: var(--ink-2); max-width: 66ch; }
.search.nsx2cot5 { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 240px; }
.nsxidvj4 { display: grid; gap: 6px; padding: 10px 14px; margin-block-end: var(--sp); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.nsxidvj4 .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nsxidvj4 .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.nsxidvj4 .chips-scroll, .nsx6qv7w .chips-scroll { min-width: 0; }
.nsxbvvd4 summary { cursor: pointer; font-size: 13.5px; color: var(--hl); min-height: 30px; display: list-item; }
.nsxbvvd4 .frow { margin-block-start: 6px; }
.nsx7kaq3 a { font-size: 13.5px; text-decoration: underline; color: var(--hl); }
.nsx4eror { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.nsx4eror p { margin-block: 8px 14px; color: var(--ink-2); }
.nsx4qvgh { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: 4px double var(--line-2); scroll-margin-block-start: 12px; }
.nsx6qv7w { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page */
.nsx7lt6l { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; text-decoration: underline; color: var(--hl); }
.nsxhsix4 { display: grid; grid-template-columns: minmax(min(calc(50vw + 26px), 74%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 2); margin-block: 8px var(--sec); align-items: start; }
.nsxv6mcv { position: relative; padding: 12px 12px 36px; background: var(--card-2); border: 1px solid var(--line-2); border-block-start: 4px solid var(--brand-2); border-radius: var(--r-sm); }
.nsxzzpft { position: relative; }
.nsxzzpft img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-2); }
.nsxzzpft .badge-ai { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; }
.nsxypbch { margin-block-start: 12px; grid-template-columns: 82px minmax(0, 1fr); font-size: 13.5px; background-image: repeating-linear-gradient(to bottom, transparent 0 26px, var(--rule) 26px 27px); }
.nsxypbch dd { overflow-wrap: anywhere; font-weight: 400; }
.nsx44r4g h1 { font-size: clamp(28px, 3.6vw, 42px); }
.nsx44r4g h1 small { display: block; font-size: .5em; font-weight: 400; color: var(--ink-2); margin-block-start: 4px; }
.nsxbx54l { font-size: 13.5px; color: var(--ink-2); margin-block-end: 6px; }
.nsxidy5m { font: 400 20px/1.32 var(--head); margin-block: 10px 8px; }
.nsxfb2xz { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.nsxfvsvz { font-size: 12.5px; color: var(--ink-3); }
.nsx4ceaw { margin-block-start: var(--sec); }
.nsxodlnl { display: inline-block; font-size: 15px; padding: 4px 14px; margin-block-end: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-block-end: 0; border-start-start-radius: var(--r-sm); border-start-end-radius: var(--r-sm); position: relative; z-index: 1; }
.nsx4ceaw .nsxodlnl { margin-block-end: var(--sp); border-block-end: 1px solid var(--line-2); border-radius: var(--r-sm); }
.nsxaguc2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--sp) * 1.4); margin-block-start: var(--sec); align-items: start; }
.nsxzasx3 { padding: 0 0 var(--sp); }
.nsxzasx3 > .nsxodlnl ~ .nsxodlnl { margin-block-start: var(--sp); }
.nsxzasx3 > ul, .nsxzasx3 > p { background-color: var(--card-2); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--rule) 27px 28px); border: 1px solid var(--line-2); border-radius: var(--r-sm); border-start-start-radius: 0; margin: 0; padding: 10px 14px; padding-inline: 32px 14px; line-height: 28px; }
.nsxzasx3 > p { padding-inline: 14px; }
.nsxzasx3 li { overflow-wrap: anywhere; }
.nsxmpecb { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: 4px double var(--line-2); }
.nsxmpecb .nsxodlnl { margin-block-end: var(--sp); border-block-end: 1px solid var(--line-2); border-radius: var(--r-sm); }
.nsxmpecb ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.nsxmpecb li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.nsxmpecb b { display: block; font-family: var(--head); }

/* static pages: a long card */
.nsxhfhq2 { max-width: 780px; margin-inline: auto; padding: var(--pad); background: var(--card-2); border: 1px solid var(--line-2); border-block-start: 4px solid var(--brand-2); border-radius: var(--r-sm); }
.nsxkxr3z { font: 400 20px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.nsxhfhq2 h2 { font-size: 22px; margin-block: calc(var(--sp) * 1.4) 8px; padding-block-end: 4px; border-block-end: 1px solid var(--line-2); }
.nsxhfhq2 p, .nsxhfhq2 li { margin-block-end: 8px; }
.nsxhfhq2 ul { padding-inline-start: 20px; margin: 0; }
.nsxhfhq2 a { text-decoration: underline; color: var(--hl); }
.nsx4okcz { font-size: 13px; color: var(--ink-2); }
.nsx2ao77 { padding-block-end: var(--sp); border-block-end: 1px dashed var(--line-2); }

/* chat: the engine's page, under the frame. The page never scrolls; the sheet fills what the plate and the tabs leave. */
.chat-page .nsxzs75z { display: none; }
.chat-page .nsxlhca2 { height: 100dvh; min-height: 0; }
.chat-page .nsxxh2fr { padding-block: 8px; }
.chat-page .nsxcxzyc { display: none; }
.chat-page .nsxncaix { min-height: 0; padding-block-end: 12px; }
.chat-page .nsxc2crz { min-height: 0; align-self: stretch; overflow: hidden; }
.chat-page .main { height: auto; padding: 0; display: flex; flex-direction: column; min-height: 0; flex: 1; }
.chat-page .chat-shell { flex: 1; min-height: 0; height: auto; border: 0; border-radius: 0; background: var(--card); grid-template-columns: 280px minmax(0, 1fr); }
.chat-list { border-inline-end: 1px solid var(--line-2); background: var(--bg-2); }
.chat-list-head h2 { font-size: 22px; }
.chat-search { border-radius: var(--r-sm); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.conv { border-radius: 0; border-block-end: 1px dashed var(--line-2); }
.conv.active { background: var(--card); color: var(--ink); box-shadow: inset 4px 0 0 var(--brand-2); }
.conv.active .last, .conv.active .time, .conv.active .you { color: var(--ink-2); }
.conv:hover { background: var(--card-2); }
.conv b { font-family: var(--head); }
.av img { border-radius: var(--r-sm); }
.thread, .quick, .quota, .composer { background: var(--card); background-color: var(--card); }
.thread-head { border-block-end: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); background: var(--card); }
.thread-head .grow > div:first-child { font-family: var(--head); font-size: 18px; }
.thread-head .status { font-weight: 400; color: var(--ink-2); }
.thread-head .status.online { color: var(--hl); }
.bubble, .msg.her .bubble, .msg.me .bubble { border-radius: var(--r-sm); font-size: 16px; }
.msg.her .bubble { background: var(--card-2); color: var(--ink); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); font-family: var(--head); }
.msg.me .bubble { background: var(--bg-2); color: var(--ink); border: 1px dashed var(--line-2); }
.msg .t { color: var(--ink-3); font-weight: 400; }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: 1px solid var(--line-2); }
.cfield { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); }
.composer textarea { background: transparent; color: var(--ink); }
.composer .send { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); box-shadow: none; }
.mode-btn { border-radius: var(--r-sm); }
.menu, .ctx-menu { border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line-2); }
.chat-card { border-radius: var(--r-sm); background: var(--card); border: var(--bw) var(--bs) var(--line-2); }

/* plans and forms */
.nsxk3spg { font-size: 17px; margin-block-end: 8px; }
.nsxdo36y { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.nsxdo36y a, .nsxqyrcu a, .nsxir74d .check a { text-decoration: underline; color: var(--hl); }
.pack { border: var(--bw) var(--bs) var(--line-2); position: relative; padding-block-end: 34px; }
.pack b { font-family: var(--head); }
.pack .best { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); }
.usdt-badge { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12px; }
.usdt-card { background: var(--card-2); border: var(--bw) var(--bs) var(--line-2); }
.table-wrap { overflow-x: auto; }
.table th, .table td { text-align: start; }
.nsx7uz4f tr:first-child td { font-weight: 700; background: var(--bg-2); }
.seg { border-radius: var(--r-sm); background: var(--bg-2); }
.seg label { border-radius: var(--r-sm); }
.seg input:checked + label { background: var(--brand); color: var(--on-brand); }
.nsxir74d { background: transparent; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--sp) * 2); align-items: center; }
.nsxof3x3 { background: var(--bg-2); color: var(--ink); padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 22px; border: 1px solid var(--line-2); border-radius: var(--r-sm); align-self: stretch; }
.nsxa4ddi { font: 700 22px var(--head); }
.nsx4jfbp { position: relative; margin: 0; padding: 14px 18px 38px; background: var(--card); background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); border-radius: var(--r-sm); transform: rotate(-1.2deg); }
.nsxsc4om { display: block; font-size: 12px; color: var(--ink-2); margin-block-end: 6px; }
.nsx4jfbp span:not(.nsxsc4om) { display: block; font: 400 18px/32px var(--head); }
.nsxof3x3 cite { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); margin-block-start: 6px; }
.nsxbeaaq { font-size: 13.5px; color: var(--ink-2); }
.nsx5gwj6 { position: relative; padding: 52px 26px 40px; background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-block-start: 4px solid var(--brand-2); border-radius: var(--r-sm); }
.nsxy4gnl { position: absolute; inset-block-start: -1px; inset-inline-start: 18px; padding: 4px 14px; font-size: 12.5px; background: var(--brand-2); color: var(--bg); border-radius: 0 0 var(--r-sm) var(--r-sm); max-width: calc(100% - 36px); overflow-wrap: anywhere; }
.nsxir74d h1 { font-size: 30px; }
.nsxir74d .muted { margin-block: 6px 18px; }
.nsxqyrcu { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate */
.modal-back.nsxtora4 { background: color-mix(in srgb, var(--bg) 80%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nsxfligk { position: relative; width: min(460px, 100%); background: var(--card); background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px); background-position: 0 70px; background-repeat: no-repeat; border: var(--bw) var(--bs) var(--line-2); border-block-start: 6px solid var(--brand-2); border-radius: var(--r-sm); padding: 26px 26px 44px; box-shadow: var(--sh-3); text-align: center; }
.nsxi6d37 { font: 12.5px var(--mono); color: var(--ink-2); padding-block-end: 8px; border-block-end: 1px solid var(--line-2); text-align: start; overflow-wrap: anywhere; }
.nsxfligk h2 { font-size: 36px; margin-block: 14px 10px; }
.nsx4tbn2 { color: var(--ink-2); }
.nsxsmzbn { margin-block: 16px 12px; }
.nsx5lef3 { font-size: 12.5px; color: var(--ink-2); }
.nsx5lef3 a { text-decoration: underline; }

/* the engine writes these radii as literals, not tokens */
.fchip span, .fchip-btn, .cbtn, .tile, .to-bottom, .wallet-hero { border-radius: var(--r-sm); }

/* phones: no tab row, no drawers: the sheet runs edge to edge and the divider tabs sit at the foot */
@media (max-width: 900px) {
  :root { --pad: 16px; }
  .nsxxh2fr { padding: 10px 16px; gap: 6px 10px; }
  .nsxkzxel { padding-block: 5px; }
  .nsxf6267 { width: 32px; height: 32px; }
  .nsx2jhfd { font-size: 19px; }
  .nsxcxzyc { display: none; }
  .nsx3xj4s { font-size: 13px; }
  .nsx3xj4s a { min-height: 34px; padding-inline: 10px; }
  .nsxaudk3, .nsxlbnad, .nsxvra3h { display: none; }
  .nsxncaix { display: block; padding-inline: 0; }
  .nsxc2crz { border-inline: 0; border-radius: 0; border-block-end: 0; min-height: 0; }
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
  .nsxzs75z { padding: 16px 16px calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); }
  .grid, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nsxz5uq5, .nsxyirhi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsxz5uq5 .nsxpszds:nth-child(n+3) { display: none; }
  .nsxcjyej .nsxpszds:nth-child(n+3) { display: none; }
  .nsxlrgf4 { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .nsxvtacn li { padding-inline: 10px; }
  .nsx6sewb ul, .nsxmpecb ul { columns: 1; }
  .nsx6sewb a { min-height: 44px; }
  .nsxhsix4 { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .nsxv6mcv { padding-block-end: 34px; }
  .nsxzzpft { margin-inline: -12px; }
  .nsxypbch { grid-template-columns: 68px minmax(0, 1fr); font-size: 12.5px; }
  .nsxaguc2 { grid-template-columns: minmax(0, 1fr); }
  .nsxfb2xz .btn { flex: 1 1 100%; }
  .search.nsx2cot5 { min-width: 0; width: 100%; }
  .nsxidvj4 .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .nsxidvj4 .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .chat-page .nsxlhca2 { height: 100dvh; }
  .chat-page .nsxxh2fr { display: none; }
  .chat-page .nsxncaix { padding-block-end: 0; }
  .chat-page .nsxc2crz { border: 0; }
  .chat-page .main { padding: 0 0 calc(var(--tab-h) + 8px); }
  .chat-page .chat-shell { grid-template-columns: minmax(0, 1fr); }
  .chat-page .chat-shell.in-thread { position: fixed; inset: 0; z-index: 50; height: 100dvh; }
  .nsxir74d { grid-template-columns: minmax(0, 1fr); }
  .nsxof3x3 { display: none; }
  .nsx5gwj6 { padding-inline: 18px; }
  .nsxfligk { padding-inline: 18px; }
  .nsxhfhq2 { padding: var(--sp); }
  .nsxveutl .nsxfnrci { margin-block-start: 8px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .nsxz5uq5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nsxaguc2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* theme: intimate. Warm low light, silk sheen, pearl instead of a punched hole, photos with their captions laid over them.
   This block comes last on purpose: it re-dresses the catalogue idea (cards, tabs, drawers) as a private boudoir cabinet. */
:root { --mono: var(--head); --glow: color-mix(in srgb, var(--brand) 42%, transparent); --veil: rgba(14, 5, 9, .84); }
body { background-image: radial-gradient(1000px 560px at 50% -8%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%), radial-gradient(800px 560px at 100% 100%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%), var(--tex); background-size: auto, auto, var(--tex-size); background-attachment: fixed, fixed, scroll; }
body .nsxc2crz { background-image: linear-gradient(115deg, transparent 0 28%, color-mix(in srgb, var(--brand) 7%, transparent) 44%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, transparent), transparent 30%); box-shadow: 0 30px 80px -30px var(--glow), inset 0 1px 0 var(--glow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line-2)); }
body .nsxst6vt { width: 13px; height: 13px; border: 0; background: radial-gradient(circle at 35% 30%, #fff, color-mix(in srgb, var(--brand) 45%, #fff) 40%, color-mix(in srgb, var(--brand) 70%, #000)); box-shadow: 0 0 12px var(--glow); }
body .nsx2wph4 h1, body .nsxbonxl, body .nsx44r4g h1, body .nsxfligk h2 { text-shadow: 0 0 30px var(--glow); }
body .nsxlguve, body .nsxph242, body .nsxfgxpe, body .nsxv6mcv, body .nsxhfhq2, body .nsx5gwj6, body .nsxsvwbx, body .nsxxtiu5 li, body .nsxo2bj4, body .nsx5zcll, body .nsx4sbaj div, body .nsxfg2qp details, body .nsx4jfbp, body .nsxfligk, body .nsxtbtgm .nsxlnpgp div, body .nsxqlfdi .nsxhzviz:first-child, body .nsxl3eaz .nsx4q6xw {
  border-block-start: 1px solid color-mix(in srgb, var(--brand) 55%, var(--line-2)); box-shadow: inset 0 1px 0 var(--glow), 0 -2px 22px -8px var(--glow); }
body .nsxlguve, body .nsxsvwbx, body .nsx4sbaj div, body .nsxfligk, body .nsx4jfbp, body .nsxypbch, body .nsxzasx3 > ul, body .nsxzasx3 > p { background-image: none; }
body .nsx2atsi { background-image: none; }
body .nsxlibxg { line-height: 1.5; margin-block-end: 3px; }
body .nsx4qvgh, body .nsxmpecb { border-block-start: 1px solid var(--glow); }
body .btn-primary, body .btn-primary:hover { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, var(--brand-2))); box-shadow: 0 8px 24px -10px var(--glow), inset 0 -3px 0 rgba(0, 0, 0, .2); }
body .nsxsyzei.nsxewm3q, body .nsxq2m7s .tab.active { box-shadow: inset 0 2px 0 var(--brand), 0 -6px 20px -8px var(--glow); }
body .nsxjmgd2.nsxewm3q { box-shadow: 0 0 24px -6px var(--glow); background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, var(--brand-2))); }
body .nsxkzxel { box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--line), 0 0 28px -10px var(--glow); }
body /* photos dominate: every picture carries a warm veil, body and a ruled card lays its caption over the photo */
.nsxtlupe::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), linear-gradient(0deg, rgba(14, 5, 9, .32), transparent 40%); }
body .nsxtlupe img { transition: transform .7s ease; }
body .nsxpszds:hover .nsxtlupe img { transform: scale(1.04); }
body .nsxpszds { box-shadow: 0 16px 40px -22px var(--glow); }
body .nsxw7o5c .nsxst6vt { display: none; }
body .nsxw7o5c { display: block; }
body .nsxw7o5c .nsx4q6xw { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; padding: 56px 12px 12px; border: 0; background: linear-gradient(0deg, var(--veil) 0%, rgba(14, 5, 9, .6) 58%, transparent 100%); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); display: flex; flex-direction: column; }
body .nsxw7o5c .nsx4q6xw > * { line-height: 1.3; color: #fff; }
body .nsxw7o5c .nsxv35to { color: rgba(255, 255, 255, .8); font-size: 12px; }
body .nsxw7o5c .nsxsune3, body .nsxw7o5c .nsxw7rsx { color: rgba(255, 255, 255, .9); font-size: 13px; }
body .nsxw7o5c .nsxw7rsx { display: none; }
body .nsxw7o5c .nsxtq3k5 { font-size: 19px; }
body .nsxw7o5c .nsxtlupe img { aspect-ratio: 640 / 830; }
body .nsxz5uq5 .nsxw7o5c .nsx4q6xw { padding-block-end: 12px; }
body .nsxw7o5c .nsx2363t { z-index: 3; }
body .nsx6w3r3 { background: linear-gradient(0deg, var(--veil) 0%, rgba(14, 5, 9, .5) 60%, transparent 100%); }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.nsxyirhi { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .nsxyirhi { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* main is as tall as its content, never the screen: the footer stays below it */
.main, .has-rail .main { min-height: auto; }
.chat-page .main { min-height: 0; }
.nsxtwjat { text-align: center; }
.nsxtwjat h1 { font-size: clamp(30px, 4.8vw, 58px); max-width: 22ch; margin-inline: auto; padding-block-end: 12px; border-block-end: 4px double var(--line-2); }
.nsxtwjat .nsx3iq63 { display: inline-block; padding: 2px 14px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: var(--r-sm); }
.nsxtwjat .nsxz5uq5 { margin-block-start: var(--sp); text-align: start; }
.nsxtwjat .nsxnzsl5 { margin-inline: auto; }
.nsxtwjat .nsx4eap4 { justify-content: center; }
.nsxvtacn { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: var(--sp); }
.nsxvtacn li { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 16px; background: var(--bg-2); border: var(--bw) var(--bs) var(--line-2); border-block-end: 0; border-start-start-radius: var(--r); border-start-end-radius: var(--r); }
.nsxvtacn b { font-size: 22px; }
.nsxvtacn span { font-size: 13px; color: var(--ink-2); }
.nsxw7o5c .nsx4q6xw { display: flex; flex-direction: column; padding: 0 12px 34px; border-block-start: 3px solid var(--brand-2); background-image: repeating-linear-gradient(to bottom, transparent 0 25px, var(--rule) 25px 26px); flex: 1; }
.nsxw7o5c .nsx4q6xw > * { line-height: 26px; }
.nsxw7o5c .nsxtq3k5 { font-size: 17px; }
.nsxw7o5c .nsxw7rsx { line-height: 26px; }
.nsxz5uq5 .nsxw7o5c .nsx4q6xw { padding-block-end: 32px; }
/* Photo rule (FRAME-BRIEF.md): her portrait is the main element: 220 px or more on a desktop, 4:5, two cards per row on a phone. */
.grid:not(.nsxz5uq5), .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(224px, 264px) !important; }
@media (max-width: 900px) {
  .grid, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
}
.nsxs3yrh { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; }
.nsxs3yrh li { counter-increment: st; position: relative; }
.nsxmb5uj { margin-inline-start: 16px; padding-inline-start: 38px; border-inline-start: 4px double var(--line-2); }
.nsxmb5uj li { padding-block-end: calc(var(--sp) * 1.3); }
.nsxmb5uj li:last-child { padding-block-end: 0; }
.nsxmb5uj li::before { content: counter(st); position: absolute; inset-inline-start: -63px; inset-block-start: 0; width: 42px; height: 42px; display: grid; place-items: center; font: 700 15px var(--mono); color: var(--ink); background: var(--card-2); border: 2px solid var(--brand-2); border-radius: 50%; }
.nsxmb5uj h3 { font-size: 19px; margin-block-end: 4px; padding-block-start: 8px; }
@media (max-width: 900px) { .nsxmb5uj { padding-inline-start: 30px; margin-inline-start: 14px; } .nsxmb5uj li::before { inset-inline-start: -53px; width: 36px; height: 36px; font-size: 13px; } }
.nsx4sbaj { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); gap: var(--sp); margin: 0; }
.nsx4sbaj div { padding: 10px 16px 14px; background: var(--card); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--rule) 27px 28px); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); border-radius: var(--r-sm); }
.nsx4sbaj dt { font: 700 17px/28px var(--head); }
.nsx4sbaj dd { margin: 0; line-height: 28px; color: var(--ink-2); }
.nsx5zcll { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); background: var(--card-2); border: 1px solid var(--line-2); border-block-start: 4px solid var(--brand-2); border-radius: var(--r-sm); overflow: hidden; }
.nsxflbez { padding-block: 18px; text-align: center; font: 700 22px var(--mono); color: var(--ink-2); background: var(--bg-2); border-inline-end: 2px solid var(--brand-2); }
.nsxq6gab { padding: var(--pad); min-width: 0; }
.nsx5zcll .nsxtwreg { display: none; }
@media (max-width: 900px) { .nsx5zcll { grid-template-columns: 44px minmax(0, 1fr); } .nsxflbez { font-size: 15px; } .nsxq6gab { padding: var(--sp); } }
/* nav: a thumb index hanging off the edge of the sheet */
.nsxlbnad { flex: none; width: 116px; position: sticky; inset-block-start: 16px; align-self: flex-start; display: flex; flex-direction: column; gap: 5px; padding-block-start: 26px; z-index: 2; }
.nsx6qms4 { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; padding: 8px 12px; background: var(--bg-2); color: var(--ink-2); border: var(--bw) var(--bs) var(--line-2); font: 700 14px/1.2 var(--head); overflow-wrap: anywhere; }
.nsx6qms4:hover { color: var(--ink); background: var(--card-2); }
.nsx6qms4.nsxewm3q { background: var(--card); color: var(--ink); }
.nsx6qms4.nsxewm3q::before { content: ""; position: absolute; inset-block: 0; width: 4px; background: var(--brand-2); }
.nsx6qms4 b { font-size: 12px; color: var(--hl); }
.nsxmv5wt .nsx6qms4 { border-inline-end: 0; border-start-start-radius: var(--r); border-end-start-radius: var(--r); }
.nsxmv5wt .nsx6qms4.nsxewm3q { margin-inline-end: calc(-1 * var(--bw)); padding-inline-end: calc(12px + var(--bw)); }
.nsxmv5wt .nsx6qms4.nsxewm3q::before { inset-inline-start: 0; }
.nsxm6pe2 .nsx6qms4 { border-inline-start: 0; border-start-end-radius: var(--r); border-end-end-radius: var(--r); }
.nsxm6pe2 .nsx6qms4.nsxewm3q { margin-inline-start: calc(-1 * var(--bw)); padding-inline-start: calc(12px + var(--bw)); }
.nsxm6pe2 .nsx6qms4.nsxewm3q::before { inset-inline-end: 0; }
.nsxnuxzo.nsxmv5wt .nsxc2crz { border-start-start-radius: 0; }
.nsxnuxzo.nsxm6pe2 .nsxc2crz { border-start-end-radius: 0; }
