:root {
  --ink: #1d1d1f;
  --muted: #626268;
  --line: #dfdfe3;
  --surface: #f5f5f7;
  --accent: #005fbd;
  --accent-strong: #0054a6;
  --accent-tint: #eaf3ff;
  color: var(--ink);
  background: white;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body, p, h1, h2, figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell {
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 72px);
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  transform: translateY(-180%);
  background: white;
  padding: 8px;
}
.skip:focus { transform: none; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(22px, 4vw, 42px) 20px;
  border-bottom: 1px solid var(--line);
}
.identity {
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: clamp(218px, 31vw, 342px);
  max-width: 100%;
  height: auto;
}
.article-masthead .brand-logo { width: clamp(185px, 26vw, 252px); }
.tagline { font-size: .83rem; color: var(--muted); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
}
nav a {
  font-weight: 600;
  font-size: .85rem;
  color: #414148;
  text-decoration: none;
  padding-block: 12px;
}
nav a:hover, .text-link:hover { color: var(--accent); text-decoration: underline; }
.site-nav { column-gap: clamp(14px, 3.5vw, 36px); }
.site-nav a[aria-current="location"] { box-shadow: inset 0 -2px var(--accent); color: var(--accent); }
.section-anchor { display: block; scroll-margin-top: 12px; }

section, main { scroll-margin-top: 12px; }

.edition-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 20px 0 13px;
  font-size: .8rem;
  color: var(--muted);
}
.edition-line strong { color: var(--ink); font-weight: 650; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
}
.hero-copy { align-self: center; padding: clamp(24px, 5vw, 62px); }
.eyebrow { font-size: .75rem; font-weight: 650; color: var(--accent); }
.hero h1 {
  max-width: 17ch;
  margin-block: 9px 16px;
  font-size: clamp(34px, 4.55vw, 65px);
  line-height: 1.03;
  font-weight: 720;
  letter-spacing: -.057em;
  text-wrap: balance;
}
.deck { max-width: 44ch; color: var(--muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 10px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.hero-image, .story-photo { position: relative; min-width: 0; }
.photo-frame { position: relative; overflow: hidden; height: 100%; background: var(--surface); }
.photo-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-image .photo-frame { min-height: 360px; }
.story-photo { margin-bottom: 14px; }
.story-photo .photo-frame { aspect-ratio: 16 / 10; border-radius: 16px; }
#repuestos-duo img { object-position: center 34%; }
#calendario img, #parche-ios img, #privacidad img { object-position: center 37%; }

.photo-info {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 5px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  opacity: 0;
}
.photo-info span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #ffffffbf;
  border-radius: 50%;
  background: #1d1d1fd9;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1;
}
.photo-info:focus-visible { opacity: 1; outline: 2px solid white; outline-offset: -6px; }
.photo-origin {
  position: absolute;
  z-index: 1;
  inset: auto auto 10px 10px;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 7px;
  background: #1d1d1ff0;
  color: white;
  font-size: .6875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  visibility: hidden;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  figure:hover .photo-info { opacity: 1; }
  figure:hover:not([data-credit-dismissed]) .photo-origin {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s .16s, opacity 0s .16s;
  }
}
.photo-origin a { color: inherit; }
figure:has(.photo-info[aria-expanded="true"]) .photo-origin {
  visibility: visible;
  opacity: 1;
  transition: none;
}

.news-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 27px 15px;
  border-bottom: 1px solid var(--line);
}
.section-heading { font-size: clamp(26px, 3.6vw, 43px); line-height: 1.08; font-weight: 700; letter-spacing: -.046em; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-filters button {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  padding: 6px 11px;
  font-size: .78rem;
  font-weight: 600;
}
.topic-filters button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent-strong); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
.story { min-width: 0; padding: 21px 0 15px; border-bottom: 1px solid var(--line); scroll-margin-top: 18px; }
.featured { padding-top: 0; }
.story-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.story-meta time { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.story h3 {
  margin: 6px 0 9px;
  font-size: clamp(21px, 2.18vw, 29px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.035em;
}
.story-lead, .story-body { font-size: .93rem; }
.story-lead { color: var(--muted); }
summary { min-height: 44px; padding-block: 11px; color: var(--accent); font-size: .83rem; font-weight: 650; cursor: pointer; }
.article-section { margin-bottom: 16px; }
.article-section p + p { margin-top: 10px; }
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}
.sources a, .video-fallback { color: var(--accent); }
.video { border-top: 1px solid var(--line); padding-block: 12px; }
.video-fallback { display: block; width: fit-content; font-size: .8rem; }
.video-player { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; border-radius: 12px; margin-block: 10px; background: var(--ink); }

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 17px 0 20px;
  font-size: .75rem;
  color: var(--muted);
}
.photo-credits { flex-basis: 100%; }
.photo-credits summary { color: var(--muted); }
.photo-credits ul { margin-block: 0 8px; padding-left: 20px; }
.photo-credits li + li { margin-top: 4px; }

