/* ==========================================================================
   DSS – Danske Sportskytter
   ========================================================================== */

:root {
	--navy: #0B2545;
	--blue: #1B4F80;
	--sky: #8EC5E8;
	--sky-mid: #4A90C2;
	--bg: #F4F7FA;
	--red: #C8102E;
	--red-dark: #A50D26;
	--red-soft: #FBE3E6;
	--orange: #E8890C;
	--green: #1E6B3A;
	--white: #FFFFFF;
	--line: #DCE5EE;
	--line-soft: #E8EDF2;
	--input-line: #9FB3C8;
	--text-2: #2A3F57;
	--muted: #4D6580;
	--on-navy: #D6E6F3;
	--on-navy-2: #B9D4EA;
	--font: 'Barlow', system-ui, -apple-system, sans-serif;
	--font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--navy);
	background: var(--bg);
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

button, input, select, textarea { font-family: inherit; }

h1, h2, h3, p, li, td { overflow-wrap: break-word; }

[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --- Typografi ------------------------------------------------------------ */

.display {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
}
.display--xl { font-size: clamp(42px, 11vw, 76px); line-height: 0.95; }
.display--hero { font-size: clamp(38px, 10vw, 60px); line-height: 0.95; }
.display--l { font-size: clamp(32px, 8vw, 48px); }
.display--m { font-size: clamp(30px, 7.5vw, 40px); }
.display--section { font-size: 30px; }
.display--s { font-size: 28px; font-weight: 700; }
.display--xs { font-size: 24px; line-height: 1.1; }

.eyebrow {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
}
.eyebrow--light { font-size: 18px; color: var(--sky); }

.label {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
}

.lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.55; color: var(--on-navy); }

.prose { font-size: 18px; line-height: 1.65; color: var(--text-2); display: flex; flex-direction: column; gap: 16px; }
.prose p { margin: 0; }

.strong-link { font-weight: 600; }
.wrap-anywhere { overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* --- Knapper --------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 2px solid transparent;
	border-radius: 6px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--bg); color: var(--navy); }
.btn--outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn--outline-light { background: transparent; border-color: var(--sky); color: var(--white); }
.btn--outline-light:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--block { display: flex; width: 100%; }
.btn--large { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.btn--submit { min-height: 56px; padding: 14px 28px; font-size: 19px; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 8px; }

.link-btn {
	min-height: 44px;
	padding: 0;
	border: none;
	background: none;
	color: var(--blue);
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.icon-btn {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 8px;
	background: none;
	color: var(--muted);
	cursor: pointer;
}

/* --- Header ---------------------------------------------------------------- */

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }

.site-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.dss-header-forside .site-header__inner { padding: 10px 16px; flex-wrap: nowrap; gap: 12px; }

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	color: var(--navy);
	text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand__logo { flex: none; width: 64px; height: 64px; object-fit: contain; }
.brand__logo--fluid { width: clamp(52px, 12vw, 72px); height: clamp(52px, 12vw, 72px); }
.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
}
.dss-header-forside .brand { gap: 12px; }
.dss-header-forside .brand__name { font-size: clamp(20px, 5vw, 26px); }

.back-link { padding: 12px 14px; font-weight: 600; }

.main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
}
.main-nav a {
	padding: 12px;
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
}
.main-nav a:hover { color: var(--blue); text-decoration: underline; }
.main-nav .main-nav__cta {
	margin-left: 8px;
	padding: 12px 20px;
	border-radius: 6px;
	background: var(--red);
	color: var(--white);
}
.main-nav .main-nav__cta:hover { background: var(--red-dark); color: var(--white); text-decoration: none; }

.burger {
	display: none;
	flex: none;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
}
.burger__open, .burger__close { display: flex; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: flex; }

.mobile-nav {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-top: 1px solid var(--line);
}
.mobile-nav > a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 20px;
	border-top: 1px solid var(--line-soft);
	color: var(--navy);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}
.mobile-nav__cta { padding: 14px 20px 18px; }
.mobile-nav__cta .btn { min-height: 52px; border-radius: 8px; font-size: 18px; }

@media (max-width: 900px) {
	.main-nav { display: none; }
	.burger { display: flex; }
}
@media (min-width: 901px) {
	.mobile-nav, .app-bar { display: none !important; }
}

/* --- App-bjælke (mobil) ---------------------------------------------------- */

