/* Gold Standard adapter for the preserved plain-HTML issue briefs.
   Load after tip-credit.css and briefs.css. No source markup or text changes.
   The native approved Tip Credit has no .brief-article, so is outside this scope. */
body:has(.brief-article) {
  --bg: #f7f2e7;
  --bg2: #fbf8f0;
  --ink: #221c16;
  --ink2: #4a4234;
  --ink3: #655a46;
  --gold: #a9803c;
  --gold-readable: #80602e;
  --brass: #a9803c;
  --emerald: #1c4a3a;
  --emerald2: #1c4a3a;
  --oxblood: #793b35;
  --oxblood2: #793b35;
  --line: #d6c6a5;
  --line2: #e4d8bf;
  --faint: #655a46;
  --d-bg: #101a16;
  --d-bg2: #0b120e;
  --d-cream: #ece3d0;
  --d-gold2: #e6c878;
  --d-faint: #c2b79e;
  --d-line: #2a3c32;
  font: 20px/1.72 var(--body);
  color: var(--ink);
  background: var(--bg);
}
:where(body:has(.brief-article)) .wrap { max-width: 1180px; padding-inline: 34px; }
:where(body:has(.brief-article)) .progress { height: 2px; background: #c9a24b; box-shadow: none; }

/* The approved forest opening, mapped onto the preserved title/metadata. */
:where(body:has(.brief-article)) .brief-head { position: relative; padding: 45px 0 68px; color: #ece3d0; background: #101a16; border-bottom: 1px solid #c8a25a; text-align: center; }
:where(body:has(.brief-article)) .brief-head .wrap { position: relative; }
:where(body:has(.brief-article)) .brief-head .crumb { justify-content: center; color: #c9b992; font-family: var(--body); font-size: 14px; font-variant-caps: small-caps; text-transform: none; letter-spacing: .055em; gap: 10px; }
:where(body:has(.brief-article)) .brief-head .crumb .sep { color: #8d826b; }
:where(body:has(.brief-article)) .brief-head .source-header { max-width: 850px; margin: 25px auto 0; }
:where(body:has(.brief-article)) .brief-head .kicker { font-family: var(--body); font-size: 16px; font-variant-caps: small-caps; font-weight: 400; line-height: 1.5; letter-spacing: .075em; text-transform: none; color: #c9b992; margin: 0 0 18px; }
:where(body:has(.brief-article)) .brief-head h1 { max-width: 24ch; margin: 0 auto; font-family: var(--disp); font-size: clamp(48px,6.6vw,76px); font-weight: 500; line-height: 1.06; letter-spacing: 0; color: #ece3d0; text-transform: none; }
:where(body:has(.brief-article)) .brief-head .deck { max-width: 54ch; margin: 22px auto 0; font-family: var(--body); font-size: 22px; font-weight: 400; line-height: 1.52; color: #d0c7b3; }
:where(body:has(.brief-article)) .brief-head .review-stamp { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; font: 14px/1.6 var(--body); letter-spacing: .02em; color: #bcb29b; }
:where(body:has(.brief-article)) .brief-head .review-chip { color: inherit; }
:where(body:has(.brief-article)) .brief-head .companion-context { max-width: 65ch; border-color: #344438; margin: 26px auto 0; text-align: left; }
:where(body:has(.brief-article)) .brief-head .companion-context .kicker { margin-bottom: 8px; }
:where(body:has(.brief-article)) .brief-head .companion-context p { color: #d0c7b3; }

/* Preserve the mobile menu/details mechanism and source anchor offsets. */
:where(body:has(.brief-article)) .brief { display: grid; grid-template-columns: 216px minmax(0,72ch); justify-content: center; gap: 54px; padding: 72px 0 68px; }
:where(body:has(.brief-article)) .reading-column { width: 100%; min-width: 0; max-width: 72ch; }
:where(body:has(.brief-article)) .toc { display: flex; flex-direction: column; align-self: start; position: sticky; top: calc(var(--masthead-height,66px) + 25px); max-height: calc(100dvh - var(--masthead-height,66px) - 50px); overflow: visible; border-right: 1px solid #d6c6a5; padding: 0 18px 0 0; }
:where(body:has(.brief-article)) .toc .th { flex: none; padding-bottom: 12px; margin: 0 0 4px; font-family: var(--body); font-size: 16px; font-weight: 400; line-height: 1.5; font-variant-caps: small-caps; letter-spacing: .07em; text-transform: none; color: #776037; border-color: #d6c6a5; }
:where(body:has(.brief-article)) .toc .contents-links { min-height: 0; max-height: calc(100dvh - var(--masthead-height,66px) - 105px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #bbaa88 transparent; overscroll-behavior: contain; padding-right: 8px; }
:where(body:has(.brief-article)) .toc .contents-links a { position: relative; padding: 8px 0 8px 27px; font: 17px/1.32 var(--body); color: #4a4234; border-bottom: 1px solid #e4d8bf; text-decoration: none; }
:where(body:has(.brief-article)) .toc .contents-links a::before { top: 9px; left: 0; width: 18px; font: 13px/1.5 var(--body); color: #8a6b34; letter-spacing: 0; text-align: left; }
:where(body:has(.brief-article)) .toc .contents-links li:last-child a { border-bottom: 0; }
:where(body:has(.brief-article)) .toc .contents-links a:hover,
:where(body:has(.brief-article)) .toc .contents-links a.active { color: #1c4a3a; }
:where(body:has(.brief-article)) .toc .contents-links a.active { font-weight: 600; }
:where(body:has(.brief-article)) .toc .contents-links a.active::before { color: #1c4a3a; }
:where(body:has(.brief-article)) .toc .contents-links a.library-link { padding: 12px 0 !important; margin-top: 16px; color: #80602e; border-top: 1px solid #d6c6a5; border-bottom: 0; }
:where(body:has(.brief-article)) .toc .contents-links a.library-link::before { content: none; }
:where(body:has(.brief-article)) .mobile-contents { display: none; }

/* The approved continuous ivory reading column. */
:where(body:has(.brief-article)) .brief-article { width: 100%; max-width: 72ch; min-width: 0; font: 20px/1.72 var(--body); }
:where(body:has(.brief-article)) .brief-article p { margin: 0 0 21px; color: #221c16; line-height: 1.72; }
:where(body:has(.brief-article)) .brief-article .article-body > .lead { font: 20px/1.72 var(--body); color: #221c16; margin: 0 0 25px; }
:where(body:has(.brief-article)) .brief-article strong { color: inherit; font-weight: 600; }
:where(body:has(.brief-article)) .brief-article em { color: inherit; }
:where(body:has(.brief-article)) .brief-article h2 { margin: 58px 0 26px; padding-top: 25px; border-top: 1px solid #d6c6a5; font-family: var(--disp); font-size: clamp(34px,3.3vw,44px); font-weight: 500; font-style: normal; line-height: 1.1; letter-spacing: 0; text-transform: none; color: #221c16; }
:where(body:has(.brief-article)) .brief-article h3 { font: 600 28px/1.2 var(--disp); color: #1c4a3a; margin: 32px 0 12px; }
:where(body:has(.brief-article)) .brief-article h4 { font: 600 24px/1.25 var(--disp); color: #221c16; margin: 26px 0 11px; }
:where(body:has(.brief-article)) .brief-article h2 + p,
:where(body:has(.brief-article)) .brief-article h3 + p { margin-top: 0; }
:where(body:has(.brief-article)) .brief-article .heading-link { color: #80602e; font-family: var(--body); font-size: 14px; }
:where(body:has(.brief-article)) .brief-article a:not(.heading-link) { color: #1c4a3a; text-decoration-color: #9aaf9c; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:where(body:has(.brief-article)) .brief-article a:not(.heading-link):hover { text-decoration-color: #1c4a3a; }
:where(body:has(.brief-article)) .brief-article ul:where(:not(.case-digest-list,.dev-watch-list,.related-list)) { margin: 14px 0 24px; padding-left: 25px; list-style-type: circle; }
:where(body:has(.brief-article)) .brief-article li { color: #221c16; font-size: inherit; line-height: 1.72; margin: 8px 0; padding: 0; }
:where(body:has(.brief-article)) .brief-article li::marker { color: #a9803c; font-size: .7em; }
:where(body:has(.brief-article)) .brief-article ol > li::marker { color: #80602e; font-size: .9em; }
:where(body:has(.brief-article)) .brief-article ul li::before { content: none; }
:where(body:has(.brief-article)) .brief-article li > ul,
:where(body:has(.brief-article)) .brief-article li > ol { margin-top: 8px; margin-bottom: 10px; }

/* Source summaries, notes, quotations and worked examples keep all content. */
:where(body:has(.brief-article)) .brief-article .at-a-glance { background: #fbf8f0; border: 1px solid #d6c6a5; border-left: 3px solid #1c4a3a; border-radius: 4px; margin: 30px 0 36px; padding: 25px 28px; }
:where(body:has(.brief-article)) .brief-article .at-a-glance h2 { border: 0; padding: 0; margin: 0 0 16px; font-size: 28px; font-weight: 600; color: #1c4a3a; }
:where(body:has(.brief-article)) .brief-article .at-a-glance ul { margin: 0; padding-left: 21px; }
:where(body:has(.brief-article)) .brief-article .at-a-glance li { font-size: 18px; line-height: 1.6; }
:where(body:has(.brief-article)) .brief-article .callout { margin: 30px 0; padding: 25px 28px; background: #fbf8f0; border: 1px solid #d6c6a5; border-left: 3px solid #a9803c; border-radius: 4px; box-shadow: none; font-size: 19px; line-height: 1.6; color: #221c16; }
:where(body:has(.brief-article)) .brief-article .callout p { font-size: 19px; line-height: 1.6; }
:where(body:has(.brief-article)) .brief-article .callout-title { display: block; font: 600 17px/1.4 var(--body); font-variant-caps: small-caps; text-transform: none; letter-spacing: .035em; color: #80602e; margin-bottom: 12px; }
:where(body:has(.brief-article)) .brief-article .callout-warning { background: #f3e8dc; border-color: #cba99a; border-left-color: #793b35; color: #40251e; }
:where(body:has(.brief-article)) .brief-article .callout-warning .callout-title { color: #793b35; }
:where(body:has(.brief-article)) .brief-article .callout-ok { background: #e9ecdf; border-color: #a7b7a2; border-left-color: #1c4a3a; }
:where(body:has(.brief-article)) .brief-article .callout-ok .callout-title { color: #1c4a3a; }
:where(body:has(.brief-article)) .brief-article .worked-example { margin: 30px 0; padding: 25px 28px; background: #fbf8f0; border: 1px solid #d6c6a5; border-radius: 4px; box-shadow: none; }
:where(body:has(.brief-article)) .brief-article .worked-example h3 { margin: 0 0 16px; font-size: 26px; color: #221c16; }
:where(body:has(.brief-article)) .brief-article .worked-example p,
:where(body:has(.brief-article)) .brief-article .worked-example li { font-size: 18px; line-height: 1.6; }
:where(body:has(.brief-article)) .brief-article .worked-example > :last-child { margin-bottom: 0; }
:where(body:has(.brief-article)) .brief-article blockquote { margin: 30px 0; padding: 22px 26px; background: #fbf8f0; border: 1px solid #d6c6a5; border-left: 3px solid #a9803c; border-radius: 4px; color: #332b20; font: italic 23px/1.5 var(--disp); }
:where(body:has(.brief-article)) .brief-article blockquote p { font: inherit; color: inherit; }
:where(body:has(.brief-article)) .brief-article blockquote > :last-child { margin-bottom: 0; }

/* Keep every column; wide source tables scroll inside their existing region. */
:where(body:has(.brief-article)) .brief-article .table-scroll { margin: 30px 0; max-width: 100%; overflow: auto; overscroll-behavior-inline: contain; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #bbaa88 #eee6d5; }
:where(body:has(.brief-article)) .brief-article table { width: 100%; min-width: 550px; margin: 0; background: #fbf8f0; border-collapse: collapse; border: 1px solid #d6c6a5; font: 16px/1.55 var(--body); color: #4a4234; }
:where(body:has(.brief-article)) .brief-article table[data-columns="5"],
:where(body:has(.brief-article)) .brief-article table[data-columns="6"] { min-width: 800px; }
:where(body:has(.brief-article)) .brief-article table[data-columns="7"],
:where(body:has(.brief-article)) .brief-article table[data-columns="8"] { min-width: 940px; }
:where(body:has(.brief-article)) .brief-article caption { padding: 14px 16px; text-align: left; color: #574629; background: #e9e1cf; border: 1px solid #d6c6a5; border-bottom: 0; font: 17px/1.45 var(--body); font-variant-caps: small-caps; text-transform: none; letter-spacing: .035em; }
:where(body:has(.brief-article)) .brief-article :is(th,td) { padding: 13px 14px; vertical-align: top; border-bottom: 1px solid #e4d8bf; text-align: left; }
:where(body:has(.brief-article)) .brief-article thead th { background: #f0e9d9; color: #655a46; font: 500 14px/1.45 var(--body); font-variant-caps: small-caps; text-transform: none; letter-spacing: .02em; border-top: 0; border-bottom: 1px solid #a9803c; }
:where(body:has(.brief-article)) .brief-article tbody th { color: #221c16; font-weight: 600; }
:where(body:has(.brief-article)) .brief-article tbody tr:nth-child(even) { background: #f5efdf; }
:where(body:has(.brief-article)) .brief-article tbody tr:hover { background: #eee6d5; }
:where(body:has(.brief-article)) .brief-article td p,
:where(body:has(.brief-article)) .brief-article td li { font-size: 16px; line-height: 1.55; }
:where(body:has(.brief-article)) .brief-article td > :last-child { margin-bottom: 0; }
:where(body:has(.brief-article)) .brief-article .num { font-variant-numeric: tabular-nums; white-space: normal; }
:where(body:has(.brief-article)) .brief-article .sort-button { min-height: 44px; padding: 5px 0; font: inherit; color: inherit; background: none; border: 0; }
:where(body:has(.brief-article)) .brief-article .sort-indicator { color: #80602e; }

/* Authorities and existing navigation use the same reading palette. */
:where(body:has(.brief-article)) .brief-article .citations,
:where(body:has(.brief-article)) .brief-article .citations li,
:where(body:has(.brief-article)) .brief-article .case-cite { font: 16px/1.6 var(--body); color: #655a46; }
:where(body:has(.brief-article)) .brief-article .badge { font: 14px/1.5 var(--body); color: #4a4234; background: #fbf8f0; border-color: #d6c6a5; }
:where(body:has(.brief-article)) .brief-article .badge-yes { color: #1c4a3a; border-color: #a7b7a2; }
:where(body:has(.brief-article)) .brief-article .case-entry { padding-top: 24px; margin-block: 28px; border-color: #d6c6a5; }
:where(body:has(.brief-article)) .brief-article .case-entry h3 { margin-top: 0; }
:where(body:has(.brief-article)) .brief-article .case-digest-list,
:where(body:has(.brief-article)) .brief-article .dev-watch-list,
:where(body:has(.brief-article)) .brief-article .related-list { list-style: none; padding: 0; }
:where(body:has(.brief-article)) .brief-article .case-digest-item,
:where(body:has(.brief-article)) .brief-article .dev-watch-item,
:where(body:has(.brief-article)) .brief-article .related-list > li { padding: 20px 0; margin: 0; border-top: 1px solid #e4d8bf; }
:where(body:has(.brief-article)) .brief-article .case-digest-name { font: 600 25px/1.25 var(--disp); margin-bottom: 8px; }
:where(body:has(.brief-article)) .brief-article .case-digest-why,
:where(body:has(.brief-article)) .brief-article .dev-watch-item { font-size: 18px; line-height: 1.6; }
:where(body:has(.brief-article)) .brief-article .dev-watch-item time { color: #80602e; font: 15px/1.5 var(--body); margin-bottom: 7px; }
:where(body:has(.brief-article)) .brief-article .dev-watch h2,
:where(body:has(.brief-article)) .brief-article .related h2 { font: 500 clamp(34px,3.3vw,44px)/1.1 var(--disp); letter-spacing: 0; text-transform: none; color: #221c16; }
:where(body:has(.brief-article)) .brief-article .related-list { gap: 0 25px; }
:where(body:has(.brief-article)) .brief-article .related-list a { font: 600 24px/1.25 var(--disp); }
:where(body:has(.brief-article)) .brief-article .related-type { font: 15px/1.5 var(--body); font-variant-caps: small-caps; text-transform: none; letter-spacing: .035em; color: #80602e; }
:where(body:has(.brief-article)) .brief-article .article-disclaimer { border-color: #d6c6a5; padding-top: 20px; margin-block: 36px; }
:where(body:has(.brief-article)) .brief-article .article-disclaimer p { font: 16px/1.6 var(--body); color: #655a46; }
:where(body:has(.brief-article)) .brief-pagination { margin-top: 36px; padding: 27px 30px; gap: 26px; background: #17241d; border: 1px solid #536047; border-radius: 4px; color: #ece3d0; }
:where(body:has(.brief-article)) .brief-pagination a { font: 500 28px/1.15 var(--disp); color: #e6c878 !important; }
:where(body:has(.brief-article)) .brief-pagination small { font: 16px/1.5 var(--body); font-variant-caps: small-caps; text-transform: none; letter-spacing: .05em; color: #c2b79e; margin-bottom: 8px; }

:where(body:has(.brief-article)) :is(a,button,summary,input,select,[tabindex="0"]):focus-visible { outline: 2px solid #a9803c; outline-offset: 4px; }

:where(body:has(.brief-article)) .brief-article details { background: #fbf8f0; border-color: #d6c6a5; border-radius: 4px; padding: 17px 21px; }
:where(body:has(.brief-article)) .brief-article summary { color: #1c4a3a; }

@media (max-width:1080px) and (min-width:961px) {
  :where(body:has(.brief-article)) .brief { grid-template-columns: 192px minmax(0,1fr); gap: 34px; }
}
@media (max-width:960px) {
  :where(body:has(.brief-article)) .brief { grid-template-columns: minmax(0,1fr); gap: 0; padding-top: 35px; }
  :where(body:has(.brief-article)) .toc { display: none; }
  :where(body:has(.brief-article)) .reading-column { max-width: 72ch; margin-inline: auto; }
  :where(body:has(.brief-article)) .mobile-contents { display: block; position: sticky; top: var(--masthead-height); z-index: 45; background: #fbf8f0; border: 1px solid #d6c6a5; border-radius: 4px; margin: 0 0 30px; }
  :where(body:has(.brief-article)) .mobile-contents summary { font: 18px/1.4 var(--body); color: #1c4a3a; padding: 12px 16px; }
  :where(body:has(.brief-article)) .mobile-contents[open] summary { border-color: #d6c6a5; }
  :where(body:has(.brief-article)) .mobile-contents .contents-links { overflow-y: auto; max-height: calc(100dvh - var(--masthead-height) - 80px); scrollbar-width: thin; scrollbar-color: #bbaa88 transparent; }
  :where(body:has(.brief-article)) .mobile-contents a { color: #4a4234; font: 17px/1.4 var(--body); }
  :where(body:has(.brief-article)) .mobile-contents a.library-link { color: #80602e; border-color: #d6c6a5; }
  
}
@media (max-width:800px) {
  :where(body:has(.brief-article)) .wrap { padding-inline: 23px; }
  :where(body:has(.brief-article)) .brief-head { padding: 30px 0 48px; }
  :where(body:has(.brief-article)) .brief-head .source-header { margin-top: 24px; }
  :where(body:has(.brief-article)) .brief-head .deck { font-size: 21px; }
  :where(body:has(.brief-article)) .brief-article h2 { margin-top: 46px; }
}
@media (max-width:520px) {
  body:has(.brief-article) { font-size: 19px; line-height: 1.67; }
  :where(body:has(.brief-article)) .wrap { padding-inline: 20px; }

  

  :where(body:has(.brief-article)) .brief-head h1 { font-size: 48px; }
  :where(body:has(.brief-article)) .brief-head .kicker { font-size: 15px; }
  :where(body:has(.brief-article)) .brief-head .deck { font-size: 20px; }
  :where(body:has(.brief-article)) .brief-head .review-stamp { display: grid; gap: 5px; font-size: 14px; }
  :where(body:has(.brief-article)) .brief-article { font-size: 19px; line-height: 1.67; }
  :where(body:has(.brief-article)) .brief-article p,
  :where(body:has(.brief-article)) .brief-article li { line-height: 1.67; }
  :where(body:has(.brief-article)) .brief-article .article-body > .lead { font-size: 19px; line-height: 1.67; }
  :where(body:has(.brief-article)) .brief-article h2 { font-size: 34px; }
  :where(body:has(.brief-article)) .brief-article h3 { font-size: 27px; }
  :where(body:has(.brief-article)) .brief-article .at-a-glance,
  :where(body:has(.brief-article)) .brief-article .callout,
  :where(body:has(.brief-article)) .brief-article .worked-example { padding: 21px 19px; }
  :where(body:has(.brief-article)) .brief-article .related-list { grid-template-columns: 1fr; }
  :where(body:has(.brief-article)) .brief-pagination { padding: 23px; gap: 20px; }
  :where(body:has(.brief-article)) .brief-pagination a { font-size: 24px; }
}
@media print {
  body:has(.brief-article) { color: #111; background: white; font-size: 12pt; }
  :where(body:has(.brief-article)) .brief-head { color: #111; background: white; padding: 0 0 20pt; }
  :where(body:has(.brief-article)) .brief-head :is(h1,.kicker,.review-stamp,.deck,.crumb) { color: #111; }
  :where(body:has(.brief-article)) .brief { display: block; padding: 20pt 0 0; }
  :where(body:has(.brief-article)) .reading-column,
  :where(body:has(.brief-article)) .brief-article { max-width: none; font-size: 12pt; }
  :where(body:has(.brief-article)) .brief-article h2 { font-size: 22pt; }
  :where(body:has(.brief-article)) .brief-article h3 { font-size: 17pt; }
  :where(body:has(.brief-article)) .brief-article .table-scroll { overflow: visible; }
  :where(body:has(.brief-article)) .brief-article table { min-width: 0 !important; font-size: 9pt; }
}
