@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #20253c;
  --muted: #687187;
  --faint: #818a9e;
  --line: #e1e5ed;
  --primary: #5557d9;
  --primary-dark: #4244b8;
  --sidebar: 222px;
  --radius: 14px;
  font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f7fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--primary);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8e9cff;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #8f90ed;
  outline-offset: 0;
  border-color: #7173d8;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.boot,
.view-loading {
  display: grid;
  place-items: center;
  min-height: 150px;
}
.boot {
  min-height: 100vh;
}
.spinner {
  width: 25px;
  height: 25px;
  border: 2px solid #d5d7f1;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 60;
  padding: 10px;
  background: white;
  border-radius: 5px;
}
.skip-link:focus {
  top: 8px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fcfcfe;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 12;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 30px 22px 29px;
  color: var(--ink);
}
.brand img {
  width: 39px;
  height: 39px;
  filter: drop-shadow(0 3px 5px #4b50ad24);
}
.brand strong {
  display: block;
  font-weight: 750;
  line-height: 1.16;
  font-size: 20px;
  letter-spacing: -1.15px;
}
.brand small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.15px;
}
.side-section {
  padding: 11px 13px 12px;
}
.side-section + .side-section {
  border-top: 1px solid var(--line);
  margin: 12px 13px 0;
  padding: 22px 0;
}
.side-label {
  display: block;
  font-size: 10px;
  font-weight: 750;
  color: #747e93;
  text-transform: uppercase;
  letter-spacing: 1.42px;
  padding: 0 12px;
  margin: 0 0 10px;
}
.nav-item {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #515b72;
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  margin: 3px 0;
}
.nav-item .ico {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #f0f1f7;
  color: var(--ink);
}
.nav-item.selected {
  color: #4848bf;
  background: #ebeafa;
  font-weight: 670;
}
.nav-item .out {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: #989fb2;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 14px 0;
  padding: 18px 2px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7e8f8;
  color: #4c4f9b;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 750;
  flex: none;
}
.account-text {
  min-width: 0;
  flex: 1;
}
.account-text strong,
.account-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-text strong {
  font-size: 12px;
  font-weight: 680;
}
.account-text small {
  font-size: 11px;
  color: var(--muted);
}
.workspace {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffffd9;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(22px, 3.1vw, 52px);
}
.breadcrumbs,
.connection {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.breadcrumbs {
  min-width: 0;
}
.breadcrumbs .ico {
  width: 15px;
  height: 15px;
}
.crumb-current {
  font-weight: 650;
  color: #40475c;
}
.crumb-sep {
  color: #b3b9c5;
}
.connection {
  gap: 7px;
  font-size: 11px;
  font-weight: 550;
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #21a87c;
  box-shadow: 0 0 0 3px #e0f6ef;
  flex: none;
}
.status-dot.offline {
  background: #d58530;
  box-shadow: 0 0 0 3px #fff2de;
}
.main {
  width: min(100%, 1640px);
  margin: auto;
  padding: 27px clamp(22px, 3.1vw, 52px) 48px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.page-head h1 {
  font-size: clamp(29px, 2.55vw, 39px);
  font-weight: 660;
  line-height: 1.17;
  letter-spacing: -1.7px;
  overflow-wrap: anywhere;
}
.page-head p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
}
.actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn,
.icon-btn,
.text-btn,
.chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  font-weight: 630;
}
.btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  background: white;
  white-space: nowrap;
  box-shadow: 0 1px 2px #242d5008;
}
.btn .ico {
  width: 16px;
  height: 16px;
}
.btn:hover,
.icon-btn:hover,
.chip-btn:hover {
  background: #f5f6fb;
  border-color: #c8ccda;
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 4px #353d8b20;
}
.btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn.danger {
  background: #c0444c;
  border-color: #c0444c;
  color: white;
}
.btn.danger:hover {
  background: #ac343e;
}
.btn.danger-soft {
  color: #ac3d48;
  border-color: #eccad0;
}
.btn.small {
  font-size: 12px;
  min-height: 32px;
  padding: 5px 10px;
}
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  border-radius: 6px;
}
.icon-btn .ico {
  width: 16px;
  height: 16px;
}
.text-btn {
  padding: 3px 0;
  background: none;
  border: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
}
.text-btn .ico {
  width: 14px;
  height: 14px;
}
.text-btn:hover {
  text-decoration: underline;
}
.mobile-menu,
.mobile-shade {
  display: none;
}
.portfolio {
  background: linear-gradient(102deg, #191d3a 0%, #242547 52%, #38345c 100%);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: white;
  isolation: isolate;
  min-height: 177px;
  display: flex;
  align-items: center;
}
.portfolio-copy {
  padding: 20px 28px;
  z-index: 1;
}
.portfolio-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dadbf5;
  font-size: 12px;
  font-weight: 550;
}
.portfolio-label .ico {
  width: 16px;
  height: 16px;
}
.portfolio-value {
  font-size: clamp(41px, 4.35vw, 66px);
  line-height: 1.12;
  letter-spacing: -2.7px;
  font-weight: 580;
  margin-top: 4px;
}
.portfolio-sub {
  color: #d0d0e6;
  font-size: 12px;
  margin-top: 2px;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  margin-top: 12px;
}
.portfolio-link:hover {
  text-decoration: underline;
}
.portfolio-link .ico {
  width: 13px;
  height: 13px;
}
.portfolio-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 66%;
  height: 100%;
  pointer-events: none;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 15px 0 19px;
}
.metric,
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 3px #28305603;
}
.metric {
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 6px;
}
.metric-title {
  font-size: 12px;
  line-height: 1.3;
  color: #646d83;
  font-weight: 550;
}
.metric-value {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -1.4px;
  font-weight: 610;
  min-width: 0;
}
.metric .tile {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: #ecebfc;
  color: #625dcb;
}
.tile .ico {
  width: 17px;
  height: 17px;
}
.green {
  background: #e4f5ee;
  color: #268461;
}
.blue {
  background: #e7efff;
  color: #4873be;
}
.amber {
  background: #fbf0d9;
  color: #a77829;
}
.purple {
  background: #edeafb;
  color: #7760ba;
}
.teal {
  background: #e1f2f2;
  color: #328080;
}
.red {
  background: #fbe8e8;
  color: #af464b;
}
.slate {
  background: #eef0f5;
  color: #6c7486;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 17px;
  align-items: stretch;
}
.panel {
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 19px 21px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.panel-head h2,
.section-head h2 {
  font-size: 16px;
  font-weight: 675;
  letter-spacing: -0.55px;
  line-height: 1.3;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-head .text-btn {
  flex: none;
}
.chart-panel {
  padding-bottom: 14px;
}
.period-select,
.filters select {
  appearance: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #525b70;
  font-weight: 550;
}
.period-select {
  height: 30px;
  font-size: 11px;
  padding: 3px 5px;
  max-width: 92px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 2px 22px 4px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend .issued {
  background: #6967df;
}
.legend .activated {
  background: #2d9e8f;
}
.chart {
  display: block;
  width: 100%;
  height: 167px;
  padding: 0 15px;
}
.chart text {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  fill: #798196;
}
.chart-grid {
  stroke: #e9ebf1;
  stroke-dasharray: 3 4;
}
.chart-line {
  fill: none;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.chart-issued {
  stroke: #6967df;
}
.chart-active {
  stroke: #2d9e8f;
}
.chart-focus {
  fill: transparent;
  outline: 0;
  cursor: crosshair;
}
.chart-focus:focus {
  stroke: #8e9cff;
}
.chart-note {
  min-height: 17px;
  padding: 0 21px;
  color: var(--muted);
  font-size: 10.5px;
}
.chart-panel details {
  margin: 2px 21px 0;
  color: var(--muted);
  font-size: 11px;
}
.chart-panel details table {
  margin: 8px 0;
  font-size: 11px;
}
.chart-panel details th,
.chart-panel details td {
  padding: 4px;
}
.summary-list {
  padding: 0 20px 14px;
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eff0f5;
  padding: 10px 0;
}
.summary-item:first-child {
  border-top: 0;
}
.summary-item .tile {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}
.summary-item .tile .ico {
  width: 15px;
  height: 15px;
}
.summary-copy {
  min-width: 0;
  flex: 1;
}
.summary-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 625;
}
.summary-copy small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.summary-time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.summary-placeholder {
  min-height: 170px;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #6e788c;
  background: #f8f9fc;
  text-transform: uppercase;
  padding: 10px 18px;
  white-space: nowrap;
  border-block: 1px solid var(--line);
}
td {
  padding: 13px 18px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td .ico {
  width: 15px;
  height: 15px;
}
.product-cell,
.event-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.product-cell strong,
.cell-copy strong,
.event-cell strong {
  font-weight: 650;
  display: block;
  color: var(--ink);
}
.product-cell small,
.cell-copy small,
.event-cell small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.product-cell small {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-tile {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.product-tile .ico {
  width: 16px;
  height: 16px;
}
.key-fragment,
.code,
.key-output code,
.code-inline {
  font-family: ui-monospace, Consolas, monospace;
}
.code,
.code-inline {
  font-size: 11px;
  background: #f1f2f7;
  color: #535c73;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.key-fragment {
  color: #5a637b;
  font-size: 11px;
  white-space: nowrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 620;
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.tag.active {
  background: #e7f6ee;
  color: #267b56;
}
.tag.pending {
  background: #fbf1db;
  color: #8a661e;
}
.tag.revoked {
  background: #fbe9ea;
  color: #a1434c;
}
.tag.expired {
  background: #edf0f5;
  color: #636d80;
}
.mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #636c81;
  font-size: 12px;
  white-space: nowrap;
}
.mode .ico {
  width: 14px;
  height: 14px;
}
.table-link {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  font-weight: 650;
  font-size: 12px;
}
.table-link:hover {
  text-decoration: underline;
}
.count-pill {
  background: #efeff9;
  color: #5659a7;
  border-radius: 100px;
  padding: 2px 8px;
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  letter-spacing: 0;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: white;
}
.filters select {
  height: 35px;
  font-size: 12px;
  max-width: 225px;
  padding: 4px 8px;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 185px;
  max-width: 350px;
  flex: 1;
}
.search .ico {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  color: #838a9d;
  pointer-events: none;
}
.search input {
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px 7px 33px;
  width: 100%;
  font-size: 12px;
  background: #fff;
  color: var(--ink);
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 11px 18px;
  color: var(--muted);
  font-size: 12px;
}
.pager .icon-btn {
  border-color: var(--line);
  width: 28px;
  height: 28px;
}
.pager button:disabled {
  cursor: default;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 24px 16px;
  min-height: 135px;
  color: var(--muted);
}
.empty .tile {
  margin-bottom: 4px;
}
.empty strong {
  font-size: 13px;
  color: #4d566d;
  font-weight: 620;
}
.empty p {
  font-size: 12px;
  max-width: 380px;
}
.empty .text-btn,
.empty .btn {
  margin-top: 5px;
}
.back-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 570;
  margin-bottom: 14px;
}
.back-link .ico {
  width: 14px;
  height: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.6fr);
  gap: 18px;
  align-items: start;
}
.properties {
  margin: 0;
  padding: 0 21px 16px;
}
.properties > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #eef0f5;
  padding: 10px 0;
  font-size: 12px;
}
.properties > div:last-child {
  border: 0;
}
.properties dt {
  color: var(--muted);
  flex: none;
}
.properties dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.section-head {
  padding: 17px 20px;
}
.muted {
  color: var(--muted);
}
.notice-stack,
#notices {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  gap: 6px;
  max-width: calc(100vw - 36px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  background: #252c45;
  box-shadow: 0 4px 18px #27304b38;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 12px;
  animation: arrive 0.18s ease-out;
}
.toast .ico {
  color: #81dac2;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-layer {
  position: fixed;
  inset: 0;
  background: #171c32a3;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}
.modal {
  width: min(100%, 500px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: white;
  border: 1px solid #dddfea;
  border-radius: 16px;
  box-shadow: 0 14px 56px #14172c42;
  animation: arrive 0.15s ease-out;
}
.modal.wide {
  width: min(100%, 595px);
}
.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 23px 24px 14px;
}
.modal-title h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  font-weight: 660;
}
.modal-title p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}
.modal-title .icon-btn {
  flex: none;
  margin: -4px -6px 0 0;
}
.modal-body {
  padding: 2px 24px 22px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 13px;
  min-width: 0;
}
.field > span:first-child,
.field-label {
  font-size: 12px;
  font-weight: 640;
  color: #444e63;
}
.field small,
.field-note {
  font-weight: 450;
  font-size: 11px;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d7dbe5;
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  padding: 8px 10px;
  min-height: 37px;
  font-size: 13px;
}
.field textarea {
  resize: vertical;
  min-height: 67px;
}
.field input::placeholder,
.field textarea::placeholder,
.search input::placeholder {
  color: #8b93a4;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #f1f2f7;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
}
.switcher button {
  border: 0;
  background: none;
  border-radius: 6px;
  color: var(--muted);
  height: 32px;
  font-size: 12px;
  font-weight: 600;
}
.switcher button[aria-pressed="true"] {
  background: white;
  color: var(--primary);
  box-shadow: 0 1px 4px #14172c19;
}
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 13px;
}
.file-row input {
  max-width: 67%;
  font-size: 11px;
}
.csv-status {
  color: var(--muted);
  font-size: 11px;
  margin-top: -5px;
}
.form-error {
  background: #fff1f1;
  color: #a23740;
  padding: 8px 11px;
  border: 1px solid #f2d1d4;
  font-size: 12px;
  border-radius: 6px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.form-error:empty {
  display: none;
}
.info-box {
  padding: 10px 12px;
  background: #f2f3fc;
  color: #505779;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 1px 0 15px;
}
.info-box .ico {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.key-output {
  padding: 16px;
  background: #f5f5fb;
  border: 1px dashed #c6c9df;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0;
}
.key-output code {
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: 13px;
  flex: 1;
  color: #3e427b;
}
.modal table {
  font-size: 11.5px;
}
.modal .result-list {
  max-height: 200px;
  overflow: auto;
}
.modal table th,
.modal table td {
  padding: 7px 8px;
}
.danger-copy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.auth-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  background: #fff;
}
.auth-aside {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 86% 55%, #42416c 0%, #272945 48%, #171b35 85%);
  color: white;
  min-height: 100%;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.auth-aside .brand {
  color: white;
  position: relative;
  z-index: 2;
  padding: clamp(26px, 4vw, 63px);
  align-self: flex-start;
}
.auth-aside .brand small {
  color: #c2c6dc;
}
.auth-aside .brand img {
  filter: none;
}
.auth-copy {
  position: relative;
  margin: auto 0 0;
  padding: clamp(27px, 4vw, 65px);
  z-index: 2;
  max-width: 650px;
}
.auth-copy h2 {
  font-size: clamp(36px, 4.15vw, 67px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -2.7px;
  max-width: 420px;
}
.auth-copy p {
  margin-top: 15px;
  color: #cccee5;
  max-width: 400px;
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.6;
}
.auth-art {
  position: absolute;
  left: -8%;
  top: 9%;
  width: 114%;
  height: 58%;
  pointer-events: none;
}
.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
}
.auth-form {
  width: 100%;
  max-width: 370px;
}
.auth-form .brand {
  display: none;
}
.auth-form h1 {
  font-size: 33px;
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.auth-form > p {
  font-size: 13px;
  color: var(--muted);
  margin: 7px 0 25px;
}
.auth-form .field {
  margin-bottom: 16px;
}
.auth-form .field input {
  min-height: 43px;
}
.auth-form > .btn {
  margin-top: 5px;
  width: 100%;
  min-height: 41px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 42px;
}
.password-wrap .icon-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}
.auth-doc {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 19px;
  font-size: 12px;
  color: var(--muted);
}
.auth-doc .ico {
  width: 14px;
  height: 14px;
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
  gap: 16px;
  align-items: start;
}
.guide-content {
  padding: 4px 21px 19px;
}
.guide-content p,
.guide-content li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.guide-content ol {
  padding-left: 20px;
  margin: 3px 0 15px;
}
.guide-content li + li {
  margin-top: 8px;
}
.guide-content .btn {
  margin-top: 5px;
}
body.dialog-open {
  overflow: hidden;
}
@media (max-width: 780px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar-open .sidebar {
    visibility: visible;
  }
}
@media (min-width: 1550px) {
  :root {
    --sidebar: 246px;
  }
  .main {
    padding-top: 34px;
  }
  .portfolio {
    min-height: 195px;
  }
  .metrics {
    gap: 17px;
    margin: 19px 0;
  }
  .metric {
    padding: 19px;
  }
  .chart {
    height: 196px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 194px;
  }
  .brand {
    padding-inline: 17px;
    gap: 8px;
  }
  .brand strong {
    font-size: 18px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr);
  }
  .metric {
    padding: 13px;
  }
  .metric .tile {
    width: 29px;
    height: 29px;
  }
  .main,
  .topbar {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 980px) {
  .metrics {
    gap: 9px;
  }
  .metric {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
  }
  .metric-title {
    width: 100%;
  }
  .metric .tile {
    width: 26px;
    height: 26px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(205px, 1fr);
    gap: 12px;
  }
  .panel-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .summary-list {
    padding-inline: 15px;
  }
  .summary-time {
    display: none;
  }
  th,
  td {
    padding-inline: 13px;
  }
}
@media (max-width: 780px) {
  :root {
    --sidebar: 218px;
  }
  .sidebar {
    transform: translateX(-104%);
    transition: transform 0.16s ease-in-out;
  }
  .workspace {
    margin: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .mobile-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #191e3490;
    border: 0;
    z-index: 11;
  }
  .sidebar-open .sidebar {
    transform: translateX(0);
  }
  .topbar {
    height: 54px;
  }
  .main {
    padding-top: 21px;
  }
  .breadcrumbs {
    gap: 8px;
  }
  .portfolio-art {
    width: 70%;
  }
  .auth-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }
  .auth-form-wrap {
    padding: 25px;
  }
  .auth-aside .brand {
    padding: 25px;
  }
  .auth-copy h2 {
    font-size: 36px;
  }
}
@media (max-width: 620px) {
  .main,
  .topbar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }
  .page-head .actions {
    align-self: center;
  }
  .page-head h1 {
    font-size: 29px;
  }
  .page-head p {
    font-size: 12px;
  }
  .portfolio {
    min-height: 157px;
  }
  .portfolio-copy {
    padding: 18px;
  }
  .portfolio-art {
    width: 66%;
    right: -7%;
    opacity: 0.9;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 11px 0 14px;
  }
  .metric {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .metric .tile {
    width: 30px;
    height: 30px;
  }
  .dashboard-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    height: 156px;
  }
  .summary-time {
    display: block;
  }
  .topbar .connection {
    font-size: 10px;
  }
  .auth-shell {
    display: block;
  }
  .auth-aside {
    display: none;
  }
  .auth-form-wrap {
    min-height: 100dvh;
    padding: 27px;
  }
  .auth-form .brand {
    display: flex;
    padding: 0;
    margin-bottom: 43px;
  }
  .auth-form .brand img {
    width: 36px;
    height: 36px;
  }
  .auth-form h1 {
    font-size: 29px;
  }
  .modal-layer {
    padding: 10px;
  }
  .modal {
    max-height: calc(100dvh - 20px);
  }
  .modal-title {
    padding: 18px 18px 12px;
  }
  .modal-body {
    padding: 0 18px 17px;
  }
  .filters {
    padding: 12px;
    gap: 6px;
  }
  .filters select {
    max-width: 46%;
  }
  .filters .search {
    flex-basis: 100%;
    max-width: 100%;
  }
  .guide-content,
  .properties {
    padding-inline: 16px;
  }
  .btn {
    min-height: 35px;
    padding: 7px 11px;
  }
  .breadcrumbs > .ico {
    display: none;
  }
}
@media (max-width: 380px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .topbar .connection {
    font-size: 0;
  }
  .portfolio-art {
    opacity: 0.72;
  }
  .page-head .actions {
    width: 100%;
  }
  .property dd {
    max-width: 60%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
