/* ==========================================================================
   help.aritma.com: the header, the "Produkter" and phone menus, the contact
   block and the footer of every help centre page.

   Loaded by help-header itself (require_css), so no page that has the header
   can miss it, and before help.css, so the page files keep the last word.
   The knowledge base cannot use the theme: it gets the same markup from the
   page /kb-shell-nb (/kb-shell-en, template kb-shell), whose #kb-shell
   carries a link to this file, and kb-site.css comes after it there.

   Also here, since the header needs them: the design tokens, the font, the
   container, the screen reader and skip link helpers and the button.

   Regular weight only, hierarchy from size and colour, 5 px controls and
   10 px cards, no tracked uppercase labels, left-border accents or arrows in
   buttons. Every selector starts with .kb- so nothing reaches main.css or
   other templates.
   ========================================================================== */

/* Same font file the knowledge base on help.aritma.com already serves. */
@font-face {
  font-family: 'Aritma Uten';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://help.aritma.com/hubfs/AritmaUten1.0-Regular.ttf')
    format('truetype');
}

.kb-page,
.kb-guide,
.kb-header,
.kb-help,
.kb-footer,
.kb-suggest,
.kb-catbar,
.kb-article,
.kb-body-wrapper {
  --kb-indigo: #45095a;
  --kb-pink: #fb8caf;
  --kb-seashell: #f9f0ee;
  --kb-white: #ffffff;
  --kb-blue: #2549d2;
  --kb-indigo-70: #7d538b;
  --kb-text: #222222;
  --kb-border: rgba(69, 9, 90, 0.23);
  --kb-on-dark-line: rgba(249, 240, 238, 0.3);
  --kb-on-dark-muted: rgba(249, 240, 238, 0.78);
  --kb-card-alt: #fff7f5;
  --kb-measure: 720px;
  --kb-rail: 256px;
  --kb-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --kb-radius-sm: 5px;
  --kb-radius-md: 10px;
  --kb-space-1: 4px;
  --kb-space-2: 8px;
  --kb-space-3: 16px;
  --kb-space-4: 24px;
  --kb-space-5: 32px;
  --kb-space-6: 48px;
  --kb-space-7: 64px;
  --kb-font: 'Aritma Uten', 'Aritma Uten 1.0', Inter, system-ui, -apple-system,
    'Segoe UI', sans-serif;
  font-family: var(--kb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

.kb-header :is(p, ul, ol, li),
.kb-footer :is(h2, p, ul, ol, li) {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

/* main.css sets its own font-family on every heading, so headings do not
   inherit the one set on the containers above. */
.kb-footer h2 {
  font-family: var(--kb-font);
  color: inherit;
}

.kb-header ul,
.kb-footer ul {
  list-style: none;
}

.kb-header a,
.kb-footer a {
  color: inherit;
}

.kb-header img,
.kb-footer img {
  display: block;
}

.kb-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--kb-space-6);
}

.kb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kb-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 8px 16px;
  border-radius: 5px;
  background: #ffffff;
  color: #45095a;
}
.kb-skip:focus {
  top: 16px;
}

.kb-header :focus-visible,
.kb-footer :focus-visible {
  outline: 2px solid var(--kb-seashell);
  outline-offset: 2px;
}

/* Buttons: one shape. The label stands alone. */
.kb-button {
  display: inline-block;
  padding: var(--kb-space-3) var(--kb-space-4);
  border: 0;
  border-radius: var(--kb-radius-sm);
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.kb-button:hover {
  text-decoration: underline;
}
.kb-mobile .kb-button--dark {
  background-color: var(--kb-indigo);
  color: var(--kb-seashell);
}
.kb-header .kb-button--light {
  background-color: var(--kb-white);
  color: var(--kb-indigo);
}

/* ===== Header ===== */
.kb-header {
  position: relative;
  z-index: 20;
  padding: var(--kb-space-5) 0;
  background-color: var(--kb-indigo);
  color: var(--kb-seashell);
}
/* Straight into an indigo band below: the two read as one. */
.kb-header--joined {
  padding-bottom: var(--kb-space-4);
}
.kb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--kb-space-4);
}
.kb-header__start {
  display: flex;
  align-items: center;
  gap: var(--kb-space-5);
  min-width: 0;
}
.kb-header__brand {
  display: flex;
  align-items: center;
  gap: var(--kb-space-3);
  text-decoration: none;
}
.kb-header__brand span {
  font-size: 18px;
  line-height: 28px;
  white-space: nowrap;
}
.kb-header__nav {
  display: flex;
  align-items: center;
  gap: var(--kb-space-5);
  font-size: 14px;
  line-height: 20px;
}
.kb-header__nav > a {
  text-decoration: none;
  white-space: nowrap;
}
.kb-header__nav > a:hover,
.kb-header__nav > a[aria-current] {
  text-decoration: underline;
}
.kb-header__nav .kb-button {
  padding: var(--kb-space-2) var(--kb-space-3);
  font-size: 14px;
  line-height: 20px;
}
.kb-header__nav .kb-show-sm,
.kb-header__nav .kb-show-md {
  display: none;
}
/* The knowledge base search in the bar (help-search, view "header"). Same box
   and field as the knowledge base header snippet (kb-site.base.css), so the
   bar looks the same on theme pages and knowledge base pages. */
