/* Overenskomster hub + reader. Reuses entry tokens. No tankestreg in copy. */
/* #446: ingen Google Inter. System-ui. entry.css Inter gælder ikke her. */

body.entry-page.ok-hub-page,
body.entry-page.ok-reader-page,
body.entry-page.ok-compare-page,
body.entry-page.ok-soeg-page,
body.entry-page.ok-domme-page,
body.entry-page.ok-ask-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.entry-page.ok-hub-page > .entry-nav,
body.entry-page.ok-reader-page > .entry-nav,
body.entry-page.ok-compare-page > .entry-nav,
body.entry-page.ok-soeg-page > .entry-nav,
body.entry-page.ok-domme-page > .entry-nav,
body.entry-page.ok-ask-page > .entry-nav {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
}

/* #1822: links i main forbliver mørke. Understreg kun løbende tekst.
   #1740 understregede alle main a og vandt over kort/job/titlers none. */
body.entry-page:is(.ok-hub-page, .ok-reader-page, .ok-compare-page, .ok-soeg-page, .ok-domme-page, .ok-ask-page) main a:not(.ok-hub-open):not(.ok-hub-pdf):not(.ok-pdf-btn) {
  color: var(--entry-ink, #111);
}

body.entry-page:is(.ok-hub-page, .ok-reader-page, .ok-compare-page, .ok-soeg-page, .ok-domme-page, .ok-ask-page) main p:not(.ok-hub-tools):not(.ok-hub-actions-more) a:not(.ok-hub-open):not(.ok-hub-pdf):not(.ok-pdf-btn):not(.ok-hub-related-title):not(.ok-domme-para),
body.entry-page:is(.ok-hub-page, .ok-reader-page, .ok-compare-page, .ok-soeg-page, .ok-domme-page, .ok-ask-page) main li a:not(.ok-hub-open):not(.ok-hub-pdf):not(.ok-pdf-btn):not(.ok-domme-para) {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ok-spor-steps {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1.2rem;
}
.ok-spor-steps li { margin: 0.25rem 0; }

.ok-hub-page .ab-hub,
.ok-reader-page .ok-shell {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--entry-space-3) var(--entry-space-3);
}

/* Hub-kort: rum hele teksten. Live 13.08 skar Funktionær-kortet. */
.ok-hub-page .ab-hub-grid {
  align-items: stretch;
}

@media (min-width: 900px) {
  .ok-hub-page .ab-hub-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ok-hub-page .ab-hub-card {
  height: 100%;
  min-height: 0;
  overflow: visible;
  overflow-wrap: break-word;
}

.ok-hub-page .ab-hub-card-title,
.ok-hub-page .ab-hub-card-body {
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ok-kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--entry-muted);
}

.ok-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--entry-muted);
}

