/* =====================================================
   PÁGINA: DASHBOARD
===================================================== */
.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:start;
}

.dashboard-hero{
  grid-column:1 / -1;
  padding:22px 24px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(420px,.9fr);
  gap:18px;
  align-items:end;
  background:linear-gradient(180deg, #ffffff, #f8fbfd);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow-panel);
}

.dashboard-eyebrow{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:var(--font-card-label);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:10px;
}

.dashboard-hero h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.04em;
  line-height:1.02;
}

.dashboard-hero p{
  margin:10px 0 0;
  max-width:680px;
  color:#64748b;
  font-size:13px;
  line-height:1.6;
}

.dashboard-hero-pills{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.dashboard-pill{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.95);
  min-width:0;
}

.dashboard-pill span{
  display:block;
  color:var(--muted);
  font-size:var(--font-card-label);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}

.dashboard-pill strong{
  display:block;
  font-size:24px;
  letter-spacing:-.03em;
  word-break:break-word;
  line-height:1;
}

.dashboard-goal-card{
  grid-column:1 / -1;
  padding:18px;
  display:grid;
  gap:16px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow-panel);
}

.dashboard-analytics-grid{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:14px;
}

.dashboard-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  padding:18px;
  min-height:218px;
  box-shadow:var(--shadow-card);
  display:grid;
  align-content:start;
  gap:8px;
}

.dashboard-panel .section-header{
  margin-bottom:0;
}

.dashboard-panel .section-title{
  font-size:15px;
  letter-spacing:-.02em;
}

.dashboard-panel .section-subtitle{
  font-size:12px;
}

.dashboard-line-chart{
  min-height:154px;
}

.dashboard-line-chart svg{
  width:100%;
  height:170px;
  display:block;
}

.dashboard-line-chart text{
  font-size:10px;
  fill:#64748b;
  font-weight:700;
}

.dashboard-line-chart .dashboard-chart-value{
  fill:#0f8a72;
  font-size:10px;
  font-weight:900;
}

.dashboard-donut-panel{
  display:grid;
  grid-template-columns:136px 1fr;
  gap:16px;
  align-items:center;
}

