:root {
  --ink: #151412;
  --ink-soft: #5f5a54;
  --paper: #eee7dc;
  --paper-deep: #dfd3c3;
  --panel: rgba(255, 252, 247, .82);
  --copper: #a85e2d;
  --copper-dark: #743b1b;
  --green: #246a4a;
  --amber: #9b6519;
  --red: #9d3b35;
  --line: rgba(35, 27, 21, .15);
  --shadow: 0 18px 55px rgba(45, 34, 24, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  background: #161411;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(168,94,45,.14), transparent 32rem),
    linear-gradient(180deg, #f3ede4 0%, var(--paper) 58%, #d8cbbb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, input, textarea { font: inherit; }

button { touch-action: manipulation; }

.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  z-index: 1000;
  transform: translateY(-180%);
  background: #fff;
  color: #000;
  padding: .7rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.top-stage {
  position: relative;
  overflow: hidden;
  color: #f4eee6;
  background:
    radial-gradient(circle at 14% 12%, rgba(184, 112, 56, .34), transparent 27rem),
    radial-gradient(circle at 83% 4%, rgba(52, 115, 111, .22), transparent 32rem),
    linear-gradient(135deg, #151411 0%, #24211d 46%, #11100e 100%);
  border-bottom: 1px solid rgba(168, 94, 45, .28);
}

.top-stage::after {
  content: "";
  position: absolute;
  inset: auto -15% -42% 30%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184, 112, 56, .13), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.top-stage-pattern {
  position: absolute;
  inset: 0;
  opacity: .21;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(
      ellipse at 76% 16%,
      transparent 0 32px,
      rgba(255, 255, 255, .055) 33px 34px,
      transparent 35px 54px
    ),
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}

.site-header {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand {
  display: flex;
  gap: .8rem;
  align-items: center;
  color: #f4eee6;
  text-decoration: none;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(207, 137, 80, .72);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #dc955c;
  font-size: 1.4rem;
  background: rgba(255,255,255,.045);
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,.018),
    0 0 28px rgba(184,112,56,.12);
}

.brand strong, .brand span { display: block; }
.brand strong {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: .01em;
}
.brand span {
  color: rgba(244,238,230,.58);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.quiet-link {
  color: rgba(244,238,230,.62);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .03em;
  transition: color .18s ease;
}
.quiet-link span { color: #dc955c; }
.quiet-link:hover { color: #fff; }

.hero {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 112px) 0 clamp(76px, 9vw, 118px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(42px, 8vw, 108px);
}

.hero-copy-panel { min-width: 0; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font: 700 .7rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .15em;
  color: rgba(244,238,230,.68);
}

.sami-thread {
  display: inline-grid;
  grid-template-columns: repeat(4, 12px);
  gap: 3px;
}
.sami-thread i {
  display: block;
  height: 3px;
  border-radius: 999px;
}
.sami-thread i:nth-child(1) { background: #cb4338; }
.sami-thread i:nth-child(2) { background: #3979a6; }
.sami-thread i:nth-child(3) { background: #e6b53e; }
.sami-thread i:nth-child(4) { background: #34805e; }

h1, h2 { margin-top: 0; }

.hero h1 {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.3vw, 6.6rem);
  line-height: .91;
  letter-spacing: -.052em;
  font-weight: 500;
  max-width: 800px;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 span { color: #f6f0e9; }
.hero h1 em {
  margin-top: .09em;
  color: #d78345;
  font-weight: 400;
  font-size: .87em;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(244,238,230,.66);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.68;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-radius: 999px;
  background: #c97538;
  color: #17130f;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(0,0,0,.24);
  transition: transform .18s ease, background .18s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: #df8c4d;
}
.hero-cta span { font-size: 1.08rem; }

.hero-actions p {
  margin: 0;
  color: rgba(244,238,230,.46);
  font-size: .78rem;
}

.hero-side {
  position: relative;
  min-width: 0;
}

.language-route {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(244,238,230,.72);
}

.language-route > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.language-route > span:last-child { text-align: right; }
.language-route b {
  color: #f4eee6;
  font: 700 .8rem/1 ui-monospace, Consolas, monospace;
  letter-spacing: .12em;
}
.language-route small {
  color: rgba(244,238,230,.46);
  font-size: .7rem;
}
.language-route i {
  height: 1px;
  background: linear-gradient(90deg, rgba(215,131,69,.15), #d78345, rgba(215,131,69,.15));
  position: relative;
}
.language-route i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #d78345;
  border-right: 1px solid #d78345;
  transform: rotate(45deg);
}

.progress-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  padding: 27px;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0,0,0,.29);
  backdrop-filter: blur(18px);
}

.progress-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -85px;
  border-radius: 50%;
  background: rgba(201,117,56,.16);
  filter: blur(3px);
}

.progress-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.progress-heading > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.progress-heading span {
  color: rgba(244,238,230,.86);
  font-weight: 700;
}
.progress-heading small {
  color: rgba(244,238,230,.42);
  font-size: .69rem;
  max-width: 190px;
}
.progress-heading strong {
  font-family: Georgia, serif;
  color: #e0955c;
  font-size: 2.35rem;
  line-height: 1;
}

.progress-track {
  position: relative;
  margin: 22px 0 24px;
  height: 7px;
  background: rgba(255,255,255,.105);
  border-radius: 999px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a95327, #e0955c);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(224,149,92,.35);
  transition: width .4s ease;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stats-grid div {
  border-left: 1px solid rgba(255,255,255,.11);
  padding-left: 10px;
}
.stats-grid b, .stats-grid span { display: block; }
.stats-grid b {
  color: #f6f0e9;
  font-size: 1.12rem;
}
.stats-grid span {
  color: rgba(244,238,230,.44);
  font-size: .67rem;
}

.hero-side-note {
  margin: 18px 3px 0;
  display: flex;
  gap: 11px;
  color: rgba(244,238,230,.46);
  font-family: Georgia, serif;
  font-size: .82rem;
  line-height: 1.5;
}
.hero-side-note span {
  flex: 0 0 auto;
  color: #d78345;
  font-size: 1.2rem;
}

.hero-ribbon {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: -28px auto 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  padding: 13px 22px;
  color: rgba(244,238,230,.55);
  border-top: 1px solid rgba(255,255,255,.105);
  font: 700 .68rem/1 ui-monospace, Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-ribbon i {
  color: #d78345;
  font-style: normal;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.how {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: rgba(251,247,241,.94);
  border: 1px solid rgba(35,27,21,.12);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 22px 55px rgba(45,34,24,.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.how article { padding: 30px 28px; }
.how article + article { border-left: 1px solid var(--line); }
.how article span {
  font: 700 .72rem/1 ui-monospace, Consolas, monospace;
  color: var(--copper);
}
.how h2 {
  margin: 12px 0 6px;
  font-family: Georgia, serif;
  font-weight: 500;
}
.how p { margin: 0; color: var(--ink-soft); }

.identity-panel {
  margin: 52px 0 20px;
  padding: 26px;
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
}
.identity-panel h2 { font-family: Georgia, serif; margin-bottom: 6px; }
.identity-panel p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.identity-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label { color: var(--ink-soft); font-size: .82rem; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(35,27,21,.2);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(168,94,45,.13);
  background: #fff;
}
.honeypot { position: absolute; left: -10000px; }

.toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(238,231,220,.93);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(45,34,24,.08);
}
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.filter, .pager button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter:hover, .filter.active {
  border-color: var(--copper);
  color: var(--copper-dark);
  background: rgba(255,255,255,.9);
}
.search-box { min-width: min(310px, 100%); }
.search-box span { position: absolute; left: -10000px; }
.search-box input { margin: 0; padding: 9px 12px; }

.workspace { min-height: 500px; }
.loading, .empty-state {
  padding: 80px 20px;
  text-align: center;
  color: var(--ink-soft);
}
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; }

.cards { display: grid; gap: 18px; }

.translation-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
  scroll-margin-top: 105px;
}
.translation-card.saving { opacity: .65; pointer-events: none; }
.translation-card.saved { animation: savedPulse .6s ease; }
@keyframes savedPulse {
  0% { box-shadow: 0 0 0 0 rgba(36,106,74,.3); }
  100% { box-shadow: var(--shadow); }
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.unit-number {
  font: 700 .73rem/1 ui-monospace, Consolas, monospace;
  color: var(--ink-soft);
}
.state-badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  background: rgba(35,27,21,.07);
}
.state-badge.approved { color: var(--green); background: rgba(36,106,74,.1); }
.state-badge.edited { color: var(--copper-dark); background: rgba(168,94,45,.12); }
.state-badge.uncertain { color: var(--amber); background: rgba(155,101,25,.12); }
.state-badge.reported { color: var(--red); background: rgba(157,59,53,.11); }

.context-line {
  margin: 8px 0 22px;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .73rem;
}
.context-key {
  background: rgba(35,27,21,.06);
  border-radius: 5px;
  padding: 1px 5px;
}

.text-block {
  display: block;
  margin: 0 0 18px;
  border-left: 3px solid var(--paper-deep);
  padding-left: 16px;
}
.target-block { border-left-color: var(--copper); }
.field-label {
  display: block;
  color: var(--ink-soft);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
}
.source-text {
  margin: 7px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.target-text {
  min-height: 98px;
  resize: vertical;
  font-size: 1.04rem;
  line-height: 1.55;
}

.notes-wrap {
  margin: 4px 0 16px;
  color: var(--ink-soft);
  font-size: .82rem;
}
.notes-wrap summary { cursor: pointer; }
.notes-list { margin: 8px 0 0; padding-left: 20px; }

.comment-label { display: block; margin-top: 10px; }

.review-summary {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
}

.actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.action {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 10px 13px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: .82rem;
}
.action:hover { transform: translateY(-1px); }
.action.approve {
  border-color: rgba(36,106,74,.36);
  color: var(--green);
}
.action.edit {
  border-color: rgba(168,94,45,.45);
  color: var(--copper-dark);
}
.action.uncertain { color: var(--amber); }
.action.report { color: var(--red); margin-left: auto; }

.pager {
  margin: 26px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ink-soft);
}
.pager button:disabled { opacity: .4; cursor: default; }

.privacy-note {
  margin: 64px 0;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy-note h2 { font-family: Georgia, serif; }
.privacy-note p { color: var(--ink-soft); max-width: 850px; }

footer {
  padding: 28px max(16px, calc((100vw - 1180px) / 2));
  background: #171411;
  color: #a89d91;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .78rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(420px, calc(100% - 36px));
  background: #171411;
  color: #fff;
  padding: 13px 16px;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
  transform: translateY(140%);
  opacity: 0;
  transition: .22s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #6f2824; }

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 58px;
  }
  .hero h1 { max-width: 700px; }
  .hero-side { max-width: 620px; }
  .hero-ribbon { margin-top: -14px; }
  .how { grid-template-columns: 1fr; border-radius: 0 0 15px 15px; }
  .how article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .identity-panel { grid-template-columns: 1fr; }
  .toolbar { position: static; display: grid; }
  .search-box { min-width: 0; }
}

@media (max-width: 560px) {
  .site-header { padding: 16px 0; }
  .quiet-link { display: none; }
  .hero {
    width: min(100% - 28px, 1180px);
    padding: 44px 0 72px;
  }
  .hero-kicker {
    align-items: flex-start;
    line-height: 1.45;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
    line-height: .94;
  }
  .hero-copy { font-size: .97rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-side { width: 100%; }
  .progress-card { padding: 21px; }
  .progress-heading strong { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
  .language-route { grid-template-columns: 1fr 38px 1fr; }
  .hero-ribbon {
    width: min(100% - 28px, 1180px);
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-left: 0;
    padding-right: 0;
  }
  .identity-fields { grid-template-columns: 1fr; }
  .translation-card { border-radius: 13px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .action.report { margin-left: 0; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


/* Cloudflare Turnstile – diskret og bare synlig ved behov */
.human-check {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.human-check[hidden] {
  display: none;
}

#turnstileWidget {
  min-height: 1px;
  max-width: 100%;
}

.human-check p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: .72rem;
}

.human-check.problem p {
  color: var(--red);
}

/* ---------- Crowdsource v5: moderation, consensus and language checks ---------- */
.trust-strip {
  margin: 26px 0 0;
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 14px 22px;
  flex-wrap: wrap;
  border: 1px solid rgba(168,94,45,.2);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(168,94,45,.09), rgba(255,255,255,.7));
}
.trust-strip strong {
  color: var(--copper-dark);
  font-family: Georgia, serif;
  font-size: 1.03rem;
}
.trust-strip span {
  color: var(--ink-soft);
  font-size: .86rem;
}

.state-badge.pending { color: var(--ink-soft); background: rgba(60,52,45,.08); }
.state-badge.submitted { color: var(--copper-dark); background: rgba(168,94,45,.12); }
.state-badge.consensus { color: #23664b; background: rgba(36,106,74,.12); }
.state-badge.moderator_approved { color: #1f5f45; background: rgba(36,106,74,.18); box-shadow: inset 0 0 0 1px rgba(36,106,74,.14); }
.state-badge.reported { color: var(--red); background: rgba(157,59,53,.11); }

.quality-panel {
  margin: 18px 0 4px;
  padding: 18px;
  border: 1px solid rgba(155,101,25,.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,248,229,.96), rgba(250,240,216,.8));
  box-shadow: 0 14px 34px rgba(78,55,24,.08);
}
.quality-panel[hidden] { display: none; }
.quality-panel.problem { border-color: rgba(168,94,45,.35); }
.quality-panel.unavailable {
  border-color: rgba(65,85,104,.22);
  background: rgba(239,244,247,.8);
}
.quality-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.quality-heading > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quality-kicker {
  color: var(--copper-dark);
  font: 700 .66rem/1 ui-monospace, Consolas, monospace;
  letter-spacing: .13em;
}
.quality-title {
  font-family: Georgia, serif;
  font-size: 1.14rem;
  font-weight: 500;
}
.quality-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(31,25,20,.07);
  color: var(--ink-soft);
  font-size: 1.2rem;
  cursor: pointer;
}
.quality-list {
  margin: 15px 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.quality-list li {
  padding: 11px 12px;
  border-left: 3px solid rgba(168,94,45,.45);
  background: rgba(255,255,255,.58);
}
.quality-list strong,
.quality-list span,
.quality-list small { display: block; }
.quality-list strong { margin-bottom: 3px; color: var(--ink); }
.quality-list span { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; }
.quality-list small { margin-top: 5px; color: var(--copper-dark); }
.quality-provider {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.45;
}
.quality-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.quality-actions[hidden] { display: none; }
.quality-actions button {
  padding: 10px 13px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.quality-back {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.quality-confirm {
  border: 1px solid var(--copper-dark);
  background: var(--copper-dark);
  color: #fff;
}

.translation-card.saving {
  opacity: .78;
  pointer-events: none;
}
.translation-card.saved {
  box-shadow: 0 0 0 2px rgba(36,106,74,.16), 0 18px 48px rgba(36,106,74,.08);
}

@media (max-width: 650px) {
  .trust-strip { align-items: flex-start; flex-direction: column; }
  .quality-actions { display: grid; grid-template-columns: 1fr; }
  .quality-actions button { width: 100%; }
}