.kb-header__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  margin: 0;
  padding: var(--kb-space-2) var(--kb-space-3);
  border: 1px solid var(--kb-on-dark-line);
  border-radius: var(--kb-radius-sm);
  color: var(--kb-seashell);
  font-size: 14px;
  line-height: 20px;
}
.kb-header__search:focus-within {
  outline: 2px solid var(--kb-seashell);
  outline-offset: 2px;
}
.kb-header .kb-header__search input[type='search'] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: inherit;
  font-family: var(--kb-font);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.kb-header .kb-header__search input[type='search']::placeholder {
  color: inherit;
  opacity: 1;
}
.kb-header
  .kb-header__search
  input[type='search']::-webkit-search-cancel-button {
  filter: invert(1);
}
.kb-header .kb-menu__panel :focus-visible,
.kb-header .kb-mobile :focus-visible {
  outline-color: var(--kb-blue);
}

/* kb-menu: "Produkter". A disclosure, not a hover menu: it opens on click and
   closes on a second click, Escape or a click outside. */
.kb-menu {
  position: relative;
}
.kb-header .kb-menu__button {
  display: inline-flex;
  align-items: center;
  gap: var(--kb-space-1);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.kb-header .kb-menu__button:hover,
.kb-header .kb-menu__button[aria-expanded='true'],
.kb-header .kb-menu__button[aria-current] {
  text-decoration: underline;
}
.kb-menu__button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.15s;
}
.kb-menu__button[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.kb-menu__panel {
  position: absolute;
  top: calc(100% + var(--kb-space-4));
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  border-radius: var(--kb-radius-md);
  background-color: var(--kb-white);
  color: var(--kb-indigo);
  box-shadow: 0 16px 32px rgba(69, 9, 90, 0.16);
  overflow: hidden;
}
.kb-menu__panel[hidden],
.kb-mobile[hidden] {
  display: none;
}
.kb-menu__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--kb-space-4);
  padding: var(--kb-space-4);
}
.kb-menu__group > p {
  margin-bottom: var(--kb-space-2);
  padding: 0 var(--kb-space-3);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-menu__group a {
  display: block;
  padding: var(--kb-space-2) var(--kb-space-3);
  border-radius: var(--kb-radius-sm);
  text-decoration: none;
}
.kb-menu__group a:hover,
.kb-menu__group a[aria-current] {
  background-color: var(--kb-seashell);
}
.kb-menu__group a:hover .kb-menu__name {
  text-decoration: underline;
}
.kb-menu__name {
  display: block;
  font-size: 16px;
  line-height: 26px;
}
.kb-menu__desc {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-text);
}
.kb-menu__more {
  display: flex;
  flex-wrap: wrap;
  gap: var(--kb-space-2) var(--kb-space-5);
  padding: var(--kb-space-3) var(--kb-space-5);
  border-top: 1px solid var(--kb-border);
  background-color: var(--kb-card-alt);
  font-size: 14px;
  line-height: 20px;
}
.kb-menu__more a {
  text-decoration: none;
}
.kb-menu__more a:hover {
  text-decoration: underline;
}

