:root {
  color-scheme: dark;
  font: 16px/1.5 Inter, system-ui, sans-serif;
  background: #0c1220;
  color: #edf1ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0 auto; max-width: 1280px; padding: clamp(16px, 4vw, 48px); }
header, .actions, nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
header { justify-content: space-between; }
.brand { color: #b2a8ff; letter-spacing: .08em; font-size: .82rem; font-weight: 750; }
h1, h2, h3, p { margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.12rem; margin-top: 16px; }
a { color: #c3baff; }
nav { padding: 12px 0; }
button, input, select { font: inherit; }
button, input, select {
  background: #101a2e;
  color: inherit;
  border: 1px solid #526482;
  border-radius: 8px;
  padding: 8px 12px;
}
button { cursor: pointer; }
button[aria-pressed="true"], button[type="submit"] { background: #5b4bc5; border-color: #a297ff; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid #c3baff; outline-offset: 3px; }
section { background: #172134; border: 1px solid #344563; border-radius: 16px; padding: clamp(14px, 3vw, 28px); }
form, details { margin: 12px 0 20px; }
summary { cursor: pointer; color: #d5ceff; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin-bottom: 14px; }
.fields label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 8px 10px; border-bottom: 1px solid #344563; overflow-wrap: normal; }
th, td.cell-value { white-space: nowrap; }
td.cell-value { font-variant-numeric: tabular-nums; }
th { color: #b6c4e2; }
table button { white-space: nowrap; }
#status { color: #b6c4e2; }
#status[data-error="true"] { color: #ffb3b3; }
.check-list { max-height: 240px; overflow: auto; display: grid; gap: 4px; margin-bottom: 12px; }
.check-list label { display: flex; align-items: start; gap: 8px; }