.ok-crumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ok-crumbs a:hover {
  color: var(--entry-ink, #141820);
}

.ok-crumbs [aria-current="page"] {
  color: var(--entry-ink, #141820);
  font-weight: 500;
}

.ok-crumb-sep {
  opacity: 0.5;
  user-select: none;
}

.ok-dronte-lag {
  max-width: 44rem;
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 0.92rem;
}

.ok-ordbog {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  max-width: 40rem;
}

.ok-ordbog dt {
  font-weight: 600;
}

.ok-ordbog dd {
  margin: 0.25rem 0 0;
  color: var(--entry-muted);
}

.ok-reader-head h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ok-lede {
  margin: 0 0 16px;
  color: var(--entry-muted);
  font-size: var(--entry-font-ui);
  max-width: 44rem;
}

.ok-toolbar {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  max-width: 36rem;
}

.ok-search-label {
  font-size: 0.75rem;
  color: var(--entry-muted);
}

.ok-search {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font: inherit;
  font-size: var(--entry-font-ui);
}

.ok-search:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.ok-ask-box {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d9d3c4;
  background: #faf8f3;
}
.ok-ask-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.ok-ask-answer {
  margin: 0 0 0.5rem;
  white-space: pre-wrap;
}
.ok-ask-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.7rem;
}
.ok-ask-chip {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border: 1px solid #c9c2b3;
  border-radius: 999px;
  background: #fff;
  color: #1f1b16;
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.ok-ask-chip:hover,
.ok-ask-chip:focus-visible {
  border-color: #6b4f2a;
  outline: 2px solid #6b4f2a;
  outline-offset: 2px;
}
.ok-ask-chip.is-dead {
  color: #5c564c;
  cursor: default;
}
.ok-ask-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.ok-ask-note {
  margin: 0;
  color: #5c564c;
  font-size: 0.88rem;
}

/* #1596 · Spørg i gældende hæfter */
.ok-ask-page .ask-wrap {
  width: 100%;
  max-width: 78rem;
  padding-right: var(--entry-space-3);
  padding-left: var(--entry-space-3);
  padding-top: 1.5rem;
}

.ok-ask-page .ask-hero,
.ok-ask-page .ok-ask-main {
  max-width: none;
}

.ok-ask-page .ask-wrap h1 {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.ok-ask-page button {
  border-radius: 8px;
  font-family: inherit;
}

.ok-ask-page .ask-scope button[aria-pressed="true"],
.ok-ask-page .ask-mode button[aria-pressed="true"],
.ok-ask-page .ask-actions button {
  border-color: #111;
  background: #111;
  color: #fff;
}

.ok-ask-page .ask-actions button.secondary {
  background: #fff;
  color: #111;
}

.ok-ask-page .ok-agreements {
  margin-bottom: 1rem;
}

.ok-ask-page .ok-agreements button {
  min-height: 2.35rem;
}

.ok-ask-page .ask-mode {
  margin-bottom: 1rem;
}

.ok-ask-page .ask-result-row {
  margin-top: 0.5rem;
}

.ok-ask-page .ask-out {
  background: #faf8f3;
  border-color: #d9d3c4;
}
.ok-search-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.75rem;
  color: var(--entry-muted);
}

.ok-goto {
  display: grid;
  gap: 6px;
}

.ok-pdf-btn,
.ok-hub-pdf,
.ok-hub-open {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 10px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--entry-ink);
  text-decoration: none;
  width: fit-content;
}

.ok-pdf-btn:hover,
.ok-hub-pdf:hover,
.ok-hub-open:hover {
  border-color: #111;
  text-decoration: none;
}

.ok-hub-page .ab-hub-card-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.ok-hub-page .ab-hub-card-main:hover {
  text-decoration: none;
}

.ok-hub-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.ok-hub-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ok-hub-actions-more {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.82rem;
}

.ok-hub-actions-more a {
  color: var(--entry-ink);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.12em;
}

.ok-hub-actions-more a:hover,
.ok-hub-actions-more a:focus-visible {
  text-decoration: underline;
}

.ok-hub-actions .ok-hub-pdf,
.ok-hub-actions .ok-hub-open {
  margin-top: 0;
}

.ok-hub-open,
.ok-hub-open:link,
.ok-hub-open:visited,
body.entry-page[class*="ok-"] main a.ok-hub-open,
body.entry-page[class*="ok-"] main a.ok-hub-open:link,
body.entry-page[class*="ok-"] main a.ok-hub-open:visited {
  background: #111;
  border-color: #111;
  color: #fff;
  text-decoration: none;
}

.ok-hub-open:hover,
.ok-hub-open:focus-visible,
body.entry-page[class*="ok-"] main a.ok-hub-open:hover,
body.entry-page[class*="ok-"] main a.ok-hub-open:focus-visible {
  background: #333;
  border-color: #333;
  color: #fff;
  text-decoration: none;
}

.ok-source {
  margin: 0 0 20px;
  font-size: 0.75rem;
  color: var(--entry-muted);
  max-width: 44rem;
  line-height: 1.45;
}

.ok-source a {
  color: var(--entry-ink);
}

.ok-clause-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 0.4rem;
}

.ok-clause-head h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ok-speak {
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--entry-ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-speak:hover,
.ok-speak:focus-visible,
.ok-clause.is-speaking .ok-speak {
  border-color: #111;
}

.ok-speak:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-speak:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ok-clause-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ok-comment {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--entry-muted, #343434);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.ok-comment:hover,
.ok-comment:focus-visible {
  color: var(--entry-ink, #111);
  background: #f4f4f5;
  text-decoration: none;
}

.ok-comment:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-feedback {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--entry-space-3) 4rem;
}

.ok-feedback-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 880px) {
  .ok-feedback-layout {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: start;
  }
}

.ok-feedback-form,
.ok-queue {
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid #ddd6c6;
  border-radius: 12px;
  background: #fffdf8;
}

.ok-feedback-form-title {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
}

.ok-feedback-pair {
  display: grid;
  gap: 0 0.75rem;
}

@media (min-width: 520px) {
  .ok-feedback-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.ok-feedback-banner,
.ok-feedback-context {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.88rem;
}

.ok-feedback-banner {
  background: #fff7ed;
  border-color: #f0d7b4;
}

.ok-field {
  display: grid;
  gap: 6px;
  margin: 0 0 0.9rem;
  border: 0;
  padding: 0;
}

.ok-field legend,
.ok-field label {
  font-size: 0.8rem;
  font-weight: 600;
}

.ok-kind-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.92rem;
}

.ok-kind-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: var(--entry-font-ui);
  cursor: pointer;
}

.ok-kind-choice:has(input:checked) {
  border-color: #111;
  background: #111;
  color: #fff;
}

.ok-kind-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ok-field input,
.ok-field select,
.ok-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font: inherit;
  font-size: var(--entry-font-ui);
  background: #fff;
}

