.books-catalog {color:#333;}
.books-catalog .books-tools[hidden], .books-catalog [hidden] {display:none;}
.books-catalog .books-intro {margin:0 0 24px; font-size:16px; line-height:1.6;}
.books-catalog .books-navigation {display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; scroll-margin-top:24px;}
.books-catalog .books-navigation a {box-sizing:border-box; display:flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid #cbd0bb; background:#fafbf7; color:#384324; font:14px/1.4 Verdana, Arial, sans-serif; text-decoration:none;}
.books-catalog .books-navigation a:hover {background:#eef1e5; text-decoration:underline;}
.books-catalog .books-tools {display:flex; flex-wrap:wrap; align-items:flex-end; gap:16px; margin:0; padding:20px; border:1px solid #dcdcdc; background:#faf9f8;}
.books-catalog .books-search-field {flex:1 1 240px; min-width:0;}
.books-catalog .books-language-field {flex:0 1 170px; min-width:0;}
.books-catalog label {display:block; margin-bottom:8px; color:#444; font:14px/1.4 Verdana, Arial, sans-serif;}
.books-catalog input, .books-catalog select, .books-catalog button {box-sizing:border-box; min-height:44px; border:1px solid #999; border-radius:3px; background:#fff; color:#333; font:16px/1.4 Arial, Helvetica, sans-serif;}
.books-catalog input, .books-catalog select {width:100%; padding:10px 12px;}
.books-catalog button {padding:10px 16px; cursor:pointer;}
.books-catalog button:hover {background:#eef3f5; border-color:#147b9e;}
.books-catalog a:focus-visible, .books-catalog input:focus-visible, .books-catalog select:focus-visible, .books-catalog button:focus-visible {outline:3px solid #147b9e; outline-offset:3px;}
.books-catalog .books-count {margin:12px 0 32px; color:#666; font-size:14px;}
.books-catalog .books-empty {padding:20px; border-left:3px solid #859451; background:#faf9f8;}
.books-catalog .books-group {margin:0 0 40px; scroll-margin-top:24px;}
.books-catalog .books-group h2 {margin:0 0 8px; color:#333; font-size:26px;}
.books-catalog .books-group-intro {margin:0 0 20px; color:#555; font-size:15px; line-height:1.6;}
.books-catalog .books-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
.books-catalog .books-card {min-width:0; box-sizing:border-box; padding:20px; border:1px solid #dcdcdc; border-top:3px solid #859451; background:#fff; scroll-margin-top:24px; overflow-wrap:anywhere;}
.books-catalog .books-meta {display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:12px; color:#555; font:13px/1.4 Verdana, Arial, sans-serif;}
.books-catalog .books-year {color:#333; font-size:18px; font-weight:bold;}
.books-catalog .books-open {padding:3px 6px; background:#eef2e5; color:#384324;}
.books-catalog .books-card h3 {margin:0 0 12px; font:700 20px/1.35 Arial, Helvetica, sans-serif;}
.books-catalog .books-card h3 a {color:#147b9e; text-decoration:underline; text-underline-offset:3px;}
.books-catalog .books-edition {margin:0 0 8px; color:#444; font-size:14px; line-height:1.5;}
.books-catalog .books-authors {margin:0 0 16px; color:#666; font-size:13px; line-height:1.6;}
.books-catalog .books-summary {margin:0; font-size:15px; line-height:1.65;}
.books-catalog .books-up {display:inline-block; min-height:44px; box-sizing:border-box; padding:12px 0; margin-top:4px; font-size:14px;}
@media (max-width:1100px) {
  .books-catalog .books-grid {grid-template-columns:1fr;}
}
@media (max-width:540px) {
  .books-catalog .books-tools {padding:16px; gap:12px;}
  .books-catalog .books-search-field, .books-catalog .books-language-field {flex-basis:100%;}
  .books-catalog .books-card {padding:16px;}
  .books-catalog .books-group h2 {font-size:23px;}
}
@media print {
  .books-catalog .books-tools, .books-catalog .books-navigation, .books-catalog .books-up {display:none;}
  .books-catalog .books-grid {display:block;}
  .books-catalog .books-card {break-inside:avoid; margin-bottom:16px;}
}
