:root {
  --bg: #e3eedd;
  --bg-2: #d7e2d1;
  --card: #d1dccb;
  --card-2: #c7d3c1;
  --ink: #1e2b17;
  --ink-2: #45523f;
  --ink-3: #65715e;
  --line: #b8c3b1;
  --line-2: #808c7a;
  --brand: #387b14;
  --brand-2: #1d7231;
  --violet: #1d7231;
  --blue: #1d7231;
  --glass: #dde8d7;
  --on-brand: #ffffff;
  --grad: linear-gradient(#387b14, #387b14);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #1d7231;
  --gold: #1d7231;
  --danger: #1d7231;
  --ok-bg: transparent;
  --ok-ink: #387b14;
  --err-bg: transparent;
  --err-ink: #1d7231;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "DM Sans", system-ui, sans-serif;
  --head: "DM Serif Display", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: light;
  --tex: none;
  --tex-size: auto;
  --sp: 26px;
  --sec: 88px;
  --lh: 1.7;
  --gut: 48px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --bw: 1px;
  --bs: solid;
}
body { font-weight: 400; letter-spacing: 0; line-height: var(--lh); background-color: var(--bg); background-image: var(--tex); background-size: var(--tex-size); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.14; text-wrap: balance; }
a { text-underline-offset: 3px; }
.badge-ai { background: transparent; color: var(--brand); border: 1px solid var(--brand); border-radius: var(--r-sm); font-size: 10px; font-weight: 700; padding: 0 4px; backdrop-filter: none; box-shadow: none; }

/* the frame: a rail on one edge, the page beside it */
.tktxjfw4 { display: flex; align-items: flex-start; min-height: 100dvh; }
.tktsvthq { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; min-height: 100dvh; overflow-x: clip; }
.main, .has-rail .main { margin: 0; margin-inline: auto; padding: var(--sec) var(--gut); min-height: 0; flex: 1; width: 100%; max-width: 1260px; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.tkt5lohb { flex: none; position: sticky; inset-block-start: 0; height: 100dvh; overflow-y: auto; overflow-x: hidden; z-index: 5; display: flex; flex-direction: column; scrollbar-width: none; border-inline-style: var(--bs); border-inline-color: var(--line-2); border-inline-width: var(--rb-s) var(--rb-e); }
.tkt5lohb a { color: inherit; text-decoration: none; }
.tkt5lohb b { font-weight: 700; }
.tktwxhvl { display: none; }
.tktmbuwj { padding: calc(var(--sp) * 1.5) var(--gut); border-block-start: var(--bw) var(--bs) var(--line-2); font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.tktaelpv { font: 700 20px/1.1 var(--head); color: var(--ink); }
.tktmbuwj p { max-width: 80ch; }
.tktmbuwj a { text-decoration: underline; }
.tktmbuwj nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 6px; }
.tktmbuwj nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.tktnaasa { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.tktnaasa .tab { font-size: 11px; color: var(--ink-2); gap: 2px; line-height: 1.15; text-align: center; }
.tktnaasa .tab.active { color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }

/* the account block, in the rail and in the phone drawer */
.tktd4jqd { display: flex; flex-direction: column; }
.tktwumrb { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.tktwumrb b { font-size: 11px; min-width: 18px; padding: 0 5px; text-align: center; border-radius: 99px; background: var(--ink); color: var(--bg); }

/* 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: 52px; }
.btn-primary, .btn-primary:hover { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline, .btn-outline:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 var(--bw) var(--line-2); }
.btn-ghost { color: var(--ink); }
.chip { background: transparent; 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(--ink); color: var(--bg); 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); }
.tkty4hvx { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.tktuvzmg { font-size: clamp(30px, 4vw, 48px); margin-block-end: 8px; }
.tktb32uc { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tktorz6x { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.tkt2j3ez { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin-block-end: 6px; }
.tkt2j3ez::before { content: ""; display: inline-block; inline-size: 18px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }

/* the front page */
.tktiii6a > section, .tktiii6a > nav { margin-block-end: var(--sec); }
.tktgjxx3 h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; overflow-wrap: anywhere; }
.tktjcndk { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-block-end: 8px; }
.tktjcndk::before { content: ""; display: inline-block; inline-size: 22px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }
.tkt7lpfy { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.tktg37u4 { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-block-start: var(--sp); }
.tktq3aay { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp); margin-block-start: var(--sp); }
.tktq3aay div { padding-inline-start: 12px; border-inline-start: 3px solid var(--brand); }
.tktq3aay dt { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--head); }
.tktq3aay dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.tktgjxx3 .hw { margin-block: var(--sp); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); box-shadow: none; text-align: start; }
.tktgjxx3 .hw-name { font-family: var(--head); font-weight: 700; }
.tktgjxx3 .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.tktgjxx3 .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) { .tktgjxx3 .hw { height: clamp(300px, 27vw, 380px); } }

