/* Inventory-scoped frame. The existing sticky TOC and body copy stay intact. */
:is(.g6-article-frame) :is(.g6a-summary,.g6a-proof,.g6a-homes){box-sizing:border-box;min-width:0;max-width:1120px;margin:28px auto;padding:28px;border:1px solid #d2dfe5;border-radius:18px;background:#f4f9fd;color:#095e93;overflow-wrap:anywhere}
/* 2026-10-12 director (SPEC_CONTENT_SURFACES Job 2): the guide's tool card is an in-flow
   ruled card on the reading measure, not a sidebar afterthought; the related guides row is
   an unboxed cover-card grid. */
:is(.g6-article-frame) :is(.g6a-context){box-sizing:border-box;min-width:0;max-width:68ch;margin:40px auto;padding:28px 0;border:0;border-top:1px solid #dbe8f2;border-bottom:1px solid #dbe8f2;border-radius:0;background:none;color:#095e93;overflow-wrap:anywhere}
:is(.g6-article-frame) :is(.g6a-footer){box-sizing:border-box;min-width:0;width:100%;max-width:1120px;margin:48px auto 40px;padding:0;border:0;border-radius:0;background:none;color:#095e93;overflow-wrap:anywhere}
/* The opening now carries the byline, so the duplicate in-body line is hidden (bytes stay). */
:is(.g6-article-frame) :is([data-article-body] .byline){display:none}
/* One kicker per page: the opening chip is it. Body-level eyebrow labels inside a guide keep
   their bytes but stop scaffolding the page (same pattern as css/gen6-opus-type.css). */
:is(.g6-article-frame) :is([data-article-body] [class*=eyebrow]){display:none}
:is(.g6-article-frame) :is(.g6a-reading){width:100%;min-width:0;margin-inline:auto}
:is(.g6-article-frame) :is(.ga-flow){max-width:68ch}
:is(.g6-article-frame) :is(.page-content.g6a-reading){max-width:1180px}
:is(.g6-article-frame) :is([data-article-body]){min-width:0;font-size:17px;line-height:1.65}
:is(.g6-article-frame) :is([data-article-body] p,[data-article-body] ul,[data-article-body] ol){max-width:none}
:is(.g6-article-frame) :is([data-article-body] img){max-width:100%;height:auto;border-radius:14px}
:is(.g6-article-frame) :is([data-article-body] figcaption){font-size:14px;line-height:1.6;color:#42596d;padding:12px 4px}
:is(.g6-article-frame) :is([data-article-body] h2){scroll-margin-top:110px}
:is(.g6-article-frame) :is(.g6a-context){display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
:is(.g6-article-frame) :is(.g6a-context .g6s-part){font:600 13px/1.5 var(--g6-ui);letter-spacing:0;text-transform:none;color:#42596d}
:is(.g6-article-frame) :is(.g6a-context .g6s-copy){padding:0;min-width:0}
:is(.g6-article-frame) :is(.g6a-context h3){font-size:clamp(26px,3vw,36px);line-height:1.15;margin:8px 0 16px}
:is(.g6-article-frame) :is(.g6a-context p){font-size:16px;line-height:1.65}
:is(.g6-article-frame) :is(.g6a-context .g6s-shot){margin:0;min-width:0}
:is(.g6-article-frame) :is(.g6a-context img){display:block;width:100%;height:auto;border-radius:12px}
:is(.g6-article-frame) :is(.g6a-textlink){display:block;margin-top:12px}
:is(.g6-article-frame) :is(.g6a-summary h2,.g6a-related h2){font-family:var(--g6-display);font-weight:500;font-size:clamp(26px,2.6vw,32px);margin:0 0 20px}
:is(.g6-article-frame) :is(.g6a-summary){max-width:68ch}
:is(.g6-article-frame) :is(.g6a-summary ul){list-style:none;padding:0;margin:0;display:grid;gap:0}
:is(.g6-article-frame) :is(.g6a-summary a){display:flex;align-items:center;min-height:44px;padding:10px 0;border-top:1px solid #dbe8f2;color:#095e93;text-decoration:none;font:500 14px/1.5 var(--g6-ui)}
:is(.g6-article-frame) :is(.g6a-summary a:hover){color:#1d5a87;text-decoration:underline}
:is(.g6-article-frame) :is(.g6a-proof>summary){min-height:48px;padding:12px;cursor:pointer;font-weight:700}
:is(.g6-article-frame) :is(.g6a-proof .g6s-package,.g6a-proof .g6-market-snapshot){padding:12px 0}
:is(.g6-article-frame) :is(.g6a-proof .g6s-wrap){width:100%;padding:0}
:is(.g6-article-frame) :is(.g6a-proof .g6s-row){padding:20px;gap:20px;grid-template-columns:minmax(0,1fr)}
:is(.g6-article-frame) :is(.g6a-proof .g6-deep-gallery){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
:is(.g6-article-frame) :is(.g6a-proof .g6-deep-gallery img){width:100%;height:240px;object-fit:cover;border-radius:12px}
:is(.g6-article-frame) :is(.g6a-proof .g6-journey-steps){display:grid;grid-template-columns:minmax(0,1fr);padding:0;margin:16px 0;list-style:none;gap:12px}
:is(.g6-article-frame) :is(.g6a-proof .g6-journey-steps li){width:auto;min-width:0;padding:20px;background:white;border:1px solid #d2dfe5;border-radius:12px}
:is(.g6-article-frame) :is(.g6a-author){display:flex;gap:24px;align-items:center;margin-bottom:24px}
:is(.g6-article-frame) :is(.g6a-author img){width:150px;height:auto;flex-shrink:0}
:is(.g6-article-frame) :is(.g6a-author p){margin:0 0 10px;font-weight:600}
:is(.g6-article-frame) :is(.g6a-author .g6a-date){font-size:14px;font-weight:400}
:is(.g6-article-frame) :is(.g6a-close){margin-top:24px;padding-top:24px;border-top:1px solid #d2dfe5}
:is(.g6-article-frame) :is(.g6a-close h2){font-size:clamp(28px,3vw,38px);line-height:1.2}
:is(.g6-article-frame) :is(.g6a-actions){display:flex;flex-wrap:wrap;align-items:center;gap:16px}
:is(.g6-article-frame) :is(.g6a-actions a,.g6a-context a,.g6a-homes>a){min-height:44px;display:inline-flex;align-items:center;padding:12px 16px}
:is(.g6-article-frame) :is(.g6a-actions a:focus-visible,.g6a-context a:focus-visible,.g6a-related a:focus-visible,.g6a-summary a:focus-visible,.g6a-proof summary:focus-visible){outline:3px solid #2b80bb;outline-offset:3px}
:is(.g6-article-frame) :is(.g6a-homes .section-lux){padding:0;background:transparent}
:is(.g6-article-frame) :is(.g6a-homes .container){padding:0;width:100%}
:is(.g6-article-frame) :is(.g6a-homes .listings-strip__grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
:is(.g6-article-frame) :is(.g6a-homes .listings-strip__card){min-width:0}
:is(.g6-article-frame) :is(.g6a-homes .listings-strip__card img){width:100%;max-width:100%}
:is(.g6-article-frame) :is(.g6a-homes h2){font-size:clamp(28px,3vw,38px)}
:is(.g6-article-frame) :is(.ct-page-wrap>.g6a-summary,.ct-page-wrap>.g6a-context,.ct-page-wrap>.g6a-proof,main>.g6a-homes){width:calc(100% - 40px)}
:is(.g6-article-frame) :is(.ct-page-wrap .container--narrow){max-width:70ch}
:is(.g6-article-frame) :is(.page-content table){display:block;max-width:100%;overflow-x:auto}
@media(max-width:800px){
 :is(.g6-article-frame) :is(.g6a-summary,.g6a-proof,.g6a-homes){padding:20px}
 :is(.g6-article-frame) :is(.g6a-homes .listings-strip__grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:500px){
 :is(.g6-article-frame) :is(.g6a-author){display:block}
 :is(.g6-article-frame) :is(.g6a-author img){width:120px;margin-bottom:16px}
 :is(.g6-article-frame) :is(.g6a-homes .listings-strip__grid,.g6a-proof .g6-deep-gallery){grid-template-columns:minmax(0,1fr)}
 :is(.g6-article-frame) :is(.g6a-proof){padding:16px}
 :is(.g6-article-frame) :is(.g6a-context .g6-main-button){white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){
 :is(.g6-article-frame) :is(.g6a-summary,.g6a-context,.g6a-proof,.g6a-footer,.g6a-homes){animation:none;transition:none;scroll-behavior:auto}
}
/* Original media remains intact; only constrain its reading-column geometry. */
:is(.g6-article-frame) :is([data-article-body] iframe){display:block;max-width:100%;width:100%;height:auto;aspect-ratio:16/9}
:is(.g6-article-frame) :is(.ct-page-wrap .ct-mini-ledger,.ct-page-wrap .ct-ledger-wrap){max-width:100%;min-width:0}
:is(.g6-article-frame) :is(.ct-page-wrap .ct-ledger-wrap){overflow-x:auto}
@media(max-width:800px){
 :is(.g6-article-frame) :is(.ct-page-wrap .ct-mini-ledger li){display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
 :is(.g6-article-frame) :is(.ct-page-wrap .ct-ml-name,.ct-page-wrap .ct-ml-meta){width:auto;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
}
:is(.g6-article-frame) :is(.ga-toc a){min-height:44px}
:is(.g6-article-frame) :is(.g6a-context,.g6a-footer,.g6a-homes) :is(a.g6-main-button){color:#fff;background:#095e93;text-decoration:none;border-color:#095e93}
:is(.g6-article-frame) :is(.g6a-context,.g6a-footer,.g6a-homes) :is(a.g6-main-button:hover){color:#fff;background:#095e93}
/* Opus: secondary links in the context box at AA (was #2b80bb on #f4f9fd, 3.34:1). */
:is(.g6-article-frame) :is(.g6a-context a:not(.g6-main-button), .g6a-textlink){color:#1d5a87;text-decoration:underline;text-underline-offset:3px}
:is(.g6-article-frame) :is(.g6a-context a:not(.g6-main-button):hover, .g6a-textlink:hover){color:#095e93}
:is(.g6-article-frame) :is(.g6a-context a:not(.g6-main-button):focus-visible, .g6a-textlink:focus-visible){outline:3px solid #1d5a87;outline-offset:3px;border-radius:4px}
