/* ============================================================
   Kontroll Explorer — production CSS
   Field Matrix + Endpoints + Request/Response
   ============================================================ */

.ke-app {
  margin: 1rem 0 3rem;
  font-size: 13.5px;
  color: #1f2328;
  max-width: 100%;
  min-width: 0;
  line-height: 1.45;
}

/* ------------------------------------------------------------
   Reference links — OpenAPI spec / Data model / Validation
   ------------------------------------------------------------ */
.ke-reflinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0 0 0.85rem;
  font-size: 12.5px;
}
.ke-reflink {
  color: #0969da;
  text-decoration: none;
}
.ke-reflink:hover { text-decoration: underline; }
.ke-reflink + .ke-reflink { position: relative; }
.ke-reflink + .ke-reflink::before {
  content: "·";
  color: #8b949e;
  margin-right: 1rem;
  margin-left: -1rem;
  position: absolute;
  left: -0.5rem;
}

/* Intro section */
.ke-intro {
  background: #f6f8fa;
  border-left: 3px solid #0969da;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin: 0 0 1.2rem;
  line-height: 1.55;
  font-size: 13px;
}
.ke-intro strong { color: #0969da; }

/* ============================================================
   Delivery principles — compact collapsible legend
   ============================================================ */
.ke-principles-compact {
  margin: 0 0 0.9rem;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  font-size: 12px;
}
.ke-principles-compact > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  background: #f6f8fa;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.ke-principles-compact > summary::-webkit-details-marker { display: none; }
.ke-principles-compact > summary::after {
  content: "▾";
  margin-left: auto;
  color: #57606a;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.ke-principles-compact[open] > summary::after { transform: rotate(180deg); }
.ke-principles-compact > summary:hover { background: #eaeef2; }

.ke-principles {
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 0;
  margin: 0 0 1.5rem;
  overflow: hidden;
}
.ke-principles > summary {
  padding: 0.7rem 1rem;
  background: #f6f8fa;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
  border-bottom: 1px solid #d0d7de;
  list-style: none;
}
.ke-principles > summary::-webkit-details-marker { display: none; }
.ke-principles > summary::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 4px;
  transition: transform 0.15s;
}
.ke-principles[open] > summary::before { content: "▾ "; }
.ke-principles > summary:hover { background: #eaeef2; }

.ke-principles-lede {
  margin: 0;
  padding: 0.9rem 1rem 0.7rem;
  font-size: 12.5px;
  color: #4a5258;
  line-height: 1.6;
}
.ke-principles-lede em { color: #1f2328; font-style: italic; }
.ke-principles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
  border-top: 1px solid #eaeef2;
}
.ke-principles-table th,
.ke-principles-table td {
  text-align: left;
  padding: 0.35rem 0.7rem;
  border-top: 1px solid #eaeef2;
  vertical-align: top;
}
.ke-principles-table thead th {
  background: #fafbfc;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #57606a;
}
.ke-principles-table td:first-child {
  width: 170px;
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: #fff;
  border-right: 1px solid #eaeef2;
  font-weight: 500;
}
.ke-principles-table code {
  background: #f6f8fa;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11.5px;
}
.ke-principles-link {
  margin: 0;
  padding: 0.4rem 0.7rem;
  background: #f6f8fa;
  border-top: 1px solid #eaeef2;
  font-size: 11.5px;
}
.ke-principles-link a {
  color: #0969da;
  text-decoration: none;
  font-weight: 500;
}
.ke-principles-link a:hover { text-decoration: underline; }

/* ============================================================
   View-switcher
   ============================================================ */
.ke-views {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #d0d7de;
  margin-bottom: 1.2rem;
}
.ke-view-btn {
  background: transparent;
  border: 0;
  padding: 0.65rem 1.2rem;
  font-size: 13px;
  font-weight: 500;
  color: #57606a;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.ke-view-btn:hover { color: #0969da; }
.ke-view-btn[aria-selected="true"] {
  color: #0969da;
  border-bottom-color: #0969da;
  font-weight: 600;
}
.ke-view-count {
  display: inline-block;
  background: #eaeef2;
  color: #57606a;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
}
.ke-view-btn[aria-selected="true"] .ke-view-count {
  background: #0969da;
  color: #fff;
}

.ke-view { display: none; }
.ke-view[data-active="true"] { display: block; }

/* ============================================================
   Search + filter
   ============================================================ */
.ke-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
.ke-search {
  flex: 1;
  min-width: 200px;
  padding: 0.45rem 0.7rem;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  font-size: 13px;
}
.ke-search:focus {
  outline: none;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9,105,218,0.15);
}
.ke-filter-btn {
  background: #fff;
  border: 1px solid #d0d7de;
  padding: 0.4rem 0.75rem;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #57606a;
  white-space: nowrap;
  font-weight: 500;
}
.ke-filter-btn:hover { border-color: #0969da; color: #0969da; }
.ke-filter-btn[aria-pressed="true"] {
  background: #0969da;
  border-color: #0969da;
  color: #fff;
}

/* ============================================================
   Service toggle chips
   ============================================================ */
.ke-svc-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 4px;
}
.ke-svc-toggles-label {
  font-size: 12px;
  font-weight: 600;
  color: #57606a;
  margin-right: 4px;
}

.ke-svc-toggle {
  background: #fff;
  border: 1px solid #d0d7de;
  padding: 0.3rem 0.7rem;
  font-size: 12px;
  border-radius: 14px;
  cursor: pointer;
  color: #57606a;
  white-space: nowrap;
  transition: all 0.12s;
  font-weight: 500;
  position: relative;
}
.ke-svc-toggle::before {
  content: "✓ ";
  font-size: 10px;
  font-weight: 700;
  margin-right: 2px;
}
.ke-svc-toggle:hover { border-color: #0969da; }
.ke-svc-toggle[aria-pressed="true"] {
  background: #0969da;
  border-color: #0969da;
  color: #fff;
}
.ke-svc-toggle[aria-pressed="false"] {
  opacity: 0.6;
  background: #f6f8fa;
  text-decoration: line-through;
}
.ke-svc-toggle[aria-pressed="false"]::before {
  content: "✗ ";
  color: #b91c1c;
}

/* ============================================================
   Field Matrix-tabell
   ============================================================ */
.ke-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  background: #fff;
  position: relative;
}
.ke-field-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  table-layout: auto;
}
.ke-field-matrix th,
.ke-field-matrix td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #eaeef2;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}
.ke-field-matrix thead th {
  background: #f6f8fa;
  font-weight: 600;
  color: #1f2328;
  border-bottom: 2px solid #d0d7de;
  position: sticky;
  top: 0;
  z-index: 3;
  font-size: 11.5px;
}
.ke-field-matrix tbody tr:hover td { background: #fffbeb; }
.ke-field-matrix tbody tr:hover td.ke-field-path { background: #fef9c3; }
.ke-field-matrix tbody tr.ke-row-hidden { display: none; }

/* Sticky first column (field name) so the field name stays visible while scrolling horizontally */
.ke-field-path,
.ke-field-path-th {
  text-align: left !important;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  border-right: 1px solid #d0d7de;
  /* Ingen max-width, ingen ellipsis — vis HELE feltpathen */
  white-space: nowrap;
  min-width: 0;
}
.ke-field-path-th {
  background: #f6f8fa;
  z-index: 4;
}
.ke-field-matrix tbody tr:hover .ke-field-path { background: #fef9c3; }

.ke-field-path a {
  color: #1f2328;
  text-decoration: none;
  display: inline-block;
}
.ke-field-path a:hover { color: #0969da; text-decoration: underline; }
.ke-field-path .ke-indent-2 { padding-left: 0.9rem; color: #4a5258; }
.ke-field-path .ke-indent-3 { padding-left: 1.8rem; color: #57606a; }

/* Service column header + cells */
.ke-svc-col {
  min-width: 110px;
}
.ke-col-hidden { display: none !important; }

/* Endpoint group separator */
.ke-ep-row td {
  background: #eef2f7 !important;
  text-align: left !important;
  padding: 0.55rem 0.7rem !important;
  border-top: 2px solid #b8c0c8 !important;
  border-bottom: 1px solid #b8c0c8 !important;
  position: sticky;
  left: 0;
}
.ke-ep-row-link {
  color: #0969da;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  margin-right: 6px;
}
.ke-ep-row-link:hover { text-decoration: underline; }
.ke-ep-row-link code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}
.ke-ep-desc {
  color: #4a5258;
  font-size: 12px;
  font-weight: 400;
}
.ke-ep-fieldcount {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  color: #57606a;
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 0 7px;
  font-weight: 500;
}

/* Klassifiserings-pills */
.ke-cls {
  display: inline-block;
  min-width: 24px;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  letter-spacing: 0.3px;
}
.ke-cls-M     { background: #fee2e2; color: #b91c1c; }
.ke-cls-MC    { background: #fef3c7; color: #92400e; }
.ke-cls-D     { background: #dbeafe; color: #1e40af; }
.ke-cls-O     { background: #e5e7eb; color: #374151; }
.ke-cls-WND   { background: #f3e8ff; color: #6b21a8; text-decoration: line-through; }
.ke-cls-block { background: #f1f3f5; color: #6e7781; cursor: help; }

.ke-table-hint {
  margin: 0.6rem 0 0;
  font-size: 11.5px;
  color: #57606a;
  font-style: italic;
}

/* ============================================================
   Endpoints view
   ============================================================ */
.ke-ep-controls {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 4px;
}
.ke-ep-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.ke-ep-control > label {
  font-size: 12px;
  font-weight: 600;
  color: #57606a;
  min-width: 110px;
}
.ke-ex-select {
  flex: 1;
  min-width: 240px;
  padding: 0.45rem 0.6rem;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}
.ke-ep-svc-picker .ke-svc-toggles {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  flex: 1;
}

/* Endpoint meta header */
.ke-ep-meta { margin-bottom: 1rem; }
.ke-ep-meta-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.ke-ep-meta-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.ke-ep-meta-head h2 code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.ke-spec-link {
  font-size: 12px;
  color: #0969da;
  text-decoration: none;
  margin-left: auto;
  font-weight: 500;
}
.ke-spec-link:hover { text-decoration: underline; }
.ke-ep-meta-desc {
  margin: 0 0 0.5rem;
  color: #57606a;
  font-size: 13px;
}

/* Spec-grid \u2014 input venstre, respons h\u00f8yre (synlige by default) */
.ke-ep-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .ke-ep-spec-grid { grid-template-columns: 1fr; }
}
.ke-ep-spec-pane {
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #fbfcfd;
  padding: 0.6rem 0.75rem;
  min-width: 0;
}
.ke-ep-spec-h {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #57606a;
}
.ke-ep-spec-count {
  color: #8b949e;
  font-weight: 400;
  font-size: 11px;
  margin-left: 0.25rem;
}
.ke-resp-scroll {
  border: 1px solid #eaeef2;
  border-radius: 4px;
  position: relative;
}
.ke-ep-spec-scroll {
  /* No max-height: panes grow to fit all rows so the two columns visually balance. */
}
.ke-ep-spec-pane .ke-params-table {
  width: 100%;
  border: none;
  margin-top: 0;
  min-width: 0;
}

/* ============================================================
   Shared response-field row styling (used by Per Endpoint
   AND the Field Matrix so both views look the same)
   ============================================================ */
.ke-resp-table { min-width: 0; max-width: 100%; }
.ke-resp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f6f8fa;
}
.ke-resp-table thead th.ke-resp-cls-th {
  text-align: right;
  width: 64px;
}

/* Field cell (path with parent.leaf split + indentation guides) */
.ke-resp-row .ke-resp-field {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 11.5px;
  padding-right: 0.4rem;
  border-left: 3px solid transparent;
  text-align: left;
  white-space: nowrap;
}
.ke-resp-row.ke-resp-lvl-1 .ke-resp-field {
  padding-left: 0.55rem;
}
.ke-resp-row.ke-resp-lvl-2 .ke-resp-field {
  padding-left: 1.6rem;
  background:
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 0.7rem 0 / 1px 100%;
}
.ke-resp-row.ke-resp-lvl-3 .ke-resp-field {
  padding-left: 2.7rem;
  background:
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 0.7rem 0 / 1px 100%,
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 1.8rem 0 / 1px 100%;
}
.ke-resp-row.ke-resp-lvl-4 .ke-resp-field {
  padding-left: 3.8rem;
  background:
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 0.7rem 0 / 1px 100%,
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 1.8rem 0 / 1px 100%,
    linear-gradient(to right, #d0d7de 0, #d0d7de 1px, transparent 1px) no-repeat 2.9rem 0 / 1px 100%;
}
.ke-resp-row.ke-resp-lvl-5 .ke-resp-field,
.ke-resp-row.ke-resp-lvl-6 .ke-resp-field { padding-left: 4.9rem; }

.ke-resp-link {
  text-decoration: none;
  color: #1f2328;
  display: inline-block;
  line-height: 1.4;
}
.ke-resp-link:hover { color: #0969da; }
.ke-resp-link:hover .ke-resp-leaf,
.ke-resp-link:hover .ke-resp-parent { text-decoration: underline; text-decoration-color: currentColor; }
.ke-resp-link:hover .ke-resp-parent { color: #57606a; }
.ke-resp-parent {
  color: #8b949e;
  font-size: 10.5px;
  font-weight: 400;
}
.ke-resp-leaf {
  color: #1f2328;
  font-weight: 600;
}
.ke-resp-row.ke-resp-lvl-1 .ke-resp-leaf { color: #0969da; font-weight: 700; }
.ke-resp-row:hover .ke-resp-field { background-color: #fffbeb; }

/* Sticky right classification column (Per Endpoint only) */
.ke-resp-table .ke-resp-cls,
.ke-resp-table .ke-resp-cls-th {
  position: sticky;
  right: 0;
  background: #fff;
  border-left: 1px solid #eaeef2;
  text-align: right;
  width: 64px;
  z-index: 1;
}
.ke-resp-table thead th.ke-resp-cls-th { z-index: 3; background: #f6f8fa; }
.ke-resp-row:hover .ke-resp-cls { background: #fffbeb; }

/* Field Matrix: keep the field-path column sticky-left + share tree-line look */
.ke-field-matrix .ke-resp-row .ke-resp-field.ke-field-path {
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid #d0d7de;
}
.ke-field-matrix .ke-resp-row.ke-resp-lvl-1 .ke-resp-field.ke-field-path {
  background: #f6faff;
}
.ke-field-matrix .ke-resp-row:hover .ke-resp-field.ke-field-path { background: #fef9c3; }

.ke-params-table {
  margin-top: 0.5rem;
  border-collapse: collapse;
  width: auto;
  min-width: 360px;
  border: 1px solid #d0d7de;
  border-radius: 4px;
}
.ke-params-table th, .ke-params-table td {
  padding: 0.35rem 0.7rem;
  border-bottom: 1px solid #eaeef2;
  text-align: left;
  font-size: 12px;
}
.ke-params-table th {
  background: #f6f8fa;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #57606a;
}
.ke-params-table code {
  background: #f6f8fa;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11.5px;
}
.ke-resp-table { min-width: 460px; max-width: 700px; }
.ke-resp-table .ke-indent-1 { padding-left: 0; }
.ke-resp-table .ke-indent-2 { padding-left: 1rem; }
.ke-resp-table .ke-indent-2 code { color: #4a5258; }
.ke-resp-table .ke-indent-3 { padding-left: 2rem; }
.ke-resp-table .ke-indent-3 code { color: #57606a; }
.ke-resp-table a { text-decoration: none; }
.ke-resp-table a:hover code { background: #ddf4ff; }
.ke-resp-note {
  margin-top: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: #fbf7e8;
  border-left: 3px solid #d4a72c;
  font-size: 12px;
  color: #4a4a3a;
  line-height: 1.5;
}
.ke-resp-note code {
  background: #fff;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 11px;
}

.ke-ep-empty {
  padding: 1.5rem;
  background: #f6f8fa;
  border: 1px dashed #d0d7de;
  border-radius: 4px;
  text-align: center;
  color: #57606a;
}

.ke-ep-results {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ============================================================
   Per-service request/response cards
   ============================================================ */
.ke-svc-card {
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.ke-svc-card.is-blocked { border-color: #d0d7de; }
.ke-svc-card.is-muted   { border-color: #d0d7de; opacity: 0.85; }
.ke-resp-container .ke-resp-leaf { font-weight: 600; color: #57606a; }
.ke-resp-container .ke-resp-cls { background: transparent; }

.ke-svc-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
}
.ke-svc-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.ke-svc-card-head h3 a {
  color: #1f2328;
  text-decoration: none;
}
.ke-svc-card-head h3 a:hover { color: #0969da; text-decoration: underline; }

.ke-svc-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
}
.ke-svc-status.ok      { background: #dcfce7; color: #15803d; }
.ke-svc-status.blocked { background: #fee2e2; color: #b91c1c; }
.ke-svc-status.muted   { background: #f1f3f5; color: #57606a; }

.ke-svc-card-ctx {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.6rem 0.85rem;
  background: #fafbfc;
  border-bottom: 1px solid #eaeef2;
  font-size: 12px;
}
.ke-svc-card-ctx span { display: inline-flex; align-items: baseline; gap: 4px; }
.ke-svc-card-ctx .lbl { color: #57606a; font-weight: 500; }
.ke-svc-card-ctx code {
  background: #fff;
  border: 1px solid #d0d7de;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 11px;
}

/* Side-by-side request/response */
.ke-svc-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1100px) {
  .ke-svc-card-grid { grid-template-columns: 1fr; }
}
.ke-pane {
  border-right: 1px solid #eaeef2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ke-pane:last-child { border-right: 0; }
@media (max-width: 1100px) {
  .ke-pane { border-right: 0; border-bottom: 1px solid #eaeef2; }
  .ke-pane:last-child { border-bottom: 0; }
}
.ke-pane-head {
  padding: 0.45rem 0.75rem;
  background: #f6f8fa;
  font-size: 11.5px;
  font-weight: 600;
  color: #57606a;
  border-bottom: 1px solid #eaeef2;
}
.ke-pane-head small {
  font-weight: 400;
  color: #6e7781;
  margin-left: 4px;
}
.ke-pane-arrow { color: #0969da; font-weight: 700; margin-right: 4px; }
.ke-arrow-back { color: #15803d; }

.ke-code {
  background: #0d1117;
  color: #e6edf3;
  padding: 0.75rem 0.85rem;
  margin: 0;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  flex: 1;
  border-radius: 0;
  min-height: 220px;
}

/* Token-farger */
.tk-method     { color: #ff7b72; font-weight: 600; }
.tk-url        { color: #ffa657; }
.tk-h          { color: #d2a8ff; }
.tk-key        { color: #79c0ff; }
.tk-str        { color: #a5d6ff; }
.tk-num        { color: #f2cc60; }
.tk-lit        { color: #ff7b72; }
.tk-status-bad { color: #ff7b72; font-weight: 600; }
.tk-comment    { color: #8b949e; font-style: italic; }

.ke-ex-disclaimer {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  font-size: 12px;
  color: #57606a;
  line-height: 1.55;
}
