/* Kopi af sagsmappens stilark fra ai-readability-platform/src/components/case-file (case-file.css + case-file-extra.css), 27.11.2026. Originalen er ikke ændret. */
.cf{--font-cf-stencil:"Stardos Stencil";--font-cf-mono:"IBM Plex Mono";--font-cf-hand:"Reenie Beanie"}
/* Sagsmappen: kundens rapport som en kraftmappe, man bladrer i. Alle regler er samlet under .cf,
   så de ikke rører resten af værktøjet. Lavet ud fra prototypen. */

/* Layout: en kraftmappe på et mørkt skrivebord, der åbnes som en bog. Forsiden vender over til venstre,
   og hvert ark vender om ryggen, så man ser siderne bladre. Én bevidst mørk skrivebordsscene. */
.cf {
  color-scheme: light;
  --desk: #ece5d6;

  --kraft: #c39a5f;
  --kraft-hi: #d6b27a;
  --kraft-lo: #9c7744;
  --paper: #f1e9d6;
  --paper-2: #e8dec6;
  --ink: #221d16;
  --ink-soft: #463e30;
  --rule: #cbbd9e;
  --red: #a52a22;
  --ochre: #8a5a1f;
  --redact: #14110d;
  --note: #f3dc6b;
  --desk-text: #4f4a40;

  --logo: url("/case-file/symbol.png");

  --f-stencil: var(--font-cf-stencil), "Courier New", monospace;
  --f-type: var(--font-cf-mono), "Courier New", monospace;
  --f-body: var(--font-cf-mono), "Courier New", monospace;
  --f-hand: var(--font-cf-hand), "Segoe Print", cursive;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .24 0 0 0 0 .12 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.015 .55' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --ink-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

.cf * { box-sizing: border-box; }
.cf { min-height: 100vh; }
/* Værktøjets grundstil fjerner punkttegn; her skal de være */
.cf .path ul { list-style: disc; }
.cf {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-body);
  background: var(--desk);
  padding-inline: 16px;
  padding-block: 10px;
  overflow-x: clip;
}

.cf .scene { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }

.cf .stage { position: relative; width: 100%; height: 700px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }

/* ---------- bogen ---------- */
.cf .book {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 960px;
  height: 720px;
  margin-left: -480px;
  transform-origin: 480px 0;
  /* --vx: hvor beskueren sidder i forhold til ryggen (foran den side, man kigger på) */
  --vx: 240px;
  transition: transform 1s cubic-bezier(0.45, 0.05, 0.2, 1);
}

/* mappens bagside (højre), med fanerne */
.cf .back-board {
  position: absolute;
  left: 480px;
  top: 0;
  width: 480px;
  height: 720px;
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 24px 40px -12px rgba(60, 40, 15, 0.35), 0 4px 10px rgba(60, 40, 15, 0.18);
}

/* papir der stikker ud af mappen */
.cf .peek {
  position: absolute;
  background: var(--paper-2);
  background-image: var(--grain);
  width: 460px;
  height: 690px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.cf .peek.a { left: 496px; top: 12px; rotate: 1.3deg; }
.cf .peek.b { left: 490px; top: 16px; rotate: -0.6deg; background-color: var(--paper); }

.cf .kraft {
  background-color: var(--kraft);
  background-image:
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(90, 55, 20, 0.35)),
    var(--fibers),
    linear-gradient(155deg, var(--kraft-hi), var(--kraft) 45%, var(--kraft-lo));
}

/* ---------- ark ---------- */
/* Et ark er to sider. Forsiden drejer op til højkant, og bagefter drejer bagsiden ned på plads.
   Hver side drejer for sig med sit eget perspektiv. Der bruges ikke backface-visibility, for den
   tegner Chrome forkert, når siden indeholder stempler og masker. */
.cf .sheet {
  position: absolute;
  left: 480px;
  top: 0;
  width: 480px;
  height: 720px;
  cursor: pointer;
}
.cf .sheet.paper { top: 14px; width: 464px; height: 692px; }
/* Kun den synlige side tager imod klik; arkets tomme kasse ligger ellers usynligt over nabosiden */
.cf .sheet { pointer-events: none; }
.cf .sheet .face { pointer-events: auto; }

.cf .face {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}
.cf .face.front { left: 0; transform-origin: 0 50%; }
.cf .face.back { left: -100%; transform-origin: 100% 50%; }

/* Den side, der venter på højkant, er skjult, ellers ses den skråt fra siden som en ekstra side */
.cf .sheet .face.front { transform: translateX(var(--vx)) perspective(2200px) translateX(calc(-1 * var(--vx))) rotateY(0deg); visibility: visible; transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.35, 1) 0.5s, visibility 0s linear 0.5s; }
.cf .sheet .face.back { transform: translateX(var(--vx)) perspective(2200px) translateX(calc(-1 * var(--vx))) rotateY(90deg); visibility: hidden; transition: transform 0.5s cubic-bezier(0.6, 0, 0.8, 0.4), visibility 0s linear 0.5s; }
.cf .sheet.flipped .face.front { transform: translateX(var(--vx)) perspective(2200px) translateX(calc(-1 * var(--vx))) rotateY(-90deg); visibility: hidden; transition: transform 0.5s cubic-bezier(0.6, 0, 0.8, 0.4), visibility 0s linear 0.5s; }
.cf .sheet.flipped .face.back { transform: translateX(var(--vx)) perspective(2200px) translateX(calc(-1 * var(--vx))) rotateY(0deg); visibility: visible; transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.35, 1) 0.5s, visibility 0s linear 0.5s; }
.cf .sheet.nt .face { transition: none !important; }

/* I ro: almindelig 2D, så teksten tegnes skarpt. 3D bruges kun, mens siden vender. */
.cf .sheet.rest .face { transform: none !important; transition: none !important; }
.cf .sheet.rest:not(.flipped) .face.back,
.cf .sheet.rest.flipped .face.front { display: none; }
/* Siden løfter sig lidt, når musen er ved kanten */
.cf .sheet.peeking .front .shade,
.cf .sheet.peeking.flipped .back .shade { opacity: 0.3; transition: opacity 0.35s ease-out; }

.cf .sheet.paper .face {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 85% 90%, rgba(150, 110, 50, 0.12), transparent 35%),
    radial-gradient(circle at 10% 6%, rgba(150, 110, 50, 0.08), transparent 30%),
    var(--grain);
  padding: 34px 34px 40px 46px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.cf .sheet.paper .face.back { padding: 34px 46px 40px 34px; }

