/* Shopping-list filters and offline exports: standalone for Nov 3 legacy build. */
.purchases-export-tools {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid #e5d1c2;
  border-radius: 16px;
  background: #fff9f3;
  color: #68483a;
  min-width: 0;
}
.purchases-tool-label { font-size: 13px; font-weight: 800; }
.purchases-filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.purchases-filter-buttons button {
  min-height: 37px;
  padding: 7px 12px;
  border: 1px solid #e0ccbf;
  border-radius: 12px;
  background: #fff;
  color: #795d4e;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.purchases-filter-buttons button[aria-pressed="true"] {
  background: #825b49; color: #fff;
  border-color: #825b49;
}
.purchases-export-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.purchases-export-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: none;
  border-radius: 11px;
  color: #fff;
  background: #a66f54;
  font: inherit;
  font-weight: 750;
  font-size: 13px;
  cursor: pointer;
}
.purchases-export-buttons button:last-child { background: #68483a; }
.purchases-export-hint, .purchases-export-feedback {
  margin: 0;
  color: #8c7569;
  font-size: 11px;
  line-height: 1.5;
}
.purchases-export-feedback { font-weight: 750; color: #477047; }
.purchases-filter-empty {
  padding: 20px;
  border: 1px solid #e5d1c2;
  border-radius: 14px;
  text-align: center;
  background: #fff9f3;
  color: #8c7569;
}
.purchases-list > .purchase-card[hidden] { display: none !important; }
@media (max-width: 760px) {
  .purchases-filter-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchases-filter-buttons button { font-size: 11px; padding-inline: 6px; }
  .purchases-export-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchases-export-buttons button { font-size: 12px; padding-inline: 8px; }
}
