/* Lokal Helhet Upptäckarkartan – Skattjakter
 * v0.21.198
 * Separat fil för cache-stabilitet.
 */

.lh-mina-upptackter-skattjakter{display:grid;gap:12px}
.lh-hunt-public-card{display:grid;gap:10px;padding:12px;border:1px solid #ddd;border-radius:12px;background:#fff}
.lh-hunt-public-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.lh-hunt-public-head>span{font-size:12px;color:#666;white-space:nowrap}
.lh-hunt-public-card>p{margin:0;color:#555}
.lh-hunt-public-stops{display:grid;gap:8px}
.lh-hunt-public-stop{display:grid;gap:8px;padding:10px;border:1px solid #e3e3e3;border-radius:10px;background:#fafafa;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}

.lh-hunt-stop-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.lh-hunt-stop-top>span{font-size:12px;color:#666}
.lh-hunt-public-stop p,.lh-hunt-reveal{margin:0;font-size:14px;line-height:1.45}
.lh-hunt-loading,.lh-hunt-empty{padding:14px;border:1px dashed #ddd;border-radius:10px;background:#fafafa}
.lh-hunt-gps-check,.lh-hunt-complete{justify-self:start}

.lh-hunt-marker-toggle{
	display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;
	min-height:42px;margin:0 0 10px;padding:8px 10px;border:1px solid #ddd;border-radius:9px;
	background:#fff;color:#2b2b2b;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:left
}
.lh-hunt-marker-toggle.aktiv{border-color:#b9dbe3;background:#f3fafb}
.lh-hunt-marker-toggle-text{display:flex;align-items:center;min-width:0;gap:5px}
.lh-hunt-marker-toggle-icon{line-height:1;font-size:14px}
.lh-hunt-marker-toggle-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#f0f0f0;color:#555;font-size:10px;font-weight:700}
.lh-hunt-marker-toggle-switch{display:flex;align-items:center;gap:6px;flex:0 0 auto;position:relative;width:54px;height:26px;padding:0 7px 0 28px;box-sizing:border-box;border-radius:14px;background:#ddd;transition:.18s ease}
.lh-hunt-marker-toggle-knob{position:absolute;left:4px;top:4px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.18s ease}
.lh-hunt-marker-toggle-status{font-size:9px;font-weight:700;color:#555}
.lh-hunt-marker-toggle.aktiv .lh-hunt-marker-toggle-switch{background:#b9dbe3;padding-left:7px;padding-right:28px}
.lh-hunt-marker-toggle.aktiv .lh-hunt-marker-toggle-knob{left:32px}
.lh-hunt-marker-toggle.aktiv .lh-hunt-marker-toggle-status{color:#234a54}

.lh-hunt-small-marker-wrap{background:transparent!important;border:0!important;cursor:pointer!important}
.lh-hunt-small-marker{
	width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;
	background:#fff;border:1px solid rgba(0,0,0,.35);box-shadow:0 1px 5px rgba(0,0,0,.28);
	cursor:pointer;pointer-events:auto
}
.lh-hunt-small-marker-glyph{display:block;font-size:12px;line-height:1;transform:translateY(-.5px);pointer-events:none}
.lh-hunt-small-marker-img{display:block;width:16px;height:16px;object-fit:contain;pointer-events:none}
.lh-hunt-small-marker.klar{border-color:rgba(161,125,28,.45)}
.lh-hunt-card-status{display:inline-flex;align-items:center;gap:4px}
.lh-hunt-card-status-icon{width:16px;height:16px;object-fit:contain}
.lh-mina-upptackter-skattjakt-rubrik{text-align:center}
.lh-mina-upptackter-skattjakt-ikon{display:block;font-size:34px;line-height:1;margin:4px auto 8px}

@media (max-width:767px){
	.lh-hunt-public-card{padding:10px}
	.lh-hunt-public-stop{padding:10px}
}


/* v0.21.199 – välj jakt + stopp-slide */
.lh-hunt-list-intro{
	display:grid;
	gap:4px;
	margin:0 0 10px;
	padding:10px 2px;
}
.lh-hunt-list-intro>span{
	color:#666;
	font-size:13px;
	line-height:1.35;
}

.lh-hunt-select-card{
	display:grid;
	gap:5px;
	width:100%;
	margin:0 0 9px;
	padding:13px;
	border:1px solid #ddd;
	border-radius:12px;
	background:#fff;
	color:inherit;
	font:inherit;
	text-align:left;
	cursor:pointer;
}
.lh-hunt-select-card:hover,
.lh-hunt-select-card:focus-visible{
	border-color:#198ca2;
	box-shadow:0 0 0 2px rgba(25,140,162,.10);
}
.lh-hunt-select-card>strong{font-size:15px}
.lh-hunt-select-card>span:not(.lh-hunt-select-action){
	color:#555;
	font-size:13px;
	line-height:1.35;
}
.lh-hunt-select-card>small{color:#666}
.lh-hunt-select-action{
	margin-top:3px;
	font-weight:700;
	color:#47606a;
}

.lh-hunt-active-summary{
	display:grid;
	gap:9px;
}
.lh-hunt-active-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
}
.lh-hunt-active-head>strong{font-size:16px}
.lh-hunt-change{
	border:0;
	background:transparent;
	padding:4px 0;
	font:inherit;
	font-size:12px;
	cursor:pointer;
	color:#555;
}
.lh-hunt-active-progress{
	font-size:13px;
	color:#555;
}
.lh-hunt-active-summary>p{
	margin:0;
	font-size:13px;
	line-height:1.4;
	color:#555;
}
.lh-hunt-active-hint{
	padding:9px 10px;
	border-radius:9px;
	background:#f7f7f7;
	color:#555!important;
}

.lh-hunt-stop-slide{
	position:absolute;
	z-index:1900;
	top:0;
	right:0;
	bottom:0;
	width:min(430px,42%);
	box-sizing:border-box;
	padding:18px;
	overflow:auto;
	background:#fff;
	border-left:1px solid #e1e1e1;
	box-shadow:-8px 0 24px rgba(0,0,0,.10);
	font-family:var(--lh-karta-typsnitt,inherit);
}
.lh-hunt-stop-slide[hidden]{display:none!important}
.lh-hunt-stop-slide-top{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:10px;
	margin-bottom:18px;
}
.lh-hunt-stop-slide-back{
	border:0;
	background:transparent;
	padding:0;
	font:inherit;
	cursor:pointer;
	text-align:left;
}
.lh-hunt-stop-slide-close{
	flex:0 0 auto;
	width:42px;
	height:42px;
	border:1px solid #ddd;
	border-radius:50%;
	background:#f7f7f7;
	font-size:20px;
	line-height:1;
	cursor:pointer;
}
.lh-hunt-stop-slide-status{
	display:inline-flex;
	align-items:center;
	margin-bottom:8px;
	padding:5px 8px;
	border-radius:999px;
	background:#f3f7f8;
	font-size:12px;
	font-weight:700;
}
.lh-hunt-stop-slide h3{
	margin:0 0 14px;
	font-size:22px;
	line-height:1.2;
}
.lh-hunt-stop-slide p{
	margin:5px 0 16px;
	font-size:15px;
	line-height:1.5;
}
.lh-hunt-stop-label{
	display:block;
	margin-top:10px;
	font-size:13px;
}
.lh-hunt-stop-message{
	margin:0 0 14px;
	padding:10px 12px;
	border-radius:9px;
	background:#f3fafb;
	font-size:13px;
}
.lh-hunt-slide-primary{
	margin-top:8px;
	width:auto;
	min-height:40px;
	padding:8px 13px;
}

@media (max-width:767px){
	.lh-hunt-stop-slide{
		width:100%;
		top:0;
		right:0;
		bottom:0;
		border-left:0;
	}
}


/* v0.21.200 – Poäng & märken */
.lh-mina-upptackter-poang-rubrik{text-align:center}
.lh-mina-upptackter-poang-ikon{display:block;font-size:34px;line-height:1;margin:4px auto 8px}
.lh-mina-upptackter-poang{display:grid;gap:12px}
.lh-points-total-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #ddd;border-radius:12px;background:#fff}
.lh-points-total-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#f5f5f5;font-size:24px}
.lh-points-total-card>div{display:grid;gap:2px}
.lh-points-total-card small{color:#666}
.lh-points-total-card strong{font-size:28px;line-height:1}
.lh-points-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lh-points-stats-grid>div{display:grid;gap:3px;padding:11px;border:1px solid #e1e1e1;border-radius:10px;background:#fafafa}
.lh-points-stats-grid strong{font-size:20px}
.lh-points-stats-grid span{font-size:12px;color:#666}
.lh-points-section-title{display:grid;gap:2px;margin-top:4px}
.lh-points-section-title>span{font-size:12px;color:#666}
.lh-points-hunt-list{display:grid;gap:7px}
.lh-points-hunt-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;border:1px solid #e1e1e1;border-radius:10px;background:#fff}
.lh-points-hunt-row>div:first-child{display:grid;gap:3px}
.lh-points-hunt-row span{font-size:12px;color:#666}
.lh-points-hunt-value{display:grid;justify-items:end;gap:3px;flex:0 0 auto}
.lh-points-hunt-complete{font-size:11px!important}
.lh-points-badge-preview{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e1e1e1;border-radius:10px;background:#fff}
.lh-points-badge-preview>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#f5f5f5;font-size:20px}
.lh-points-badge-preview>div{display:grid;gap:2px}
.lh-points-badge-preview small{color:#666}


/* v0.21.202 – tydligare jaktval och mobilmarginaler */
.lh-hunt-all-title{
	display:grid;
	gap:2px;
	margin-top:6px;
	padding-top:10px;
	border-top:1px solid #ececec;
}
.lh-hunt-all-title>span{
	font-size:12px;
	color:#666;
}
.lh-hunt-all-list{
	display:grid;
	gap:7px;
}
.lh-hunt-all-item{
	display:grid;
	grid-template-columns:1fr auto;
	grid-template-areas:
		"name state"
		"meta state";
	align-items:center;
	gap:2px 10px;
	width:100%;
	padding:10px 11px;
	border:1px solid #e1e1e1;
	border-radius:10px;
	background:#fff;
	color:inherit;
	font:inherit;
	text-align:left;
	cursor:pointer;
}
.lh-hunt-all-item>strong{grid-area:name}
.lh-hunt-all-item>span{grid-area:meta;font-size:12px;color:#666}
.lh-hunt-all-item>small{grid-area:state;font-size:11px;color:#666}
.lh-hunt-all-item.aktiv{
	border-color:#b9dbe3;
	background:#f3fafb;
}
.lh-hunt-all-item.aktiv>small{
	font-weight:700;
	color:#234a54;
}

/* Håll alla skattjakts- och poängblock innanför panelens kanter. */
.lh-mina-upptackter-skattjakter,
.lh-mina-upptackter-poang{
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	min-width:0;
}
.lh-hunt-active-summary,
.lh-points-total-card,
.lh-points-stats-grid,
.lh-points-hunt-list,
.lh-points-badge-preview,
.lh-hunt-all-list{
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	min-width:0;
}
.lh-points-hunt-row,
.lh-points-badge-preview,
.lh-hunt-marker-toggle,
.lh-hunt-select-card,
.lh-hunt-all-item{
	max-width:100%;
	box-sizing:border-box;
}

@media (max-width:767px){
	.lh-mina-upptackter-del[data-upptackt-del="skattjakter"],
	.lh-mina-upptackter-del[data-upptackt-del="poang"]{
		padding-left:14px;
		padding-right:14px;
		box-sizing:border-box;
	}

	.lh-mina-upptackter-del[data-upptackt-del="skattjakter"] .lh-mina-upptackter-tillbaka,
	.lh-mina-upptackter-del[data-upptackt-del="poang"] .lh-mina-upptackter-tillbaka{
		margin-left:0;
	}

	.lh-mina-upptackter-skattjakt-rubrik,
	.lh-mina-upptackter-poang-rubrik{
		padding-left:4px;
		padding-right:4px;
		box-sizing:border-box;
	}

	.lh-points-stats-grid{
		gap:8px;
	}

	.lh-points-stats-grid>div{
		min-width:0;
		padding:10px;
	}

	.lh-points-hunt-row{
		padding:10px;
	}

	.lh-points-hunt-row>div:first-child{
		min-width:0;
	}

	.lh-points-hunt-row strong,
	.lh-points-hunt-row span{
		overflow-wrap:anywhere;
	}

	.lh-hunt-active-head{
		align-items:flex-start;
	}

	.lh-hunt-active-head>strong{
		min-width:0;
		overflow-wrap:anywhere;
	}

	.lh-hunt-change{
		flex:0 0 auto;
		padding-left:6px;
	}

	.lh-hunt-marker-toggle{
		margin-left:0;
		margin-right:0;
	}

	.lh-hunt-all-item{
		padding:10px;
	}
}


/* v0.21.203 – jämn innerpadding i Skattjakter och Poäng & märken */
.lh-mina-upptackter-del[data-upptackt-del="skattjakter"],
.lh-mina-upptackter-del[data-upptackt-del="poang"]{
	padding-left:18px!important;
	padding-right:18px!important;
	padding-bottom:18px;
	box-sizing:border-box!important;
}

.lh-mina-upptackter-del[data-upptackt-del="skattjakter"] > .lh-mina-upptackter-tillbaka,
.lh-mina-upptackter-del[data-upptackt-del="poang"] > .lh-mina-upptackter-tillbaka{
	margin-left:0!important;
	margin-right:0!important;
}

.lh-mina-upptackter-del[data-upptackt-del="skattjakter"] > .lh-mina-upptackter-delrubrik,
.lh-mina-upptackter-del[data-upptackt-del="poang"] > .lh-mina-upptackter-delrubrik{
	margin-left:0!important;
	margin-right:0!important;
	padding-left:0!important;
	padding-right:0!important;
}

.lh-mina-upptackter-del[data-upptackt-del="skattjakter"] .lh-mina-upptackter-skattjakter,
.lh-mina-upptackter-del[data-upptackt-del="poang"] .lh-mina-upptackter-poang{
	margin-left:0!important;
	margin-right:0!important;
	width:100%!important;
	max-width:100%!important;
	box-sizing:border-box!important;
}

@media (max-width:767px){
	.lh-mina-upptackter-del[data-upptackt-del="skattjakter"],
	.lh-mina-upptackter-del[data-upptackt-del="poang"]{
		padding-left:16px!important;
		padding-right:16px!important;
		padding-bottom:16px;
	}
}


/* v0.21.208 – jaktbild och schema */
.lh-hunt-select-card{grid-template-columns:84px 1fr;align-items:start}
.lh-hunt-select-card:not(:has(.lh-hunt-select-image)){grid-template-columns:1fr}
.lh-hunt-select-image{width:84px;height:84px;object-fit:cover;border-radius:9px}
.lh-hunt-select-body{display:grid;gap:4px;min-width:0}
.lh-hunt-select-status{font-weight:700;color:#47606a!important}
.lh-hunt-select-card.stangd{opacity:.72;cursor:default}
.lh-hunt-active-availability{display:inline-flex;justify-self:start;padding:4px 8px;border-radius:999px;background:#f3f7f8;font-size:11px;font-weight:700;color:#47606a}
@media(max-width:767px){
	.lh-hunt-select-card{grid-template-columns:68px 1fr}
	.lh-hunt-select-image{width:68px;height:68px}
}


/* v0.21.209 – egen bild per skattjaktsstopp */
.lh-hunt-stop-image{
	display:block;
	width:100%;
	max-height:320px;
	object-fit:cover;
	border-radius:12px;
	margin:2px 0 8px;
}


/* v0.21.210 – tydligare datum/tid och större stopptext */
.lh-hunt-stop-schedule{
	display:grid;
	gap:3px;
	padding:10px 12px;
	margin:2px 0 12px;
	border:1px solid #e2e6e8;
	border-radius:10px;
	background:#f7f9fa;
}
.lh-hunt-stop-schedule>strong{
	font-size:15px;
	line-height:1.35;
}
.lh-hunt-stop-schedule>span{
	font-size:16px;
	line-height:1.45;
}

.lh-hunt-stop-slide .lh-hunt-stop-label{
	font-size:17px;
	line-height:1.35;
	font-weight:700;
	margin-top:8px;
}

.lh-hunt-stop-slide .lh-hunt-stop-label + p{
	font-size:18px;
	line-height:1.5;
	margin-top:5px;
	margin-bottom:14px;
}

.lh-hunt-stop-slide h3{
	font-size:26px;
	line-height:1.2;
}

@media(max-width:767px){
	.lh-hunt-stop-slide .lh-hunt-stop-label{
		font-size:16px;
	}
	.lh-hunt-stop-slide .lh-hunt-stop-label + p{
		font-size:17px;
	}
	.lh-hunt-stop-slide h3{
		font-size:24px;
	}
}


/* v0.21.211 – Skattjaktens stoppkort: knappstil, bildfallback och tydligare schema */
.lh-hunt-slide-primary{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:auto;
	min-height:42px;
	padding:9px 16px;
	margin-top:10px;
	border:1px solid #8e9398;
	border-radius:10px;
	background:#fff;
	color:#2b2b2b;
	font:inherit;
	font-size:15px;
	font-weight:500;
	line-height:1.2;
	text-align:center;
	cursor:pointer;
	box-shadow:none;
	transition:background .16s ease,border-color .16s ease,transform .06s ease;
}
.lh-hunt-slide-primary:hover{
	background:#f7f7f7;
}
.lh-hunt-slide-primary:active{
	transform:translateY(1px);
}
.lh-hunt-slide-primary:disabled{
	opacity:.75;
	cursor:default;
}
.lh-hunt-slide-primary:focus-visible{
	outline:2px solid #198ca2;
	outline-offset:2px;
}

.lh-hunt-stop-image{
	display:block;
	width:100%;
	max-width:100%;
	height:auto;
	margin:2px 0 12px;
	border-radius:14px;
	object-fit:cover;
}

.lh-hunt-stop-schedule{
	margin:2px 0 14px;
}


/* v0.21.212 – Skattjakt följer vanliga kundkortets visuella system */

/* Bild överst i kortet, samma känsla som företagets sidopanel. */
.lh-hunt-stop-image-wrap{
	margin:0 -18px 14px;
	overflow:hidden;
	background:#f4f4f4;
}
.lh-hunt-stop-image{
	display:block;
	width:100%;
	height:210px;
	max-height:none;
	margin:0;
	border-radius:0;
	object-fit:cover;
}

/* Poäng/meta efter bilden. */
.lh-hunt-stop-slide-status{
	margin:0 0 8px;
	padding:5px 8px;
	border-radius:999px;
	background:#f3f7f8;
	color:#444;
	font-size:12px;
	font-weight:700;
}

/* Rubrik i samma storleksfamilj som vanliga sidopanelens företagsrubrik. */
.lh-hunt-stop-slide h3{
	margin:8px 0 10px;
	font-size:23px;
	line-height:1.2;
	font-weight:700;
}

/* Datum/tid som metadata – inte en stor fristående specialruta. */
.lh-hunt-stop-schedule{
	display:grid;
	gap:2px;
	margin:0 0 14px;
	padding:0;
	border:0;
	border-radius:0;
	background:transparent;
	color:#444;
}
.lh-hunt-stop-schedule>strong{
	font-size:13px;
	line-height:1.4;
	font-weight:700;
}
.lh-hunt-stop-schedule>span{
	font-size:14px;
	line-height:1.45;
}

/* Ledtråd/information följer samma läsbarhet som företagets projekttext. */
.lh-hunt-stop-slide .lh-hunt-stop-label{
	display:block;
	margin:12px 0 3px;
	font-size:14px;
	line-height:1.45;
	font-weight:700;
}
.lh-hunt-stop-slide .lh-hunt-stop-label + p{
	margin:0 0 18px;
	font-size:15px;
	line-height:1.58;
	color:#333;
}

/* Exakt samma knappfamilj som vanliga kundkort/popup. */
.lh-hunt-slide-primary{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:40px;
	box-sizing:border-box;
	margin-top:8px;
	padding:8px 12px;
	border:0;
	border-radius:8px;
	background:#f1f1f1;
	color:#222;
	font:inherit;
	font-size:12px;
	font-weight:600;
	line-height:1.2;
	text-align:center;
	text-decoration:none;
	cursor:pointer;
	box-shadow:none;
	transform:none;
}
.lh-hunt-slide-primary:hover{
	background:#e8e8e8;
}
.lh-hunt-slide-primary:active{
	transform:none;
}
.lh-hunt-slide-primary:focus-visible{
	outline:3px solid #1f6f82;
	outline-offset:2px;
}
.lh-hunt-slide-primary:disabled{
	opacity:.65;
	cursor:default;
}

/*
 * Mina upptäckter: vanliga åtgärdsknappar använder samma knappfamilj.
 * Stängknapp, switch/toggle och rena text-/navigationsknappar lämnas orörda.
 */
.lh-mina-upptackter-panel .lh-hunt-select-card,
.lh-mina-upptackter-panel .lh-hunt-all-item,
.lh-mina-upptackter-panel .lh-egen-punkt-start,
.lh-mina-upptackter-panel .lh-min-karta-actions button,
.lh-mina-upptackter-panel .lh-min-karta-meny-inline > button:not(.lh-min-karta-start-toggle):not(.lh-min-karta-egna-toggle){
	box-sizing:border-box;
	min-height:40px;
	border:0;
	border-radius:8px;
	background:#f1f1f1;
	color:#222;
	font-family:var(--lh-karta-typsnitt,inherit);
	font-weight:600;
	line-height:1.2;
	box-shadow:none;
}

.lh-mina-upptackter-panel .lh-hunt-select-card:hover,
.lh-mina-upptackter-panel .lh-hunt-all-item:hover,
.lh-mina-upptackter-panel .lh-egen-punkt-start:hover,
.lh-mina-upptackter-panel .lh-min-karta-actions button:hover,
.lh-mina-upptackter-panel .lh-min-karta-meny-inline > button:not(.lh-min-karta-start-toggle):not(.lh-min-karta-egna-toggle):hover{
	background:#e8e8e8;
}

/* Jaktkort får fortfarande behålla sitt innehåll/layout men utan egen blå kontur. */
.lh-mina-upptackter-panel .lh-hunt-select-card,
.lh-mina-upptackter-panel .lh-hunt-all-item{
	padding:10px 12px;
	text-align:left;
}
.lh-mina-upptackter-panel .lh-hunt-all-item.aktiv{
	background:#e8e8e8;
	border:0;
}

/* Toggle är funktionell kontroll och behåller switchdesign, men ramen matchas mjukare. */
.lh-hunt-marker-toggle{
	border:1px solid #ddd;
	border-radius:9px;
	background:#fff;
}

/* Tillbaka-länkar ska fortsatt se ut som navigation, inte åtgärdsknappar. */
.lh-hunt-stop-slide-back,
.lh-hunt-change{
	border:0!important;
	background:transparent!important;
	box-shadow:none!important;
}

/* Responsivt samma bildhöjd som vanliga kundkortets sidopanel. */
@media(max-width:767px){
	.lh-hunt-stop-slide{
		padding:16px;
	}
	.lh-hunt-stop-image-wrap{
		margin:0 -16px 12px;
	}
	.lh-hunt-stop-image{
		height:190px;
	}
	.lh-hunt-stop-slide h3{
		font-size:21px;
	}
	.lh-hunt-stop-slide .lh-hunt-stop-label + p{
		font-size:14.5px;
		line-height:1.55;
	}
}




/* v0.21.218 – datum/tid i jaktkort */
.lh-hunt-select-schedule,
.lh-hunt-all-schedule{
	display:block;
	font-size:12px;
	line-height:1.4;
	color:#555;
	font-weight:500;
}
.lh-hunt-all-item{
	grid-template-areas:
		"name state"
		"geo state"
		"meta state"
		"schedule state";
}
.lh-hunt-all-item>.lh-hunt-all-geo{
	grid-area:geo;
	min-width:0;
	line-height:1.35;
	overflow-wrap:anywhere;
}
.lh-hunt-all-item>.lh-hunt-all-schedule{grid-area:schedule}


/* v0.21.220 – valfri textfärg på jaktkort */
.lh-hunt-select-card[style*="color"] .lh-hunt-select-body,
.lh-hunt-select-card[style*="color"] .lh-hunt-select-body > *,
.lh-hunt-all-item[style*="color"] > *{
	color:var(--lh-hunt-card-text)!important;
}

/* v0.21.225 – serververifierade svar */
.lh-hunt-answer-wrap{display:grid;gap:10px;margin:12px 0 0}
.lh-hunt-answer-control{width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(0,0,0,.18);border-radius:8px;background:#fff;font:inherit;color:inherit;box-sizing:border-box}
.lh-hunt-answer-control:focus{outline:2px solid currentColor;outline-offset:2px}

/* v0.21.232 – stoppöversikt över kartan */
.lh-hunt-stops-open{
	margin-top:2px;
	justify-self:start;
}
.lh-hunt-stops-slide{
	position:absolute;
	z-index:1855;
	top:0;
	right:0;
	bottom:0;
	width:min(430px,42%);
	box-sizing:border-box;
	padding:18px;
	overflow:auto;
	background:#fff;
	border-left:1px solid #e1e1e1;
	box-shadow:-8px 0 24px rgba(0,0,0,.10);
	font-family:var(--lh-karta-typsnitt,inherit);
}
.lh-hunt-stops-slide[hidden]{display:none!important}
.lh-hunt-stops-slide-top{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:10px;
	margin-bottom:18px;
}
.lh-hunt-stops-slide-back{
	border:0;
	background:transparent;
	padding:0;
	font:inherit;
	cursor:pointer;
	text-align:left;
}
.lh-hunt-stops-slide-close{
	flex:0 0 auto;
	width:42px;
	height:42px;
	border:1px solid #ddd;
	border-radius:50%;
	background:#f7f7f7;
	font-size:20px;
	line-height:1;
	cursor:pointer;
}
.lh-hunt-stops-slide-bottom{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-top:18px;
	padding-top:14px;
	padding-bottom:10px;
	border-top:1px solid #e5e5e5;
}
.lh-hunt-stops-slide-bottom-back{
	min-height:42px;
	padding:9px 14px;
	border:1px solid #d7d7d7;
	border-radius:10px;
	background:#fff;
	font:inherit;
	font-weight:600;
	cursor:pointer;
	text-align:left;
}
.lh-hunt-stops-slide-bottom-close{margin-left:auto}
.lh-hunt-stops-slide-bottom-back:focus-visible{
	outline:2px solid currentColor;
	outline-offset:2px;
}
.lh-hunt-stops-slide-heading{display:grid;gap:4px;margin-bottom:14px}
.lh-hunt-stops-slide-heading h3{margin:0;font-size:22px;line-height:1.2}
.lh-hunt-stops-slide-heading p{margin:0;color:#666;font-size:13px}
.lh-hunt-stops-list{display:grid;gap:10px}
.lh-hunt-stops-row{
	display:grid;
	grid-template-columns:34px minmax(0,1fr);
	gap:10px;
	padding:12px;
	border:1px solid #e2e2e2;
	border-radius:11px;
	background:#fff;
	box-sizing:border-box;
}
.lh-hunt-stops-row.hemlig{background:#fafafa}
.lh-hunt-stops-row.klar{border-color:#d8d2bd;background:#fffdf7}
.lh-hunt-stops-row-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:32px;
	height:32px;
	border-radius:50%;
	background:#f3f3f3;
	font-size:17px;
	line-height:1;
}
.lh-hunt-stops-row-icon img{width:20px;height:20px;object-fit:contain}
.lh-hunt-stops-row-body{display:grid;gap:5px;min-width:0}
.lh-hunt-stops-row-body>strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.lh-hunt-stops-row-body>p{margin:0;font-size:13px;line-height:1.45;color:#555}
.lh-hunt-stops-row-body>p span{font-weight:700;color:#333}
.lh-hunt-stops-row-body>small{font-size:12px;font-weight:700;color:#66767d}
.lh-hunt-stops-row-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.lh-hunt-stops-open-stop,
.lh-hunt-stops-show-map{
	min-height:34px;
	padding:6px 10px;
	border:1px solid #d7d7d7;
	border-radius:8px;
	background:#fff;
	font:inherit;
	font-size:12px;
	font-weight:700;
	cursor:pointer;
}
.lh-hunt-stops-show-map{background:#f3fafb;border-color:#cfe4e8}
.lh-hunt-stops-open-stop:focus-visible,
.lh-hunt-stops-show-map:focus-visible,
.lh-hunt-stops-slide-back:focus-visible,
.lh-hunt-stops-slide-close:focus-visible{
	outline:2px solid currentColor;
	outline-offset:2px;
}
@media(max-width:767px){
	.lh-hunt-stops-slide{
		width:100%;
		top:0;
		right:0;
		bottom:0;
		padding:16px;
		border-left:0;
	}
	.lh-hunt-stops-slide-heading h3{font-size:21px}
}
.lh-hunt-stop-map-button{margin:0 0 12px}

/* v0.21.233 – aktiv jakt öppnar stoppöversikten och översikten ligger över Mina upptäckter */
.lh-hunt-all-item.aktiv{cursor:pointer;}


/* v0.21.235 – mobil återgång från ren kartvy till vald skattjakt */
.lh-hunt-map-return{
	display:none;
}
@media(max-width:767px){
	.lh-hunt-map-return{
		position:absolute;
		z-index:1865;
		left:50%;
		bottom:16px;
		transform:translateX(-50%);
		display:inline-flex;
		align-items:center;
		justify-content:center;
		min-height:38px;
		max-width:calc(100% - 32px);
		padding:7px 14px;
		border:1px solid rgba(0,0,0,.16);
		border-radius:999px;
		background:#fff;
		box-shadow:0 5px 18px rgba(0,0,0,.16);
		font:inherit;
		font-size:14px;
		font-weight:700;
		line-height:1.2;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
		cursor:pointer;
		pointer-events:auto;
	}
	.lh-hunt-map-return[hidden]{display:none!important;}
	.lh-hunt-map-return:focus-visible{
		outline:3px solid rgba(25,140,162,.28);
		outline-offset:2px;
	}
}


/* v0.21.247 – Företagskarta: Mina upptäckter som toppknapp i kartytan.
 * Ingen vänsterkontroll används, så knappen konkurrerar inte med zoom/GPS. */
.lh-foretagskarta-public #lokalhelhet-karta .lh-company-discoveries-top{
	position:absolute;
	top:12px;
	left:50%;
	transform:translateX(-50%);
	z-index:1650;
	min-height:42px;
	padding:9px 16px;
	box-shadow:0 2px 10px rgba(0,0,0,.12);
}
.lh-foretagskarta-public #lokalhelhet-karta .lh-company-discoveries-top[hidden]{display:none!important;}
@media(max-width:767px){
	.lh-foretagskarta-public #lokalhelhet-karta .lh-company-discoveries-top{
		top:10px;
		max-width:calc(100% - 120px);
		min-height:40px;
		padding:8px 13px;
	}
}


/* v0.21.248 – samma toppplacering för Mina upptäckter på minimala Kartvyer.
 * Företagskartans befintliga klass behålls för bakåtkompatibilitet. */
.lh-kartvy-minimal #lokalhelhet-karta .lh-compact-discoveries-top{
	position:absolute;
	top:12px;
	left:50%;
	transform:translateX(-50%);
	z-index:1650;
	min-height:42px;
	padding:9px 16px;
	box-shadow:0 2px 10px rgba(0,0,0,.12);
}
.lh-kartvy-minimal #lokalhelhet-karta .lh-compact-discoveries-top[hidden]{display:none!important;}
@media(max-width:767px){
	.lh-kartvy-minimal #lokalhelhet-karta .lh-compact-discoveries-top{
		top:10px;
		max-width:calc(100% - 120px);
		min-height:40px;
		padding:8px 13px;
	}
}

/* v0.21.291 – levande jakt: alla aktuella stopp kan vara klara utan att jakten låses permanent. */
.lh-hunt-current-complete{
	display:inline-flex;
	align-items:center;
	width:max-content;
	max-width:100%;
	padding:5px 9px;
	border-radius:999px;
	background:#f2f7f4;
	font-size:12px;
	font-weight:700;
	line-height:1.2;
}
.lh-hunt-current-complete-box{
	display:flex;
	flex-direction:column;
	gap:3px;
	margin:8px 0;
	padding:10px 12px;
	border-radius:14px;
	background:#f2f7f4;
}
.lh-hunt-current-complete-box strong{font-weight:700;}
.lh-hunt-current-complete-box span{font-size:13px;line-height:1.35;}

/* v0.21.292 – belöning för levande skattjakt */
.lh-hunt-completion-image{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:14px;margin:0 0 12px}.lh-hunt-completion-text p:first-child{margin-top:8px}.lh-hunt-completion-text p:last-child{margin-bottom:0}.lh-hunt-current-complete-box small{display:block;margin-top:8px}.lh-points-badges-title{margin:18px 0 10px}.lh-points-badges{display:grid;gap:10px}.lh-points-badge-card{display:flex;align-items:center;gap:12px;border:1px solid rgba(0,0,0,.1);border-radius:16px;padding:12px;background:#fff}.lh-points-badge-card>img,.lh-points-badge-card>span{width:46px;height:46px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:24px;background:#f5f5f5}.lh-points-badge-card div{display:flex;flex-direction:column;gap:2px}.lh-points-badge-card small{opacity:.72}

/* v0.21.309 – bottennavigationen är sista raden i stopplistan. */
.lh-hunt-stops-list > .lh-hunt-stops-slide-bottom{
	width:100%;
	box-sizing:border-box;
}


/* v0.21.312 – Belöningar visas som egen undersektion inne i Poäng & märken. */
.lh-points-rewards-title{margin-top:10px}
.lh-points-reward-list{display:grid;gap:10px;width:100%;max-width:100%;box-sizing:border-box}
.lh-points-reward-card{display:grid;gap:0;border:1px solid #e1e1e1;border-radius:16px;background:#fff;overflow:hidden;max-width:100%;box-sizing:border-box}
.lh-points-reward-image{display:block;width:100%;max-height:180px;object-fit:cover}
.lh-points-reward-body{display:grid;gap:8px;padding:13px}
.lh-points-reward-head{display:flex;align-items:center;gap:10px}
.lh-points-reward-head>img,.lh-points-reward-head>span{width:42px;height:42px;flex:0 0 42px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#f5f5f5;font-size:21px}
.lh-points-reward-head>div{display:grid;gap:2px;min-width:0}
.lh-points-reward-head small{color:#666}
.lh-points-reward-text{font-size:13px;line-height:1.45;color:#4f4f4f;white-space:pre-line}
.lh-points-reward-bonus{display:inline-flex;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#f2f7f4;color:#405247;font-weight:700}
.lh-points-reward-empty{margin:0}


/* v0.21.315 – mobilfix för vinstutlottning. */
.lh-prize-draw-status{
	display:block;
	width:100%;
	max-width:100%;
	white-space:normal;
	overflow-wrap:anywhere;
	word-break:normal;
	line-height:1.4;
	box-sizing:border-box;
}
.lh-prize-draw-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:auto;
	max-width:100%;
	min-height:44px;
	padding:10px 16px;
	border:1px solid #d7d7d7;
	border-radius:12px;
	background:#fff;
	color:#222 !important;
	font:inherit;
	font-weight:600;
	line-height:1.2;
	white-space:normal;
	text-align:center;
	cursor:pointer;
	box-sizing:border-box;
}
.lh-prize-draw-button:disabled{opacity:.65;cursor:default}
@media (max-width:700px){
	.lh-prize-draw-button{width:100%;}
}


/* v0.21.316 – fysisk vinst: egen bild och tidigt frivilligt deltagarval. */
.lh-hunt-prize-early{margin:0 0 14px;padding:14px;border:1px solid #e2e2e2;border-radius:16px;background:#fff;box-sizing:border-box}
.lh-hunt-prize-early-head{display:flex;align-items:center;gap:10px}
.lh-hunt-prize-early-head>img,.lh-hunt-prize-early-head>span{width:48px;height:48px;flex:0 0 48px;border-radius:14px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#f5f5f5;font-size:22px}
.lh-hunt-prize-early-head>div{display:grid;gap:2px;min-width:0}
.lh-hunt-prize-early-head small{color:#666}
.lh-hunt-prize-early-text{margin:10px 0;line-height:1.45;overflow-wrap:anywhere}


/* v0.21.319 – tydligare aktiva vinstutlottningar i Poäng & märken. */
.lh-prize-draw-card--participating{
  border-color:rgba(91,116,68,.34);
  box-shadow:0 0 0 1px rgba(91,116,68,.06);
}
.lh-prize-draw-active-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:2px 0 8px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef5ec;
  color:#405438;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  white-space:normal;
}


/* v0.21.321 – skjut för att lösa in fysisk vinst. */
.lh-prize-redeem-box{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid #dfe5dc;border-radius:14px;background:#f7faf6;box-sizing:border-box}
.lh-prize-redeem-label{font-weight:700;color:#35462f}
.lh-prize-redeem-slider{width:100%;min-height:44px;margin:0;cursor:grab;accent-color:#6d7b46}
.lh-prize-redeem-slider:active{cursor:grabbing}
.lh-prize-redeem-slider:disabled{opacity:.65;cursor:default}
.lh-prize-redeem-hint{display:block;color:#5d6759;line-height:1.35}

/* v0.21.337 – Län/kommunfilter för skattjaktslistan. */
.lh-hunt-geo-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:12px;border:1px solid rgba(0,0,0,.10);border-radius:16px;background:#fff}
.lh-hunt-geo-filter__note{grid-column:1/-1;font-size:14px;line-height:1.45;color:#555}
.lh-hunt-geo-filter label{display:grid;gap:6px;font-size:14px}
.lh-hunt-geo-filter__select{width:100%;min-height:42px;border:1px solid rgba(0,0,0,.18);border-radius:12px;background:#fff;padding:7px 10px;font:inherit;color:inherit}
.lh-hunt-select-geo{display:block;margin-top:2px;font-size:.92em;opacity:.86}
@media (max-width:767px){.lh-hunt-geo-filter{grid-template-columns:1fr}.lh-hunt-geo-filter__note{grid-column:1}}


/* v0.21.349 – mobil: jaktkort utan överlappning när område visas. */
@media (max-width:767px){
	.lh-hunt-all-item{
		grid-template-columns:minmax(0,1fr) auto;
		grid-template-areas:
			"name state"
			"geo geo"
			"meta meta"
			"schedule schedule";
		align-items:start;
		gap:4px 8px;
	}
	.lh-hunt-all-item>strong,
	.lh-hunt-all-item>span,
	.lh-hunt-all-item>small{
		min-width:0;
	}
	.lh-hunt-all-item>.lh-hunt-all-geo,
	.lh-hunt-all-item>.lh-hunt-all-schedule{
		white-space:normal;
		overflow-wrap:anywhere;
	}
}

/* v0.21.358 – pilar mellan skattjaktsstopp. */
.lh-hunt-card-nav{display:flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;margin-right:8px}
.lh-hunt-card-nav button{width:32px;height:32px;min-width:32px;padding:0;border:1px solid #d9d9d9;border-radius:50%;background:#fff;color:#222;font-size:18px;line-height:1;cursor:pointer}
.lh-hunt-card-nav button[hidden]{display:none!important}
@media (max-width:767px){.lh-hunt-card-nav{gap:6px;margin-right:6px}.lh-hunt-card-nav button{width:30px;height:30px;min-width:30px}}
