/*
 * Nätverk – enkelt läge (kd-natverksinstallation 1.0.0). Se kdnat-guide.js.
 * Kopierad från brandlarmets guide.css med egna klassnamn.
 *
 * #kdnat-app.kdnat-enkelt döljer menyraden, bladraden och
 * sidopanelen och visar guidens topprad, steglista och panel i stället.
 * Ritytan är densamma i båda lägena.
 */

/* Guidens delar syns bara i enkelt läge … */
.kdnat-g-huvud,
.kdnat-g-panel {
	display: none;
}

#kdnat-app.kdnat-enkelt .kdnat-g-huvud {
	display: block;
}

#kdnat-app.kdnat-enkelt .kdnat-g-panel {
	display: flex;
}

/* … och verktygets egna ytor bara i avancerat. 3.111: menyraden finns
 * kvar i enkelt läge (som i kameran) – menyerna döljs och raden med namn,
 * Öppna och Spara visas (kdsuite-ritlage.css, .kds-enkelt). */
#kdnat-app.kdnat-enkelt .kdnat-sheets,
#kdnat-app.kdnat-enkelt .kdnat-props,
#kdnat-app.kdnat-enkelt .kdnat-status-x {
	display: none !important;
}

/* Lägesväxlaren i avancerat läge, sist i menyraden. */
.kdnat-g-menyval {
	margin-left: auto;
}

.kdnat-g-lagesval {
	display: inline-flex;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.kdnat-g-lagesknapp {
	border: 0;
	background: transparent;
	padding: 4px 10px;
	font-size: 12px;
	cursor: pointer;
	color: #1d2327;
}

.kdnat-g-lagesknapp[aria-pressed="true"] {
	background: #2271b1;
	color: #fff;
}

/* Topprad – 3.111: i menyraden (.kds-enkel-rad); stegraden under (.kds-stegrad). */
.kdnat-g-huvud {
	border: 0;
	background: none;
}

.kdnat-g-topp--fristaende {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #2c3338;
}

.kds-enkel-rad .kdnat-g-knapp {
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid #50575e;
	background: #3c434a;
	color: #f0f0f1;
}

.kds-enkel-rad .kdnat-g-knapp:hover {
	background: #50575e;
	border-color: #50575e;
	color: #fff;
}

.kdnat-g-namn {
	flex: 0 1 340px;
	min-width: 180px;
	padding: 6px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
}

.kdnat-g-namn.is-fel {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.kdnat-g-sparad {
	font-size: 12px;
	color: #646970;
}

.kdnat-g-flex {
	flex: 1 1 auto;
}

/* Steglistan */
.kdnat-g-steg {
	display: flex;
	margin: 0;
	padding: 0 8px;
	list-style: none;
	overflow-x: auto;
}

.kdnat-g-steg li {
	flex: 1 0 auto;
	margin: 0;
}

.kdnat-g-stegknapp {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: 6px 8px 8px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	cursor: pointer;
	text-align: left;
	color: #50575e;
}

.kdnat-g-stegfas {
	font-size: 9px;
	letter-spacing: 0.06em;
	color: #8c8f94;
}

.kdnat-g-stegnamn {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	white-space: nowrap;
}

.kdnat-g-stegnr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f0f0f1;
	font-size: 11px;
	font-weight: 600;
}

.kdnat-g-stegknapp.is-aktiv {
	border-bottom-color: #2271b1;
	color: #1d2327;
	font-weight: 600;
}

.kdnat-g-stegknapp.is-aktiv .kdnat-g-stegnr {
	background: #2271b1;
	color: #fff;
}

.kdnat-g-stegknapp.is-klar .kdnat-g-stegnr {
	background: #00a32a;
	color: #fff;
}

.kdnat-g-stegknapp:focus-visible,
.kdnat-g-knapp:focus-visible,
.kdnat-g-lagesknapp:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

/* Panelen */
.kdnat-g-panel {
	flex: 0 0 380px;
	flex-direction: column;
	max-height: 900px;
	border: 1px solid #dcdcde;
	border-right: none;
	background: #fbfbfc;
}

.kdnat-g-innehall {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #1d2327;
}

.kdnat-g-innehall h2 {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.25;
}

.kdnat-g-innehall h2:focus {
	outline: none;
}

.kdnat-g-innehall h3 {
	margin: 18px 0 6px;
	font-size: 13px;
	font-weight: 600;
}

.kdnat-g-ingress {
	margin: 0 0 12px;
	color: #50575e;
}

.kdnat-g-kalla {
	font-size: 11px;
	color: #646970;
}

p.kdnat-g-kalla {
	margin: 10px 0 0;
}

.kdnat-g-fot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-top: 1px solid #dcdcde;
	background: #fff;
}

