/* Gymnast Gem · shared homepage and tools design. All rules are scoped. */
.ggh {
  --ggh-bg: #fafafa; --ggh-paper: #fff; --ggh-ink: #263e34;
  --ggh-green: #2d624d; --ggh-muted: #5e6e64; --ggh-line: #dfe6df;
  --ggh-sage: #edf3ec; --ggh-radius: 16px;
  box-sizing: border-box; color: var(--ggh-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; text-align: left; max-width: 1280px;
  width: 100%; margin-inline: auto; container-type: inline-size;
}
.ggh *, .ggh *::before, .ggh *::after { box-sizing: border-box; }
.ggh-home, .ggh-tools { background: var(--ggh-bg); }
.ggh [hidden] { display: none !important; }
.ggh h1, .ggh h2, .ggh h3, .ggh p { font-family: inherit; color: inherit; margin: 0; padding: 0; }
.ggh h1, .ggh h2, .ggh h3 { font-style: normal; text-transform: none; font-weight: 650; }
.ggh h1 { font-size: 58px; line-height: 1.1; letter-spacing: -.055em; }
.ggh h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.035em; }
.ggh h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.ggh a { color: inherit; text-decoration: none; background-image: none; }
.ggh a:focus-visible, .ggh button:focus-visible, .ggh summary:focus-visible, .ggh input:focus-visible, .ggh select:focus-visible {
  outline: 3px solid #608b73; outline-offset: 4px;
}
.ggh button, .ggh input, .ggh select { font: inherit; letter-spacing: normal; text-transform: none; }
.ggh button, .ggh summary { cursor: pointer; }
.ggh button { min-height: 44px; box-shadow: none; }
.ggh .ggh-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; }
.ggh .ggh-eyebrow, .ggh .ggh-card-kicker { color: var(--ggh-green); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ggh .ggh-eyebrow { margin-bottom: 10px; }
.ggh .ggh-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 12px 20px; background: var(--ggh-green); color: #fff; border: 1px solid var(--ggh-green); border-radius: 8px; font-size: 14px; font-weight: 650; line-height: 1.5; transition: background .15s, border-color .15s; }
.ggh .ggh-button:hover { background: #234f3d; border-color: #234f3d; color: #fff; }
.ggh .ggh-button .ggh-icon { width: 18px; height: 18px; flex-basis: 18px; }
.ggh .ggh-secondary { color: var(--ggh-ink); background: var(--ggh-paper); border-color: #cbd8cb; }
.ggh .ggh-secondary:hover { color: var(--ggh-ink); background: #f0f5ef; border-color: #90ad99; }
.ggh .ggh-text-link, .ggh .ggh-beginner-link, .ggh .ggh-related-guide, .ggh .ggh-read-guide { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ggh-green); }
.ggh .ggh-text-link:hover, .ggh .ggh-beginner-link:hover, .ggh .ggh-related-guide:hover { text-decoration: underline; text-underline-offset: 4px; }
.ggh .ggh-text-link .ggh-icon, .ggh .ggh-beginner-link .ggh-icon, .ggh .ggh-related-guide .ggh-icon, .ggh .ggh-read-guide .ggh-icon { width: 17px; height: 17px; flex-basis: 17px; }

/* Optional header and footer shortcodes. */
.ggh-header { border-bottom: 1px solid var(--ggh-line); padding-block: 26px; }
.ggh .ggh-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 720; line-height: 1.1; letter-spacing: -.065em; min-height: 44px; }
.ggh .ggh-brand > .ggh-icon { color: var(--ggh-green); width: 26px; height: 26px; flex-basis: 26px; }
.ggh .ggh-brand-light { font-weight: 430; }
.ggh .ggh-brand small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .17em; font-weight: 600; color: var(--ggh-muted); }
.ggh .ggh-desktop-nav { display: flex; float: right; min-height: 44px; align-items: center; gap: 22px; }
.ggh .ggh-desktop-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; line-height: 1.4; font-weight: 570; }
.ggh .ggh-desktop-nav a:hover { color: var(--ggh-green); text-decoration: underline; text-underline-offset: 5px; }
.ggh .ggh-nav-tools { border-left: 1px solid var(--ggh-line); padding-left: 20px; }
.ggh .ggh-nav-tools .ggh-icon { width: 16px; height: 16px; flex-basis: 16px; }
.ggh .ggh-mobile-menu { display: none; }
.ggh-footer { border-top: 1px solid var(--ggh-line); margin-top: 64px; padding-block: 32px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.ggh-footer .ggh-brand { font-size: 21px; }
.ggh-footer p { color: var(--ggh-muted); margin-top: 6px; font-size: 12px; }
.ggh-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ggh-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.ggh-footer nav a:hover { text-decoration: underline; }

/* Homepage. */
.ggh .ggh-hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 64px; align-items: center; padding-block: 70px 72px; }
.ggh .ggh-hero-copy h1 { max-width: 510px; }
.ggh .ggh-hero-intro { color: var(--ggh-muted); font-size: 17px; line-height: 1.75; margin-top: 22px; max-width: 590px; }
.ggh .ggh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ggh .ggh-beginner-link { font-size: 12px; font-weight: 500; margin-top: 12px; }
.ggh .ggh-path-card { background: var(--ggh-sage); border: 1px solid #d7e2d4; border-radius: 20px; padding: 28px 30px 20px; }
.ggh .ggh-path-card > .ggh-card-kicker { margin-bottom: 14px; }
.ggh .ggh-path-line { position: relative; }
.ggh .ggh-path-line::before { content: ""; position: absolute; top: 36px; bottom: 38px; left: 18px; width: 1px; background: #b7cdb6; }
.ggh .ggh-path-line a { position: relative; display: grid; grid-template-columns: 38px 1fr 18px; gap: 16px; align-items: center; min-height: 83px; }
.ggh .ggh-path-line a > .ggh-icon { width: 18px; height: 18px; flex-basis: 18px; color: #6c8e78; }
.ggh .ggh-step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ggh-sage); border: 1px solid #abc4a9; font-size: 12px; color: var(--ggh-green); font-weight: 650; }
.ggh .ggh-path-line a:first-child .ggh-step-number { background: var(--ggh-green); color: #fff; border-color: var(--ggh-green); }
.ggh .ggh-path-line strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 650; }
.ggh .ggh-path-line small { display: block; font-size: 12px; line-height: 1.5; color: var(--ggh-muted); margin-top: 3px; }
.ggh .ggh-path-line a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ggh .ggh-path-caption { border-top: 1px solid #d2dfcf; padding-top: 14px; margin-top: 12px; color: var(--ggh-muted); font-size: 11px; }
.ggh .ggh-section { margin-bottom: 62px; }
.ggh .ggh-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.ggh .ggh-section-heading > p { max-width: 260px; font-size: 13px; line-height: 1.6; color: var(--ggh-muted); }
.ggh .ggh-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ggh .ggh-category-card { display: grid; grid-template-columns: 38px 1fr 18px; gap: 16px; padding: 23px; align-items: start; border: 1px solid var(--ggh-line); background: var(--ggh-paper); border-radius: var(--ggh-radius); transition: border-color .15s, background .15s; }
.ggh .ggh-category-card:hover { background: #f6f9f5; border-color: #afc5ae; }
.ggh .ggh-category-card .ggh-card-kicker { font-size: 10px; color: var(--ggh-muted); letter-spacing: .1em; }
.ggh .ggh-category-card h3 { font-size: 18px; margin-block: 6px; }
.ggh .ggh-category-card p:not(.ggh-card-kicker) { font-size: 12px; line-height: 1.7; color: var(--ggh-muted); }
.ggh .ggh-category-symbol { display: grid; place-items: center; width: 38px; height: 38px; background: #f3f5f2; border-radius: 10px; color: var(--ggh-category,var(--ggh-green)); }
.ggh .ggh-category-card > .ggh-icon { margin-top: 4px; width: 18px; height: 18px; flex-basis: 18px; color: var(--ggh-muted); }
.ggh .ggh-category-lead { grid-column: span 2; background: var(--ggh-sage); border-color: #d2dfcf; }
.ggh .ggh-category-lead .ggh-category-symbol { background: #dfeadd; }
.ggh .ggh-category-lead h3 { font-size: 22px; }
.ggh .ggh-category-lead p:not(.ggh-card-kicker) { max-width: 360px; }
.ggh .ggh-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ggh .ggh-guide-card { display: flex; flex-direction: column; padding: 26px; background: var(--ggh-paper); border: 1px solid var(--ggh-line); border-radius: var(--ggh-radius); }
.ggh .ggh-guide-card:hover { border-color: #aac2af; }
.ggh .ggh-guide-card > .ggh-card-kicker { margin-bottom: 15px; }
.ggh .ggh-guide-card h3 { font-size: 20px; margin-bottom: 12px; }
.ggh .ggh-guide-card > p:not(.ggh-card-kicker) { color: var(--ggh-muted); font-size: 13px; margin-bottom: 20px; }
.ggh .ggh-read-guide { margin-top: auto; font-size: 12px; }
.ggh .ggh-mentor { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; padding: 38px; border: 1px solid #cfddcb; background: #e9f0e6; border-radius: 20px; margin-bottom: 62px; align-items: center; }
.ggh .ggh-mentor .ggh-status { background: transparent; padding: 0; font-size: 9px; letter-spacing: .06em; white-space: normal; }
.ggh .ggh-mentor h2 { font-size: 31px; line-height: 1.25; margin-top: 16px; max-width: 390px; }
.ggh .ggh-mentor-copy > p { color: var(--ggh-muted); font-size: 14px; line-height: 1.75; margin-block: 16px 24px; max-width: 430px; }
.ggh .ggh-question-board { padding: 24px; border-radius: 14px; border: 1px solid #cfddcb; background: #f4f7f1; }
.ggh .ggh-question-board .ggh-card-kicker { font-size: 10px; margin-bottom: 16px; }
.ggh .ggh-question-board > span { display: block; padding: 15px 16px; margin-top: 10px; background: #fff; border: 1px solid #e0e7dc; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.ggh .ggh-latest-list { border-top: 1px solid var(--ggh-line); }
.ggh .ggh-latest-list a { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 20px; padding: 19px 8px; border-bottom: 1px solid var(--ggh-line); font-size: 15px; font-weight: 550; }
.ggh .ggh-latest-list a:hover { color: var(--ggh-green); background: #f3f6f1; }
.ggh .ggh-latest-number { color: #748578; font-size: 12px; font-weight: 500; }
.ggh .ggh-latest-list .ggh-icon { width: 18px; height: 18px; flex-basis: 18px; }
.ggh .ggh-latest { margin-bottom: 0; }

/* Tool cards shared across both pages. */
.ggh .ggh-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ggh .ggh-tool-card { padding: 24px; display: flex; flex-direction: column; background: var(--ggh-paper); border: 1px solid var(--ggh-line); border-radius: var(--ggh-radius); min-width: 0; }
.ggh .ggh-tool-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 21px; }
.ggh .ggh-tool-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ggh-green); background: #edf3ec; }
.ggh .ggh-status { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 4px 7px; background: #f2f3ef; color: #5f695a; font-size: 10px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.ggh .ggh-status .ggh-icon { width: 12px; height: 12px; flex-basis: 12px; }
.ggh .ggh-ready { color: #285e41; background: #e4f1e7; }
.ggh .ggh-tool-card > .ggh-card-kicker { margin-bottom: 7px; font-size: 10px; }
.ggh .ggh-tool-card h3 { max-width: 280px; }
.ggh .ggh-card-description { margin-top: 12px; color: var(--ggh-muted); font-size: 13px; line-height: 1.75; }
.ggh .ggh-tags { display: flex; flex-wrap: wrap; gap: 5px; padding-block: 18px 21px; }
.ggh .ggh-tags span { font-size: 10px; line-height: 1.6; padding: 2px 6px; border: 1px solid #e2e8e1; border-radius: 4px; color: #61715f; }
.ggh .ggh-tool-bottom { margin-top: auto; }
.ggh .ggh-tool-details { margin: 0; border-top: 1px solid var(--ggh-line); }
.ggh .ggh-tool-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ggh-green); min-height: 48px; padding-block: 12px; font-weight: 650; font-size: 13px; list-style: none; }
.ggh .ggh-tool-details summary::-webkit-details-marker { display: none; }
.ggh .ggh-tool-details summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.ggh .ggh-tool-details .ggh-icon { width: 18px; height: 18px; flex-basis: 18px; }
.ggh .ggh-fallback-detail { font-size: 13px; padding-bottom: 14px; }
.ggh .ggh-fallback-detail a { text-decoration: underline; }
.ggh .ggh-related-guide { font-size: 11px; font-weight: 500; color: var(--ggh-muted); min-height: 34px; gap: 8px; }
.ggh .ggh-related-guide .ggh-icon { width: 14px; height: 14px; flex-basis: 14px; }

/* Tools directory. JS enhances a complete, readable HTML catalog. */
.ggh .ggh-tools-intro { padding-block: 24px 36px; }
.ggh .ggh-breadcrumb { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; color: var(--ggh-muted); margin-bottom: 28px; }
.ggh .ggh-breadcrumb:hover { text-decoration: underline; }
.ggh .ggh-tools-intro h1 { font-size: 52px; }
.ggh .ggh-tools-intro .ggh-hero-intro { max-width: 670px; margin-top: 16px; font-size: 16px; }
.ggh .ggh-tool-totals { display: flex; gap: 16px; margin-top: 22px; font-size: 12px; color: var(--ggh-muted); }
.ggh .ggh-tool-totals span + span { border-left: 1px solid var(--ggh-line); padding-left: 16px; }
.ggh .ggh-family-grid { display: none; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
.ggh.ggh-enhanced .ggh-family-grid { display: grid; }
.ggh .ggh-family-card { display: grid; grid-template-columns: 38px 1fr 18px; gap: 16px; align-items: center; padding: 24px; text-align: left; border: 1px solid #d1dece; background: #edf3e9; color: var(--ggh-ink); border-radius: 12px; }
.ggh .ggh-family-card > span { color: var(--ggh-green); }
.ggh .ggh-family-card > span .ggh-icon { width: 29px; height: 29px; }
.ggh .ggh-family-card > .ggh-icon { width: 18px; height: 18px; flex-basis: 18px; }
.ggh .ggh-family-card small { display: block; font-size: 11px; color: var(--ggh-muted); }
.ggh .ggh-family-card strong { display: block; font-size: 20px; letter-spacing: -.02em; font-weight: 650; margin-block: 2px; }
.ggh .ggh-family-card p { font-size: 11px; line-height: 1.6; color: var(--ggh-muted); }
.ggh .ggh-family-card:hover, .ggh .ggh-family-card[aria-pressed="true"] { border-color: #578264; background: #e0edda; }
.ggh .ggh-family-card[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #578264; }
.ggh .ggh-tool-controls { display: none; grid-template-columns: minmax(0,1fr) 180px 190px; gap: 16px; border: 1px solid var(--ggh-line); border-radius: 12px; background: #fff; padding: 18px 20px; }
.ggh.ggh-enhanced .ggh-tool-controls { display: grid; }
.ggh .ggh-tool-controls label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; color: var(--ggh-muted); }
.ggh .ggh-tool-search > div { position: relative; }
.ggh .ggh-tool-search .ggh-icon { width: 18px; height: 18px; position: absolute; left: 14px; top: 14px; color: #758776; pointer-events: none; }
.ggh .ggh-tool-controls input, .ggh .ggh-tool-controls select { display: block; width: 100%; height: 46px; min-height: 46px; padding: 10px 12px; border: 1px solid #d5dfd3; border-radius: 6px; color: var(--ggh-ink); background: #fafcf9; font-size: 13px; box-shadow: none; }
.ggh .ggh-tool-controls input { padding-left: 40px; }
.ggh .ggh-tool-controls input::placeholder { color: #6f7d70; opacity: 1; }
.ggh .ggh-directory-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 32px 22px; }
.ggh .ggh-directory-bar h2 { font-size: 23px; }
.ggh .ggh-results-count { font-size: 12px; color: var(--ggh-muted); margin-top: 3px; }
.ggh .ggh-reset-tools { border: 1px solid #ccd9ca; border-radius: 6px; padding: 9px 14px; color: var(--ggh-green); background: #fff; font-size: 12px; font-weight: 550; }
.ggh .ggh-reset-tools:hover { background: var(--ggh-sage); }
.ggh .ggh-empty-tools { background: var(--ggh-sage); border: 1px solid var(--ggh-line); padding: 40px; border-radius: 12px; text-align: center; }
.ggh .ggh-empty-tools p { margin-block: 10px 18px; color: var(--ggh-muted); }
.ggh .ggh-help-strip { display: flex; gap: 24px; align-items: center; background: var(--ggh-sage); padding: 28px; border: 1px solid #d5e0d1; border-radius: 14px; margin-top: 48px; }
.ggh .ggh-help-strip > .ggh-icon { width: 32px; height: 32px; flex-basis: 32px; color: var(--ggh-green); }
.ggh .ggh-help-strip > div { flex: 1; }
.ggh .ggh-help-strip h2 { font-size: 19px; }
.ggh .ggh-help-strip p { font-size: 13px; color: var(--ggh-muted); margin-top: 5px; }

/* Planned-tool details. */
.ggh .ggh-dialog { color: var(--ggh-ink); background: #fff; border: 1px solid var(--ggh-line); border-radius: 18px; padding: 34px; width: min(500px,calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; box-shadow: 0 20px 90px #12352133; }
.ggh .ggh-dialog::backdrop { background: #19312366; }
.ggh .ggh-dialog h2 { margin-top: 20px; margin-right: 12px; font-size: 27px; }
.ggh .ggh-dialog-description { margin-top: 15px; color: var(--ggh-muted); font-size: 15px; }
.ggh .ggh-dialog-close { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ggh-ink); }
.ggh .ggh-dialog-close:hover { background: var(--ggh-sage); }
.ggh .ggh-dialog-related { border-top: 1px solid var(--ggh-line); margin-top: 24px; padding-top: 20px; }
.ggh .ggh-dialog-link { display: block; padding-block: 10px; color: var(--ggh-green); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }

/* Container breakpoints also work inside a constrained WordPress content area. */
@container (max-width: 1120px) {
  .ggh .ggh-desktop-nav { display: none; }
  .ggh .ggh-mobile-menu { display: block; position: relative; float: right; }
  .ggh .ggh-mobile-menu summary { display: grid; place-items: center; width: 44px; min-height: 44px; list-style: none; border: 1px solid var(--ggh-line); border-radius: 8px; background: #fff; }
  .ggh .ggh-mobile-menu summary::-webkit-details-marker { display: none; }
  .ggh .ggh-mobile-menu[open] summary { background: var(--ggh-sage); }
  .ggh .ggh-mobile-menu nav { position: absolute; top: 54px; right: 0; width: 260px; z-index: 20; background: #fff; border: 1px solid var(--ggh-line); border-radius: 12px; padding: 10px; box-shadow: 0 12px 30px #263e3414; }
  .ggh .ggh-mobile-menu nav a { display: flex; min-height: 44px; align-items: center; padding: 10px 14px; font-size: 14px; }
  .ggh .ggh-mobile-menu nav a:hover { background: var(--ggh-sage); border-radius: 6px; }
  .ggh .ggh-mobile-menu .ggh-nav-tools { border-left: 0; border-top: 1px solid var(--ggh-line); justify-content: space-between; }
  .ggh .ggh-hero { gap: 36px; }
  .ggh .ggh-category-card { padding: 20px; grid-template-columns: 30px 1fr 14px; gap: 12px; }
  .ggh .ggh-category-symbol { width: 30px; height: 34px; }
  .ggh .ggh-family-card { padding: 18px; grid-template-columns: 30px 1fr; gap: 12px; }
  .ggh .ggh-family-card > .ggh-icon { display: none; }
}
@container (max-width: 880px) {
  .ggh .ggh-hero { grid-template-columns: 1fr; padding-block: 48px; gap: 32px; }
  .ggh .ggh-hero-copy h1 { max-width: 560px; }
  .ggh .ggh-path-card { max-width: none; }
  .ggh .ggh-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ggh .ggh-tool-grid, .ggh .ggh-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ggh .ggh-mentor { grid-template-columns: 1fr; gap: 28px; }
  .ggh .ggh-mentor h2 { max-width: 500px; }
  .ggh .ggh-mentor-copy > p { max-width: 600px; }
  .ggh .ggh-family-card { display: block; }
  .ggh .ggh-family-card > span { display: block; margin-bottom: 12px; }
  .ggh .ggh-tool-controls { grid-template-columns: 1fr 1fr; }
  .ggh .ggh-tool-search { grid-column: 1 / -1; }
  .ggh .ggh-help-strip { flex-wrap: wrap; }
  .ggh .ggh-help-strip .ggh-button { margin-left: 56px; }
}
@container (max-width: 580px) {
  .ggh h1 { font-size: 41px; }
  .ggh h2 { font-size: 27px; }
  .ggh h3 { font-size: 21px; }
  .ggh .ggh-hero { padding-block: 37px 42px; gap: 28px; }
  .ggh .ggh-eyebrow { font-size: 10px; letter-spacing: .075em; }
  .ggh .ggh-hero-intro { font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .ggh .ggh-hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 22px; gap: 10px; }
  .ggh .ggh-button { font-size: 15px; min-height: 48px; justify-content: space-between; }
  .ggh .ggh-beginner-link { font-size: 12px; margin-top: 10px; }
  .ggh .ggh-path-card { padding: 21px 20px 17px; border-radius: 15px; }
  .ggh .ggh-path-line a { gap: 12px; min-height: 83px; grid-template-columns: 32px 1fr 15px; }
  .ggh .ggh-step-number { width: 32px; height: 32px; font-size: 11px; }
  .ggh .ggh-path-line::before { left: 15px; }
  .ggh .ggh-path-line strong { font-size: 15px; }
  .ggh .ggh-path-line small { font-size: 12px; }
  .ggh .ggh-path-caption { font-size: 11px; }
  .ggh .ggh-section { margin-bottom: 40px; }
  .ggh .ggh-section-heading { display: block; margin-bottom: 19px; }
  .ggh .ggh-section-heading > p { max-width: none; font-size: 14px; margin-top: 10px; }
  .ggh .ggh-section-heading .ggh-text-link { margin-top: 9px; font-size: 14px; }
  .ggh .ggh-category-grid, .ggh .ggh-tool-grid, .ggh .ggh-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .ggh .ggh-category-lead { grid-column: auto; }
  .ggh .ggh-category-card { grid-template-columns: 34px 1fr 16px; padding: 21px 18px; gap: 12px; }
  .ggh .ggh-category-card h3, .ggh .ggh-category-lead h3 { font-size: 19px; }
  .ggh .ggh-category-card p:not(.ggh-card-kicker) { font-size: 13px; }
  .ggh .ggh-tool-card { padding: 23px; }
  .ggh .ggh-tool-card h3 { font-size: 21px; max-width: none; }
  .ggh .ggh-card-description { font-size: 15px; line-height: 1.7; }
  .ggh .ggh-tool-details summary { font-size: 15px; }
  .ggh .ggh-related-guide { min-height: 44px; font-size: 13px; }
  .ggh .ggh-tags { padding-block: 15px; }
  .ggh .ggh-tags span { font-size: 11px; }
  .ggh .ggh-tool-top { margin-bottom: 16px; }
  .ggh .ggh-guide-card { padding: 23px; }
  .ggh .ggh-guide-card > p:not(.ggh-card-kicker) { font-size: 14px; }
  .ggh .ggh-read-guide { font-size: 14px; }
  .ggh .ggh-mentor { padding: 24px; margin-bottom: 40px; border-radius: 16px; }
  .ggh .ggh-mentor h2 { font-size: 28px; }
  .ggh .ggh-mentor .ggh-button { display: flex; }
  .ggh .ggh-question-board { padding: 16px; }
  .ggh .ggh-question-board > span { font-size: 13px; padding: 13px; }
  .ggh .ggh-latest-list a { grid-template-columns: 20px 1fr 18px; padding: 18px 2px; gap: 12px; font-size: 15px; }
  .ggh .ggh-tools-intro { padding-block: 12px 26px; }
  .ggh .ggh-breadcrumb { margin-bottom: 18px; }
  .ggh .ggh-tools-intro h1 { font-size: 38px; }
  .ggh .ggh-family-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .ggh .ggh-family-card { display: grid; grid-template-columns: 34px 1fr 18px; gap: 15px; padding: 17px 21px; }
  .ggh .ggh-family-card > span { margin: 0; }
  .ggh .ggh-family-card > .ggh-icon { display: block; }
  .ggh .ggh-family-card strong { font-size: 20px; }
  .ggh .ggh-family-card p { font-size: 12px; }
  .ggh .ggh-tool-controls { padding: 16px; gap: 14px 10px; }
  .ggh .ggh-tool-controls input, .ggh .ggh-tool-controls select { font-size: 16px; }
  .ggh .ggh-tool-controls label { font-size: 11px; }
  .ggh .ggh-directory-bar { align-items: start; gap: 10px; margin-block: 26px 18px; }
  .ggh .ggh-directory-bar h2 { font-size: 22px; }
  .ggh .ggh-reset-tools { font-size: 11px; padding: 8px 10px; }
  .ggh .ggh-help-strip { display: block; padding: 23px; margin-top: 32px; }
  .ggh .ggh-help-strip > .ggh-icon { margin-bottom: 15px; }
  .ggh .ggh-help-strip p { font-size: 14px; }
  .ggh .ggh-help-strip .ggh-button { display: flex; margin: 20px 0 0; font-size: 14px; }
  .ggh .ggh-empty-tools { padding: 26px 20px; }
  .ggh .ggh-dialog { padding: 29px 23px; }
  .ggh .ggh-dialog h2 { font-size: 25px; }
  .ggh .ggh-footer nav { gap: 18px; }
}
@container (max-width: 340px) {
  .ggh .ggh-hero-copy h1 { font-size: 37px; }
  .ggh .ggh-tool-controls { grid-template-columns: 1fr; }
  .ggh .ggh-family-card { padding: 17px; }
  .ggh .ggh-directory-bar { display: block; }
  .ggh .ggh-directory-bar > button { margin-top: 12px; }
}
@media (max-width: 680px) {
  .ggh-header { padding-block: 16px; }
  .ggh-footer { display: block; margin-top: 40px; padding-block: 25px; }
  .ggh-footer nav { margin-top: 16px; gap: 24px; }
  .ggh-footer nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ggh * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .ggh .ggh-family-grid, .ggh .ggh-tool-controls, .ggh .ggh-mobile-menu, .ggh-dialog { display: none !important; }
  .ggh .ggh-tool-card { break-inside: avoid; }
}
