/* Dropengine editorial editions: paper, ink, hierarchy. Loaded AFTER renderer CSS. */
body[data-editorial-design] {
  --paper: #f7f3eb;
  --surface: #ebe8df;
  --ink: #20334a;
  --ink-soft: #293a4c;
  --muted: #53606d;
  --faint: #53606d;
  --rule: #b9b8b1;
  --accent: #234f78;
  --accent-hover: #163a5d;
  --accent-tint: #e5edf1;
  --border: var(--rule);
  --bg: var(--paper);
  --bg-warm: var(--surface);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --maxw: 76ch;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
}
body[data-editorial-theme="money"] {
  --paper: #f7f4e9;
  --surface: #e9eddf;
  --ink: #203c31;
  --ink-soft: #2f4035;
  --muted: #536053;
  --faint: #536053;
  --rule: #b8bcae;
  --accent: #28563e;
  --accent-hover: #193d2a;
  --accent-tint: #e6ecdf;
}
body[data-editorial-theme="privacy"] {
  --paper: #faf6fa;
  --surface: #eee5f0;
  --ink: #3e2949;
  --ink-soft: #48364d;
  --muted: #69586d;
  --faint: #69586d;
  --rule: #c6b8cb;
  --accent: #603967;
  --accent-hover: #45264c;
  --accent-tint: #efe5f2;
}
body[data-editorial-design] *,
body[data-editorial-design] *::before,
body[data-editorial-design] *::after { box-sizing: border-box; }
body[data-editorial-design] :is(main, section, article, div, form, fieldset) { min-width: 0; }
body[data-editorial-design] :is(h1, h2, h3, p, li, a, legend, label) { overflow-wrap: anywhere; }
body[data-editorial-design] :is(h1, h2, h3) { text-wrap: pretty; }
body[data-editorial-design] a { color: var(--accent); text-underline-offset: .2em; }
body[data-editorial-design] a:hover { text-decoration-thickness: 2px; }
body[data-editorial-design] :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
body[data-editorial-design] :is(h2, h3, [id]) { scroll-margin-top: 1.5rem; }
body[data-editorial-design] .ed-skip {
  position: absolute;
  top: .5rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--paper);
  color: var(--ink);
  padding: .65rem 1rem;
}
body[data-editorial-design] .ed-skip:focus { transform: none; }
/* Useful, visible navigation at every breakpoint. No hamburger JavaScript. */
body[data-editorial-design] header {
  position: static;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: none;
}
body[data-editorial-design] .wrap-wide,
body[data-editorial-design] header > .ed-nav,
body[data-editorial-design] .ed-shell { max-width: 1184px; margin-inline: auto; padding-inline: 32px; }
body[data-editorial-design] .ed-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 2rem;
  padding-block: 18px;
}
body[data-editorial-design] .ed-nav .brand {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--ink);
  min-height: 44px;
  text-decoration: none;
}
body[data-editorial-design] .brand svg { display: none; }
body[data-editorial-design] .ed-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.35rem;
  font-size: .9rem;
  font-weight: 600;
}
body[data-editorial-design] .ed-nav-links > a,
body[data-editorial-design] .ed-guide-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: .4rem;
  cursor: pointer;
  color: var(--ink);
}
body[data-editorial-design] .ed-guide-menu { position: relative; }
body[data-editorial-design] .ed-guide-menu summary { gap: .6rem; list-style: none; }
body[data-editorial-design] .ed-guide-menu summary::-webkit-details-marker { display: none; }
body[data-editorial-design] .ed-guide-menu summary::after { content: '+'; font-size: 1.25em; }
body[data-editorial-design] .ed-guide-menu[open] summary::after { content: '−'; }
body[data-editorial-design] .ed-menu-links {
  position: absolute;
  right: 0;
  width: min(30rem, 85vw);
  z-index: 30;
  padding: .5rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--paper);
}
body[data-editorial-design] .ed-menu-links a {
  display: block;
  min-height: 44px;
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.45;
}
body[data-editorial-design] .ed-menu-links a:last-child { border-bottom: 0; }
/* A publication masthead, then a feature/reading-list split. */
body[data-editorial-design] .ed-home { padding-top: 0; }
body[data-editorial-design] .ed-masthead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 3rem;
  align-items: end;
  padding-block: 48px 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
