/* CIEDES v1.1.0: book layout, native OMP metadata retained */
.pkp_page_catalog.pkp_op_book .cover img,.page_catalog_book .cover img,.obj_monograph_full .cover img{width:auto!important;max-width:100%!important;max-height:520px!important;object-fit:contain!important;height:auto!important}
.pkp_page_catalog.pkp_op_book .page_title,.pkp_page_catalog.pkp_op_book h1{line-height:1.3;overflow-wrap:break-word}
.ciedes-tabs{width:100%;margin:20px 0 28px;border:1px solid #d9e2e9;border-radius:12px;background:#fff;overflow:hidden;box-sizing:border-box;font-family:inherit;clear:both}
.ciedes-tabs__bar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#edf3f8;border-bottom:1px solid #d9e2e9}
.ciedes-tabs__bar button{appearance:none;cursor:pointer;border:0;background:#0064a3;color:white;border-radius:18px;padding:9px 16px;font:700 14px/1.3 inherit;line-height:1.3;transition:background .15s}
.ciedes-tabs__bar button:hover,.ciedes-tabs__bar button:focus-visible{background:#004a78;outline:2px solid #c7a54c;outline-offset:2px}
.ciedes-tabs__bar button[aria-selected=true]{background:#003b5c;color:#fff;box-shadow:inset 0 -3px #d5b44b}
.ciedes-tabs__panel{padding:18px 20px 24px;line-height:1.65;overflow-wrap:anywhere;min-height:85px}
.ciedes-tabs__panel[hidden]{display:none!important}
.ciedes-tabs__panel h2,.ciedes-tabs__panel h3{margin:0 0 14px;color:#003b5c}
.ciedes-tabs__panel p{margin:0 0 1em}
.ciedes-tabs__panel a{overflow-wrap:anywhere}
.ciedes-author-list{list-style:decimal;padding-left:25px;margin:0;display:grid;gap:9px}
.ciedes-author-list li{padding:0 0 9px;border-bottom:1px solid #edf0f3;font-weight:600;color:#173d56}
.ciedes-tabs__panel .authors{font-weight:normal}
@media(max-width:700px){.ciedes-tabs__bar button{flex:1 1 auto}.ciedes-tabs__panel{padding:15px}.ciedes-tabs{margin:15px 0}}

/* Datos públicos por autor, v1.2.0 */
.ciedes-author-list li strong{display:block;font-weight:700;color:#123c59;margin-bottom:3px}
.ciedes-author-meta{font-size:13px;line-height:1.55;font-weight:400;color:#344b5b;margin:2px 0}
.ciedes-author-meta span:first-child{font-weight:600}
.ciedes-author-meta a{color:#0064a3;text-decoration:underline;overflow-wrap:anywhere}

/* CIEDES 1.3.0: bibliographic cards and improved tab responsiveness */
.ciedes-metadata-list{display:grid;gap:12px}
.ciedes-metadata-list>.item{padding:9px 0;border-bottom:1px solid #e7edf2}
.ciedes-metadata-list .label{font-weight:700;color:#123c59}
.ciedes-tabs__panel .ciedes-author-list{padding-left:24px}
@media(max-width:700px){.ciedes-tabs__bar{gap:5px}.ciedes-tabs__bar button{padding:9px 12px;font-size:13px}}

/* CIEDES 1.5 */
.ciedes-book-info{margin:14px 0 24px;padding:14px 16px;border-left:3px solid #c5a44b;background:#f6f9fb;font-size:14px;line-height:1.6}.ciedes-book-info p{margin:4px 0 10px}.ciedes-document-link{display:inline-block;margin:6px 8px 6px 0;padding:9px 13px;border-radius:6px;background:#005b89;color:#fff!important;font-weight:700;text-decoration:none!important}.ciedes-document-link:hover{background:#003e61}.ciedes-isbn-line{margin:10px 0}.ciedes-extra-lines li{margin-bottom:8px}.ciedes-classification p,.ciedes-assistants p{margin:8px 0}.ciedes-open-access{font-weight:700;color:#126b4a}

/* CIEDES 1.5.1: compact header and actionable public downloads */
.pkp_page_catalog.pkp_op_book .page_title,.pkp_page_catalog.pkp_op_book h1,.page_catalog_book h1,.obj_monograph_full h1{margin-bottom:9px!important;padding-bottom:0!important;line-height:1.18!important}
.ciedes-identifier-block{margin:6px 0 15px!important;padding:0!important;line-height:1.35!important}
.ciedes-identifier-block p,.ciedes-identifier-block .ciedes-isbn-line{margin:3px 0!important;padding:0!important}
.ciedes-original-doi{display:none!important}
.ciedes-document-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:6px 7px 5px 0;padding:9px 14px;background:#005b89;color:#fff!important;border-radius:6px;text-decoration:none!important}
.ciedes-document-link.ciedes-download{background:#0b644d}
.ciedes-book-info{margin:10px 0 15px;padding:12px 15px}
.ciedes-tabs{margin-top:12px}

/* CIEDES 1.5.2 — vertical academic navigation */
.ciedes-tabs{display:grid;grid-template-columns:142px minmax(0,1fr);align-items:stretch;margin:12px 0 24px;border-radius:9px;min-height:250px}
.ciedes-tabs__bar{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;padding:9px 0;background:#f0f5f8;border-right:1px solid #d9e2e9;border-bottom:0;align-self:stretch}
.ciedes-tabs__bar button{display:block;flex:none!important;width:100%;border:0;border-left:4px solid transparent;border-radius:0;text-align:left;background:transparent;color:#164765;padding:12px 11px;font-size:13px;line-height:1.35;box-shadow:none!important;white-space:normal}
.ciedes-tabs__bar button:hover,.ciedes-tabs__bar button:focus-visible{background:#dce9f1;color:#003b5c;outline:0;border-left-color:#b89b46}
.ciedes-tabs__bar button[aria-selected=true]{background:#fff;color:#003b5c;border-left-color:#c5a44b;font-weight:800;box-shadow:none!important}
.ciedes-tabs__panel{grid-column:2;grid-row:1;padding:18px 17px 22px;min-width:0;min-height:210px}
.ciedes-tabs__panel[hidden]{display:none!important}
.ciedes-tabs__bar{grid-column:1;grid-row:1}
.ciedes-empty-note{color:#607485;font-style:italic}
/* Consistent sidebar insets for rights and license */
.obj_monograph_full .entry_details .item.copyright,.obj_monograph_full .entry_details .item.license,.obj_monograph_full .entry_details .copyright,.obj_monograph_full .entry_details .license,.ciedes-aligned-rights{box-sizing:border-box;padding:14px 20px!important;margin:0!important}
.ciedes-aligned-rights p{margin:0 0 8px}
@media(max-width:560px){.ciedes-tabs{grid-template-columns:112px minmax(0,1fr)}.ciedes-tabs__bar button{font-size:12px;padding:10px 7px}.ciedes-tabs__panel{padding:13px 10px}}

/* CIEDES 1.5.3 — native OMP chapters */
.ciedes-chapter-index{display:grid;gap:9px}
.ciedes-chapter{border:1px solid #dce6ec;border-radius:7px;background:#fff;overflow:hidden}
.ciedes-chapter summary{cursor:pointer;display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:11px 13px;font-weight:700;color:#063d60;background:#f2f7fa}
.ciedes-chapter summary:hover{background:#e6f0f6}
.ciedes-chapter summary:focus-visible{outline:2px solid #c4a24a;outline-offset:-2px}
.ciedes-chapter-pages{flex-shrink:0;color:#617582;font-size:12px;font-weight:600}
.ciedes-chapter-body{padding:11px 15px;line-height:1.55;font-size:13px;color:#293f50}
.ciedes-chapter-body p{margin:0 0 7px!important}
.ciedes-chapter-body ul,.ciedes-chapter-body ol{padding-left:20px;margin:4px 0 8px}
.ciedes-chapter-body li{margin-bottom:5px}
.ciedes-chapter-subtitle{font-weight:700}
.ciedes-chapter-no-details summary{cursor:default}

/* CIEDES 1.5.4 — unified editorial reading card */
.ciedes-tabs{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:stretch!important;min-height:0!important;margin:16px 0 20px!important;border:1px solid #dbe5eb!important;border-radius:13px!important;box-shadow:0 8px 24px rgba(0,42,68,.07);overflow:hidden;background:white}
.ciedes-tabs__bar{grid-column:1!important;grid-row:1!important;background:#f3f7f9!important;border-right:1px solid #dbe5eb!important;padding:10px 0!important;display:flex!important;flex-direction:column!important;gap:0!important}
.ciedes-tabs__bar button{display:block!important;width:100%!important;padding:13px 12px!important;font-size:13px!important;font-weight:600!important;text-align:left!important;border-radius:0!important;border:0!important;border-left:3px solid transparent!important;background:transparent!important;color:#31566a!important;white-space:normal!important;cursor:pointer!important}
.ciedes-tabs__bar button:hover{background:#e5eff4!important;color:#003e60!important}
.ciedes-tabs__bar button[aria-selected=true]{background:white!important;color:#003e60!important;font-weight:800!important;border-left:3px solid #c9a448!important}
.ciedes-tabs__content{grid-column:2!important;grid-row:1!important;min-width:0!important;padding:0!important;background:#fff!important}
.ciedes-tabs__content>.ciedes-tabs__panel{display:block;min-height:170px!important;padding:20px 22px!important;margin:0!important;box-sizing:border-box!important}
.ciedes-tabs__content>.ciedes-tabs__panel[hidden]{display:none!important}
.ciedes-chapter-index{display:grid;gap:8px;width:100%}
.ciedes-chapter{margin:0!important;border:1px solid #dbe6ed!important;border-radius:8px!important}
.ciedes-chapter>summary{list-style:none;cursor:pointer!important;padding:12px!important;background:#f6f9fb!important;color:#073d5b!important;font-size:13px!important}
.ciedes-chapter>summary::-webkit-details-marker{display:none}
.ciedes-chapter>summary:before{content:'+';display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;height:19px;border-radius:50%;background:#e2edf2;color:#004b73;margin-right:7px;font-size:16px}
.ciedes-chapter[open]>summary:before{content:'−';background:#d3b362;color:#fff}
.ciedes-chapter-title{flex:1}
.ciedes-chapter-body{padding:13px 18px!important;background:white!important}
.ciedes-book-info{border-radius:0 8px 8px 0}
@media(max-width:600px){.ciedes-tabs{grid-template-columns:1fr!important}.ciedes-tabs__bar{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-right:0!important;border-bottom:1px solid #dbe5eb!important}.ciedes-tabs__bar button{padding:10px!important}.ciedes-tabs__content{grid-column:1!important;grid-row:2!important}.ciedes-tabs__content>.ciedes-tabs__panel{padding:15px!important}}

/* v1.5.6: suppress native duplicate chapter lists, keep accordions interactive */
.ciedes-chapter-unavailable{font-size:12px;color:#657988;font-style:italic;margin:0!important}
.ciedes-chapter>summary{cursor:pointer!important}
.ciedes-chapter[open]>.ciedes-chapter-body{display:block!important}

/* 1.5.8 Academic metadata panels */
#ciedes-book-tabs .ciedes-info-group{margin:0 0 1.25rem;padding:0 0 1rem;border-bottom:1px solid #e5edf3}
#ciedes-book-tabs .ciedes-info-group h4,#ciedes-book-tabs .ciedes-assistants h4{font:700 14px/1.5 system-ui,sans-serif;color:#003b5c;margin:0 0 .6rem}
#ciedes-book-tabs .ciedes-tag-list{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0;list-style:none}
#ciedes-book-tabs .ciedes-tag-list li{font:13px/1.5 system-ui,sans-serif;color:#174c65;background:#eff5f8;border:1px solid #d9e7ee;border-radius:7px;padding:5px 9px}
#ciedes-book-tabs .ciedes-assistants .ciedes-extra-lines{margin:0 0 1.3rem;padding-left:1.2rem}

/* 1.6.4: separator below research assistants heading */
#ciedes-book-tabs .ciedes-assistants > h4:first-child{border-bottom:1px solid #b8d4e5;padding-bottom:10px;margin-bottom:12px}

/* 165: right-column additions only */
.ciedes-book-info .ciedes-document-link{display:block;text-align:center;margin:8px 0}.ciedes-right-section{border-top:1px solid #b8d4e5;margin-top:15px;padding-top:12px}.ciedes-right-section h3{font-size:15px;color:#003b59;margin:0 0 8px}.ciedes-right-section button{cursor:pointer;border:1px solid #39738f;background:white;color:#003b59;padding:6px 10px;border-radius:4px}.ciedes-right-section a{overflow-wrap:anywhere}

/* 166: sidebar only */
.ciedes-book-info .ciedes-cert-disabled{width:100%;box-sizing:border-box;background:#e7edf1;color:#526575!important;border:1px solid #b8c9d4;cursor:not-allowed;font:inherit;font-weight:600}.ciedes-right-section details{margin:8px 0}.ciedes-right-section summary{cursor:pointer;color:#005b89;font-weight:600}.ciedes-stat-group{margin:10px 0}.ciedes-stat-row{font-size:12px;margin:4px 0}.ciedes-stat-bar{height:7px;background:#005b89;border-radius:3px}.ciedes-stat-bar.pdf{background:#0b644d}.ciedes-right-section .citation_formats{position:relative}

.ciedes-metric-trigger{background:none!important;border:0!important;padding:0!important;color:#00658c!important;text-decoration:underline;cursor:pointer;font:inherit;box-shadow:none!important}.ciedes-stats-modal{box-sizing:border-box;width:min(850px,94vw);max-height:90vh;overflow:auto;background:#032b3d;color:#fff;border:1px solid #286078;border-radius:12px;padding:28px;position:fixed;margin:auto;inset:0}.ciedes-stats-modal::backdrop{background:rgba(0,0,0,.65)}.ciedes-stats-modal h2{color:#fff;margin:0 36px 20px 0;font-size:21px}.ciedes-stats-modal svg{width:100%;height:auto;display:block}.ciedes-stats-modal p{color:#d5e7ef;font-size:13px}.ciedes-stats-close{position:absolute;right:12px;top:10px;background:transparent;color:#fff;border:0;font-size:28px;cursor:pointer}.ciedes-stats-controls button{background:#17465c;color:white;border:1px solid #41768d;padding:8px 16px;cursor:pointer}.ciedes-stats-controls button[aria-pressed=true]{background:#00658c}.ciedes-metric-trigger:focus-visible,.ciedes-stats-modal button:focus-visible{outline:2px solid #ec008c;outline-offset:3px}

/* v1.7.0: non-interactive chapter headings without subsections */
.ciedes-chapter-static{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:12px;background:#f6f9fb;color:#073d5b;font-size:13px;font-weight:700;cursor:default}

/* 175: collapse only explicitly hidden native duplicate metadata. */
.obj_monograph_full .entry_details [hidden], .obj_monograph_full .main_entry > .item.doi[hidden]{display:none!important}
