.article-meta { max-width: 1248px; margin: 0 auto; padding: 1.2rem 1.5rem .3rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: center; color: var(--muted); font-size: .78rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); }
.guide-frame { display: grid; grid-template-columns: 200px minmax(0, 760px) 240px; gap: 1.5rem; align-items: start; max-width: 1248px; margin: 0 auto; padding: 1rem 1.5rem 0; }
.guide-frame .chapter-rail { position: absolute; top: 0; right: calc(100% + 1.5rem); width: 200px; margin: 0; padding: 1rem 0; border: 0; border-radius: 0; background: transparent; }
.rail-label { margin: 0 0 .55rem; color: var(--console-950); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.chapter-rail nav { display: grid; }
.chapter-rail nav a { padding: .55rem .7rem; border-left: 2px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.35; text-decoration: none; }
.chapter-rail nav a:hover { border-left-color: var(--stop); color: var(--console-950); }
.rail-empty { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.article-shell { position: relative; grid-column: 2; width: 100%; margin: 0; padding: clamp(1.35rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.article-shell > .chapter-rail { max-width: none; }
.article-shell > * { max-width: 65ch; margin-inline: auto; }
.article-shell > h1 { max-width: none; margin: 0 0 1rem; font-size: clamp(2.35rem, 3.7vw, 3.4rem); line-height: 1.06; }
.article-shell > p:first-of-type { color: var(--console-800); font-size: 1.08rem; line-height: 1.65; }
.article-cover { margin: 1.5rem auto 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf7; }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.article-shell h2 { margin-top: 3rem; font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
.article-shell h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.article-shell p, .article-shell li { font-size: 1rem; line-height: 1.78; }
.article-shell ul, .article-shell ol { padding-left: 1.35rem; }
.article-shell section[id] { scroll-margin-top: 1rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { min-height: var(--touch-target); padding: .8rem 0; color: var(--console-950); font-weight: 800; cursor: pointer; }
.decision-tree { margin: var(--space-4) auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.decision-tree > * { padding: 1rem; border-top: 1px solid var(--line); }
.decision-tree > :first-child { border-top: 0; }
.step-visual { margin: var(--space-4) auto; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf7; }
.step-visual img, .step-visual svg { width: 100%; border-radius: var(--radius-sm); }
.step-visual figcaption { margin-top: .75rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.source-screenshot { margin: var(--space-5) auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf7; }
.source-screenshot a { display: flex; align-items: center; min-height: var(--touch-target); background: var(--console-950); }
.source-screenshot a:focus-visible { outline: 3px solid var(--stop); outline-offset: 3px; }
.source-screenshot img { display: block; width: 100%; max-width: 100%; height: auto; }
.source-screenshot figcaption { display: grid; gap: .25rem; padding: .9rem 1rem 1rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.source-screenshot figcaption strong { color: var(--console-950); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.incident-card { margin-top: var(--space-4); padding: 1rem 1.1rem; border: 1px solid #efb69f; border-left: 6px solid var(--stop); border-radius: var(--radius); background: var(--stop-pale); }
.incident-card h2 { margin-top: 0; color: #9c3109; }
.context-rail { position: sticky; top: 1.2rem; display: grid; gap: .85rem; }
.context-card { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.context-card--safety { border-color: #efb69f; background: var(--stop-pale); }
.context-card__icon { width: 24px; color: var(--console-950); }
.context-kicker { margin: .75rem 0 .25rem; color: var(--stop); font: 800 .68rem var(--mono); letter-spacing: .08em; }
.context-card h2 { margin: 0 0 .55rem; font-size: 1.1rem; letter-spacing: -.01em; }
.context-card > p { color: var(--muted); font-size: .76rem; line-height: 1.55; }
.context-card a { display: inline-flex; align-items: center; min-height: var(--touch-target); font-size: .78rem; font-weight: 800; }
.context-card--meta p { display: flex; justify-content: space-between; gap: .5rem; margin: 0; padding: .55rem 0; border-top: 1px solid var(--line); }
.context-card--meta p:first-child { border-top: 0; }
.context-card--meta span { color: var(--muted); }
.context-card--meta strong { color: var(--text); font-size: .72rem; }
@media (max-width: 1024px) {
  .guide-frame { grid-template-columns: 180px minmax(0, 760px); justify-content: center; }
  .guide-frame .chapter-rail { width: 180px; }
  .context-rail { position: static; grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .article-meta { padding: .9rem 1rem 0; }
  .breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--touch-target); min-height: var(--touch-target); }
  .guide-frame { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: .75rem; }
  .guide-frame .chapter-rail { position: static; width: auto; margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .chapter-rail nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-rail nav a { display: flex; align-items: center; min-height: var(--touch-target); border-left: 0; border-top: 1px solid var(--line); }
  .article-shell { grid-column: 1; padding: 1.1rem; border-radius: var(--radius); }
  .article-shell > h1 { font-size: clamp(2.15rem, 10vw, 3.35rem); }
  .article-shell h2 { font-size: 1.65rem; }
  .article-shell table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .source-list a { display: inline-flex; align-items: center; min-height: var(--touch-target); }
  .context-rail { grid-column: 1; grid-template-columns: 1fr; }
}
