/* Medi Pedi Cure: huisstijl uit de aquarelvlinder. Licht is standaard, donker via [data-theme="donker"]. */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #FAF7F0; --side: #F3EEE2; --card: #FFFDF8; --field: #FFFFFF; --line: #E6DECB; --line2: #EFE9DA;
  --tx: #2D3024; --mut: #61644F; --head: #3F4A26;
  --acc: #56692E; --acc-tx: #FFFFFF; --acc-soft: #EAEFD9;
  --gold: #7A5824; --gold-soft: #F6EBD3; --gold-deco: #C9A15A;
  --blue: #3E5C76; --blue-soft: #E4ECF2; --amber: #8A5A00; --amber-soft: #FAEFD5; --red: #A3402B; --red-soft: #F7E2DA;
  --shadow: 0 1px 2px rgba(61,56,36,.05), 0 8px 24px rgba(61,56,36,.06);
  --pop: 0 18px 48px rgba(61,56,36,.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
[data-theme="donker"] {
  --bg: #14160F; --side: #191C14; --card: #1F231A; --field: #181B13; --line: #343A2B; --line2: #272C20;
  --tx: #EEEBDF; --mut: #AEAF9A; --head: #E4E6CF;
  --acc: #B5C77E; --acc-tx: #1A1E12; --acc-soft: #2C3420;
  --gold: #DDB873; --gold-soft: #3A3020;
  --blue: #9DB9D3; --blue-soft: #202C36; --amber: #E8BC63; --amber-soft: #3A2F18; --red: #EE9A86; --red-soft: #3D231D;
  --shadow: 0 1px 2px rgba(0,0,0,.35); --pop: 0 18px 48px rgba(0,0,0,.55);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.45 var(--sans); }
a { color: var(--acc); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
.serif { font-family: var(--serif); font-weight: 600; color: var(--head); }
.muted { color: var(--mut); }
.small { font-size: 13.5px; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-deco); outline-offset: 2px; }

/* ---------------- knoppen en velden */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--tx); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--side); }
.btn.pri { background: var(--acc); border-color: var(--acc); color: var(--acc-tx); }
.btn.pri:hover { filter: brightness(1.06); }
.btn.bad { color: var(--red); border-color: var(--red); }
.btn.sm { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: var(--tx); cursor: pointer; position: relative; text-decoration: none; padding: 0; }
.icon-btn:hover { background: var(--side); }
.icon-btn svg { width: 20px; height: 20px; }
.lnk { border: 0; background: none; color: var(--acc); font-weight: 600; cursor: pointer; padding: 6px 2px; min-height: 36px; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > label, .fld > .lbl { font-size: 13px; font-weight: 600; color: var(--mut); }
.fld small { color: var(--mut); font-size: 12.5px; }
input[type=text], input[type=password], input[type=search], input[type=email], input[type=tel], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--tx); }
textarea { padding: 10px 12px; resize: vertical; min-height: 84px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--acc); margin: 0; flex: 0 0 auto; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1 1 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip svg { width: 16px; height: 16px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--tx);
  font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip.on { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }
