/* Vesting schedules (/vest/). On top of tokens.css, chrome.css and site.css. No green, no blue:
   state is shown by words and shape; the one accent is orange, never as text. */
.vs { --vs-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ---------- Top band ---------- */
.vs-band { background: var(--card); border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
@media (min-width: 700px) { .vs-band { padding: 34px 0 22px; } }
.vs-band h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); overflow-wrap: anywhere; }
.vs-band h1:focus { outline: none; }
.vs-band h1:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 4px; }
.vs-crumb { margin: 0 0 8px; font-size: .9375rem; }
.vs-crumb a::before { content: "← "; }
.vs-lead { font-size: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem); line-height: 1.5; max-width: 40em; margin: 10px 0 12px; }
.vs-band .site-on { margin: 0 0 16px; }

/* ---------- Search ---------- */
.vs-search { margin: 0 0 14px; max-width: 46em; }
.vs-label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.vs-row { display: flex; gap: 8px; }
.vs-search input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--dim);
  border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; box-sizing: border-box;
}
.vs-search input::placeholder { color: var(--dim); opacity: 1; }
.vs-search input:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 2px; border-color: var(--ink); }
.vs-search .site-btn { min-height: 48px; cursor: pointer; flex: none; }
.vs .site-btn:disabled { opacity: .65; cursor: progress; }
@media (max-width: 420px) { .vs-row { flex-direction: column; } }
.vs-help { color: var(--dim); font-size: .875rem; margin: 8px 0 0; }

/* ---------- Results ---------- */
.vs-main { padding-top: 14px; padding-bottom: 24px; }
.vs-status { min-height: 1.5em; margin: 0 0 10px; color: var(--dim); font-size: .9375rem; }
.vs-status.is-done { color: var(--ink); }
.vs-status.is-bad { color: var(--bad); }
.vs-mono { font-family: var(--vs-mono); font-size: .875em; overflow-wrap: anywhere; word-break: break-all; }
code.vs-mono { background: none; border: 0; padding: 0; }
.vs-dim { color: var(--dim); }

.vs-alert { border: 1.5px solid var(--warn); background: var(--warn-bg); color: var(--ink); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 14px; max-width: 46em; overflow-wrap: anywhere; }
.vs-alert p { margin: 0; }
.vs-alert p + p { margin-top: 6px; }

.vs-summary { margin: 0 0 14px; }
.vs-summary h2 { font-size: 1.25rem; overflow-wrap: anywhere; }
.vs-summary p { margin: 6px 0 0; max-width: 46em; overflow-wrap: anywhere; }
.vs-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.vs-small { min-height: 40px; padding: 6px 14px; font-size: .9375rem; cursor: pointer; }

.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; min-width: 0; }
.vs-card h2 { font-size: 1.125rem; overflow-wrap: anywhere; }
.vs-card h3 { font-size: 1rem; margin: 14px 0 4px; }
.vs-card p { margin: 6px 0 0; }
.vs-id { font-size: .9375rem; overflow-wrap: anywhere; }
.vs-state { font-weight: 600; }
.vs-state.is-cancelled { padding-left: 10px; border-left: 3px solid var(--orange); }

.vs-facts { margin: 12px 0 0; display: grid; gap: 0; }
.vs-facts > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 2px 16px; padding: 7px 0; border-top: 1px solid var(--line); }
.vs-facts dt { color: var(--dim); font-size: .9375rem; }
.vs-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .vs-facts > div { grid-template-columns: minmax(0, 1fr); } }
.vs-name { color: var(--dim); }
.vs-tranches, .vs-txs { margin: 0; padding-left: 1.25em; }
.vs-txs li, .vs-tranches li { margin: 2px 0; overflow-wrap: anywhere; }

/* ---------- About ---------- */
.vs-sec { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.vs-sec h2 { font-size: 1.25rem; }
.vs-notes { max-width: 46em; padding-left: 1.25em; margin: 10px 0 0; }
.vs-notes li { margin: 6px 0; }
