/*
 * Regnemaskinen på calculator.abpdelta.com.
 *
 * Det er regnearket fra Stærkstrøm som en hel side. Matematikken, linjerne og
 * "Det kan du regne ud" har samme stil som i appen (kopieret fra
 * staerkstroem/public/styles.css). Retter du dem dér, så ret dem også her.
 * Farverne er ABP Delta-logoets.
 */

/* ================================================================ tokens */

:root {
  --bg: #F4F5F7;
  --bg-elev: #FFFFFF;
  --bg-marker: #FFFFFF;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --press: rgba(0, 0, 0, 0.055);
  --label: #12161B;
  --label-2: #525965;
  --label-3: #868D98;
  --sep: rgba(18, 22, 27, 0.12);
  --tint: #2F6FD6;
  --tint-soft: rgba(47, 111, 214, 0.1);
  --on-tint: #FFFFFF;
  --delta: #3B7BE0;
  --fejl: #D70015;
  --hs: #C2410C;
  --ls: #0F766E;
  --ok: #1B7F45;
  --skygge-1: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  --ease-ud: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --fjeder: cubic-bezier(0.34, 1.3, 0.64, 1);
  --r: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --fjeder: linear(0, 0.018, 0.063, 0.124, 0.2, 0.281, 0.363, 0.449, 0.529, 0.604, 0.676, 0.738, 0.796, 0.845, 0.887, 0.923, 0.953, 0.976, 0.996, 1.01, 1.022, 1.029, 1.034, 1.037, 1.038, 1.037, 1.036, 1.034, 1.031, 1.028, 1.025, 1.021, 1.018, 1.016, 1.013, 1.01, 1.008, 1.006, 1.005, 1.003, 1);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1014;
    --bg-elev: #161B21;
    --bg-marker: #3A4048;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-2: rgba(118, 118, 128, 0.34);
    --press: rgba(255, 255, 255, 0.07);
    --label: #F3F2EE;
    --label-2: #A3A9B3;
    --label-3: #6E757F;
    --sep: rgba(255, 255, 255, 0.1);
    --tint: #7DB0FF;
    --tint-soft: rgba(125, 176, 255, 0.15);
    --on-tint: #0D1014;
    --delta: #5E9BF0;
    --fejl: #FF6961;
    --hs: #FF8A5B;
    --ls: #2DD4BF;
    --ok: #3FCF7E;
    --skygge-1: 0 0 0 0.5px rgba(255, 255, 255, 0.07);
    color-scheme: dark;
  }
}

/* ================================================================ grundlag */

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.4 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: var(--tint); }
button, a, label { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@keyframes fade { from { opacity: 0; } }
@keyframes kort-svar { from { opacity: 0; transform: translateY(6px); } }
@keyframes linje-ind { from { opacity: 0; transform: translateY(14px); } }

/* ================================================================ logoet (samme masker som forsiden) */

.lm { position: relative; display: block; aspect-ratio: 890 / 465; }
.lm-kort { aspect-ratio: 890 / 388; }
.lm span { position: absolute; inset: 0; }
.lm-abp, .lm-delta {
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  -webkit-mask-size: 100% auto; mask-size: 100% auto;
}
.lm-abp { background: var(--label); -webkit-mask-image: url(/logo-abp.png); mask-image: url(/logo-abp.png); }
.lm-delta { background: var(--delta); -webkit-mask-image: url(/logo-delta.png); mask-image: url(/logo-delta.png); }
.lm-glod { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--delta) 45%, transparent)); }

/* ================================================================ segmentvalg */

