:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f6f8;
  color: #17202a;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.card {
  width: min(720px, 100%);
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 18px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 18px 45px rgba(18, 38, 63, .08);
}
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 750; color: #506273; }
h1 { margin: 8px 0 8px; font-size: clamp(30px, 6vw, 44px); line-height: 1.08; }
h2 { margin: 8px 0; }
.lede { color: #51606d; line-height: 1.6; margin: 0 0 26px; max-width: 60ch; }
.panel { display: grid; gap: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.facts > div { background: #f7f9fa; border-radius: 12px; padding: 12px; min-width: 0; }
.facts span { display: block; color: #6d7985; font-size: 12px; margin-bottom: 4px; }
.facts strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.fileBox {
  display: block; border: 1.5px dashed #9aa8b4; border-radius: 14px; padding: 26px;
  text-align: center; cursor: pointer; background: #fafbfc;
}
.fileBox:hover { border-color: #546778; background: #f6f8f9; }
.fileBox input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filePrompt strong, .filePrompt small { display: block; }
.filePrompt small { color: #687683; margin-top: 7px; }
.selected {
  margin-top: 10px; padding: 12px 14px; border: 1px solid #dfe4e8; border-radius: 10px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.selected strong { overflow-wrap: anywhere; }
.selected span { color: #667684; white-space: nowrap; }
.hashField { display: grid; gap: 7px; margin-top: 18px; }
.hashField span { font-weight: 650; }
.hashField em { font-style: normal; font-weight: 500; color: #7a8792; }
.hashField input {
  width: 100%; border: 1px solid #bcc6ce; border-radius: 10px; padding: 11px 12px;
  font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hashField small { color: #687683; line-height: 1.45; }
.actions { display: flex; gap: 10px; margin-top: 18px; }
button { border-radius: 10px; padding: 11px 18px; font-weight: 700; font-size: 15px; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
.primary { border: 1px solid #16212a; background: #16212a; color: #fff; }
.secondary { border: 1px solid #aab5be; background: #fff; color: #24313b; }
.progressWrap { margin-top: 20px; }
.progressTop { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.progressTop span { color: #667684; text-align: right; }
progress { width: 100%; height: 13px; }
.notice { padding: 12px 14px; border-radius: 10px; line-height: 1.45; margin-bottom: 20px; }
.notice.error { background: #fff0f0; border: 1px solid #f0b8b8; color: #7c1e1e; }
.notice.info { background: #edf6ff; border: 1px solid #b7d8f5; color: #244f75; }
.successMark {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #eaf8ee; color: #1e6b37; font-size: 26px; font-weight: 800;
}
.receipt { margin: 20px 0 0; display: grid; gap: 0; border: 1px solid #e0e5e8; border-radius: 12px; overflow: hidden; }
.receipt > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #e7ebee; }
.receipt > div:last-child { border-bottom: 0; }
.receipt dt { color: #667684; }
.receipt dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.receipt code { font-size: 12px; }
.privacy { color: #76838e; font-size: 12px; margin: 26px 0 0; line-height: 1.5; }
.hidden { display: none !important; }
@media (max-width: 620px) {
  .facts { grid-template-columns: 1fr; }
  .selected { align-items: flex-start; flex-direction: column; }
  .receipt > div { grid-template-columns: 1fr; gap: 4px; }
  .progressTop { flex-direction: column; }
  .progressTop span { text-align: left; }
}
