:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #eaf4ff;
  background: #061323;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, #0ea5e928, transparent 30%),
    radial-gradient(circle at 90% 70%, #14b8a622, transparent 32%), #061323;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: auto;
  padding: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand small {
  display: block;
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  font-size: 22px;
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  background: white;
}
.ghost {
  border: 1px solid #7dd3fc35;
  background: #ffffff0d;
  color: white;
  border-radius: 13px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
main {
  width: min(1180px, calc(100% - 28px));
  margin: 4vh auto 50px;
}
.login {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  min-height: 70vh;
}
.story h1,
.top h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 10px 0 20px;
}
.story > p {
  max-width: 600px;
  color: #9fb8d0;
  font-size: 18px;
  line-height: 1.7;
}
.eyebrow {
  color: #38bdf8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.checks {
  display: grid;
  gap: 10px;
  color: #bae6fd;
  font-weight: 700;
}
.card,
.order,
.metric,
.modal-card {
  border: 1px solid #7dd3fc28;
  background: #0b2138dd;
  backdrop-filter: blur(16px);
  border-radius: 26px;
  box-shadow: 0 24px 80px #0007;
}
.card {
  padding: 34px;
}
.card h2 {
  font-size: 28px;
  margin: 8px 0 22px;
}
.tool {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: #0ea5e925;
  color: #38bdf8;
  font-size: 28px;
}
label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 800;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #31516d;
  background: #06182a;
  color: white;
  border-radius: 14px;
  padding: 13px;
  font: inherit;
  outline: none;
}
.card button,
.main {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: white;
  font-weight: 900;
  cursor: pointer;
}
.hidden {
  display: none !important;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.top h1 {
  font-size: 44px;
  margin: 6px 0 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.metric {
  padding: 18px;
}
.metric small {
  color: #8daac4;
}
.metric b {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.filters button {
  border: 1px solid #31516d;
  background: #0b2138;
  color: #aac3da;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 800;
}
.filters button.active {
  background: #0ea5e9;
  color: #041220;
}
.orders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.order {
  padding: 20px;
  cursor: pointer;
  transition: 0.2s;
}
.order:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}
.order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.status {
  border-radius: 999px;
  padding: 7px 10px;
  height: max-content;
  background: #0ea5e922;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.order h3 {
  font-size: 20px;
  margin: 14px 0 5px;
}
.order p {
  color: #9fb8d0;
  margin: 5px 0;
  font-size: 13px;
}
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ffffff12;
}
.order-foot b {
  font-size: 20px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 9;
  background: #020817cc;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
}
.close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 30px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.detail-item {
  background: #06182a;
  border-radius: 15px;
  padding: 13px;
}
.detail-item small {
  display: block;
  color: #8daac4;
  margin-bottom: 5px;
}
.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 18px 0;
}
.actions button,
.secondary {
  border: 0;
  border-radius: 13px;
  padding: 12px;
  background: #174165;
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.actions button.active {
  background: #0ea5e9;
  color: #041220;
}
.upload {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 9px;
}
.upload button {
  border: 0;
  border-radius: 13px;
  padding: 0 15px;
  background: #0ea5e9;
  color: #041220;
  font-weight: 900;
}
.timeline {
  border-left: 2px solid #174165;
  margin: 18px 0 0 7px;
  padding-left: 17px;
}
.event {
  margin: 0 0 16px;
}
.event p {
  margin: 4px 0;
  color: #bed1e2;
}
.event small {
  color: #7795ae;
}
.event img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 15px;
  margin-top: 8px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 120px);
  background: white;
  color: #0f172a;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.25s;
  z-index: 12;
}
#toast.show {
  transform: translate(-50%, 0);
}
@media (max-width: 800px) {
  .login {
    grid-template-columns: 1fr;
  }
  .story {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .orders {
    grid-template-columns: 1fr;
  }
  .top {
    align-items: start;
  }
  .top h1 {
    font-size: 34px;
  }
}
@media (max-width: 480px) {
  header {
    padding: 14px;
  }
  .brand span:last-child {
    max-width: 165px;
  }
  .top {
    display: block;
  }
  .top > div:last-child {
    margin-top: 15px;
  }
  .detail-grid,
  .actions {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 22px 17px;
  }
}
