/* /positions/ (roadmap stage 0). Builds on venues.css (vn-* table, view toggle, m-hide). */
.ps-form { margin: 0; }
.ps-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.ps-row { display: flex; gap: 8px; max-width: 720px; }
.ps-row .swan-input { flex: 1; min-width: 0; font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 13px; }
.ps-row .swan-btn { flex: none; min-width: 76px; }
.ps-hint { margin: 6px 0 0; min-height: 1.4em; font-size: 12.5px; color: var(--amber); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 4px 4px 10px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); font-size: 12.5px; color: var(--text); font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); }
.ps-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-chip small { color: var(--text-dim); font-family: inherit; }
.ps-chip button { font: inherit; font-size: 15px; line-height: 1; width: 28px; height: 28px; border: 0; border-radius: 5px; background: none; color: var(--text-dim); cursor: pointer; flex: none; }
.ps-chip button:hover { color: var(--loss); background: var(--surface-2); }
.ps-chip button:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }
.ps-venues { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; color: var(--text-mid); }
.ps-v { display: inline-flex; align-items: center; gap: 6px; }
.ps-v.soon { color: var(--text-dim); }
.ps-v.soon .vmark-i { opacity: .45; }
.ps-v small { font-size: var(--fs-xs); font-weight: 600; padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: 5px; color: var(--text-dim); }
.ps-refresh { font: inherit; font-size: 12.5px; font-weight: 600; min-height: 32px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 7px; background: none; color: var(--text-mid); cursor: pointer; margin-left: auto; }
.ps-refresh:hover { color: var(--mint); }
.ps-refresh[hidden] { display: none; }
.ps-privacy { margin: 12px 0 0; font-size: 12px; color: var(--text-dim); line-height: 1.6; max-width: 820px; }
.ps-empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: 10px; color: var(--text-mid); font-size: 13.5px; }
.ps-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ps-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.ps-card span { font-size: 12px; color: var(--text-mid); }
.ps-card b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--paper, #ecf5ef); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-card b.gain { color: var(--gain); }
.ps-card b.loss { color: var(--loss); }
.ps-card small { font-size: 11.5px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.ps-side { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 5px; }
.ps-side.long { color: var(--gain); background: rgba(var(--gain-rgb), .1); }
.ps-side.short { color: var(--loss); background: rgba(var(--loss-rgb), .1); }
.ps-split { display: flex; height: 6px; width: 120px; border-radius: 3px; overflow: hidden; background: var(--surface-2); margin: 5px 0 0; }
.ps-split span { display: block; height: 100%; }
.ps-asset { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.ps-asset small { color: var(--text-dim); font-weight: 500; }
.ps-acct { font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12px; color: var(--text-mid); }
@media (max-width: 900px) { .ps-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ps-card b { font-size: 18px; }
  .ps-card { padding: 12px; }
  .ps-split { width: 72px; }
}
/* identity.css sets table cell color with higher specificity */
#assets tbody td.gain, #legs tbody td.gain { color: var(--gain); }
#assets tbody td.loss, #legs tbody td.loss { color: var(--loss); }
#legs thead th, #legs tbody td { padding-left: 8px; padding-right: 8px; }
#legs tbody td { font-size: 12.5px; }
/* past funding report (stage 1) */
.ps-disclaim { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: var(--amber); }
.ps-partial { color: var(--amber); }
.ps-past-legs { margin-top: 14px; }
#pastAssets tbody td.gain, #pastLegs tbody td.gain { color: var(--gain); }
#pastAssets tbody td.loss, #pastLegs tbody td.loss { color: var(--loss); }
#pastLegs tbody td.ps-here { font-weight: 700; }
#pastLegs thead th, #pastLegs tbody td { padding-left: 8px; padding-right: 8px; }
#pastLegs tbody td { font-size: 12.5px; }
.ps-past-sum { margin: 0 0 12px; font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }
.ps-past-sum b { color: var(--text); font-variant-numeric: tabular-nums; }
.ps-past-sum b.gain { color: var(--gain); }
.ps-past-sum b.loss { color: var(--loss); }
.ps-cmp-m { font-size: 11px; color: var(--text-dim); margin-left: 4px; }
.ps-best-m { font-size: 11px; color: var(--text-dim); font-weight: 400; }
/* /watch/ (2026-10-01) */
.w-row .w-name { flex: 0 1 180px; font-family: inherit; }
.w-shared { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 12px; padding: 10px 12px; border: 1px solid var(--amber); border-radius: 8px; font-size: 13px; color: var(--text-mid); }
.w-shared[hidden] { display: none; }
.w-shared .ps-refresh { margin-left: 0; }
.w-bar { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--surface-2); vertical-align: middle; overflow: hidden; }
.w-bar i { display: block; height: 100%; border-radius: 3px; }
.w-bar i.l { background: var(--gain); }
.w-bar i.s { background: var(--loss); margin-left: auto; }
.w-ev { font-weight: 600; white-space: nowrap; }
.w-open, .w-add { color: var(--text); }
.w-close { color: var(--text-mid); }
.w-flip { color: var(--amber); }
.w-t { white-space: nowrap; }
@media (max-width: 640px) {
  .w-row { flex-wrap: wrap; }
  .w-row .swan-input:first-child { flex: 1 1 100%; }
  .w-row .w-name { flex: 1 1 auto; }
}
.w-sub { display: block; font-size: 11.5px; color: var(--text-dim); }

/* /watch/ address display toggle (2026-10-02) */
.w-mask { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); }
.w-mask-l { padding: 0 6px 0 4px; color: var(--text-dim); font-size: 12px; }
.w-mask button { font: inherit; font-size: 12px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--text-dim); cursor: pointer; }
.w-mask button:hover { color: var(--text); }
.w-mask button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