/* ryggens skygge og lys under bladringen */
.cf .face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.cf .face.front::after { background: linear-gradient(90deg, rgba(40, 25, 10, 0.28), rgba(40, 25, 10, 0.06) 7%, transparent 18%); }
.cf .face.back::after { background: linear-gradient(270deg, rgba(40, 25, 10, 0.28), rgba(40, 25, 10, 0.06) 7%, transparent 18%); }
.cf .shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
}
.cf .front .shade { background: linear-gradient(90deg, rgba(20, 12, 4, 0.55), rgba(20, 12, 4, 0.15) 60%, rgba(255, 245, 220, 0.25)); }
.cf .back .shade { background: linear-gradient(270deg, rgba(20, 12, 4, 0.5), rgba(20, 12, 4, 0.1) 60%, rgba(255, 245, 220, 0.2)); }
.cf .sheet .front .shade { opacity: 0; transition: opacity 0.5s ease-out 0.5s; }
.cf .sheet .back .shade { opacity: 0.9; transition: opacity 0.5s ease-in; }
.cf .sheet.flipped .front .shade { opacity: 1; transition: opacity 0.5s ease-in; }
.cf .sheet.flipped .back .shade { opacity: 0; transition: opacity 0.5s ease-out 0.5s; }

/* hulning i papiret ved ryggen */
.cf .holes { position: absolute; top: 0; bottom: 0; width: 14px; display: flex; flex-direction: column; justify-content: space-around; padding-block: 120px; z-index: 4; }
.cf .front .holes { left: 16px; }
.cf .back .holes { right: 16px; }
.cf .holes i { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a2c1e, #120d08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }

/* ---------- forsiden ---------- */
.cf .cover .face.front { border-radius: 3px 10px 10px 3px; overflow: visible; }
.cf .cover .face.back { border-radius: 10px 3px 3px 10px; }
.cf .cover-inner { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }

.cf .cover-tab {
  position: absolute;
  top: -30px;
  right: 46px;
  /* Fanen følger navnet, så et langt firmanavn står helt og ikke stikker ud over fanen */
  min-width: 168px;
  max-width: 300px;
  padding-inline: 10px;
  height: 34px;
  border-radius: 10px 10px 0 0;
  display: grid;
  place-items: center;
  padding-top: 4px;
}
.cf .cover-tab span {
  background: var(--paper);
  background-image: var(--grain);
  font-family: var(--f-type);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.cf .dash { position: absolute; inset: 28px; border: 3px dashed var(--red); opacity: 0.8; border-radius: 2px; -webkit-mask: var(--ink-mask); mask: var(--ink-mask); }
.cf .warn { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-type); font-size: 12.5px; line-height: 1.6; letter-spacing: 0.12em; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); opacity: 0.85; }
.cf .warn.t { top: 44px; }
.cf .warn.b { bottom: 44px; }

.cf .cover-title {
  font-family: var(--f-stencil);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-align: center;
  color: #2a2016;
}

.cf .case-label {
  position: relative;
  width: 330px;
  background: var(--paper);
  background-image: var(--grain);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  padding: 12px 16px 10px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2px 14px;
  rotate: -0.8deg;
}
.cf .case-label .seal { grid-row: span 3; width: 64px; height: 64px; }
.cf .case-label small { font-family: var(--f-type); font-size: 13px; color: var(--ink-soft); }
.cf .case-label strong { font-family: var(--f-stencil); font-size: 30px; letter-spacing: 0.04em; line-height: 1; }
.cf .barcode { grid-column: 2; height: 22px; margin-top: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 7px, var(--ink) 7px 10px, transparent 10px 11px, var(--ink) 11px 12px, transparent 12px 15px, var(--ink) 15px 16px, transparent 16px 18px); }
.cf .bar-no { grid-column: 2; font-size: 10px; letter-spacing: 0.3em; font-family: var(--f-body); }

.cf .stamp {
  font-family: var(--f-stencil);
  font-weight: 700;
  color: var(--red);
  border: 3px double var(--red);
  outline: 2px solid var(--red);
  outline-offset: 3px;
  padding: 4px 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  -webkit-mask: var(--ink-mask);
  mask: var(--ink-mask);
  -webkit-mask-size: 150px;
  mask-size: 150px;
  white-space: nowrap;
}
.cf .stamp.ochre { color: var(--ochre); border-color: var(--ochre); outline-color: var(--ochre); }

/* Stemplet står på en lys lap papir, så antallet af huller kan læses på den brune mappe */
.cf .cover-stamp { position: absolute; right: 44px; bottom: 150px; rotate: -13deg; font-size: 22px; background: var(--paper); }
/* The Fremtidsavisen logo on the folder cover. */
.cf .cover-logo {
  position: absolute;
  left: 46px;
  top: 116px;
  width: 176px;
  height: 95px;
  background: url("/case-file/logo.svg") center / contain no-repeat;
}
.cf .coffee { position: absolute; left: 34px; top: 70px; width: 140px; height: 140px; border-radius: 50%; border: 7px solid rgba(90, 50, 15, 0.13); box-shadow: inset 0 0 8px rgba(90, 50, 15, 0.12); rotate: 20deg; }
.cf .coffee::after { content: ""; position: absolute; inset: 10px -6px -8px 14px; border-radius: 50%; border: 2px solid rgba(90, 50, 15, 0.08); }
.cf .cover-foot { position: absolute; bottom: 64px; left: 0; right: 0; text-align: center; font-family: var(--f-type); font-size: 13px; letter-spacing: 0.1em; color: var(--ink); }

/* ---------- indersiden af forsiden: personkortet ---------- */
.cf .dossier {
  position: absolute;
  inset: 32px 28px 26px 32px;
  background: var(--paper);
  background-image: radial-gradient(circle at 80% 85%, rgba(150, 110, 50, 0.14), transparent 40%), var(--grain);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  rotate: -1.2deg;
  padding: 22px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf .clip { position: absolute; top: -26px; left: 34px; width: 30px; height: 92px; z-index: 7; filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.4)); }

