body[data-content-page=templates] .content-main>header{display:flex;align-items:end;gap:24px;margin:0 0 28px;padding:0;border:0;background:transparent}
body[data-content-page=templates] .content-main>header>div{min-width:0;flex:1}
body[data-content-page=templates] .content-main>header>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;flex-shrink:0;color:#173f73}
body[data-content-page=templates] p{color:#355a85}
body[data-content-page=templates] .content-main>header p{font-size:14px}
body[data-content-page=templates] .filters{gap:8px;margin-bottom:28px;padding-bottom:18px;border-bottom:1px solid #173f7326}
body[data-content-page=templates] .filters button{min-height:44px;border-radius:6px;border:1px solid #173f7338;color:#173f73;background:#fffdf7;padding:8px 16px}
body[data-content-page=templates] .filters button[aria-pressed=true]{color:#fff;background:#173f73;border-color:#173f73}
body[data-content-page=templates] .theme{margin-bottom:36px}
body[data-content-page=templates] .theme h2{font-size:28px;color:#173f73}
body[data-content-page=templates] .description{font-size:13px}
body[data-content-page=templates] .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body[data-content-page=templates] .card{border:1px solid #173f7326;border-radius:8px;background:#fff;box-shadow:none;min-width:0}
body[data-content-page=templates] .card img{height:auto;aspect-ratio:1;object-fit:contain;padding:12px;background:#fae9ef}
body[data-content-page=templates] .card:nth-child(3n+2) img{background:#e8f2f7}
body[data-content-page=templates] .card:nth-child(3n+3) img{background:#f7efcd}
body[data-content-page=templates] .caption{padding:14px}
body[data-content-page=templates] .caption h3{font-size:17px;line-height:1.5;color:#173f73}
body[data-content-page=templates] .source{display:block;width:max-content;max-width:100%;margin:6px 0 0;font-size:11px;border-radius:4px}
body[data-content-page=templates] .edit{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:6px;border-color:#173f73;background:#173f73;color:#fff;font-size:14px;line-height:1.4;text-align:center;padding:8px}
body[data-content-page=templates] .edit:hover{background:#355a85}
body[data-content-page=templates] .note{font-size:13px;border-top:1px solid #173f7326;padding-top:20px}
@media(max-width:799px){body[data-content-page=templates] .content-main>header{display:block;margin-bottom:20px}body[data-content-page=templates] .content-main>header>a{margin-top:8px}body[data-content-page=templates] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-content-page=templates] .caption{padding:10px}body[data-content-page=templates] .caption h3{font-size:15px}body[data-content-page=templates] .edit{font-size:13px}body[data-content-page=templates] .filters{flex-wrap:nowrap;overflow:auto;padding:4px 4px 16px}body[data-content-page=templates] .filters button{white-space:nowrap;padding:8px 12px;flex-shrink:0}body[data-content-page=templates] .card img{padding:6px}}
