:root {
  --bg: #f8fbf9;
  --bg-2: #eaefec;
  --card: #e4e8e5;
  --card-2: #d8deda;
  --ink: #172b19;
  --ink-2: #445546;
  --ink-3: #68766a;
  --line: #c6cdc8;
  --line-2: #889389;
  --brand: #10931b;
  --brand-2: #611a93;
  --violet: #611a93;
  --blue: #611a93;
  --glass: #f1f5f2;
  --on-brand: #000000;
  --grad: linear-gradient(#10931b, #10931b);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #611a93;
  --gold: #611a93;
  --danger: #611a93;
  --ok-bg: transparent;
  --ok-ink: #10931b;
  --err-bg: transparent;
  --err-ink: #611a93;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Karla", system-ui, sans-serif;
  --head: "Bebas Neue", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: light;
  --tex: radial-gradient(color-mix(in srgb, var(--ink) 11%, transparent) 1px, transparent 1.5px);
  --tex-size: 14px 14px;
  --sp: 12px;
  --sec: 34px;
  --lh: 1.45;
  --gut: 22px;
  --r-sm: 0px;
  --r: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --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 */
.enx6ej7m { display: flex; align-items: flex-start; min-height: 100dvh; }
.enxtxq42 { 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; }
.enxptzo3 { 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); }
.enxptzo3 a { color: inherit; text-decoration: none; }
.enxptzo3 b { font-weight: 700; }
.enxf6zli { display: none; }
.enx4ttfz { 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; }
.enxggque { font: 700 20px/1.1 var(--head); color: var(--ink); }
.enx4ttfz p { max-width: 80ch; }
.enx4ttfz a { text-decoration: underline; }
.enx4ttfz nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 6px; }
.enx4ttfz nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.enx67amv { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.enx67amv .tab { font-size: 11px; color: var(--ink-2); gap: 2px; line-height: 1.15; text-align: center; }
.enx67amv .tab.active { color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }

/* the account block, in the rail and in the phone drawer */
.enxs5s3m { display: flex; flex-direction: column; }
.enxzm35a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.enxzm35a 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); }
.enxqeyoe { 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; }
.enxg2j35 { font-size: clamp(30px, 4vw, 48px); margin-block-end: 8px; }
.enx7s6gz { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.enxt6gqa { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.enxzz56t { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin-block-end: 6px; }
.enxzz56t::before { content: ""; display: inline-block; inline-size: 18px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }

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

/* a portrait tile: her photo, her name on a scrim */
.enxg4gde { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); color: #fff; }
.enxg4gde img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.enxg4gde:hover img, .enxg4gde:focus-visible img { transform: scale(1.05); }
.enxthb26 { 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; }
.enxthb26 b { font: 700 clamp(15px, 1.4vw, 18px)/1.2 var(--head); overflow-wrap: anywhere; }
.enxthb26 span { font-size: 12px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enxg4gde .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); }
.enxg4gde .on-dot { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.enxorwjg { 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); }
.enxorwjg .ic { align-self: flex-end; inline-size: 34px; block-size: 34px; }
.enxorwjg .ic { transform: scaleX(-1); }
[dir="rtl"] .enxorwjg .ic { transform: none; }

/* every portrait, linked to her page */
.enxjyzth { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.enxjyzth .enxzz56t { margin: 0; }
.enxz2wqz { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: min(var(--sp), 10px); }
.enxdhml4 { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--ink); }
.enxdhml4 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); }
.enxdhml4:hover img { border-color: var(--brand); }
.enxdhml4 span { font: 700 13.5px/1.25 var(--head); overflow-wrap: anywhere; }

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