.cf .d-head { display: flex; justify-content: space-between; font-family: var(--f-type); font-size: 13px; letter-spacing: 0.12em; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.cf .d-name { font-family: var(--f-stencil); font-weight: 700; font-size: 31px; line-height: 1; letter-spacing: 0.02em; }
/* Long company names get smaller, so the card still fits its page. */
.cf .d-name.long { font-size: 26px; }
.cf .d-name.xlong { font-size: 21px; line-height: 1.05; }
.cf .d-aka { font-family: var(--f-type); font-size: 14.5px; margin-top: 4px; }
.cf .d-grid { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; }

.cf .mug {
  position: relative;
  height: 168px;
  background:
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(34, 29, 22, 0.35) 30px 31px),
    linear-gradient(180deg, #d9d2c2, #c8c0ae);
  border: 6px solid #fbf5e8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.cf .mug-scale { position: absolute; left: 3px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; padding-block: 2px 4px; font-family: var(--f-type); font-size: 9px; color: var(--ink-soft); }
.cf .mini { position: absolute; left: 24%; right: 9%; top: 13%; height: 46%; background: #26221b; border-radius: 5px 5px 0 0; padding: 9% 8%; display: flex; flex-direction: column; gap: 9%; }
.cf .mini::before { content: ""; position: absolute; left: 6px; top: 4px; width: 22px; height: 4px; background: radial-gradient(circle, #8a8170 1.5px, transparent 2px) 0 0 / 7px 4px; }
.cf .mini i { display: block; height: 8%; background: #6f685a; border-radius: 1px; }
.cf .mini i:nth-child(1) { width: 75%; height: 13%; background: #b3ab98; margin-top: 6%; }
.cf .mini i:nth-child(2) { width: 90%; }
.cf .mini i:nth-child(3) { width: 60%; }
.cf .mini i:nth-child(4) { width: 42%; height: 13%; background: var(--ochre); }
.cf .placard { position: absolute; left: 14%; right: 5%; bottom: 6%; background: var(--redact); color: #efe6d2; text-align: center; font-family: var(--f-type); font-size: 10.5px; letter-spacing: 0.08em; padding: 5px 2px 4px; line-height: 1.25; }
.cf .placard b { display: block; font-family: var(--f-stencil); font-size: 21px; letter-spacing: 0.04em; }
.cf .mug-stamp { position: absolute; left: -6px; bottom: 84px; rotate: -12deg; font-size: 15px; padding: 2px 8px; z-index: 2; }

.cf .fields { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cf .k { font-family: var(--f-type); font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); display: block; }
/* Overskriften på en sektion i personkortet står ekstra tydeligt */
.cf .d-sec > .k:first-child { font-size: 12.5px; color: var(--red); }
.cf .v { font-size: 15px; line-height: 1.3; }
.cf .dots { display: flex; gap: 6px; margin-top: 4px; }
.cf .dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink); }
.cf .dots i.on { background: var(--ink); }

.cf .d-sec { border-top: 1px solid var(--ink); padding-top: 7px; display: flex; flex-direction: column; gap: 4px; }
/* Det låste: navnet på hullet kan læses, løsningen er sværtet ud, til rapporten er købt */
.cf .d-lock { display: flex; flex-direction: column; gap: 4px; }
.cf .d-lock i { display: block; height: 10px; background: var(--redact); border-radius: 1px; }
.cf .d-lock i.label { height: auto; padding: 3px 8px; font-style: normal; font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); }
.cf .cta.cta-sm { margin-top: 4px; padding: 7px 12px; font-size: 13.5px; align-items: center; }
.cf .redline { height: 13px; background: var(--redact); border-radius: 1px; }
.cf .d-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--ink); padding-top: 8px; }
.cf .d-seal { position: absolute; right: 14px; top: 40px; width: 84px; height: 84px; rotate: 14deg; opacity: 0.8; }

/* ---------- papirsiderne ---------- */
.cf .p-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-type); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--ink); padding-bottom: 7px; }
.cf .p-foot { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-type); font-size: 11px; letter-spacing: 0.22em; color: var(--ink-soft); opacity: 0.85; }
.cf h2 { margin: 0; font-family: var(--f-type); font-weight: 600; letter-spacing: -0.01em; font-size: 30px; line-height: 1.1; text-wrap: balance; }
.cf h3 { margin: 0; font-family: var(--f-type); font-weight: 600; font-size: 17.5px; line-height: 1.2; text-wrap: balance; }
.cf p { margin: 0; font-size: 15px; line-height: 1.5; }
.cf .small { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.cf .hand { font-family: var(--f-hand); color: var(--red); font-size: 30px; line-height: 0.95; }

.cf .stake { position: relative; border: 1.5px solid var(--ink); padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; background: rgba(255, 255, 255, 0.3); }
/* The ring is drawn inside the padded box, so the padding keeps the stroke clear of the figures. */
.cf .stake-amount { position: relative; font-family: var(--f-stencil); font-weight: 700; font-size: 26px; line-height: 1.08; color: var(--red); font-variant-numeric: tabular-nums; align-self: flex-start; padding: 18px 28px 18px 26px; margin: -6px -10px -4px -12px; }
.cf .amount-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cf .arrow-note { position: absolute; right: -6px; bottom: -40px; rotate: -6deg; display: flex; align-items: center; gap: 4px; }

.cf .log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cf .log li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--rule); }
.cf .log time { font-family: var(--f-type); font-size: 14px; font-variant-numeric: tabular-nums; }
.cf .log p { font-size: 14.5px; }
.cf .then-now { display: flex; flex-direction: column; gap: 10px; }
.cf .then-now > div { border-left: 3px solid var(--rule); padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }
.cf .then-now > div.now { border-left-color: var(--red); }
.cf .then-now p { font-size: 14px; line-height: 1.45; }
.cf .facts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf .fact-card { background: #fbf6ea; border: 1px solid #d7cbb0; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.cf .fact-card b { font-family: var(--f-stencil); font-size: 30px; line-height: 1; color: var(--red); }
.cf .fact-card p { font-size: 12.5px; line-height: 1.4; }
.cf .fact-card .src { font-family: var(--f-type); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: auto; }
.cf .letter { display: flex; flex-direction: column; gap: 8px; }
.cf .letter p { font-size: 13.5px; line-height: 1.45; }
.cf .letter-gaps { margin: -2px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; font-weight: 700; }
.cf .letter-gaps li::marker { color: var(--red); }
.cf .letter .to { font-family: var(--f-type); font-weight: 700; }
.cf .letter .sign { margin-top: 2px; display: flex; flex-direction: column; }
.cf .letter .sign .hand { color: var(--ink); font-size: 34px; rotate: -2deg; margin-top: 2px; }
.cf .tagok { font-family: var(--f-stencil); font-weight: 700; color: #2f6b3f; letter-spacing: 0.06em; font-size: 12px; border: 1.5px solid #2f6b3f; padding: 0 4px; margin-right: 4px; }
.cf .tagred { font-family: var(--f-stencil); font-weight: 700; color: var(--red); letter-spacing: 0.06em; font-size: 12px; border: 1.5px solid var(--red); padding: 0 4px; margin-right: 4px; }

.cf .suspect { position: relative; background: #fbf6ea; border: 1px solid #d7cbb0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); padding: 9px 14px 9px 62px; display: flex; flex-direction: column; gap: 4px; background-image: repeating-linear-gradient(180deg, transparent 0 19px, rgba(120, 150, 190, 0.18) 19px 20px); }
.cf .suspect:nth-child(odd) { rotate: -0.5deg; }
.cf .suspect:nth-child(even) { rotate: 0.6deg; }
.cf .s-no { position: absolute; left: 12px; top: 10px; width: 38px; text-align: center; font-family: var(--f-stencil); font-weight: 700; font-size: 34px; line-height: 1; color: var(--red); }
.cf .s-no small { display: block; font-size: 10px; letter-spacing: 0.12em; font-family: var(--f-type); font-weight: 400; color: var(--ink-soft); }
.cf .suspect p { font-size: 14px; line-height: 1.4; }
.cf .gain { color: var(--ochre); font-weight: 700; }
.cf .tape { position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; translate: -50% 0; background: rgba(235, 225, 190, 0.7); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); rotate: -3deg; }

.cf .transcript { border-left: 3px solid var(--ink); padding-left: 14px; display: flex; flex-direction: column; gap: 7px; }
.cf .transcript p { font-size: 14.5px; line-height: 1.4; }

.cf .who { font-family: var(--f-type); letter-spacing: 0.06em; }
.cf .missing { background: var(--red); color: var(--paper); padding: 0 6px; font-weight: 700; }
.cf table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cf th { font-family: var(--f-type); font-weight: 400; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--ink); padding: 4px 6px 4px 0; color: var(--ink-soft); }
.cf td { padding: 6px 6px 6px 0; border-bottom: 1px dotted var(--rule); }
.cf tr.you td { font-weight: 700; background: rgba(138, 90, 31, 0.12); }
.cf td.no { color: var(--red); font-weight: 700; }

.cf .evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf .etag { position: relative; background: #f7eedb; border: 1px solid #cdbf9f; padding: 10px 12px 10px 28px; display: flex; flex-direction: column; gap: 6px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.cf .etag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.cf .etag .k { font-size: 12px; letter-spacing: 0.08em; }
.cf .etag-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.cf .etag b { font-family: var(--f-stencil); font-size: 23px; font-variant-numeric: tabular-nums; }
.cf .meter { height: 7px; border: 1px solid var(--ink); }
.cf .meter i { display: block; height: 100%; background: var(--ink); }
.cf .meter.low i { background: var(--red); }
.cf .tracks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.cf .tracks li { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.cf .tracks li::before { content: "□"; font-size: 13px; }
.cf .tracks .blk { display: inline-block; height: 13px; background: var(--redact); }
.cf .tracks .blk.lbl { height: auto; padding: 3px 8px; font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); }

.cf .path { border: 1.5px solid var(--ink); padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; background: rgba(255, 255, 255, 0.35); }
.cf .path.us { border: 2px solid var(--ochre); background: rgba(138, 90, 31, 0.07); }
.cf .path .price { font-family: var(--f-stencil); font-weight: 700; font-size: 25px; font-variant-numeric: tabular-nums; grid-row: span 2; align-self: center; }
.cf .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; border: 0; cursor: pointer; padding: 11px 14px; font-family: var(--f-type); font-weight: 600; font-size: 15.5px; line-height: 1.25; color: var(--paper); background: var(--ink); border-radius: 3px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28); transition: translate 0.15s, box-shadow 0.15s; }
.cf .cta small { font-weight: 400; font-size: 13px; }
.cf .cta.us { background: var(--ochre); }
.cf .cta:hover { translate: 0 -1px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28); }
.cf .cta:active { translate: 0 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); }
.cf .cta:focus-visible { outline: 2px dashed var(--ink); outline-offset: 3px; }
.cf .path .cta { grid-column: 1 / -1; margin-top: 8px; }
.cf .toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 300; background: var(--ink); color: var(--paper); font-family: var(--f-type); font-size: 15px; padding: 12px 18px; border-radius: 6px; box-shadow: 0 8px 20px rgba(40, 25, 10, 0.35); max-width: min(90vw, 520px); text-align: center; }
.cf .path ul { grid-column: 1 / -1; margin: 4px 0 0; padding-left: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; }