.chip.solid.on { background: var(--acc); color: var(--acc-tx); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--side); gap: 2px; flex-wrap: wrap; }
.seg button { min-height: 36px; padding: 0 12px; border-radius: 9px; border: 0; background: transparent; color: var(--mut); font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--card); color: var(--tx); box-shadow: var(--shadow); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--side); cursor: pointer; }
.check b { display: block; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tag { padding: 2px 9px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.r0 { background: var(--acc-soft); color: var(--acc); } .r1 { background: var(--blue-soft); color: var(--blue); }
.r2 { background: var(--amber-soft); color: var(--amber); } .r3 { background: var(--red-soft); color: var(--red); }
.t-med { background: var(--red-soft); color: var(--red); } .t-zorg { background: var(--blue-soft); color: var(--blue); }
.t-verj { background: var(--gold-soft); color: var(--gold); } .t-terug { background: var(--amber-soft); color: var(--amber); }
.err { color: var(--red); font-weight: 600; }
.ok-msg { color: var(--acc); font-weight: 600; }
.banner { padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); }

/* ---------------- app-omkadering */
.app { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 232px; padding: 24px 16px; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; text-decoration: none; color: var(--tx); }
.brand svg { width: 44px; height: 44px; flex: 0 0 44px; }
.brand b { display: block; white-space: nowrap; font: 600 21px/1.1 var(--serif); color: var(--head); }
.brand small { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; color: var(--tx); font-weight: 500; }
.nav a:hover { background: var(--card); }
.nav a.on { background: var(--acc-soft); color: var(--acc); font-weight: 600; }
.nav svg { width: 20px; height: 20px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.side-foot img { width: 100%; max-width: 200px; mix-blend-mode: multiply; opacity: .55; }
[data-theme="donker"] .side-foot img { display: none; }
.main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 32px; background: var(--card); border-bottom: 1px solid var(--line); }
.search { flex: 1 1 260px; max-width: 440px; position: relative; }
.search input { padding-left: 42px; }
.search > svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--mut); pointer-events: none; }
.qres { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--pop); padding: 6px; z-index: 30; }
.qres a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--tx); text-decoration: none; }
.qres a:hover, .qres a.sel { background: var(--side); }
.page { width: 100%; max-width: 1200px; padding: 28px 32px 56px; display: flex; flex-direction: column; gap: 20px; }
.page.narrow { max-width: 1000px; }
.h1 { font: 600 42px/1.05 var(--serif); color: var(--head); }
.card { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h2 { font-size: 17px; }
.cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.cols > .wide { flex: 2 1 460px; min-width: 0; } .cols > .narrowc { flex: 1 1 320px; min-width: 0; }
.cols > .half { flex: 1 1 380px; min-width: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line2); }
.list-row:first-child { border-top: 0; }
a.list-row { color: var(--tx); text-decoration: none; }
.av { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--acc-soft); color: var(--acc); }
.av.gold { background: var(--gold-soft); color: var(--gold); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 12px; color: var(--mut); text-align: center; }
.empty svg { width: 52px; height: 52px; opacity: .75; }
.tick { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; border: 2px solid var(--line); background: transparent; display: flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0; color: var(--acc-tx); }
.tick.on { background: var(--acc); border-color: var(--acc); }
.tick svg { width: 14px; height: 14px; }
.done { opacity: .6; } .done .t { text-decoration: line-through; }

/* overzicht */
.hello { position: relative; overflow: hidden; min-height: 172px; padding: 28px 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hello > div { position: relative; z-index: 1; max-width: 60%; }
.hello h1 { font: 600 44px/1.05 var(--serif); color: var(--head); }
.hello img { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 250px; mix-blend-mode: multiply; opacity: .8; }
.hello .mark { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 150px; height: 150px; opacity: .55; display: none; }
[data-theme="donker"] .hello img { display: none; } [data-theme="donker"] .hello .mark { display: block; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--tx); text-decoration: none; }
.stat .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.stat .ic svg { width: 24px; height: 24px; }
.stat b { display: block; font-size: 28px; line-height: 1; }
.stat span { font-size: 13px; color: var(--mut); }

