@supports not (color:light-dark(white,black)){:root {
  --gk-bg: #071016;
  --gk-surface: #0b171e;
  --gk-surface-strong: #10222a;
  --gk-text: #edf6f7;
  --gk-muted: #9db1b7;
  --gk-line: rgba(185, 222, 226, .2);
  --gk-accent: var(--pf-accent, #7de7eb);
}

.gk-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--gk-text);
  background: var(--gk-bg);
  scroll-margin-top: 90px;
}

.gk-section:nth-of-type(even) { background: #09141b; }
.gk-section :where(h2, h3, h4, p, a, dd) { overflow-wrap: anywhere; }

.gk-character-media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 48%;
  overflow: hidden;
  pointer-events: none;
  opacity: .28;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 88%, transparent);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.gk-section.is-pointer-active .gk-character-media { transition-duration: .16s; }
.gk-character-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gk-bg), transparent 38%), linear-gradient(0deg, var(--gk-bg), transparent 36%); }
.gk-character-media :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gk-character-media :is(video, [data-managed-animation]) { z-index: 1; }

.gk-shell {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 12vw));
  margin-inline: auto;
  padding-block: clamp(72px, 9vw, 132px);
}

.gk-heading { max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.gk-heading h2 { max-width: 24ch; margin: 0; font-size: var(--pf-type-heading, clamp(28px, 2.8vw, 42px)); font-weight: 500; line-height: var(--pf-leading-heading, 1.3); letter-spacing: var(--pf-tracking-heading, -.005em); text-wrap: balance; }
.gk-eyebrow { margin: 0 0 16px; color: var(--gk-accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.gk-lead { max-width: 62ch; margin: 22px 0 0; color: var(--gk-muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.78; }
.gk-empty { margin: 0; padding-block: 28px; color: var(--gk-muted); border-top: 1px solid var(--gk-line); }
.gk-actions { margin-top: 44px; }
.gk-button, .gk-text-link { color: var(--gk-accent); font-weight: 700; text-underline-offset: 5px; }
.gk-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid rgba(125, 231, 235, .55); border-radius: 4px; color: #051014; background: var(--gk-accent); text-decoration: none; }
.gk-text-link { display: inline-flex; margin-top: 20px; }
.gk-pointer-glow { position: absolute; z-index: 0; top: 0; left: 0; width: 360px; aspect-ratio: 1; border-radius: 50%; opacity: 0; pointer-events: none; transform: translate3d(-500px, -500px, 0); background: radial-gradient(circle, rgba(125, 231, 235, .12), rgba(125, 231, 235, 0) 68%); transition: opacity 180ms ease; }

.gk-system-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: systems; border-top: 1px solid var(--gk-line); }
.gk-system-chain > li { min-width: 0; border-right: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); }
.gk-system-chain > li:nth-child(3n) { border-right: 0; }
.gk-system-card { min-height: 100%; padding: 28px clamp(20px, 2.5vw, 34px) 34px; }
.gk-system-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 48px; color: var(--gk-accent); font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.gk-system-meta span:last-child { color: #627981; }
.gk-system-card h3 { margin: 0 0 14px; font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; line-height: 1.4; }
.gk-system-card > p { margin: 0; color: var(--gk-muted); line-height: 1.75; }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--gk-line);
  background: var(--gk-line);
}
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li {
  grid-column: span 3;
  border: 0;
  background: var(--gk-surface);
  background: color-mix(in srgb, var(--gk-surface) 92%, transparent);
}
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: span 6; }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-card { min-height: clamp(280px, 28vw, 390px); }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) .gk-system-card { min-height: clamp(330px, 34vw, 470px); }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-meta { margin-bottom: clamp(44px, 7vw, 92px); }
.gk-facts { display: grid; gap: 12px; margin: 24px 0 0; }
.gk-facts div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--gk-line); }
.gk-facts dt { color: #718a91; font-size: 12px; }
.gk-facts dd { margin: 5px 0 0; color: #c9d7da; line-height: 1.55; overflow-wrap: anywhere; }

.gk-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.gk-practice-tools { margin: 0 0 28px; padding: 20px; border: 1px solid var(--gk-line); border-radius: 6px; background: var(--gk-surface); }
.gk-practice-tools h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.gk-practice-tools p { margin: 0; color: var(--gk-muted); font-size: 14px; line-height: 1.65; }
.gk-practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 20px 0; }
.gk-practice-grid article { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gk-practice-grid h4 { margin: 0; font-size: 17px; line-height: 1.5; }
.gk-practice-grid .gk-button { margin-top: auto; min-height: 44px; padding: 10px 14px; }
.gk-practice-note { border-top: 1px solid var(--gk-line); padding-top: 12px; }
.gk-resource-companion { margin: 0 0 20px; padding: 16px 20px; border-left: 2px solid var(--gk-accent); background: var(--gk-surface); }
.gk-resource-companion p { margin: 8px 0; font-size: 16px; line-height: 1.6; color: var(--gk-muted); }
.gk-resource-companion a { min-height: 44px; display: inline-flex; align-items: center; }
@media(max-width:640px) { .gk-practice-grid { grid-template-columns: minmax(0,1fr); gap: 20px; } .gk-practice-tools { padding: 16px; } .gk-practice-tools p { font-size: 16px; } }
.gk-resource-search { display: grid; gap: 10px; max-width: 620px; margin-bottom: 24px; color: var(--gk-muted); }
.gk-resource-search input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid var(--gk-line); border-radius: 4px; padding: 12px 16px; background: #09161c; color: var(--gk-ink, #e7f5f7); font: inherit; }
.gk-resource-search input:focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 3px; }
.gk-resource-empty { padding: 32px 0; color: var(--gk-muted); }
.gk-contribute-invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; padding: 24px 0; border-top: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); }
.gk-contribute-invite p { margin: 0; font-size: 19px; font-weight: 700; }
.gk-contribute-invite p span { display: block; margin-top: 8px; color: var(--gk-muted); font-size: 14px; font-weight: 400; }
.gk-button.is-outline { color: var(--gk-accent); background: transparent; white-space: nowrap; }
.gk-contribute { scroll-margin-top: 90px; }
.gk-contribute-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.gk-contribute-guide ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.gk-contribute-guide .gk-contribute-boundary { margin-bottom:0; max-width:80ch; }
.gk-contribution-form { min-width:0; width:100%; box-sizing:border-box; }
.gk-contribute .gk-heading { max-width:100%; }
.gk-contribute .gk-heading .gk-lead { max-width:64ch; text-wrap:pretty; }
@media(max-width:900px){.gk-contribute-guide ol{grid-template-columns:1fr;gap:0}.gk-contribution-fields{grid-template-columns:minmax(0,1fr)}.gk-contribution-form{padding:24px}.gk-contribution-fields label{min-width:0}}
.gk-contribute-guide h3 { margin: 0 0 28px; font-size: 22px; font-weight: 500; line-height: 1.5; }
.gk-contribute-guide ol { margin: 0; padding-left: 22px; }
.gk-contribute-guide li { padding-left: 8px; margin-bottom: 28px; color: var(--gk-accent); }
.gk-contribute-guide strong { color: #dbe7e9; }
.gk-contribute-guide p { color: #a7bac0; line-height: 1.8; font-size: 15px; }
.gk-contribute-boundary { padding-top: 24px; border-top: 1px solid var(--gk-line); }
.gk-contribution-form { min-width: 0; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--gk-line); border-top: 2px solid var(--gk-accent); border-radius: 4px; background: #0b171d; }
.gk-contribution-form fieldset { min-width: 0; padding: 0; margin: 0 0 36px; border: 0; }
.gk-contribution-form legend { margin-bottom: 24px; padding: 0; font-size: 22px; font-weight: 750; }
.gk-contribution-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
@media(max-width:900px){.gk-contribution-fields{grid-template-columns:minmax(0,1fr)}}
.gk-contribution-fields label { display: grid; gap: 10px; min-width: 0; align-content: start; }
.gk-contribution-fields .is-wide { grid-column: 1 / -1; }
.gk-contribution-fields label > span { font-size: 14px; font-weight: 700; color: #dbe7e9; }
.gk-contribution-fields :is(input, textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border: 1px solid #4b636b; border-radius: 4px; background: #071116; color: #e7f1f3; font: inherit; font-size: 16px; }
.gk-contribution-fields textarea { resize: vertical; line-height: 1.7; }
.gk-contribution-fields :is(input, textarea)::placeholder { color: #9caeb5; opacity: 1; }
.gk-contribution-form :is(input, textarea, button, a):focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 3px; }
.gk-contribution-fields small, .gk-contribution-help { margin: 0; color: #a7bac0; font-size: 13px; line-height: 1.7; }
.gk-contribution-help { margin: -8px 0 20px; }
.gk-contribution-consents { display: grid; gap: 18px; }
.gk-contribution-consents label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: #b8c9cd; font-size: 13px; line-height: 1.8; }
.gk-contribution-consents input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--gk-accent); }
.gk-contribution-consents a { color: var(--gk-accent); text-underline-offset: 3px; }
.gk-contribution-submit { margin-top: 30px; }
.gk-contribution-submit button { cursor: pointer; font: inherit; font-weight: 750; }
.gk-contribution-submit button:disabled { opacity: .65; cursor: wait; }
.gk-contribution-submit p { margin: 18px 0 0; color: #b8c9cd; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.gk-contribution-submit p:empty { display: none; }
.gk-contribution-submit p.is-success { padding: 16px; border: 1px solid #547e83; color: var(--gk-accent); background: #10252b; }
.gk-contribution-submit p.is-error { color: #ffc7bd; }
.gk-filter-bar button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--gk-line); border-radius: 4px; color: var(--gk-muted); background: transparent; font: inherit; cursor: pointer; }
.gk-filter-bar button[aria-pressed="true"] { border-color: var(--gk-accent); color: #061216; background: var(--gk-accent); }
.gk-filter-status { margin: 18px 0 26px; color: #718a91; font-size: 13px; }
.gk-knowledge-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--gk-line); }
.gk-knowledge-card { min-width: 0; padding: 32px clamp(20px, 3vw, 40px) 38px 0; border-bottom: 1px solid var(--gk-line); }
.gk-knowledge-card:nth-child(odd) { padding-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--gk-line); }
.gk-knowledge-card:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); }
.gk-knowledge-card[hidden] { display: none; }
.gk-knowledge-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--gk-accent); font-size: 12px; letter-spacing: .06em; }
.gk-knowledge-meta time { color: #718a91; letter-spacing: 0; }
.gk-knowledge-card h3 { max-width: 26ch; margin: 24px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.4; text-wrap: balance; }
.gk-knowledge-card > p { max-width: 60ch; margin: 0; color: var(--gk-muted); line-height: 1.75; }
.is-layout-compact .gk-knowledge-list, .is-layout-technology .gk-knowledge-list { grid-template-columns: minmax(0, 1fr); }
.is-layout-compact .gk-knowledge-card, .is-layout-technology .gk-knowledge-card { padding-inline: 0; border-right: 0; }
.is-layout-compact .gk-knowledge-card:not([hidden]) { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr) auto; align-items: start; gap: 18px 30px; }
.is-layout-compact .gk-knowledge-card h3 { margin: 0; }
.is-layout-compact .gk-knowledge-card .gk-text-link { margin-top: 0; }

