.article-wrapper { width: min(49rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 2.25rem; }
.breadcrumb-nav { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--text-light); margin-bottom: 1.15rem; }
.breadcrumb-nav a { color: inherit; }
.category-tag { display: inline-block; padding: .12rem .5rem; background: var(--tag-bg); color: var(--tag-text); border-radius: .35rem; font-size: .8rem; font-weight: 700; }
.article-header h1 { margin-top: .45rem; }
.article-header .lead { color: var(--text-light); font-size: 1.08rem; }
.article-audio {
  position: relative; display: inline-flex; align-items: center; max-width: 100%;
  border: 1px solid var(--border-strong); border-radius: 1.5rem;
  background: var(--bg-alt); color: var(--text);
}
.article-audio button {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 44px; min-height: 2rem; padding: 0 .6rem; border: 0;
  background: transparent; color: inherit; font-size: .8125rem;
  font-weight: 650; cursor: pointer; white-space: nowrap;
}
.article-audio button:hover { background: var(--accent-soft); }
.article-audio button:disabled { opacity: .6; cursor: default; }
.article-audio #listen-btn { padding-inline: .85rem; border-radius: 1.5rem 0 0 1.5rem; }
.article-audio #listen-back, .article-audio #listen-fwd, #listen-speed { border-inline-start: 1px solid var(--border); }
#listen-speed { position: static; }
#listen-speed-btn { min-width: 4rem; border-radius: 0 1.5rem 1.5rem 0; }
#listen-speed-menu {
  position: absolute; z-index: 10; top: calc(100% + .4rem); left: 0;
  width: 17rem; max-width: 100%; max-height: 60vh; overflow-y: auto;
  padding: .5rem; background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: .5rem; box-shadow: var(--shadow-lg);
}
#listen-speed-menu button { width: 100%; min-height: 44px; border-radius: .25rem; }
#listen-speed-menu .listen-menu-title { display: block; margin: .35rem 0; font-size: .8rem; font-weight: 700; }
#listen-speed-menu .listen-speeds { display: flex; }
#listen-speed-menu .listen-rate { flex: 1; width: auto; min-width: 0; padding-inline: .25rem; }
#listen-speed-menu .listen-rate[aria-pressed="true"] { background: var(--accent-soft); }
#listen-voice { display: block; width: 100%; min-height: 44px; padding: .4rem; border: 1px solid var(--border-strong); border-radius: .3rem; background: var(--bg); color: var(--text); font: inherit; font-size: .8rem; }
#listen-voice-help { display: block; margin: .4rem 0; color: var(--text-light); font-size: .75rem; line-height: 1.4; }
.post-hero, .article-illustration, .bc-work-photo { margin: 1.25rem 0; }
.post-hero img, .article-illustration img, .bc-work-photo img { display: block; width: 100%; height: auto; border-radius: .6rem; }
.post-hero[id], .article-illustration[id], .bc-work-photo[id] { scroll-margin-top: 8rem; }
.article-main figcaption { color: var(--text-light); font-size: .86rem; margin-top: .45rem; }
.room-fit-diagram { margin: 1.25rem 0; }
.room-fit-diagram svg { display: block; width: min(100%, 31.25rem); height: auto; margin: 0 auto; }
.toc { margin: 1.25rem 0; padding: .85rem 1rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: .55rem; }
.toc ol, .toc ul { margin-bottom: 0; padding-left: 1.2rem; }
.toc li { padding-block: .15rem; }
.toc a { text-decoration: none; }
.toc a:hover, .toc a:focus-visible { text-decoration: underline; }
.article-main h2[id], .article-main section[id], #room-fit-tools, #room-fit-worksheet { scroll-margin-top: 8rem; }
#article-body h2 { margin: 1.65em 0 .55em; }
#article-body h3 { margin: 1.25em 0 .45em; }
#article-body li { margin: .3em 0; }
.article-main a:not(.bc-card):not(.bc-button) { color: var(--link); }
:root:not([data-theme="dark"]) .article-main #article-body a { color: #2563eb; }
.article-main table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article-main th, .article-main td { padding: .65rem .75rem; text-align: left; border: 1px solid var(--border); }
.article-main th { color: #fff; background: var(--brand); }
.article-main tbody tr:nth-child(even) { background: var(--bg-alt); }
.article-main .brand-table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: .5rem; overflow: hidden; }
.article-main .brand-table caption { caption-side: top; text-align: left; padding: .4rem 0; color: var(--text-light); }
.article-main .brand-table th, .article-main .brand-table td { border: 0; border-bottom: 1px solid var(--border); }
.article-main .brand-table tbody th { color: var(--text); background: transparent; }
.article-main .brand-table tr:last-child > * { border-bottom: 0; }
.article-main .brand-table tbody tr:hover { background: var(--brand-light); }
[data-theme="dark"] .article-main .brand-table tbody tr:hover { background: var(--accent-soft); }
.author-bio { display: flex; align-items: flex-start; gap: .8rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: .6rem; padding: 1rem; margin: 1.6rem 0; }
.author-avatar { background: var(--brand); color: #fff; border-radius: 50%; width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-weight: 700; }
.author-bio p { margin: 0; font-size: .91rem; color: var(--text-light); }
.article-faq { margin-top: 3rem; padding-top: 1rem; border-top: 2px solid var(--brand-gold); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: .7rem 0; border: 0; color: var(--text); background: transparent; font-weight: 700; cursor: pointer; }
.faq-answer { padding: 0 0 .8rem; color: var(--text-light); }
.faq-answer p:last-child { margin-bottom: 0; }
.bc-related { margin: 1.8rem 0; }
.bc-related .bc-card-copy h3 { font-size: 1rem; }
.room-fit-cta { margin-top: 2rem; }
.article-actions {
  margin-top: 2rem; padding: clamp(.85rem, 3vw, 1.5rem); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: .55rem;
}
.article-actions h2 { margin-bottom: .45rem; font-size: 1.12rem; }
.article-actions p { font-size: .9rem; color: var(--text-light); }
.article-action-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.15rem), 1fr));
  gap: .45rem;
}
.article-main .article-action-links a[href], .article-action-copy button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .35rem .4rem; border: 1px solid var(--border-strong);
  border-radius: .45rem; background: var(--bg); color: var(--text);
  font-size: .875rem; font-weight: 650; text-decoration: none;
}
.article-action-links svg { flex: none; }
.article-main .article-action-links a:hover, .article-action-copy button:hover { background: var(--accent-soft); }
.article-action-copy { margin-top: .65rem; font-size: .875rem; }
.article-action-copy summary, .article-action-copy button { cursor: pointer; }
.article-action-copy button { padding-inline: .7rem; }
.article-action-copy button[hidden] { display: none; }
.article-action-copy details { margin-top: .35rem; }
.article-action-copy label { display: block; margin-top: .35rem; }
.article-action-copy input, .article-action-copy textarea {
  display: block; width: 100%; margin: .25rem 0 .4rem; padding: .4rem;
  border: 1px solid var(--border-strong); border-radius: .3rem;
  background: var(--bg); color: var(--text); font: inherit;
}
.article-action-copy textarea { resize: vertical; }
.article-actions .article-copy-status { margin: .35rem 0 0; }
.article-copy-status:empty { margin: 0; }
