:root {
  color-scheme: dark;
  color: #e8ecef;
  background: #101214;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
}

button, input, textarea {
  font: inherit;
}

.app-shell {
  background: #101214;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  display: grid;
}

.login-panel {
  background: #171a1d;
  border: 1px solid #2a3034;
  border-radius: 8px;
  width: min(860px, 100%);
  padding: 22px;
}

.modal-backdrop {
  z-index: 20;
  background: #06080ab8;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal-panel {
  position: relative;
  box-shadow: 0 24px 80px #00000073;
}

.modal-close {
  color: #edf5f7;
  cursor: pointer;
  background: #20252a;
  border: 1px solid #384148;
  border-radius: 6px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
  position: absolute;
  top: 14px;
  right: 14px;
}

.modal-error {
  margin: 14px 0 0;
}

.locked {
  filter: none;
}

.empty-workspace {
  place-items: center;
  min-height: 100vh;
  display: grid;
}

.primary-login {
  color: #edf5f7;
  cursor: pointer;
  background: #20252a;
  border: 1px solid #384148;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
}

.login-brand {
  border-bottom: 1px solid #252b30;
  margin-bottom: 18px;
  padding: 0 0 18px;
}

.login-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.login-section {
  background: #15181b;
  border: 1px solid #252b30;
  border-radius: 8px;
  gap: 10px;
  padding: 14px;
  display: grid;
}

.section-title {
  color: #dce7ea;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.login-section button {
  color: #edf5f7;
  cursor: pointer;
  background: #20252a;
  border: 1px solid #384148;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  height: 36px;
  display: inline-flex;
}

.sidebar {
  background: #171a1d;
  border-right: 1px solid #2a3034;
  padding: 20px 14px;
}

.brand {
  align-items: center;
  gap: 12px;
  padding: 0 8px 20px;
  display: flex;
}

.brand-icon {
  color: #79d7c3;
}

.brand h1 {
  letter-spacing: 0;
  margin: 0;
  font-size: 18px;
}

.brand span {
  color: #9ca8ad;
  font-size: 12px;
}

nav {
  gap: 4px;
  display: grid;
}

nav button {
  color: #aeb8bd;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  display: flex;
}

nav button.active, nav button:hover {
  color: #f7fbfc;
  background: #22272b;
  border-color: #354047;
}

.workspace {
  min-width: 0;
  padding: 18px;
}

.toolbar, .filters, .action-row {
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  display: flex;
}

.help-panel {
  color: #cfe2e6;
  background: #142023;
  border: 1px solid #2f4548;
  border-radius: 8px;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 11px 12px;
  display: grid;
}

.help-panel svg {
  color: #79d7c3;
  margin-top: 1px;
}

.help-panel strong {
  margin-bottom: 3px;
  font-size: 13px;
  display: block;
}

.help-panel p {
  color: #9fb2b8;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.help-panel.subtle {
  background: #15181b;
  border-color: #2a3034;
}

.login-help {
  margin: 14px 0 0;
}

.toolbar {
  justify-content: space-between;
}

.connection {
  grid-template-columns: minmax(220px, 380px) minmax(180px, 300px);
  gap: 10px;
  display: grid;
}

input {
  color: #eef4f6;
  background: #171a1d;
  border: 1px solid #31383e;
  border-radius: 6px;
  outline: none;
  min-height: 36px;
  padding: 0 10px;
}

textarea {
  resize: vertical;
  color: #eef4f6;
  background: #171a1d;
  border: 1px solid #31383e;
  border-radius: 6px;
  outline: none;
  width: 100%;
  min-height: 110px;
  padding: 10px;
}

input:focus {
  border-color: #79d7c3;
}

.filters label {
  color: #8f9aa0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.icon-button, .action-row button, .danger {
  color: #edf5f7;
  cursor: pointer;
  background: #20252a;
  border: 1px solid #384148;
  border-radius: 6px;
  height: 36px;
  padding: 0 12px;
}

.session-bar {
  color: #9ca8ad;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.action-row button {
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.price-upload {
  margin-bottom: 12px;
}

.danger {
  color: #ffb4a8;
}

.created-key {
  color: #a7f0df;
  background: #12231f;
  border: 1px solid #2f6f61;
  border-radius: 6px;
  max-width: 460px;
  padding: 8px 10px;
  overflow: auto;
}

.error, .loading {
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 12px;
}

.error {
  color: #ffb4a8;
  background: #301a18;
  border: 1px solid #714137;
}

.loading {
  color: #b9c6cc;
  background: #171a1d;
  border: 1px solid #2a3034;
}

.table-wrap {
  background: #15181b;
  border: 1px solid #2a3034;
  border-radius: 8px;
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 820px;
}

th, td {
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #252b30;
  padding: 10px 12px;
  font-size: 13px;
}

th {
  color: #94a1a7;
  text-transform: uppercase;
  background: #1d2226;
  font-size: 11px;
  position: sticky;
  top: 0;
}

td {
  color: #dde5e8;
}

@media (width <= 860px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-bottom: 1px solid #2a3034;
    border-right: 0;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-grid {
    grid-template-columns: 1fr;
  }

  .connection, .toolbar, .filters, .action-row {
    grid-template-columns: 1fr;
    display: grid;
  }
}

.custom-select-container {
  -webkit-user-select: none;
  user-select: none;
  min-width: 150px;
  position: relative;
}

.custom-select-trigger {
  color: #edf5f7;
  cursor: pointer;
  background: #171a1d;
  border: 1px solid #384148;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  transition: border-color .15s;
  display: flex;
}

.custom-select-trigger:hover {
  border-color: #79d7c3;
}

.custom-select-label {
  color: #8f9aa0;
  white-space: nowrap;
  font-weight: 500;
}

.custom-select-value {
  color: #edf5f7;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.custom-select-chevron {
  color: #8f9aa0;
  flex-shrink: 0;
  transition: transform .2s;
}

.custom-select-chevron.open {
  transform: rotate(180deg);
}

.custom-select-options {
  z-index: 50;
  background: #1d2226;
  border: 1px solid #2a3034;
  border-radius: 6px;
  max-height: 240px;
  padding: 4px 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 10px 25px #00000080;
}

.custom-select-option {
  color: #b9c6cc;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 13px;
  transition: background .15s, color .15s;
}

.custom-select-option:hover {
  color: #edf5f7;
  background: #252b30;
}

.custom-select-option.selected {
  color: #79d7c3;
  background: #203534;
  font-weight: 500;
}
/*# sourceMappingURL=frontend.9f367d21.css.map */