/* ---------- indersiden af bagsiden ---------- */
.cf .backboard-inner { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.cf .sticky { position: absolute; left: 36px; top: 26px; width: 230px; z-index: 2; padding: 12px 16px 14px; font-size: 23px !important; gap: 2px !important; background: var(--note); background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 20%), var(--grain); box-shadow: 0 8px 12px -6px rgba(0, 0, 0, 0.45); rotate: -3deg; font-family: var(--f-hand); font-size: 27px; line-height: 1; color: #2c2410; display: flex; flex-direction: column; gap: 8px; }
.cf .sticky b { font-weight: 400; font-size: 28px; text-decoration: underline; }
.cf .bcard { position: absolute; left: 34px; right: 30px; top: 126px; bottom: 14px; padding: 16px 18px 12px; gap: 8px !important; justify-content: space-between; background: #faf6ee; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); rotate: 2.5deg; display: flex; flex-direction: column; gap: 6px; }
/* With one choice the card is as tall as its content instead of stretching down the board. */
.cf .bcard.single { bottom: auto; justify-content: flex-start; gap: 12px !important; }
.cf .bcard .choice { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--ink); padding: 10px 13px; background: rgba(255, 255, 255, 0.4); }
.cf .bcard .choice.us { border: 2px solid var(--ochre); background: rgba(138, 90, 31, 0.07); }
.cf .bcard .choice-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cf .bcard .choice .price { font-family: var(--f-stencil); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.cf .bcard .choice ul { margin: 0; padding-left: 16px; list-style: disc; display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.25; }
.cf .bcard .contact { border-top: 1px solid var(--ink); padding-top: 7px; font-size: 12.5px; line-height: 1.35; }
.cf .bcard .name { font-family: var(--f-stencil); font-weight: 700; font-size: 21px; letter-spacing: 0.06em; }
.cf .bcard .clip { left: auto; right: 44%; top: -36px; }
.cf .slip { position: absolute; left: 40px; bottom: 46px; width: 300px; padding: 12px 14px; background: var(--paper); background-image: var(--grain); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); rotate: -1deg; }
.cf .end-stamp { position: absolute; right: 40px; bottom: 70px; rotate: -10deg; font-size: 20px; }

/* I enkeltside-visning skjules nabosiden; en side der vender ligger over sløret */
.cf .veil { position: absolute; top: -40px; bottom: -60px; width: 560px; background: var(--desk); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.cf .veil.l { left: -80px; }
.cf .veil.r { left: 480px; }
.cf .veil.on { opacity: 1; }

/* ---------- faner ---------- */
.cf .tabs { position: absolute; left: 954px; top: 36px; display: flex; flex-direction: column; gap: 5px; }
.cf .tab {
  writing-mode: vertical-rl;
  font-family: var(--f-type);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 0;
  border-radius: 0 9px 9px 0;
  /* Kort polstring, så op til syv faner (med Plan efter betaling) kan være langs mappen */
  padding: 12px 9px 12px 8px;
  cursor: pointer;
  /* Lys nok bag teksten til, at fanerne kan læses */
  background-color: var(--kraft);
  background-image: var(--fibers), linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 40%);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  transition: translate 0.25s, background-color 0.25s;
}
.cf .tab:hover { background-color: var(--kraft-hi); translate: 3px 0; }
.cf .tab[aria-current="true"] { background-color: var(--kraft-hi); translate: 5px 0; }

/* ---------- styring ---------- */
.cf .arrow {
  position: absolute;
  top: calc(30px + var(--bh, 720px) / 2);
  translate: 0 -50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background-color: var(--kraft-hi);
  background-image: var(--fibers);
  box-shadow: 0 4px 10px rgba(60, 40, 15, 0.3);
  cursor: pointer;
  z-index: 80;
  transition: translate 0.2s, opacity 0.2s;
}
.cf .arrow svg { width: 26px; height: 26px; }
.cf .arrow.prev { right: calc(50% + var(--half, 480px) + 18px); }
.cf .arrow.next { left: calc(50% + var(--half, 480px) + 50px); }
.cf .stage.single .arrow.next { left: calc(50% + var(--half, 240px) + 18px); }
.cf .arrow:hover:not(:disabled) { translate: 0 calc(-50% - 2px); }
.cf .arrow:disabled { opacity: 0.3; cursor: default; }
.cf .stage.phone .arrow { top: calc(30px + var(--bh, 720px) + 22px); translate: 0 0; }
.cf .stage.phone .arrow.prev { left: 8px; right: auto; }
.cf .stage.phone .arrow.next { right: 8px; left: auto; }
.cf .stage.phone .arrow:hover:not(:disabled) { translate: 0 0; }
.cf .meta { display: flex; align-items: center; gap: 18px; color: var(--desk-text); font-family: var(--f-type); font-size: 16px; letter-spacing: 0.04em; min-height: 26px; }
.cf .counter { font-variant-numeric: tabular-nums; }
/* Luppen sidder ved mappens øverste venstre kant og glider med, når mappen åbner */
.cf .loupe-btn { position: absolute; top: 4px; left: var(--lx, 480px); translate: calc(-100% - 22px) 0; z-index: 70; opacity: 0; visibility: hidden; transition: left 1s cubic-bezier(0.45, 0.05, 0.2, 1), opacity 0.25s ease, visibility 0s linear 0.25s; font-size: 17px !important; padding: 9px 16px 9px 12px !important; display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-type); font-size: 15px; color: var(--ink); background-color: var(--kraft-hi); background-image: var(--fibers); border: 0; border-radius: 999px; padding: 6px 14px 6px 10px; cursor: pointer; box-shadow: 0 2px 6px rgba(60, 40, 15, 0.25); }
.cf .loupe-btn svg { width: 22px; height: 22px; }
.cf .stage.phone .loupe-btn { display: none; }
/* Luppen dukker først frem, når mappen er åben */
.cf .book.open .loupe-btn { opacity: 1; visibility: visible; transition: left 1s cubic-bezier(0.45, 0.05, 0.2, 1), opacity 0.4s ease 0.7s, visibility 0s linear 0.7s; }
.cf .loupe-btn[aria-pressed="true"] { background-color: var(--ink); background-image: none; color: var(--paper); }
@media (hover: none) { .cf .loupe-btn { display: none; } }
.cf.magnify, .cf.magnify * { cursor: none !important; }
.cf .lens-tip { position: fixed; z-index: 201; pointer-events: none; background: var(--ink); color: var(--paper); font-family: var(--f-type); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; padding: 7px 13px; border-radius: 999px; box-shadow: 0 4px 12px rgba(40, 25, 10, 0.35); white-space: nowrap; }
.cf .lens { position: fixed; z-index: 200; width: 310px; height: 310px; border-radius: 50%; overflow: hidden; pointer-events: none; background: var(--desk); border: 4px solid var(--kraft-lo); box-shadow: 0 12px 30px rgba(40, 25, 10, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.cf .lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 45%); pointer-events: none; }
.cf .lens-inner { position: absolute; left: 0; top: 0; zoom: 2; }
.cf .lens-inner * { transition: none !important; }
.cf .link { background: none; border: 0; color: var(--desk-text); font-family: var(--f-type); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 4px; }
.cf .hint { color: var(--desk-text); font-family: var(--f-type); font-size: 14px; letter-spacing: 0.03em; opacity: 0.75; margin: 0; text-align: center; max-width: 60ch; }
.cf button:focus-visible { outline: 2px dashed var(--ink); outline-offset: 3px; }

