:root {
  color-scheme: dark;
  --canvas: #06070b;
  --panel: #10131c;
  --field: #090c14;
  --header: #08090e;
  --line: #303648;
  --control-line: #646e89;
  --text: #f1f4ff;
  --muted: #afbad1;
  --cyan: #00e0fa;
  --blue: #234efc;
  --violet: #bd43fd;
  --link: #69d4ff;
  --ribbon: linear-gradient(105deg, var(--cyan), #019ffc 30%, var(--blue) 64%, var(--violet));
  --action: linear-gradient(110deg, #1353cb, #3547c6 55%, #762fa8);
}

* { box-sizing: border-box; }
html {
  background: var(--canvas);
  color: var(--text);
  font: 16px/1.65 "Source Sans 3", "Microsoft YaHei", sans-serif;
}
body { margin: 0; }
::selection { background: #413291; color: white; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

header {
  background: var(--header);
  border-bottom: 4px solid var(--blue);
  border-image: var(--ribbon) 1;
}
.wrap { width: min(1100px, calc(100% - 48px)); margin: auto; }
.mast, .top, .bar, .checks { display: flex; align-items: center; gap: 20px; }
.mast { height: 72px; }
.brand { font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 5px;
  border-radius: 8px;
  color: white;
  background: var(--action);
}
.org { margin-left: auto; color: var(--muted); font-size: 14px; }
.top { justify-content: space-between; }
.over { color: var(--link); font-size: 13px; margin: 0; font-weight: 650; }
.back { display: inline-block; margin-bottom: 16px; }
main.wrap { padding: 38px 0 70px; }

.card, .bar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0;
  padding: 22px 26px;
}
.bar { background: #0d1421; padding: 12px 20px; }
.dot { width: 8px; height: 8px; border-radius: 100%; background: #8690a5; }
.dot.on { background: var(--cyan); box-shadow: 0 0 0 3px #12323e; }
.card h2 { margin-top: 0; }
h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.04em; line-height: 1.25; margin: 5px 0 20px; }
h2 { font-size: 20px; }

a { color: var(--link); }
a:hover { color: #acf3ff; }
.button, button {
  background: var(--action);
  color: white;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 650;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
}
.button:hover, button:hover { color: white; filter: brightness(1.1); }
.quiet {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--control-line);
  color: var(--text);
}
.quiet:hover { background: #21283b; }
.alt, .state { background: #252044; color: #d8c6ff; }
.alt:hover { color: #f1eaff; background: #332a58; }
.state { border-radius: 12px; padding: 4px 12px; font-size: 14px; }

.table { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: 12px; border-bottom: 1px solid var(--line); }
th, small, dt, .loginintro p { color: var(--muted); }
th, small, dt { font-size: 13px; }
dd { margin: 0 0 10px; overflow-wrap: anywhere; }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--link); }

label { display: block; font-weight: 550; }
input:not([type=checkbox]), select, textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--control-line);
  border-radius: 6px;
  margin: 5px 0 10px;
  font: inherit;
  background: var(--field);
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: #97a3bc; opacity: 1; }
input::file-selector-button {
  font: inherit;
  color: #d1e6ff;
  background: #192844;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  margin-inline-end: 10px;
  cursor: pointer;
}
textarea { min-height: 72px; }
input[type=checkbox] { accent-color: var(--cyan); }
.form { display: grid; gap: 18px; }
.picker { border: 1px dashed #557aa5; background: #101b2c; padding: 18px; }
.checks { flex-wrap: wrap; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }

.grid, .columns, .login { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.columns { align-items: start; }
.login { align-items: center; max-width: 850px; margin: 9vh auto; gap: 55px; }
.stripe { width: 55px; height: 5px; display: block; margin-bottom: 22px; background: var(--ribbon); }
@supports (background-clip: text) {
  .loginintro h1 {
    width: fit-content;
    background: linear-gradient(100deg, var(--cyan), #75a0ff 55%, #d284ff);
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .loginintro h1 { background: none; color: CanvasText; }
}
.alert { padding: 15px 20px; background: #2a1732; color: #ffd4f4; border-inline-start: 3px solid #ec83d4; border-radius: 8px; }
.alert ul { margin-bottom: 0; }

@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .columns, .login { grid-template-columns: 1fr; gap: 0; }
  .login { margin: 25px 0; }
  .card { padding: 16px; }
  .top, .bar { flex-wrap: wrap; }
  .org { font-size: 12px; }
  .mast { gap: 8px; }
  .button { padding: 8px 12px; }
  .table { font-size: 14px; }
}
