/* Our own pieces, in the template's hand: same paper, ink, radii, shadows and type (Mona Sans, Spline Sans Mono for code only). */
:root {
  --paper: #f6f7f8; --ink: #111316; --deep: #0e1a24; --panel: #172633; --mute: #5b6169; --soft: #8a9098; --line: rgba(17, 19, 22, .1);
  --amber: #ffb224; --coral: #ff6b4a; --blue: #2f7bff; --green: #1fa463; --violet: #8b6cff;
  --sans: 'Mona Sans', 'Mona Sans Variable', 'Helvetica Neue', Arial, sans-serif; --mono: 'Spline Sans Mono', ui-monospace, Menlo, monospace;
  --ring: 0 0 0 1px rgba(17, 19, 22, .1); --lift: 0 0 0 1px rgba(17, 19, 22, .1), 0 30px 70px rgba(14, 26, 36, .22), 0 6px 16px rgba(14, 26, 36, .08); --card: 0 20px 50px rgba(14, 26, 36, .12);
}
.ps, .ps * { box-sizing: border-box; font-family: var(--sans); }
.ps { color: var(--ink); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; text-align: left; }
.ps a { color: inherit; text-decoration: none; }
.ps button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.ps img.ps-coin, .ps .ps-coin { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; box-shadow: var(--ring); display: block; }
.ps .ps-coin.sm { width: 16px; height: 16px; } .ps .ps-coin.lg { width: 56px; height: 56px; } .ps .ps-coin.xl { width: 84px; height: 84px; }
.ps .ps-mute { color: var(--mute); } .ps .ps-green { color: var(--green); } .ps .ps-coral { color: var(--coral); } .ps .ps-r { text-align: right; }
.ps .ps-mono { font-family: var(--mono); font-size: 12.5px; }

/* buttons: the template's pills */
.ps .ps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--ink); color: #fff; white-space: nowrap; transition: transform .15s, background .15s, opacity .15s; }
.ps .ps-btn:hover { transform: translateY(-1px); } .ps .ps-btn:disabled { opacity: .45; cursor: default; transform: none; }
.ps .ps-btn.amber { background: var(--amber); color: var(--ink); } .ps .ps-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ps .ps-btn.sm { height: 34px; padding: 0 14px; font-size: 13px; } .ps .ps-btn.wide { width: 100%; height: 52px; font-size: 16px; }
.ps.on-dark .ps-btn.ghost, .ps .on-dark .ps-btn.ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* a window, like the template's product stages */
.ps .ps-win { background: #fff; border-radius: 14px; box-shadow: var(--lift); overflow: hidden; position: relative; }
.ps .ps-win-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.ps .ps-win-top .ps-mute { font-weight: 400; font-size: 13px; }
.ps .ps-tabs { display: flex; gap: 6px; padding: 10px 14px 0; }
.ps .ps-tab { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--mute); }
.ps .ps-tab.on { background: var(--ink); color: #fff; }

/* tables */
.ps table.ps-table { width: 100%; border-collapse: collapse; }
.ps .ps-table th { font-weight: 500; font-size: 12.5px; color: var(--mute); text-align: left; padding: 10px 12px; white-space: nowrap; }
.ps .ps-table td { padding: 0 12px; height: 46px; border-top: 1px solid var(--line); white-space: nowrap; }
.ps .ps-table td.ps-r, .ps .ps-table th.ps-r { text-align: right; }
.ps .ps-table tr.ps-link { cursor: pointer; } .ps .ps-table tr.ps-link:hover td { background: rgba(17, 19, 22, .025); }
.ps .ps-cell { display: flex; align-items: center; gap: 10px; min-width: 0; } .ps .ps-cell b { font-weight: 600; } .ps .ps-cell .ps-mute { overflow: hidden; text-overflow: ellipsis; }
.ps .ps-to { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ps .ps-to::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--soft); }
.ps .ps-to.holders { color: var(--green); } .ps .ps-to.holders::before { background: var(--green); }
.ps .ps-mix { display: inline-flex; align-items: center; } .ps .ps-mix .ps-coin { margin-left: -6px; } .ps .ps-mix .ps-coin:first-child { margin-left: 0; }
.ps .ps-mixtxt { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.ps .ps-mixtxt span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* a card on paper */
.ps .ps-card { background: #fff; border-radius: 18px; box-shadow: var(--card); padding: 28px; }
.ps .ps-card.flat { box-shadow: var(--ring); }
.ps .ps-h { font-size: 28px; line-height: 1.1; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.ps .ps-h.big { font-size: 44px; letter-spacing: -.04em; } .ps .ps-sub { color: var(--mute); font-size: 16px; line-height: 1.5; margin: 10px 0 0; }
.ps .ps-fig { font-size: 40px; line-height: 1; letter-spacing: -.04em; font-weight: 500; } .ps .ps-fig.sm { font-size: 26px; }
.ps .ps-lab { color: var(--mute); font-size: 13px; margin-top: 6px; }

/* fields */
.ps label.ps-f { display: block; font-size: 13px; font-weight: 500; color: var(--mute); }
.ps .ps-in { width: 100%; height: 48px; margin-top: 6px; padding: 0 14px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff; font: 500 16px var(--sans); color: var(--ink); outline: none; }
.ps textarea.ps-in { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.ps .ps-in:focus { box-shadow: inset 0 0 0 2px var(--ink); } .ps .ps-in::placeholder { color: var(--soft); font-weight: 400; }
.ps .ps-seg { display: flex; padding: 4px; border-radius: 12px; background: rgba(17, 19, 22, .05); margin-top: 6px; }
.ps .ps-seg button { flex: 1; height: 40px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--mute); }
.ps .ps-seg button.on { background: #fff; color: var(--ink); box-shadow: var(--ring), 0 2px 6px rgba(14, 26, 36, .08); }
.ps input[type=range].ps-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgba(17, 19, 22, .12); outline: none; margin: 14px 0 6px; }
.ps input[type=range].ps-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 3px solid #fff; box-shadow: var(--ring), 0 2px 6px rgba(14, 26, 36, .2); }
.ps input[type=range].ps-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 3px solid #fff; }
.ps .ps-note { font-size: 13px; color: var(--mute); line-height: 1.5; } .ps .ps-err { color: #c63a1e; font-size: 14px; font-weight: 500; }