.app-bar { background: var(--line-soft); border-bottom: 1px solid var(--line); }
.app-bar__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.app-bar__icon {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
}
.app-bar__icon img { width: 40px; height: 40px; object-fit: contain; }
.app-bar__text { flex: 1; min-width: 0; }
.app-bar__title { margin: 0; font-size: 16px; font-weight: 700; }
.app-bar__body { margin: 0; font-size: 14px; line-height: 1.35; color: var(--text-2); }

/* --- Forside --------------------------------------------------------------- */

.hero { background: var(--navy); color: var(--white); }
.hero__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(48px, 10vw, 96px) 20px clamp(64px, 10vw, 104px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__logo { flex: 1 1 320px; display: flex; justify-content: center; }
.hero__logo img { width: min(340px, 74vw); height: min(340px, 74vw); object-fit: contain; }

.facts { max-width: 1240px; margin: -48px auto 0; padding: 0 24px; position: relative; }

.grid { display: grid; gap: 16px; }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.card--roomy { padding: 32px; gap: 12px; }
.card--top { border-top-width: 6px; }
.card--top-navy { border-top-color: var(--navy); }
.card--top-blue { border-top-color: var(--blue); }
.card--top-sky { border-top-color: var(--sky-mid); }
.card__body { margin: 0; font-size: 18px; line-height: 1.6; }
.card__body strong { font-weight: 600; }
.card__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

.about {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(56px, 10vw, 96px) 20px 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}
.about__head { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.about__body { flex: 999 1 480px; min-width: 0; }

.section { max-width: 1240px; margin: 0 auto; padding: 64px 24px 96px; }
.section__title { margin-bottom: 28px; }
.section__head { display: flex; flex-direction: column; gap: 6px; }

.aarshjul { padding: 24px 20px 72px; display: flex; flex-direction: column; gap: 22px; }
.aarshjul__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; }
.aarshjul__svg { width: min(320px, 78vw); height: auto; flex: none; }
.aarshjul__list {
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 999 1 420px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}
.aarshjul__item {
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 8px solid var(--farve);
	border-radius: 10px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.aarshjul__item p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.aarshjul__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aarshjul__month {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--farve);
}
.pill {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--farve, var(--navy));
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.join { background: var(--blue); color: var(--white); }
.join__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 72px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.join__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.join__text p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--on-navy); }

.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	font-size: 16px;
	line-height: 1.7;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--white); }
.site-footer__brand {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 8px !important;
}
.site-footer__h { font-weight: 600; color: var(--white); }
.site-footer__person + .site-footer__person { margin-top: 12px; }

/* --- Undersider ------------------------------------------------------------ */

.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.page-hero--wide .page-hero__inner { max-width: 1040px; }
.page-hero p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--on-navy); }
.page-hero p.eyebrow { font-size: 18px; line-height: 1.2; color: var(--sky); }
.page-hero a { color: var(--white); font-weight: 600; }
.page-hero .notice {
	margin-top: 6px;
	padding: 14px 18px;
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	font-size: 18px;
	line-height: 1.5;
}

.page-main {
	max-width: 820px;
	margin: 0 auto;
	padding: 40px 24px 80px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.page-main--wide { max-width: 1040px; gap: 32px; }
.page-main--tight { gap: 14px; }

.footnote { margin: 0; font-size: 15px; color: var(--muted); }

/* Bestyrelsen */
.person-section { display: flex; flex-direction: column; gap: 14px; }
.person {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px;
	display: flex;
	gap: 14px;
	align-items: center;
}
.person--lead { border-top: 5px solid var(--navy); padding: 22px; gap: 16px; }
.person--single { max-width: 420px; }
.person__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.person__role {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--red);
}
.person__name { margin: 0; font-size: 19px; font-weight: 600; }
.person--lead .person__name { font-size: 21px; }
.person__info a { font-size: 16px; padding: 2px 0; overflow-wrap: anywhere; }
.person__info a.person__tel { font-weight: 600; padding: 4px 0; }
.avatar {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
}
.avatar--lead { width: 64px; height: 64px; font-size: 24px; background: var(--navy); }
.avatar--light { background: var(--line-soft); color: var(--navy); }

