
.floating-metric {
  position: absolute;
  width: 180px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
}

.floating-metric strong, .floating-metric span { display: block; }
.floating-metric strong { font-size: 28px; font-weight: 900; }
.floating-metric span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.metric-top { top: 22px; left: -24px; }
.metric-bottom { right: -18px; bottom: 28px; }

.public-section, .pricing-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.public-section h2, .pricing-strip h2 {
  margin-top: 10px;
  max-width: 760px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.public-section p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.public-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.public-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.public-grid img { width: 100%; height: 170px; object-fit: cover; display: block; }
.public-grid strong, .public-grid span { display: block; padding: 0 18px; }
.public-grid strong { padding-top: 18px; font-size: 18px; font-weight: 900; }
.public-grid span { padding-top: 8px; padding-bottom: 20px; color: var(--muted); line-height: 1.45; }

.pricing-strip {
  margin-bottom: 56px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  background: #0f172a;
  color: #ffffff;
}

.pricing-strip .eyebrow, .pricing-strip h2 { color: #ffffff; }

.auth-screen {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 36px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.auth-brand { justify-content: center; }

.auth-card {
  width: min(500px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.panel-header { margin-bottom: 22px; }
.panel-header h2 { margin-top: 8px; font-size: 28px; font-weight: 900; letter-spacing: -0.04em; }

.auth-form, .entity-form { display: grid; gap: 16px; }

.export-form {
  margin-top: 18px;
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(160px, 0.7fr)) auto;
  align-items: end;
}

#logsFilterForm {
  margin-top: 8px;
  grid-template-columns: 240px 150px 150px 128px;
  gap: 8px;
}

#logsView {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

#logsView > .execution-panel:first-child {
  align-self: start;
  padding-bottom: 10px !important;
}

#logsFilterForm #logsMessage,
#kpiFilterForm .message {
  grid-column: 1 / -1;
}

#downloadLogsButton {
  width: 128px;
  min-width: 128px;
  padding-inline: 10px;
  white-space: nowrap;
  display: inline-grid;
  place-items: center;
  text-align: center;
}

#kpiFilterForm {
  grid-template-columns: 190px 20px 230px 138px 138px 92px;
  column-gap: 6px;
  row-gap: 8px;
}

#kpiFilterForm > label:nth-of-type(1) { grid-column: 1; }
#kpiFilterForm > label:nth-of-type(2) { grid-column: 3; }
#kpiFilterForm > label:nth-of-type(3) { grid-column: 4; }