/* klantenlijst */
.tbl { overflow-x: auto; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tbl-in { min-width: 1060px; }
.tr { display: grid; grid-template-columns: 1.7fr 1.1fr .9fr 1fr .9fr .8fr .8fr 1.6fr; gap: 12px; align-items: center; padding: 12px 18px;
  border-bottom: 1px solid var(--line2); color: var(--tx); text-decoration: none; }
a.tr:hover { background: var(--bg); }
.tr.th { color: var(--mut); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-bottom-color: var(--line); }
.tr .nm { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tr .av { width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; }
.tr.inactive { opacity: .55; }

/* klantfiche */
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.who .av { width: 76px; height: 76px; flex: 0 0 76px; font: 600 32px var(--serif); }
.who h1 { font: 600 40px/1.05 var(--serif); color: var(--head); }
.alerts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--red-soft); }
.alerts > b { white-space: nowrap; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.alerts .tag { background: var(--card); color: var(--red); font-size: 13.5px; }
.metas { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--mut); }
.metas b { color: var(--tx); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--side); align-self: flex-start; }
.tabs button { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; color: var(--mut); font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--card); color: var(--tx); box-shadow: var(--shadow); }
dl.kv { margin: 0; display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 8px 14px; font-size: 14.5px; }
dl.kv dt { color: var(--mut); } dl.kv dd { margin: 0; overflow-wrap: anywhere; }
.note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); white-space: pre-wrap; }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.box { padding: 16px; border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.box h3 { font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.timeline { display: flex; flex-direction: column; }
.tl { display: flex; gap: 18px; color: var(--tx); text-decoration: none; }
.tl .rail { display: flex; flex-direction: column; align-items: center; width: 14px; }
.tl .dot { width: 12px; height: 12px; margin-top: 18px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--gold-deco); }
.tl .line { flex: 1 1 0; border-left: 2px dotted var(--gold-deco); margin-top: 4px; }
.tl .body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; margin-bottom: 10px; border-radius: 14px; background: var(--bg); }
.tl:hover .body { background: var(--side); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo { display: flex; flex-direction: column; gap: 4px; position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); cursor: zoom-in; }
.photo .x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.photo .x svg { width: 16px; height: 16px; }
.drop { min-height: 96px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--bg); color: var(--mut); font-weight: 600; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 12px; text-align: center; }
.drop svg { width: 22px; height: 22px; }
.drop:hover { background: var(--side); }

/* voeten */
.feet { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.foot { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.foot svg.f { width: 150px; height: 232px; }
.toes { display: grid; gap: 6px; width: 100%; }
.toes button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field);
  color: var(--tx); cursor: pointer; text-align: left; }
.toes i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; font-size: 13.5px; color: var(--mut); }
.legend span { display: inline-flex; align-items: center; gap: 6px; } .legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.s-gezond { background: #9AAE62; fill: #9AAE62; } .s-ingegroeid { background: var(--amber); fill: var(--amber); } .s-schimmel { background: var(--blue); fill: var(--blue); }
.s-verdikt { background: var(--gold-deco); fill: var(--gold-deco); } .s-wonde { background: var(--red); fill: var(--red); }

/* anamnese */
.q { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line2); }
.q > span { flex: 1 1 240px; display: flex; flex-direction: column; }
.yn { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--side); }
.yn button { min-width: 64px; min-height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--mut); font-weight: 600; cursor: pointer; }
.yn button.ja { background: var(--acc); color: var(--acc-tx); } .yn button.nee { background: var(--card); color: var(--tx); }
.klassen { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.klasse { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--field); text-align: left; cursor: pointer; }
.klasse.on.k0 { border-color: var(--acc); background: var(--acc-soft); } .klasse.on.k1 { border-color: var(--blue); background: var(--blue-soft); }
.klasse.on.k2 { border-color: var(--amber); background: var(--amber-soft); } .klasse.on.k3 { border-color: var(--red); background: var(--red-soft); }
.sign { position: relative; height: 160px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--bg); touch-action: none; }
.sign canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sign span { position: absolute; left: 14px; right: 14px; bottom: 12px; border-top: 1px solid var(--gold-deco); padding-top: 6px; font-size: 13px; color: var(--mut); pointer-events: none; }
.anchors { display: flex; flex-wrap: wrap; gap: 6px; }
.anchors a { min-height: 36px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--tx); text-decoration: none; font-size: 14px; font-weight: 600; }