/* the written openers: margin notes */
.enxyiibg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--sp); }
.enxeia24 { 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; }
.enxeia24::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; }
.enxeia24[hidden] { display: none; }
.enxeia24:hover { border-color: var(--ink); }
.enxu76ix span { display: block; font: 400 17px/1.36 var(--head); margin-block-end: 5px; }
.enx4tr2f { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 12.5px; color: var(--ink-2); }
.enx4tr2f b { color: var(--ink); }
.enxvr56n { 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 */
.enxufuht { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; margin-block-end: var(--sp); }
.enxufuht > div { flex: 1 1 340px; min-width: 0; }
.enxufuht p { color: var(--ink-2); max-width: 66ch; }
.search.enxtcnd5 { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 260px; }
.enxnrfwx { 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); }
.enxnrfwx .frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.enxnrfwx .frow-label { flex: none; width: 80px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.enxnrfwx .chips-scroll, .enxrralu .chips-scroll { min-width: 0; }
.enxdlpch summary { cursor: pointer; font-size: 13.5px; font-weight: 700; min-height: 30px; display: list-item; }
.enxdlpch .frow { margin-block-start: 8px; }
.enxwxdjj a { font-size: 13.5px; text-decoration: underline; }
.enxt7wna { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.enxt7wna p { margin-block: 8px 14px; color: var(--ink-2); }
.enxo6qcy { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 4px solid var(--ink); scroll-margin-block-start: 16px; }
.enxrralu { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page: a header, then a spec sheet whose headings sit in the margin */
.enxy2nnm { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: underline; }
.enxc4wut { 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; }
.enxw2zjy { position: relative; margin: 0; }
.enxw2zjy 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); }
.enxw2zjy .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); }
.enxbiapf h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.enxbiapf h1 small { display: block; font: 400 .4em/1.3 var(--font); color: var(--ink-2); margin-block-start: 8px; }
.enxzdmvi { font-size: 13.5px; color: var(--ink-2); margin-block: 12px 6px; }
.enxay3ua { font: 400 22px/1.3 var(--head); margin-block-end: 10px; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); }
.enxhfzz4 { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.enxc3k3g { font-size: 12.5px; color: var(--ink-3); }
.enx3qzqg { 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); }
.enx3qzqg > h2 { font-size: 20px; }
.enx3qzqg h3 { font-size: 16px; margin-block: var(--sp) 6px; }
.enx3qzqg ul { margin: 0; padding-inline-start: 18px; }
.enx3qzqg li, .enx3qzqg p { margin-block-end: 6px; }
.enx3qzqg .kv { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); font-size: 14.5px; }
.enx3qzqg .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.enx53csz, .pgrid { margin-block-end: var(--sp); }
.enxh5epy ul { list-style: none; padding: 0; columns: 3; column-gap: var(--sp); }
.enxh5epy li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.enxh5epy b { display: block; font-family: var(--head); }

