/* ChronX Lite page specifics — app chrome on top of the design system */
.lite-header { text-align: center; padding: 48px 24px 20px; }
.lite-header h1 { letter-spacing: 1.5px; font-size: clamp(26px, 4vw, 34px); }
.lite-header .lite-sub { font-weight: 300; font-size: .72em; margin-inline-start: 6px; }
.lite-header p { font-size: 13px; margin-top: 6px; }

.lite-wrap { max-width: 700px; padding-bottom: 48px; }
.lite-tabs { margin-bottom: 24px; }
.lite-tabs .tab-btn { flex: 1; text-align: center; }

.lite-sm { font-size: 12.5px; }
.lite-pad { padding: 16px; }

/* key/address display boxes */
.key-box {
  background: var(--bg0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 13px;
  word-break: break-all;
  color: var(--gold);
  line-height: 1.5;
  transition: border-color .3s;
}

/* balance */
.bal { text-align: center; padding: 12px 0 18px; }
.bal-n { font-size: 32px; font-weight: 600; color: var(--gold); }
.bal-l { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* coming-soon block */
.cs { text-align: center; padding: 32px 16px; }
.cs p { max-width: 480px; margin-inline: auto; font-size: 14px; }

/* works checklist */
.lite-checklist { list-style: none; margin-top: 10px; }
.lite-checklist li { padding: 6px 0; color: var(--success); font-size: 14px; }

/* history */
.lite-hist-head { display: flex; justify-content: space-between; align-items: center; }
.lite-hist-head h3 { font-size: 16px; }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); font-size: 13.5px; }
.t-in { color: var(--success); font-weight: 600; }
.t-amt { color: var(--success); font-weight: 600; white-space: nowrap; }
.t-addr { font-family: 'JetBrains Mono', 'Consolas', monospace; font-size: 11px; color: var(--muted); }

/* file input */
.file-label {
  display: block;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: var(--bg0);
  border: 1.5px dashed var(--border);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.file-label:hover { border-color: var(--gold); color: var(--text); }
.file-label input { display: none; }

/* connection test result */
.conn-res { background: var(--bg0); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; margin-top: 14px; font-size: 13.5px; }
.conn-res .cl { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.conn-res .cv { color: var(--text); font-family: 'JetBrains Mono', 'Consolas', monospace; font-size: 12.5px; }
.lite-ok-text { color: var(--success); }
.lite-err-text { color: var(--danger); }

/* spinner + status dots */
.spin {
  display: inline-block; width: 15px; height: 15px;
  border: 2px solid rgba(212,168,75,.25); border-top-color: var(--gold);
  border-radius: 50%; animation: lite-sp .7s linear infinite;
  vertical-align: middle; margin-inline-end: 5px;
}
@keyframes lite-sp { to { transform: rotate(360deg); } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; }
.dot-on { background: var(--success); }
.dot-off { background: var(--danger); }

/* danger button (no shared variant in chronx.css) */
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c94a4a; color: #fff; }

@media (max-width: 600px) {
  .bal-n { font-size: 26px; }
  .lite-tabs .tab-btn { font-size: 12px; padding: 11px 8px; }
}
