.samtyk-admin-wrap {
  margin: 8px 20px 40px 0;
}

.samtyk-admin-wrap > h1,
.samtyk-admin-wrap > h2,
.samtyk-admin-wrap .notice {
  display: none;
}

.samtyk-admin {
  --ink: #17231c;
  --paper: #fffdf8;
  --mist: #f3efe6;
  --line: #d4ccbe;
  --muted: #3f4a43;
  --good: #1f5c3a;
  --good-soft: #dceadf;
  --warn: #6b3f12;
  --warn-soft: #f3e3cc;
  --bad: #7a1f1f;
  --focus: #17231c;
  --radius: 14px;
  box-sizing: border-box;
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(23, 35, 28, 0.07);
  overflow: hidden;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.samtyk-admin *,
.samtyk-admin *::before,
.samtyk-admin *::after {
  box-sizing: border-box;
}

.samtyk-admin ::selection {
  background: var(--ink);
  color: var(--paper);
}

.samtyk-admin ::placeholder {
  color: #5c675f;
}

.samtyk-admin :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.samtyk-admin input,
.samtyk-admin select,
.samtyk-admin textarea {
  caret-color: var(--ink);
}

.samtyk-admin {
  scrollbar-color: #8a8478 var(--mist);
}

.samtyk-admin a {
  color: var(--ink);
}

.samtyk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  position: static;
}

.samtyk-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.samtyk-seal {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
}

.samtyk-top h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.samtyk-top p {
  margin: 4px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.samtyk-host {
  color: var(--ink);
  font-weight: 650;
}

.samtyk-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.samtyk-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.samtyk-pill.is-ready {
  background: var(--good-soft);
  border-color: #b7d0c0;
  color: var(--good);
}

.samtyk-admin[data-ready="1"] {
  border-color: #b7d0c0;
}

.samtyk-admin[data-ready="1"] .samtyk-top {
  background: var(--good-soft);
  border-bottom-color: #b7d0c0;
}

.samtyk-admin[data-ready="1"] .samtyk-host,
.samtyk-admin[data-ready="1"] .samtyk-top p {
  color: var(--good);
}

.samtyk-admin[data-ready="1"] .samtyk-pill.is-ready {
  background: var(--good);
  border-color: var(--good);
  color: #f4faf6;
  font-variant-numeric: tabular-nums;
}

.samtyk-pill.is-open {
  background: var(--warn-soft);
  border-color: #e0c8a4;
  color: var(--warn);
}

.samtyk-btn {
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  min-height: 40px;
  padding: 0 16px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.samtyk-btn:hover {
  background: #243029;
}

.samtyk-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.samtyk-btn-small {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.samtyk-btn-ghost {
  background: var(--paper);
  color: var(--ink);
}

.samtyk-btn-ghost:hover {
  background: var(--mist);
}

.samtyk-btn-link {
  appearance: none;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

.samtyk-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-rows: minmax(640px, 1fr) auto;
  min-height: 720px;
}

.samtyk-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 16px 24px;
  border-right: 1px solid var(--line);
  background: #f7f3ea;
}

.samtyk-nav button {
  appearance: none;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 650;
  padding: 11px 12px;
  cursor: pointer;
}

.samtyk-nav-mark {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  grid-row: 1 / span 2;
}

.samtyk-nav button:hover {
  background: rgba(23, 35, 28, 0.05);
}

.samtyk-nav button.is-current {
  background: var(--ink);
  color: var(--paper);
}

.samtyk-nav small {
  display: block;
  grid-column: 2;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.samtyk-nav button.is-current small {
  color: #d8d2c6;
}

.samtyk-main {
  padding: 28px 32px 36px;
  min-width: 0;
}

.samtyk-flash {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--good-soft);
  color: var(--good);
}

.samtyk-flash.is-error {
  background: #f3dcdc;
  color: var(--bad);
}

.samtyk-admin [data-panel] {
  display: none;
}

.samtyk-admin[data-tab="klar"] [data-panel="klar"],
.samtyk-admin[data-tab="sitet"] [data-panel="sitet"],
.samtyk-admin[data-tab="scan"] [data-panel="scan"],
.samtyk-admin[data-tab="regler"] [data-panel="regler"],
.samtyk-admin[data-tab="mere"] [data-panel="mere"] {
  display: block;
}

.samtyk-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.samtyk-panel > p,
.samtyk-scan-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 64ch;
}

.samtyk-done {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 0;
  align-items: start;
  margin: 0 0 28px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--good);
  color: #f4faf6;
}