/* static pages */
.enx3nft7 { max-width: 960px; margin-inline: auto; }
.enx5wros { margin-block-end: var(--sp); }
.enxygnkr { font: 400 21px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); max-width: 62ch; }
.enxuzjuq { 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); }
.enxuzjuq h2 { font-size: 21px; }
.enxuzjuq p, .enxuzjuq li { margin-block-end: 8px; max-width: 70ch; }
.enxuzjuq ul { padding-inline-start: 20px; margin: 0; }
.enxuzjuq a { text-decoration: underline; }
.enxixpre { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.enxixpre::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 .enx4ttfz { 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 */
.enxeaf3l { font-size: 17px; margin-block-end: 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); }
.enxqtrfl { margin-block-start: var(--sec); }
.enxutc7c { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.enxutc7c a, .enxuiuru a, .enxo44rr .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); }
.enxo44rr { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); }
.enx2yraf { background: var(--brand); color: var(--on-brand); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.enxxdl66 { font: 700 22px var(--head); }
.enx2yraf blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 4px solid var(--on-brand); }
.enx2yraf blockquote span { display: block; font: 400 20px/1.36 var(--head); margin-block-end: 8px; }
.enx2yraf cite { font-style: normal; font-size: 13.5px; font-weight: 700; }
.enxy34dp { font-size: 13.5px; }
.enxkc3be { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--head); margin-block-end: 18px; }
.enxo44rr h1 { font-size: 32px; }
.enxo44rr .muted { margin-block: 6px 18px; }
.enxuiuru { 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.enxayafb { background: rgba(0, 0, 0, .66); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; place-items: stretch end; }
.enxxoz5r { 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; }
.enxl5f2d { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.enxxoz5r h2 { font-size: 44px; line-height: 1; }
.enxxoz5r p { text-align: start; margin: 0; color: var(--ink); }
.enxbwbrf { margin-block: 12px 4px; }
.enx6vbaz { font-size: 12.5px; color: var(--ink-2) !important; }
.enx6vbaz 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) {
  .enx6ej7m { flex-direction: column; align-items: stretch; }
  .enxptzo3 { display: none; }
  .enxtxq42 { flex: 1 0 auto; min-height: 0; overflow-x: clip; }
  .enxf6zli { 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); }
  .enxt7ck2 { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; font: 700 19px/1.1 var(--head); min-width: 0; }
  .enxt7ck2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .enx56t3x { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; }
  .enx56t3x 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); }
  .enxkimcx { 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; }
  .enxv2lwy summary { list-style: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; cursor: pointer; }
  .enxv2lwy summary::-webkit-details-marker { display: none; }
  .enx3q663 { position: relative; z-index: 71; display: block; inline-size: 22px; block-size: 2px; background: currentColor; transition: background .15s; }
  .enx3q663::before, .enx3q663::after { content: ""; position: absolute; inset-inline-start: 0; inline-size: 100%; block-size: 2px; background: currentColor; transition: transform .2s, inset-block-start .2s; }
  .enx3q663::before { inset-block-start: -7px; }
  .enx3q663::after { inset-block-start: 7px; }
  .enxv2lwy[open] .enx3q663 { background: transparent; }
  .enxv2lwy[open] .enx3q663::before { inset-block-start: 0; transform: rotate(45deg); }
  .enxv2lwy[open] .enx3q663::after { inset-block-start: 0; transform: rotate(-45deg); }
  .enxv2lwy[open] summary::after { content: ""; position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .6); }
  .enxpmzpb { display: none; }
  .enxv2lwy[open] .enxpmzpb { 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); }
  .enxrjuqq { display: flex; flex-direction: column; }
  .enxrjuqq 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); }
  .enxrjuqq a.enxmht2w { box-shadow: inset 4px 0 0 var(--brand); padding-inline-start: 12px; }
  [dir="rtl"] .enxrjuqq a.enxmht2w { box-shadow: inset -4px 0 0 var(--brand); }
  .enxrjuqq b { margin-inline-start: auto; font-size: 12px; min-width: 20px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .enxv2lwy .enxs5s3m .enxzm35a { border-block-end: var(--bw) var(--bs) var(--line); font-size: 15px; }
  .enxv2lwy .enxs5s3m .enxtexci { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
  .enxb3wri { font-size: 12.5px; color: var(--ink-2); }
  .enxcs75v { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
  .enxcs75v 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)); }
  .enx4ttfz { padding: 18px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .enxhsejf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .enxz2wqz { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .enxdhml4 span { font-size: 12.5px; }
  .enxhgycg ul, .enxh5epy ul { columns: 1; }
  .enxhgycg a { min-height: 44px; }
  .enxc4wut { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .enxhfzz4 .btn { flex: 1 1 100%; }
  .enx3qzqg, .enxuzjuq { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search.enxtcnd5 { min-width: 0; inline-size: 100%; }
  .enxnrfwx .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .enxnrfwx .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; }
  .enxo44rr { grid-template-columns: minmax(0, 1fr); }
  .enx2yraf { display: none; }
  .modal-back.enxayafb { place-items: end stretch; }
  .enxxoz5r { 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; }
  .enxxoz5r h2 { font-size: 34px; }
}
@media (max-width: 600px) { .enxeia24 { 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; }
.enxdycqw h1 { font-weight: 600; }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.btn { border-radius: var(--r-lg); }
.enxthb26, .enx2gtnd { background: linear-gradient(to top, color-mix(in srgb, var(--veil) 92%, transparent) 15%, transparent); }
.enxg4gde img, .enxu7r73 img, .enx5ifet img, .enxdhml4 img, .enxw2zjy img { filter: saturate(1.06) contrast(1.03); }
.enxl6glj .enxg4gde, .enxjksz2 .enxg4gde, .enxhbsc2 .enxg4gde, .enxhbsc2 .enxorwjg { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.enxu7r73, .enxw2zjy img { box-shadow: 0 22px 46px -24px #000; }
.enxu7r73 { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.enx5ifet, .enxw2zjy img { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.enxdhml4 img { border-start-start-radius: min(var(--r-xl), 30%); border-start-end-radius: min(var(--r-xl), 30%); }
.enxdycqw .hw { box-shadow: 0 30px 70px -34px #000; }
.enxeia24, .enxdnhxh article, .enxvm7jq article, .enx5qksk li, .enx6gxtz li { box-shadow: 0 16px 36px -26px #000; }
.enxptzo3 { box-shadow: 0 0 70px -10px var(--glow); }
.enxwxojx { 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); }
.enxwxojx .enxzz56t { color: #fff; }
.enxwxojx .btn-primary { box-shadow: 0 10px 30px -8px var(--glow); }
.enxxoz5r { 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%); }
.enxnrfwx { 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. */
.enxz2wqz { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .enxz2wqz { 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; }
/* a big H1 with its line beside it, then one scrolling strip of portraits */
.enxjksz2 .enxwfdp3 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp) calc(var(--sp) * 2); align-items: end; margin-block-end: var(--sp); }
.enxjksz2 h1 { font-size: clamp(36px, 5.4vw, 74px); }
.enxjksz2 .enxkyy77 { font-size: 17px; }
.enxjksz2 .enx6vcor { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-block-end: 8px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
.enxjksz2 .enxg4gde { flex: 0 0 calc((100% - 3 * 10px) / 4); min-inline-size: 150px; scroll-snap-align: start; border-radius: var(--r); }
@media (max-width: 900px) {
  .enxjksz2 .enxwfdp3 { grid-template-columns: minmax(0, 1fr); }
  .enxjksz2 h1 { font-size: clamp(32px, 9vw, 44px); }
  .enxjksz2 .enxsbpgm { display: none; }
  .enxjksz2 .enx6vcor { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .enxjksz2 .enxg4gde { flex-basis: calc(50% - 5px); min-inline-size: 0; }
}
/* 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); }
.enxu7r73 { 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; }
.enxu7r73:hover { border-color: var(--ink); }
.enx5ifet { position: relative; display: block; background: var(--bg-2); min-block-size: 100%; }
.enx5ifet img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; }
.enxbklwt { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-width: 0; }
.enxkvupr { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.enxqt7iy { font: 700 21px/1.15 var(--head); overflow-wrap: anywhere; }
.enxbncm3 { font-size: 13px; color: var(--ink-2); }
.enx4sshj { font-size: 14px; margin-block-start: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.enxshlzh { 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; } .enxu7r73 { min-block-size: 170px; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); } .enx4sshj { -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. */
.enxu7r73 { grid-template-columns: minmax(240px, 46%) minmax(0, 1fr); align-items: start; min-block-size: 0; }
.enx5ifet img { position: static; inline-size: 100%; block-size: auto; min-block-size: 0; aspect-ratio: 4 / 5; }
.enx5ifet { 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; }
  .enxu7r73 { display: flex; flex-direction: column; justify-content: flex-end; } .enxbklwt { padding: 8px 10px 10px; } .enxqt7iy { font-size: 17px; } .enxshlzh { display: none; } .enx4sshj { -webkit-line-clamp: 2; font-size: 13px; }
}
/* one line down the edge, a numbered stop for every step */
.enx7diuw { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; border-inline-start: 3px solid var(--line-2); margin-inline-start: 18px; }
.enx7diuw li { counter-increment: st; position: relative; padding: 0 0 var(--sp); padding-inline-start: 34px; }
.enx7diuw li::before { content: counter(st); position: absolute; inset-inline-start: -21px; inset-block-start: 0; inline-size: 38px; block-size: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 17px/1 var(--head); }
.enx7diuw h3 { font-size: 20px; margin-block: 4px 4px; }
.enxhsehw details { border-block-end: 1px solid var(--line-2); padding-block: 12px; }
.enxhsehw summary { cursor: pointer; font: 700 19px/1.3 var(--head); min-height: 30px; }
.enxhsehw p { margin-block-start: 8px; max-inline-size: 72ch; }
/* a vertical folio tab on the start edge: number and kicker set sideways */
.enxzx5e6 { margin-block-end: var(--sec); }
.enxvsupl { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp); }
.enxomxg7 { 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; }
.enxomxg7 span:first-child { font: 700 24px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .enxvsupl { grid-template-columns: minmax(0, 1fr); gap: 8px; } .enxomxg7 { writing-mode: horizontal-tb; padding: 0 0 8px; border-inline-end: 0; border-block-end: 3px solid var(--brand); max-block-size: none; } }
.enxbebtc h2 { line-height: 1.08; }
/* an icon rail: brand-coloured, the vertical name, icons over small labels; the open page takes the page colour */
.enxptzo3 { inline-size: 92px; background: var(--brand); color: var(--on-brand); padding-block: 12px 10px; gap: 8px; align-items: stretch; }
.enxwbhn4 { display: grid; place-items: center; block-size: 52px; }
.enxu45wo { writing-mode: vertical-rl; align-self: center; font: 700 21px/1.1 var(--head); padding-block: 8px; max-block-size: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .01em; }
.enxarub2 { display: flex; flex-direction: column; margin-block: auto; gap: 2px; }
.enxarub2 a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px; font-size: 11px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; hyphens: auto; margin-inline: var(--ms) var(--me); border-start-start-radius: var(--cs); border-end-start-radius: var(--cs); border-start-end-radius: var(--ce); border-end-end-radius: var(--ce); }
.enxarub2 a:hover { background: color-mix(in srgb, var(--on-brand) 16%, transparent); }
.enxarub2 a.enxmht2w { background: var(--bg); color: var(--ink); }
.enxarub2 b { position: absolute; inset-block-start: 5px; inset-inline-end: 14px; font-size: 10px; min-width: 16px; padding: 0 4px; text-align: center; border-radius: 99px; background: var(--ink); color: var(--bg); }
.enxs5s3m { gap: 2px; }
.enxzm35a { flex-direction: column; justify-content: center; gap: 3px; padding: 8px 6px; font-size: 10.5px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; min-height: 52px; }
.enxzm35a:hover { background: color-mix(in srgb, var(--on-brand) 16%, transparent); }
.enxzm35a b { position: absolute; inset-block-start: 3px; inset-inline-end: 14px; font-size: 10px; }
.enxtexci { background: var(--ink); color: var(--bg); margin-inline: 8px; border-radius: var(--r-sm); }
.enxtexci:hover { background: var(--ink); filter: brightness(1.15); }
.enxt2hum { font-weight: 700; }
/* the rail on the end edge (right in LTR, left in RTL) */
:root { --rb-s: var(--bw); --rb-e: 0px; --cs: var(--r-lg); --ce: 0px; --ms: 8px; --me: 0px; --tab-edge: flex-end; }
