.ency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;margin-block:20px}.ency-card{border:1px solid #c8ae76;border-radius:16px;background:#fffaf0;overflow:hidden}.ency-card a{display:flex;flex-direction:column;height:100%;padding:16px;text-decoration:none;color:inherit}.ency-card img{width:100%;height:180px;object-fit:contain;display:block;background:transparent}.ency-card h3{font-size:1.05rem;margin-block:12px 6px}.ency-card p{font-size:.9rem;line-height:1.8;margin:0}.ency-card a:hover{background:#f2e8cd}.ency-card a:focus-visible,.ency-filter :focus-visible,.ency-pager button:focus-visible{outline:3px solid #a6690c;outline-offset:3px}.ency-table{max-width:100%;overflow:auto;margin-block:18px;border:1px solid #d6c5a1;border-radius:12px}.ency-table table{border-collapse:collapse;width:100%;font-size:.9rem;line-height:1.7}.ency-table td,.ency-table th{padding:10px 12px;border-bottom:1px solid #dfd1b6;text-align:right;vertical-align:top}.ency-table thead{background:#184e3e;color:#fff6d9}.ency-table th{font-weight:700}.ency-table caption{padding:12px;text-align:right;color:#173e34;font-weight:700}.ency-levels{margin-block:20px;border:1px solid #c8ae76;border-radius:12px;padding:8px 14px}.ency-levels summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;font-weight:700}.ency-levels .ency-table table{min-width:820px}.ency-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}.ency-stages figure{margin:0}.ency-stages img{height:230px;object-fit:contain;background:transparent}.ency-stages figcaption{font-weight:700;text-align:center}.ency-unit-art{max-width:360px;margin-inline:auto}.ency-unit-art img{width:100%;max-height:400px;object-fit:contain;background:transparent}.ency-resource-art{max-width:130px;margin-inline:auto}.ency-filter{display:grid;grid-template-columns:minmax(200px,2fr) 1fr 1fr auto;gap:12px;align-items:end}.ency-filter label{display:grid;gap:6px;font-weight:700}.ency-filter input,.ency-filter select,.ency-filter button,.ency-pager button{min-height:46px;font:inherit;border:1px solid #b79a5f;border-radius:10px;padding:8px 12px;background:#fffaf0;color:#173f35;box-sizing:border-box;width:100%}.ency-filter button,.ency-pager button{background:#efd38a;cursor:pointer}.ency-pager{display:flex;align-items:center;justify-content:center;gap:14px}.ency-pager button{width:auto;min-width:88px}.ency-pager button:disabled{opacity:.55;cursor:default}[data-catalog-status]{min-height:2em}@media(max-width:760px){.ency-filter{grid-template-columns:1fr 1fr}.ency-filter label:first-child{grid-column:1/-1}.ency-filter button{grid-column:1/-1}.ency-table td,.ency-table th{padding:8px}.ency-card img{height:160px}.ency-stages{grid-template-columns:1fr}.ency-stages img{height:260px}}@media print{.ency-filter,.ency-pager{display:none}.ency-levels{border:0}.ency-table{overflow:visible}.ency-stages{grid-template-columns:repeat(3,1fr)}.ency-card{break-inside:avoid}}

@media(max-width:850px){.ency-table table{display:table;min-width:400px}.ency-table thead{position:static;width:auto;height:auto;overflow:visible;clip:auto;display:table-header-group}.ency-table tbody{display:table-row-group}.ency-table tr{display:table-row;padding:0}.ency-table td,.ency-table th{display:table-cell;padding:10px 12px}.ency-table td::before{content:none}}
.ency-table table{display:table}.ency-table thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip:auto}.ency-table tbody{display:table-row-group}.ency-table tr{display:table-row;padding:0}.ency-table td,.ency-table th{display:table-cell}.ency-table td::before{content:none}
