/*! © 2026 Notha Property (Pty) Ltd. All rights reserved. Confidential: not to be copied or shared without its written permission. */
:root {
color-scheme: light;
--ink: #0f172a; --text: #1e293b; --muted: #64748b; --faint: #94a3b8; --line: #e2e8f0; --page: #f1f5f9;
--card: #ffffff; --primary: #4f46e5; --primary-dark: #4338ca; --primary-soft: #e0e7ff; --success: #16a34a;
--success-soft: #dcfce7; --warning: #d97706; --warning-soft: #fef3c7; --danger: #dc2626; --danger-soft: #fee2e2;
--top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
--radius: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--page); color: var(--text); }
body { font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
-webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.noscript { padding: 24px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
padding: calc(var(--top) + 10px) 12px 10px; background: var(--ink); color: #fff; min-height: 56px; }
.topbar h1 { flex: 1; margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden;
text-overflow: ellipsis; }
.voicebtn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 40px;
padding: 0; border: 0; background: none; color: inherit; }
.voicedot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; }
.voicedot.on { opacity: .85; }
.voicedot.sent { background: currentColor; opacity: .85; }
.voicedot.blocked { border-style: dashed; opacity: .45; }
.voicetry:empty { display: none; }
.voicetry { margin-top: 10px; padding: 12px; border-radius: 12px; background: rgba(148, 163, 184, .14); }
.voicetry p { margin: 0 0 6px; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
border: 0; border-radius: 20px; background: transparent; color: inherit; cursor: pointer; }
.iconbtn:active { background: rgba(255, 255, 255, .12); }
.iconbtn svg { width: 22px; height: 22px; }
.avatar { width: 34px; height: 34px; border-radius: 17px; background: var(--primary); color: #fff; font-weight: 700;
font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.content { padding: 14px 14px calc(96px + var(--bottom)); max-width: 760px; margin: 0 auto; }
.menubtn { position: relative; }
.menudot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 5px; background: #ef4444; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: 272px; display: flex; flex-direction: column;
padding: calc(var(--top) + 18px) 12px calc(var(--bottom) + 14px); background: var(--ink); color: #cbd5e1;
transform: translateX(-100%); transition: transform .2s ease; }
body.nav-open .drawer { transform: none; box-shadow: 8px 0 30px rgba(0, 0, 0, .3); }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(15, 23, 42, .45); display: none; }
body.nav-open .scrim { display: block; }
.drawer .brand-name { color: #fff; font-size: 20px; font-weight: 600; }
.drawer .brand-sub { color: #94a3b8; font-size: 13px; }
.who { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; }
.who b { display: block; color: #fff; }
.who span { font-size: 13px; color: #94a3b8; }
.nav { flex: 1; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.navitem { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; margin-bottom: 2px; border: 0;
border-radius: 10px; background: none; color: #cbd5e1; font-size: 15px; text-align: left; cursor: pointer; }
.navitem svg { width: 20px; height: 20px; flex: none; }
.navitem:active { background: #1e293b; }
.navitem.on { background: var(--primary); color: #fff; font-weight: 600; }
.navitem .tag { margin-left: auto; padding: 1px 6px; border: 1px solid #334155; border-radius: 8px; font-size: 11px;
color: #64748b; white-space: nowrap; }
.navitem .num { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #ef4444; color: #fff;
font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.drawer .server { margin: 10px 4px; font-size: 12px; color: #64748b; overflow-wrap: anywhere; }
.signout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid #334155;
border-radius: 10px; background: none; color: #cbd5e1; font-size: 15px; cursor: pointer; }
.signout svg { width: 18px; height: 18px; }
@media (min-width: 960px) {
.drawer { transform: none; }
body.nav-open .drawer { box-shadow: none; }
.scrim { display: none !important; }
.topbar, .tabs, .content, .composer { margin-left: 272px; }
.menubtn { display: none !important; }
}
.tabs { display: flex; gap: 2px; overflow-x: auto; padding: 0 8px; background: #fff; border-bottom: 1px solid var(--line);
scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px 9px; border: 0;
border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 15px; white-space: nowrap;
cursor: pointer; }
.tab.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab .num { min-width: 20px; padding: 0 6px; border-radius: 10px; background: #ef4444; color: #fff; font-size: 12px;
font-weight: 700; line-height: 20px; text-align: center; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.totals div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.totals b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.totals b.green { color: #15803d; }
.totals b.amber { color: #b45309; }
.totals span { display: block; font-size: 12px; color: var(--muted); }
.roomgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.roomtile { display: block; min-height: 78px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 12px;
background: #f1f5f9; text-align: left; cursor: pointer; }
.roomtile.green { background: var(--success-soft); border-color: #86efac; }
.roomtile.amber { background: var(--warning-soft); border-color: #fcd34d; }
.roomtile b { display: block; font-size: 17px; color: var(--ink); white-space: nowrap; overflow: hidden;
text-overflow: ellipsis; }
.roomtile span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden;
text-overflow: ellipsis; }
.roomtile small { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.roomtile.green small { color: #15803d; }
.roomtile.amber small { color: #b45309; }
.lead { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stat span { display: block; font-size: 12px; color: var(--muted); }
.stat b { display: block; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat b.red { color: var(--danger); }
.stat b.amber { color: var(--warning); }
.stat b.green { color: var(--success); }
.stat small { display: block; font-size: 12px; color: var(--muted); }
.search { width: 100%; margin-bottom: 10px; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 12px;
background: #fff; font-size: 16px; }
.windows-only { text-align: center; padding: 28px 18px; }
.windows-only svg { width: 44px; height: 44px; color: var(--primary); }
.secret { font-family: Consolas, "SF Mono", Menlo, monospace; font-size: 17px; background: var(--page); padding: 10px 12px;
border-radius: 10px; user-select: all; -webkit-user-select: all; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
margin-bottom: 12px; }
.card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.card h3 { margin: 0 0 4px; font-size: 20px; color: var(--ink); }
.card.attention { border: 2px solid var(--danger); }
.section-title { margin: 18px 2px 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.spacer { height: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 6px 0 4px; }
.facts div span { display: block; font-size: 12px; color: var(--muted); }
.facts div b { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.facts .wide { grid-column: 1 / -1; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 11px; font-size: 12px; font-weight: 600;
white-space: nowrap; background: var(--line); color: var(--text); }
.pill.blue { background: var(--primary-soft); color: var(--primary-dark); }
.pill.green { background: var(--success-soft); color: #15803d; }
.pill.amber { background: var(--warning-soft); color: #b45309; }
.pill.red { background: var(--danger-soft); color: var(--danger); }
.pill.pink { background: #fce7f3; color: #9d174d; }
.pill.purple { background: #ede9fe; color: #6d28d9; }
.pill.teal { background: #cffafe; color: #0e7490; }
.notice { background: var(--warning-soft); border: 1px solid #fde68a; color: #92400e; border-radius: 12px;
padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.notice.info { background: var(--primary-soft); border-color: #c7d2fe; color: #312e81; }
.pushwrap { padding: 14px 14px 0; max-width: 760px; margin: 0 auto; }
.pushwrap .pushbar { margin-bottom: 0; }
.pushbar .actions { margin: 10px 0 0; }
.empty { text-align: center; color: var(--faint); padding: 36px 16px; }
.error { background: var(--danger-soft); color: var(--danger); border-radius: 10px; padding: 10px 12px;
font-size: 14px; margin: 8px 0; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
margin-bottom: 12px; }
.item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 0;
border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.item:last-child { border-bottom: 0; }
.item:active { background: #f8fafc; }
.item .title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .side { text-align: right; flex: none; font-size: 12px; color: var(--muted); }
.item .count { display: inline-block; min-width: 20px; height: 20px; margin-top: 4px; padding: 0 6px;
border-radius: 10px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700;
line-height: 20px; text-align: center; }
.chevron { color: var(--faint); flex: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
color: var(--text); font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
padding: 10px 16px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; color: var(--text);
font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:active { transform: scale(.99); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.success { background: var(--success); border-color: var(--success); color: #fff; }
.btn.danger { color: var(--danger); border-color: #fca5a5; }
.btn.block { width: 100%; }
.btn.link { border: 0; background: none; color: var(--primary); min-height: 0; padding: 6px 0; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.actions .btn { flex: 1 1 auto; }
.btn svg { width: 20px; height: 20px; flex: none; }
.fab { position: fixed; right: 16px; bottom: calc(20px + var(--bottom)); z-index: 15; border-radius: 28px;
white-space: nowrap; box-shadow: 0 6px 18px rgba(37, 99, 235, .35); }
.servicebar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.servicebar b { color: var(--ink); font-size: 15px; }
.servicebar .btn { flex: none; }
.idcard { max-width: 320px; margin: 4px auto 12px; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden;
background: #fff; color: #1e293b; text-align: center; padding-bottom: 12px;
box-shadow: 0 4px 14px rgba(15, 23, 42, .08); }
.idcard .band { background: #0f172a; color: #fff; text-align: left; padding: 10px 16px 12px; }
.idcard .band small { display: block; color: #a5b4fc; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.idcard .band b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idcard .idphoto { display: block; width: 150px; height: 200px; margin: 16px auto 10px; border-radius: 10px;
object-fit: cover; background: #e2e8f0; }
.idcard .idphoto.none { display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 13px; }
.idcard .idname { padding: 0 12px; color: #0f172a; font-size: 18px; font-weight: 700; }
.idcard .idsub { color: #64748b; font-size: 12px; }
.idcard .idvalid { margin: 4px 0 8px; font-weight: 700; }
.idcard .idvalid.ok { color: #15803d; }
.idcard .idvalid.bad { color: #b91c1c; }
.idcard .qr { display: block; width: 176px; height: 176px; margin: 4px auto 2px; }
.sosbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 34px;
padding: 0 12px; border-radius: 17px; background: #dc2626; color: #fff; font-weight: 800; font-size: 14px;
letter-spacing: .08em; text-decoration: none; box-shadow: 0 0 0 3px rgba(248, 113, 113, .35); }
.panic-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 26px; margin: 12px 0 22px; }
.panic-round { display: flex; flex-direction: column; align-items: center; width: min(40vw, 168px); padding: 0; border: 0;
background: none; color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.panic-disc { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 12px; border-radius: 50%; transition: transform .08s; }
.panic-disc svg { display: block; width: 100%; height: 100%; }
.panic-round.ambulance .panic-disc { background: #dc2626; box-shadow: 0 0 0 6px #fee2e2, 0 10px 24px rgba(220, 38, 38, .35); }
.panic-round.security .panic-disc { background: #facc15; box-shadow: 0 0 0 6px #fef9c3, 0 10px 24px rgba(202, 138, 4, .35); }
.panic-round:active .panic-disc { transform: scale(.95); }
.panic-round b { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.panic-round small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.sos-active { margin-bottom: 12px; padding: 22px 16px; border-radius: var(--radius); background: #dc2626; color: #fff;
text-align: center; }
.sos-active .sos-title { font-size: 24px; font-weight: 800; }
.sos-active p { margin: 10px 0 0; }
.sos-active .small { color: #fee2e2; }
.sos-active .btn { margin-top: 12px; }
.btn.sos { background: #dc2626; border-color: #dc2626; color: #fff; }
.sosbtn.support { background: #4338ca; letter-spacing: 0; box-shadow: 0 0 0 3px rgba(96, 165, 250, .35); }
.sos-active.support { background: #4338ca; }
.sos-active.support .small { color: #e0e7ff; }
.alertbar.support { background: #4338ca; }
.alertbar { display: block; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: #dc2626; color: #fff;
font-weight: 700; text-align: center; text-decoration: none; }
.passimg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 12px; border: 1px solid var(--line);
border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1;
border-radius: 10px; background: #fff; font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field.check { display: flex; align-items: flex-start; gap: 12px; }
.field.check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; padding: 0; accent-color: var(--primary); }
.field.check > span { margin: 0; font-size: 15px; color: var(--text); }
.field.check b { display: block; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary-soft);
border-color: var(--primary); }
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(15, 23, 42, .45); display: flex;
align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; background: #fff;
border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + var(--bottom)); }
.sheet h2 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.sheet .intro { color: var(--muted); font-size: 14px; margin: 0 0 12px; white-space: pre-line; }
.sheet .search { margin-top: 8px; }
.sheet .list.picker { max-height: 46vh; overflow-y: auto; margin-bottom: 8px; }
.sheet .buttons { display: flex; gap: 10px; margin-top: 6px; }
.sheet .buttons .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: calc(84px + var(--bottom)); transform: translateX(-50%); z-index: 60;
background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px;
max-width: calc(100% - 32px); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.pollopt { padding: 10px 0; border-bottom: 1px solid var(--line); }
.pollopt:last-of-type { border-bottom: 0; }
.pollopt .bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0 8px; }
.pollopt .bar span { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.pollopt.mine b { color: var(--primary-dark); }
.signin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
padding: calc(var(--top) + 24px) 20px calc(var(--bottom) + 48px); max-width: 440px; margin: 0 auto; }
.signin .powered { position: fixed; right: 16px; bottom: calc(var(--bottom) + 12px); font-size: 12px;
color: var(--muted); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.brand img { width: 52px; height: 52px; border-radius: 14px; }
.brand b { display: block; font-size: 22px; color: var(--ink); }
.photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: -4px 0 12px;
scrollbar-width: none; }
.photos::-webkit-scrollbar { display: none; }
.photos img { flex: none; width: 88%; max-width: 520px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px;
scroll-snap-align: center; background: var(--line); }
.cover { width: 72px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; background: var(--line); }
.cover.blank { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--faint); }
.step { display: flex; gap: 12px; padding: 8px 0; }
.mark { width: 28px; height: 28px; border-radius: 14px; flex: none; display: flex; align-items: center;
justify-content: center; font-weight: 700; }
.mark.done { background: var(--success-soft); color: var(--success); }
.mark.wait { background: var(--warning-soft); color: var(--warning); }
.step b { display: block; color: var(--ink); }
.step .actions { margin: 6px 0 0; }
.step .actions .btn { flex: 0 0 auto; min-height: 36px; padding: 6px 14px; font-size: 14px; }
.timeline .event { padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline .event:last-child { border-bottom: 0; }
.timeline .who { font-weight: 600; color: var(--ink); }
.timeline .body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.timeline .comment .body { background: var(--page); padding: 8px 10px; border-radius: 10px; }
.chat { display: flex; flex-direction: column; gap: 6px; padding-bottom: 76px; }
.bubble { max-width: 82%; padding: 8px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
align-self: flex-start; overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble.mine { align-self: flex-end; background: var(--primary); border-color: var(--primary); color: #fff; }
.bubble .from { font-size: 12px; font-weight: 600; color: var(--primary-dark); margin-bottom: 2px; }
.bubble .at { font-size: 11px; opacity: .7; margin-top: 2px; text-align: right; }
.bubble .gone { font-style: italic; opacity: .75; }
.bubble, .list .item { -webkit-touch-callout: none; }
@media (hover: none) { .bubble { -webkit-user-select: none; user-select: none; } }
.sheet .choices { display: grid; gap: 8px; margin: 4px 0 8px; }
.day { align-self: center; font-size: 12px; color: var(--muted); margin: 8px 0 2px; }
.composer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 8px;
padding: 8px 10px calc(8px + var(--bottom)); background: #fff; border-top: 1px solid var(--line); }
.composer textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 10px 12px; border: 1px solid #cbd5e1;
border-radius: 22px; resize: none; font-size: 16px; }
.composer .btn { border-radius: 22px; }
.money { font-variant-numeric: tabular-nums; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table td { padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td.r { text-align: right; white-space: nowrap; }
.avatar.photo { padding: 0; overflow: hidden; background: var(--line); }
.avatar.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lmap { position: relative; height: 62vh; min-height: 320px; overflow: hidden; background: #e5e7eb; cursor: grab;
touch-action: none; user-select: none; -webkit-user-select: none; }
.lmap.google { cursor: auto; touch-action: auto; }
.lmap-google { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.lmap [hidden] { display: none !important; }
.lmap .btn.mini { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.lmap-tiles, .lmap-marks { position: absolute; left: 0; top: 0; }
.lmap-tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.lmap-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.lmap-lines line { stroke: #4338ca; stroke-width: 3; stroke-dasharray: 8 6; stroke-linecap: round; }
.lmap-lines line.there { stroke: #16a34a; stroke-dasharray: none; }
.mk { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.mk-dot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50%;
background: #4f46e5; color: #fff; font: 700 12px/26px "Segoe UI", Arial, sans-serif; text-align: center;
box-shadow: 0 1px 5px rgba(0, 0, 0, .45); }
.mk-tag { position: absolute; left: 20px; top: -12px; padding: 3px 9px; border-radius: 11px; background: rgba(15, 23, 42, .88);
color: #fff; font: 600 12px/18px "Segoe UI", Arial, sans-serif; white-space: nowrap; }
.mk.staff.going .mk-dot { background: #16a34a; }
.mk.staff.stale .mk-dot { background: #94a3b8; }
.mk.staff.stale .mk-tag { background: rgba(100, 116, 139, .9); }
.mk.me { z-index: 3; }
.mk.me .mk-dot { left: -12px; top: -12px; width: 24px; height: 24px; background: #4f46e5; box-shadow: 0 0 0 6px rgba(37, 99, 235, .25); }
.mk.me .mk-tag { left: 18px; background: #4338ca; }
.mk.alert { z-index: 3; }
.mk.alert .mk-dot { background: #dc2626; font-size: 17px; animation: mkpulse 1.2s ease-in-out infinite; }
.mk.alert .mk-tag { background: #dc2626; }
.mk.chosen { z-index: 4; }
.mk.chosen .mk-dot { outline: 3px solid #facc15; }
@keyframes mkpulse { 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, .35); } }
@media (prefers-reduced-motion: reduce) { .mk.alert .mk-dot { animation: none; } }
.lmap-controls { position: absolute; right: 10px; top: 10px; z-index: 5; display: flex; flex-direction: column; gap: 6px;
align-items: flex-end; }
.lmap-controls .btn, .lmap-follow { min-width: 36px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.lmap-follow { margin-top: 10px; }
.lmap-credit { position: absolute; right: 0; bottom: 0; z-index: 5; padding: 2px 8px; background: rgba(255, 255, 255, .85);
color: #334155; font-size: 11px; }
.lmap-note, .lmap-told { position: absolute; left: 12px; right: 70px; z-index: 5; padding: 8px 14px; border-radius: 10px;
background: rgba(255, 255, 255, .95); color: var(--muted); font-size: 13px;
box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.lmap-note { top: 12px; }
.lmap-told { bottom: 26px; color: #92400e; background: #fef3c7; }
.helpmap { height: 320px; min-height: 0; margin-top: 12px; border-radius: 12px; }
.helpmap .lmap-full { display: none; }
.sos-active .helpmap .btn { margin-top: 0; }
.docrow { padding: 12px 0; border-top: 1px solid var(--line); }
.card h2 + .docrow { border-top: 0; padding-top: 2px; }
.docrow .actions { margin: 8px 0 0; }
.docrow .actions .btn { flex: 0 1 auto; }
.card h2.sub2 { margin-top: 16px; }
.card .list { margin-bottom: 12px; }
.wording h4 { margin: 16px 0 4px; font-size: 15px; color: var(--ink); }
.wording p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.sigpad { display: block; width: 100%; height: auto; aspect-ratio: 600 / 220; margin: 4px 0 0; background: #fff;
border: 1px dashed #94a3b8; border-radius: 10px; touch-action: none; cursor: crosshair; }
.linkbox { margin-top: 8px; }
.linkbox .secret { font-size: 13px; overflow-wrap: anywhere; }
.logoimg { display: block; max-width: 220px; max-height: 120px; margin: 4px 0 10px; }
