:root{color-scheme:light;--green:#07563d;--teal:#087f8c;--ink:#163e42;--muted:#596d70;--pale:#e8f4f2;--line:#d3e1df;--paper:#fff;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f7f6;color:var(--ink)}a{color:var(--green)}button,select,input{font:inherit}button,a.button{cursor:pointer}button:disabled,select:disabled,input:disabled{cursor:default;opacity:.55}:focus-visible{outline:3px solid #d29024;outline-offset:3px}.skip{position:absolute;top:-80px;z-index:10;background:white;padding:12px}.skip:focus{top:0}.masthead{display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:1440px;padding:20px 36px;margin:auto;background:white}.masthead .gdr{width:168px;height:auto}.masthead .leader{width:220px;height:auto}.masthead nav{display:flex;gap:28px;flex-wrap:wrap}.masthead nav a{font-size:.9rem;text-decoration:none;font-weight:650}.masthead nav a:hover{text-decoration:underline}main{max-width:1380px;margin:auto;padding:24px 32px 44px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:.8rem;letter-spacing:.09em;font-weight:750;color:var(--teal);margin:0 0 5px}h1{font-family:Georgia,serif;font-size:clamp(1.65rem,3vw,2.3rem);margin:0;line-height:1.2}h2{margin:0;font-size:1.25rem;line-height:1.4}.archive-jump{font-weight:650;text-underline-offset:5px;white-space:nowrap}.reading{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 10px 35px #163e420a;scroll-margin-top:20px}.edition-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;background:linear-gradient(110deg,#07563d,#087f8c);color:white}.edition-head h2{font-size:1.3rem}.edition-number{font-size:.85rem;letter-spacing:.04em;margin:0 0 4px;color:#c9eee4}.edition-actions{display:flex;gap:10px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid white;color:#07563d;padding:10px 16px;border-radius:8px;font-weight:700;font-size:.9rem;text-decoration:none}.button.secondary{background:transparent;color:white}.button:hover{box-shadow:0 0 0 2px #ffffff55}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:white;padding:12px 20px;border-bottom:1px solid var(--line)}.page-controls,.zoom-controls{display:flex;align-items:center;gap:10px;font-size:.875rem}.toolbar button,.toolbar select,.toolbar input{min-height:40px;border:1px solid #bacdca;border-radius:6px;background:#fff;color:var(--ink);padding:6px 10px}.toolbar button:hover:not(:disabled){background:var(--pale)}.toolbar input{width:62px}.toolbar select{max-width:185px}.reader{height:76vh;min-height:480px;max-height:1000px;overflow:auto;background:#dce5e3;overscroll-behavior:contain;padding:22px 20px;scrollbar-gutter:stable}.page{position:relative;background:white;box-shadow:0 3px 16px #163e4233;margin:0 auto 22px;flex-shrink:0}.page canvas{display:block}.page .textLayer{position:absolute;inset:0;opacity:1;line-height:1}.page .linkLayer{position:absolute;inset:0;pointer-events:none}.linkLayer a{position:absolute;pointer-events:auto;border-radius:2px}.linkLayer a:hover,.linkLayer a:focus-visible{background:#087f8c22;outline:2px solid var(--teal)}.status{margin:0;padding:7px 20px;font-size:.8rem;color:var(--muted);border-top:1px solid var(--line);background:#fafcfc}.loading{padding:60px 20px;text-align:center;color:var(--muted)}.viewer:fullscreen{display:flex;flex-direction:column;background:white}.viewer:fullscreen .reader{flex:1;max-height:none;min-height:0}.archive{margin-top:36px;scroll-margin-top:22px}.archive-heading{display:flex;align-items:baseline;gap:24px;margin-bottom:18px}.archive-heading h2{font:700 1.65rem Georgia,serif}.archive-heading p{color:var(--muted);margin:0}.edition-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.edition-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.edition-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;background:white}.card-content{padding:16px 18px}.badge{font-size:.75rem;background:var(--pale);color:var(--green);padding:4px 8px;border-radius:4px;font-weight:700;display:inline-block;margin-bottom:8px}.edition-card h3{margin:0 0 6px;font-size:1rem}.edition-card p{margin:0 0 12px;color:var(--muted);font-size:.875rem}.card-actions{display:flex;gap:18px}.card-actions a{font-size:.875rem;font-weight:700;text-underline-offset:4px}footer{background:#e5f0ed;border-top:1px solid #c5dcd6}.contact{max-width:1380px;margin:auto;padding:28px 32px 20px;font-size:.875rem}.contact p{margin:7px 0}.institutional{background:white;max-width:1380px;margin:auto;padding:18px 32px}.institutional img{display:block;width:100%;height:auto}.error{margin:30px;padding:20px;background:white;border-left:4px solid var(--teal)}@media(max-width:950px){.masthead{padding:16px 22px;gap:20px}.masthead nav{gap:12px;justify-content:center}.masthead .gdr{width:125px}.masthead .leader{width:165px}.edition-head{align-items:flex-start;flex-direction:column;gap:16px}.edition-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.masthead{flex-wrap:wrap;padding:14px 18px;gap:12px}.masthead nav{order:3;width:100%;border-top:1px solid var(--line);padding-top:10px;justify-content:space-between}.masthead .leader{width:155px}.masthead .gdr{width:120px}main{padding:22px 12px 32px}.heading{display:block}.archive-jump{display:inline-block;margin-top:12px}.edition-head{padding:16px}.edition-head h2{font-size:1.15rem}.edition-actions{width:100%}.edition-actions .button{flex:1;padding:9px 8px}.toolbar{padding:10px;gap:10px}.page-controls,.zoom-controls{gap:6px;font-size:.8rem;flex-wrap:wrap}.toolbar button{padding:6px 8px}.reader{min-height:360px;height:72vh;padding:14px 8px}.status{padding:7px 12px}.archive-heading{display:block}.archive-heading p{margin-top:8px}.edition-list{grid-template-columns:1fr}.edition-card{max-width:440px}.contact,.institutional{padding:20px 18px}.institutional{overflow:auto}.institutional img{min-width:700px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.compact-contact{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;padding-top:20px;padding-bottom:16px}.compact-contact details{max-width:520px;font-size:.8rem}.compact-contact summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.institutional{padding-top:12px;padding-bottom:12px}@media(max-width:640px){.compact-contact{display:block}.compact-contact details{margin-top:16px}}

.compact-contact{display:block;text-align:center}.compact-contact details{margin:12px auto 0}.compact-contact p{margin:6px 0}.institutional img{margin:auto}

.social-links{text-align:center;padding:18px 20px 0;font-size:.875rem}.social-links a{white-space:nowrap}.territorio{font-family:system-ui,sans-serif;font-size:.6em;font-weight:400}.bulletin-subtitle{margin:6px 0 0;color:var(--muted)}

/* Cabecera editorial y contraste explícito */
.heading{background:#07563d;color:#fff;padding:24px 28px;border-radius:12px;align-items:center}
.heading h1{color:#fff;font-size:clamp(1.4rem,3vw,1.9rem)}
.heading .eyebrow{color:#d6eee5}
.heading .bulletin-subtitle{color:#fff;font-size:clamp(1.8rem,4vw,2.6rem);font-weight:750;line-height:1.2;margin-top:12px}
.heading .archive-jump{color:#fff}
.edition-head{background:#e8f4f2;color:#000}
.edition-head h2,.edition-number{color:#000}
.edition-actions .button{background:#07563d;color:#fff;border-color:#07563d}
.edition-actions .button.secondary{background:#fff;color:#07563d}
.compact-contact{color:#163e42;text-align:center}
@media(max-width:640px){.heading{padding:20px 18px}.institutional{overflow:visible}.institutional img{min-width:0;width:100%}}

.share-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:16px 24px;background:#fff;color:#163e42}.share-bar a,.share-bar button{font:inherit;font-size:.875rem;padding:8px 12px;border:1px solid #b8d3c9;border-radius:6px;color:#07563d;background:#fff;text-decoration:none;cursor:pointer}.share-bar a:hover,.share-bar button:hover{background:#e8f4f2}.share-bar p{margin:0;width:100%;font-size:.85rem}.share-bar input{width:100%;min-width:0}

.embed-tools{padding:0 24px 16px;background:#fff;color:#163e42}.embed-tools button,.embed-tools .embed-actions a{font:inherit;padding:9px 14px;border:1px solid #07563d;border-radius:6px;background:#fff;color:#07563d;text-decoration:none;cursor:pointer}.embed-tools #embed-toggle,.embed-tools #embed-copy{background:#07563d;color:#fff}.embed-tools [hidden],.embed-attribution[hidden]{display:none}.embed-tools #embed-panel{margin-top:18px;padding-top:16px;border-top:1px solid #d3e1df}.embed-tools h3{margin:0 0 8px}.embed-tools p{margin:8px 0}.embed-options{display:flex;gap:18px;flex-wrap:wrap;margin:16px 0}.embed-options label{display:flex;flex-direction:column;gap:6px;max-width:100%}.embed-options select,.embed-options input,.embed-tools textarea{font:inherit;color:#163e42;background:#fff;border:1px solid #bacdca;border-radius:6px;padding:9px;max-width:100%;min-width:0}.embed-options input{width:140px}.embed-tools textarea{width:100%;display:block;resize:vertical;font-family:monospace;font-size:14px;margin:8px 0 14px}.embed-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.embed-attribution{margin:0;background:#fff;color:#163e42;padding:10px 24px;font-size:.875rem}
body.is-embed{background:#fff}body.is-embed .masthead,body.is-embed>footer,body.is-embed .embed-tools,body.is-embed .heading .eyebrow{display:none}body.is-embed main{padding:12px;max-width:none}body.is-embed .heading{padding:16px 20px;margin-bottom:12px}body.is-embed .bulletin-subtitle{font-size:1.6rem}body.is-embed .reader{height:580px;min-height:320px;max-height:700px}body.is-embed .archive{margin-top:24px}
@media(max-width:640px){.embed-tools{padding:0 16px 16px}.embed-options{display:block}.embed-options label{margin-bottom:12px}.embed-attribution{padding:10px 16px}body.is-embed main{padding:8px}.embed-options select{width:100%}}

/* Visor ampliado y archivo por años */
.reader{height:90vh;min-height:620px;max-height:1250px}
.archive-tabs{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.archive-tabs button,.archive-pagination button,.archive-filters select{font:inherit;border:1px solid #b8d3c9;border-radius:8px;padding:10px 16px;background:#fff;color:#07563d}
.archive-tabs button[aria-pressed="true"]{background:#07563d;color:#fff;border-color:#07563d}
.archive-filters{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.archive-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px}
.archive [hidden]{display:none!important}
#archive-summary{color:var(--muted);font-size:.9rem}
@media(max-width:640px){.reader{height:85vh;min-height:430px;max-height:none}.archive-tabs button{flex:1}.archive-pagination{gap:10px}.archive-pagination button{padding:9px 12px}}
body.is-embed .reader{height:75vh;min-height:480px;max-height:1100px}