.ok-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.ok-field input:focus,
.ok-field select:focus,
.ok-field textarea:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.ok-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ok-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.ok-submit {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-submit:hover,
.ok-submit:focus-visible {
  background: #333;
}

.ok-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ok-feedback-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--entry-muted);
}

.ok-feedback-status.is-ok {
  color: #166534;
}

.ok-feedback-status.is-error {
  color: #8a1f11;
}

.ok-queue-head h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.ok-queue-lede,
.ok-queue-count {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--entry-muted);
}

.ok-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 1rem;
}

.ok-filter,
.ok-queue-btn {
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: var(--entry-ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-filter.is-on,
.ok-queue-btn:hover,
.ok-filter:hover {
  border-color: #111;
}

.ok-queue-list {
  display: grid;
  gap: 12px;
}

.ok-queue-item {
  padding: 12px 14px;
  border: 1px solid #ddd6c6;
  border-radius: 10px;
  background: #fff;
}

.ok-queue-item.is-new {
  border-color: #111;
}

.ok-queue-item.is-i-arbejde {
  background: #fffdf6;
}

.ok-queue-item.is-gjort {
  opacity: 0.72;
}

.ok-queue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--entry-muted);
}

.ok-queue-who,
.ok-queue-when {
  color: var(--entry-muted);
}

.ok-queue-who-note {
  font-weight: 400;
}

.ok-field-hint {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--entry-muted);
}

.ok-demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3e8d4;
  color: var(--entry-ink);
  font-weight: 700;
}

.ok-kind,
.ok-work-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eceae4;
  color: var(--entry-ink);
  font-weight: 700;
}

.ok-queue-item.is-ny .ok-work-status {
  background: #e8f0fa;
}

.ok-queue-item.is-i-arbejde .ok-work-status {
  background: #fff3b0;
}

.ok-queue-item.is-gjort .ok-work-status {
  background: #dcfce7;
}

.ok-queue-text,
.ok-queue-note {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

.ok-queue-note {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--entry-muted);
}

.ok-queue-clause {
  color: var(--entry-ink);
}

.ok-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.85rem;
}

.ok-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 880px) {
  .ok-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .ok-toc {
    position: sticky;
    top: 12px;
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }
}

.ok-toc {
  font-size: 0.78rem;
  line-height: 1.4;
}

.ok-toc-part {
  margin: 0 0 14px;
}

.ok-toc-part > summary {
  cursor: pointer;
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--entry-muted);
}

.ok-toc-part > summary::-webkit-details-marker {
  display: none;
}

.ok-toc-chapter {
  margin: 0 0 4px;
}