.seg {
  --n: 2;
  --i: 0;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  height: 34px;
  padding: 2px;
  border-radius: 10px;
  background: var(--fill);
  isolation: isolate;
}
.seg button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--label);
  transition: color 0.2s, opacity 0.15s;
}
.seg button[aria-checked="false"] { color: var(--label-2); }
.seg button:active { opacity: 0.6; }
.seg-markoer {
  position: absolute;
  z-index: 0;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc((100% - 4px) / var(--n));
  border-radius: 8px;
  background: var(--bg-marker);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transform: translateX(calc(100% * var(--i)));
  transition: transform 0.5s var(--fjeder);
}
.seg.uden-animation .seg-markoer { transition: none; }
.seg-lille { height: 30px; }
.seg-lille button { font-size: 13px; }
/* Lavspænding og højspænding i deres farver, som i Stærkstrøm. */
.rk-omr button[data-omr="ls"][aria-checked="true"] { color: var(--ls); }
.rk-omr button[data-omr="hs"][aria-checked="true"] { color: var(--hs); }

/* ================================================================ lister og hjælp */

.liste { margin: 0; padding: 0; list-style: none; background: var(--bg-elev); border-radius: var(--r); overflow: hidden; box-shadow: var(--skygge-1); }
.liste > li { position: relative; }
.liste > li + li::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--sep); }
.hjaelp > li { display: grid; gap: 4px; padding: 12px 16px; }
.hjaelp code { justify-self: start; padding: 3px 7px; border-radius: 6px; background: var(--fill); font: 500 14px/1.3 var(--mono); color: var(--label); }
.hjaelp span { font-size: 14px; line-height: 1.4; color: var(--label-2); }
.hjaelp span code { padding: 1px 5px; font-size: 13px; }

.tom-ikon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 18%, var(--bg-elev)), color-mix(in srgb, var(--tint) 7%, var(--bg-elev)));
  color: var(--tint);
  box-shadow: var(--skygge-1);
}
.tom-ikon .ico { width: 30px; height: 30px; stroke-width: 1.6; }

/* ================================================================ matematik (Mathcad-stil, fra appen) */

.m { font-family: var(--sans); font-size: 19px; line-height: 1.55; color: var(--label); font-feature-settings: "tnum"; letter-spacing: 0; }
.m-var { font-style: italic; }
.m-sub { font-style: normal; font-size: 0.68em; vertical-align: -0.32em; line-height: 0; }
.m-sup { font-size: 0.7em; vertical-align: 0.6em; line-height: 0; }
.m-sup .m-sup { vertical-align: 0.45em; }
.m-enh, .m-fn, .m-tal { font-style: normal; }
.m-op { margin: 0 0.1em; }
.m-bin { margin: 0 0.32em; }
.m-def, .m-lig { margin: 0 0.4em; }
.m-mel { display: inline-block; width: 0.22em; }
.m-brok { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 0.12em; font-size: 0.94em; line-height: 1.25; }
.m-t { padding: 0 0.18em 0.06em; border-bottom: 1.3px solid currentColor; }
.m-n { padding: 0.06em 0.18em 0; }
.m-rod { display: inline-block; padding-left: 0.58em; margin: 0 0.04em; }
.m-radikand { position: relative; display: inline-block; padding: 0.1em 0.1em 0.02em 0.06em; border-top: 1.3px solid currentColor; line-height: 1.2; }
.m-rodtegn { position: absolute; right: 100%; top: -1.3px; width: 0.58em; height: calc(100% + 1.3px); overflow: visible; }
.m-rodtegn path { fill: none; stroke: currentColor; stroke-width: 1.3px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.m-res { color: var(--tint); font-weight: 600; white-space: nowrap; }
.m-tekst { font: 600 15px/1.4 var(--sans); color: var(--label-2); }
.m-raa { font: 500 15px/1.5 var(--mono); color: var(--label-2); }
.m-vink { margin: 0 0.18em; }
.m-imag { font-style: normal; }
.m-konj { display: inline-block; border-top: 1.3px solid currentColor; padding-top: 0.06em; line-height: 1.2; }
.m-svar { margin-left: 0.6em; font-size: 0.8em; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.m-ok { color: var(--ok); }
.m-ikke { color: var(--fejl); }

/* ================================================================ arket (fra appen) */

.ark-papir { padding: 6px 0; border-radius: 16px; background: var(--bg-elev); box-shadow: var(--skygge-1); }
.ark-linjer { margin: 0; padding: 0; list-style: none; }
.ark-linje { position: relative; padding: 0 16px; transition: background-color 0.25s; }
.ark-vis {
  display: block;
  min-height: 46px;
  margin: 0 -8px;
  padding: 9px 8px;
  border-radius: 10px;
  cursor: text;
  overflow-x: auto;
  scrollbar-width: none;
  transition: background-color 0.2s;
}
.ark-vis::-webkit-scrollbar { display: none; }
.ark-vis:active { background: var(--press); }
.ark-tom { font-size: 15px; color: var(--label-2); }
.ark-linje.har-fejl::after { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 2px 2px 0; background: var(--fejl); }
.ark-fejl { margin: -2px 0 10px; font-size: 13px; line-height: 1.35; color: var(--fejl); }
.ark-linje.aktiv { background: color-mix(in srgb, var(--tint) 5%, var(--bg-elev)); }
.ark-linje.aktiv::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tint); }
.ark-red { padding: 12px 0; animation: fade 0.2s ease both; }
.ark-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: var(--fill);
  color: var(--label);
  font: 500 17px/1 var(--mono);   /* under 16 px zoomer iOS ind */
  outline: none;
  transition: box-shadow 0.2s;
}
.ark-input:focus { box-shadow: 0 0 0 3.5px var(--tint-soft); }
.ark-forh { min-height: 36px; padding: 8px 2px 0; overflow-x: auto; }
.ark-red .ark-fejl { margin: 4px 2px 0; }
.ark-slet { margin-top: 10px; padding: 6px 0; border: 0; background: none; color: var(--fejl); font-size: 14px; font-weight: 600; }
.regn-taster::-webkit-scrollbar { display: none; }
.regn-taster button {
  flex: none;
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: var(--bg-elev);
  box-shadow: var(--skygge-1), 0 0 0 0.5px var(--sep);
  font: 500 17px/1 var(--sans);
  color: var(--label);
  transition: transform 0.2s var(--fjeder), background-color 0.15s;
}
.regn-taster button:active { transform: scale(0.92); background: var(--fill-2); }

