:root {
  --bg: #0b2a5b;
  --bg-2: #193664;
  --card: #203c69;
  --card-2: #2b4671;
  --ink: #f2f4f8;
  --ink-2: #c4ccd9;
  --ink-3: #9fabbf;
  --line: #3e567e;
  --line-2: #7e8faa;
  --brand: #5b56fb;
  --brand-2: #f7ac6e;
  --violet: #f7ac6e;
  --blue: #f7ac6e;
  --glass: #123060;
  --on-brand: #ffffff;
  --grad: linear-gradient(#5b56fb, #5b56fb);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #f7ac6e;
  --gold: #f7ac6e;
  --danger: #f7ac6e;
  --ok-bg: transparent;
  --ok-ink: #5b56fb;
  --err-bg: transparent;
  --err-ink: #f7ac6e;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "PT Sans", system-ui, sans-serif;
  --head: "Philosopher", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: none;
  --tex-size: auto;
  --sp: 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 */
.dbrwvawh { display: flex; align-items: flex-start; min-height: 100dvh; }
.dbrupdjd { 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; }
.dbrmkgos { 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); }
.dbrmkgos a { color: inherit; text-decoration: none; }
.dbrmkgos b { font-weight: 700; }
.dbrw7o6c { display: none; }
.dbrdpzon { 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; }
.dbrot3ca { font: 700 20px/1.1 var(--head); color: var(--ink); }
.dbrdpzon p { max-width: 80ch; }
.dbrdpzon a { text-decoration: underline; }
.dbrdpzon nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 6px; }
.dbrdpzon nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.dbriradv { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.dbriradv .tab { font-size: 11px; color: var(--ink-2); gap: 2px; line-height: 1.15; text-align: center; }
.dbriradv .tab.active { color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }

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

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

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

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

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

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

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

/* static pages */
.dbrh64sb { max-width: 960px; margin-inline: auto; }
.dbrjvsfe { margin-block-end: var(--sp); }
.dbrz2czj { font: 400 21px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); max-width: 62ch; }
.dbrhzdlk { 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); }
.dbrhzdlk h2 { font-size: 21px; }
.dbrhzdlk p, .dbrhzdlk li { margin-block-end: 8px; max-width: 70ch; }
.dbrhzdlk ul { padding-inline-start: 20px; margin: 0; }
.dbrhzdlk a { text-decoration: underline; }
.dbrxt4lv { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.dbrxt4lv::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 .dbrdpzon { 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 */
.dbr3q42d { font-size: 17px; margin-block-end: 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); }
.dbr4dwtt { margin-block-start: var(--sec); }
.dbrpyrgk { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.dbrpyrgk a, .dbrlkkvy a, .dbrohddv .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); }
.dbrohddv { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); }
.dbryh5xf { background: var(--brand); color: var(--on-brand); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.dbrsgk6x { font: 700 22px var(--head); }
.dbryh5xf blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 4px solid var(--on-brand); }
.dbryh5xf blockquote span { display: block; font: 400 20px/1.36 var(--head); margin-block-end: 8px; }
.dbryh5xf cite { font-style: normal; font-size: 13.5px; font-weight: 700; }
.dbr4pe46 { font-size: 13.5px; }
.dbrku5q2 { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--head); margin-block-end: 18px; }
.dbrohddv h1 { font-size: 32px; }
.dbrohddv .muted { margin-block: 6px 18px; }
.dbrlkkvy { 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.dbronxze { background: rgba(0, 0, 0, .66); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; place-items: stretch end; }
.dbrjbbpx { 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; }
.dbrt2xon { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.dbrjbbpx h2 { font-size: 44px; line-height: 1; }
.dbrjbbpx p { text-align: start; margin: 0; color: var(--ink); }
.dbr272fh { margin-block: 12px 4px; }
.dbrgaiv7 { font-size: 12.5px; color: var(--ink-2) !important; }
.dbrgaiv7 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) {
  .dbrwvawh { flex-direction: column; align-items: stretch; }
  .dbrmkgos { display: none; }
  .dbrupdjd { flex: 1 0 auto; min-height: 0; overflow-x: clip; }
  .dbrw7o6c { 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); }
  .dbryyvcn { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; font: 700 19px/1.1 var(--head); min-width: 0; }
  .dbryyvcn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dbrpegca { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; }
  .dbrpegca 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); }
  .dbrff2ec { 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; }
  .dbr7id7r summary { list-style: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; cursor: pointer; }
  .dbr7id7r summary::-webkit-details-marker { display: none; }
  .dbr3iyc2 { position: relative; z-index: 71; display: block; inline-size: 22px; block-size: 2px; background: currentColor; transition: background .15s; }
  .dbr3iyc2::before, .dbr3iyc2::after { content: ""; position: absolute; inset-inline-start: 0; inline-size: 100%; block-size: 2px; background: currentColor; transition: transform .2s, inset-block-start .2s; }
  .dbr3iyc2::before { inset-block-start: -7px; }
  .dbr3iyc2::after { inset-block-start: 7px; }
  .dbr7id7r[open] .dbr3iyc2 { background: transparent; }
  .dbr7id7r[open] .dbr3iyc2::before { inset-block-start: 0; transform: rotate(45deg); }
  .dbr7id7r[open] .dbr3iyc2::after { inset-block-start: 0; transform: rotate(-45deg); }
  .dbr7id7r[open] summary::after { content: ""; position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .6); }
  .dbryrckd { display: none; }
  .dbr7id7r[open] .dbryrckd { 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); }
  .dbrlo7zm { display: flex; flex-direction: column; }
  .dbrlo7zm 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); }
  .dbrlo7zm a.dbr7bf6v { box-shadow: inset 4px 0 0 var(--brand); padding-inline-start: 12px; }
  [dir="rtl"] .dbrlo7zm a.dbr7bf6v { box-shadow: inset -4px 0 0 var(--brand); }
  .dbrlo7zm b { margin-inline-start: auto; font-size: 12px; min-width: 20px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .dbr7id7r .dbrkbmzk .dbrk5emd { border-block-end: var(--bw) var(--bs) var(--line); font-size: 15px; }
  .dbr7id7r .dbrkbmzk .dbrsuza2 { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
  .dbrt5bjl { font-size: 12.5px; color: var(--ink-2); }
  .dbr53hw6 { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
  .dbr53hw6 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)); }
  .dbrdpzon { padding: 18px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .dbril5ok { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dbrsmndh { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dbrplbx7 span { font-size: 12.5px; }
  .dbrhuzje ul, .dbrkoh4s ul { columns: 1; }
  .dbrhuzje a { min-height: 44px; }
  .dbr3zbrl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dbrbsak2 .btn { flex: 1 1 100%; }
  .dbryyhp7, .dbrhzdlk { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search.dbrww3e4 { min-width: 0; inline-size: 100%; }
  .dbr5tasd .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .dbr5tasd .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; }
  .dbrohddv { grid-template-columns: minmax(0, 1fr); }
  .dbryh5xf { display: none; }
  .modal-back.dbronxze { place-items: end stretch; }
  .dbrjbbpx { 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; }
  .dbrjbbpx h2 { font-size: 34px; }
}
@media (max-width: 600px) { .dbrfb5md { 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; }
.dbr6u7vz h1 { font-weight: 600; }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.btn { border-radius: var(--r-lg); }
.dbrlscvb, .dbrjanyw { background: linear-gradient(to top, color-mix(in srgb, var(--veil) 92%, transparent) 15%, transparent); }
.dbrcb6zs img, .dbrr7nsi img, .dbr36xpv img, .dbrplbx7 img, .dbrvrg6v img { filter: saturate(1.06) contrast(1.03); }
.dbrcgqx2 .dbrcb6zs, .dbrfujtt .dbrcb6zs, .dbrwnbhv .dbrcb6zs, .dbrwnbhv .dbrfuf3b { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.dbrr7nsi, .dbrvrg6v img { box-shadow: 0 22px 46px -24px #000; }
.dbrr7nsi { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.dbr36xpv, .dbrvrg6v img { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.dbrplbx7 img { border-start-start-radius: min(var(--r-xl), 30%); border-start-end-radius: min(var(--r-xl), 30%); }
.dbr6u7vz .hw { box-shadow: 0 30px 70px -34px #000; }
.dbrfb5md, .dbrjoycc article, .dbr6pfaz article, .dbrvr6cu li, .dbrcz6jc li { box-shadow: 0 16px 36px -26px #000; }
.dbrmkgos { box-shadow: 0 0 70px -10px var(--glow); }
.dbrn627x { 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); }
.dbrn627x .dbrz7anj { color: #fff; }
.dbrn627x .btn-primary { box-shadow: 0 10px 30px -8px var(--glow); }
.dbrjbbpx { 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%); }
.dbr5tasd { 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. */
.dbrsmndh { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .dbrsmndh { 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 */
.dbrfujtt .dbrifdzj { 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); }
.dbrfujtt h1 { font-size: clamp(36px, 5.4vw, 74px); }
.dbrfujtt .dbrcbofm { font-size: 17px; }
.dbrfujtt .dbrqdnze { 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); }
.dbrfujtt .dbrcb6zs { flex: 0 0 calc((100% - 3 * 10px) / 4); min-inline-size: 150px; scroll-snap-align: start; border-radius: var(--r); }
@media (max-width: 900px) {
  .dbrfujtt .dbrifdzj { grid-template-columns: minmax(0, 1fr); }
  .dbrfujtt h1 { font-size: clamp(32px, 9vw, 44px); }
  .dbrfujtt .dbrbd4s2 { display: none; }
  .dbrfujtt .dbrqdnze { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .dbrfujtt .dbrcb6zs { flex-basis: calc(50% - 5px); min-inline-size: 0; }
}
/* a full portrait, name and line on a scrim */
.grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--sp); }
.dbrr7nsi { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--bg-2); color: #fff; border: var(--bw) var(--bs) var(--line-2); }
.dbrr7nsi img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s; }
.dbrr7nsi:hover img { transform: scale(1.05); }
.dbrtjoh5 { position: absolute; inset-block-start: 10px; inset-inline: 10px; display: flex; justify-content: space-between; align-items: center; }
.dbrtjoh5 .badge-ai { background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.dbrjanyw { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 60px 14px 14px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(to top, rgba(0, 0, 0, .86) 25%, rgba(0, 0, 0, 0)); }
.dbrkvk7k { font: 700 22px/1.15 var(--head); overflow-wrap: anywhere; }
.dbr6bzrb { font-size: 13px; opacity: .92; }
.dbr2sz4q { font-size: 13.5px; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-block-start: 3px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .dbr2sz4q { display: none; } .dbrkvk7k { font-size: 18px; } .dbrjanyw { padding: 44px 10px 10px; } }
/* 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(224px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(224px, 264px) !important; }
@media (max-width: 900px) {
  .grid, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
}
/* one line down the edge, a numbered stop for every step */
.dbrasnht { 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; }
.dbrasnht li { counter-increment: st; position: relative; padding: 0 0 var(--sp); padding-inline-start: 34px; }
.dbrasnht 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); }
.dbrasnht h3 { font-size: 20px; margin-block: 4px 4px; }
.dbr7n7hs details { border-block-end: 1px solid var(--line-2); padding-block: 12px; }
.dbr7n7hs summary { cursor: pointer; font: 700 19px/1.3 var(--head); min-height: 30px; }
.dbr7n7hs p { margin-block-start: 8px; max-inline-size: 72ch; }
/* alternate sections sit on a full-width tinted band */
.dbrc2suq { margin-block-end: var(--sec); }
.dbrggi7a:nth-of-type(even) { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); padding-block: var(--sec); margin-block-start: calc(var(--sec) * -.2); }
.dbrggi7a:nth-of-type(odd) { padding-block-start: 0; }
.dbrzbjrc { max-inline-size: 100%; }
.dbrw3duv { display: flex; align-items: center; gap: 12px; font: 700 14px/1 var(--font); color: var(--ink-2); margin-block-end: 10px; font-variant-numeric: tabular-nums; }
.dbrw3duv i { flex: 1; block-size: 3px; background: linear-gradient(90deg, var(--brand) 0 40px, var(--line-2) 40px); }
[dir="rtl"] .dbrw3duv i { background: linear-gradient(270deg, var(--brand) 0 40px, var(--line-2) 40px); }
/* a wide text rail: ink-coloured, the name big, numbered entries, the account as a list */
.dbrmkgos { inline-size: 258px; background: linear-gradient(185deg, var(--veil), color-mix(in srgb, var(--brand) 30%, var(--veil))); color: #fff; padding: 30px 24px 22px; gap: 14px; align-items: stretch; }
.dbripmjb { font: 700 30px/1.05 var(--head); overflow-wrap: anywhere; }
.dbrkdh4l { font-size: 13.5px; opacity: .78; margin-block-start: -4px; }
.dbref5by { display: flex; flex-direction: column; margin-block-start: 12px; }
.dbref5by a { display: flex; align-items: center; gap: 12px; min-height: 50px; font: 700 18px/1.2 var(--head); border-block-end: 1px solid color-mix(in srgb, #fff 26%, transparent); }
.dbref5by a:first-child { border-block-start: 1px solid color-mix(in srgb, #fff 26%, transparent); }
.dbref5by i { font: 700 12px/1 var(--font); font-style: normal; opacity: .7; min-width: 20px; font-variant-numeric: tabular-nums; }
.dbref5by a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.dbref5by a.dbr7bf6v i { opacity: 1; background: var(--brand); color: var(--on-brand); border-radius: var(--r-sm); padding: 4px 5px; min-width: 26px; text-align: center; }
.dbref5by b { margin-inline-start: auto; font-size: 12px; min-width: 20px; padding: 1px 5px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
.dbrkbmzk { margin-block-start: auto; gap: 0; }
.dbrk5emd { min-height: 42px; font-size: 14.5px; border-block-end: 1px solid color-mix(in srgb, #fff 18%, transparent); }
.dbrk5emd:hover span { text-decoration: underline; }
.dbrk5emd b { margin-inline-start: auto; background: var(--brand); color: var(--on-brand); }
.dbrsuza2 { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
.dbrkvdmc { font-weight: 700; }
.dbrzyxmw { font-size: 12px; opacity: .72; margin-block-start: 8px; }
/* 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; }
