:root {
  --bg: #f2efe9;
  --bg-2: #e5e2dd;
  --card: #dfdbd7;
  --card-2: #d4d0ce;
  --ink: #1c1226;
  --ink-2: #473e4d;
  --ink-3: #69626c;
  --line: #c3bebe;
  --line-2: #878088;
  --brand: #6f2fb8;
  --brand-2: #c8782a;
  --violet: #c8782a;
  --blue: #c8782a;
  --glass: #ece8e3;
  --on-brand: #ffffff;
  --grad: linear-gradient(#6f2fb8, #6f2fb8);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #c8782a;
  --gold: #c8782a;
  --danger: #c8782a;
  --ok-bg: transparent;
  --ok-ink: #6f2fb8;
  --err-bg: transparent;
  --err-ink: #c8782a;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Archivo", system-ui, sans-serif;
  --head: "Archivo Black", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: light;
  --tex: repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1px 5px);
  --tex-size: auto;
  --sp: 18px;
  --sec: 48px;
  --lh: 1.55;
  --r-sm: 0px;
  --r: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --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 */
.tbsgcdfq { 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 */
.tbst52op { 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; }
.tbs7dkbo { 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; }
.tbshjw5b { 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; }
.tbszutov { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--brand); color: var(--on-brand); border-radius: var(--r-sm); }
.tbs2gypb { display: flex; flex-direction: column; min-width: 0; }
.tbsj7wr5 { font: 700 22px/1.1 var(--head); overflow-wrap: anywhere; }
.tbsxmtjb { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tbsmxdkh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.tbsmxdkh a { min-height: 36px; display: inline-flex; align-items: center; padding-inline: 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.tbsmxdkh a:hover { background: var(--bg-2); color: var(--ink); }
.tbsmxdkh a.tbsrlr6c { background: var(--brand); color: var(--on-brand); font-weight: 700; }
.tbsbdh6c { 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; }
.tbsmrohu { 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; }
.tbs7url5 { padding: var(--sp) var(--pad); border-block-start: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.tbs7url5 a { text-decoration: underline; }
.tbs7url5 nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; }
.tbs7url5 nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.tbswiz55 { 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; }
.tbswiz55 .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); }
.tbswiz55 .tab span:not(.dot) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 2px; }
.tbswiz55 .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); }
.tbsu7c6b { color: var(--hl); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.tbsofxbr { font-size: clamp(28px, 3.6vw, 42px); margin-block-end: 8px; }
.tbsxvir7 { font-size: 24px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tbswgeaw { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.tbsnsyrd, .tbsk7f2b, .tbstkpgo, .tbsceko5, .tbs66ajd, .tbs2ghwc, .tbsyehpn, .tbsfgfsk { font-family: var(--mono); }

/* index cards: one look for a person, whichever card option is chosen */
.tbsv5m5j { 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; }
.tbsv5m5j:hover { border-color: var(--hl); }
.tbsrq4zt { position: relative; display: block; overflow: hidden; background: var(--bg-2); }
.tbsrq4zt img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; }
.tbslpkxg { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; background: var(--card); }
.tbsrriwl { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.tbsbgq6j { font: 700 17px/1.2 var(--head); overflow-wrap: anywhere; }
.tbs5l2bg { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tbsceko5 { font-size: 11.5px; color: var(--ink-2); }
.tbscz2zo { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tbszzfjn { 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)); }
.tbspl4nz { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 14px); }
.tbspl4nz .tbscz2zo, .tbspl4nz .tbszzfjn, .tbspl4nz .tbsceko5 { display: none; }
.tbspl4nz .tbsbgq6j { font-size: 16px; }
.tbsnqjrv { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.tbsnqjrv .tbs7bic3 { margin: 0; }
.tbs2vx3j { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.on-dot { display: inline-block; vertical-align: middle; }

/* the front page */
.tbswosdw > section, .tbswosdw > nav { margin-block-end: var(--sec); }
.tbswosdw > .tbsduqjy { margin-block-end: calc(var(--sec) * .8); }
.tbsduqjy h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; overflow-wrap: anywhere; }
.tbsk7f2b { font-size: 12.5px; color: var(--ink-2); margin-block-end: 6px; overflow-wrap: anywhere; }
.tbsncapb { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.tbsxiltw { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-block-start: var(--sp); }
.tbsusopm { margin: 0; padding: 0; list-style: none; }
.tbsusopm dt, .tbsusopm b { font: 700 28px/1.1 var(--head); color: var(--hl); }
.tbsusopm 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 */
.tbsduqjy .hw { margin-block: var(--sp); border: var(--bw) var(--bs) var(--line-2); box-shadow: none; text-align: start; border-radius: var(--r); }
.tbsduqjy .hw-name { font-family: var(--head); font-weight: 700; }
.tbsduqjy .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.tbsduqjy .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) { .tbsduqjy .hw { height: clamp(300px, 27vw, 380px); } }

/* sections */
.tbszs3sz { margin-block-end: var(--sp); }
.tbst5vlm h2 { font-size: clamp(24px, 2.7vw, 32px); }
.tbs7bic3 { 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; }
.tbstkpgo { font-size: 13px; color: var(--hl); font-weight: 700; margin-block-end: 2px; }
.tbs5d3j2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp); margin-block-start: var(--sp); }
.tbs2ekzg { 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); }
.tbs5d3j2 h3, .tbsk7ypr h3 { font-size: 19px; margin-block-end: 6px; }
.tbs5d3j2 p, .tbsk7ypr p { margin-block-end: 8px; }
.tbsc3vzd { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp); }
.tbsu34xj { 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; }
.tbsu34xj[hidden] { display: none; }
.tbsu34xj:hover { border-color: var(--hl); border-block-start-color: var(--brand-2); }
.tbs66ajd { font-size: 11.5px; color: var(--ink-2); padding-block-end: 4px; border-block-end: 1px solid var(--line); }
.tbshp54q { display: block; background-image: repeating-linear-gradient(to bottom, transparent 0 25px, var(--rule) 25px 26px); }
.tbs6jyy7 { display: block; font: 400 16px/26px var(--head); }
.tbsnwumq { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 6px; font-size: 13px; color: var(--ink-2); }
.tbsnwumq b { color: var(--hl); }
.tbszijej .tbsu34xj { background: var(--bg-2); }
.tbsk7ypr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.tbsk7ypr ul { list-style: none; margin: 0; padding: 0; }
.tbsk7ypr li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.tbswjvel { width: 100%; border-collapse: collapse; }
.tbswjvel td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.tbswjvel tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: var(--bw) var(--bs) var(--line-2); background: var(--bg-2); }
.tbswjvel td:first-child { color: var(--ink-2); }
.tbswghrl { 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; }
.tbsyi6rk { max-width: 62ch; margin-inline: auto; }
.tbswghrl h2 { font-size: clamp(25px, 3vw, 34px); margin-block-end: 8px; }
.tbswghrl p:not(.tbs7bic3) { margin-block-end: var(--sp); }
.tbsb7w6v h2 { font-size: 20px; margin-block-end: 6px; }
.tbsb7w6v ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.tbsb7w6v li { break-inside: avoid; }
.tbsb7w6v a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.tbsqlezf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.tbsqlezf > div { flex: 1 1 320px; min-width: 0; }
.tbsqlezf p { color: var(--ink-2); max-width: 66ch; }
.search.tbsevv5u { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 240px; }
.tbsc3ggq { 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); }
.tbsc3ggq .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tbsc3ggq .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.tbsc3ggq .chips-scroll, .tbs434d7 .chips-scroll { min-width: 0; }
.tbsxx7az summary { cursor: pointer; font-size: 13.5px; color: var(--hl); min-height: 30px; display: list-item; }
.tbsxx7az .frow { margin-block-start: 6px; }
.tbsww4oj a { font-size: 13.5px; text-decoration: underline; color: var(--hl); }
.tbsnhzol { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.tbsnhzol p { margin-block: 8px 14px; color: var(--ink-2); }
.tbsjb2lr { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: 4px double var(--line-2); scroll-margin-block-start: 12px; }
.tbs434d7 { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page */
.tbsvlpx7 { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; text-decoration: underline; color: var(--hl); }
.tbsq2dh4 { 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; }
.tbs3bwbi { 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); }
.tbsahcr5 { position: relative; }
.tbsahcr5 img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-2); }
.tbsahcr5 .badge-ai { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; }
.tbs2zaos { 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); }
.tbs2zaos dd { overflow-wrap: anywhere; font-weight: 400; }
.tbsepqej h1 { font-size: clamp(28px, 3.6vw, 42px); }
.tbsepqej h1 small { display: block; font-size: .5em; font-weight: 400; color: var(--ink-2); margin-block-start: 4px; }
.tbsldsba { font-size: 13.5px; color: var(--ink-2); margin-block-end: 6px; }
.tbsluz3l { font: 400 20px/1.32 var(--head); margin-block: 10px 8px; }
.tbstbwk5 { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.tbs7kddl { font-size: 12.5px; color: var(--ink-3); }
.tbsjtm23 { margin-block-start: var(--sec); }
.tbsm4uh3 { 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; }
.tbsjtm23 .tbsm4uh3 { margin-block-end: var(--sp); border-block-end: 1px solid var(--line-2); border-radius: var(--r-sm); }
.tbs4yc5w { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--sp) * 1.4); margin-block-start: var(--sec); align-items: start; }
.tbs4lsm2 { padding: 0 0 var(--sp); }
.tbs4lsm2 > .tbsm4uh3 ~ .tbsm4uh3 { margin-block-start: var(--sp); }
.tbs4lsm2 > ul, .tbs4lsm2 > 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; }
.tbs4lsm2 > p { padding-inline: 14px; }
.tbs4lsm2 li { overflow-wrap: anywhere; }
.tbsycqun { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: 4px double var(--line-2); }
.tbsycqun .tbsm4uh3 { margin-block-end: var(--sp); border-block-end: 1px solid var(--line-2); border-radius: var(--r-sm); }
.tbsycqun ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.tbsycqun li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.tbsycqun b { display: block; font-family: var(--head); }

