/* spore.dk: this site's own look (2026-11-26). Night indigo, route orange and parcel kraft on a cool white page, the
   number reader as the front page's first thing, a drawn route of scans. Distinct from every other site of ours
   (smaller-sites/footprint_check.py). */
:root { --indigo: #24286b; --indigo2: #383d8f; --rute: #f0a43a; --kraft: #c08a4b; --lys: #f4f6fc; --hvid: #ffffff;
        --skrift: #1d2033; --graa: #5d6178; --streg: #d9def0; --blaalys: #e8ecfa;
        --rubrik: "Franklin Gothic Medium", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
        --broed: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
* { box-sizing: border-box; }
html { background: var(--lys); }
body { margin: 0; background: var(--lys); color: var(--skrift); font: 17px/1.65 var(--broed); -webkit-font-smoothing: antialiased; }
a { color: var(--indigo2); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--rute); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--rubrik); font-weight: 600; line-height: 1.15; color: var(--indigo); letter-spacing: -.005em; }

.sporlinje { background: var(--hvid); border-bottom: 3px solid var(--rute); position: sticky; top: 0; z-index: 10; }
.sporlinje-indre { max-width: 72rem; margin: 0 auto; padding: .7rem 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; }
.sporlogo { font-family: var(--rubrik); font-size: 1.45rem; color: var(--indigo); text-decoration: none; white-space: nowrap; }
.sporlogo i { font-style: normal; color: var(--kraft); }
.fragtmenu { display: flex; flex-wrap: wrap; gap: .15rem .9rem; }
.fragtmenu a { color: var(--graa); text-decoration: none; font-size: .94rem; padding: .25rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.fragtmenu a:hover { color: var(--indigo); }
.fragtmenu a[aria-current] { color: var(--indigo); border-bottom-color: var(--rute); }

.startfelt { background: var(--indigo); color: #e7e9fa; }
.startfelt-indre { max-width: 72rem; margin: 0 auto; padding: 3rem 16px 2.8rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: center; }
.startfelt h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 .8rem; }
.startfelt .indgang { color: #d3d7f5; }
.rutebillede svg { width: 100%; max-width: 24rem; height: auto; display: block; margin: 0 auto; }
@media (max-width: 52rem) { .startfelt-indre { grid-template-columns: 1fr; padding: 2rem 16px; gap: 1.4rem; } .rutebillede svg { max-width: 16rem; } }

.sidetop { background: var(--hvid); border-bottom: 1px solid var(--streg); }
.sidetop-indre { max-width: 46rem; margin: 0 auto; padding: 2.6rem 16px 1.8rem; }
.sidetop h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .7rem; }
.indgang { font-size: 1.13rem; margin: 0; max-width: 42rem; color: #33374f; }

.nummerform { margin-top: 1.5rem; background: var(--hvid); color: var(--skrift); border-radius: 16px; padding: 1rem 1.1rem 1rem; box-shadow: 0 10px 30px rgba(10, 12, 50, .25); }
.nummerform label { display: block; font-weight: 600; margin-bottom: .45rem; }
.nummerlinje { display: flex; flex-wrap: wrap; gap: .5rem; }
.nummerlinje input { flex: 1 1 14rem; min-width: 0; font: 600 1.1rem ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; padding: .7rem .8rem; border: 2px solid var(--streg); border-radius: 10px; color: var(--skrift); background: var(--lys); text-transform: uppercase; }
.nummerlinje input:focus { border-color: var(--indigo2); outline: none; background: #fff; }
.nummerlinje button { font: 600 1rem var(--broed); background: var(--rute); color: #2a1a00; border: 0; border-radius: 10px; padding: .7rem 1.2rem; cursor: pointer; }
.nummerlinje button:hover { background: #e48f1c; }
.nummersvar { display: block; }
.nummersvar:empty { display: none; }
.fund { margin-top: .9rem; border-left: 4px solid var(--indigo2); background: var(--blaalys); border-radius: 0 12px 12px 0; padding: .6rem .9rem; }
.fund-titel { font-weight: 700; margin: 0 0 .2rem; color: var(--indigo); }
.fund p { margin: .3rem 0; font-size: .96rem; }
.advar { color: #9a3412; font-weight: 600; }
.nummerregel { font-size: .84rem; color: var(--graa); margin: .8rem 0 0; }

.indhold { max-width: 46rem; margin: 0 auto; padding: 1.8rem 16px 3.5rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 .6rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .3rem; }
.indhold li { margin-bottom: .35rem; }

.fragttabel { overflow-x: auto; margin: 1rem 0 1.6rem; background: var(--hvid); border: 1px solid var(--streg); border-radius: 12px; }
.fragttabel table { border-collapse: collapse; width: 100%; font-size: .94rem; }
/* a table of four columns or more keeps readable columns on a phone and scrolls inside its box */
.fragttabel table:has(thead th:nth-child(4)) { min-width: 34rem; }
.fragttabel th, .fragttabel td { padding: .6rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--streg); }
.fragttabel thead th { background: var(--indigo); color: #fff; font-family: var(--rubrik); font-weight: 600; white-space: nowrap; }
.fragttabel tbody th { color: var(--indigo); font-weight: 600; white-space: nowrap; width: 1%; }
.fragttabel tbody tr:last-child > * { border-bottom: 0; }

.rettetdato { font-size: .86rem; color: var(--graa); margin-top: 2.4rem; }
.kildeboks { margin-top: .6rem; border-top: 2px dashed var(--streg); font-size: .87rem; color: #44485f; }
.kildeboks h2 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.kildeboks ul { margin: 0; padding-left: 1.1rem; }
.sporbund { background: var(--indigo); color: #c9cdf0; padding: 1.6rem 16px 2.2rem; font-size: .9rem; }
.sporbund nav { max-width: 72rem; margin: 0 auto .5rem; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.sporbund a { color: #fff; }
.sporbund p { max-width: 72rem; margin: 0 auto; }
.nummerlinje input::placeholder { text-transform: none; color: #8a8fa8; font-weight: 500; }
.broedkrumme { font-size: .86rem; color: var(--graa); margin: 0 0 .9rem; }
.broedkrumme a { color: var(--graa); }
/* a table whose row headers are long (a status, a sentence) lets them wrap instead of pushing the answer off */
.fragttabel table.statustabel tbody th { white-space: normal; width: 42%; }
.fragttabel table.tjenester tbody th { white-space: normal; width: 36%; }
.fragttabel table.tjenester tbody th span { display: block; font-weight: 400; color: var(--graa); }
.sportegning { margin: 1.4rem 0 1.8rem; background: var(--hvid); border: 1px solid var(--streg); border-radius: 12px; padding: 1rem 1rem .7rem; }
.sportegning svg { display: block; width: 100%; height: auto; }
.sportegning figcaption { font-size: .86rem; color: var(--graa); margin-top: .5rem; }
