:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #dce6f2;
  background: #0e141c;
  color-scheme: dark;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 82px;
  border-bottom: 1px solid #253140;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #121b26;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.logo {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #78d9bd;
  border-radius: 11px;
  color: #7ee3c5;
  background: #1c3a36;
}
small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #8496aa;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
main {
  max-width: 1280px;
  padding: 34px;
  margin: auto;
}
.card {
  background: #151f2b;
  border: 1px solid #2a3748;
  border-radius: 14px;
  padding: 30px;
}
.login {
  max-width: 420px;
  margin: 8vh auto;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 9px 0 14px;
}
h2 {
  font-size: 20px;
  margin: 0;
}
.eyebrow {
  color: #79d7ba;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.muted {
  color: #91a1b4;
  line-height: 1.65;
}
label {
  display: block;
  color: #aabbcc;
  font-size: 12px;
  margin: 18px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 11px 12px;
  margin-top: 7px;
  border: 1px solid #344457;
  border-radius: 7px;
  background: #0f1822;
  color: #edf4ff;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #73d1b5;
  box-shadow: 0 0 0 2px #73d1b51c;
}
input[type='checkbox'] {
  display: inline;
  width: auto;
  margin-right: 8px;
}
textarea {
  min-height: 74px;
  resize: vertical;
}
button {
  font: inherit;
  padding: 10px 15px;
  border: 1px solid #354456;
  border-radius: 7px;
  background: #1a2838;
  color: #dbe7f5;
  cursor: pointer;
}
button:hover {
  background: #25394c;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.primary {
  background: #7bdaba;
  color: #0e2520;
  border-color: #7bdaba;
  font-weight: 650;
}
.primary:hover {
  background: #98e8cd;
}
.danger {
  color: #ffa49d;
}
form > .primary {
  width: 100%;
  margin-top: 8px;
}
nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
nav button {
  border-color: transparent;
  background: transparent;
  color: #94a7bc;
}
nav button.active {
  background: #223548;
  color: #e8f2ff;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #29394c;
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #8da2b7;
  background: #172330;
  padding: 15px;
}
td {
  padding: 16px 15px;
  border-top: 1px solid #243344;
  font-size: 13px;
}
td button {
  padding: 6px 10px;
  font-size: 12px;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  color: #83ddbd;
  background: #19362f;
  font-size: 11px;
}
.badge.warn {
  background: #433421;
  color: #eac180;
}
.empty {
  text-align: center;
  padding: 70px 25px;
  border: 1px dashed #344456;
  border-radius: 12px;
  color: #96a8ba;
}
.empty h2 {
  color: #dce6f2;
  margin-bottom: 14px;
}
dialog {
  border: 1px solid #3b4c60;
  border-radius: 14px;
  background: #15202c;
  color: inherit;
  width: 620px;
  max-height: 90vh;
  padding: 28px;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.footer {
  justify-content: flex-end;
  margin-top: 24px;
}
.check-list {
  max-height: 130px;
  overflow: auto;
  border: 1px solid #344457;
  border-radius: 8px;
  padding: 0 12px;
}
.check-list label {
  margin: 12px 0;
}
#form-error {
  color: #ffa59e;
}
#message {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #29384c;
  border: 1px solid #637389;
  border-radius: 9px;
  padding: 14px 24px;
  max-width: 80%;
  z-index: 10;
}
.hint {
  font-size: 12px;
  line-height: 1.7;
  color: #95a8bb;
}
.mono {
  font-family: ui-monospace, monospace;
  word-break: break-all;
}
#identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