/* "Meny": the whole nav under 640 px. */
.kb-header .kb-menu-toggle {
  display: none;
  margin: 0;
  padding: var(--kb-space-2) var(--kb-space-3);
  border: 1px solid var(--kb-on-dark-line);
  border-radius: var(--kb-radius-sm);
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.kb-mobile {
  display: none;
}

/* ===== Footer ===== */
.kb-footer {
  padding: var(--kb-space-6) 0 var(--kb-space-5);
  background-color: var(--kb-indigo);
  color: var(--kb-seashell);
}
.kb-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: var(--kb-space-5);
}
.kb-footer .kb-footer__address {
  max-width: 320px;
  margin-top: var(--kb-space-3);
  font-size: 14px;
  line-height: 20px;
}
.kb-footer h2 {
  margin-bottom: var(--kb-space-3);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-pink);
}
.kb-footer li + li {
  margin-top: var(--kb-space-2);
}
.kb-footer a {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
.kb-footer a:hover {
  text-decoration: underline;
}
.kb-footer__bottom {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--kb-space-4);
  margin-top: var(--kb-space-6);
  padding-top: var(--kb-space-3);
  border-top: 1px solid var(--kb-on-dark-line);
  font-size: 14px;
  line-height: 20px;
}
.kb-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--kb-space-2) var(--kb-space-4);
}
.kb-footer__bottom li + li {
  margin-top: 0;
}

/* ===== Contact block: "Fant du ikke svaret?" above the footer =====
   On the knowledge base pages, from the kb-shell page with the header and
   footer; the target of the old "Kontakt support" links (#kontakt). */
.kb-help {
  padding: 64px 0;
  background-color: var(--kb-seashell);
  color: var(--kb-indigo);
}
.kb-help :is(p, h2) {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-family: var(--kb-font);
}
.kb-help :focus-visible {
  outline: 2px solid var(--kb-blue);
  outline-offset: 2px;
}
.kb-help__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 32px;
  border-radius: var(--kb-radius-md);
  background-color: var(--kb-white);
}
.kb-help h2 {
  font-size: 24px;
  line-height: 34px;
  color: var(--kb-indigo);
  text-wrap: balance;
}
.kb-help p {
  margin-top: 4px;
  color: var(--kb-text);
}
.kb-help__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.kb-help .kb-button--dark {
  background-color: var(--kb-indigo);
  color: var(--kb-seashell);
}

/* The suggestions under every help centre search field (js/help-search.js):
   the bar's, the front page's and the 404's, on theme and knowledge base
   pages alike. Groups in a fixed order, each with a muted heading, then
   "Se alle treff". 44 px rows; the list scrolls when it is taller than the
   screen allows. kb-front-page.css joins it to the big field. */