/* instellingen */
.chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.chan { padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.chan.on { border-color: var(--acc); }
.chan .hd { display: flex; align-items: center; gap: 12px; }
.chan .ci { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.chan .ci svg { width: 20px; height: 20px; }
.rules { overflow-x: auto; } .rules-in { min-width: 860px; display: flex; flex-direction: column; }
.rr { display: grid; grid-template-columns: minmax(0, 1.6fr) 64px 64px 64px 64px minmax(0, 1.5fr); gap: 8px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line2); }
.rr.th { color: var(--mut); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-bottom-color: var(--line); }
.rr .c { display: flex; justify-content: center; } .rr .off { opacity: .35; }
.rg { padding: 14px 8px 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.lvl { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 8px; background: var(--acc); }
.lvl.warning { background: var(--amber); } .lvl.critical { background: var(--red); }
.savebar { position: sticky; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--pop); z-index: 15; }
.qr { align-self: center; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.qr img { width: 200px; height: 200px; display: block; }
.rcodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rcodes code { padding: 8px 10px; border-radius: 8px; background: var(--side); font-size: 15px; text-align: center; letter-spacing: .06em; }
.steps3 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.steps3 span { padding: 3px 10px; border-radius: 999px; background: var(--side); color: var(--mut); }
.steps3 span.on { background: var(--acc); color: var(--acc-tx); } .steps3 span.done { background: var(--acc-soft); color: var(--acc); }
.steps3 i { flex: 1 1 0; border-top: 2px dotted var(--gold-deco); }
.code-in { font-size: 24px !important; letter-spacing: .35em; text-align: center; min-height: 54px !important; }

/* dialoog */
.dlg { position: fixed; inset: 0; z-index: 100; background: rgba(30,32,22,.42); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; overflow-y: auto; }
.dlgbox { width: 100%; max-width: 480px; padding: 26px; border-radius: 22px; background: var(--card); box-shadow: 0 24px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 14px; }
.dlgbox.wide { max-width: 760px; }
.dlgbox h3 { font-size: 20px; }
.viewer { position: fixed; inset: 0; z-index: 110; background: rgba(10,12,8,.85); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.viewer img { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* bel en pop-ups */
.bellwrap { position: relative; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--card);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.npop { position: absolute; right: 0; top: 54px; width: 420px; max-width: calc(100vw - 24px); border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--pop); overflow: hidden; z-index: 40; }
.npop .nh { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.nlist { max-height: 70vh; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.nrow { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 0; border-radius: 12px; background: transparent; color: var(--tx); text-align: left; cursor: pointer; width: 100%; }
.nrow:hover { background: var(--bg); }
.nrow .ni { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.nrow .ni svg { width: 18px; height: 18px; }
.nrow .nm { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nrow small { color: var(--mut); font-size: 12.5px; }
.nrow.unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deco); margin-left: 8px; vertical-align: middle; }
.nitems { display: flex; flex-direction: column; gap: 2px; padding: 0 12px 12px 60px; }
.nitems a, .nitems span { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; background: var(--bg); color: var(--tx); text-decoration: none; font-size: 14px; }
.nitems em { font-style: normal; color: var(--mut); white-space: nowrap; }
.b-week { background: var(--gold-soft); color: var(--gold); } .b-dag { background: var(--blue-soft); color: var(--blue); } .b-direct { background: var(--acc-soft); color: var(--acc); }
.b-warning { background: var(--amber-soft); color: var(--amber); } .b-critical { background: var(--red-soft); color: var(--red); }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 120; display: flex; flex-direction: column; gap: 10px; width: 380px; max-width: calc(100vw - 32px); }
.toast { position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--pop); animation: tin .3s ease-out; }
.toast.out { animation: tout .25s ease-in forwards; }
.toast .tclose { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--mut); cursor: pointer; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tout { to { opacity: 0; transform: translateY(10px); } }

/* ---------------- aanmelden */
.login { position: relative; overflow: hidden; min-height: 100vh; padding: 48px 6%; display: flex; align-items: center; justify-content: flex-end; background: #FAF7F0; color: #2D3024; }
.login .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; animation: adem 12s ease-in-out infinite alternate; }
.login .fly { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.login .brandname { position: absolute; left: 6%; bottom: 44px; z-index: 2; }
.login .brandname h1 { font: 600 54px/1.05 var(--serif); color: #3F4A26; letter-spacing: .01em; }
.login .brandname p { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #7A5824; }
.lcard { position: relative; z-index: 3; flex: 0 1 420px; padding: 40px; border-radius: 24px; background: rgba(255,253,248,.82); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(230,222,203,.9); box-shadow: 0 2px 4px rgba(61,56,36,.04), 0 24px 60px rgba(61,56,36,.12);
  display: flex; flex-direction: column; gap: 18px; color: #2D3024; --field: #fff; --line: #DCD3BE; --tx: #2D3024; --mut: #61644F; --acc: #56692E; --acc-tx: #fff; --side: #F3EEE2; --red: #A3402B; }
.lcard .top-mark { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lcard .top-mark svg { width: 104px; height: 62px; }
.lcard .dots { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.lcard .dots i { width: 3px; height: 3px; border-radius: 50%; background: #C9A15A; } .lcard .dots i + i { width: 4px; height: 4px; }
.lcard h2 { font: 600 36px/1.1 var(--serif); text-align: center; }
.lcard p.sub { margin: -10px 0 0; text-align: center; color: #61644F; }
.lcard .btn.pri { min-height: 48px; font-size: 16px; width: 100%; }
.lcard .lfoot { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #61644F; margin: 0; }
.lcard .lfoot svg { width: 16px; height: 16px; color: #85612A; }
@media (min-width: 900px) { .lcard { animation: binnen 1.6s ease-out .25s both; } }
@media (max-width: 899px) { .login { justify-content: center; padding: 24px 16px 120px; } .login .brandname { left: 16px; bottom: 24px; } .login .brandname h1 { font-size: 40px; } }
.vl { position: absolute; left: 0; top: 0; will-change: transform; }
.vl > div { width: 100%; height: 100%; animation: dobber 2.4s ease-in-out infinite alternate; }
.vl svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vl .wings { transform-origin: 32px 32px; animation: klap .34s ease-in-out infinite alternate; }
.vl.roam { will-change: left, top, transform; }
@keyframes klap { from { transform: scaleX(1); } to { transform: scaleX(.26); } }
@keyframes dobber { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes adem { from { transform: scale(1); } to { transform: scale(1.03); } }
@keyframes binnen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pad1 { 0% { left: -4%; top: 80%; transform: rotate(60deg); } 20% { left: 14%; top: 62%; transform: rotate(35deg); } 40% { left: 31%; top: 74%; transform: rotate(105deg); } 60% { left: 50%; top: 56%; transform: rotate(55deg); } 80% { left: 71%; top: 84%; transform: rotate(125deg); } 100% { left: 104%; top: 64%; transform: rotate(70deg); } }
@keyframes pad2 { 0% { left: 104%; top: 14%; transform: rotate(-70deg); } 25% { left: 80%; top: 5%; transform: rotate(-105deg); } 50% { left: 57%; top: 20%; transform: rotate(-60deg); } 75% { left: 30%; top: 7%; transform: rotate(-110deg); } 100% { left: -4%; top: 22%; transform: rotate(-80deg); } }
@keyframes pad3 { 0% { left: 91%; top: 104%; transform: rotate(-12deg); } 30% { left: 97%; top: 72%; transform: rotate(18deg); } 55% { left: 85%; top: 46%; transform: rotate(-35deg); } 80% { left: 93%; top: 18%; transform: rotate(12deg); } 100% { left: 87%; top: -6%; transform: rotate(-20deg); } }
@keyframes pad4 { 0% { left: 9%; top: -6%; transform: rotate(168deg); } 30% { left: 3%; top: 30%; transform: rotate(198deg); } 60% { left: 13%; top: 56%; transform: rotate(158deg); } 100% { left: 6%; top: 106%; transform: rotate(188deg); } }
@keyframes pad5 { 0% { left: 38%; top: 106%; transform: rotate(8deg); } 35% { left: 45%; top: 86%; transform: rotate(-22deg); } 70% { left: 61%; top: 93%; transform: rotate(42deg); } 100% { left: 68%; top: 106%; transform: rotate(165deg); } }
@media (prefers-reduced-motion: reduce) { .vl { display: none; } .login .bg, .lcard { animation: none !important; } }

@media (max-width: 760px) {
  .page { padding: 20px 16px 48px; } .top { padding: 12px 16px; } .h1 { font-size: 34px; }
  .side { padding: 14px 12px; gap: 12px; } .side-foot { display: none; } .nav { flex-direction: row; flex-wrap: wrap; }
  .hello > div { max-width: none; } .hello img { opacity: .25; }
}
@media print { .side, .top, .toasts { display: none; } }
@media (max-width: 760px) { .top { position: static; } .top .btn:not(.pri) { display: none; } .search { flex-basis: 100%; max-width: none; } }

/* kaart (OpenStreetMap-tegels via de app) */
.map { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #EAE6DC; touch-action: pan-y; }
.map .tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
[data-theme="donker"] .map .tiles { filter: brightness(.8) contrast(1.05) saturate(.85); }
.map .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); pointer-events: none; }
.map .zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.map .zoom button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font-size: 20px; font-weight: 600; cursor: pointer; line-height: 1; }
.map .attr { position: absolute; right: 0; bottom: 0; padding: 2px 8px; border-top-left-radius: 8px; background: rgba(255,253,248,.85); font-size: 11px; color: #4A4D3A; }
.map .attr a { color: #4A4D3A; }
.map .open { position: absolute; left: 10px; bottom: 10px; }
.combo { position: relative; display: flex; }
.combo input { padding-right: 46px; }
.combo .tg { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--mut); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.combo .tg svg { transform: rotate(90deg); width: 18px; height: 18px; }
.qres .opt { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.qres .opt:hover, .qres .opt.sel { background: var(--side); }
.qres .opt small { color: var(--mut); }

/* ---------------- voetkaart */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.foot-col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.foot-lbl { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.foot-wrap { position: relative; width: 100%; max-width: 300px; }
.foot-wrap svg.footart { display: block; width: 100%; height: auto; }
.foot-wrap.pickable svg.footart { cursor: crosshair; }
.foot-wrap .marks { position: absolute; inset: 0; pointer-events: none; }
.board.small { gap: 10px; } .board.small .foot-wrap { max-width: 130px; } .board.small .foot-lbl { font-size: 11px; }
.mk { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #fff; background: var(--c);
  color: #fff; font: 700 13px/1 var(--sans); display: flex; align-items: center; justify-content: center; pointer-events: auto; cursor: pointer; padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .15s; }
.mk:hover { transform: translate(-50%, -50%) scale(1.12); }
.mk.ghost { background: rgba(255,255,255,.75); color: var(--c); border: 2.5px dashed var(--c); box-shadow: none; }
.mk.healed { background: rgba(255,255,255,.6); color: #6b6b5c; border: 2px solid #9a9a88; box-shadow: none; opacity: .8; }
.mk.sel { animation: puls 1.4s ease-out infinite; z-index: 2; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.board.small .mk { width: 20px; height: 20px; font-size: 10px; border-width: 2px; }
.foot-wrap.mini { width: 74px; flex: 0 0 74px; } .foot-wrap.mini .mk { width: 16px; height: 16px; }
.kdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.kpill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: color-mix(in srgb, var(--c) 14%, var(--card)); color: color-mix(in srgb, var(--c) 80%, var(--tx)); white-space: nowrap; }
.kchip.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--card)); color: var(--tx); }
.spotn { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; width: 104px; height: 104px; border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.thumb .x svg { width: 14px; height: 14px; }
.strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.scol { flex: 0 0 230px; scroll-snap-align: end; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line2); }
.sphotos { display: grid; gap: 6px; }
.sphotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.nophoto { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--mut); font-size: 13px; }
.gallery { position: fixed; inset: 0; z-index: 130; background: rgba(12,14,10,.92); display: flex; align-items: center; justify-content: center; padding: 56px 70px; }
.gallery figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gallery img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 12px; object-fit: contain; }
.gallery figcaption { color: #eee; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.gcap { display: flex; flex-direction: column; gap: 2px; }
.gbtn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gbtn svg { width: 22px; height: 22px; } .gclose { top: 14px; right: 14px; } .gprev { left: 12px; top: 50%; } .gnext { right: 12px; top: 50%; }
.vk { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.vk-left { flex: 1 1 420px; max-width: 640px; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vk-right { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vtl { display: flex; flex-direction: column; border-left: 2px dotted var(--gold-deco); margin-left: 8px; padding-left: 18px; gap: 10px; }
.vtl-date { position: relative; display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.vtl-date .dot { position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--gold-deco); }
.vtl-item { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid transparent; }
.vtl-item.sel { border-color: var(--gold-deco); }
.vtl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; color: var(--tx); }
.vtl-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.vtl-photos img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.findings { display: flex; flex-direction: column; }
@media (max-width: 760px) { .vk-left { position: static; } .board { gap: 8px; } .mk { width: 26px; height: 26px; font-size: 12px; } .gallery { padding: 56px 10px; } .gprev, .gnext { top: auto; bottom: 14px; } }

/* slepen in keuzelijsten: greep met muis of vinger; pijltjes enkel op aanraakschermen */
.grip { width: 28px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--mut); cursor: grab; touch-action: none; border-radius: 8px; flex: none; }
.grip:hover { color: var(--tx); background: var(--line2); }
.list-row.dragging { opacity: .95; background: var(--card); box-shadow: 0 8px 24px rgba(60, 40, 10, .18); border-radius: 12px; position: relative; z-index: 5; cursor: grabbing; }
.drop-line { height: 3px; border-radius: 2px; background: var(--acc); margin: -1px 0; }
.mv { display: none !important; }
@media (pointer: coarse) { .mv { display: inline-flex !important; } }
.vhint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vhint:empty { display: none; }
.vhint .chip { min-height: 30px; padding: 4px 12px; }
.vk-view { font-size: 15px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line2); }
.cdot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); padding: 0; cursor: pointer; flex: none; }
.cdot.on { box-shadow: 0 0 0 2px var(--tx); }
.palet { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 12px 40px; }
.palet .cdot { width: 26px; height: 26px; }

/* wondzorg */
.wcs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--tx); }
.wcs-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.wcs-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line2); }
.wcs-bar span { height: 100%; }
.wcs-row { display: flex; align-items: center; gap: 10px; }
.wcs-row input[type=range] { flex: 1 1 auto; }
.wcs-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.wcs-name { width: 52px; font-weight: 600; }
.wcs-val { width: 44px; text-align: right; }
.wound-dlg { max-height: calc(100vh - 40px); overflow: auto; }
.time-sec { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line2); border-radius: 16px; }
.time-l { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 18px; background: var(--acc); color: #fff; flex: none; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.col { display: flex; flex-direction: column; }
.wcheck { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line2); border-radius: 16px; }
.wcheck .tline { display: flex; gap: 10px; font-size: 14px; }
.wcheck .tline b { flex: 0 0 120px; color: var(--mut); font-weight: 600; }
.wtrend { display: flex; align-items: flex-end; gap: 12px; padding: 8px 4px 0; overflow-x: auto; }
.wt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wt-bar { width: 22px; border-radius: 6px 6px 2px 2px; }
@media (max-width: 560px) { .wcheck .tline { flex-direction: column; gap: 2px; } .wcheck .tline b { flex: none; } .grid3 { grid-template-columns: 1fr 1fr; } }
.kbcode { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 28px; font-weight: 700; letter-spacing: .12em; padding: 6px 14px; border-radius: 12px; background: var(--side); }

/* datumkiezer */
.dp-wrap { position: relative; display: block; }
.dp-wrap input { padding-right: 44px; width: 100%; }
.dp-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 10px;
  background: none; color: var(--mut); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dp-btn:hover { background: var(--line2); color: var(--tx); }
.dp { position: fixed; z-index: 1000; width: 300px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.22); display: flex; flex-direction: column; gap: 10px; }
.dp-head { display: flex; align-items: center; gap: 6px; }
.dp-head select { flex: 1 1 auto; min-width: 0; padding: 6px 8px; min-height: 36px; }
.dp-head .icon-btn { width: 34px; height: 34px; flex: none; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow { text-align: center; font-size: 12px; color: var(--mut); padding: 4px 0; }
.dp-day { height: 36px; border: 0; border-radius: 10px; background: none; color: var(--tx); font: inherit; cursor: pointer; }
.dp-day:hover { background: var(--line2); }
.dp-day.today { box-shadow: inset 0 0 0 1px var(--acc); }
.dp-day.on { background: var(--acc); color: #fff; font-weight: 700; }
.dp-foot { display: flex; justify-content: space-between; }
.wspot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wspot-one { display: flex; align-items: center; gap: 14px; }
.wspot-one .board { max-width: 220px; }
.dp-head select[aria-label="Jaar"] { flex: 0 0 82px; }
.danger-zone { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.danger-zone summary { cursor: pointer; color: var(--red); font-weight: 600; }
.wound-nospot { margin-bottom: 14px; }
.doc-results { max-height: 50vh; overflow-y: auto; }
.tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.tel svg { width: 16px; height: 16px; }
.kv-gp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.av-btn { border: 0; padding: 0; cursor: pointer; overflow: hidden; font: inherit; }
.av-btn img, .gp-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.gp-ph { width: 30px; height: 30px; }
.crop-view { position: relative; overflow: hidden; border-radius: 18px; background: #222; touch-action: none; cursor: grab; user-select: none; }
.crop-view:active { cursor: grabbing; }
.crop-view img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(20, 20, 16, .55); outline: 2px solid rgba(255,255,255,.85); outline-offset: -2px; pointer-events: none; }
input[type=range] { accent-color: var(--acc); }
.av-btn { position: relative; overflow: visible; }
.av-btn img { border-radius: 50%; }
.av-cam { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--acc); }
.av-cam svg { width: 12px; height: 12px; }

/* versiering in de app */
.deco-lotus { position: fixed; right: 0; bottom: 0; width: 150px; height: 180px; opacity: .55; pointer-events: none; z-index: 0; }
.deco-lotus svg { width: 100%; height: 100%; display: block; }
.deco-peacock { position: fixed; left: 0; top: 0; width: 60px; height: 60px; opacity: .5; pointer-events: none; z-index: 0; will-change: transform; }
.deco-peacock svg { width: 100%; height: 100%; display: block; overflow: visible; }
.deco-peacock .wings { transform-origin: 32px 32px; animation: klap 1.1s ease-in-out infinite alternate !important; }
@media (prefers-reduced-motion: reduce) { .deco-peacock { display: none; } }
@media print { .deco-lotus, .deco-peacock { display: none; } }
.app { position: relative; z-index: 1; }
/* kaarten als mat glas: de vlinder en de lotus schemeren er wazig doorheen */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: color-mix(in srgb, var(--card) 80%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1); }
}
