/* One catalogue, ordered by first publication. Highlights are intentionally static. */
.rbu-sections {
  background: radial-gradient(ellipse at 92% 7%, #bce7dd70, transparent 34%),
    radial-gradient(ellipse at 4% 27%, #d9eade80, transparent 34%), #f4f8f6;
}
.header { box-shadow: 0 5px 24px #143e3426; }
.available-section { padding-block: 28px 16px; }
.catalogue-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 30px; border: 1px solid #97c1b2; border-top: 4px solid #388a73;
  border-radius: 22px; background: linear-gradient(120deg, #e1f1e9, #f8fffc 60%, #d8efeb);
  box-shadow: 0 8px 28px #215f4e12, inset 0 1px 0 #fff;
}
.catalogue-intro .eyebrow { margin-bottom: 8px; font-size: 11px; }
.catalogue-intro h1 { margin-bottom: 10px; font-size: clamp(27px, 3.3vw, 38px); letter-spacing: -.9px; }
.catalogue-intro .compact-intro { margin: 0; font-size: 14px; }
.catalogue-free { margin: 10px 0 0; color: #416957; font-size: 12px; font-weight: 650; }
.catalogue-intro .available-actions { flex: 0 0 auto; flex-direction: column; }
.catalogue-intro .button { min-width: 176px; box-shadow: inset 0 1px 0 #ffffff45, 0 3px 9px #245c4f12; }
.catalogue { padding-block: 10px 36px; }
.catalogue .controls {
  padding: 16px; border: 1px solid #c1d9ce; border-radius: 16px;
  background: #ffffffcf; box-shadow: 0 4px 16px #245c4f09;
}
.catalogue .filter { box-shadow: inset 0 1px 0 #ffffff55; }
.scope-explanation { margin-top: 13px; }
.result-count { margin-block: 12px 20px; }
.apps-stage {
  padding: 24px; margin-bottom: 28px; border: 1px solid #a9cab9;
  border-top: 4px solid #347e67; border-radius: 22px;
  background: linear-gradient(135deg, #edf7f1, #f7fcfa 65%, #e6f4f0);
  box-shadow: 0 10px 28px #234c3e0d, inset 0 1px 0 #fff;
}
.apps-stage-preparacion {
  border-color: #d6cead; border-top-color: #b8a16b;
  background: linear-gradient(135deg, #f5f4eb, #fbfcf7);
}
.apps-stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.apps-stage-heading h2 { font-size: 27px; }
.apps-stage-heading p { margin: 7px 0 0; font-size: 12px; line-height: 1.65; color: #4d6a5e; }
.apps-stage-count {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px;
  border: 1px solid #b5d5c8; border-radius: 12px; background: #fff;
  color: #245c4f; font-size: 16px; font-weight: 800; box-shadow: 0 3px 8px #245c4f0a;
}
.apps-stage .app-grid { align-items: stretch; }
.catalogue .compact-app {
  position: relative; border: 1px solid #a4c8b8; border-radius: 17px;
  background: radial-gradient(ellipse at 94% 0%, #caeee345, transparent 64%), #fff;
  box-shadow: 0 7px 19px #1e584517, inset 0 1px 0 #fff, 0 0 0 3px #ffffff60;
}
.catalogue .compact-app::before {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
  background: linear-gradient(90deg, #7bb8a4, #d5f8e9, #54a899); border-radius: 0 0 6px 6px;
  pointer-events: none;
}
.catalogue .compact-app:hover, .catalogue .compact-app:focus-within {
  border-color: #388c70; box-shadow: 0 9px 24px #1e584527, 0 0 16px #7fc9ae21, inset 0 1px 0 #fff;
}
.catalogue .compact-preparing { border-color: #ccc5a8; background: linear-gradient(140deg, #fff, #fafbf5); }
.catalogue .compact-preparing::before { background: linear-gradient(90deg, #b5a779, #f2e8c6, #c1b68f); }
.catalogue .compact-app-link { display: flex; flex-direction: column; gap: 16px; padding: 23px; min-height: 324px; }
.compact-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.catalogue .compact-icon { flex: none; width: 64px; height: 64px; border: 1px solid #d0e5da; border-radius: 16px; background: #edf6f1; box-shadow: 0 3px 9px #245c4f0d; }
.compact-labels { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }
.compact-lots { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #bad6c9; border-radius: 8px; background: #edf6f0; color: #285946; font-size: 11px; line-height: 1.4; font-weight: 750; white-space: nowrap; }
.compact-labels .beta-badge.beta-badge { align-self: flex-end; margin: 0; padding: 6px 10px; }
.compact-labels .compact-state:not(.beta-badge) { padding: 6px 10px; border-radius: 8px; background: #e1f0e7; font-size: 11px; }
.compact-preparing .compact-state { color: #706243; background: #efecdf; }
.catalogue .compact-copy { flex: 1; width: 100%; }
.catalogue .compact-copy h3 { min-height: 2.7em; margin: 0 0 10px; font-size: 20px; line-height: 1.35; letter-spacing: -.35px; }
.catalogue .compact-description { font-size: 13px; line-height: 1.65; }
.compact-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 13px; border-top: 1px solid #dfebe5; color: #245c4f; font-size: 13px; font-weight: 800; }
.catalogue .compact-arrow { font-size: 23px; }
.compact-app-link:hover .compact-cta { text-decoration: underline; text-underline-offset: 4px; }
.stage-empty { padding: 14px; border: 1px dashed #c1d5c9; border-radius: 12px; color: #4d6a5e; font-size: 13px; line-height: 1.7; background: #ffffff80; }
.catalogue .available-contacts { margin-top: 0; }
.consultation-box, .collection-link { box-shadow: 0 6px 22px #245c4f12, inset 0 1px 0 #ffffff90; }
.consultation-box { border-color: #abcbbc; }
.app-detail-dialog { border-color: #91b8a6; box-shadow: 0 24px 90px #133c3450, 0 0 0 4px #d1eee433; }
.app-detail-dialog .app-scope-badge { margin-block: 0 16px; }
@media (max-width: 850px) {
  .catalogue-intro { flex-direction: column; align-items: stretch; }
  .catalogue-intro .available-actions { flex-direction: row; width: 100%; }
  .catalogue-intro .button { flex: 1; min-width: 0; }
  .apps-stage { padding: 20px; }
  .catalogue .compact-app-link { padding: 20px; }
}
@media (max-width: 640px) {
  .available-section { padding-block: 18px 12px; }
  .catalogue-intro { padding: 22px 20px; gap: 18px; border-radius: 18px; }
  .catalogue-intro .eyebrow { font-size: 10px; }
  .catalogue-intro h1 { font-size: 28px; }
  .catalogue-intro .compact-intro { font-size: 13px; }
  .catalogue-intro .button { font-size: 12px; padding-inline: 10px; }
  .catalogue .controls { padding: 12px; }
  .apps-stage { padding: 16px; border-radius: 18px; margin-bottom: 22px; }
  .apps-stage-heading { margin-bottom: 18px; gap: 10px; }
  .apps-stage-heading h2 { font-size: 23px; }
  .apps-stage-heading p { font-size: 11px; }
  .apps-stage-count { width: 34px; height: 34px; font-size: 14px; }
  .catalogue .compact-app-link { padding: 19px; min-height: 324px; }
  .catalogue .compact-copy h3 { font-size: 19px; }
  .catalogue .compact-icon { width: 58px; height: 58px; }
  .compact-card-top { gap: 10px; }
}
