/* ==========================================================================================================
   Support center, design v2 (stage 4a "support"). Kit source: design/redesign/kit/css/pages/support.css, REPLACES
   static/css/pages/support.css. Linked by the views on every support page (css_key "support": index, category,
   article, SEO-skolen, opdateringer, their articles) and on /soeg/ (the help box); loaded after gp-base.css.
   Templates: kit/templates/stage4a/support/*; behaviour static/js/support.js (unchanged).
   Spec §6.6–§6.7; Moneybird's help center for clarity (big search, topic cards with icon + count, a narrow article
   column with a side TOC, section cards of rows), not its look. Palette v1-mb roles only, no green, mobile first
   (min-width 768 / 992 / 1200; the TOC column from 1200 as in v1).
   Contents: 1 shared (tray heads, support heads, rows) · 2 index (hero, topic cards, more chips, lists tray, the
   navy contact panel) · 3 bar + category · 4 guide/platform/update cards · 5 article layout (nav, TOC, disclosures)
   · 6 article prose (steps, screenshots, video, code, callouts, tables) · 7 end of article (feedback, pager,
   related, help contact) · 8 collections (SEO-skolen, release notes) · 9 lightbox · 10 motion, print.
   ========================================================================================================== */

.support-page { --support-tile: var(--gp-accent-tint); }
:where(.support-page main) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin-top: 0; }   /* zero specificity: components win */

/* ---- 1. shared ------------------------------------------------------------------------------------------- */
/* a tray that starts at y = 0 under the floating bar (zero layout height): it reserves the bar itself */
.support-hero, .support-bar {
  position: relative;
  margin-inline: 0;
  border-radius: 0 0 var(--gp-radius-tray) var(--gp-radius-tray);
}
@media (min-width: 768px) {
  .support-hero, .support-bar { margin-inline: max(var(--gp-tray-inset), (100% - var(--gp-tray-max)) / 2); }
  .support-hero > .container, .support-bar > .container { --gutter: var(--gp-tray-pad-x); }
}
.support-head { max-width: 760px; margin: 0 0 32px; }
.support-head__title {
  margin: 0; color: var(--heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600;
}
.support-head__text { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 26px; }
.support-head--list .support-head__title { font-size: var(--gp-fs-card-h3); line-height: var(--gp-lh-card-h3); }
.support-head--list { margin-bottom: 20px; }

/* rows: a white card of link rows (Moneybird's section cards): the guide lists of the category groups and the index's
   popular guides + release notes. The list is the card, each <li> a row (markup unchanged: tests assert class="guide-grid"). */
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) {
  display: block; margin: 0; padding: 4px 0; list-style: none;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card);
}
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li { display: block; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li + li { border-top: 1px solid var(--gp-hairline); }

/* ---- 2. index -------------------------------------------------------------------------------------------- */
.support-hero {
  padding: calc(var(--gp-header-reserve) + 24px) 0 56px; text-align: left; overflow: visible;
  background: var(--gp-accent-tint); color: var(--gp-ink);
}
.support-hero::before { content: none; }
.support-hero .eyebrow, .support-hero__eyebrow { margin: 0 0 12px; color: var(--gp-accent-text); font-size: var(--gp-fs-eyebrow);
  line-height: var(--gp-lh-eyebrow); font-weight: 600; }
.support-hero__title {
  margin: 0; color: var(--gp-heading); font-size: var(--gp-fs-page-h1); line-height: var(--gp-lh-page-h1);
  letter-spacing: var(--gp-ls-page-h1); font-weight: 600;
}
.support-hero__title::before { content: none; }
.support-hero__text { max-width: 640px; margin: 16px 0 28px; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.support-hero .search-box { max-width: 760px; margin: 0; }
.support-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.support-hero__popular-label { color: var(--gp-heading); font-size: 14px; font-weight: 600; }
.support-hero__popular .gp-chip { background: var(--gp-page); }
@media (min-width: 768px) {
  .support-hero { padding: calc(var(--gp-header-reserve) + 48px) 0 72px; text-align: center; }
  .support-hero__text { margin-inline: auto; }
  .support-hero .search-box { margin-inline: auto; }
  .support-hero__popular { justify-content: center; }
}

/* topics: white cards, icon tile 48, title, one line of text, the count as the link cue; 3 columns */
.support-topics .support-head { margin-bottom: 32px; }
@media (min-width: 768px) { .support-topics .support-head { margin: 0 auto var(--gp-intro-gap); text-align: center; } }
.cat-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cat-card {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 20px; background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink);
  transition: border-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--support-tile);
}
.cat-card > * { grid-column: 2; }
.cat-card__badge {
  grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--gp-radius-button); background: var(--support-tile);
}
.cat-card__badge .icon { width: 30px; height: 30px; }
.cat-card__title { margin: 2px 0 0; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }
.cat-card__link { color: var(--gp-heading); text-decoration: none; }
.cat-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat-card__link:hover { color: var(--gp-heading); text-decoration: none; }
.cat-card__link:focus-visible { outline: none; }
.cat-card:has(.cat-card__link:focus-visible) { outline: 2px solid var(--gp-focus); outline-offset: 2px; }
.cat-card:hover { border-color: var(--gp-action); }
.cat-card__text { margin: 6px 0 0; color: var(--gp-muted); font-size: 15px; line-height: 22px; }
.cat-card__count { margin-top: 10px; color: var(--gp-link); font-size: 14px; line-height: 20px; font-weight: 600; }
.cat-card__count::after { content: "\00a0\2192"; transition: margin-left var(--gp-dur-arrow) var(--gp-ease); }
.cat-card:hover .cat-card__count::after { margin-left: var(--gp-arrow-shift); }
@media (min-width: 768px) {
  .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cat-card { display: flex; flex-direction: column; padding: 28px; }
  .cat-card__badge { width: 56px; height: 56px; margin-bottom: 20px; }
  .cat-card__badge .icon { width: 32px; height: 32px; }
  .cat-card__title { margin: 0; font-size: 20px; line-height: 26px; }
  .cat-card__count { margin-top: auto; padding-top: 16px; }
}
@media (min-width: 992px) { .cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* top-level guides without sub-articles: chips with the icon */
.support-more { margin-top: 40px; }
.support-more__title { margin: 0 0 14px; color: var(--gp-heading); font-size: 16px; line-height: 22px; font-weight: 600; }
.support-more__list { gap: 10px; }
.support-more__link { gap: 10px; min-height: 44px; padding-inline: 10px 16px; }
.support-more__link .icon { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .support-more { text-align: center; }
  .support-more__list { justify-content: center; }
}

/* popular guides + latest release notes: two row cards on a stone tray */
.support-lists .support-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) {
  .support-lists .support-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .support-lists .support-split--single { grid-template-columns: minmax(0, 1fr); }
}
.update-list__all { margin: 16px 0 0; font-size: 15px; }