.dashboard-donut{
  width:122px;
  height:122px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(#10b981 0 calc(var(--value) * 1%), #dce4ee 0 100%);
}

.dashboard-donut > div{
  width:76px;
  height:76px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  align-content:center;
  box-shadow:inset 0 0 0 1px #edf2f7;
}

.dashboard-donut strong{
  font-size:20px;
  line-height:1;
}

.dashboard-donut span{
  font-size:10px;
  color:#64748b;
  font-weight:800;
}

.dashboard-donut-legend{
  display:grid;
  gap:12px;
  font-size:12px;
  color:#263856;
}

.dashboard-donut-legend span{
  display:flex;
  align-items:center;
  gap:8px;
}

.dashboard-donut-legend strong{
  margin-left:auto;
  text-align:right;
}

.dashboard-donut-legend i{
  width:11px;
  height:11px;
  border-radius:50%;
  display:inline-block;
}

.legend-approved{background:#10b981}
.legend-neutral{background:#cbd5e1}

.dashboard-origin-list{
  display:grid;
  gap:14px;
  padding-top:6px;
}

.dashboard-origin-row{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  font-size:12px;
}

.dashboard-origin-row strong{
  font-size:12px;
  color:#12203a;
}

.dashboard-origin-row em{
  color:#12203a;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}

.dashboard-origin-track{
  height:8px;
  border-radius:999px;
  background:#edf2f7;
  overflow:hidden;
}

.dashboard-origin-track span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#10b981;
}

.commercial-current-result-card{
  grid-column:1 / -1;
  padding:18px;
  display:grid;
  gap:14px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
}

.commercial-result-summary-grid,
.commercial-report-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.commercial-result-summary-card,
.commercial-report-stat{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#fff;
  min-width:0;
}

.commercial-result-summary-card{
  display:flex;
  align-items:center;
  gap:16px;
}

.commercial-result-summary-card small,
.commercial-report-stat small{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}

.commercial-result-summary-card strong,
.commercial-report-stat strong{
  display:block;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.commercial-result-summary-card span,
.commercial-report-stat span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.commercial-result-summary-card.is-won,
.commercial-report-stat.is-won{
  background:linear-gradient(180deg,#fafffd,#f1fffa);
  border-color:#c7f2df;
}

.commercial-result-summary-card.is-won strong,
.commercial-report-stat.is-won strong{
  color:#047857;
}

.commercial-result-summary-card.is-lost,
.commercial-report-stat.is-lost{
  background:linear-gradient(180deg,#fffafa,#fff5f5);
  border-color:#ffd5d5;
}

.commercial-result-summary-card.is-lost strong,
.commercial-report-stat.is-lost strong{
  color:#e11d48;
}

.commercial-result-icon{
  width:56px;
  height:56px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 56px;
  background:#dcfce7;
  color:#0f9f6e;
  font-size:26px;
  font-weight:900;
}

.commercial-result-summary-card.is-lost .commercial-result-icon{
  background:#ffe2e2;
  color:#ef4444;
}

.commercial-result-icon.is-blue{
  background:#eaf2ff;
  color:#2563eb;
}

.commercial-result-icon.is-slate{
  background:#eef3f8;
  color:#334155;
}

.commercial-report-page{
  grid-column:1 / -1;
  display:grid;
  gap:16px;
}

.commercial-report-page.hidden{
  display:none;
}

.commercial-report-filters{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(140px,1fr)) minmax(120px,.8fr) minmax(120px,.8fr) auto auto;
  gap:10px;
  align-items:center;
}

.commercial-report-filters .btn{
  min-height:42px;
  white-space:nowrap;
}

.commercial-report-table-wrap{
  margin-top:0;
}

.commercial-report-table .proposal-stage-badge{
  white-space:nowrap;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
}

.metric{
  padding:16px;
  min-height:110px;
  display:grid;
  align-content:start;
  gap:6px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow-card);
}

.metric small{color:var(--muted);display:block;font-weight:700;font-size:var(--font-card-label);text-transform:uppercase;letter-spacing:.04em}
.metric strong{font-size:var(--font-card-value);letter-spacing:-.03em;display:block;word-break:break-word;line-height:1}
.metric span{display:block;color:var(--muted);font-size:var(--font-card-desc);line-height:1.45}
.metric-badge{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--primary-soft);
  color:var(--primary);
  display:grid;
  place-items:center;
  margin-left:auto;
  box-shadow:inset 0 0 0 1px rgba(15,118,110,.08);
}

.metric-badge svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.metric-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}

.metric-primary{
  background:linear-gradient(180deg, #ffffff, #f4fbf8);
  border-color:#d9efe6;
}

.metric-primary .metric-badge{
  background:#e8faf2;
  color:#0f766e;
}

.metric-accent{
  background:linear-gradient(180deg, #ffffff, #f3f8ff);
  border-color:#dbe8fb;
}

.metric-accent .metric-badge{
  background:#edf4ff;
  color:#2563eb;
}

.metric-soft{
  background:linear-gradient(180deg, #ffffff, #fffaf1);
  border-color:#f4e7c8;
}

.metric-soft .metric-badge{
  background:#fff3da;
  color:#d97706;
}

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

.goal-stat{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:linear-gradient(180deg, #ffffff, #f8fbfd);
}

.goal-stat small{
  display:block;
  color:var(--muted);
  font-size:var(--font-card-label);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}

.goal-stat strong{
  display:block;
  font-size:var(--font-card-value);
  letter-spacing:-.02em;
  line-height:1;
}

.config-sections{
  display:grid;
  gap:18px;
}

.config-grid{
  display:grid;
  gap:14px;
}

.config-panel{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
  display:grid;
  gap:14px;
}

.config-product-layout{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  gap:14px;
}

.config-window{
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f8fbfd;
}

.config-window-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.config-window-head strong{
  font-size:15px;
  letter-spacing:-.02em;
}

.config-window-head span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.config-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.config-panel-head h3{
  margin:0;
  font-size:18px;
  letter-spacing:-.02em;
}

.config-panel-head p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.config-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.config-editor-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.config-upload-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.config-upload-preview{
  width:84px;
  height:84px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

.config-upload-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.config-upload-placeholder{
  color:#94a3b8;
  font-size:11px;
  font-weight:700;
}

.config-upload-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-left:auto;
}

.config-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-left:auto;
}

.config-list{
  display:grid;
  gap:10px;
  align-content:start;
}

.config-panel-users .config-list{
  max-height:360px;
  overflow:auto;
}

.config-list-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.config-list-item strong{
  display:block;
  font-size:14px;
}

.config-list-item span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.config-list-meta{
  font-weight:800;
  font-size:13px;
  color:#334155;
  white-space:nowrap;
}

.config-list-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.btn-sm{
  min-height:34px;
  padding:8px 12px;
  font-size:12px;
  border-radius:10px;
}

.goal-progress-wrap{
  display:grid;
  gap:8px;
}

.goal-visual-area{
  display:grid;
  gap:16px;
}

.goal-progress-labels{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

.goal-progress-track,
.goal-chart-track{
  width:100%;
  border-radius:999px;
  background:#e7eef4;
  overflow:hidden;
  position:relative;
}

.goal-progress-track{
  height:14px;
}

.goal-progress-bar{
  height:100%;
  width:0%;
  min-width:0;
  border-radius:inherit;
  background:linear-gradient(90deg, #0f766e, #10b981);
  transition:width .35s ease;
}

.goal-chart{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.goal-chart-row{
  display:grid;
  gap:8px;
}

.goal-chart-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
}

.goal-chart-head strong{
  color:var(--text);
  font-size:13px;
}

.goal-chart-track{
  height:12px;
}

.goal-chart-bar{
  height:100%;
  width:0%;
  border-radius:inherit;
  transition:width .35s ease;
}

.goal-chart-bar.target{
  background:linear-gradient(90deg, #94a3b8, #64748b);
}

.goal-chart-bar.approved{
  background:linear-gradient(90deg, #2563eb, #10b981);
}

.goal-empty-state{
  display:flex;
  align-items:center;
  gap:14px;
  border:1px dashed #cfdbe7;
  border-radius:18px;
  padding:18px;
  background:linear-gradient(180deg, #f8fbff, #fdfefe);
}

.goal-empty-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:#eef4fb;
  color:#64748b;
  display:grid;
  place-items:center;
  flex:0 0 48px;
}

.goal-empty-icon svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.goal-empty-state strong{
  display:block;
  margin-bottom:4px;
  font-size:15px;
  letter-spacing:-.02em;
}

.goal-empty-state p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* =====================================================
   DASHBOARD GERENCIAL
===================================================== */
.manager-dashboard{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.manager-overview{
  grid-column:1 / -1;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
}

.manager-chart-card{
  padding:18px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
}

.manager-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.manager-kpi{
  border:none;
  border-radius:18px;
  padding:22px 20px;
  background:linear-gradient(180deg, #ffffff, #f8fbfd);
  display:flex;
  align-items:center;
  gap:18px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
  border:1px solid #e5edf5;
  min-height:118px;
}

.manager-kpi-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:28px;
  font-weight:700;
  background:#2563eb;
  box-shadow:0 12px 24px rgba(37,99,235,.18);
}

.manager-kpi-icon.is-green{background:#059669;box-shadow:0 12px 24px rgba(5,150,105,.18)}
.manager-kpi-icon.is-purple{background:#7c3aed;box-shadow:0 12px 24px rgba(124,58,237,.18)}
.manager-kpi-icon.is-orange{background:#f59e0b;box-shadow:0 12px 24px rgba(245,158,11,.18)}

.manager-kpi small,
.seller-card small{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.manager-kpi strong{
  display:block;
  font-size:24px;
  letter-spacing:-.03em;
}

.manager-kpi span{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.seller-bars{
  display:grid;
  gap:18px;
}

.seller-bar-row{
  display:grid;
  gap:8px;
}

.seller-bar-line{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:14px;
  align-items:center;
}

.seller-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  object-fit:cover;
  background:#dbeafe;
  color:#075bd8;
  font-weight:800;
  font-size:13px;
}

.seller-bar-content{
  min-width:0;
}

.seller-bar-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  flex-wrap:wrap;
}

.seller-bar-head strong{
  font-size:14px;
  letter-spacing:-.01em;
}

.seller-bar-head span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}

.seller-bar-track{
  width:100%;
  height:16px;
  border-radius:999px;
  background:#e7eef4;
  overflow:hidden;
}

.seller-bar-fill{
  height:100%;
  min-width:0;
  border-radius:inherit;
  background:linear-gradient(90deg, #2563eb, #10b981);
  transition:width .35s ease;
}

.proposal-bar-fill{
  background:linear-gradient(90deg, #0f8a72, #94a3b8);
}

.manager-seller-grid{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.seller-card{
  padding:20px;
  display:grid;
  gap:14px;
  background:linear-gradient(180deg, #ffffff, #f6fafb);
  border-radius:16px;
}

.seller-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.seller-card-person{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.seller-card-avatar{
  width:44px;
  height:44px;
  flex:0 0 44px;
}

.seller-card-top h3{
  margin:6px 0 0;
  font-size:18px;
  letter-spacing:-.02em;
}

.seller-card-badge{
  min-width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ecfdf5;
  color:#0f766e;
  font-weight:800;
}

.seller-card-side{
  display:grid;
  justify-items:end;
  gap:8px;
}

.seller-rank-trophy{
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.seller-rank-trophy.is-gold{
  background:#fff7d6;
  color:#a16207;
  box-shadow:inset 0 0 0 1px #facc15;
}

.seller-rank-trophy.is-silver{
  background:#f1f5f9;
  color:#475569;
  box-shadow:inset 0 0 0 1px #cbd5e1;
}

.seller-rank-trophy.is-bronze{
  background:#fff1e7;
  color:#9a3412;
  box-shadow:inset 0 0 0 1px #fdba74;
}

.seller-card-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.seller-card-stats > div + div{
  border-left:1px solid #dbe4ee;
  padding-left:18px;
}

.seller-card-stats span{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
}

.seller-card-stats strong{
  display:block;
  font-size:20px;
  letter-spacing:-.02em;
}

.seller-card-stats em{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:11px;
  font-style:normal;
  line-height:1.35;
}

@media (max-width:1540px){
  .dashboard-grid,
  .manager-dashboard{
    gap:12px;
  }

  .dashboard-grid,
  .dashboard-analytics-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .dashboard-hero,
  .dashboard-goal-card,
  .dashboard-panel,
  .manager-chart-card{
    padding:16px;
  }

  .dashboard-analytics-grid,
  .manager-kpis,
  .manager-seller-grid,
  .goal-grid,
  .commercial-result-summary-grid,
  .commercial-report-summary{
    gap:10px;
  }

  .manager-kpis,
  .commercial-result-summary-grid,
  .commercial-report-summary,
  .goal-grid,
  .seller-card-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .commercial-report-filters{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .manager-dashboard{
    grid-template-columns:1fr;
  }

  .manager-seller-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .manager-kpi{
    min-height:96px;
    padding:16px 14px;
    gap:12px;
    border-radius:16px;
  }

  .manager-kpi-icon{
    width:48px;
    height:48px;
    flex-basis:48px;
    font-size:23px;
  }

  .manager-kpi strong{
    font-size:21px;
  }

  .manager-kpi span{
    font-size:11px;
    line-height:1.35;
  }

  .manager-chart-card{
    min-width:0;
  }

  .seller-bar-line{
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
  }

  .seller-avatar{
    width:42px;
    height:42px;
  }
}

@media (max-width:1380px){
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .commercial-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:1180px){
  .dashboard-hero{grid-template-columns:1fr}
  .dashboard-hero-pills{grid-template-columns:repeat(3,minmax(0,1fr))}
  .goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .manager-dashboard{grid-template-columns:1fr}
  .seller-card-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .commercial-result-summary-grid,
  .commercial-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .manager-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .manager-seller-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .config-product-layout{grid-template-columns:1fr}
  .config-editor-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width:960px){
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-analytics-grid{grid-template-columns:1fr}
  .dashboard-donut-panel{grid-template-columns:1fr}
  .dashboard-hero-pills{grid-template-columns:1fr}
  .goal-chart{grid-template-columns:1fr}
  .commercial-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:640px){
  .dashboard-grid{grid-template-columns:1fr}
  .dashboard-analytics-grid{grid-template-columns:1fr}
  .dashboard-hero{padding:18px}
  .dashboard-origin-row{grid-template-columns:1fr}
  .goal-grid{grid-template-columns:1fr}
  .commercial-result-summary-grid,
  .commercial-report-summary,
  .commercial-report-filters{grid-template-columns:1fr}
  .manager-kpis{grid-template-columns:1fr}
  .manager-seller-grid{grid-template-columns:1fr}
  .seller-bar-line{grid-template-columns:1fr}
  .seller-card-stats{grid-template-columns:1fr}
  .seller-card-stats > div + div{border-left:0;padding-left:0}
  .config-list-item{align-items:flex-start;flex-direction:column}
  .config-list-meta{white-space:normal}
  .config-list-actions{width:100%;justify-content:space-between}
  .config-editor-grid{grid-template-columns:1fr}
  .config-upload-row{align-items:flex-start;flex-direction:column}
  .config-upload-actions{margin-left:0;width:100%}
  .config-actions{margin-left:0;width:100%}
  .config-upload-actions .btn,
  .config-actions .btn{flex:1 1 100%}
}
