/* Colin 10-31 (answer 7): sell-down ways side by side, parent and sleeve drift, the onboarding checklist.
   Uses the tokens of app.css only, so light and dark both follow the theme. */

/* Raise cash: every way side by side (templates/_selldown.html) */
.sd h2 { font-size: 16px; margin: 0 0 4px; }
.sd-grid th, .sd-grid td { vertical-align: top; }
.sd-grid thead th { white-space: normal; min-width: 128px; }
.sd-grid thead th .tag, .sd-grid thead th .btn { margin-top: 5px; }
.btn.small { padding: 2px 9px; font-size: 12px; }
.sd-grid .sd-chosen { background: var(--accent-soft); }
.sd-grid .sd-gain { font-size: 11.5px; color: var(--ink-3); }
.sd-grid .neg, .sd-grid .sd-gain.neg { color: var(--breach); }
.sd-grid tr.sd-total th, .sd-grid tr.sd-total td { border-top: 1px solid var(--rule-strong); font-weight: 500; }
.sd-grid td.sd-note { font-size: 12px; white-space: normal; max-width: 220px; }
.sd #method-reason { width: 100%; max-width: 640px; box-sizing: border-box; }

/* parent and sleeve drift (templates/_sleeves.html) */
.sleeves h2 { font-size: 16px; margin: 0 0 4px; }
.sleeves .grid tr.sleeve-head td, .sleeves .grid tr.sleeve-head th { background: var(--row-hover); font-weight: 600; }
.sleeves .grid td.inner { padding-left: 22px; }
.sleeves .neg { color: var(--breach); }

/* onboarding checklist (templates/_onboarding.html, onboarding.html) */
.onb-steps { list-style: none; margin: 0; padding: 0; }
.onb-steps > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0;
  border-top: 1px solid var(--rule); }
.onb-steps > li:first-child { border-top: 0; }
.onb-mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rule-strong); box-sizing: border-box; margin-top: 1px; }
.onb-steps > li.done .onb-mark { background: var(--ok); border-color: var(--ok); }
.onb-steps > li.next .onb-mark { border-color: var(--accent); }
.onb-title { font-weight: 500; }
.onb-meta { color: var(--ink-2); font-size: 12.5px; overflow-wrap: anywhere; }
.onb-steps form { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 6px; }
.onb-steps form input[name="evidence"], .onb-steps form input[name="reason"] { flex: 1 1 260px; min-width: 0; }
.onb-steps details summary { cursor: pointer; color: var(--accent); font-size: 12.5px; margin-top: 4px; }
.onb-progress { color: var(--ink-2); font-size: 13px; }
.onb-edit td input[type="text"] { width: 100%; box-sizing: border-box; min-width: 160px; }
#onboarding { margin-bottom: 16px; }