.contact-box {
	background: var(--navy);
	color: var(--white);
	border-radius: 12px;
	padding: 26px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
}
.contact-box__text { display: flex; flex-direction: column; gap: 6px; }
.contact-box__text h2 { font-size: 28px; }
.contact-box__text p { margin: 0; font-size: 17px; color: var(--on-navy); }
.contact-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Regler */
.rules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rule {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px 22px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
}
.rule__no {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
}
.rule__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rule__body h2 { font-weight: 700; font-size: 24px; line-height: 1.1; }
.rule__body p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Privatliv */
.text-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.text-card h2 { font-size: clamp(22px, 5vw, 26px); line-height: 1.1; }
.text-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* --- Bliv medlem ----------------------------------------------------------- */

.price-box {
	background: var(--white);
	border: 2px solid var(--navy);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.h-section { font-size: 32px; }
.price { background: var(--bg); border-radius: 8px; padding: 16px; }
.price p { margin: 0; }
.price__label { font-size: 15px; color: var(--muted); }
.price__value { margin-top: 2px !important; font-family: var(--font-display); font-weight: 800; font-size: 34px; }
.price-sum { margin: 0; padding: 14px 16px; border-radius: 8px; color: var(--white); font-size: 17px; }
.price-sum strong { font-weight: 600; }
.price-sum span { font-size: 15px; color: var(--on-navy); }
.price-sum--navy { background: var(--navy); }
.price-sum--navy span { color: var(--on-navy-2); }
.price-sum--blue { background: var(--blue); }

.steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
}
.step {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 5px solid var(--farve);
	border-radius: 10px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.step__no { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--blue); }
.step__text { font-size: 16px; line-height: 1.5; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack p { margin: 0; }

/* --- Formularer ------------------------------------------------------------ */

.form-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field__label { font-weight: 600; font-size: 16px; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 10px 14px;
	font-size: 17px;
	border: 1.5px solid var(--input-line);
	border-radius: 6px;
	background: var(--white);
	color: var(--navy);
}
.field textarea { line-height: 1.5; resize: vertical; padding: 12px 14px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--blue); }
.field--narrow input { max-width: 260px; }
.field--code input { min-height: 56px; font-size: 26px; letter-spacing: 0.3em; }
.field__help { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.field__count { margin: 0; font-size: 14px; color: var(--muted); }
.field__count.is-ok { color: var(--green); }

.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field-row--zip { grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr); }

.about-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: 10px;
	background: var(--bg);
}
.about-box label {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 26px;
	text-transform: uppercase;
}
.about-box p { margin: 0; }
.about-box__help { font-size: 16px; line-height: 1.55; color: var(--text-2); }

.consents { display: flex; flex-direction: column; gap: 12px; }
.consents p { margin: 0; }
.consents__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
}
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }

.alert {
	margin: 0;
	padding: 12px 16px;
	border-radius: 6px;
	background: var(--red-soft);
	color: var(--red-dark);
	font-weight: 600;
}
.info {
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--line-soft);
	color: var(--navy);
	font-size: 15px;
	line-height: 1.5;
}
.warn {
	margin: 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #FFF1D6;
	color: #5C3900;
	font-size: 14px;
	line-height: 1.5;
}

.done-box {
	background: var(--white);
	border: 2px solid var(--green);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.done-box h2 { font-size: 34px; color: var(--green); }
.done-box p { margin: 0; font-size: 18px; line-height: 1.55; }

/* --- Log ind --------------------------------------------------------------- */

body.dss-side-log-ind { background: var(--navy); }
.login {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 20px;
}
.login__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.login__brand img { width: 108px; height: 108px; object-fit: contain; }
.login__brand p {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--white);
}
.login__card {
	width: 100%;
	max-width: 440px;
	background: var(--white);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.login__card h1 { font-size: 34px; }
.login__card > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.login__card .btn { min-height: 52px; font-size: 18px; }
.login__card .link-btn { align-self: center; }
.login__link { align-self: center; display: inline-flex; align-items: center; text-align: center; }
.login__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--red-soft);
	color: var(--red-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}
.login__banner {
	margin: -28px -28px 0;
	padding: 14px 20px;
	border-radius: 12px 12px 0 0;
	background: var(--red-dark);
	color: var(--white);
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: 0.04em;
}
.login__back { margin-top: 20px; padding: 12px; color: var(--on-navy-2); font-weight: 600; }
.login__back:hover { color: var(--white); }

/* --- Gæsteregistrering ----------------------------------------------------- */

.app-header { background: var(--navy); color: var(--white); }
.app-header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.app-header img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.app-header__title {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	text-transform: uppercase;
	line-height: 1;
}
.app-header__sub { display: block; font-size: 14px; color: var(--on-navy-2); }