.footer-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--accent); padding-block: 5px; }
.information-page { max-width: 680px; padding-block: clamp(20px, 5vw, 52px); }
.information-page h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -.055em; }
.information-page h2 { font-size: 1.25rem; margin-top: 28px; }
.information-page p, .information-page dl { margin-top: 12px; }
.information-page dt { font-weight: 700; }
.information-page dd { margin: 0 0 10px; }
.information-page a, .video-privacy-note a { color: var(--accent); }
.video-privacy-note { color: var(--muted); font-size: .83rem; margin-bottom: 12px; }

@media (max-width: 770px) {
  .hero-image .photo-frame { min-height: 300px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .masthead { align-items: start; flex-direction: column; gap: 13px; }
  .hero, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 24px; }
  .hero-image .photo-frame { min-height: 0; aspect-ratio: 1280 / 852; }
}
@media (hover: none), (pointer: coarse) {
  .photo-info { opacity: 1; }
  nav a, summary, .topic-filters button { min-height: 44px; }
}

.story-title a { text-decoration: none; }
.story-title a:hover { color: var(--accent); }
.news-grid .story { padding-bottom: 24px; }
.return-link { color: var(--accent); font-size: .86rem; font-weight: 650; text-decoration: none; }
.return-link:hover { text-decoration: underline; }

.article-layout { max-width: 900px; margin-inline: auto; }
.article-heading { max-width: 760px; padding-block: clamp(30px, 6vw, 67px) 27px; }
.article-heading .story-meta { justify-content: start; flex-wrap: wrap; column-gap: 14px; }
.article-heading h1 {
  margin: 10px 0 15px;
  font-size: clamp(32px, 5.1vw, 65px);
  line-height: 1.04;
  font-weight: 730;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.article-heading > p { max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.23rem); }

.article-photo { position: relative; border-radius: 20px; overflow: hidden; }
.article-photo .photo-frame { aspect-ratio: 2.1; }
.article-photo img { object-position: center 42%; }
.article-page .story-body { max-width: 68ch; margin: 36px auto 0; font-size: 1rem; line-height: 1.7; }
.article-page .article-section { margin-bottom: 25px; }
.article-section h2 { margin: 0 0 8px; font-size: 1.28rem; line-height: 1.23; letter-spacing: -.025em; }
.article-page .video { margin-top: 23px; }
.article-page .sources { margin-top: 20px; }

.related-news {
  display: block;
  margin-top: clamp(32px, 6vw, 60px);
  padding-top: clamp(20px, 4vw, 32px);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.related-news h2 {
  font-size: clamp(23px, 3.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.related-grid li { display: flex; min-width: 0; }
.related-grid .related-card {
  display: grid;
  align-content: start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  font-size: .94rem;
  line-height: 1.3;
}
.related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--line);
}
.related-card span { padding: 0 3px 3px; }

@media (max-width: 600px) {
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .related-grid .related-card {
    grid-template-columns: clamp(72px, 24vw, 112px) minmax(0, 1fr);
    align-items: center;
  }
  .related-card span { padding: 0; }
}

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 20px 0 0; list-style: none; }
.timeline li { position: relative; padding-top: 17px; border-top: 2px solid #c1d9f1; font-size: .86rem; }
.timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline strong { display: block; margin-bottom: 4px; }
.timeline span { color: var(--muted); }
.article-note { padding: 14px 18px; margin-top: 12px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-tint); }
.article-note h2 { font-size: 1rem; margin-bottom: 4px; }
.article-note p { font-size: .92rem; }