.gk-readiness { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.gk-readiness fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.gk-readiness-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--gk-line); }
.gk-readiness-question { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; min-width: 0; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--gk-line); cursor: pointer; }
.gk-readiness-question:nth-child(odd) { border-right: 1px solid var(--gk-line); }
.gk-readiness-question:nth-child(even) { padding-left: 24px; }
.gk-readiness-question input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gk-check { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #526a72; border-radius: 50%; }
.gk-readiness-question input:checked + .gk-check { border-color: var(--gk-accent); background: var(--gk-accent); }
.gk-readiness-question input:checked + .gk-check::after { content: ""; width: 8px; height: 4px; border-bottom: 2px solid #061216; border-left: 2px solid #061216; transform: rotate(-45deg) translateY(-1px); }
.gk-readiness-question input:focus-visible + .gk-check { outline: 2px solid var(--gk-accent); outline-offset: 4px; }
.gk-readiness-question strong, .gk-readiness-question small { display: block; }
.gk-readiness-question strong { line-height: 1.45; }
.gk-readiness-question small { margin-top: 8px; color: var(--gk-muted); font-size: 14px; line-height: 1.65; }
.gk-readiness-panel { position: sticky; top: 104px; padding: 30px; border-top: 2px solid var(--gk-accent); background: var(--gk-surface); }
.gk-result-label { margin: 0 0 12px; color: var(--gk-accent); font-size: 12px; letter-spacing: .1em; }
.gk-readiness-panel > strong { display: block; font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; }
.gk-readiness-panel > p:not(.gk-result-label) { margin: 18px 0; color: var(--gk-muted); line-height: 1.7; }
.gk-readiness-panel > span, .gk-readiness-panel > small { display: block; color: #718a91; font-size: 13px; }
.gk-readiness-panel .gk-button { width: 100%; margin: 26px 0 16px; border: 0; cursor: pointer; transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease; }
.gk-readiness-panel .gk-button:hover { filter: brightness(1.05); box-shadow: 0 12px 30px rgba(125, 231, 235, .13); }
.gk-readiness-panel .gk-button:active { transform: translateY(1px) scale(.985); }
.gk-readiness-panel .gk-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.gk-radar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--gk-line); border-left: 1px solid var(--gk-line); }
.gk-radar-lane { min-width: 0; border-right: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); }
.gk-radar-lane > header { min-height: 215px; padding: 24px; background: linear-gradient(180deg, rgba(125, 231, 235, .06), transparent); }
.gk-radar-lane > header > span { color: var(--gk-accent); font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.gk-radar-lane h3 { margin: 36px 0 10px; font-size: 24px; font-weight: 500; }
.gk-radar-lane > header p { margin: 0; color: var(--gk-muted); font-size: 14px; line-height: 1.65; }
.gk-radar-card { min-width: 0; padding: 26px 24px 30px; border-top: 1px solid var(--gk-line); }
.gk-radar-card h4 { margin: 0 0 12px; font-size: 19px; line-height: 1.35; }
.gk-radar-card > p { margin: 0; color: var(--gk-muted); line-height: 1.68; }
.gk-radar-facts { margin: 22px 0 0; }
.gk-radar-facts div { padding: 12px 0; border-top: 1px solid var(--gk-line); }
.gk-radar-facts dt { color: #718a91; font-size: 11px; letter-spacing: .05em; }
.gk-radar-facts dd { margin: 5px 0 0; color: #c9d7da; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.gk-radar-empty { margin: 0; padding: 26px 24px; color: #718a91; border-top: 1px solid var(--gk-line); font-size: 13px; }
.gk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gk-resource-catalog {
  --resource-x: 50%;
  --resource-y: 16%;
  position: relative;
}
.gk-resource-catalog::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -8vw auto;
  height: min(56vw, 760px);
  pointer-events: none;
  opacity: .78;
  background:
    radial-gradient(circle at var(--resource-x) var(--resource-y), rgba(125, 231, 235, .11), transparent 36%),
    linear-gradient(115deg, transparent 25%, rgba(125, 231, 235, .035) 25.2%, transparent 25.5%);
}
.gk-resource-filters {
  position: sticky;
  z-index: 4;
  top: 82px;
  padding: 12px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(7, 16, 22, .96), rgba(7, 16, 22, .72), rgba(7, 16, 22, .96));
}
.gk-resource-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--gk-line);
  background: var(--gk-line);
  perspective: 1100px;
}
.gk-resource-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.gk-resource-grid.is-single .gk-resource-card { grid-column: 1; min-height: 0; }
.gk-resource-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  grid-column: span 4;
  min-width: 0;
  min-height: 460px;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(145deg, rgba(17, 36, 45, .94), rgba(7, 15, 21, .98) 72%),
    var(--gk-surface);
  transform: rotateX(var(--card-rx)) rotateY(var(--card-ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease;
}
.gk-resource-card.is-featured { grid-column: span 6; min-height: 520px; }
.gk-resource-card:hover { background-color: var(--gk-surface-strong); }
.gk-resource-card[hidden] { display: none; }
.gk-resource-index { display: flex; justify-content: space-between; gap: 20px; color: #587078; font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; }
.gk-resource-index span:first-child { color: var(--gk-accent); }
.gk-resource-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(44px, 6vw, 76px); }
.gk-resource-badges span, .gk-manifest-status > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--gk-line);
  color: #a7bbc0;
  font-size: 11px;
  letter-spacing: .06em;
}
.gk-resource-badges .is-reviewed, .gk-manifest-status .is-reviewed { border-color: rgba(125, 231, 235, .56); color: var(--gk-accent); background: rgba(125, 231, 235, .07); }
.gk-resource-badges .is-restricted, .gk-manifest-status .is-restricted { border-color: rgba(240, 196, 112, .44); color: #f0c470; background: rgba(240, 196, 112, .06); }
.gk-resource-card h3 { max-width: 24ch; margin: 22px 0 15px; font-size: clamp(23px, 2vw, 30px); font-weight: 500; line-height: 1.35; text-wrap: balance; }
.gk-resource-card > p { max-width: 60ch; margin: 0; color: var(--gk-muted); line-height: 1.72; }
.gk-resource-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 30px 0 0; }
.gk-resource-facts div { min-width: 0; padding: 13px 0; border-top: 1px solid var(--gk-line); }
.gk-resource-facts dt { color: #617980; font-size: 11px; }
.gk-resource-facts dd { margin: 6px 0 0; color: #c8d5d8; font-size: 13px; line-height: 1.55; }
.gk-resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.gk-resource-actions .gk-text-link, .gk-resource-actions .gk-button { margin-top: 0; }
.gk-resource-restricted { color: #738a91; font-size: 13px; }

.gk-manifest-panel { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 1px; border: 1px solid var(--gk-line); background: var(--gk-line); }
.gk-manifest-panel > * { min-width: 0; background: rgba(7, 16, 22, .97); }
.gk-manifest-status { padding: clamp(28px, 4vw, 52px); }
.gk-manifest-status > strong { display: block; margin-top: clamp(44px, 7vw, 88px); font: 700 clamp(36px, 5vw, 68px)/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: -.05em; }
.gk-manifest-status > p { margin: 24px 0 0; color: var(--gk-muted); line-height: 1.78; }
.gk-manifest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.gk-manifest-grid div { min-width: 0; padding: 25px clamp(22px, 3vw, 38px); border-left: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); }
.gk-manifest-grid dt, .gk-manifest-scope dt { color: #668087; font-size: 11px; letter-spacing: .05em; }
.gk-manifest-grid dd, .gk-manifest-scope dd { margin: 8px 0 0; color: #d4e0e2; line-height: 1.58; }
.gk-manifest-scope { grid-column: 1 / -1; padding: clamp(28px, 4vw, 50px); }
.gk-manifest-scope h3 { margin: 0 0 26px; font-size: 22px; font-weight: 500; }
.gk-manifest-scope dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--gk-line); }
.gk-manifest-scope dl div { min-width: 0; padding: 20px; background: var(--gk-bg); }
/* R278: readable source records, without changing reviewed-package controls. */
.gk-manifest-panel.is-reference .gk-manifest-status > strong { margin-top: 20px; font-family: inherit; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.gk-manifest-scope dd { overflow-wrap: anywhere; }
.gk-manifest-panel.is-reference .gk-manifest-scope dl { background: transparent; }
.gk-manifest-records { margin-top: 24px; border-top: 1px solid var(--gk-line); }
.gk-manifest-records dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-manifest-records > summary { min-height: 44px; padding: 16px 0; cursor: pointer; font-size: 14px; }
.gk-manifest-records > summary:focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 4px; border-radius: 4px; }
.gk-manifest-scope dd .gk-text-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 0; text-decoration: none; }
.gk-manifest-hash { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 24px clamp(24px, 4vw, 50px); }
.gk-manifest-hash span { color: #668087; font-size: 11px; letter-spacing: .08em; }
.gk-manifest-hash > span, .gk-manifest-hash [data-gk-hash-status] { grid-column: 1 / -1; }
.gk-manifest-hash code { min-width: 0; color: var(--gk-accent); font: 600 12px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.gk-manifest-hash code:focus { outline: 2px solid var(--gk-accent); outline-offset: 4px; }
.gk-manifest-hash [data-gk-hash-status] { min-height: 1.5em; margin: 0; color: #d4e0e2; }
.gk-manifest-hash button { min-height: 44px; padding: 8px 13px; border: 1px solid var(--gk-line); color: #dce8e9; background: transparent; cursor: pointer; }
.gk-manifest-hash button:focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 4px; }
.gk-manifest-panel > .gk-resource-actions, .gk-manifest-panel > .gk-resource-restricted { grid-column: 1 / -1; margin: 0; padding: 26px clamp(24px, 4vw, 50px); }

@media (max-width: 960px) {
  .gk-contribute-layout { grid-template-columns: minmax(0, 1fr); }
  .gk-contribute-guide { max-width: 72ch; }
  .gk-system-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-system-chain > li:nth-child(3n) { border-right: 1px solid var(--gk-line); }
  .gk-system-chain > li:nth-child(2n) { border-right: 0; }
  .gk-readiness { grid-template-columns: minmax(0, 1fr); }
  .gk-readiness-panel { position: static; }
  .gk-radar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: span 6; }
  .gk-resource-card, .gk-resource-card.is-featured { grid-column: span 6; }
  .gk-manifest-panel { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-status, .gk-manifest-grid, .gk-manifest-scope, .gk-manifest-hash, .gk-manifest-panel > .gk-resource-actions, .gk-manifest-panel > .gk-resource-restricted { grid-column: 1; }
}

@media (max-width: 640px) {
  .gk-contribute-invite { display: block; }
  .gk-contribute-invite .gk-button { margin-top: 20px; }
  .gk-contribution-form { padding: 24px 18px; }
  .gk-contribution-fields { grid-template-columns: minmax(0, 1fr); }
  .gk-contribution-submit button { width: 100%; }
  .gk-shell { width: min(100% - 40px, 1180px); padding-block: 58px; }
  .gk-heading { margin-bottom: 34px; }
  .gk-heading h2 { max-width: none; }
  .gk-system-chain, .gk-knowledge-list, .gk-readiness-questions, .gk-radar { grid-template-columns: minmax(0, 1fr); }
  .gk-system-chain > li, .gk-system-chain > li:nth-child(2n), .gk-system-chain > li:nth-child(3n), .gk-knowledge-card:nth-child(odd), .gk-readiness-question:nth-child(odd) { border-right: 0; }
  .gk-business-systems .gk-shell { padding-block: 44px; }
  .gk-business-systems .gk-heading { margin-bottom: 28px; }
  .gk-business-systems .gk-lead { margin-top: 16px; }
  .gk-system-card { padding: 22px clamp(16px, 5vw, 20px) 24px; }
  .gk-system-meta,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-meta { margin-bottom: 18px; }
  .gk-system-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.45; }
  .gk-system-card > p { font-size: 15px; line-height: 1.75; }
  .gk-system-card .gk-facts { gap: 10px; margin-top: 16px; }
  .gk-system-card .gk-facts dd { font-size: 14px; line-height: 1.65; }
  .gk-system-card .gk-text-link { min-height: 44px; align-items: center; margin-top: 12px; }
  .gk-business-systems .gk-actions { margin-top: 28px; }
  .gk-knowledge-card, .gk-knowledge-card:nth-child(odd), .gk-knowledge-card:nth-child(even) { padding: 28px 0 32px; }
  .is-layout-compact .gk-knowledge-card:not([hidden]) { display: block; }
  .is-layout-compact .gk-knowledge-card h3 { margin-top: 20px; }
  .is-layout-compact .gk-knowledge-card .gk-text-link { margin-top: 18px; }
  .gk-readiness-question, .gk-readiness-question:nth-child(even) { padding: 22px 0 24px; }
  .gk-readiness-panel { padding: 24px 20px; }
  .gk-radar { border-left: 0; }
  .gk-radar-lane { border-left: 1px solid var(--gk-line); }
  .gk-radar-lane > header { min-height: 0; }
  .gk-character-media { inset: 0 0 auto 8%; height: min(68vw, 320px); opacity: .3; }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: 1 / -1; }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-card,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) .gk-system-card { min-height: auto; }
  .gk-resource-filters { position: static; flex-wrap: nowrap; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: thin; }
  .gk-resource-filters button { flex: 0 0 auto; }
  .gk-resource-grid { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .gk-resource-card, .gk-resource-card.is-featured { grid-column: 1; min-height: 0; padding-inline: 20px; transform: none !important; }
  .gk-resource-badges { margin-top: 36px; }
  .gk-resource-card h3 { max-width: none; font-size: clamp(23px, 6vw, 28px); }
  .gk-resource-facts, .gk-manifest-grid, .gk-manifest-scope dl { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-grid div { border-left: 0; }
  .gk-manifest-status > strong { margin-top: 34px; }
  .gk-manifest-hash { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-hash button { justify-self: start; }
}

/* Task-first learning tools retain the site's visual language without adding media. */
.gk-task-paths { margin-bottom: clamp(40px, 5vw, 64px); }
.gk-task-heading { max-width: 740px; margin-bottom: 26px; }
.gk-task-heading h3 { margin: 10px 0 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.45; text-wrap: balance; }
.gk-task-heading > p:last-child { color: var(--gk-muted); line-height: 1.75; }
.gk-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gk-line); }
.gk-task-list > li { min-width: 0; padding: 26px 0 30px; border-bottom: 1px solid var(--gk-line); }
.gk-task-title { display: flex; align-items: baseline; gap: 16px; }
.gk-task-title > span { color: var(--gk-accent); font: 12px/1.4 ui-monospace, monospace; }
.gk-task-title h4 { margin: 0; font-size: 21px; font-weight: 500; }
.gk-task-list > li > p { margin: 14px 0 18px; color: var(--gk-muted); line-height: 1.7; font-size: 14px; }
.gk-task-facts { margin: 0 0 16px; font-size: 14px; line-height: 1.65; }
.gk-task-facts > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 6px; }
.gk-task-facts dt { color: #809aa2; }
.gk-task-facts dd { margin: 0; overflow-wrap: anywhere; }
.gk-task-list .gk-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.gk-resource-card .gk-resource-badges { margin-top: 24px; }
.gk-resource-card h3 { font-size: clamp(22px, 2vw, 27px); }
.has-compare .gk-resource-filters { position: static; }
.gk-compare-bar { position: sticky; z-index: 5; top: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 16px; border: 1px solid var(--gk-line); background: #0b171ef5; }
.gk-compare-bar > p { flex: 1; margin: 0; color: var(--gk-muted); font-size: 13px; line-height: 1.6; }
.gk-compare-bar [data-gk-compare-open], .gk-compare-bar [data-gk-compare-clear] { order: 2; }
.gk-compare-selected { order: 3; display: flex; flex: 0 0 100%; flex-wrap: wrap; gap: 8px; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.gk-compare-selected[hidden] { display: none; }
.gk-compare-remove { box-sizing: border-box; position: relative; min-width: 0; max-width: min(32%, 260px); min-height: 44px; overflow: hidden; padding: 8px 28px 8px 12px; border: 1px solid #477b83; border-radius: 3px; color: var(--gk-text); background: #142a30; font: inherit; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.gk-compare-remove::after { content: "×"; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: var(--gk-accent); font-size: 18px; line-height: 1; }
.gk-compare-bar.is-active { border-color: #477b83; }
.gk-compare-bar .gk-button { flex: 0 0 auto; margin: 0; font-size: 13px; padding-inline: 16px; }
.gk-compare-bar button:disabled { opacity: .45; cursor: default; }
.gk-compare-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gk-line); font-size: 13px; color: var(--gk-muted); cursor: pointer; }
.gk-compare-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--gk-accent); }
.gk-compare-choice:has(input:checked) { color: var(--gk-accent); }
.gk-compare-dialog { box-sizing: border-box; width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 24px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #46636c; border-radius: 8px; color: var(--gk-text); background: var(--gk-bg); box-shadow: 0 24px 100px #0008; }
.gk-compare-dialog::backdrop { background: #02080ddd; }
.gk-compare-dialog:not([open]), .gk-compare-dialog[hidden] { display: none; }
.gk-compare-dialog > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; background: var(--gk-bg); box-shadow: 0 -24px 0 var(--gk-bg); }
.gk-compare-dialog h3 { margin: 8px 0 0; font-size: 26px; font-weight: 500; }
.gk-compare-dialog > header button { flex-shrink: 0; }
.gk-compare-note { margin: 22px 0 26px; max-width: 78ch; color: var(--gk-muted); font-size: 14px; line-height: 1.75; }
.gk-compare-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gk-compare-item { min-width: 0; padding: 22px; border-top: 2px solid var(--gk-accent); background: var(--gk-surface); }
.gk-compare-item h4 { margin: 12px 0 14px; font-size: 21px; font-weight: 500; line-height: 1.5; }
.gk-compare-item > p { color: var(--gk-muted); font-size: 14px; line-height: 1.7; }
.gk-compare-facts { margin: 24px 0 18px; }
.gk-compare-facts > div { padding: 14px 0; border-top: 1px solid var(--gk-line); }
.gk-compare-facts dt { font-size: 12px; color: var(--gk-accent); }
.gk-compare-facts dd { margin: 8px 0 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.gk-compare-item .gk-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.gk-compare-dialog[data-gk-compare-fallback="true"][open] { position: relative; inset: auto; display: block; width: 100%; max-height: none; margin: 24px 0; box-shadow: none; }
.gk-start-guide { margin-bottom: 30px; border: 1px solid var(--gk-line); background: var(--gk-surface); }
.gk-start-guide > summary { min-height: 56px; padding: 20px 26px; font-size: 18px; line-height: 1.5; color: var(--gk-text); cursor: pointer; }
.gk-start-body { padding: 0 26px 26px; }
.gk-start-body > p, .gk-start-body > ol { max-width: 80ch; font-size: 14px; line-height: 1.8; color: var(--gk-muted); }
.gk-start-body > ol { padding-left: 22px; margin-bottom: 22px; }
.gk-start-body label { display: block; font-size: 13px; }
.gk-start-body textarea { box-sizing: border-box; display: block; width: 100%; min-height: 200px; margin-top: 12px; padding: 16px; border: 1px solid var(--gk-line); border-radius: 4px; color: var(--gk-text); background: var(--gk-bg); font-family: inherit; font-size: 14px; line-height: 1.8; resize: vertical; }
.gk-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.gk-start-actions > p { margin: 0; font-size: 13px; color: var(--gk-muted); line-height: 1.7; }
.gk-compare-bar[hidden], .gk-compare-choice[hidden], [data-gk-copy-start][hidden] { display: none; }
.gk-compare-dialog button:focus-visible, .gk-compare-choice input:focus-visible, .gk-start-guide summary:focus-visible, .gk-start-body textarea:focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 4px; }
.gk-compare-remove:focus-visible { outline: 2px solid var(--gk-accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .gk-task-list { grid-template-columns: minmax(0, 1fr); }
  .gk-task-list > li { padding-block: 22px; }
  .gk-task-heading h3 { font-size: 23px; }
  .gk-compare-bar { top: 68px; gap: 8px; padding: 10px; margin-inline: -8px; }
  .gk-compare-bar > p { font-size: 12px; }
  .gk-compare-bar .gk-button { padding-inline: 10px; font-size: 12px; }
  .gk-compare-remove { flex: 1 1 28%; max-width: 100%; min-width: 0; padding: 8px 28px 8px 8px; }
  .gk-compare-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); padding: 18px; }
  .gk-compare-items { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gk-compare-item { padding: 18px; }
  .gk-compare-dialog h3 { font-size: 23px; }
  .gk-compare-note { font-size: 13px; }
  .gk-start-guide > summary { padding: 18px; font-size: 16px; }
  .gk-start-body { padding: 0 18px 18px; }
  .gk-start-body textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .gk-pointer-glow { display: none; }
  .gk-section *, .gk-section *::before, .gk-section *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Compact resource browsing: no oversized featured cards or fixed minimum height. */
.gk-resource-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:transparent;border:0;align-items:start }
.gk-resource-card,.gk-resource-card.is-featured { grid-column:auto;min-height:0;padding:22px;border:1px solid var(--gk-line);border-radius:6px;display:flex;flex-direction:column;align-self:stretch }
.gk-compare-bar:not(.is-active) { position:static }
.gk-resource-card .gk-resource-index { font-size:11px }
.gk-resource-card .gk-resource-badges { margin-top:14px;gap:6px }
.gk-resource-card .gk-resource-badges span { padding:3px 6px;min-height:24px;letter-spacing:0 }
.gk-resource-card h3 { font-size:18px;line-height:1.5;max-width:none;margin:12px 0 10px;text-wrap:pretty;overflow-wrap:anywhere }
.gk-resource-card>p { font-size:14px;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden }
.gk-resource-details { margin:10px 0 0 }
.gk-resource-details>summary { min-height:44px;padding:10px 0;font-size:13px;line-height:24px;color:var(--gk-accent);cursor:pointer }
.gk-resource-details .gk-resource-facts { margin:0 0 12px;gap:0 14px;grid-template-columns:repeat(2,minmax(0,1fr)) }
.gk-resource-details .gk-resource-facts div { padding:10px 0 }
.gk-resource-details .gk-resource-facts dd { overflow-wrap:anywhere }
.gk-resource-card .gk-resource-actions { margin-top:auto;padding-top:8px;gap:8px 16px }
.gk-resource-card .gk-resource-actions a { font-size:13px;min-height:44px;display:inline-flex;align-items:center }
.gk-resource-card .gk-resource-actions .gk-button { padding:10px 14px }
.gk-resource-card .gk-compare-choice { margin-top:10px;padding-top:8px;min-height:44px;font-size:12px }
.gk-resource-card[hidden] { display:none }
@media(max-width:1100px){.gk-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gk-resource-grid{grid-template-columns:minmax(0,1fr);gap:12px}.gk-resource-card,.gk-resource-card.is-featured{padding:18px}.gk-resource-card h3{font-size:18px}.gk-resource-card .gk-resource-badges{margin-top:10px}}

/* Native category selection keeps all choices reachable without a long chip strip. */
.gk-learning-options{margin:0 0 20px;border-block:1px solid var(--gk-line)}
.gk-learning-options>summary{padding:16px 0;min-height:48px;font-size:15px;color:var(--gk-text);cursor:pointer}
.gk-learning-options .gk-task-paths{margin:12px 0 20px}
.gk-resource-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr) auto;align-items:end;gap:16px;margin-bottom:18px}
.gk-resource-toolbar .gk-resource-search{margin:0;max-width:none}
.gk-category-select{display:grid;gap:10px;min-width:0;font-size:14px;color:var(--gk-muted)}
.gk-category-select select{width:100%;min-width:0;height:48px;padding:10px 12px;color:var(--gk-text);background:var(--gk-bg);border:1px solid var(--gk-line);border-radius:4px;font-size:14px;text-overflow:ellipsis}
.gk-resource-toolbar input{height:48px;font-size:16px}
.gk-resource-toolbar .gk-filter-reset{height:48px;margin:0;padding:10px 16px;font-size:13px}
.gk-filter-reset:disabled{opacity:.5;cursor:default}
.gk-resource-filters[hidden],.gk-category-select[hidden],.gk-filter-reset[hidden]{display:none}
.gk-resource-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 14px}
.gk-resource-results-head [data-gk-resource-status]{margin:0!important;color:var(--r192-muted,var(--gk-muted))}
.gk-resource-sort{display:flex;align-items:center;gap:10px;min-width:0;color:var(--r192-muted,var(--gk-muted));font-size:13px}
.gk-resource-sort>span{white-space:nowrap;flex:none}
.gk-resource-sort select{width:auto}
.gk-resource-sort select{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--r192-line,var(--gk-line));border-radius:8px;background:var(--r192-surface,var(--gk-bg));color:var(--r192-text,var(--gk-text));font:inherit;font-size:16px;cursor:pointer}
.gk-resource-sort select:focus-visible{outline:2px solid var(--r192-accent,#6254ed);outline-offset:3px}
.gk-resource-sort-note{margin:0 0 16px;color:var(--r192-muted,var(--gk-muted));font-size:13px;line-height:1.6}
.gk-resource-sort[hidden],.gk-resource-sort-note[hidden]{display:none}
@media(max-width:800px){.gk-resource-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.gk-resource-toolbar .gk-resource-search{grid-column:1/-1}}
}
@supports (color:light-dark(white,black)){:root {
  --fw-ink--gk-bg: light-dark(#1b292b,#eaf0ef);
  --fw-surface--gk-bg: light-dark(#233349,#172536);
  --fw-line--gk-bg: light-dark(#748599,#8191a5);
  --gk-bg: #071016;
  --fw-ink--gk-surface: light-dark(#1b292b,#eaf0ef);
  --fw-surface--gk-surface: light-dark(#233349,#172536);
  --fw-line--gk-surface: light-dark(#748599,#8191a5);
  --gk-surface: #0b171e;
  --fw-ink--gk-surface-strong: light-dark(#1b292b,#eaf0ef);
  --fw-surface--gk-surface-strong: light-dark(#233349,#172536);
  --fw-line--gk-surface-strong: light-dark(#748599,#8191a5);
  --gk-surface-strong: #10222a;
  --fw-ink--gk-text: light-dark(#e8f0fa,#f3f7fd);
  --fw-surface--gk-text: light-dark(rgb(var(--fw-crystal-mist-rgb,240 243 241) / 1.0000),#151e21);
  --fw-line--gk-text: light-dark(#d1d9d7,#39464a);
  --gk-text: #edf6f7;
  --fw-ink--gk-muted: light-dark(#495b5e,#bac9ca);
  --fw-surface--gk-muted: light-dark(#56677a,#394a5d);
  --fw-line--gk-muted: light-dark(#d1d9d7,#39464a);
  --gk-muted: #9db1b7;
  --fw-ink--gk-line: light-dark(#e8f0fa33,#f3f7fd33);
  --fw-surface--gk-line: light-dark(#21568e33,#21568e33);
  --fw-line--gk-line: light-dark(#d1d9d733,#39464a33);
  --gk-line: rgba(185, 222, 226, .2);
  --fw-ink--gk-accent: var(--fw-ink--pf-accent, var(--pf-accent, light-dark(#185493,#a5cfff)));
  --fw-surface--gk-accent: var(--fw-surface--pf-accent, var(--pf-accent, light-dark(#21568e,#21568e)));
  --fw-line--gk-accent: var(--fw-line--pf-accent, var(--pf-accent, light-dark(#d1d9d7,#39464a)));
  --gk-accent: var(--pf-accent, #7de7eb);
}

.gk-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--fw-ink--gk-text, var(--gk-text));
  background: var(--fw-surface--gk-bg, var(--gk-bg));
  scroll-margin-top: 90px;
}

.gk-section:nth-of-type(even) { background: light-dark(#233349,#172536); }
.gk-section :where(h2, h3, h4, p, a, dd) { overflow-wrap: anywhere; }

.gk-character-media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 48%;
  overflow: hidden;
  pointer-events: none;
  opacity: .28;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 88%, transparent);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.gk-section.is-pointer-active .gk-character-media { transition-duration: .16s; }
.gk-character-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--fw-surface--gk-bg, var(--gk-bg)), transparent 38%), linear-gradient(0deg, var(--fw-surface--gk-bg, var(--gk-bg)), transparent 36%); }
.gk-character-media :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gk-character-media :is(video, [data-managed-animation]) { z-index: 1; }

.gk-shell {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 12vw));
  margin-inline: auto;
  padding-block: clamp(72px, 9vw, 132px);
}

.gk-heading { max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.gk-heading h2 { max-width: 24ch; margin: 0; font-size: var(--pf-type-heading, clamp(28px, 2.8vw, 42px)); font-weight: 500; line-height: var(--pf-leading-heading, 1.3); letter-spacing: var(--pf-tracking-heading, -.005em); text-wrap: balance; }
.gk-eyebrow { margin: 0 0 16px; color: var(--fw-ink--gk-accent, var(--gk-accent)); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.gk-lead { max-width: 62ch; margin: 22px 0 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.78; }
.gk-empty { margin: 0; padding-block: 28px; color: var(--fw-ink--gk-muted, var(--gk-muted)); border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-actions { margin-top: 44px; }
.gk-button, .gk-text-link { color: var(--fw-ink--gk-accent, var(--gk-accent)); font-weight: 700; text-underline-offset: 5px; }
.gk-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid light-dark(#d1d9d78c,#39464a8c); border-radius: 4px; color: light-dark(#1b292b,#eaf0ef); background: var(--fw-surface--gk-accent, var(--gk-accent)); text-decoration: none; }
.gk-text-link { display: inline-flex; margin-top: 20px; }
.gk-pointer-glow { position: absolute; z-index: 0; top: 0; left: 0; width: 360px; aspect-ratio: 1; border-radius: 50%; opacity: 0; pointer-events: none; transform: translate3d(-500px, -500px, 0); background: radial-gradient(circle, light-dark(#21568e1f,#21568e1f), light-dark(#21568e00,#21568e00) 68%); transition: opacity 180ms ease; }

.gk-system-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: systems; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-system-chain > li { min-width: 0; border-right: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-system-chain > li:nth-child(3n) { border-right: 0; }
.gk-system-card { min-height: 100%; padding: 28px clamp(20px, 2.5vw, 34px) 34px; }
.gk-system-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 48px; color: var(--fw-ink--gk-accent, var(--gk-accent)); font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.gk-system-meta span:last-child { color: light-dark(#495b5e,#bac9ca); }
.gk-system-card h3 { margin: 0 0 14px; font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; line-height: 1.4; }
.gk-system-card > p { margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.75; }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--fw-line--gk-line, var(--gk-line));
  background: var(--fw-surface--gk-line, var(--gk-line));
}
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li {
  grid-column: span 3;
  border: 0;
  background: var(--fw-surface--gk-surface, var(--gk-surface));
  background: color-mix(in srgb, var(--fw-surface--gk-surface, var(--gk-surface)) 92%, transparent);
}
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: span 6; }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-card { min-height: clamp(280px, 28vw, 390px); }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) .gk-system-card { min-height: clamp(330px, 34vw, 470px); }
.gk-business-systems[data-gk-layout="blueprint"] .gk-system-meta { margin-bottom: clamp(44px, 7vw, 92px); }
.gk-facts { display: grid; gap: 12px; margin: 24px 0 0; }
.gk-facts div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-facts dt { color: light-dark(#495b5e,#bac9ca); font-size: 12px; }
.gk-facts dd { margin: 5px 0 0; color: light-dark(#e8f0fa,#f3f7fd); line-height: 1.55; overflow-wrap: anywhere; }

.gk-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.gk-practice-tools { margin: 0 0 28px; padding: 20px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-radius: 6px; background: var(--fw-surface--gk-surface, var(--gk-surface)); }
.gk-practice-tools h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.gk-practice-tools p { margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; line-height: 1.65; }
.gk-practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 20px 0; }
.gk-practice-grid article { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gk-practice-grid h4 { margin: 0; font-size: 17px; line-height: 1.5; }
.gk-practice-grid .gk-button { margin-top: auto; min-height: 44px; padding: 10px 14px; }
.gk-practice-note { border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); padding-top: 12px; }
.gk-resource-companion { margin: 0 0 20px; padding: 16px 20px; border-left: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); background: var(--fw-surface--gk-surface, var(--gk-surface)); }
.gk-resource-companion p { margin: 8px 0; font-size: 16px; line-height: 1.6; color: var(--fw-ink--gk-muted, var(--gk-muted)); }
.gk-resource-companion a { min-height: 44px; display: inline-flex; align-items: center; }
@media(max-width:640px) { .gk-practice-grid { grid-template-columns: minmax(0,1fr); gap: 20px; } .gk-practice-tools { padding: 16px; } .gk-practice-tools p { font-size: 16px; } }
.gk-resource-search { display: grid; gap: 10px; max-width: 620px; margin-bottom: 24px; color: var(--fw-ink--gk-muted, var(--gk-muted)); }
.gk-resource-search input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-radius: 4px; padding: 12px 16px; background: light-dark(#233349,#172536); color: var(--gk-ink, light-dark(#e8f0fa,#f3f7fd)); font: inherit; }
.gk-resource-search input:focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 3px; }
.gk-resource-empty { padding: 32px 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); }
.gk-contribute-invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; padding: 24px 0; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-contribute-invite p { margin: 0; font-size: 19px; font-weight: 700; }
.gk-contribute-invite p span { display: block; margin-top: 8px; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; font-weight: 400; }
.gk-button.is-outline { color: var(--fw-ink--gk-accent, var(--gk-accent)); background: transparent; white-space: nowrap; }
.gk-contribute { scroll-margin-top: 90px; }
.gk-contribute-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.gk-contribute-guide ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.gk-contribute-guide .gk-contribute-boundary { margin-bottom:0; max-width:80ch; }
.gk-contribution-form { min-width:0; width:100%; box-sizing:border-box; }
.gk-contribute .gk-heading { max-width:100%; }
.gk-contribute .gk-heading .gk-lead { max-width:64ch; text-wrap:pretty; }
@media(max-width:900px){.gk-contribute-guide ol{grid-template-columns:1fr;gap:0}.gk-contribution-fields{grid-template-columns:minmax(0,1fr)}.gk-contribution-form{padding:24px}.gk-contribution-fields label{min-width:0}}
.gk-contribute-guide h3 { margin: 0 0 28px; font-size: 22px; font-weight: 500; line-height: 1.5; }
.gk-contribute-guide ol { margin: 0; padding-left: 22px; }
.gk-contribute-guide li { padding-left: 8px; margin-bottom: 28px; color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-contribute-guide strong { color: light-dark(#e8f0fa,#f3f7fd); }
.gk-contribute-guide p { color: light-dark(#495b5e,#bac9ca); line-height: 1.8; font-size: 15px; }
.gk-contribute-boundary { padding-top: 24px; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-contribution-form { min-width: 0; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-top: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); border-radius: 4px; background: light-dark(#233349,#172536); }
.gk-contribution-form fieldset { min-width: 0; padding: 0; margin: 0 0 36px; border: 0; }
.gk-contribution-form legend { margin-bottom: 24px; padding: 0; font-size: 22px; font-weight: 750; }
.gk-contribution-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
@media(max-width:900px){.gk-contribution-fields{grid-template-columns:minmax(0,1fr)}}
.gk-contribution-fields label { display: grid; gap: 10px; min-width: 0; align-content: start; }
.gk-contribution-fields .is-wide { grid-column: 1 / -1; }
.gk-contribution-fields label > span { font-size: 14px; font-weight: 700; color: light-dark(#e8f0fa,#f3f7fd); }
.gk-contribution-fields :is(input, textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border: 1px solid light-dark(#748599,#8191a5); border-radius: 4px; background: light-dark(#233349,#172536); color: light-dark(#e8f0fa,#f3f7fd); font: inherit; font-size: 16px; }
.gk-contribution-fields textarea { resize: vertical; line-height: 1.7; }
.gk-contribution-fields :is(input, textarea)::placeholder { color: light-dark(#495b5e,#bac9ca); opacity: 1; }
.gk-contribution-form :is(input, textarea, button, a):focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 3px; }
.gk-contribution-fields small, .gk-contribution-help { margin: 0; color: light-dark(#495b5e,#bac9ca); font-size: 13px; line-height: 1.7; }
.gk-contribution-help { margin: -8px 0 20px; }
.gk-contribution-consents { display: grid; gap: 18px; }
.gk-contribution-consents label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: light-dark(#495b5e,#bac9ca); font-size: 13px; line-height: 1.8; }
.gk-contribution-consents input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-contribution-consents a { color: var(--fw-ink--gk-accent, var(--gk-accent)); text-underline-offset: 3px; }
.gk-contribution-submit { margin-top: 30px; }
.gk-contribution-submit button { cursor: pointer; font: inherit; font-weight: 750; }
.gk-contribution-submit button:disabled { opacity: .65; cursor: wait; }
.gk-contribution-submit p { margin: 18px 0 0; color: light-dark(#495b5e,#bac9ca); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.gk-contribution-submit p:empty { display: none; }
.gk-contribution-submit p.is-success { padding: 16px; border: 1px solid light-dark(#185493,#a5cfff); color: var(--fw-ink--gk-accent, var(--gk-accent)); background: light-dark(#233349,#172536); }
.gk-contribution-submit p.is-error { color: light-dark(#e8f0fa,#f3f7fd); }
.gk-filter-bar button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-radius: 4px; color: var(--fw-ink--gk-muted, var(--gk-muted)); background: transparent; font: inherit; cursor: pointer; }
.gk-filter-bar button[aria-pressed="true"] { border-color: var(--fw-line--gk-accent, var(--gk-accent)); color: light-dark(#1b292b,#eaf0ef); background: var(--fw-surface--gk-accent, var(--gk-accent)); }
.gk-filter-status { margin: 18px 0 26px; color: light-dark(#495b5e,#bac9ca); font-size: 13px; }
.gk-knowledge-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-knowledge-card { min-width: 0; padding: 32px clamp(20px, 3vw, 40px) 38px 0; border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-knowledge-card:nth-child(odd) { padding-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-knowledge-card:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); }
.gk-knowledge-card[hidden] { display: none; }
.gk-knowledge-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--fw-ink--gk-accent, var(--gk-accent)); font-size: 12px; letter-spacing: .06em; }
.gk-knowledge-meta time { color: light-dark(#495b5e,#bac9ca); letter-spacing: 0; }
.gk-knowledge-card h3 { max-width: 26ch; margin: 24px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.4; text-wrap: balance; }
.gk-knowledge-card > p { max-width: 60ch; margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.75; }
.is-layout-compact .gk-knowledge-list, .is-layout-technology .gk-knowledge-list { grid-template-columns: minmax(0, 1fr); }
.is-layout-compact .gk-knowledge-card, .is-layout-technology .gk-knowledge-card { padding-inline: 0; border-right: 0; }
.is-layout-compact .gk-knowledge-card:not([hidden]) { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr) auto; align-items: start; gap: 18px 30px; }
.is-layout-compact .gk-knowledge-card h3 { margin: 0; }
.is-layout-compact .gk-knowledge-card .gk-text-link { margin-top: 0; }

.gk-readiness { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.gk-readiness fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.gk-readiness-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-readiness-question { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; min-width: 0; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); cursor: pointer; }
.gk-readiness-question:nth-child(odd) { border-right: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-readiness-question:nth-child(even) { padding-left: 24px; }
.gk-readiness-question input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gk-check { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid light-dark(#748599,#8191a5); border-radius: 50%; }
.gk-readiness-question input:checked + .gk-check { border-color: var(--fw-line--gk-accent, var(--gk-accent)); background: var(--fw-surface--gk-accent, var(--gk-accent)); }
.gk-readiness-question input:checked + .gk-check::after { content: ""; width: 8px; height: 4px; border-bottom: 2px solid light-dark(#748599,#8191a5); border-left: 2px solid light-dark(#748599,#8191a5); transform: rotate(-45deg) translateY(-1px); }
.gk-readiness-question input:focus-visible + .gk-check { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 4px; }
.gk-readiness-question strong, .gk-readiness-question small { display: block; }
.gk-readiness-question strong { line-height: 1.45; }
.gk-readiness-question small { margin-top: 8px; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; line-height: 1.65; }
.gk-readiness-panel { position: sticky; top: 104px; padding: 30px; border-top: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); background: var(--fw-surface--gk-surface, var(--gk-surface)); }
.gk-result-label { margin: 0 0 12px; color: var(--fw-ink--gk-accent, var(--gk-accent)); font-size: 12px; letter-spacing: .1em; }
.gk-readiness-panel > strong { display: block; font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; }
.gk-readiness-panel > p:not(.gk-result-label) { margin: 18px 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.7; }
.gk-readiness-panel > span, .gk-readiness-panel > small { display: block; color: light-dark(#495b5e,#bac9ca); font-size: 13px; }
.gk-readiness-panel .gk-button { width: 100%; margin: 26px 0 16px; border: 0; cursor: pointer; transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease; }
.gk-readiness-panel .gk-button:hover { filter: brightness(1.05); box-shadow: none; }
.gk-readiness-panel .gk-button:active { transform: translateY(1px) scale(.985); }
.gk-readiness-panel .gk-button:focus-visible { outline: 2px solid light-dark(#d1d9d7,#39464a); outline-offset: 4px; }

.gk-radar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-left: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-radar-lane { min-width: 0; border-right: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-radar-lane > header { min-height: 215px; padding: 24px; background: linear-gradient(180deg, light-dark(#21568e0f,#21568e0f), transparent); }
.gk-radar-lane > header > span { color: var(--fw-ink--gk-accent, var(--gk-accent)); font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.gk-radar-lane h3 { margin: 36px 0 10px; font-size: 24px; font-weight: 500; }
.gk-radar-lane > header p { margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; line-height: 1.65; }
.gk-radar-card { min-width: 0; padding: 26px 24px 30px; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-radar-card h4 { margin: 0 0 12px; font-size: 19px; line-height: 1.35; }
.gk-radar-card > p { margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.68; }
.gk-radar-facts { margin: 22px 0 0; }
.gk-radar-facts div { padding: 12px 0; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-radar-facts dt { color: light-dark(#495b5e,#bac9ca); font-size: 11px; letter-spacing: .05em; }
.gk-radar-facts dd { margin: 5px 0 0; color: light-dark(#e8f0fa,#f3f7fd); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.gk-radar-empty { margin: 0; padding: 26px 24px; color: light-dark(#495b5e,#bac9ca); border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); font-size: 13px; }
.gk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gk-resource-catalog {
  --resource-x: 50%;
  --resource-y: 16%;
  position: relative;
}
.gk-resource-catalog::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -8vw auto;
  height: min(56vw, 760px);
  pointer-events: none;
  opacity: .78;
  background:
    radial-gradient(circle at var(--resource-x) var(--resource-y), light-dark(#21568e1c,#21568e1c), transparent 36%),
    linear-gradient(115deg, transparent 25%, light-dark(#21568e09,#21568e09) 25.2%, transparent 25.5%);
}
.gk-resource-filters {
  position: sticky;
  z-index: 4;
  top: 82px;
  padding: 12px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, light-dark(#233349f5,#172536f5), light-dark(#233349b8,#172536b8), light-dark(#233349f5,#172536f5));
}
.gk-resource-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--fw-line--gk-line, var(--gk-line));
  background: var(--fw-surface--gk-line, var(--gk-line));
  perspective: 1100px;
}
.gk-resource-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.gk-resource-grid.is-single .gk-resource-card { grid-column: 1; min-height: 0; }
.gk-resource-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  grid-column: span 4;
  min-width: 0;
  min-height: 460px;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(145deg, light-dark(#233349f0,#172536f0), light-dark(#233349fa,#172536fa) 72%),
    var(--fw-surface--gk-surface, var(--gk-surface));
  transform: rotateX(var(--card-rx)) rotateY(var(--card-ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease;
}
.gk-resource-card.is-featured { grid-column: span 6; min-height: 520px; }
.gk-resource-card:hover { background-color: var(--fw-surface--gk-surface-strong, var(--gk-surface-strong)); }
.gk-resource-card[hidden] { display: none; }
.gk-resource-index { display: flex; justify-content: space-between; gap: 20px; color: light-dark(#495b5e,#bac9ca); font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; }
.gk-resource-index span:first-child { color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-resource-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(44px, 6vw, 76px); }
.gk-resource-badges span, .gk-manifest-status > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--fw-line--gk-line, var(--gk-line));
  color: light-dark(#495b5e,#bac9ca);
  font-size: 11px;
  letter-spacing: .06em;
}
.gk-resource-badges .is-reviewed, .gk-manifest-status .is-reviewed { border-color: light-dark(#d1d9d78f,#39464a8f); color: var(--fw-ink--gk-accent, var(--gk-accent)); background: light-dark(#21568e12,#21568e12); }
.gk-resource-badges .is-restricted, .gk-manifest-status .is-restricted { border-color: light-dark(#d1d9d770,#39464a70); color: light-dark(#825421,#f3c895); background: light-dark(#79512b0f,#79512b0f); }
.gk-resource-card h3 { max-width: 24ch; margin: 22px 0 15px; font-size: clamp(23px, 2vw, 30px); font-weight: 500; line-height: 1.35; text-wrap: balance; }
.gk-resource-card > p { max-width: 60ch; margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.72; }
.gk-resource-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 30px 0 0; }
.gk-resource-facts div { min-width: 0; padding: 13px 0; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-resource-facts dt { color: light-dark(#495b5e,#bac9ca); font-size: 11px; }
.gk-resource-facts dd { margin: 6px 0 0; color: light-dark(#e8f0fa,#f3f7fd); font-size: 13px; line-height: 1.55; }
.gk-resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.gk-resource-actions .gk-text-link, .gk-resource-actions .gk-button { margin-top: 0; }
.gk-resource-restricted { color: light-dark(#495b5e,#bac9ca); font-size: 13px; }

.gk-manifest-panel { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 1px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); background: var(--fw-surface--gk-line, var(--gk-line)); }
.gk-manifest-panel > * { min-width: 0; background: light-dark(#233349f7,#172536f7); }
.gk-manifest-status { padding: clamp(28px, 4vw, 52px); }
.gk-manifest-status > strong { display: block; margin-top: clamp(44px, 7vw, 88px); font: 700 clamp(36px, 5vw, 68px)/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: -.05em; }
.gk-manifest-status > p { margin: 24px 0 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.78; }
.gk-manifest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.gk-manifest-grid div { min-width: 0; padding: 25px clamp(22px, 3vw, 38px); border-left: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-manifest-grid dt, .gk-manifest-scope dt { color: light-dark(#495b5e,#bac9ca); font-size: 11px; letter-spacing: .05em; }
.gk-manifest-grid dd, .gk-manifest-scope dd { margin: 8px 0 0; color: light-dark(#e8f0fa,#f3f7fd); line-height: 1.58; }
.gk-manifest-scope { grid-column: 1 / -1; padding: clamp(28px, 4vw, 50px); }
.gk-manifest-scope h3 { margin: 0 0 26px; font-size: 22px; font-weight: 500; }
.gk-manifest-scope dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--fw-surface--gk-line, var(--gk-line)); }
.gk-manifest-scope dl div { min-width: 0; padding: 20px; background: var(--fw-surface--gk-bg, var(--gk-bg)); }
/* R278: readable source records, without changing reviewed-package controls. */
.gk-manifest-panel.is-reference .gk-manifest-status > strong { margin-top: 20px; font-family: inherit; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.gk-manifest-scope dd { overflow-wrap: anywhere; }
.gk-manifest-panel.is-reference .gk-manifest-scope dl { background: transparent; }
.gk-manifest-records { margin-top: 24px; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-manifest-records dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-manifest-records > summary { min-height: 44px; padding: 16px 0; cursor: pointer; font-size: 14px; }
.gk-manifest-records > summary:focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 4px; border-radius: 4px; }
.gk-manifest-scope dd .gk-text-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 0; text-decoration: none; }
.gk-manifest-hash { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 24px clamp(24px, 4vw, 50px); }
.gk-manifest-hash span { color: light-dark(#495b5e,#bac9ca); font-size: 11px; letter-spacing: .08em; }
.gk-manifest-hash > span, .gk-manifest-hash [data-gk-hash-status] { grid-column: 1 / -1; }
.gk-manifest-hash code { min-width: 0; color: var(--fw-ink--gk-accent, var(--gk-accent)); font: 600 12px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.gk-manifest-hash code:focus { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 4px; }
.gk-manifest-hash [data-gk-hash-status] { min-height: 1.5em; margin: 0; color: light-dark(#e8f0fa,#f3f7fd); }
.gk-manifest-hash button { min-height: 44px; padding: 8px 13px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); color: light-dark(#e8f0fa,#f3f7fd); background: transparent; cursor: pointer; }
.gk-manifest-hash button:focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 4px; }
.gk-manifest-panel > .gk-resource-actions, .gk-manifest-panel > .gk-resource-restricted { grid-column: 1 / -1; margin: 0; padding: 26px clamp(24px, 4vw, 50px); }

@media (max-width: 960px) {
  .gk-contribute-layout { grid-template-columns: minmax(0, 1fr); }
  .gk-contribute-guide { max-width: 72ch; }
  .gk-system-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-system-chain > li:nth-child(3n) { border-right: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
  .gk-system-chain > li:nth-child(2n) { border-right: 0; }
  .gk-readiness { grid-template-columns: minmax(0, 1fr); }
  .gk-readiness-panel { position: static; }
  .gk-radar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: span 6; }
  .gk-resource-card, .gk-resource-card.is-featured { grid-column: span 6; }
  .gk-manifest-panel { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-status, .gk-manifest-grid, .gk-manifest-scope, .gk-manifest-hash, .gk-manifest-panel > .gk-resource-actions, .gk-manifest-panel > .gk-resource-restricted { grid-column: 1; }
}

@media (max-width: 640px) {
  .gk-contribute-invite { display: block; }
  .gk-contribute-invite .gk-button { margin-top: 20px; }
  .gk-contribution-form { padding: 24px 18px; }
  .gk-contribution-fields { grid-template-columns: minmax(0, 1fr); }
  .gk-contribution-submit button { width: 100%; }
  .gk-shell { width: min(100% - 40px, 1180px); padding-block: 58px; }
  .gk-heading { margin-bottom: 34px; }
  .gk-heading h2 { max-width: none; }
  .gk-system-chain, .gk-knowledge-list, .gk-readiness-questions, .gk-radar { grid-template-columns: minmax(0, 1fr); }
  .gk-system-chain > li, .gk-system-chain > li:nth-child(2n), .gk-system-chain > li:nth-child(3n), .gk-knowledge-card:nth-child(odd), .gk-readiness-question:nth-child(odd) { border-right: 0; }
  .gk-business-systems .gk-shell { padding-block: 44px; }
  .gk-business-systems .gk-heading { margin-bottom: 28px; }
  .gk-business-systems .gk-lead { margin-top: 16px; }
  .gk-system-card { padding: 22px clamp(16px, 5vw, 20px) 24px; }
  .gk-system-meta,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-meta { margin-bottom: 18px; }
  .gk-system-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.45; }
  .gk-system-card > p { font-size: 15px; line-height: 1.75; }
  .gk-system-card .gk-facts { gap: 10px; margin-top: 16px; }
  .gk-system-card .gk-facts dd { font-size: 14px; line-height: 1.65; }
  .gk-system-card .gk-text-link { min-height: 44px; align-items: center; margin-top: 12px; }
  .gk-business-systems .gk-actions { margin-top: 28px; }
  .gk-knowledge-card, .gk-knowledge-card:nth-child(odd), .gk-knowledge-card:nth-child(even) { padding: 28px 0 32px; }
  .is-layout-compact .gk-knowledge-card:not([hidden]) { display: block; }
  .is-layout-compact .gk-knowledge-card h3 { margin-top: 20px; }
  .is-layout-compact .gk-knowledge-card .gk-text-link { margin-top: 18px; }
  .gk-readiness-question, .gk-readiness-question:nth-child(even) { padding: 22px 0 24px; }
  .gk-readiness-panel { padding: 24px 20px; }
  .gk-radar { border-left: 0; }
  .gk-radar-lane { border-left: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
  .gk-radar-lane > header { min-height: 0; }
  .gk-character-media { inset: 0 0 auto 8%; height: min(68vw, 320px); opacity: .3; }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) { grid-column: 1 / -1; }
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-card,
  .gk-business-systems[data-gk-layout="blueprint"] .gk-system-chain > li:nth-child(-n+2) .gk-system-card { min-height: auto; }
  .gk-resource-filters { position: static; flex-wrap: nowrap; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: thin; }
  .gk-resource-filters button { flex: 0 0 auto; }
  .gk-resource-grid { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .gk-resource-card, .gk-resource-card.is-featured { grid-column: 1; min-height: 0; padding-inline: 20px; transform: none !important; }
  .gk-resource-badges { margin-top: 36px; }
  .gk-resource-card h3 { max-width: none; font-size: clamp(23px, 6vw, 28px); }
  .gk-resource-facts, .gk-manifest-grid, .gk-manifest-scope dl { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-grid div { border-left: 0; }
  .gk-manifest-status > strong { margin-top: 34px; }
  .gk-manifest-hash { grid-template-columns: minmax(0, 1fr); }
  .gk-manifest-hash button { justify-self: start; }
}

/* Task-first learning tools retain the site's visual language without adding media. */
.gk-task-paths { margin-bottom: clamp(40px, 5vw, 64px); }
.gk-task-heading { max-width: 740px; margin-bottom: 26px; }
.gk-task-heading h3 { margin: 10px 0 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.45; text-wrap: balance; }
.gk-task-heading > p:last-child { color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.75; }
.gk-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-task-list > li { min-width: 0; padding: 26px 0 30px; border-bottom: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-task-title { display: flex; align-items: baseline; gap: 16px; }
.gk-task-title > span { color: var(--fw-ink--gk-accent, var(--gk-accent)); font: 12px/1.4 ui-monospace, monospace; }
.gk-task-title h4 { margin: 0; font-size: 21px; font-weight: 500; }
.gk-task-list > li > p { margin: 14px 0 18px; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.7; font-size: 14px; }
.gk-task-facts { margin: 0 0 16px; font-size: 14px; line-height: 1.65; }
.gk-task-facts > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 6px; }
.gk-task-facts dt { color: light-dark(#495b5e,#bac9ca); }
.gk-task-facts dd { margin: 0; overflow-wrap: anywhere; }
.gk-task-list .gk-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.gk-resource-card .gk-resource-badges { margin-top: 24px; }
.gk-resource-card h3 { font-size: clamp(22px, 2vw, 27px); }
.has-compare .gk-resource-filters { position: static; }
.gk-compare-bar { position: sticky; z-index: 5; top: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 16px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); background: light-dark(#233349f5,#172536f5); }
.gk-compare-bar > p { flex: 1; margin: 0; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 13px; line-height: 1.6; }
.gk-compare-bar [data-gk-compare-open], .gk-compare-bar [data-gk-compare-clear] { order: 2; }
.gk-compare-selected { order: 3; display: flex; flex: 0 0 100%; flex-wrap: wrap; gap: 8px; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.gk-compare-selected[hidden] { display: none; }
.gk-compare-remove { box-sizing: border-box; position: relative; min-width: 0; max-width: min(32%, 260px); min-height: 44px; overflow: hidden; padding: 8px 28px 8px 12px; border: 1px solid light-dark(#185493,#a5cfff); border-radius: 3px; color: var(--fw-ink--gk-text, var(--gk-text)); background: light-dark(#233349,#172536); font: inherit; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.gk-compare-remove::after { content: "×"; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: var(--fw-ink--gk-accent, var(--gk-accent)); font-size: 18px; line-height: 1; }
.gk-compare-bar.is-active { border-color: light-dark(#185493,#a5cfff); }
.gk-compare-bar .gk-button { flex: 0 0 auto; margin: 0; font-size: 13px; padding-inline: 16px; }
.gk-compare-bar button:disabled { opacity: .45; cursor: default; }
.gk-compare-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); font-size: 13px; color: var(--fw-ink--gk-muted, var(--gk-muted)); cursor: pointer; }
.gk-compare-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-compare-choice:has(input:checked) { color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-compare-dialog { box-sizing: border-box; width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 24px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid light-dark(#748599,#8191a5); border-radius: 8px; color: var(--fw-ink--gk-text, var(--gk-text)); background: var(--fw-surface--gk-bg, var(--gk-bg)); box-shadow: 0 8px 24px light-dark(#23332a1c,#0000003d); }
.gk-compare-dialog::backdrop { background: light-dark(#233349dd,#172536dd); }
.gk-compare-dialog:not([open]), .gk-compare-dialog[hidden] { display: none; }
.gk-compare-dialog > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; background: var(--fw-surface--gk-bg, var(--gk-bg)); box-shadow: 0 8px 24px light-dark(#23332a1c,#0000003d); }
.gk-compare-dialog h3 { margin: 8px 0 0; font-size: 26px; font-weight: 500; }
.gk-compare-dialog > header button { flex-shrink: 0; }
.gk-compare-note { margin: 22px 0 26px; max-width: 78ch; color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; line-height: 1.75; }
.gk-compare-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gk-compare-item { min-width: 0; padding: 22px; border-top: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); background: var(--fw-surface--gk-surface, var(--gk-surface)); }
.gk-compare-item h4 { margin: 12px 0 14px; font-size: 21px; font-weight: 500; line-height: 1.5; }
.gk-compare-item > p { color: var(--fw-ink--gk-muted, var(--gk-muted)); font-size: 14px; line-height: 1.7; }
.gk-compare-facts { margin: 24px 0 18px; }
.gk-compare-facts > div { padding: 14px 0; border-top: 1px solid var(--fw-line--gk-line, var(--gk-line)); }
.gk-compare-facts dt { font-size: 12px; color: var(--fw-ink--gk-accent, var(--gk-accent)); }
.gk-compare-facts dd { margin: 8px 0 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.gk-compare-item .gk-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.gk-compare-dialog[data-gk-compare-fallback="true"][open] { position: relative; inset: auto; display: block; width: 100%; max-height: none; margin: 24px 0; box-shadow: none; }
.gk-start-guide { margin-bottom: 30px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); background: var(--fw-surface--gk-surface, var(--gk-surface)); }
.gk-start-guide > summary { min-height: 56px; padding: 20px 26px; font-size: 18px; line-height: 1.5; color: var(--fw-ink--gk-text, var(--gk-text)); cursor: pointer; }
.gk-start-body { padding: 0 26px 26px; }
.gk-start-body > p, .gk-start-body > ol { max-width: 80ch; font-size: 14px; line-height: 1.8; color: var(--fw-ink--gk-muted, var(--gk-muted)); }
.gk-start-body > ol { padding-left: 22px; margin-bottom: 22px; }
.gk-start-body label { display: block; font-size: 13px; }
.gk-start-body textarea { box-sizing: border-box; display: block; width: 100%; min-height: 200px; margin-top: 12px; padding: 16px; border: 1px solid var(--fw-line--gk-line, var(--gk-line)); border-radius: 4px; color: var(--fw-ink--gk-text, var(--gk-text)); background: var(--fw-surface--gk-bg, var(--gk-bg)); font-family: inherit; font-size: 14px; line-height: 1.8; resize: vertical; }
.gk-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.gk-start-actions > p { margin: 0; font-size: 13px; color: var(--fw-ink--gk-muted, var(--gk-muted)); line-height: 1.7; }
.gk-compare-bar[hidden], .gk-compare-choice[hidden], [data-gk-copy-start][hidden] { display: none; }
.gk-compare-dialog button:focus-visible, .gk-compare-choice input:focus-visible, .gk-start-guide summary:focus-visible, .gk-start-body textarea:focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 4px; }
.gk-compare-remove:focus-visible { outline: 2px solid var(--fw-line--gk-accent, var(--gk-accent)); outline-offset: 2px; }
@media (max-width: 640px) {
  .gk-task-list { grid-template-columns: minmax(0, 1fr); }
  .gk-task-list > li { padding-block: 22px; }
  .gk-task-heading h3 { font-size: 23px; }
  .gk-compare-bar { top: 68px; gap: 8px; padding: 10px; margin-inline: -8px; }
  .gk-compare-bar > p { font-size: 12px; }
  .gk-compare-bar .gk-button { padding-inline: 10px; font-size: 12px; }
  .gk-compare-remove { flex: 1 1 28%; max-width: 100%; min-width: 0; padding: 8px 28px 8px 8px; }
  .gk-compare-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); padding: 18px; }
  .gk-compare-items { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gk-compare-item { padding: 18px; }
  .gk-compare-dialog h3 { font-size: 23px; }
  .gk-compare-note { font-size: 13px; }
  .gk-start-guide > summary { padding: 18px; font-size: 16px; }
  .gk-start-body { padding: 0 18px 18px; }
  .gk-start-body textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .gk-pointer-glow { display: none; }
  .gk-section *, .gk-section *::before, .gk-section *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Compact resource browsing: no oversized featured cards or fixed minimum height. */
.gk-resource-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:transparent;border:0;align-items:start }
.gk-resource-card,.gk-resource-card.is-featured { grid-column:auto;min-height:0;padding:22px;border:1px solid var(--fw-line--gk-line, var(--gk-line));border-radius:6px;display:flex;flex-direction:column;align-self:stretch }
.gk-compare-bar:not(.is-active) { position:static }
.gk-resource-card .gk-resource-index { font-size:11px }
.gk-resource-card .gk-resource-badges { margin-top:14px;gap:6px }
.gk-resource-card .gk-resource-badges span { padding:3px 6px;min-height:24px;letter-spacing:0 }
.gk-resource-card h3 { font-size:18px;line-height:1.5;max-width:none;margin:12px 0 10px;text-wrap:pretty;overflow-wrap:anywhere }
.gk-resource-card>p { font-size:14px;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden }
.gk-resource-details { margin:10px 0 0 }
.gk-resource-details>summary { min-height:44px;padding:10px 0;font-size:13px;line-height:24px;color:var(--fw-ink--gk-accent, var(--gk-accent));cursor:pointer }
.gk-resource-details .gk-resource-facts { margin:0 0 12px;gap:0 14px;grid-template-columns:repeat(2,minmax(0,1fr)) }
.gk-resource-details .gk-resource-facts div { padding:10px 0 }
.gk-resource-details .gk-resource-facts dd { overflow-wrap:anywhere }
.gk-resource-card .gk-resource-actions { margin-top:auto;padding-top:8px;gap:8px 16px }
.gk-resource-card .gk-resource-actions a { font-size:13px;min-height:44px;display:inline-flex;align-items:center }
.gk-resource-card .gk-resource-actions .gk-button { padding:10px 14px }
.gk-resource-card .gk-compare-choice { margin-top:10px;padding-top:8px;min-height:44px;font-size:12px }
.gk-resource-card[hidden] { display:none }
@media(max-width:1100px){.gk-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gk-resource-grid{grid-template-columns:minmax(0,1fr);gap:12px}.gk-resource-card,.gk-resource-card.is-featured{padding:18px}.gk-resource-card h3{font-size:18px}.gk-resource-card .gk-resource-badges{margin-top:10px}}

/* Native category selection keeps all choices reachable without a long chip strip. */
.gk-learning-options{margin:0 0 20px;border-block:1px solid var(--fw-line--gk-line, var(--gk-line))}
.gk-learning-options>summary{padding:16px 0;min-height:48px;font-size:15px;color:var(--fw-ink--gk-text, var(--gk-text));cursor:pointer}
.gk-learning-options .gk-task-paths{margin:12px 0 20px}
.gk-resource-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr) auto;align-items:end;gap:16px;margin-bottom:18px}
.gk-resource-toolbar .gk-resource-search{margin:0;max-width:none}
.gk-category-select{display:grid;gap:10px;min-width:0;font-size:14px;color:var(--fw-ink--gk-muted, var(--gk-muted))}
.gk-category-select select{width:100%;min-width:0;height:48px;padding:10px 12px;color:var(--fw-ink--gk-text, var(--gk-text));background:var(--fw-surface--gk-bg, var(--gk-bg));border:1px solid var(--fw-line--gk-line, var(--gk-line));border-radius:4px;font-size:14px;text-overflow:ellipsis}
.gk-resource-toolbar input{height:48px;font-size:16px}
.gk-resource-toolbar .gk-filter-reset{height:48px;margin:0;padding:10px 16px;font-size:13px}
.gk-filter-reset:disabled{opacity:.5;cursor:default}
.gk-resource-filters[hidden],.gk-category-select[hidden],.gk-filter-reset[hidden]{display:none}
.gk-resource-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 14px}
.gk-resource-results-head [data-gk-resource-status]{margin:0!important;color:var(--fw-ink--r192-muted, var(--r192-muted, var(--fw-ink--gk-muted, var(--gk-muted))))}
.gk-resource-sort{display:flex;align-items:center;gap:10px;min-width:0;color:var(--fw-ink--r192-muted, var(--r192-muted, var(--fw-ink--gk-muted, var(--gk-muted))));font-size:13px}
.gk-resource-sort>span{white-space:nowrap;flex:none}
.gk-resource-sort select{width:auto}
.gk-resource-sort select{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--fw-line--r192-line, var(--r192-line, var(--fw-line--gk-line, var(--gk-line))));border-radius:8px;background:var(--fw-surface--r192-surface, var(--r192-surface, var(--fw-surface--gk-bg, var(--gk-bg))));color:var(--fw-ink--r192-text, var(--r192-text, var(--fw-ink--gk-text, var(--gk-text))));font:inherit;font-size:16px;cursor:pointer}
.gk-resource-sort select:focus-visible{outline:2px solid var(--fw-line--r192-accent, var(--r192-accent, light-dark(#d1d9d7,#39464a)));outline-offset:3px}
.gk-resource-sort-note{margin:0 0 16px;color:var(--fw-ink--r192-muted, var(--r192-muted, var(--fw-ink--gk-muted, var(--gk-muted))));font-size:13px;line-height:1.6}
.gk-resource-sort[hidden],.gk-resource-sort-note[hidden]{display:none}
@media(max-width:800px){.gk-resource-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.gk-resource-toolbar .gk-resource-search{grid-column:1/-1}}
}