/* the navy contact panel that ends the index (the page's one dark surface) */
.support-contact-band { margin-top: var(--gp-section-y); }
.support-contact-band.section { padding-block: 56px; }
.support-contact { display: grid; gap: 28px; align-items: center; color: var(--text); --icon-surface: var(--gp-dark-raised); }
.support-contact__intro { display: flex; gap: 20px; align-items: flex-start; }
.support-contact__badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--gp-dark-raised); }
.support-contact__title { margin: 0 0 8px; color: var(--heading); font-size: var(--gp-fs-cta-h2); line-height: var(--gp-lh-cta-h2);
  letter-spacing: var(--gp-ls-cta-h2); font-weight: 600; }
.support-contact__text { margin: 0; color: var(--muted); font-size: 17px; line-height: 26px; }
.support-contact__list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.support-contact__item { display: flex; gap: 14px; align-items: flex-start; }
.support-contact__item .icon { flex: none; margin-top: 2px; }
.support-contact__item > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.support-contact__label { color: var(--muted); font-size: 14px; font-weight: 600; }
.support-contact__value { color: var(--gp-on-dark); font-size: 20px; line-height: 28px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.support-contact__value:hover { color: var(--gp-on-dark); text-decoration: underline; }
.support-contact__note { color: var(--muted); font-size: 14px; }
.support-contact__action .btn { width: 100%; }
@media (min-width: 768px) {
  .support-contact-band.section { padding-block: 72px; }
  .support-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
  .support-contact__intro { grid-column: 1 / -1; }
  .support-contact__action .btn { width: auto; }
}
@media (min-width: 1200px) {
  .support-contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; }
  .support-contact__intro { grid-column: auto; }
}

/* ---- 3. the stone bar (article / collection / search) and the category header ---------------------------- */
.support-bar { padding: var(--gp-header-reserve) 0 0; background: var(--gp-stone); border-bottom: 0; }
.support-bar__inner { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-block: 4px 20px; min-height: 0; }
.support-bar .breadcrumbs { min-width: 0; font-size: 14px; line-height: 20px; }
.support-bar .breadcrumbs ol { gap: 4px 0; }
.support-bar .breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--gp-muted); }
.support-bar .breadcrumbs a { color: var(--gp-link); text-decoration: none; font-weight: 500; }
.support-bar .breadcrumbs a:hover { color: var(--gp-link-hover); text-decoration: underline; }
.support-bar .breadcrumbs [aria-current] { color: var(--gp-muted); }
.support-bar .breadcrumbs li:last-child { display: none; }                 /* the page's own h1 says it */
.support-bar .breadcrumbs li:nth-last-child(2)::after { content: none; }
@media (min-width: 768px) {
  .support-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 8px 24px; }
  .support-bar .search-box--compact { flex: 0 1 380px; }
  .support-bar .breadcrumbs li:last-child { display: list-item; }
  .support-bar .breadcrumbs li:nth-last-child(2)::after { content: "/"; }
}
/* category and collection pages: the header inside the tray */
.support-bar--hero { padding-bottom: 40px; }
.support-bar--hero .support-bar__inner { padding-bottom: 28px; }
@media (min-width: 768px) { .support-bar--hero { padding-bottom: 56px; } .support-bar--hero .support-bar__inner { padding-bottom: 40px; } }

