.feasts-category-edit[hidden] {
  display: none !important;
}
.feasts-category-edit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  margin: 6px 0;
  border: 1px solid #cbd9d0;
  border-radius: 8px;
  color: #173b32;
  background: #f5f8f5;
  text-decoration: none;
}
.feasts-category-manager {
  max-width: 1200px;
  margin: 24px auto;
  padding: 16px;
  box-sizing: border-box;
}
.feasts-category-manager form {
  padding: 16px;
  border: 1px solid #d4dfd7;
  border-radius: 10px;
  margin: 16px 0;
}
.feasts-category-manager label {
  display: block;
}
.feasts-category-manager input:not([type="checkbox"]):not([type="hidden"]),
.feasts-category-manager textarea,
.feasts-category-manager select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}
.feasts-category-manager button,
.feasts-category-manager summary {
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
}
.feasts-category-manager img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.feasts-category-edit a:focus-visible,
.feasts-category-manager :focus-visible {
  outline: 3px solid #175b49;
  outline-offset: 3px;
}
.feasts-category-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid #d5dfd6;
  border-radius: 10px;
  margin: 20px 0;
}
.feasts-category-selector label {
  font-weight: 600;
}
.feasts-category-selector select {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 240px;
  width: auto;
}
.feasts-category-selector button {
  min-height: 44px;
}
.feasts-category-list {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #d4dfd7;
  border-radius: 12px;
  margin: 16px 0;
}
.feasts-category-list-help {
  padding: 14px 16px;
  margin: 0;
  background: #f4f8f5;
  color: #345047;
  font-size: 14px;
}
.feasts-category-table {
  width: 100%;
  min-width: 740px;
  border: 0;
  border-collapse: collapse;
  margin: 0;
  background: #fff;
  color: #173b32;
  text-align: left;
  font-size: 15px;
}
.feasts-category-table th,
.feasts-category-table td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #e1e9e4;
  vertical-align: middle;
  text-align: left;
}
.feasts-category-table thead th {
  font-weight: 700;
  color: #fff;
  background: #175b49;
  white-space: nowrap;
}
.feasts-category-table tbody th {
  font-weight: 600;
  min-width: 160px;
  overflow-wrap: anywhere;
}
.feasts-category-table tbody tr:last-child > * {
  border-bottom: 0;
}
.feasts-category-table tbody tr:nth-child(even) {
  background: #f8faf8;
}
.feasts-category-table tr.is-hidden > th {
  color: #667970;
}
.feasts-category-table .feasts-category-count {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.feasts-category-table .feasts-category-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 86px;
  padding: 9px 14px;
  border: 1px solid #c7d7cd;
  border-radius: 7px;
  background: #f4f8f5;
  color: #173b32;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.feasts-category-action::-webkit-details-marker {
  display: none;
}
.feasts-category-delete > .feasts-category-action {
  color: #9c3333;
  border-color: #eccfcf;
  background: #fff6f5;
}
.feasts-category-table .feasts-category-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.feasts-category-delete-confirm {
  max-width: 250px;
  min-width: 190px;
  font-size: 13px;
}
.feasts-category-table .feasts-category-delete-confirm form {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #eccfcf;
}
.feasts-category-table .feasts-category-visibility-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  min-height: 44px;
}
.feasts-category-visibility-form label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.feasts-category-manager input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: #175b49;
  vertical-align: middle;
}
.feasts-category-visibility-form[aria-busy="true"] {
  opacity: 0.7;
}
.feasts-category-visibility-form.is-enhanced .feasts-category-visibility-save {
  display: none;
}
.feasts-category-visibility-status {
  font-size: 12px;
  line-height: 1.4;
  max-width: 135px;
  color: #175b49;
}
.feasts-category-visibility-form.has-error .feasts-category-visibility-status {
  color: #a22f2f;
}
.feasts-category-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 600px) {
  .feasts-category-selector label,
  .feasts-category-selector button {
    width: 100%;
  }
  .feasts-category-manager {
    padding: 10px;
  }
  .feasts-category-table th,
  .feasts-category-table td {
    padding: 10px;
  }
}

.feasts-category-visibility-form select {
  min-height: 44px;
  min-width: 190px;
  max-width: 280px;
  padding: 8px 10px;
  border: 1px solid #a8bdb2;
  border-radius: 7px;
  background: #fff;
  color: #19382c;
  font: inherit;
}
.feasts-category-visibility-form select:focus-visible {
  outline: 3px solid #d4a43c;
  outline-offset: 2px;
}
