/* Sanimax 4.3.1 Multi-Catalog Library */
.sx43-library{width:100%;max-width:1180px;margin:0 auto;padding:0 18px}
.sx43-library-grid{display:grid;grid-template-columns:repeat(var(--sx43-cols,2),minmax(0,1fr));gap:24px;align-items:stretch}
.sx43-library-card{display:grid;grid-template-columns:minmax(180px,38%) 1fr;min-height:330px;background:#fff;border:1px solid #dbeaf0;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(5,54,80,.08)}
.sx43-library-cover{background:linear-gradient(145deg,#f3f9fb,#e9f3f7);min-height:100%;overflow:hidden;padding:12px}
.sx43-library-cover img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.sx43-library-card-body{padding:28px 26px;display:flex;flex-direction:column;align-items:flex-start}
.sx43-library-card .sx4-kicker{margin:0 0 8px!important;font-size:9px!important;color:#059fc4!important}
.sx43-library-card h2{margin:0!important;color:#05344e;font-size:clamp(22px,2.2vw,31px)!important;line-height:1.04!important;letter-spacing:-.035em}
.sx43-library-summary{margin:13px 0 0;color:#667b86;font-size:13px;line-height:1.55}
.sx43-library-badges{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 0}
.sx43-library-badges span{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#eef9fc;color:#086987;border:1px solid #cdebf2;font-size:9.5px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.sx43-library-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto;padding-top:22px}
.sx43-library-btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 15px;border-radius:8px;background:#069ec2;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800;box-shadow:0 8px 18px rgba(0,143,178,.16);transition:.18s ease}
.sx43-library-btn:hover{transform:translateY(-1px);filter:brightness(.97)}
.sx43-library-btn.outline{background:#fff;color:#07506e!important;border:1px solid #bfdde6;box-shadow:none}
.sx43-library-register{margin:10px 0 0!important;color:#7d9099;font-size:10.5px}.sx43-library-register a{font-weight:800;color:#057da2}
.sx43-library-empty{padding:24px;border:1px dashed #b9d8e2;border-radius:12px;background:#f4fbfd;color:#46626f}
.sx43-catalog-dialog{width:min(96vw,1320px);height:min(92vh,940px);max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:16px;background:#f4f9fb;box-shadow:0 35px 90px rgba(1,33,51,.34);overflow:hidden}
.sx43-catalog-dialog::backdrop{background:rgba(2,29,43,.76);backdrop-filter:blur(3px)}
.sx43-dialog-head{height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 18px 0 22px;background:#fff;border-bottom:1px solid #dbe8ed}
.sx43-dialog-head h2{margin:0!important;font-size:18px!important;line-height:1.2!important;color:#05344e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx43-dialog-head-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}.sx43-dialog-head-actions>a{font-size:11px;font-weight:800;color:#087e9f;text-decoration:none}
.sx43-dialog-close{width:40px;height:40px;border:0;border-radius:50%;background:#edf5f7;color:#05344e;font-size:27px;line-height:1;cursor:pointer}
.sx43-dialog-body{height:calc(100% - 62px);overflow:auto;padding:18px}
.sx43-dialog-iframe{display:block;width:100%;height:100%;min-height:640px;border:0;border-radius:10px;background:#fff}
.sx43-dialog-body .sx42-preview-shell{margin-bottom:0}.sx43-dialog-body .sx42-preview-heading{display:none}
html.sx43-dialog-open{overflow:hidden}
@media(max-width:980px){
  .sx43-library-grid{grid-template-columns:1fr}
  .sx43-library-card{grid-template-columns:240px 1fr}
}
@media(max-width:700px){
  .sx43-library{padding-inline:12px}
  .sx43-library-grid{gap:16px}
  .sx43-library-card{grid-template-columns:1fr;min-height:0;border-radius:15px}
  .sx43-library-cover{height:245px}
  .sx43-library-cover img{object-fit:contain;background:#f2f7f9}
  .sx43-library-card-body{padding:20px 18px}
  .sx43-library-card h2{font-size:24px!important}
  .sx43-library-summary{font-size:12px}
  .sx43-library-actions{width:100%;padding-top:18px}.sx43-library-btn{flex:1 1 145px;min-height:46px}
  .sx43-catalog-dialog{width:100vw;height:100dvh;border-radius:0}
  .sx43-dialog-head{height:56px;padding-inline:12px}.sx43-dialog-head h2{font-size:14px!important}.sx43-dialog-head-actions>a{display:none}
  .sx43-dialog-body{height:calc(100% - 56px);padding:8px}
  .sx43-dialog-iframe{min-height:calc(100dvh - 72px);border-radius:6px}
}
@media(max-width:380px){.sx43-library-cover{height:220px}.sx43-library-btn{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.sx43-library-btn{transition:none}}