.ok-toc-chapter > summary {
  cursor: pointer;
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
  border: 0;
  color: var(--entry-muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ok-toc-chapter > summary::-webkit-details-marker {
  display: none;
}

.ok-toc-clauses {
  padding-left: 2px;
}

.ok-toc a {
  display: block;
  color: var(--entry-ink);
  text-decoration: none;
  padding: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ok-toc a:hover,
.ok-toc a.is-active {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ok-part {
  margin: 0 0 2.5rem;
}

.ok-part > summary,
.ok-chapter > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ok-part > summary::-webkit-details-marker,
.ok-chapter > summary::-webkit-details-marker {
  display: none;
}

.ok-part > summary:focus-visible,
.ok-chapter > summary:focus-visible,
.ok-toc-part > summary:focus-visible,
.ok-toc-chapter > summary:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-part > summary::before,
.ok-chapter > summary::before,
.ok-toc-part > summary::before,
.ok-toc-chapter > summary::before {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-right: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.15em;
}

.ok-part[open] > summary::before,
.ok-chapter[open] > summary::before,
.ok-toc-part[open] > summary::before,
.ok-toc-chapter[open] > summary::before {
  transform: rotate(45deg);
  vertical-align: 0.22em;
}

.ok-part:not([open]) > *:not(summary),
.ok-chapter:not([open]) > *:not(summary),
.ok-toc-part:not([open]) > *:not(summary),
.ok-toc-chapter:not([open]) > *:not(summary) {
  display: none;
}

.ok-part > summary {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.ok-chapter {
  margin: 0 0 1.75rem;
}

.ok-chapter > summary {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
}

.ok-loading,
.ok-empty {
  color: var(--entry-muted);
  font-size: var(--entry-font-ui);
}

.ok-intro,
.ok-clause {
  max-width: 42rem;
}

.ok-intro p,
.ok-block {
  margin: 0 0 0.85em;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.ok-block:has(+ .ok-block-list) {
  margin-bottom: 0.35em;
}

.ok-block-list {
  margin: 0.15em 0 0.95em;
  padding: 0 0 0 1.35em;
  font-size: 1rem;
  line-height: 1.55;
}

.ok-block-list li {
  margin: 0 0 0.45em;
  padding-left: 0.2em;
}

.ok-block-list li:last-child {
  margin-bottom: 0;
}

.ok-clause {
  margin: 0 0 1.6rem;
  padding-top: 4px;
  scroll-margin-top: 16px;
}

.ok-clause h4 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ok-stk-label,
.ok-anm-label {
  font-weight: 600;
  font-size: 0.82rem;
}

.ok-block--anm {
  color: var(--entry-muted);
}

.ok-pre {
  display: block;
  margin: 0.65rem 0 1rem;
  padding: 0.75rem 0.85rem;
  overflow-x: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: pre;
  background: #fafaf9;
  border: 1px solid var(--entry-line, #e7e5e4);
  border-radius: 6px;
}

.ok-rate-wrap {
  margin: 0.55rem 0 1rem;
  overflow-x: auto;
}

.ok-rate-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ok-rate-table th,
.ok-rate-table td {
  padding: 0.38rem 0.7rem 0.38rem 0;
  border-bottom: 1px solid var(--entry-line, #e7e5e4);
  white-space: nowrap;
  vertical-align: baseline;
}

.ok-rate-table thead th {
  font-weight: 600;
  font-size: 0.82rem;
  text-align: right;
}

.ok-rate-table tbody td {
  text-align: right;
}

.ok-rate-table th[scope="row"] {
  font-weight: 500;
  text-align: left;
  padding-right: 1rem;
}

.ok-rate-table tbody tr:last-child th,
.ok-rate-table tbody tr:last-child td {
  border-bottom: 0;
}

.ok-mark {
  background: #fff3b0;
  color: inherit;
}

.ok-clause.is-hidden,
.ok-chapter.is-hidden,
.ok-part.is-hidden {
  display: none;
}

.ok-hub-jobs {
  display: grid;
  gap: 12px;
  margin: 0 0 1.25rem;
}

@media (min-width: 720px) {
  .ok-hub-jobs {
    grid-template-columns: 1fr 1fr;
  }
}

.ok-hub-copilot,
.ok-hub-domme {
  margin: 0 0 1.5rem;
}

.ok-copilot-how {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #ddd6c6;
  border-radius: 12px;
  background: #fffdf8;
}

.ok-copilot-how h2 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.ok-copilot-how ol {
  margin: 0;
  padding-left: 1.2rem;
}

.ok-copilot-how li {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ok-copilot-read {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--entry-space-3) 3rem;
}

.ok-copilot-read-nav,
.ok-copilot-read-actions {
  margin: 0 0 0.85rem;
}

.ok-copilot-read-nav a {
  font-weight: 600;
  color: var(--entry-ink);
}

.ok-copilot-prose {
  font-size: 1rem;
  line-height: 1.55;
}

.ok-copilot-prose h1,
.ok-copilot-prose h2,
.ok-copilot-prose h3 {
  margin: 1.3rem 0 0.45rem;
  letter-spacing: -0.01em;
}

.ok-copilot-prose h1 { font-size: 1.35rem; }
.ok-copilot-prose h2 { font-size: 1.12rem; }
.ok-copilot-prose h3 { font-size: 1.02rem; }

.ok-copilot-prose p,
.ok-copilot-prose ul,
.ok-copilot-prose ol {
  margin: 0 0 0.8rem;
}

.ok-copilot-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.ok-copilot-prose th,
.ok-copilot-prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid #e7e5e4;
}

.ok-hub-job {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd6c6;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: #fffdf8;
}

.ok-hub-job:hover {
  border-color: #111;
  text-decoration: none;
}

.ok-hub-job-kicker {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--entry-muted);
}

.ok-hub-job strong {
  font-size: 1.02rem;
}

.ok-hub-job span:last-child {
  font-size: 0.86rem;
  color: var(--entry-muted);
  line-height: 1.4;
}

.ok-hub-more {
  margin: 0.35rem 0 1.5rem;
}

.ok-hub-more > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0;
}

.ok-hub-more > summary::-webkit-details-marker {
  display: none;
}

.ok-hub-more > summary::before {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-right: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.12em;
}

.ok-hub-more[open] > summary::before {
  transform: rotate(45deg);
  vertical-align: 0.18em;
}

.ok-hub-more .ab-hub-grid {
  margin-top: 0.75rem;
}

.ok-hub-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0 0 1.25rem;
  font-size: var(--entry-font-ui);
}

.ok-hub-tools a {
  font-weight: 600;
  color: var(--entry-ink);
  text-decoration: none;
}

.ok-hub-tools a:hover,
.ok-hub-tools a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ok-hub-related {
  display: grid;
  gap: 0.65rem 1.25rem;
  align-items: center;
  margin: 0 0 var(--entry-space-3);
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fcfcfc;
}

@media (min-width: 720px) {
  .ok-hub-related {
    grid-template-columns: 7rem minmax(0, 1fr) auto;
  }
}

.ok-hub-related-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--entry-muted);
}

.ok-hub-related-body {
  min-width: 0;
}

.ok-hub-related-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.ok-hub-related-title:hover,
.ok-hub-related-title:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ok-hub-related-body p {
  margin: 0.2rem 0 0;
  font-size: var(--entry-font-ui);
  color: var(--entry-muted);
  line-height: 1.4;
}

.ok-hub-actions--related {
  margin-top: 0;
  padding-top: 0;
}

.ok-compare {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--entry-space-3) 3rem;
}

.ok-mode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}

