/* gunuch.com only (loaded after site.css by the web build). Tokens from site.css "v7": ref-* then roles.
   Sections: nav, breadcrumbs + article header, prose, article rail, sources, read next, blog index. */

/* nav ---------------------------------------------------------------------------------------------- */
.gn-wnav__flag { display: flex !important; align-items: center; gap: 10px; }
.gn-wnav__flag img { border-radius: 50%; box-shadow: 0 0 0 1px oklch(29.9% 0.053 183 / .1); }

/* breadcrumbs + article header --------------------------------------------------------------------- */
.gn-crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; font-weight: 600; }
.gn-crumbs li + li::before { content: '/'; margin: 0 10px; color: oklch(29.9% 0.053 183 / .35); }
.gn-crumbs a { color: var(--color-brand); text-decoration: none; }
.gn-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gn-art-hero .gn-kicker { display: inline-flex; align-items: center; gap: 8px; }
.gn-art-hero .gn-kicker img { border-radius: 50%; }
.gn-art-hero h1 { max-width: 22ch; }
.gn-art-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 14px; font-weight: 600; color: #474A43; }
.gn-art-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 12px 2px -12px; border-radius: 50%; background: oklch(29.9% 0.053 183 / .3); }

/* prose: markdown from content collections --------------------------------------------------------- */
.gn-prose > :first-child { margin-top: 0; }
.gn-prose h2:not(.gn-embed *) { margin-top: 48px; font-size: 28px; line-height: 34px; letter-spacing: -0.025em; font-weight: 800; color: var(--color-brand); scroll-margin-top: calc(var(--nav) + 24px); text-wrap: balance; }
.gn-prose h3:not(.gn-embed *) { margin-top: 32px; font-size: 20px; line-height: 28px; letter-spacing: -0.015em; font-weight: 800; color: #0A0A0A; scroll-margin-top: calc(var(--nav) + 24px); }
.gn-prose p:not(.gn-embed *), .gn-prose li:not(.gn-embed *) { font-size: 18px; line-height: 30px; color: #2F3330; }
.gn-prose p:not(.gn-embed *) { margin-top: 16px; }
.gn-prose ul:not(.gn-embed *), .gn-prose ol:not(.gn-embed *) { margin: 16px 0 0; padding-left: 24px; list-style: disc; display: grid; gap: 8px; }
.gn-prose li:not(.gn-embed *)::marker { color: var(--color-brand); font-weight: 800; }
.gn-prose strong:not(.gn-embed *) { color: #0A0A0A; font-weight: 700; }
.gn-prose a:not(.gn-embed *) { color: var(--color-brand); font-weight: 700; text-decoration: underline; text-decoration-color: oklch(42.1% 0.072 182 / .35); text-underline-offset: 3px; }
.gn-prose a:not(.gn-embed *):hover { text-decoration-color: currentColor; }
.gn-prose blockquote:not(.gn-embed *) { margin: 28px 0 0; padding: 20px 24px; border-radius: 20px; background: var(--ref-lime-50); border: 1px solid var(--ref-lime-200); }
.gn-prose blockquote p:not(.gn-embed *) { margin-top: 0; color: #1B2420; }
.gn-prose blockquote p + p:not(.gn-embed *) { margin-top: 10px; }
.gn-prose hr:not(.gn-embed *) { margin: 40px 0 0; border: 0; border-top: 1px solid var(--edge); }
.gn-prose table:not(.gn-embed *) { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 24px; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-soft); border: 1px solid oklch(29.9% 0.053 183 / .07); }
.gn-prose th:not(.gn-embed *) { text-align: left; padding: 14px 18px; background: var(--ref-paper); font-weight: 800; color: #0A0A0A; }
.gn-prose td:not(.gn-embed *) { padding: 14px 18px; border-top: 1px solid var(--edge); color: #2F3330; vertical-align: top; }
.gn-prose .gn-table-scroll:not(.gn-embed *) { overflow-x: auto; }
.gn-prose code:not(.gn-embed *) { padding: 2px 6px; border-radius: 6px; background: var(--ref-paper); font-size: .9em; }

/* article rail: contents + tools ------------------------------------------------------------------- */
.gn-art__rail { display: grid; gap: 24px; }
.gn-art__rail nav ol { counter-reset: none; }
.gn-art__tools > p { font-size: 13px; font-weight: 800; color: #474A43; }
.gn-art__tools { display: grid; gap: 8px; }
.gn-art__tools > p { margin-bottom: 4px; }
.gn-doc__rail a.gn-art__tool { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; color: #0A0A0A; background: var(--ref-lime-50); transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s; }
.gn-doc__rail a.gn-art__tool:hover { background: var(--ref-lime-100); transform: translateY(-1px); }
.gn-art__tool-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--color-brand); color: var(--ref-lime); }
.gn-art__tool b { display: block; font-size: 15px; line-height: 20px; color: var(--color-brand); }
.gn-art__tool span span { display: block; font-size: 13px; line-height: 18px; color: #474A43; font-weight: 600; }
.gn-art__tool-ic .gn-ic { flex: none; }
@media (max-width: 1023px) { .gn-art__rail nav { display: none; } }

/* sources ------------------------------------------------------------------------------------------ */
.gn-art__sources { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--edge); }
.gn-art__sources h2 { font-size: 20px; line-height: 28px; margin-top: 24px; }
.gn-art__sources ul { list-style: none; padding: 0; gap: 6px; }
.gn-art__sources li { font-size: 16px; line-height: 24px; }
.gn-art__sources a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.gn-art__sources .gn-ic { flex: none; }
.gn-art__sources > p { font-size: 15px; line-height: 24px; color: #474A43; }

/* read next ---------------------------------------------------------------------------------------- */
.gn-art-next__h { font-size: clamp(28px, 1.6vw + 16px, 40px); }
.gn-art-next__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gn-art-next__list a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 56px 24px 24px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); text-decoration: none; color: #0A0A0A; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.gn-art-next__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gn-art-next__k { font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-art-next__list b { font-size: 19px; line-height: 26px; letter-spacing: -0.015em; }
.gn-art-next__list .gn-ic { position: absolute; right: 24px; top: 24px; color: var(--color-brand); }

/* blog index --------------------------------------------------------------------------------------- */
.gn-blog-hero h1 { max-width: 14ch; }
.gn-blog__lead { display: grid; gap: 14px; padding: clamp(28px, 4vw, 56px); border-radius: 36px; text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--ref-forest-700), var(--ref-forest) 55%, var(--ref-forest-900)); box-shadow: var(--shadow-lift); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.gn-blog__lead:hover { transform: translateY(-2px); }
.gn-blog__lead .gn-blog__k { color: var(--ref-lime); }
.gn-blog__t { font-size: clamp(30px, 2.4vw + 14px, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; max-width: 20ch; text-wrap: balance; }
.gn-blog__lead .gn-blog__d { max-width: 56ch; font-size: 18px; line-height: 28px; color: oklch(100% 0 0 / .82); }
.gn-blog__lead .gn-blog__m { display: inline-flex; align-items: center; gap: 10px; color: oklch(100% 0 0 / .82); }
.gn-blog__lead .gn-ic { color: var(--ref-lime); }
.gn-blog__k { font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--color-brand); }
.gn-blog__m { font-size: 14px; font-weight: 600; color: #474A43; }
.gn-blog__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.gn-blog__list a { display: grid; grid-template-columns: 180px 1fr; gap: 6px 32px; padding: 28px 8px; border-bottom: 1px solid var(--edge); text-decoration: none; color: #0A0A0A; }
.gn-blog__list a .gn-blog__k { grid-row: 1 / span 3; padding-top: 4px; }
.gn-blog__list b { font-size: 22px; line-height: 30px; letter-spacing: -0.02em; }
.gn-blog__list a:hover b { color: var(--color-brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.gn-blog__list .gn-blog__d { font-size: 17px; line-height: 27px; color: #2F3330; max-width: 64ch; }
@media (max-width: 767px) { .gn-blog__list a { grid-template-columns: 1fr; } .gn-blog__list a .gn-blog__k { grid-row: auto; } }
.gn-prose ol:not(.gn-embed *) { list-style: decimal; }
.gn-prose li:not(.gn-embed *) { padding-left: 4px; }
.gn-art__sources ul { list-style: none; padding-left: 0; }

/* ================================================================================================== */
/* homepage (S3)                                                                                      */
/* ================================================================================================== */

/* the kit forces sections to fixed screen heights and flex wraps: undo for every homepage section */
html main > section:is(.gn-wtop, .gn-tasks, .gn-wcv, .gn-wpr, .gn-wab, .gn-wblog, .gn-wco) { height: auto !important; min-height: 0 !important; display: block; }
html main > section:is(.gn-wtop, .gn-tasks, .gn-wcv, .gn-wpr, .gn-wab, .gn-wblog, .gn-wco) > .wrap { display: block; height: auto; }

/* hero ---------------------------------------------------------------------------------------------- */
html main > section.gn-wtop { position: relative; overflow: hidden; padding: calc(var(--nav) + 72px) 0 96px;
  background:
    radial-gradient(60% 70% at 88% 18%, oklch(97% 0.058 124 / .9), transparent 70%),
    linear-gradient(in oklch 180deg, var(--ref-lime-100), var(--ref-lime-50) 55%, var(--ground)); }
html main > section.gn-wtop > .wrap.gn-wtop__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.gn-wtop__copy { grid-column: 1 / span 6; }
.gn-wtop h1 { font-size: clamp(46px, 4.4vw + 10px, 88px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; color: #0A0A0A; }
.gn-wtop__line { display: block; }
.gn-wtop__line--rot { color: var(--color-brand); }
.gn-wtop__line--rot .gn-rot { display: grid; }
.gn-wtop__line--rot .gn-rot__word { white-space: nowrap; }
.gn-wtop__lead { margin-top: 28px; max-width: 46ch; font-size: 20px; line-height: 31px; color: #2F3330; text-wrap: pretty; }
.gn-wtop .btn-row { margin-top: 36px; align-items: center; gap: 28px; }
.gn-wtop__second { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--color-brand); text-decoration: none; }
.gn-wtop__second svg { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gn-wtop__second:hover svg { transform: translateX(3px); }

.gn-wtop__art { grid-column: 8 / span 5; position: relative; padding: 56px 0 40px 56px; }
.gn-wtop__panel { position: absolute; inset: 0 -24px 0 0; border-radius: 40px; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, var(--ref-forest-700), var(--ref-forest) 50%, var(--ref-forest-900));
  box-shadow: 0 40px 80px -48px oklch(25.5% 0.045 183 / .55); }
.gn-wtop__g { position: absolute; left: -18%; bottom: -22%; height: 96%; width: auto; }
.gn-wtop__g .gn-super__fill { fill: oklch(42.1% 0.072 182 / .55); }
.gn-wtop__g .gn-super__line { stroke: var(--ref-lime); stroke-width: 1.25px; opacity: .55; }

/* funds widget */
.gn-fw { position: relative; display: grid; gap: 18px; padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: 0 1px 2px oklch(25.5% 0.045 183 / .08), 0 36px 64px -32px oklch(15% 0.03 183 / .55); }
.gn-fw__k { font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--color-brand); }
.gn-fw__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--ref-paper); }
.gn-fw__seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gn-fw__seg label { position: relative; }
.gn-fw__seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gn-fw__seg span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #2F3330; transition: background-color .2s, color .2s, box-shadow .2s; }
.gn-fw__seg input:checked + span { background: var(--color-brand); color: #fff; box-shadow: 0 6px 14px -8px oklch(25.5% 0.045 183 / .6); }
.gn-fw__seg input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-fw__field { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: #2F3330; }
.gn-fw__money { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--ref-line); background: var(--surface); font-size: 22px; font-weight: 800; color: #0A0A0A; transition: border-color .2s, box-shadow .2s; }
.gn-fw__money:focus-within { border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--ref-lime-200); }
.gn-fw__money input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: inherit; letter-spacing: -0.01em; }
.gn-fw__out { display: grid; gap: 2px; padding: 20px 22px; border-radius: 20px; background: var(--ref-lime); }
.gn-fw__label { font-size: 14px; font-weight: 700; color: var(--ref-forest-900); }
.gn-fw__total { font-size: clamp(40px, 2.6vw + 14px, 54px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; color: var(--ref-forest-950); font-variant-numeric: tabular-nums; }
.gn-fw__sub { font-size: 15px; font-weight: 600; color: var(--ref-forest-900); }
.gn-fw__note { font-size: 14px; line-height: 21px; color: #474A43; }
.gn-fw__go { justify-self: start; }

@media (max-width: 1023px) {
  html main > section.gn-wtop > .wrap.gn-wtop__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .gn-wtop__copy, .gn-wtop__art { grid-column: 1 / -1; }
  .gn-wtop__art { max-width: 520px; padding: 40px 0 32px 40px; }
}
@media (max-width: 639px) {
  html main > section.gn-wtop { padding: calc(var(--nav) + 40px) 0 64px; }
  .gn-wtop__lead { font-size: 18px; line-height: 28px; }
  .gn-wtop .btn-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gn-wtop__art { padding: 24px 12px 20px; }
  .gn-wtop__panel { inset: 0 -16px; border-radius: 32px; }
  .gn-fw { padding: 22px; }
}

/* tasks --------------------------------------------------------------------------------------------- */
html main > section.gn-tasks { padding: 96px 0; background: var(--ground); }
html main > section.gn-tasks > .wrap.gn-tasks__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.gn-tasks__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav) + 40px); }
.gn-tasks__list { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.gn-tasks__list a { display: grid; grid-template-columns: 48px 1fr auto 20px; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--edge); text-decoration: none; color: #0A0A0A; transition: background-color .25s; border-radius: 0; }
.gn-tasks__list a:hover { background: linear-gradient(in oklch 90deg, var(--ref-lime-50), transparent); }
.gn-tasks__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ref-lime-100); color: var(--color-brand); }
.gn-tasks__t b { display: block; font-size: 20px; line-height: 27px; letter-spacing: -0.015em; }
.gn-tasks__t span { display: block; margin-top: 2px; font-size: 15px; line-height: 22px; font-weight: 600; color: #474A43; }
.gn-tasks__tag { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--ref-lime); color: var(--ref-forest-950); }
.gn-tasks__tag.is-acct { background: var(--ref-paper); color: #2F3330; }
.gn-tasks__go { color: var(--color-brand); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gn-tasks__list a:hover .gn-tasks__go { transform: translateX(4px); }
@media (max-width: 1023px) {
  .gn-tasks__head, .gn-tasks__list { grid-column: 1 / -1; position: static; }
}
@media (max-width: 639px) {
  html main > section.gn-tasks { padding: 64px 0; }
  .gn-tasks__list a { grid-template-columns: 40px 1fr 20px; gap: 14px; padding: 18px 4px; }
  .gn-tasks__ic { width: 40px; height: 40px; border-radius: 12px; }
  .gn-tasks__tag { grid-column: 2; grid-row: 2; justify-self: start; }
  .gn-tasks__go { grid-column: 3; grid-row: 1; }
  .gn-tasks__t b { font-size: 18px; line-height: 25px; }
}

/* cv builder ------------------------------------------------------------------------------------------ */
html main > section.gn-wcv { padding: 24px 0 96px; background: var(--ground); }
.gn-wcv__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 40px; background: linear-gradient(in oklch 160deg, var(--ref-paper-50), var(--ref-paper)); }
.gn-wcv__copy { grid-column: 1 / span 5; }
.gn-wcv__copy .gn-kicker { color: var(--color-brand); }
.gn-wcv .gn-h2 { color: #0A0A0A; max-width: 16ch; }
.gn-wcv__lead { margin-top: 20px; font-size: 18px; line-height: 29px; color: #2F3330; max-width: 44ch; }
.gn-wcv__points { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.gn-wcv__points li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; line-height: 24px; font-weight: 600; color: #1B2420; }
.gn-wcv__points svg { margin-top: 2px; color: var(--color-brand); }
.gn-wcv__vis { grid-column: 7 / span 6; position: relative; min-height: 440px; }
.gn-wcv__form { position: absolute; left: 0; top: 56px; z-index: 2; width: 52%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lift); }
.gn-wcv__fk { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-wcv__in { grid-column: 1 / -1; display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--ref-line); font-size: 14px; font-weight: 700; color: #0A0A0A; }
.gn-wcv__in--half { grid-column: auto; }
.gn-wcv__in i { font-style: normal; font-size: 11px; font-weight: 700; color: #5A5E57; }
.gn-wcv__in.is-focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--ref-lime-200); }
.gn-wcv__in em { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--color-brand); }
.gn-wcv__sheet { position: absolute; right: 0; top: 0; width: 64%; min-height: 440px; padding: 32px 30px; border-radius: 10px; background: var(--surface); box-shadow: 0 1px 2px oklch(25.5% 0.045 183 / .06), 0 40px 70px -40px oklch(25.5% 0.045 183 / .45); }
.gn-wcv__name { display: block; font-size: 24px; letter-spacing: -0.03em; font-weight: 800; color: #0A0A0A; }
.gn-wcv__meta { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: #5A5E57; }
.gn-wcv__h { display: block; margin-top: 20px; padding-bottom: 4px; border-bottom: 1.5px solid var(--color-brand); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--color-brand); }
.gn-wcv__sheet p { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; line-height: 17px; color: #0A0A0A; }
.gn-wcv__sheet p em { font-style: normal; color: #5A5E57; white-space: nowrap; }
.gn-wcv__sheet p.gn-wcv__sub { display: block; margin-top: 2px; color: #474A43; }
.gn-wcv__sheet mark { padding: 0 3px; border-radius: 4px; background: var(--ref-lime); color: var(--ref-forest-950); }
.gn-wcv__sheet i { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--ref-paper); }
.gn-wcv__sheet i.s { width: 62%; }
@media (max-width: 1023px) {
  .gn-wcv__copy, .gn-wcv__vis { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  html main > section.gn-wcv { padding: 8px 0 64px; }
  .gn-wcv__panel { border-radius: 32px; }
  .gn-wcv__vis { min-height: 400px; }
  .gn-wcv__sheet { width: 78%; min-height: 360px; padding: 22px 20px; }
  .gn-wcv__form { width: 72%; top: 150px; padding: 14px; }
}

/* practise ------------------------------------------------------------------------------------------- */
html main > section.gn-wpr { padding: 0 0 96px; background: var(--ground); }
.gn-wpr__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) 0; border-radius: 40px; color: #fff;
  background: radial-gradient(90% 120% at 85% 100%, var(--ref-forest-700), var(--ref-forest) 55%, var(--ref-forest-900)); }
.gn-wpr__copy { grid-column: 1 / span 6; padding-bottom: clamp(32px, 5vw, 72px); }
.gn-wpr .gn-h2 { color: #fff; max-width: 15ch; }
.gn-wpr__lead { margin-top: 20px; max-width: 46ch; font-size: 18px; line-height: 29px; color: oklch(100% 0 0 / .84); }
.gn-wpr__list { list-style: none; margin: 28px 0 32px; padding: 0; border-top: 1px solid oklch(100% 0 0 / .14); }
.gn-wpr__list a { display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid oklch(100% 0 0 / .14); color: #fff; text-decoration: none; }
.gn-wpr__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: oklch(100% 0 0 / .08); color: var(--ref-lime); }
.gn-wpr__list b { display: block; font-size: 17px; line-height: 24px; }
.gn-wpr__list span span { display: block; font-size: 14px; line-height: 21px; color: oklch(100% 0 0 / .72); }
.gn-wpr__go { color: var(--ref-lime); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gn-wpr__list a:hover .gn-wpr__go { transform: translateX(4px); }
.gn-wpr .btn-row { align-items: center; gap: 24px; }
.gn-wpr__in { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: oklch(100% 0 0 / .4); }
.gn-wpr :focus-visible { outline-color: var(--ref-lime); }
.gn-wpr__vis { grid-column: 8 / span 5; display: flex; justify-content: center; }
@media (max-width: 1023px) {
  .gn-wpr__copy, .gn-wpr__vis { grid-column: 1 / -1; }
  .gn-wpr__copy { padding-bottom: 8px; }
}
@media (max-width: 639px) { html main > section.gn-wpr { padding-bottom: 64px; } .gn-wpr__panel { border-radius: 32px; } }

/* study abroad --------------------------------------------------------------------------------------- */
html main > section.gn-wab { padding: 0 0 96px; background: var(--ground); }
.gn-wab__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.gn-wab__head .gn-link { margin-top: 0; }
.gn-wab__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.gn-wab__uk { grid-column: 1 / span 7; position: relative; display: block; min-height: 520px; border-radius: 36px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow-lift); }
.gn-wab__uk > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.gn-wab__uk:hover > img { transform: scale(1.03); }
.gn-wab__uk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(in oklch 180deg, transparent 30%, oklch(25.5% 0.045 183 / .88)); }
.gn-wab__ukc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: 32px; }
.gn-wab__flag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.gn-wab__flag img { border-radius: 50%; }
.gn-wab__ukc b { font-size: clamp(28px, 1.8vw + 14px, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.gn-wab__ukc > span:last-child { max-width: 46ch; font-size: 17px; line-height: 26px; color: oklch(100% 0 0 / .86); }
.gn-wab__side { grid-column: 8 / span 5; display: grid; gap: 24px; align-content: start; }
.gn-wab__steps { list-style: none; counter-reset: st; margin: 0; padding: 8px 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-wab__steps li { counter-increment: st; display: grid; grid-template-columns: 32px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--edge); }
.gn-wab__steps li:last-child { border-bottom: 0; }
.gn-wab__steps li::before { content: counter(st); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ref-lime-100); font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-wab__steps b { font-size: 17px; line-height: 24px; }
.gn-wab__steps span { font-size: 15px; line-height: 22px; color: #474A43; }
.gn-wab__more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gn-wab__more a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); text-decoration: none; color: #0A0A0A; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.gn-wab__more a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gn-wab__more img { border-radius: 50%; }
.gn-wab__more b { flex: 1; font-size: 15px; }
.gn-wab__more svg { color: var(--color-brand); }
@media (max-width: 1023px) { .gn-wab__uk, .gn-wab__side { grid-column: 1 / -1; } .gn-wab__uk { min-height: 420px; } }
@media (max-width: 639px) { html main > section.gn-wab { padding-bottom: 64px; } .gn-wab__uk { min-height: 380px; border-radius: 28px; } .gn-wab__ukc { padding: 24px; } .gn-wab__more { grid-template-columns: 1fr; } }

/* blog ------------------------------------------------------------------------------------------------ */
html main > section.gn-wblog { padding: 0 0 96px; background: var(--ground); }
.gn-wblog__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gn-wblog__list a { display: grid; gap: 10px; align-content: start; height: 100%; padding: 28px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-soft); text-decoration: none; color: #0A0A0A; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.gn-wblog__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gn-wblog__list b { font-size: 21px; line-height: 28px; letter-spacing: -0.02em; }

/* counsellor ------------------------------------------------------------------------------------------ */
html main > section.gn-wco { padding: 0 0 112px; background: var(--ground); }
html main > section.gn-wco > .wrap.gn-wco__wrap { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 24px; padding-top: 40px; border-top: 1px solid var(--edge); }
.gn-wco__ic { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--ref-lime-100); color: var(--color-brand); box-sizing: border-box; }
.gn-wco h2 { font-size: 22px; line-height: 30px; letter-spacing: -0.02em; font-weight: 800; }
.gn-wco p { margin-top: 4px; max-width: 64ch; font-size: 16px; line-height: 25px; color: #474A43; }
.gn-wco .gn-link { margin-top: 0; }
@media (max-width: 767px) { html main > section.gn-wco > .wrap.gn-wco__wrap { grid-template-columns: 1fr; gap: 12px; } html main > section.gn-wco { padding-bottom: 72px; } }

/* S3 pass 2: the G frames the widget (head above it, curve beside it); the CV form overlaps the sheet less */
.gn-wtop__art { padding: 132px 0 44px 88px; }
.gn-wtop__g { left: -16%; top: -3%; bottom: auto; height: 108%; }
.gn-wtop__g .gn-super__fill { fill: oklch(42.1% 0.072 182 / .7); }
.gn-wtop__g .gn-super__line { opacity: .7; }
.gn-wcv__form { width: 44%; top: 132px; }
.gn-wcv__sheet { width: 62%; }
@media (max-width: 1023px) { .gn-wtop__art { padding: 112px 0 32px 72px; } }
@media (max-width: 639px) {
  .gn-wtop__art { padding: 96px 12px 20px; }
  .gn-wtop__g { left: -30%; height: 92%; }
  .gn-wcv__form { width: 66%; top: 170px; }
  .gn-wcv__sheet { width: 80%; }
}
.gn-wcv__form { width: 40%; }
@media (max-width: 639px) {
  .gn-wcv__vis { min-height: 0; display: grid; }
  .gn-wcv__sheet { position: relative; width: 100%; min-height: 0; }
  .gn-wcv__form { position: relative; top: auto; width: 86%; margin-top: -48px; justify-self: end; }
}
.gn-fw { grid-template-columns: minmax(0, 1fr); }
.gn-fw > * { min-width: 0; }
.gn-fw__money input { width: 100%; }
@media (max-width: 639px) {
  .gn-wtop h1 { font-size: min(46px, 10.2vw); }
  .gn-wcv__vis { margin-top: 32px; }
  .gn-wcv__form { order: 2; }
}
.gn-fw__seg span { white-space: nowrap; }
@media (max-width: 639px) { .gn-fw__seg span { padding: 0 8px; font-size: 14px; } }

/* ================================================================================================== */
/* funds calculator (S4)                                                                              */
/* ================================================================================================== */
html main > section:is(.gn-fc, .gn-fc-ex, .gn-fc-28, .gn-fc-ev, .gn-fc-faq, .gn-fc-src) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); }
html main > section:is(.gn-fc, .gn-fc-ex, .gn-fc-28, .gn-fc-ev, .gn-fc-faq, .gn-fc-src) > .wrap { display: block; height: auto; }
.gn-fc-hero h1 { max-width: 20ch; }
.gn-fc-checked { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 700; color: var(--color-brand); }

html main > section.gn-fc { padding: 16px 0 96px; }
html main > section.gn-fc > .wrap.gn-fc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.gn-fc__form { grid-column: 1 / span 7; display: grid; gap: 16px; }
.gn-fc__group { margin: 0; padding: 24px 28px 28px; border: 0; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); display: grid; gap: 18px; min-width: 0; }
.gn-fc__group legend { float: left; width: 100%; padding: 0; font-size: 18px; line-height: 26px; font-weight: 800; letter-spacing: -0.01em; color: #0A0A0A; }
.gn-fc__group legend + * { clear: both; }
.gn-fc__seg { max-width: 420px; }
.gn-fc__hint { font-size: 14px; line-height: 21px; color: #474A43; }
.gn-fc__field { display: grid; gap: 8px; min-width: 0; font-size: 15px; font-weight: 700; color: #1B2420; }
.gn-fc__field small { font-size: 14px; line-height: 20px; font-weight: 500; color: #474A43; }
.gn-fc__field .gn-fw__money { height: 52px; font-size: 19px; }
.gn-fc__field select, .gn-fc__date, .gn-fc__fxrow input { height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--ref-line); background: var(--surface); font: inherit; font-size: 17px; font-weight: 700; color: #0A0A0A; min-width: 0; }
.gn-fc__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2300463E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.gn-fc__field select:focus, .gn-fc__date:focus, .gn-fc__fxrow input:focus { outline: 0; border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--ref-lime-200); }
.gn-fc__step { display: inline-grid; grid-template-columns: 48px 64px 48px; align-items: center; justify-self: start; height: 52px; border-radius: 16px; border: 1.5px solid var(--ref-line); overflow: hidden; }
.gn-fc__step button { height: 100%; border: 0; background: var(--ref-paper); font: inherit; font-size: 22px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-fc__step button:hover { background: var(--ref-lime-100); }
.gn-fc__step input { height: 100%; border: 0; text-align: center; font: inherit; font-size: 18px; font-weight: 800; min-width: 0; }
.gn-fc__fx summary { cursor: pointer; font-size: 17px; font-weight: 800; color: var(--color-brand); list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.gn-fc__fx summary::after { content: '+'; font-size: 24px; font-weight: 600; }
.gn-fc__fx[open] summary::after { content: '−'; }
.gn-fc__fx summary::-webkit-details-marker { display: none; }
.gn-fc__fx > small { font-size: 14px; line-height: 20px; color: #474A43; }
.gn-fc__fxrow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }

.gn-fc__res { grid-column: 8 / span 5; position: sticky; top: calc(var(--nav) + 24px); display: grid; gap: 12px; }
.gn-fc__card { display: grid; gap: 16px; padding: 28px; border-radius: 32px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, var(--ref-forest-700), var(--ref-forest) 55%, var(--ref-forest-900)); box-shadow: 0 40px 80px -48px oklch(25.5% 0.045 183 / .6); }
.gn-fc__rk { font-size: 15px; font-weight: 700; color: oklch(100% 0 0 / .8); }
.gn-fc__total { margin-top: -8px; font-size: clamp(48px, 3.4vw + 14px, 68px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; color: var(--ref-lime); font-variant-numeric: tabular-nums; }
.gn-fc__fxout { font-size: 16px; font-weight: 700; color: #fff; }
.gn-fc__lines { margin: 0; display: grid; border-top: 1px solid oklch(100% 0 0 / .16); }
.gn-fc__lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid oklch(100% 0 0 / .16); font-size: 15px; line-height: 22px; }
.gn-fc__lines > div[hidden] { display: none; }
.gn-fc__lines dt { color: oklch(100% 0 0 / .86); }
.gn-fc__lines dt span { display: block; font-size: 13px; color: oklch(100% 0 0 / .64); }
.gn-fc__lines dd { margin: 0; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gn-fc__window { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 16px; border-radius: 18px; background: oklch(100% 0 0 / .08); font-size: 15px; line-height: 23px; color: oklch(100% 0 0 / .9); }
.gn-fc__window .gn-ic { color: var(--ref-lime); margin-top: 2px; }
.gn-fc__window b { color: #fff; }
.gn-fc__rates { font-size: 13px; color: oklch(100% 0 0 / .66); }
.gn-fc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gn-fc__card :focus-visible { outline-color: var(--ref-lime); }
.gn-fc__copied { font-size: 14px; font-weight: 700; color: var(--ref-lime); }
.gn-fc__nojs { font-size: 14px; color: #fff; }
.gn-fc__aside { padding: 0 8px; font-size: 13px; line-height: 20px; color: #474A43; }
@media (max-width: 1023px) {
  .gn-fc__form, .gn-fc__res { grid-column: 1 / -1; }
  .gn-fc__res { position: static; order: -1; }
}
@media (max-width: 639px) {
  .gn-fc__group { padding: 20px; border-radius: 24px; }
  .gn-fc__card { padding: 22px; border-radius: 26px; }
  .gn-fc__fxrow { grid-template-columns: 1fr; }
}

/* how it's worked out */
html main > section.gn-fc-ex { padding: 0 0 96px; }
html main > section.gn-fc-ex > .wrap.gn-fc-ex__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 24px; }
.gn-fc-ex__head { grid-column: 1 / span 4; }
.gn-fc-ex__parts { grid-column: 6 / span 7; display: grid; gap: 0; border-top: 1px solid var(--edge); }
.gn-fc-ex__parts article { display: grid; grid-template-columns: 48px 1fr; gap: 4px 20px; padding: 24px 0; border-bottom: 1px solid var(--edge); }
.gn-fc-ex__ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ref-lime-100); color: var(--color-brand); }
.gn-fc-ex__parts h3 { font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -0.015em; }
.gn-fc-ex__parts p { font-size: 17px; line-height: 27px; color: #2F3330; }
.gn-fc-ex__change { grid-column: 6 / span 7; display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--ref-lime-50); border: 1px solid var(--ref-lime-200); font-size: 16px; line-height: 25px; color: #1B2420; }
.gn-fc-ex__change .gn-ic { color: var(--color-brand); margin-top: 2px; }
@media (max-width: 1023px) { .gn-fc-ex__head, .gn-fc-ex__parts, .gn-fc-ex__change { grid-column: 1 / -1; } }

/* 28-day rule */
html main > section.gn-fc-28 { padding: 0 0 96px; }
.gn-fc-28__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 40px; background: linear-gradient(in oklch 135deg, var(--ref-lime-100), var(--ref-lime-50)); }
.gn-fc-28__copy { grid-column: 1 / span 5; }
.gn-fc-28__copy p { margin-top: 16px; font-size: 18px; line-height: 29px; color: #1B2420; max-width: 46ch; }
.gn-fc-28__bar { grid-column: 7 / span 6; display: grid; grid-template-columns: 28fr 13fr; gap: 6px; }
.gn-fc-28__hold, .gn-fc-28__gap { display: flex; align-items: center; min-height: 72px; padding: 0 18px; font-size: 15px; font-weight: 800; }
.gn-fc-28__hold { border-radius: 20px 6px 6px 20px; background: var(--color-brand); color: var(--ref-lime); }
.gn-fc-28__gap { border-radius: 6px 20px 20px 6px; background: repeating-linear-gradient(135deg, oklch(100% 0 0 / .9) 0 8px, oklch(100% 0 0 / .55) 8px 16px); color: var(--color-brand); box-shadow: inset 0 0 0 1.5px oklch(29.9% 0.053 183 / .15); }
.gn-fc-28__ticks { grid-column: 1 / -1; display: grid; grid-template-columns: 28fr 13fr; position: relative; font-size: 13px; font-weight: 700; color: #474A43; }
.gn-fc-28__ticks span:nth-child(2) { position: absolute; left: calc(28 / 41 * 100% - 6px); transform: translateX(-50%); white-space: nowrap; }
.gn-fc-28__ticks span:nth-child(3) { grid-column: 2; justify-self: end; }
@media (max-width: 1023px) { .gn-fc-28__copy, .gn-fc-28__bar { grid-column: 1 / -1; } }
@media (max-width: 639px) { .gn-fc-28__panel { border-radius: 32px; } .gn-fc-28__hold, .gn-fc-28__gap { padding: 0 12px; font-size: 13px; min-height: 64px; } .gn-fc-28__ticks span:nth-child(2) { display: none; } }

/* evidence */
html main > section.gn-fc-ev { padding: 0 0 96px; }
html main > section.gn-fc-ev > .wrap.gn-fc-ev__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.gn-fc-ev__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.gn-fc-ev__list li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; font-size: 17px; line-height: 27px; color: #2F3330; }
.gn-fc-ev__list .gn-ic { margin-top: 4px; color: var(--color-brand); }
.gn-fc-ev__list b { color: #0A0A0A; }
.gn-fc-ev__no { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 16px; font-weight: 700; color: #474A43; }
.gn-fc-ev__aside { padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-fc-ev__aside h3 { font-size: 20px; line-height: 28px; font-weight: 800; }
.gn-fc-ev__aside p { margin-top: 12px; font-size: 16px; line-height: 25px; color: #2F3330; }
@media (max-width: 1023px) { html main > section.gn-fc-ev > .wrap.gn-fc-ev__grid { grid-template-columns: 1fr; gap: 32px; } }

/* faq + sources */
html main > section.gn-fc-faq { padding: 0 0 80px; }
html main > section.gn-fc-faq > .wrap.gn-fc-faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 48px; align-items: start; }
.gn-fc-faq__list { border-top: 1px solid var(--edge); }
.gn-fc-faq__list details { border-bottom: 1px solid var(--edge); }
.gn-fc-faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 26px; font-weight: 800; color: #0A0A0A; }
.gn-fc-faq__list summary::-webkit-details-marker { display: none; }
.gn-fc-faq__list summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ref-lime-100); color: var(--color-brand); font-size: 20px; font-weight: 700; }
.gn-fc-faq__list details[open] summary::after { content: '−'; }
.gn-fc-faq__list p { padding: 0 48px 20px 0; font-size: 17px; line-height: 27px; color: #2F3330; }
@media (max-width: 1023px) { html main > section.gn-fc-faq > .wrap.gn-fc-faq__grid { grid-template-columns: 1fr; } }
html main > section.gn-fc-src { padding: 0 0 96px; }
.gn-fc-src__h { font-size: 18px; font-weight: 800; }
.gn-fc-src__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.gn-fc-src__list a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 15px; font-weight: 700; color: var(--color-brand); text-decoration: none; }
.gn-fc-src__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gn-fc-ex__change[hidden] { display: none; }

/* ================================================================================================== */
/* CV builder (S5)                                                                                    */
/* ================================================================================================== */
html main > section:is(.gn-cvb) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); padding: 8px 0 96px; }
html main > section.gn-cvb > .wrap { display: block; height: auto; }
.gn-cvb-hero__wrap { display: grid !important; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.gn-cvb-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gn-cvb-hero__facts li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 15px; font-weight: 700; color: #1B2420; }
.gn-cvb-hero__facts .gn-ic { color: var(--color-brand); }
@media (max-width: 1023px) { .gn-cvb-hero__wrap { grid-template-columns: 1fr; } .gn-cvb-hero__facts { display: flex; flex-wrap: wrap; } }

.gn-cvb__bar { position: sticky; top: calc(var(--nav) + 12px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border-radius: 999px; background: oklch(100% 0 0 / .86); backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); }
.gn-cvb__bar .btn { gap: 8px; }
.gn-cvb__tb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; transition: background-color .2s; }
.gn-cvb__tb:hover { background: var(--ref-lime-50); }
.gn-cvb__tb:focus-within { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-cvb__tb--quiet { color: #474A43; }
.gn-cvb__status { margin-left: auto; padding-right: 12px; font-size: 14px; font-weight: 700; color: var(--color-brand); }

.gn-cvb__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 20px; align-items: start; }
.gn-cvb__editor { display: grid; gap: 12px; }
.gn-cvb__nojs { padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-cvb__sec { border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-cvb__sec summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; color: #0A0A0A; }
.gn-cvb__sec summary::-webkit-details-marker { display: none; }
.gn-cvb__sec summary::after { content: ''; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.gn-cvb__sec[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.gn-cvb__count:not(:empty) { padding: 2px 9px; border-radius: 999px; background: var(--ref-lime); font-size: 13px; color: var(--ref-forest-950); }
.gn-cvb__body { display: grid; gap: 16px; padding: 4px 24px 24px; }
.gn-cvb__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gn-cvb__f { grid-column: 1 / -1; display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #1B2420; min-width: 0; }
.gn-cvb__f.is-half { grid-column: auto; }
.gn-cvb__f input, .gn-cvb__f textarea { width: 100%; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--ref-line); background: var(--surface); font: inherit; font-size: 16px; font-weight: 600; color: #0A0A0A; }
.gn-cvb__f textarea { resize: vertical; line-height: 24px; min-height: 84px; }
.gn-cvb__f input::placeholder, .gn-cvb__f textarea::placeholder { color: #8A8D85; font-weight: 500; }
.gn-cvb__f input:focus, .gn-cvb__f textarea:focus { outline: 0; border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--ref-lime-200); }
.gn-cvb__item { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--ref-paper-50); border: 1px solid var(--edge); }
.gn-cvb__itemhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gn-cvb__itemhead b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gn-cvb__itemacts { display: flex; gap: 4px; flex: none; }
.gn-cvb__itemacts button { min-width: 36px; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--surface); font: inherit; font-size: 13px; font-weight: 700; color: var(--color-brand); cursor: pointer; box-shadow: inset 0 0 0 1px var(--edge); }
.gn-cvb__itemacts button:disabled { opacity: .35; cursor: default; }
.gn-cvb__itemacts button:not(:disabled):hover { background: var(--ref-lime-50); }
.gn-cvb__add { justify-self: start; min-height: 44px; padding: 0 18px; border: 1.5px dashed oklch(42.1% 0.072 182 / .45); border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cvb__add:hover { background: var(--ref-lime-50); border-style: solid; }

.gn-cvb__preview { position: sticky; top: calc(var(--nav) + 88px); padding: 20px; border-radius: 28px; background: linear-gradient(in oklch 160deg, var(--ref-paper), var(--ref-paper-50)); }
.gn-cvb__plabel { margin: 0 0 12px 4px; font-size: 13px; font-weight: 800; color: #474A43; }
@media (max-width: 1023px) {
  .gn-cvb__grid { grid-template-columns: 1fr; }
  .gn-cvb__preview { position: static; }
  .gn-cvb__bar { border-radius: 24px; }
  .gn-cvb__status { width: 100%; margin: 0; padding: 0 12px 4px; }
}
@media (max-width: 639px) { .gn-cvb__fields { grid-template-columns: 1fr; } .gn-cvb__f.is-half { grid-column: 1 / -1; } .gn-cvb__body { padding: 4px 16px 18px; } .gn-cvb__preview { padding: 12px; border-radius: 22px; } }

/* the CV sheet: screen and print share one design ---------------------------------------------------- */
.cv-sheet { min-height: 600px; padding: 44px 48px; border-radius: 6px; background: #fff; color: #111; font-size: 13px; line-height: 1.5; box-shadow: 0 1px 2px oklch(25.5% 0.045 183 / .06), 0 30px 60px -36px oklch(25.5% 0.045 183 / .4); }
.cv-h h1 { font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: #0A0A0A; }
.cv-ph { color: #B4B7AE; }
.cv-head { margin-top: 4px; font-size: 14px; font-weight: 700; color: #00463E; }
.cv-contact { margin-top: 6px; font-size: 12px; color: #474A43; }
.cv-s { margin-top: 18px; }
.cv-s h2 { padding-bottom: 4px; margin-bottom: 8px; border-bottom: 1.5px solid #00463E; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #00463E; }
.cv-e + .cv-e { margin-top: 10px; }
.cv-r { display: flex; justify-content: space-between; gap: 12px; }
.cv-r > span { flex: none; color: #474A43; font-size: 12px; }
.cv-r b { font-weight: 700; }
.cv-sub { color: #2F3330; }
.cv-sub.cv-r > span:last-child { color: #2F3330; font-weight: 600; }
.cv-e ul { margin: 4px 0 0; padding-left: 16px; list-style: disc; }
.cv-e li { margin-top: 2px; }
.cv-p { margin-top: 2px; }
.cv-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.cv-refs div { display: grid; }
.cv-refs span { font-size: 12px; color: #474A43; }
.cv-e, .cv-refs div { break-inside: avoid; }
@media (max-width: 639px) { .cv-sheet { padding: 24px 20px; min-height: 420px; font-size: 12px; } .cv-h h1 { font-size: 22px; } .cv-refs { grid-template-columns: 1fr; } }

@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; }
  body:has(.cv-sheet) header.nav, body:has(.cv-sheet) footer, body:has(.cv-sheet) main > section:not(.gn-cvb), body:has(.cv-sheet) .gn-cvb__bar, body:has(.cv-sheet) .gn-cvb__editor, body:has(.cv-sheet) .gn-cvb__plabel { display: none !important; }
  html main > section.gn-cvb { padding: 0 !important; }
  .gn-cvb .wrap, .gn-cvb__grid, .gn-cvb__preview { display: block !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: none !important; position: static !important; }
  .cv-sheet { padding: 0; min-height: 0; border-radius: 0; box-shadow: none; font-size: 10.5pt; }
  .cv-h h1 { font-size: 22pt; }
  .cv-s h2, .cv-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* account tool pages (S6) */
.gn-go__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.gn-go__in { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor; }
.gn-go--forest .gn-go__in { color: #fff; }

/* tools index (S6) */
.gn-tl-hero h1 { max-width: 16ch; }
.gn-tl-h { margin-bottom: 20px; font-size: 15px; font-weight: 800; letter-spacing: .01em; color: var(--color-brand); }
.gn-tl-h--center { margin-bottom: 8px; text-align: center; }
html main > section.gn-tl-free { padding-top: 16px; }
.gn-tl-fund { display: grid; gap: 4px; align-self: end; width: 100%; max-width: 320px; padding: 22px; border-radius: 22px; background: #fff; color: #0A0A0A; box-shadow: 0 30px 60px -34px oklch(15% 0.03 183 / .6); }
.gn-tl-fund__k { font-size: 13px; font-weight: 700; color: #474A43; }
.gn-tl-fund b { margin-top: 4px; font-size: 40px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; color: var(--ref-forest-950); }
.gn-tl-fund__s { font-size: 13px; font-weight: 600; color: var(--color-brand); }
.gn-tl-fund__l { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--edge); font-size: 14px; }
.gn-tl-fund__l + .gn-tl-fund__l { margin-top: 0; }
.gn-tl-fund__l i { font-style: normal; color: #474A43; }
.gn-tl-fund__l em { font-style: normal; font-weight: 800; }
.gn-tl-acct { display: grid; align-content: center; gap: 16px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-tl-acct h3 { font-size: clamp(26px, 1.4vw + 14px, 34px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; color: #0A0A0A; }
.gn-tl-acct p { font-size: 17px; line-height: 27px; color: #2F3330; max-width: 40ch; }
.gn-tl-acct .gn-go__in { color: var(--color-brand); }
.gn-others { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }

/* study abroad hub (S7) */
html main > section:is(.gn-sa, .gn-sa-dest) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); }
html main > section:is(.gn-sa, .gn-sa-dest) > .wrap { display: block; height: auto; }
.gn-sa-hero h1 { max-width: 18ch; }
html main > section.gn-sa { padding: 16px 0 96px; }
.gn-sa__list { list-style: none; margin: 0; padding: 0; position: relative; }
.gn-sa__list::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(in oklch 180deg, var(--ref-lime-200), var(--color-brand)); }
.gn-sa__stage { position: relative; display: grid; grid-template-columns: 56px 160px minmax(0, 1fr); gap: 0 28px; align-items: start; padding: 28px 0; }
.gn-sa__stage + .gn-sa__stage { border-top: 1px solid var(--edge); }
.gn-sa__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--color-brand); box-shadow: 0 0 0 6px var(--ground), var(--shadow-soft); }
.gn-sa__t { padding-top: 14px; font-size: 15px; font-weight: 800; letter-spacing: .01em; color: var(--color-brand); }
.gn-sa__body h2 { padding-top: 8px; font-size: clamp(22px, 1vw + 16px, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 800; color: #0A0A0A; max-width: 30ch; }
.gn-sa__body p { margin-top: 10px; max-width: 62ch; font-size: 17px; line-height: 27px; color: #2F3330; }
.gn-sa__body .gn-link { margin-top: 14px; }
@media (max-width: 767px) {
  .gn-sa__stage { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; }
  .gn-sa__t { padding-top: 16px; }
  .gn-sa__body { grid-column: 2; }
}
.gn-sa-dest__list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.gn-sa-dest__list a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); color: #0A0A0A; text-decoration: none; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.gn-sa-dest__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gn-sa-dest__list img { border-radius: 50%; }
.gn-sa-dest__list b { display: block; font-size: 17px; }
.gn-sa-dest__list span span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 14px; line-height: 20px; color: #474A43; }
.gn-sa-dest__list .gn-ic { color: var(--color-brand); }
@media (max-width: 1023px) { .gn-sa-dest__list { grid-column: 1 / -1; } }

/* contact, about, 404 (S9) */
.gn-d3.gn-d3--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .gn-d3.gn-d3--two { grid-template-columns: 1fr; } }
.gn-wabout__wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 48px; }
.gn-wabout__mark .gn-super { width: 100%; height: auto; max-height: 320px; }
.gn-wabout__mark .gn-super__fill { fill: var(--color-brand); }
.gn-wabout__mark .gn-super__line { stroke: var(--color-brand); opacity: .35; }
@media (max-width: 767px) { .gn-wabout__wrap { grid-template-columns: 1fr; } .gn-wabout__mark { width: 140px; } }
html main > section:is(.gn-wabout) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); padding: 24px 0 64px; }
.gn-404 h1 { max-width: 16ch; }
.gn-404 .gn-doc-hero__lead a { color: var(--color-brand); font-weight: 700; }
.gn-404__links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gn-404__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-weight: 700; color: var(--color-brand); text-decoration: none; }
html main > section.gn-404 { min-height: 70vh !important; }
/* v2 S0: the CV action bar is never sticky below desktop (it stacked to five rows over the fields) */
@media (max-width: 1023px) { .gn-cvb__bar { position: static; } }

/* destination cards (v2 S1): five at equal weight */
.gn-dest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gn-dest a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.gn-dest a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gn-dest a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gn-dest a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(in oklch 180deg, transparent 38%, oklch(25.5% 0.045 183 / .9)); }
.gn-dest__c { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 18px; }
.gn-dest__n { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.gn-dest__n img { border-radius: 50%; flex: none; }
.gn-dest__l { font-size: 13px; line-height: 18px; color: oklch(100% 0 0 / .84); }
@media (max-width: 1023px) {
  .gn-dest { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut, 24px) * -1); padding: 4px var(--gut, 24px) 12px; scroll-padding-inline: var(--gut, 24px); }
  .gn-dest::-webkit-scrollbar { display: none; }
  .gn-dest li { flex: 0 0 min(64vw, 240px); scroll-snap-align: start; }
}
.gn-sa-dest__cards { margin-top: 32px; }

/* ================================================================================================== */
/* v2 S2: hero with the destination switch                                                            */
/* ================================================================================================== */
.gn-wtop--v2 h1 { font-size: clamp(48px, 5vw + 8px, 96px); line-height: .98; letter-spacing: -0.05em; max-width: 8ch; }
.gn-wtop--v2 .gn-wtop__lead { max-width: 40ch; }
.gn-wtop--v2 .gn-wtop__art { padding: 120px 0 40px 72px; }

.gn-sw2 { position: relative; display: grid; gap: 14px; padding: 18px; border-radius: 28px; background: var(--surface);
  box-shadow: 0 1px 2px oklch(25.5% 0.045 183 / .08), 0 36px 64px -32px oklch(15% 0.03 183 / .55); }
.gn-sw2__tabs { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.gn-sw2__tabs legend { float: left; width: 100%; margin: 4px 0 8px 4px; padding: 0; font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-sw2__tabs label { position: relative; }
.gn-sw2__tabs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gn-sw2__tabs span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px 0 9px; border-radius: 999px; background: var(--ref-paper); font-size: 14px; font-weight: 700; color: #2F3330; white-space: nowrap; transition: background-color .2s, color .2s; }
.gn-sw2__tabs span img { border-radius: 50%; }
.gn-sw2__tabs input:checked + span { background: var(--color-brand); color: #fff; }
.gn-sw2__tabs input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-sw2__panel { display: none; }
.gn-sw2:has(#dest-us:checked) [data-p="us"], .gn-sw2:has(#dest-au:checked) [data-p="au"],
.gn-sw2:has(#dest-uk:checked) [data-p="uk"], .gn-sw2:has(#dest-ca:checked) [data-p="ca"] { display: block; }
.gn-sw2__panel ul { list-style: none; margin: 0; padding: 0; }
.gn-sw2__panel li + li { border-top: 1px solid var(--edge); }
.gn-sw2__panel li a { display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 14px; padding: 13px 6px; text-decoration: none; color: #0A0A0A; border-radius: 14px; transition: background-color .2s; }
.gn-sw2__panel li a:hover { background: var(--ref-lime-50); }
.gn-sw2__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ref-lime-100); color: var(--color-brand); }
.gn-sw2__t > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--color-brand); }
.gn-sw2__t b { display: block; margin-top: 1px; font-size: 15px; line-height: 21px; font-weight: 700; }
.gn-sw2__go { color: var(--color-brand); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gn-sw2__panel li a:hover .gn-sw2__go { transform: translateX(3px); }
.gn-sw2__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 6px 0 0 6px; font-size: 15px; font-weight: 700; color: var(--color-brand); text-decoration: none; }
/* no :has() support: show the first country so the card is never empty */
@supports not selector(:has(*)) { .gn-sw2__panel[data-p="us"] { display: block; } .gn-sw2__tabs { display: none; } }

@media (max-width: 1023px) {
  .gn-wtop--v2 .gn-wtop__art { max-width: 560px; padding: 64px 0 28px 40px; }
}
/* phone: headline, one line of copy, the button and the country switch all on the first screen (390 x 844) */
@media (max-width: 639px) {
  html main > section.gn-wtop.gn-wtop--v2 { padding: calc(var(--nav) + 24px) 0 48px; }
  html main > section.gn-wtop--v2 > .wrap.gn-wtop__grid { gap: 22px; }
  .gn-wtop--v2 h1 { font-size: min(52px, 13vw); max-width: none; }
  .gn-wtop--v2 .gn-wtop__lead { margin-top: 12px; font-size: 17px; line-height: 25px; }
  .gn-wtop--v2 .btn-row { margin-top: 18px; flex-direction: row; align-items: center; gap: 16px; }
  .gn-wtop--v2 .gn-wtop__second { display: none; }
  .gn-wtop--v2 .gn-wtop__art { padding: 28px 10px 14px; }
  .gn-wtop--v2 .gn-wtop__g { left: auto; right: -30%; top: -6%; height: 70%; }
  .gn-sw2 { padding: 14px; border-radius: 24px; }
  .gn-sw2__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
  .gn-sw2__tabs::-webkit-scrollbar { display: none; }
  .gn-sw2__tabs legend { margin-left: 0; }
  .gn-sw2__panel li a { grid-template-columns: 36px 1fr 16px; gap: 12px; padding: 12px 2px; }
  .gn-sw2__ic { width: 36px; height: 36px; }
}
.gn-sw2__tabs { display: block; }
.gn-sw2__row { display: flex; flex-wrap: wrap; gap: 6px; }
.gn-sw2__row label { flex: none; }
@media (max-width: 639px) {
  .gn-sw2__tabs { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .gn-sw2__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding: 0 14px 2px; scroll-padding-inline: 14px; }
  .gn-sw2__row::-webkit-scrollbar { display: none; }
}
.gn-sw2__row { clear: both; }

/* ================================================================================================== */
/* v2 S3: cost and funds calculator                                                                   */
/* ================================================================================================== */
html main > section.gn-cc-sec { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); padding: 8px 0 96px; }
html main > section.gn-cc-sec > .wrap { display: block; height: auto; }
.gn-cc-hero h1 { max-width: 22ch; }
.gn-cc__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gn-cc__tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-weight: 700; color: #1B2420; text-decoration: none; }
.gn-cc__tabs a img { border-radius: 50%; }
.gn-cc__tabs a[aria-current="page"] { background: var(--color-brand); color: #fff; }
.gn-cc__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.gn-cc__form { display: grid; gap: 14px; }
.gn-cc__group { margin: 0; padding: 22px 26px 26px; border: 0; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-soft); display: grid; gap: 18px; min-width: 0; }
.gn-cc__group > legend { float: left; width: 100%; padding: 0; font-size: 18px; line-height: 26px; font-weight: 800; color: #0A0A0A; }
.gn-cc__group > legend + * { clear: both; }
.gn-cc__more { padding: 0; gap: 0; }
.gn-cc__more > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 64px; padding: 20px 56px 20px 26px; position: relative; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; color: var(--color-brand); }
.gn-cc__more > summary::-webkit-details-marker { display: none; }
.gn-cc__more > summary span { font-size: 14px; font-weight: 600; color: #474A43; }
.gn-cc__more > summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ref-lime-100); font-size: 20px; font-weight: 700; }
.gn-cc__more[open] > summary::after { content: '−'; }
.gn-cc__body { display: grid; gap: 18px; padding: 0 26px 26px; }
.gn-cc__hint { font-size: 14px; line-height: 21px; color: #474A43; }
.gn-cc__plain { height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--ref-line); font: inherit; font-size: 17px; font-weight: 700; min-width: 0; }
.gn-cc__plain:focus { outline: 0; border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--ref-lime-200); }
.gn-cc__check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; font-weight: 700; cursor: pointer; }
.gn-cc__check input { width: 22px; height: 22px; accent-color: var(--color-brand); }
.gn-cc .gn-fw__money input, .gn-cc input, .gn-cc select { font-size: 17px; }
.gn-cc input::-webkit-outer-spin-button, .gn-cc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.gn-cc__res { position: sticky; top: calc(var(--nav) + 20px); }
.gn-cc__bar { display: none; }
.gn-cc__card { display: grid; gap: 4px; padding: 10px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-lift); }
.gn-cc__ans { padding: 20px 20px 18px; border-radius: 22px; background: radial-gradient(120% 120% at 100% 0%, var(--ref-forest-700), var(--ref-forest) 55%, var(--ref-forest-900)); color: #fff; }
.gn-cc__ans--costs { background: var(--ref-paper-50); color: #0A0A0A; }
.gn-cc__ans h2 { font-size: 15px; font-weight: 700; color: oklch(100% 0 0 / .82); }
.gn-cc__ans--costs h2 { color: #474A43; }
.gn-cc__total { margin-top: 2px; font-size: clamp(38px, 2.4vw + 16px, 54px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; color: var(--ref-lime); font-variant-numeric: tabular-nums; }
.gn-cc__ans--costs .gn-cc__total { color: var(--ref-forest-950); }
.gn-cc__fx { font-size: 15px; font-weight: 700; }
.gn-cc__sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: oklch(100% 0 0 / .78); }
.gn-cc__ans--costs .gn-cc__sub { color: #474A43; }
.gn-cc__lines { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid oklch(100% 0 0 / .16); }
.gn-cc__ans--costs .gn-cc__lines { border-top-color: var(--edge); }
.gn-cc__lines li { border-bottom: 1px solid oklch(100% 0 0 / .16); }
.gn-cc__ans--costs .gn-cc__lines li { border-bottom-color: var(--edge); }
.gn-cc__lines summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 0; cursor: pointer; list-style: none; font-size: 15px; line-height: 21px; }
.gn-cc__lines summary::-webkit-details-marker { display: none; }
.gn-cc__lines summary span { display: inline-flex; align-items: center; gap: 8px; }
.gn-cc__lines summary span::before { content: ''; flex: none; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); opacity: .6; transition: transform .2s; }
.gn-cc__lines details[open] summary span::before { transform: rotate(45deg); }
.gn-cc__lines summary b { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; }
.gn-cc__lines details p { padding: 0 0 8px 15px; font-size: 14px; line-height: 21px; opacity: .88; }
.gn-cc__lines details a { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px 15px; font-size: 13px; font-weight: 700; color: inherit; }
.gn-cc__ans:not(.gn-cc__ans--costs) .gn-cc__lines details a { color: var(--ref-lime); }
.gn-cc__ans--costs .gn-cc__lines details a { color: var(--color-brand); }
.gn-cc__ans :focus-visible { outline-color: var(--ref-lime); }
.gn-cc__ans--costs :focus-visible { outline-color: var(--color-brand); }
.gn-cc__notes { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; line-height: 19px; color: #474A43; }
.gn-cc__notes li + li { margin-top: 6px; }
.gn-cc__checked { display: flex; gap: 8px; padding: 10px 12px 2px; font-size: 13px; line-height: 19px; color: #474A43; }
.gn-cc__checked .gn-ic { flex: none; margin-top: 1px; color: var(--color-brand); }
.gn-cc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 8px 12px 10px; }
.gn-cc__print { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cc__copied { font-size: 14px; font-weight: 700; color: var(--color-brand); }
.gn-cc-disclaimer { margin-top: 16px; font-size: 14px; color: #474A43; }

@media (max-width: 1023px) {
  .gn-cc__grid { grid-template-columns: 1fr; }
  .gn-cc__res { position: static; }
  /* with script: the result becomes a bottom sheet; its bar (both totals) stays in view while you type */
  html.gn-cc-js .gn-cc__res { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
  html.gn-cc-js .gn-cc__bar { pointer-events: auto; display: grid; grid-template-columns: 1fr 1fr 28px; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 16px; border: 0; border-radius: 22px; background: var(--ref-forest-900); color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 -10px 40px -16px oklch(15% 0.03 183 / .5); }
  html.gn-cc-js .gn-cc__bar small { display: block; font-size: 12px; font-weight: 700; color: oklch(100% 0 0 / .72); }
  html.gn-cc-js .gn-cc__bar b { display: block; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; font-weight: 800; color: var(--ref-lime); font-variant-numeric: tabular-nums; }
  html.gn-cc-js .gn-cc__bar span:nth-child(2) b { color: #fff; }
  html.gn-cc-js .gn-cc__barchev { width: 12px; height: 12px; border-right: 2px solid var(--ref-lime); border-top: 2px solid var(--ref-lime); transform: rotate(-45deg); justify-self: center; transition: transform .25s; }
  html.gn-cc-js .gn-cc__res.is-open .gn-cc__barchev { transform: rotate(135deg); }
  html.gn-cc-js .gn-cc__card { display: none; pointer-events: auto; max-height: calc(100dvh - var(--nav) - 110px); overflow-y: auto; overscroll-behavior: contain; margin-bottom: 8px; }
  html.gn-cc-js .gn-cc__res.is-open .gn-cc__card { display: grid; }
  html.gn-cc-js .gn-cc__res { display: flex; flex-direction: column-reverse; }
  html.gn-cc-js main { padding-bottom: 96px; }
}
@media (max-width: 639px) {
  .gn-cc__group { padding: 18px 18px 22px; border-radius: 22px; }
  .gn-cc__more { padding: 0; }
  .gn-cc__more > summary { padding: 18px 52px 18px 18px; }
  .gn-cc__body { padding: 0 18px 22px; }
  .gn-cc__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut, 24px) * -1); padding: 2px var(--gut, 24px) 8px; }
  .gn-cc__tabs a { flex: none; }
}
/* print or save: the breakdown alone, both answers expanded */
@media print {
  body:has(.gn-cc) header.nav, body:has(.gn-cc) footer, body:has(.gn-cc) main > section:not(.gn-cc-sec):not(.gn-cc-hero), body:has(.gn-cc) .gn-cc__form, body:has(.gn-cc) .gn-cc__tabs, body:has(.gn-cc) .gn-cc__bar, body:has(.gn-cc) .gn-cc__acts, body:has(.gn-cc) .gn-crumbs, body:has(.gn-cc) .gn-kicker { display: none !important; }
  .gn-cc__grid { display: block; }
  .gn-cc__res, html.gn-cc-js .gn-cc__res { position: static !important; padding: 0 !important; display: block !important; }
  .gn-cc__card, html.gn-cc-js .gn-cc__card { display: grid !important; max-height: none !important; overflow: visible; box-shadow: none; padding: 0; }
  .gn-cc__ans { background: #fff !important; color: #000 !important; border: 1px solid #ccc; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gn-cc__total, .gn-cc__ans h2, .gn-cc__sub, .gn-cc__lines details a { color: #000 !important; }
  html main > section.gn-cc-hero { padding: 0 0 12px !important; background: none !important; }
}
.gn-tl-fund--countries .gn-tl-fund__l i { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #0A0A0A; } .gn-tl-fund--countries .gn-tl-fund__l img { border-radius: 50%; } .gn-tl-fund--countries .gn-tl-fund__l:first-of-type { margin-top: 10px; }
@media (max-width: 1023px) {
  html.gn-cc-js .gn-cc__res.is-open { top: var(--nav); pointer-events: auto; background: oklch(98.8% 0.006 110 / .94); backdrop-filter: blur(4px); }
}
@media print {
  @page { size: A4; margin: 14mm; }
  body:has(.gn-cc) .gn-cc-hero h1 { font-size: 20pt; max-width: none; }
  body:has(.gn-cc) .gn-cc-hero .gn-doc-hero__lead { display: none; }
  html main > section.gn-cc-sec { background: #fff !important; padding: 0 !important; }
  .gn-cc__ans { padding: 10px 14px !important; }
  .gn-cc__total { font-size: 24pt; }
  .gn-cc__lines summary { min-height: 0; padding: 4px 0; font-size: 10pt; }
  .gn-cc__lines summary span::before { display: none; }
  .gn-cc__lines details p, .gn-cc__lines details a { display: none !important; }
  .gn-cc__sub, .gn-cc__notes, .gn-cc__checked { font-size: 9pt; }
}

/* ================================================================================================== */
/* v2 S4: CV builder (guided steps, Classic template)                                                 */
/* ================================================================================================== */
html main > section.gn-cv2 { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); padding: 8px 0 96px; }
html main > section.gn-cv2 > .wrap.gn-cv2__grid { display: grid; height: auto; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.gn-cv2-hero h1 { max-width: 18ch; }

.gn-cv2__edit { display: grid; gap: 14px; scroll-margin-top: calc(var(--nav) + 16px); }
.gn-cv2__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gn-cv2__count { display: flex; align-items: baseline; gap: 10px; }
.gn-cv2__count span { font-size: 14px; font-weight: 700; color: #474A43; }
.gn-cv2__count b { font-size: 24px; letter-spacing: -0.02em; font-weight: 800; color: #0A0A0A; }
.gn-cv2__all { min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gn-cv2__dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.gn-cv2__dots button { width: 100%; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-content: end; gap: 6px; font: inherit; }
.gn-cv2__dots button::after { content: ''; height: 6px; border-radius: 3px; background: var(--ref-line); transition: background-color .2s; }
.gn-cv2__dots button span { font-size: 12px; font-weight: 700; color: #5A5E57; text-align: left; }
.gn-cv2__dots button.is-done::after { background: var(--ref-lime-200); }
.gn-cv2__dots button.is-on::after { background: var(--color-brand); }
.gn-cv2__dots button.is-on span { color: var(--color-brand); }
.gn-cv2__form { display: grid; gap: 14px; }
.gn-cv2__block { display: grid; gap: 14px; padding: 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-soft); }
.gn-cv2__block > h2:not(.gn-sr) { font-size: 20px; font-weight: 800; }
.gn-cv2__intro { font-size: 16px; line-height: 24px; color: #2F3330; }
.gn-cv2__sub { margin-top: 10px; font-size: 16px; font-weight: 800; color: #0A0A0A; }
.gn-cv2__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gn-cv2__f { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; font-size: 14px; font-weight: 700; color: #1B2420; }
.gn-cv2__f.is-half { grid-column: auto; }
.gn-cv2__f small { font-size: 13px; font-weight: 500; color: #5A5E57; }
.gn-cv2 input:not([type=checkbox]):not([type=file]), .gn-cv2 textarea, .gn-cv2 select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--ref-line); background: var(--surface); font: inherit; font-size: 16px; font-weight: 600; color: #0A0A0A; }
.gn-cv2 textarea { resize: vertical; line-height: 24px; min-height: 104px; }
.gn-cv2 select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2300463E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.gn-cv2 input::placeholder, .gn-cv2 textarea::placeholder { color: #8A8D85; font-weight: 500; }
.gn-cv2 input:focus, .gn-cv2 textarea:focus, .gn-cv2 select:focus { outline: 0; border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--ref-lime-200); }
.gn-cv2__date { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #1B2420; min-width: 0; }
.gn-cv2__dsel { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gn-cv2__date.is-present .gn-cv2__dsel { opacity: .4; pointer-events: none; }
.gn-cv2__present { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; cursor: pointer; }
.gn-cv2__present input { width: 20px; height: 20px; accent-color: var(--color-brand); }
.gn-cv2__item { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: var(--ref-paper-50); border: 1px solid var(--edge); }
.gn-cv2__ihead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gn-cv2__ihead b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gn-cv2__ihead span { display: flex; gap: 4px; flex: none; }
.gn-cv2__ihead button { min-width: 40px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); font: inherit; font-size: 13px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cv2__ihead button:disabled { opacity: .35; cursor: default; }
.gn-cv2__add { justify-self: start; min-height: 44px; padding: 0 18px; border: 1.5px dashed oklch(42.1% 0.072 182 / .45); border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cv2__help { padding: 12px 14px; border-radius: 14px; background: var(--ref-lime-50); border: 1px solid var(--ref-lime-200); font-size: 14px; line-height: 21px; }
.gn-cv2__help summary { cursor: pointer; font-weight: 800; color: var(--color-brand); min-height: 24px; }
.gn-cv2__help p { margin-top: 8px; }
.gn-cv2__help ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.gn-cv2__nav { display: flex; align-items: center; gap: 12px; }
.gn-cv2__nav[hidden] { display: none; }
.gn-cv2__back, .gn-cv2__skip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 16px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cv2__back:disabled { opacity: .35; cursor: default; }
.gn-cv2__skip { margin-left: auto; color: #474A43; }
.gn-cv2__flip { transform: scaleX(-1); }
.gn-cv2__next { gap: 8px; }
.gn-cv2__skip[hidden] + .gn-cv2__next { margin-left: auto; }
.gn-cv2__saved { min-height: 20px; font-size: 14px; font-weight: 700; color: var(--color-brand); }
.gn-cv2__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gn-cv2__checks li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.gn-cv2__checks li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ref-paper); font-weight: 800; color: #5A5E57; }
.gn-cv2__checks li.is-ok span { background: var(--color-brand); color: var(--ref-lime); }
.gn-cv2__checks em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--fn-red-ink); }
.gn-cv2__fitline { font-size: 15px; font-weight: 700; color: var(--color-brand); }
.gn-cv2__fitline.is-over { color: var(--fn-red-ink); }
.gn-cv2__bigdl { justify-self: start; }

.gn-cv2__prev { position: sticky; top: calc(var(--nav) + 16px); display: grid; gap: 12px; padding: 16px; border-radius: 28px; background: linear-gradient(in oklch 160deg, var(--ref-paper), var(--ref-paper-50)); }
.gn-cv2__ptools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gn-cv2__fit { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-cv2__fit::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand); }
.gn-cv2__fit.is-over { color: var(--fn-red-ink); } .gn-cv2__fit.is-over::before { background: var(--fn-red); }
.gn-cv2__pacts { display: flex; align-items: center; gap: 8px; }
.gn-cv2__dl { gap: 8px; }
.gn-cv2__more { position: relative; }
.gn-cv2__morebtn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); font: inherit; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; box-shadow: inset 0 0 0 1px var(--edge); }
.gn-cv2__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 220px; padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lift); }
.gn-cv2__menu[hidden] { display: none; }
.gn-cv2__menu button, .gn-cv2__menu label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: #1B2420; cursor: pointer; text-align: left; }
.gn-cv2__menu button:hover, .gn-cv2__menu label:hover { background: var(--ref-lime-50); }
.gn-cv2__stage { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 1px 2px oklch(25.5% 0.045 183 / .06), 0 30px 60px -36px oklch(25.5% 0.045 183 / .4); background: #fff; }
.gn-cv2__break { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--fn-red); }
.gn-cv2__break span { position: absolute; right: 8px; top: -11px; padding: 1px 8px; border-radius: 999px; background: var(--fn-red); color: #fff; font-size: 11px; font-weight: 800; }
.gn-cv2__legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5A5E57; }
.gn-cv2__legend i { width: 22px; height: 6px; border-radius: 3px; background: #B9BBB4; }
.gn-cv2__bar { display: none; }

/* the Classic sheet: real A4 size, scaled to the stage; pt sizes match the PDF (src/lib/cv.ts PDF) */
.cvc-sheet { width: 210mm; min-height: 297mm; padding: 18mm; box-sizing: border-box; transform: scale(var(--scale, 1)); transform-origin: top left; background: #fff; color: #000; font-family: 'Times New Roman', Times, Georgia, serif; font-size: 10.5pt; line-height: 1.32; }
.cvc-h { text-align: center; }
.cvc-h p.cvc-name { margin-top: 0; font-family: inherit; font-size: 18pt; line-height: 1.32; font-weight: 700; letter-spacing: 0; } /* v6: a styled p, so the page keeps one h1 */
.cvc-h p { margin-top: 1mm; font-size: 9.5pt; }
.cvc-s { margin-top: 4mm; }
.cvc-s h2 { margin-bottom: 1.6mm; padding-bottom: .4mm; border-bottom: .3mm solid #000; font-family: inherit; font-size: 10.5pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cvc-e + .cvc-e { margin-top: 2mm; }
.cvc-r { display: flex; justify-content: space-between; gap: 4mm; }
.cvc-r > span { flex: none; text-align: right; }
.cvc-r b { font-weight: 700; } .cvc-r i { font-style: italic; }
.cvc-res { font-style: italic; }
.cvc-e ul { margin: 0; padding-left: 6mm; list-style: disc; }
.cvc-p b { font-weight: 700; }
.cvc-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 2mm 6mm; }
.cvc-sheet .is-sample, .cvc-sheet .is-sample * { color: #6E716A; border-color: #C9CBC4 !important; } /* v6: readable (4.9:1), still clearly lighter than your own entries */

@media (max-width: 1023px) {
  html main > section.gn-cv2 > .wrap.gn-cv2__grid { grid-template-columns: 1fr; }
  .gn-cv2__prev { position: static; }
  /* phone and tablet: one pane at a time, switched from the bottom bar */
  .gn-cv2[data-mode="edit"] .gn-cv2__prev, .gn-cv2[data-mode="preview"] .gn-cv2__edit { display: none; }
  .gn-cv2__dl { display: none; }
  .gn-cv2__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: oklch(100% 0 0 / .94); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -18px oklch(15% 0.03 183 / .45); }
  .gn-cv2__seg { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ref-paper); }
  .gn-cv2__seg button { min-height: 44px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #2F3330; cursor: pointer; }
  .gn-cv2__seg button[aria-selected="true"] { background: var(--color-brand); color: #fff; }
  .gn-cv2__bar .btn { gap: 6px; height: 52px; padding-inline: 18px; }
  html main > section.gn-cv2 { padding-bottom: 120px; }
  .gn-cv2__dots button span { display: none; }
}
@media (max-width: 639px) {
  .gn-cv2__fields { grid-template-columns: 1fr; }
  .gn-cv2__f.is-half { grid-column: 1 / -1; }
  .gn-cv2__block { padding: 16px; border-radius: 22px; }
  .gn-cv2__prev { padding: 10px; border-radius: 20px; }
}
@media print {
  @page { size: A4; margin: 0; }
  body:has(.cvc-sheet) header.nav, body:has(.cvc-sheet) footer, body:has(.cvc-sheet) main > section:not(.gn-cv2), body:has(.cvc-sheet) .gn-cv2__edit, body:has(.cvc-sheet) .gn-cv2__ptools, body:has(.cvc-sheet) .gn-cv2__legend, body:has(.cvc-sheet) .gn-cv2__bar, body:has(.cvc-sheet) .gn-cv2__break { display: none !important; }
  html main > section.gn-cv2, .gn-cv2 .wrap, .gn-cv2__prev, .gn-cv2__stage { display: block !important; padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; height: auto !important; position: static !important; max-width: none !important; width: auto !important; overflow: visible !important; }
  .cvc-sheet { transform: none !important; min-height: 0; }
  .cvc-sheet .is-sample { display: none; }
}
/* v2 S4: the homepage CV visual follows the Classic template (serif, black, centred name, rules) */
.gn-wcv__sheet { font-family: 'Times New Roman', Times, Georgia, serif; color: #000; }
.gn-wcv__name { text-align: center; font-family: inherit; letter-spacing: 0; color: #000; }
.gn-wcv__meta { text-align: center; color: #333; }
.gn-wcv__h { color: #000; border-bottom-color: #000; letter-spacing: .08em; }
.gn-wcv__sheet p, .gn-wcv__sheet p.gn-wcv__sub { display: flex; justify-content: space-between; gap: 8px; color: #000; }
.gn-wcv__sheet p em { color: #000; }
.gn-wcv__sheet p.gn-wcv__sub { margin-top: 1px; }
.gn-wcv__sheet mark { background: var(--ref-lime); color: #000; }
.gn-wcv__it { font-style: italic; } .gn-wcv__sheet p em { font-style: normal; white-space: nowrap; }
/* v2 S5: the article meta line wraps cleanly on a phone (no separator dots left at a line start) */
.gn-art-meta { gap: 4px 18px; }
.gn-art-meta span + span::before { content: none; }

/* ================================================================================================== */
/* v3 S1: the featured product, Pre-CAS interview practice                                            */
/* ================================================================================================== */
html main > section:is(.gn-wpc, .gn-cc-next) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); }
html main > section:is(.gn-wpc, .gn-cc-next) > .wrap { display: block; height: auto; }
html main > section.gn-wpc { padding: 0 0 96px; }
.gn-tools-page html main > section.gn-wpc { padding-top: 0; }
.gn-pcf { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--ref-forest); color: #fff; }
.gn-pcf__k { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--ref-lime); }
.gn-pcf .gn-pcf__h { margin-top: 10px; color: #fff; max-width: 14ch; }
.gn-pcf__lead { margin-top: 16px; max-width: 46ch; font-size: 18px; line-height: 28px; color: oklch(100% 0 0 / .84); }
.gn-pcf .btn-row { margin-top: 28px; align-items: center; gap: 20px; }
html[data-buttons] .gn-pcf .btn.btn--primary { background: var(--ref-lime); color: var(--ref-forest-950); border-color: var(--ref-lime); }
.gn-pcf__in { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: oklch(100% 0 0 / .4); }
.gn-pcf :focus-visible { outline-color: var(--ref-lime); }
.gn-pcf__more { margin-top: 36px; font-size: 13px; font-weight: 700; color: oklch(100% 0 0 / .6); }
.gn-pcf__rows { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid oklch(100% 0 0 / .14); }
.gn-pcf__rows a { display: grid; grid-template-columns: auto 1fr 16px; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid oklch(100% 0 0 / .14); color: #fff; text-decoration: none; }
.gn-pcf__rows b { font-size: 15px; }
.gn-pcf__rows span { font-size: 14px; color: oklch(100% 0 0 / .66); }
.gn-pcf__rows .gn-ic { align-self: center; color: var(--ref-lime); }
.gn-pcf__screen { margin: 0; padding: 20px; border-radius: 16px; background: var(--surface); color: #0A0A0A; box-shadow: 0 24px 48px -28px oklch(10% 0.03 183 / .6); }
.gn-pcf__bar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--edge); font-size: 13px; font-weight: 700; color: #474A43; }
.gn-pcf__bar span:first-child { color: var(--color-brand); }
.gn-pcf__q { margin-top: 16px; font-size: 21px; line-height: 28px; letter-spacing: -0.015em; font-weight: 800; color: var(--color-brand); }
.gn-pcf__ans { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--ref-paper-50); border: 1px solid var(--edge); }
.gn-pcf__ans span { font-size: 12px; font-weight: 700; color: #5A5E57; }
.gn-pcf__ans p { margin-top: 4px; font-size: 15px; line-height: 22px; color: #2F3330; }
.gn-pcf__fb { margin-top: 12px; display: grid; gap: 8px; }
.gn-pcf__fb p { padding-left: 12px; border-left: 3px solid var(--color-brand); font-size: 15px; line-height: 22px; color: #1B2420; }
.gn-pcf__fb p + p { border-left-color: var(--ref-lime-200); }
.gn-pcf__fb b { display: block; font-size: 13px; color: var(--color-brand); }
.gn-pcf__screen figcaption { margin-top: 14px; font-size: 12px; line-height: 18px; color: #5A5E57; }
@media (max-width: 1023px) { .gn-pcf { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 639px) { html main > section.gn-wpc { padding-bottom: 56px; } .gn-pcf { padding: 24px 20px; border-radius: 20px; } .gn-pcf .btn-row { flex-direction: column; align-items: stretch; gap: 8px; } .gn-pcf .btn-row .btn { justify-content: center; } .gn-pcf__in { justify-content: center; } }

/* UK calculator: the route into the pre-CAS practice, at the point a student needs it */
html main > section.gn-cc-next { padding: 0 0 72px; }
.gn-cc-next__box { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 28px 32px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-soft); border-left: 4px solid var(--color-brand); }
.gn-cc-next__box .gn-pcf__k { color: var(--color-brand); }
.gn-cc-next__box h2 { margin-top: 6px; font-size: 22px; line-height: 30px; letter-spacing: -0.02em; font-weight: 800; }
.gn-cc-next__box p:not(.gn-pcf__k) { margin-top: 6px; max-width: 60ch; font-size: 16px; line-height: 25px; color: #2F3330; }
@media (max-width: 639px) {
  .gn-pcf__rows a { grid-template-columns: 1fr 16px; }
  .gn-pcf__rows b { grid-column: 1; }
  .gn-pcf__rows span { grid-column: 1; grid-row: 2; }
  .gn-pcf__rows .gn-ic { grid-column: 2; grid-row: 1 / span 2; }
  .gn-pcf > * { min-width: 0; }
}

/* ================================================================================================== */
/* v3 S2: hero (country in the headline, plain rows, the G unobstructed, fixed geometry)              */
/* ================================================================================================== */
html main > section.gn-h3 { position: relative; overflow: hidden; height: auto !important; min-height: 0 !important; display: block; padding: calc(var(--nav) + 72px) 0 80px;
  background: linear-gradient(in oklch 180deg, var(--ref-lime-50), var(--ground) 70%); }
html main > section.gn-h3 > .wrap.gn-h3__grid { position: relative; z-index: 1; display: block; height: auto; }
.gn-h3__copy { max-width: 700px; }
.gn-h3 h1 { font-size: clamp(46px, 4.4vw + 10px, 88px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; color: #0A0A0A; }
.gn-h3__l { display: block; }
.gn-h3__w { display: inline-grid; vertical-align: top; color: var(--color-brand); }
.gn-h3__w > span { grid-area: 1 / 1; visibility: hidden; white-space: nowrap; }
.gn-h3__chips { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; }
.gn-h3__row { display: flex; flex-wrap: nowrap; gap: 8px; }
.gn-h3__row label { position: relative; flex: none; }
.gn-h3__row input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gn-h3__row span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--ref-line); background: var(--surface); font-size: 15px; font-weight: 700; color: #2F3330; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.gn-h3__row span img { border-radius: 50%; }
.gn-h3__row input:checked + span { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.gn-h3__row input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-h3__panels { display: grid; margin-top: 24px; }
.gn-h3__panel { grid-area: 1 / 1; visibility: hidden; }
.gn-h3:has(#h3-us:checked) [data-c="us"], .gn-h3:has(#h3-au:checked) [data-c="au"], .gn-h3:has(#h3-uk:checked) [data-c="uk"],
.gn-h3:has(#h3-ca:checked) [data-c="ca"], .gn-h3:has(#h3-eu:checked) [data-c="eu"] { visibility: visible; }
@supports not selector(:has(*)) { .gn-h3 [data-c="us"] { visibility: visible; } .gn-h3__chips { display: none; } }
.gn-h3__panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.gn-h3__panel li a { display: grid; grid-template-columns: 150px 1fr 16px; align-items: baseline; gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--edge); color: #0A0A0A; text-decoration: none; }
.gn-h3__k { font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--color-brand); }
.gn-h3__v { font-size: 17px; line-height: 24px; font-weight: 600; }
.gn-h3__go { align-self: center; color: var(--color-brand); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.gn-h3__panel li a:hover .gn-h3__v { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.gn-h3__panel li a:hover .gn-h3__go { transform: translateX(3px); }
.gn-h3__guide { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--color-brand); text-decoration: none; }
.gn-h3 .btn-row { margin-top: 24px; }
/* the G: on its own, right side, unobstructed */
.gn-h3__g { position: absolute; z-index: 0; right: max(4vw, calc((100vw - 1280px) / 2)); top: calc(var(--nav) + 56px); height: calc(100% - var(--nav) - 112px); max-height: 640px; aspect-ratio: 72 / 90; pointer-events: none; }
.gn-h3__g .gn-super { width: 100%; height: 100%; }
.gn-h3__g .gn-super__fill { fill: var(--color-brand); }
.gn-h3__g .gn-super__line { stroke: var(--ref-lime-200); stroke-width: 1.5px; }
@media (max-width: 1279px) { .gn-h3__copy { max-width: 600px; } .gn-h3__g { right: 2vw; height: 60%; top: auto; bottom: 80px; } }
@media (max-width: 1023px) {
  .gn-h3__copy { max-width: none; }
  .gn-h3__g { right: -12%; top: calc(var(--nav) + 8px); bottom: auto; height: 300px; opacity: .1; }
}
@media (max-width: 639px) {
  html main > section.gn-h3 { padding: calc(var(--nav) + 28px) 0 48px; }
  .gn-h3 h1 { font-size: min(44px, 11.2vw); }
  .gn-h3__chips { margin-top: 20px; }
  .gn-h3__row { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut, 24px) * -1); padding: 0 var(--gut, 24px) 2px; scroll-padding-inline: var(--gut, 24px); }
  .gn-h3__row::-webkit-scrollbar { display: none; }
  .gn-h3__row label { scroll-snap-align: start; }
  .gn-h3__panels { margin-top: 16px; }
  .gn-h3__panel li a { grid-template-columns: 1fr 16px; gap: 2px 12px; padding: 11px 0; }
  .gn-h3__k { grid-column: 1; }
  .gn-h3__v { grid-column: 1; font-size: 16px; line-height: 22px; }
  .gn-h3__go { grid-column: 2; grid-row: 1 / span 2; }
  .gn-h3__guide { display: none; }
  .gn-h3 .btn-row { margin-top: 18px; }
  .gn-h3__g { right: -26%; top: calc(var(--nav) - 10px); height: 260px; opacity: .12; }
}
/* the kit gives hero sections display tracking; only the headline keeps it */
html main > section.gn-h3 { letter-spacing: normal; }
.gn-h3 h1 { letter-spacing: -0.045em; }

/* ================================================================================================== */
/* v3 S3: Australia GS funds evidence planner                                                         */
/* ================================================================================================== */
html main > section:is(.gn-gs-sec, .gn-gs-text) { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); }
html main > section:is(.gn-gs-sec, .gn-gs-text) > .wrap { display: block; height: auto; }
html main > section.gn-gs-sec { padding: 8px 0 72px; }
html main > section.gn-gs-text { padding: 24px 0 96px; }
.gn-gs-hero h1 { max-width: 20ch; }
.gn-gs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.gn-gs__form { display: grid; gap: 12px; }
.gn-gs__step { padding: 20px 22px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--edge); display: grid; gap: 14px; }
.gn-gs__step h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 26px; font-weight: 800; }
.gn-gs__step h2 span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-brand); color: #fff; font-size: 13px; }
.gn-gs__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gn-gs__hint { font-size: 15px; line-height: 23px; color: #474A43; }
.gn-gs__sponsors { display: grid; gap: 10px; }
.gn-gs__sp { display: grid; grid-template-columns: 1fr 120px auto; gap: 10px; align-items: end; }
.gn-gs__share .gn-fw__money { height: 52px; font-size: 17px; }
.gn-gs__rm { min-height: 52px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--fn-red-ink); cursor: pointer; }
.gn-gs__split { display: grid; gap: 6px; font-size: 14px; line-height: 21px; }
.gn-gs__split span { padding-left: 10px; border-left: 3px solid; }
.gn-gs__split .is-ok { border-color: var(--color-brand); color: var(--color-brand); font-weight: 700; }
.gn-gs__split .is-warn { border-color: var(--fn-red); color: var(--fn-red-ink); }
.gn-gs__split .is-note { border-color: var(--ref-line); color: #474A43; }
.gn-gs__inc { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.gn-gs__inc + .gn-gs__inc { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--edge); }
.gn-gs__inc legend { float: left; width: 100%; padding: 0 0 6px; font-size: 15px; font-weight: 800; color: #0A0A0A; }
.gn-gs__inc legend + * { clear: both; }
.gn-gs__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.gn-gs__check { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; font-size: 15px; line-height: 22px; font-weight: 600; cursor: pointer; }
.gn-gs__check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--color-brand); }
.gn-gs__check--ask { grid-column: 1 / -1; padding: 8px 12px; border-radius: 10px; background: var(--ref-paper-50); font-weight: 500; }
.gn-gs__res { position: sticky; top: calc(var(--nav) + 20px); }
.gn-gs__card { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--edge); box-shadow: 0 12px 28px -20px oklch(25.5% 0.045 183 / .35); max-height: calc(100vh - var(--nav) - 40px); overflow-y: auto; }
.gn-gs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #0A0A0A; }
.gn-gs__head h2 { font-size: 20px; font-weight: 800; }
.gn-gs__head p { font-size: 14px; font-weight: 700; color: var(--color-brand); }
.gn-gs__amount { margin-top: 12px; font-size: 15px; }
.gn-gs__warns { display: grid; gap: 8px; margin-top: 12px; }
.gn-gs__warns:empty { display: none; }
.gn-gs__warns p { padding: 10px 12px; border-radius: 10px; background: var(--fn-red-50); border-left: 3px solid var(--fn-red); font-size: 14px; line-height: 21px; color: var(--fn-red-ink); }
.gn-gs__grp { margin-top: 16px; }
.gn-gs__grp h3 { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--color-brand); }
.gn-gs__grp ul { list-style: none; margin: 6px 0 0; padding: 0; }
.gn-gs__grp li { border-bottom: 1px solid var(--edge); }
.gn-gs__grp label { display: flex; gap: 10px; padding: 9px 0; cursor: pointer; }
.gn-gs__grp label input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-brand); }
.gn-gs__grp label b { font-size: 15px; line-height: 22px; font-weight: 600; }
.gn-gs__grp label input:checked + span b { color: #5A5E57; text-decoration: line-through; text-decoration-color: oklch(42.1% 0.072 182 / .5); }
.gn-gs__grp small { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: #5A5E57; }
.gn-gs__some { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: #6B6E66; white-space: nowrap; }
.gn-gs__pick { padding: 9px 0; font-size: 14px; color: #5A5E57; font-style: italic; }
.gn-gs__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
.gn-gs__fine { margin-top: 14px; font-size: 13px; line-height: 19px; color: #5A5E57; }
.gn-gs__bar, .gn-gs__nojs { display: none; }
.gn-gs-text__grid .gn-prose { max-width: 72ch; }
.gn-gs-faq { margin-top: 12px; }
.gn-cc__next { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ref-lime); color: var(--ref-forest-950); font-size: 14px; font-weight: 800; text-decoration: none; }
@media (max-width: 1023px) {
  .gn-gs { grid-template-columns: 1fr; }
  .gn-gs__res { position: static; }
  .gn-gs__card { max-height: none; }
  html.gn-gs-js .gn-gs__bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 14px; background: var(--ref-forest-900); color: #fff; text-decoration: none; font-weight: 700; }
  html.gn-gs-js .gn-gs__bar b { color: var(--ref-lime); }
  html.gn-gs-js main { padding-bottom: 84px; }
}
@media (max-width: 639px) { .gn-gs__two, .gn-gs__checks { grid-template-columns: 1fr; } .gn-gs__sp { grid-template-columns: 1fr 96px; } .gn-gs__rm { grid-column: 1 / -1; justify-self: start; min-height: 36px; padding: 0; } .gn-gs__step { padding: 16px; } }
@media print {
  body:has(.gn-gs) header.nav, body:has(.gn-gs) footer, body:has(.gn-gs) main > section:not(.gn-gs-sec), body:has(.gn-gs) .gn-gs__form, body:has(.gn-gs) .gn-gs__acts, body:has(.gn-gs) .gn-gs__bar { display: none !important; }
  .gn-gs { display: block; } .gn-gs__res { position: static; } .gn-gs__card { max-height: none; overflow: visible; border: 0; box-shadow: none; padding: 0; }
}

/* v3 S5: blog furniture: summary box, FAQ, topics, cluster links */
.gn-art-sum { margin: 0 0 8px; padding: 18px 20px; border-radius: 14px; background: var(--ref-paper-50); border: 1px solid var(--edge); border-left: 4px solid var(--color-brand); }
.gn-art-sum__h { margin: 0 !important; font-size: 13px !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--color-brand) !important; }
.gn-prose .gn-art-sum ul { margin-top: 8px; gap: 6px; }
.gn-prose .gn-art-sum li { font-size: 16px; line-height: 25px; }
.gn-art-faq { margin-top: 48px; }
.gn-art-faq details { border-top: 1px solid var(--edge); }
.gn-art-faq details:last-child { border-bottom: 1px solid var(--edge); }
.gn-art-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 17px; line-height: 25px; font-weight: 800; color: #0A0A0A; }
.gn-art-faq summary::-webkit-details-marker { display: none; }
.gn-art-faq summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-top: 7px; border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand); transform: rotate(45deg); transition: transform .2s; }
.gn-art-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.gn-prose .gn-art-faq details p { margin: 0 0 16px; }
.gn-blog__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.gn-blog__topics a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ref-line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--color-brand); text-decoration: none; }
.gn-blog__topics a:hover { border-color: var(--color-brand); }
html main > section.gn-cluster { height: auto !important; min-height: 0 !important; display: block; background: var(--ground); padding: 0 0 72px; }
html main > section.gn-cluster > .wrap { display: block; height: auto; }
.gn-cluster__h { font-size: 22px; line-height: 30px; letter-spacing: -0.02em; font-weight: 800; }
.gn-cluster__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.gn-cluster__list a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--edge); color: #0A0A0A; text-decoration: none; }
.gn-cluster__list a:hover b { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.gn-cluster__list b { font-size: 17px; line-height: 24px; }
.gn-cluster__list span { font-size: 14px; line-height: 21px; color: #474A43; }

/* ================================================================================================== */
/* v3 S6: guides: terms in place, what applies to me, the plan, the inline calculator                  */
/* ================================================================================================== */
.gn-term { position: relative; display: inline; cursor: help; outline: none; }
.gn-term__t { border-bottom: 1.5px dotted var(--color-brand); font-weight: 700; color: var(--color-brand); }
.gn-term__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: min(300px, 80vw); padding: 10px 12px; border-radius: 10px; background: var(--ref-forest-950); color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.gn-term:hover .gn-term__tip, .gn-term:focus .gn-term__tip, .gn-term:focus-within .gn-term__tip { opacity: 1; visibility: visible; }
.gn-term:focus-visible .gn-term__t { outline: 2px solid var(--color-brand); outline-offset: 2px; border-radius: 2px; }
@media print { .gn-term__tip { position: static; opacity: 1; visibility: visible; background: none; color: inherit; padding: 0; } .gn-term__tip::before { content: ' ('; } .gn-term__tip::after { content: ')'; } }

.gn-apply { margin: 24px 0 0; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); min-width: 0; }
.gn-apply legend { padding: 0 6px; font-size: 13px; font-weight: 800; color: var(--color-brand); }
.gn-apply__row { display: flex; flex-wrap: wrap; gap: 8px; }
.gn-apply label { position: relative; }
.gn-apply input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gn-apply span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ref-line); font-size: 14px; font-weight: 700; color: #2F3330; }
.gn-apply input:checked + span { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.gn-apply input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-apply__fam { margin-left: auto; }
.gn-only { margin-top: 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--ref-lime-200); }
.gn-only__k { margin: 0 !important; font-size: 13px !important; font-weight: 800; color: var(--color-brand) !important; }
.gn-prose:has(#lvl-ug:checked) [data-only="pg"], .gn-prose:has(#lvl-pg:checked) [data-only="ug"], .gn-prose:has(#fam-no:checked) [data-only="family"] { display: none; }

.gn-plan { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--edge); }
.gn-plan__pick { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: end; }
.gn-plan__progress { grid-column: 1 / -1; margin: 0 !important; font-size: 14px !important; font-weight: 700; color: var(--color-brand) !important; }
.gn-plan__progress:empty { display: none; }
ul.gn-plan__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 0; }
ul.gn-plan__list li { padding: 0; border-top: 1px solid var(--edge); }
.gn-plan__list label { display: grid; grid-template-columns: 22px 150px 1fr; gap: 12px; align-items: start; padding: 12px 0; cursor: pointer; }
.gn-plan__list input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--color-brand); }
.gn-plan__when { font-size: 14px; line-height: 22px; font-weight: 800; color: var(--color-brand); }
.gn-plan__what b { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: #0A0A0A; }
.gn-plan__what small { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: #5A5E57; }
.gn-plan__basis { font-style: italic; }
.gn-plan__list input:checked ~ .gn-plan__what b { color: #5A5E57; text-decoration: line-through; }
.gn-art__plan { margin: 10px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: var(--ref-lime-50); font-size: 13px !important; font-weight: 800 !important; color: var(--color-brand) !important; }
.gn-art__plan:empty { display: none; }
@media (max-width: 639px) { .gn-plan__list label { grid-template-columns: 22px 1fr; } .gn-plan__when { grid-column: 2; } .gn-plan__what { grid-column: 2; } .gn-apply__fam { margin-left: 0; } }

/* the calculator inside a guide: one column, result in place, no bottom sheet.
   v5: embeds (.gn-embed) are outside the prose rules, so the calculator keeps its own type and colour */
.gn-prose .gn-cc--inline { margin-top: 20px; }
.gn-cc--inline .gn-cc__grid { grid-template-columns: 1fr; }
.gn-cc--inline .gn-cc__res { position: static; }
.gn-cc--inline .gn-cc__bar { display: none !important; }
.gn-cc--inline .gn-cc__tabs { display: none; }

/* ================================================================================================== */
/* v3 S7: professional polish (gunuch.com only; this file never loads on the partner site)            */
/* One radius scale, two elevations, plain icons, text badges, thin device frames, Lime as an accent.   */
/* ================================================================================================== */
:root {
  --r-input: 10px;   /* inputs, small surfaces */
  --r-card: 14px;    /* cards and tool panels */
  --r-panel: 20px;   /* the one large panel in a section */
  /* two elevations, tighter and lower than before */
  --shadow-soft: 0 1px 2px oklch(25.5% 0.045 183 / .06), 0 4px 14px -8px oklch(25.5% 0.045 183 / .18);
  --shadow-lift: 0 1px 2px oklch(25.5% 0.045 183 / .07), 0 14px 32px -18px oklch(25.5% 0.045 183 / .32);
}

/* radii: large panels */
.gn-pcf, .gn-wcv__panel, .gn-fc-28__panel, .gn-blog__lead, .gn-go, .gn-tl-acct, .gn-duo__card,
html main > section.gn-t-hero, html main > section.gn-c-hero, .gn-cc-next__box { border-radius: var(--r-panel) !important; }
/* radii: cards and tool panels */
.gn-dest a, .gn-wblog__list a, .gn-art-next__list a, .gn-cluster__list a, .gn-cc__group, .gn-cc__card, .gn-cc__ans,
.gn-gs__step, .gn-gs__card, .gn-cv2__block, .gn-cv2__prev, .gn-doc__rail, .gn-others a, .gn-need li, .gn-sess__card,
.gn-board, .gn-d3__door, .gn-plan, .gn-art-sum, .gn-pcf__screen, .gn-meter, .gn-minicv, .gn-sa-dest__list a, .gn-wab__uk,
.gn-tl-fund, .gn-xform__entry, .gn-sw__p li, .gn-wab__steps, .gn-wab__more a, .gn-fc-ev__aside, .gn-cc__bar, .gn-gs__bar,
.gn-cv2__item, .gn-cv2__help, .gn-cv2__menu, .gn-prose table, .gn-prose blockquote, .gn-apply, .gn-404__links a { border-radius: var(--r-card) !important; }
/* radii: inputs */
.gn-fw__money, .gn-fc__field select, .gn-fc__date, .gn-cc__plain, .gn-fc__step, .gn-cv2 input:not([type=checkbox]):not([type=file]),
.gn-cv2 textarea, .gn-cv2 select, .gn-fc__fxrow input { border-radius: var(--r-input) !important; }

/* icons: no tinted tile behind list-row icons; plain line icons in the brand colour */
.gn-tasks__ic, .gn-fc-ex__ic, .gn-art__tool-ic, .gn-need li span, .gn-strip span, .gn-wco__ic, .gn-sa__ic {
  width: auto !important; height: auto !important; padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--color-brand) !important; }
.gn-tasks__list a { grid-template-columns: 24px 1fr auto 20px; }
.gn-fc-ex__parts article { grid-template-columns: 24px 1fr; }
.gn-art__tool-ic { width: 20px !important; }
.gn-sa__ic { width: 56px !important; height: 56px !important; background: var(--ground) !important; border: 1.5px solid var(--color-brand); border-radius: 50% !important; justify-items: center; }
html main > section.gn-wco > .wrap.gn-wco__wrap { grid-template-columns: 24px 1fr auto; }
@media (max-width: 639px) { .gn-tasks__list a { grid-template-columns: 24px 1fr 20px; } }

/* badges: small plain text, one accent per row */
.gn-tasks__tag { padding: 0; border-radius: 0; background: none !important; font-size: 13px; font-weight: 600; color: var(--color-brand) !important; }
.gn-tasks__tag.is-acct { color: #5A5E57 !important; }
.gn-cc__next { padding: 0; min-height: 36px; border-radius: 0; background: none; color: var(--ref-lime); text-decoration: underline; text-underline-offset: 3px; }

/* device frames: thin, straight, believable scale */
.gn-phone, .gn-ts .gn-phone, .gn-s-hero .gn-phone, .gn-phone-stage .gn-phone { border: 1px solid var(--ref-line) !important; border-radius: 22px !important; box-shadow: var(--shadow-lift) !important; height: 520px; }
.gn-phone__notch { display: none; }
.gn-phone__mic span { width: 56px !important; height: 56px !important; }
.gn-phone__mic { padding-bottom: 28px; font-size: 14px; }
.gn-minicv { transform: none !important; margin: 0 !important; align-self: end; box-shadow: var(--shadow-lift) !important; }
/* the CV visual: form and sheet side by side, nothing floating over the other */
.gn-wcv__vis { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; align-items: start; min-height: 0; }
.gn-wcv__form, .gn-wcv__sheet { position: static !important; width: auto !important; margin: 0 !important; }
.gn-wcv__sheet { min-height: 0; border-radius: 6px !important; box-shadow: var(--shadow-lift) !important; }
.gn-wcv__form { box-shadow: var(--shadow-soft) !important; }
@media (max-width: 639px) { .gn-wcv__vis { grid-template-columns: 1fr; } .gn-wcv__form { order: 2; } }

/* accordions: a simple chevron, no Lime circle */
.gn-cc__more > summary::after, .gn-fc-faq__list summary::after, .gn-qa2--acc summary::after {
  content: '' !important; width: 9px !important; height: 9px !important; border-radius: 0 !important; background: none !important;
  border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand); transform: translateY(-70%) rotate(45deg) !important; transition: transform .2s; }
.gn-fc-faq__list summary::after, .gn-qa2--acc summary::after { transform: rotate(45deg) !important; margin-top: -4px; }
.gn-cc__more[open] > summary::after { transform: translateY(-30%) rotate(-135deg) !important; }
.gn-fc-faq__list details[open] summary::after { transform: rotate(-135deg) !important; margin-top: 4px; }

/* Lime: an accent and one deliberate band, not a wash behind sections */
html main > section.gn-doc-hero, html main > section.gn-h3 { background: var(--ground) !important; }
html main > section.gn-h3 { border-bottom: 1px solid var(--edge); }
.gn-fc-28__panel { background: var(--surface) !important; border: 1px solid var(--edge); }
.gn-art__tool { background: none !important; padding: 8px 0 !important; border-top: 1px solid var(--edge); border-radius: 0 !important; }
.gn-wcv__panel { background: var(--surface) !important; border: 1px solid var(--edge); }
.gn-cv2__prev { background: var(--ref-paper-50) !important; }
.gn-gs__check--ask { background: none !important; padding-left: 0 !important; }

/* no rounded panel inside a rounded panel inside a band */
.gn-doc__rail { box-shadow: none !important; border: 1px solid var(--edge); }
.gn-cc__group, .gn-gs__step, .gn-cv2__block { box-shadow: none !important; border: 1px solid var(--edge); }
.gn-cc__card { box-shadow: var(--shadow-soft) !important; border: 1px solid var(--edge); }
.gn-cc__ans--costs { background: var(--surface) !important; }

/* density: tighter rhythm in lists and tool panels */
.gn-tasks__list a { padding: 16px 4px; }
.gn-cc__lines summary { min-height: 42px; padding: 8px 0; }
.gn-cc__group { gap: 14px; padding: 20px 22px 22px; }

/* the footer on gunuch.com: a modest radius */
.footer.closing { border-radius: 24px 24px 0 0 !important; }

/* v3 S8: "Coming soon" (English test preparation): a plain label, never a call to action */
.gn-wnav__soon { display: block; padding: 8px 0; font-weight: 700; color: #5A5E57; }
.gn-wnav__soon span, .gn-foot-soon span { display: block; font-size: 13px; font-weight: 600; color: #6B6E66; }
.gn-foot-soon { color: oklch(100% 0 0 / .6); }
.gn-foot-soon span { display: inline; color: oklch(100% 0 0 / .5); }
.gn-pcf__soon { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid oklch(100% 0 0 / .14); color: oklch(100% 0 0 / .7); }
.gn-pcf__soon b { font-size: 15px; } .gn-pcf__soon span { font-size: 14px; }
.gn-art__tool--soon { margin: 0 !important; }
.gn-art__tool--soon b { color: #474A43 !important; } .gn-art__tool--soon span span { color: #5A5E57 !important; }
.gn-t-soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 800; }
@media (max-width: 639px) { .gn-pcf__soon { grid-template-columns: 1fr; } }

/* ================================================================================================== */
/* v4 S1: Australia funds worksheet (GsPlanner rebuilt)                                               */
/* ================================================================================================== */
.gn-gw { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gn-gw__setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gn-gw__seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.gn-gw__seg legend { padding: 0 0 6px; font-size: 14px; font-weight: 700; color: #2C2F2A; }
.gn-gw__seg { display: flex; flex-wrap: wrap; }
.gn-gw__seg legend { width: 100%; }
.gn-gw__seg label { flex: 1 1 0; position: relative; cursor: pointer; }
.gn-gw__seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gn-gw__seg span { display: grid; place-items: center; min-height: 44px; padding: 0 10px; border: 1px solid var(--edge); background: var(--surface); font-size: 14px; font-weight: 700; color: #2C2F2A; text-align: center; }
.gn-gw__seg label:first-of-type span { border-radius: var(--r-input, 10px) 0 0 var(--r-input, 10px); }
.gn-gw__seg label:last-of-type span { border-radius: 0 var(--r-input, 10px) var(--r-input, 10px) 0; margin-left: -1px; }
.gn-gw__seg input:checked + span { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.gn-gw__seg input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.gn-gw__partner { grid-column: 1 / -1; }
.gn-gw__partner[hidden] { display: none; }
.gn-gw__rate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gn-gw__rate > [hidden] { display: none; }
.gn-gw__ratebox span[aria-hidden] { font-size: 14px; font-weight: 700; color: #474A43; white-space: nowrap; }
.gn-gw__costs { display: grid; border-top: 1px solid var(--edge); }
.gn-gw__cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: 8px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--edge); }
.gn-gw__cost.is-off b { color: #6B6E66; font-weight: 600; }
.gn-gw__sw { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.gn-gw__sw input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-brand); }
.gn-gw__sw b { display: block; font-size: 15px; line-height: 22px; font-weight: 700; }
.gn-gw__sw small { display: block; font-size: 13px; line-height: 19px; color: #5A5E57; }
.gn-gw__amt { display: flex; gap: 6px; }
.gn-gw__amt .gn-fw__money { flex: 1; min-width: 0; height: 46px; font-size: 16px; }
.gn-gw__cur { font-size: 13px; font-weight: 700; color: #5A5E57; }
.gn-gw__swap { flex: none; min-width: 56px; padding: 0 10px; border: 1px solid var(--edge); border-radius: var(--r-input, 10px); background: var(--ref-paper-50); font: inherit; font-size: 13px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-gw__groups { display: grid; gap: 0; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ref-paper-50); }
.gn-gw__groups div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.gn-gw__groups dt { color: #2C2F2A; }
.gn-gw__groups dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.gn-gw__groups dd small, .gn-gw__ans small { display: block; font-size: 12px; font-weight: 600; color: #5A5E57; }
.gn-gw__groups .is-total { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--edge); font-size: 16px; }
.gn-gw__groups .is-total dt { font-weight: 800; }
.gn-gw__rows { display: grid; gap: 10px; }
.gn-gw__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 12px; padding: 14px; border: 1px solid var(--edge); border-radius: 12px; background: var(--ref-paper-50); }
.gn-gw__row .gn-gw__wide { grid-column: 1 / -1; }
.gn-gw__row .gn-fw__money { height: 50px; font-size: 17px; }
.gn-gw__row small[data-out] { min-height: 19px; font-weight: 600; color: var(--color-brand); }
.gn-gw__row input[type="month"] { height: 50px; padding: 0 12px; border: 1px solid var(--edge); border-radius: var(--r-input, 10px); background: var(--surface); font: inherit; font-size: 16px; }
.gn-gw__ticks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 18px; }
.gn-gw__ticks .gn-gs__check { min-height: 36px; padding: 4px 0; font-weight: 500; }
.gn-gw__ops { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; }
.gn-gw__ops button { min-width: 40px; min-height: 36px; padding: 0 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); font: inherit; font-size: 14px; font-weight: 700; color: #2C2F2A; cursor: pointer; }
.gn-gw__ops button[disabled] { opacity: .35; cursor: default; }
.gn-gw__ops button[data-rm] { color: var(--fn-red-ink); }
.gn-gw__mix:empty { display: none; }
.gn-gw__mix h3 { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--color-brand); }
.gn-gw__mix table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.gn-gw__mix :is(th, td) { padding: 7px 4px; border-bottom: 1px solid var(--edge); text-align: right; }
.gn-gw__mix th { text-align: left; font-weight: 600; }
.gn-gw__mix tfoot :is(th, td) { font-weight: 800; border-bottom: 0; }
.gn-gw__st { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--ref-lime-100); color: var(--ref-forest-950); font-size: 12px; font-weight: 700; }
.gn-gw__st.is-flag { background: var(--fn-red-50); color: var(--fn-red-ink); }
.gn-gw__split { margin-top: 10px; padding-left: 10px; border-left: 3px solid var(--color-brand); font-size: 14px; line-height: 21px; }
.gn-gw__split.is-flag { border-color: var(--fn-red); color: var(--fn-red-ink); }
.gn-gw__wait { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--ref-paper-50); font-size: 15px; line-height: 23px; color: #2C2F2A; }
.gn-gw__wait[hidden] { display: none; }
.gn-gw__answers { display: grid; gap: 10px; margin-top: 14px; }
.gn-gw__answers:empty { display: none; }
.gn-gw__ans { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--edge); border-left: 4px solid var(--color-brand); }
.gn-gw__ans.is-mid { border-left-color: var(--fn-amber); }
.gn-gw__ans.is-low { border-left-color: var(--fn-red); }
.gn-gw__ans h3 { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #474A43; }
.gn-gw__verdict { margin-top: 2px; font-size: 19px; line-height: 26px; font-weight: 800; color: #0A0A0A; }
.gn-gw__verdict small { display: inline !important; margin-left: 6px; }
.gn-gw__ans p + p { margin-top: 6px; font-size: 14px; line-height: 21px; color: #2C2F2A; }
.gn-gw__ans p.gn-gw__off { padding-top: 8px; border-top: 1px dashed var(--edge); color: #474A43; font-size: 13px; line-height: 19px; }
.gn-gs__warns h3, .gn-gw__listh { margin-top: 18px; font-size: 15px; font-weight: 800; }
.gn-gs__warns p.is-check { background: var(--ref-paper-50); border-left-color: var(--fn-amber); color: #2C2F2A; }
.gn-gw__print { display: none; }
.gn-gw__own { margin-top: 14px; border-top: 1px solid var(--edge); padding-top: 10px; }
.gn-gw__own summary { min-height: 40px; display: flex; align-items: center; font-size: 15px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-gw__bar i { font-style: normal; font-size: 12px; font-weight: 600; opacity: .75; margin-left: 6px; }
.gn-gw__bar i:first-child { margin-left: 0; }
@media (max-width: 1023px) { .gn-gw { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .gn-gw__setup, .gn-gw__rate { grid-template-columns: 1fr; }
  .gn-gw__cost { grid-template-columns: 1fr; }
  .gn-gw__cost .gn-gw__amt { padding-left: 30px; }
  .gn-gw__row { grid-template-columns: 1fr; padding: 12px; }
  .gn-gw__bar span { font-size: 14px; }
}
@media print {
  .gn-gw__print { display: block; }
  .gn-gw__print table { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 11pt; }
  .gn-gw__print caption { text-align: left; font-weight: 800; }
  .gn-gw__print :is(th, td) { padding: 3px 4px; border-bottom: 1px solid #ccc; text-align: right; }
  .gn-gw__print th { text-align: left; font-weight: 500; }
  .gn-gw__own, .gn-gs__grp input { display: none; }
}

/* ================================================================================================== */
/* v4 S2: review fixes                                                                                */
/* ================================================================================================== */
/* hero: depth without boxes (a Lime wash behind the G, a Forest-tinted shadow under it); a supporting line */
.gn-h3__g::before { content: ""; position: absolute; z-index: -1; inset: -18% -30% -14% -30%; border-radius: 50%;
  background: radial-gradient(in oklch closest-side, oklch(from var(--ref-lime-200) l c h / .85), oklch(from var(--ref-lime-100) l c h / .45) 55%, oklch(from var(--ground) l c h / 0)); }
.gn-h3__g .gn-super { filter: drop-shadow(0 28px 36px oklch(25.5% 0.045 183 / .22)) drop-shadow(0 4px 8px oklch(25.5% 0.045 183 / .12)); }
.gn-h3__lead { margin-top: 20px; max-width: 46ch; font-size: 19px; line-height: 29px; color: #3A3E39; }
@media (max-width: 1023px) { .gn-h3__g { opacity: 1; } }
@media (max-width: 639px) {
  /* phone: the G sits beside the headline at full strength, with room of its own */
  .gn-h3__g { right: var(--gut, 24px); top: calc(var(--nav) + 34px); height: 116px; opacity: 1; }
  .gn-h3__g::before { inset: -30%; }
  .gn-h3 h1 { max-width: calc(100% - 100px); }
  .gn-h3__lead { margin-top: 14px; font-size: 16px; line-height: 24px; }
}
/* homepage: "Applying through a consultancy?" stacks on a phone */
@media (max-width: 767px) {
  html main > section.gn-wco > .wrap.gn-wco__wrap { grid-template-columns: 1fr; gap: 12px; }
  .gn-wco__ic { width: 48px; height: 48px; padding: 12px; }
}
/* homepage phone: the CV section shows one visual (the sheet) */
@media (max-width: 639px) {
  .gn-wcv__form { display: none; }
  .gn-wcv__vis { min-height: 0; }
  .gn-wcv__sheet { position: relative; width: 100%; min-height: 0; }
}
/* footer: "(coming soon)" on its own line under the name */
.gn-foot-soon span { display: block; margin-top: 2px; font-size: 12px; }
/* tools index: the Classic sheet in the CV card; the quiet English test panel; panels on the v3 scale */
.gn-duo__card { padding: 30px; gap: 24px; }
.gn-duo__card h3 { font-size: 28px; line-height: 34px; }
.gn-duo__card p { font-size: 16px; line-height: 25px; }
.gn-duo__card--forest { background: linear-gradient(in oklch 160deg, var(--ref-forest-700), var(--ref-forest)); }
.gn-duo__card--lime { background: var(--ref-lime-100); }
.gn-wcv__sheet--card { position: relative; right: auto; top: auto; width: auto; min-height: 0; margin: 0 0 -60px; padding: 24px 22px 40px; }
.gn-tl-soon { display: grid; align-content: start; gap: 10px; padding: 30px; border-radius: var(--r-panel, 20px); background: var(--surface); border: 1px solid var(--edge); }
.gn-tl-soon__badge { justify-self: start; padding: 2px 10px; border-radius: 6px; background: var(--ref-paper); font-size: 13px; font-weight: 700; color: #474A43; }
.gn-tl-soon h3 { font-size: 26px; line-height: 32px; letter-spacing: -0.02em; font-weight: 800; }
.gn-tl-soon p { font-size: 16px; line-height: 25px; color: #474A43; max-width: 46ch; }
.gn-tl-soon__tests { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.gn-tl-soon__tests li { padding: 4px 10px; border: 1px solid var(--edge); border-radius: 6px; font-size: 14px; font-weight: 600; color: #2C2F2A; }
.gn-tl-soon .gn-link { margin-top: 4px; }
@media (max-width: 639px) { .gn-duo__card, .gn-tl-soon { padding: 24px 20px; } .gn-duo__card h3 { font-size: 24px; line-height: 30px; } }
.gn-h3__lead { font-weight: 500; }
/* the Classic sheet keeps its own small type inside a duo card */
.gn-duo__card .gn-wcv__sheet p { max-width: none; margin-top: 8px; font-size: 12px; line-height: 17px; color: #0A0A0A; }
.gn-duo__card .gn-wcv__sheet p.gn-wcv__sub { margin-top: 2px; color: #474A43; }
.gn-duo__card--forest { align-items: stretch; }
.gn-duo__card--forest .gn-duo__text { align-self: start; }
.gn-duo__card--forest .gn-tl-fund { align-self: end; }
/* the featured pre-CAS panel on the v3 scale: lighter padding and headline */
.gn-pcf { padding: clamp(24px, 3.2vw, 44px); gap: 40px; }
.gn-pcf h2.gn-pcf__h { font-size: clamp(32px, 2.6vw + 8px, 48px); line-height: 1.05; }
/* footer "(coming soon)": a tidy second line, whatever the kit does to list items */
footer .footer__col li.gn-foot-soon { display: block; }
footer .footer__col li.gn-foot-soon span { display: block; }
/* homepage phone: fewer screens. The CV points repeat the sheet; two latest posts are enough */
@media (max-width: 639px) {
  .gn-wcv__points { display: none; }
  .gn-wblog__list > li:nth-child(n+3) { display: none; }
}

/* ================================================================================================== */
/* v5: fixes after v4                                                                                 */
/* ================================================================================================== */
/* footer "(coming soon)": readable on the lightest part of the Forest gradient (scripts/contrast.mjs) */
footer .footer__col li.gn-foot-soon { color: oklch(100% 0 0 / .82); }
footer .footer__col li.gn-foot-soon span { color: oklch(100% 0 0 / .76); }
/* hero, tablet (640 to 1023): the G beside the headline with room of its own, never under the text */
@media (min-width: 640px) and (max-width: 1023px) {
  .gn-h3__g { right: var(--gut, 32px); top: calc(var(--nav) + 52px); bottom: auto; height: 170px; opacity: 1; }
  .gn-h3 h1, .gn-h3__lead { max-width: calc(100% - 190px); }
}
/* tools index: the quiet English panel keeps its own height beside the account panel */
#english .gn-duo { align-items: start; }
/* hero, small laptop (1024 to 1279): copy and G each keep their own column; the G never reaches the list */
@media (min-width: 1024px) and (max-width: 1279px) {
  .gn-h3__copy { max-width: 560px; }
  .gn-h3__g { height: 400px; max-height: none; top: calc(var(--nav) + 72px); bottom: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .gn-h3 h1 { font-size: min(4.4vw + 10px, 56px); }
  .gn-h3__row { flex-wrap: wrap; }
}

/* v6 A2: a tool that is not open yet: plain page, no screens */
html main > section.gn-soon { height: auto !important; min-height: 0 !important; display: block; padding: 24px 0 72px; background: var(--ground); }
html main > section.gn-soon > .wrap { display: block; height: auto; }
.gn-soon__badge { display: inline-block; margin-top: 18px; padding: 3px 10px; border-radius: 6px; background: var(--ref-paper); font-size: 14px; font-weight: 700; color: #474A43; }
.gn-soon__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 48px; }
.gn-soon__h { font-size: 24px; line-height: 30px; letter-spacing: -0.02em; font-weight: 800; color: #0A0A0A; }
.gn-soon__h--gap { margin-top: 36px; }
.gn-soon__p { margin-top: 14px; font-size: 16px; line-height: 25px; color: #474A43; }
.gn-soon__skills { margin: 8px 0 0; border-top: 1px solid var(--edge); }
.gn-soon__skills div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.gn-soon__skills dt { font-weight: 800; color: var(--color-brand); }
.gn-soon__skills dd { margin: 0; color: #2F3330; }
.gn-soon__list { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; line-height: 25px; color: #2F3330; }
.gn-soon__links { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--edge); }
.gn-soon__links a { display: grid; grid-template-columns: 1fr 16px; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--edge); color: #0A0A0A; text-decoration: none; }
.gn-soon__links span { font-size: 13px; font-weight: 700; color: var(--color-brand); }
.gn-soon__links b { grid-column: 1; font-weight: 600; }
.gn-soon__links svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--color-brand); }
.gn-soon__links a:hover b { text-decoration: underline; }
.gn-soon--faq .gn-qa2 { margin-top: 16px; }
@media (max-width: 767px) { .gn-soon__grid { grid-template-columns: 1fr; gap: 32px; } .gn-soon__skills div { grid-template-columns: 1fr; gap: 2px; } }
/* v6 A4: the pre-CAS button always fits its panel; a shorter label on small phones */
.gn-pcf .btn { max-width: 100%; white-space: normal; text-align: center; }
.gn-pcf__short { display: none; }
@media (max-width: 400px) { .gn-pcf__long { display: none; } .gn-pcf__short { display: inline; } }
/* v6 A5: homepage CV section, phone: space between the paragraph and the button */
@media (max-width: 639px) { .gn-wcv__copy .btn { margin-top: 20px; } }
/* v6 A6: collapsed calculator cards hug their one line (the polish block's group padding was doubling the summary's) */
.gn-cc__group.gn-cc__more { padding: 0; gap: 0; }
.gn-cc__more > summary { min-height: 56px; padding-top: 16px; padding-bottom: 16px; align-items: center; }
/* v6 A7: the answers panel uses the window's height (sticky, own scroll only when taller than the screen); on short
   windows it is not sticky at all, so it never becomes a narrow slot */
@media (min-width: 1024px) { .gn-gs__card { max-height: calc(100dvh - var(--nav) - 40px); } }
@media (min-width: 1024px) and (max-height: 760px) { .gn-gs__res { position: static; } .gn-gs__card { max-height: none; overflow: visible; } }
/* v6 A8: month and year selects in place of input type=month */
.gn-gw__since { margin: 0; padding: 0; border: 0; min-width: 0; }
.gn-gw__since legend { padding: 0 0 8px; font-size: 14px; font-weight: 700; color: #2F3330; }
.gn-gw__since-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gn-gw__since select { width: 100%; }
/* v6 A10: study-abroad hub: two links in a stage sit apart, and stack on phones */
.gn-sa__body p.gn-sa__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; }
.gn-sa__links .gn-link { margin-top: 0; }
@media (max-width: 639px) { .gn-sa__body p.gn-sa__links { flex-direction: column; align-items: flex-start; } }
/* v6 A9: hero from 1024 up: the button above the fold at 800px tall, the G whole and clear of the copy */
@media (min-width: 1024px) {
  html main > section.gn-h3 { padding-top: calc(var(--nav) + 44px); padding-bottom: 56px; }
  .gn-h3__lead { margin-top: 14px; }
  .gn-h3__chips { margin-top: 22px; }
  .gn-h3__panels { margin-top: 18px; }
  .gn-h3__panel li a { padding: 10px 0; }
  .gn-h3__guide { display: none; }
  .gn-h3 .btn-row { margin-top: 20px; }
}
@media (min-width: 1280px) {
  .gn-h3__g { top: calc(var(--nav) + 40px); bottom: auto; max-height: none; height: min(600px, calc((100vw - 780px - 4vw - 40px) * 1.25)); }
}
/* v6 A9: country chips: wrap on tablets; on phones the scroll row gets a fade at the right edge */
@media (min-width: 640px) and (max-width: 1023px) { .gn-h3__row { flex-wrap: wrap; } }
@media (max-width: 639px) {
  .gn-h3__chips { position: relative; }
  .gn-h3__row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
}
/* v6 A11: the calculator card shows its two answers; content centred so no large empty block at any width */
.gn-duo__card--forest { align-items: center !important; }
.gn-duo__card--forest .gn-duo__text, .gn-duo__card--forest .gn-tl-fund { align-self: center !important; }
.gn-tl-fund--answers { gap: 8px; box-shadow: var(--shadow-lift); }
.gn-tl-fund__flags { display: flex; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--edge); }
.gn-tl-fund__flags img { border-radius: 50%; }
.gn-tl-fund--answers .gn-tl-fund__k { margin-top: 4px; font-size: 12px; font-weight: 700; color: #5A5E57; }
.gn-tl-fund__a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--ref-paper-50); }
.gn-tl-fund__a b { font-size: 15px; font-weight: 800; color: var(--color-brand); }
.gn-tl-fund__a em { font-style: normal; font-size: 13px; line-height: 18px; color: #474A43; }
/* v6 A13: nothing in an article may widen the page.
   Tables scroll inside their own box on phones and tablets; term popups take no space until opened and, on phones,
   open as a bar pinned inside the screen. */
@media (max-width: 1023px) {
  .gn-prose table:not(.gn-embed *) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gn-prose table:not(.gn-embed *) th, .gn-prose table:not(.gn-embed *) td { min-width: 9em; }
}
.gn-term__tip { display: none; }
.gn-term:hover .gn-term__tip, .gn-term:focus .gn-term__tip, .gn-term:focus-within .gn-term__tip { display: block; }
@media (max-width: 639px) {
  .gn-term__tip { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); top: auto; width: auto; max-width: none; transform: none; }
}
/* v6 A14: student contact on the student-site system */
html main > section.gn-wct { height: auto !important; min-height: 0 !important; display: block; padding: 16px 0 96px; background: var(--ground); }
html main > section.gn-wct > .wrap { display: block; height: auto; }
.gn-wct__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gn-wct__card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card, 14px); background: var(--surface); border: 1px solid var(--edge); }
.gn-wct__ic { color: var(--color-brand); }
.gn-wct__who { font-size: 13px; font-weight: 700; color: var(--color-brand); }
.gn-wct__card h2 { font-size: 21px; line-height: 27px; letter-spacing: -0.015em; font-weight: 800; color: #0A0A0A; }
.gn-wct__card p { font-size: 16px; line-height: 25px; color: #2F3330; }
.gn-wct__card .gn-wct__inc { padding-top: 10px; border-top: 1px solid var(--edge); font-size: 14px; line-height: 21px; color: #474A43; }
.gn-wct__card .btn { margin-top: auto; align-self: flex-start; }
.gn-wct__foot { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: #474A43; }
@media (max-width: 1023px) { .gn-wct__grid { grid-template-columns: 1fr; } }
/* v6 B: student /about, how the guides are written and checked */
html main > section.gn-wabout-src { height: auto !important; min-height: 0 !important; display: block; padding: 24px 0 72px; background: var(--ground); }
html main > section.gn-wabout-src > .wrap { display: block; height: auto; }
.gn-wabout-src__grid { display: grid !important; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; padding-top: 40px; border-top: 1px solid var(--edge); }
.gn-wabout-src__body h3 { margin-top: 28px; font-size: 19px; line-height: 26px; font-weight: 800; color: #0A0A0A; }
.gn-wabout-src__body h3:first-child { margin-top: 0; }
.gn-wabout-src__body p { margin-top: 8px; max-width: 64ch; font-size: 17px; line-height: 28px; color: #2F3330; }
.gn-wabout-src__body a { color: var(--color-brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .gn-wabout-src__grid { grid-template-columns: 1fr; gap: 20px; } }
/* v6 C3: every warning carries an icon with its word (red triangle = fix; amber circle = check) */
.gn-gs__warns p { position: relative; padding-left: 36px; }
.gn-gs__warns p::before, .gn-gw__ans.is-low .gn-gw__verdict::before, .gn-gw__ans.is-mid .gn-gw__verdict::before {
  content: ''; position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; background: var(--fn-red);
  -webkit-mask: var(--ic-warn) center / contain no-repeat; mask: var(--ic-warn) center / contain no-repeat; }
.gn-gs__warns p.is-check { background: var(--fn-amber-50); border-left-color: var(--fn-amber); }
.gn-gs__warns p.is-check::before { background: var(--fn-amber); -webkit-mask-image: var(--ic-check); mask-image: var(--ic-check); }
.gn-gw__ans.is-low .gn-gw__verdict, .gn-gw__ans.is-mid .gn-gw__verdict { position: relative; padding-left: 24px; }
.gn-gw__ans.is-low .gn-gw__verdict::before, .gn-gw__ans.is-mid .gn-gw__verdict::before { left: 0; top: 5px; }
.gn-gw__ans.is-mid { border-left-color: var(--fn-amber); }
.gn-gw__ans.is-mid .gn-gw__verdict::before { background: var(--fn-amber); -webkit-mask-image: var(--ic-check); mask-image: var(--ic-check); }
:root {
  --ic-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 21h20L12 3z'/%3E%3Cpath d='M12 10v5M12 18h.01'/%3E%3C/svg%3E");
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
}
/* v6 C4: phone bar: three label + state pairs on one line, the action an icon button */
html.gn-gs-js .gn-gw__bar { padding: 8px 8px 8px 14px; gap: 8px; }
.gn-gw__bar-items { display: flex; flex: 1; min-width: 0; gap: 12px; }
.gn-gw__bi { display: grid; min-width: 0; line-height: 1.15; }
.gn-gw__bi i { font-style: normal; font-size: 11px; font-weight: 600; color: oklch(100% 0 0 / .78); }
.gn-gw__bi b { font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-gw__bi.is-flag b { color: oklch(86% 0.07 60); }
.gn-gw__bar-go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ref-lime); color: var(--ref-forest-950); }
.gn-gw__bar .gn-gw__bi i { opacity: 1; margin-left: 0; }

/* v6 C1/C2: the pre-CAS and US visa practice pages on the v3 system: the hero on the page ground with dark text, the
   product screen on one soft Lime panel (the single accent), a plain start panel, one chip style */
html main > section.gn-t-hero { margin: var(--nav) 0 0 !important; border-radius: 0 !important; padding: 56px 0 64px; background: var(--ground) !important; color: #0A0A0A; border-bottom: 1px solid var(--edge); }
.gn-t-hero h1 { color: #0A0A0A; font-size: clamp(38px, 2.6vw + 14px, 60px); }
.gn-t-hero .gn-t-hero__back { color: var(--color-brand) !important; }
.gn-t-hero .gn-t-hero__lead { color: #2F3330 !important; }
html[data-buttons] .gn-t-hero--forest .btn.btn--primary { background: var(--color-brand); color: var(--ref-lime); border-color: var(--color-brand); }
.gn-t-hero--forest .gn-ph__link { color: var(--color-brand); }
.gn-t-hero--forest :focus-visible { outline-color: var(--color-brand); }
.gn-t-hero__art { align-self: stretch; align-items: center; padding: 32px 0; border-radius: var(--r-panel); background: linear-gradient(in oklch 160deg, var(--ref-lime-50), var(--ref-lime-100)); }
.gn-go, .gn-go--lime, .gn-go--forest { background: var(--surface) !important; border: 1px solid var(--edge); color: #0A0A0A; padding: 32px 36px; }
.gn-go--forest .gn-h2 { color: #0A0A0A; } .gn-go--forest .gn-sub { color: #474A43; }
html[data-buttons] .gn-go--forest .btn.btn--primary { background: var(--color-brand); color: var(--ref-lime); border-color: var(--color-brand); }
.gn-go--forest :focus-visible { outline-color: var(--color-brand); }
.gn-go .gn-go__in { color: var(--color-brand); }
.gn-chips--lg li, .gn-chips--lg li:nth-child(3n+1), .gn-chips--lg li:nth-child(4n+2) { background: var(--surface); color: var(--color-brand); border: 1px solid var(--edge); box-shadow: none; padding: 10px 16px; font-size: 16px; border-radius: 8px; }
@media (max-width: 1023px) { .gn-t-hero__art { margin-top: 32px; } }
@media (max-width: 639px) { html main > section.gn-t-hero { padding: 32px 0 40px; } .gn-go, .gn-go--lime, .gn-go--forest { padding: 24px 20px; } }
/* v6 C5: CV builder on phones: zoom the preview, a tidy step header */
.gn-cv2__zoom { display: none; min-height: 40px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); font: inherit; font-size: 14px; font-weight: 700; color: var(--color-brand); cursor: pointer; }
.gn-cv2__stage.is-zoom { overflow: auto; -webkit-overflow-scrolling: touch; }
.gn-cv2__edit { scroll-margin-top: calc(var(--nav) + 8px); }
@media (max-width: 639px) {
  .gn-cv2__zoom { display: inline-flex; align-items: center; }
  .gn-cv2__head { flex-wrap: nowrap; }
  .gn-cv2__count { min-width: 0; gap: 8px; }
  .gn-cv2__count span { white-space: nowrap; font-size: 13px; }
  .gn-cv2__count b { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gn-cv2__all { flex: none; font-size: 14px; white-space: nowrap; }
}
/* v6 C7: the homepage's consultancy note as a proper closing note */
html main > section.gn-wco--note > .wrap { display: block; }
.gn-wco__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 48px; align-items: start; padding: 36px 40px; border-radius: var(--r-panel); background: var(--ref-paper-50); border: 1px solid var(--edge); }
.gn-wco__k { font-size: 14px; font-weight: 700; color: var(--color-brand); }
.gn-wco--note h2 { margin-top: 6px; font-size: clamp(24px, 1.4vw + 12px, 32px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: #0A0A0A; }
.gn-wco--note p:not(.gn-wco__k) { margin-top: 0; font-size: 17px; line-height: 27px; color: #2F3330; max-width: 56ch; }
.gn-wco--note .gn-link { margin-top: 14px; }
@media (max-width: 767px) { .gn-wco__panel { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; } }
.gn-soon__list { list-style: disc; } .gn-soon__list li::marker { color: var(--color-brand); }
/* v6 pass 3: a scrollable article table shows a soft shadow on the side with more content (scroll-shadow technique;
   the covers move with the content, the shadows stay with the box) */
@media (max-width: 1023px) {
  .gn-prose table:not(.gn-embed *) {
    background:
      linear-gradient(to right, var(--surface) 30%, oklch(100% 0 0 / 0)) left center / 40px 100% no-repeat local,
      linear-gradient(to left, var(--surface) 30%, oklch(100% 0 0 / 0)) right center / 40px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, oklch(25.5% 0.045 183 / .22), oklch(25.5% 0.045 183 / 0)) left center / 14px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, oklch(25.5% 0.045 183 / .22), oklch(25.5% 0.045 183 / 0)) right center / 14px 100% no-repeat scroll,
      var(--surface);
  }
}
