.hc-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--bg-card, #fff);
  color: var(--text-primary, #222);
  padding: 16px 24px;
  border: 1px solid var(--primary, #d93025);
  border-radius: 12px;
  box-shadow: 0 6px 24px #0003;
  max-width: 90vw;
}
.hc-stock-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, #ddd);
}
.hc-table-wrap {
  overflow: auto;
}
.hc-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.hc-table-wrap td,
.hc-table-wrap th {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid var(--border, #ddd);
}
main > .panel {
  margin-bottom: 20px;
}
.hc-support-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.hc-support {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: min(360px, calc(100vw - 32px));
  z-index: 1000;
  box-shadow: 0 6px 32px #0003;
  max-height: 75vh;
  overflow: auto;
}
.hc-support[hidden] {
  display: none;
}
.hc-support-messages {
  max-height: 240px;
  overflow: auto;
  margin: 16px 0;
}
.hc-support textarea {
  margin-bottom: 12px;
}
main .panel[style*="min-width: 400px"] {
  min-width: min(400px, 100%) !important;
}
.catalog-card-title:focus-visible {
  outline: 2px solid var(--primary);
  border-radius: 4px;
}
@media (max-width: 600px) {
  main .panel > div[style*="display: flex"] {
    flex-wrap: wrap;
  }
  main .panel > div[style*="display:flex"] {
    flex-wrap: wrap;
  }
  main .panel input[type="date"], main .panel select {
    max-width: 100%;
  }
  #acts-page-info {
    white-space: nowrap;
  }
  .hc-support-button {
    bottom: 16px;
    right: 16px;
  }
  .page-header {
    gap: 12px;
    flex-wrap: wrap;
  }
  .page-header > .btn {
    font-size: 12px;
  }
  .catalog-products {
    min-width: 0 !important;
  }
}