/* a portrait tile: her photo, her name on a scrim */
.tktf7lpo { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); color: #fff; }
.tktf7lpo img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.tktf7lpo:hover img, .tktf7lpo:focus-visible img { transform: scale(1.05); }
.tktiznxg { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 38px 12px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tktiznxg b { font: 700 clamp(15px, 1.4vw, 18px)/1.2 var(--head); overflow-wrap: anywhere; }
.tktiznxg span { font-size: 12px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tktf7lpo .badge-ai { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.tktf7lpo .on-dot { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.tktoad52 { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 16px; background: var(--brand); color: var(--on-brand); font: 700 clamp(16px, 1.6vw, 20px)/1.2 var(--head); }
.tktoad52 .ic { align-self: flex-end; inline-size: 34px; block-size: 34px; }
.tktoad52 .ic { transform: scaleX(-1); }
[dir="rtl"] .tktoad52 .ic { transform: none; }

/* every portrait, linked to her page */
.tkt5eaye { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.tkt5eaye .tkt2j3ez { margin: 0; }
.tkti33nh { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: min(var(--sp), 10px); }
.tktqjhkr { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--ink); }
.tktqjhkr img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; background: var(--bg-2); border-radius: var(--r-sm); border: var(--bw) var(--bs) var(--line); }
.tktqjhkr:hover img { border-color: var(--brand); }
.tktqjhkr span { font: 700 13.5px/1.25 var(--head); overflow-wrap: anywhere; }

/* sections of the front page */
.tktz7v6j { margin-block-end: var(--sp); }
.tktdsiuv h2 { font-size: clamp(26px, 3vw, 36px); }
.tkt6o4k6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--sp) calc(var(--sp) * 2); margin-block-start: var(--sp); }
.tkt6adhv { padding-block-start: 10px; border-block-start: 2px solid var(--ink); }
.tkt6adhv h3 { font-size: 19px; margin-block-end: 8px; }
.tkt6adhv p { margin-block-end: 8px; }
.tkt7h27v { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.tkt7h27v article { padding: var(--sp); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); }
.tkt7h27v h3 { font-size: 19px; margin-block-end: 6px; }
.tkt7h27v p { margin-block-end: 8px; }
.tkt7h27v ul { list-style: none; margin: 0; padding: 0; }
.tkt7h27v li a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; }
.tkt7f44m { width: 100%; border-collapse: collapse; }
.tkt7f44m td { padding: 9px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.tkt7f44m tr:first-child td { font-weight: 700; border-block-end: 2px solid var(--ink); }
.tkt7f44m td:first-child { font-weight: 700; }
.tktteeoe { padding: calc(var(--sp) * 1.8); background: var(--ink); color: var(--bg); border-radius: var(--r-lg); }
.tktteeoe .tkt2j3ez { color: var(--bg); opacity: .85; }
.tktteeoe h2 { font-size: clamp(26px, 3.2vw, 38px); margin-block-end: 10px; }
.tktteeoe p:not(.tkt2j3ez) { margin-block-end: var(--sp); max-width: 62ch; }
.tktteeoe a:not(.btn) { text-decoration: underline; color: inherit; }
.tktteeoe .btn-primary { box-shadow: 0 0 0 2px var(--bg); }
.tktbbzd4 h2 { font-size: 20px; margin-block-end: 6px; }
.tktbbzd4 ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.tktbbzd4 li { break-inside: avoid; }
.tktbbzd4 a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* the written openers: margin notes */
.tktwus7k { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--sp); }
.tktnsorg { position: relative; display: flex; flex-direction: column; gap: 12px; padding: var(--sp); padding-inline-start: calc(var(--sp) + 10px); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); color: var(--ink); min-width: 0; }
.tktnsorg::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; inline-size: 4px; background: var(--brand); border-start-end-radius: 3px; border-end-end-radius: 3px; }
.tktnsorg[hidden] { display: none; }
.tktnsorg:hover { border-color: var(--ink); }
.tktkojsm span { display: block; font: 400 17px/1.36 var(--head); margin-block-end: 5px; }
.tktv4qrn { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 12.5px; color: var(--ink-2); }
.tktv4qrn b { color: var(--ink); }
.tktmsnlm { margin-block-start: auto; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* lists */
.tktai5s2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; margin-block-end: var(--sp); }
.tktai5s2 > div { flex: 1 1 340px; min-width: 0; }
.tktai5s2 p { color: var(--ink-2); max-width: 66ch; }
.search.tktjhtcd { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 260px; }
.tktnbvdb { display: grid; gap: 8px; padding: 12px 14px; margin-block-end: var(--sp); background: var(--bg-2); border-radius: var(--r); border-inline-start: 4px solid var(--brand); }
.tktnbvdb .frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tktnbvdb .frow-label { flex: none; width: 80px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tktnbvdb .chips-scroll, .tktbihud .chips-scroll { min-width: 0; }
.tktzrlxg summary { cursor: pointer; font-size: 13.5px; font-weight: 700; min-height: 30px; display: list-item; }
.tktzrlxg .frow { margin-block-start: 8px; }
.tktnpani a { font-size: 13.5px; text-decoration: underline; }
.tktabe76 { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.tktabe76 p { margin-block: 8px 14px; color: var(--ink-2); }
.tktv3rv3 { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 4px solid var(--ink); scroll-margin-block-start: 16px; }
.tktbihud { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page: a header, then a spec sheet whose headings sit in the margin */
.tktnjcd4 { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: underline; }
.tktvfsdj { display: grid; grid-template-columns: minmax(min(50vw, 68%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 2); margin-block: 10px var(--sec); align-items: start; }
.tktv5v4r { position: relative; margin: 0; }
.tktv5v4r img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 828 / 1014; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-lg); border: var(--bw) var(--bs) var(--line-2); background: var(--bg-2); }
.tktv5v4r .badge-ai { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.tkt5ct3n h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.tkt5ct3n h1 small { display: block; font: 400 .4em/1.3 var(--font); color: var(--ink-2); margin-block-start: 8px; }
.tktuleo2 { font-size: 13.5px; color: var(--ink-2); margin-block: 12px 6px; }
.tktdzqrh { font: 400 22px/1.3 var(--head); margin-block-end: 10px; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); }
.tktby7fk { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.tktyelcz { font-size: 12.5px; color: var(--ink-3); }
.tktposkf { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: var(--sp) calc(var(--sp) * 2); padding-block: calc(var(--sp) * 1.2); border-block-start: var(--bw) var(--bs) var(--line-2); }
.tktposkf > h2 { font-size: 20px; }
.tktposkf h3 { font-size: 16px; margin-block: var(--sp) 6px; }
.tktposkf ul { margin: 0; padding-inline-start: 18px; }
.tktposkf li, .tktposkf p { margin-block-end: 6px; }
.tktposkf .kv { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); font-size: 14.5px; }
.tktposkf .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.tktmhf4i, .pgrid { margin-block-end: var(--sp); }
.tkt76gbx ul { list-style: none; padding: 0; columns: 3; column-gap: var(--sp); }
.tkt76gbx li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.tkt76gbx b { display: block; font-family: var(--head); }

/* static pages */
.tktzluj4 { max-width: 960px; margin-inline: auto; }
.tkter6jm { margin-block-end: var(--sp); }
.tkt2unxp { font: 400 21px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); max-width: 62ch; }
.tktwvwc7 { display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr); gap: var(--sp) calc(var(--sp) * 2); padding-block: var(--sp); border-block-start: var(--bw) var(--bs) var(--line-2); }
.tktwvwc7 h2 { font-size: 21px; }
.tktwvwc7 p, .tktwvwc7 li { margin-block-end: 8px; max-width: 70ch; }
.tktwvwc7 ul { padding-inline-start: 20px; margin: 0; }
.tktwvwc7 a { text-decoration: underline; }
.tkta4hyq { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tkta4hyq::before { content: ""; display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--brand); margin-inline-end: 8px; }

