.srr-app {
  background: var(--hs-white, #fff);
  border: 1px solid var(--hs-border, #e4e4e7);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.05);
  max-width: 100%;
  overflow-x: hidden;
}
.srr-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.srr-presets-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hs-muted, #52525b);
}
.srr-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}
.srr-card {
  background: var(--hs-bg, #f8f8f8);
  border: 1px solid var(--hs-border, #e4e4e7);
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}
.srr-field {
  margin-bottom: 12px;
}
.srr-field label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--hs-ink, #18181b);
  margin-bottom: 5px;
}
.srr-field label span {
  color: var(--hs-indigo, #4338ca);
}
.srr-input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--hs-border, #e4e4e7);
  border-radius: 8px;
  background: #fff;
  color: var(--hs-ink, #18181b);
  font-size: 0.92rem;
  font-family: var(--hs-body, system-ui, sans-serif);
}
.srr-range {
  width: 100%;
  accent-color: var(--hs-indigo, #4338ca);
  margin-top: 5px;
}
.srr-row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.srr-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.srr-kpi {
  background: #fff;
  border: 1px solid var(--hs-border, #e4e4e7);
  border-radius: 10px;
  padding: 12px;
}
.srr-kpi.is-accent {
  background: var(--hs-lavender, #e1e7fd);
  border-color: var(--hs-indigo, #4338ca);
}
.srr-kpi small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hs-muted, #52525b);
}
.srr-kpi strong {
  display: block;
  font-family: var(--hs-head, system-ui, sans-serif);
  font-size: 1.28rem;
  color: var(--hs-ink, #18181b);
  margin-top: 2px;
}
.srr-kpi.is-accent strong {
  color: var(--hs-indigo, #4338ca);
}
.srr-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--hs-border, #e4e4e7);
  border-radius: 10px;
  margin-bottom: 14px;
}
.srr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.srr-table th, .srr-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--hs-border, #e4e4e7);
  text-align: left;
  white-space: nowrap;
}
.srr-table th:nth-child(n+2), .srr-table td:nth-child(n+2) {
  text-align: right;
}
.srr-table tr:last-child td {
  border-bottom: none;
  font-weight: 800;
  background: var(--hs-bg, #f8f8f8);
}
.srr-note {
  background: #fff;
  border: 1px solid var(--hs-border, #e4e4e7);
  border-left: 4px solid var(--hs-indigo, #4338ca);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.84rem;
  color: var(--hs-muted, #52525b);
  margin-bottom: 12px;
}
.srr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.srr-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hs-ok-ink, #065f46);
  min-height: 18px;
  margin-top: 6px;
}
@media (max-width: 820px) {
  .srr-app { padding: 14px; }
  .srr-grid { grid-template-columns: 1fr; }
  .srr-row2, .srr-kpis { grid-template-columns: 1fr; }
}