/* ================================================================ siden */

/* Siden følger det synlige område, så skrivefeltet står over tastaturet på iPhone (se regn.js). */
.regn-side { position: fixed; left: 0; right: 0; top: 0; height: 100%; display: flex; flex-direction: column; }
.regn-indre { width: 100%; max-width: 760px; margin: 0 auto; }

.regn-hoved {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: calc(52px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  box-shadow: 0 0.5px 0 var(--sep);
}
.hoved-logo { justify-self: start; display: block; width: 62px; padding: 6px 0; }
.regn-hoved h1 { grid-column: 2; margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.regn-hoejre { justify-self: end; display: flex; align-items: center; }
.regn-tekst {
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--tint);
  font: 400 17px/1 var(--sans);
  transition: color 0.2s, opacity 0.15s;
}
.regn-tekst:active { opacity: 0.4; }
.regn-tekst.bekraeft { color: var(--fejl); font-weight: 600; }
.regn-tekst.fortryd { font-weight: 600; }
.regn-ikon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--tint);
  transition: background-color 0.2s;
}
.regn-ikon .ico { width: 22px; height: 22px; }
.regn-ikon[aria-expanded="true"] { background: var(--tint-soft); }

.regn-krop {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left));
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--label) 22%, transparent) transparent;
}
.regn-hjaelp { margin-bottom: 16px; animation: kort-svar 0.35s var(--ease-ud) both; }
.regn-hjaelp-note { margin: 10px 4px 0; font-size: 13px; line-height: 1.45; color: var(--label-2); }

.regn-tom { display: none; padding: 11vh 28px 0; text-align: center; color: var(--label-2); }
.regn-side.tomt .regn-tom { display: block; animation: fade 0.4s ease both; }
.regn-side.tomt #mit-ark { display: none; }
.regn-tom .tom-ikon { margin: 0 auto 14px; }
.regn-tom > b { display: block; margin-bottom: 6px; font-size: 19px; color: var(--label); }
.regn-tom p { margin: 0 auto; max-width: 320px; font-size: 15px; line-height: 1.5; }
.regn-tom .regn-tom-ekstra { margin-top: 12px; font-size: 13px; color: var(--label-2); }
.regn-tom .m { font-size: 16px; color: var(--label); }

