* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  background: #030303;
  color: #d0d6e0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11" 1, "ss01" 1, "kern" 1;
  letter-spacing: -0.011em;
  line-height: 1.5;
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
}

.bg-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: #030303;
  z-index: 0;
  pointer-events: none;
}

.login-grid-bg {
  position: absolute;
  inset: 0;
  background-color: rgb(3, 3, 3);
  background-image:
    radial-gradient(90% 70% at 50% -10%, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0) 55%),
    radial-gradient(55% 50% at 100% 85%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 50%),
    radial-gradient(45% 40% at 0px 60%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 48%),
    repeating-linear-gradient(
      -14deg,
      rgba(0, 0, 0, 0) 0px,
      rgba(0, 0, 0, 0) 72px,
      rgba(255, 255, 255, 0.043) 72px,
      rgba(255, 255, 255, 0.043) 73px
    ),
    repeating-linear-gradient(
      76deg,
      rgba(0, 0, 0, 0) 0px,
      rgba(0, 0, 0, 0) 72px,
      rgba(255, 255, 255, 0.024) 72px,
      rgba(255, 255, 255, 0.024) 73px
    );
}

.glow-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(88, 101, 242, 0.04) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

.login-root {
  width: 100%;
  min-height: 100dvh;
  background: transparent;
  position: relative;
  z-index: 10;
}

.login-frame {
  z-index: 1;
  border: 1px solid #1c1e21;
  border-radius: 12px;
  min-height: 100dvh;
  margin: -1px;
  display: flex;
  position: relative;
}

.login-brand {
  z-index: 2;
  opacity: 0.9;
  position: absolute;
  top: 32px;
  right: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.login-brand__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.login-brand__name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #e2e3e5;
}

.login-panel {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
}

