/* Original editorial layer. Scoped to avoid changing the existing tools. */
:root{--ed-ink:#24303d;--ed-muted:#637080;--ed-paper:#fff;--ed-line:#dfe4e8;--ed-brand:#a95132;--ed-accent:#ead5c7}
html{scroll-padding-top:100px}
.ed-main{width:100%;max-width:none!important;margin:0!important;padding:0!important;background:var(--ed-paper);color:var(--ed-ink)}
.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.ed-main h1,.ed-main h2,.ed-main h3{max-width:none;text-wrap:balance;word-break:normal;overflow-wrap:anywhere;letter-spacing:-.035em}
.ed-main h1{font-size:clamp(2.5rem,5vw,4.4rem);line-height:1.04;margin:16px 0 24px;font-family:inherit;font-weight:600}
.ed-main h2{font-family:inherit;font-size:clamp(1.8rem,3.3vw,3rem);line-height:1.12;font-weight:600}
.ed-main h3{font-family:inherit;font-size:1.45rem;line-height:1.22;font-weight:600;margin:10px 0 12px}
.ed-main p{line-height:1.7;max-width:none}
.ed-main a{color:var(--ed-brand)}
.ed-main a:focus-visible,.ed-main button:focus-visible,.ed-main summary:focus-visible,.ed-back-top:focus-visible{outline:3px solid #ad671a;outline-offset:5px}
.ed-breadcrumbs{padding:20px 0;font-size:.78rem;color:var(--ed-muted);line-height:1.5}
.ed-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px 12px;list-style:none;margin:0;padding:0}
.ed-breadcrumbs li{margin:0;display:flex;gap:12px;max-width:100%}
.ed-breadcrumbs li:not(:last-child)::after{content:"/";opacity:.5}
.ed-breadcrumbs a{text-decoration:none;color:inherit}
.ed-breadcrumbs li:last-child{overflow-wrap:anywhere}
.ed-kicker{font-family:Arial,sans-serif;font-size:.73rem!important;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin:0 0 10px;text-decoration:none}
.ed-hub-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;padding:44px 0 74px}
.ed-hub-hero>img{width:100%;height:auto;aspect-ratio:1.3;object-fit:contain;background:var(--ed-brand);border-radius:4px;box-shadow:16px 16px 0 var(--ed-accent)}
.ed-deck{font-size:clamp(1.08rem,1.8vw,1.3rem);line-height:1.6!important;color:var(--ed-muted);max-width:750px!important}
.ed-topic-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}
.ed-topic-links a{padding:8px 13px;border:1px solid var(--ed-line);border-radius:30px;font-size:.8rem;line-height:1.4;text-decoration:none;background:#fff}
.ed-topic-links a:hover{background:var(--ed-accent)}
.ed-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.ed-section-heading h2{margin:0}
.ed-featured{border-top:1px solid var(--ed-line);padding:40px 0 70px}
.ed-featured-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:24px;align-items:start}
.ed-card{min-width:0;background:#fff;border:1px solid var(--ed-line);border-radius:5px;overflow:hidden;display:flex;flex-direction:column}
.ed-card-image{display:block;overflow:hidden;background:var(--ed-brand)}
.ed-card-image img{display:block;width:100%;height:auto;aspect-ratio:1.904;object-fit:cover;transition:transform .3s}
.ed-card:hover .ed-card-image img{transform:scale(1.025)}
.ed-card-copy{padding:22px;display:flex;flex-direction:column;flex:1}
.ed-card h3 a,.ed-card h2 a{color:var(--ed-ink);text-decoration:none}
.ed-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.ed-card-copy>p{font-size:.91rem;color:var(--ed-muted);margin:0 0 20px}
.ed-meta{display:flex;align-items:center;gap:10px 15px;flex-wrap:wrap;font-size:.77rem;line-height:1.5;color:var(--ed-muted);font-family:Arial,sans-serif}
.ed-byline{display:inline-flex;gap:7px;align-items:center;text-decoration:none!important;font-weight:700;color:var(--ed-brand)}
.ed-byline img{width:30px;height:30px;object-fit:cover;border-radius:50%;display:inline-block}
.ed-card .ed-meta{font-size:.69rem;gap:8px 12px;margin-top:auto}
.ed-card .ed-meta>span{white-space:normal}
.ed-read{display:inline-flex;align-items:center;gap:12px;font-size:.82rem;font-weight:700;text-decoration:none;margin-top:22px;border-bottom:1px solid currentColor;align-self:flex-start;padding-bottom:5px}
.ed-read:hover{gap:18px}
.ed-featured-grid>.ed-card:first-child h3{font-size:1.9rem}
.ed-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.ed-category-row{display:grid;grid-template-columns:280px minmax(0,1fr);gap:44px;padding:50px 0;border-top:1px solid var(--ed-line)}
.ed-category-intro h2{font-size:clamp(2rem,3.3vw,3rem);margin:10px 0 20px}
.ed-category-intro>p:not(.ed-kicker){font-size:.98rem;color:var(--ed-muted)}
.ed-category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ed-category-cards .ed-card h3{font-size:1.2rem}
.ed-category-cards .ed-card-copy{padding:18px}
.ed-category-note{grid-column:1/-1;background:#f7f4f1;border-radius:5px;padding:28px;align-self:start}
.ed-bottom-note{padding:60px 0 90px;border-top:1px solid var(--ed-line)}
.ed-topic-intro{border-top:1px solid var(--ed-line);padding:38px 0;display:grid;grid-template-columns:1fr 2fr;gap:60px}
.ed-topic-intro h2{font-size:2rem;margin:0}
.ed-topic-intro p{font-size:1.08rem;margin:0}
.ed-feed{padding:28px 0 60px}
.ed-pagination{display:flex;gap:12px;flex-wrap:wrap;padding:40px 0 0}
.ed-pagination a{padding:10px 18px;border:1px solid var(--ed-line);text-decoration:none;border-radius:4px}
.ed-pagination a[aria-current]{background:var(--ed-brand);color:white}
.ed-faq{padding:48px 0 70px;border-top:1px solid var(--ed-line)}
.ed-faq h2{margin:8px 0 26px}
.ed-faq details{border-top:1px solid var(--ed-line);padding:18px 0}
.ed-faq summary{cursor:pointer;font-size:1.1rem;font-weight:600}
.ed-faq p{max-width:850px}
.ed-article-hero{max-width:980px;margin:30px auto 54px;text-align:left}
.ed-article-hero h1{font-size:clamp(2.4rem,5.2vw,4.65rem);max-width:980px}
.ed-article-hero .ed-meta{padding:10px 0 28px;font-size:.85rem}
.ed-feature-image{width:100%;height:auto;display:block;border-radius:5px;aspect-ratio:1.904;object-fit:cover}
.ed-reading-layout{display:grid;grid-template-columns:250px minmax(0,760px);gap:60px;justify-content:center;align-items:start}
.ed-toc{position:sticky;top:100px;max-height:calc(100vh - 140px);overflow:auto;font-size:.86rem;padding:5px 15px 22px 0}
.ed-toc details{border-top:3px solid var(--ed-brand);padding-top:16px}
.ed-toc summary{font-weight:700;cursor:pointer;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.ed-toc ol{list-style:none;padding:8px 0 0;margin:0}
.ed-toc li{margin:0;border-bottom:1px solid var(--ed-line)}
.ed-toc a{display:block;padding:10px 0;text-decoration:none;line-height:1.45}
.ed-toc a[aria-current="location"]{font-weight:700}
.ed-article-body{font-size:1.04rem;line-height:1.8;min-width:0;padding-bottom:45px}
.ed-article-body>article,.ed-article-body>.article,.ed-article-body>.prose,.ed-article-body>section{max-width:none!important;margin:0;padding:0}
.ed-article-body h2{font-size:2rem;margin:45px 0 18px;scroll-margin-top:100px}
.ed-article-body h3{font-size:1.45rem;margin:28px 0 12px}
.ed-article-body p{margin:0 0 20px}
.ed-article-body ul,.ed-article-body ol{padding-left:24px;margin:20px 0}
.ed-article-body li{margin:9px 0}
.ed-article-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.93rem;display:block;overflow:auto}
.ed-article-body th,.ed-article-body td{padding:12px 15px;border:1px solid var(--ed-line);text-align:left}
.ed-article-body th{background:#f5f6f8}
.ed-article-body svg,.ed-article-body img{max-width:100%;height:auto}
.ed-article-body figure{margin:30px 0}
.ed-article-body figcaption{font-size:.8rem;color:var(--ed-muted);line-height:1.6;margin:10px 0}
.ed-tool-link{background:#f5f6f8;padding:26px!important;border-left:4px solid var(--ed-brand);margin:30px 0}
.ed-tool-link h2{margin-top:0}
.ed-button{display:inline-flex;padding:12px 20px;border:1px solid var(--ed-brand);background:var(--ed-brand);color:white!important;text-decoration:none;border-radius:4px;font-size:.9rem;cursor:pointer}
.ed-author-box{max-width:1000px;margin:24px auto 64px;padding:32px;background:#f5f6f8;border:1px solid var(--ed-line);border-radius:5px;display:grid;grid-template-columns:120px 1fr;gap:30px;align-items:start;text-align:left}
.ed-author-box>img{width:120px;height:120px;border-radius:50%;object-fit:cover}
.ed-author-box h2{font-size:1.8rem;margin:5px 0 12px}
.ed-author-box h2 a{text-decoration:none}
.ed-author-box p{font-size:.95rem;line-height:1.65;margin:0 0 14px}
.ed-related{border-top:1px solid var(--ed-line);padding:40px 0 75px}
.ed-progress{position:fixed;left:0;right:0;top:0;height:4px;z-index:10000;pointer-events:none;background:transparent}
.ed-progress>div{height:100%;width:0;background:#c97732}
.ed-back-top{position:fixed;right:24px;bottom:24px;z-index:40;display:flex;align-items:center;gap:7px;justify-content:center;background:var(--ed-brand);color:white!important;padding:11px 17px;border-radius:40px;text-decoration:none!important;box-shadow:0 3px 16px #0002;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s}
.ed-back-top.is-visible{opacity:1;pointer-events:auto;transform:none}
.ed-back-top span{font-size:.75rem}
.ed-author-hero{display:grid;grid-template-columns:240px 1fr;gap:60px;align-items:center;padding:45px 0}
.ed-author-hero>img{width:240px;height:240px;border-radius:50%;object-fit:cover}
.ed-author-story{max-width:800px;padding:20px 0 55px}
.ed-author-story p{font-size:1.1rem}
.ed-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ed-resource{border:1px solid var(--ed-line);padding:22px;background:white;margin:24px 0}
.ed-resource [data-print-resource]{margin-top:18px}
.ed-answer{margin-top:20px}
.ed-answer summary{cursor:pointer;font-weight:700}
.ed-equation{font-size:1.35rem;padding:20px;background:#f5f6f8;font-variant-numeric:tabular-nums}
@media(max-width:1100px){.ed-category-row{grid-template-columns:230px 1fr;gap:28px}.ed-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-category-cards>.ed-card:nth-child(3){display:none}.ed-hub-hero{gap:35px}.ed-reading-layout{gap:35px;grid-template-columns:210px 1fr}}
@media(max-width:800px){.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:calc(100% - 36px)}.ed-hub-hero{grid-template-columns:1fr;gap:30px;padding:25px 0 50px}.ed-hub-hero>img{aspect-ratio:1.9;box-shadow:8px 8px 0 var(--ed-accent);width:calc(100% - 8px)}.ed-featured-grid{grid-template-columns:1fr 1fr}.ed-featured-grid>.ed-card:first-child{grid-column:1/-1}.ed-featured-grid>.ed-card:first-child .ed-card-image img{aspect-ratio:2.2}.ed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-category-row{grid-template-columns:1fr;gap:20px;padding:32px 0}.ed-category-intro{max-width:600px}.ed-category-intro .ed-read{margin-top:4px}.ed-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-reading-layout{grid-template-columns:1fr;gap:18px}.ed-toc{position:static;max-height:none;padding:0;background:#f5f6f8}.ed-toc details{padding:15px}.ed-toc ol{columns:2;column-gap:20px}.ed-toc li{break-inside:avoid}.ed-article-hero{margin:20px auto 30px}.ed-topic-intro{grid-template-columns:1fr;gap:15px}.ed-author-hero{grid-template-columns:120px 1fr;gap:24px}.ed-author-hero>img{width:120px;height:120px}.ed-author-box{grid-template-columns:80px 1fr;padding:22px;gap:20px}.ed-author-box>img{width:80px;height:80px}.ed-article-body{font-size:1rem}.ed-author-story{width:calc(100% - 36px)}}
@media(max-width:500px){.ed-featured-grid,.ed-card-grid,.ed-category-cards{grid-template-columns:1fr}.ed-featured-grid>.ed-card:first-child{grid-column:auto}.ed-card h3,.ed-category-cards .ed-card h3{font-size:1.5rem}.ed-card-copy{padding:22px}.ed-main h1{font-size:2.75rem}.ed-article-hero h1{font-size:2.5rem}.ed-toc ol{columns:1}.ed-author-box{grid-template-columns:1fr}.ed-author-box>img{width:72px;height:72px}.ed-author-hero{grid-template-columns:1fr;gap:20px}.ed-author-hero>img{width:130px;height:130px}.ed-back-top{bottom:16px;right:16px}.ed-section-heading{display:block}.ed-category-cards>.ed-card:nth-child(3){display:flex}.ed-article-body table{font-size:.85rem}.ed-article-body th,.ed-article-body td{padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ed-card-image img,.ed-back-top{transition:none}}
@media print{.ed-breadcrumbs,.ed-toc,.ed-progress,.ed-back-top,.ed-related,.ed-author-box,.ed-tool-link,.ed-topic-links,[data-print-resource],.ed-main~footer{display:none!important}.ed-main,.ed-article,.ed-wrap{width:100%!important;max-width:none!important;background:white!important}.ed-reading-layout{display:block}.ed-article-hero h1{font-size:24pt}.ed-feature-image{max-height:65mm;object-fit:contain}.ed-article-body{font-size:11pt}.ed-article-body h2{break-after:avoid}.ed-resource{break-inside:avoid}.ed-article-body a{color:black}.ed-answer{break-before:page}.ed-answer>*{display:block!important}.ed-resource-only body>*{display:none!important}}
@media print{body>main.ed-main{display:block!important}.ed-main .ed-article{display:block!important}.ed-article-body>article{padding:0!important}}

/* Bed & Barrow: white, slate and clay editorial surfaces. */
@media screen{
.ed-main{background:#fff}.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:min(1200px,calc(100% - 80px))}
.ed-breadcrumbs{font-size:.7rem;padding-block:18px}.ed-hub-hero{gap:60px;padding:44px 0 65px}.ed-hub-hero>img{aspect-ratio:1.7;background:#f7f8fa;border:1px solid #dfe4e8;border-radius:10px;box-shadow:none;object-fit:cover}
.ed-deck{font-size:1.04rem;line-height:1.8!important}.ed-kicker{color:#a95132;font-size:.65rem!important;letter-spacing:.13em}.ed-topic-links a{border-radius:5px;padding:9px 14px;font-size:.76rem}
.ed-card{border-radius:10px;border-color:#dfe4e8;transition:border-color .2s,box-shadow .2s}.ed-card:hover{border-color:#b6866e;box-shadow:0 10px 24px -18px #24303d40}.ed-card-image{background:#f7f8fa}.ed-card-copy{padding:25px}
.ed-card h3{font-size:1.22rem;line-height:1.3}.ed-featured-grid>.ed-card:first-child h3{font-size:1.6rem}.ed-card-copy>p{font-size:.84rem;line-height:1.75}.ed-card .ed-meta{font-size:.65rem}.ed-read{font-size:.75rem;border-bottom:0;margin-top:22px}
.ed-category-row{grid-template-columns:260px minmax(0,1fr);gap:45px;padding-block:50px}.ed-category-intro h2{font-size:2.1rem}.ed-category-intro>p:not(.ed-kicker){font-size:.88rem}.ed-category-note{border-radius:6px;border:1px solid #e4dfdb;font-size:.9rem}
.ed-section-heading h2{font-size:2.2rem}.ed-section-heading p{font-size:.8rem;color:var(--ed-muted)}.ed-article-hero{max-width:1000px}.ed-article-hero h1{font-size:clamp(2.4rem,4.4vw,3.8rem);font-weight:650}.ed-feature-image{border-radius:10px}
.ed-reading-layout{grid-template-columns:235px minmax(0,750px);gap:65px}.ed-toc{font-size:.8rem}.ed-toc details{border-top:2px solid #a95132}.ed-toc summary{font-size:.67rem}.ed-article-body{font-size:1rem;color:#42505e}.ed-article-body h2{color:#24303d;font-size:1.8rem;font-weight:650}.ed-article-body h3{color:#24303d;font-size:1.3rem;font-weight:650}
.ed-author-box{background:#f7f8fa;border-radius:10px}.ed-author-box h2{font-size:1.5rem}.ed-author-hero{gap:45px}.ed-author-hero>img{width:180px;height:180px}.ed-author-hero h1{font-size:3.6rem}.ed-author-story p{font-size:1rem}.ed-tool-link{background:#fbf4ef;border-left-width:2px}.ed-button{border-radius:5px}.ed-back-top{border-radius:7px;font-size:.8rem}
.ed-faq h2{font-size:2.2rem}.ed-faq summary{font-size:.95rem}.ed-bottom-note h2{font-size:2.1rem}.ed-main h2,.ed-main h3{letter-spacing:-.03em}body:has(.hero)>main>.ed-breadcrumbs{display:none}
}
@media screen and (max-width:1050px){.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:calc(100% - 48px)}.ed-hub-hero{gap:30px}.ed-category-row{grid-template-columns:220px 1fr;gap:25px}.ed-reading-layout{gap:32px;grid-template-columns:200px 1fr}}
@media screen and (max-width:800px){.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:calc(100% - 40px)}.ed-hub-hero{grid-template-columns:1fr;padding-top:25px;gap:25px}.ed-hub-hero>img{width:100%;max-width:560px;aspect-ratio:1.7;box-shadow:none}.ed-reading-layout,.ed-category-row{grid-template-columns:1fr}.ed-toc{background:#f5f6f8}.ed-category-intro{max-width:550px}.ed-author-hero{grid-template-columns:120px 1fr;gap:25px}.ed-author-hero>img{width:120px;height:120px}.ed-author-hero h1{font-size:2.9rem}.ed-section-heading h2{font-size:1.9rem}}
@media screen and (max-width:500px){.ed-wrap,.ed-article,.ed-hub-hero,.ed-breadcrumbs{width:calc(100% - 32px)}.ed-main h1{font-size:2.5rem}.ed-article-hero h1{font-size:2.4rem}.ed-card h3,.ed-category-cards .ed-card h3{font-size:1.3rem}.ed-card-copy{padding:22px}.ed-author-hero{grid-template-columns:1fr;gap:20px}.ed-author-hero h1{font-size:2.7rem}.ed-author-hero>img{width:110px;height:110px}.ed-author-story{width:calc(100% - 32px)}.ed-author-box{padding:24px}.ed-featured-grid>.ed-card:first-child h3{font-size:1.5rem}}
