@import url("/typography.css");
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e9ecef;
  background: #101316;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #343a40;
  background: #20262c;
  color: #e5e9ec;
  border-radius: 7px;
  padding: 9px 13px;
  transition: background 0.15s;
}
button:hover {
  background: #303840;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
input,
select,
textarea {
  background: #151a1f;
  color: #e9edf1;
  border: 1px solid #343d44;
  border-radius: 7px;
  padding: 10px 12px;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid #b4f49c;
  outline-offset: 3px;
}
a {
  color: inherit;
}
aside {
  position: fixed;
  width: 232px;
  inset: 0 auto 0 0;
  background: #15191d;
  border-right: 1px solid #2a3036;
  padding: 29px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.logo {
  color: #c1f8a2;
  background: #283626;
  width: 37px;
  height: 37px;
  border: 1px solid #48633c;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #7f8993;
  margin-top: 6px;
}
.nav-label {
  font-size: 10px;
  color: #6e7882;
  letter-spacing: 1.6px;
  margin: 45px 12px 14px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  border: 0;
  background: none;
  color: #9da6af;
  padding: 12px;
  font-size: 13px;
}
nav button span {
  font-size: 20px;
  width: 22px;
  line-height: 20px;
}
nav button.selected {
  background: #293329;
  color: #c6f4ad;
}
nav button i {
  margin-left: auto;
  font-style: normal;
}
nav button:last-child {
  margin-top: 26px;
}
.aside-bottom {
  margin-top: auto;
}
.secure {
  font-size: 11px;
  color: #b5d5a5;
  border-bottom: 1px solid #2c3237;
  padding: 20px 6px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0 12px;
}
.profile > b,
.avatar {
  background: #30373e;
  border: 1px solid #434c53;
  border-radius: 50%;
  padding: 10px;
  font-size: 10px;
}
.profile span {
  font-size: 12px;
}
.profile small {
  display: block;
  color: #818b95;
  font-size: 10px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 5px;
}
.workspace {
  margin-left: 232px;
}
header {
  height: 76px;
  border-bottom: 1px solid #282e34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  color: #afb7bf;
  font-size: 12px;
}
header > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.slash {
  color: #505a64;
  padding: 0 15px;
}
.live {
  font-size: 11px;
  color: #a1b89a;
}
.avatar {
  color: #c5ced6;
}
.demo-banner {
  background: #272b20;
  border-bottom: 1px solid #3c4431;
  padding: 10px 37px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #c2d59e;
}
.demo-banner span {
  margin-left: 16px;
  letter-spacing: 0;
  color: #9ca58e;
}
main#content {
  max-width: 1660px;
  margin: auto;
  padding: 37px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  color: #87947f;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
}
h1 {
  font-weight: 550;
  font-size: 30px;
  letter-spacing: -1px;
  margin: 11px 0 9px;
}
p {
  color: #8f9aa4;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 7px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.outline {
  background: transparent;
}
.primary {
  background: #b9ed9c;
  color: #1c2b13;
  border-color: #b9ed9c;
  font-weight: 600;
}
.primary:hover {
  background: #cef8b7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.stats article,
.panel {
  background: #181d22;
  border: 1px solid #2c3339;
  border-radius: 10px;
}
.stats article {
  padding: 21px;
}
.stats article > div {
  font-size: 11px;
  color: #a9b2ba;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.stats article > div span {
  color: #83917c;
  font-size: 17px;
}
.stats strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 20px 0 14px;
}
.stats strong.money {
  font-size: 27px;
  overflow-wrap: anywhere;
}
.stats small {
  font-size: 10px;
  color: #818e98;
}
.stats small b {
  color: #bbd8a9;
  font-weight: 500;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 22px;
}
.panel-heading p {
  font-size: 11px;
}
.legend {
  font-size: 10px;
  color: #b9e99e;
  white-space: nowrap;
}
.chart {
  height: 180px;
  margin: 18px 24px 0;
  border-bottom: 1px solid #3b454c;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 44px,
    #293037 45px
  );
}
.bars {
  height: 100%;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 0 7px;
}
.bar-cell {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: end;
  min-width: 1px;
}
.bar {
  width: 100%;
  background: linear-gradient(#b5e997, #587547);
  border-radius: 3px 3px 0 0;
  min-height: 0;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  color: #76848f;
  font-size: 10px;
}
.chart-note {
  border-top: 1px solid #2b3238;
  margin-top: 14px;
  padding: 19px 24px;
  color: #84919b;
  font-size: 11px;
}
.chart-note b {
  color: #e5eddf;
  font-size: 17px;
  margin-right: 6px;
}
.chart-note span {
  float: right;
  font-size: 10px;
  padding-top: 5px;
}
.foot-stat {
  margin: 0 22px;
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #2c343a;
  font-size: 12px;
  color: #9da8b1;
}
.foot-stat strong {
  font-weight: 500;
  color: #e3e8ec;
  font-size: 17px;
}
.billing-note {
  margin: 18px 22px;
  background: #232c22;
  border: 1px solid #354532;
  padding: 15px;
  border-radius: 7px;
}
.billing-note b {
  font-size: 11px;
  color: #c0d9ae;
}
.billing-note p {
  font-size: 10px;
  margin-top: 7px;
  color: #93a58a;
}
.activity {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid #2b3238;
}
.activity-icon {
  display: grid;
  place-items: center;
  background: #273024;
  border: 1px solid #3b4a35;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  color: #c2e3ab;
}
.activity b {
  font-size: 12px;
  font-weight: 500;
}
.activity small {
  display: block;
  font-size: 10px;
  color: #7f8c97;
  margin-top: 6px;
}
.activity time {
  margin-left: auto;
  font-size: 10px;
  color: #87939e;
}
.quiet {
  border: 0;
  background: none;
  font-size: 11px;
  color: #aeb9a5;
}
.table-toolbar {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.table-toolbar form {
  display: flex;
  gap: 8px;
}
.table-toolbar span {
  font-size: 11px;
  color: #88949e;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #83909a;
  background: #1d2329;
  font-weight: 500;
  padding: 14px 20px;
  white-space: nowrap;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #2b3238;
  color: #a5b0b9;
}
td b {
  font-weight: 500;
  color: #d9e0e5;
}
td code {
  font-size: 10px;
  display: block;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.initial {
  background: #2b363c;
  color: #adcad6;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 10px;
}
.person small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #808e98;
}
.pill {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 8px;
  background: #303641;
  color: #adb9cc;
  font-size: 10px;
  white-space: nowrap;
  text-transform: capitalize;
}
.pill.green {
  background: #25392e;
  color: #9cd1aa;
}
.pill.red {
  background: #3c2c2c;
  color: #e6aba3;
}
.table-action {
  background: transparent;
  border: 0;
  font-size: 11px;
  color: #b9d8a5;
  white-space: nowrap;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  color: #7f8c96;
  font-size: 11px;
}
.pagination button {
  font-size: 11px;
  margin-left: 8px;
  background: transparent;
}
.empty {
  text-align: center;
  padding: 50px;
  color: #83919b;
  font-size: 12px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.settings {
  padding: 25px;
}
.settings h2 {
  margin-bottom: 18px;
}
.settings p {
  margin: 20px 0;
}
dl {
  font-size: 12px;
}
dt {
  color: #7f8d99;
  margin-top: 18px;
}
dd {
  margin: 7px 0 0;
  color: #ced7df;
}
footer {
  max-width: 1660px;
  margin: auto;
  padding: 10px 37px 25px;
  font-size: 10px;
  color: #596772;
  display: flex;
  justify-content: space-between;
}
.login {
  max-width: 440px;
  margin: 8vh auto;
  padding: 30px;
}
.login .brand {
  margin-bottom: 55px;
}
.login h1 {
  font-size: 38px;
  line-height: 1.2;
}
.login form {
  margin: 28px 0;
}
.login button {
  width: 100%;
  margin-top: 12px;
}
.login small {
  color: #64727c;
  font-size: 10px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #a9b4bd;
  font-size: 12px;
  margin: 18px 0;
}
textarea {
  resize: vertical;
  min-height: 78px;
}
dialog {
  background: #1b2228;
  color: #e2e9ef;
  border: 1px solid #46524f;
  border-radius: 13px;
  width: min(510px, 95vw);
  padding: 26px;
  max-height: 90vh;
}
dialog::backdrop {
  background: #060a0dc9;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading button {
  font-size: 20px;
  background: none;
  border: 0;
  padding: 0 8px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
#form-error,
#login-error {
  color: #ecaaa0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 22px;
  border-radius: 8px;
  background: #c4ecad;
  color: #1f3016;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 10;
}
#toast.visible {
  opacity: 1;
}
.loading,
.error {
  padding: 60px;
  text-align: center;
  color: #9daa9a;
}
.error button {
  margin-top: 20px;
}
@media (min-width: 1550px) {
  main#content {
    padding-top: 45px;
  }
  .chart {
    height: 240px;
  }
}
@media (max-width: 1150px) {
  aside {
    width: 200px;
  }
  .workspace {
    margin-left: 200px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  aside {
    position: relative;
    width: auto;
    padding: 18px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-label,
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 18px;
    gap: 4px;
  }
  nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 11px;
  }
  nav button span {
    display: none;
  }
  nav button:last-child {
    margin-top: 0;
  }
  .workspace {
    margin-left: 0;
  }
  header {
    height: 55px;
    padding: 0 20px;
  }
  .live {
    font-size: 9px;
  }
  main#content {
    padding: 24px 16px;
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 15px;
  }
  .stats strong {
    font-size: 28px;
  }
  .stats strong.money {
    font-size: 21px;
  }
  .stats small {
    font-size: 9px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .demo-banner {
    padding: 10px 16px;
  }
  .demo-banner span {
    display: block;
    margin: 5px 0 0;
  }
  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .table-toolbar input {
    width: 100%;
  }
  .actions {
    flex-wrap: wrap;
  }
  .activity time {
    display: none;
  }
  footer {
    padding: 15px;
  }
  .legend {
    display: none;
  }
  h1 {
    font-size: 27px;
  }
}
.h0 {
  height: 0%;
}
.h1 {
  height: 5%;
}
.h2 {
  height: 10%;
}
.h3 {
  height: 15%;
}
.h4 {
  height: 20%;
}
.h5 {
  height: 25%;
}
.h6 {
  height: 30%;
}
.h7 {
  height: 35%;
}
.h8 {
  height: 40%;
}
.h9 {
  height: 45%;
}
.h10 {
  height: 50%;
}
.h11 {
  height: 55%;
}
.h12 {
  height: 60%;
}
.h13 {
  height: 65%;
}
.h14 {
  height: 70%;
}
.h15 {
  height: 75%;
}
.h16 {
  height: 80%;
}
.h17 {
  height: 85%;
}
.h18 {
  height: 90%;
}
.h19 {
  height: 95%;
}
.h20 {
  height: 100%;
}
.control-dialog {
  width: min(780px, 96vw);
}
.control-dialog details {
  border: 1px solid #354039;
  border-radius: 8px;
  margin-top: 16px;
}
.control-dialog summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.control-body {
  padding: 0 18px 20px;
}
.control-body form + form {
  margin-top: 25px;
  border-top: 1px solid #394139;
  padding-top: 12px;
}
.control-dialog p {
  margin: 12px 0;
}
.danger {
  background: #412a2a;
  color: #ffc5bd;
  border-color: #75433b;
}
.danger:hover {
  background: #603730;
}
.danger-note,
.operation-error {
  color: #ffb5aa !important;
}
.record-picker {
  padding: 12px;
  border: 1px solid #374638;
  border-radius: 8px;
  margin: 18px 0;
}
.record-picker label {
  margin: 8px 0;
}
.record-picker small {
  color: #8f9b91;
  font-size: 10px;
}
.grant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 1px solid #354039;
  border-radius: 8px;
  padding: 12px;
}
.grant-grid label {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 3px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.grant-grid input {
  flex-shrink: 0;
}
.grant-grid legend {
  color: #a4b39c;
  font-size: 11px;
}
.access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #353c36;
}
.access-row small {
  display: block;
  color: #99a78f;
  font-size: 10px;
  margin-top: 6px;
}
.access-row b {
  font-size: 12px;
}
.access-row button {
  font-size: 11px;
  flex-shrink: 0;
}
.one-time-secret {
  font-family: monospace;
  font-size: 14px;
  min-height: 90px;
}
nav {
  overflow-y: auto;
  min-height: 120px;
}
nav button:last-child {
  margin-top: 10px;
}
.aside-bottom {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .grant-grid {
    grid-template-columns: 1fr;
  }
  nav {
    min-height: 0;
    overflow-y: hidden;
    overflow-x: auto;
  }
}
.server-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.server-fields small{font-size:10px;overflow-wrap:anywhere;color:var(--muted)}.operation-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px}#confirm-operation label{display:block;margin:18px 0}#confirm-operation input[type=checkbox]{width:auto;display:inline}#operation-error{color:#ff9393}@media(max-width:700px){.server-fields{grid-template-columns:1fr}}

.server-panel{padding:24px;margin-bottom:20px}.server-panel h2{margin:0 0 10px}.server-panel p{line-height:1.6}.server-fields label{margin:6px 0}.server-panel .activity{padding-left:0}
#confirm-operation label{display:flex;flex-direction:column;gap:9px}#confirm-operation input:not([type=checkbox]){width:100%}#confirm-operation label:has(input[type=checkbox]){display:block}
