/* CSV export dialog (shared/_csv_export_dialog): Supply Plan and Forecast by SKU.
   Global so every page with the dialog styles it the same way. */
.csv-export-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.csv-export-backdrop[hidden] { display: none; }
.csv-export-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  width: 400px;
  max-width: 92vw;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.csv-export-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.csv-export-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.csv-export-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.csv-export-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 2px;
}
.csv-export-close:hover { color: var(--ink); }
.csv-export-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.csv-export-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  transition: all 0.15s;
}
.csv-export-option:hover {
  border-color: var(--border-hover);
  background: var(--bg);
}
.csv-export-option-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.csv-export-option input[type="radio"] { margin-top: 2px; flex-shrink: 0; }

/* Group labels + option checkboxes (Supply Plan's weekly columns) */
.csv-export-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 14px 0 6px;
}
.csv-export-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.csv-export-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.csv-export-submit {
  width: 100%;
  margin-top: 16px;
}