#mit-ark .ark-linje.ny { animation: linje-ind 0.45s var(--ease-ud) both; animation-delay: calc(var(--k, 0) * 35ms); }

/* Skrivefeltet nederst — som Beskeder. */
.regn-fod {
  flex: none;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 -0.5px 0 var(--sep);
}
.regn-side.skriver .regn-fod { padding-bottom: 10px; }
.regn-forh { display: none; min-height: 32px; padding: 2px 6px 8px; overflow-x: auto; font-size: 17px; scrollbar-width: none; }
.regn-forh.vis { display: block; animation: fade 0.2s ease both; }
.regn-forh-fejl { font: 500 13px/1.4 var(--sans); color: var(--label-2); }
.regn-taster { display: none; gap: 6px; margin: 0 -12px 8px; padding: 2px 12px; overflow-x: auto; scrollbar-width: none; }
.regn-side.skriver .regn-taster { display: flex; animation: fade 0.2s ease both; }
.regn-skriv { display: flex; align-items: center; gap: 8px; }
.regn-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 22px;
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--sep);
  color: var(--label);
  font: 400 17px/1 var(--sans);
  outline: none;
  transition: box-shadow 0.2s;
}
.regn-input::placeholder { color: var(--label-3); }
.regn-input:focus { box-shadow: inset 0 0 0 1px var(--tint), 0 0 0 3.5px var(--tint-soft); }
/* "=" som på en lommeregner. */
.regn-send {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--on-tint);
  font: 500 26px/1 var(--sans);
  transition: transform 0.25s var(--fjeder), opacity 0.2s;
}
.regn-send span { margin-top: -2px; }
.regn-send:disabled { opacity: 0.25; cursor: default; }
.regn-send:not(:disabled):active { transform: scale(0.88); }
.regn-status { margin: 7px 4px 0; font-size: 11.5px; text-align: center; color: var(--label-2); }
.regn-status a { text-decoration: none; }
.regn-side.skriver .regn-status { display: none; }

/* ================================================================ det kan du regne ud (fra appen) */

.regn-kendt { margin-top: 22px; }
.regn-kendt.ny { animation: linje-ind 0.45s var(--ease-ud) both; }
.rk-hoved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 10px; }
.rk-titel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--label);
  font: 700 16px/1.2 var(--display);
  letter-spacing: -0.01em;
  text-align: left;
}
.rk-titel > span:not(.rk-antal) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-titel > .ico:first-child { width: 20px; height: 20px; color: var(--tint); stroke-width: 1.9; }
.rk-pil { width: 15px; height: 15px; color: var(--label-3); stroke-width: 2.4; transform: rotate(90deg); transition: transform 0.3s var(--ease-ios); }
.regn-kendt.skjult .rk-pil { transform: none; }
.rk-antal { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--tint-soft); color: var(--tint); font: 600 13px/22px var(--sans); text-align: center; }
.rk-valg { flex: 1 1 100%; display: flex; gap: 8px; }
.rk-valg .seg { flex: 1; }
.rk-valg .rk-omr { flex: 1.4; }
.regn-kendt.skjult .rk-valg { display: none; }

.rk-ud-fra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 2px 12px; font-size: 14px; color: var(--label-2); }
.rk-ud-fra > span:first-child { margin-right: 2px; }
.rk-har { display: inline-flex; align-items: center; gap: 1px; min-height: 28px; padding: 0 8px; border-radius: 8px; background: var(--fill); white-space: nowrap; }
.rk-har .m { font-size: 15px; line-height: 1.7; }
.rk-har .m-op { margin: 0 3px; }
.rk-har em { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--label-2); }
.rk-ukendt { margin: 0 2px 10px; font-size: 13px; line-height: 1.5; color: var(--label-2); }
.rk-ukendt .m { font-size: 14px; }
.rk-ukendt code { padding: 1px 5px; border-radius: 5px; background: var(--fill); font: 500 12.5px/1.3 var(--mono); color: var(--label); }

