:root {
  --bg: #0b0714;
  --panel: #151022;
  --line: #2a2140;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --text: #e7e2f5;
  --muted: #9a90b8;
  --danger: #f87171;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(1200px 700px at 70% -10%, #241a44 0%, var(--bg) 55%);
  color: var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  display: flex; align-items: flex-start; justify-content: center;
  min-height: 100vh; padding: 28px 16px;
}
.center { width: 100%; max-width: 380px; display: grid; place-items: center; }
.wrap { width: 100%; max-width: 720px; }
.card, .detail-rows, .detail-head {
  background: rgba(21,16,34,.92); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.card { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.logo { width: 52px; height: 52px; color: var(--accent-bright); }
h1 { margin: 0 0 4px; font-size: 22px; }
h2 { margin: 0; font-size: 18px; }
.hint { color: var(--muted); margin: 0 0 8px; }
.error { color: var(--danger); min-height: 18px; margin: 0; }
input {
  background: #0e0a1a; color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 15px;
}
input:focus { outline: none; border-color: var(--accent); }
button {
  background: transparent; color: var(--accent-bright); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 14px; font-size: 14px; cursor: pointer;
}
button:hover:not(:disabled) { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.4); }
button.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
button.mini { padding: 4px 10px; font-size: 12px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#date-list { display: flex; flex-direction: column; gap: 8px; }
.date-row {
  text-align: left; padding: 12px 16px; font-size: 15px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 16px; }
.detail-rows { display: flex; flex-direction: column; gap: 8px; }
.detail-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.dlabel { flex: 1; }
.dcount { font-weight: 700; color: var(--accent-bright); min-width: 30px; text-align: right; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; }
.file-list li {
  background: #0e0a1a; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; margin: 4px 0; color: var(--muted); word-break: break-all;
}
