/* Contiguous source-capture window for the seven guides. One image, one scale. Crop coordinates travel with the View larger clone. */
.gd-chrome .gd-capture-window { position:relative; width:100%; max-width:min(100%,var(--capture-width)); aspect-ratio:var(--capture-ratio); overflow:hidden; border:1px solid var(--gd-rule); border-radius:10px; background:#fff; }
.gd-chrome .gd-capture-window img { position:absolute; display:block; max-width:none; height:auto; }
.gd-preview-dialog .gd-capture-window { max-width:min(100%,var(--capture-zoom)); }
.gd { --gd-rule: rgba(33,55,75,.14); max-width: 1240px; margin: 0 auto; padding: 0 28px 88px; }
.gd a { color: inherit; text-decoration: none; }
.gd a:focus-visible, .gd-skip:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 5px; border-radius: 4px; }
.gd-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 14px 20px; background: white; color: var(--navy); }
.gd-skip:focus { top: 16px; }
.gd-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--gd-rule); margin-bottom: 40px; }
.gd-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--navy-soft); margin-bottom: 28px; }
.gd-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.gd-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.gd h1 { font-family: Zodiak, Georgia, serif; font-weight: 400; font-size: clamp(36px,4.1vw,58px); line-height: 1.12; letter-spacing: -.025em; max-width: 800px; margin: 0; text-wrap: balance; }
.gd-meta { flex: 0 0 180px; display: grid; gap: 7px; font-size: 14px; line-height: 1.5; padding-bottom: 4px; color: var(--navy-soft); }
.gd-meta span:first-child { font-weight: 600; color: var(--navy); }
.gd-lede { font-size: 18px; line-height: 1.6; color: var(--navy-soft); max-width: 690px; margin: 18px 0 0; }
.gd-layout { display: grid; grid-template-columns: 184px minmax(0,1fr); gap: 40px; align-items: start; }
.gd-rail { position: sticky; top: 108px; }
.gd-rail nav { display: grid; gap: 4px; }
.gd-rail nav p { font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.gd-rail nav a { display: flex; align-items: baseline; gap: 10px; padding: 11px 10px; margin-left: -10px; font-size: 14px; line-height: 1.5; color: var(--navy-soft); border-radius: 8px; transition: background-color 180ms cubic-bezier(.23,1,.32,1), color 180ms cubic-bezier(.23,1,.32,1); }
.gd-rail nav a span { font-variant-numeric: tabular-nums; font-size: 12px; }
.gd-rail nav a:hover, .gd-rail nav a[aria-current="location"] { color: var(--navy); background: var(--cream-deep); }
.gd-all { display: block; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gd-rule); font-size: 14px; font-weight: 500; }
.gd-original { display: block; font-size: 13px; color: var(--navy-soft) !important; margin-top: 12px; }
.gd-sequence { display: grid; gap: 24px; min-width: 0; }
.gd-step { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; align-items: center; padding: 32px; border-radius: 16px; border: 1px solid var(--gd-rule); background: #fff; scroll-margin-top: 104px; min-width: 0; }
.gd-instruction { min-width: 0; }
.gd-number { display: block; font-size: 15px; font-weight: 500; color: var(--navy-soft); font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.gd h2 { font-family: Zodiak, Georgia, serif; font-weight: 400; font-size: 29px; line-height: 1.22; letter-spacing: -.018em; margin: 0 0 16px; text-wrap: balance; }
.gd-instruction p { font-size: 16px; line-height: 1.65; margin: 0; }
.gd-instruction .k { font-weight: 600; }
.gd-instruction a.k { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.gd-instruction .ph { font-size: 14px; color: var(--navy-soft); }
.gd-wide { display: block; }
.gd-wide .gd-instruction { display: grid; grid-template-columns: 40px minmax(0,.9fr) minmax(0,1.1fr); gap: 20px; align-items: start; margin-bottom: 28px; }
.gd-wide .gd-number { margin-top: 5px; }
.gd-wide h2 { margin-bottom: 0; }
.gd-media { min-width: 0; margin: 0; border-radius: 10px; overflow: hidden; background: #f4f4f0; }
.gd-media figcaption { font-size: 13px; line-height: 1.55; color: var(--navy-soft); padding: 13px 18px; background: #f7f7f3; }
.gd-media img { display: block; max-width: 100%; }
.gd-plate picture { display: block; }
.gd-plate img { width: 100%; height: auto; }
.gd-panel { padding: 24px 24px 0; background: var(--cream-deep); }
.gd-panel > img { width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: 8px; border: 1px solid var(--gd-rule); }
.gd-panel figcaption { margin: 20px -24px 0; background: transparent; text-align: center; }
.gd-store { padding: 32px 20px 0; background: #f4f4f0; }
.gd-store-window { position: relative; width: 100%; aspect-ratio: 1048 / 88; overflow: hidden; background: #fff; border-radius: 9px; }
.gd-store-window img { position: absolute; width: 106.87%; max-width: none; left: -3.44%; top: -361.36%; }
.gd-store figcaption { text-align: center; margin: 18px -20px 0; background: transparent; }
.gd-pin { padding: 28px 20px 0; background: #edf1f7; }
.gd-pin-window { position: relative; width: 100%; aspect-ratio: 450 / 225; overflow: hidden; background: white; border-radius: 10px; }
.gd-pin-window img { position: absolute; width: 237.5%; max-width: none; left: -120.625%; top: 0; }
.gd-pin figcaption { background: transparent; padding-left: 0; padding-right: 0; }
.gd-form { padding: 24px 20px 0; background: var(--cream-deep); }
.gd-form-window { position: relative; width: 100%; aspect-ratio: 704 / 536; overflow: hidden; background: white; border-radius: 8px; }
.gd-form-window img { position: absolute; width: 159.09%; max-width: none; left: -29.55%; top: -68.28%; }
.gd-form figcaption { background: transparent; padding-left: 0; padding-right: 0; }
.gd-placeholder { min-height: 210px; display: grid; place-items: center; text-align: center; border: 1px dashed var(--gd-rule); }
.gd-placeholder svg { margin-bottom: 10px; color: var(--navy-soft); }
.gd-placeholder p { font-size: 16px; margin: 0 0 6px; }
.gd-placeholder span { font-size: 13px; color: var(--navy-soft); }
.gd-note { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; padding: 28px 32px; border-radius: 12px; background: var(--cream-deep); }
.gd-note h2 { font-size: 23px; margin: 0; }
.gd-note p { margin: 0; font-size: 16px; line-height: 1.65; }
.gd-draft-note { font-size: 14px; line-height: 1.6; color: var(--navy-soft); }
.gd-related { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding: 28px 0 0; border-top: 1px solid var(--gd-rule); }
.gd-related h2 { width: 100%; font-size: 24px; margin-bottom: 6px; }
.gd-related a { display: flex; gap: 24px; justify-content: space-between; background: white; border: 1px solid var(--gd-rule); border-radius: 8px; padding: 13px 16px; font-size: 14px; }
.gd-related a:hover { border-color: var(--navy-soft); }
.gd-directory-group { display: grid; grid-template-columns: 224px minmax(0,1fr); margin-bottom: 40px; align-items: start; }
.gd-directory-group > h2 { font-size: 26px; padding-top: 25px; }
.gd-directory-list { border: 1px solid var(--gd-rule); border-radius: 16px; background: white; overflow: hidden; }
.gd-directory-list a { display: grid; grid-template-columns: 48px minmax(0,1fr) 28px; gap: 22px; padding: 27px 32px; align-items: center; border-bottom: 1px solid var(--gd-rule); }
.gd-directory-list a:last-child { border: 0; }
.gd-directory-list a:hover { background: #fffdf8; }
.gd-directory-code { font-size: 14px; color: var(--navy-soft); }
.gd-directory-list h3 { font-family: 'General Sans', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.4; margin: 0 0 5px; }
.gd-directory-list p { margin: 0; color: var(--navy-soft); font-size: 14px; }
.gd-directory-arrow { font-size: 25px; }
@media (max-width: 1050px) {
  .gd-layout { grid-template-columns: 155px minmax(0,1fr); gap: 24px; }
  .gd-step { padding: 24px; gap: 24px; }
  .gd h2 { font-size: 25px; }
  .gd-wide .gd-instruction { grid-template-columns: 30px 1fr; }
  .gd-wide .gd-instruction p { grid-column: 2; }
  .gd-wide .gd-number { grid-row: span 2; }
  .gd-directory-group { grid-template-columns: 180px minmax(0,1fr); }
}
@media (max-width: 900px) {
  .gd { padding: 0 20px 56px; }
  .gd-hero { padding: 30px 0 28px; margin-bottom: 24px; }
  .gd-breadcrumb { margin-bottom: 24px; font-size: 13px; }
  .gd-title-row { display: block; }
  .gd h1 { font-size: 36px; max-width: 560px; }
  .gd-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 13px; }
  .gd-lede { font-size: 16px; margin-top: 14px; }
  .gd-layout { display: block; }
  .gd-rail { position: static; margin-bottom: 24px; }
  .gd-rail nav { grid-template-columns: 1fr 1fr; gap: 3px 12px; }
  .gd-rail nav p { grid-column: 1 / -1; margin-bottom: 8px; }
  .gd-rail nav a { margin: 0; padding: 9px; font-size: 13px; }
  .gd-all, .gd-original { display: none; }
  .gd-step { display: block; padding: 24px; scroll-margin-top: 88px; }
  .gd-instruction { margin-bottom: 24px; }
  .gd-number { margin-bottom: 12px; }
  .gd h2 { font-size: 27px; }
  .gd-wide .gd-instruction { display: block; }
  .gd-wide .gd-instruction h2 { margin-bottom: 16px; }
  .gd-wide .gd-number { margin-top: 0; }
  .gd-store { padding: 22px 12px 0; }
  .gd-store-window { aspect-ratio: auto; height: 88px; }
  .gd-store-window img { width: 1120px; top: -318px; left: calc(100% - 1084px); }
  .gd-store figcaption { margin-left: -12px; margin-right: -12px; font-size: 13px; }
  .gd-pin { padding: 22px 14px 0; }
  .gd-panel { padding: 18px 18px 0; }
  .gd-panel figcaption { margin: 14px -18px 0; }
  .gd-note { display: block; padding: 24px; }
  .gd-note h2 { font-size: 24px; margin-bottom: 14px; }
  .gd-directory-group { display: block; margin-bottom: 30px; }
  .gd-directory-group > h2 { padding: 0; font-size: 25px; margin-bottom: 16px; }
  .gd-directory-list a { grid-template-columns: 28px minmax(0,1fr) 20px; gap: 14px; padding: 22px 18px; }
  .gd-directory-list h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .gd *, .gd *::before, .gd *::after { transition: none !important; animation: none !important; }
}
@media print {
  #site-header, #site-footer, .gd-rail, .gd-related, .gd-skip { display: none; }
  .gd { padding: 0; max-width: none; }
  .gd-layout { display: block; }
  .gd-step { break-inside: avoid; }
}