.guest {
	max-width: 560px;
	margin: 0 auto;
	padding: 32px 20px 72px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.guest__intro { display: flex; flex-direction: column; gap: 8px; }
.guest__intro > p:not(.info) { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.guest .form-card { border-radius: 10px; padding: 22px; gap: 18px; }
.guest .btn--red { min-height: 52px; font-size: 18px; }

/* ==========================================================================
   Medlemsområde og administration
   ========================================================================== */

body.dss-medlem { background: var(--bg); }

.app-header__inner--nav { justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.app-header__brand { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.app-header__brand:hover { color: var(--white); }
.app-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.app-nav a {
	padding: 12px 14px;
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}
.app-nav a:hover { color: var(--sky); }
.app-nav a[aria-current="page"] { border-bottom-color: var(--red); }

.member-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 24px 72px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.member-main--narrow { max-width: 760px; }
.display--page { font-size: clamp(32px, 8vw, 44px); }

.panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.panel p { margin: 0; }
.panel__title { font-weight: 700; font-size: 26px; }

.facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--bg);
}
.facts-grid p { margin: 0; }
.facts-grid__label { font-size: 14px; color: var(--muted); }
.facts-grid__value { margin-top: 2px !important; font-size: 17px; font-weight: 600; }

.note { margin: 0; padding: 12px 14px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.note--ok { background: #DDEFE3; color: #174F2B; }
.note--warn { background: #FFF1D6; color: #5C3900; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-row--tight { gap: 6px; flex-wrap: nowrap; }
.btn-row form { margin: 0; }
.link-pad { display: inline-block; padding: 12px 0; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: #174F2B; color: var(--white); }
.btn--outline-red { background: var(--white); border-color: var(--red-dark); color: var(--red-dark); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.stat p { margin: 0; }
.stat__label { font-size: 14px; color: var(--muted); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.1; }

.callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 10px;
	background: var(--line-soft);
}
.callout p { margin: 0; }
.callout > p { flex: 1 1 260px; font-weight: 600; }
.callout--warn { background: #FFF1D6; color: #5C3900; }
.callout--red { background: var(--red-soft); color: var(--red-dark); }
.callout form { margin: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); }
.tabs a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 18px;
	margin-bottom: -2px;
	border-bottom: 3px solid transparent;
	color: var(--muted);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }

.chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.chip--grey { background: var(--line-soft); color: var(--muted); }
.chip--blue { background: #DCEBF7; color: var(--blue); }
.chip--navy { background: var(--navy); color: var(--white); }
.chip--warn { background: #FFF1D6; color: #5C3900; }

.applicant__head { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.applicant__head > div { flex: 1; min-width: 0; }
.applicant__check { width: 24px; height: 24px; margin-top: 4px; flex: none; accent-color: var(--navy); }
.applicant__name { font-size: 20px; font-weight: 600; }
.applicant__about { background: var(--bg); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.applicant__about p:last-child { line-height: 1.55; color: var(--text-2); }
.applicant__test { display: flex; flex-direction: column; gap: 10px; }
.todo { margin: 0; padding-left: 20px; color: #5C3900; font-size: 15px; line-height: 1.6; }

.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.field--small label { font-size: 14px; }
.field--small select, .field--small input { min-height: 44px; padding: 8px 10px; font-size: 16px; }
.field--grow { flex: 1 1 200px; }

.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.field-grid--address { grid-template-columns: minmax(0, 3fr) minmax(90px, 1fr) minmax(0, 2fr); }
.check--box { min-height: 48px; align-items: center; padding: 0 12px; border: 1.5px solid var(--input-line); border-radius: 6px; }
.check--box input { margin: 0; }
.field input[readonly], .field select:disabled { background: var(--bg); color: var(--text-2); }
.cpr-value { margin: 0; min-height: 48px; display: flex; align-items: center; font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }

/* Tabeller, der bliver til kort på mobil */
.rt-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.panel .rt-wrap { border: none; }
.rt { width: 100%; border-collapse: collapse; font-size: 16px; }
.rt th { padding: 10px 12px; text-align: left; font-size: 14px; color: var(--muted); border-bottom: 2px solid var(--line); white-space: nowrap; }
.rt td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.rt tr:last-child td { border-bottom: none; }
.rt .sort { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.rt .sort.is-active { color: var(--navy); }
.rt tr.is-locked { background: var(--red-soft); box-shadow: inset 6px 0 0 var(--red-dark); }
.rt select { min-height: 44px; padding: 6px 10px; font-size: 15px; border: 1.5px solid var(--input-line); border-radius: 6px; background: var(--white); color: var(--navy); }
.lock-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; background: var(--red-dark); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.lock-text { display: block; font-size: 13px; color: var(--red-dark); }
.inline-form { margin: 0; display: inline-flex; }
.role-select { font-weight: 600; }
.role-select.is-board { background: var(--navy) !important; color: var(--white) !important; border-color: var(--navy) !important; }
.pill-toggle {
	min-height: 44px;
	min-width: 72px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 2px solid var(--input-line);
	background: var(--white);
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.pill-toggle.is-on { border-color: var(--green); background: #DDEFE3; color: var(--green); }

@media (max-width: 700px) {
	.app-header__inner--nav { padding-left: 16px; padding-right: 16px; }
	.app-nav { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 8px; scrollbar-width: none; }
	.app-nav a { white-space: nowrap; flex: none; }
	.member-main { padding-left: 16px; padding-right: 16px; }
	.panel { padding: 18px; }
	.field-grid--address { grid-template-columns: 1fr; }

	.rt { min-width: 0 !important; width: 100% !important; }
	.rt thead { display: none; }
	.rt, .rt tbody, .rt tr { display: block; width: 100%; }
	.rt tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; margin: 0 0 10px; background: var(--white); }
	.rt td { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: none !important; padding: 7px 0; text-align: right; }
	.rt td::before { content: attr(data-label); flex: none; font-size: 14px; font-weight: 600; color: var(--muted); text-align: left; }
	.rt-wrap { overflow: visible; border: none; background: transparent; }
	.lock-text { text-align: right; }
}

/* --- Booking ---------------------------------------------------------------- */

.obs-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 18px 20px;
	border-radius: 12px;
	background: #FFF4E5;
	border: 3px solid var(--orange);
}
.obs-box p { margin: 0; line-height: 1.5; }
.obs-box__tag { flex: none; padding: 6px 12px; border-radius: 8px; background: var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.obs-box__title { font-weight: 700; font-size: 18px; margin-bottom: 4px !important; }

.date-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-tab {
	flex: none;
	scroll-snap-align: start;
	min-width: 112px;
	min-height: 60px;
	padding: 8px 14px;
	border-radius: 8px;
	border: 2px solid var(--line);
	background: var(--white);
	color: var(--navy);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.date-tab:hover { color: var(--navy); border-color: var(--blue); }
.date-tab__day { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.date-tab__date { font-size: 16px; font-weight: 600; }
.date-tab[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.date-tab--vaabenkontrol { background: var(--orange); border: 3px solid var(--orange); color: var(--white); }
.date-tab--vaabenkontrol:hover { color: var(--white); }
.date-tab--vaabenkontrol[aria-current] { background: var(--orange); border-color: var(--navy); }
.date-tab--ferie { background: #FFF5F6; border-color: var(--red); color: var(--red-dark); }
.date-tab--ferie[aria-current] { background: var(--red); border: 3px solid var(--navy); color: var(--white); }

.lane-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.lane { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.lane p { margin: 0; }
.lane form { margin: 0; }
.lane--vaabenkontrol { background: #FFFAF0; border: 3px solid var(--orange); }
.lane--ferie { background: #FFF5F6; border: 3px solid var(--red); }
.lane__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lane__name { font-size: 30px; }
.lane__alert { padding: 12px 14px; border-radius: 8px; }
.lane__alert--red { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.lane__alert--orange { background: #FFE9CC; color: #5C3900; }
.lane__people ul { margin: 6px 0 0; padding-left: 20px; line-height: 1.7; }
.badge { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge--grey { background: var(--line-soft); color: var(--muted); }
.badge--green { background: #DDEFE3; color: var(--green); }
.badge--orange { background: var(--orange); color: var(--white); padding: 6px 12px; font-size: 14px; }
.badge--red { background: var(--red); color: var(--white); padding: 6px 12px; font-size: 14px; }

.share-box { border: 2px solid var(--green); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F3FAF5; }
.share-box p { margin: 0; }
.share-box__title { font-weight: 700; }
.share-box__text { font-size: 15px; color: var(--text-2); background: var(--white); border-radius: 8px; padding: 10px 12px; }
.btn--whatsapp { background: #1E6B3A; color: var(--white); gap: 8px; }
.btn--whatsapp:hover { background: #174F2B; color: var(--white); }
.btn--huge { min-height: 64px; font-size: 22px; font-weight: 700; border-radius: 10px; }
.btn--big { min-height: 56px; font-size: 18px; font-weight: 700; border-radius: 10px; }

.invite { background: var(--navy); color: var(--white); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.invite p { margin: 0; color: var(--on-navy); font-size: 17px; line-height: 1.5; }
.invite form { margin: 0; }
.invite__when { font-size: 20px !important; font-weight: 600; color: var(--white) !important; }

.row-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.plain-list { margin: 0; padding-left: 20px; line-height: 1.8; }
.guest-card { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.guest-card > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.coord { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 6px; margin: 0; }
.coord legend { font-weight: 700; padding: 0 6px; }

/* --- QR-registrering og godkendelse (mørk baggrund) ------------------------ */

body.dss-skaerm-skyd, body.dss-skaerm-godkend-regler { background: var(--navy); }
.checkin, .gate { max-width: 520px; margin: 0 auto; padding: 28px 18px 48px; display: flex; flex-direction: column; gap: 18px; }
.checkin__brand, .gate__brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.checkin__brand:hover { color: var(--white); }
.checkin__brand img, .gate__brand img { width: 52px; height: 52px; object-fit: contain; }
.checkin__card, .gate__card { background: var(--white); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.checkin__card p, .gate__card p { margin: 0; }
.checkin__head { display: flex; flex-direction: column; gap: 4px; }
.checkin__day { margin-top: 4px !important; font-size: 18px; font-weight: 600; }
.checkin__lead { font-size: 16px; line-height: 1.5; color: var(--text-2); }
[data-skyd-indhold] { display: flex; flex-direction: column; gap: 12px; }
.checkin__foot { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-navy-2); text-align: center; }
.gate__card h1 { font-size: 34px; }
.gate__card > p { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.gate__changes { background: var(--bg); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.check--big input { width: 26px; height: 26px; }

.locating { padding: 20px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.spinner { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); animation: dss-spin 0.9s linear infinite; }
@keyframes dss-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

.success { padding: 20px; border-radius: 10px; background: #DDEFE3; display: flex; flex-direction: column; gap: 8px; color: #174F2B; font-size: 17px; line-height: 1.5; }
.success__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--green); }
.share-box--green { background: var(--white); }

.help { border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.help__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.help ol { margin: 0; padding-left: 22px; line-height: 1.6; }
.help--info { background: #E8F0FA; border: 2px solid var(--blue); color: var(--navy); }
.help--warn { background: #FFF1D6; border: 2px solid var(--orange); color: #5C3900; }
.help--ok { background: #DDEFE3; border: 2px solid var(--green); color: #174F2B; }

.checkin__count { display: flex; flex-direction: column; gap: 6px; }
.checkin__count-text { font-size: 16px; font-weight: 600; }
.progress { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__fill { height: 100%; border-radius: 999px; background: var(--blue); }
.progress__fill.is-done { background: var(--green); }

.install-box { border: 2px solid var(--blue); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.install-box__title { font-size: 17px; font-weight: 700; }
.install-box p { font-size: 15px; line-height: 1.4; color: var(--text-2); }
.install-box .btn--block { width: auto; display: inline-flex; }

/* --- Kontingent ------------------------------------------------------------- */

.btn--mobilepay { background: #5A78FF; color: var(--white); font-weight: 700; border-radius: 10px; }
.btn--mobilepay:hover { background: #4462E8; color: var(--white); }
.btn--red-dark { background: var(--red-dark); color: var(--white); }
.btn--red-dark:hover { background: #7A0A1C; color: var(--white); }
.btn--outline-green { background: var(--white); border-color: var(--green); color: var(--green); }

.pay-bar { background: var(--red-soft); border-bottom: 3px solid var(--red); color: #7A0A1C; }
.pay-bar__inner { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pay-bar__tag { flex: none; padding: 4px 10px; border-radius: 6px; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; }
.pay-bar__text { flex: 1 1 260px; min-width: 0; }
.pay-bar__text p { margin: 0; font-size: 14px; line-height: 1.4; }
.pay-bar__text .pay-bar__title { font-size: 16px; font-weight: 700; }

.lockout { background: var(--white); border: 4px solid var(--red); border-radius: 14px; overflow: hidden; }
.lockout__bar { background: var(--red); color: var(--white); padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: 0.04em; }
.lockout__body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.lockout__body p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.lockout__body p.small { font-size: 15px; }
.lockout__body h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.05; color: var(--red-dark); }
.lockout__amount { background: var(--red-soft); border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #7A0A1C; font-weight: 600; }
.lockout__amount strong { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--red-dark); }
body.dss-skaerm-restance, body.dss-skaerm-betaling, body.dss-skaerm-betal-demo { background: var(--navy); }

.chip--ok { background: #DDEFE3; color: #174F2B; }
.chip--red { background: var(--red-soft); color: var(--red-dark); }
.callout--box { background: var(--white); border: 2px solid var(--navy); padding: 22px; justify-content: space-between; }
.callout--box > div, .callout--red > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.callout--box p, .callout--red p { font-weight: 400; }
.callout .callout__title { font-size: 18px; font-weight: 700; }
.callout--red { border: 2px solid var(--red); }

.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.pill-tab[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cell-sub { display: block; font-size: 14px; color: var(--muted); }
details.panel > summary { cursor: pointer; list-style: revert; }
details.panel[open] > summary { margin-bottom: 8px; }

/* --- Push-beskeder -------------------------------------------------------- */

.push-bar { background: #FFF1D6; border-bottom: 3px solid var(--orange); color: #5C3900; }
.push-bar__inner { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.push-bar__inner > svg { flex: none; }
.push-bar__text { flex: 1 1 260px; min-width: 0; }
.push-bar__text p { margin: 0; font-size: 14px; line-height: 1.4; }
.push-bar__text .push-bar__title { font-size: 16px; font-weight: 700; }

.panel--push { border: 2px solid var(--blue); gap: 18px; }
.panel .lead-sm { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.push-perm { background: #FFF1D6; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; color: #5C3900; }
.push-perm[hidden], .note[hidden] { display: none; }
.panel .push-perm p { font-size: 16px; line-height: 1.5; }
.panel .push-perm p.small, .push-perm ol, .push-perm ul { font-size: 14px; }
.push-perm ol, .push-perm ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

.switch-list { display: flex; flex-direction: column; }
.switch-list .btn { align-self: flex-start; margin-top: 12px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.switch-row label { display: flex; flex-direction: column; gap: 2px; min-width: 0; cursor: pointer; }
.switch-row__title { font-size: 17px; font-weight: 600; }
.switch-row__help { font-size: 15px; color: var(--muted); }
.switch-row.is-dim .switch { opacity: 0.45; }
.switch {
	-webkit-appearance: none; appearance: none; flex: none; position: relative; margin: 0;
	width: 60px; height: 34px; border-radius: 999px; background: var(--input-line); cursor: pointer; transition: background 0.15s;
}
.switch::after {
	content: ''; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%;
	background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: left 0.15s;
}
.switch:checked { background: var(--green); }
.switch:checked::after { left: 29px; }
.switch:focus-visible { outline: 3px solid var(--sky-mid); outline-offset: 2px; }

.push-preview { background: var(--navy); color: var(--white); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; max-width: 420px; }
.push-preview img { flex: none; width: 32px; height: 32px; }
.push-preview > div { display: flex; flex-direction: column; gap: 2px; }
.push-preview__from { font-size: 14px; font-weight: 600; }
.push-preview__text { font-size: 15px; line-height: 1.4; color: var(--on-navy); }

/* --- Medlemsliste, aktivitet, våbenkontrol, dokumenter --------------------- */

.member-main--wide { max-width: 1360px; }
.lead-dark { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 720px; }
.info-box { margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--line-soft); color: var(--navy); font-size: 15px; line-height: 1.5; }
.count-line { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.filter-bar.panel { flex-direction: row; padding: 16px; }
.tnum { font-variant-numeric: tabular-nums; }
.warn-text { display: block; color: #8A3B00; font-weight: 600; }
.shared-text { display: block; color: var(--blue); font-weight: 600; }
.link-btn--red { color: var(--red-dark); }
.panel--accent { border: 2px solid var(--navy); }

.member-list { margin: 0; padding: 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.member-list li + li { border-top: 1px solid var(--line-soft); }
.member-list__row { min-height: 60px; padding: 10px 16px; display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.member-list__row:hover { background: var(--bg); }
.member-list__row.is-board { background: #F2F6FB; box-shadow: inset 6px 0 0 var(--red); }
.member-list__row > svg { flex: none; }
.member-list__nr { flex: none; min-width: 52px; padding: 4px 8px; border-radius: 6px; background: var(--line-soft); font-size: 15px; font-weight: 700; text-align: center; }
.member-list__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.member-list__name { font-size: 18px; font-weight: 600; }
.member-list__role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge--navy { background: var(--navy); color: var(--white); }
.member-list .badge:not(.badge--navy) { background: var(--line-soft); color: var(--navy); border: 1px solid var(--input-line); }

.live-box { background: var(--white); border: 2px solid var(--green); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.live-box__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.live-box__head h2 { margin: 0; font-size: 26px; }
.live-box__head span:last-child { color: var(--text-2); }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #DDEFE3; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.kpi-grid--2 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 520px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; color: var(--navy); text-decoration: none; }
.kpi p { margin: 0; }
.kpi__label { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kpi__value { margin-top: 4px !important; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 7.5vw, 40px); line-height: 1; }
.kpi__sub { margin-top: 6px !important; font-size: 14px; color: var(--muted); }
.kpi--g .kpi__value { color: var(--green); }
.kpi--y .kpi__value { color: #8A5A00; }
.kpi--r .kpi__value { color: var(--red-dark); }
.kpi--link { border-width: 2px; min-height: 84px; }
.kpi--link.is-active.kpi--r { border-color: var(--red-dark); }
.kpi--link.is-active.kpi--g { border-color: var(--green); }

.bar-cell { display: inline-flex; align-items: center; gap: 10px; width: 100%; }
.bar-cell strong { min-width: 22px; }
.bar-cell__bar { flex: 1; max-width: 160px; height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar-cell__fill { display: block; height: 100%; }
.bar-cell__fill--g { background: var(--green); }
.bar-cell__fill--y { background: #E8A317; }
.bar-cell__fill--r { background: var(--red); }

.progress-box { min-width: 260px; flex: 0 1 380px; display: flex; flex-direction: column; gap: 6px; }
.progress-box p { margin: 0; font-size: 16px; font-weight: 600; }
.progress-box .progress__fill { background: var(--green); }
.rt tr.is-done { background: #F6FBF8; }
.rt tr.is-warn { background: #FFFAF0; }
.vk-btn { min-height: 44px; min-width: 132px; padding: 6px 12px; border-radius: 6px; border: 2px dashed var(--input-line); background: var(--white); color: var(--navy); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; white-space: nowrap; }
.vk-btn.is-done { border: 2px solid var(--green); background: #DDEFE3; color: #174F2B; }
.vk-btn:disabled { opacity: 0.6; }

.weapon-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.weapon-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }

.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.doc__icon { flex: none; width: 52px; height: 64px; border-radius: 6px; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.doc__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.doc__text p { margin: 0; }
.doc__cat { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.doc__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.doc__meta { font-size: 15px; color: var(--muted); }
.doc__actions { display: flex; align-items: center; gap: 12px; }
.member-main .aarshjul { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }

.mini-footer { background: var(--navy); color: var(--on-navy); margin-top: 56px; }
.mini-footer__inner { max-width: 1100px; margin: 0 auto; padding: 22px 16px 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; font-size: 14px; line-height: 1.5; text-align: center; }
.mini-footer p { margin: 0; }
/* På den mørkeblå log-ind-side er sidefoden en diskret del af siden nederst. */
body.dss-side-log-ind { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.dss-side-log-ind > main { flex: 1 0 auto; min-height: 0; }
body.dss-side-log-ind .mini-footer { background: transparent; margin-top: 0; }
body.dss-side-log-ind .mini-footer__inner { max-width: 560px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: var(--on-navy-2); font-size: 13px; }
@media (max-width: 700px) {
	.mini-footer__inner { flex-direction: column; gap: 4px; }
}
.mini-footer a { color: var(--on-navy); }
.mini-footer a:hover { color: var(--white); }
.mini-footer strong { color: var(--white); }

/* --- Mobil ----------------------------------------------------------------- */

@media (max-width: 700px) {
	.site-header__inner,
	.dss-header-forside .site-header__inner { padding-left: 16px; padding-right: 16px; }
	.page-main,
	.section,
	.facts,
	.join__inner,
	.site-footer__inner,
	.page-hero__inner { padding-left: 16px; padding-right: 16px; }
	.form-card { padding: 20px; }
	.card, .card--roomy { padding: 22px; }
	.btn--submit { width: 100%; }
}