/* chat: the engine's page, under the frame */
.chat-page .tktmbuwj { display: none; }
.chat-page .main { height: 100dvh; max-width: none; padding: 0; display: flex; flex-direction: column; min-height: 0; }
.chat-page .chat-shell { flex: 1; min-height: 0; height: auto; border: 0; border-radius: 0; background: var(--card); grid-template-columns: 300px minmax(0, 1fr); box-shadow: none; }
.chat-list { border-inline-end: var(--bw) var(--bs) var(--line-2); background: var(--bg); }
.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: var(--r-sm); margin-block-end: 2px; }
.conv.active { background: var(--card-2); color: var(--ink); box-shadow: inset 4px 0 0 var(--brand); }
[dir="rtl"] .conv.active { box-shadow: inset -4px 0 0 var(--brand); }
.conv.active .last, .conv.active .time, .conv.active .you { color: var(--ink-2); }
.conv:hover { background: var(--bg-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: var(--bw) var(--bs) var(--line-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(--ink); }
.bubble, .msg.her .bubble, .msg.me .bubble { border-radius: var(--r); font-size: 16px; }
.msg.her .bubble { background: var(--card-2); color: var(--ink); border: 0; border-inline-start: 4px solid var(--brand); font-family: var(--head); }
.msg.me .bubble { background: var(--ink); color: var(--bg); border: 0; }
.msg .t { color: var(--ink-3); font-weight: 400; }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: var(--bw) var(--bs) 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); background: var(--card); border: var(--bw) var(--bs) var(--line-2); }