.cat-head { display: flex; gap: 16px; align-items: flex-start; max-width: 860px; }
.cat-head__badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--gp-page); --icon-surface: var(--gp-page); }
.cat-head__badge .icon { width: 32px; height: 32px; }
.cat-head__title { margin: 0; color: var(--gp-heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600; }
.cat-head__text { margin: 10px 0 0; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.cat-head__meta { margin: 12px 0 0; color: var(--gp-muted); font-size: 14px; font-weight: 600; }
@media (min-width: 768px) {
  .cat-head { gap: 28px; }
  .cat-head__badge { width: 80px; height: 80px; border-radius: 20px; }
  .cat-head__badge .icon { width: 40px; height: 40px; }
  .cat-head__title { font-size: var(--gp-fs-page-h1); line-height: var(--gp-lh-page-h1); letter-spacing: var(--gp-ls-page-h1); }
}

.cat-section.section { padding-top: 40px; }
/* the category page reads in 1000 (Moneybird's help center: 960): the tray's rows and the content share that edge */
.cat-container, .support-category .support-bar > .container { max-width: calc(1000px + 2 * var(--gutter)); }
.collection-opdateringer .support-bar > .container { max-width: calc(1024px + 2 * var(--gutter)); }
.support-bar__spacer { display: none; }
@media (min-width: 768px) { .support-bar__spacer { display: block; } }
.cat-intro { margin: 0 0 32px; }
.cat-switch { margin: 0 0 8px; padding: 0; border: 0; }
.cat-switch__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  scrollbar-width: none; }
.cat-switch__list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cat-switch__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.cat-group { margin-top: 40px; }
.cat-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.cat-group__title { margin: 0; color: var(--gp-heading); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }
.cat-group__title a { color: var(--gp-heading); text-decoration: none; }
.cat-group__title a:hover { color: var(--gp-link); text-decoration: underline; }
.cat-group__count { color: var(--gp-muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.cat-section .help-contact { margin-top: 56px; }
@media (min-width: 768px) { .cat-section.section { padding-top: 48px; } .cat-group { margin-top: 48px; } }

/* ---- 4. cards: guide (grid or rows), platform, update --------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.guide-grid > li { display: flex; min-width: 0; }
@media (min-width: 768px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 992px) { .guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .guide-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guide-card {
  flex: 1; min-width: 0; display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease), background-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--support-tile);
}
.guide-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.guide-card__media { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--gp-radius-button); background: var(--support-tile); }
.guide-card__media .icon { width: 30px; height: 30px; }
.guide-card__logo { width: 34px; height: 34px; object-fit: contain; }
.guide-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guide-card__eyebrow { color: var(--gp-link); font-size: 13px; line-height: 18px; font-weight: 600; }
.guide-card__title { color: var(--gp-heading); font-size: 17px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; }
.guide-card:hover .guide-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-card__text { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
.guide-card__meta { color: var(--gp-muted); font-size: 13px; line-height: 18px; }

/* the same card as a row inside a row card: title + one-line text left, reading time + chevron right */
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list).guide-grid { display: block; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px;
  padding: 14px 52px 14px 20px; border: 0; border-radius: 0; background: transparent;
}
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li:first-child .guide-card { border-radius: 22px 22px 0 0; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li:last-child .guide-card { border-radius: 0 0 22px 22px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li:only-child .guide-card { border-radius: 22px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card:hover { background: var(--gp-wash); }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card:focus-visible { outline-offset: -2px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card::after { /* chevron */
  content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; margin-top: -5px;
  border-right: 2px solid var(--gp-action); border-top: 2px solid var(--gp-action); transform: rotate(45deg);
  transition: right var(--gp-dur-arrow) var(--gp-ease);
}
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card:hover::after { right: 20px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__media { display: none; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__body { display: contents; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__eyebrow { grid-column: 1; order: -1; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__title { grid-column: 1; font-size: 16px; line-height: 23px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__text { grid-column: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__meta { grid-column: 2; grid-row: 1 / span 4; white-space: nowrap; }
@media (max-width: 767px) { :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__meta { display: none; } :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card { padding-right: 44px; } :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card::after { right: 20px; } }
@media (min-width: 992px) { .cat-section :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card__text { -webkit-line-clamp: 1; } }

/* "start here" cards (when the YAML has start_here): stacked, a step number on the icon */
.start-grid { counter-reset: start; }
.start-grid > li { counter-increment: start; }
.start-grid .guide-card__media { position: relative; }
.start-grid .guide-card__media::after {
  content: counter(start); position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gp-heading); color: var(--gp-on-dark); font: 700 12px/24px var(--gp-font-sans); text-align: center;
}
@media (min-width: 768px) { .start-grid .guide-card { flex-direction: column; padding: 24px; } }

.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.platform-grid > li { display: flex; }
@media (min-width: 768px) { .platform-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; } }
.platform-grid--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .platform-grid--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .platform-grid--strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.platform-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; text-align: center;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--gp-page); --icon-line: var(--gp-heading);
}
.platform-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.platform-card__logo { display: grid; place-items: center; height: 48px; margin-bottom: 8px; }
.platform-card__logo img { width: auto; height: 48px; max-width: 120px; object-fit: contain; }
.platform-card__name { color: var(--gp-heading); font-size: 15px; line-height: 20px; font-weight: 600; }
.platform-card__meta { color: var(--gp-muted); font-size: 13px; }

/* release note card (support index rows: compact) */
.update-card {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease), background-color var(--gp-dur-colour) var(--gp-ease);
}
.update-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.update-card__meta { display: flex; align-items: center; gap: 8px; color: var(--gp-muted); font-size: 13px; line-height: 18px; font-variant-numeric: tabular-nums; }
.update-card__meta::before { content: none; }
.update-card__title { color: var(--gp-heading); font-size: 16px; line-height: 23px; font-weight: 600; }
.update-card:hover .update-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.update-card__points { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--gp-muted); font-size: 14px; line-height: 20px; }
.update-card__points li { position: relative; padding-left: 20px; }
.update-card__points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; background: var(--gp-accent);
  -webkit-mask: var(--gp-tick) center / contain no-repeat; mask: var(--gp-tick) center / contain no-repeat;
}
.update-card__text { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .update-card { position: relative; padding: 16px 52px 16px 20px; border: 0; border-radius: 0; background: transparent; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li:first-child .update-card { border-radius: 22px 22px 0 0; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) > li:last-child .update-card { border-radius: 0 0 22px 22px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .update-card:hover { background: var(--gp-wash); }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .update-card:focus-visible { outline-offset: -2px; }
:where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .update-card::after {
  content: ""; position: absolute; right: 24px; top: 26px; width: 8px; height: 8px;
  border-right: 2px solid var(--gp-action); border-top: 2px solid var(--gp-action); transform: rotate(45deg);
}
:root { --gp-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---- 5. article layout: nav | article | "på denne side" ------------------------------------------------- */
.doc-section.section { padding-top: 32px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.doc-aside, .doc-toc { display: none; }
.doc-article { min-width: 0; }
.doc-article > :not(.doc-footer) { max-width: var(--gp-prose); }
@media (min-width: 992px) {
  .doc-section.section { padding-top: 48px; }
  .doc-layout, .doc-layout--toc { grid-template-columns: 236px minmax(0, 1fr); gap: 48px; }
  .doc-aside {
    display: block; position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 2px 8px 24px 2px; margin-left: -2px; scrollbar-width: thin; scrollbar-color: var(--gp-hairline) transparent;
  }
}
@media (min-width: 1200px) {
  .doc-layout--toc { grid-template-columns: 236px minmax(0, 1fr) 208px; gap: 48px; }
  .doc-toc {
    display: block; position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 2px 2px 24px; scrollbar-width: thin; scrollbar-color: var(--gp-hairline) transparent;
  }
}

/* category navigation (sidebar + phone disclosure) */
.doc-nav { font-size: 15px; line-height: 21px; }
.doc-nav__category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px;
  background: var(--support-tile); color: var(--gp-heading); font-weight: 600; text-decoration: none; --icon-surface: var(--support-tile);
}
.doc-nav__category:hover { color: var(--gp-accent-text); text-decoration: none; }
.doc-nav__group + .doc-nav__group, .doc-nav__list + .doc-nav__group { margin-top: 2px; }
.doc-nav__summary {
  display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; border-radius: 10px; cursor: pointer; list-style: none;
  color: var(--gp-heading); font-size: 14px; font-weight: 600;
}
.doc-nav__summary::-webkit-details-marker { display: none; }
.doc-nav__summary > span:first-child { flex: 1; }
.doc-nav__summary:hover { background: var(--gp-stone); }
.doc-nav__summary::after, .doc-disclosure__summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 3px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform var(--gp-dur-dropdown) var(--gp-ease);
}
details[open] > .doc-nav__summary::after, details[open] > .doc-disclosure__summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.doc-nav__count { color: var(--gp-muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.doc-nav__list { margin: 0; padding: 0 0 6px; list-style: none; }
.doc-nav__group .doc-nav__list { margin-left: 12px; border-left: 2px solid var(--gp-hairline); }
.doc-nav__link { display: block; margin: 1px 0; padding: 6px 10px 6px 12px; border-radius: 10px; color: var(--gp-ink); text-decoration: none; }
.doc-nav__group .doc-nav__link { margin-left: -2px; border-radius: 0 10px 10px 0; border-left: 2px solid transparent; }
.doc-nav__link:hover { background: var(--gp-stone); color: var(--gp-heading); text-decoration: none; }
.doc-nav__link[aria-current="page"] { background: var(--gp-accent-tint); border-left-color: var(--gp-action); color: var(--gp-heading); font-weight: 600; box-shadow: none; }
.doc-nav--others { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--gp-hairline); }
.doc-nav__heading { margin: 0 0 6px; color: var(--gp-muted); font-size: 13px; font-weight: 600; }
.doc-nav--others .doc-nav__link { display: flex; justify-content: space-between; gap: 8px; padding-inline: 0; font-size: 14px; }
.doc-nav--others .doc-nav__link:hover { background: none; color: var(--gp-link); }

/* "på denne side": a 2 px rule, the section in view marked (support.js sets aria-current="location") */
.toc__title { margin: 0 0 10px; color: var(--gp-heading); font-size: 13px; line-height: 18px; font-weight: 600; }
.toc__list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--gp-hairline); font-size: 14px; line-height: 19px; }
.toc__link { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--gp-muted);
  text-decoration: none; transition: color var(--gp-dur-colour) var(--gp-ease), border-color var(--gp-dur-colour) var(--gp-ease); }
.toc__item--h3 .toc__link { padding-left: 26px; font-size: 13px; }
.toc__link:hover { color: var(--gp-heading); text-decoration: none; }
.toc__link[aria-current="location"] { border-left-color: var(--gp-action); color: var(--gp-heading); font-weight: 600; }

/* disclosures that replace the columns on smaller screens */
.doc-disclosure { display: block; margin-bottom: 16px; border: var(--gp-border); border-radius: 16px; background: var(--gp-page); overflow: clip; }
.doc-disclosure__summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; cursor: pointer; list-style: none;
  color: var(--gp-heading); font-weight: 600; --icon-surface: var(--gp-page);
}
.doc-disclosure__summary::-webkit-details-marker { display: none; }
.doc-disclosure__summary > span { flex: 1; min-width: 0; }
.doc-disclosure__label { margin-right: 6px; color: var(--gp-muted); font-size: 13px; font-weight: 600; }
.doc-disclosure__summary:hover { background: var(--gp-wash); }
/* the ring inside the clipped, rounded box, with its inner radius (16 − 2 px line; acceptance A-3) */
.doc-disclosure__summary { border-radius: 14px; }
details[open] > .doc-disclosure__summary { border-radius: 14px 14px 0 0; }
.doc-disclosure__summary:focus-visible { outline-offset: -2px; }
.doc-disclosure__panel { padding: 4px 16px 16px; border-top: 1px solid var(--gp-hairline); }
.doc-disclosure__panel .doc-nav__category { display: none; }
.doc-disclosure__panel .doc-nav { padding-top: 10px; }
.doc-disclosure__panel .toc { padding-top: 12px; }
.doc-disclosure--nav + .doc-header { margin-top: 24px; }
@media (min-width: 992px) { .doc-disclosure--nav { display: none; } .doc-disclosure--nav + .doc-header { margin-top: 0; } }
@media (min-width: 1200px) { .doc-disclosure--toc { display: none; } }

/* article header */
.doc-header { margin-bottom: 28px; }
.doc-header__eyebrow { margin: 0 0 12px; color: var(--gp-muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.doc-header__eyebrow a { color: var(--gp-link); text-decoration: none; }
.doc-header__eyebrow a:hover { text-decoration: underline; }
.doc-header__title { margin: 0; color: var(--gp-heading); font-size: clamp(30px, 24.74px + 1.348vw, 42px);
  line-height: clamp(36px, 30.74px + 1.348vw, 48px); letter-spacing: -.022em; font-weight: 600; overflow-wrap: break-word; }
.doc-header__lead { margin: 14px 0 0; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding-top: 16px; border-top: 2px solid var(--gp-hairline);
  color: var(--gp-muted); font-size: 14px; }
.doc-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.doc-meta .icon { color: var(--gp-muted); }

/* admin version choice (support/_admin_version.html; docs/decisions/2026-10-28-admin-versions.md): between the
   eyebrow and the h1, a stone card that reads as a choice before reading. The browser icon in a white disc + the
   question (navy 17/600, labels the group) + the help link (action blue = clickable; right of the question from
   768 px, under it on phones); below, one option card per version: white, an empty ring; the shown version =
   accent tint with a 2 px action border and a filled action disc with a white tick ("Ny" = the coral "Nyhed"
   badge). Two columns from 480 px, stacked below. Quieter than the h1 (smaller type, no navy fill), louder than
   the eyebrow. The help pop-up is a native popover in the top layer: a white card radius 24 in the middle of the
   viewport, a light navy scrim. */
.doc-version {
  --doc-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "icon prompt" "icon help" "form form" "pop pop";
  column-gap: 12px; align-items: center; margin: 4px 0 28px; padding: 16px 16px 16px; border-radius: 20px; background: var(--gp-stone);
}
.doc-version__icon {
  grid-area: icon; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gp-page); --icon-surface: var(--gp-page); --icon-line: var(--gp-heading); --icon-accent: var(--gp-action); color: var(--gp-heading);
}
.doc-version__prompt { grid-area: prompt; margin: 0; color: var(--gp-heading); font-size: 17px; line-height: 24px; font-weight: 600; text-wrap: balance; }
.doc-version__help {
  grid-area: help; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -6px 0; padding: 0;
  border: 0; background: none; color: var(--gp-link); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; text-align: left;
}
.doc-version__help:hover span { text-decoration: underline; text-underline-offset: 3px; }
.doc-version__help-icon { flex: none; --icon-line: currentColor; }
.doc-version__form { grid-area: form; margin: 14px 0 0; }
.doc-version__opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.doc-version__opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 16px 0 14px;
  border: 2px solid var(--gp-page); border-radius: 14px; background: var(--gp-page); color: var(--gp-heading);
  font: inherit; font-size: 16px; line-height: 22px; font-weight: 600; text-align: left; cursor: pointer;
  box-shadow: 0 1px 2px rgba(25,25,25,.06);
  transition: border-color var(--gp-dur-colour) var(--gp-ease), background-color var(--gp-dur-colour) var(--gp-ease);
}
.doc-version__opt:hover { border-color: var(--gp-line-strong); }
.doc-version__opt:focus-visible { outline: 2px solid var(--gp-focus); outline-offset: 2px; }
.doc-version__mark {
  position: relative; flex: none; width: 22px; height: 22px; border: 2px solid var(--gp-line-strong); border-radius: 50%; background: var(--gp-page);
  transition: border-color var(--gp-dur-colour) var(--gp-ease), background-color var(--gp-dur-colour) var(--gp-ease);
}
.doc-version__opt:hover .doc-version__mark { border-color: var(--gp-action); }
.doc-version__opt[aria-pressed="true"] { border-color: var(--gp-action); background: var(--gp-accent-tint); box-shadow: none; cursor: default; }
.doc-version__opt[aria-pressed="true"] .doc-version__mark { border-color: var(--gp-action); background: var(--gp-action); }
.doc-version__opt[aria-pressed="true"] .doc-version__mark::after {
  content: ""; position: absolute; inset: 1px; background: var(--gp-page); -webkit-mask: var(--doc-tick) center / contain no-repeat; mask: var(--doc-tick) center / contain no-repeat;
}
.doc-version__opt[aria-busy="true"] { cursor: progress; }
.doc-version__badge { padding: 0 7px; border-radius: 6px; background: var(--gp-coral); color: var(--gp-ink);
  font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .02em; }
@media (min-width: 480px) {
  .doc-version__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 768px) {
  .doc-version { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon prompt help" "form form form" "pop pop pop";
    column-gap: 14px; padding: 18px 20px 20px; border-radius: var(--gp-radius-card); }
  .doc-version__icon { align-self: center; }
  .doc-version__help { justify-self: end; }
  .doc-version__form { margin-top: 16px; }
  .doc-version__opt { min-height: 56px; padding-inline: 18px 20px; }
}
/* the pop-up (no popover support: shown in place as a card, the close button then does nothing) */
.doc-version__pop {
  grid-area: pop; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: 0; padding: 24px 24px 22px;
  overflow: auto; border: 0; border-radius: var(--gp-radius-card); background: var(--gp-page); color: var(--gp-ink);
  box-shadow: var(--gp-shadow-header), 0 0 0 1px var(--gp-hairline);
}
.doc-version__pop:popover-open { position: fixed; inset: 0; margin: auto; height: fit-content; }
.doc-version__pop::backdrop { background: rgba(5,38,76,.28); }
.doc-version__pop-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.doc-version__pop-title { flex: 1; min-width: 0; margin: 0; color: var(--gp-heading); font-size: 20px; line-height: 26px; font-weight: 600; }
.doc-version__pop-title:focus { outline: none; }
.doc-version__close {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -12px 0 0;
  padding: 0; border: 0; border-radius: 50%; background: var(--gp-stone); color: var(--gp-heading);
  font: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
.doc-version__close:hover { background: var(--gp-hairline); }
.doc-version__pop-body { font-size: 16px; line-height: 25px; }
.doc-version__pop-body p { margin: 0; }
.doc-version__pop-body p + p { margin-top: 10px; }
/* the quiet note for a visitor who chose version 7 on an article without a version-7 text: the same stone family,
   no card weight (radius 14, muted 14 px, the same browser icon small) */
.doc-version-note { display: flex; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin: 4px 0 20px; padding: 10px 16px 10px 12px;
  border-radius: 14px; background: var(--gp-stone); color: var(--gp-muted); font-size: 14px; line-height: 20px; }
.doc-version-note__icon { flex: none; margin-top: 1px; --icon-surface: var(--gp-stone); --icon-line: var(--gp-muted); --icon-accent: var(--gp-muted); color: var(--gp-muted); }
@media (prefers-reduced-motion: reduce) { .doc-version__opt, .doc-version__mark { transition: none; } }

/* ---- 6. article prose (Markdown, .prose--article; renderer web/content.py article=True) ------------------- */
.prose--article { max-width: var(--gp-prose); color: var(--gp-ink); font-size: var(--gp-fs-prose-article); line-height: var(--gp-lh-prose-article);
  overflow-wrap: break-word; }
.prose--article > * + * { margin-top: 1.1em; }
.prose--article p, .prose--article ul, .prose--article ol { margin-bottom: 0; }
.prose--article h2 {
  margin: 2.2em 0 0; padding-top: 1.1em; border-top: 2px solid var(--gp-hairline); color: var(--gp-heading);
  font-size: var(--gp-fs-prose-h2); line-height: var(--gp-lh-prose-h2); font-weight: 600; letter-spacing: -.015em;
}
.prose--article h3 { margin: 1.8em 0 0; color: var(--gp-heading); font-size: var(--gp-fs-prose-h3); line-height: var(--gp-lh-prose-h3); font-weight: 600; }
.prose--article h4 { margin: 1.6em 0 0; color: var(--gp-heading); font-size: 17px; line-height: 24px; font-weight: 600; }
.prose--article :is(h2, h3, h4) + * { margin-top: .7em; }
.prose--article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose--article a { color: var(--gp-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose--article a:hover { color: var(--gp-link-hover); text-decoration-thickness: 2px; }
.prose--article ul { padding-left: 1.3em; }
.prose--article ul > li::marker { color: var(--gp-action); }
.prose--article li + li { margin-top: .4em; }
.heading-anchor, .prose .heading-anchor { color: inherit; text-decoration: none; }
.prose--article .heading-anchor:hover { color: inherit; text-decoration: none; }
.heading-anchor::after { content: "#"; margin-left: .35em; color: var(--gp-accent); font-weight: 500; opacity: 0;
  transition: opacity var(--gp-dur-colour) var(--gp-ease); }
.heading-anchor:hover::after, .heading-anchor:focus-visible::after { opacity: 1; }
.prose--article :is(h2, h3):target .heading-anchor::after { opacity: 1; }

/* numbered steps: the semantic <ol> keeps its numbers, drawn as navy discs (white 15.13) joined by a line */
.prose--article > ol { list-style: none; padding-left: 0; counter-reset: step; }
.prose--article > ol > li { position: relative; counter-increment: step; min-height: 32px; padding-left: 50px; }
.prose--article > ol > li + li { margin-top: 20px; }
.prose--article > ol > li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gp-heading); color: var(--gp-on-dark); font: 600 14px/32px var(--gp-font-sans); text-align: center; font-variant-numeric: tabular-nums;
}
.prose--article > ol > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: -14px; width: 2px; border-radius: 1px; background: var(--gp-hairline); }
.prose--article > ol > li > p:first-child { margin-top: 0; }
.prose--article li > p + p, .prose--article li > p + .table-wrap { margin-top: .8em; }

/* screenshots: radius 12, 1 px line, the screenshot shadow; ≥ 400 px ones open in the lightbox (a.zoom) */
.prose--article img, .prose--article video.article-video {
  max-width: 100%; height: auto; margin: 0; border: 1px solid var(--gp-hairline); border-radius: var(--gp-radius-tile-inner-screenshot);
  box-shadow: var(--gp-shadow-screenshot); background: var(--gp-page);
}
.prose--article li img, .prose--article li a.zoom { margin: 14px 0 4px; }
.prose--article p > img:only-child { margin: 0; }
.prose a.zoom { position: relative; display: inline-block; max-width: 100%; vertical-align: top; cursor: zoom-in; text-decoration: none;
  border-radius: var(--gp-radius-tile-inner-screenshot); }
.prose a.zoom img { display: block; margin: 0; }
.prose a.zoom::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gp-heading) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity var(--gp-dur-colour) var(--gp-ease);
}
.prose a.zoom:hover::after, .prose a.zoom:focus-visible::after { opacity: 1; }
.prose a.zoom:focus-visible { outline-offset: 3px; }
@media (hover: none) { .prose a.zoom::after { opacity: .9; width: 32px; height: 32px; } }
/* captions (figure/figcaption: video lines with *caption*, future image captions) */
.prose--article figure { margin: 1.6em 0 0; }
.prose--article figcaption, .prose--article .video__caption { margin-top: 10px; color: var(--gp-muted); font-size: 14px; line-height: 20px; text-align: left; }

/* video facade (web/videos.py): a 16:9 frame radius 24, the action-blue play disc with a white ring */
.prose--article .video, .coll-intro .video, .page-design .video, .page-om_os .video { margin: 1.6em 0 0; }
.support-page .video__link, .support-page .video__frame { border-radius: var(--gp-radius-tile); box-shadow: none; background: var(--gp-heading); }
/* play disc lower left beside the title, 56 px (QA P3-6, as the marketing pages: gp-pages.css) */
.support-page .video__play { left: 16px; top: auto; bottom: 16px; width: 56px; height: 56px; margin: 0; z-index: 1; background: var(--gp-action);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 6px 18px rgba(5, 38, 76, .35); }
.support-page .video__play::after { left: 22px; top: 17px; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--gp-on-dark); }
.support-page .video__link:hover .video__play, .support-page .video__link:focus-visible .video__play { background: var(--gp-action-hover); transform: scale(1.05); }
.support-page .video__meta { min-height: 120px; align-items: center; padding: 48px 20px 16px 88px; background: linear-gradient(rgba(5, 38, 76, 0), rgba(5, 38, 76, .8) 44px, rgba(5, 38, 76, .9)); color: var(--gp-on-dark); }  /* QA P1-1: dense from the text line (white ≥ 4.5 on any thumbnail) */
.support-page .video__duration { background: rgba(5, 38, 76, .8); border-radius: 6px; }
/* QA P1-1: the facade is an <a> inside .prose, and components.css `.prose a` (0,1,1: cobalt, underlined) beat
   `.video__link` (0,1,0): caption + duration rendered cobalt on the navy gradient (≈ 2–2.9:1). The facade keeps the
   on-dark text (white on rgba(5,38,76,.88): ≥ 12:1 where the gradient is full) and no underline. */
.support-page .prose .video__link, .support-page .prose .video__link:hover, .support-page .coll-intro .video__link,
.support-page .coll-intro .video__link:hover { color: var(--gp-on-dark); text-decoration: none; }
.support-page .video__title, .support-page .video__duration { color: var(--gp-on-dark); }
.support-page .video__link:focus-visible { outline: 2px solid var(--gp-focus); outline-offset: 3px; }

/* code: menu paths and values as stone chips; blocks on the wash with a hairline (light, calm) */
.prose--article code { padding: .1em .42em; border: 1px solid var(--gp-hairline); border-radius: 6px; background: var(--gp-stone);
  color: var(--gp-heading); font-family: var(--gp-font-mono); font-size: .86em; }
/* blocks wrap instead of scrolling sideways (no unreachable scroll region for keyboard users, axe
   scrollable-region-focusable; the renderer cannot add tabindex) */
.prose--article pre { margin-top: 1.2em; padding: 18px 20px; overflow-x: visible; border: 2px solid var(--gp-hairline); border-radius: 16px;
  background: var(--gp-wash); color: var(--gp-ink); font-size: 14px; line-height: 1.6; tab-size: 2;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.prose--article pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.prose--article pre:focus-visible { outline: 2px solid var(--gp-focus); outline-offset: 2px; }

/* callouts ("> **Tip:**" …): a tinted card radius 16 with the icon in a white disc, the label on its own line */
.prose--article blockquote { margin: 1.4em 0 0; padding: 16px 20px; border: 0; border-radius: 16px; background: var(--gp-stone); color: var(--gp-ink); }
.prose--article blockquote > * + * { margin-top: .5em; }
.prose--article .callout {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; margin-block: 1.6em 0;
  padding: 18px 22px 18px 18px; border: 0; border-radius: 16px; background: var(--gp-accent-tint); color: var(--gp-ink);
}
.prose--article .callout > * { grid-column: 2; }
.prose--article .callout > * + * { margin-top: .4em; }
.prose--article .callout > .callout__icon + * { margin-top: 0; }
.prose--article .callout__icon {
  grid-column: 1; grid-row: 1 / span 20; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gp-page); --icon-surface: var(--gp-page); --icon-line: var(--gp-heading); --icon-accent: var(--gp-action); color: var(--gp-heading);
}
.prose--article .callout__label { display: block; margin-bottom: 2px; color: var(--gp-heading); font-weight: 600; }
.prose--article .callout a { color: var(--gp-accent-text); }
.prose--article .callout--tip, .prose--article .callout--note { background: var(--gp-accent-tint); }
.prose--article .callout--warning { background: #fdf3d7; }            /* warm amber tint: ink 15.8, heading 13.6 */
.prose--article .callout--warning .callout__icon { --icon-accent: #9a6b00; }
.prose--article .callout--warning a { color: #7a4f00; }               /* 6.44 on the tint */
.prose--article .callout--help { background: var(--gp-stone); }
.prose--article .callout--help a { color: var(--gp-link); }

/* tables */
.prose--article .table-wrap { overflow-x: auto; margin-top: 1.4em; border: 2px solid var(--gp-hairline); border-radius: 16px; }
.prose--article .table-wrap table { overflow-wrap: normal; }
.prose--article .table-wrap :is(th, td) { min-width: 7em; }
.prose--article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.prose--article :is(th, td) { padding: 10px 14px; border-bottom: 1px solid var(--gp-hairline); text-align: left; vertical-align: top; }
.prose--article :is(th, td) + :is(th, td) { border-left: 1px solid var(--gp-hairline); }
.prose--article tr:last-child > td { border-bottom: 0; }
.prose--article th { background: var(--gp-stone); color: var(--gp-heading); font-weight: 600; }
.prose--article hr { margin: 2em 0; border: 0; border-top: 2px solid var(--gp-hairline); }

/* ---- 7. end of article ------------------------------------------------------------------------------------ */
.doc-footer { display: grid; gap: 32px; margin-top: 56px; }
.doc-footer > * { min-width: 0; }
.feedback { max-width: var(--gp-prose); padding: 22px 24px; border: 0; border-radius: var(--gp-radius-card); background: var(--gp-stone); }
.feedback__form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.feedback__form--more { display: grid; justify-content: stretch; gap: 12px; }
.feedback__title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gp-heading); font-size: 18px; line-height: 24px; font-weight: 600; }
.feedback__title:focus { outline: none; }
.feedback__buttons { display: flex; gap: 10px; }
.feedback__btn { min-width: 92px; background: var(--gp-page); }
.feedback__label { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
.feedback__comment { min-height: 96px; background: var(--gp-page); }
.feedback__step[hidden] { display: none; }
.feedback__icon { --icon-surface: var(--gp-stone); }
.feedback .btn--dark { background: var(--gp-action); color: var(--gp-action-text); }
.feedback .btn--dark:hover { background: var(--gp-action-hover); }
@media (max-width: 479px) { .feedback__buttons { width: 100%; } .feedback__btn { flex: 1; } }

.pager { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: var(--gp-prose); }
@media (min-width: 480px) { .pager { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .pager__link--next { grid-column: 2; } }
.pager__link {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: var(--gp-border); border-radius: var(--gp-radius-card);
  color: var(--gp-heading); text-decoration: none; transition: border-color var(--gp-dur-colour) var(--gp-ease);
}
.pager__link:hover { border-color: var(--gp-action); color: var(--gp-heading); text-decoration: none; box-shadow: none; }
.pager__link--next { text-align: right; }
.pager__label { color: var(--gp-link); font-size: 13px; font-weight: 600; }
.pager__link--prev .pager__label::before { content: "\2190\00a0"; }
.pager__link--next .pager__label::after { content: "\00a0\2192"; }
.pager__title { font-weight: 600; line-height: 1.35; }

.related__title { margin: 0 0 16px; color: var(--gp-heading); font-size: 20px; line-height: 26px; font-weight: 600; }
.related .guide-card { padding: 18px; }
@media (min-width: 992px) { .related .guide-card { flex-direction: column; gap: 12px; } }

/* the help box: the page's one navy element */
.help-contact {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; padding: 28px 24px; align-items: center;
  border-radius: var(--gp-radius-card); background: var(--gp-surface-dark); color: var(--gp-on-dark);
  --icon-surface: var(--gp-dark-raised);
}
.help-contact__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gp-dark-raised); }
.help-contact__title { margin: 0 0 6px; color: var(--gp-on-dark); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.help-contact__text { margin: 0; color: var(--gp-on-dark-muted); font-size: 15px; line-height: 22px; }
.help-contact__text a { color: var(--gp-link-on-dark); white-space: nowrap; }
.help-contact__hours { display: block; margin-top: 2px; font-size: 14px; }
.help-contact__actions { display: flex; flex-direction: column; gap: 10px; }
.help-contact__actions .btn { width: 100%; }
@media (min-width: 480px) { .help-contact__actions { flex-direction: row; flex-wrap: wrap; } .help-contact__actions .btn { width: auto; } }
@media (min-width: 768px) {
  .help-contact { grid-template-columns: auto minmax(0, 1fr); padding: 32px; }
  .help-contact__actions { grid-column: 2; }
}
@media (min-width: 1200px) {
  .help-contact { grid-template-columns: auto minmax(0, 1fr) auto; }
  .help-contact__actions { grid-column: auto; }
  /* in the narrow columns (article 720, search 880) the actions sit under the text */
  :is(.doc-footer, .search-section) .help-contact { grid-template-columns: auto minmax(0, 1fr); }
  :is(.doc-footer, .search-section) .help-contact__actions { grid-column: 2; }
}

/* ---- 8. collections: SEO-skolen and the release notes ---------------------------------------------------- */
.coll-head { max-width: 820px; }
.coll-head .eyebrow { margin: 0 0 12px; color: var(--gp-link); font-size: var(--gp-fs-eyebrow); line-height: var(--gp-lh-eyebrow); font-weight: 600; }
.coll-head__title { margin: 0; color: var(--gp-heading); font-size: var(--gp-fs-page-h1); line-height: var(--gp-lh-page-h1);
  letter-spacing: var(--gp-ls-page-h1); font-weight: 600; }
.coll-head__text { margin-top: 16px; max-width: 720px; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.coll-head__text p + p { margin-top: .8em; }
.coll-section.section { padding-top: 48px; }
.coll-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 56px; padding: 0; background: none; }
.coll-intro--text { grid-template-columns: minmax(0, 1fr); }
.coll-intro__media .video { margin: 0; }
.coll-intro__title { margin: 0 0 12px; color: var(--gp-heading); font-size: var(--gp-fs-card-h3); line-height: var(--gp-lh-card-h3); font-weight: 600; }
.coll-intro__body .prose { max-width: 560px; font-size: 16px; line-height: 26px; }
.coll-intro__body .prose > * + * { margin-top: .8em; }
.coll-intro__body .prose ol { padding-left: 1.3em; }
.coll-intro__body .prose li + li { margin-top: .4em; }
.coll-intro .video__caption { margin-top: 10px; color: var(--gp-muted); font-size: 14px; }
@media (min-width: 992px) { .coll-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-bottom: 72px; } }
.coll-list { margin-bottom: 56px; }
.coll-list__title { margin: 0 0 24px; color: var(--gp-heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600; }

.lesson-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lesson-list > li { display: flex; min-width: 0; }
@media (min-width: 768px) { .lesson-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.lesson-card {
  flex: 1; min-width: 0; display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease);
}
.lesson-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.lesson-card__number { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gp-heading); color: var(--gp-on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.lesson-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lesson-card__meta { color: var(--gp-link); font-size: 13px; line-height: 18px; font-weight: 600; }
.lesson-card__title { color: var(--gp-heading); font-size: 18px; line-height: 25px; font-weight: 600; }
.lesson-card:hover .lesson-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lesson-card__text { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
@media (min-width: 768px) { .lesson-card { padding: 24px; gap: 18px; } }

/* release notes: a changelog list (Moneybird's grammar): version + date left, the highlights right, 2 px lines */
.collection-opdateringer .coll-section > .container { max-width: calc(1024px + 2 * var(--gutter)); }
.update-list--full { display: block; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--gp-hairline); }
.update-entry { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; border-bottom: 2px solid var(--gp-hairline); }
.update-entry__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.update-entry__title { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }
.update-entry__title a { color: var(--gp-heading); text-decoration: none; }
.update-entry__title a:hover { color: var(--gp-link); text-decoration: underline; text-decoration-thickness: 1px; }
.update-entry__date { color: var(--gp-muted); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.update-entry__points { display: grid; gap: 6px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; }
.update-entry__points li { position: relative; padding-left: 28px; color: var(--gp-ink); }
.update-entry__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--gp-accent);
  -webkit-mask: var(--gp-tick) center / contain no-repeat; mask: var(--gp-tick) center / contain no-repeat; }
.update-entry__text { margin: 0; color: var(--gp-muted); font-size: 15px; line-height: 22px; }
@media (min-width: 768px) {
  .update-entry { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px 0; }
  .update-entry__meta { flex-direction: column; gap: 6px; }
  .update-entry__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.collection-opdateringer .coll-list__title { margin-bottom: 8px; }

/* ---- 9. lightbox (support.js: <dialog class="lightbox">) ------------------------------------------------- */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--gp-on-dark); }
.lightbox::backdrop { background: rgba(5, 38, 76, .82); }
.lightbox__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 64px 8px 16px; }
@media (min-width: 480px) { .lightbox__inner { padding: 64px 24px 24px; } }
.lightbox__img { display: block; max-width: min(100%, 1600px); max-height: calc(100vh - 170px); width: auto; height: auto; background: var(--gp-page);
  border-radius: var(--gp-radius-tile-inner-screenshot); box-shadow: var(--gp-shadow-header); cursor: zoom-out; }
.lightbox__caption { max-width: 900px; margin: 0; color: var(--gp-on-dark); font-size: 15px; text-align: center; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--gp-radius-button); background: var(--gp-surface-dark); color: var(--gp-on-dark);
  font: 600 15px var(--gp-font-sans); cursor: pointer;
}
.lightbox__close:hover { border-color: var(--gp-on-dark); background: var(--gp-dark-raised); }
.lightbox__close:focus-visible { outline: 2px solid var(--gp-focus-on-dark); outline-offset: 2px; }
.lightbox__close span[aria-hidden] { font-size: 22px; line-height: 1; }

/* ---- 10. motion, print -------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cat-card, .guide-card, .platform-card, .update-card, .lesson-card, .pager__link, :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card::after { transition: none; }
  .cat-card:hover .cat-card__count::after { margin-left: 0; }
  :where(.cat-group, .support-lists) :is(.guide-grid, .update-list) .guide-card:hover::after { right: 24px; }
  .support-page .video__link:hover .video__play { transform: none; }
}
@media print {
  .site-header, .site-footer, .skip-link, .support-bar, .doc-aside, .doc-toc, .doc-disclosure,
  .feedback, .pager, .related, .help-contact, .lightbox { display: none !important; }
  .doc-version__help, .doc-version__pop, .doc-version__opt[aria-pressed="false"], .doc-version__icon, .doc-version__mark,
  .doc-version__badge, .doc-version-note__icon { display: none !important; }
  .doc-version { display: flex; flex-wrap: wrap; gap: 0 .4em; margin: 0 0 12pt; padding: 0; background: none; }
  .doc-version__form, .doc-version__opts { display: inline; margin: 0; }
  .doc-version__opt { display: inline; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 17px; line-height: 24px; }
  .doc-version-note { padding: 0; background: none; }
  body, .doc-section { background: #fff; }
  .doc-section { padding: 0; }
  .doc-layout, .doc-layout--toc { display: block; }
  .doc-article > :not(.doc-footer), .prose--article { max-width: none; }
  .prose--article { font-size: 11pt; }
  .prose--article h2 { break-after: avoid; }
  .prose--article img { box-shadow: none; break-inside: avoid; max-height: 18cm; width: auto; }
  .prose a.zoom::after, .heading-anchor::after { content: none; }
  .prose--article > ol > li::before { background: none; color: var(--gp-ink); border: 2px solid var(--gp-ink); line-height: 28px; }
  .prose--article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--gp-muted); overflow-wrap: anywhere; }
  .prose .callout { break-inside: avoid; }
}
