:root {
  --bg: #e2eee5;
  --bg-2: #d7e3da;
  --card: #d1ded4;
  --card-2: #c8d5cb;
  --ink: #29382d;
  --ink-2: #4e5c52;
  --ink-3: #6c7a6f;
  --line: #b9c6bd;
  --line-2: #869389;
  --brand: #0d7728;
  --brand-2: #a12217;
  --violet: #a12217;
  --blue: #a12217;
  --glass: #dce9df;
  --on-brand: #ffffff;
  --grad: linear-gradient(#0d7728, #0d7728);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #a12217;
  --gold: #a12217;
  --danger: #a12217;
  --ok-bg: transparent;
  --ok-ink: #0d7728;
  --err-bg: transparent;
  --err-ink: #a12217;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Hind", system-ui, sans-serif;
  --head: "Staatliches", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: light;
  --tex: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  --tex-size: 34px 34px;
  --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 */
.tpt2kpth { 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 */
.tptwqbm3 { 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; }
.tpttvol4 { 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; }
.tptxemo7 { 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; }
.tpt6x74y { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--brand); color: var(--on-brand); border-radius: var(--r-sm); }
.tptq2fxe { display: flex; flex-direction: column; min-width: 0; }
.tpt65eiy { font: 700 22px/1.1 var(--head); overflow-wrap: anywhere; }
.tpta5mak { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tpt6ca4o { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.tpt6ca4o a { min-height: 36px; display: inline-flex; align-items: center; padding-inline: 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.tpt6ca4o a:hover { background: var(--bg-2); color: var(--ink); }
.tpt6ca4o a.tptdgilc { background: var(--brand); color: var(--on-brand); font-weight: 700; }
.tpt7ovwr { 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; }
.tpt4ofna { 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; }
.tptpyr5s { padding: var(--sp) var(--pad); border-block-start: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.tptpyr5s a { text-decoration: underline; }
.tptpyr5s nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; }
.tptpyr5s nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.tptvtvie { 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; }
.tptvtvie .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); }
.tptvtvie .tab span:not(.dot) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 2px; }
.tptvtvie .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); }
.tptzmxi3 { color: var(--hl); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.tptau6ze { font-size: clamp(28px, 3.6vw, 42px); margin-block-end: 8px; }
.tptoxvky { font-size: 24px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tpttmjov { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.tptjkqq7, .tptq6fpr, .tpthduex, .tpte4s3n, .tptskrmk, .tptisth3, .tpt676ne, .tptqptzz { font-family: var(--mono); }

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

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

/* sections */
.tptt3gxm { margin-block-end: var(--sp); }
.tptaesib h2 { font-size: clamp(24px, 2.7vw, 32px); }
.tpt5yyuh { 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; }
.tpthduex { font-size: 13px; color: var(--hl); font-weight: 700; margin-block-end: 2px; }
.tpthykmr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp); margin-block-start: var(--sp); }
.tpt5hsih { 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); }
.tpthykmr h3, .tptmjwgs h3 { font-size: 19px; margin-block-end: 6px; }
.tpthykmr p, .tptmjwgs p { margin-block-end: 8px; }
.tptttjjf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp); }
.tptw6foe { 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; }
.tptw6foe[hidden] { display: none; }
.tptw6foe:hover { border-color: var(--hl); border-block-start-color: var(--brand-2); }
.tptskrmk { font-size: 11.5px; color: var(--ink-2); padding-block-end: 4px; border-block-end: 1px solid var(--line); }
.tpt6brs2 { display: block; background-image: repeating-linear-gradient(to bottom, transparent 0 25px, var(--rule) 25px 26px); }
.tpttkwvp { display: block; font: 400 16px/26px var(--head); }
.tptkszqc { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 6px; font-size: 13px; color: var(--ink-2); }
.tptkszqc b { color: var(--hl); }
.tpt6qhx5 .tptw6foe { background: var(--bg-2); }
.tptmjwgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.tptmjwgs ul { list-style: none; margin: 0; padding: 0; }
.tptmjwgs li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.tptaswgs { width: 100%; border-collapse: collapse; }
.tptaswgs td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.tptaswgs tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: var(--bw) var(--bs) var(--line-2); background: var(--bg-2); }
.tptaswgs td:first-child { color: var(--ink-2); }
.tptrcghg { 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; }
.tpthmrj2 { max-width: 62ch; margin-inline: auto; }
.tptrcghg h2 { font-size: clamp(25px, 3vw, 34px); margin-block-end: 8px; }
.tptrcghg p:not(.tpt5yyuh) { margin-block-end: var(--sp); }
.tptai4jz h2 { font-size: 20px; margin-block-end: 6px; }
.tptai4jz ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.tptai4jz li { break-inside: avoid; }
.tptai4jz a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

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

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