/* plans and forms */
.tktvatig { font-size: 17px; margin-block-end: 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); }
.tktmpmga { margin-block-start: var(--sec); }
.tktdafke { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.tktdafke a, .tktyj3ed a, .tktwbiu4 .check a { text-decoration: underline; }
.pack { border: var(--bw) var(--bs) var(--line-2); }
.pack b { font-family: var(--head); }
.pack .best { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); }
.usdt-badge { background: transparent; 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; }
.table tr:first-child td { font-weight: 700; }
.seg { border-radius: var(--r-sm); background: var(--bg-2); }
.seg label { border-radius: var(--r-sm); }
.seg input:checked + label { background: var(--ink); color: var(--bg); }
.tktwbiu4 { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); }
.tktwo4ak { background: var(--brand); color: var(--on-brand); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.tktmyds5 { font: 700 22px var(--head); }
.tktwo4ak blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 4px solid var(--on-brand); }
.tktwo4ak blockquote span { display: block; font: 400 20px/1.36 var(--head); margin-block-end: 8px; }
.tktwo4ak cite { font-style: normal; font-size: 13.5px; font-weight: 700; }
.tktui4gb { font-size: 13.5px; }
.tktmp2db { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--head); margin-block-end: 18px; }
.tktwbiu4 h1 { font-size: 32px; }
.tktwbiu4 .muted { margin-block: 6px 18px; }
.tktyj3ed { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate: a sheet that slides in from the rail's edge */
.modal-back.tkteo3qz { background: rgba(0, 0, 0, .66); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; place-items: stretch end; }
.tkt4skng { inline-size: min(480px, 100%); block-size: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); border-inline-start: 8px solid var(--brand); padding: 48px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; animation: rise .28s ease-out; }
.tktxksrh { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tkt4skng h2 { font-size: 44px; line-height: 1; }
.tkt4skng p { text-align: start; margin: 0; color: var(--ink); }
.tkt3jige { margin-block: 12px 4px; }
.tktd3fco { font-size: 12.5px; color: var(--ink-2) !important; }
.tktd3fco 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 rail. A slim head with an edge drawer, tabs at the foot */
@media (max-width: 900px) {
  .tktxjfw4 { flex-direction: column; align-items: stretch; }
  .tkt5lohb { display: none; }
  .tktsvthq { flex: 1 0 auto; min-height: 0; overflow-x: clip; }
  .tktwxhvl { display: flex; align-items: center; gap: 4px; position: sticky; inset-block-start: 0; z-index: 60; block-size: 54px; padding-inline: 14px 4px; background: var(--bg); border-block-start: 4px solid var(--brand); border-block-end: var(--bw) var(--bs) var(--line-2); }
  .tktu2j22 { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; font: 700 19px/1.1 var(--head); min-width: 0; }
  .tktu2j22 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tkta7gk2 { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; }
  .tkta7gk2 b { position: absolute; inset-block-start: 5px; inset-inline-end: 3px; font-size: 10px; min-width: 16px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .tktrer7q { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); min-height: 34px; display: inline-flex; align-items: center; }
  .tktfz25r summary { list-style: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; cursor: pointer; }
  .tktfz25r summary::-webkit-details-marker { display: none; }
  .tktmihia { position: relative; z-index: 71; display: block; inline-size: 22px; block-size: 2px; background: currentColor; transition: background .15s; }
  .tktmihia::before, .tktmihia::after { content: ""; position: absolute; inset-inline-start: 0; inline-size: 100%; block-size: 2px; background: currentColor; transition: transform .2s, inset-block-start .2s; }
  .tktmihia::before { inset-block-start: -7px; }
  .tktmihia::after { inset-block-start: 7px; }
  .tktfz25r[open] .tktmihia { background: transparent; }
  .tktfz25r[open] .tktmihia::before { inset-block-start: 0; transform: rotate(45deg); }
  .tktfz25r[open] .tktmihia::after { inset-block-start: 0; transform: rotate(-45deg); }
  .tktfz25r[open] summary::after { content: ""; position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .6); }
  .tkttxlom { display: none; }
  .tktfz25r[open] .tkttxlom { display: flex; flex-direction: column; gap: 14px; position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 70; inline-size: min(88vw, 340px); padding: 70px 20px 24px; overflow-y: auto; background: var(--bg); border-inline-start: 6px solid var(--brand); }
  .tktcdvdv { display: flex; flex-direction: column; }
  .tktcdvdv a { display: flex; align-items: center; gap: 12px; min-height: 52px; font: 700 20px/1.2 var(--head); border-block-end: var(--bw) var(--bs) var(--line); }
  .tktcdvdv a.tkth4yyu { box-shadow: inset 4px 0 0 var(--brand); padding-inline-start: 12px; }
  [dir="rtl"] .tktcdvdv a.tkth4yyu { box-shadow: inset -4px 0 0 var(--brand); }
  .tktcdvdv b { margin-inline-start: auto; font-size: 12px; min-width: 20px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .tktfz25r .tktd4jqd .tktwumrb { border-block-end: var(--bw) var(--bs) var(--line); font-size: 15px; }
  .tktfz25r .tktd4jqd .tktfzddg { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
  .tktuyn4y { font-size: 12.5px; color: var(--ink-2); }
  .tktakn42 { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
  .tktakn42 a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
  .tktmbuwj { padding: 18px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .tktq3aay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tkti33nh { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tktqjhkr span { font-size: 12.5px; }
  .tktbbzd4 ul, .tkt76gbx ul { columns: 1; }
  .tktbbzd4 a { min-height: 44px; }
  .tktvfsdj { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tktby7fk .btn { flex: 1 1 100%; }
  .tktposkf, .tktwvwc7 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search.tktjhtcd { min-width: 0; inline-size: 100%; }
  .tktnbvdb .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .tktnbvdb .frow-label { inline-size: auto; }
  .chip { min-height: 38px; }
  .chat-page .main { height: auto; 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: 80; height: 100dvh; }
  .tktwbiu4 { grid-template-columns: minmax(0, 1fr); }
  .tktwo4ak { display: none; }
  .modal-back.tkteo3qz { place-items: end stretch; }
  .tkt4skng { inline-size: 100%; block-size: auto; max-block-size: 94dvh; border-inline-start: 0; border-block-start: 8px solid var(--brand); border-start-start-radius: var(--r-lg); border-start-end-radius: var(--r-lg); padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); animation: none; }
  .tkt4skng h2 { font-size: 34px; }
}
@media (max-width: 600px) { .tktnsorg { padding: 14px; padding-inline-start: 22px; } }

/* mood: warm low light, soft shadow, curves, photos first (operator theme, 2026-11-02) */
:root { --veil: color-mix(in srgb, var(--brand) 16%, #000); --glow: color-mix(in srgb, var(--brand) 38%, transparent); --arch: min(calc(var(--r-xl) * 3), 42%); }
body { background-image: radial-gradient(130% 520px at 50% 0, color-mix(in srgb, var(--brand) 13%, transparent), transparent 75%), var(--tex); background-size: 100% 100%, var(--tex-size); background-repeat: no-repeat, repeat; }
.tktgjxx3 h1 { font-weight: 600; }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.btn { border-radius: var(--r-lg); }
.tktiznxg, .tktnjbaz { background: linear-gradient(to top, color-mix(in srgb, var(--veil) 92%, transparent) 15%, transparent); }
.tktf7lpo img, .tktdjp4y img, .tktarliy img, .tktqjhkr img, .tktv5v4r img { filter: saturate(1.06) contrast(1.03); }
.tkte26p7 .tktf7lpo, .tktxud3o .tktf7lpo, .tktejpad .tktf7lpo, .tktejpad .tktoad52 { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.tktdjp4y, .tktv5v4r img { box-shadow: 0 22px 46px -24px #000; }
.tktdjp4y { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.tktarliy, .tktv5v4r img { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.tktqjhkr img { border-start-start-radius: min(var(--r-xl), 30%); border-start-end-radius: min(var(--r-xl), 30%); }
.tktgjxx3 .hw { box-shadow: 0 30px 70px -34px #000; }
.tktnsorg, .tkt7h27v article, .tktqlju5 article, .tkt2fpqc li, .tkt6gvjo li { box-shadow: 0 16px 36px -26px #000; }
.tkt5lohb { box-shadow: 0 0 70px -10px var(--glow); }
.tktteeoe { background: linear-gradient(155deg, var(--veil), color-mix(in srgb, var(--brand) 34%, var(--veil))); color: #fff; box-shadow: 0 30px 70px -36px var(--glow); }
.tktteeoe .tkt2j3ez { color: #fff; }
.tktteeoe .btn-primary { box-shadow: 0 10px 30px -8px var(--glow); }
.tkt4skng { box-shadow: 0 0 90px -10px var(--glow); background-image: radial-gradient(120% 300px at 50% 0, color-mix(in srgb, var(--brand) 18%, transparent), transparent 80%); }
.tktnbvdb { box-shadow: 0 14px 34px -26px #000; }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.tkti33nh { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .tkti33nh { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* four equal portraits, the lead ringed in the brand colour, a bar under them opens the whole list */
.tktejpad > h1 { max-inline-size: 18em; margin-block-end: var(--sp); }
.tktejpad .tktdcc5o { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tktejpad .tktf7lpo { border-radius: var(--r); }
.tktejpad .tktjcq62 { box-shadow: 0 0 0 3px var(--brand); }
.tktejpad .tktjcq62 .tktiznxg b { font-size: clamp(22px, 2.6vw, 34px); }
.tktejpad .tktjcq62 .tktiznxg span { font-size: 14px; }
.tktejpad .tktoad52 { grid-column: 1 / -1; flex-direction: row; align-items: center; aspect-ratio: auto; padding: 12px 16px; border-radius: var(--r); }
.tktejpad .tktwm7l7 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding-block-start: var(--sp); }
.tktejpad .tktg37u4 { margin-block-start: 0; }
@media (max-width: 900px) {
  .tktejpad .tktdcc5o { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tktejpad .tktf7lpo:nth-child(n+3):not(.tktoad52) { display: none; }
  .tktejpad > h1 { font-size: clamp(30px, 8.6vw, 40px); margin-block-end: 12px; }
}
/* photo and text side by side, two to a row */
.grid { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: var(--sp); }
.tktdjp4y { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); overflow: hidden; color: var(--ink); min-block-size: 210px; }
.tktdjp4y:hover { border-color: var(--ink); }
.tktarliy { position: relative; display: block; background: var(--bg-2); min-block-size: 100%; }
.tktarliy img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; }
.tktoykyy { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-width: 0; }
.tktcoo64 { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.tkte2ynn { font: 700 21px/1.15 var(--head); overflow-wrap: anywhere; }
.tktvoe3b { font-size: 13px; color: var(--ink-2); }
.tktx7fdx { font-size: 14px; margin-block-start: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tkt6pg57 { margin-block-start: auto; padding-block-start: 8px; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .tktdjp4y { min-block-size: 170px; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); } .tktx7fdx { -webkit-line-clamp: 3; } }
/* 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. */
.tktdjp4y { grid-template-columns: minmax(240px, 46%) minmax(0, 1fr); align-items: start; min-block-size: 0; }
.tktarliy img { position: static; inline-size: 100%; block-size: auto; min-block-size: 0; aspect-ratio: 4 / 5; }
.tktarliy { min-block-size: 0; }

.grid, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(540px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(480px, 520px) !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; }
  .tktdjp4y { display: flex; flex-direction: column; justify-content: flex-end; } .tktoykyy { padding: 8px 10px 10px; } .tkte2ynn { font-size: 17px; } .tkt6pg57 { display: none; } .tktx7fdx { -webkit-line-clamp: 2; font-size: 13px; }
}
/* each step sits a little further along than the one before */
.tkt2fpqc { list-style: none; margin: var(--sp) 0 0; padding: 0; display: grid; gap: 12px; counter-reset: st; }
.tkt2fpqc li { counter-increment: st; position: relative; padding: var(--sp); padding-inline-start: calc(var(--sp) * 4); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); }
.tkt2fpqc li::before { content: counter(st); position: absolute; inset-block-start: 10px; inset-inline-start: calc(var(--sp) * .9); font: 700 38px/1 var(--head); color: var(--brand); }
.tkt2fpqc li:nth-child(2) { margin-inline-start: 3%; }
.tkt2fpqc li:nth-child(3) { margin-inline-start: 6%; }
.tkt2fpqc li:nth-child(4) { margin-inline-start: 9%; }
.tkt2fpqc li:nth-child(5) { margin-inline-start: 12%; }
.tkt2fpqc li:nth-child(n+6) { margin-inline-start: 15%; }
.tkt2fpqc h3 { font-size: 19px; margin-block-end: 4px; }
@media (max-width: 900px) { .tkt2fpqc li:nth-child(n) { margin-inline-start: 0; } }
/* a ruled two-column list: the question in the margin column */
.tkt4lrzm { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 calc(var(--sp) * 2); }
.tkt4lrzm dt, .tkt4lrzm dd { padding-block: 14px; border-block-start: 1px solid var(--line-2); margin: 0; }
.tkt4lrzm dt { font: 700 18px/1.3 var(--head); }
@media (max-width: 900px) { .tkt4lrzm { grid-template-columns: minmax(0, 1fr); } .tkt4lrzm dd { border-block-start: 0; padding-block-start: 0; } }
/* a vertical folio tab on the start edge: number and kicker set sideways */
.tktdsiuv { margin-block-end: var(--sec); }
.tktwd4zv { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp); }
.tktnvkh2 { writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); padding-inline-end: 12px; border-inline-end: 3px solid var(--brand); max-block-size: 360px; }
.tktnvkh2 span:first-child { font: 700 24px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .tktwd4zv { grid-template-columns: minmax(0, 1fr); gap: 8px; } .tktnvkh2 { writing-mode: horizontal-tb; padding: 0 0 8px; border-inline-end: 0; border-block-end: 3px solid var(--brand); max-block-size: none; } }
.tktz7v6j h2 { line-height: 1.08; }
/* edge tabs: no bar, only index flags standing off the screen edge, their labels set vertically */
.tkt5lohb { inline-size: 46px; background: transparent; padding-block: 18px; gap: 14px; align-items: var(--tab-edge); border-inline-width: 0; pointer-events: none; }
.tkt5lohb > * { pointer-events: auto; }
.tkt3iuad, .tkt5cddt a, .tktwumrb { writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; gap: 8px; min-inline-size: 38px; padding: 14px 7px; border: var(--bw) var(--bs) var(--line-2); border-start-start-radius: var(--cs); border-end-start-radius: var(--cs); border-start-end-radius: var(--ce); border-end-end-radius: var(--ce); background: var(--card-2); color: var(--ink); font: 700 14px/1.1 var(--font); }
.tkt5lohb .tkt3iuad { background: var(--ink); color: var(--bg); border-color: var(--ink); font: 700 18px/1.1 var(--head); max-block-size: 38vh; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkt5cddt { display: flex; flex-direction: column; gap: 6px; align-items: var(--tab-edge); }
.tkt5cddt a:hover { background: var(--bg-2); }
.tkt5cddt a.tkth4yyu { background: var(--brand); color: var(--on-brand); border-color: var(--brand); min-inline-size: 46px; }
.tkt5cddt b, .tktwumrb b { writing-mode: horizontal-tb; font-size: 11px; padding: 1px 5px; border-radius: 99px; background: var(--ink); color: var(--bg); }
.tktd4jqd { gap: 6px; margin-block-start: auto; align-items: var(--tab-edge); }
.tktwumrb { min-height: 0; font-size: 13px; }
.tktwumrb .ic { writing-mode: horizontal-tb; }
.tktfzddg { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tktnzjsf { font-weight: 700; }
/* the rail on the start edge */
:root { --rb-s: 0px; --rb-e: var(--bw); --cs: 0px; --ce: var(--r-lg); --ms: 0px; --me: 8px; --tab-edge: flex-start; }