.login-content {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-header {
  text-align: center;
  width: 100%;
  margin-bottom: 28px;
}

.login-title {
  color: #e2e3e5;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.login-subtitle {
  color: #939496;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.login-text-btn {
  color: #e2e3e5;
  font-weight: 500;
  transition: color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.login-text-btn:hover {
  color: #ffffff;
}

.login-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 288px;
  max-width: 100%;
}

.login-btn {
  cursor: pointer;
  width: 100%;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  transition: background-color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.login-btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.login-btn--primary {
  color: #0a0a0a;
  background: #ffffff;
  box-shadow: 0 3px 6px -2px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.12);
}

.login-btn--primary:hover {
  background: #e6e7ea;
}

.login-btn--primary .login-btn__icon {
  opacity: 0.9;
}

.login-btn--secondary {
  color: #e2e3e5;
  background: #1c1c1d;
}

.login-btn--secondary:hover {
  background: #252627;
}

.login-btn--secondary .login-btn__icon {
  opacity: 0.8;
  filter: invert(1);
}

.login-foot {
  text-align: center;
  color: #62666d;
  max-width: 288px;
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.55;
}

.login-foot a {
  color: #939496;
  text-underline-offset: 2px;
  text-decoration: underline;
  transition: color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.login-foot a:hover {
  color: #e2e3e5;
}

.login-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: login-view-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-view[hidden] {
  display: none !important;
}

@keyframes login-view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 288px;
}

.login-btn--muted {
  color: #e2e3e5;
  background: #252628;
}

.login-btn--muted:hover:not(:disabled) {
  background: #2e2f31;
}

.login-foot--muted {
  margin-top: 20px;
  font-size: 11px;
  color: #55585e;
}

.login-foot--muted a {
  color: #6e7278;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-foot--muted a:hover {
  color: #939496;
}

.login-debug {
  width: 100%;
  max-width: 288px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #2a2d31;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #9aa0a6;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.45;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  max-height: 160px;
}

.login-input--code {
  text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 26px;
  letter-spacing: 10px;
  padding-left: 10px;
}

.login-input--code::placeholder {
  font-size: 26px;
  letter-spacing: 10px;
  color: rgba(255, 255, 255, 0.18);
}

.login-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.login-input-wrap {
  position: relative;
  width: 100%;
}

.login-input {
  appearance: none;
  color: #ffffff;
  width: 100%;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  padding: 12px 2px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  transition: box-shadow 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 400;
}

.login-input:focus {
  box-shadow: inset 0 -1px 0 #ffffff;
}

.login-input--with-back {
  padding-left: 28px;
}

.login-input--with-toggle {
  padding-right: 40px;
}

/* Hide browser's built-in password reveal (Edge/Chrome) */
.login-input[type="password"]::-ms-reveal,
.login-input[type="password"]::-ms-clear,
.login-input::-webkit-credentials-auto-fill-button,
.login-input::-webkit-strong-password-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.login-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.login-input-back {
  color: #939496;
  cursor: pointer;
  transition: color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  border: 0;
  align-items: center;
  padding: 0 6px 0 0;
  display: inline-flex;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.login-input-back:hover {
  color: #e2e3e5;
}

.login-input-toggle {
  color: #62666d;
  cursor: pointer;
  transition: color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.login-input-toggle:hover {
  color: #939496;
}

.login-error,
.login-success {
  letter-spacing: -0.005em;
  text-align: left;
  width: 100%;
  margin: -6px 0 -4px;
  padding-left: 2px;
  font-size: 12px;
  line-height: 1.4;
}

.login-error {
  color: #f87171;
}

.login-success {
  color: #6ee7b7;
}

.login-doc {
  width: 100%;
  max-width: none;
  color: #939496;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 22px;
  text-align: left;
}

.login-doc p + p {
  margin-top: 12px;
}

.terms-panel {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.terms-panel .dash-box {
  text-align: left;
}

.terms-panel .dash-download-info h2 {
  margin-bottom: 6px;
}

.terms-panel .dash-download-info p {
  color: #939496;
}

.terms-back-btn {
  display: inline-flex;
  width: auto;
  min-width: 148px;
  height: 38px;
  margin-top: 8px;
  align-self: center;
  text-decoration: none;
  font-size: 12px;
}

.login-foot .login-text-btn {
  color: #939496;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
}

.login-foot .login-text-btn:hover {
  color: #e2e3e5;
}

input.login-input:-webkit-autofill,
input.login-input:-webkit-autofill:hover,
input.login-input:-webkit-autofill:focus,
input.login-input:-webkit-autofill:active {
  caret-color: #ffffff;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 99999s ease-out;
  box-shadow: inset 0 0 0 1000px transparent !important;
}

/* —— Dashboard —— */

.dash-root {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
}

.dash-root[hidden],
.login-root[hidden] {
  display: none !important;
}

.dash-frame {
  z-index: 1;
  border: 1px solid #1c1e21;
  border-radius: 12px;
  height: 100dvh;
  min-height: 100dvh;
  margin: -1px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.dash-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1c1e21;
  background: rgba(8, 8, 9, 0.55);
  padding: 28px 16px 20px;
}

.dash-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 28px;
  color: #e2e3e5;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.dash-sidebar-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dash-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: #939496;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dash-nav-item .login-icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.dash-nav-item:hover {
  color: #e2e3e5;
  background: rgba(255, 255, 255, 0.04);
}

.dash-nav-item[data-active="true"] {
  color: #e2e3e5;
  background: #1c1c1d;
}

.dash-sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #1c1e21;
}

.dash-account {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 10px 8px;
}

.dash-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #252628;
  color: #e2e3e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}

.dash-user-name {
  color: #939496;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.dash-signout {
  color: #939496;
}

.dash-signout:hover {
  color: #e2e3e5;
}

.dash-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 40px 32px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
}

.dash-panel {
  width: 100%;
  max-width: 480px;
  margin-block: auto;
  flex-shrink: 0;
  animation: login-view-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-panel[hidden] {
  display: none !important;
}

.dash-panel-head {
  text-align: center;
  margin-bottom: 28px;
}

.dash-panel-title {
  color: #e2e3e5;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}

.dash-panel-sub {
  color: #939496;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 360px;
}

.dash-box {
  border: 1px solid #1c1e21;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 18px 20px;
}

.dash-box--stack {
  margin-bottom: 12px;
}

.dash-guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-guide-list .dash-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.dash-guide-step {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #1c1c1d;
  color: #e2e3e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.dash-guide-list h2 {
  color: #e2e3e5;
  font-size: 14px;
  font-weight: 500;
  margin: 4px 0 6px;
}

.dash-guide-list p {
  color: #939496;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.dash-guide-list .login-text-btn {
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  display: inline;
}

.dash-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 0;
}

.dash-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-field-label {
  color: #939496;
  font-size: 12px;
  font-weight: 500;
  padding-left: 2px;
}

.dash-form-btn {
  width: 100%;
}

.dash-status-card {
  padding: 4px 20px;
}

.dash-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.dash-status-row + .dash-status-row {
  border-top: 1px solid #1c1e21;
}

.dash-status-label {
  color: #62666d;
  font-size: 12px;
  font-weight: 500;
}

.dash-status-value {
  color: #e2e3e5;
  font-size: 13px;
  font-weight: 400;
  text-align: right;
}

.dash-download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dash-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dash-download-info {
  min-width: 0;
  text-align: left;
}

.dash-download-info h2 {
  color: #e2e3e5;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}

.dash-download-info p {
  color: #62666d;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

.dash-download-btn {
  width: auto;
  flex-shrink: 0;
  min-width: 118px;
  height: 36px;
  font-size: 12px;
}

.dash-download-msg {
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-left: 0;
}

.dash-main--wide {
  align-items: stretch;
}

.dash-panel--wide {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}

.dash-panel-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.dash-panel-head--row .dash-panel-sub {
  margin: 0;
  max-width: none;
}

.dash-panel-head--row .dash-panel-title {
  text-align: left;
}

.dash-toolbar-btn {
  width: auto;
  min-width: 88px;
  height: 36px;
  flex-shrink: 0;
  font-size: 12px;
}

.dash-help {
  color: #62666d;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 8px;
}

.dash-help .dash-mono {
  font-size: 11px;
}

.dash-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-actions .dash-form-btn {
  width: auto;
  min-width: 140px;
}

.dash-file {
  width: 100%;
  color: #939496;
  font-size: 13px;
  padding: 10px 0;
}

.dash-file::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 9999px;
  background: #252628;
  color: #e2e3e5;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.dash-select--compact {
  height: 34px;
  font-size: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.dash-empty {
  color: #62666d !important;
  text-align: center !important;
  padding: 28px 18px !important;
}

.dash-inline-btn {
  margin-left: 10px;
  font-size: 12px;
}

.dash-form--grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 14px;
  align-items: end;
}

.dash-form--grid .dash-form-btn {
  width: auto;
  min-width: 110px;
}

.dash-form--grid .login-success,
.dash-form--grid .login-error {
  grid-column: 1 / -1;
  margin: 0;
  white-space: pre-wrap;
}

.dash-form--loaders {
  grid-template-columns: 1fr 1fr;
}

.dash-form--loaders .dash-form-btn {
  grid-column: 1 / -1;
  width: 100%;
}

.dash-select {
  appearance: none;
  color: #ffffff;
  width: 100%;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  padding: 12px 28px 12px 2px;
  font: inherit;
  font-size: 15px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23939496' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
  transition: box-shadow 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dash-select:focus {
  box-shadow: inset 0 -1px 0 #ffffff;
}

.dash-select option {
  background: #121314;
  color: #e2e3e5;
}

.dash-table-wrap {
  padding: 0;
  overflow: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dash-table th,
.dash-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #1c1e21;
  vertical-align: middle;
}

.dash-table th {
  color: #62666d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dash-table td {
  color: #d0d6e0;
}

.dash-table tbody tr:last-child td {
  border-bottom: 0;
}

.dash-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dash-mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #e2e3e5;
}

.dash-log-box {
  padding: 8px 0;
  max-height: min(58vh, 520px);
  overflow: auto;
}

.dash-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-log-line {
  display: grid;
  grid-template-columns: 72px 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(28, 30, 33, 0.85);
}

.dash-log-line:last-child {
  border-bottom: 0;
}

.dash-log-time {
  color: #62666d;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
}

.dash-log-msg {
  color: #d0d6e0;
  font-size: 13px;
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  background: #1c1c1d;
  color: #939496;
}

.badge--ok {
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.badge--warn {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.badge--muted {
  background: rgba(255, 255, 255, 0.04);
  color: #939496;
}

.badge--error,
.badge.badge--error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.dash-pre {
  white-space: pre-wrap;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  background: rgba(255, 255, 255, 0.05);
  color: #939496;
}

.dash-badge--ok {
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.dash-badge--warn {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.dash-badge--danger {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.dash-cell-strong {
  color: #f2f3f5 !important;
  font-weight: 500;
}

.dash-select--sm {
  height: 32px;
  font-size: 12px;
  padding: 4px 24px 4px 2px;
}

.dash-link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: #939496;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.dash-link-btn:hover:not(:disabled) {
  color: #f87171;
}

.dash-link-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.dash-status-value--break {
  word-break: break-all;
  max-width: 340px;
}

a.dash-nav-item {
  text-decoration: none;
}

a.login-text-btn {
  text-decoration: none;
  cursor: pointer;
}

a.login-input-back {
  text-decoration: none;
}

@media (max-width: 640px) {
  .login-frame {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .login-panel {
    padding: 32px 20px;
  }

  .login-brand {
    top: 22px;
    right: 22px;
  }

  body {
    overflow: auto;
  }

  .dash-frame {
    flex-direction: column;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .dash-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #1c1e21;
    padding: 20px 16px 14px;
  }

  .dash-sidebar-brand {
    padding-bottom: 16px;
  }

  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .dash-nav-item {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
  }

  .dash-sidebar-foot {
    margin-top: 12px;
  }

  .dash-main {
    height: auto;
    min-height: min(70dvh, 640px);
    padding: 32px 20px 40px;
    justify-content: center;
  }

  .dash-panel-head--row {
    flex-direction: column;
  }

  .dash-form--grid,
  .dash-form--loaders {
    grid-template-columns: 1fr;
  }

  .dash-form--grid .dash-form-btn {
    width: 100%;
  }

  .dash-log-line {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }

  .dash-log-msg {
    grid-column: 1 / -1;
  }

  .dash-download-card {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-download-btn {
    width: 100%;
  }
}
