/* RA99 quick list modal + header trigger (home + catalog chrome) */
body.ra99-quick-list-open {
  overflow: hidden;
}
.ra99-quick-list[hidden] {
  display: none !important;
}
.ra99-quick-list {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ra99-quick-list__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.ra99-quick-list__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  padding: 1.25rem 1.25rem 1.5rem;
}
.ra99-quick-list__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.ra99-quick-list__head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.ra99-quick-list__close {
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.ra99-quick-list__hint {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}
.ra99-quick-list__input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  resize: vertical;
  min-height: 140px;
}
.ra99-quick-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.header-actions .ra99-quick-list-open {
  white-space: normal;
  flex-shrink: 0;
  line-height: 1.15;
  text-align: center;
  min-height: 44px;
  max-width: 5.75rem;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ra99-quick-list-open .ql-label--full {
  display: block;
  white-space: pre-line;
}
.ra99-quick-list-open .ql-label--short { display: none; }
@media (max-width: 560px) {
  .ra99-quick-list-open .ql-label--full { display: none; }
  .ra99-quick-list-open .ql-label--short { display: inline; }
  .header-actions .ra99-quick-list-open {
    max-width: none;
    white-space: nowrap;
  }
}
.ra99-quick-list__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.ra99-quick-list__table th,
.ra99-quick-list__table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.45rem 0.35rem;
  text-align: left;
  vertical-align: top;
}
.ra99-quick-list__candidates {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}
.ra99-quick-list__actions .is-busy {
  opacity: 0.7;
  pointer-events: none;
}
.ra99-quick-list__b2b {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #475569;
}
.ra99-quick-list__b2b a {
  font-weight: 600;
  color: var(--primary, #0b4e80);
}
