/* The suite's screens (suite.js): wallet, investments, workspace, connectors, embeds, Cinnabar. The Athanor suite look (app.css tokens).
   Card faces carry each issuer's own look: Athanor (ink and gold), Stripe (its violet), Mercury (its slate), anything else in ink. */

.sx-demo { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 99px; background: var(--gold-wash); color: var(--gold-l); font-size: .74rem; font-weight: 600; }
.sx-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: #cfc9bb; box-shadow: 0 0 0 3px rgba(207, 201, 187, .25); }
.sx-dot.on { background: #2e9d5b; box-shadow: 0 0 0 3px rgba(46, 157, 91, .18); }
.sx-dot.down { background: var(--bad); box-shadow: 0 0 0 3px rgba(179, 64, 42, .18); }
.sx-dot.unk { background: #cfc9bb; animation: sx-pulse 1.6s ease-in-out infinite; }
.sx-dot.off { background: #d9d4c8; box-shadow: none; }
@keyframes sx-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sx-dot.unk { animation: none; } }
.sx-signin { display: grid; gap: .4rem; }
.sx-signin span { color: var(--mute); }
.btn.sm { padding: .3rem .7rem; font-size: .8rem; }
.chip { display: inline-block; padding: .05rem .5rem; border: 1px solid var(--line); border-radius: 99px; font-size: .74rem; color: var(--ink-2); background: var(--panel-2); }
.sel { user-select: all; }

/* ---------- cards ---------- */
.sx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; margin: .4rem 0 1rem; }
.sx-cardwrap { display: grid; gap: .55rem; }
.sx-card { position: relative; aspect-ratio: 1.586; border-radius: 16px; padding: 1.1rem 1.25rem; color: #fff; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden;
  background: linear-gradient(135deg, #23211a 0%, #16150f 55%, #2b2617 100%); box-shadow: 0 18px 40px -22px rgba(22, 21, 15, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .25s ease, box-shadow .25s ease; }
.sx-card::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent 70%); transform: rotate(18deg); pointer-events: none; }
.sx-card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 26px 50px -24px rgba(22, 21, 15, .75); }
@media (prefers-reduced-motion: reduce) { .sx-card, .sx-card:hover { transition: none; transform: none; } }
.sx-card.is-athanor { background: radial-gradient(120% 90% at 100% 0%, rgba(201, 162, 39, .35), transparent 55%), linear-gradient(135deg, #1d1b14, #16150f 60%, #0f0e0a); }
.sx-card.is-athanor .sx-issuer { color: #e7c75e; letter-spacing: .32em; font-family: var(--serif); }
.sx-card.is-stripe { background: radial-gradient(90% 90% at 0% 100%, rgba(0, 212, 255, .35), transparent 60%), linear-gradient(135deg, #635bff 0%, #7a5af8 50%, #a960ee 100%); }
.sx-card.is-mercury { background: linear-gradient(140deg, #2b2f38 0%, #1b1e24 55%, #3d434f 100%); }
.sx-card.is-mercury .sx-issuer { font-family: var(--sans); font-weight: 500; letter-spacing: .02em; text-transform: lowercase; }
.sx-card.frozen { filter: grayscale(.85) brightness(.85); }
.sx-card-top { display: flex; justify-content: space-between; align-items: baseline; }
.sx-issuer { font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; }
.sx-kind { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.sx-chip { width: 42px; height: 31px; border-radius: 6px; align-self: center; background: linear-gradient(135deg, #f3dd8c, #b98f2a 60%, #e8cf7a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.sx-card.is-mercury .sx-chip, .sx-card.is-stripe .sx-chip { background: linear-gradient(135deg, #f1f1f1, #a9adb5 60%, #e4e6ea); }
.sx-num { font-family: var(--mono); font-size: 1.12rem; letter-spacing: .14em; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.sx-card-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: .6rem; font-size: .78rem; margin-top: .45rem; }
.sx-name { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-net { font-weight: 800; font-style: italic; letter-spacing: .04em; font-size: .95rem; }
.sx-net.n-mastercard { font-style: normal; font-weight: 600; text-transform: lowercase; }
.sx-frozen { position: absolute; top: .9rem; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); padding: .1rem .6rem; border-radius: 99px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.sx-card-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: center; font-size: .82rem; color: var(--ink-2); }

/* ---------- banks ---------- */
.sx-banks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.sx-bank { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); display: grid; gap: .7rem; position: relative; overflow: hidden; }
.sx-bank::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); }
.sx-bank.is-mercury::before { background: linear-gradient(90deg, #2b2f38, #5c6474); }
.sx-bank.is-stripe::before { background: linear-gradient(90deg, #635bff, #a960ee); }
.sx-bank-h { display: flex; gap: .75rem; align-items: center; }
.sx-bank-h > div { display: grid; flex: 1; min-width: 0; }
.sx-bank-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ink); flex: none; }
.sx-bank.is-mercury .sx-bank-mark { background: linear-gradient(140deg, #2b2f38, #4a5160); }
.sx-bank.is-stripe .sx-bank-mark { background: #635bff; }
.sx-bank-bal { font-family: var(--serif); font-size: 1.7rem; font-variant-numeric: tabular-nums; display: grid; }
.sx-bank-bal small { font-family: var(--sans); font-size: .75rem; color: var(--mute); }
.sx-dd { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.sx-dd div { background: var(--panel-2); border-radius: var(--r-sm); padding: .45rem .6rem; }
.sx-dd dt { font-size: .7rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.sx-dd dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- investments ---------- */
.sx-hero { background: radial-gradient(120% 120% at 100% 0%, var(--gold-wash), transparent 60%), var(--panel); }
.sx-pos { width: 100%; } .sx-pos .w40 { width: 40%; }
.sx-bar { display: block; height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.sx-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #d8b54a); }
.sx-desk-h { display: flex; gap: .7rem; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; }
.sx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.sx-checks { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .25rem; }
.sx-checks .ok { color: var(--good); } .sx-checks .no { color: var(--mute); }
.sx-terms { display: grid; gap: .5rem; padding-left: 1.2rem; color: var(--ink-2); }
.sx-accept { display: flex; gap: .55rem; align-items: flex-start; margin: .8rem 0; font-weight: 600; }
.sx-agform, .sx-addform { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.sx-agform label, .sx-addform label { display: grid; gap: .25rem; font-size: .82rem; color: var(--mute); }
.sx-switch { display: flex !important; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink) !important; }
.sx-list { list-style: none; padding: 0; margin: 0; display: grid; }
.sx-list li { display: flex; gap: .8rem; align-items: center; padding: .7rem .2rem; border-bottom: 1px solid var(--line); }
.sx-list li > div { display: grid; } .sx-list li:last-child { border-bottom: 0; }

/* ---------- workspace ---------- */
.sx-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.sx-place { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; display: grid; gap: .55rem; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.sx-place:hover { border-color: var(--line-2); transform: translateY(-2px); }
.sx-place.pending { background: var(--panel-2); box-shadow: none; }
.sx-place-h { display: flex; gap: .7rem; align-items: center; }
.sx-place-h > div { display: grid; flex: 1; min-width: 0; } .sx-place-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-place-n { margin: 0; color: var(--ink-2); font-size: .85rem; min-height: 2.4em; }
.sx-place .row { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.sx-place .grow { min-width: 0; }
.sx-fav { width: 28px; height: 28px; border-radius: 7px; flex: none; object-fit: contain; background: var(--panel-2); }
.sx-fav.mono { display: grid; place-items: center; font-weight: 700; color: var(--gold-l); font-family: var(--serif); }
.sx-peek { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 1.2rem; align-items: start; }
.sx-peek-img { aspect-ratio: 1.91; border-radius: var(--r-sm); background: var(--panel-2) center / cover no-repeat; border: 1px solid var(--line); }
.sx-stat b { font-family: var(--serif); font-size: 1.4rem; }
.sx-frame { width: 100%; height: 70vh; min-height: 460px; border: 1px solid var(--line); border-radius: var(--r); margin-top: 1rem; background: #fff; }

/* ---------- connectors ---------- */
.sx-cats { flex-wrap: wrap; margin: .6rem 0 1rem; }
.sx-conns { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .6rem; }
.sx-conn { display: flex; gap: .7rem; align-items: center; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); }
.sx-conn > div { display: grid; flex: 1; min-width: 0; } .sx-conn .muted { font-size: .78rem; }
.sx-conn img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.sx-conn.later { background: var(--panel-2); } .sx-conn.later b { color: var(--ink-2); font-weight: 550; }

/* ---------- embeds ---------- */
.sx-embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.sx-eframe { width: 100%; height: 340px; transition: height .2s; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel-2); }
.sx-code { white-space: pre-wrap; word-break: break-all; background: var(--panel-2); border-radius: var(--r-sm); padding: .6rem .7rem; font-size: .76rem; max-height: 8rem; overflow: auto; }

/* ---------- Cinnabar ---------- */
.sx-chain { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sx-chain li { display: grid; grid-template-columns: 4rem 1fr auto; gap: .8rem; align-items: center; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--panel-2); position: relative; }
.sx-chain li + li::before { content: ''; position: absolute; left: 1.6rem; top: -.5rem; width: 2px; height: .5rem; background: var(--gold); }

@media (max-width: 760px) { .sx-two, .sx-peek { grid-template-columns: 1fr; } .sx-dd { grid-template-columns: 1fr; } }

/* fixes after the first live look (2026-11-18) */
.sx-cats { border-radius: var(--r) !important; padding: .35rem !important; }
.sx-shop { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.sx-shop a { display: grid; gap: .3rem; color: var(--ink); text-decoration: none; font-size: .82rem; }
.sx-shop a:hover b { color: var(--gold-l); }
.sx-shop span:last-child { color: var(--mute); font-variant-numeric: tabular-nums; }
.sx-shop-img { aspect-ratio: 1; border-radius: var(--r-sm); background: var(--panel-2) center / cover no-repeat; border: 1px solid var(--line); }

/* ---------- books ---------- */
.sx-bk-feeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.sx-bk-feed { border-top: 3px solid var(--line); }
.sx-bk-feed.s-stripe { border-top-color: #635bff; }
.sx-bk-feed.s-mercury { border-top-color: #3d434f; }
.sx-bk-feed.s-csv { border-top-color: var(--gold-l); }
.sx-bk-feed h3 { display: flex; align-items: center; gap: .5rem; }
.sx-bk-chart { width: 100%; height: auto; display: block; }
.sx-bk-chart text { font-size: 11px; fill: var(--mute); }
.sx-bk-base { stroke: var(--line); stroke-width: 1; }
.sx-bk-hit { fill: transparent; }
.sx-bk-m:hover .sx-bk-hit { fill: rgba(127, 127, 127, .08); }
.sx-bk-in { fill: #2e9d5b; }
.sx-bk-out { fill: #b3402a; }
.sx-bk-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; margin: .4rem 0 0; }
.sx-bk-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.sx-bk-legend .sw.in { background: #2e9d5b; }
.sx-bk-legend .sw.out { background: #b3402a; }
.sx-bk-filter { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.sx-bk-filter label { display: grid; gap: .2rem; font-size: .8rem; color: var(--mute); }
.sx-bk-void td { text-decoration: line-through; opacity: .55; }
.sx-src { display: inline-block; padding: 0 .4rem; border-radius: 4px; font-size: .72rem; font-weight: 600; color: #fff; background: #6b6658; }
.sx-src.s-stripe { background: #635bff; }
.sx-src.s-mercury { background: #2b2f38; }
.sx-bk-add ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.sx-bk-add li { display: flex; gap: .5rem; align-items: baseline; }
.sx-bk-dlg { border: 0; padding: 0; background: transparent; max-width: 460px; width: 92vw; margin: auto; } /* app.css resets every margin, which pinned dialogs to the top left */
.sx-bk-dlg::backdrop { background: rgba(22, 21, 15, .45); }
.sx-bk-dlg form { display: grid; gap: .6rem; }
.sx-bk-dlg label { display: grid; gap: .2rem; }

/* ---------- banks connected through Plaid: each in its own colour and logo ---------- */
.sx-bank.is-plaid::before { background: var(--tint, var(--gold)); }
.sx-bank-logo { width: 38px; height: 38px; border-radius: 10px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.sx-card.is-plaid { background: radial-gradient(110% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(135deg, var(--tint, #34495e), #16150f 135%); }

/* ---------- 2-step codes and consent before Plaid Link ---------- */
.sx-mfa-key { font-size: 1rem; letter-spacing: .04em; user-select: all; word-break: break-all; }
.sx-mfa-codes { font-size: 1rem; line-height: 1.6; background: var(--paper, #f7f5ef); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; user-select: all; }
.sx-check { display: flex !important; align-items: center; gap: .5rem; }
/* reconciliation and profit and loss (auctusclan 2026-11-19) */
.sx-bk-list { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .45rem; }
.sx-bk-list li { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.sx-bk-rec h4 { margin: .8rem 0 .4rem; font-size: .9rem; }
.sx-bk-why { color: var(--mute); font-style: italic; }
.sx-bk-cat { font: inherit; font-size: .85rem; color: inherit; background: transparent; border: 1px dashed var(--line); border-radius: 6px; padding: .1rem .4rem; cursor: pointer; }
.sx-bk-cat:hover, .sx-bk-cat:focus-visible { border-style: solid; border-color: var(--gold-l); }
.sx-bk-cat.none { color: #b3402a; }
.sx-pl td, .sx-pl th { padding: .3rem .6rem; }
.sx-pl-h td { font-weight: 600; padding-top: .8rem; color: var(--mute); text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
.sx-pl-sub td { font-weight: 600; border-top: 1px solid var(--line); }
.sx-pl-sub.good td:last-child { color: #2e9d5b; }
.sx-pl-sub.bad td:last-child { color: #b3402a; }
.sx-rc-h { margin: 1rem 1.2rem .3rem; font-size: .9rem; }
.tiles3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: .4rem 1.2rem 1rem; }
@media (max-width: 760px) { .tiles3 { grid-template-columns: 1fr; } }
.sx-cal-tiles { margin: .4rem 1.2rem 1rem; }
.sx-cal { list-style: none; margin: 0 1.2rem; padding: 0; display: grid; gap: .1rem; }
.sx-cal-day { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.sx-cal-d { display: grid; gap: .1rem; }
.sx-cal-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.sx-cal-day ul li { display: flex; justify-content: space-between; gap: 1rem; }
.sx-cal .good { color: #2e9d5b; }
@media (max-width: 640px) { .sx-cal-day { grid-template-columns: 1fr; gap: .3rem; } }

/* ---- Get started, Sandbox, the Athanor Pay Card (auctusclan 2026-11-22; public/suite/start.js) ---- */
.btn.xs { padding: .15rem .5rem; font-size: .75rem; }
.st-prog-h { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.st-bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin: .6rem 0 .2rem; }
.st-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-l)); border-radius: 99px; transition: width .4s ease; }
.st-list { padding: 0; }
.st-row { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-row.done .st-body b { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--line-2); }
.st-row.skipped { opacity: .6; }
.st-body { display: grid; gap: .15rem; } .st-body .muted { font-size: .85rem; }
.st-tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; }
.st-tick.on { background: var(--good); border-color: var(--good); } .st-tick.skip { border-style: dashed; }
.st-opt { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); border: 1px solid var(--line); border-radius: 99px; padding: 0 .4rem; }
.st-act { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .st-min { font-size: .75rem; color: var(--mute); }
.st-inline { padding: .2rem 1rem 1rem 3.2rem; }
.st-banner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; border-left: 3px solid var(--gold); }
.st-banner > div:first-child { display: grid; gap: .1rem; min-width: 220px; flex: 1; }
.sbx-badge { display: inline-block; background: #3b2f06; color: #ffe9a8; border-radius: 6px; padding: .05rem .45rem; font-size: .75rem; font-weight: 700; margin-right: .3rem; }
.sbx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.sbx-cards td { padding: .25rem .4rem .25rem 0; font-size: .85rem; }
.sbx-code { white-space: pre-wrap; word-break: break-all; background: var(--panel-2); border-radius: var(--r-sm); padding: .8rem; font-size: .78rem; }
.pc-how ol { margin: 0 0 .5rem; padding-left: 1.2rem; display: grid; gap: .3rem; }
.pc-card { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 1.5rem; margin: 1.2rem 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.pc-side { display: grid; gap: .6rem; align-content: start; } .pc-main h3 { margin: 1rem 0 .4rem; } .pc-main h3:first-child { margin-top: 0; }
.pc-srcs, .pc-rules, .pc-trail { margin: 0; padding-left: 1.3rem; display: grid; gap: .35rem; }
.pc-srcs li, .pc-rules li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .pc-srcs li.off { opacity: .55; }
.pc-k { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); border: 1px solid var(--line); border-radius: 4px; padding: 0 .35rem; }
.pc-trail li.ok b { color: var(--good); } .pc-trail li.no b { color: var(--bad); } .pc-trail { font-size: .85rem; }
.pc-form { margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.pc-cats { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .82rem; margin: .3rem 0; }
.pc-mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem; margin-bottom: .6rem; }
.pc-mat { display: grid; gap: .2rem; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem .7rem; cursor: pointer; }
.pc-mat:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); }
.pc-agents { display: grid; gap: 1rem; } .pc-agent { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 1rem; align-items: start; }
.pc-asks { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .6rem; } .pc-asks li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; padding: .6rem .75rem; border: 1px solid var(--line, #ddd); border-radius: 10px; }
.pc-agent-m { display: grid; gap: .3rem; font-size: .88rem; } .pc-more summary { cursor: pointer; font-weight: 600; margin-top: 1rem; }
@media (max-width: 760px) { .pc-card, .pc-agent { grid-template-columns: 1fr; } .st-row { grid-template-columns: auto 1fr; } .st-act { grid-column: 2; justify-content: flex-start; } .st-inline { padding-left: 1rem; } }
.st-body .st-opt { justify-self: start; width: max-content; }
/* the working number (anchor mode) */
.pc-anchor { margin-bottom: 1rem; } .pc-anchor table td { vertical-align: top; } .pc-settle { gap: .4rem; flex-wrap: wrap; margin-top: .35rem; } .pc-settle input { width: 7rem; max-width: 100%; }
.pc-scroll { overflow-x: auto; max-width: 100%; } .pc-anchor { min-width: 0; } .pc-anchor td:nth-child(-n+4), .pc-anchor th { white-space: nowrap; }
.pc-side, .pc-main { min-width: 0; } @media (max-width: 760px) { .pc-card { grid-template-columns: minmax(0, 1fr); } }
/* the Athanor Pay Card wears the Cards & banks face (.sx-card); owner 2026-11-23: "the old card look back ... put the numbers on top of it" */
.pc-face { container-type: inline-size; } .pc-face .sx-num { font-size: clamp(.78rem, 5.2cqi, 1.12rem); white-space: nowrap; } .pc-face .sx-card-bot { flex-wrap: wrap; } .pc-face .sx-exp { font-family: var(--mono); font-size: .72rem; opacity: .85; white-space: nowrap; }
.sx-card.is-agent { background: radial-gradient(120% 90% at 100% 0%, rgba(80, 140, 200, .45), transparent 55%), linear-gradient(135deg, #141a22, #10141a 60%, #0b0e12); }
.sx-card.is-plain { background: linear-gradient(135deg, #3a3f47, #22262c 60%, #2e333b); } .sx-card.is-plain .sx-chip { background: linear-gradient(135deg, #f1f1f1, #a9adb5 60%, #e4e6ea); }
.pc-srcgrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; } .pc-srcgrid li { display: grid; gap: .4rem; align-content: start; }
.pc-srcgrid .sx-card { padding: .7rem .85rem; border-radius: 12px; container-type: inline-size; } .pc-srcgrid .sx-num { font-size: clamp(.7rem, 6cqi, .95rem); white-space: nowrap; } .pc-srcgrid .sx-issuer { font-size: .85rem; } .pc-srcgrid .sx-chip { width: 32px; height: 24px; } .pc-srcgrid .sx-card-bot { font-size: .7rem; }
.pc-src-m { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; } .pc-srcgrid li.off .sx-card { filter: grayscale(.85) brightness(.85); }
.pc-pick { margin: .3rem 0 .8rem; } .pc-pick form { gap: .5rem; flex-wrap: wrap; align-items: end; } .pc-pick label { display: grid; gap: .2rem; font-size: .82rem; }

/* The Athanor Card, as in Athanor Cloud (athanor-os/public/app.css .ath-card); drawn by /athcard.js (auctusclan 2026-11-23) */
.ath-card { position: relative; aspect-ratio: 1.586; width: 100%; max-width: 420px; border-radius: 16px; padding: 20px 22px; box-sizing: border-box; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; color: #f3e6c4;
  container-type: inline-size; background: radial-gradient(120% 95% at 85% 0%, #3a3122 0%, #1c1810 55%, #0d0b07 100%); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s cubic-bezier(.2, .8, .25, 1);
  box-shadow: 0 1px 0 rgba(255, 236, 180, .2) inset, 0 18px 40px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 162, 39, .35) inset; }
.ath-guilloche { position: absolute; inset: 0; z-index: -1; opacity: .16; background: repeating-radial-gradient(circle at 80% 20%, #c9a227 0 1px, transparent 1px 9px); }
.ath-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ath-brand strong { display: block; font: 600 clamp(15px, 4.8cqi, 20px)/1 var(--serif, Georgia, serif); letter-spacing: .28em; color: #e2c25e; }
.ath-brand span { display: block; margin-top: 4px; font-size: clamp(9px, 2.6cqi, 11px); letter-spacing: .3em; text-transform: uppercase; color: #bcae86; }
.ath-emblem { width: clamp(28px, 9cqi, 38px); height: auto; }
.ath-mid { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 0; }
.ath-chip { width: clamp(36px, 11cqi, 46px); aspect-ratio: 46 / 36; border-radius: 7px; background: linear-gradient(135deg, #f2da96, #b98a2e 55%, #e9c76f); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3) inset; }
.ath-num { font: 500 clamp(13px, 5.4cqi, 21px)/1.1 var(--mono, ui-monospace, monospace); letter-spacing: .14em; color: #f3e6c4; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); white-space: nowrap; }
.ath-bottom { display: flex; gap: clamp(12px, 5cqi, 22px); flex-wrap: wrap; }
.ath-label { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #9d916f; }
.ath-emboss { font: 500 clamp(11px, 3.4cqi, 14px)/1.3 var(--mono, ui-monospace, monospace); letter-spacing: .12em; color: #f3e6c4; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); white-space: nowrap; }
.ath-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(240px 160px at var(--mx, 30%) 0%, rgba(255, 236, 180, .14), transparent 70%); }
.ath-card.is-agent { background: radial-gradient(120% 95% at 85% 0%, #22303d 0%, #121a22 55%, #080c10 100%); }
.ath-card.frozen { filter: grayscale(.85) brightness(.85); }
.ath-frozen { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: .25rem .7rem; border: 1px solid #e2c25e; border-radius: 6px; color: #e2c25e; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; background: rgba(0, 0, 0, .45); }
.ath-card.sm { max-width: 300px; padding: 14px 16px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .ath-card { transition: none; transform: none; } }

/* Trade (auctusclan 2026-11-23): watchlist | chart | ticket, tabs below; one column on a phone */
.tr-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin: 0 0 1rem; }
.tr-kpis.sm { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: .6rem 0; }
.tr-kpis .n.up, .tr .up, .tr-tabs-card .up, .tr-legend .up, #trCh.up { color: #1f9d6b; } .tr-kpis .n.down, .tr .down, .tr-tabs-card .down, .tr-legend .down, #trCh.down { color: #d0473b; }
.tr { display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 1rem; align-items: start; }
.tr > .card { margin: 0; min-width: 0; }
.tr-watch { padding: .8rem .6rem; } .tr-wh { display: flex; justify-content: space-between; align-items: center; padding: 0 .4rem .5rem; }
.tr-watch ul { list-style: none; margin: 0; padding: 0; } .tr-watch li { display: flex; align-items: center; }
.tr-w { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 0 .4rem; padding: .45rem .5rem; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.tr-w:hover { background: var(--bg-2, rgba(0, 0, 0, .04)); } .tr-w.on { background: rgba(201, 162, 39, .14); }
.tr-ws { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tr-wp { text-align: right; font-variant-numeric: tabular-nums; font-size: .88rem; }
.tr-wc { grid-column: 2; text-align: right; font-size: .76rem; font-variant-numeric: tabular-nums; } .tr-wc.up { color: #1f9d6b; } .tr-wc.down { color: #d0473b; }
.tr-wx { border: 0; background: none; color: var(--ink-3, #8a8577); cursor: pointer; font-size: 1rem; padding: .2rem .35rem; opacity: 0; } .tr-watch li:hover .tr-wx, .tr-wx:focus { opacity: 1; }
.tr-tag { font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a6d12; background: rgba(201, 162, 39, .18); border-radius: 4px; padding: 0 .25rem; vertical-align: middle; }
.tr-wadd { display: flex; gap: .3rem; padding: 0 .3rem .5rem; } .tr-wadd input { min-width: 0; flex: 1; }
.tr-main { padding: .8rem .9rem; }
.tr-bar { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-bottom: .4rem; }
.tr-sym { display: flex; gap: .3rem; } .tr-sym input { width: 8.5rem; font-weight: 700; text-transform: uppercase; }
.tr-q { font-variant-numeric: tabular-nums; } .tr-q b { font-size: 1.25rem; }
.tr-tfs, .tr-inds, .tr-side { display: inline-flex; border: 1px solid var(--line, #e6e1d6); border-radius: 9px; overflow: hidden; }
.tr-tfs button, .tr-inds button { border: 0; background: none; padding: .32rem .55rem; font: inherit; font-size: .8rem; color: var(--ink-2, #5b574c); cursor: pointer; }
.tr-tfs button.on, .tr-inds button.on { background: rgba(201, 162, 39, .18); color: var(--ink, #16150f); font-weight: 600; }
.tr-legend { font-size: .8rem; color: var(--ink-2, #5b574c); min-height: 1.2em; font-variant-numeric: tabular-nums; }
.tr-chart { width: 100%; min-height: 320px; } .tr-rsi { width: 100%; border-top: 1px solid var(--line, #e6e1d6); margin-top: .3rem; }
.tr-ticket { padding: .9rem; } .tr-ticket h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.tr-side { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: .6rem; }
.tr-side button { border: 0; padding: .5rem; font: inherit; font-weight: 600; background: none; cursor: pointer; color: var(--ink-2, #5b574c); }
.tr-side button.buy.on { background: #1f9d6b; color: #fff; } .tr-side button.sell.on { background: #d0473b; color: #fff; }
.tr-form { display: grid; gap: .55rem; } .tr-form label { display: grid; gap: .2rem; font-size: .82rem; } .tr-form label[hidden] { display: none; }
.tr-form .rseg label { display: inline-flex; }
.tr-bracket summary { cursor: pointer; font-size: .85rem; color: var(--ink-2, #5b574c); } .tr-bracket label { margin-top: .4rem; }
.tr-est { min-height: 1.2em; margin: 0; font-size: .84rem; color: var(--ink-2, #5b574c); }
.tr-go { width: 100%; } .tr-go.buy { background: #1f9d6b; border-color: #1f9d6b; color: #fff; } .tr-go.sell { background: #d0473b; border-color: #d0473b; color: #fff; }
.tr-terms { border: 1px dashed var(--line, #e6e1d6); border-radius: 10px; padding: .6rem; } .tr-tl { font-size: .8rem; padding-left: 1.1rem; margin: 0 0 .5rem; }
.tr-tabs-card { margin-top: 1rem; } .tr-tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line, #e6e1d6); margin-bottom: .8rem; overflow-x: auto; }
.tr-tabs button { border: 0; background: none; padding: .55rem .8rem; font: inherit; color: var(--ink-2, #5b574c); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tr-tabs button.on { color: var(--ink, #16150f); border-bottom-color: #C9A227; font-weight: 600; }
.tr-crowd .pill { cursor: pointer; border: 1px solid var(--line, #e6e1d6); background: none; font: inherit; font-size: .82rem; }
.tr-connect .tr-steps { padding-left: 1.2rem; line-height: 1.7; } .tr-connect form { align-items: end; margin: .6rem 0; }
.tblwrap { overflow-x: auto; } .tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 1180px) { .tr { grid-template-columns: minmax(0, 1fr) 270px; } .tr-watch { grid-column: 1 / -1; } .tr-watch ul { display: flex; flex-wrap: wrap; gap: .2rem; } .tr-watch li { flex: 0 0 auto; } .tr-w { min-width: 9.5rem; } }
@media (max-width: 760px) { .tr { grid-template-columns: minmax(0, 1fr); } .tr-sym input { width: 6.5rem; } .tr-watch ul { flex-wrap: nowrap; overflow-x: auto; } }
.tr-go.buy:hover, .tr-go.buy:focus-visible { background: #188a5c; border-color: #188a5c; color: #fff; } .tr-go.sell:hover, .tr-go.sell:focus-visible { background: #b93d32; border-color: #b93d32; color: #fff; }
/* Strategy lab and Brokerage (auctusclan 2026-11-23) */
.tr-lab { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.tr-algo { margin: 0; display: grid; gap: .4rem; align-content: start; } .tr-algo-h { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.tr-scan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; } .tr-scan, .tr-news { list-style: none; margin: 0; padding: 0; } .tr-scan li { display: flex; gap: .5rem; align-items: baseline; padding: .25rem 0; border-bottom: 1px solid var(--line, #e6e1d6); } .tr-scan li b { min-width: 4.5rem; display: inline-block; } .tr-news li { padding: .6rem 0; border-bottom: 1px solid var(--line, #e6e1d6); } .tr-news p { margin: .3rem 0 0; }
.tr-spark { width: 100%; height: 90px; } .tr-legend2 { font-size: .75rem; color: var(--ink-2, #5b574c); margin: 0; }
.tr-legend2 .k1::before, .tr-legend2 .k2::before { content: ''; display: inline-block; width: 14px; height: 2px; margin-right: .3rem; vertical-align: middle; background: #C9A227; }
.tr-legend2 .k2::before { background: #9d916f; } .tr-legend2 .k2 { margin-left: .7rem; }
.tr-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: .5rem; margin: .3rem 0; }
.tr-stats dt { font-size: .72rem; color: var(--ink-2, #5b574c); } .tr-stats dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; align-items: start; } .bk2 > .card { margin: 0; min-width: 0; }
.bk2-bar { gap: .5rem; margin-bottom: .5rem; } .bk2-bar input { flex: 1; min-width: 0; }
#bkOne h3 { font-size: .95rem; margin: .9rem 0 .3rem; }
@media (max-width: 900px) { .bk2 { grid-template-columns: minmax(0, 1fr); } }
.tr-ask { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; } .tr-ask label { flex: 1; min-width: 220px; display: grid; gap: .25rem; } .tr-ask textarea { width: 100%; resize: vertical; }
.tr-answer { white-space: pre-wrap; margin: .8rem 0; padding: .8rem 1rem; border-radius: 10px; background: var(--panel, #f7f4ec); border-left: 3px solid #C9A227; min-height: 1.2em; }
.tr-answer:empty { display: none; }

/* Connect: every way to bring an account in (suite.js connect) */
.cx-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cx-way { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 4px; border-top: 1px solid var(--line, rgba(127,127,127,.18)); }
.cx-way:first-child { border-top: 0; }
.cx-way > div:first-of-type { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; max-width: 280px; }
.cx-way.s-planned, .cx-way.s-waiting { opacity: .78; }
@media (max-width: 640px) { .cx-way { grid-template-columns: auto 1fr; } .cx-act { grid-column: 2; justify-content: flex-start; max-width: none; } }
.cx-appq { margin: 8px 0; } .cx-appq input { flex: 1; min-width: 180px; }
#cxApps .sx-list img, #cxApps .sx-conns img { border-radius: 6px; object-fit: contain; }

/* Trade: journal, size by risk, brokers (auctusclan 2026-11-25) */
.tr-jform { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: .6rem 0 1rem; }
.tr-jform .grow, .tr-jform .row { grid-column: 1 / -1; }
.tr-jnote { max-width: 320px; white-space: normal; }
.tr-jadd > summary { display: inline-block; margin: .4rem 0; list-style: none; cursor: pointer; }
.tr-risk { margin: .4rem 0; } .tr-risk summary { cursor: pointer; font-size: .9rem; }
.tr-brokers .row { gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