.rk-liste { margin: 0; padding: 0; list-style: none; background: var(--bg-elev); border-radius: var(--r); box-shadow: var(--skygge-1); overflow: hidden; }
.rk-liste > li { position: relative; }
.rk-liste > li + li::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 0.5px; background: var(--sep); }
.regn-kendt.ny .rk-liste > li { animation: linje-ind 0.45s var(--ease-ud) both; animation-delay: calc(var(--k, 0) * 40ms + 60ms); }
.rk-res {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px 10px 16px;
  border: 0;
  background: none;
  color: var(--label);
  text-align: left;
  transition: background-color 0.2s;
}
.rk-res:active { background: var(--fill); }
.rk-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rk-navn { font-size: 13px; color: var(--label-2); }
.rk-formel { font-size: 16px; line-height: 1.5; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.rk-formel::-webkit-scrollbar { display: none; }
.rk-vaerdi { flex: none; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--tint); white-space: nowrap; }
.rk-vaerdi .m-enh, .rk-vaerdi .m-tal { color: inherit; }
.rk-plus { width: 20px; height: 20px; color: var(--tint); stroke-width: 2.3; }

.rk-h { margin: 20px 4px 8px; font-size: 13px; font-weight: 600; color: var(--label-2); }
.rk-mangler { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rk-mangler > li { padding: 11px 12px 12px 14px; border-radius: var(--r); background: var(--bg-elev); box-shadow: var(--skygge-1); }
.rk-mal { margin: 0 0 9px; font-size: 15px; line-height: 1.4; }
.rk-mal .m { font-size: 16px; line-height: 1.3; }
.rk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rk-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px 0 9px;
  border: 0;
  border-radius: 16px;
  background: var(--tint-soft);
  color: var(--tint);
  font: 500 14px/1 var(--sans);
  white-space: nowrap;
  transition: transform 0.25s var(--fjeder), background-color 0.2s;
}
.rk-chip .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.rk-chip .m { font-size: 15px; line-height: 1; color: inherit; }
.rk-chip.std { padding-left: 12px; background: var(--fill); color: var(--label); }
.rk-chip:active { transform: scale(0.94); }

/* ================================================================ 404 */

.mangler { display: grid; place-items: center; min-height: 100%; padding: 40px 20px; text-align: center; overflow: auto; }
.mangler .lm { width: 120px; margin: 0 auto 26px; }
.mangler h1 { margin: 0 0 8px; font: 700 26px/1.15 var(--display); letter-spacing: -0.02em; }
.mangler p { margin: 0 0 22px; color: var(--label-2); }
.mangler .knap { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; background: var(--tint); color: var(--on-tint); font-weight: 600; text-decoration: none; }

/* ================================================================ større skærme */

@media (min-width: 720px) {
  .rk-valg { flex: 0 0 auto; }
  .rk-omr { width: 190px; }
  .rk-fase { width: 140px; }
}
@media (min-width: 820px) {
  .regn-hoved { padding-left: 24px; padding-right: 16px; }
  .hoved-logo { width: 70px; }
  .regn-krop { padding: 24px 24px 24px; }
  .regn-tekst { font-size: 15px; }
  .regn-fod { padding: 10px 24px 14px; }
  .regn-tom { padding-top: 14vh; }
  /* Med mus er en vandret rullerække besværlig; på computeren brydes tasterne om. */
  .regn-taster { flex-wrap: wrap; justify-content: center; margin: 0 0 8px; padding: 2px 0; overflow: visible; }
}

@media (hover: hover) {
  .regn-tekst:hover, .regn-ikon:hover { background: var(--fill); }
  .rk-res:hover { background: var(--fill); }
  .rk-chip:hover { background: color-mix(in srgb, var(--tint) 16%, transparent); }
  .rk-chip.std:hover { background: var(--fill-2); }
  .rk-titel:hover .rk-pil { color: var(--label-2); }
  .regn-status a:hover { text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