/* static pages: a long card */
.tbstzoqr { 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); }
.tbsrh4gy { font: 400 20px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.tbstzoqr h2 { font-size: 22px; margin-block: calc(var(--sp) * 1.4) 8px; padding-block-end: 4px; border-block-end: 1px solid var(--line-2); }
.tbstzoqr p, .tbstzoqr li { margin-block-end: 8px; }
.tbstzoqr ul { padding-inline-start: 20px; margin: 0; }
.tbstzoqr a { text-decoration: underline; color: var(--hl); }
.tbs2ghwc { font-size: 13px; color: var(--ink-2); }
.tbstprik { 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 .tbs7url5 { display: none; }
.chat-page .tbst52op { height: 100dvh; min-height: 0; }
.chat-page .tbs7dkbo { padding-block: 8px; }
.chat-page .tbsxmtjb { display: none; }
.chat-page .tbsbdh6c { min-height: 0; padding-block-end: 12px; }
.chat-page .tbsmrohu { 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 */
.tbspu2c5 { font-size: 17px; margin-block-end: 8px; }
.tbst4pgo { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.tbst4pgo a, .tbsiwnq7 a, .tbs2j6h6 .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; }
.tbsxqwcj 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); }
.tbs2j6h6 { background: transparent; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--sp) * 2); align-items: center; }
.tbsbc3zt { 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; }
.tbsiaqtx { font: 700 22px var(--head); }
.tbs7dbtt { 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); }
.tbsfgfsk { display: block; font-size: 12px; color: var(--ink-2); margin-block-end: 6px; }
.tbs7dbtt span:not(.tbsfgfsk) { display: block; font: 400 18px/32px var(--head); }
.tbsbc3zt cite { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); margin-block-start: 6px; }
.tbso6pkh { font-size: 13.5px; color: var(--ink-2); }
.tbsvrxw6 { 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); }
.tbsyehpn { 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; }
.tbs2j6h6 h1 { font-size: 30px; }
.tbs2j6h6 .muted { margin-block: 6px 18px; }
.tbsiwnq7 { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate */
.modal-back.tbs53lzc { background: color-mix(in srgb, var(--bg) 80%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.tbsois6v { 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; }
.tbs3w6r5 { 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; }
.tbsois6v h2 { font-size: 36px; margin-block: 14px 10px; }
.tbss5wks { color: var(--ink-2); }
.tbsblp6x { margin-block: 16px 12px; }
.tbsuo2av { font-size: 12.5px; color: var(--ink-2); }
.tbsuo2av 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; }
  .tbs7dkbo { padding: 10px 16px; gap: 6px 10px; }
  .tbshjw5b { padding-block: 5px; }
  .tbszutov { width: 32px; height: 32px; }
  .tbsj7wr5 { font-size: 19px; }
  .tbsxmtjb { display: none; }
  .tbsmxdkh { font-size: 13px; }
  .tbsmxdkh a { min-height: 34px; padding-inline: 10px; }
  .tbsc4xeg, .tbs23iel, .tbsp7yr7 { display: none; }
  .tbsbdh6c { display: block; padding-inline: 0; }
  .tbsmrohu { 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)); }
  .tbs7url5 { 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; }
  .tbspl4nz, .tbs2vx3j { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbspl4nz .tbsv5m5j:nth-child(n+3) { display: none; }
  .tbstk532 .tbsv5m5j:nth-child(n+3) { display: none; }
  .tbscvqgn { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .tbstdxdo li { padding-inline: 10px; }
  .tbsb7w6v ul, .tbsycqun ul { columns: 1; }
  .tbsb7w6v a { min-height: 44px; }
  .tbsq2dh4 { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .tbs3bwbi { padding-block-end: 34px; }
  .tbsahcr5 { margin-inline: -12px; }
  .tbs2zaos { grid-template-columns: 68px minmax(0, 1fr); font-size: 12.5px; }
  .tbs4yc5w { grid-template-columns: minmax(0, 1fr); }
  .tbstbwk5 .btn { flex: 1 1 100%; }
  .search.tbsevv5u { min-width: 0; width: 100%; }
  .tbsc3ggq .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .tbsc3ggq .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .chat-page .tbst52op { height: 100dvh; }
  .chat-page .tbs7dkbo { display: none; }
  .chat-page .tbsbdh6c { padding-block-end: 0; }
  .chat-page .tbsmrohu { 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; }
  .tbs2j6h6 { grid-template-columns: minmax(0, 1fr); }
  .tbsbc3zt { display: none; }
  .tbsvrxw6 { padding-inline: 18px; }
  .tbsois6v { padding-inline: 18px; }
  .tbstzoqr { padding: var(--sp); }
  .tbsoyojh .tbsp7wm2 { margin-block-start: 8px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .tbspl4nz { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tbs4yc5w { 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 .tbsmrohu { 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 .tbsgcdfq { 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 .tbsduqjy h1, body .tbsofxbr, body .tbsepqej h1, body .tbsois6v h2 { text-shadow: 0 0 30px var(--glow); }
body .tbs2ekzg, body .tbsu34xj, body .tbswghrl, body .tbs3bwbi, body .tbstzoqr, body .tbsvrxw6, body .tbsu3bhi, body .tbsm5q4i li, body .tbslqegq, body .tbswqzvh, body .tbsrs4h7 div, body .tbstvm5y details, body .tbs7dbtt, body .tbsois6v, body .tbsc2kip .tbsusopm div, body .tbsrub7c .tbsgkqd6:first-child, body .tbs2d43r .tbslbfix {
  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 .tbs2ekzg, body .tbsu3bhi, body .tbsrs4h7 div, body .tbsois6v, body .tbs7dbtt, body .tbs2zaos, body .tbs4lsm2 > ul, body .tbs4lsm2 > p { background-image: none; }
body .tbshp54q { background-image: none; }
body .tbs6jyy7 { line-height: 1.5; margin-block-end: 3px; }
body .tbsjb2lr, body .tbsycqun { 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 .tbspni6p.tbs3tg6y, body .tbswiz55 .tab.active { box-shadow: inset 0 2px 0 var(--brand), 0 -6px 20px -8px var(--glow); }
body .tbsddouq.tbs3tg6y { 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 .tbshjw5b { 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 */
.tbsrq4zt::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 .tbsrq4zt img { transition: transform .7s ease; }
body .tbsv5m5j:hover .tbsrq4zt img { transform: scale(1.04); }
body .tbsv5m5j { box-shadow: 0 16px 40px -22px var(--glow); }
body .tbsbtckq .tbsgcdfq { display: none; }
body .tbsbtckq { display: block; }
body .tbsbtckq .tbslbfix { 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 .tbsbtckq .tbslbfix > * { line-height: 1.3; color: #fff; }
body .tbsbtckq .tbsceko5 { color: rgba(255, 255, 255, .8); font-size: 12px; }
body .tbsbtckq .tbs5l2bg, body .tbsbtckq .tbscz2zo { color: rgba(255, 255, 255, .9); font-size: 13px; }
body .tbsbtckq .tbscz2zo { display: none; }
body .tbsbtckq .tbsbgq6j { font-size: 19px; }
body .tbsbtckq .tbsrq4zt img { aspect-ratio: 640 / 830; }
body .tbspl4nz .tbsbtckq .tbslbfix { padding-block-end: 12px; }
body .tbsbtckq .tbslpkxg { z-index: 3; }
body .tbs5lk6n { 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. */
.tbs2vx3j { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .tbs2vx3j { 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; }
.tbsoyojh { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "lab lab" "h1 txt"; gap: 8px calc(var(--sp) * 2); align-items: end; padding: 18px 26px 34px; background: var(--bg-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); box-shadow: inset 0 0 0 5px var(--bg-2), inset 0 0 0 6px var(--line); }
.tbs2lhkt { grid-area: lab; margin: 0; }
.tbs2lhkt span { display: inline-block; padding: 3px 16px; background: var(--card); border: 1px solid var(--line-2); font: 12.5px var(--mono); box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--line); overflow-wrap: anywhere; }
.tbsoyojh h1 { grid-area: h1; }
.tbsoyojh .tbsp7wm2 { grid-area: txt; }
.tbs7zlkc { position: absolute; inset-block-end: 9px; inset-inline: 0; margin-inline: auto; width: 76px; height: 11px; border-radius: 6px; background: var(--card); border: 1px solid var(--line-2); }
.tbs6wyco { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: var(--sp); border-block: 1px dashed var(--line-2); }
.tbs6wyco div { padding: 12px 14px; border-inline-start: 1px dashed var(--line-2); }
.tbs6wyco div:first-child { border-inline-start: 0; }
@media (max-width: 900px) {
  .tbseu7si { display: flex; flex-direction: column; }
  .tbsoyojh { display: contents; }
  .tbs2lhkt { order: 0; }
  .tbsoyojh h1 { order: 1; padding-block: 10px; border-block: 4px double var(--line-2); margin-block-end: 4px; }
  .tbseu7si .tbspl4nz { order: 2; }
  .tbseu7si .hw { order: 3; }
  .tbsoyojh .tbsp7wm2 { order: 4; }
  .tbs6wyco { order: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbs6wyco div:nth-child(odd) { border-inline-start: 0; }
  .tbs7zlkc { display: none; }
}
.tbsbtckq .tbslbfix { 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; }
.tbsbtckq .tbslbfix > * { line-height: 26px; }
.tbsbtckq .tbsbgq6j { font-size: 17px; }
.tbsbtckq .tbscz2zo { line-height: 26px; }
.tbspl4nz .tbsbtckq .tbslbfix { 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(.tbspl4nz), .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; }
}
.tbsrteum { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; }
.tbsrteum li { counter-increment: st; position: relative; }
.tbspbv6s { margin-inline-start: 16px; padding-inline-start: 38px; border-inline-start: 4px double var(--line-2); }
.tbspbv6s li { padding-block-end: calc(var(--sp) * 1.3); }
.tbspbv6s li:last-child { padding-block-end: 0; }
.tbspbv6s 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%; }
.tbspbv6s h3 { font-size: 19px; margin-block-end: 4px; padding-block-start: 8px; }
@media (max-width: 900px) { .tbspbv6s { padding-inline-start: 30px; margin-inline-start: 14px; } .tbspbv6s li::before { inset-inline-start: -53px; width: 36px; height: 36px; font-size: 13px; } }
.tbsrs4h7 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); gap: var(--sp); margin: 0; }
.tbsrs4h7 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); }
.tbsrs4h7 dt { font: 700 17px/28px var(--head); }
.tbsrs4h7 dd { margin: 0; line-height: 28px; color: var(--ink-2); }
.tbsyv43e .tbszs3sz { display: flex; align-items: center; gap: 16px; margin-block-end: calc(var(--sp) * 1.4); }
.tbsyv43e .tbszs3sz::before, .tbsyv43e .tbszs3sz::after { content: ""; flex: 1 1 24px; height: 5px; border-block: 1px solid var(--line-2); }
.tbsec35b { max-width: min(100%, 640px); padding: 8px 28px 10px; text-align: center; background: var(--card-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: inset 0 0 0 3px var(--card-2), inset 0 0 0 4px var(--line); }
.tbsec35b .tbs7bic3 { margin-block-end: 4px; }
.tbsec35b h2 { overflow-wrap: anywhere; }
@media (max-width: 900px) { .tbsec35b { padding-inline: 14px; } .tbsyv43e .tbszs3sz { gap: 8px; } }
/* nav: drawer fronts down one side, each with its label holder and pull */
.tbsp7yr7 { flex: none; width: 238px; position: sticky; inset-block-start: 16px; align-self: flex-start; display: flex; flex-direction: column; gap: 12px; }
.tbs7npse .tbsp7yr7 { margin-inline-end: var(--sp); }
.tbsgatgc .tbsp7yr7 { margin-inline-start: var(--sp); }
.tbsp7yr7 nav { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--bg-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.tbsddouq { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 68px; padding: 10px 12px 20px; background: var(--card); color: var(--ink); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); }
.tbsddouq:hover { border-color: var(--hl); }
.tbs7p4bj { font: 11px var(--mono); color: var(--ink-2); }
.tbssxroe { padding: 6px 10px; background: var(--card-2); border: 1px solid var(--line-2); text-align: center; font: 700 15px/1.2 var(--head); overflow-wrap: anywhere; box-shadow: inset 0 0 0 2px var(--card-2), inset 0 0 0 3px var(--line); }
.tbssxroe b { font-size: 12px; color: var(--hl); }
.tbspdjyo { position: absolute; inset-block-end: 6px; inset-inline: 0; margin-inline: auto; width: 36px; height: 7px; border-radius: 4px; background: var(--line-2); }
.tbsddouq.tbs3tg6y { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tbsddouq.tbs3tg6y .tbs7p4bj { color: var(--on-brand); }
.tbsddouq.tbs3tg6y .tbssxroe { background: var(--card); color: var(--ink); }
.tbsddouq.tbs3tg6y .tbspdjyo { background: var(--on-brand); opacity: .55; }
.tbsita7r { font-size: 12.5px; color: var(--ink-2); padding-inline: 6px; }
.tbsauq2t { font-size: 13px; text-decoration: underline; color: var(--hl); padding-inline: 6px; min-height: 32px; display: inline-flex; align-items: center; }
