.ecusoft-mod-catalog{--ecm-red:#e31e24;--ecm-card:#f2f2f2;--ecm-ink:#111;--ecm-muted:#667085;display:grid;grid-template-columns:repeat(var(--ecm-cols,4),minmax(0,1fr));gap:8px;font-family:inherit;color:var(--ecm-ink)}
.ecusoft-mod-catalog[data-columns="1"]{--ecm-cols:1}.ecusoft-mod-catalog[data-columns="2"]{--ecm-cols:2}.ecusoft-mod-catalog[data-columns="3"]{--ecm-cols:3}.ecusoft-mod-catalog[data-columns="4"]{--ecm-cols:4}
.ecusoft-mod-card{appearance:none;border:0;background:var(--ecm-card);border-radius:15px;padding:13px 12px 12px;min-height:96px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;cursor:pointer;color:inherit;transition:background .15s ease,transform .15s ease;width:100%;font-family:inherit}.ecusoft-mod-card:hover{background:#eaeaea;transform:translateY(-1px)}
.ecusoft-mod-icon{color:var(--ecm-red);display:block;width:21px;height:21px;margin-bottom:1px}.ecusoft-mod-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ecusoft-mod-emoji{font-size:20px;line-height:21px}.ecusoft-mod-title{font-size:16px;line-height:1.3;font-weight:600;color:#111}.ecusoft-mod-short{font-size:14px;line-height:1.45;color:var(--ecm-muted);font-weight:400}.ecusoft-mod-tag{font-size:11px;color:#777;text-transform:uppercase;letter-spacing:.04em}
.ecusoft-mod-modal{display:none;position:fixed;inset:0;z-index:999999}.ecusoft-mod-modal.is-open{display:flex;align-items:center;justify-content:center;padding:18px}.ecusoft-mod-backdrop{position:absolute;inset:0;background:rgba(20,20,20,.48)}.ecusoft-mod-dialog{position:relative;background:#fff;color:#171717;border-radius:16px;max-width:650px;width:100%;max-height:min(85vh,800px);overflow:auto;padding:28px 26px 24px;box-shadow:0 18px 60px rgba(0,0,0,.18)}.ecusoft-mod-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size:30px;line-height:1;color:#555;cursor:pointer}.ecusoft-mod-dialog h2{font-size:24px;line-height:1.25;margin:8px 0 14px;color:#111}.ecusoft-mod-content{font-size:15px;line-height:1.7;color:#444}.ecusoft-mod-content p:first-child{margin-top:0}.ecusoft-mod-cta{display:inline-block;margin-top:18px;background:#e31e24;color:#fff!important;text-decoration:none!important;border-radius:8px;padding:12px 18px;font-size:13px;font-weight:700;letter-spacing:.02em}.ecusoft-mod-cta:hover{background:#b7191e;color:#fff!important}.ecusoft-mod-empty{color:#666;padding:12px}
@media(max-width:900px){.ecusoft-mod-catalog[data-columns="4"],.ecusoft-mod-catalog[data-columns="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ecusoft-mod-catalog[data-columns="1"],.ecusoft-mod-catalog[data-columns="2"],.ecusoft-mod-catalog[data-columns="3"],.ecusoft-mod-catalog[data-columns="4"]{grid-template-columns:1fr}.ecusoft-mod-card{min-height:90px}.ecusoft-mod-dialog{padding:24px 18px 20px}.ecusoft-mod-dialog h2{font-size:21px}}

/* Desktop: widen the catalog area so 4 columns retain the previous card width */
@media(min-width:901px){.ecusoft-mod-catalog[data-columns="4"]{width:133.333%;max-width:none;margin-left:-16.6667%;}}
