@import url("/fonts.css");
:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #ecf0f6;
  background: #10151d;
  font-synthesis: none;
  color-scheme: dark;
  --muted: #a7b1c2;
  --line: #2b3543;
  --accent: #b8edb1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button,
.button {
  border: 0;
  background: var(--accent);
  color: #152614;
  padding: 12px 18px;
  border-radius: 9px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #283340;
  color: #edf2f7;
}
button.danger {
  background: #512b36;
  color: #ffd6df;
}
button:hover {
  filter: brightness(1.08);
}
:focus-visible {
  outline: 3px solid #d0a9ff;
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  background: #111923;
  color: #f1f4f9;
  border: 1px solid #445165;
  border-radius: 8px;
  padding: 12px;
}
input:focus {
  border-color: var(--accent);
}
label {
  display: grid;
  gap: 8px;
  color: #c9d2df;
  font-size: 0.9rem;
  margin-bottom: 17px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 0.875rem;
  line-height: 1.6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 12px;
}
.logo i {
  display: block;
  width: 3px;
  background: #20452b;
  border-radius: 3px;
  height: 15px;
}
.logo i:nth-child(2) {
  height: 24px;
}
.logo i:nth-child(3) {
  height: 19px;
}
.brand small {
  display: block;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 500;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.intro {
  padding: clamp(32px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 20% 75%, #2b423e 0, transparent 60%), #151f28;
}
.intro h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  max-width: 600px;
}
.intro p {
  color: #b4c2cb;
  max-width: 410px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 20px;
}
.waves {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 100px;
  margin: 30px 0;
}
.waves span {
  width: 7px;
  border-radius: 10px;
  background: #94c6a0;
  opacity: 0.5;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  max-width: 440px;
  width: 100%;
}
.auth-card h1 {
  font-size: 2rem;
}
.auth-card button {
  width: 100%;
}
.notice {
  padding: 13px 16px;
  border: 1px solid #4b6b51;
  border-radius: 8px;
  background: #1b2a24;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.notice.error {
  border-color: #885060;
  background: #34212c;
  color: #ffdce4;
}
.hidden {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100dvh;
}
.sidebar {
  min-width: 0;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #121a24;
}
.sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 48px;
}
.sidebar a {
  padding: 13px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #aebaca;
  font-size: 0.9rem;
}
.sidebar a.active {
  background: #26382f;
  color: #c6f3bc;
}
.sidebar a:hover {
  background: #25303c;
}
.sidebar footer {
  margin-top: auto;
  padding-top: 40px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 85px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 42px;
  font-size: 0.9rem;
}
.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  background: #3b354e;
  color: #dfd0fc;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
}
.content {
  max-width: 1400px;
  margin: auto;
  padding: 45px 42px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 30px;
}
.heading p {
  color: var(--muted);
  margin-bottom: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #4b5665;
  border-radius: 100px;
  padding: 7px 12px;
  color: #b8c3d1;
  font-size: 0.8rem;
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.card {
  min-width: 0;
  background: #18212d;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
}
.metric {
  font-size: 2.4rem;
  letter-spacing: -0.05em;
  margin: 17px 0 5px;
}
.grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.empty {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.empty-mark {
  width: 60px;
  height: 60px;
  border: 1px solid #4a5e52;
  border-radius: 18px;
  background: #26382f;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.row:last-child {
  border: 0;
}
.row p {
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.wide {
  grid-column: 1/-1;
}
.stack {
  display: grid;
  gap: 24px;
}
.account {
  display: grid;
  gap: 15px;
}
.account-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
code {
  overflow-wrap: anywhere;
  user-select: all;
  color: #c4efbd;
}
details {
  padding-top: 12px;
}
summary {
  cursor: pointer;
  margin-bottom: 18px;
  color: var(--accent);
}
.global-status:empty {
  display: none;
}
.global-status {
  position: sticky;
  top: 0;
  z-index: 1;
}
#main-message:empty {
  display: none;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding: 26px 14px;
  }
  .content {
    padding: 30px 22px;
  }
  .topbar {
    padding: 20px 22px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 20px;
  }
  .intro {
    padding: 40px;
  }
}
@media (max-width: 700px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .intro {
    min-height: 280px;
    gap: 35px;
    padding: 28px;
  }
  .intro h1 {
    font-size: 2.3rem;
  }
  .intro .waves,
  .intro > small {
    display: none;
  }
  .intro p {
    margin: 0;
  }
  .auth-main {
    padding: 35px 24px;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 20px;
    gap: 4px;
  }
  .sidebar a {
    white-space: nowrap;
    padding: 10px;
  }
  .sidebar footer {
    display: none;
  }
  .topbar {
    height: 65px;
    padding: 15px 20px;
  }
  .content {
    padding: 30px 18px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .metric {
    margin: 10px 0;
  }
  .heading {
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .profile .muted {
    display: none;
  }
}
.waves span {
  height: 40px;
}
.waves span:nth-child(3n) {
  height: 70px;
}
.waves span:nth-child(4n) {
  height: 90px;
}
.waves span:nth-child(5n) {
  height: 25px;
}
@media (max-width: 700px) {
  .profile > span:not(.avatar) {
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topbar {
    gap: 12px;
  }
  .topbar > span {
    min-width: 0;
  }
  .profile {
    gap: 8px;
  }
  .profile button {
    padding: 10px;
    font-size: 0.85rem;
  }
  .sidebar nav {
    max-width: 100%;
  }
}