.kdnat-g-fot .kdnat-g-knapp--primar {
	margin-left: auto;
}

/* Knappar och fält */
.kdnat-g-knapp {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.kdnat-g-knapp:hover {
	border-color: #8c8f94;
}

.kdnat-g-knapp--primar {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

.kdnat-g-knapp--primar:hover {
	background: #b32d2e;
	border-color: #b32d2e;
}

.kdnat-g-knapp--aktiv {
	border-color: #2271b1;
	background: #fcf0f1;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.kdnat-g-knapp--lank {
	border-color: transparent;
	background: transparent;
	padding-left: 2px;
	padding-right: 2px;
	color: #2271b1;
	text-decoration: underline;
}

.kdnat-g-knapp--rumnamn {
	border: 0;
	background: transparent;
	padding: 0;
	font-weight: 600;
	color: #1d2327;
	text-align: left;
}

.kdnat-g-knapp--rumnamn:hover {
	text-decoration: underline;
}

.kdnat-g-knapp--ta-bort {
	border: 0;
	background: transparent;
	padding: 0 4px;
	font-size: 18px;
	line-height: 1;
	color: #646970;
}

.kdnat-g-knapp--ta-bort:hover {
	color: #2271b1;
}

.kdnat-g-rad {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 8px 0;
}

.kdnat-g-rad .kdnat-g-rad {
	margin: 0;
	gap: 3px;
}

.kdnat-g-falt {
	padding: 4px 6px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 13px;
	max-width: 100%;
}

.kdnat-g-falt--kort {
	width: 56px;
}

.kdnat-g-falt.is-fel {
	border-color: #2271b1;
}

.kdnat-g-etikett {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 12px 0 4px;
	font-weight: 600;
}

.kdnat-g-kryss {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 8px 0;
}

.kdnat-g-alla {
	padding: 8px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	background: #fff;
}

/* Rutor */
.kdnat-g-ruta {
	margin: 10px 0;
	padding: 8px 10px;
	border-left: 3px solid #8c8f94;
	border-radius: 2px;
	background: #fff;
}

.kdnat-g-ruta--ok {
	border-color: #00a32a;
	background: #edfaef;
}

.kdnat-g-ruta--varning {
	border-color: #dba617;
	background: #fcf9e8;
}

.kdnat-g-ruta--fel {
	border-color: #2271b1;
	background: #fcf0f1;
}

.kdnat-g-ruta--info {
	border-color: #2271b1;
	background: #f0f6fc;
}

/* Listor */
.kdnat-g-lista {
	margin: 8px 0;
	padding: 0;
	list-style: none;
}

.kdnat-g-lista > li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
}

.kdnat-g-rum {
	flex-direction: column;
	align-items: stretch !important;
}

.kdnat-g-rum.is-saknas .kdnat-g-falt--kort {
	border-color: #dba617;
	background: #fcf9e8;
}

.kdnat-g-rumrad {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kdnat-g-rumrad > :first-child {
	flex: 1 1 auto;
}

.kdnat-g-yta {
	font-size: 12px;
	color: #646970;
	white-space: nowrap;
}

.kdnat-g-rader {
	margin: 4px 0 0;
	padding: 6px 8px;
	list-style: none;
	background: #fff;
	border: 1px solid #f0f0f1;
	border-radius: 4px;
}

.kdnat-g-rader li {
	margin: 3px 0;
}

.kdnat-g-niva {
	display: inline-block;
	padding: 0 6px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
}

.kdnat-g-niva--krav { background: #fde2e1; color: #8a1f11; }
.kdnat-g-niva--undantag { background: #e5f0fa; color: #0a4b78; }
.kdnat-g-niva--forslag { background: #fcf3cf; color: #6b5200; }
.kdnat-g-niva--info { background: #f0f0f1; color: #50575e; }

.kdnat-g-balk {
	flex-direction: column;
	align-items: stretch !important;
}

.kdnat-g-balkregel {
	margin: 2px 0 0;
	font-size: 12px;
}

.kdnat-g-andel {
	font-weight: 600;
}

.kdnat-g-status {
	position: relative;
	padding-left: 18px !important;
}

.kdnat-g-status::before {
	position: absolute;
	left: 0;
	top: 6px;
	font-weight: 700;
}

.kdnat-g-status--ok::before { content: "✓"; color: #00a32a; }
.kdnat-g-status--fel::before { content: "✕"; color: #2271b1; }
.kdnat-g-status--varning::before { content: "!"; color: #996800; left: 4px; }
.kdnat-g-status--info::before { content: "–"; color: #8c8f94; }

.kdnat-g-status .kdnat-g-kryss {
	margin: 0;
}

.kdnat-g-sektnr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1.5px solid #1d2327;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.kdnat-g-adresser .kdnat-g-knapp--rumnamn {
	min-width: 52px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.kdnat-g-handlingar {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.kdnat-g-handlingar .kdnat-g-knapp {
	justify-content: flex-start;
}

/* Öppna-fönstret */
.kdnat-g-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.45);
}

.kdnat-g-overlay[hidden] {
	display: none;
}

.kdnat-g-fonster {
	width: min(520px, 100%);
	max-height: 80vh;
	overflow-y: auto;
	padding: 14px 16px;
	border-radius: 6px;
	background: #fff;
}

.kdnat-g-fonsterhuvud {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kdnat-g-fonsterhuvud h3 {
	margin: 0;
}

@media (max-width: 900px) {
	#kdnat-app.kdnat-enkelt .kdnat-layout {
		flex-direction: column;
	}

	.kdnat-g-panel {
		flex: 1 1 auto;
		max-height: none;
		border-right: 1px solid #dcdcde;
	}

	.kdnat-g-stegfas {
		display: none;
	}
}

.kdnat-g-etikett.is-saknas select {
	border-color: #dba617;
	background: #fcf9e8;
}

/* ------------------------------------------------------------------
 * 3.012: tretton steg – stegspärr, hopfällbara delar, bildytor,
 * slingor, styrningar och pärmen.
 * ---------------------------------------------------------------- */

.kdnat-g-steg .kdnat-g-stegknapp {
	padding: 6px 6px 8px;
}

.kdnat-g-steg .kdnat-g-stegnamn {
	font-size: 12px;
}

/* Stegspärrens meddelande överst i panelen. */
.kdnat-g-lasrad {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-bottom: 1px solid #f0c33c;
	background: #fcf9e8;
	color: #614200;
	font-size: 13px;
}

.kdnat-g-lasrad[hidden] {
	display: none;
}

.kdnat-g-lasrad > span {
	flex: 1 1 auto;
}

.kdnat-g-del {
	margin: 12px 0 0;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.kdnat-g-del > summary {
	padding: 8px 12px;
	font-weight: 600;
	cursor: pointer;
}

.kdnat-g-del[open] > summary {
	border-bottom: 1px solid #f0f0f1;
}

.kdnat-g-del > :not( summary ) {
	margin-left: 12px;
	margin-right: 12px;
}

.kdnat-g-del > :last-child {
	margin-bottom: 12px;
}

.kdnat-g-bildyta {
	display: block;
	width: 100%;
	max-width: 336px;
	margin: 8px 0;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	cursor: crosshair;
	background: #fff;
}

.kdnat-g-planrad {
	display: flex;
	align-items: center;
	gap: 6px;
}

.kdnat-g-planrad .kdnat-g-falt:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.kdnat-g-dorr .kdnat-g-rumrad select {
	flex: 1 1 auto;
}

.kdnat-g-takform {
	margin: 8px 0;
	padding: 8px;
	border-radius: 4px;
	background: #f6f7f7;
}

.kdnat-g-centralrad {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.kdnat-g-mottagare {
	margin: 6px 0 10px;
}

.kdnat-g-styrkort {
	margin: 8px 0;
	padding: 8px 10px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.kdnat-g-styrkort.is-pa {
	border-color: #2271b1;
	background: #f0f6fc;
}

.kdnat-g-styrrubrik {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.kdnat-g-styrrubrik > span:nth-child( 2 ) {
	flex: 1 1 auto;
}

.kdnat-g-io {
	font-size: 12px;
	font-weight: 700;
	color: #8a1f11;
}

.kdnat-g-not {
	color: #614200;
}

textarea.kdnat-g-falt {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

/* Slingor */
.kdnat-g-flikar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0;
}

.kdnat-g-slingflik {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: 2px solid #8c8f94;
	border-radius: 14px;
	background: #fff;
	font-size: 12px;
	cursor: pointer;
}

.kdnat-g-slingflik.is-aktiv {
	background: #f0f6fc;
	font-weight: 700;
}

.kdnat-g-prick {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.kdnat-g-slingkort {
	margin: 8px 0;
	padding: 10px 12px;
	border: 2px solid #2271b1;
	border-radius: 6px;
	background: #fff;
}

.kdnat-g-kontroll {
	display: flex;
	gap: 6px;
	margin: 4px 0;
	font-size: 12px;
	line-height: 1.4;
}

.kdnat-g-kontroll > strong {
	flex: 0 0 12px;
	color: #00701a;
}

.kdnat-g-kontroll.is-fel > strong {
	color: #b32d2e;
}

.kdnat-g-ldrad {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kdnat-g-ldnamn {
	flex: 0 0 110px;
	font-size: 12px;
}

.kdnat-g-ldrad select {
	flex: 1 1 auto;
	min-width: 0;
}

.kdnat-g-hjalp {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 10px 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f6f7f7;
	font-size: 12px;
	line-height: 1.45;
}

.kdnat-g-sektfalt {
	width: 52px;
	text-align: center;
	font-weight: 700;
}

.kdnat-g-logo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}

.kdnat-g-logo img {
	max-height: 40px;
	max-width: 140px;
}

/* Helskärmsknappen i enkelt läges topprad (3.033). */
.kdnat-g-helskarm {
	padding: 5px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}
.kdnat-g-helskarm:hover,
.kdnat-g-helskarm.is-active { background: #f0f0f1; border-color: #8c8f94; }

/* Projektets fabrikat i steg 1 (3.033). */
.kdnat-g-std { display: grid; grid-template-columns: minmax( 120px, 42% ) 1fr; gap: 4px 8px; align-items: center; margin: 6px 0; }
.kdnat-g-std span { font-size: 12px; color: #50575e; }
.kdnat-g-std select { min-width: 0; max-width: 100%; }

/* Markerad detektor i steg 5 (3.034). */
.kdnat-g-markerad {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #f0b849;
	border-left: 4px solid #dba617;
	border-radius: 4px;
	background: #fcf9e8;
}
.kdnat-g-markerad-rubrik { margin-bottom: 6px; }
.kdnat-g-markerad .kdnat-g-etikett { margin: 6px 0; }
.kdnat-g-markerad select { width: 100%; max-width: 100%; }

/* ---- Nätverksguidens egna delar (1.0.0) ---- */

.kdnat-g-menyval + .kdnat-helskarm-rad {
	margin-left: 8px;
}

#kdnat-app.kdnat-enkelt .kdnat-status {
	display: none;
}

.kdnat-g-status {
	padding: 6px 16px;
	border-top: 1px solid #f0f0f1;
	font-size: 12px;
	color: #3c434a;
	background: #f6f7f7;
	min-height: 18px;
}

.kdnat-g-status:empty {
	display: none;
}

.kdnat-g-markerad {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid #f0a202;
	border-radius: 4px;
	background: #fffaf0;
}

.kdnat-g-markerad .kdnat-egenskaper-rubrik {
	font-size: 14px;
}

.kdnat-g-rack {
	list-style: none;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.kdnat-g-poe {
	display: block;
	height: 5px;
	margin: 4px 0 2px;
	border-radius: 3px;
	background: #e2e4e7;
	overflow: hidden;
}

.kdnat-g-poe span {
	display: block;
	height: 100%;
	background: #2271b1;
}

.kdnat-issue--fel .kdnat-g-poe span { background: #b3261e; }
.kdnat-issue--varning .kdnat-g-poe span { background: #dba617; }

.kdnat-g-ipplan {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 10px;
}

.kdnat-g-tips {
	margin: 10px 0 10px 18px;
	padding: 0;
}

.kdnat-g-dok .kdnat-g-knapp {
	flex: 1 1 45%;
}

.kdnat-g-rumrad .kdnat-g-falt {
	min-width: 0;
}

.kdnat-g-kontroller {
	margin-top: 10px;
}

body.kdnat-maximerad #kdnat-app .kdnat-g-panel {
	max-height: none;
}

.kdnat-g-rumlista .kdnat-g-rumrad {
	flex-wrap: wrap;
}

.kdnat-g-rumlista .kdnat-g-rumrad > :first-child {
	flex: 1 1 100%;
}

/* 3.111: Nästa spärrad tills steget är gjort (som i kameran). */
.kdnat-g-knapp:disabled,
.kdnat-g-knapp--primar:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.kdnat-g-fotram {
	flex: 0 0 auto;
	border-top: 1px solid #dcdcde;
	background: #fff;
}

.kdnat-g-fotram .kds-sparr {
	padding: 8px 16px 0;
}

.kdnat-g-fotram .kdnat-g-fot {
	border-top: 0;
}

/* Färgen följer verktyget (#0e7a6d) i guidens knappar och stegrad. */
#kdnat-app { --kds-farg: #0e7a6d; --kds-ljus: #e2f3f0; }

/* 3.111: bladraden i raden ovanför ritytan – dold tills det finns blad. */
#kdnat-app .kdnat-sheets[hidden] { display: none !important; }
#kdnat-app .kdnat-ritytans-rad { padding: 6px 8px; background: #fff; border-bottom: 1px solid #f0f0f1; }
#kdnat-app .kdnat-ritytans-rad .kdnat-sheets { display: inline-flex; align-items: center; gap: 4px; }

/* 3.111: dolda knappar (Tillbaka på steg 1, Nästa på sista steget) ska vara dolda. */
#kdnat-app .kdnat-g-knapp[hidden] { display: none !important; }

/* ------------------------------------------------------------------
 * 3.111: skalet – layout B/F (det gemensamma i sviten, .kds-skal).
 * ---------------------------------------------------------------- */
#kdnat-app.kds-skal { max-width: 1680px; margin-left: auto; margin-right: auto; }
body.kdnat-maximerad #kdnat-app.kds-skal { padding: 0; border: 0; border-radius: 0; background: var(--kds-skal-bg); display: flex; flex-direction: column; }
body.kdnat-maximerad #kdnat-app.kds-skal > .kdnat-layout { flex: 1 1 auto; min-height: 0; }
.kds-skal .kdnat-main { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; }
.kds-skal .kdnat-canvas-wrap { flex: 0 0 auto; position: relative; height: calc(100vh - 250px); min-height: 420px; overflow: hidden; border: 0; border-radius: 0 0 10px 10px; }
body.kdnat-maximerad .kds-skal .kdnat-canvas-wrap { flex: 1 1 auto; height: auto; min-height: 0; }
.kds-skal #kdnat-canvas { width: 100%; height: 100%; }
.kds-skal .kdnat-status { margin: 0; padding: 6px 12px; min-height: 20px; color: var(--kds-farg); border: 0; background: none; }
.kds-skal .kdnat-g-panel { width: auto; max-width: none; flex: none; border: 1px solid var(--kds-skal-kant); }
.kds-skal .kdnat-g-innehall { padding: 16px 18px 8px; }
.kds-skal .kdnat-g-innehall h2 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.kds-skal .kdnat-g-fotram { border-top: 1px solid var(--kds-skal-kant); }
.kds-skal .kdnat-props { width: auto; max-width: none; flex: none; border: 1px solid var(--kds-skal-kant); }
.kds-skal .kdnat-helskarm-knapp { width: 36px; height: 36px; padding: 0; }
.kds-skal #kdnat-autospar { display: none !important; } /* sparstatusen står i infotexten */
.kds-skal .kdnat-main .kds-skal-info { bottom: 44px; } /* skalstocken ligger nere till vänster */
/* Statusraden har fast höjd i skalet – annars hoppar ritytan när ett besked kommer. */
.kds-skal .kdnat-status { display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 4px 8px; height: 44px; min-height: 44px; overflow: hidden; box-sizing: border-box; line-height: 1.35; font-size: 13px; }