/* static pages: a long card */
.tptbp2eg { 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); }
.tptmqknc { font: 400 20px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.tptbp2eg h2 { font-size: 22px; margin-block: calc(var(--sp) * 1.4) 8px; padding-block-end: 4px; border-block-end: 1px solid var(--line-2); }
.tptbp2eg p, .tptbp2eg li { margin-block-end: 8px; }
.tptbp2eg ul { padding-inline-start: 20px; margin: 0; }
.tptbp2eg a { text-decoration: underline; color: var(--hl); }
.tptisth3 { font-size: 13px; color: var(--ink-2); }
.tptbf5ho { 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 .tptpyr5s { display: none; }
.chat-page .tptwqbm3 { height: 100dvh; min-height: 0; }
.chat-page .tpttvol4 { padding-block: 8px; }
.chat-page .tpta5mak { display: none; }
.chat-page .tpt7ovwr { min-height: 0; padding-block-end: 12px; }
.chat-page .tpt4ofna { 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 */
.tptsx7kl { font-size: 17px; margin-block-end: 8px; }
.tptblkou { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.tptblkou a, .tptkldy2 a, .tptf4q7k .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; }
.tptce4dy 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); }
.tptf4q7k { background: transparent; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--sp) * 2); align-items: center; }
.tptvsmay { 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; }
.tptcs4jb { font: 700 22px var(--head); }
.tptiqoqe { 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); }
.tptqptzz { display: block; font-size: 12px; color: var(--ink-2); margin-block-end: 6px; }
.tptiqoqe span:not(.tptqptzz) { display: block; font: 400 18px/32px var(--head); }
.tptvsmay cite { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); margin-block-start: 6px; }
.tptchjpq { font-size: 13.5px; color: var(--ink-2); }
.tptljd7k { 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); }
.tpt676ne { 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; }
.tptf4q7k h1 { font-size: 30px; }
.tptf4q7k .muted { margin-block: 6px 18px; }
.tptkldy2 { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate */
.modal-back.tptuavls { background: color-mix(in srgb, var(--bg) 80%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.tptq473g { 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; }
.tpt56hs7 { 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; }
.tptq473g h2 { font-size: 36px; margin-block: 14px 10px; }
.tpt2cxyu { color: var(--ink-2); }
.tptsmdf4 { margin-block: 16px 12px; }
.tptrhgbw { font-size: 12.5px; color: var(--ink-2); }
.tptrhgbw 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; }
  .tpttvol4 { padding: 10px 16px; gap: 6px 10px; }
  .tptxemo7 { padding-block: 5px; }
  .tpt6x74y { width: 32px; height: 32px; }
  .tpt65eiy { font-size: 19px; }
  .tpta5mak { display: none; }
  .tpt6ca4o { font-size: 13px; }
  .tpt6ca4o a { min-height: 34px; padding-inline: 10px; }
  .tptm2zas, .tptodjxj, .tptopavx { display: none; }
  .tpt7ovwr { display: block; padding-inline: 0; }
  .tpt4ofna { 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)); }
  .tptpyr5s { 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; }
  .tpt7akcn, .tpti7z66 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpt7akcn .tptgb7nr:nth-child(n+3) { display: none; }
  .tptzswyc .tptgb7nr:nth-child(n+3) { display: none; }
  .tptw5udk { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .tptcsppr li { padding-inline: 10px; }
  .tptai4jz ul, .tptf74im ul { columns: 1; }
  .tptai4jz a { min-height: 44px; }
  .tpt5pzi6 { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .tpt7m64v { padding-block-end: 34px; }
  .tpt64v4o { margin-inline: -12px; }
  .tpt5pcgb { grid-template-columns: 68px minmax(0, 1fr); font-size: 12.5px; }
  .tptifuc7 { grid-template-columns: minmax(0, 1fr); }
  .tptw5nn4 .btn { flex: 1 1 100%; }
  .search.tptvfp4b { min-width: 0; width: 100%; }
  .tpt5gck3 .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .tpt5gck3 .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .chat-page .tptwqbm3 { height: 100dvh; }
  .chat-page .tpttvol4 { display: none; }
  .chat-page .tpt7ovwr { padding-block-end: 0; }
  .chat-page .tpt4ofna { 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; }
  .tptf4q7k { grid-template-columns: minmax(0, 1fr); }
  .tptvsmay { display: none; }
  .tptljd7k { padding-inline: 18px; }
  .tptq473g { padding-inline: 18px; }
  .tptbp2eg { padding: var(--sp); }
  .tptlx7qs .tptlqbht { margin-block-start: 8px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .tpt7akcn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tptifuc7 { 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 .tpt4ofna { 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 .tpt2kpth { 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 .tptmjfny h1, body .tptau6ze, body .tptvch47 h1, body .tptq473g h2 { text-shadow: 0 0 30px var(--glow); }
body .tpt5hsih, body .tptw6foe, body .tptrcghg, body .tpt7m64v, body .tptbp2eg, body .tptljd7k, body .tptsqe3i, body .tptzktri li, body .tptl64g2, body .tptj34p3, body .tpttj2d6 div, body .tptgipbd details, body .tptiqoqe, body .tptq473g, body .tptd5z6r .tptd5e6c div, body .tpt5erd2 .tpto4aej:first-child, body .tpt2eqhd .tpt422qk {
  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 .tpt5hsih, body .tptsqe3i, body .tpttj2d6 div, body .tptq473g, body .tptiqoqe, body .tpt5pcgb, body .tptdvlfp > ul, body .tptdvlfp > p { background-image: none; }
body .tpt6brs2 { background-image: none; }
body .tpttkwvp { line-height: 1.5; margin-block-end: 3px; }
body .tptbziec, body .tptf74im { 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 .tpttrakg.tptqface, body .tptvtvie .tab.active { box-shadow: inset 0 2px 0 var(--brand), 0 -6px 20px -8px var(--glow); }
body .tpt43bin.tptqface { 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 .tptxemo7 { 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 */
.tptymcci::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 .tptymcci img { transition: transform .7s ease; }
body .tptgb7nr:hover .tptymcci img { transform: scale(1.04); }
body .tptgb7nr { box-shadow: 0 16px 40px -22px var(--glow); }
body .tpt7524p .tpt2kpth { display: none; }
body .tpt7524p { display: block; }
body .tpt7524p .tpt422qk { 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 .tpt7524p .tpt422qk > * { line-height: 1.3; color: #fff; }
body .tpt7524p .tpte4s3n { color: rgba(255, 255, 255, .8); font-size: 12px; }
body .tpt7524p .tptk35ve, body .tpt7524p .tptxgbkp { color: rgba(255, 255, 255, .9); font-size: 13px; }
body .tpt7524p .tptxgbkp { display: none; }
body .tpt7524p .tptlpqlv { font-size: 19px; }
body .tpt7524p .tptymcci img { aspect-ratio: 640 / 830; }
body .tpt7akcn .tpt7524p .tpt422qk { padding-block-end: 12px; }
body .tpt7524p .tptnur3r { z-index: 3; }
body .tpt2ntd4 { 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. */
.tpti7z66 { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .tpti7z66 { 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; }
.tptnxmfo { text-align: center; }
.tptnxmfo 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); }
.tptnxmfo .tptq6fpr { display: inline-block; padding: 2px 14px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: var(--r-sm); }
.tptnxmfo .tpt7akcn { margin-block-start: var(--sp); text-align: start; }
.tptnxmfo .tptzkw6m { margin-inline: auto; }
.tptnxmfo .tptex245 { justify-content: center; }
.tptcsppr { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: var(--sp); }
.tptcsppr 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); }
.tptcsppr b { font-size: 22px; }
.tptcsppr span { font-size: 13px; color: var(--ink-2); }
.tptiwybk { overflow: visible; margin-block-start: 24px; padding: 6px; border-start-start-radius: 0; }
.tpt7f2qz { position: absolute; inset-block-start: -24px; inset-inline-start: calc(-1 * var(--bw)); height: 24px; padding: 3px 12px; font: 11.5px/18px var(--mono); color: var(--ink); background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-block-end: 0; border-start-start-radius: var(--r-sm); border-start-end-radius: var(--r-sm); max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tptiwybk .tptymcci { border-radius: var(--r-sm); }
.tpt2ntd4 { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 1px; padding: 36px 10px 9px; color: #fff; background: linear-gradient(0deg, rgba(8, 8, 10, .88) 0%, rgba(8, 8, 10, .55) 55%, rgba(8, 8, 10, 0) 100%); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.tpt2ntd4 .tptk35ve { color: rgba(255, 255, 255, .88); }
.tpt2ntd4 .badge-ai { background: rgba(255, 255, 255, .92); color: #111; border-color: transparent; text-shadow: none; }
.tptiwybk .tpt422qk { display: flex; flex-direction: column; gap: 4px; padding: 8px 6px 6px; }
.tpt7akcn .tptiwybk .tpt422qk { display: none; }
.tpt7akcn .tpt2ntd4 .badge-ai { display: none; }
/* 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, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(238px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(238px, 278px) !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; }
  .tptiwybk { padding: 3px; }
}
.tpttvu4k { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; }
.tpttvu4k li { counter-increment: st; position: relative; }
.tpttvu4k li::before { content: counter(st, decimal-leading-zero); font-family: var(--mono); font-weight: 700; color: var(--ink-2); }
.tptzktri { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: var(--sp); }
.tptzktri li { padding: 40px 16px 30px; background: var(--card); border: 1px solid var(--line-2); border-block-start: 3px solid var(--brand-2); border-radius: var(--r-sm); }
.tptzktri li:nth-child(even) { margin-block-start: 14px; }
.tptzktri li::before { position: absolute; inset-block-start: 10px; inset-inline-start: 14px; font-size: 13px; }
.tptzktri h3 { font-size: 19px; margin-block-end: 6px; }
@media (max-width: 900px) { .tptzktri li:nth-child(even) { margin-block-start: 0; } }
.tptndnc4 details { margin-block-end: 8px; background: var(--card-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); }
.tptndnc4 details[open] { border-inline-start: 6px solid var(--brand-2); }
.tptndnc4 summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 16px; cursor: pointer; font: 700 17px/1.3 var(--head); }
.tptndnc4 summary::-webkit-details-marker { display: none; }
.tptndnc4 summary::before { content: ""; flex: none; width: 34px; height: 9px; border-radius: 5px; background: var(--card); border: 1px solid var(--line-2); }
.tptndnc4 p { padding: 0 16px 14px 64px; padding-inline: 64px 16px; max-width: 76ch; }
@media (max-width: 900px) { .tptndnc4 p { padding-inline: 16px; } }
.tptwlnu6 { position: relative; margin-block-start: 30px; }
.tpt2skk3 { position: absolute; inset-block-start: -28px; inset-inline-start: 22px; height: 28px; padding: 3px 22px; font: 700 13px/22px var(--mono); color: var(--ink); background: var(--card-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); }
.tptmvbxq > .tptwlnu6:nth-child(3n) .tpt2skk3 { inset-inline-start: 150px; }
.tptmvbxq > .tptwlnu6:nth-child(3n+2) .tpt2skk3 { inset-inline-start: 278px; }
.tptoqhrx { padding: var(--pad); background: var(--card-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); border-start-start-radius: 0; }
.tptwlnu6 .tpt5hsih, .tptwlnu6 .tptw6foe { background-color: var(--card); }
.tptwlnu6 .tpthduex { display: none; }
@media (max-width: 900px) { .tptmvbxq > .tptwlnu6 .tpt2skk3 { inset-inline-start: 14px !important; } .tptoqhrx { padding: var(--sp); } }
/* nav: a thumb index hanging off the edge of the sheet */
.tptodjxj { 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; }
.tptbfc3m { 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; }
.tptbfc3m:hover { color: var(--ink); background: var(--card-2); }
.tptbfc3m.tptqface { background: var(--card); color: var(--ink); }
.tptbfc3m.tptqface::before { content: ""; position: absolute; inset-block: 0; width: 4px; background: var(--brand-2); }
.tptbfc3m b { font-size: 12px; color: var(--hl); }
.tptqp5l2 .tptbfc3m { border-inline-end: 0; border-start-start-radius: var(--r); border-end-start-radius: var(--r); }
.tptqp5l2 .tptbfc3m.tptqface { margin-inline-end: calc(-1 * var(--bw)); padding-inline-end: calc(12px + var(--bw)); }
.tptqp5l2 .tptbfc3m.tptqface::before { inset-inline-start: 0; }
.tptr4csw .tptbfc3m { border-inline-start: 0; border-start-end-radius: var(--r); border-end-end-radius: var(--r); }
.tptr4csw .tptbfc3m.tptqface { margin-inline-start: calc(-1 * var(--bw)); padding-inline-start: calc(12px + var(--bw)); }
.tptr4csw .tptbfc3m.tptqface::before { inset-inline-end: 0; }
.tptjvbzv.tptqp5l2 .tpt4ofna { border-start-start-radius: 0; }
.tptjvbzv.tptr4csw .tpt4ofna { border-start-end-radius: 0; }
