/* BuiltinWashington v13.8: shared content-area refinements. */
.bw-master-page .t005_article .bpex-guide-section > .bpex-steps,
.bw-master-page .t005_article .bpex-guide .bpex-steps,
.bw-master-page .t005_article ol.bpex-steps,
.bw-master-page .t005_article ul.bpex-steps {
  list-style-type: none !important;
  list-style-position: inside !important;
  padding-inline-start: 0 !important;
}
.bw-master-page .t005_article .bpex-guide-section > .bpex-steps > li,
.bw-master-page .t005_article .bpex-guide .bpex-steps > li,
.bw-master-page .t005_article ol.bpex-steps > li,
.bw-master-page .t005_article ul.bpex-steps > li {
  list-style: none !important;
  display: block;
}
.bw-master-page .t005_article .bpex-steps > li::marker { content: '' !important; font-size: 0 !important; }
/* Keep the custom colorful step badge, do not hide ::before. */
.bw-master-page .t005_article .bpex-steps > li::before { visibility: visible !important; }
.bw-master-page .t005_article .bpex-guide-nav { scroll-margin-top: 100px; }
.bw-master-page .t005_article .bpex-guide-nav a { text-decoration: none; }
.bw-master-page .t005_article .bpex-guide-nav a:hover { text-decoration: underline; }
.bw-master-page .t005_article .bpex-guide-section table,
.bw-master-page .t005_article .bw-guide-section table { border-collapse: collapse; width: 100%; }
.bw-master-page .t005_article .bpex-guide-section table th,
.bw-master-page .t005_article .bw-guide-section table th { background: #eaf3ff; color: #123c6a; }
.bw-master-page .t005_article .bpex-guide-section table td,
.bw-master-page .t005_article .bpex-guide-section table th,
.bw-master-page .t005_article .bw-guide-section table td,
.bw-master-page .t005_article .bw-guide-section table th { padding: 12px; border: 1px solid #d8e4f2; }
.bw-master-page .t005_article a:not(.bpex-guide-nav a) { text-underline-offset: 3px; }
@media(max-width:640px) { .bw-master-page .t005_article .bpex-guide-section table,
.bw-master-page .t005_article .bw-guide-section table {font-size: .88rem;} }

.bw-master-page .bw-editorial-v138 .bpex-guide-lead {border-left:4px solid #2a75bf;padding:20px 22px;background:#f0f7ff;border-radius:12px;margin:20px 0;}
.bw-master-page .bw-editorial-v138 .bpex-guide-section{padding:25px 0;border-bottom:1px solid #dbe5f0;scroll-margin-top:110px;}
.bw-master-page .bw-editorial-v138 .bpex-guide-section>h2{font-size:clamp(1.3rem,2vw,1.7rem);color:#143f70;line-height:1.35;margin:0 0 19px;}
.bw-master-page .bw-editorial-v138 .bpex-guide-section>p{margin:0 0 17px;font-size:clamp(.95rem,1.1vw,1.05rem);line-height:1.85;max-width:100ch;}
.bw-master-page .bw-editorial-v138 .bw-final-faq{margin-top:25px;}
.bw-master-page .bw-editorial-v138 .bw-related-reading{padding:18px 20px;background:#f4f8ff;border:1px solid #d7e7f8;border-radius:12px;}

/* v13.9: guide-only repair. Never style workspace controls, previews or results. */
.bw-master-page .t005_article,
.bw-master-page .t005_article > article,
.bw-master-page .bpex-seo > article,
.bw-master-page .bw-mod-guide {min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
/* A native list ::marker and the designed ::before must not both number a step. */
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(ol,ul).bpex-steps,
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(ol,ul).bw-mod-steps {list-style:none!important;list-style-type:none!important;padding-inline-start:0!important;counter-reset:bwguide-step;}
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(.bpex-steps,.bw-mod-steps)>li {list-style:none!important;display:block!important;position:relative!important;counter-increment:bwguide-step;}
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(.bpex-steps,.bw-mod-steps)>li::marker {content:""!important;font-size:0!important;color:transparent!important;}
/* Preserve the pre-existing colorful custom ::before. */
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) .bpex-steps>li::before {content:counter(bwguide-step)!important;visibility:visible!important;}
/* Match the old reference layout: centered article blocks and a compact five-pixel inset. */
body .bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) .bpex-guide-section,
body .bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) .bw-guide-section {width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:22px auto 26px!important;padding:5px!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important;scroll-margin-top:110px;}
body .bw-master-page .bw-editorial-v138 .bpex-guide-section {padding:5px!important;}
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(.bpex-guide-section,.bw-guide-section)>h2 {max-width:100%;line-height:1.4!important;margin-top:14px!important;}
.bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(.bpex-guide-section,.bw-guide-section)>:is(p,ol,ul,.bpex-table-wrap) {max-width:100%!important;}
/* Navigation is a single accessible group, positioned just below the editorial introduction. */
body .bw-master-page nav.bpex-guide-nav,
body .bw-master-page nav.bpex-guide-nav.bw-guide-nav {display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;width:100%!important;max-width:100%!important;box-sizing:border-box!important;position:relative!important;left:auto!important;transform:none!important;margin:20px auto 28px!important;padding:14px!important;background:#f1f7ff!important;border:1px solid #d3e4f8!important;border-radius:14px!important;}
body .bw-master-page nav.bpex-guide-nav a {display:inline-flex;align-items:center;justify-content:center;max-width:100%;width:auto;white-space:normal;overflow-wrap:anywhere;padding:9px 13px!important;border:1px solid #cbdcf1!important;border-radius:9px!important;background:#fff!important;color:#175cac!important;text-decoration:none!important;font-size:13px!important;line-height:1.4!important;font-weight:700!important;text-align:center;}
body .bw-master-page nav.bpex-guide-nav a:is(:hover,:focus-visible) {background:#e4f0ff!important;border-color:#7cb0e7!important;text-decoration:underline!important;}
@media(max-width:640px){body .bw-master-page nav.bpex-guide-nav{padding:10px 7px!important;gap:6px!important}body .bw-master-page nav.bpex-guide-nav a{font-size:12px!important;padding:8px 9px!important}body .bw-master-page :is(.t005_article,.bpex-seo,.bplait-seo-content,.bw-mod-guide) :is(.bpex-guide-section,.bw-guide-section){padding:5px!important}}

/* v14: non-PDF articles use the same final editorial layout as images-to-PDF.
   Source of the reference design: editorial-v12-final.css + pdf-guide-navigation.css.
   Every selector below is article-scoped: no workspace, results, related tools or PDF changes. */
.bw-master-page .bw-pdf-reference-layout {width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important;}
.bw-master-page .bw-pdf-reference-layout :is(.bpex-guide-lead,.bw-mod-card,.bpex-table-wrap,.bput-table-wrap){max-width:100%;box-sizing:border-box;}
.bw-master-page .bw-pdf-reference-layout > section {box-sizing:border-box;min-width:0;width:100%;max-width:100%;left:auto!important;transform:none!important;scroll-margin-top:110px;}
.bw-master-page .bw-pdf-reference-layout > section > h2 {color:#1f4668!important;font-size:clamp(1.36rem,1.1rem + 1vw,2rem)!important;line-height:1.3!important;letter-spacing:-.015em;margin:clamp(30px,3vw,45px) 0 14px!important;}
.bw-master-page .bw-pdf-reference-layout > section :is(.bpex-table-wrap,.bput-table-wrap){width:100%;max-width:100%;overflow-x:auto;}
.bw-master-page .bw-pdf-reference-layout > section table {width:100%!important;max-width:100%!important;border-collapse:collapse!important;margin:18px 0 24px!important;}
.bw-master-page .bw-pdf-reference-layout > section :is(th,td) {padding:clamp(10px,1.2vw,16px)!important;border:1px solid #dce7ef!important;vertical-align:top!important;line-height:1.6!important;overflow-wrap:anywhere;}
.bw-master-page .bw-pdf-reference-layout > section th {background:#eaf3fb!important;color:#234863!important;}
.bw-master-page .bw-pdf-reference-layout > section tr:nth-child(even){background:#f8fbfd!important;}
.bw-master-page .bw-pdf-reference-layout > section.bw-final-faq {padding:0!important;background:none!important;border:0!important;margin-top:clamp(36px,4vw,65px)!important;margin-bottom:0!important;}
.bw-master-page .bw-pdf-reference-layout > section.bw-final-faq h2 {margin-bottom:24px!important;}
.bw-master-page .bw-pdf-reference-layout nav.bpex-guide-nav.bw-guide-nav {display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;margin:18px auto 24px!important;max-width:100%!important;}
.bw-master-page .bw-pdf-reference-layout nav.bpex-guide-nav a {overflow-wrap:anywhere;scroll-margin-top:110px;}
@media(max-width:720px){.bw-master-page .bw-pdf-reference-layout > section table{display:block!important;overflow-x:auto!important;font-size:13px!important;}.bw-master-page .bw-pdf-reference-layout > section :is(th,td){min-width:115px;padding:9px!important;}}
