
:root {
  --cyan: #0aaef3;
  --cyan-deep: #007fbd;
  --cyan-soft: #eaf8ff;
  --navy: #0e1f53;
  --navy-deep: #071638;
  --ink: #101d43;
  --muted: #5f6982;
  --paper: #ffffff;
  --surface: #f5f9fc;
  --line: #dce8f1;
  --danger: #a32b3a;
  --danger-soft: #fff0f2;
  --shadow: 0 22px 60px rgba(14, 31, 83, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--ink); font-family: 'Poppins', Arial, sans-serif; font-weight: 400; margin: 0; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(10, 174, 243, .45); outline-offset: 3px; }
.sr-only { clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.skip-link { background: var(--paper); color: var(--navy); left: 16px; padding: 12px 16px; position: fixed; top: -80px; z-index: 200; }
.skip-link:focus { top: 16px; }

.news-site-header { background: linear-gradient(105deg, rgba(4, 20, 55, .99), rgba(8, 31, 75, .98)); border-bottom: 2px solid var(--cyan); box-shadow: 0 8px 30px rgba(3, 15, 43, .16); color: var(--paper); position: sticky; top: 0; z-index: 50; }
.news-header-inner { align-items: center; display: grid; gap: 22px; grid-template-columns: minmax(258px, 1fr) auto minmax(210px, 1fr); margin-inline: auto; max-width: 1440px; min-height: 102px; padding: 16px max(28px, calc((100vw - 1320px) / 2)); position: relative; }
.news-brand { align-items: center; display: flex; gap: 13px; min-width: 258px; }
.news-brand img { background: var(--paper); border: 2px solid rgba(255,255,255,.86); border-radius: 50%; height: 66px; object-fit: cover; width: 66px; }
.news-brand strong, .news-brand span { display: block; }
.news-brand strong { font-size: 1rem; letter-spacing: -.02em; }
.news-brand span { font-size: .59rem; margin-top: 3px; opacity: .7; }
.news-site-nav { align-items: center; display: flex; gap: clamp(20px, 2vw, 33px); justify-content: center; }
.news-site-nav a { color: rgba(255,255,255,.9); font-size: .7rem; font-weight: 700; padding: 10px 0; position: relative; white-space: nowrap; }
.news-site-nav a::after { background: var(--cyan); bottom: -7px; content: ''; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: center; transition: transform .2s ease; width: 100%; }
.news-site-nav a:hover::after, .news-site-nav a:focus-visible::after, .news-site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.news-site-nav a:hover, .news-site-nav a:focus-visible, .news-site-nav a[aria-current="page"] { color: var(--paper); }
.news-header-actions { align-items: center; display: flex; gap: 8px; justify-self: end; white-space: nowrap; }
.news-instagram, .news-whatsapp-channel { align-items: center; background: rgba(5,22,56,.3); border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: rgba(255,255,255,.9); display: inline-flex; height: 38px; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; width: 38px; }
.news-instagram:hover, .news-whatsapp-channel:hover { background: rgba(10,174,243,.16); border-color: var(--cyan); color: var(--paper); transform: translateY(-1px); }
.news-instagram i, .news-whatsapp-channel i { display: block; font-size: 19px; line-height: 1; }
.news-donate { align-items: center; background: var(--cyan); border-radius: 7px; box-shadow: 0 10px 28px rgba(10, 174, 243, .22); color: var(--paper); display: inline-flex; font-size: .59rem; font-weight: 800; gap: 7px; justify-content: center; min-height: 44px; padding: 11px 15px; text-transform: uppercase; }
.news-donate i { font-size: 16px; }
.news-menu-button { background: none; border: 0; cursor: pointer; display: none; height: 44px; padding: 10px; width: 44px; }
.news-menu-button > span:not(.sr-only) { background: var(--paper); display: block; height: 2px; margin: 5px 0; width: 24px; }

.news-discovery { background: var(--navy); color: var(--paper); }
.news-discovery-inner { margin-inline: auto; max-width: 1280px; padding: 20px 28px; }
.news-discovery-copy { clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.eyebrow { color: var(--cyan-deep); font-size: .67rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 8px; text-transform: uppercase; }
.eyebrow--light { color: var(--cyan); }
.news-discovery h1 { font-size: clamp(2rem, 3.4vw, 3.45rem); letter-spacing: -.055em; line-height: 1.04; margin: 0; max-width: 650px; text-wrap: balance; }
.news-discovery-copy > p:last-child { font-size: .78rem; line-height: 1.65; margin: 16px 0 0; max-width: 570px; opacity: .78; }
.news-search-form { align-items: stretch; display: grid; gap: 10px; grid-template-columns: 1fr auto; max-width: 900px; }
.news-search-form input { background: var(--paper); border: 0; border-radius: 9px; color: var(--ink); min-height: 54px; padding: 14px 18px; width: 100%; }
.news-search-form button { background: var(--cyan); border: 0; border-radius: 9px; color: var(--navy-deep); font-size: .68rem; font-weight: 700; min-height: 54px; padding: 12px 24px; }

.news-library { margin-inline: auto; max-width: 1280px; padding: 26px 28px 86px; }
.category-filters { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.category-filters::-webkit-scrollbar { height: 7px; }
.category-filters [data-category] { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); display: inline-flex; flex: 0 0 auto; font-size: .62rem; font-weight: 500; justify-content: center; min-height: 39px; padding: 9px 17px; text-decoration: none; }
.category-filters [data-category]:hover { border-color: var(--cyan); color: var(--navy); }
.category-filters [data-category].is-active { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.topic-filters { align-items:center; display:flex; flex-wrap:wrap; gap:7px; margin:5px 2px 0; }
.topic-filters button { background:transparent; border:0; border-radius:999px; color:#61718c; cursor:pointer; font-size:.56rem; font-weight:600; padding:7px 10px; transition:background .18s ease,color .18s ease; }
.topic-filters button:hover,.topic-filters button:focus-visible { background:var(--cyan-soft); color:var(--cyan-deep); }
.topic-filters button.is-active { background:var(--cyan); color:var(--navy-deep); }
.news-preferred-source { align-items:center; border:1px solid #b9dff1; border-radius:9px; color:var(--cyan-deep); display:inline-flex; font-size:.64rem; font-weight:800; gap:7px; margin-top:10px; padding:8px 11px; text-decoration:none; transition:background .18s ease,border-color .18s ease,color .18s ease; }
.news-preferred-source:hover { background:var(--navy); border-color:var(--navy); color:#fff; }

.news-editor-toolbar { align-items: center; background: var(--cyan-soft); border: 1px solid #bde9fb; border-radius: 14px; display: none; gap: 18px; justify-content: space-between; margin-top: 18px; padding: 17px 19px; }
body.editor-active .news-editor-toolbar { display: flex; }
.news-editor-toolbar > div { display: grid; gap: 4px; }
.news-editor-toolbar .eyebrow { margin: 0; }
.news-editor-toolbar strong { font-size: .75rem; }
.news-editor-toolbar span { color: var(--muted); font-size: .59rem; }
.news-editor-toolbar button { background: var(--navy); border: 0; border-radius: 9px; color: var(--paper); font-size: .65rem; font-weight: 700; min-height: 44px; padding: 11px 17px; }

.spotlight-section { margin-top: 34px; }
.spotlight-section[hidden] { display: none; }
.spotlight-grid { display: grid; }
.section-heading { align-items: flex-end; display: flex; gap: 28px; justify-content: space-between; }
.section-heading--compact { margin-bottom: 14px; }
.section-heading h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.16; margin: 0; }
.section-heading > span, .section-heading p:not(.eyebrow) { color: var(--muted); font-size: .64rem; line-height: 1.55; margin: 0; }
.spotlight-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); min-height: 390px; overflow: hidden; }
.spotlight-visual { min-height: 390px; position: relative; }
.spotlight-visual img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.spotlight-copy { align-content: center; display: grid; padding: 30px 32px; }
.spotlight-copy h3 { display: -webkit-box; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.18; margin: 18px 0 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.spotlight-summary { color: var(--muted); font-size: .72rem; line-height: 1.7; margin: 16px 0; }
.publication-meta { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: .57rem; gap: 16px; justify-content: space-between; line-height: 1.4; margin-top: auto; padding-top: 15px; }
.publication-author { align-items: center; display: flex; gap: 10px; min-width: 0; }
.publication-author-avatar { align-items: center; background: var(--navy); border-radius: 50%; color: var(--paper); display: inline-flex; flex: 0 0 auto; font-size: .58rem; font-weight: 600; height: 36px; justify-content: center; width: 36px; }
.publication-author-avatar { overflow:hidden; }
.publication-author-avatar img { height:100%; object-fit:cover; width:100%; }
.publication-author-copy { display: grid; gap: 1px; min-width: 0; }
.publication-author-copy > span { color: var(--muted); font-size: .5rem; }
.publication-author-copy strong { color: var(--navy); font-size: .58rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.publication-views { color: var(--muted); flex: 0 0 auto; font-size: .56rem; }
.publication-mobile-date { display: none; }
.publication-reading-time { display: none; }
.publication-metrics { align-items:flex-end; display:grid; flex:0 0 auto; gap:3px; text-align:right; }
.publication-shares { color:var(--cyan-deep); font-size:.49rem; }
.spotlight-read, .publication-read { align-items: center; background: var(--cyan); border: 0; border-radius: 9px; color: var(--navy-deep); display: inline-flex; font-size: .64rem; font-weight: 700; justify-content: center; min-height: 44px; padding: 10px 15px; }
.spotlight-read { justify-self: stretch; margin-top: 18px; }
.spotlight-empty { align-items: center; color: var(--muted); display: flex; font-size: .75rem; grid-column: 1 / -1; justify-content: center; min-height: 240px; padding: 40px; text-align: center; }

.latest-section { margin-top: 48px; }
.news-results-count { color: var(--muted); font-size: .62rem; margin: 8px 0 0; }
.news-sort-label { color: var(--navy); display: grid; font-size: .58rem; font-weight: 600; gap: 6px; min-width: 180px; }
.news-sort-label select { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); min-height: 42px; padding: 9px 11px; width: 100%; }
.news-page-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.publication-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 36px rgba(14,31,83,.08); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.publication-card, .retired-card, .reader-related-card { contain: layout style paint; content-visibility: auto; contain-intrinsic-size: auto 520px; }
.reader-media, .reader-related { content-visibility: auto; contain-intrinsic-size: auto 520px; }
.publication-card-image { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.publication-card-image img { height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
.publication-card:hover .publication-card-image img { transform: scale(1.025); }
.publication-card-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.publication-card-topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.publication-category { background: var(--cyan-soft); border-radius: 8px; color: var(--cyan-deep); font-size: .53rem; font-weight: 700; letter-spacing: .03em; padding: 7px 10px; text-transform: uppercase; }
.publication-date { color: var(--muted); font-size: .53rem; }
.publication-card h3 { display: -webkit-box; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.32; margin: 15px 0 9px; min-height: 2.64em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.server-news-title-link { color: inherit; text-decoration: none; }
.server-news-title-link:hover,
.server-news-title-link:focus-visible { color: var(--cyan-deep); }
.publication-summary { color: var(--muted); display: -webkit-box; font-size: .69rem; line-height: 1.65; margin: 0 0 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.publication-card-footer { margin-top: 16px; }
.publication-read { width: 100%; }
body:not(.editor-active) .publication-card-footer { margin: 18px -20px -20px; }
body:not(.editor-active) .publication-card-footer .publication-read { border-radius: 0 0 17px 17px; }
.publication-editor-actions { border-top: 1px solid var(--line); display: none; flex-wrap: wrap; gap: 7px; margin-top: 13px; padding-top: 13px; }
body.editor-active .publication-editor-actions { display: flex; }
.publication-editor-actions button { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 600; min-height: 34px; padding: 7px 9px; }
.publication-editor-actions .primary { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.publication-editor-actions .danger { background: var(--danger-soft); border-color: #f3c8cf; color: var(--danger); }
.publication-editor-actions button:disabled { cursor: default; opacity: .4; }
.news-empty { align-items: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); display: none; flex-direction: column; gap: 4px; margin-top: 22px; padding: 42px 20px; text-align: center; }
.news-empty strong { color: var(--navy); font-size: .85rem; }
.news-empty span { font-size: .65rem; }
.news-empty.is-visible { display: flex; }

.news-category-page { min-height: 70vh; }
.news-category-page .news-hero { background: linear-gradient(115deg, #071638, #0e1f53); color: #fff; }
.news-category-page .news-hero-copy { margin-inline: auto; max-width: 1280px; padding: 58px 28px 52px; }
.news-category-page .reader-breadcrumbs { color: rgba(255,255,255,.72); margin-bottom: 28px; }
.news-category-page .reader-breadcrumbs a { color: inherit; }
.news-category-page .news-hero h1 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.05em; line-height: 1.05; margin: 0 0 14px; }
.news-category-page .news-hero-copy > p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.7; margin: 0; max-width: 760px; }
.news-category-page .news-results-count { color: #75d7ff; display: block; margin-top: 18px; }
.category-page-navigation { margin-bottom: 24px; }
.publication-category { text-decoration: none; }
.field-hint { color: var(--muted); display: block; font-size: .54rem; font-weight: 400; line-height: 1.5; margin-top: 5px; }

@media (max-width: 680px) {
  .news-category-page .news-hero-copy { padding: 36px 20px 34px; }
}

.retired-library { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; display: none; margin-top: 48px; padding: 24px; }
body.editor-active .retired-library { display: block; }
.retired-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.retired-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; display: grid; gap: 14px; grid-template-columns: 92px 1fr auto; overflow: hidden; padding: 10px; }
.retired-card img { border-radius: 8px; height: 72px; object-fit: cover; width: 92px; }
.retired-card h3 { font-size: .72rem; line-height: 1.35; margin: 0; }
.retired-card p { color: var(--muted); font-size: .55rem; margin: 5px 0 0; }
.retired-card-actions { display: grid; gap: 6px; }
.retired-card-actions button { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 800; min-height: 34px; padding: 7px 9px; }
.retired-card-actions .primary { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.retired-empty { color: var(--muted); font-size: .62rem; margin: 18px 0 0; }

.news-footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--navy); padding: 48px 28px 28px; }
.news-footer-inner { margin-inline: auto; max-width: 990px; text-align: center; }
.news-footer-brand { align-items: center; display: flex; flex-direction: column; gap: 4px; margin-inline: auto; width: max-content; }
.news-footer-brand img { background: var(--paper); border: 1px solid var(--line); border-radius: 50%; height: 82px; margin-bottom: 5px; object-fit: cover; width: 82px; }
.news-footer-brand strong { font-size: .88rem; }
.news-footer-brand span { color: var(--muted); font-size: .58rem; }
.news-footer-description { color: var(--muted); font-size: .7rem; line-height: 1.65; margin: 15px auto 0; max-width: 560px; }
.news-footer-copyright { border-top: 2px solid var(--cyan); color: var(--muted); font-size: .6rem; margin: 20px auto 0; padding-top: 15px; width: max-content; }
.news-footer-social { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 17px; }
.news-footer-social > strong { display: block; font-size: .68rem; margin-bottom: 10px; text-transform: uppercase; }
.news-footer-social > div { display: flex; gap: 9px; justify-content: center; }
.news-footer-social a { align-items: center; border: 1px solid #b9cddd; border-radius: 50%; color: var(--navy); display: inline-flex; font-size: 1.05rem; height: 40px; justify-content: center; width: 40px; }
.news-footer-social a:hover, .news-footer-social a:focus-visible { background: var(--cyan-soft); border-color: var(--cyan); color: var(--cyan-deep); }
.news-footer-info { border-top: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px auto 0; max-width: 720px; padding-top: 20px; text-align: left; }
.news-footer-info section { min-width: 0; }
.news-footer-info strong { color: var(--navy); display: block; font-size: .67rem; margin-bottom: 6px; }
.news-footer-info p, .news-footer-info a { color: var(--muted); display: block; font-size: .62rem; line-height: 1.62; margin: 0; }
.news-footer-info a { color: var(--cyan-deep); margin-top: 4px; text-decoration: underline; text-underline-offset: 2px; }
.news-footer-nav { border-top: 2px solid var(--cyan); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: 22px auto 0; padding-top: 17px; }
.news-footer-nav a { color: var(--navy); font-size: .57rem; text-transform: uppercase; }
.news-footer-nav a:hover { color: var(--cyan-deep); }
.news-footer--reader { margin-top: 48px; }

.news-dialog { background: var(--surface); border: 0; color: var(--ink); height: 100dvh; margin: 0; max-height: none; max-width: none; overflow-y: auto; padding: 0; width: 100%; }
.news-dialog::backdrop { background: var(--surface); }
.news-dialog-card { background: var(--surface); border-radius: 0; box-shadow: none; margin: 0; min-height: 100dvh; overflow: visible; position: relative; width: 100%; }
.reader-screen-header, .editor-screen-header { align-items: center; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; min-height: 76px; padding: 10px max(24px, calc((100vw - 1280px) / 2)); position: sticky; top: 0; z-index: 30; }
.reader-screen-brand { align-items: center; display: flex; gap: 10px; }
.reader-screen-brand img { background: var(--paper); border: 1px solid var(--line); border-radius: 50%; height: 44px; object-fit: cover; width: 44px; }
.reader-screen-brand strong, .reader-screen-brand small { display: block; }
.reader-screen-brand strong { color: var(--navy); font-size: .72rem; font-weight: 700; }
.reader-screen-brand small { color: var(--muted); font-size: .52rem; margin-top: 1px; }
.news-dialog-close { background: var(--navy-deep); border: 0; border-radius: 9px; color: var(--paper); font-size: .6rem; font-weight: 700; min-height: 42px; padding: 10px 14px; }
.reader-close-short { display: none; }
.reader-page-shell { margin-inline: auto; max-width: 1280px; padding: 28px 28px 68px; }
.reader-breadcrumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .55rem; gap: 8px; margin-bottom: 24px; }
.reader-breadcrumbs > * + *::before { color: #a2adbd; content: '/'; margin-right: 8px; }
.reader-breadcrumbs a:hover { color: var(--cyan-deep); }
.reader-heading { max-width: 1040px; width: 100%; }
.reader-category { background: #c7edfb; border: 1px solid #9cddf5; border-radius: 8px; color: #006b98; display: inline-flex; font-size: .6rem; font-weight: 800; letter-spacing: .035em; margin: 0 0 14px; padding: 7px 11px; text-transform: uppercase; }
.reader-heading h2 { color: var(--navy); display: -webkit-box; font-size: clamp(1.75rem, 2.8vw, 2.35rem); font-weight: 675; letter-spacing: -.028em; line-height: 1.14; margin: 0; max-width: 1040px; overflow: hidden; width: 100%; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reader-summary { color: var(--muted); font-size: clamp(.88rem, 1vw, .97rem); font-weight: 400; line-height: 1.58; margin: 12px 0 0; max-width: 880px; }
.reader-tags { align-items:center; display:flex; flex-wrap:wrap; gap:7px; margin-top:15px; }
.reader-tag { background:var(--cyan-soft); border:1px solid #c9ecfa; border-radius:999px; color:var(--cyan-deep); font-size:.54rem; font-weight:700; padding:7px 10px; text-decoration:none; }
.reader-tag:hover,.reader-tag:focus-visible { background:var(--cyan); color:var(--navy-deep); }
.reader-meta { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: 16px 24px; justify-content: space-between; margin-top: 20px; padding: 14px 0; }
.reader-meta-items { align-items: center; display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 12px 22px; }
.reader-meta-item { align-items: center; display: inline-flex; gap: 8px; min-width: 0; }
.reader-meta--essential .reader-meta-items > :not(.reader-author-item):not(.reader-published-item):not(.reader-time-item),
.reader-meta--essential .reader-author-role { display: none !important; }
.reader-internal-metric[hidden] { display: none !important; }
.reader-meta-emblem { align-items: center; background: var(--paper); border: 1px solid #9edff8; border-radius: 50%; color: var(--cyan-deep); display: inline-flex; flex: 0 0 auto; font-size: .84rem; height: 34px; justify-content: center; width: 34px; }
.reader-author-emblem { align-items:center; background:var(--navy); border:2px solid #9edff8; border-radius:50%; color:var(--paper); display:inline-flex; flex:0 0 auto; font-size:.52rem; font-weight:800; height:38px; justify-content:center; overflow:hidden; width:38px; }
.reader-author-photo { height:100%; object-fit:cover; width:100%; }
.reader-meta-copy { display: grid; gap: 1px; min-width: 0; }
.reader-meta-copy small { color: var(--muted); font-size: .45rem; font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.reader-meta-copy strong { color: var(--navy); font-size: .57rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.reader-author-role { color:var(--muted); font-size:.45rem; line-height:1.25; white-space:nowrap; }
.reader-share-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 7px; margin-left: auto; }
.reader-share-label { color: var(--muted); font-size: .5rem; font-weight: 600; margin-right: 2px; }
.reader-share-actions button { align-items: center; background: var(--paper); border: 1px solid #9edff8; border-radius: 50%; color: var(--cyan-deep); display: inline-flex; flex: 0 0 38px; font-size: 1rem; height: 38px; justify-content: center; padding: 0; transition: background .18s ease, color .18s ease, transform .18s ease; width: 38px; }
.reader-share-actions button:hover, .reader-share-actions button:focus-visible { background: var(--cyan-soft); color: var(--navy); transform: translateY(-1px); }
.reader-share-actions .share-whatsapp { border-color: #75d99c; color: #087b3c; }
.reader-share-actions .share-facebook { border-color: #93baf3; color: #1765c1; }
.reader-share-actions .share-copy.is-success { background: #e8f8ee; border-color: #75d99c; color: #087b3c; }
.reader-cover { background: var(--navy); border-radius: 16px; box-shadow: 0 15px 34px rgba(14,31,83,.12); margin: 22px auto 0; max-width: 1080px; overflow: hidden; position: relative; }
.reader-cover img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; width: 100%; }
.reader-photo-nav { align-items: center; backdrop-filter: blur(5px); background: rgba(7,22,56,.3); border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: var(--paper); display: inline-flex; height: 36px; justify-content: center; opacity: .58; padding: 0; position: absolute; top: calc(50% - 32px); transition: background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease; width: 36px; z-index: 2; }
.reader-photo-nav i { font-size: .86rem; line-height: 1; }
.reader-photo-nav:hover, .reader-photo-nav:focus-visible { background: rgba(7,22,56,.82); border-color: rgba(255,255,255,.95); opacity: 1; transform: scale(1.05); }
.reader-photo-nav:focus-visible { outline: 3px solid rgba(10,174,243,.5); outline-offset: 3px; }
.reader-photo-nav[hidden] { display: none; }
.reader-photo-prev { left: 16px; }
.reader-photo-next { right: 16px; }
@media (hover: none) {
  .reader-photo-nav { background: rgba(7,22,56,.5); opacity: .82; }
}
.reader-caption { align-items: start; background: #f4f7fb; border-left: 5px solid var(--cyan); box-shadow: inset 0 1px 0 #d8e2ee; color: #46516a; display: grid; font-size: .9rem; gap: 10px; grid-template-columns: auto minmax(0,1fr); line-height: 1.55; min-height: 48px; padding: 11px 15px 12px; text-align: left; }
.reader-photo-count { background: var(--navy); border-radius: 5px; color: var(--paper); font-size: .59rem; font-weight: 700; letter-spacing: .025em; line-height: 1; padding: 7px 8px; white-space: nowrap; }
.reader-caption-copy { padding-top: 2px; }
.reader-caption:empty { display: none; }
.reader-content-layout { align-items: start; display: grid; gap: 40px; grid-template-columns: minmax(0, 740px) minmax(230px, 270px); justify-content: center; margin-top: 26px; }
.reader-main-column { min-width: 0; }
.reader-body { color: var(--navy); counter-reset: jcf-ordered-list; font-size: 1rem; font-weight: 400; line-height: 1.68; }
.reader-body p { margin: 0 0 .78em; }
.reader-body h2 { border-top: 1px solid #dbe5f0; color: var(--cyan-deep); font-size: clamp(1.22rem, 1.8vw, 1.42rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 30px 0 10px; padding-top: 21px; scroll-margin-top: 105px; }
.reader-body h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.reader-body h3 { border-top: 1px solid rgba(20, 64, 112, .14); color: var(--cyan-deep); font-size: clamp(1.06rem, 1.35vw, 1.18rem); font-weight: 700; line-height: 1.34; margin: 27px 0 8px; padding-top: 18px; scroll-margin-top: 105px; }
.reader-body h3:first-child, .reader-body h2 + h3 { border-top: 0; margin-top: 0; padding-top: 0; }
.reader-body h2 + p, .reader-body h3 + p { margin-top: 0; }
.reader-body strong { color: #132d67; font-weight: 600; }
.reader-body em { color: #46516a; }
.reader-body ul, .reader-body ol { background: #f6f9fc; border: 1px solid #dbe5f0; border-left: 5px solid var(--cyan); border-radius: 10px; display: grid; gap: 0; margin: 10px 0 18px; padding: 8px 20px 8px 42px; }
.reader-body li { padding: 12px 5px; }
.reader-body li::marker { color: var(--cyan-deep); font-weight: 700; }
.reader-body li + li { border-top: 1px solid #dbe5f0; }
.reader-body li > ul, .reader-body li > ol { background: var(--paper); margin: 10px 0 2px; }
.reader-body > ul, .rich-editor > ul, .rich-editor-preview > ul { list-style-type: square; }
.reader-body > ol:not(.article-step-list), .rich-editor > ol:not(.article-step-list), .rich-editor-preview > ol:not(.article-step-list) { background: transparent; border: 0; border-radius: 0; list-style: none; margin: 12px 0 16px; padding: 0; }
.reader-body > ol:not(.article-step-list) > li, .rich-editor > ol:not(.article-step-list) > li, .rich-editor-preview > ol:not(.article-step-list) > li { align-items: start; counter-increment: jcf-ordered-list; display: grid; gap: 13px; grid-template-columns: 36px minmax(0,1fr); }
.reader-body > ol:not(.article-step-list) > li::before, .rich-editor > ol:not(.article-step-list) > li::before, .rich-editor-preview > ol:not(.article-step-list) > li::before { align-items: center; background: #2d6f9e; border-radius: 50%; color: var(--paper); content: counter(jcf-ordered-list, decimal-leading-zero); display: inline-flex; font-size: .68em; font-weight: 800; height: 36px; justify-content: center; letter-spacing: .04em; width: 36px; }
.reader-body > ol:not(.article-step-list) > li + li, .rich-editor > ol:not(.article-step-list) > li + li { border-top: 0; margin-top: 9px; }
.reader-body > ol:not(.article-step-list):has(> li:only-child) > li, .rich-editor > ol:not(.article-step-list):has(> li:only-child) > li { color: var(--navy); font-size: 1.3em; font-weight: 700; letter-spacing: -.018em; line-height: 1.28; }
.reader-body blockquote { background: var(--cyan-soft); border-left: 5px solid var(--cyan); box-shadow: 0 8px 20px rgba(14,31,83,.06); color: var(--navy); font-size: .9rem; font-weight: 550; margin: 28px 0; padding: 18px 20px; }
.reader-body a { color: var(--cyan-deep); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.reader-body small { color: var(--muted); font-size: .66rem; }
.reader-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.reader-media { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.reader-media[hidden] { display: none; }
.reader-media h3 { font-size: 1.18rem; margin: 0 0 17px; }
.reader-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.reader-gallery img { aspect-ratio: 4 / 3; border-radius: 10px; height: 100%; object-fit: cover; width: 100%; }
.reader-videos { display: grid; gap: 14px; margin-top: 14px; }
.reader-videos iframe, .reader-videos video { aspect-ratio: 16 / 9; background: #000; border: 0; border-radius: 10px; height: auto; width: 100%; }
.reader-toc { background: rgba(255,255,255,.94); border: 1px solid #dce5ee; border-radius: 14px; box-shadow: 0 9px 26px rgba(14,31,83,.045); padding: 17px 13px 14px; position: sticky; top: 98px; }
.reader-toc h3 { border-bottom: 1px solid #edf1f5; color: var(--navy); font-size: .72rem; margin: 0 7px 4px; padding: 0 0 12px; }
.reader-toc-links { display: grid; gap: 1px; }
.reader-toc-link { align-items: center; background: transparent; border: 0; border-radius: 9px; color: #68758b; cursor: pointer; display: grid; font: inherit; font-size: .57rem; gap: 10px; grid-template-columns: 24px minmax(0,1fr); line-height: 1.45; min-height: 41px; padding: 8px 9px; text-align: left; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; width: 100%; }
.reader-toc-link:focus-visible { background: #f1f9fd; box-shadow: inset 3px 0 0 var(--cyan); color: var(--navy); outline: 2px solid rgba(16,174,230,.28); outline-offset: 1px; }
.reader-toc-number { align-items: center; background: #f4f7fa; border: 1px solid #dce4eb; border-radius: 50%; color: #778498; display: inline-flex; font-size: .47rem; font-weight: 600; height: 22px; justify-content: center; transition: background-color .18s ease, border-color .18s ease, color .18s ease; width: 22px; }
.reader-toc-link:focus-visible .reader-toc-number { background: var(--cyan); border-color: var(--cyan); color: var(--paper); }
@media (hover: hover) {
  .reader-toc-link:hover { background: #f4fafc; box-shadow: inset 3px 0 0 rgba(16,174,230,.72); color: var(--navy); }
  .reader-toc-link:hover .reader-toc-number { background: var(--cyan); border-color: var(--cyan); color: var(--paper); }
}
.reader-related { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 28px; }
.reader-related[hidden] { display: none; }
.reader-related-heading .eyebrow { margin-bottom: 7px; }
.reader-related-heading h3 { color: var(--navy); font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0; }
.reader-related-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.reader-related-card { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; min-width: 0; overflow: hidden; }
.reader-related-card > img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; width: 100%; }
.reader-related-copy { display: flex; flex-direction: column; min-height: 150px; padding: 14px; }
.reader-related-category { color: var(--cyan-deep); font-size: .48rem; font-weight: 700; text-transform: uppercase; }
.reader-related-copy h4 { color: var(--navy); font-size: .72rem; line-height: 1.35; margin: 8px 0 13px; }
.reader-related-open { background: transparent; border: 0; color: var(--cyan-deep); font-size: .54rem; font-weight: 600; margin-top: auto; padding: 0; text-align: left; }

.editor-dialog-card { max-height: none; max-width: none; overflow: visible; padding: 0; }
.editor-page-shell { margin-inline: auto; max-width: 1260px; padding: 32px 28px 100px; }
.editor-dialog-head { padding-right: 0; }
.editor-dialog-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.05em; margin: 0; }
.editor-dialog-head > p:last-child { color: var(--muted); font-size: .7rem; line-height: 1.7; max-width: 650px; }
.news-editor-form { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 27px; }
.news-editor-form label { color: var(--navy); display: grid; font-size: .62rem; font-weight: 600; gap: 7px; }
.news-editor-form .full { grid-column: 1 / -1; }
.news-editor-form input, .news-editor-form select, .news-editor-form textarea { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 400; min-height: 46px; padding: 11px 12px; width: 100%; }
.news-editor-form textarea { min-height: 108px; resize: vertical; }
.chatgpt-import { background: linear-gradient(135deg, #edf9ff, #f8fcff); border: 1px solid #bde9fb; border-radius: 12px; overflow: hidden; }
.chatgpt-import summary { color: var(--navy); cursor: pointer; font-size: .68rem; font-weight: 600; list-style-position: inside; padding: 15px 17px; }
.chatgpt-import[open] summary { border-bottom: 1px solid #ccecf8; }
.chatgpt-import-body { display: grid; gap: 12px; padding: 16px 17px 18px; }
.chatgpt-step-help { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; }
.chatgpt-import .chatgpt-code-copy { background: var(--navy); color: white; border: 0; border-radius: 8px; min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 700; white-space: normal; }
.chatgpt-import .chatgpt-code-copy-status { font-size: 14px; line-height: 1.5; color: var(--navy); }
.chatgpt-import .chatgpt-copy-fallback[hidden] { display: none; }
.chatgpt-import .chatgpt-code-guide-toggle { justify-self: start; background: transparent; color: var(--navy); text-align: left; text-decoration: underline; }
.chatgpt-import-body textarea { background: var(--paper); min-height: 180px; }
.chatgpt-import-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 11px; }
.chatgpt-import-apply, .chatgpt-code-guide-toggle { border: 0; border-radius: 8px; font-size: .61rem; font-weight: 700; min-height: 42px; padding: 9px 14px; }
.chatgpt-import-apply { background: var(--navy); color: var(--paper); }
.chatgpt-code-guide-toggle { background: var(--cyan); color: var(--navy); }
.chatgpt-import-status { color: var(--cyan-deep); font-size: .57rem; font-weight: 700; line-height: 1.5; }
.chatgpt-code-guide { background: var(--paper); border: 1px solid #b9d9e9; border-radius: 12px; box-shadow: 0 12px 28px rgba(14,31,83,.08); padding: 20px; }
.chatgpt-code-guide[hidden] { display: none; }
.chatgpt-code-guide-head { align-items: start; display: flex; gap: 16px; justify-content: space-between; }
.chatgpt-code-kicker { color: var(--cyan-deep); display: block; font-size: .55rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 4px; text-transform: uppercase; }
.chatgpt-code-guide h3 { color: var(--navy); font-size: 1rem; line-height: 1.3; margin: 0; }
.chatgpt-code-guide > p { color: var(--muted); font-size: .67rem; line-height: 1.65; margin: 10px 0 16px; max-width: 780px; }
.chatgpt-code-guide-close { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .56rem; font-weight: 700; min-height: 36px; padding: 7px 10px; }
.chatgpt-code-catalog { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.chatgpt-code-catalog > div { align-content: start; background: #eef5fa; border-radius: 8px; display: grid; gap: 5px; min-height: 72px; padding: 11px 12px; }
.chatgpt-code-catalog code { color: #075a84; font-size: .58rem; font-weight: 800; overflow-wrap: anywhere; }
.chatgpt-code-catalog span { color: #4d5870; font-size: .56rem; line-height: 1.45; }
.news-editor-form .chatgpt-prompt-label { font-size: .62rem; gap: 8px; margin-top: 8px; }
.news-editor-form .chatgpt-prompt-template { background: #071f3d; border-color: #071f3d; color: #edf7ff; font-family: Consolas, 'Courier New', monospace; font-size: .62rem; font-weight: 400; line-height: 1.6; min-height: 270px; resize: vertical; }
.chatgpt-code-copy-row { align-items: center; display: flex; flex-wrap: wrap; gap: 11px; }
.chatgpt-code-copy { background: var(--navy); border: 0; border-radius: 8px; color: var(--paper); font-size: .6rem; font-weight: 700; min-height: 42px; padding: 9px 14px; }
.chatgpt-code-copy-status { color: var(--cyan-deep); font-size: .57rem; font-weight: 700; }
.rich-editor-field { display: grid; gap: 7px; position: relative; }
.rich-editor-label { color: var(--navy); font-size: .62rem; font-weight: 600; }
.rich-editor-toolbar { align-items: center; background: #edf3fa; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 7px 18px rgba(14,31,83,.08); display: flex; flex-wrap: wrap; gap: 7px; padding: 8px; position: sticky; top: 76px; z-index: 20; }
.rich-editor-toolbar-group { display: flex; flex-wrap: wrap; gap: 5px; }
.rich-editor-color-tools { align-items: center; border-left: 1px solid #cbd6e5; padding-left: 7px; }
.rich-editor-color-label { color: var(--muted); font-size: .5rem; font-weight: 600; margin-right: 1px; }
.rich-editor-align-tools { align-items: center; border-left: 1px solid #cbd6e5; padding-left: 7px; }
.rich-editor-group-label { color: var(--muted); font-size: .5rem; font-weight: 600; margin-right: 1px; }
.rich-editor-align-tools i, .rich-editor-table-insert i { font-size: .78rem; }
.rich-editor-toolbar .rich-editor-color-button { border-bottom-width: 4px; min-width: 58px; padding-bottom: 5px; }
.rich-editor-toolbar .rich-editor-color-button--navy { border-bottom-color: var(--navy); }
.rich-editor-toolbar .rich-editor-color-button--sky { border-bottom-color: var(--cyan); }
.rich-editor-toolbar .rich-editor-color-button--white { background: var(--navy); border-bottom-color: var(--paper); color: var(--paper); }
.rich-editor-toolbar .rich-editor-color-button--white:hover, .rich-editor-toolbar .rich-editor-color-button--white:focus-visible { background: #172f6e; color: var(--paper); }
.news-editor-form .rich-editor-style-label { align-items: center; display: flex; flex-direction: row; gap: 7px; }
.news-editor-form .rich-editor-style { background: var(--paper); font-size: .59rem; min-height: 38px; padding: 7px 30px 7px 9px; width: auto; }
.rich-editor-toolbar button { background: var(--paper); border: 1px solid #cbd6e5; border-radius: 7px; color: var(--navy); font-size: .58rem; font-weight: 500; min-height: 38px; min-width: 38px; padding: 7px 9px; }
.rich-editor-toolbar button:hover, .rich-editor-toolbar button:focus-visible { border-color: var(--cyan); color: var(--cyan-deep); }
.rich-editor-block-tools { border-left: 1px solid #cbd6e5; margin-left: auto; padding-left: 7px; }
.news-editor-form .rich-editor-block-select { background: var(--paper); font-size: .58rem; min-height: 38px; padding: 7px 30px 7px 9px; width: auto; }
.rich-editor-toolbar .rich-editor-block-insert { background: var(--cyan); border-color: var(--cyan); color: var(--navy); font-weight: 700; }
.rich-editor-media-tools { border-left: 1px solid #cbd6e5; padding-left: 7px; }
.rich-editor-media-tools button { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.rich-editor-media-tools .rich-editor-table-insert { background: var(--cyan); border-color: var(--cyan); color: var(--navy); font-weight: 700; }
.rich-editor-workspace { align-items: start; display: grid; grid-template-columns: minmax(0, 920px); justify-content: center; }
.rich-editor-column { min-width: 0; width: 100%; }
.rich-editor { background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--navy); counter-reset: jcf-ordered-list; font-size: 1rem; height: clamp(460px, 62vh, 720px); line-height: 1.68; min-height: 0; overflow-wrap: anywhere; overflow-y: auto; padding: 28px 34px; }
.rich-editor:focus { background: var(--paper); border-color: var(--cyan); outline: 3px solid rgba(10, 174, 243, .18); }
.rich-editor:empty::before { color: #8791a6; content: attr(data-placeholder); pointer-events: none; }
.rich-editor p { margin: 0 0 9px; }
.rich-editor h2 { border-top: 1px solid #dbe5f0; color: var(--cyan-deep); font-size: clamp(1.22rem, 1.8vw, 1.42rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 30px 0 10px; padding-top: 21px; }
.rich-editor h3 { border-top: 1px solid rgba(20, 64, 112, .14); color: var(--cyan-deep); font-size: clamp(1.06rem, 1.35vw, 1.18rem); font-weight: 700; line-height: 1.34; margin: 27px 0 8px; padding-top: 18px; }
.rich-editor h2:first-child, .rich-editor h3:first-child, .rich-editor h2 + h3 { border-top: 0; margin-top: 0; padding-top: 0; }
.rich-editor ul, .rich-editor ol, .rich-editor-preview ul, .rich-editor-preview ol { background: #f6f9fc; border: 1px solid #dbe5f0; border-left: 4px solid var(--cyan); border-radius: 8px; display: grid; gap: 0; margin: 10px 0 22px; padding: 6px 14px 6px 34px; }
.rich-editor li, .rich-editor-preview li { padding: 8px 3px; }
.rich-editor li::marker, .rich-editor-preview li::marker { color: var(--cyan-deep); font-weight: 700; }
.rich-editor li + li, .rich-editor-preview li + li { border-top: 1px solid #dbe5f0; }
.rich-editor blockquote { background: var(--cyan-soft); border-left: 4px solid var(--cyan); box-shadow: 0 7px 18px rgba(14,31,83,.05); color: var(--navy); margin: 20px 0; padding: 14px 16px; }
.rich-editor a { color: var(--cyan-deep); font-weight: 700; text-decoration: underline; }
.rich-editor-meta { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; }
.rich-editor-meta .editor-image-help { max-width: 620px; }
.rich-editor-word-count { color: var(--cyan-deep); flex: 0 0 auto; font-size: .58rem; white-space: nowrap; }
.rich-editor-word-count.is-near-limit { color: #956600; }
.rich-editor-word-count.is-over-limit { color: var(--danger); }
.rich-editor.is-over-limit { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163,43,58,.1); }
.inline-image-tools { align-items: center; background: var(--cyan-soft); border: 1px solid #bde9fb; display: grid; gap: 5px; grid-template-columns: auto 1fr; padding: 9px 11px; }
.inline-image-tools[hidden] { display: none; }
.inline-image-tools strong { color: var(--navy); font-size: .62rem; font-weight: 600; }
.inline-image-tools > span { color: var(--muted); font-size: .53rem; }
.inline-image-tools label { color: var(--navy); display: grid; font-size: .54rem; font-weight: 500; gap: 5px; grid-column: 1 / -1; }
.news-editor-form .inline-image-tools input { background: var(--paper); min-height: 38px; }
.inline-image-tools > div { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.inline-image-tools button { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 500; min-height: 34px; padding: 7px 9px; }
.inline-image-tools button[data-image-action="remove"] { background: var(--danger-soft); border-color: #f0c7ce; color: var(--danger); }
.inline-table-tools { align-items: end; background: #f7fbfe; border: 1px solid #c8deeb; border-radius: 9px; display: grid; gap: 9px 12px; grid-template-columns: minmax(210px,1fr) auto auto; padding: 11px; }
.inline-table-tools[hidden] { display: none; }
.inline-table-tools > div:first-child { align-self: center; display: grid; gap: 2px; }
.inline-table-tools strong { color: var(--navy); font-size: .62rem; font-weight: 650; }
.inline-table-tools span { color: var(--muted); font-size: .52rem; line-height: 1.45; }
.inline-table-tools label { color: var(--navy); display: grid; font-size: .52rem; font-weight: 600; gap: 4px; }
.news-editor-form .inline-table-tools input[type="color"] { background: var(--paper); border-radius: 7px; height: 36px; min-height: 36px; padding: 3px; width: 48px; }
.inline-table-color-actions, .inline-table-structure-actions { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.inline-table-tools button { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 600; min-height: 34px; padding: 7px 9px; }
.inline-table-tools button:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.inline-table-tools button[data-table-action="remove-table"] { background: var(--danger-soft); border-color: #f0c7ce; color: var(--danger); }
.inline-structured-tools { align-items: center; background: #f7fbfe; border: 1px solid #c8deeb; border-radius: 9px; display: flex; gap: 12px; justify-content: space-between; padding: 11px; }
.inline-structured-tools[hidden] { display: none; }
.inline-structured-tools > div:first-child { display: grid; gap: 2px; }
.inline-structured-tools strong { color: var(--navy); font-size: .62rem; font-weight: 700; }
.inline-structured-tools span { color: var(--muted); font-size: .52rem; line-height: 1.45; }
.inline-structured-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.inline-structured-tools button { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 600; min-height: 34px; padding: 7px 10px; }
.inline-structured-tools button:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.inline-structured-tools button[data-structured-action="remove-block"] { background: var(--danger-soft); border-color: #f0c7ce; color: var(--danger); }
.rich-editor-preview-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; max-height: clamp(420px, 58vh, 660px); overflow: auto; padding: 13px; position: sticky; top: 132px; }
.rich-preview-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: 5px 10px; justify-content: space-between; margin-bottom: 10px; }
.rich-preview-heading strong { color: var(--navy); font-size: .63rem; font-weight: 600; }
.rich-preview-heading span { color: var(--muted); font-size: .52rem; }
.rich-preview-article { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.rich-preview-category { background: var(--cyan-soft); border-radius: 6px; color: var(--cyan-deep); display: inline-flex; font-size: .48rem; font-weight: 700; padding: 5px 7px; text-transform: uppercase; }
.rich-preview-title { color: var(--navy); display: -webkit-box; font-size: 1.12rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.22; margin: 11px 0 7px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rich-preview-summary { color: var(--muted); font-size: .64rem; line-height: 1.55; margin: 0 0 18px; }
.rich-editor-preview { border-top: 1px solid var(--line); color: var(--navy); font-size: .68rem; line-height: 1.66; padding-top: 16px; }
.rich-editor-preview p { margin: 0 0 7px; }
.reader-body p:has(> br:only-child), .rich-editor-preview p:has(> br:only-child) { display: none; }
.rich-editor-preview h2 { border-top: 1px solid #dbe5f0; color: var(--cyan-deep); font-size: .9rem; font-weight: 700; line-height: 1.3; margin: 17px 0 6px; padding-top: 12px; }
.rich-editor-preview h3 { border-top: 1px solid rgba(20, 64, 112, .14); color: var(--cyan-deep); font-size: .78rem; font-weight: 700; line-height: 1.34; margin: 15px 0 5px; padding-top: 10px; }
.rich-editor-preview h2:first-child, .rich-editor-preview h3:first-child, .rich-editor-preview h2 + h3 { border-top: 0; margin-top: 0; padding-top: 0; }

.rich-editor figure, .rich-editor-preview figure, .reader-body figure { margin: 24px auto; max-width: 100%; }
.rich-editor .article-image--normal, .rich-editor-preview .article-image--normal, .reader-body .article-image--normal { width: 88%; }
.rich-editor .article-image--wide, .rich-editor-preview .article-image--wide, .reader-body .article-image--wide { width: 100%; }
.rich-editor .article-image--portrait, .rich-editor-preview .article-image--portrait, .reader-body .article-image--portrait { width: min(76%, 680px); }
.rich-editor figure img, .rich-editor-preview figure img, .reader-body figure img { aspect-ratio: 16 / 10; border-radius: 10px 10px 0 0; height: auto; object-fit: cover; width: 100%; }
.rich-editor .article-image--portrait img, .rich-editor-preview .article-image--portrait img, .reader-body .article-image--portrait img { aspect-ratio: 4 / 5; object-fit: contain; }
.rich-editor figcaption, .rich-editor-preview figcaption, .reader-body figcaption { background: #f4f7fb; border-left: 4px solid var(--cyan); box-shadow: inset 0 1px 0 #d8e2ee; color: #46516a; line-height: 1.55; min-height: 40px; padding: 10px 12px; text-align: left; }
.rich-editor figcaption { font-size: .76rem; }
.rich-editor-preview figcaption { font-size: .64rem; }
.reader-body figcaption { font-size: .88rem; }
.rich-editor figcaption:empty::before { color: #8791a6; content: 'Escribe el pie de imagen…'; }
.rich-editor-preview figcaption:empty, .reader-body figcaption:empty { display: none; }
.article-image-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 26px 0; width: 100%; }
.article-image-row figure { margin: 0; width: 100% !important; }
.article-image-row img { aspect-ratio: 4 / 3 !important; height: 100% !important; }
.rich-editor figure.is-selected, .rich-editor .article-image-row.is-selected { outline: 3px solid rgba(10,174,243,.5); outline-offset: 4px; }

.article-content-block { background: #f4f9fd; border: 1px solid #d6e6f0; border-left: 5px solid var(--cyan); border-radius: 11px; margin: 25px 0; padding: 18px 20px; }
.rich-editor .article-content-block h3, .rich-editor-preview .article-content-block h3, .reader-body .article-content-block h3 { border: 0; color: var(--cyan-deep); font-size: 1em; font-weight: 700; line-height: 1.3; margin: 0 0 10px; padding: 0; }
.rich-editor .article-content-block ul, .rich-editor .article-content-block ol, .rich-editor-preview .article-content-block ul, .rich-editor-preview .article-content-block ol, .reader-body .article-content-block ul, .reader-body .article-content-block ol { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0 0 0 24px; }
.rich-editor .article-content-block li, .rich-editor-preview .article-content-block li, .reader-body .article-content-block li { padding: 8px 3px; }
.article-key-points { background: linear-gradient(135deg, #eef9ff, #f8fcff); }
.article-steps-block { background: #f8fafc; border-left-color: var(--navy); }
.article-step-list { counter-reset: jcf-step; list-style: none; padding-left: 0 !important; }
.article-step-list li { align-items: start; counter-increment: jcf-step; display: grid; gap: 11px; grid-template-columns: 32px minmax(0,1fr); }
.article-step-list li::before { align-items: center; background: #2d6f9e; border-radius: 50%; color: var(--paper); content: counter(jcf-step, decimal-leading-zero); display: inline-flex; font-size: .7em; font-weight: 800; height: 34px; justify-content: center; letter-spacing: .04em; width: 34px; }
.article-numbered-section, .article-card-section { margin: 30px 0; }
.rich-editor .article-numbered-heading, .rich-editor-preview .article-numbered-heading, .reader-body .article-numbered-heading { align-items: start; border: 0; color: var(--navy); display: grid; font-size: 1.36em; font-weight: 700; gap: 13px; grid-template-columns: auto minmax(0,1fr); letter-spacing: -.018em; line-height: 1.25; margin: 0 0 13px; padding: 0; }
.article-number-badge { align-items: center; background: #2d6f9e; border-radius: 50%; color: var(--paper); display: inline-flex; font-size: .55em; font-weight: 800; height: 38px; justify-content: center; letter-spacing: .04em; line-height: 1; min-height: 38px; min-width: 38px; padding: 0; width: 38px; }
.article-numbered-section > p,
.article-numbered-section > ul,
.article-numbered-section > ol,
.article-card-section > p,
.article-card-section > ul,
.article-card-section > ol { margin-left: 49px; }
.article-requirements-block { background: var(--paper); border-color: #c9dae8; border-left-color: #2d6f9e; box-shadow: 0 3px 10px rgba(14,31,83,.06); }
.rich-editor .article-requirements-block h3, .rich-editor-preview .article-requirements-block h3, .reader-body .article-requirements-block h3 { color: #174f79; font-size: .82em; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.rich-editor .article-requirement-list, .rich-editor-preview .article-requirement-list, .reader-body .article-requirement-list { list-style-type: square; padding-left: 20px; }
.article-requirement-list li::marker { color: #53a8d1; font-size: 1.05em; }
.rich-editor .article-card-grid, .rich-editor-preview .article-card-grid, .reader-body .article-card-grid { background: transparent; border: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; margin: 16px 0 0 49px; padding: 0; }
.rich-editor .article-card-grid li, .rich-editor-preview .article-card-grid li, .reader-body .article-card-grid li { background: #eaf2f8; border: 0; border-radius: 7px; color: var(--navy); min-height: 66px; padding: 14px 16px; }
.article-closing-block { background: #0d3155; border-radius: 9px; box-shadow: 0 12px 28px rgba(14,31,83,.14); color: #f5f9fd; margin: 32px 0; padding: 30px 36px; }
.rich-editor .article-closing-block .article-numbered-heading, .rich-editor-preview .article-closing-block .article-numbered-heading, .reader-body .article-closing-block .article-numbered-heading { color: var(--paper); margin-bottom: 16px; }
.rich-editor .article-closing-block .article-closing-title, .rich-editor-preview .article-closing-block .article-closing-title, .reader-body .article-closing-block .article-closing-title { border: 0; color: var(--paper); font-size: 1.28em; font-weight: 700; letter-spacing: -.015em; line-height: 1.28; margin: 0 0 16px; padding: 0; }
.article-closing-block .article-number-badge { background: #58a7d0; color: #082544; }
.rich-editor .article-closing-block p, .rich-editor-preview .article-closing-block p, .reader-body .article-closing-block p { color: #eef5fb; margin-bottom: 12px; }
.article-closing-summary { border-top: 1px solid rgba(255,255,255,.2); margin-top: 20px; padding-top: 16px; }
.rich-editor .article-closing-summary p, .rich-editor-preview .article-closing-summary p, .reader-body .article-closing-summary p { color: var(--paper); font-weight: 650; margin: 0 0 5px; }
.rich-editor .article-featured-quote, .rich-editor-preview .article-featured-quote, .reader-body .article-featured-quote { background: transparent; border: 0; border-left: 4px solid #2d6f9e; border-radius: 0; box-shadow: none; color: var(--navy); font-size: 1.08em; font-style: italic; font-weight: 550; margin: 27px 0; padding: 5px 0 5px 22px; }
.article-featured-quote p { margin: 0 0 12px; }
.article-quote-credit { border-top: 0; color: var(--muted); font-size: .78em; font-style: normal; padding-top: 2px; }
.article-quote-credit strong { color: var(--navy); }
.article-warning-block { background: #fff8e8; border-color: #efd696; border-left-color: #d98b00; }
.article-warning-block h3::before { content: '⚠ '; }
.article-faq-block details { border-top: 1px solid #d6e3ed; padding: 11px 0; }
.article-faq-block details:first-of-type { border-top: 0; }
.article-table-wrap { margin: 26px 0; max-width: 100%; overflow-x: auto; padding: 2px; }
.article-data-table { border-collapse: collapse; color: var(--navy); font-size: .88em; line-height: 1.45; min-width: 560px; table-layout: auto; width: 100%; }
.article-data-table caption { color: var(--navy); font-size: .96em; font-weight: 700; padding: 0 0 9px; text-align: left; }
.article-data-table th, .article-data-table td { border: 1px solid #d2dbe5; min-width: 80px; padding: 10px 12px; text-align: left; vertical-align: top; }
.article-data-table thead th { background: #eef1f4; color: var(--navy); font-weight: 700; }
.article-data-table tbody th { background: #f8fafc; color: var(--navy); font-weight: 650; }
.article-data-table tbody tr:nth-child(even) td { background-color: #fbfcfe; }
.rich-editor .article-table-wrap.is-selected { outline: 3px solid rgba(10,174,243,.45); outline-offset: 3px; }
.rich-editor .article-data-table .is-active-cell { box-shadow: inset 0 0 0 2px var(--cyan); }
.rich-editor .article-data-table th:focus, .rich-editor .article-data-table td:focus { box-shadow: inset 0 0 0 2px var(--cyan); outline: 0; }
.rich-editor-preview .article-data-table { font-size: .8em; min-width: 430px; }
.article-faq-block summary { color: var(--navy); cursor: pointer; font-weight: 600; }
.article-faq-block details p { margin: 8px 0 0; }
.rich-editor .article-card-section.is-selected, .rich-editor .article-faq-block.is-selected { outline: 3px solid rgba(10,174,243,.42); outline-offset: 4px; }
.article-video-embed, .article-audio-embed { background: #f4f7fb; border: 1px solid #d6e3ed; border-radius: 11px; overflow: hidden; width: 100%; }
.article-media-placeholder { align-items: center; aspect-ratio: 16 / 9; background: linear-gradient(145deg, var(--navy), var(--cyan-deep)); color: var(--paper); display: flex; flex-direction: column; justify-content: center; margin: 0 !important; padding: 24px; text-align: center; }
.article-media-placeholder::before { align-items: center; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; content: '▶'; display: inline-flex; height: 52px; justify-content: center; margin-bottom: 12px; padding-left: 3px; width: 52px; }
.article-media-placeholder small { color: #dcecff; display: block; margin-top: 3px; }
.article-video-embed iframe, .article-video-embed video { aspect-ratio: 16 / 9; background: #000; border: 0; display: block; height: auto; width: 100%; }
.article-audio-embed { padding-top: 14px; }
.article-audio-embed audio { display: block; margin: 0 auto 12px; max-width: calc(100% - 28px); width: 100%; }
.article-video-embed figcaption, .article-audio-embed figcaption { border-left-color: var(--cyan); }
.editor-field-meta { align-items: center; color: var(--muted); display: flex; font-size: .55rem; font-weight: 400; gap: 12px; justify-content: space-between; }
.editor-author-field input[readonly] { background:#edf3f8!important; color:#41516c; cursor:not-allowed; }
.summary-character-count { color: var(--cyan-deep); font-weight: 600; }
.summary-character-count.is-near-limit { color: #956600; }
.summary-character-count.is-over-limit { color: var(--danger); }
.editor-image-help { color: var(--muted); font-size: .55rem; font-weight: 500; line-height: 1.5; }
.editor-cover-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 14px; padding: 16px; }
.editor-cover-panel[hidden] { display: none; }
.editor-cover-heading { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.editor-cover-heading > div { display: grid; gap: 4px; }
.editor-cover-heading strong { color: var(--navy); font-size: .72rem; font-weight: 600; }
.editor-cover-heading span { color: var(--muted); font-size: .56rem; line-height: 1.5; }
.cover-center-button { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--navy); flex: 0 0 auto; font-size: .56rem; font-weight: 600; min-height: 38px; padding: 8px 11px; }
.cover-editor-workspace { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); }
.cover-crop-column, .cover-live-column { display: grid; gap: 10px; min-width: 0; }
.cover-workspace-label { align-items: baseline; display: flex; flex-wrap: wrap; gap: 5px 10px; justify-content: space-between; }
.cover-workspace-label strong { color: var(--navy); font-size: .63rem; font-weight: 600; }
.cover-workspace-label span { color: var(--muted); font-size: .53rem; }
.editor-cover-frame { aspect-ratio: 16 / 10; background: var(--navy); border: 3px solid var(--cyan); border-radius: 12px; cursor: grab; overflow: hidden; position: relative; touch-action: none; user-select: none; width: 100%; }
.editor-cover-frame.is-dragging { cursor: grabbing; }
.editor-cover-frame img { height: 100%; object-fit: cover; pointer-events: none; width: 100%; }
.editor-cover-frame > span { background: rgba(7,22,56,.86); border-radius: 7px; bottom: 10px; color: var(--paper); font-size: .52rem; font-weight: 500; left: 50%; padding: 7px 10px; position: absolute; transform: translateX(-50%); white-space: nowrap; }
.cover-position-controls { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.cover-position-controls label { color: var(--muted); font-size: .55rem; font-weight: 500; }
.cover-position-controls input[type="range"] { accent-color: var(--cyan-deep); min-height: 28px; padding: 0; }
.cover-live-column { background: var(--surface); border-radius: 12px; padding: 13px; }
.cover-live-card { box-shadow: 0 12px 28px rgba(14,31,83,.1); pointer-events: none; }
.cover-live-card:hover .publication-card-image img { transform: none; }
.cover-live-card .publication-card-copy { padding: 16px; }
.cover-live-card h3 { font-size: .92rem; margin: 12px 0 8px; }
.cover-live-card .publication-summary { font-size: .61rem; -webkit-line-clamp: 4; }
.cover-live-card .publication-meta { gap: 9px; margin-top: 14px; padding-top: 12px; }
.cover-live-card .publication-author-avatar { height: 32px; width: 32px; }
.cover-live-card .publication-author-copy strong { max-width: 140px; }
.cover-live-card .publication-card-footer { margin: 15px -16px -16px; }
.cover-live-card .publication-read { border-radius: 0 0 17px 17px; min-height: 42px; }
.editor-images { align-items: start; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.editor-image-item { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; position: relative; }
.editor-image-item[draggable="true"] { cursor: grab; }
.editor-image-item[draggable="true"]:active { cursor: grabbing; }
.editor-image-item.is-cover { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(10,174,243,.12); }
.editor-image-item.is-adjusting { border-color: #087dc0; box-shadow: 0 0 0 3px rgba(8,125,192,.18); }
.editor-image-item.is-dragging { opacity: .46; transform: scale(.98); }
.editor-image-item.is-drop-target { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(10,174,243,.22); transform: translateY(-2px); }
.editor-image-crop-frame { aspect-ratio: 16 / 10; background: #071638; cursor: grab; overflow: hidden; position: relative; touch-action: none; user-select: none; width: 100%; }
.editor-image-crop-frame.is-dragging { cursor: grabbing; }
.editor-image-crop-frame:focus-visible { box-shadow: inset 0 0 0 3px var(--cyan); outline: 0; }
.editor-image-crop-frame img { display: block; height: 100%; object-fit: cover; pointer-events: none; width: 100%; }
.editor-image-crop-hint { background: rgba(7,22,56,.78); border-radius: 5px; bottom: 7px; color: #fff; font-size: .45rem; font-weight: 700; left: 50%; opacity: .82; padding: 5px 7px; pointer-events: none; position: absolute; transform: translate(-50%,0); transition: opacity .16s ease, transform .16s ease; white-space: nowrap; }
.editor-image-crop-frame:hover .editor-image-crop-hint,
.editor-image-crop-frame:focus-visible .editor-image-crop-hint,
.editor-image-crop-frame.is-dragging .editor-image-crop-hint { opacity: 1; transform: translate(-50%,0); }
.editor-image-number { background: rgba(7,22,56,.88); border-radius: 5px; color: var(--paper); font-size: .5rem; font-weight: 700; left: 7px; padding: 5px 7px; position: absolute; top: 7px; }
.news-editor-form .editor-gallery-caption-label { color: var(--navy); font-size: .54rem; gap: 5px; padding: 9px 9px 2px; }
.news-editor-form .editor-gallery-caption-label input { background: var(--paper); font-size: .56rem; min-height: 39px; padding: 8px 9px; }
.editor-image-order-controls { align-items: center; border-bottom: 1px solid #e0e8f0; border-top: 1px solid #e0e8f0; display: grid; gap: 5px; grid-template-columns: minmax(0,1fr) 28px auto 28px; padding: 6px 7px; }
.editor-image-drag-handle { align-items: center; color: #607089; display: inline-flex; font-size: .48rem; font-weight: 650; gap: 5px; min-width: 0; outline: none; }
.editor-image-drag-handle::before { color: #8b9aae; content: '⠿'; font-size: .75rem; line-height: 1; }
.editor-image-drag-handle:focus-visible { color: #0575ad; text-decoration: underline; text-underline-offset: 2px; }
.editor-image-move { align-items: center; background: #f3f7fb; border: 1px solid #d4e0eb; border-radius: 6px; color: var(--navy); display: inline-flex; font-size: .65rem; height: 28px; justify-content: center; padding: 0; width: 28px; }
.editor-image-move:hover:not(:disabled), .editor-image-move:focus-visible:not(:disabled) { background: var(--cyan-soft); border-color: #8bd9f7; color: #006ca3; }
.editor-image-move:disabled { cursor: default; opacity: .32; }
.editor-image-order-label { color: #64748b; font-size: .46rem; min-width: 28px; text-align: center; }
.editor-image-actions { align-items: center; display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 5px; justify-content: space-between; padding: 7px; }
.editor-image-actions button { border: 0; border-radius: 6px; font-size: .49rem; font-weight: 600; min-height: 31px; padding: 6px 8px; }
.editor-adjust-image { background: #edf4fb; color: var(--navy); }
.editor-adjust-image:hover, .editor-adjust-image:focus-visible { background: #dcecf9; color: #006fae; }
.editor-use-cover { background: var(--cyan-soft); color: var(--cyan-deep); }
.editor-remove-image { background: var(--danger-soft); color: var(--danger); }
.editor-cover-badge { color: var(--cyan-deep); font-size: .52rem; font-weight: 700; padding-inline: 3px; }
.editor-cover-titleline, .editor-image-position-titleline { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.editor-cover-mode-badge, .editor-image-position-badge { background: var(--navy); border-radius: 5px; color: var(--paper); display: inline-flex; font-size: .45rem; font-weight: 800; letter-spacing: .06em; padding: 5px 7px; }
.editor-image-position-badge { background: #087dc0; }
.editor-cover-panel.is-active-adjustment { border-color: #087dc0; box-shadow: 0 0 0 3px rgba(8,125,192,.12); }
.editor-image-position-panel { background: #f7fafc; border: 1px solid #cfdbe8; border-radius: 10px; display: grid; gap: 12px; margin-top: 14px; padding: 14px; }
.editor-image-position-panel[hidden] { display: none; }
.editor-image-position-heading { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.editor-image-position-heading > div { display: grid; gap: 3px; }
.editor-image-position-heading strong { color: var(--navy); font-size: .68rem; }
.editor-image-position-heading span { color: #68758b; font-size: .53rem; line-height: 1.45; }
.image-position-close { background: var(--paper); border: 1px solid #cbd8e6; border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 700; min-height: 34px; padding: 7px 11px; }
.editor-image-position-workspace { align-items: center; display: grid; gap: 18px; grid-template-columns: minmax(0,1.45fr) minmax(220px,.55fr); }
.editor-image-position-frame { aspect-ratio: 16 / 10; background: var(--navy); border: 2px solid #0aaef3; border-radius: 9px; cursor: grab; overflow: hidden; position: relative; touch-action: none; user-select: none; width: 100%; }
.editor-image-position-frame.is-dragging { cursor: grabbing; }
.editor-image-position-frame img { height: 100%; object-fit: cover; pointer-events: none; width: 100%; }
.editor-image-position-frame > span { background: rgba(7,22,56,.82); border-radius: 5px; bottom: 8px; color: var(--paper); font-size: .48rem; left: 50%; padding: 5px 8px; position: absolute; transform: translateX(-50%); white-space: nowrap; }
.editor-image-position-controls { display: grid; gap: 11px; }
.editor-image-position-controls p { display: grid; gap: 3px; margin: 0 0 2px; }
.editor-image-position-controls p strong { color: var(--navy); font-size: .64rem; }
.editor-image-position-controls p span { color: #68758b; font-size: .51rem; line-height: 1.45; }
.editor-image-position-controls label { color: #59677e; display: grid; font-size: .52rem; font-weight: 600; gap: 4px; }
.editor-image-position-controls input[type="range"] { accent-color: #0a8fd2; min-height: 25px; padding: 0; }
.image-position-center { background: var(--paper); border: 1px solid #cbd8e6; border-radius: 7px; color: var(--navy); font-size: .54rem; font-weight: 700; min-height: 36px; padding: 7px 10px; }
.news-editor-checkbox { align-items: center; background: var(--cyan-soft); border-radius: 9px; display: flex !important; grid-template-columns: auto 1fr; padding: 12px; }
.news-editor-checkbox input { min-height: 20px; width: 20px; }
.news-editor-note { background: var(--surface); border-radius: 8px; color: var(--muted); font-size: .56rem; line-height: 1.6; margin: 0; padding: 11px 12px; }
.news-editor-error { color: var(--danger); font-size: .62rem; margin: 0; min-height: 20px; }
.news-editor-actions { align-items: center; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 12px; bottom: 14px; box-shadow: 0 12px 30px rgba(14,31,83,.12); display: flex; gap: 10px; justify-content: flex-end; padding: 10px; position: sticky; z-index: 22; }
.news-editor-actions button { border: 0; border-radius: 8px; font-size: .65rem; font-weight: 700; min-height: 44px; padding: 11px 17px; }
.news-editor-cancel { background: var(--surface); color: var(--navy); }
.news-editor-save { background: var(--navy); color: var(--paper); }

.news-editor-status { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; bottom: 18px; box-shadow: var(--shadow); display: none; font-size: .62rem; gap: 16px; justify-content: space-between; left: 50%; max-width: 430px; padding: 10px 12px 10px 16px; position: fixed; transform: translateX(-50%); width: calc(100% - 28px); z-index: 120; }
body.editor-active .news-editor-status { display: flex; }
.news-editor-status strong { color: var(--cyan-deep); }
.news-editor-status button { background: var(--navy); border: 0; border-radius: 8px; color: var(--paper); font-size: .57rem; font-weight: 800; min-height: 38px; padding: 8px 13px; }

@media (max-width: 1000px) {
  .spotlight-card { grid-template-columns: 1.1fr .9fr; }
  .news-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retired-grid { grid-template-columns: 1fr; }
  .cover-editor-workspace { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .rich-editor-workspace { grid-template-columns: 1fr; }
  .rich-editor-preview-panel { max-height: 500px; position: relative; top: auto; }
}

@media (max-width: 1160px) {
  .news-header-inner { grid-template-columns: 1fr auto auto; }
  .news-menu-button { display: block; justify-self: end; }
  .news-site-nav { background: rgba(6, 22, 56, .99); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; box-shadow: 0 18px 46px rgba(3,15,43,.28); display: none; flex-direction: column; gap: 0; padding: 10px; position: absolute; right: 28px; top: calc(100% - 7px); width: 245px; }
  .news-site-nav.nav-open { display: flex; }
  .news-site-nav a { border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 13px 12px; width: 100%; }
  .news-site-nav a::after { bottom: 5px; left: 12px; transform-origin: left; width: 28px; }
  .news-site-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .news-header-inner { gap: 8px; grid-template-columns: 1fr auto auto; min-height: 84px; padding: 10px 18px; }
  .news-brand { min-width: 0; }
  .news-brand > span { display: none; }
  .news-brand img { height: 48px; width: 48px; }
  .news-header-actions { gap: 6px; }
  .news-instagram, .news-whatsapp-channel { height: 42px; width: 42px; }
  .news-donate { font-size: .56rem; padding: 11px 12px; }
  .news-site-nav { right: 18px; top: calc(100% - 3px); }
  .news-discovery-inner { padding: 17px 20px; }
  .news-library { padding: 20px 20px 70px; }
  .category-filters { margin-inline: -20px; padding-inline: 20px; }
  .category-filters { scrollbar-width: none; }
  .category-filters::-webkit-scrollbar { display: none; }
  .news-editor-toolbar { align-items: stretch; flex-direction: column; }
  .news-editor-toolbar button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-heading--compact > span { display: none; }
  .news-sort-label { width: 100%; }
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-visual { aspect-ratio: 4 / 3; min-height: 0; }
  .spotlight-copy { padding: 25px 22px 28px; }
  .news-page-grid { grid-template-columns: 1fr; }
  .publication-card-image { aspect-ratio: 16 / 10; }
  .publication-card h3 { font-size: 1.02rem; line-height: 1.3; }
  .publication-summary { font-size: .76rem; }
  .publication-author-avatar { height: 42px; width: 42px; }
  .publication-author-copy strong { font-size: .63rem; }
  .retired-library { padding: 19px; }
  .retired-card { align-items: start; grid-template-columns: 74px 1fr; }
  .retired-card img { height: 64px; width: 74px; }
  .retired-card-actions { display: flex; grid-column: 1 / -1; }
  .news-footer { padding: 40px 20px 24px; }
  .news-footer-info { gap: 20px; grid-template-columns: 1fr; max-width: 500px; text-align: center; }
  .news-footer-nav { gap: 9px 13px; }
  .news-dialog { padding: 0; }
  .news-dialog-card { border-radius: 0; max-height: none; min-height: 100dvh; }
  .reader-screen-header { min-height: 58px; padding: 6px 14px; }
  .editor-screen-header { min-height: 68px; padding: 8px 16px; }
  .reader-screen-brand { gap: 8px; }
  .reader-screen-brand img { height: 38px; width: 38px; }
  .reader-screen-brand strong { font-size: .68rem; }
  .reader-screen-brand small, .editor-screen-brand small { display: none; }
  .reader-close { min-height: 38px; padding: 8px 11px; }
  .editor-close { min-height: 40px; padding: 9px 13px; }
  .reader-close-long { display: none; }
  .reader-close-short { display: inline; }
  .reader-page-shell { padding: 18px 18px 52px; }
  .reader-breadcrumbs { font-size: .51rem; gap: 6px; margin-bottom: 16px; }
  .reader-breadcrumbs > * + *::before { margin-right: 6px; }
  .reader-heading { max-width: 100%; }
  .reader-category { font-size: .52rem; margin-bottom: 10px; padding: 6px 9px; }
  .reader-heading h2 { display: block; font-size: clamp(1.55rem, 7vw, 1.9rem); letter-spacing: -.026em; line-height: 1.13; overflow: visible; -webkit-line-clamp: initial; }
  .reader-summary { font-size: .83rem; line-height: 1.55; margin-top: 10px; }
  .reader-tags { flex-wrap: nowrap; margin: 12px -18px 0; overflow-x: auto; padding: 0 18px 3px; scrollbar-width: none; }
  .reader-tags::-webkit-scrollbar { display: none; }
  .reader-tag { flex: 0 0 auto; font-size: .5rem; padding: 6px 9px; }
  .reader-meta { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 16px; padding: 13px 0; }
  .reader-meta-items { display: grid; gap: 11px 10px; grid-template-columns: repeat(2, minmax(0,1fr)); width: 100%; }
  .reader-meta-item { gap: 7px; }
  .reader-meta-emblem { font-size: .76rem; height: 32px; width: 32px; }
  .reader-author-emblem { height: 34px; width: 34px; }
  .reader-meta-copy small { font-size: .42rem; }
  .reader-meta-copy strong { font-size: .54rem; white-space: normal; }
  .reader-author-role { font-size: .42rem; white-space: normal; }
  .reader-share-actions { margin-left: 0; width: 100%; }
  .reader-share-label { margin-right: auto; }
  .reader-share-actions button { flex: 0 0 36px; font-size: .9rem; height: 36px; width: 36px; }
  .reader-cover { border-radius: 12px; margin-top: 16px; }
  .reader-cover img { aspect-ratio: 16 / 10; }
  .reader-caption { font-size: .76rem; line-height: 1.48; padding: 9px 11px 10px; }
  .reader-content-layout { gap: 22px; grid-template-columns: 1fr; margin-top: 20px; }
  .rich-editor .article-card-grid, .rich-editor-preview .article-card-grid, .reader-body .article-card-grid { grid-template-columns: 1fr; margin-left: 0; }
  .article-closing-block { padding: 24px 20px; }
  .reader-body { font-size: .93rem; line-height: 1.62; }
  .reader-body p { margin-bottom: .72em; }
  .reader-body h2 { font-size: 1.18rem; margin-top: 24px; padding-top: 17px; }
  .reader-body h3 { font-size: 1.04rem; margin-top: 22px; padding-top: 15px; }
  .reader-toc { order: -1; padding: 13px 11px 10px; position: relative; top: auto; }
  .reader-toc:has(.reader-toc-link:only-child) { display: none; }
  .reader-toc h3 { margin-inline: 6px; padding-bottom: 9px; }
  .reader-toc-link { min-height: 37px; padding: 6px 7px; }
  .reader-toc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-related-grid { grid-template-columns: 1fr; }
  .reader-related { margin-top: 28px; padding-top: 22px; }
  .reader-related-heading h3 { font-size: 1.35rem; }
  .reader-related-grid { margin-top: 14px; }
  .reader-related-card > img { aspect-ratio: 16 / 9; }
  .reader-related-copy { min-height: 0; padding: 13px; }
  .reader-gallery { grid-template-columns: 1fr; }
  .editor-dialog-card { padding: 0; }
  .editor-page-shell { padding: 28px 20px 90px; }
  .news-editor-form { grid-template-columns: 1fr; }
  .news-editor-form .full { grid-column: auto; }
  .rich-editor-toolbar { align-items: stretch; top: 68px; }
  .news-editor-form .rich-editor-style-label { flex: 1 1 100%; }
  .news-editor-form .rich-editor-style { flex: 1; width: 100%; }
  .rich-editor-toolbar-group { flex: 1 1 auto; }
  .rich-editor-toolbar button { flex: 1; }
  .rich-editor-block-tools { border-left: 0; border-top: 1px solid #cbd6e5; flex: 1 1 100%; margin-left: 0; padding-left: 0; padding-top: 7px; }
  .rich-editor-color-tools, .rich-editor-align-tools { border-left: 0; border-top: 1px solid #cbd6e5; flex: 1 1 100%; padding-left: 0; padding-top: 7px; }
  .news-editor-form .rich-editor-block-select { flex: 1 1 150px; min-width: 0; width: auto; }
  .rich-editor-block-insert { flex: 1 1 130px !important; }
  .rich-editor-media-tools { border-left: 0; border-top: 1px solid #cbd6e5; flex: 1 1 100%; margin-left: 0; padding-left: 0; padding-top: 7px; }
  .rich-editor { height: 52vh; min-height: 340px; padding: 16px; }
  .rich-editor-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .editor-cover-heading { align-items: stretch; flex-direction: column; }
  .cover-center-button { width: 100%; }
  .cover-editor-workspace { grid-template-columns: 1fr; }
  .cover-live-column { margin-top: 6px; }
  .cover-position-controls { grid-template-columns: 1fr; }
  .editor-images { grid-template-columns: repeat(2, 1fr); }
  .editor-image-position-heading { align-items: stretch; flex-direction: column; gap: 9px; }
  .image-position-close { align-self: start; }
  .editor-image-position-workspace { grid-template-columns: 1fr; }
  .article-image-row { grid-template-columns: 1fr; }
  .rich-editor .article-image--normal, .rich-editor-preview .article-image--normal, .reader-body .article-image--normal { width: 100%; }
  .inline-image-tools { grid-template-columns: 1fr; }
  .inline-image-tools > div { grid-column: auto; }
  .inline-table-tools { grid-template-columns: 1fr auto auto; }
  .inline-table-tools > div:first-child { grid-column: 1 / -1; }
  .inline-structured-tools { align-items: stretch; flex-direction: column; }
  .inline-structured-actions { justify-content: stretch; }
  .inline-structured-actions button { flex: 1 1 130px; }
  .news-editor-actions { bottom: 8px; }
  .news-editor-status { bottom: 10px; left: 10px; right: 10px; transform: none; width: auto; }
  .chatgpt-code-catalog { grid-template-columns: 1fr; }
  .chatgpt-code-guide { padding: 15px; }
  .chatgpt-code-guide-head { align-items: stretch; flex-direction: column; }
  .chatgpt-code-guide-close { align-self: start; }
}

@media (max-width: 480px) {
  .news-discovery h1 { font-size: 2.05rem; }
  .spotlight-copy h3 { font-size: 1.65rem; }
  .publication-card h3 { font-size: 1.05rem; }
  .reader-toc-links { grid-template-columns: 1fr; }
  .news-footer-brand img { height: 74px; width: 74px; }
  .news-footer-description { font-size: .65rem; }
  .inline-table-tools { grid-template-columns: 1fr 1fr; }
  .inline-table-tools > div:first-child { grid-column: 1 / -1; }
  .news-editor-form .inline-table-tools input[type="color"] { width: 100%; }
}

@media (max-width: 340px) {
  .news-search-form { grid-template-columns: 1fr; }
  .news-search-form button { width: 100%; }
}

/* Escritorio editorial profesional */
.editor-dialog-card { background: #f5f7fb; }
.editor-screen-header { min-height: 62px; padding-block: 7px; }
.editor-page-shell { max-width: 1540px; padding: 22px 24px 88px; }
.editor-dialog-head { margin-bottom: 16px; }
.editor-dialog-head .eyebrow { display: none; }
.editor-dialog-head h2 { color: var(--navy); font-size: clamp(1.55rem, 2.3vw, 2rem); letter-spacing: -.035em; }
.editor-dialog-head > p:last-child { font-size: .66rem; line-height: 1.5; margin: 5px 0 0; max-width: none; }

.news-editor-form.professional-editor { align-items: start; display: grid; gap: 14px 16px; grid-template-columns: minmax(0, 1fr) 310px; margin-top: 0; }
.professional-editor .editor-title-field { grid-column: 1; grid-row: 1; }
.professional-editor .editor-title-field { font-size: 0; gap: 0; }
.professional-editor .editor-title-field input { background: var(--paper); border-color: #cfdbea; border-radius: 7px; box-shadow: 0 1px 2px rgba(14,31,83,.03); font-size: .82rem; min-height: 46px; padding: 10px 14px; }
.professional-editor .rich-editor-field { grid-column: 1; grid-row: 2; min-width: 0; }
.professional-editor .editor-inspector { grid-column: 2; grid-row: 1 / span 2; }
.professional-editor .news-editor-actions { grid-column: 1 / -1; grid-row: 3; }
.professional-editor .rich-editor-label { display: none; }

.editor-inspector { display: grid; gap: 10px; max-height: calc(100dvh - 92px); overflow-x: hidden; overflow-y: auto; padding: 0 2px 20px 0; position: sticky; top: 72px; }
.editor-inspector-card { background: var(--paper); border: 1px solid #d2ddea; border-radius: 9px; box-shadow: 0 2px 5px rgba(14,31,83,.025); overflow: hidden; }
.editor-inspector-card > summary { align-items: center; color: var(--navy); cursor: pointer; display: flex; font-size: .68rem; font-weight: 750; justify-content: space-between; list-style: none; min-height: 46px; padding: 12px 14px; }
.editor-inspector-card > summary::-webkit-details-marker { display: none; }
.editor-inspector-card > summary i { color: #60718f; font-size: .65rem; transition: transform .18s ease; }
.editor-inspector-card:not([open]) > summary i { transform: rotate(180deg); }
.editor-inspector-card[open] > summary { border-bottom: 1px solid #e3e9f1; }
.editor-inspector-card-body { display: grid; gap: 12px; padding: 13px 14px 15px; }
.editor-status-row { align-items: center; color: #56627a; display: flex; font-size: .62rem; justify-content: space-between; }
.editor-publication-status { background: #eef1f5; border-radius: 6px; color: #526077; font-size: .57rem; font-weight: 700; padding: 7px 10px; }
.editor-publication-status[data-status="published"] { background: #e8f7ef; color: #197044; }
.editor-publication-status[data-status="retired"] { background: var(--danger-soft); color: var(--danger); }
.professional-editor .editor-inspector label { font-size: .57rem; gap: 5px; }
.professional-editor .editor-inspector input,
.professional-editor .editor-inspector select,
.professional-editor .editor-inspector textarea { background: var(--paper); border-color: #cfdae8; font-size: .66rem; min-height: 40px; padding: 9px 10px; }
.professional-editor .editor-inspector textarea { min-height: 92px; }
.professional-editor .editor-inspector .news-editor-checkbox { align-items: start; background: #f7f9fc; border: 1px solid #e0e6ef; border-radius: 7px; display: grid; font-size: .56rem; gap: 8px; grid-template-columns: 17px 1fr; line-height: 1.45; padding: 9px 10px; }
.professional-editor .editor-inspector .news-editor-checkbox input { min-height: 17px; width: 17px; }
.professional-editor .news-editor-note { color: #657189; font-size: .52rem; line-height: 1.45; margin: 0; }
.professional-editor .summary-field textarea { min-height: 96px; }
.professional-editor .editor-field-meta { font-size: .5rem; }

.professional-editor .chatgpt-import { background: var(--paper); border-color: #d2ddea; border-radius: 9px; }
.professional-editor .chatgpt-import summary { font-size: .63rem; padding: 13px 14px; }
.professional-editor .chatgpt-import-body { padding: 12px 14px 14px; }
.professional-editor .chatgpt-import-body textarea { min-height: 150px; }
.professional-editor .chatgpt-import-actions { align-items: stretch; flex-direction: column; }
.professional-editor .chatgpt-import-actions button { width: 100%; }
.professional-editor .chatgpt-code-guide { border-radius: 7px; margin-top: 4px; padding: 11px; }
.professional-editor .chatgpt-code-catalog { grid-template-columns: 1fr; }
.professional-editor .chatgpt-prompt-template { min-height: 250px; }

.professional-editor .rich-editor-toolbar { background: var(--paper); border: 1px solid #cfdae8; border-radius: 8px 8px 0 0; box-shadow: 0 4px 12px rgba(14,31,83,.05); display: block; overflow: hidden; padding: 0; top: 62px; }
.editor-ribbon-tabs { align-items: end; border-bottom: 1px solid #dce4ee; display: flex; gap: 5px; min-height: 39px; padding: 0 8px; }
.rich-editor-toolbar .editor-ribbon-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #46536c; font-size: .58rem; font-weight: 650; min-height: 39px; padding: 9px 12px 7px; }
.rich-editor-toolbar .editor-ribbon-tab[aria-selected="true"] { border-bottom-color: var(--navy); color: var(--navy); }
.editor-ribbon-panel { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 7px; min-height: 70px; padding: 8px 10px 9px; }
.editor-ribbon-panel[hidden] { display: none; }
.editor-ribbon-panel--home .rich-editor-toolbar-group,
.editor-ribbon-panel--insert .rich-editor-toolbar-group { align-items: center; border-left: 1px solid #dbe3ed; gap: 4px; padding-left: 7px; }
.editor-ribbon-panel > :first-child { border-left: 0 !important; padding-left: 0 !important; }
.professional-editor .rich-editor-toolbar button { align-items: center; display: inline-flex; font-size: .55rem; gap: 5px; justify-content: center; min-height: 36px; padding: 7px 9px; }
.professional-editor .rich-editor-toolbar button i { font-size: .78rem; }
.professional-editor .rich-editor-toolbar button > span { display: none; }
.professional-editor .rich-editor-toolbar .rich-editor-color-button { border: 1px solid #cbd6e5; border-bottom-width: 3px; font-size: 0; height: 36px; min-width: 36px; padding: 0; width: 36px; }
.professional-editor .rich-editor-color-button--navy { background: var(--navy); }
.professional-editor .rich-editor-color-button--sky { background: var(--cyan); }
.professional-editor .rich-editor-toolbar .rich-editor-color-button--white { background: var(--paper); border-bottom-color: #c4ccd8; }
.professional-editor .rich-editor-color-label,
.professional-editor .rich-editor-group-label { display: none; }
.professional-editor .rich-editor-block-tools { border-left: 0; margin-left: 0; padding-left: 0; }
.professional-editor .rich-editor-media-tools { border-left: 1px solid #dbe3ed; }
.professional-editor .rich-editor-media-tools button { background: var(--paper); border-color: #cbd6e5; color: var(--navy); }
.professional-editor .rich-editor-media-tools .rich-editor-table-insert { background: var(--paper); border-color: #cbd6e5; color: var(--navy); }
.professional-editor .editor-library-open { background: #eef8ff; border-color: var(--cyan); color: #006a9a; font-weight: 700; }
.professional-editor .editor-ribbon-quick { background: var(--paper); border-color: #cbd6e5; }
.editor-ribbon-panel--review { align-items: center; color: #5d6980; font-size: .54rem; }
.editor-review-count { color: var(--navy); font-size: .62rem; }
.editor-review-action { margin-left: auto; }

.professional-editor .rich-editor-workspace { align-items: stretch; background: #f1f4f8; border: 1px solid #cfdae8; border-top: 0; display: grid; grid-template-columns: 310px minmax(0,1fr); justify-content: stretch; min-height: clamp(510px, 68vh, 760px); }
.professional-editor .rich-editor-column { align-items: start; display: flex; justify-content: center; min-width: 0; overflow: hidden; padding: 22px 24px; }
.professional-editor .rich-editor { border: 1px solid #e1e7ef; border-radius: 2px; box-shadow: 0 3px 12px rgba(14,31,83,.06); height: clamp(466px, calc(68vh - 44px), 716px); max-width: 760px; padding: 42px 48px; width: 100%; }
.professional-editor .rich-editor:focus { border-color: #b8cee0; outline: 2px solid rgba(10,174,243,.14); }

.editor-block-library { background: var(--paper); border-right: 1px solid #d2dce8; max-height: clamp(510px, 68vh, 760px); overflow-y: auto; padding: 13px 12px 20px; }
.editor-block-library-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 10px; }
.editor-block-library-head strong { color: var(--navy); font-size: .68rem; }
.editor-block-library-close { background: transparent; border: 0; border-radius: 5px; color: #60718f; height: 30px; width: 30px; }
.editor-block-search { align-items: center; display: grid !important; font-size: 0 !important; grid-template-columns: 22px 1fr; margin-bottom: 15px; position: relative; }
.editor-block-search i { color: #758198; font-size: .68rem; left: 9px; position: absolute; }
.professional-editor .editor-block-search input { background: var(--paper); font-size: .57rem; min-height: 38px; padding: 8px 9px 8px 30px; }
.professional-editor .editor-block-search input { grid-column: 1 / -1; width: 100%; }
.editor-block-group { margin-top: 15px; }
.editor-block-group[hidden] { display: none; }
.editor-block-group h3 { color: #45536c; font-size: .56rem; font-weight: 750; margin: 0 0 8px; }
.editor-block-grid { display: grid; gap: 7px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.editor-block-option { align-items: flex-start; background: var(--paper); border: 1px solid #d6e0eb; border-radius: 7px; color: var(--navy); display: grid; gap: 8px; grid-template-columns: 26px minmax(0,1fr); min-height: 69px; padding: 10px; text-align: left; width: 100%; }
.editor-block-option:hover, .editor-block-option:focus-visible { background: #f6fbff; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(10,174,243,.08); }
.editor-block-option > i { color: #078dd0; font-size: 1.05rem; line-height: 1.15; }
.editor-block-option-copy { display: grid; gap: 3px; min-width: 0; }
.editor-block-option-copy strong { color: var(--navy); font-size: .55rem; line-height: 1.25; }
.editor-block-option-copy small { color: #6d7990; font-size: .46rem; line-height: 1.35; }
.professional-editor:not(.block-library-open) .rich-editor-workspace { grid-template-columns: minmax(0,1fr); }
.professional-editor:not(.block-library-open) .editor-block-library { display: none; }

.professional-editor .inline-image-tools,
.professional-editor .inline-table-tools,
.professional-editor .inline-structured-tools { border-radius: 7px; box-shadow: 0 2px 6px rgba(14,31,83,.035); }
.professional-editor .rich-editor-meta { align-items: center; background: var(--paper); border: 1px solid #cfdae8; border-top: 0; border-radius: 0 0 8px 8px; color: #68748b; display: flex; font-size: .51rem; justify-content: flex-start; min-height: 38px; padding: 8px 12px; }
.professional-editor .rich-editor-meta .editor-image-help { display: none; }
.professional-editor .rich-editor-word-count { color: #536078; font-size: .51rem; order: -1; }
.editor-reading-estimate { border-left: 1px solid #dce3ec; padding-left: 13px; }
.editor-save-state { color: #278457; margin-left: auto; }
.editor-save-state i { font-size: .7rem; }

.professional-editor .editor-cover-panel { border: 0; border-radius: 0; padding: 0; }
.professional-editor .editor-cover-heading { align-items: stretch; flex-direction: column; gap: 8px; }
.professional-editor .cover-center-button { font-size: .55rem; min-height: 36px; width: 100%; }
.professional-editor .cover-editor-workspace { grid-template-columns: 1fr; }
.professional-editor .cover-live-column { display: none; }
.professional-editor .cover-position-controls { grid-template-columns: 1fr; }
.professional-editor .editor-images { grid-template-columns: 1fr; }
.professional-editor .editor-image-item { background: var(--paper); }

.professional-editor .news-editor-actions { align-items: center; border-radius: 9px; bottom: 8px; min-height: 58px; padding: 7px 9px; }
.professional-editor .news-editor-actions .news-editor-error { flex: 1 1 auto; margin: 0 auto 0 4px; min-height: 0; }
.professional-editor .news-editor-error.is-success { color: #248157; }

@media (max-width: 980px) {
  .professional-editor .rich-editor-workspace { grid-template-columns: minmax(0,1fr); position: relative; }
  .professional-editor .editor-block-library { box-shadow: 12px 0 28px rgba(14,31,83,.13); height: 100%; left: 0; max-width: calc(100% - 40px); position: absolute; top: 0; width: 310px; z-index: 18; }
  .professional-editor:not(.block-library-open) .editor-block-library { display: none; }
}

@media (max-width: 900px) {
  .editor-page-shell { padding: 18px 16px 86px; }
  .news-editor-form.professional-editor { grid-template-columns: 1fr; }
  .professional-editor .editor-title-field,
  .professional-editor .rich-editor-field,
  .professional-editor .editor-inspector,
  .professional-editor .news-editor-actions { grid-column: 1; grid-row: auto; }
  .professional-editor .editor-inspector { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-height: none; overflow: visible; position: static; }
  .professional-editor .editor-ai-card,
  .professional-editor .editor-inspector-card:has(.editor-cover-panel) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .professional-editor .editor-inspector { grid-template-columns: 1fr; }
  .professional-editor .editor-inspector-card { grid-column: 1; }
  .editor-ribbon-panel { align-items: stretch; min-height: 0; }
  .editor-ribbon-panel--home .rich-editor-toolbar-group,
  .editor-ribbon-panel--insert .rich-editor-toolbar-group { border-left: 0; border-top: 1px solid #e2e8f0; flex: 1 1 100%; padding: 7px 0 0; }
  .professional-editor .rich-editor-toolbar button span { display: none; }
  .professional-editor .rich-editor-column { padding: 12px; }
  .professional-editor .rich-editor { height: 54vh; min-height: 390px; padding: 24px 20px; }
  .editor-block-grid { grid-template-columns: 1fr; }
  .professional-editor .rich-editor-meta { flex-wrap: wrap; }
  .editor-save-state { flex: 1 1 100%; margin-left: 0; }
}

@media (pointer: coarse), (max-width: 720px) {
  .spotlight-card, .publication-card, .retired-card, .reader-toc, .reader-related-card { box-shadow: none; }
  .publication-card-image img, .news-instagram, .news-whatsapp-channel { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Flujo editorial por etapas */
.editor-dialog-head--workflow { align-items: start; display: grid; gap: 4px 24px; grid-template-columns: minmax(0,1fr) auto; }
.editor-dialog-card > .editor-screen-header { display: none; }
.editor-page-shell { max-width: none; padding: 16px 20px 82px; }
.editor-dialog-head--workflow > h2,
.editor-dialog-head--workflow > p { grid-column: 1; }
.editor-dialog-head--workflow > p:last-of-type { display: none; }
.editor-top-actions { align-items: center; display: flex; gap: 8px; grid-column: 2; grid-row: 1 / span 3; }
.editor-top-actions button { align-items: center; border: 1px solid #cbd7e6; border-radius: 7px; display: inline-flex; font-size: .6rem; font-weight: 700; gap: 6px; justify-content: center; min-height: 40px; padding: 9px 13px; }
.editor-top-back { background: transparent; color: #55627a; }
.editor-top-draft { background: var(--paper); color: var(--navy); }
.editor-top-publish { background: var(--navy); border-color: var(--navy) !important; color: var(--paper); }

.news-editor-form.professional-editor { display: block; }
.editor-workflow-steps { align-items: center; border-bottom: 1px solid #d8e2ed; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 12px 0 18px; padding: 0 0 10px; position: relative; }
.editor-workflow-steps::before { background: #d6e0eb; content: ''; height: 1px; left: 18%; position: absolute; right: 18%; top: 15px; }
.editor-workflow-step { align-items: center; background: transparent; border: 0; color: #6c7890; display: flex; font-size: .59rem; font-weight: 650; gap: 8px; justify-content: center; min-height: 32px; padding: 0 8px; position: relative; z-index: 1; }
.editor-workflow-number { align-items: center; background: #eef2f7; border: 1px solid #d1dbe7; border-radius: 50%; color: #66738b; display: inline-flex; flex: 0 0 auto; font-size: .52rem; height: 30px; justify-content: center; width: 30px; }
.editor-workflow-step.is-active { color: #0877b0; }
.editor-workflow-step.is-active .editor-workflow-number { background: #087dd0; border-color: #087dd0; color: var(--paper); }
.editor-workflow-step.is-complete .editor-workflow-number { background: #e9f8f0; border-color: #73c79a; color: #23764a; }
.editor-step-heading { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 10px; }
.editor-step-heading h3 { color: var(--navy); font-size: 1rem; letter-spacing: -.02em; margin: 0; outline: 0; }
.editor-step-heading p { color: #68748b; font-size: .57rem; line-height: 1.5; margin: 4px 0 0; }
.editor-step-limit { color: #6c7890; font-size: .52rem; white-space: nowrap; }
.editor-step-panel[hidden] { display: none; }
.editor-step-panel { min-width: 0; }

.editor-content-step-layout { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0,1fr) 300px; }
.editor-content-main { display: grid; gap: 12px; min-width: 0; }
.editor-content-sidebar { display: grid; gap: 10px; max-height: calc(100dvh - 176px); overflow-y: auto; padding-right: 2px; position: sticky; top: 74px; }
.professional-editor .editor-content-sidebar label { font-size: .57rem; gap: 5px; }
.professional-editor .editor-content-sidebar input,
.professional-editor .editor-content-sidebar select,
.professional-editor .editor-content-sidebar textarea { background: var(--paper); border-color: #cfdae8; font-size: .66rem; min-height: 40px; padding: 9px 10px; }
.professional-editor .editor-content-sidebar textarea { min-height: 92px; }
.professional-editor .editor-title-field input { font-size: .76rem; }

.editor-media-layout { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0,1fr) clamp(300px,27vw,470px); }
.editor-media-main { background: var(--paper); border: 1px solid #d3deea; border-radius: 9px; min-width: 0; padding: 0 16px; }
.editor-media-section { padding: 16px 0; }
.editor-media-section + .editor-media-section { border-top: 1px solid #dce5ee; }
.editor-media-section-head { align-items: start; display: flex; gap: 10px; margin-bottom: 12px; }
.editor-media-section-number { align-items: center; background: var(--navy); border-radius: 50%; color: var(--paper); display: inline-flex; flex: 0 0 auto; font-size: .53rem; font-weight: 800; height: 24px; justify-content: center; width: 24px; }
.editor-media-section-head h4 { color: var(--navy); font-size: .7rem; line-height: 1.3; margin: 0; }
.editor-media-section-head p { color: #6e7a91; font-size: .5rem; line-height: 1.45; margin: 3px 0 0; }
.professional-editor .editor-media-section > label { font-size: .56rem; }
.professional-editor .editor-media-section > label > input,
.professional-editor .editor-media-section > label > textarea { background: #f8fafc; border-color: #d0dbe7; font-size: .62rem; }
.editor-media-photos { position: relative; }
.editor-image-standard { background: #f1f9fe; border: 1px solid #c9e8f8; border-radius: 8px; display: grid; gap: 3px; margin: 0 0 14px; padding: 10px 12px; }
.editor-image-standard strong { color: var(--navy); font-size: .56rem; }
.editor-image-standard span { color: #5f6e84; font-size: .49rem; line-height: 1.5; }
.editor-upload-status { border-top: 1px solid #d7ebf7; color: #567085; font-size: .48rem; line-height: 1.45; margin-top: 5px; padding-top: 6px; }
.editor-upload-status.is-success { color: #27714d; }
.editor-upload-status.has-warning { color: #966100; }
.editor-media-photos > .editor-image-upload-field { align-items: center; background: var(--paper); border: 1px solid #078ed0; border-radius: 7px; cursor: pointer; display: flex !important; font-size: 0 !important; min-height: 38px; overflow: hidden; padding: 9px 13px; position: absolute; right: 0; top: 15px; }
.editor-media-photos > .editor-image-upload-field::before { color: #0575ad; content: '+  Agregar fotografías'; font-size: .58rem; font-weight: 750; }
.editor-media-photos > .editor-image-upload-field > input { cursor: pointer; inset: 0; opacity: 0; position: absolute; }
.editor-media-photos > .editor-image-upload-field > .editor-image-help { display: none; }
.editor-media-photos > .editor-cover-caption-field { margin-top: 12px; }
.professional-editor .editor-image-position-panel { display: none !important; }
.professional-editor .editor-media-photos .editor-images { grid-template-columns: repeat(4,minmax(0,1fr)); }
.professional-editor .editor-media-photos .editor-image-crop-frame { aspect-ratio: 16 / 10; }
.professional-editor .editor-media-photos .editor-image-actions { min-height: 42px; }
.professional-editor .editor-media-crop .editor-cover-panel { display: block; }
.professional-editor .editor-media-crop .editor-cover-panel[hidden] { display: none; }
.professional-editor .editor-media-crop .editor-cover-heading { align-items: center; flex-direction: row; }
.professional-editor .editor-media-crop .cover-center-button { width: auto; }
.professional-editor .editor-media-crop .editor-cover-frame { aspect-ratio: 16 / 7; }
.professional-editor .editor-media-crop .cover-position-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
.editor-media-crop { display: grid; gap: 12px 20px; grid-template-columns: minmax(0,1.45fr) minmax(250px,.65fr); }
.editor-media-crop[hidden] { display: none; }
.editor-media-crop > .editor-media-section-head { grid-column: 1 / -1; }
.editor-media-crop > .editor-cover-panel { grid-column: 1; grid-row: 2; }
.editor-media-crop > label { align-self: center; grid-column: 2; grid-row: 2; }
.editor-media-options { border-top: 1px solid #dce5ee; display: grid; gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.editor-media-options .editor-media-section + .editor-media-section { border-top: 0; }
.editor-media-video textarea { min-height: 84px; }
.editor-media-visibility .news-editor-checkbox { align-items: start; background: transparent; border: 0; display: grid !important; font-size: .54rem; grid-template-columns: 20px 1fr; padding: 6px 0; }
.editor-media-visibility .news-editor-checkbox input { min-height: 18px; width: 18px; }
.editor-media-visibility .news-editor-note { background: #f6f8fb; margin-top: 5px; }
.editor-media-preview { background: var(--paper); border: 1px solid #d3deea; border-radius: 9px; min-width: 0; padding: 14px; position: sticky; top: 74px; }
.editor-media-preview-head { align-items: baseline; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 12px; }
.editor-media-preview-head strong { color: var(--navy); font-size: .62rem; }
.editor-media-preview-head span { color: #7b879a; font-size: .47rem; }
.professional-editor .editor-media-preview .cover-live-column { background: transparent; display: block; padding: 0; }
.professional-editor .editor-media-preview .cover-workspace-label { display: none; }
.professional-editor .editor-media-preview .cover-live-card { max-width: none; }
.editor-social-crop { border-top: 1px solid #dce5ee; display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; }
.editor-social-crop-head > div { display: grid; gap: 3px; }
.editor-social-crop-head strong { color: var(--navy); font-size: 14px; }
.editor-social-crop-head span { color: #6d7990; font-size: 12px; line-height: 1.45; }
.editor-social-crop-frame { aspect-ratio: 1; background: var(--navy); border: 2px solid #0aaef3; border-radius: 9px; cursor: grab; margin-inline: auto; max-width: 440px; overflow: hidden; position: relative; touch-action: none; user-select: none; width: 100%; }
.editor-social-crop-frame.is-dragging { cursor: grabbing; }
.editor-social-crop-frame img { height: 100%; object-fit: cover; pointer-events: none; width: 100%; }
.editor-social-crop-frame canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.editor-social-crop-frame:focus-visible { outline: 3px solid #0976bd; outline-offset: 3px; }
.editor-social-preview-status { color: #586881; font-size: 11px; line-height: 1.5; margin: 0; }
.editor-social-safe-zone { background: rgba(7,22,56,.78); border-radius: 5px; bottom: 8px; color: #fff; font-size: .47rem; left: 50%; padding: 5px 8px; pointer-events: none; position: absolute; transform: translateX(-50%); white-space: nowrap; }

.editor-publication-review { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(280px,.7fr) minmax(320px,1fr); }
.editor-publication-checklist,
.editor-final-preview-wrap { background: var(--paper); border: 1px solid #d3deea; border-radius: 9px; padding: 20px; }
.editor-publication-checklist .eyebrow { color: var(--cyan-deep); font-size: .5rem; letter-spacing: .08em; }
.editor-publication-checklist h4 { color: var(--navy); font-size: 1.05rem; margin: 6px 0 8px; }
.editor-review-readiness { background: #fff5df; border-left: 3px solid #d99a16; color: #6b531d; font-size: .6rem; line-height: 1.5; margin: 0 0 16px; padding: 10px 12px; }
.editor-review-readiness.is-ready { background: #eaf8f0; border-color: #43a36f; color: #276844; }
.editor-review-facts { border-top: 1px solid #e0e7ef; margin: 0; }
.editor-review-facts > div { align-items: center; border-bottom: 1px solid #e0e7ef; display: flex; gap: 18px; justify-content: space-between; padding: 11px 0; }
.editor-review-facts dt { color: #6d7990; font-size: .54rem; }
.editor-review-facts dd { color: var(--navy); font-size: .58rem; font-weight: 700; margin: 0; text-align: right; }
.editor-review-help { color: #69758b; font-size: .55rem; line-height: 1.55; margin: 16px 0 0; }
.google-news-validator { border-top: 1px solid #dce5ee; margin-top: 18px; padding-top: 18px; }
.google-news-validator-head { align-items: center; display: flex; gap: 10px; margin-bottom: 10px; }
.google-news-validator-head > span:last-child { display: grid; gap: 2px; }
.google-news-validator-head strong { color: var(--navy); font-size: .68rem; }
.google-news-validator-head small { color: #6d7990; font-size: .51rem; }
.google-news-validator-icon { align-items: center; background: #eef6ff; border-radius: 50%; color: #1769d2; display: inline-flex; flex: 0 0 auto; height: 34px; justify-content: center; width: 34px; }
.google-news-validator-status { border-left: 3px solid #d99a16; border-radius: 4px; font-size: .58rem; font-weight: 700; line-height: 1.45; margin: 0 0 11px; padding: 9px 10px; }
.google-news-validator-status[data-state="failed"] { background: #fff0f2; border-color: #c84252; color: #862b39; }
.google-news-validator-status[data-state="recommended"] { background: #fff7e6; border-color: #d99a16; color: #72551a; }
.google-news-validator-status[data-state="passed"] { background: #eaf8f0; border-color: #43a36f; color: #276844; }
.google-news-checks { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.google-news-check { align-items: center; border-bottom: 1px solid #e5ebf2; display: grid; gap: 9px; grid-template-columns: 24px minmax(0,1fr) auto; padding: 9px 0; }
.google-news-check-icon { align-items: center; border-radius: 50%; display: inline-flex; font-size: .55rem; height: 22px; justify-content: center; width: 22px; }
.google-news-check[data-state="passed"] .google-news-check-icon { background: #e4f6ec; color: #238052; }
.google-news-check[data-state="failed"] .google-news-check-icon { background: #ffe8ec; color: #b53548; }
.google-news-check[data-state="recommended"] .google-news-check-icon { background: #fff0cd; color: #a86d00; }
.google-news-check-copy { display: grid; gap: 2px; min-width: 0; }
.google-news-check-copy strong { color: var(--navy); font-size: .56rem; }
.google-news-check-copy small { color: #6d7990; font-size: .49rem; line-height: 1.45; }
.google-news-check-fix { background: transparent; border: 1px solid #bfcddd; border-radius: 6px; color: #0b6fa9; font-size: .48rem; font-weight: 750; min-height: 30px; padding: 5px 8px; }
.google-news-check-fix:hover,
.google-news-check-fix:focus-visible { border-color: #0b82d4; }
.google-news-validator-note { color: #69758b; font-size: .48rem; line-height: 1.5; margin: 11px 0 0; }
.editor-final-preview-wrap { margin-inline: auto; max-width: 620px; width: 100%; }
.editor-final-preview-card { margin-inline: auto; max-width: 430px; }
.editor-final-preview-card:hover .publication-card-image img { transform: none; }

.professional-editor .news-editor-actions { border-radius: 0; bottom: 0; margin-top: 16px; padding: 9px 0; }
.professional-editor .news-editor-actions .news-editor-error { text-align: left; }
.news-editor-draft,
.news-editor-previous { background: var(--paper); border: 1px solid #cbd7e6 !important; color: var(--navy); }
.news-editor-next { background: #0b82d4; color: var(--paper); }
.news-editor-save { background: var(--navy); color: var(--paper); }
.editor-save-state.has-pending-changes { color: #a56a00; }
.publication-card.is-draft { border-style: dashed; }
.publication-category--draft { background: #fff3ce; color: #7a5700; }

@media (max-width: 1080px) {
  .editor-content-step-layout,
  .editor-media-layout { grid-template-columns: minmax(0,1fr) 280px; }
  .professional-editor .editor-media-photos .editor-images { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .editor-dialog-head--workflow { grid-template-columns: 1fr; }
  .editor-top-actions { grid-column: 1; grid-row: auto; margin-top: 9px; }
  .editor-workflow-steps { margin: 2px 0 12px; padding-inline: 0; }
  .editor-content-step-layout,
  .editor-media-layout,
  .editor-publication-review { grid-template-columns: 1fr; }
  .editor-content-sidebar,
  .editor-media-preview { max-height: none; position: static; }
  .editor-media-preview { margin-top: 0; }
  .editor-media-crop { grid-template-columns: 1fr; }
  .editor-media-crop > .editor-cover-panel,
  .editor-media-crop > label { grid-column: 1; grid-row: auto; }
}

@media (max-width: 520px) {
  .google-news-check { grid-template-columns: 24px minmax(0,1fr); }
  .google-news-check-fix { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .editor-page-shell { padding-inline: 12px; }
  .editor-dialog-head--workflow { margin-bottom: 12px; }
  .editor-top-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  .editor-top-actions button { min-height: 42px; padding-inline: 7px; }
  .editor-workflow-steps { padding-inline: 0; }
  .editor-workflow-label { font-size: .48rem; }
  .editor-workflow-step { flex-direction: column; gap: 4px; padding-inline: 2px; text-align: center; }
  .editor-workflow-steps::before { left: 16%; right: 16%; }
  .editor-step-heading { align-items: start; flex-direction: column; gap: 5px; }
  .professional-editor .editor-media-photos .editor-images,
  .editor-media-options { grid-template-columns: 1fr; }
  .editor-media-photos > .editor-image-upload-field { border-style: dashed; margin-bottom: 12px; min-height: 64px; padding: 10px 12px; position: relative; right: auto; top: auto; width: 100%; }
  .editor-media-options .editor-media-section + .editor-media-section { border-top: 1px solid #dce5ee; }
  .professional-editor .editor-media-crop .cover-position-controls { grid-template-columns: 1fr; }
  .professional-editor .news-editor-actions { align-items: stretch; flex-wrap: wrap; }
  .professional-editor .news-editor-actions .news-editor-error { flex-basis: 100%; }
  .professional-editor .news-editor-actions button { flex: 1 1 44%; padding-inline: 8px; }
  .editor-publication-checklist,
  .editor-final-preview-wrap { padding: 14px; }
}

/* Editor como página continua: un solo desplazamiento en el navegador */
#editor-dialog { overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; }
#editor-dialog .editor-dialog-card { min-height: 100dvh; }
#editor-dialog .editor-page-shell { margin: 0; max-width: none; padding: 16px clamp(16px, 2vw, 34px) 44px; width: 100%; }
#editor-dialog .editor-content-step-layout { grid-template-columns: minmax(0, 1fr) clamp(280px, 18vw, 340px); }
#editor-dialog .professional-editor .rich-editor-workspace { align-items: start; min-height: 0; }
#editor-dialog .professional-editor .rich-editor-column { align-items: stretch; justify-content: stretch; overflow: visible; padding: 0; }
#editor-dialog .professional-editor .rich-editor { border: 0; border-radius: 0; box-shadow: none; height: auto; max-height: none; max-width: none; min-height: clamp(620px, 72vh, 860px); overflow: visible; padding: clamp(30px, 3.2vw, 56px) clamp(28px, 4vw, 68px); width: 100%; }
#editor-dialog .professional-editor .rich-editor:focus { border-color: transparent; outline: 2px solid rgba(10,174,243,.14); outline-offset: -2px; }
#editor-dialog .professional-editor .rich-editor-toolbar { top: 0; }
#editor-dialog .editor-block-library {
  align-self: start;
  max-height: calc(100dvh - var(--editor-toolbar-height, 106px) - 56px);
  overscroll-behavior: contain;
  overflow-y: auto;
  position: sticky;
  scrollbar-gutter: stable;
  top: var(--editor-toolbar-height, 106px);
  z-index: 17;
}
#editor-dialog .editor-content-sidebar,
#editor-dialog .editor-inspector { max-height: none; overflow: visible; position: static; }
#editor-dialog .rich-editor-preview-panel { max-height: none; overflow: visible; position: static; }
#editor-dialog .professional-editor .news-editor-actions { background: transparent; border: 0; box-shadow: none; bottom: auto; margin-top: 18px; padding: 10px 0 0; position: static; }

@media (max-width: 980px) {
  #editor-dialog .professional-editor .editor-block-library { box-shadow: none; height: auto; max-width: none; position: static; width: auto; }
}

@media (max-width: 860px) {
  #editor-dialog .editor-content-step-layout { grid-template-columns: 1fr; }
  #editor-dialog .professional-editor .rich-editor { min-height: 560px; }
}

@media (max-width: 640px) {
  #editor-dialog .editor-page-shell { padding-inline: 12px; }
  #editor-dialog .professional-editor .rich-editor { min-height: 480px; padding: 26px 20px; }
}
.reader-author { color: inherit; text-decoration: none; }
.reader-author:hover,
.reader-author:focus-visible { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.news-publish-progress { border: 0; border-radius: 22px; width: min(440px, calc(100vw - 40px)); padding: 38px 28px; color: #102552; text-align: center; box-shadow: 0 24px 90px #071a4750; }
.news-publish-progress::backdrop { background: #071a477a; backdrop-filter: blur(4px); }
.news-publish-progress h2 { font-size: 24px; line-height: 1.2; margin: 20px 0 10px; }
.news-publish-progress p { font-size: 15px; line-height: 1.6; margin: 0; color: #54627c; }
.publish-progress-icon { display: block; width: 52px; height: 52px; margin: auto; border: 4px solid #dfedf6; border-top-color: #0799da; border-radius: 50%; animation: publish-spin 1s linear infinite; }
.news-publish-progress.is-complete .publish-progress-icon { border-color: #d5eee3; background: #e7f8ee; color: #117247; animation: none; }
.news-publish-progress.is-complete .publish-progress-icon::after { content: '✓'; font-size: 30px; line-height: 44px; font-weight: 700; }
@keyframes publish-spin { to { transform: rotate(360deg); } }
.editor-save-feedback { position: sticky; top: 0; z-index: 100; margin: 0 auto 14px; max-width: 980px; padding: 16px 20px; background: #fff0ed; color: #8a251b; border: 1px solid #e9b3aa; border-radius: 10px; box-shadow: 0 8px 28px #071a471a; font-size: 15px; line-height: 1.5; }
.editor-save-feedback[hidden] { display: none; }
.editor-save-feedback.is-success { background: #eaf8ef; color: #14623d; border-color: #b9dfc9; }
.publication-receipt { display: flex; gap: 18px; align-items: flex-start; position: relative; max-width: 1180px; margin: 0 auto 28px; padding: 26px; border: 1px solid #bce1cd; border-radius: 18px; background: #effaf4; color: #103e2a; }
.publication-receipt-icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #168759; color: white; text-align: center; font-size: 28px; line-height: 44px; }
.publication-receipt-copy { flex: 1; min-width: 0; padding-right: 18px; }
.publication-receipt h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; margin: 0 0 8px; }
.publication-receipt h2:focus { outline: none; }
.publication-receipt p { font-size: 15px; line-height: 1.6; margin: 0; }
.publication-receipt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.publication-receipt-actions button { background: #147c51; border: 0; border-radius: 9px; color: #fff; font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 11px 18px; cursor: pointer; }
.publication-receipt-actions a { font-size: 14px; color: #175638; text-underline-offset: 3px; }
.publication-receipt-close { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #22543b; font-size: 26px; cursor: pointer; }
.publication-receipt.needs-review p { color: #76520f; }
@media (max-width: 600px) { .publication-receipt { gap: 12px; padding: 20px 14px; margin: 16px 12px 22px; } .publication-receipt-icon { flex-basis: 32px; height: 32px; line-height: 32px; font-size: 22px; } .publication-receipt-copy { padding-right: 20px; } }
@media (prefers-reduced-motion: reduce) { .publish-progress-icon { animation: none; } }
@media print { .publication-receipt { display: none; } }

/* Private news dashboard: last reported Google indexing state. */
.google-index-panel,.google-index-status { display:none; font-family:'Poppins',Arial,sans-serif; }
.editor-active .google-index-panel { display:block; border:1px solid #cad9e7; border-left:4px solid #079bd5; border-radius:12px; padding:18px 20px; margin:0 0 26px; background:#f4faff; color:#14264e; }
.google-index-panel strong { font-size:16px; }
.google-index-panel p { margin:7px 0; font-size:14px; }
.google-index-panel small { display:block; color:#4d6077; line-height:1.65; font-size:12px; }
.google-index-panel[data-state="attention"] { border-left-color:#b87913; background:#fff9ef; }
.editor-active .google-index-status { display:flex; flex-direction:column; gap:7px; margin:18px 0 5px; padding:13px 15px; border:1px solid #dce5ef; border-radius:10px; background:#f5f8fc; color:#34465d; }
.google-index-status strong { font-size:13px; }
.google-index-status span,.google-index-status small,.google-index-status a { font-size:12px; line-height:1.6; }
.google-index-status small { color:#596b81; }
.google-index-status a { color:#08659a; text-underline-offset:3px; }
.google-index-status[data-state="indexed"] { background:#eef9f3; border-color:#b9dfc9; color:#196542; }
.google-index-status[data-state="needs_review"] { background:#fff8eb; border-color:#ecd6a8; color:#795112; }
@media(max-width:600px) { .editor-active .google-index-panel { padding:15px; } }

/* Identidad del medio: marca legible también en el teléfono. */
.news-brand > span {opacity:1} .news-brand strong {font-size:1.1rem} .news-discovery-copy{clip:auto;position:static;height:auto;width:auto;margin:0 0 18px;white-space:normal;overflow:visible} .news-discovery-copy .eyebrow {font-size:.65rem} .news-discovery-copy h1 {font-size:clamp(1.6rem,3vw,2.35rem);margin:5px 0} .news-discovery-copy > p:last-child {margin:8px 0 0;max-width:780px;font-size:.82rem} .news-discovery-inner {padding-top:24px;padding-bottom:24px} @media(max-width:650px){.jcf-shared-header .news-brand > span{display:block!important}.news-brand strong{font-size:.82rem}.news-brand > span > span{font-size:.5rem}.news-brand{gap:8px}.news-discovery-inner{padding-top:18px;padding-bottom:18px}.news-discovery-copy .eyebrow{display:none}}

/* Publication dates remain separate from the activity date in the article text. */
.publication-card .publication-meta { flex-wrap: wrap; gap: 12px 16px; }
.publication-dates { display: grid; flex: 1 1 185px; gap: 4px; font-size: .65rem; line-height: 1.5; min-width: 0; }
.publication-date-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.publication-date-label { color: var(--muted); }
.publication-date-line time { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.author-article-copy > .publication-dates { flex: none; margin-bottom: 14px; }
.reader-meta-update { color: var(--muted); font-size: .56rem; line-height: 1.5; margin-top: 3px; }
.reader-meta-update time { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) {
  body:not(.editor-active) .news-page-grid.news-page-grid { grid-auto-rows: auto; }
  body:not(.editor-active) .news-page-grid .publication-card .publication-author { display: flex; }
  .publication-card .publication-dates { font-size: .6rem; }
  .reader-meta--essential .reader-author-item { order: 0; }
  .reader-meta--essential .reader-time-item { order: 1; }
  .reader-meta--essential .reader-published-item { grid-column: 1 / -1; order: 2; }
}

/* Listados: identidad del autor; las fechas están dentro de la noticia. */
.publication-card .publication-author-copy, .author-list-identity .publication-author-copy { gap: 4px; }
.publication-card .publication-author-copy strong, .author-list-identity .publication-author-copy strong { white-space: normal; overflow: visible; font-size: .7rem; }
.publication-card .publication-author-copy > span, .author-list-identity .publication-author-copy > span { display: block; font-size: .62rem; line-height: 1.45; white-space: normal; }
.author-list-identity { margin: 0 0 15px; }

.news-retry-button { background: #fff; color: #087dac; border: 1px solid #087dac; border-radius: 8px; cursor: pointer; padding: 9px 14px; margin-top: 10px; font: inherit; font-size: .75rem; }
.news-retry-button[hidden] { display: none; }
.news-retry-button:disabled { opacity: .6; cursor: wait; }

/* Clear navigation for the private newsroom. */
.news-portal-navigation { align-items:center; background:#fff; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap; gap:8px; padding:10px max(16px,calc((100vw - 1280px)/2)); position:sticky; top:0; z-index:31; }
.news-portal-navigation a, .news-portal-navigation button { align-items:center; background:#fff; border:1px solid var(--line); border-radius:8px; color:var(--navy); display:inline-flex; font-size:13px; font-weight:650; justify-content:center; min-height:44px; padding:9px 12px; text-decoration:none; }
.news-portal-navigation a:first-child { margin-right:auto; }
.news-portal-navigation a:hover, .news-portal-navigation button:hover { background:var(--cyan-soft); border-color:var(--cyan-deep); }
.news-portal-navigation :focus-visible, .news-discard-dialog button:focus-visible { outline:3px solid #0877b0; outline-offset:3px; }
.news-portal-navigation-status { color:var(--danger); flex-basis:100%; font-size:13px; }
.news-portal-navigation-status:empty { display:none; }
body.editor-active .news-editor-status { display:none; }
.news-discard-dialog { background:#fff; border:1px solid var(--line); border-radius:16px; color:var(--navy); margin:auto; max-width:440px; padding:26px; width:calc(100% - 32px); }
.news-discard-dialog::backdrop { background:rgba(8,20,48,.6); }
.news-discard-dialog h2 { font-size:22px; margin:0 0 12px; }
.news-discard-dialog p { color:#56627a; font-size:15px; line-height:1.6; margin:0 0 22px; }
.news-discard-actions { display:flex; flex-wrap:wrap; gap:10px; }
.news-discard-actions button { border:1px solid var(--line); border-radius:8px; font-size:14px; font-weight:650; min-height:44px; padding:10px 14px; }
.news-discard-keep { background:var(--navy); color:#fff; }
.news-discard-confirm { background:#fff; color:#a32636; }
@media(max-width:480px) { .news-portal-navigation a, .news-portal-navigation button { font-size:12px; padding:8px; } .news-discard-actions button { flex:1 1 auto; } }

/* Legibilidad y controles del portal sin encimar ayudas ni campos. */
#editor-dialog .professional-editor .editor-title-field { gap:8px; min-width:0; }
#editor-dialog .professional-editor .editor-field-meta { align-items:flex-start; flex-wrap:wrap; font-size:12px; gap:4px 12px; line-height:1.5; }
#editor-dialog .editor-field-meta > :first-child { flex:1 1 180px; }
#editor-dialog .editor-field-meta > :last-child { margin-left:auto; }
#editor-dialog .professional-editor .news-editor-note,
#editor-dialog .professional-editor .editor-content-sidebar label,
#editor-dialog .professional-editor .editor-media-section > label,
#editor-dialog .editor-step-heading p,
#editor-dialog .editor-step-limit,
#editor-dialog .editor-media-section-head p,
#editor-dialog .professional-editor .editor-inspector label,
#editor-dialog .professional-editor .editor-inspector .news-editor-checkbox,
#editor-dialog .professional-editor .rich-editor-meta,
#editor-dialog .professional-editor .rich-editor-word-count { font-size:12px; line-height:1.5; }
#editor-dialog .professional-editor .editor-title-field input,
#editor-dialog .professional-editor .editor-content-sidebar input:not([type="checkbox"]),
#editor-dialog .professional-editor .editor-content-sidebar select,
#editor-dialog .professional-editor .editor-content-sidebar textarea,
#editor-dialog .professional-editor .editor-media-section > label > input:not([type="file"]),
#editor-dialog .professional-editor .editor-media-section > label > textarea,
#editor-dialog .professional-editor .editor-inspector input:not([type="checkbox"]),
#editor-dialog .professional-editor .editor-inspector select,
#editor-dialog .professional-editor .editor-inspector textarea { font-size:16px; min-height:44px; }
#editor-dialog .professional-editor .editor-inspector-card > summary { font-size:14px; }
#editor-dialog .editor-step-limit { white-space:normal; }
#editor-dialog .editor-media-section-head h4 { font-size:14px; }
#editor-dialog .editor-top-actions button,
#editor-dialog .news-editor-actions button { font-size:12px; min-height:44px; }
#editor-dialog .professional-editor .rich-editor-toolbar button { min-height:44px; min-width:44px; }
#editor-dialog .professional-editor .rich-editor-toolbar .rich-editor-color-button { height:44px; width:44px; }
#editor-dialog .editor-block-library-close { height:44px; width:44px; }
#editor-dialog .google-news-validator-head strong,
#editor-dialog .google-news-check-copy strong { font-size:14px; line-height:1.5; }
#editor-dialog .google-news-validator-head small,
#editor-dialog .google-news-check-copy small,
#editor-dialog .google-news-validator-status,
#editor-dialog .google-news-validator-note,
#editor-dialog .editor-review-readiness,
#editor-dialog .editor-review-help,
#editor-dialog .editor-review-facts dt,
#editor-dialog .editor-review-facts dd { font-size:12px; line-height:1.5; }
#editor-dialog .editor-review-facts > div { flex-wrap:wrap; gap:6px 14px; }
#editor-dialog .editor-review-facts dd { flex:1 1 130px; min-width:0; }
#editor-dialog .google-news-validator button { font-size:12px; min-height:44px; min-width:44px; }
.google-index-details { border-top:1px solid #dce5ef; margin-top:3px; padding-top:4px; }
.google-index-details summary { align-content:center; cursor:pointer; font-size:12px; min-height:44px; }
.google-index-details p { font-size:12px; line-height:1.6; margin:6px 0; overflow-wrap:anywhere; }
.news-article .reader-meta-copy small,
.news-article .reader-meta-copy strong,
.news-article .reader-meta-update,
.news-article .reader-share-label { font-size:12px; line-height:1.5; }
.news-article .reader-meta-copy { min-width:0; }
.news-article .reader-meta-update time { white-space:normal; }
/* The private header scrolls away; only the portal shortcuts remain sticky. */
body.jcf-shared-header.editor-active { padding-top:0; }
body.editor-active .news-site-header { position:relative; height:auto; min-height:0; z-index:32; }
body.editor-active .news-site-header .news-header-inner { min-height:88px; height:auto; padding:12px 20px; }
body.editor-active .news-site-header .news-brand { min-width:0; }
body.editor-active .news-site-header .news-brand img { width:120px; height:auto; aspect-ratio:785/467; border:0; border-radius:0; background:transparent; object-fit:contain; }
body.editor-active .news-site-header .news-brand > span { display:none!important; }
body.editor-active .google-index-status > button { background:#fff; border:1px solid #bfcddd; border-radius:8px; color:#145c84; cursor:pointer; font:inherit; font-size:12px; line-height:1.5; min-height:44px; padding:9px 12px; white-space:normal; }
body.editor-active .news-page-grid { align-items:start; }
@media(min-width:901px) {
  body.editor-active .news-site-header .news-header-inner { grid-template-columns:160px minmax(0,1fr) auto; gap:20px; }
  body.editor-active .news-site-header .news-menu-button { display:none; }
  body.editor-active .news-site-header #news-site-navigation { display:flex; position:static; grid-column:2; grid-row:1; width:auto; flex-direction:row; justify-content:center; gap:20px; background:transparent; box-shadow:none; padding:0; border:0; }
  body.editor-active .news-site-header #news-site-navigation a { width:auto; border:0; padding:12px 0; font-size:14px; }
  body.editor-active .news-site-header .news-header-actions { grid-column:3; grid-row:1; }
}
@media(max-width:900px) {
  body.editor-active .news-site-header .news-header-inner { grid-template-columns:minmax(0,1fr) auto 44px; gap:6px; padding:10px 12px; }
  body.editor-active .news-site-header .news-header-actions { grid-column:2; grid-row:1; gap:6px; }
  body.editor-active .news-site-header .news-header-actions a { width:44px; height:44px; }
  body.editor-active .news-site-header .news-menu-button { display:block; grid-column:3; grid-row:1; width:44px; height:44px; }
}
@media(max-width:720px) {
  body.editor-active .news-page-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
}
@media(max-width:640px) {
  #editor-dialog .editor-ribbon-panel { align-items:center; gap:8px; }
  #editor-dialog .editor-ribbon-panel .rich-editor-toolbar-group { border:0; flex:0 1 auto; gap:4px; padding:0; }
  #editor-dialog .editor-ribbon-panel .rich-editor-style-label { flex:1 1 100%; }
  #editor-dialog .professional-editor .rich-editor-toolbar button { flex:0 0 auto; }
  #editor-dialog .professional-editor .rich-editor-toolbar .editor-ribbon-tab { flex:1 1 auto; font-size:12px; }
  #editor-dialog .rich-editor-toolbar { position:static; }
  #editor-dialog .editor-block-library { max-height:70dvh; top:0; }
}
/* Spacious, separate workspace for the ChatGPT handoff. */
.professional-editor .chatgpt-workspace-launch { width: 100%; min-height: 48px; padding: 14px 18px; border: 1px solid #c3d5e7; border-radius: 12px; background: #0e1f53; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 700; white-space: normal; }
.professional-editor dialog.chatgpt-workspace { position: fixed; inset: 0; box-sizing: border-box; width: min(1040px, calc(100vw - 40px)); max-width: none; height: auto; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #d2ddea; border-radius: 18px; background: #f5f8fc; color: #14264a; box-shadow: 0 24px 80px #07163555; }
.chatgpt-workspace::backdrop { background: #071635a6; }
.professional-editor .chatgpt-workspace-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: #fff; border-bottom: 1px solid #d2ddea; }
.professional-editor .chatgpt-workspace-head h2 { margin: 0; font-size: 24px; line-height: 1.25; color: #0e1f53; }
.professional-editor .chatgpt-workspace-close { flex-shrink: 0; padding: 10px 16px; min-height: 44px; border: 1px solid #c3d5e7; border-radius: 9px; background: white; color: #0e1f53; font-size: 14px; font-weight: 700; }
.professional-editor .chatgpt-workspace .chatgpt-import-body { padding: 24px 26px; gap: 22px; }
.chatgpt-workspace-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; }
.professional-editor .chatgpt-workspace-step { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px; border: 1px solid #d2ddea; border-radius: 12px; background: white; }
.professional-editor .chatgpt-workspace-step h3 { margin: 0; font-size: 19px; line-height: 1.4; color: #0e1f53; }
.professional-editor .chatgpt-workspace label { display: grid; gap: 9px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.professional-editor .chatgpt-workspace label[hidden] { display: none; }
.professional-editor .chatgpt-workspace textarea { box-sizing: border-box; width: 100%; min-height: 260px; max-height: 60dvh; padding: 14px; resize: vertical; font-size: 16px; line-height: 1.6; border: 1px solid #bccde0; border-radius: 9px; background: #fff; color: #14264a; }
.professional-editor .chatgpt-workspace .chatgpt-import-apply { min-height: 44px; padding: 12px 16px; font-size: 15px; }
.professional-editor .chatgpt-workspace .chatgpt-import-status { font-size: 14px; line-height: 1.5; color: #0e1f53; overflow-wrap: anywhere; }
.professional-editor .chatgpt-workspace .chatgpt-code-copy { width: 100%; }
.professional-editor .chatgpt-workspace .chatgpt-step-help { font-size: 14px; line-height: 1.65; }
.professional-editor .chatgpt-workspace-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 26px; background: #fff; border-top: 1px solid #d2ddea; }
.professional-editor .chatgpt-workspace-foot p { margin: 0; font-size: 13px; line-height: 1.6; }
@media (max-width: 700px) {
  .professional-editor dialog.chatgpt-workspace { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .professional-editor .chatgpt-workspace-head { padding: 16px; align-items: flex-start; gap: 12px; }
  .professional-editor .chatgpt-workspace-head h2 { font-size: 19px; }
  .professional-editor .chatgpt-workspace-close { max-width: 112px; padding: 8px 12px; }
  .professional-editor .chatgpt-workspace .chatgpt-import-body { padding: 16px; gap: 16px; }
  .chatgpt-workspace-columns { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .professional-editor .chatgpt-workspace-step { padding: 16px; }
  .professional-editor .chatgpt-workspace textarea { min-height: 220px; }
  .professional-editor .chatgpt-workspace-foot { padding: 16px; flex-wrap: wrap; }
}
