:root {
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#263449;
  background:#f4f6f9;
  color-scheme:light;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
main {
  max-width:1000px;
  margin:auto;
  padding:36px 24px 60px;
}
header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}
h1 {
  font-size:26px;
  margin:0;
  letter-spacing:-.4px;
}
h2 {
  font-size:18px;
  margin:0 0 20px;
}
.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  color:#75859a;
  margin:0 0 8px;
}
.card {
  background:white;
  border:1px solid #e3e8ef;
  border-radius:14px;
  padding:26px;
  box-shadow:0 3px 16px #25374b06;
}
.grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
#auth {
  max-width:470px;
  margin:36px auto;
}
label {
  display:block;
  font-size:14px;
  margin:14px 0;
}
input,select {
  display:block;
  width:100%;
  font:inherit;
  color:inherit;
  background:#fff;
  border:1px solid #cbd4df;
  border-radius:7px;
  padding:11px 12px;
  margin-top:7px;
  min-height:44px;
}
input:focus,select:focus {
  outline:2px solid #84baff;
  outline-offset:2px;
}
button {
  font:inherit;
  font-size:14px;
  font-weight:600;
  border:1px solid transparent;
  background:#2264ca;
  color:white;
  padding:11px 16px;
  border-radius:7px;
  cursor:pointer;
  min-height:44px;
}
button:hover {
  background:#194fa5;
}
button:focus-visible {
  outline:3px solid #a1c7ff;
  outline-offset:3px;
}
button.secondary {
  background:white;
  color:#44556d;
  border-color:#d3dbe5;
}
button.secondary:hover {
  background:#f3f6fa;
}
button:disabled {
  opacity:.55;
  cursor:wait;
}
.hint {
  font-size:13px;
  line-height:1.7;
  color:#708097;
  margin:12px 0;
  overflow-wrap:anywhere;
}
.tabs {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.tabs button {
  background:transparent;
  color:#6d7b8e;
  padding:8px 10px;
}
.tabs button[aria-pressed=true] {
  color:#2264ca;
  background:#eef4fd;
}
.actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:18px;
}
.row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-bottom:1px solid #edf0f5;
  padding:12px 0;
  overflow-wrap:anywhere;
}
.row>div {
  min-width:0;
}
.row .hint {
  margin:5px 0 0;
}
.row button {
  flex-shrink:0;
  padding:7px 11px;
}
.rows {
  margin-bottom:15px;
}
.badge {
  font-size:11px;
  background:#edf7f0;
  color:#25704a;
  border-radius:5px;
  padding:3px 6px;
  margin-left:8px;
}
#flash {
  font-size:14px;
  border-radius:8px;
  background:#edf4ff;
  color:#1d5099;
  padding:13px 16px;
  line-height:1.6;
}
#flash.error {
  background:#fff1ef;
  color:#a73129;
}
[hidden] {
  display:none!important;
}
@media(max-width:650px) {
  main {
    padding:24px 16px 36px;
  }
  .grid {
    grid-template-columns:1fr;
    gap:16px;
  }
  .card {
    padding:20px;
  }
  h1 {
    font-size:23px;
  }
  #auth {
    margin:20px auto;
  }
  .tabs button {
    font-size:13px;
    padding:8px;
  }
  .row {
    align-items:flex-start;
  }
}
