/* SheetStudio v2 — Dashboards, Cross-Sheet Analytics & Column Format Editor Styles
 * Supports Dark & Light themes, full Arabic RTL & English LTR logical layout.
 */

.dash-sheet-pill {
  font-size: 11px;
  line-height: 1;
  opacity: 0.88;
  flex-shrink: 0;
}

/* =========================================================
   1. COLUMN FORMAT & DATA TYPE EDITOR MODAL
   ========================================================= */

.cf-modal-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-col-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.cf-col-banner-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
}

.cf-col-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

.cf-section {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}

.cf-sub-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cf-type-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-align: start;
}

.cf-type-card:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-hover);
}

.cf-type-card.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.14);
}

.cf-type-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.cf-type-card.active .cf-type-badge {
  background: rgba(16, 185, 129, 0.22);
  color: var(--accent);
}

.cf-type-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cf-preset-chip {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.cf-preset-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.cf-preset-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.cf-preview-section {
  background: var(--bg-subtle);
  border-style: dashed;
  border-color: rgba(16, 185, 129, 0.36);
}

.cf-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-excel-fmt-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cf-code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

.cf-preview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cf-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.cf-stat-pill.ok {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.cf-stat-pill.warn {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.38);
  color: #f59e0b;
}

.cf-preview-table-wrap {
  max-height: 210px;
  overflow-y: auto;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.cf-preview-table th,
.cf-preview-table td {
  padding: 7px 10px !important;
  font-size: 12px !important;
}

.cf-raw-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cf-after-val {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cf-failed-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-failed-title {
  font-size: 12px;
  font-weight: 800;
  color: #f59e0b;
}

.cf-failed-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
}

.cf-failed-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* =========================================================
   2. CROSS-SHEET STATISTICS & ANALYTICS VIEW
   ========================================================= */

.ca-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: stretch;
}

.ca-health-card {
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ca-health-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ca-gauge-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ca-gauge-svg {
  transform: rotate(-90deg);
}

.ca-gauge-bg {
  fill: none;
  stroke: var(--surface-hover);
  stroke-width: 10;
}

.ca-gauge-fg {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ca-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.ca-gauge-num {
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ca-gauge-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-faint);
}

.ca-breakdown-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ca-breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ca-breakdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.ca-breakdown-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--text);
}

.ca-breakdown-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ca-breakdown-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.45s ease;
}

.ca-right-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ca-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ca-overview-chart-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ca-chart-tabs {
  flex-wrap: wrap;
}

.ca-chart-tabs .segmented-btn {
  height: 30px;
  padding: 0 11px;
  font-size: 12px;
}

.ca-insights-card h3,
.card-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ca-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 10px;
}

.ca-insight-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-inline-start: 3.5px solid var(--blue);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ca-insight-item.positive { border-inline-start-color: #10b981; }
.ca-insight-item.warning { border-inline-start-color: #f59e0b; }
.ca-insight-item.critical { border-inline-start-color: #ef4444; }
.ca-insight-item.info { border-inline-start-color: #3b82f6; }

.ca-insight-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.ca-insight-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.ca-sev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
}

.ca-sev-dot.positive { background: #10b981; }
.ca-sev-dot.warning { background: #f59e0b; }
.ca-sev-dot.critical { background: #ef4444; }

.ca-cat-tag {
  margin-inline-start: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-faint);
}

.ca-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 12px;
}

.ca-rel-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: border-color var(--transition), transform var(--transition);
}

.ca-rel-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.ca-rel-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.ca-rel-endpoint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ca-rel-sheet {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-rel-col {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-rel-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ca-card-badge {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ca-rel-arrow {
  color: var(--text-faint);
  display: inline-flex;
}

.ca-rel-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ca-orphan-warn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f59e0b;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ca-orphan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ca-rel-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.ca-shared-cols-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ca-sub-heading {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

.ca-shared-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ca-shared-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
}

.ca-sheet-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ca-sheet-filter-pill {
  padding: 4px 9px !important;
  font-size: 11.5px !important;
}

.ca-comparator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
}

.ca-comparator-builder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ca-metric-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ca-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px auto;
  gap: 6px;
  align-items: center;
}

.ca-builder-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ca-metric-summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.ca-metric-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.ca-metric-lbl {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-comparator-chart-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}

/* =========================================================
   3. SMART SINGLE-SHEET INTERACTIVE DASHBOARD
   ========================================================= */

.sd-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-action-bar {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sd-counter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sd-counter-pill {
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.sd-ratio-track {
  width: 96px;
  height: 7px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.sd-ratio-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  transition: width 0.3s ease;
}

.sd-action-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.sd-slicers-card {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-slicers-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sd-search-box {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}

.sd-range-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sd-range-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 8px;
}

.sd-range-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.sd-mini-input {
  height: 30px !important;
  min-height: 30px !important;
  width: 132px !important;
  font-size: 12px !important;
  padding: 0 8px !important;
  border-radius: 7px !important;
}

.sd-num-input {
  width: 105px !important;
}

.sd-category-slicers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-slicer-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sd-slicer-col-name {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 82px;
}

.sd-slicer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.sd-slicer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.sd-slicer-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-hover);
}

.sd-slicer-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.28);
}

.sd-pill-cnt {
  font-size: 10.5px;
  font-weight: 800;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  font-variant-numeric: tabular-nums;
}

.sd-slicer-pill.active .sd-pill-cnt {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Tone-coded Smart KPI Cards */
.sd-kpi-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.sd-kpi-card.tone-emerald { border-top-color: #10b981; }
.sd-kpi-card.tone-blue { border-top-color: #3b82f6; }
.sd-kpi-card.tone-purple { border-top-color: #8b5cf6; }
.sd-kpi-card.tone-amber { border-top-color: #f59e0b; }
.sd-kpi-card.tone-rose { border-top-color: #f43f5e; }
.sd-kpi-card.tone-cyan { border-top-color: #06b6d4; }

.sd-insights-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-insights-head {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sd-insights-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 9px;
}

.sd-insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3.5px solid var(--blue);
  border-radius: 11px;
  padding: 10px 12px;
  text-align: start;
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition);
}

.sd-insight-card.positive { border-inline-start-color: #10b981; }
.sd-insight-card.warning { border-inline-start-color: #f59e0b; }
.sd-insight-card.critical { border-inline-start-color: #ef4444; }
.sd-insight-card.info { border-inline-start-color: #3b82f6; }

.sd-insight-card.clickable {
  cursor: pointer;
}

.sd-insight-card.clickable:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.sd-insight-card:disabled {
  cursor: default;
  opacity: 1;
}

.sd-insight-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.sd-insight-cta {
  margin-inline-start: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.sd-insight-card p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.sd-charts-header-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sd-charts-header-tip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sd-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sd-widget-card {
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.sd-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sd-widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}

.sd-widget-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.sd-xfilter-badge {
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 8px;
  cursor: pointer;
}

.sd-widget-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.sd-widget-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.sd-widget-controls .select-sm {
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  font-size: 11.5px;
  max-width: 155px;
}

.sd-widget-chart {
  height: 295px;
}

.sd-saved-success-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sd-saved-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 1120px) {
  .ca-hero-grid,
  .ca-comparator-layout,
  .sd-charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cf-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ca-metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .sd-mini-input {
    width: 118px !important;
  }
  .sd-widget-controls .select-sm {
    max-width: 100%;
    flex: 1 1 120px;
  }
}
