/* The handbook uses shared semantic UI roles; its illustrations never affect the game. */
.gd-page { flex: 1 0 auto; background: var(--ui-background); color: var(--ui-ink); padding-bottom: 60px; }
.gd-page *, .gd-page *::before, .gd-page *::after { box-sizing: border-box; }
.gd-wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.gd-page :where(h1, h2, h3, p, figure, ol, dl, dd) { margin: 0; }
.gd-page :where(p, li, dd) { line-height: 1.8; }
.gd-page :where(a, button, summary, input):focus-visible { outline: 3px solid var(--ui-accent); outline-offset: 4px; border-radius: 4px; }
.gd-page ::selection { background: var(--ui-selected); color: var(--ui-ink); }
.gd-page [hidden] { display: none !important; }
.gd-sprites, .gd-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gd-icon { display: inline-block; width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.gd-detail { stroke: var(--ui-bronze); }
.gd-breadcrumb { display: flex; gap: 12px; align-items: center; padding-top: 27px; font-size: 11px; color: var(--ui-muted); }
.gd-breadcrumb a:hover { color: var(--ui-accent); text-decoration: underline; text-underline-offset: 4px; }
.gd-breadcrumb > span[aria-hidden] { color: var(--ui-bronze); }
.gd-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--ui-bronze); font: 700 10px/1.6 'Manrope', sans-serif; letter-spacing: .15em; }
.gd-eyebrow-line { display: inline-block; width: 28px; height: 1px; flex: none; background: var(--ui-bronze); }
.gd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0 57px; }
.gd-hero h1 { margin: 22px 0; color: var(--ui-ink); font: 400 clamp(46px, 4.9vw, 69px)/1.08 'Fraunces', Georgia, serif; letter-spacing: -.045em; }
.gd-hero h1 em { color: var(--ui-accent); font-weight: 400; }
.gd-lead { max-width: 500px; color: var(--ui-muted); font-size: 16px; line-height: 1.9; }
.gd-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; margin-top: 29px; }
.gd-button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 49px; padding: 12px 19px; border: 1px solid transparent; border-radius: 6px; background: var(--ui-primary); color: var(--ui-on-primary); font: 650 12px/1.5 'Manrope', sans-serif; text-decoration: none; transition: background .2s, box-shadow .2s; }
.gd-button .gd-icon { width: 21px; height: 21px; }
.gd-button:hover { background: var(--ui-primary-hover); color: var(--ui-on-primary); box-shadow: 0 6px 18px -12px #17291e80; }
.gd-button-secondary { background: var(--ui-surface); color: var(--ui-accent); border-color: var(--ui-field-border); }
.gd-button-secondary:hover { background: var(--ui-selected); color: var(--ui-accent); }
.gd-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--ui-accent); font-size: 12px; font-weight: 650; text-decoration: none; }
.gd-text-link .gd-icon { width: 20px; height: 20px; transition: transform .2s; }
.gd-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.gd-text-link:hover .gd-icon { transform: translateX(3px); }
.gd-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 29px; color: var(--ui-muted); font-size: 10px; }
.gd-hero-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.gd-hero-meta .gd-icon { width: 16px; height: 16px; color: var(--ui-accent); }
.gd-city-figure { position: relative; min-width: 0; padding: 20px 24px 17px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 10px; box-shadow: 0 18px 45px -34px #35352b45; }
.gd-city-figure::before { content: ''; position: absolute; top: -6px; right: 23px; left: 23px; height: 5px; border: 1px solid var(--ui-border); border-bottom: 0; border-radius: 4px 4px 0 0; }
.gd-figure-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ui-muted); font: 650 9px/1.6 'Manrope', sans-serif; letter-spacing: .13em; }
.gd-drawing-mark { color: var(--ui-bronze); font-size: 10px; }
.gd-city-art { display: block; width: 100%; height: auto; margin: -7px 0 -2px; overflow: visible; }
.gd-art-grid { color: var(--ui-border); opacity: .6; }
.gd-drawing-note { color: var(--ui-bronze); }
.gd-drawing-label { fill: var(--ui-bronze); font: 8px 'Manrope', sans-serif; letter-spacing: .15em; }
.gd-city-figure > figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ui-border); color: var(--ui-muted); font-size: 9px; }
.gd-city-figure > figcaption > span { display: flex; gap: 6px; align-items: center; }
.gd-city-figure figcaption .gd-icon { width: 16px; height: 16px; color: var(--ui-accent); }
.gd-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 4px; color: var(--ui-accent); font-size: 9px; white-space: nowrap; }
.gd-motion-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.gd-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--ui-border); }
.gd-paths > a { display: flex; align-items: center; gap: 16px; padding: 26px 24px; min-width: 0; transition: background .2s; }
.gd-paths > a:first-child { padding-left: 0; }
.gd-paths > a:last-child { padding-right: 0; }
.gd-paths > a + a { border-left: 1px solid var(--ui-border); }
.gd-paths > a:hover { background: var(--ui-selected); }
.gd-path-icon { display: grid; place-items: center; width: 47px; height: 47px; flex: none; border: 1px solid var(--ui-border); background: var(--ui-surface); border-radius: 50%; color: var(--ui-accent); }
.gd-paths small, .gd-paths strong, .gd-paths em { display: block; }
.gd-paths small { margin-bottom: 3px; font-size: 8px; font-weight: 650; letter-spacing: .12em; color: var(--ui-bronze); }
.gd-paths strong { font-size: 14px; line-height: 1.7; font-weight: 650; }
.gd-paths em { font-size: 10px; line-height: 1.8; font-style: normal; color: var(--ui-muted); }
.gd-paths > a > .gd-icon { margin-left: auto; width: 19px; height: 19px; color: var(--ui-accent); }
.gd-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 66px; padding-top: 64px; }
.gd-sidebar { min-width: 0; position: relative; }
.gd-sidebar-inner { position: sticky; top: calc(var(--site-nav-h) + 26px); max-height: calc(100dvh - var(--site-nav-h) - 45px); overflow-y: auto; padding: 4px 5px 10px 4px; margin: -4px -5px -10px -4px; scrollbar-width: thin; scrollbar-color: var(--ui-border) transparent; }
.gd-sidebar .gd-eyebrow { font-size: 9px; margin-bottom: 17px; }
.gd-search-area { margin-bottom: 18px; }
.gd-search { position: relative; display: flex; align-items: center; border: 1px solid var(--ui-field-border); border-radius: 6px; background: var(--ui-surface); color: var(--ui-muted); }
.gd-search > .gd-icon { position: absolute; left: 11px; width: 18px; height: 18px; pointer-events: none; }
:root .gd-page .gd-search input[type="search"] { width: 100%; min-height: 43px; margin: 0; padding: 10px 37px 10px 36px; border: 0; border-radius: 6px; color: var(--ui-ink); background: transparent; font-size: 11px; }
.gd-page .gd-search input::placeholder { color: var(--ui-muted); opacity: 1; }
.gd-search input::-webkit-search-cancel-button { display: none; }
.gd-search:focus-within { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.gd-page .gd-search input:focus-visible { outline: none; }
.gd-search > button { position: absolute; right: 2px; width: 36px; height: 37px; color: var(--ui-accent); border-radius: 4px; }
.gd-search > button .gd-icon { width: 19px; height: 19px; }
.gd-search-status { margin-top: 7px !important; font-size: 10px; color: var(--ui-muted); min-height: 0; }
.gd-search-status:empty { display: none; }
.gd-index { border-top: 1px solid var(--ui-border); }
.gd-index > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 11px; list-style: none; font-size: 11px; font-weight: 650; cursor: pointer; }
.gd-index > summary::-webkit-details-marker, .gd-troubleshooting summary::-webkit-details-marker { display: none; }
.gd-index > summary > span { font-size: 16px; color: var(--ui-bronze); transition: transform .2s; }
.gd-index[open] > summary > span { transform: rotate(180deg); }
.gd-index ol { list-style: none; padding: 0; }
.gd-index a { position: relative; display: grid; grid-template-columns: 19px 21px minmax(0, 1fr); align-items: center; gap: 9px; padding: 11px 10px; margin: 3px 0; border-left: 2px solid transparent; border-radius: 0 5px 5px 0; color: var(--ui-muted); font-size: 11px; line-height: 1.6; transition: background .2s, color .2s; }
.gd-index .gd-nav-number { color: var(--ui-bronze); font-size: 9px; font-variant-numeric: tabular-nums; }
.gd-index .gd-icon { width: 21px; height: 21px; }
.gd-index a:hover { background: var(--ui-surface-alt); color: var(--ui-accent); }
.gd-index a[aria-current] { border-left-color: var(--ui-accent); background: var(--ui-selected); color: var(--ui-accent); font-weight: 700; }
.gd-index a[aria-current] .gd-nav-number { color: var(--ui-accent); }
.gd-sidebar-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ui-border); }
.gd-sidebar-note > .gd-icon { width: 22px; height: 22px; color: var(--ui-bronze); }
.gd-sidebar-note p { font-size: 11px; color: var(--ui-muted); }
.gd-sidebar-note strong { display: block; margin-bottom: 4px; color: var(--ui-ink); font-size: 11px; font-weight: 650; }
.gd-sidebar-back { display: flex; justify-content: space-between; margin-top: 20px; padding: 8px 0; color: var(--ui-accent); font-size: 10px; }
.gd-sidebar-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.gd-chapters { min-width: 0; }
.gd-chapter { padding: 0 0 62px; border-bottom: 1px solid var(--ui-border); margin-bottom: 62px; }
.gd-chapter:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.gd-chapter-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 23px; }
.gd-chapter-icon { display: grid; place-items: center; flex: none; width: 51px; height: 57px; border: 1px solid var(--ui-border); border-radius: 6px 6px 17px 6px; background: var(--ui-surface); color: var(--ui-accent); }
.gd-chapter-icon .gd-icon { width: 30px; height: 30px; }
.gd-chapter-head .gd-eyebrow { font-size: 9px; margin: 0 0 9px; }
.gd-page h2 { color: var(--ui-ink); font: 400 clamp(27px, 2.6vw, 36px)/1.24 'Fraunces', Georgia, serif; letter-spacing: -.027em; }
.gd-intro { color: var(--ui-muted); font-size: 15px; line-height: 1.9 !important; margin-bottom: 28px !important; }
.gd-page h3 { color: var(--ui-ink); font: 650 14px/1.6 'Manrope', sans-serif; letter-spacing: -.015em; }
.gd-page h3 .gd-icon { width: 22px; height: 22px; color: var(--ui-accent); margin-right: 6px; }
.gd-page p strong { color: var(--ui-ink); font-weight: 650; }
.gd-start-facts { display: grid; grid-template-columns: .9fr 1.4fr; margin: 28px 0 35px; border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); }
.gd-start-facts > div { padding: 22px 24px; }
.gd-start-facts > div:first-child { background: var(--ui-selected); border-radius: 6px 0 0 6px; }
.gd-start-facts > div > span { font-size: 8px; font-weight: 650; letter-spacing: .13em; color: var(--ui-accent); }
.gd-start-facts > div > strong { display: block; margin: 8px 0; color: var(--ui-accent); font: 400 39px/1.1 'Fraunces', Georgia, serif; letter-spacing: -.035em; }
.gd-start-facts small { font-size: 26px; }
.gd-start-facts p { color: var(--ui-muted); font-size: 12px; line-height: 1.85; }
.gd-start-facts > div:last-child { display: flex; gap: 15px; align-items: center; }
.gd-start-facts .gd-icon { width: 32px; height: 32px; color: var(--ui-bronze); }
.gd-start-facts p strong { display: block; margin-bottom: 4px; }
.gd-checklist-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.gd-checklist-head > span { color: var(--ui-accent); font-size: 10px; font-weight: 650; background: var(--ui-selected); padding: 5px 9px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.gd-checklist { list-style: none; padding: 0; border-top: 1px solid var(--ui-border); }
.gd-checklist li { border-bottom: 1px solid var(--ui-border); }
.gd-checklist label { position: relative; display: flex; align-items: flex-start; gap: 17px; padding: 20px 6px; cursor: pointer; border-radius: 4px; }
.gd-checklist label:hover { background: var(--ui-surface); }
.gd-checklist input { position: absolute; width: 28px; height: 28px; opacity: 0; top: 25px; left: 6px; margin: 0; }
.gd-check-box { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-top: 5px; border: 1px solid var(--ui-field-border); border-radius: 5px; background: var(--ui-surface); color: var(--ui-on-primary); }
.gd-check-box .gd-icon { width: 22px; height: 22px; opacity: 0; stroke: var(--ui-on-primary); }
.gd-check-box .gd-detail { stroke: var(--ui-on-primary); }
.gd-checklist input:checked + .gd-check-box { background: var(--ui-primary); border-color: var(--ui-primary); }
.gd-checklist input:checked + .gd-check-box .gd-icon { opacity: 1; }
.gd-checklist input:focus-visible + .gd-check-box { outline: 3px solid var(--ui-accent); outline-offset: 4px; }
.gd-checklist label > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.gd-checklist label small { color: var(--ui-bronze); font: 650 8px/1.6 'Manrope', sans-serif; letter-spacing: .12em; }
.gd-checklist label strong { color: var(--ui-ink); font: 650 14px/1.7 'Manrope', sans-serif; }
.gd-checklist label > span > span { color: var(--ui-muted); font-size: 13px; line-height: 1.85; }
.gd-checklist-foot { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; padding-top: 13px; }
.gd-checklist-foot p { max-width: 570px; color: var(--ui-muted); font-size: 10px; line-height: 1.8; }
.gd-checklist-foot button { font-size: 10px; min-height: 26px; }
.gd-note { display: flex; align-items: flex-start; gap: 14px; padding: 19px 22px; margin: 27px 0 15px; border: 1px solid var(--ui-border); border-left: 2px solid var(--ui-accent); border-radius: 0 5px 5px 0; background: var(--ui-selected); }
.gd-note > .gd-icon { width: 24px; height: 24px; color: var(--ui-accent); margin-top: 2px; }
.gd-note p { color: var(--ui-muted); font-size: 12px; line-height: 1.85; }
.gd-note-technical { background: var(--ui-surface); border-left-color: var(--ui-bronze); }
.gd-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.gd-control-notes { margin: 28px 0; }
.gd-control-notes p { margin-top: 9px; color: var(--ui-muted); font-size: 13px; line-height: 1.9; }
.gd-subheading { margin: 31px 0 14px !important; }
.gd-page kbd { display: inline-flex; justify-content: center; align-items: center; min-width: 25px; min-height: 25px; padding: 2px 6px; border: 1px solid var(--ui-field-border); border-bottom-width: 2px; border-radius: 4px; background: var(--ui-surface); color: var(--ui-ink); font: 550 10px/1.4 'Manrope', sans-serif; white-space: nowrap; }
.gd-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.gd-shortcuts > div { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--ui-border); }
.gd-shortcuts dt { flex: none; min-width: 66px; font-size: 10px; }
.gd-shortcuts dd { color: var(--ui-muted); font-size: 11px; line-height: 1.7; }
.gd-caption { margin-top: 15px !important; color: var(--ui-muted); font-size: 11px; line-height: 1.85; }
.gd-zone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gd-zone-card { --zone-color: #729454; display: flex; flex-direction: column; padding: 20px 19px 18px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface); position: relative; overflow: hidden; }
.gd-zone-card::before { content: ''; position: absolute; height: 3px; top: 0; left: 19px; right: 19px; background: var(--zone-color); }
.gd-zone-shops { --zone-color: #668fba; }
.gd-zone-industry { --zone-color: #c79a52; }
.gd-zone-top { display: flex; justify-content: space-between; gap: 10px; color: var(--ui-muted); font-size: 8px; font-weight: 650; letter-spacing: .1em; }
.gd-zone-card > .gd-icon { width: 40px; height: 40px; color: var(--ui-accent); margin: 24px 0 15px; stroke-width: 1.1; }
.gd-zone-card h3 { font-size: 13px; }
.gd-zone-card p { margin: 8px 0 20px; color: var(--ui-muted); font-size: 12px; line-height: 1.85; }
.gd-zone-label { display: flex; align-items: center; gap: 7px; padding-top: 13px; margin-top: auto; border-top: 1px solid var(--ui-border); color: var(--ui-muted); font-size: 8px; }
.gd-zone-label i { display: block; width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--zone-color); }
.gd-network-figure { padding: 19px 22px 23px; border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); }
.gd-network-art { display: block; width: 100%; height: auto; color: var(--ui-accent); }
.gd-network-base { stroke: var(--ui-border); }
.gd-flow { stroke: var(--ui-bronze); }
.gd-flow-water { stroke: #668fba; }
.gd-diagram-node { fill: var(--ui-surface); stroke: var(--ui-border); }
.gd-diagram-dot { fill: var(--ui-surface-alt); }
.gd-network-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; color: var(--ui-muted); font-size: 10px; text-align: center; }
.gd-network-labels strong { display: block; color: var(--ui-accent); font-size: 11px; font-weight: 650; margin-bottom: 5px; }
.gd-supply-list { margin-top: 30px; gap: 28px 26px; }
.gd-supply-list > article { display: flex; align-items: flex-start; gap: 13px; }
.gd-small-icon { display: grid; place-items: center; width: 38px; height: 41px; flex: none; border-radius: 5px; border: 1px solid var(--ui-border); color: var(--ui-accent); background: var(--ui-surface); }
.gd-small-icon .gd-icon { width: 23px; height: 23px; }
.gd-supply-list h3 { font-size: 13px; }
.gd-supply-list p { margin-top: 7px; color: var(--ui-muted); font-size: 12px; line-height: 1.9; }
.gd-transport-list > article { display: grid; grid-template-columns: 41px minmax(0, 1fr); gap: 2px 17px; padding: 22px 0; border-top: 1px solid var(--ui-border); }
.gd-transport-list > article:last-child { border-bottom: 1px solid var(--ui-border); }
.gd-transport-list > article > span { grid-row: span 2; display: grid; place-items: center; width: 41px; height: 44px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 5px; color: var(--ui-accent); }
.gd-transport-list p { color: var(--ui-muted); margin-top: 7px; font-size: 13px; line-height: 1.85; }
.gd-transport-list small { grid-column: 2; margin-top: 9px; color: var(--ui-bronze); font-size: 8px; letter-spacing: .12em; }
.gd-finance-equation { display: grid; grid-template-columns: 1fr 17px 1fr 17px 1fr; align-items: center; gap: 10px; padding: 23px 15px; border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); text-align: center; }
.gd-finance-equation > span { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gd-finance-equation .gd-icon { width: 31px; height: 31px; color: var(--ui-accent); margin-bottom: 3px; }
.gd-finance-equation strong { color: var(--ui-ink); font-size: 12px; font-weight: 650; }
.gd-finance-equation small { font-size: 8px; color: var(--ui-muted); line-height: 1.7; }
.gd-finance-equation > b { font: 400 23px 'Fraunces', Georgia, serif; color: var(--ui-bronze); }
.gd-equation-result strong { color: var(--ui-accent); }
.gd-time-note { display: flex; gap: 15px; padding: 24px 0; margin-bottom: 5px; border-top: 1px solid var(--ui-border); }
.gd-time-note p { margin-top: 7px; color: var(--ui-muted); font-size: 12px; line-height: 1.85; }
.gd-milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); overflow: hidden; }
.gd-milestones li { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-right: 1px solid var(--ui-border); }
.gd-milestones li:nth-child(3n) { border-right: 0; }
.gd-milestones li:nth-child(n+4) { border-top: 1px solid var(--ui-border); }
.gd-milestone-dot { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--ui-border); background: var(--ui-selected); border-radius: 50%; color: var(--ui-accent); font-size: 10px; margin-bottom: 13px; }
.gd-milestones strong { font: 500 21px/1.4 'Fraunces', Georgia, serif; margin-bottom: 2px; }
.gd-milestones li > span:not(.gd-milestone-dot) { color: var(--ui-muted); font-size: 11px; }
.gd-milestones small { margin-top: 9px; color: var(--ui-bronze); font-size: 9px; line-height: 1.7; }
.gd-region-panel { display: grid; grid-template-columns: minmax(190px, .8fr) 1.3fr; align-items: center; gap: 30px; }
.gd-region-figure { padding: 12px; border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); }
.gd-region-figure svg { display: block; width: 100%; height: auto; }
.gd-region-lines { stroke: var(--ui-border); stroke-width: 2; }
.gd-region-rings { fill: var(--ui-selected); stroke: var(--ui-border); stroke-width: 1; }
.gd-region-figure figcaption { color: var(--ui-muted); font-size: 9px; text-align: center; line-height: 1.7; padding: 9px 0; }
.gd-region-panel article + article { margin-top: 24px; }
.gd-region-panel h3 { font-size: 13px; }
.gd-region-panel p { color: var(--ui-muted); margin-top: 7px; font-size: 12px; line-height: 1.9; }
.gd-inline-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 25px; }
.gd-troubleshooting { border-top: 1px solid var(--ui-border); }
.gd-troubleshooting details { border-bottom: 1px solid var(--ui-border); }
.gd-troubleshooting summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; list-style: none; color: var(--ui-ink); cursor: pointer; font: 600 13px/1.6 'Manrope', sans-serif; }
.gd-troubleshooting summary > span:first-child { display: flex; align-items: center; gap: 13px; }
.gd-troubleshooting summary .gd-icon { width: 23px; height: 23px; color: var(--ui-accent); }
.gd-troubleshooting summary:hover { color: var(--ui-accent); background: var(--ui-surface); }
.gd-plus { position: relative; width: 22px; height: 22px; flex: none; border: 1px solid var(--ui-field-border); border-radius: 50%; color: var(--ui-accent); }
.gd-plus::before, .gd-plus::after { content: ''; position: absolute; top: 9px; left: 5px; width: 10px; height: 1px; background: currentColor; }
.gd-plus::after { transform: rotate(90deg); transition: transform .2s; }
.gd-troubleshooting details[open] .gd-plus::after { transform: rotate(0); }
.gd-troubleshooting details[open] summary { color: var(--ui-accent); }
.gd-troubleshooting details > div { padding: 0 35px 23px 40px; color: var(--ui-muted); font-size: 13px; line-height: 1.9; }
.gd-troubleshooting ol { list-style: decimal; padding-left: 18px; }
.gd-troubleshooting li { padding-left: 5px; margin-bottom: 7px; }
.gd-troubleshooting details > div > .gd-text-link { margin-top: 14px; }
.gd-help-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 25px; margin-top: 23px; }
.gd-help-footer p { color: var(--ui-muted); font-size: 12px; }
.gd-no-results { border: 1px solid var(--ui-border); border-radius: 7px; background: var(--ui-surface); padding: 44px 35px; }
.gd-no-results > .gd-icon { color: var(--ui-bronze); width: 40px; height: 40px; margin-bottom: 20px; }
.gd-no-results h2 { font-size: 28px; }
.gd-no-results p { color: var(--ui-muted); font-size: 14px; margin: 15px 0 24px; }
.gd-next { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 30px; align-items: center; padding: 43px 44px; margin-top: 73px; border: 1px solid #355143; border-radius: 8px; background: #1b3127; color: #fffefa; }
.gd-next::before { content: ''; position: absolute; left: 44px; right: 44px; top: 0; height: 1px; background: #d9bb78; opacity: .6; }
.gd-next-emblem { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #d9bb7870; border-radius: 50%; color: #d9bb78; outline: 1px solid #d9bb7829; outline-offset: 7px; }
.gd-next-emblem .gd-icon { width: 43px; height: 43px; stroke-width: 1; }
.gd-next-emblem .gd-detail { stroke: #d9bb78; }
.gd-next .gd-eyebrow { color: #d9bb78; font-size: 8px; margin-bottom: 11px; }
.gd-next h2 { color: #fffefa; font-size: 31px; }
.gd-next p:not(.gd-eyebrow) { margin-top: 12px; color: #d0d7ca; font-size: 12px; }
.gd-next-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gd-next .gd-button { background: var(--ui-primary); color: var(--ui-on-primary); border-color: #8ca27c; }
.gd-next .gd-button:hover { background: var(--ui-primary-hover); color: var(--ui-on-primary); }
.gd-next-actions > a:last-child { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; gap: 12px; color: #fffefa; font-size: 11px; }
.gd-next-actions > a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.gd-next-actions > a:last-child .gd-icon { width: 17px; height: 17px; }
.gd-next :where(a, button):focus-visible { outline-color: #d9bb78; }
.gd-bottom-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-top: 25px; }
.gd-bottom-note > span { flex: none; color: var(--ui-bronze); font: 650 8px/1.8 'Manrope', sans-serif; letter-spacing: .08em; }
.gd-bottom-note i { margin: 0 8px; font-style: normal; }
.gd-bottom-note p { max-width: 540px; color: var(--ui-muted); font-size: 10px; }
.gd-bottom-note a { color: var(--ui-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Motion starts only with the accessible pause control available. */
.gd-wind-rotor, .gd-car-move, .gd-flow { animation-play-state: paused; }
.gd-page.gd-ready .gd-wind-rotor { animation: gd-turn 18s linear infinite; transform-origin: 0 0; }
.gd-page.gd-ready .gd-car-move { animation: gd-drive 10s ease-in-out infinite; }
.gd-page.gd-ready .gd-flow { animation: gd-flow 6s linear infinite; }
.gd-page.gd-paused :is(.gd-wind-rotor, .gd-car-move, .gd-flow), .gd-page [data-gd-offscreen] :is(.gd-wind-rotor, .gd-car-move, .gd-flow) { animation-play-state: paused; }
@keyframes gd-turn { to { transform: rotate(360deg); } }
@keyframes gd-drive { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 75% { transform: translate(64px, 32px); opacity: 1; } 92%, 100% { transform: translate(64px, 32px); opacity: 0; } }
@keyframes gd-flow { to { stroke-dashoffset: -102; } }

@media (min-width: 1800px) { .gd-wrap { width: min(1320px, calc(100% - 100px)); } .gd-hero { gap: 80px; } .gd-layout { gap: 80px; } }
@media (max-width: 1100px) {
    .gd-wrap { width: calc(100% - 56px); }
    .gd-hero { gap: 30px; }
    .gd-hero h1 { font-size: 56px; }
    .gd-hero-actions { gap: 15px 20px; }
    .gd-city-figure { padding-inline: 17px; }
    .gd-city-figure figcaption > span { max-width: 170px; line-height: 1.7; }
    .gd-motion-toggle > span { display: none; }
    .gd-paths > a { padding: 22px 16px; gap: 11px; }
    .gd-paths > a > .gd-icon { display: none; }
    .gd-paths strong { font-size: 12px; }
    .gd-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 35px; }
    .gd-start-facts { grid-template-columns: 1fr 1.4fr; }
    .gd-start-facts > div { padding: 20px 17px; }
    .gd-start-facts > div:last-child { gap: 12px; }
    .gd-start-facts > div:last-child > .gd-icon { display: none; }
    .gd-start-facts > div > strong { font-size: 34px; }
    .gd-zone-grid { gap: 10px; }
    .gd-zone-card { padding-inline: 14px; }
    .gd-zone-card h3 { font-size: 12px; }
    .gd-zone-label { font-size: 8px; align-items: flex-start; line-height: 1.6; }
    .gd-zone-label i { margin-top: 2px; }
    .gd-region-panel { grid-template-columns: minmax(160px, .8fr) 1.3fr; gap: 20px; }
    .gd-milestones li { padding: 20px 15px; }
    .gd-next { grid-template-columns: 1fr auto; gap: 28px; padding: 36px; }
    .gd-next-emblem { display: none; }
}
@media (max-width: 850px) {
    .gd-wrap { width: min(720px, calc(100% - 48px)); }
    .gd-hero { grid-template-columns: 1fr; padding: 43px 0 36px; gap: 35px; }
    .gd-hero h1 { font-size: 64px; }
    .gd-lead { max-width: 600px; }
    .gd-city-figure { width: 100%; padding-inline: 25px; }
    .gd-city-art { max-height: 380px; }
    .gd-city-figure figcaption > span { max-width: none; }
    .gd-motion-toggle > span { display: inline; }
    .gd-paths > a { padding-block: 21px; align-items: flex-start; }
    .gd-path-icon { display: none; }
    .gd-paths em { font-size: 10px; }
    .gd-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 35px; }
    .gd-sidebar-inner { position: static; max-height: none; overflow: visible; padding: 0; margin: 0; }
    .gd-sidebar .gd-eyebrow { margin-bottom: 12px; }
    .gd-search-area { margin-bottom: 12px; }
    :root .gd-page .gd-search input[type="search"] { font-size: 14px; min-height: 46px; }
    .gd-index { border-bottom: 1px solid var(--ui-border); }
    .gd-index > summary { padding: 16px 0; font-size: 12px; }
    .gd-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-bottom: 12px; }
    .gd-sidebar-note, .gd-sidebar-back { display: none; }
    .gd-page h2 { font-size: 33px; }
    .gd-chapter { padding-bottom: 45px; margin-bottom: 45px; }
    .gd-next { margin-top: 55px; }
    .gd-next h2 { font-size: 28px; }
    .gd-next p:not(.gd-eyebrow) { max-width: 250px; }
    .gd-bottom-note { flex-direction: column; gap: 9px; }
}
@media (max-width: 560px) {
    .gd-page { padding-bottom: 38px; }
    .gd-wrap { width: calc(100% - 36px); }
    .gd-breadcrumb { padding-top: 22px; font-size: 10px; }
    .gd-hero { padding-top: 34px; gap: 33px; }
    .gd-hero .gd-eyebrow { font-size: 8px; gap: 9px; letter-spacing: .12em; }
    .gd-eyebrow-line { width: 20px; }
    .gd-hero h1 { font-size: clamp(43px, 11.8vw, 62px); margin: 19px 0; }
    .gd-lead { font-size: 14px; line-height: 1.9; }
    .gd-hero-actions { margin-top: 24px; gap: 13px 20px; }
    .gd-button { font-size: 11px; min-height: 47px; padding-inline: 17px; }
    .gd-hero-meta { margin-top: 22px; gap: 9px 16px; font-size: 9px; }
    .gd-city-figure { padding: 17px 14px 10px; border-radius: 7px; }
    .gd-figure-top { font-size: 8px; letter-spacing: .08em; }
    .gd-city-art { margin-top: 0; }
    .gd-city-figure > figcaption { padding-top: 9px; gap: 6px; font-size: 8px; }
    .gd-city-figure figcaption > span { max-width: 195px; }
    .gd-motion-toggle { min-width: 34px; min-height: 34px; }
    .gd-motion-toggle > span { display: none; }
    .gd-paths { grid-template-columns: 1fr; }
    .gd-paths > a, .gd-paths > a:first-child, .gd-paths > a:last-child { padding: 17px 6px; gap: 15px; align-items: center; }
    .gd-paths > a + a { border-left: 0; border-top: 1px solid var(--ui-border); }
    .gd-path-icon { display: grid; width: 42px; height: 42px; }
    .gd-path-icon .gd-icon { width: 24px; height: 24px; }
    .gd-paths strong { font-size: 13px; }
    .gd-paths > a > .gd-icon { display: inline-block; }
    .gd-layout { padding-top: 29px; gap: 30px; }
    .gd-index ol { grid-template-columns: 1fr; }
    .gd-index a { font-size: 12px; min-height: 44px; }
    .gd-chapter-head { gap: 13px; margin-bottom: 20px; }
    .gd-chapter-icon { width: 39px; height: 46px; border-radius: 5px 5px 13px 5px; }
    .gd-chapter-icon .gd-icon { width: 25px; height: 25px; }
    .gd-chapter-head .gd-eyebrow { font-size: 8px; letter-spacing: .08em; margin-bottom: 7px; }
    .gd-page h2 { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.3; }
    .gd-intro { font-size: 14px; margin-bottom: 24px !important; }
    .gd-start-facts { grid-template-columns: 1fr; margin-block: 24px 28px; }
    .gd-start-facts > div:first-child { border-radius: 6px 6px 0 0; border-bottom: 1px solid var(--ui-border); }
    .gd-start-facts > div { padding: 19px 21px; }
    .gd-start-facts > div:last-child > .gd-icon { display: block; }
    .gd-checklist-head h3 { font-size: 13px; }
    .gd-checklist label { padding-block: 18px; gap: 13px; }
    .gd-checklist label strong { font-size: 13px; }
    .gd-checklist label > span > span { font-size: 12px; }
    .gd-checklist input { top: 23px; }
    .gd-checklist-foot { gap: 10px; flex-wrap: wrap; }
    .gd-checklist-foot p { font-size: 10px; }
    .gd-checklist-foot button { min-height: 34px; }
    .gd-note { padding: 16px; gap: 11px; margin-top: 24px; }
    .gd-note > .gd-icon { width: 21px; height: 21px; }
    .gd-note p { font-size: 12px; }
    .gd-two-col { grid-template-columns: 1fr; gap: 24px; }
    .gd-shortcuts { grid-template-columns: 1fr; }
    .gd-shortcuts dt { min-width: 83px; }
    .gd-shortcuts dd { font-size: 12px; }
    .gd-shortcuts > div { padding-block: 12px; }
    .gd-zone-grid { grid-template-columns: 1fr; gap: 14px; }
    .gd-zone-card { padding: 20px 23px; }
    .gd-zone-card > .gd-icon { width: 37px; height: 37px; margin: 19px 0 12px; }
    .gd-zone-card h3 { font-size: 15px; }
    .gd-zone-card p { margin-bottom: 17px; font-size: 13px; }
    .gd-zone-label { font-size: 10px; align-items: center; }
    .gd-zone-label i { margin-top: 0; }
    .gd-network-figure { padding: 15px 12px 18px; }
    .gd-network-figure .gd-figure-top { font-size: 7px; gap: 7px; }
    .gd-network-labels { gap: 8px; font-size: 9px; line-height: 1.7; }
    .gd-network-labels strong { font-size: 10px; line-height: 1.6; }
    .gd-supply-list { gap: 24px; }
    .gd-supply-list p { font-size: 13px; }
    .gd-transport-list > article { grid-template-columns: 35px minmax(0, 1fr); gap: 2px 13px; }
    .gd-transport-list > article > span { width: 35px; height: 39px; }
    .gd-transport-list > article > span .gd-icon { width: 23px; height: 23px; }
    .gd-finance-equation { grid-template-columns: 1fr; gap: 14px; padding-block: 23px; }
    .gd-finance-equation > span { gap: 5px; }
    .gd-finance-equation strong { font-size: 13px; }
    .gd-finance-equation small { font-size: 10px; }
    .gd-finance-equation > b { line-height: 1; }
    .gd-finance-equation .gd-icon { width: 27px; height: 27px; }
    .gd-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gd-milestones li { padding: 20px 16px; }
    .gd-milestones li:nth-child(3n) { border-right: 1px solid var(--ui-border); }
    .gd-milestones li:nth-child(2n) { border-right: 0; }
    .gd-milestones li:nth-child(n+3) { border-top: 1px solid var(--ui-border); }
    .gd-milestones strong { font-size: 20px; }
    .gd-milestones small { font-size: 8px; }
    .gd-region-panel { grid-template-columns: 1fr; gap: 25px; }
    .gd-region-figure { width: 100%; max-width: 360px; margin-inline: auto; }
    .gd-region-panel h3 { font-size: 14px; }
    .gd-region-panel p { font-size: 13px; }
    .gd-region-figure figcaption { font-size: 10px; }
    .gd-troubleshooting summary { padding-block: 18px; font-size: 12px; gap: 10px; }
    .gd-troubleshooting summary > span:first-child { gap: 10px; }
    .gd-troubleshooting details > div { padding: 0 7px 20px 36px; font-size: 12px; }
    .gd-help-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .gd-help-footer .gd-text-link { min-height: 38px; }
    .gd-next { grid-template-columns: 1fr; gap: 25px; padding: 29px 25px; margin-top: 43px; }
    .gd-next::before { left: 25px; right: 25px; }
    .gd-next h2 { font-size: 28px; }
    .gd-next p:not(.gd-eyebrow) { max-width: none; }
    .gd-next-actions { align-items: flex-start; gap: 13px; }
    .gd-next-actions > a:last-child { min-height: 38px; }
    .gd-no-results { padding: 29px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .gd-page *, .gd-page *::before, .gd-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .site-footer, .gd-sidebar, .gd-hero-actions, .gd-paths, .gd-next, .gd-motion-toggle, .gd-checklist-foot button { display: none !important; }
    .gd-page { color: #2f332e; background: white; }
    .gd-wrap { width: 100%; }
    .gd-hero { grid-template-columns: 1fr 1fr; gap: 25px; padding: 20px 0; }
    .gd-hero h1 { font-size: 36px; }
    .gd-layout { display: block; padding-top: 20px; }
    .gd-chapter { break-inside: auto; padding-bottom: 25px; margin-bottom: 25px; }
    .gd-chapter-head { break-after: avoid; }
    .gd-page.gd-ready :is(.gd-wind-rotor, .gd-car-move, .gd-flow) { animation: none; }
}