.samtyk-done-mark {
  width: 44px;
  height: 44px;
  grid-row: 1 / span 3;
  color: #f4faf6;
}

.samtyk-done h2,
.samtyk-panel .samtyk-done h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: #f4faf6;
}

.samtyk-done p {
  margin: 8px 0 0;
  max-width: 48ch;
  color: #d5eadc;
}

.samtyk-done p:first-of-type {
  margin-top: 8px;
  color: #f4faf6;
  font-weight: 650;
}

.samtyk-status-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.samtyk-status-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.samtyk-status-list li.is-next {
  margin: 0 -12px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--mist);
  border-bottom-color: transparent;
}

.samtyk-mark {
  width: 20px;
  height: 20px;
  display: block;
}

.samtyk-mark.is-ok {
  color: var(--good);
}

.samtyk-mark.is-no {
  color: var(--warn);
}

.samtyk-status-list.is-complete {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  border-top: 0;
}

.samtyk-status-list.is-complete li {
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
}

.samtyk-admin[data-ready="1"] .samtyk-codes {
  margin-top: 20px;
}

.samtyk-admin[data-ready="1"] .samtyk-code p {
  color: #5c675f;
}

.samtyk-codes {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.samtyk-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.samtyk-code code {
  font-size: 14px;
  background: var(--mist);
  padding: 4px 8px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.samtyk-code p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.samtyk-fields,
.samtyk-switches {
  display: grid;
  gap: 4px;
  max-width: 720px;
}

.samtyk-field {
  padding: 12px 0;
}

.samtyk-field label,
.samtyk-switch > span:first-child {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
}

.samtyk-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.samtyk-field input[type="text"],
.samtyk-field input[type="url"],
.samtyk-field input[type="number"],
.samtyk-field input[type="password"],
.samtyk-field select,
.samtyk-inline input[type="text"],
.samtyk-inline select,
.samtyk-file {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  box-shadow: none;
}

.samtyk-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 56ch;
}

.samtyk-language-now {
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 650;
}

.samtyk-pages > form {
  margin-top: 12px;
}

.samtyk-pages {
  margin-top: 32px;
  max-width: 720px;
}

.samtyk-pages h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.samtyk-pages > p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 62ch;
}

.samtyk-page-card {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.samtyk-page-card strong {
  display: block;
  font-weight: 650;
}

.samtyk-page-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 56ch;
}

.samtyk-template-wrap {
  margin: 0;
}

.samtyk-template-wrap summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}

.samtyk-template {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
}

