/* Developer journeys share the Commons' typography, palette and spacing. */
.dx-page { --dx-ink:#26351d; --dx-line:#cdd2c0; --dx-soft:#e9eddf; }
.dx-page h1 { max-width:16ch; }
.dx-subnav { display:flex; flex-wrap:wrap; gap:.8rem 1.8rem; padding:1rem 0; border-bottom:1px solid var(--dx-line); font-size:.82rem; }
.dx-subnav a[aria-current] { font-weight:bold; text-decoration-thickness:2px; }
.dx-hero { padding:4rem 0 3rem; max-width:54rem; }
.dx-hero p { max-width:43rem; margin-top:1.5rem; font-size:1.13rem; }
.dx-page-map { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block:1px solid var(--dx-line); margin:2rem 0 .7rem; }
.dx-page-map a { display:grid; gap:.4rem; padding:1rem 1.2rem; text-decoration:none; }
.dx-page-map a + a { border-left:1px solid var(--dx-line); }
.dx-page-map a:hover { background:#f0f1e8; }
.dx-page-map span { color:#55604a; font:.67rem/1.4 NEUE_MONTREAL_MEDIUM,Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.dx-page-map strong { color:var(--dx-ink); font:1rem/1.3 NEUE_MONTREAL_MEDIUM,Arial,sans-serif; }
.dx-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
.dx-card { border:1px solid var(--dx-line); padding:1.5rem; background:#f5f4ec; min-width:0; }
.dx-card h2,.dx-card h3 { margin-bottom:1rem; }
.dx-card h2 { font-size:2rem; }
.dx-card p { font-size:.96rem; }
.dx-card .kernel-eyebrow { margin-bottom:1rem; }
.dx-path { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; gap:1px; background:var(--dx-line); border:1px solid var(--dx-line); counter-reset:path; }
.dx-path li { background:#f5f4ec; padding:1.3rem; counter-increment:path; }
.dx-path li::before { content:'0' counter(path); display:block; color:#617750; font-size:.72rem; margin-bottom:.6rem; }
.dx-path strong { display:block; margin-bottom:.5rem; font-weight:500; }
.dx-path span { display:block; font-size:.86rem; line-height:1.5; }
.dx-band { background:var(--dx-soft); border-block:1px solid var(--dx-line); padding:3rem 0; scroll-margin-top:1rem; }
.dx-band .kernel-section-intro { margin-bottom:1.4rem; }
.dx-explorer-section { border-top:1px solid var(--dx-line); }
.dx-explorer-section .dx-toolbar { margin-top:0; }
.dx-toolbar { display:flex; flex-wrap:wrap; gap:1rem; align-items:end; margin:1.4rem 0; }
.dx-scenario-field { display:grid; gap:.4rem; flex:1; min-width:12rem; }
.dx-toolbar label { display:grid; gap:.4rem; font-size:.76rem; flex:1; min-width:9rem; }
.dx-page select,.dx-page input { font:inherit; padding:.65rem .7rem; border:1px solid #8e9a7f; border-radius:2px; color:#26351d; background:#faf8f2; width:100%; min-width:0; }
.dx-page select:focus-visible,.dx-page input:focus-visible { outline:3px solid #56782a; outline-offset:3px; }
.dx-page button { border:1px solid #8e9a7f; border-radius:2px; color:var(--dx-ink); background:#f9f8f1; padding:.6rem .85rem; }
.dx-page button:hover { background:#e6ecdb; }
.dx-page button:disabled { opacity:.6; cursor:default; }
.dx-page button[aria-pressed=true] { background:#354922; color:white; }
.dx-workbench { display:grid; grid-template-columns:15rem minmax(0,1fr); border:1px solid var(--dx-line); background:#faf8f2; }
.dx-chapters { padding:.6rem; background:#e4e8d9; border-right:1px solid var(--dx-line); }
.dx-chapters button { border:0; width:100%; display:block; text-align:left; margin-bottom:.3rem; padding:.85rem; font-size:.83rem; line-height:1.4; }
.dx-chapters button span { display:block; font-size:.66rem; margin-bottom:.4rem; opacity:.8; }
.dx-stage { padding:1.8rem; min-width:0; }
.dx-stage h3 { font-size:2rem; }
.dx-stage > p { margin-top:1rem; }
.dx-status { min-height:1.6rem; font-size:.8rem; color:#505e41; }
.dx-status[data-error=true] { color:#8b3426; }
.dx-event-list { list-style:none; padding:0; display:grid; gap:.45rem; margin:1.25rem 0; }
.dx-event-list button { display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%; text-align:left; font-size:.8rem; }
.dx-event-list small { display:block; font-size:.68rem; margin-top:.3rem; opacity:.8; }
.dx-pill { font-size:.66rem; display:inline-block; padding:.3rem .45rem; border:1px solid #9ba68d; background:#e7eddc; color:#304621; flex-shrink:0; }
.dx-pill[data-kind=prevented] { background:#f4e5df; color:#793f32; border-color:#c4a194; }
.dx-pill[data-kind=decision_required] { background:#f4ebd9; color:#705724; border-color:#c3ad7c; }
.dx-pill[data-kind=indeterminate] { background:#e7e6f0; color:#53466a; border-color:#b3a8c6; }
.dx-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.25rem 0; }
.dx-facts > div { border-top:1px solid var(--dx-line); padding-top:.8rem; min-width:0; }
.dx-facts dt { color:#5b6650; font-size:.69rem; margin-bottom:.4rem; }
.dx-facts dd { margin:0; font-size:.92rem; overflow-wrap:anywhere; }
.dx-inspector { scroll-margin-top:1rem; }
.dx-inspector > header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; align-items:start; margin:2rem 0 1.3rem; }
.dx-inspector h2 { font-size:2rem; }
.dx-tabs { display:flex; gap:.5rem; flex-wrap:wrap; }
.dx-tabs button { font-size:.76rem; }
.dx-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.dx-detail { padding:1.3rem; border-top:2px solid #a9b69a; background:#f1f2e9; min-width:0; }
.dx-detail h3 { font-size:1rem; margin-bottom:.85rem; }
.dx-detail p { font-size:.85rem; }
.dx-detail dl { margin:0; }
.dx-detail dt { font-size:.7rem; margin:.7rem 0 .25rem; color:#58664b; }
.dx-detail dd { margin:0; font-size:.83rem; overflow-wrap:anywhere; }
.dx-page .dx-detail code { font-size:.74rem; }
.dx-table-wrap { overflow:auto; max-width:100%; }
.dx-page table { width:100%; border-collapse:collapse; font-size:.8rem; }
.dx-page th,.dx-page td { text-align:left; padding:.75rem .6rem; border-bottom:1px solid var(--dx-line); vertical-align:top; overflow-wrap:anywhere; }
.dx-page th { font-weight:500; color:#4b5e3a; }
.dx-page details { margin:1rem 0; border:1px solid var(--dx-line); background:#f6f5ee; }
.dx-page summary { cursor:pointer; padding:.9rem 1rem; font-size:.82rem; }
.dx-page details > :not(summary) { margin:.25rem 1rem 1rem; }
.dx-page pre { padding:1rem; background:#22271c; color:#f4f4e9; max-height:32rem; overflow:auto; border-radius:2px; font-size:.73rem; }
.dx-page .dx-source { max-height:none; background:#f0f1e9; color:#27331f; line-height:1.5; }
.dx-source code { display:grid; }
.dx-source .line { display:block; scroll-margin-top:2rem; }
.dx-source .line:target { background:#d9e7bf; }
.dx-source .line > a { color:#737d66; display:inline-block; width:3.2rem; user-select:none; font-size:.65rem; text-decoration:none; }
.dx-source .token.comment { color:#63735a; font-style:italic; }
.dx-source .token.keyword,.dx-source .token.atrule { color:#70457c; }
.dx-source .token.string,.dx-source .token.char { color:#9a4c27; }
.dx-source .token.function,.dx-source .token.macro { color:#315f83; }
.dx-source .token.number,.dx-source .token.boolean { color:#805b20; }
.dx-source .token.operator,.dx-source .token.punctuation { color:#53634c; }
.dx-ref { overflow-wrap:anywhere; font-family:ui-monospace,monospace; font-size:.73rem; }
.dx-ref-list { display:grid; gap:.6rem; }
.dx-ref-list a { display:block; }
.dx-object { margin-top:1rem; border-left:3px solid #718955; padding:1rem; background:#edf0e4; }
.dx-object h3 { margin-bottom:.75rem; }
.dx-notice { border-left:3px solid #8f9d7c; padding:.7rem 1.1rem; margin:1.5rem 0; font-size:.85rem; background:#f0f1e8; }
.dx-links { display:flex; align-items:center; gap:.8rem 1.5rem; flex-wrap:wrap; margin:1.1rem 0; font-size:.82rem; }
.dx-recipe { margin:1.5rem 0; padding:1.5rem 0; border-top:1px solid var(--dx-line); }
.dx-recipe h3 { margin-bottom:.8rem; }
.dx-recipe p { max-width:52rem; }
.dx-numbers { font-variant-numeric:tabular-nums; }
.dx-page [hidden] { display:none!important; }
@media(max-width:800px) {
 .dx-workbench { grid-template-columns:1fr; }
 .dx-chapters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.3rem; border-right:0; border-bottom:1px solid var(--dx-line); }
 .dx-chapters button { margin:0; }
 .dx-stage { padding:1.2rem; }
 .dx-grid,.dx-detail-grid { grid-template-columns:1fr; }
 .dx-path { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .dx-facts { grid-template-columns:1fr; gap:.5rem; }
 .dx-hero { padding:2.5rem 0 2rem; }
}
@media(max-width:440px) { .dx-path { grid-template-columns:1fr; } .dx-event-list button { align-items:start; flex-direction:column; gap:.5rem; } }
.dx-page p,.dx-page dd,.dx-page dt { overflow-wrap:anywhere; }
@media(max-width:440px) { .dx-toolbar label { flex-basis:100%; } }
/* The introductory journey stays small; evidence is revealed on demand. */
.dx-thesis { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; border-block:1px solid var(--dx-line); padding:1.4rem 0; color:#4b5e3a; font-size:1rem; }
.dx-lead-note { max-width:52rem; font-size:1.08rem; }
.dx-inspector header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; align-items:start; margin:1.5rem 0; }
.dx-inspector > summary { font-size:1rem; }
.dx-detail-grid > :last-child:nth-child(odd) { grid-column:1 / -1; }
.dx-page .kernel-doc table { min-width:45rem; }
.dx-page .kernel-doc { overflow-x:auto; }
@media(max-width:600px) { .dx-thesis { flex-direction:column; } .dx-thesis [aria-hidden] { display:none; } .dx-stage h3 { font-size:1.8rem; } .dx-page-map { grid-template-columns:1fr; } .dx-page-map a + a { border-left:0; border-top:1px solid var(--dx-line); } }
/* Plain-language terms, collapsed above the recorded activity. */
.dx-glossary { margin:0 0 3rem; }
.dx-glossary th { width:13rem; }
/* Side-by-side amendment comparison: one request, two authority models. */
.dx-amend .dx-tabs { margin:1.4rem 0 .6rem; }
.dx-amend .dx-card h3 { font-size:1.6rem; margin-bottom:.4rem; }
.dx-amend dl { margin:1rem 0 1.2rem; }
.dx-amend dt { font-size:.7rem; margin:.9rem 0 .3rem; color:#58664b; }
.dx-amend dd { margin:0; font-size:.88rem; }
.dx-amend .dx-notice { margin-top:1.5rem; }
