/* Weekly forecast + supply-projection CSV export menu (shared component).
   Used by the SKU view header and the Product Forecast tab toolbar.
   Loaded globally via the app stylesheet glob. spec/PLAN_forecast_weekly_export.md */

.fx-export {
  position: relative;
  display: inline-block;
}

.fx-export-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink, #1a1a1a);
  background: #fff;
  border: 1px solid var(--border, #e8e6e1);
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

.fx-export-trigger:hover {
  border-color: var(--border-hover, #d4d2cd);
  background: var(--stone-tint, #f5f5f4);
}

.fx-export-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 40;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border, #e8e6e1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.fx-export-menu[hidden] {
  display: none;
}

.fx-export-menu-title {
  display: block;
  padding: 4px 8px 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #6b6b6b);
}

.fx-export-option {
  display: block;
  padding: 7px 8px;
  font-size: 13px;
  color: var(--ink, #1a1a1a);
  text-decoration: none;
  border-radius: 6px;
}

.fx-export-option:hover {
  background: var(--stone-tint, #f5f5f4);
}

/* Right-aligned toolbar wrapper (Product Forecast tab). */
.fx-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