.samtyk-switch {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 6px 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.samtyk-switch p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.samtyk-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.samtyk-switch i {
  width: 44px;
  height: 26px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--paper);
  position: relative;
  display: inline-block;
  justify-self: end;
  transition: background 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.samtyk-switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: left 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.samtyk-switch input:checked + i {
  background: var(--ink);
}

.samtyk-switch input:checked + i::after {
  left: 20px;
  background: var(--paper);
}

.samtyk-switch input:focus-visible + i {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.samtyk-scan-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: start;
  margin-bottom: 20px;
}

.samtyk-scan-head h2,
.samtyk-scan-head p {
  margin: 0;
}

.samtyk-scan-head p {
  margin-top: 6px;
  color: var(--muted);
  max-width: 58ch;
}

.samtyk-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.samtyk-metric {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.samtyk-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.samtyk-metric strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.samtyk-scan-progress {
  margin: 0 0 24px;
  padding: 16px 0 4px;
}

.samtyk-scan-progress[hidden] {
  display: none;
}

.samtyk-scan-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.samtyk-scan-progress-top strong {
  font-size: 15px;
}

.samtyk-scan-progress-top span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.samtyk-scan-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}

.samtyk-scan-bar i {
  display: block;
  height: 100%;
  /* impeccable-disable-next-line layout-transition -- static full width; motion is transform scaleX */
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.samtyk-scan-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.samtyk-scan-steps li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.samtyk-scan-steps li.is-current {
  color: var(--ink);
  font-weight: 650;
}

.samtyk-scan-steps li.is-done {
  color: var(--good);
}

.samtyk-scan-done {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--good-soft);
  color: var(--good);
}

.samtyk-scan-done[hidden] {
  display: none;
}

.samtyk-scan-done strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.samtyk-scan-done p {
  margin: 0;
  color: var(--good);
}

.samtyk-scan-progress.is-complete .samtyk-scan-steps {
  display: none;
}

.samtyk-scan-progress.is-complete .samtyk-scan-bar i {
  background: var(--good);
}

.samtyk-scan-progress.is-complete .samtyk-scan-progress-top strong {
  color: var(--good);
}

.samtyk-cookies {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.samtyk-cookies th,
.samtyk-cookies td {
  text-align: left;
  vertical-align: middle;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}

.samtyk-cookies th {
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

.samtyk-cookies th:nth-child(1),
.samtyk-cookies td:nth-child(1) {
  width: 22%;
}

.samtyk-cookies th:nth-child(2),
.samtyk-cookies td:nth-child(2) {
  width: 16%;
}

.samtyk-cookies th:nth-child(3),
.samtyk-cookies td:nth-child(3) {
  width: 16%;
}

.samtyk-cookies th:last-child,
.samtyk-cookies td:last-child {
  width: 72px;
  padding-right: 0;
  text-align: right;
}

.samtyk-cat {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--mist);
  font-weight: 650;
  font-size: 12px;
}

.samtyk-empty {
  padding: 18px 0;
  color: var(--muted);
}

.samtyk-manual {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.samtyk-inline {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 0.9fr 1fr;
  gap: 10px;
  margin: 16px 0 14px;
  align-items: stretch;
}

.samtyk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.samtyk-pre {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--mist);
  overflow: auto;
  font-size: 13px;
}

.samtyk-stack {
  display: grid;
  gap: 18px;
}

.samtyk-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.samtyk-warn,
.samtyk-info {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 0 0 16px;
}

.samtyk-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.samtyk-info {
  background: var(--mist);
}

[data-copied="1"]::after {
  content: " " attr(data-copied-label);
  font-weight: 650;
}

@media (max-width: 1100px) {
  .samtyk-metrics,
  .samtyk-scan-steps,
  .samtyk-inline {
    grid-template-columns: 1fr 1fr;
  }

  .samtyk-inline input:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  .samtyk-admin-wrap {
    margin: 12px 0 24px;
  }

  .samtyk-top,
  .samtyk-scan-head,
  .samtyk-file-row {
    position: static;
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .samtyk-shell {
    grid-template-columns: 1fr;
  }

  .samtyk-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .samtyk-nav button {
    flex: 0 0 auto;
  }

  .samtyk-nav small {
    display: none;
  }

  .samtyk-nav-mark {
    grid-row: auto;
  }

  .samtyk-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .samtyk-main {
    padding: 20px 16px 28px;
  }

  .samtyk-done {
    grid-template-columns: 1fr;
    padding: 18px 18px 20px;
  }

  .samtyk-done-mark {
    grid-row: auto;
    width: 36px;
    height: 36px;
  }

  .samtyk-done h2,
  .samtyk-panel .samtyk-done h2 {
    font-size: 24px;
  }

  .samtyk-status-list.is-complete {
    grid-template-columns: 1fr;
  }

  .samtyk-metrics,
  .samtyk-scan-steps,
  .samtyk-inline {
    grid-template-columns: 1fr;
  }

  .samtyk-cookies {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .samtyk-btn,
  .samtyk-switch i,
  .samtyk-switch i::after,
  .samtyk-scan-bar i {
    transition: none;
  }
}

.samtyk-pages {
  margin-top: 32px;
  max-width: 720px;
}

.samtyk-pages h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.samtyk-pages > p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 62ch;
}

.samtyk-page-card {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.samtyk-page-card strong {
  display: block;
  font-weight: 650;
}

.samtyk-page-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 56ch;
}

.samtyk-template-wrap {
  margin: 0;
}

.samtyk-template-wrap summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}

.samtyk-template {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
}
