:root {
  color-scheme: light;
  --paper: #f8f7f2; --white: #fffefa; --ink: #102f37; --muted: #4b6064;
  --rule: #cdd3cc; --green: #16544e; --mint: #b8e6c5; --orange: #e66a41;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--paper); font: 16px/1.52 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, select, input, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .5; }
button, select, input, textarea { background: var(--white); border: 1px solid #a9b7b2; border-radius: 5px; }
button, select { min-height: 44px; padding: .55rem .85rem; }
button:hover:enabled { background: #e5eee5; }
:focus-visible { outline: 3px solid #277789; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; text-wrap: pretty; }
h1 { font-size: clamp(2.45rem, 4.5vw, 4.6rem); line-height: 1.01; }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.05; }
h3, h4 { font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.12; }
.shell { width: min(1240px, calc(100% - clamp(36px, 8vw, 128px))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: -6rem; background: white; padding: .6rem; }
.skip:focus { top: .5rem; }
.top { background: var(--paper); border-top: 4px solid var(--ink); border-bottom: 1px solid var(--rule); }
.bar, .edition-row, .footer-row, .feed-controls, .section-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.bar { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font: 600 clamp(1.55rem, 3vw, 2.45rem)/1 var(--serif); letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.brand-lockup { width:clamp(140px,20vw,210px); height:auto; display:block; }
.footer-row .brand-lockup { width:135px; }
.back-link, .text-action { font-size: .88rem; font-weight: 650; }
.text-action:hover { text-decoration: underline; }
.edition { border-bottom: 1px solid var(--rule); }
.edition-row { min-height: 38px; color: var(--muted); font-size: .75rem; }
.edition-dot { display:inline-block; width:.5rem; height:.5rem; margin-right:.5rem; border-radius:50%; background: var(--orange); }
#cuenta { display: flex; align-items: center; gap: .55rem; }
#actor { min-height: 36px; border: 0; padding: .25rem; background: transparent; font-size: .8rem; font-weight: 650; }
main { padding-block: 1rem 4rem; min-height: 64vh; }
.eyebrow { text-transform: uppercase; font-size: .71rem; font-weight: 750; line-height: 1.35; letter-spacing: .13em; color: var(--green); }
.btn { background: var(--ink); color: white; border: 1px solid var(--ink); font-weight: 650; padding: .6rem 1rem; }
button.btn:hover:enabled { background: #234d53; }
.text-action { background: transparent; color: var(--green); border: 0; padding-inline: .2rem; text-underline-offset: .2em; }
.feed-controls { margin: 0 0 .8rem; }
.feed-tabs { display: flex; gap:.25rem; }
.feed-tab { background: transparent; border: 0; min-height: 38px; padding: .4rem .95rem; font-size: .86rem; border-radius: 2rem; font-weight: 650; }
.feed-tab[aria-pressed=true] { background: var(--ink); color: white; }
.feed-tab[aria-pressed=true]:hover:enabled { background: #244c51; }
.welcome { isolation: isolate; position: relative; overflow: hidden; border-radius: 7px; background: #0e242b; color: white; }
.welcome-photo { position:absolute; inset:0; z-index:-1; }
.welcome-photo img, .card-photo img, .article-photo img { width:100%; height:100%; display:block; object-fit:cover; }
.welcome .eyebrow { color:var(--mint); }
.welcome .eyebrow::before { content:""; display:inline-block; width:1.8rem; height:2px; margin:0 .65rem .24em 0; background:var(--orange); }
.card :is(h3,h4) a { color:inherit; text-decoration:none; }
.card :is(h3,h4) a:hover { text-decoration:underline; text-decoration-thickness:1px; }
.story-meta { display:flex; flex-wrap:wrap; gap:.24rem 0; align-items:baseline; color:var(--muted); font-size:.76rem; line-height:1.4; }
.story-meta > * + *::before { content:"·"; padding:0 .45em; }
.welcome-photo figcaption { position:absolute; bottom:.75rem; right:.8rem; z-index:1; max-width:34%; background:#10212be0; color:#fff; padding:.16rem .45rem; border-radius:2px; font-size:.63rem; }
figcaption a { color:inherit; }
#radar { margin-top:2.25rem; scroll-margin-top:1rem; }
.section-title { align-items:baseline; }
.muted, .meta { color:var(--muted); font-size:.87rem; }
.filters { display:flex; flex-wrap:wrap; gap:.65rem; padding-block: .9rem 1.15rem; }
.search-field { position:relative; width:min(26rem,60%); }
.search-field::before { content:""; position:absolute; width:11px; height:11px; border:1.6px solid var(--muted); border-radius:50%; left:.95rem; top:14px; pointer-events:none; }
.search-field::after { content:""; position:absolute; left:calc(.95rem + 11px); top:26px; width:6px; height:1.5px; background:var(--muted); transform:rotate(45deg); pointer-events:none; }
.filters input, .filters select { height:44px; font-size:.86rem; }
.filters input { width:100%; padding:.5rem .75rem .5rem 2.65rem; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,2vw,1.7rem); }
.card { min-width:0; display:flex; flex-direction:column; border:1px solid var(--rule); border-radius:7px; overflow:hidden; background:var(--white); }
.card-photo { position:relative; aspect-ratio:1.94; background:var(--ink); }
.card-photo figcaption { position:absolute; inset:auto 0 0; padding:.25rem .55rem; background:#0e252ee8; color:white; font-size:.7rem; line-height:1.3; }
.source-diagram { background:#fff; }
.source-diagram img { object-fit:contain; }
.card-photo.source-diagram img { padding:.55rem .55rem 1.75rem; }
.card-copy { flex:1; display:flex; flex-direction:column; align-items:stretch; padding:0 1rem 1rem; }
.topic-break { grid-column:1/-1; padding-bottom:.5rem; border-bottom:1px solid var(--rule); }
.card .eyebrow { margin:.9rem 0 .35rem; }
.archive { margin-left:.65em; padding-left:.65em; border-left:1px solid var(--rule); color:var(--muted); }
.card-summary { color:var(--muted); margin:.55rem 0 .8rem; font-size:.95rem; }
.card .story-meta { margin-top:auto; }
.empty { color:var(--muted); grid-column:1/-1; padding:1rem 0; }
body:has(.welcome) { min-height:100svh; display:grid; grid-template-rows:auto minmax(min-content,1fr); }
body:has(.welcome) .edition, body:has(.welcome) .site-footer { display:none; }
main:has(.welcome) { width:100%; padding:0; min-height:0; }
main:has(.welcome), #vista:has(.welcome) { display:grid; }
.welcome { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.82fr); align-items:center; border-radius:0; }
.welcome-signal { position:absolute; inset:0; pointer-events:none; display:grid; place-items:center; padding-left:50%; z-index:-1; }
.welcome-signal span { grid-area:1/1; width:min(39vw,550px); aspect-ratio:1; border-radius:50%; border:1px solid #ccf2d56b; box-shadow:0 0 45px #c5f8d516 inset; }
.welcome-signal span:nth-child(2) { width:min(28vw,400px); }
.welcome-signal span:nth-child(3) { width:min(17vw,245px); }
.welcome-signal img { grid-area:1/1; width:clamp(44px,6.4vw,86px); border-radius:50%; background:#f8f7f2; box-shadow:0 0 45px #b8e6c555; }
.welcome-meter { display:flex; gap:5px; margin:.6rem 0 1.25rem; }
.welcome-meter span { width:clamp(2.2rem,4vw,3.25rem); height:3px; border-radius:8px; background:#78989585; transform-origin:left; }
.welcome-meter [data-wizard-progress] { background:var(--mint); }
.welcome-photo img { margin-left:auto; width:60%; }
.welcome-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#0b232a 35%,rgba(11,35,42,.97) 43%,rgba(11,35,42,.16) 80%); }
.welcome-sheet { min-width:0; padding:clamp(1.45rem,5.5vw,7.5rem); }
.welcome h1 { font-size:clamp(2.8rem,5vw,5rem); margin:.8rem 0; }
.welcome-intro { color:#e1e8e4; max-width:40ch; }
.topic-choices { display:flex; flex-wrap:wrap; gap:.55rem; margin:1.5rem 0; }
.topic-choice { font-size:.88rem; color:white; background:#18373e; border-color:#627b7c; border-radius:4rem; }
.topic-choice::before { content:"+"; display:inline-block; width:1.1rem; margin-right:.25rem; }
.topic-choice[aria-pressed=true] { background:var(--mint); color:var(--ink); border-color:var(--mint); }
.topic-choice[aria-pressed=true]::before { content:"✓"; }
.topic-choice:hover:enabled { background:#35555a; }
.topic-choice[aria-pressed=true]:hover:enabled { background:#cfefd8; }
.welcome-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 1rem; }
.welcome .btn { background:var(--mint); color:var(--ink); }
.welcome .btn:hover:enabled { background:#dbf2df; }
.welcome .text-action { color:#e3ece7; }
.welcome .text-action:hover:enabled { background:transparent; }
.order-list { margin:1.1rem 0; padding:0; list-style:none; }
.order-list li { display:flex; align-items:center; gap:.6rem; padding:.32rem 0; border-top:1px solid #486068; }
.rank { color:var(--mint); font-size:.74rem; font-variant-numeric:tabular-nums; }
.order-actions { display:flex; margin-left:auto; gap:.3rem; }
.order-actions button { min-width:44px; color:white; background:#244049; border-color:#60767a; }
.order-actions button:hover:enabled { background:#3a5961; }
.welcome :focus-visible { outline-color:#f3caa0; }
#vista h1[tabindex="-1"]:focus { outline:none; }
.article { width:min(940px,100%); margin:0 auto; }
.article-head, .article-body, .reading-links, .related, .thread { width:min(710px,100%); margin-inline:auto; }
.back-link { display:inline-block; padding:.65rem 0; }
.article-head > .eyebrow { margin:1.4rem 0 .6rem; }
.article-head h1 { font-size:clamp(2.6rem,5.3vw,5rem); }
.lead { font-family:var(--serif); font-size:clamp(1.25rem,2.2vw,1.7rem); line-height:1.4; margin:.85rem 0 1rem; }
.byline { font-size:.87rem; margin-top:.4rem; }
.article-photo { margin:1.5rem 0; }
.article-photo img { aspect-ratio:2.4; border-radius:5px; }
.article-photo.source-diagram img { aspect-ratio:auto; max-height:660px; }
.article-photo figcaption { margin-top:.4rem; font-size:.72rem; color:var(--muted); }
.article-body { font:1.23rem/1.66 var(--serif); margin-top:1.5rem; }
.reading-links { display:flex; gap:.65rem 1.2rem; flex-wrap:wrap; padding:1rem 0 1.5rem; }
.reading-links a { font-size:.9rem; font-weight:650; }
.related, .thread { margin-top:1.75rem; border-top:2px solid var(--ink); padding-top:1.2rem; }
.related h2, .thread h2 { font-size:clamp(1.8rem,3vw,2.3rem); }
.related p { margin:.75rem 0; }
.related p>a { font:1.22rem var(--serif); }
.thread>.muted { margin-top:1rem; }
.comments, .notices { list-style:none; padding:0; }
.comment, .notice, .inbox-empty { border:1px solid var(--rule); background:var(--white); border-radius:5px; padding:1rem 1.15rem; margin:.65rem 0; overflow-wrap:anywhere; }
.comment .meta { font-size:.78rem; margin-bottom:.4rem; font-weight:600; }
.comment p { white-space:pre-wrap; }
.comment.selected-comment, .notice.new { border-left:4px solid var(--green); background:#e9f1e8; }
.comment-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.6rem; }
.comment-actions button, .thread .section-title button { font-size:.85rem; }
#composer { margin:1rem 0; display:grid; gap:.45rem; }
#composer label { font-weight:650; }
textarea { width:100%; min-height:7rem; resize:vertical; padding:.8rem; }
.feedback { background:#deeee4; padding:.75rem 1rem; border-left:3px solid var(--green); margin-block:.5rem; }
.inbox { width:min(740px,100%); margin:0 auto; }
.inbox h1 { margin:1rem 0; }
.notice a { font:1.25rem var(--serif); }
.site-footer { border-top:1px solid var(--rule); color:var(--muted); padding-block:1.4rem; }
.footer-row { font-size:.8rem; }
.footer-row .brand { font-size:1.35rem; gap:.25rem; }
@media(max-width:800px) {
  .welcome { grid-template-columns:minmax(0,1fr) .45fr; }
  .welcome-photo::after { background:linear-gradient(90deg,#0b232a 33%,rgba(11,35,42,.86) 60%,rgba(11,35,42,.2)); }
  .cards { gap:1rem; }
}
@media(max-width:650px) {
  .bar { min-height:56px; }
  .edition-row { gap:.4rem; }
  #cuenta { gap:.2rem; }
  .edition-row, #cuenta label { font-size:.7rem; }
  .brand { gap:.35rem; }
  main { padding-block:.7rem 2.5rem; }
  .welcome-photo figcaption { top:.5rem; right:.5rem; bottom:auto; max-width:78%; }
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1.6rem; }
  .welcome { grid-template-columns:1fr; align-items:end; }
  .welcome-signal { bottom:auto; height:min(65vw,262px); padding:1rem 0 0; }
  .welcome-signal span { width:min(67vw,290px); }
  .welcome-signal span:nth-child(2) { width:min(47vw,202px); align-self:center; }
  .welcome-signal span:nth-child(3) { width:min(29vw,124px); align-self:center; }
  .welcome-sheet { padding:7.5rem 1.25rem 1.6rem; }
  .welcome-photo img { width:100%; height:65%; }
  .welcome-photo::after { background:linear-gradient(0deg,#0b232a 24%,rgba(11,35,42,.98) 52%,rgba(11,35,42,.67) 75%,rgba(11,35,42,.02)); }
  .welcome h1 { font-size:clamp(2.5rem,9vw,3.6rem); }
  .topic-choices { margin:1.2rem 0; }
  .article-photo img { aspect-ratio:1.5; }
}
@media(max-width:480px) {
  .shell { width:calc(100% - 28px); }
  .bar { gap:.4rem; }
  .cards { grid-template-columns:1fr; }
  .section-title { flex-wrap:wrap; gap:.35rem .65rem; }
  .filters { gap:.45rem; }
  .filters select { flex:1; min-width:0; padding-inline:.4rem; }
  .search-field { flex:1 0 100%; }
  .search-field input { font-size:.8rem; }
  #radar { margin-top:1.7rem; }
}
@media(max-width:365px) {
  .edition-row { align-items:flex-start; padding-block:.2rem; }
  .edition-row p { align-self:center; max-width:105px; }
  .edition-row .date { display:block; }
  .welcome-actions { column-gap:.7rem; }
  .filters select { flex:1 0 100%; }
}