body[data-editorial-design] .ed-masthead .eyebrow {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
body[data-editorial-design] .ed-masthead h1 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 5.1rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.05em;
  margin: 0;
}
body[data-editorial-design] .ed-masthead .tag {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.3;
  max-width: 36ch;
  color: var(--ink-soft);
  margin: 0;
}
body[data-editorial-design] .ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
body[data-editorial-design] .ed-kicker,
body[data-editorial-design] .ed-related > .section-label {
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  font-family: var(--sans);
  line-height: 1.5;
  font-weight: 700;
}
body[data-editorial-design] .ed-feature {
  padding: clamp(24px, 3vw, 40px);
  background: var(--accent-tint);
  border-top: 4px solid var(--accent);
}
body[data-editorial-design] .ed-feature h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 18px 0;
}
body[data-editorial-design] .ed-feature h2 a { color: var(--ink); text-decoration: none; }
body[data-editorial-design] .ed-feature h2 a:hover { text-decoration: underline; }
body[data-editorial-design] .ed-feature p:not(.ed-kicker) { margin: 1rem 0 1.6rem; font-size: 1rem; }
body[data-editorial-design] .ed-planner-feature {
  background: var(--ink);
  color: var(--paper);
  border: 0;
}
body[data-editorial-design] .ed-planner-feature :is(h2, h2 a, .ed-kicker) { color: var(--paper); }
body[data-editorial-design] .ed-feature-reading { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #8295a7; }
body[data-editorial-design] .ed-feature-reading h2 { font-size: 1.65rem; margin-top: 0; }
body[data-editorial-design] .ed-feature-reading p:not(.ed-kicker) { font-size: .9rem; }
body[data-editorial-design] .ed-related > h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 20px;
}
body[data-editorial-design] .ed-reading-list { list-style: none; margin: 0; padding: 0; }
body[data-editorial-design] .ed-reading-list > li { padding-block: 23px; border-top: 1px solid var(--rule); }
body[data-editorial-design] .ed-reading-list h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
body[data-editorial-design] .ed-reading-list h3 a { color: var(--ink); }
body[data-editorial-design] .ed-reading-list p:not(.ed-kicker) { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 4px; }
body[data-editorial-design] .ed-reading-list .cta.ghost {
  padding: .4rem 0;
  background: none;
  border: 0;
  font-size: .88rem;
  text-decoration: underline !important;
}
body[data-editorial-theme="money"] .ed-masthead { border-bottom: 3px double var(--ink); }
body[data-editorial-theme="money"] .ed-feature { background: transparent; padding-inline: 0; border-top: 4px solid var(--ink); }
body[data-editorial-theme="money"] .ed-feature h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
body[data-editorial-design] .ed-context {
  max-width: 68ch;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
body[data-editorial-design] .ed-context h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
body[data-editorial-design] .ed-context p { margin-block: 20px; }
/* Comfortable reading measure, real section navigation, no decorative callout rails. */
body[data-editorial-design] main:not(.ed-home) > .wrap { max-width: calc(68ch + 64px); padding-inline: 32px; }
body[data-editorial-design] article { max-width: 68ch; margin-inline: auto; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
body[data-editorial-design] article h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 40px 0 24px;
}
body[data-editorial-design] article h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-top: 2.5rem; }
body[data-editorial-design] article h3 { font-family: var(--sans); font-size: 1.15rem; line-height: 1.4; }
body[data-editorial-design] article a { text-decoration: underline; }
body[data-editorial-design] article .aff { white-space: normal; }
body[data-editorial-design] .crumb { color: var(--muted); font-size: .82rem; }
body[data-editorial-design] :is(.editorial, .disclosure, .note, .verdict) {
  border: 0;
  border-radius: 0;
  border-block: 1px solid var(--rule);
  padding: 18px 0;
  background: transparent;
  color: var(--ink-soft);
  box-shadow: none;
  margin-block: 24px;
}
body[data-editorial-design] .editorial { font-size: .85rem; }
body[data-editorial-design] .editorial .meta { min-width: 0; }
body[data-editorial-design] .editorial .meta span { color: var(--muted); }
body[data-editorial-design] .disclosure { font-size: .9rem; }
body[data-editorial-design] .verdict :is(h2, h3) { font-family: var(--sans) !important; }
body[data-editorial-design] .ed-toc {
  display: block;
  margin: 28px 0 40px;
  padding: 20px 24px;
  background: var(--surface);
  border-block: 1px solid var(--rule);
}
body[data-editorial-design] .ed-toc ol { list-style: none; margin: 0; padding: 0; }
body[data-editorial-design] .ed-toc li { margin: 0; padding: 0; font-size: .9rem; line-height: 1.5; }
body[data-editorial-design] .ed-toc li.ed-toc-sub { padding-left: 1rem; }
body[data-editorial-design] .ed-toc a { display: flex; align-items: center; min-height: 44px; padding-block: 7px; }
body[data-editorial-design] :is(.rank-card, .proscons .pros, .proscons .cons) {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  transform: none;
}
body[data-editorial-design] .faq details { background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding-inline: 0; }
body[data-editorial-design] .faq summary { min-height: 44px; }
body[data-editorial-design] :is(.compare-wrap, .ed-table-scroll) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--rule);
  border-radius: 0;
  margin-block: 24px;
}
body[data-editorial-design] table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9rem; }
body[data-editorial-design] :is(th, td) { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
body[data-editorial-design] th { background: var(--surface); color: var(--ink); }
body[data-editorial-design] pre { max-width: 100%; overflow-x: auto; }
body[data-editorial-design] img { max-width: 100%; height: auto; }
body[data-editorial-design] .cta,
body[data-editorial-design] button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  font: 600 .92rem/1.4 var(--sans);
  text-align: left;
  background: var(--accent);
  color: #fff !important;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none;
  transition: none;
}
body[data-editorial-design] .cta:hover,
body[data-editorial-design] button:hover { background: var(--accent-hover); }
body[data-editorial-design] .cta.ghost { color: var(--accent) !important; }
body[data-editorial-design] .ed-planner-feature .cta {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink) !important;
}
body[data-editorial-design] .ed-planner-feature .cta:hover { background: #e3e8ec; }
body[data-editorial-design] .ed-planner-feature :focus-visible { outline-color: var(--paper); }
/* Planner: same editorial voice, functional form and results; no rule/JS changes. */
body.planner-page[data-editorial-design] main.wrap { max-width: calc(68ch + 64px); padding-inline: 32px; }
body.planner-page[data-editorial-design] .section-label { color: var(--muted); margin-top: 24px; }
body.planner-page[data-editorial-design] .note { background: var(--accent-tint); padding: 20px; border: 0; }
body.planner-page[data-editorial-design] #planner-form { margin-block: 36px; padding: 28px; background: var(--surface); border-top: 3px solid var(--accent); }
body.planner-page[data-editorial-design] fieldset { border: 0; border-block: 1px solid var(--rule); border-radius: 0; padding: 20px 0; margin-block: 24px; }
body.planner-page[data-editorial-design] legend { padding: 0 .25rem 0 0; line-height: 1.5; }
body.planner-page[data-editorial-design] select { min-height: 48px; border: 1px solid var(--muted); border-radius: 3px; font: 1rem/1.5 var(--sans); background: var(--paper); color: var(--ink); padding: 12px 8px; margin-top: 12px; }
body.planner-page[data-editorial-design] .choice { align-items: center; min-height: 48px; padding: .65rem .4rem; gap: .75rem; line-height: 1.5; }
body.planner-page[data-editorial-design] .choice:hover { background: var(--paper); }
body.planner-page[data-editorial-design] input[type="checkbox"] { accent-color: var(--accent); margin: 0; }
body.planner-page[data-editorial-design] button[type="reset"] { background: transparent; color: var(--accent) !important; }
body.planner-page[data-editorial-design] button:disabled { cursor: not-allowed; opacity: .65; }
body.planner-page[data-editorial-design] #planner-results { background: var(--accent-tint); padding: 24px; border-top: 3px solid var(--accent); margin-bottom: 40px; }
body.planner-page[data-editorial-design] #planner-results > h2:first-child { margin-top: 0; }
body[data-editorial-design] footer { background: var(--surface); border-top: 1px solid var(--rule); padding-block: 32px; margin-top: 48px; color: var(--muted); }
body[data-editorial-design] footer .wrap { max-width: 1184px; padding-inline: 32px; }
body[data-editorial-design] .foot-links { gap: 4px 20px; }
body[data-editorial-design] .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  body[data-editorial-design] .ed-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body[data-editorial-design] .ed-masthead { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 32px; margin-bottom: 28px; }
  body[data-editorial-design] .ed-masthead .eyebrow { margin-bottom: 0; }
  body[data-editorial-design] .ed-masthead h1 { font-size: clamp(2.9rem, 11vw, 4.4rem); }
  body[data-editorial-design] .ed-nav { gap: .25rem; }
  body[data-editorial-design] .ed-nav-links { width: 100%; column-gap: 1.2rem; }
  body[data-editorial-design] .ed-guide-menu { position: static; }
  body[data-editorial-design] .ed-guide-menu[open] { width: 100%; }
  body[data-editorial-design] .ed-menu-links { position: static; width: 100%; margin-top: 4px; }
  body[data-editorial-design] .ed-related > h2 { font-size: 1.8rem; }
}
@media (max-width: 420px) {
  body[data-editorial-design] { font-size: 17px; }
  body[data-editorial-design] :is(.wrap-wide, .ed-shell),
  body[data-editorial-design] header > .ed-nav,
  body[data-editorial-design] main:not(.ed-home) > .wrap,
  body.planner-page[data-editorial-design] main.wrap,
  body[data-editorial-design] footer .wrap { padding-inline: 18px; }
  body[data-editorial-design] .ed-nav-links { font-size: .82rem; column-gap: 1rem; }
  body[data-editorial-design] .ed-feature { padding: 24px 20px; }
  body[data-editorial-theme="money"] .ed-feature { padding-inline: 0; }
  body[data-editorial-design] .ed-toc { padding-inline: 16px; }
  body[data-editorial-design] article h1 { font-size: 2.15rem; }
  body.planner-page[data-editorial-design] #planner-form,
  body.planner-page[data-editorial-design] #planner-results { padding: 18px 14px; }
  body.planner-page[data-editorial-design] .actions { flex-direction: column; align-items: stretch; }
}
/* Browser-reviewed composition: a full-width lead, then a balanced reading list. */
body[data-editorial-design] .ed-split { display: block; }
body[data-editorial-design] .ed-related { margin-top: 44px; }
body[data-editorial-design] .ed-related > .section-label { display: none; }
body[data-editorial-design] .ed-related > h2 { font-size: 2rem; }
body[data-editorial-design] .ed-context { margin-inline: 0; }
body[data-editorial-design] .ed-context :is(strong, em) { color: inherit; }
body[data-editorial-design] .ed-context a:not(.cta) { text-decoration: underline; }
body[data-editorial-design] .ed-feature-reading .cta { background: transparent; color: var(--paper) !important; border: 0; border-bottom: 1px solid var(--paper); padding-inline: 0; }
body[data-editorial-design] .ed-feature-reading .cta:hover { background: transparent; }
body[data-editorial-design] .foot-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; }
body[data-editorial-design] .ed-guide-menu summary::after { content: '⌄'; }
body[data-editorial-design] .ed-guide-menu[open] summary::after { content: '⌃'; }
@media (min-width: 761px) {
  body[data-editorial-design] .ed-masthead h1 { font-size: clamp(2.6rem, 4.4vw, 3.9rem); line-height: 1.06; }
  body[data-editorial-design] .ed-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
  body[data-editorial-design] .ed-feature > .ed-kicker { grid-column: 1 / -1; grid-row: 1; }
  body[data-editorial-design] .ed-feature > h2 { grid-column: 1; grid-row: 2 / span 3; margin-block: 0; }
  body[data-editorial-design] .ed-feature > p:not(.ed-kicker) { grid-column: 2; grid-row: 2; margin-top: 0; }
  body[data-editorial-design] .ed-feature > .cta { grid-column: 2; grid-row: 3; justify-self: start; }
  body[data-editorial-design] .ed-planner-feature > h2 { grid-column: 1; grid-row: 2; }
  body[data-editorial-design] .ed-planner-feature > p:not(.ed-kicker) { grid-column: 1; grid-row: 3; margin-top: 1rem; }
  body[data-editorial-design] .ed-planner-feature > .cta { grid-column: 1; grid-row: 4; }
  body[data-editorial-design] .ed-feature-reading { grid-column: 2; grid-row: 2 / span 3; border: 0; margin: 0; padding: 0; }
  body[data-editorial-design] .ed-reading-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
}
@media print {
  body[data-editorial-design] { background: white; color: black; font-size: 12pt; }
  body[data-editorial-design] :is(header, .ed-skip, .ed-toc) { display: none; }
  body[data-editorial-design] .ed-split { display: block; }
  body[data-editorial-design] :is(.ed-planner-feature, .ed-planner-feature h2, .ed-planner-feature h2 a, .ed-planner-feature .ed-kicker) { background: white; color: black; }
}
