/* Feedback tool (mock-up only, not part of the app). One floating button; freeze · Pin · Marker · Send. */
#mk-fb-root { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; font: 500 15px/1.2 "Instrument Sans", system-ui, sans-serif; }
#mk-fb-root * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.mk-fab { pointer-events: auto; position: fixed; right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(20, 20, 20, .62); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mk-fab svg { width: 22px; height: 22px; }
.mk-fab[disabled] { opacity: .5; }
.mk-fb { pointer-events: auto; position: fixed; inset: 0; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
.mk-fb.live { background: transparent; }
.mk-frozen { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mk-ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-frame { position: absolute; inset: 0; border: 3px solid #FF1F3D; pointer-events: none; }
.mk-close { position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20,20,20,.7); color: #fff; font-size: 24px; line-height: 44px; }
.mk-bar { position: absolute; left: 8px; right: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 6px; border-radius: 18px; background: rgba(20,20,20,.86); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.mk-bar button { flex: 1; min-height: 52px; border: 0; border-radius: 13px; background: transparent; color: #fff; font: inherit; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 7px; }
.mk-bar button svg { width: 22px; height: 22px; flex: none; }
.mk-bar button.on { background: #fff; color: #111; }
.mk-bar .mk-undo { flex: 0 0 52px; background: rgba(255,255,255,.12); }
.mk-bar .mk-undo[hidden] { display: none; }
.mk-bar .mk-send { background: #FF1F3D; color: #fff; }
.mk-bar .mk-send[disabled] { opacity: .45; }
.mk-pin { position: absolute; width: 44px; height: 44px; margin: -44px 0 0 -22px; border: 0; padding: 0; background: transparent; }
.mk-pin b, .mk-badge { position: absolute; left: 6px; top: 2px; width: 32px; height: 32px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: #FF1F3D; box-shadow: 0 0 0 2.5px #fff, 0 2px 6px rgba(0,0,0,.4); }
.mk-pin i, .mk-badge i { position: absolute; left: 6px; top: 2px; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: 16px; }
.mk-sbadge { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; background: transparent; }
.mk-sbadge b { position: absolute; inset: 7px; border-radius: 50%; background: #FF1F3D; box-shadow: 0 0 0 2.5px #fff, 0 2px 6px rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.mk-bubble { position: absolute; min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: #111; color: #fff; font: inherit; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; box-shadow: 0 3px 12px rgba(0,0,0,.35); transition: opacity .5s; white-space: nowrap; }
.mk-bubble.fade { opacity: 0; }
.mk-pad { position: absolute; left: 8px; right: 8px; top: calc(8px + env(safe-area-inset-top)); background: #fff; color: #111; border-radius: 18px; padding: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.mk-pad h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.mk-pad h3 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #FF1F3D; color: #fff; font-size: 14px; }
.mk-pad textarea { width: 100%; min-height: 96px; border: 1.5px solid #d6d0c4; border-radius: 12px; padding: 10px; font: inherit; font-size: 17px; line-height: 1.35; resize: none; outline: none; }
.mk-pad textarea:focus { border-color: #111; }
.mk-pad .row { display: flex; gap: 8px; margin-top: 10px; }
.mk-pad .row button { flex: 1; min-height: 48px; border-radius: 12px; border: 0; font: inherit; font-weight: 600; font-size: 16px; }
.mk-pad .mk-done { background: #111; color: #fff; }
.mk-pad .mk-del { background: #f1ece2; color: #B3261E; flex: 0 0 34%; }
.mk-toast { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: #111; color: #fff; padding: 12px 18px; border-radius: 22px; font-weight: 600; pointer-events: none; z-index: 2147483001; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.mk-busy { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; background: rgba(0,0,0,.25); }
/* desktop: the app at iPhone size */
html.mk-desk, html.mk-desk body { height: 100%; margin: 0; background: #E9E4D8; }
.mk-desk-wrap { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.mk-desk-phone { width: 393px; height: 852px; border: 0; border-radius: 46px; box-shadow: 0 0 0 10px #111, 0 20px 60px rgba(0,0,0,.35); background: #F5F1E8; }
.mk-desk-cap { font: 13px/1.4 system-ui, sans-serif; color: #555; margin: 8px 0 0; }
.mk-desk-cap a { color: inherit; }
.mk-layer { position: absolute; inset: 0; pointer-events: none; }
.mk-layer > * { pointer-events: auto; }
