:root {
  color-scheme:dark;
  font-family:system-ui,sans-serif;
  background:#090f1c;
  color:#eef5ff}
* {
  box-sizing:border-box}
body {
  margin:0}
main {
  max-width:800px;
  margin:auto;
  padding:22px 16px 70px}
header {
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:#62dce9}
section {
  margin:20px 0;
  padding:22px;
  background:#111d2e;
  border:1px solid #26374c;
  border-radius:18px}
h1,h2 {
  margin:0 0 18px}
h2 {
  font-size:20px}
p {
  color:#a9bbcf;
  font-size:14px;
  line-height:1.6}
.grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px}
.metric {
  padding:15px;
  background:#18283b;
  border-radius:12px}
.metric strong {
  display:block;
  font-size:clamp(18px,5vw,26px);
  overflow-wrap:anywhere;
  color:#7ce5ce}
.metric span {
  font-size:13px;
  color:#b0c2d5}
button,input {
  font:inherit;
  border-radius:10px;
  padding:12px;
  border:1px solid #38516a}
input {
  width:100%;
  background:#091322;
  color:#fff}
button {
  background:#123c4c;
  color:#b6ffff;
  cursor:pointer}
button:disabled {
  opacity:.4;
  cursor:default}
.actions {
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap}
.row {
  border-bottom:1px solid #29394c;
  padding:14px 0;
  overflow-wrap:anywhere}
.row small {
  display:block;
  color:#a9bbcf;
  margin-top:5px}
#message {
  min-height:22px}
#message.error {
  color:#ffb3b3}


.metric--terms strong  {
   font-size:16px;
   line-height:1.5;
   }

label  {
  display:block;
  margin:14px 0 8px;
  color:#b0c2d5;
  }

label input  {
  margin-top:7px;
  }

section > button  {
  margin-top:12px;
  }
