/* Madeira T01 Desktop MASTER candidate. STAGING ONLY, disabled by default.
   Tokens copied from the existing rc11 editorial pilot, not inferred screenshots.
   Applied to explicitly classified T01 posts only; excludes 3120/3405 and legacy pilots.
   Desktop >=1200px + Tablet 768-1024px; no changes to TOC, FAQ, CTA, related cards, HERO or Lead. */
@media (min-width:1200px) {
  body.md-t01-desktop-master .article-shell .article-content-inner {
    padding-top:32px !important;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p:first-child {margin-top:0;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p {
    font-family:Inter,Arial,sans-serif;font-size:18px;line-height:1.75;color:#1F2937;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > h2 {
    font-family:Poppins,Arial,sans-serif;font-size:28px;line-height:1.35;
    font-weight:700;color:#0E3A67;letter-spacing:-.02em;
  }
  /* Editorial-only lists; do not select nested FAQ/CTA/TOC lists. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) {
    box-sizing:border-box;width:100%;margin:20px 0 24px;
    padding:20px 24px 20px 48px;
    background:#F3F8FD;border:1px solid #DCE8F3;border-left:3px solid #4FA3D9;
    border-radius:6px;color:#1F2937;font-family:Inter,Arial,sans-serif;
    font-size:18px;line-height:1.7;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) > li {padding-left:4px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) > li + li {margin-top:10px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) > li::marker {color:#0E3A67;font-weight:700;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ul {list-style:disc outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ol {list-style:decimal outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) :is(ul,ol) {
    background:none;border:0;padding:2px 0 2px 24px;margin:8px 0 0;
  }
  /* Ordinary editorial Gutenberg tables only. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table {
    box-sizing:border-box;width:100%;max-width:100%;margin:20px 0 28px;
    overflow-x:auto;border:1px solid #DCE8F3;border-radius:6px;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table {
    min-width:560px;width:100%;margin:0;table-layout:auto;border-collapse:collapse;
    color:#1F2937;font:400 16px/1.5 Inter,Arial,sans-serif;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table :is(td,th) {
    box-sizing:border-box;border:0;border-bottom:1px solid #DCE8F3;
    text-align:left;vertical-align:top;padding:13px 16px;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table thead th {
    background:#0E3A67;color:#FFF;font-weight:600;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table tbody tr:nth-child(even) {background:#F7FAFD;}
  /* Ordinary editorial links; never navigation, CTA, FAQ, TOC or cards. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:not(:where(
    .button,.gb-button,.wp-element-button,[role="button"],.md-t01-universal-toc a,
    [class*="faq"] a,.gb-accordion a,[class*="article-cta"] a,
    [class*="article-related"] a,nav a,aside a
  )) {
    color:#0E3A67;font-weight:600;text-decoration-line:underline;
    text-decoration-color:#4FA3D9;text-decoration-thickness:1px;text-underline-offset:3px;
    transition:color 150ms ease,text-decoration-color 150ms ease;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:hover {color:#0667AB;text-decoration-color:currentColor;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:focus-visible {
    outline:2px solid #4FA3D9;outline-offset:3px;border-radius:2px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href] {transition:none;}
}


/* rc13 MASTER TABLET: exact editorial typography tokens from the legacy
   3120 pilot (universal-preview.css). Strictly 768-1024px, no Mobile changes.
   Scoped to clearly classified T01 and skips the reference/legacy pilots. */
@media (min-width:768px) and (max-width:1024px) {
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p:first-child {margin-top:0;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p {
    font-family:Inter,Arial,sans-serif;font-size:17px;line-height:1.65;color:#1F2937;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > h2 {
    font-family:Poppins,Arial,sans-serif;font-size:24px;line-height:1.35;
    font-weight:700;color:#0E3A67;letter-spacing:-.02em;
  }
  /* Ordinary editorial lists only; do not override TOC/FAQ/CTA. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) {
    box-sizing:border-box;width:100%;margin:20px 0 24px;
    padding:20px 24px 20px 48px;
    background:#F3F8FD;border:1px solid #DCE8F3;border-left:3px solid #4FA3D9;
    border-radius:6px;color:#1F2937;font-family:Inter,Arial,sans-serif;
    font-size:18px;line-height:1.7;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li {padding-left:4px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li + li {margin-top:10px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li::marker {color:#0E3A67;font-weight:700;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ul {list-style:disc outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ol {list-style:decimal outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) :is(ul,ol) {
    background:none;border:0;padding:2px 0 2px 24px;margin:8px 0 0;
  }
  /* The legacy pilot applies its table and link tokens on Tablet as well. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table {
    box-sizing:border-box;width:100%;max-width:100%;margin:20px 0 28px;
    overflow-x:auto;border:1px solid #DCE8F3;border-radius:6px;-webkit-overflow-scrolling:touch;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table {
    min-width:560px;width:100%;margin:0;table-layout:auto;border-collapse:collapse;
    color:#1F2937;font:400 16px/1.5 Inter,Arial,sans-serif;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table :is(td,th) {
    box-sizing:border-box;border:0;border-bottom:1px solid #DCE8F3;
    text-align:left;vertical-align:top;padding:13px 16px;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table thead th {
    background:#0E3A67;color:#FFF;font-weight:600;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table tbody tr:nth-child(even) {background:#F7FAFD;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:not(:where(
    .button,.gb-button,.wp-element-button,[role="button"],.md-t01-universal-toc a,
    [class*="faq"] a,.gb-accordion a,[class*="article-cta"] a,
    [class*="article-related"] a,nav a,aside a
  )) {
    color:#0E3A67;font-weight:600;text-decoration-line:underline;
    text-decoration-color:#4FA3D9;text-decoration-thickness:1px;text-underline-offset:3px;
    transition:color 150ms ease,text-decoration-color 150ms ease;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:hover {
    color:#0667AB;text-decoration-color:currentColor;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:focus-visible {
    outline:2px solid #4FA3D9;outline-offset:3px;border-radius:2px;
  }
}


/* rc14 MASTER MOBILE (<=767 px). Exact article editorial tokens from the
   approved reference 3120 universal-preview.css. Does not modify HERO/H1,
   Lead block, TOC layout, FAQ, CTA, related posts or body content.
   CSS only applies to T01 staging articles with MASTER opt-in. */
@media (max-width:767px) {
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p:first-child {margin-top:0;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > p {
    font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.7;color:#1F2937;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > h2 {
    font-family:Poppins,Arial,sans-serif;font-size:24px;line-height:1.35;
    font-weight:700;color:#0E3A67;letter-spacing:-.02em;
  }
  /* Ordinary Gutenberg lists (not TOC, FAQ or CTA lists). */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) {
    box-sizing:border-box;width:100%;margin:20px 0 24px;
    padding:16px 14px 16px 36px;
    background:#F3F8FD;border:1px solid #DCE8F3;border-left:3px solid #4FA3D9;
    border-radius:6px;color:#1F2937;font-family:Inter,Arial,sans-serif;
    font-size:16px;line-height:1.65;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li {padding-left:4px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li + li {margin-top:10px;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) li::marker {color:#0E3A67;font-weight:700;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ul {list-style:disc outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > ol {list-style:decimal outside;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(ul,ol) :is(ul,ol) {
    background:none;border:0;padding:2px 0 2px 24px;margin:8px 0 0;
  }
  /* Table appearance and horizontal scroll match the reference. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table {
    box-sizing:border-box;width:100%;max-width:100%;margin:20px 0 28px;
    overflow-x:auto;border:1px solid #DCE8F3;border-radius:6px;-webkit-overflow-scrolling:touch;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table {
    min-width:560px;width:100%;margin:0;table-layout:auto;border-collapse:collapse;
    color:#1F2937;font:400 16px/1.5 Inter,Arial,sans-serif;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table :is(td,th) {
    box-sizing:border-box;border:0;border-bottom:1px solid #DCE8F3;
    text-align:left;vertical-align:top;padding:13px 16px;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table thead th {
    background:#0E3A67;color:#FFF;font-weight:600;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table tbody tr:nth-child(even) {background:#F7FAFD;}
  /* Pilot-specific two-column table fallback, where :has() is supported. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table
   :is(th,td) {overflow-wrap:normal;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table:has(> thead > tr:first-child > th:nth-child(2):last-child) {
    width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table:has(> thead > tr:first-child > th:nth-child(2):last-child) :is(th,td) {
    white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;
    word-break:normal!important;font-size:14px!important;line-height:1.5!important;
    padding:10px 8px!important;vertical-align:top;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table:has(> thead > tr:first-child > th:nth-child(2):last-child) :is(th,td):first-child {width:35%!important;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > figure.wp-block-table table:has(> thead > tr:first-child > th:nth-child(2):last-child) :is(th,td):nth-child(2) {width:65%!important;}
  /* Editorial links, excluding navigation, TOC, CTA, FAQ and cards. */
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:not(:where(
    .button,.gb-button,.wp-element-button,[role="button"],.md-t01-universal-toc a,
    [class*="faq"] a,.gb-accordion a,[class*="article-cta"] a,
    [class*="article-related"] a,nav a,aside a
  )) {
    color:#0E3A67;font-weight:600;text-decoration-line:underline;
    text-decoration-color:#4FA3D9;text-decoration-thickness:1px;text-underline-offset:3px;
    transition:color 150ms ease,text-decoration-color 150ms ease;
  }
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:hover {color:#0667AB;text-decoration-color:currentColor;}
  body.md-t01-desktop-master .article-content-inner .dynamic-entry-content > :is(p,ul,ol) a[href]:focus-visible {
    outline:2px solid #4FA3D9;outline-offset:3px;border-radius:2px;
  }
}
