@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/Manrope/Manrope-Bold.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

.header .navbar-brand {
  width: auto;
  min-width: 148px;
  max-width: 190px;
}
.header .navbar-brand img {
  width: auto;
  height: 22px;
}

.hero-image.i-rocket,
.hero .i-rocket,
#cdn .hero,
#technology .hero,
#features .hero {
  overflow: visible;
}
#rocket {
  width: min(100%, 560px);
  height: min(56vw, 420px);
  margin-left: auto;
}
#rocket svg {
  overflow: visible !important;
  filter: drop-shadow(-14px 8px 10px rgba(2, 123, 252, 0.38));
}
#technology .i-rocket,
#features .i-rocket {
  position: relative;
  top: 0;
  right: auto;
  max-width: 520px;
  margin: 0 auto;
}

.drop {
  border: 2px dashed rgba(2, 123, 252, 0.35);
  border-radius: 16px;
  min-height: 148px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drop:hover, .drop.drag, .drop:focus-visible {
  border-color: #027bfc;
  background: rgba(2, 123, 252, 0.04);
  outline: none;
}
.drop-inner { text-align: center; padding: 22px; }
.drop .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: rgba(2, 123, 252, 0.12);
  position: relative;
}
.drop .icon::before {
  content: "";
  position: absolute;
  inset: 14px 15px 12px;
  border: 2px solid #027bfc;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}
.drop .icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 2px;
  height: 14px;
  background: #027bfc;
  transform: translateX(-50%);
}
.drop p { margin: 0 0 6px; color: #1e2e49; }
.hint { color: #6b7a90; font-size: 0.78rem; font-family: ui-monospace, monospace; }
.jobs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.jobs li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.jobs .name { font-weight: 700; }
.jobs .meta { color: #6b7a90; font-size: 0.75rem; }
.jobs .state { font-size: 0.75rem; color: #027bfc; font-weight: 700; }
.jobs .state.err { color: #e5484d; }
.bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #027bfc, #5aa8ff);
}

.auth-card { max-width: 440px; margin: 48px auto 80px; }
.field { margin: 14px 0; }
.field label { display: block; font-size: 0.85rem; color: #6b7a90; margin-bottom: 6px; font-weight: 700; }
.field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d7dee8;
  padding: 12px 14px;
  font: inherit;
}
.field input:focus {
  outline: none;
  border-color: #027bfc;
  box-shadow: 0 0 0 3px rgba(2, 123, 252, 0.18);
}
.note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6eaf0;
  color: #6b7a90;
  display: none;
}
.note.show { display: block; }

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.meter {
  font-size: 0.78rem;
  color: #6b7a90;
  text-align: right;
}
.meter strong { display: block; color: #1e2e49; }

.files-panel .toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.files-panel .search {
  border: 1px solid #d7dee8;
  border-radius: 10px;
  padding: 10px 12px;
  min-width: min(280px, 100%);
  font: inherit;
}
.files-panel table { width: 100%; border-collapse: collapse; }
.files-panel th {
  text-align: left;
  font-size: 0.78rem;
  color: #6b7a90;
  padding: 8px 10px;
  border-bottom: 1px solid #e6eaf0;
}
.files-panel td { padding: 12px 10px; border-bottom: 1px solid #eef2f7; color: #1e2e49; }
.files-panel .name { font-weight: 700; }
.files-panel .empty { color: #6b7a90; text-align: center; padding: 28px; }
.files-panel .row-actions button {
  border: 1px solid #dbdee5;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.badge.ok { background: #def5c8; color: #1e6b3a; border-radius: 999px; padding: 2px 8px; font-size: 0.75rem; }
.badge.exp { background: #fff3cd; color: #8a6d1b; border-radius: 999px; padding: 2px 8px; font-size: 0.75rem; }
.badge.gone { background: #f1f3f6; color: #6b7a90; border-radius: 999px; padding: 2px 8px; font-size: 0.75rem; }
.linkish {
  border: 0;
  background: none;
  color: #027bfc;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 767.98px) {
  .hide-sm { display: none; }
}

/* mossnow — teal sibling */
body[data-theme="moss"] .btn-primary { background-color: #0f9d8e; }
body[data-theme="moss"] .btn-primary:hover { background-color: #0c877a; }
body[data-theme="moss"] .bg-primary { background-color: #0f9d8e !important; }
body[data-theme="moss"] a { color: #0f9d8e; }
body[data-theme="moss"] .header .navbar .navbar-nav .nav-link:hover,
body[data-theme="moss"] .header .navbar .navbar-nav .nav-link.active { color: #0f9d8e; }
body[data-theme="moss"] .btn-white:hover { color: #0f9d8e; border-color: #0f9d8e; }
body[data-theme="moss"] .btn-white::before,
body[data-theme="moss"] .btn-invert::after,
body[data-theme="moss"] .btn-invert::before { background-color: #0f9d8e; }
body[data-theme="moss"] .btn-invert { color: #0f9d8e !important; }
body[data-theme="moss"] .footer a:hover { color: #0f9d8e; }
body[data-theme="moss"] .drop { border-color: rgba(15, 157, 142, 0.35); }
body[data-theme="moss"] .drop:hover,
body[data-theme="moss"] .drop.drag { border-color: #0f9d8e; background: rgba(15, 157, 142, 0.05); }
body[data-theme="moss"] .drop .icon { background: rgba(15, 157, 142, 0.12); }
body[data-theme="moss"] .drop .icon::before { border-color: #0f9d8e; }
body[data-theme="moss"] .drop .icon::after { background: #0f9d8e; }
body[data-theme="moss"] .jobs .state { color: #0f9d8e; }
body[data-theme="moss"] .bar > i { background: linear-gradient(90deg, #0f9d8e, #5ee0d0); }
body[data-theme="moss"] .field input:focus { border-color: #0f9d8e; box-shadow: 0 0 0 3px rgba(15, 157, 142, 0.18); }
body[data-theme="moss"] .linkish { color: #0f9d8e; }
body[data-theme="moss"] #rocket { filter: hue-rotate(-42deg) saturate(1.55) contrast(1.12); }
body[data-theme="moss"] #rocket svg { filter: drop-shadow(-14px 8px 10px rgba(15, 157, 142, 0.4)); }
body[data-theme="moss"] .plan-hot { border: 2px solid #0f9d8e !important; }

/* nooknow — violet sibling */
body[data-theme="nook"] .btn-primary { background-color: #6d5ae6; }
body[data-theme="nook"] .btn-primary:hover { background-color: #5b49d4; }
body[data-theme="nook"] .bg-primary { background-color: #6d5ae6 !important; }
body[data-theme="nook"] a { color: #6d5ae6; }
body[data-theme="nook"] .header .navbar .navbar-nav .nav-link:hover,
body[data-theme="nook"] .header .navbar .navbar-nav .nav-link.active { color: #6d5ae6; }
body[data-theme="nook"] .btn-white:hover { color: #6d5ae6; border-color: #6d5ae6; }
body[data-theme="nook"] .btn-white::before,
body[data-theme="nook"] .btn-invert::after,
body[data-theme="nook"] .btn-invert::before { background-color: #6d5ae6; }
body[data-theme="nook"] .btn-invert { color: #6d5ae6 !important; }
body[data-theme="nook"] .footer a:hover { color: #6d5ae6; }
body[data-theme="nook"] .drop { border-color: rgba(109, 90, 230, 0.35); }
body[data-theme="nook"] .drop:hover,
body[data-theme="nook"] .drop.drag { border-color: #6d5ae6; background: rgba(109, 90, 230, 0.05); }
body[data-theme="nook"] .drop .icon { background: rgba(109, 90, 230, 0.12); }
body[data-theme="nook"] .drop .icon::before { border-color: #6d5ae6; }
body[data-theme="nook"] .drop .icon::after { background: #6d5ae6; }
body[data-theme="nook"] .jobs .state { color: #6d5ae6; }
body[data-theme="nook"] .bar > i { background: linear-gradient(90deg, #6d5ae6, #b3a8ff); }
body[data-theme="nook"] .field input:focus { border-color: #6d5ae6; box-shadow: 0 0 0 3px rgba(109, 90, 230, 0.18); }
body[data-theme="nook"] .linkish { color: #6d5ae6; }
body[data-theme="nook"] #rocket { filter: hue-rotate(38deg) saturate(1.08); }
body[data-theme="nook"] #rocket svg { filter: drop-shadow(-14px 8px 10px rgba(109, 90, 230, 0.4)); }
body[data-theme="nook"] .plan-hot { border: 2px solid #6d5ae6 !important; }

body[data-theme="nook"] .hero.hero-lines::before {
  opacity: 0.55;
}