.kb-suggest {
  position: absolute;
  z-index: 30;
  top: calc(100% + var(--kb-space-2));
  left: 0;
  right: 0;
  box-sizing: border-box;
  max-height: min(calc(100vh - 120px), 760px);
  overflow-y: auto;
  padding: var(--kb-space-2);
  border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius-md);
  background-color: var(--kb-white);
  box-shadow: 0 16px 32px rgba(69, 9, 90, 0.12);
  color: var(--kb-indigo);
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}
.kb-suggest[hidden] {
  display: none;
}
.kb-header__search .kb-suggest {
  right: auto;
  width: 560px;
  max-width: calc(100vw - 2 * var(--kb-space-4));
}
.kb-suggest__group + .kb-suggest__group {
  margin-top: var(--kb-space-2);
  padding-top: var(--kb-space-2);
  border-top: 1px solid var(--kb-border);
}
.kb-suggest .kb-suggest__head {
  margin: 0;
  padding: var(--kb-space-2) var(--kb-space-3) var(--kb-space-1);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-suggest a.kb-suggest__option {
  display: block;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px var(--kb-space-3);
  border-radius: var(--kb-radius-sm);
  color: var(--kb-indigo);
  text-decoration: none;
}
.kb-suggest a.kb-suggest__option:hover,
.kb-suggest a.kb-suggest__option[aria-selected='true'] {
  background-color: var(--kb-seashell);
}
.kb-suggest__title {
  display: block;
}
.kb-suggest__title mark {
  border-radius: 2px;
  background-color: #dbd3d1;
  color: inherit;
}
.kb-suggest__path {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-suggest .kb-suggest__empty {
  margin: 0;
  padding: var(--kb-space-2) var(--kb-space-3);
  color: var(--kb-text);
}
.kb-suggest a.kb-suggest__all {
  margin-top: var(--kb-space-2);
  font-size: 14px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* "Søk" under 1121 px (js/help-search.js, on theme and knowledge base
   pages): opens the bar's own field in a row under the bar, full width, with
   "Lukk" in it. The field's text is 16 px there so phones do not zoom in. */
.kb-header__search-close {
  display: none;
}

/* ===== kb-catbar: a category and its four sections, under the header =====
   On the category and section pages (topic-category) and, written by
   kb-site.js from the placement JSON, on knowledge base articles: a white
   band with the category (icon and name) and the section tabs; the current
   one is indigo and underlined by a 2 px bar. Scrolls sideways on phones. */
.kb-catbar {
  background-color: var(--kb-white);
  color: var(--kb-indigo);
}
.kb-catbar__inner {
  display: flex;
  align-items: stretch;
  gap: var(--kb-space-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.kb-catbar__inner::-webkit-scrollbar {
  display: none;
}
.kb-catbar a {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.kb-catbar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kb-catbar a[aria-current] {
  box-shadow: inset 0 -2px 0 var(--kb-indigo);
}
.kb-catbar a:focus-visible {
  outline: 2px solid var(--kb-blue);
  outline-offset: -2px;
}
.kb-catbar .kb-catbar__cat {
  gap: var(--kb-space-3);
  font-size: 18px;
  line-height: 28px;
}
.kb-catbar__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--kb-radius-sm);
  background-color: var(--kb-seashell);
}
.kb-catbar__tile img {
  width: 20px;
  height: 20px;
}
.kb-catbar .kb-catbar__tabs {
  display: flex;
  gap: var(--kb-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.kb-catbar__tabs li {
  display: flex;
  margin: 0;
}
.kb-catbar__tabs a {
  font-size: 16px;
  line-height: 26px;
  color: var(--kb-indigo-70);
}
.kb-catbar__tabs a[aria-current] {
  color: var(--kb-indigo);
}

/* ===== kb-article: one article layout =====
   For the knowledge base articles (through kb-shell, which links this file)
   and the user guides (product-guide). A 720 px text column on the page
   background, no white card; a 256 px right column (.kb-rail) with «På denne
   siden» (.kb-toc) and under it «Flere i denne seksjonen» (.kb-more). Under
   1000 px one column, the right column after the body.

   The class names are kb-site.js's (the knowledge base builds the same parts
   around HubSpot's markup), so kb-site.css can drop its copies of these:
     .kb-catbar     the section tabs under the header (above, with the header)
     .kb-tags       ul > li.kb-tag (.kb-tag--erp, --bank, --deploy) under the title
     .kb-rail       the right column
     .kb-toc        nav > p.kb-toc__title + ol.kb-toc__list > li (.kb-toc__sub) > a,
                    the section in view a[aria-current="true"]
     .kb-more       nav > p.kb-more__title, p.kb-more__ctx, ol.kb-more__list > li > a,
                    the current one a[aria-current="page"], a.kb-more__all;
                    .kb-more--rail in the right column, .kb-more--below after
                    the text (shown under 1000 px only)
     .kb-othersecs  p: «Andre seksjoner i <category>: A · B · C»
     .kb-callout    --note, --tip, --warning, with .kb-callout-label
   On theme pages the grid is .kb-article > .kb-article__main + .kb-rail, the
   title row .kb-article__meta and h1.kb-article__title, the text .kb-prose.

   The text styles below reach three bodies: .kb-prose, the knowledge base's
   article.knowledgebase-post and the guide module's .swebase-docs__content.
   Their (0,2,1) specificity beats HubSpot's KB theme and the module's
   (0,1,1) rules without !important. One link colour (blue), bold is the
   heading colour at the one weight, callouts are surfaces with a word label,
   never a stripe. */
.kb-article {
  display: grid;
  grid-template-columns: minmax(0, var(--kb-measure)) var(--kb-rail);
  justify-content: space-between;
  column-gap: var(--kb-space-6);
  padding: var(--kb-space-6) 0 var(--kb-space-7);
  color: var(--kb-text);
}
.kb-article__main {
  min-width: 0;
}
.kb-article .kb-rail {
  align-self: start;
  position: sticky;
  top: var(--kb-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--kb-space-5);
}
.kb-rail[hidden],
.kb-rail > [hidden] {
  display: none;
}
.kb-article .kb-article__meta {
  margin: 0 0 var(--kb-space-2);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-article .kb-article__title {
  margin: 0;
  font-family: var(--kb-font);
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: var(--kb-indigo);
  text-wrap: balance;
}
.kb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--kb-space-1);
  margin: var(--kb-space-3) 0 0;
  padding: 0;
  list-style: none;
}
.kb-tags .kb-tag {
  margin: 0;
  padding: 0 var(--kb-space-2);
  border-radius: var(--kb-radius-sm);
  background-color: var(--kb-white);
  font-size: 12px;
  line-height: 24px;
  color: var(--kb-indigo-70);
}
.kb-tags .kb-tag--erp {
  color: var(--kb-indigo);
}
.kb-othersecs {
  margin: var(--kb-space-5) 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-othersecs a {
  color: var(--kb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* «På denne siden»: the page's sections, quiet; the one in view is white. */
.kb-toc :is(p, ol, li),
.kb-more :is(p, ol, li) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kb-toc .kb-toc__title,
.kb-more .kb-more__ctx {
  margin-bottom: var(--kb-space-2);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
.kb-toc__list a {
  display: block;
  padding: var(--kb-space-1) var(--kb-space-3);
  border-radius: var(--kb-radius-sm);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
  text-decoration: none;
}
.kb-toc__list .kb-toc__sub a {
  padding-left: var(--kb-space-5);
}
.kb-toc__list a:hover {
  color: var(--kb-indigo);
  text-decoration: underline;
}
.kb-toc__list a[aria-current='true'] {
  background-color: var(--kb-white);
  color: var(--kb-indigo);
}

/* «Flere i denne seksjonen»: a white card, the current article marked by a
   seashell surface and a pink dot. */
.kb-more {
  padding: var(--kb-space-3) var(--kb-space-3) var(--kb-space-2);
  border-radius: var(--kb-radius-md);
  background-color: var(--kb-white);
}
.kb-more .kb-more__title {
  margin: 0 var(--kb-space-2);
  font-size: 16px;
  line-height: 26px;
  color: var(--kb-indigo);
}
.kb-more .kb-more__ctx {
  margin: 0 var(--kb-space-2) var(--kb-space-2);
}
.kb-more__list a {
  display: block;
  padding: var(--kb-space-2);
  border-radius: var(--kb-radius-sm);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo);
  text-decoration: none;
}
.kb-more__list a:hover {
  text-decoration: underline;
}
.kb-more__list a[aria-current] {
  position: relative;
  padding-left: var(--kb-space-4);
  background-color: var(--kb-seashell);
}
.kb-more__list a[aria-current]::before {
  content: '';
  position: absolute;
  left: var(--kb-space-2);
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--kb-pink);
}
.kb-more .kb-more__all {
  display: inline-block;
  margin: var(--kb-space-1) var(--kb-space-2) var(--kb-space-2);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kb-more--below {
  margin-top: var(--kb-space-6);
}
.kb-toc a:focus-visible,
.kb-more a:focus-visible {
  outline: 2px solid var(--kb-blue);
  outline-offset: 0;
}

/* The text: heading scale, body, lists, the one link colour. */
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  ) {
  color: var(--kb-text);
  font-family: var(--kb-font);
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: break-word;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(h2, h3, h4, strong, b, th) {
  font-weight: 400;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(h2, h3, h4) {
  padding: 0;
  border: 0;
  background: none;
  color: var(--kb-indigo);
  font-family: var(--kb-font);
  text-wrap: balance;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  h2 {
  margin: var(--kb-space-6) 0 var(--kb-space-3);
  font-size: 24px;
  line-height: 34px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  h3 {
  margin: var(--kb-space-5) 0 var(--kb-space-2);
  font-size: 20px;
  line-height: 30px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  h4 {
  margin: var(--kb-space-4) 0 var(--kb-space-1);
  font-size: 16px;
  line-height: 26px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(p, li) {
  font-size: 16px;
  line-height: 26px;
  color: var(--kb-text);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  p {
  margin: 0 0 var(--kb-space-3);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(ul, ol) {
  margin: 0 0 var(--kb-space-3);
  padding-left: var(--kb-space-4);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  ul {
  list-style: disc;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  ol {
  list-style: decimal;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  li
  + li {
  margin-top: var(--kb-space-2);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(p, li)
  > :is(strong, b) {
  color: var(--kb-indigo);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  a:not(.h-anchor, .swebase-docs__page-navigation-card) {
  color: var(--kb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  a:not(.h-anchor, .swebase-docs__page-navigation-card):hover {
  text-decoration-thickness: 2px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  .h-anchor {
  display: none;
}

/* Inline code a white chip; a code block a white surface. */
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  code {
  padding: 1px 6px;
  border-radius: var(--kb-radius-sm);
  background: var(--kb-white);
  color: var(--kb-indigo);
  font-family: var(--kb-mono);
  font-size: 14px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  pre {
  margin: 0 0 var(--kb-space-3);
  padding: var(--kb-space-3);
  overflow-x: auto;
  border-radius: var(--kb-radius-md);
  background: var(--kb-white);
  font-size: 14px;
  line-height: 22px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  pre
  code {
  padding: 0;
}

/* Images and figures: a hairline frame, shrink to fit, caption below. */
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius-md);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(figure, .doc-fig) {
  margin: var(--kb-space-4) 0;
  padding: 0;
  border: 0;
  background: none;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(figcaption, .doc-fig__caption) {
  margin-top: var(--kb-space-2);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}

/* Tables: a white surface, rows split by hairlines, the head quiet and
   unfilled, sideways scrolling when wide. */
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.table-wrap, .kb-table) {
  margin: var(--kb-space-4) 0;
  overflow-x: auto;
  border-radius: var(--kb-radius-md);
  background: var(--kb-white);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  table {
  width: 100%;
  min-width: 0;
  margin: var(--kb-space-4) 0;
  border: 0;
  border-collapse: collapse;
  border-radius: var(--kb-radius-md);
  background: var(--kb-white);
  font-size: 15px;
  line-height: 24px;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.table-wrap, .kb-table)
  table {
  margin: 0;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(th, td) {
  padding: var(--kb-space-2) var(--kb-space-3);
  border: 0;
  background: none;
  text-align: left;
  vertical-align: top;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  th {
  padding-top: var(--kb-space-3);
  vertical-align: bottom;
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  tr
  + tr
  > td,
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  thead
  + tbody
  tr
  > td {
  border-top: 1px solid var(--kb-border);
}

/* Callouts: Merk (white), Tips (white with a hairline frame), Viktig (indigo
   with a pink label). The knowledge base's kb-callout--note/tip/warning and
   the guide's callout-note/tip/important. */
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout, .callout) {
  margin: var(--kb-space-4) 0;
  padding: var(--kb-space-4);
  border: 0;
  border-radius: var(--kb-radius-md);
  background: var(--kb-white);
  box-shadow: none;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout, .callout)
  > :last-child {
  margin-bottom: 0;
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout-label, .callout__title) {
  display: block;
  margin-bottom: var(--kb-space-1);
  font-size: 14px;
  line-height: 20px;
  color: var(--kb-indigo-70);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout--tip, .callout-tip) {
  border: 1px solid var(--kb-border);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout--warning, .callout-important, .callout-warning) {
  background: var(--kb-indigo);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout--warning, .callout-important, .callout-warning)
  :is(p, li, a, strong, b, code) {
  color: var(--kb-seashell);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout--warning, .callout-important, .callout-warning)
  :is(.kb-callout-label, .callout__title) {
  color: var(--kb-pink);
}
:is(
    .kb-prose,
    .kb-body-wrapper .knowledgebase-post,
    .kb-article .swebase-docs__content
  )
  :is(.kb-callout--warning, .callout-important, .callout-warning)
  code {
  background: rgba(249, 240, 238, 0.12);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .kb-header__nav .kb-hide-md {
    display: none;
  }
}

@media (max-width: 1100px) {
  .kb-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kb-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* The header bar keeps Tema, Produkter, the language link and Kontakt support
   down to 641 px; to make room the search field becomes a Søk button, then the
   site name goes. */
@media (max-width: 1120px) {
  .kb-header__search {
    display: none;
  }
  .kb-header__nav .kb-show-md {
    display: inline-block;
  }
}

@media (max-width: 920px) {
  .kb-header__brand span {
    display: none;
  }
  .kb-header__nav {
    gap: var(--kb-space-4);
  }
}
@media (max-width: 1120px) {
  .kb-header.kb-header--search-open .kb-header__inner {
    flex-wrap: wrap;
    row-gap: var(--kb-space-3);
  }
  .kb-header.kb-header--search-open .kb-header__start {
    display: contents;
  }
  .kb-header.kb-header--search-open form.kb-header__search {
    box-sizing: border-box;
    display: flex;
    order: 3;
    flex: 1 0 100%;
    gap: var(--kb-space-3);
    width: 100%;
    min-height: 48px;
    padding: 4px 4px 4px var(--kb-space-3);
    border-color: var(--kb-seashell);
  }
  .kb-header.kb-header--search-open .kb-header__search input[type='search'] {
    height: 24px;
    font-size: 16px;
    line-height: 24px;
  }
  .kb-header.kb-header--search-open .kb-header__search-close {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 0 var(--kb-space-2);
    border: 0;
    border-radius: var(--kb-radius-sm);
    background: none;
    color: var(--kb-seashell);
    font-family: var(--kb-font);
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  /* In the row the list is as wide as the field. */
  .kb-header.kb-header--search-open .kb-header__search .kb-suggest {
    right: 0;
    width: auto;
    max-width: none;
  }
  .kb-header .kb-header__search-close:focus-visible {
    outline: 2px solid var(--kb-seashell);
    outline-offset: -2px;
  }
  /* Open: the button steps back to an outline, the field below is the thing to use. */
  .kb-header .kb-header__nav .kb-show-md[aria-expanded='true'] {
    background-color: transparent;
    color: var(--kb-seashell);
    box-shadow: inset 0 0 0 1px var(--kb-seashell);
  }
}

/* One column under 1000 px: the right column after the body. */
@media (max-width: 999px) {
  .kb-article {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--kb-space-6);
  }
  .kb-article .kb-rail {
    position: static;
  }
}
@media (min-width: 1000px) {
  .kb-more--below {
    display: none;
  }
}

@media (max-width: 640px) {
  .kb-container {
    padding-left: var(--kb-space-4);
    padding-right: var(--kb-space-4);
  }
  .kb-header {
    padding: var(--kb-space-4) 0;
  }
  .kb-header__nav {
    gap: var(--kb-space-2);
  }
  .kb-header__nav > a:not(.kb-button),
  .kb-header__nav .kb-hide-sm,
  .kb-header__nav .kb-menu,
  .kb-header__search,
  .kb-header__brand span {
    display: none;
  }
  .kb-header__nav .kb-show-sm,
  .kb-header .kb-menu-toggle {
    display: inline-block;
  }
  .kb-header__brand img {
    width: 112px;
    height: auto;
  }
  .kb-mobile:not([hidden]) {
    display: block;
    margin-top: var(--kb-space-4);
    padding: var(--kb-space-3) var(--kb-space-4) var(--kb-space-4);
    background: var(--kb-white);
    color: var(--kb-indigo);
  }
  .kb-mobile > ul > li > a {
    display: block;
    padding: var(--kb-space-3) 0;
    border-bottom: 1px solid var(--kb-border);
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;
  }
  .kb-mobile .kb-menu__group {
    padding: var(--kb-space-3) 0;
    border-bottom: 1px solid var(--kb-border);
  }
  .kb-mobile .kb-menu__group > p {
    padding: 0;
  }
  .kb-mobile .kb-menu__group a {
    margin: 0 calc(-1 * var(--kb-space-2));
    padding: var(--kb-space-2);
  }
  .kb-mobile .kb-button {
    display: block;
    margin-top: var(--kb-space-4);
  }
  .kb-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .kb-help {
    padding: 48px 0;
  }
  .kb-help__row {
    padding: 24px;
  }
  .kb-catbar__inner {
    gap: var(--kb-space-5);
  }
  .kb-catbar .kb-catbar__tabs {
    gap: var(--kb-space-4);
  }
  .kb-catbar a {
    min-height: 56px;
  }
  .kb-catbar .kb-catbar__cat {
    font-size: 16px;
    line-height: 26px;
  }
  .kb-article {
    padding: var(--kb-space-5) 0 var(--kb-space-6);
  }
  .kb-article .kb-article__title {
    font-size: 32px;
    line-height: 40px;
  }
}