.ok-para-form {
  margin: 0 0 1rem;
}

.ok-para-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  max-width: 28rem;
}

.ok-para-prefix {
  font-weight: 650;
  font-size: 1.1rem;
}

.ok-para-input {
  flex: 1 1 6rem;
  min-width: 5rem;
}

.ok-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.ok-topic-btn {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--entry-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-topic-btn:hover,
.ok-topic-btn:focus-visible {
  border-color: #111;
}

.ok-topic-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-topic-btn[aria-selected="true"] {
  background: #111;
  border-color: #111;
  color: #fff;
}

.ok-agree-nav {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.ok-agree-nav legend {
  padding: 0;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--entry-ink);
}

.ok-agree-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ok-agree-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--entry-ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-agree-chip:hover,
.ok-agree-chip:focus-within {
  border-color: #111;
}

.ok-agree-chip:focus-within {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-agree-chip:has(input:checked) {
  background: #f4f1ea;
  border-color: #111;
}

.ok-agree-chip input {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  accent-color: #111;
}

.ok-compare-note,
.ok-compare-refs {
  margin: 0 0 1rem;
  max-width: 72ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--entry-ink);
}

.ok-compare-refs {
  font-weight: 650;
}

.ok-praksis {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem;
  background: #f4f1ea;
  border: 1px solid #ddd6c6;
  border-radius: 10px;
  max-width: none;
}

.ok-praksis .ok-kicker {
  margin: 0 0 0.35rem;
}

.ok-praksis p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ok-praksis p:last-child {
  margin-bottom: 0;
}

.ok-praksis-links,
.ok-praksis-case {
  font-weight: 600;
}

.ok-compare-grid {
  display: grid;
  gap: 1rem;
}

.ok-compare-grid[data-cols="1"] {
  grid-template-columns: 1fr;
  max-width: 42rem;
}

@media (min-width: 800px) {
  .ok-compare-grid[data-cols="2"] {
    grid-template-columns: 1fr 1fr;
    max-width: 54rem;
  }
}

@media (min-width: 1000px) {
  .ok-compare-grid:not([data-cols]),
  .ok-compare-grid[data-cols="3"] {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ok-compare-grid.ok-compare-grid--slots {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: none;
  grid-template-columns: none;
}

.ok-slot-block {
  min-width: 0;
}

.ok-slot-q {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.ok-compare-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
  min-width: 0;
  height: 100%;
}

.ok-compare-card-dronte {
  background: #f4f1ea;
  border-color: #ddd6c6;
}

.ok-dronte-diff {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ok-dronte-verdict {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.ok-compare-card-dronte p {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ok-dronte-foot {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--entry-muted);
}

.ok-compare-card-title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.ok-compare-card-meta {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--entry-muted);
}

.ok-official {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 0.85rem;
}

.ok-official:last-child {
  margin-bottom: 0;
}

.ok-official-kicker,
.ok-dronte-kicker {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--entry-muted);
}

.ok-compare-ref {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--entry-ink);
}

.ok-compare-scheme {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: var(--entry-muted);
}

.ok-compare .ok-official-quote {
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: none;
}

.ok-compare .ok-official-quote p {
  margin: 0 0 0.65rem;
}

.ok-compare .ok-official-quote p:last-child {
  margin-bottom: 0;
}

.ok-compare-card .ok-compare-more {
  margin-top: auto;
}

.ok-rights {
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  max-width: 62rem;
}

.ok-dronte-pack > summary,
.ok-dronte-lag > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  color: var(--entry-muted);
}

.ok-dronte-pack > summary::-webkit-details-marker,
.ok-dronte-lag > summary::-webkit-details-marker {
  display: none;
}

.ok-dronte-pack > summary::before,
.ok-dronte-lag > summary::before {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-right: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.12em;
}

.ok-dronte-pack[open] > summary::before,
.ok-dronte-lag[open] > summary::before {
  transform: rotate(45deg);
  vertical-align: 0.18em;
}

.ok-dronte-pack[open] {
  padding: 0.75rem 0.85rem;
  background: #f4f1ea;
  border: 1px solid #ddd6c6;
  border-radius: 10px;
}

.ok-rights-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.ok-rights-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--entry-muted);
  max-width: 62ch;
}

.ok-rights-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

@media (min-width: 720px) {
  .ok-rights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ok-rights-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.7rem 0.75rem;
  background: #fffdf8;
  border: 1px solid #e4ddcf;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.ok-rights-card strong {
  font-size: 0.95rem;
}