@media (max-width: 600px) {
  .article-masthead { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .article-photo { border-radius: 16px; }
  .article-photo .photo-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 430px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline { gap: 13px; }
}

.source-hero-photo .photo-frame { aspect-ratio: 16 / 9; }
.source-detail-photo { margin-block: 25px; }
.source-detail-photo .photo-frame { aspect-ratio: 16 / 9; }
.video h2 { font-size: 1.2rem; }
.photo-context { margin-top: 6px; color: var(--muted); font-size: .82rem; }

.story-visual {
  margin-block: 28px 10px;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid #e0e7f1;
  border-radius: 23px;
  background: #f7f9fc;
}
.story-visual h2 {
  font-size: clamp(23px, 4vw, 34px);
  letter-spacing: -.045em;
  line-height: 1.14;
  text-wrap: balance;
}
.visual-deck { margin-top: 7px; max-width: 63ch; color: #515967; font-size: .94rem; }
.visual-series {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(208px, 100%), 1fr));
  gap: 12px;
  margin-top: 20px;
}
.visual-scene {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid #e0e7f1;
  border-radius: 16px;
  background: white;
}
.visual-caption { padding: 15px; }
.visual-caption h3 { margin: 0 0 5px; line-height: 1.24; font-size: 1rem; letter-spacing: -.02em; }
.visual-caption p { color: #515967; font-size: .88rem; }
.visual-art {
  --draw-ink: #0d3865;
  --draw-fill: #b9d6ff;
  --draw-highlight: #1674e7;
  display: grid;
  place-items: center;
  min-height: 158px;
  min-width: 0;
  padding: 14px;
  border-radius: 15px 15px 0 0;
  background: radial-gradient(ellipse at 50% 16%, white, transparent 75%), #e2efff;
  color: var(--draw-ink);
}
.visual-art--violet { --draw-ink: #402b72; --draw-fill: #d9cbff; --draw-highlight: #6544bf; background-color: #ede6ff; }
.visual-art--mint { --draw-ink: #12564c; --draw-fill: #b5e4d7; --draw-highlight: #198371; background-color: #def6ef; }
.visual-art--amber { --draw-ink: #684916; --draw-fill: #f4d8a5; --draw-highlight: #ab6a12; background-color: #fff1d6; }
.visual-switch { padding: 0; margin: 17px 0 0; border: 0; min-inline-size: 0; }
.visual-legend { color: #515967; font-size: .82rem; font-weight: 680; }
.visual-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block: 5px 12px;
}
.visual-option { position: relative; }
.visual-option input { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); }
.visual-option label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #d2ddea;
  border-radius: 999px;
  background: white;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
}
.visual-option input:checked + label { background: #163450; border-color: #163450; color: white; }
.visual-option label:hover { border-color: #163450; }
.visual-option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.visual-scenes .visual-scene { display: none; }
.visual-switch:has(#visual-mode-1:checked) .visual-scene--1,
.visual-switch:has(#visual-mode-2:checked) .visual-scene--2,
.visual-switch:has(#visual-mode-3:checked) .visual-scene--3 { display: grid; }
.visual-scenes .visual-art { min-height: 190px; }
.visual-scenes .visual-caption h3 { font-size: 1.13rem; }
.visual-scenes .visual-caption p { font-size: .92rem; }

@media (min-width: 620px) {
  .visual-scenes .visual-scene { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto; }
  .visual-scenes .visual-art { border-radius: 15px 0 0 15px; }
  .visual-scenes .visual-caption { align-self: center; padding: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .visual-scenes .visual-art > * { animation: visual-enter 360ms ease-out both; }
  @keyframes visual-enter {
    from { opacity: .45; transform: translateY(7px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

.draw-phone {
  position: relative;
  display: grid;
  width: 125px;
  min-height: 152px;
  padding: 5px;
  border: 2px solid #1b2737;
  border-radius: 17px;
  background: #1b2737;
  box-shadow: 0 8px 18px #10284829;
}
.draw-phone--wide { width: min(208px, 100%); }
.draw-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 7px 8px;
  border-radius: 11px;
  background: #fff;
  font-size: .65rem;
  line-height: 1.26;
}
.draw-phone-screen::before {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% - 11px);
  width: 22px;
  height: 5px;
  border-radius: 8px;
  background: #1b2737;
}
.draw-app { padding-bottom: 5px; border-bottom: 1px solid #dce4ee; font-size: .72rem; }
.draw-app i { margin-right: 4px; font-style: normal; color: var(--draw-highlight); }
.draw-bubble, .draw-result, .draw-sheet { padding: 6px; border-radius: 6px; background: #f1f4f8; }
.draw-result { margin-top: auto; background: var(--draw-fill); font-weight: 680; }
.draw-sheet .draw-lines { margin-top: 7px; }
.draw-lines { display: grid; gap: 3px; }
.draw-lines i { height: 3px; border-radius: 4px; background: #cdd8e8; }
.draw-lines i:last-child { width: 65%; }
.draw-feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.draw-feed > div { display: grid; gap: 4px; }
.draw-feed > div:nth-child(2) { display: none; }
.draw-phone--wide .draw-feed { grid-template-columns: 1fr 1fr; }
.draw-phone--wide .draw-feed > div:nth-child(2) { display: grid; align-content: start; border-left: 1px solid #dce4ee; padding-left: 5px; }
.draw-feed div > span:not(.draw-lines) {
  height: 35px;
  border-radius: 4px;
  background: linear-gradient(148deg, var(--draw-fill), white);
}
.draw-month { margin-top: 21px; text-align: center; }
.draw-calendar {
  min-height: 47px;
  background: repeating-linear-gradient(transparent 0 8px, #d2ddec 8px 9px), repeating-linear-gradient(90deg, transparent 0 12px, #d2ddec 12px 13px);
}
.draw-toolbar {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-around;
  inset-inline: 7px;
  height: 20px;
  border-radius: 8px;
  background: var(--draw-fill);
  font-size: .85rem;
}
.draw-toolbar--top { top: 16px; }
.draw-toolbar--bottom { bottom: 5px; }
.draw-search { position: relative; width: 8px; height: 8px; border: 1.5px solid; border-radius: 50%; }
.draw-search::after { content: ""; position: absolute; width: 4px; border-top: 1.5px solid; top: 6px; left: 5px; transform: rotate(45deg); }

.draw-flow { display: flex; align-items: stretch; width: min(100%, 410px); gap: 6px; }
.draw-flow > span {
  display: grid;
  align-content: center;
  min-width: 0;
  flex: 1;
  padding: 7px 4px;
  border: 1px solid #a5b7cc;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: .63rem;
}
.draw-flow b { margin-bottom: 3px; font-size: .72rem; }
.draw-flow > span + span { position: relative; margin-left: 7px; }
.draw-flow > span + span::before { content: "›"; position: absolute; left: -10px; top: calc(50% - .7em); font-weight: 750; }
.visual-series .draw-flow { width: min(100%, 255px); }
@media (min-width: 620px) {
  .visual-scenes .draw-flow > span { padding: 13px 7px; font-size: .68rem; }
  .visual-scenes .draw-flow b { font-size: .79rem; }
}

.draw-laptop { width: min(150px, 100%); }
.draw-laptop > span {
  display: grid;
  place-items: center;
  height: 81px;
  margin-inline: 8px;
  border: 5px solid #303c50;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(135deg, #202d53 14%, #36276f 45%, #5f8ff1 100%);
}
.draw-laptop > b { display: grid; justify-items: center; height: 14px; border-radius: 2px 2px 10px 10px; background: #8d9cad; }
.draw-laptop > b::before { content: ""; width: 24px; height: 6px; margin-top: 2px; background: #647386; border-radius: 2px; }
.draw-laptop--bar > b::before { width: 78%; background: repeating-linear-gradient(90deg, #3d2177 0 7px, #cbb7ff 7px 10px); }
.draw-laptop--touch i {
  width: 37px;
  height: 37px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle, white 0 4px, #fff6 5px 10px, transparent 11px);
}
.draw-laptop--logo > span { background: #243043; }
.draw-laptop--logo i { width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px #c3dafe; }

.draw-prices { width: min(100%, 276px); display: grid; gap: 11px; }
.draw-prices div { display: grid; grid-template-columns: 26px minmax(0, 1fr) 58px; align-items: center; gap: 8px; font-size: .77rem; }
.draw-prices span { position: relative; height: 17px; border-radius: 5px; background: #d7e5f8; }
.draw-prices i { display: block; width: var(--bar-size); height: 100%; border-radius: inherit; background: #1c62ab; }
.draw-prices strong { text-align: right; font-variant-numeric: tabular-nums; }

.draw-room {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 24px 32px 36px;
  place-items: center;
  gap: 8px;
  padding: 10px 17px;
  width: min(190px, 100%);
  border: 1.5px solid #8ea5c1;
  border-radius: 10px;
  background: #fff8;
  font-size: .67rem;
}
.draw-room .draw-tv { grid-column: 2; grid-row: 1; background: var(--draw-ink); color: white; border-radius: 3px; padding: 1px 10px; }
.draw-room i {
  grid-row: 2;
  grid-column: 1;
  width: 14px;
  height: 17px;
  border: 2px solid var(--draw-ink);
  border-radius: 5px;
  background: var(--draw-fill);
}
.draw-room i:nth-of-type(2) { grid-column: 3; }
.draw-room i:nth-of-type(n+3) { grid-row: 3; }
.draw-room i:nth-of-type(4) { grid-column: 3; }
.draw-room--two i:nth-of-type(n+3) { visibility: hidden; }
.draw-room b { grid-row: 3; grid-column: 2; padding: 2px 5px; border: 1px solid #a8bad1; border-radius: 5px; background: white; }

.draw-board {
  position: relative;
  width: min(180px, 100%);
  height: 110px;
  border: 2px solid #314659;
  border-radius: 11px;
  background: #edfbf1;
  font-size: .68rem;
}
.draw-board i { position: absolute; inset: 11px 14px 19px 24px; border-radius: 6px; background: #94c2ad; }
.draw-board b { position: absolute; top: 16px; left: 32px; color: #153628; }
.draw-board span, .draw-board em {
  position: absolute;
  top: 50px;
  left: 3px;
  padding: 3px 4px;
  border: 1px solid #304859;
  border-radius: 4px;
  background: white;
  font-style: normal;
  font-weight: 700;
}
.draw-board em { left: auto; right: 27px; }
.draw-board--usb span, .draw-board--ssd em { outline: 2px solid var(--draw-highlight); outline-offset: 3px; }

.draw-light, .draw-layers, .draw-hinge, .draw-circuit {
  position: relative;
  width: min(145px, 100%);
  height: 95px;
  text-align: center;
  font-size: .75rem;
}
.draw-light i { position: absolute; top: 6px; left: 30%; height: 35px; border-left: 3px solid var(--draw-highlight); transform: rotate(-30deg); }
.draw-light i:nth-child(2) { left: 50%; transform: none; }
.draw-light i:nth-child(3) { left: 70%; transform: rotate(30deg); }
.draw-light b, .draw-layers b, .draw-hinge b, .draw-circuit b {
  position: absolute;
  inset: auto 4px 14px;
  border-radius: 8px;
  padding: 6px 3px;
  background: var(--draw-fill);
}
.draw-layers span { position: absolute; inset: 3px 13px auto; padding: 5px 3px; border: 1px solid var(--draw-highlight); border-radius: 7px; background: #fff8; }
.draw-layers i { position: absolute; inset: 37px 9px auto; height: 10px; border-radius: 6px; background: #f6ca88; }
.draw-hinge i { position: absolute; inset: 11px 28px 32px; border-left: 7px solid var(--draw-ink); border-bottom: 7px solid var(--draw-ink); border-radius: 6px; }
.draw-hinge i:nth-child(2) { inset: 39px 16px 35px auto; width: 70px; height: 9px; border: 0; background: var(--draw-highlight); }
.draw-circuit i { position: absolute; inset: 12px 18px auto; height: 3px; background: linear-gradient(90deg, var(--draw-highlight) 47%, transparent 48% 58%, var(--draw-highlight) 59%); }
.draw-circuit i:nth-child(2) { top: 25px; }
.draw-circuit i:nth-child(3) { top: 38px; }
.timeline-step > b { display: block; margin-bottom: 2px; font-size: .95rem; }
.timeline-step .timeline-art {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #e0edff;
  color: #214975;
  font-size: 1.42rem;
  font-weight: 680;
}
.article-takeaway { padding: 16px 18px; border: 1px solid #dce7f5; border-radius: 13px; background: #f5f9ff; }

@media (prefers-reduced-motion: no-preference) {
  .visual-scenes .draw-phone--wide { animation: visual-open 360ms ease-out both; }
  .visual-scenes .draw-toolbar--bottom { animation: visual-toolbar 420ms ease-out both; }
  .visual-scenes .draw-room--four i:nth-of-type(n+3),
  .visual-scenes .draw-result { animation: visual-enter 300ms 120ms ease-out both; }
  @keyframes visual-open { from { transform: scaleX(.63); } to { transform: scaleX(1); } }
  @keyframes visual-toolbar { from { transform: translateY(-76px); } to { transform: translateY(0); } }
}

.edition-visual { display: grid; align-content: center; gap: .45rem; padding: clamp(1rem, 3vw, 2rem); background: linear-gradient(135deg, #ddf0e9, #edf5ef); color: #14271f; border-radius: 12px; margin-block: 0 12px; min-height: 150px; }
.edition-visual--mac { background: linear-gradient(135deg, #e4ebf6, #efecf9); }
.edition-visual--tv { background: linear-gradient(135deg, #f5e6ed, #f9efe8); }
.edition-visual--iphone { background: linear-gradient(135deg, #e7edf9, #e8f4f8); }
.edition-visual span { display: block; padding: .35em .65em; width: fit-content; max-width: 100%; border-radius: 6px; background: #ffffffd9; font-size: clamp(.8rem, 2vw, 1rem); font-weight: 650; }
article > .edition-visual { margin-block: 20px; min-height: 180px; }
.news-grid .edition-visual { margin-block: 0 12px; min-height: 150px; }
.featured .edition-photo img { object-fit: cover; width: 100%; height: 100%; }
.edition-photo figcaption:not(.photo-origin) { color: var(--muted); text-align: right; font-size: .75rem; padding: .35rem .7rem; }
.related-card .edition-visual { min-height: 110px; padding: .75rem; margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-search {
  display: flex;
  align-items: stretch;
  width: min(100%, 320px);
  gap: 6px;
}
.site-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding-inline: 11px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: .9rem;
}
.site-search button {
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-size: .85rem;
  font-weight: 650;
}
.site-search button:hover { background: var(--accent-strong); }
.article-masthead .site-search { margin-inline-start: auto; }
.search-status { padding-block: 12px 2px; color: var(--muted); }
#news-heading { scroll-margin-top: 16px; }

.editor-picks { padding-block: 24px 19px; border-bottom: 1px solid var(--line); }
.editor-picks h2 { font-size: clamp(22px, 3vw, 30px); }
.editor-picks ul {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 2vw, 20px);
}
.editor-picks a {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 2px 12px;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
}
.editor-picks a:hover strong { color: var(--accent); text-decoration: underline; }
.editor-picks img {
  grid-row: 1 / 3;
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.editor-picks strong { line-height: 1.22; font-size: .97rem; }

@media (max-width: 760px) {
  .editor-picks ul { grid-template-columns: minmax(0, 1fr); }
  .editor-picks a { grid-template-columns: 58px 1fr; align-items: center; }
  .editor-picks img { width: 58px; height: 52px; }
}
@media (max-width: 600px) {
  .site-search { width: 100%; }
  .article-masthead .site-search { order: 2; }
}

.decision-graphic {
  margin-block: clamp(20px, 4vw, 34px);
  padding: clamp(15px, 3.1vw, 29px);
  border: 1px solid #c9e0da;
  border-radius: 18px;
  background: #eff7f4;
}
.decision-graphic h2 {
  color: #182c25;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.decision-graphic ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  gap: 9px;
}
.decision-graphic li {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border: 1px solid #dae8e3;
  border-radius: 10px;
  background: #fff;
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.decision-graphic h3 { margin: 0; font-size: 1rem; line-height: 1.17; }
.decision-detail {
  width: fit-content;
  color: #17644f;
  font-weight: 650;
  font-size: .77rem;
}
.decision-graphic p { margin: 0; line-height: 1.42; }
.decision-takeaway { color: #244c40; font-size: .89rem; font-weight: 650; }

.tablet-scale { display: flex; align-items: end; height: 65px; }
.tablet-scale span {
  width: var(--tablet-width);
  aspect-ratio: 4 / 3;
  border: 3px solid #263a36;
  border-radius: 6px;
  background: #dae5e1;
}
.tablet-scale--mini { --tablet-width: 54px; }
.tablet-scale--oled { --tablet-width: 56px; }
.tablet-scale--oled span { background: linear-gradient(145deg, #251351, #244b45 65%, #79b56c); }
.tablet-scale--air { --tablet-width: 84px; }

.site-sections { display: contents; }
.site-menu-toggle { display: none; }

@media (max-width: 640px) {
  .site-nav { gap: 0 16px; align-items: center; min-height: 47px; }
  .site-nav > a { margin-inline-end: auto; }
  .menu-ready .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 3px 0 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: .85rem;
    font-weight: 650;
  }
  .site-menu-toggle span {
    width: 8px;
    height: 8px;
    margin-inline-end: 4px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-2px);
  }
  .site-menu-toggle[aria-expanded="true"] span { transform: rotate(225deg) translateY(-2px); }
  .site-nav.menu-ready:not(.menu-open) .site-sections { display: none; }
  .site-sections {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    column-gap: 14px;
  }
  .site-sections a { min-height: 44px; }
  .hero h1 { max-width: 22ch; font-size: clamp(29px, 8vw, 45px); }
}

.archive-link {
  color: var(--accent-strong);
  font-weight: 650;
  text-underline-offset: .2em;
}
.edition-line .archive-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
}
.archive-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 11px;
  margin-top: 5px;
  align-items: baseline;
  color: var(--muted);
  font-size: .86rem;
}
.archive-summary p:empty { display: none; }
.archive-summary .archive-link { padding-block: 5px; }

.article-photo.editorial-photograph { margin-block: 16px; }
.article-photo.editorial-photograph .photo-frame { aspect-ratio: 16 / 9; }
@media (max-width: 600px) {
  .article-photo.editorial-photograph .photo-frame { aspect-ratio: 4 / 3; }
}

.story-explainer {
  --graphic-ink: #152b44;
  --graphic-accent: #285998;
  --graphic-tint: #e9f1fc;
  margin-block: clamp(20px, 5vw, 36px);
  padding: clamp(17px, 4vw, 32px);
  border: 1px solid #d6e2f2;
  border-radius: 20px;
  color: var(--graphic-ink);
  background: #f4f8fd;
}
.story-explainer--steps {
  --graphic-ink: #153a31;
  --graphic-accent: #266a56;
  --graphic-tint: #e3f3ed;
  border-color: #cce6db;
  background: #f0f8f5;
}
.story-explainer--diagram {
  --graphic-ink: #352b52;
  --graphic-accent: #62468d;
  --graphic-tint: #eee7f8;
  border-color: #e2d9ee;
  background: #f8f5fc;
}
.story-explainer h2 {
  max-width: 35ch;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}
.explainer-panel {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--graphic-accent) 22%, white);
  border-radius: 12px;
  background: #fff;
}
.explainer-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: var(--graphic-accent);
  background: var(--graphic-tint);
}
.explainer-mark {
  display: grid;
  position: relative;
  place-items: center;
  width: 36px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 5px;
}
.explainer-mark--phone { width: 21px; height: 37px; border-radius: 5px; }
.explainer-mark--wide { width: 23px; height: 40px; border-radius: 5px; }
.explainer-mark--phone::after, .explainer-mark--wide::after {
  position: absolute;
  top: 3px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.explainer-mark--fold { width: 39px; height: 34px; }
.explainer-mark--fold::after { width: 1px; height: 100%; background: currentColor; content: ""; }
.explainer-mark--camera { width: 37px; height: 24px; }
.explainer-mark--camera::after { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; content: ""; }
.explainer-mark--aperture {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, currentColor 0 20deg, transparent 20deg 45deg, currentColor 45deg 65deg, transparent 65deg 90deg, currentColor 90deg 110deg, transparent 110deg 135deg, currentColor 135deg 155deg, transparent 155deg 180deg, currentColor 180deg 200deg, transparent 200deg 225deg, currentColor 225deg 245deg, transparent 245deg 270deg, currentColor 270deg 290deg, transparent 290deg 315deg, currentColor 315deg 335deg, transparent 335deg);
}
.explainer-mark--aperture::after {
  width: var(--opening);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--graphic-tint);
  content: "";
}
.explainer-mark--chip { width: 30px; height: 30px; outline: 1px dashed currentColor; outline-offset: 3px; }
.explainer-mark--chip::after { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; content: ""; }
.explainer-mark--monitor::after {
  position: absolute;
  bottom: -6px;
  width: 16px;
  height: 4px;
  border-bottom: 2px solid currentColor;
  content: "";
}
.explainer-mark--battery { width: 35px; height: 17px; padding: 2px; }
.explainer-mark--battery::after {
  width: 64%;
  height: 100%;
  justify-self: start;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.explainer-mark--mini { height: 15px; }
.explainer-mark--studio { height: 28px; }
.explainer-mark--mini::after, .explainer-mark--studio::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.explainer-mark--file { width: 24px; height: 30px; border-radius: 3px; }
.explainer-mark--file::after {
  width: 12px;
  height: 4px;
  border-block: 1px solid currentColor;
  content: "";
}
.explainer-mark--lens { width: 25px; height: 25px; border-radius: 50%; }
.explainer-mark--lens::after { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.explainer-mark--drive { height: 18px; }
.explainer-mark--drive::after { width: 24px; height: 4px; border: 1px solid currentColor; border-radius: 2px; content: ""; }
.explainer-mark--ports { width: 38px; height: 19px; }
.explainer-mark--ports::after { width: 25px; height: 4px; border-inline: 6px solid currentColor; content: ""; }
.explainer-mark--check { width: 29px; height: 29px; border-radius: 50%; }
.explainer-mark--check::after {
  width: 12px;
  height: 6px;
  transform: rotate(-45deg);
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  content: "";
}
.explainer-step {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--graphic-accent);
  font-size: .75rem;
  font-weight: 700;
}
.explainer-kicker { color: var(--graphic-accent); font-size: .75rem; font-weight: 700; }
.explainer-panel h3 { margin: 3px 0 6px; font-size: 1.04rem; line-height: 1.16; overflow-wrap: anywhere; }
.explainer-panel p { font-size: .88rem; line-height: 1.44; }
.explainer-takeaway {
  padding-block: 9px 0;
  border-top: 1px solid color-mix(in srgb, var(--graphic-accent) 25%, white);
  font-size: .91rem;
  font-weight: 650;
}
@media (max-width: 470px) {
  .explainer-grid { grid-template-columns: 1fr; }
  .explainer-panel { grid-template-columns: 65px 1fr; column-gap: 12px; }
  .explainer-art { grid-row: 1 / 4; align-self: center; height: 62px; margin: 0; gap: 3px; }
  .explainer-step { width: 18px; height: 18px; font-size: .7rem; }
}
