/* Dorax Finance — the vote on connecting a bank (v260, features/openfinance/of-poll.js): its way in (the side menu, More, a line on Imports) and its
   window: what it is, the question, the banks, for what, "tell me", and what is kept. */
.nav .nav-of .of-tag, .mr-of .of-tag { margin-left: auto; flex: none; padding: 2px 8px; border-radius: var(--pill); background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.nav .nav-of .of-tag.done, .mr-of .of-tag.done { background: var(--select); color: var(--brand); }
.app.rail-shut .nav .nav-of .of-tag { display: none; }
.mr-of .of-tag { margin-right: 2px; font-size: 12px; }
.of-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.of-line > svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.of-line .linkbtn { font-weight: 500; }
.ip-start .of-line { display: block; text-align: center; margin-top: 4px; }
.ip-start .of-line > svg { display: none; }
.ip-start .of-line .linkbtn { margin-left: 4px; }

.of-poll { display: flex; flex-direction: column; gap: 18px; }
.of-top { display: flex; align-items: center; gap: 14px; }
.of-top .fig { flex: none; width: 76px; }
.of-top .grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.of-lead { margin: 0; color: var(--ink-strong); font-size: 15px; line-height: 1.5; }
.of-top .note { margin: 0; }
.of-poll .field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.of-poll .lbl { font-size: 14px; font-weight: 500; color: var(--ink-strong); }
.of-sub { margin: -4px 0 0; }
.of-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.of-picks.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.of-pick { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 14px; line-height: 1.25; text-align: center; cursor: pointer; transition: background var(--t1) ease-out, color var(--t1) ease-out, box-shadow var(--t1) ease-out; }
.of-pick:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.of-pick:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.of-pick[aria-pressed="true"] { background: var(--bq-pick-bg, var(--brand)); color: var(--bq-pick-ink-2, #FFFFFF); box-shadow: none; font-weight: 600; }
.of-picks.banks .of-pick { padding-left: 6px; }
.of-mark { display: inline-flex; flex: none; }
.of-mark .inst { width: 24px; height: 24px; border-radius: 50%; font-size: 9px; }
.of-mark .inst img { width: 24px; height: 24px; border-radius: 50%; }
.of-other { display: block; margin-top: 2px; }
.of-other input { width: 100%; }
.of-notify .note { margin: 0; }
.of-keep { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.of-keep svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--ink-3); }
.of-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0; outline: none; }
.of-done h2 { margin: 4px 0 0; font-size: 20px; }
.of-done p { margin: 0; }
@media (max-width: 920px) {
  .of-pick { min-height: 44px; }
  .of-top .fig { width: 64px; }
  .of-line { font-size: 15px; }
}
@media (max-width: 380px) { .of-picks.three { grid-template-columns: 1fr; } }
/* v270: a screen of its own (#openbank), not a window */
.of-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.of-acts .btn { min-height: 44px; }
a.mr-row.mr-of { text-decoration: none; }
@media (max-width: 920px) { .of-acts .btn.primary { flex: 1 1 auto; justify-content: center; } }
/* its row marked in the side menu (the screen on view): the name on one line, the tag readable on the marked row's colour */
.nav .nav-of > span:not(.of-tag) { white-space: nowrap; }
.nav .nav-of[aria-current="page"] .of-tag { background: rgba(0, 0, 0, .14); color: inherit; }
.nav .nav-of { gap: 9px; }
.nav .nav-of .of-tag { padding: 2px 7px; font-size: 10.5px; max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
/* v272: the screen says what Open Finance is and would bring; the vote in a card at its top, the vote itself in a window (of-poll drawer).
   v273 (owner, 2026-10-25: "no está cogiendo todo el espacio y se ve todo apretado"): the whole width of the page, its parts laid out by the
   width the page has (a container query, so it follows the side menu open or closed): what it is, how it would work and its safety side by side
   on a wide page, two and two on a middling one, one under the other on a phone; what it would bring four across, two, or one. */
.of-page { display: flex; flex-direction: column; gap: 16px; container: of-page / inline-size; }
.of-page .card { margin: 0; }
.of-page h2 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink-strong); line-height: 1.3; }
.of-h { margin: 0 0 10px; }
.of-page > .of-top .of-lead { max-width: 900px; font-size: 16px; }
.of-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; }
.of-vote .grow { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.of-vote .note { margin: 0; }
.of-vote .btn { min-height: 44px; }
.of-vote-picks { flex: 1 1 320px; max-width: 560px; }
.of-vote.done { box-shadow: inset 0 0 0 1px var(--line); }
.of-vote-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--select); color: var(--brand); }
.of-vote-ic svg { width: 20px; height: 20px; }
.of-info { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.of-info p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.of-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.of-steps { margin: 0; padding: 0; list-style: none; counter-reset: of-step; display: flex; flex-direction: column; gap: 10px; }
.of-steps li { counter-increment: of-step; position: relative; padding-left: 34px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.of-steps li::before { content: counter(of-step); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--ink-strong); font-size: 12px; font-weight: 600; }
.of-safe { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.of-safe li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.of-safe li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--brand); }
.of-gains { display: grid; grid-template-columns: 1fr; gap: 12px; }
.of-gain { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.of-gain-ic { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 12px; background: var(--select); color: var(--brand); }
.of-gain-ic svg { width: 18px; height: 18px; }
.of-gain-ic:has(svg.obj) { width: 48px; height: 48px; margin-bottom: 6px; border-radius: 0; background: none; }      /* v278: Dorax's own icon, on its own circle */
.of-gain b { color: var(--ink-strong); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.of-gain p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
@container of-page (min-width: 640px) { .of-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .of-grid .of-what { grid-column: 1 / -1; } .of-gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container of-page (min-width: 1000px) { .of-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .of-grid .of-what { grid-column: auto; } .of-gains { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .of-page { gap: 14px; }
  .of-grid { gap: 14px; }
  .of-vote, .of-info { padding: 16px; }
  .of-vote .btn { flex: 1 1 auto; justify-content: center; }
  .of-vote-picks { max-width: none; }
  .of-page > .of-top .of-lead { font-size: 15px; }
}
@container of-page (max-width: 519px) { .of-gain { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; } .of-gain-ic { margin: 0; } .of-gain b { flex: 1 1 0; } .of-gain p { flex-basis: 100%; } }
