:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: #172033;
  background: #eef2f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(760px, 100%);
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #113f67;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 28px;
}

h2 {
  font-size: 19px;
  margin-bottom: 14px;
}

.form {
  display: grid;
  gap: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  color: #24324a;
}

input {
  width: 100%;
  border: 1px solid #c8d1df;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: #172033;
  background: #ffffff;
}

input:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: #2563eb;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.primary {
  background: #113f67;
  color: #ffffff;
}

.secondary {
  background: #e8eef6;
  color: #172033;
}

.hint {
  color: #526179;
  font-size: 14px;
  line-height: 1.45;
}

.alert {
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #8a3b12;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.channel {
  border: 1px solid #ccd6e5;
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 8px;
  background: #f8fafc;
}

.channel input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.channel-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
}

.result {
  display: grid;
  gap: 14px;
}

.result-card {
  border: 1px solid #d6dfeb;
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
}

.result-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.result-stop {
  border-color: #fecaca;
  background: #fef2f2;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 10px 12px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e4e9f2;
}

.disclaimer {
  border-left: 4px solid #113f67;
  padding: 12px 14px;
  background: #f1f5f9;
  color: #334155;
  line-height: 1.45;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .page {
    padding: 12px;
    place-items: start center;
  }

  .panel {
    padding: 20px;
  }

  .brand,
  .grid,
  .channels {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
  }
}