.ok-rights-card span:last-child {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--entry-ink);
}

.ok-dronte-lag {
  margin: 0.85rem 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  max-width: 62ch;
}

.ok-dronte-lag[open] {
  padding: 0.7rem 0.8rem;
  background: #f4f1ea;
  border: 1px solid #ddd6c6;
  border-left: 4px solid #8a7348;
  border-radius: 8px;
}

.ok-praksis {
  margin: 0 0 1rem;
  max-width: none;
}

.ok-praksis-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ok-praksis-item {
  display: grid;
  gap: 0.12rem;
  font-size: 0.88rem;
}

.ok-praksis-item a {
  font-weight: 650;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ok-praksis-meta,
.ok-praksis-refs {
  font-size: 0.78rem;
  color: var(--entry-muted);
}

.ok-praksis-title {
  line-height: 1.4;
}

.ok-praksis-more {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
}

.ok-praksis-lag {
  display: inline-block;
  margin: 0.9rem 0 0.15rem;
  padding: 0.38rem 0.7rem 0.38rem 0.65rem;
  max-width: 62ch;
  background: #eef3f8;
  border: 1px solid #c9d7e6;
  border-left: 3px solid #1a4d7a;
  border-radius: 8px;
}

.ok-praksis-lag > summary {
  color: #1a4d7a;
  font-size: 0.88rem;
  font-weight: 650;
}

.ok-praksis-lag > summary:focus-visible {
  outline: 2px solid #1a4d7a;
  outline-offset: 2px;
}

.ok-praksis-kicker {
  font-weight: 650;
}

.ok-praksis-count {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.05rem 0.42rem;
  border: 1px solid #1a4d7a;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  color: #1a4d7a;
  vertical-align: 0.05em;
}

.ok-praksis-lag[open] {
  display: block;
  padding: 0.7rem 0.8rem;
  background: #f3f6fa;
  border: 1px solid #c9d7e6;
  border-left: 4px solid #1a4d7a;
}

a.ok-domme-para {
  color: inherit;
  text-decoration: none;
}

a.ok-domme-para:hover,
a.ok-domme-para:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ok-toc-bilag {
  padding-left: 0;
}

.ok-bilag-chapter {
  margin: 0 0 1.35rem;
}

.ok-bilag-chapter > summary {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.ok-bilag-chapter .ok-clause-head {
  margin: 0 0 0.7rem;
  align-items: flex-start;
}

.ok-bilag-chapter .ok-clause-head h4 {
  flex: 1 1 12rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 42rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ok-bilag-chapter .ok-block {
  font-size: 1rem;
  line-height: 1.6;
}

.ok-bilag-chapter .ok-comment {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--entry-muted, #57534e);
}

@media (max-width: 640px) {
  .ok-toc a,
  .ok-toc-bilag a {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .ok-bilag-chapter > summary,
  .ok-bilag-chapter .ok-clause-head h4 {
    overflow-wrap: anywhere;
  }
}

.ok-dronte-lead {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: var(--entry-muted);
}

.ok-dronte-points {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ok-official-quote {
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 62ch;
  color: var(--entry-ink);
}

.ok-compare-more {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--entry-ink);
}

.ok-compare-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--entry-muted);
  max-width: 42ch;
}

.ok-hub-asks {
  display: grid;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.2rem;
}

@media (min-width: 720px) {
  .ok-hub-asks {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.ok-hub-asks .ok-hub-soeg {
  margin: 0;
  max-width: none;
}

.ok-hub-soeg .ok-search-label,
.ok-soeg-form .ok-search-label {
  flex: 1 0 100%;
}

.ok-hub-soeg,
.ok-soeg-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  align-items: end;
  margin: 0 0 1.2rem;
  max-width: 36rem;
}

.ok-hub-soeg .ok-search,
.ok-soeg-form .ok-search {
  flex: 1 1 14rem;
}

.ok-soeg-go {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-soeg-go:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-soeg {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--entry-space-3) 3rem;
}

.ok-soeg-hits {
  margin: 0;
  padding: 0;
}

.ok-soeg-compare {
  margin: 0 0 1rem;
  font-weight: 650;
}

.ok-soeg-group {
  margin: 0 0 1.5rem;
}

.ok-soeg-group > summary {
  cursor: pointer;
  list-style: none;
}

.ok-soeg-group > summary::-webkit-details-marker {
  display: none;
}

.ok-soeg-group > summary::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 0.15em;
}

.ok-soeg-group:not([open]) > summary::before {
  transform: rotate(-45deg);
  vertical-align: 0.05em;
}

.ok-soeg-group-title {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.ok-soeg-group-count {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--entry-muted);
}

.ok-soeg-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ok-soeg-hit {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

.ok-soeg-aftale {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--entry-muted);
}

.ok-soeg-link {
  font-weight: 600;
  color: var(--entry-ink);
}

.ok-domme-filter-panel {
  max-width: 44rem;
  margin: 0 0 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.ok-domme-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 15rem);
  gap: 0.35rem 1rem;
  align-items: end;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e7e5e4;
}

.ok-domme-filter-head h2 {
  margin: 0 0 0.18rem;
  font-size: 1rem;
}

.ok-domme-filter-head p,
.ok-domme-filter-status {
  margin: 0;
  color: var(--entry-muted, #5a6170);
  font-size: 0.78rem;
}

.ok-domme-filter-head label {
  grid-column: 2;
  font-size: 0.78rem;
  font-weight: 650;
}

.ok-domme-filter-head input {
  grid-column: 2;
  min-width: 0;
  min-height: 40px;
  padding: 0.48rem 0.62rem;
  border: 1px solid #b9b9b9;
  border-radius: 8px;
  font: inherit;
}

.ok-domme-filter-status {
  padding: 0.55rem 1rem 0.35rem;
}

.ok-domme-filters {
  max-height: 18rem;
  margin: 0;
  padding: 0 0 0.45rem;
  overflow-y: auto;
  list-style: none;
}

.ok-domme-filters li {
  margin: 0;
}

.ok-domme-filter {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-top: 1px solid #f0efed;
  background: #fff;
  color: var(--entry-ink, #141820);
  text-align: left;
  cursor: pointer;
}

.ok-domme-filter:hover {
  background: #f7f6f4;
}

.ok-domme-filter:focus-visible,
.ok-domme-filter-head input:focus-visible {
  outline: 3px solid #8fb8dc;
  outline-offset: -3px;
}

.ok-domme-filter-mark {
  min-width: 1rem;
  font-weight: 700;
  text-align: center;
}

.ok-domme-pager-btn {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.ok-domme-soeg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.35rem 0.6rem;
  align-items: end;
  max-width: none;
}

.ok-domme-soeg label:first-of-type {
  grid-column: 1;
}

.ok-domme-soeg .ok-search {
  grid-column: 1;
}

.ok-domme-soeg label[for="ok-domme-year"],
.ok-domme-soeg .ok-domme-year {
  grid-column: 2;
}

.ok-domme-soeg .ok-soeg-go {
  grid-column: 3;
}

@media (max-width: 479px) {
  .ok-domme-soeg {
    grid-template-columns: minmax(0, 1fr);
  }

  .ok-domme-soeg label:first-of-type,
  .ok-domme-soeg .ok-search,
  .ok-domme-soeg label[for="ok-domme-year"],
  .ok-domme-soeg .ok-domme-year,
  .ok-domme-soeg .ok-soeg-go {
    grid-column: 1;
  }

  .ok-domme-soeg .ok-domme-year,
  .ok-domme-soeg .ok-soeg-go {
    width: 100%;
    min-height: 40px;
  }

  .ok-domme-filter-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .ok-domme-filter-head label,
  .ok-domme-filter-head input {
    grid-column: 1;
  }
}

.ok-domme-filter[aria-pressed="true"] {
  background: #eef2f5;
  box-shadow: inset 3px 0 0 #141820;
  font-weight: 650;
}

.ok-domme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
}

.ok-domme-tag {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
}

.ok-domme-tag-overenskomst {
  border-color: #b9c4b0;
  background: #f3f6f0;
}

.ok-domme-paras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
}

.ok-domme-para-kicker {
  font-weight: 650;
  color: var(--entry-muted, #5a6170);
  margin-right: 0.15rem;
}

.ok-domme-para {
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
}

.ok-domme-para-relevante {
  border-color: #1a4d7a;
  background: #eef4fa;
}

.ok-domme-para-omtalte {
  border-color: #d4d0c6;
  background: #f7f5f0;
}

.ok-domme-para-box {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fffdf9;
}

.ok-domme-para-note {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--entry-muted, #5a6170);
}

.ok-domme-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
}

.ok-domme-page-status {
  font-size: 0.88rem;
  color: var(--entry-muted);
}

.ok-domme-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1rem;
}

