/* /raamexecute: one order along one line. The page's own parts; the nav, type, cards and footer are ../styles.css. */

/* Right to left, the hero's two lines run longer («החשבון שלך. בזמן אמת.»): a size smaller, so a phone holds them. */
[dir="rtl"] .rx-hero h1 { font-size: clamp(2rem, min(8.6vw, 13vh), 7.25rem); }
.eyebrow {
  margin-bottom: 18px;
  font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
/* A door's eyebrow is a <p>, so it says again what ../styles.css says for a door's line. */
.door > p.eyebrow { max-width: none; margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .16em; color: var(--muted); }
.rv .door > .eyebrow { transition-delay: 0s; }

.rx-hero h1 .l + .l { margin-top: .04em; }

/* The scenes that are only the line: the words up top, the line below them. */
.door.open { justify-content: flex-start; padding-top: max(19vh, 104px); }
.door > p:not(.eyebrow) { max-width: 36ch; }

/* ── On the record: the app's own account journal, one account at a time ──────────────────────────── */
.record .scene { max-width: 820px; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px;
  border: 1px solid rgba(251, 248, 241, .14); border-radius: 999px; background: rgba(251, 248, 241, .04);
  color: var(--soft); font: 500 13px Inter, sans-serif; cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.tabs button img { width: 20px; height: 20px; border-radius: 5px; background: #fff; }
.tabs button small { font: 12px var(--mono); color: var(--muted); }
.tabs button:hover { border-color: rgba(251, 248, 241, .3); color: var(--white); }
.tabs button[aria-selected="true"] { background: var(--white); border-color: var(--white); color: var(--ink); }
.tabs button[aria-selected="true"] small { color: #6b6f69; }
.journal-card .bar em { font-size: 11.5px; }
.journal-card .frame, .switch-card .frame { position: relative; }
/* Tall enough that a row's details, which open over the rows as in the app, show their steps. */
.journal-card .frame { height: 440px; background: #fff; }
.journal-card iframe, .switch-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Yours: the app's own state pills, one per account ───────────────────────────────────────────── */
.yours .scene { max-width: 600px; }
/* Three accounts (TradeStation's stocks and futures, and Raam Paper, founder 2026-11-06), and room under the last for
   its pill's menu. */
.switch-card .frame { height: 216px; background: #fff; }
.fine { margin-top: 18px; font-size: 13px; color: var(--muted); }

.close .more { margin-top: 18px; }

@media (max-width: 560px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .journal-card .frame { height: 380px; }
  .switch-card .frame { height: 316px; }
}
