/* JM Ring op (Dansk Fliserens) – ATTRAP 26/11-2026 */
.jm-ro { --ro-groen: #1F7D55; --ro-groen-lys: #E8F3EE; --ro-kant: #D5DED9; --ro-tekst: #1B2A22;
	max-width: 640px; margin: 24px auto; padding: 24px; background: #fff; border: 1px solid var(--ro-kant);
	border-radius: 14px; color: var(--ro-tekst); font-family: Figtree, system-ui, sans-serif; box-sizing: border-box; }
.jm-ro *, .jm-ro *::before, .jm-ro *::after { box-sizing: border-box; }
.jm-ro:focus { outline: none; }
.jm-ro .jm-ro-h { margin: 0 0 6px; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--ro-tekst); }
.jm-ro .jm-ro-sub { margin: 0 0 18px; font-size: 16px; line-height: 1.45; }
.jm-ro-dage { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.jm-ro .jm-ro-dag { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 84px; min-height: 56px;
	padding: 8px 12px; border: 1px solid var(--ro-kant); border-radius: 10px; background: #fff; color: var(--ro-tekst);
	font: inherit; cursor: pointer; }
.jm-ro .jm-ro-dag[aria-selected="true"] { background: var(--ro-groen); border-color: var(--ro-groen); color: #fff; }
.jm-ro-dag-navn { font-weight: 700; font-size: 15px; }
.jm-ro-dag-dato { font-size: 13px; }
.jm-ro-tider { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.jm-ro .jm-ro-tid { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px;
	padding: 6px 8px; border: 1px solid var(--ro-kant); border-radius: 10px; background: #fff; color: var(--ro-tekst);
	font: 600 16px/1.2 Figtree, system-ui, sans-serif; cursor: pointer; }
.jm-ro .jm-ro-tid small { font-weight: 500; font-size: 12px; color: #8A4B00; margin-top: 2px; }
/* Temaet farver knapper ved hover/fokus (hvid tekst) – derfor sættes farverne eksplicit i alle tilstande. */
.jm-ro .jm-ro-tid:hover, .jm-ro .jm-ro-tid:focus, .jm-ro .jm-ro-dag:hover, .jm-ro .jm-ro-dag:focus { border-color: var(--ro-groen); background: #fff; color: var(--ro-tekst); }
.jm-ro .jm-ro-tid[aria-pressed="true"], .jm-ro .jm-ro-tid[aria-pressed="true"]:hover, .jm-ro .jm-ro-tid[aria-pressed="true"]:focus { background: var(--ro-groen); border-color: var(--ro-groen); color: #fff; }
.jm-ro .jm-ro-tid[aria-pressed="true"] small { color: #fff; }
.jm-ro .jm-ro-dag[aria-selected="true"]:hover, .jm-ro .jm-ro-dag[aria-selected="true"]:focus { background: var(--ro-groen); color: #fff; }
.jm-ro .jm-ro-knap:hover, .jm-ro .jm-ro-knap:focus { background: #176345; color: #fff; }
.jm-ro .jm-ro-link:hover, .jm-ro .jm-ro-link:focus { background: none; color: var(--ro-groen); }
.jm-ro button:focus-visible, .jm-ro input:focus-visible { outline: 3px solid #F2C94C; outline-offset: 2px; }
.jm-ro-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ro-kant); }
.jm-ro-valgt { margin: 0 0 12px; font-weight: 700; }
.jm-ro-felter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jm-ro-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.jm-ro-form input { min-height: 48px; padding: 10px 12px; border: 1px solid #9AA8A0; border-radius: 8px; font: 16px Figtree, system-ui, sans-serif; color: var(--ro-tekst); background: #fff; }
.jm-ro .jm-ro-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jm-ro .jm-ro-knap { margin-top: 14px; width: 100%; min-height: 52px; border: 0; border-radius: 30px; background: var(--ro-groen);
	color: #fff; font: 700 17px Figtree, system-ui, sans-serif; cursor: pointer; }
.jm-ro .jm-ro-knap:disabled { opacity: .6; cursor: wait; }
.jm-ro-status { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; }
.jm-ro-fod { margin: 8px 0 0; font-size: 14px; color: #4A5A51; }
.jm-ro-fod a { color: var(--ro-groen); font-weight: 700; }
.jm-ro-ok p { font-size: 17px; line-height: 1.5; }
.jm-ro .jm-ro-link { padding: 0; border: 0; background: none; color: var(--ro-groen); font: 600 15px Figtree, system-ui, sans-serif; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) {
	.jm-ro { padding: 18px 16px; border-radius: 12px; }
	.jm-ro .jm-ro-h { font-size: 21px; }
	.jm-ro-felter { grid-template-columns: 1fr; }
	.jm-ro-tider { grid-template-columns: repeat(2, 1fr); }
}
/* Fold-ud-boksen «Vil du ringes op?» (forsiden under heroen + [jm_ring_op_fold]) */
.jm-ro-fold-wrap { padding: 16px 20px 0; }
.jm-ro-fold { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #D5DED9; border-radius: 14px;
	color: #1B2A22; font-family: Figtree, system-ui, sans-serif; box-shadow: 0 1px 3px rgba(27, 42, 34, .06); }
.jm-ro-fold > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 14px;
	list-style: none; cursor: pointer; }
.jm-ro-fold > summary::-webkit-details-marker { display: none; }
.jm-ro-fold > summary:focus-visible { outline: 3px solid #F2C94C; outline-offset: 2px; }
.jm-ro-fold-ikon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E8F3EE; }
.jm-ro-fold-ikon svg { width: 20px; height: 20px; fill: #1F7D55; }
.jm-ro-fold-tekst { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.jm-ro-fold-tekst strong { font-size: 17px; font-weight: 700; }
.jm-ro-fold-tekst span { font-size: 14px; color: #4A5A51; }
.jm-ro-fold > summary:hover strong { color: #1F7D55; }
.jm-ro-fold-pil { flex: none; width: 10px; height: 10px; margin: 0 6px 4px; border-right: 2px solid #1F7D55; border-bottom: 2px solid #1F7D55;
	transform: rotate(45deg); transition: transform .2s; }
.jm-ro-fold[open] .jm-ro-fold-pil { transform: rotate(-135deg); margin-bottom: -4px; }
.jm-ro-fold .jm-ro { max-width: none; margin: 0; padding: 18px 16px; border: 0; border-top: 1px solid #D5DED9; border-radius: 0 0 14px 14px; }
@media (prefers-reduced-motion: reduce) { .jm-ro-fold-pil { transition: none; } }
/* Hjørneboksen nederst til højre (hjoerne.php) */
.jm-ro-hj { position: fixed; right: 20px; bottom: 20px; z-index: 9980; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
	font-family: Figtree, system-ui, sans-serif; color: #1B2A22; }
.jm-ro-hj *, .jm-ro-hj *::before, .jm-ro-hj *::after { box-sizing: border-box; }
.jm-ro-hj .jm-ro-hj-knap { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 20px 6px 6px; border: 0; border-radius: 30px;
	background: #1F7D55; color: #fff; font: 700 16px/1.2 Figtree, system-ui, sans-serif; cursor: pointer;
	box-shadow: 0 6px 20px rgba(27, 42, 34, .22); }
.jm-ro-hj .jm-ro-hj-knap:hover, .jm-ro-hj .jm-ro-hj-knap:focus { background: #176345; color: #fff; }
.jm-ro-hj .jm-ro-hj-knap:focus-visible, .jm-ro-hj .jm-ro-hj-luk:focus-visible { outline: 3px solid #F2C94C; outline-offset: 2px; }
.jm-ro-hj-knap-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.jm-ro-hj-knap-ikon svg { width: 20px; height: 20px; fill: #1F7D55; }
.jm-ro-hj.er-aaben .jm-ro-hj-knap { display: none; }
.jm-ro-hj-panel { width: 400px; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain;
	background: #fff; border: 1px solid #D5DED9; border-radius: 16px; box-shadow: 0 12px 40px rgba(27, 42, 34, .25); }
.jm-ro-hj-panel[hidden] { display: none; }
.jm-ro-hj-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
	background: #fff; border-bottom: 1px solid #D5DED9; }
.jm-ro-hj-top strong { flex: 1; font-size: 18px; font-weight: 700; }
.jm-ro-hj .jm-ro-hj-luk { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #F1F4F2; color: #1B2A22;
	font: 400 26px/1 system-ui, sans-serif; cursor: pointer; }
.jm-ro-hj .jm-ro-hj-luk:hover, .jm-ro-hj .jm-ro-hj-luk:focus { background: #E2E8E4; color: #1B2A22; }
.jm-ro-hj .jm-ro { max-width: none; margin: 0; padding: 16px; border: 0; border-radius: 0; }
.jm-ro-hj .jm-ro-tider { grid-template-columns: repeat(2, 1fr); }
.jm-ro-hj .jm-ro-felter { grid-template-columns: 1fr; }
@media (max-width: 767px) {
	/* Over kontaktbjælken (72 px); kun ikonet */
	.jm-ro-hj { right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); }
	.jm-ro-hj .jm-ro-hj-knap { padding: 6px; }
	.jm-ro-hj-knap-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.jm-ro-hj.er-aaben { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 9995; }
	.jm-ro-hj-panel { width: 100%; max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
}