.ok-domme-ref {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.ok-domme-title {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 550;
}

.ok-domme-out,
.ok-domme-meta {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ok-domme-meta {
  color: var(--entry-muted);
}

.ok-domme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.35rem 0 0;
}

.ok-domme-kilder {
  margin: 1.5rem 0 2rem;
}

.ok-domme-kilder h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.ok-domme-source-list {
  display: grid;
  gap: 0.75rem;
  margin: 0.8rem 0 0;
}

@media (min-width: 800px) {
  .ok-domme-source-list {
    grid-template-columns: 1fr 1fr;
  }
}

.ok-domme-sag-page .ok-shell {
  max-width: 72rem;
}

.ok-domme-sag-page .ok-lede,
.ok-domme-sag-page .ok-source {
  max-width: 52rem;
}

.ok-domme-sag-page .ok-clause.ok-domme-full {
  max-width: none;
}

.ok-domme-full .ok-block {
  max-width: none;
  margin: 0 0 0.85rem;
  white-space: normal;
}

.ok-domme-full .ok-domme-h {
  max-width: none;
  margin: 1.45rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--entry-ink, #141820);
}

.ok-domme-full .ok-domme-h:first-child {
  margin-top: 0.35rem;
}

.ok-soeg-snip {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--entry-muted);
}

