/* Download page. Builds on public.css tokens; logical properties keep it correct in RTL. */
.dl-intro { padding-block: 8px 4px; }
.dl-intro h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.2; margin: 0 0 8px; }
.dl-lead { margin: 0; color: var(--of-muted); font-size: 1.05rem; }
.dl-language { font: inherit; color: var(--of-text); background: var(--of-surface); border: 1px solid var(--of-border);
  border-radius: 999px; min-height: 44px; padding: 0 14px; }
.dl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-block-start: 16px; }
.dl-card { display: flex; flex-direction: column; gap: 12px; }
.dl-card h2 { margin: 0; }
.dl-body { display: grid; gap: 12px; align-content: start; }
.dl-body p { margin: 0; }
.dl-button { width: 100%; min-height: 48px; }
.dl-muted { color: var(--of-muted); }
.dl-details { display: grid; gap: 8px; margin: 0; }
.dl-details div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.dl-details dt { color: var(--of-muted); }
.dl-details dd { margin: 0; font-weight: 700; }
.dl-hash-row { display: grid; gap: 8px; }
.dl-hash { display: block; direction: ltr; text-align: start; unicode-bidi: isolate; font: .8rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: var(--of-surface-2); border: 1px solid var(--of-border); border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; user-select: all; }
.dl-hint { font-size: .9rem; color: var(--of-muted); }
.dl-command { display: block; direction: ltr; text-align: start; font: .8rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.dl-form { display: grid; gap: 8px; }
.dl-form h3 { margin: 0; font-size: 1.05rem; }
.dl-form label { font-weight: 700; }
.dl-form input { font: inherit; color: var(--of-text); background: var(--of-bg); border: 1px solid var(--of-border);
  border-radius: 12px; padding: 10px 12px; min-height: 44px; width: 100%; }
.dl-form-status { min-height: 1.5em; margin: 0; color: var(--of-primary); }
.dl-form-status.dl-error { color: #B3261E; }
:root[data-theme="dark"] .dl-form-status.dl-error { color: #FF9C94; }
.dl-store { background: #000; border-color: #000; color: #fff; font-weight: 700; }
:root[data-theme="dark"] .dl-store { background: #fff; border-color: #fff; color: #000; }
.pub-small { min-height: 36px; padding: 0 12px; font-size: .9rem; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--of-lime); outline-offset: 2px; }
