:root{--ag-ink:#172026;--ag-muted:#53616a;--ag-line:#dce3e6;--ag-accent:#0f766e;--ag-surface:#f5f6f7}
.ag-latest,.ag-catalog{color:var(--ag-ink);font-size:16px;line-height:1.75}
.ag-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 24px}
.entry-content .ag-section-head h1{font-size:clamp(23px,3vw,32px);margin:0;border:0;padding:0;line-height:1.4}
.ag-section-head>a{font-size:14px;flex-shrink:0}
.ag-news-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px 32px}
.ag-news-card:first-child{grid-row:span 3}.ag-news-card a{display:grid;grid-template-columns:120px 1fr;gap:18px;text-decoration:none;color:inherit}
.ag-news-card:first-child a{display:block}.ag-news-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:0}
.entry-content .ag-news-card :is(h2,h3){font-size:17px;line-height:1.65;padding:0;margin:5px 0 8px;border:0;background:none;box-shadow:none}
.entry-content .ag-news-card :is(h2,h3):before,.entry-content .ag-news-card :is(h2,h3):after{display:none}
.entry-content .ag-news-card:first-child :is(h2,h3){font-size:24px}.ag-label{font-size:12px;font-weight:700;color:var(--ag-accent)}.ag-news-card time{font-size:12px;color:var(--ag-muted)}
.ag-filters{display:flex;gap:16px;flex-wrap:wrap;background:var(--ag-surface);padding:20px;border-radius:12px}
.ag-filters label{flex:1 1 160px}.ag-catalog input[type=search],.ag-catalog select{display:block;width:100%;min-height:48px;font-size:16px;border:1px solid #aebbc2;border-radius:6px;background:#fff;color:var(--ag-ink);padding:8px;max-width:100%}
.ag-catalog button{min-height:44px;background:var(--ag-accent);color:#fff;border:0;padding:10px 16px;border-radius:6px;font-size:16px;cursor:pointer}
.ag-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 40px}
.ag-product-card{border:1px solid var(--ag-line);padding:16px;border-radius:12px;min-width:0;display:flex;flex-direction:column}
.ag-product-card a{color:inherit;text-decoration:none}.ag-product-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px}
.entry-content .ag-product-card h3{font-size:18px;background:none;border:0;padding:0;margin:12px 0}.ag-product-card p{font-size:14px;margin:8px 0}.ag-product-card label{margin-top:auto}
.ag-catalog label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center;min-height:48px;cursor:pointer}.ag-catalog input[type=checkbox]{width:20px;height:20px;accent-color:var(--ag-accent)}
.ag-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:20px 0}.ag-table-scroll table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:14px}.ag-table-scroll th,.ag-table-scroll td{padding:12px;border:1px solid var(--ag-line);vertical-align:top;overflow-wrap:anywhere;background:#fff;color:var(--ag-ink)}.ag-table-scroll th{background:var(--ag-surface)}.ag-table-scroll th a{color:var(--ag-ink)}.ag-pair-control{display:none}.ag-note{color:var(--ag-muted);font-size:13px}.ag-fallback summary{cursor:pointer;min-height:44px}
.ag-catalog :focus-visible,.ag-latest :focus-visible{outline:3px solid var(--ag-accent);outline-offset:3px}
@media(max-width:767px){.ag-news-grid{display:block}.ag-news-card{margin-bottom:22px}.ag-news-card a{grid-template-columns:100px 1fr;gap:14px}.ag-news-card:first-child a{display:block}.entry-content .ag-news-card:first-child :is(h2,h3){font-size:21px}.entry-content .ag-news-card :is(h2,h3){font-size:16px}.ag-section-head{gap:10px;margin-bottom:18px}.ag-section-head>a{font-size:12px}.ag-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ag-product-card{padding:12px}.ag-product-card h3{font-size:16px!important}.ag-pair-control{display:block;margin:16px 0}.ag-table-scroll th,.ag-table-scroll td{padding:8px;font-size:13px}.ag-filters{padding:16px}.ag-filters label{flex-basis:100%}}
@media(max-width:359px){.ag-product-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ag-catalog *,.ag-latest *{scroll-behavior:auto;transition:none}}
.home .entry-content .ag-latest .ag-news-card h2{background:transparent;color:inherit;border:0;padding:0;margin:5px 0 8px;box-shadow:none;line-height:1.65}
.home .entry-content .ag-latest .ag-news-card h2::before,.home .entry-content .ag-latest .ag-news-card h2::after{display:none}
