*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f5f6f8;color:#27313d;font:16px/1.6 system-ui,sans-serif}a{color:#126e75}header{background:#193343;color:white;padding:28px max(24px,calc((100vw - 1250px)/2))}header small{color:#9ccece;letter-spacing:.14em}header h1{font:34px/1.25 Georgia,serif;margin:9px 0}header p{color:#d0dce1;margin:10px 0}header nav{display:flex;gap:22px}header nav a{color:white}main{max-width:1300px;margin:auto;padding:26px}h2{line-height:1.35}button,input,textarea,select{font:inherit}input,select,textarea{padding:11px;border:1px solid #bfcdd2;border-radius:7px;background:white;color:#27313d;max-width:100%}input:focus,textarea:focus,select:focus{outline:3px solid #98cdd2}button,.button{display:inline-block;padding:10px 16px;border:1px solid #176c73;border-radius:7px;background:#176c73;color:white;cursor:pointer;text-decoration:none;text-align:center}.secondary{background:white;color:#175e68;border-color:#afc8cd}.button:hover,button:hover{filter:brightness(.94)}.categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:30px}.category-link{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 12px;align-content:center;align-items:center;padding:18px;border-radius:8px;border:1px solid #d6e0e4;background:white;text-decoration:none}.category-link img{grid-row:1 / 3;display:block;width:64px;height:64px}.category-link strong{line-height:1.35}.category-link span{grid-column:2;color:#667780;font-size:13px;margin-top:6px}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filters input:not([type=checkbox]){flex:1;min-width:180px}.count{color:#596773}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:22px}.card{background:white;border:1px solid #e1e5e9;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 3px 10px #17334408}.cover{height:260px;background:#e9edf0;display:flex;align-items:center;justify-content:center;padding:15px;position:relative;overflow:hidden}.cover img{position:absolute;max-width:90%;height:90%;object-fit:contain;filter:drop-shadow(3px 5px 4px #0003)}.fallback{height:225px;width:150px;padding:22px 14px;background:#305262;color:#fff;border-left:7px solid #244451;display:flex;flex-direction:column;justify-content:center;text-align:center;font-family:Georgia,serif}.fallback strong{font-size:18px;line-height:1.35}.fallback span{font-size:13px;margin-top:20px;color:#d3e4e8}.body{padding:17px;display:flex;flex-direction:column;flex:1}.body h2{font-size:17px;margin:5px 0 8px}.author{color:#5f6973;margin:0 0 10px}.body .author{font-size:14px}.body .button{margin-top:auto}.badge{font-size:11px;color:#32656d;letter-spacing:.07em}.book-page{display:grid;grid-template-columns:230px 1fr;gap:30px}.book-page .cover{height:330px}.book-page .fallback{height:290px;width:190px}.book-page h2{font:30px/1.3 Georgia,serif;margin-top:0}.full{white-space:pre-wrap;line-height:1.8}.meta{font-size:14px;color:#5f6973}.editor{max-width:820px;display:grid;gap:18px;padding:24px;background:white;border:1px solid #d9e3e5;border-radius:10px;margin:20px 0}.editor label{display:grid;gap:6px;font-weight:600}.editor input,.editor textarea,.editor select{width:100%;font-weight:400}.editor button{justify-self:start}.login{max-width:500px}.inline{display:flex!important;flex-direction:row;gap:8px;align-items:center;font-weight:400!important}.inline input[type=checkbox]{width:auto}.preview{max-width:210px}.notice,.error{padding:16px 20px;border-radius:8px;margin:15px 0}.notice{background:#e5f5ec;border:1px solid #a8d1b8;color:#195a37}.error{background:#fff0eb;border:1px solid #e5b19d;color:#7d3026}.muted{font-size:14px;color:#5d6c75;margin:0}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:25px}.toolbar form{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;background:white}th,td{text-align:left;padding:13px;border-bottom:1px solid #dae4e7}th{background:#e8f0f1}td:first-child{font-weight:600}.pagination{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:30px 0}.pagination span{color:#5d6c75}.account{margin-top:36px}summary{cursor:pointer;font-weight:600}footer{max-width:1250px;margin:35px auto;padding:20px;border-top:1px solid #dce1e6;font-size:14px;color:#65717d}@media(max-width:600px){main{padding:16px}header h1{font-size:28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cover{height:215px;padding:10px}.fallback{height:190px;width:125px;padding:12px}.body{padding:12px}.body h2{font-size:15px}.book-page{grid-template-columns:1fr}.book-page .cover{max-width:250px}.editor{padding:17px}.filters input:not([type=checkbox]),.filters select{width:100%;min-width:0;flex:auto}.toolbar{align-items:stretch}.toolbar .button,.toolbar button{width:100%}td,th{padding:10px;font-size:14px}}

.full .description-image { display: block; width: fit-content; max-width: min(100%, 420px); margin: .75rem auto; }
.full .description-image img { display: block; max-width: 100%; height: auto; }
.book-page > div { min-width: 0; }

.full { display: flow-root; }
@media (min-width: 850px) {
  .full .description-image {
    float: left;
    clear: left;
    max-width: min(42%, 420px);
    margin: 0 1.25rem .75rem 0;
  }
}

.reading-size { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.reading-size select { min-height: 44px; }
#texto-ficha { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#texto-ficha[data-reading-size="large"] { font-size: 1.375rem; }
#texto-ficha[data-reading-size="extra"] { font-size: 1.75rem; }

@media (min-width: 601px) {
  .book-page { display: flow-root; }
  .book-page > .cover {
    float: left;
    width: min(28%, 230px);
    margin: 0 1.25rem .75rem 0;
  }
  .book-page .full { display: block; }
  .book-page > div > p:last-child { clear: both; }
}
