@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');

:root {
  color-scheme: light;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #edf2ff, #f7f2e9 55%, #f6f6f6 100%);
  color: #1d1d1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.panel {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 20px 50px rgba(40, 40, 60, 0.12);
  backdrop-filter: blur(6px);
}

header h1 {
  margin: 0 0 6px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0 0 8px;
  color: #5c5c62;
}

.section {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.section h2 {
  margin: 0;
  font-size: 18px;
}

label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a6a74;
}

input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d7d7dd;
  font-size: 14px;
}

button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: #eef0f6;
  color: #1d1d1f;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.status {
  padding: 8px 12px;
  border-radius: 10px;
  background: #f0f3ff;
  font-size: 14px;
}

.muted {
  color: #7d7d86;
  font-size: 14px;
}

.code {
  display: flex;
  gap: 12px;
  align-items: center;
}

.code strong {
  font-size: 18px;
}

.toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.meter {
  height: 8px;
  border-radius: 6px;
  background: #e1e4ee;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 0.08s linear;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: #4a4a55;
}

@media (max-width: 600px) {
  .panel {
    padding: 22px;
  }
}
