:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #142038;
  background: #f5f7fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7fb;
}
button,
input,
select,
textarea {
  font: inherit;
}
.hidden {
  display: none !important;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 10%, #dce9ff 0, transparent 38%),
    linear-gradient(145deg, #f8faff, #eef3fb);
}
.login-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 24px 80px #17284c1a;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #235ee7, #4f7eff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px #235ee744;
  margin-bottom: 30px;
}
.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  color: #2e63dc;
  margin: 0 0 8px;
}
.login-card h1,
.topbar h1 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.muted {
  color: #6a768d;
  margin: 0;
}
.login-card form {
  margin-top: 28px;
}
.login-card label,
.dialog-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #344158;
}
.login-card input,
.dialog-form input,
.dialog-form select,
.dialog-form textarea,
.search {
  width: 100%;
  border: 1px solid #d9e0eb;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fff;
  color: #142038;
  outline: none;
}
.login-card input:focus,
.dialog-form input:focus,
.dialog-form select:focus,
.dialog-form textarea:focus,
.search:focus {
  border-color: #346bea;
  box-shadow: 0 0 0 3px #346bea1c;
}
.primary,
.ghost,
.nav-item,
.avatar,
.table-action {
  border: 0;
  cursor: pointer;
}
.primary {
  background: #2f65df;
  color: #fff;
  padding: 11px 17px;
  border-radius: 10px;
  font-weight: 750;
  box-shadow: 0 5px 14px #2f65df33;
}
.primary:hover {
  background: #2458ce;
}
.wide {
  width: 100%;
  margin-top: 18px;
}
.ghost {
  background: #fff;
  border: 1px solid #dce3ee;
  padding: 10px 15px;
  border-radius: 10px;
  color: #344158;
  font-weight: 700;
}
.form-error {
  color: #b62c3a;
  font-size: 13px;
  min-height: 18px;
}
.platform {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #101d35;
  color: #c7d2e7;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  padding: 0 8px 32px;
}
.brand strong {
  font-size: 17px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  text-align: left;
  background: transparent;
  color: #aebbd2;
  padding: 12px 13px;
  border-radius: 10px;
  font-weight: 650;
}
.nav-item:hover,
.nav-item.active {
  background: #20375f;
  color: #fff;
}
.nav-item.active {
  box-shadow: inset 3px 0 #5684f0;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #2b3b56;
  padding: 20px 9px 0;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30c680;
  box-shadow: 0 0 0 4px #30c6801c;
}
.content {
  padding: 0 38px 50px;
  min-width: 0;
}
.topbar {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e7ef;
  margin-bottom: 28px;
}
.topbar h1 {
  font-size: 27px;
  margin: 0;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #e8eef9;
  color: #274c92;
  font-weight: 800;
}
.notice {
  position: fixed;
  right: 30px;
  top: 26px;
  z-index: 20;
  background: #132442;
  color: #fff;
  padding: 13px 18px;
  border-radius: 11px;
  box-shadow: 0 14px 38px #0b173538;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.release-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.release-metric {
  display: grid;
  gap: 5px;
  padding: 15px 17px;
  border: 1px solid #e0e6ef;
  border-radius: 13px;
  background: #fff;
}
.release-metric span {
  color: #77849a;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.release-metric strong {
  font-size: 22px;
}
.release-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.release-filters label {
  display: grid;
  gap: 5px;
  color: #66748b;
  font-size: 11px;
  font-weight: 750;
}
.release-filters select {
  min-width: 145px;
  padding: 9px 30px 9px 11px;
  border: 1px solid #d9e0eb;
  border-radius: 9px;
  color: #273650;
  background: #fff;
}
.metric,
.panel,
.product-card {
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 15px;
  box-shadow: 0 5px 18px #18294d09;
}
.metric {
  padding: 20px;
}
.metric p {
  margin: 0;
  color: #728097;
  font-size: 12px;
  font-weight: 700;
}
.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 27px;
  letter-spacing: -0.04em;
}
.metric small {
  color: #8290a6;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}
.panel {
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid #e7ebf2;
  display: flex;
  justify-content: space-between;
}
.panel h2 {
  font-size: 17px;
  margin: 0;
}
.view-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
}
.search {
  max-width: 340px;
  background: #fff;
}
.table-panel {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
th {
  text-align: left;
  padding: 12px 17px;
  background: #f8fafd;
  color: #77849a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td {
  padding: 15px 17px;
  border-top: 1px solid #e9edf3;
  font-size: 13px;
  vertical-align: middle;
}
td strong {
  display: block;
}
td small {
  color: #7b879b;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #eaf6ef;
  color: #257447;
}
.badge.warn {
  background: #fff4dd;
  color: #986910;
}
.badge.off {
  background: #f5e8ea;
  color: #a23140;
}
.badge.blue {
  color: #2458ce;
  background: #eaf0ff;
}
.badge.gray {
  color: #667085;
  background: #eef1f5;
}
.target-badge {
  display: inline-flex;
  margin-bottom: 4px;
  color: #42618f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.channel-select {
  width: 100%;
  min-width: 92px;
  padding: 7px 8px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  color: #34517e;
  background: #f8fafd;
  font-size: 11px;
  font-weight: 750;
}
.table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.table-action {
  background: #f0f4fa;
  color: #34517e;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 750;
}
.table-action.danger {
  color: #aa3441;
}
.empty {
  padding: 38px;
  text-align: center;
  color: #7d899c;
}
.list-row {
  padding: 14px 20px;
  border-top: 1px solid #ebeff5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-row:first-child {
  border-top: 0;
}
.list-row p {
  margin: 0;
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  padding: 22px;
}
.product-card h2 {
  font-size: 18px;
  margin: 12px 0 5px;
}
.product-code {
  display: inline-block;
  background: #edf2fb;
  color: #41618e;
  border-radius: 7px;
  padding: 5px 8px;
  font:
    700 11px ui-monospace,
    monospace;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 18px;
  width: min(570px, calc(100% - 30px));
  box-shadow: 0 30px 90px #08142b55;
}
dialog::backdrop {
  background: #111d3480;
  backdrop-filter: blur(4px);
}
.dialog-form {
  padding: 26px;
  display: grid;
  gap: 18px;
}
.dialog-form.compact {
  width: min(480px, 100%);
}
.dialog-form header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.dialog-form h2 {
  margin: 0;
  font-size: 22px;
}
.dialog-form small {
  font-weight: 500;
  color: #8190a5;
}
.update-dropzone {
  position: relative;
  place-items: center;
  min-height: 150px;
  padding: 22px;
  border: 2px dashed #b9c8e4;
  border-radius: 14px;
  text-align: center;
  background: #f8faff;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}
.update-dropzone.dragging {
  border-color: #2f65df;
  background: #edf3ff;
}
.update-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.dropzone-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #2f65df;
  background: #e5edff;
  font-size: 21px;
}
.selected-file {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-top: 3px;
  padding: 6px 9px;
  overflow: hidden;
  border-radius: 7px;
  color: #274c92;
  background: #e4edff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.close-dialog {
  border: 0;
  background: #f0f3f8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 21px;
  cursor: pointer;
  color: #526078;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #e9edf3;
  padding-top: 18px;
}
.loading {
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 900px) {
  .platform {
    grid-template-columns: 78px 1fr;
  }
  .sidebar {
    padding: 24px 10px;
  }
  .brand strong,
  .nav-item,
  .sidebar-foot span {
    font-size: 0;
  }
  .nav-item:before {
    content: '•';
    font-size: 22px;
  }
  .brand {
    padding-inline: 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .release-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .content {
    padding-inline: 20px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .platform {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar-foot {
    display: none;
  }
  .metrics,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .content {
    padding-inline: 14px;
  }
  .topbar {
    height: 90px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .release-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .release-filters select {
    width: 100%;
  }
}