.cf .stage.single .tabs { display: none; }
.cf .stage.phone .sheet.paper .face { zoom: 1.2; overflow-y: auto; }
.cf .stage.phone .dossier { zoom: 1.08; }
.cf .stage.phone .p-foot { display: none; }

@media (prefers-reduced-motion: reduce) {
  .cf .book, .cf .sheet, .cf .shade, .cf .tab { transition: none !important; }
}

/* ---------- selve hjemmesiden og den ærlige konklusion (som i PDF'en) ---------- */
.cf .line { display: block; }
.cf .site-verdict { position: static; border-left: 5px solid var(--red); background: rgba(165, 42, 34, 0.06); padding: 8px 12px; margin: 4px 0 10px; }
.cf .site-verdict.sv-warn { border-left-color: #b7791f; background: rgba(183, 121, 31, 0.08); }
.cf .site-verdict.sv-ok { border-left-color: #2f6b3f; background: rgba(47, 107, 63, 0.08); }
.cf .site-verdict b { display: block; font-size: 24px; line-height: 1.15; color: var(--red); }
.cf .site-verdict.sv-warn b { color: #b7791f; }
.cf .site-verdict.sv-ok b { color: #2f6b3f; }
.cf .site-verdict p { margin: 4px 0 0; font-size: 14px; }
.cf table.site-cmp { font-size: 13.5px; border-collapse: separate; border-spacing: 0 3px; table-layout: fixed; }
.cf table.site-cmp th { font-size: 12px; text-align: center; }
.cf table.site-cmp th.ours, .cf table.site-cmp th.target { width: 98px; }
.cf table.site-cmp th.ours { color: var(--red); }
.cf table.site-cmp th.target { color: #2f6b3f; }
.cf table.site-cmp td { padding: 5px 6px; vertical-align: middle; }
.cf table.site-cmp td b { display: block; line-height: 1.25; }
.cf table.site-cmp td span { display: block; font-size: 12.5px; line-height: 1.25; color: var(--red); font-weight: 600; }
.cf table.site-cmp td.ours, .cf table.site-cmp td.target { text-align: center; font-weight: 800; font-size: 15px; line-height: 1.15; }
.cf table.site-cmp td.ours { background: rgba(165, 42, 34, 0.08); color: var(--red); }
.cf table.site-cmp tr.sr-warn td.ours { background: rgba(183, 121, 31, 0.1); color: #b7791f; }
.cf table.site-cmp tr.sr-warn td span { color: #b7791f; }
.cf table.site-cmp td.target { background: rgba(47, 107, 63, 0.08); color: #2f6b3f; }
.cf .concl-open { font-size: 22px; font-weight: 800; line-height: 1.2; margin: 2px 0 10px; }
.cf .concl-facts { margin: 2px 0 10px; padding-left: 18px; }
.cf .concl-facts li { margin: 3px 0; font-weight: 600; }
.cf .concl-advice { margin-top: 12px; padding-top: 8px; border-top: 2px solid var(--red); font-weight: 800; font-size: 16px; }

/* ---------- smagsprøve fra handlingsplanen (som i PDF'en) ---------- */
.cf .sample-title { font-size: 18px; line-height: 1.25; margin: 2px 0 8px; }
.cf dl.sample { display: grid; grid-template-columns: 92px 1fr; margin: 0 0 10px; font-size: 13.5px; line-height: 1.4; }
.cf dl.sample dt, .cf dl.sample dd { margin: 0; padding: 5px 0; border-top: 1px solid rgba(34, 29, 22, 0.15); }
.cf dl.sample dt { font-weight: 800; padding-right: 8px; }
.cf .sample-steps { margin: 0 0 10px; padding-left: 18px; list-style: decimal; font-size: 13.5px; line-height: 1.35; }
.cf .sample-steps li { margin: 0 0 3px; }
.cf .sample-plan { border-top: 2px solid var(--ink); padding-top: 8px; }
.cf .sample-plan b { display: inline-block; font-size: 34px; line-height: 1; margin-right: 8px; vertical-align: middle; }
.cf .sample-plan span { font-weight: 800; vertical-align: middle; }
.cf .sample-plan p { margin: 4px 0 0; }
.cf .sample-cta { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.cf .sample-cta .cta { margin: 0; white-space: nowrap; }
.cf .sample-cta .cta small { white-space: normal; }
/* Tilføjelser til sagsmappen, som kun findes i værktøjet (rigtige data, knapper som links og formularer). */

/* Knapper kan også være links og formularknapper */
.cf a.cta { text-decoration: none; }
.cf a.cta:hover { color: var(--paper); }
.cf .path form { grid-column: 1 / -1; margin: 0; }
.cf .bcard .cta { margin: 0; }
.cf .bcard form { margin: 0; }

/* Lange firmanavne må ikke sprænge fanen eller kortet */
.cf .cover-tab span { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf .d-name { overflow-wrap: anywhere; }
/* Hele navnet skal kunne læses; et langt navn går over to linjer i stedet for at blive skåret af */
.cf .case-label small { color: var(--ink); text-wrap: balance; }

/* Det rigtige billede af forsiden i "politifotoet" */
.cf .mug-shot { position: absolute; left: 24%; right: 9%; top: 9%; height: 52%; width: auto; max-width: none; object-fit: cover; object-position: top; border-radius: 4px 4px 0 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }

/* Handlingsplanen: lange tekster må rulle inde på siden */
.cf .sheet .face.scroll { overflow-y: auto; scrollbar-width: thin; }
/* The footer sits on top of the text; on a page that scrolls, the text would run under it. */
.cf .sheet .face.scroll > .p-foot { display: none; }
.cf .plan-item { border-top: 1px solid var(--ink); padding-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.cf .plan-item .prio { font-family: var(--f-type); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.cf .plan-item p { font-size: 13.5px; line-height: 1.45; }
.cf .plan-item .how { white-space: pre-line; }
.cf .lined { flex: 1; background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(120, 150, 190, 0.28) 27px 28px); }

/* Besked over mappen og det, der står under den */
.cf .notice { max-width: 640px; width: 100%; background: var(--paper); border: 1.5px solid var(--ink); border-left: 5px solid var(--ochre); padding: 10px 14px; font-family: var(--f-type); font-size: 15px; line-height: 1.4; }
.cf .notice.warn { border-left-color: var(--red); }
.cf .below { width: 100%; max-width: 1000px; margin-top: 18px; background: var(--paper); border: 1px solid var(--rule); padding: 24px clamp(16px, 4vw, 32px); font-family: var(--f-body); }
.cf .below h2 { font-family: var(--f-type); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.cf .below > p { font-size: 15px; margin: 0 0 16px; }
.cf .plain-link { font-family: var(--f-type); font-size: 14px; color: var(--desk-text); text-decoration: underline; text-underline-offset: 4px; margin-top: 4px; }

/* Værktøjets grundstil fjerner tallene i nummererede lister */
.cf .letter-gaps { list-style: decimal; }
.cf .letter-gaps.plain { list-style: none; padding-left: 0; }

/* Indholdet på et ark. Er det for langt til siden, gør mappen det lidt mindre (se fitPages i engine.ts). */
.cf .sheet.paper .face > .fit { display: flex; flex-direction: column; gap: 14px; min-height: 0; transform-origin: 0 0; }
.cf .why-fact { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--red); padding-left: 12px; }
.cf .why-fact p { font-size: 14px; line-height: 1.45; }
.cf .why-fact .src { font-family: var(--f-type); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
/* Mens siderne måles, skal begge sider af et ark være med, også den skjulte */
.cf .sheet.measure .face { display: flex !important; }
/* Spørgsmålene til AI'en: mærket står foran, ingen firkant */
.cf .tracks.plain-list li::before { content: none; }
.cf .tracks.plain-list li { align-items: baseline; }

/* Hent mappen som PDF */
.cf .pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); font-family: var(--f-type); font-size: 15px; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; }
.cf .pdf-btn svg { width: 16px; height: 16px; }
.cf .pdf-btn:hover { background: var(--ink); color: var(--paper); }
.cf .pdf-btn[aria-busy="true"] { cursor: progress; opacity: 0.75; }

/* Siden "På mobilen": forsiden i en telefon, med det, vi ser, ved siden af.
   Skærmen får billedets egen form (mobilbilledet er 250 × 498), så intet skæres væk. */
.cf .mobile-page { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; align-items: start; }
.cf .mobile-page.solo { grid-template-columns: 172px; justify-content: center; }
.cf .handset-wrap { position: relative; }
.cf .handset-wrap .tape { z-index: 2; }
.cf .handset { position: relative; padding: 18px 7px 20px; border-radius: 28px; background: #1d1a16; box-shadow: inset 0 0 0 1.5px #48413a, 0 10px 18px -8px rgba(40, 25, 10, 0.5); }
.cf .handset::before { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; translate: -50% 0; border-radius: 3px; background: #3d372f; }
.cf .handset::after { content: ""; position: absolute; bottom: 8px; left: 50%; width: 46px; height: 4px; translate: -50% 0; border-radius: 2px; background: #5a5248; }
.cf .handset img { display: block; width: 100%; height: auto; max-width: none; border-radius: 6px; background: #fff; }
.cf .mobile-notes { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 4px; }
.cf .mobile-notes ol { list-style: decimal; margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.cf .mobile-notes li { font-size: 13px; line-height: 1.45; }
.cf .mobile-notes li::marker { color: var(--red); font-weight: 700; }
/* På en telefon står noterne under billedet, ellers bliver kolonnen for smal */
.cf .stage.phone .mobile-page { grid-template-columns: minmax(0, 1fr); }
.cf .stage.phone .handset-wrap { width: 172px; justify-self: center; }
/* Linjen under mappen: brydes hele elementer ned på en ny linje i stedet for midt i teksten */
.cf .meta { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.cf .meta > * { white-space: nowrap; }
/* Mærkerne NÆVNT / IKKE NÆVNT knækker aldrig midt i; står der to, flytter det andet samlet ned */
.cf .tagok, .cf .tagred { white-space: nowrap; }
/* Mærkerne står i skrivemaskineskriften: stempelskriften tegner Æ, så det ligner AE */
.cf .tagok, .cf .tagred { font-family: var(--f-type); font-size: 11px; letter-spacing: 0.08em; }

/* Siden "Hvis vi gør det": forløbet i nummererede trin */
.cf .help-steps { list-style: decimal; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 9px; }
.cf .help-steps li::marker { color: var(--ochre); font-weight: 700; }
.cf .help-steps b { font-family: var(--f-type); font-size: 13.5px; }
.cf .help-steps p { font-size: 13px; line-height: 1.45; margin: 2px 0 0; }
/* Hvor på kundens egen side punktet skal laves */
.cf .plan-item .where { font-size: 13px; line-height: 1.45; background: rgba(255, 255, 255, 0.45); border-left: 3px solid var(--ochre); padding: 4px 8px; }

/* Opstartspris: normalprisen står med lille skrift under prisen */
.cf .bcard .choice .price { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
/* Så normalprisen og kampagnelinjen kan være på kortet, er luften strammet en anelse */
.cf .bcard { padding: 14px 16px 10px; gap: 7px !important; }
.cf .bcard .choice { padding: 9px 12px; gap: 4px; }
.cf .bcard .choice ul { font-size: 12.8px; }
.cf .bcard .choice .price .was { font-family: var(--f-type); font-weight: 500; font-size: 12.5px; letter-spacing: 0.02em; white-space: nowrap; margin-top: 2px; }
.cf .bcard .campaign { font-size: 13px; line-height: 1.35; color: var(--ink-soft); }

/* Trinnet før betalingen: kvittering og faktura */
.cf .order { max-width: 520px; margin: 0 auto; padding-block: 28px; display: flex; flex-direction: column; gap: 12px; }
.cf .order-card { background: var(--paper); background-image: var(--grain); border: 1.5px solid var(--ink); box-shadow: 0 10px 24px -14px rgba(60, 40, 15, 0.45); padding: 24px clamp(18px, 4vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.cf .order-card h1 { font-family: var(--f-type); font-weight: 700; font-size: 28px; margin: 0; }
.cf .order-card p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.cf .order-card .k { font-family: var(--f-type); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.cf .order-sum { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cf .order-sum td { padding: 6px 0; border-bottom: 1px dashed var(--rule); }
.cf .order-sum td:last-child { text-align: right; }
.cf .order-sum .total td { font-weight: 700; border-bottom: 2px solid var(--ink); }
.cf .order-form { display: flex; flex-direction: column; gap: 10px; }
.cf .order-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.cf .order-form label small { font-weight: 400; color: var(--ink-soft); }
.cf .order-form input { font: inherit; font-weight: 400; font-size: 15px; padding: 9px 10px; border: 1.5px solid var(--ink); background: #fffdf7; border-radius: 2px; }
.cf .order-form .cta { margin-top: 6px; }
.cf .order-error { color: var(--red); font-weight: 600; }
.cf .order-terms { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); }
.cf .order-terms a { color: inherit; text-decoration: underline; }
/* Sponsorsiden: hvad sponsoren får, og fluebenet for at blive vist. */
.cf .order-liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; line-height: 1.45; }
.cf .order-form label.order-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.4; }
.cf .order-form label.order-check input { width: 20px; height: 20px; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--ink); }
.cf .order-form input[type="file"] { font-size: 14px; padding: 7px 8px; }
.cf .order-pakker { display: flex; flex-direction: column; gap: 8px; }
.cf .order-pakke { text-align: left; font: inherit; color: inherit; background: #fffdf7; border: 1.5px solid var(--ink); padding: 12px 14px; cursor: pointer; display: grid; grid-template-columns: 130px 1fr; grid-template-rows: auto auto 1fr; align-content: start; gap: 2px 14px; }
.cf .order-pakke.valgt { border-width: 3px; padding: 10.5px 12.5px; background: #fff; }
.cf .order-pakke .navn { grid-column: 1; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.cf .order-pakke .pris { grid-column: 1; font-size: 17px; font-weight: 700; }
.cf .order-pakke .moms { grid-column: 1; font-size: 12.5px; align-self: start; }
.cf .order-pakke ul { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding-left: 16px; list-style: disc; font-size: 13.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 520px) { .cf .order-pakke { grid-template-columns: 1fr; } .cf .order-pakke ul { grid-column: 1; grid-row: auto; margin-top: 4px; } }

/* "Bliver jeres virksomhed foreslået af AI?": AI'ens svar som en liste over foreslåede firmaer */
.cf .ai-lead { font-size: 14px; line-height: 1.4; }
.cf .ai-slip { border-left: 3px solid var(--ink); padding-left: 14px; display: flex; flex-direction: column; gap: 6px; }
.cf .ai-slip .ai-q { font-size: 14.5px; line-height: 1.4; font-style: italic; }
.cf .ai-slip .ai-q .who { font-style: normal; }
.cf .ai-slip > .who { font-size: 12px; }
.cf .ai-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; counter-reset: none; }
.cf .ai-list li { display: flex; align-items: baseline; gap: 9px; font-size: 14px; line-height: 1.3; padding: 3px 6px; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 35%, transparent); }
.cf .ai-list li:last-child { border-bottom: 0; }
.cf .ai-list .n { font-family: var(--f-type); font-size: 12px; min-width: 1.1em; text-align: right; color: var(--ink-soft); }
.cf .ai-list .nm { flex: 1; min-width: 0; }
.cf .ai-list li.you { background: color-mix(in srgb, #2f6b3f 12%, transparent); font-weight: 700; }
.cf .ai-list li.you .n { color: #2f6b3f; }
.cf .ai-list li.absent { margin-top: 4px; border: 1.5px dashed var(--red); font-weight: 700; }
.cf .ai-list li.absent .n { color: var(--red); }
.cf .ai-list .tagok, .cf .ai-list .tagred { margin-right: 0; }
.cf .ai-none { font-size: 14px; }
.cf .ai-also { font-size: 13.5px; line-height: 1.4; }
.cf .ai-tally { margin: 2px 0 10px; padding: 8px 0 8px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cf .ai-tally p { margin: 0; }
.cf .ai-count { font-size: 15px; }
.cf .ai-count b { font-family: var(--f-stencil); font-size: 26px; letter-spacing: -0.01em; color: var(--red); margin-right: 4px; }
.cf .ai-engines { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 3px !important; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.cf .ai-instead { margin-top: 4px !important; font-size: 13.5px; line-height: 1.4; }
.cf .tracks.ai-others li { flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.35; }

/* Mappen fylder skærmen; knapperne står i en lille stak ved mappens venstre kant */
.cf .scene { max-width: none; }
.cf .tools { position: absolute; top: 34px; left: calc(50% + var(--tl, -240px)); translate: calc(-100% - 20px) 0; z-index: 85; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: left 1s cubic-bezier(0.45, 0.05, 0.2, 1); }
.cf .tools .tool { position: static; translate: none; opacity: 1; visibility: visible; transition: background-color 0.15s, color 0.15s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--f-type); font-size: 16px !important; font-weight: 400; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; background-color: var(--kraft-hi); background-image: var(--fibers); border: 0; border-radius: 999px; padding: 8px 15px 8px 11px !important; cursor: pointer; box-shadow: 0 2px 6px rgba(60, 40, 15, 0.25); }
.cf .tools .tool svg { width: 20px; height: 20px; flex: none; }
.cf .tools .tool:hover, .cf .tools .tool[aria-pressed="true"] { background-color: var(--ink); background-image: none; color: var(--paper); }
.cf .tools .tool[hidden] { display: none; }
.cf .stage:not(.open) .tools .loupe-btn { display: none; }
.cf .tools .counter { max-width: 150px; text-align: right; font-family: var(--f-type); font-size: 14px; line-height: 1.35; color: var(--desk-text); }
.cf .stage.open .tools .counter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* På mobilen står knapperne under mappen mellem pilene */
.cf .stage.phone .tools { top: calc(30px + var(--bh, 720px) + 24px); left: 50%; translate: -50% 0; flex-direction: row; align-items: center; transition: none; }
.cf .stage.phone .tools .counter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Knappen ned til løsningspakken står lidt fra de andre; på mobilen ligger pakken lige under mappen */
.cf .tools .below-btn { margin-top: 10px; }
.cf .stage.phone .tools .below-btn { display: none; }
.cf .below { scroll-margin-top: 16px; }
/* (html:has(.cf) smooth scroll removed: the case file is only one section here) */
.cf .tools .below-btn .short, .cf .stage.tight .tools .below-btn .long { display: none; }
.cf .stage.tight .tools .below-btn .short { display: inline; }
/* "Vi gør jer synlige": the order step, the 7-day offer and the guarantee */
.cf .order-list { margin: 0; padding-left: 18px; list-style: disc; font-size: 14.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.cf .order-offer { border: 1.5px dashed var(--ochre); background: #fff7e6; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.cf .order-offer b { color: var(--ochre); }
.cf .order-sum .minus td:last-child { color: var(--ochre); font-weight: 700; }
.cf .order-guarantee { border-left: 3px solid var(--ink); padding: 6px 0 6px 12px; font-size: 14px; line-height: 1.5; }
.cf .order-invoice { font-size: 13px; color: var(--ink-soft); }
/* On the back of the folder and on "Hvis vi gør det" */
.cf .offer-note { display: block; margin: 6px 0 2px; font-size: 12.5px; line-height: 1.4; color: var(--ochre); font-weight: 700; }
.cf .guarantee-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.cf .ordered-note { display: block; padding: 8px 10px; border: 1.5px solid var(--ink); background: #fffdf7; font-size: 13.5px; line-height: 1.45; }
.cf .alt-link { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); text-decoration: underline; }

/* Spørgsmål og svar: står, hvor antallet af sider ellers ikke går op. */
.cf .faq { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cf .faq li { border-top: 1px solid var(--rule); padding: 9px 0; }
.cf .faq li:last-child { border-bottom: 1px solid var(--rule); }
.cf .faq b { font-family: var(--f-type); font-size: 13.5px; }
.cf .faq p { font-size: 13px; line-height: 1.45; margin: 3px 0 0; }

/* "en del af Fremtidsavisen" under Synlighedsværkstedet (underskrift og "Udarbejdet af"). */
.cf .del-af { display: block; font-family: var(--f-type); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }

/* Forsidens afsender: Synlighedsværkstedet, med "en del af Fremtidsavisen" under. Står, hvor Fremtidsavisens logo stod. */
.cf .cover-brand { position: absolute; left: 46px; top: 120px; right: 46px; line-height: 1.1; }
.cf .cover-brand strong { display: block; font-family: var(--f-stencil); font-size: 28px; letter-spacing: 0.02em; white-space: nowrap; }
.cf .cover-brand span { display: block; margin-top: 4px; font-family: var(--f-type); font-size: 13px; color: var(--ink); }

/* Firmaets hjemmesider og linkene imellem dem: under hinanden, så domænenavnene aldrig deles */
.cf .sites-map { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 8px 0 10px; }
.cf .sites-map .site-box { border: 1.5px solid var(--ink); padding: 6px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; background: var(--paper); }
.cf .sites-map .site-box b { white-space: nowrap; }
.cf .sites-map .site-arrows { display: flex; justify-content: center; gap: 22px; font-family: var(--f-type); font-size: 12px; white-space: nowrap; }
.cf .sites-map .link-arrow.ok { border-bottom: 2px solid var(--ink); }
.cf .sites-map .link-arrow.no { color: var(--red); border-bottom: 2px dashed var(--red); }

/* Fremtidsavisen.dk under Synlighedsværkstedet er et link */
.cf .del-af-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cf .del-af-link:hover { color: var(--red); }

/* Domænet på siderne om firmaets andre hjemmesider: på én linje, og mindre, hvis det er langt */
.cf .ekstra-domaene { margin: -4px 0 4px; font-family: var(--f-type); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hvordan firmaets hjemmesider peger på hinanden: to linjer med et stort ✓ eller ✗ */
.cf .link-intro { margin: 6px 0 4px; font-size: 15px; }
.cf .link-tjek { margin: 0 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cf .link-tjek li { display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 6px; padding: 8px 10px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 15px; line-height: 1.4; }
.cf .link-tjek li b { white-space: nowrap; }
.cf .link-tjek .mark { font-size: 20px; font-weight: 700; line-height: 1.1; text-align: center; }
.cf .link-tjek li.nej { border-color: var(--red); }
.cf .link-tjek li.nej .mark { color: var(--red); }
.cf .link-tjek li.ja .mark { color: #2f6b3f; }