.ok-soeg-page mark.ok-mark {
  background: #fff3b0;
  color: var(--entry-ink, #141820);
  padding: 0 0.12em;
  border-radius: 2px;
}

/* #1647 organisationsaftale-markør (rolig; kun ved kobling) */
.ok-org-marker {
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #444;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.ok-org-marker:hover,
.ok-org-marker[aria-expanded="true"] {
  border-color: #111;
  color: #111;
}

.ok-org-marker:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ok-org-popover-root {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.ok-org-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.28);
}

.ok-org-popover {
  position: absolute;
  top: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(34rem, calc(100vw - 1.5rem));
  max-height: 70vh;
  overflow: auto;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.ok-org-popover-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.6rem;
  align-items: start;
  margin-bottom: 0.55rem;
}

.ok-org-popover-kicker {
  grid-column: 1;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: #666;
}

.ok-org-popover-head h3 {
  grid-column: 1;
  margin: 0;
  font-size: 1.05rem;
}

.ok-org-popover-close {
  grid-column: 2;
  grid-row: 1 / span 2;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #444;
}

.ok-org-popover-lead {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: #555;
}

.ok-org-popover-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ok-org-popover-list li {
  padding: 0.7rem 0.75rem;
  border: 1px solid #ece7dc;
  border-radius: 10px;
  background: #faf9f6;
}

.ok-org-popover-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.ok-org-popover-belaeg {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  color: #333;
}

.ok-org-popover-open {
  font-size: 0.84rem;
  font-weight: 600;
}

.ok-org-return {
  margin: 0.65rem 0 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid #ddd6c6;
  border-radius: 8px;
  background: #fff;
  font-size: 0.86rem;
}

.ok-org-return a {
  font-weight: 650;
  color: inherit;
}

/* Lovhenvisning-popover (#1655) · intern §-hop (#1945) */
button.ok-lovref,
a.ok-internref {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  cursor: pointer;
}
a.ok-internref {
  color: inherit;
}
button.ok-lovref:hover,
button.ok-lovref:focus-visible,
a.ok-internref:hover,
a.ok-internref:focus-visible {
  color: #111;
  text-decoration-thickness: 2px;
}
.ok-lovref-popover-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ok-lovref-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
}
.ok-lovref-popover {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(80vh, 36rem);
  overflow: auto;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22);
  color: #1a1a1a;
}
.ok-lovref-popover-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.ok-lovref-popover-short {
  margin: 0 0 0.75rem;
  color: #5c6570;
  font-size: 0.9rem;
}
.ok-lovref-popover-body {
  margin: 0 0 0.9rem;
}
.ok-lovref-quote {
  margin: 0;
  padding: 0;
  border-left: 3px solid #d0d7de;
  background: #f6f8fa;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow: hidden;
}
.ok-lovref-intro,
.ok-lovref-stk-block {
  padding: 0.8rem 0.85rem;
}
.ok-lovref-intro,
.ok-lovref-stk-text {
  white-space: pre-wrap;
}
.ok-lovref-stk-block {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 0.2rem 0.65rem;
  border-top: 1px solid #dfe4e8;
}
.ok-lovref-stk-label {
  font-weight: 700;
  color: #364152;
}
.ok-lovref-stk-block.is-selected {
  background: #fff8dc;
  box-shadow: inset 3px 0 #c99700;
}
.ok-lovref-popover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.ok-lovref-open {
  color: #0b5fff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.ok-lovref-close {
  margin-left: auto;
  border: 1px solid #c9d1d9;
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font: inherit;
}
@media (max-width: 375px) {
  .ok-lovref-popover-root {
    align-items: flex-end;
    padding: 0;
  }
  .ok-lovref-popover {
    width: 100%;
    max-height: 85vh;
    border-radius: 0.75rem 0.75rem 0 0;
  }
  .ok-lovref-intro,
  .ok-lovref-stk-block {
    padding: 0.75rem;
  }
  .ok-lovref-stk-block {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.5rem;
  }
}

/* Feedback submit success */
.ok-feedback-form.is-sent .ok-feedback-status.is-ok,
.ok-feedback-status.is-ok {
  color: #0b5c2e;
  font-weight: 600;
}
.ok-feedback-form.is-sent {
  outline: 2px solid #0b5c2e33;
  border-radius: 10px;
}
