:root { --ink:#1f2a37; --muted:#6b7684; --line:#e3e7ec; --bg:#f6f8f9; --brand:#1d4e5f; --accent:#2f9e6e; --danger:#c2413b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--brand); }
h1 { font-size: 24px; margin: 6px 0 8px; }
h2 { font-size: 17px; margin: 22px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pub-head { background: var(--brand); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pub-brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.pub-head nav { display: flex; gap: 4px; }
.pub-head nav a { color: #d6e9ec; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.pub-head nav a.on, .pub-head nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
.pub-main { width: min(720px, 100%); margin: 0 auto; padding: 18px; flex: 1; }
.pub-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.center { text-align: center; }
.narrow { max-width: 440px; margin: 20px auto; }
.flash { background: #e6f6ee; border: 1px solid #b6e3cc; color: #145c3a; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.flash.error { background: #fdecea; border-color: #f5c2bd; color: #8a201a; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; cursor: pointer; text-decoration: none; font: inherit; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 600; }
.btn.small { padding: 6px 10px; font-size: 14px; }
.btn.wide { width: 100%; padding: 13px; }
.form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; text-align: left; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: normal; }
label.check input { margin-top: 3px; }
input, textarea { font: inherit; font-weight: normal; padding: 11px 12px; border: 1px solid #cfd6dd; border-radius: 10px; width: 100%; background: #fff; }
input[type=checkbox], input[type=radio] { width: auto; }
input:focus, textarea:focus { outline: 2px solid #9fd3c7; border-color: var(--accent); }
input.code { text-align: center; font-size: 28px; letter-spacing: 8px; font-variant-numeric: tabular-nums; }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 14px; font-size: 13px; counter-reset: s; }
.steps li { flex: 1; padding: 6px 0; border-top: 3px solid var(--line); color: var(--muted); counter-increment: s; }
.steps li::before { content: counter(s) ". "; }
.steps li.done { border-color: #9fd3c7; }
.steps li.on { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.back { display: inline-block; margin-bottom: 4px; text-decoration: none; font-size: 14px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
a.item:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.item.dim { color: var(--muted); }
.item .bar { width: 5px; align-self: stretch; border-radius: 3px; }
.item .grow, .grow { flex: 1; min-width: 0; }
.item .meta { text-align: right; font-size: 14px; white-space: nowrap; }
.item .chev { font-size: 24px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { padding: 8px 14px; border: 1px solid #cfd6dd; border-radius: 99px; text-decoration: none; color: var(--ink); background: #fff; font-size: 14px; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.weeknav { display: flex; justify-content: space-between; margin: 6px 0; }
.weeknav a { text-decoration: none; font-weight: 600; }
.day h2 { margin-top: 18px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { width: 100%; padding: 10px 0; border: 1px solid #b6e3cc; background: #effaf4; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; color: #145c3a; }
.slot:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.summary div { display: flex; flex-direction: column; font-size: 14px; }
.ok { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 0 auto 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 42px; color: #d5dbe1; cursor: pointer; font-weight: normal; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f5b301; }
.stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
.starline { --r: 5; display: inline-block; font-size: 20px; letter-spacing: 2px; background: linear-gradient(90deg, #f5b301 calc(var(--r) / 5 * 100%), #d5dbe1 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-big .starline { font-size: 26px; }
.review p { margin: 6px 0; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; } h1 { font-size: 21px; } }
label.chip { display: inline-flex; flex-direction: row; gap: 6px; font-weight: normal; }
.waitlist-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.waitlist-cta span { font-weight: 600; }
@media (max-width: 480px) { .waitlist-cta .btn { width: 100%; } }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; }
.review .reply { margin-top: 10px; padding: 10px 12px; background: #f3f7f5; border-left: 3px solid var(--accent); border-radius: 6px; font-size: 14px; }
.review .reply p { margin: 4px 0 0; }
details.cat { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
details.cat > summary { padding: 14px 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280; transform: rotate(45deg); transition: transform .15s; margin: 0 4px 4px 12px; }
details.cat[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
details.cat > summary .muted { margin-left: auto; }
details.cat > .list { padding: 0 10px 10px; }
.item .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item.svc { position: relative; }
.item.svc .svc-link { color: inherit; text-decoration: none; }
.item.svc .svc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.item .desc { white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.item .desc.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.item .more { position: relative; z-index: 2; background: none; border: 0; padding: 4px 0 0; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.item .more:hover { text-decoration: underline; }
details.about { margin: -4px 0 14px; }
details.about summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; }
details.about p { white-space: pre-line; margin: 8px 0 0; color: #374151; }

/* Gavekort og klippekort */
.card-shop { margin: 24px 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.shop-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.shop-card:hover { border-color: #2e7d6e; }
.shop-card.on { border-color: #2e7d6e; box-shadow: 0 0 0 2px #2e7d6e inset; }
.shop-card input { position: absolute; opacity: 0; pointer-events: none; }
.shop-title { font-weight: 600; }
.shop-price { font-size: 1.4em; font-weight: 700; color: #2e7d6e; }
.card-order { margin-top: 28px; max-width: 520px; }
.card-order .picked { padding: 10px 12px; background: #f3f7f6; border-radius: 8px; margin-bottom: 8px; }
.error-text { color: #b3261e !important; }
[hidden] { display: none !important; }

/* Flere behandlinger */
.add-more .chips { margin-top: 8px; }
.add-more .chip .muted { font-size: .85em; }
.chosen-list { list-style: none; padding: 0; margin: 8px 0; }
.chosen-list li { padding: 4px 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }

/* Valg af login-metode */
.login-tabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 14px}
.login-tabs button{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.login-tabs button.on{background:var(--brand,#2f7d79);border-color:var(--brand,#2f7d79);color:#fff}
.login-pane input{margin-bottom:8px}

.quick-logins{display:flex;flex-direction:column;gap:8px;margin:6px 0 4px}
.quick-logins .btn{justify-content:center}
.qb-mitid{background:#0060e6;border-color:#0060e6;color:#fff}
.qb-apple{background:#000;border-color:#000;color:#fff}
.or{display:flex;align-items:center;gap:10px;color:#9ca3af;font-size:13px;margin:12px 0}
.or::before,.or::after{content:"";flex:1;border-top:1px solid #e5e7eb}

.chip-emp{display:inline-flex;align-items:center;gap:6px;padding-left:4px}

/* Tillægsydelser */
.addon-box{background:#f0fdfa;border:1px solid #99d6cc;border-radius:12px;padding:14px 16px;margin:12px 0 16px}
.addon-box h2{font-size:17px;margin:0 0 10px}
.addon-list{display:grid;gap:8px}
.addon{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;text-decoration:none;color:inherit}
.addon:hover{border-color:var(--brand,#2f7d79)}
.addon.on{border-color:var(--brand,#2f7d79);box-shadow:0 0 0 2px rgba(47,125,121,.25)}
.addon-check{flex:none;width:26px;height:26px;border-radius:50%;border:2px solid var(--brand,#2f7d79);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--brand,#2f7d79)}
.addon.on .addon-check{background:var(--brand,#2f7d79);color:#fff}
.addon-text{display:flex;flex-direction:column;gap:2px}

/* Tilføj til kalender */
.cal-add{margin:16px auto;max-width:520px;text-align:center}
.cal-add-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.cal-add-btns .btn{justify-content:center;text-align:center;font-size:14px}
@media (max-width:520px){.cal-add-btns{grid-template-columns:1fr}}

/* Kalender med ledige tider */
.cal{background:#fff;border:1px solid var(--line,#e5e7eb);border-radius:14px;padding:12px;margin:14px 0;max-width:460px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cal-title{font-size:17px;text-transform:capitalize}
.cal-nav{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:10px;width:38px;height:38px;font-size:20px;cursor:pointer}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-dow span{text-align:center;font-size:12px;color:#6b7280;padding:2px 0}
.cal-day{position:relative;aspect-ratio:1;border:0;border-radius:10px;background:transparent;font:inherit;font-size:15px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:inherit}
.cal-day.none,.cal-day:disabled{color:#c2c7cc;cursor:default}
.cal-day.free{background:#ecf8f3;color:#0f5132;font-weight:600}
.cal-day.free:hover{background:#d6f1e5}
.cal-day.sel{background:#1f9d74!important;color:#fff!important}
.cal-day.sel .cal-dot{background:#fff}
.cal-day.loading span{opacity:.4}
.cal-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#1f9d74}
.cal-legend{margin:8px 2px 0}
@media (min-width:900px){.cal{float:left;margin-right:24px;width:420px}#cal-slots{overflow:hidden}}

/* Valg af behandler: billede med navnet under */
.emp-pick { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: 6px 0 12px; scroll-snap-type: x proximity; }
.emp-opt { flex: 0 0 auto; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; border: 2px solid transparent; background: #fff;
    text-decoration: none; color: inherit; text-align: center; scroll-snap-align: start; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: border-color .15s, transform .15s; }
.emp-opt:hover { transform: translateY(-1px); }
.emp-opt.on { border-color: var(--emp, #2f7d79); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.emp-pic { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 3px var(--emp, #e5e7eb); }
.emp-pic img, .emp-pic span { width: 72px !important; height: 72px !important; }
.emp-any { background: #f3f4f6; font-size: 30px; box-shadow: 0 0 0 3px #e5e7eb; }
.emp-name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.emp-title { font-size: .75rem; color: #6b7280; line-height: 1.2; margin-top: -3px; }
.app-offer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 1px solid #cfe3e3; background: #f0f8f8; border-radius: 12px; padding: 10px 12px; margin: 12px 0; }
.app-offer[hidden] { display: none; }
.app-offer > span { flex: 1 1 260px; }

/* Kampagnetilbud */
.offer-banner { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 14px; margin: 0 0 12px; border-radius: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; text-decoration: none; }
.offer-banner span { margin-left: auto; font-weight: 600; }
.offer-hero img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; }
.offer-code { display: inline-block; font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; padding: 8px 16px; border: 2px dashed #ea580c; border-radius: 10px; color: #9a3412; background: #fff7ed; }
