:root{--color-canvas:#f7f9fc;--color-surface-white:#fff;--color-surface-glass:#ffffffe0;--color-surface-subtle:#f1f5f9;--text-primary:#0f172a;--text-secondary:#64748b;--text-muted:#94a3b8;--text-white:#fff;--accent-sos:#ef4444;--accent-sos-dark:#dc2626;--accent-sos-deep:#b91c1c;--accent-sos-glow:#ef444447;--accent-sos-glow-soft:#ef44441f;--accent-location:#10b981;--accent-location-light:#ecfdf5;--accent-location-glow:#10b98138;--accent-route:#3b82f6;--accent-route-light:#eff6ff;--accent-contacts:#8b5cf6;--accent-contacts-light:#f5f3ff;--accent-guardian:#f59e0b;--accent-guardian-light:#fffbeb;--accent-settings:#64748b;--accent-settings-light:#f8fafc;--border-card:#e2e8f0d9;--border-subtle:#f1f5f9f2;--shadow-card:0 4px 20px -2px #0f172a0a, 0 1px 3px #0f172a05;--shadow-card-hover:0 10px 28px -4px #0f172a14, 0 2px 6px #0f172a08;--shadow-sos:0 14px 44px -4px #dc262673, 0 4px 16px #dc262640;--radius-sm:10px;--radius-md:16px;--radius-card:24px;--radius-pill:9999px;--max-app-width:440px;--font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--ease-spring:cubic-bezier(.16, 1, .3, 1);--ease-tactile:cubic-bezier(.34, 1.56, .64, 1)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{background-color:var(--color-canvas);min-height:100%;color:var(--text-primary);font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background:radial-gradient(circle at 50% 0%, #ef444408 0%, #3b82f605 45%, var(--color-canvas) 85%);background-attachment:fixed}#root{flex-direction:column;align-items:center;min-height:100vh;display:flex}.app{flex-direction:column;align-items:center;width:100%;min-height:100vh;display:flex}.safemesh-dashboard-shell,.safemesh-page-container{width:100%;max-width:var(--max-app-width);box-sizing:border-box;flex-direction:column;gap:14px;margin:0 auto;padding:14px 12px 32px;display:flex}.safemesh-header{justify-content:space-between;align-items:center;padding:4px 2px 2px;display:flex}.header-brand{align-items:center;gap:10px;display:flex}.brand-logo-container{border-radius:var(--radius-md);background:#fff;border:1px solid #ef444426;justify-content:center;align-items:center;width:40px;height:40px;display:flex;box-shadow:0 2px 8px #dc262614}.brand-copy{flex-direction:column;display:flex}.brand-name{letter-spacing:-.02em;color:var(--text-primary);font-size:1.25rem;font-weight:800;line-height:1.15}.name-bold{color:#0f172a}.name-accent{color:#dc2626;font-weight:900}.brand-tagline{color:var(--text-secondary);font-size:.72rem;font-weight:500}.header-status-area{align-items:center;gap:8px;display:flex}.safety-status-pill{background:var(--accent-location-light);border-radius:var(--radius-pill);border:1px solid #10b98140;align-items:center;gap:6px;padding:6px 12px;display:flex}.status-indicator-dot{background-color:var(--accent-location);width:7px;height:7px;box-shadow:0 0 6px var(--accent-location-glow);border-radius:50%;animation:2.5s infinite pulse-dot}@keyframes pulse-dot{0%{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.25)}to{opacity:1;transform:scale(1)}}.status-pill-label{color:#047857;font-size:.76rem;font-weight:700}.profile-avatar-btn{border:1px solid var(--border-card);cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:transform .15s,background .15s;display:flex;box-shadow:0 1px 3px #0000000a}.profile-avatar-btn:hover{background:var(--color-surface-subtle);transform:scale(1.05)}.greeting-section{text-align:center;padding:8px 0 2px}.greeting-title{letter-spacing:-.03em;color:var(--text-primary);margin-bottom:6px;font-size:2.15rem;font-weight:800;line-height:1.1}.greeting-subtitle{color:var(--text-secondary);font-size:.92rem;font-weight:500}.location-context-row{align-items:stretch;gap:8px;width:100%;display:flex}.location-card-action{background:var(--color-surface-white);border:1px solid var(--border-card);border-radius:var(--radius-card);text-align:left;cursor:pointer;min-width:0;box-shadow:var(--shadow-card);transition:transform .18s var(--ease-spring), box-shadow .18s var(--ease-spring);flex:1;align-items:center;gap:8px;padding:8px 12px;display:flex}.location-card-action:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-1px)}.location-icon-bubble{background:var(--accent-location-light);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.location-card-text{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.location-card-status{color:var(--accent-location);font-size:.72rem;font-weight:700}.location-card-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.location-card-arrow{color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:flex}.datetime-card{background:var(--color-surface-white);border:1px solid var(--border-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;padding:8px 10px;display:flex}.datetime-date{color:var(--text-secondary);white-space:nowrap;font-size:.7rem;font-weight:600}.datetime-time{color:var(--text-primary);font-size:.88rem;font-weight:800}.sos-hero-container{flex-direction:column;justify-content:center;align-items:center;padding:6px 0 10px;display:flex;position:relative}.sos-top-label{letter-spacing:.08em;text-transform:uppercase;color:#991b1b;margin-bottom:12px;font-size:.82rem;font-weight:800}.sos-button-wrapper{justify-content:center;align-items:center;width:250px;height:250px;display:flex;position:relative}.sos-glow-outer{pointer-events:none;background:radial-gradient(circle,#ef444429 0%,#ef444400 70%);border-radius:50%;width:240px;height:240px;position:absolute}.sos-ring{pointer-events:none;border-radius:50%;transition:transform .4s,opacity .4s;position:absolute}.sos-ring.ring-level-3{border:1px solid #ef444414;width:250px;height:250px;animation:4s ease-in-out infinite alternate breathing-ring-3}.sos-ring.ring-level-2{border:1.5px solid #ef444424;width:220px;height:220px;animation:3.5s ease-in-out infinite alternate breathing-ring-2}.sos-ring.ring-level-1{border:1px solid #ef444438;width:195px;height:195px}.sos-ring.holding{border-color:#ef444473;animation:none;transform:scale(1.05)}@keyframes breathing-ring-3{0%{opacity:.4;transform:scale(.97)}to{opacity:.8;transform:scale(1.03)}}@keyframes breathing-ring-2{0%{opacity:.5;transform:scale(.96)}to{opacity:.9;transform:scale(1.04)}}.sos-progress-svg{pointer-events:none;z-index:4;position:absolute;transform:rotate(-90deg)}.sos-progress-bg{fill:none;stroke:#ffffff4d}.sos-progress-bar{fill:none;stroke:#fff;filter:drop-shadow(0 0 4px #ffffffe6);transition:stroke-dashoffset 50ms linear}.hero-sos-button{cursor:pointer;width:175px;height:175px;box-shadow:0 0 0 6px #ffffffb3, 0 0 0 10px #ef444426, var(--shadow-sos), inset 0 4px 8px #ffffff73, inset 0 -6px 12px #88131380;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .2s var(--ease-spring), box-shadow .2s var(--ease-spring);z-index:5;background:radial-gradient(circle at 35% 30%,#f87171 0%,#ef4444 32%,#dc2626 70%,#b91c1c 100%);border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;display:flex;position:relative}.hero-sos-button:hover{transform:scale(1.025);box-shadow:0 0 0 7px #ffffffd9,0 0 0 12px #ef444438,0 18px 50px -4px #dc26268c,inset 0 5px 10px #ffffff80,inset 0 -6px 12px #88131380}.hero-sos-button.is-holding{transform:scale(.94);box-shadow:0 0 0 4px #ffffffe6,0 0 0 8px #ef444459,0 8px 24px #b91c1c80,inset 0 6px 14px #00000080}.sos-button-gloss{pointer-events:none;background:linear-gradient(#fff6 0%,#fff0 100%);border-radius:50%;width:120px;height:52px;position:absolute;top:6px;left:50%;transform:translate(-50%)}.sos-inner-elements{text-align:center;color:var(--text-white);z-index:6;flex-direction:column;justify-content:center;align-items:center;display:flex}.sos-icon-wrap{margin-bottom:2px;line-height:1}.sos-hero-title{letter-spacing:.08em;color:#fff;text-shadow:0 2px 6px #00000040;font-size:2.2rem;font-weight:900;line-height:1.05}.sos-hero-subtitle{letter-spacing:.04em;color:#ffffffeb;text-shadow:0 1px 3px #0003;margin-top:3px;font-size:.72rem;font-weight:700}.sos-hint-pill{color:#fff;border-radius:var(--radius-pill);animation:fade-in-up .25s var(--ease-spring);background:#1e293b;margin-top:10px;padding:6px 16px;font-size:.76rem;font-weight:600;box-shadow:0 4px 14px #00000026}@keyframes fade-in-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.safety-shortcuts-container{flex-direction:column;gap:10px;display:flex}.shortcuts-row-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.shortcuts-row-three-col{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.shortcut-card{background:var(--color-surface-white);border:1px solid var(--border-card);border-radius:var(--radius-card);text-align:left;cursor:pointer;box-shadow:var(--shadow-card);transition:transform .18s var(--ease-spring), box-shadow .18s var(--ease-spring);color:inherit;box-sizing:border-box;outline:none;align-items:center;gap:8px;min-width:0;padding:12px 10px;font-family:inherit;display:flex}.shortcut-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}.shortcut-card:active{transform:scale(.97)}.shortcut-icon-circle{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.bg-blue-tint{background:#eff6ff}.bg-purple-tint{background:#f5f3ff}.bg-green-tint{background:#ecfdf5}.bg-amber-tint{background:#fffbeb}.bg-slate-tint{background:#f8fafc}.shortcut-text-block{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.shortcut-title{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:800;line-height:1.2;overflow:hidden}.shortcut-subtitle{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.66rem;font-weight:500;line-height:1.2;overflow:hidden}.shortcut-arrow{flex-shrink:0;justify-content:center;align-items:center;display:flex}.shortcut-card.primary-card{gap:7px;min-height:64px;padding:10px 8px}.primary-card .shortcut-icon-circle{width:34px;height:34px}.primary-card .shortcut-title{color:var(--text-primary);white-space:normal;word-break:normal;align-items:center;min-height:2.1em;font-size:.78rem;font-weight:800;line-height:1.15;display:flex}.primary-card .shortcut-subtitle{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.6rem;font-weight:500;line-height:1.15;overflow:hidden}.primary-card .shortcut-arrow{opacity:.5}.shortcut-card.compact-card{text-align:center;box-sizing:border-box;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;min-height:104px;padding:10px 4px;display:flex;position:relative}.compact-header-row{justify-content:center;align-items:center;width:100%;display:flex;position:relative}.compact-card .shortcut-icon-circle{width:36px;height:36px;margin:0 auto}.compact-arrow{opacity:.45;justify-content:center;align-items:center;transition:opacity .15s,transform .15s;display:flex;position:absolute;top:-2px;right:2px}.shortcut-card.compact-card:hover .compact-arrow{opacity:.85;transform:translate(2px)}.compact-text{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;min-width:0;margin-top:6px;padding:0 2px;display:flex}.compact-card .shortcut-title{color:var(--text-primary);text-align:center;white-space:normal;word-break:normal;justify-content:center;align-items:center;width:100%;min-height:2em;font-size:.76rem;font-weight:700;line-height:1.18;display:flex}.compact-card .shortcut-subtitle{color:var(--text-secondary);text-align:center;white-space:nowrap;text-overflow:ellipsis;width:100%;margin-top:2px;font-size:.6rem;font-weight:500;line-height:1.15;overflow:hidden}.bottom-safety-container{flex-direction:column;gap:14px;margin-top:4px;display:flex}.bottom-safety-card{background:var(--color-surface-white);border:1px solid var(--border-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;width:100%;padding:10px 4px;display:grid}.status-metric-col{box-sizing:border-box;align-items:center;gap:5px;min-width:0;padding:2px 4px;display:flex}.status-metric-col.bordered-col,.status-metric-col:not(:last-child){border-right:1px solid #e2e8f0d9}.status-metric-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.bg-slate-subtle{background:#f0f9ff}.bg-purple-subtle{background:#faf5ff}.bg-green-subtle{background:#f0fdf4}.status-metric-content{flex-direction:column;flex:1;justify-content:center;min-width:0;display:flex;overflow:hidden}.metric-label{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:.6rem;font-weight:600;line-height:1.15;overflow:hidden}@media (width<=440px){.metric-label-prefix{display:none}}.metric-live-row{align-items:center;gap:4px;margin-top:1px;line-height:1.2;display:flex}.metric-live-dot{background:var(--color-success,#10b981);border-radius:50%;flex-shrink:0;width:5px;height:5px}.metric-live-tag{color:var(--color-success,#10b981);white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;font-weight:800;overflow:hidden}.metric-value{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.64rem;font-weight:600;line-height:1.15;overflow:hidden}.metric-headline{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.7rem;font-weight:800;line-height:1.2;overflow:hidden}.metric-sub{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.6rem;font-weight:500;line-height:1.15;overflow:hidden}.metric-status-active{color:var(--color-success,#10b981);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.7rem;font-weight:800;line-height:1.2;overflow:hidden}.status-metric-divider{display:none}.safemesh-footer-tagline{justify-content:center;align-items:center;gap:12px;padding:4px 0 12px;display:flex}.footer-line{background:#94a3b859;width:48px;height:1px}.footer-text{letter-spacing:.16em;color:var(--text-muted);font-size:.68rem;font-weight:700}.safemesh-modal-backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:200;background:#0f172a73;justify-content:center;align-items:flex-end;animation:.2s ease-out backdrop-fade;display:flex;position:fixed;inset:0}@keyframes backdrop-fade{0%{opacity:0}to{opacity:1}}.safemesh-modal-sheet{width:100%;max-width:480px;max-height:88vh;animation:sheet-slide-up .28s var(--ease-spring);background:#fff;border-top-left-radius:32px;border-top-right-radius:32px;flex-direction:column;padding:12px 20px 32px;display:flex;overflow-y:auto;box-shadow:0 -12px 48px #0f172a29}@keyframes sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-pill-indicator{border-radius:var(--radius-pill);background:#cbd5e1;width:42px;height:4px;margin:0 auto 14px}.modal-sheet-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-title-group{align-items:center;gap:12px;display:flex}.modal-icon-bubble{border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.modal-sheet-title{color:var(--text-primary);font-size:1.25rem;font-weight:800;line-height:1.15}.modal-sheet-subtitle{color:var(--text-secondary);font-size:.76rem;font-weight:600}.modal-close-icon-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;font-size:.95rem;font-weight:800}.modal-sheet-content{flex-direction:column;gap:14px;display:flex}.safe-route-map-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;padding:12px;position:relative;overflow:hidden}.route-map-svg{border-radius:var(--radius-md);width:100%;height:auto}.route-score-badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:var(--radius-pill);color:#065f46;background:#ffffffeb;border:1px solid #10b9814d;align-items:center;gap:6px;padding:5px 12px;font-size:.74rem;font-weight:800;display:flex;position:absolute;bottom:16px;left:18px}.route-endpoints-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#fff;flex-direction:column;padding:14px 16px;display:flex}.endpoint-row{align-items:center;gap:12px;display:flex}.endpoint-icon{border-radius:50%;width:10px;height:10px}.endpoint-icon.start-point{background:var(--accent-route)}.endpoint-icon.end-point{background:var(--accent-sos)}.endpoint-connector{background:#e2e8f0;width:2px;height:18px;margin:3px 4px}.endpoint-meta{flex-direction:column;flex:1;display:flex}.endpoint-tag{color:var(--text-muted);font-size:.62rem;font-weight:700}.endpoint-text{color:var(--text-primary);font-size:.85rem;font-weight:700}.endpoint-input{color:var(--text-primary);background:0 0;border:none;outline:none;padding:2px 0;font-family:inherit;font-size:.85rem;font-weight:700}.route-metrics-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.route-metric-pill{border:1px solid var(--border-card);border-radius:var(--radius-md);background:#f8fafc;flex-direction:column;align-items:center;padding:10px 8px;display:flex}.metric-muted{color:var(--text-secondary);font-size:.65rem;font-weight:600}.metric-bold{color:var(--text-primary);font-size:.88rem;font-weight:800}.action-button-primary{color:#fff;border-radius:var(--radius-card);cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;justify-content:center;align-items:center;gap:8px;padding:14px;font-family:inherit;font-size:.95rem;font-weight:800;transition:transform .15s;display:flex;box-shadow:0 4px 16px #2563eb40}.action-button-primary:hover{transform:translateY(-1px)}.contacts-action-bar{justify-content:space-between;align-items:center;display:flex}.contacts-count-label{color:var(--text-secondary);font-size:.82rem;font-weight:700}.btn-add-contact-pill{color:#7c3aed;border-radius:var(--radius-pill);cursor:pointer;background:#f5f3ff;border:1px solid #8b5cf64d;padding:6px 14px;font-family:inherit;font-size:.8rem;font-weight:700}.add-contact-card-form{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;flex-direction:column;gap:12px;padding:16px;display:flex}.form-heading{color:var(--text-primary);font-size:.95rem;font-weight:800}.form-error-msg{color:#b91c1c;border-radius:var(--radius-sm);background:#fee2e2;padding:6px 10px;font-size:.75rem;font-weight:700}.form-field{flex-direction:column;gap:4px;display:flex}.field-label{color:var(--text-secondary);font-size:.74rem;font-weight:700}.field-input{border:1px solid var(--border-card);border-radius:var(--radius-md);color:var(--text-primary);background:#fff;outline:none;padding:10px 12px;font-family:inherit;font-size:.88rem}.field-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf626}.chips-row{flex-wrap:wrap;gap:6px;display:flex}.chip-btn{border:1px solid var(--border-card);border-radius:var(--radius-pill);color:var(--text-secondary);cursor:pointer;background:#fff;padding:5px 12px;font-family:inherit;font-size:.74rem;font-weight:600}.chip-btn.active{color:#fff;background:#7c3aed;border-color:#7c3aed}.form-checkbox-row{align-items:center;display:flex}.checkbox-wrap{color:var(--text-secondary);align-items:center;gap:8px;font-size:.8rem;font-weight:600;display:flex}.checkbox-wrap input{accent-color:#7c3aed}.form-btn-group{gap:8px;margin-top:4px;display:flex}.btn-subtle{border:1px solid var(--border-card);color:var(--text-secondary);border-radius:var(--radius-md);cursor:pointer;background:#fff;flex:1;padding:10px;font-family:inherit;font-size:.85rem;font-weight:700}.btn-primary-action{color:#fff;border-radius:var(--radius-md);cursor:pointer;background:#7c3aed;border:none;flex:1.5;padding:10px;font-family:inherit;font-size:.85rem;font-weight:700}.contacts-stack{flex-direction:column;gap:8px;display:flex}.contact-item-card{border:1px solid var(--border-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.contact-item-avatar{background:#f5f3ff;border:1px solid #8b5cf633;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.avatar-letter{color:#7c3aed;font-size:1.1rem;font-weight:800}.contact-item-details{flex-direction:column;flex:1;min-width:0;display:flex}.name-and-tag{align-items:center;gap:6px;display:flex}.contact-item-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:800;overflow:hidden}.primary-pill-badge{color:#047857;border-radius:var(--radius-sm);background:#ecfdf5;border:1px solid #10b9814d;padding:1px 5px;font-size:.58rem;font-weight:800}.contact-item-phone{color:var(--text-secondary);font-family:monospace;font-size:.78rem;font-weight:600}.contact-item-relation{color:var(--text-muted);font-size:.65rem;font-weight:600}.contact-item-buttons{align-items:center;gap:6px;display:flex}.contact-action-circle{cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-family:inherit;font-size:.72rem;font-weight:700;text-decoration:none;display:flex}.call-circle{color:#047857;background:#ecfdf5}.sms-circle{color:#2563eb;background:#eff6ff}.delete-circle{color:#94a3b8;background:0 0;font-size:.85rem}.delete-circle:hover{color:#dc2626;background:#fee2e2}.dispatcher-box{border-radius:var(--radius-card);background:#eff6ff;border:1px solid #3b82f640;padding:14px 16px}.dispatcher-header{align-items:center;gap:6px;margin-bottom:6px;display:flex}.dispatcher-label{letter-spacing:.06em;color:#1e40af;font-size:.72rem;font-weight:800}.dispatcher-address{color:var(--text-primary);margin-bottom:2px;font-size:.92rem;font-weight:800}.dispatcher-coords{color:var(--text-secondary);font-family:monospace;font-size:.76rem}.btn-call-112-hero{color:#fff;border-radius:var(--radius-card);background:linear-gradient(135deg,#10b981,#059669);align-items:center;gap:14px;padding:16px 20px;text-decoration:none;transition:transform .15s;display:flex;box-shadow:0 8px 24px #10b98159}.btn-call-112-hero:hover{transform:translateY(-1px)}.hero-call-text{flex-direction:column;display:flex}.hero-call-main{letter-spacing:.02em;font-size:1.05rem;font-weight:900}.hero-call-sub{opacity:.9;font-size:.72rem}.other-helplines-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.other-helpline-title{letter-spacing:.06em;color:var(--text-secondary);font-size:.72rem;font-weight:800}.helpline-options-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.helpline-option-btn{border:1px solid var(--border-card);border-radius:var(--radius-md);text-align:center;background:#fff;flex-direction:column;align-items:center;padding:10px 8px;text-decoration:none;display:flex;box-shadow:0 1px 3px #00000008}.opt-number{color:var(--text-primary);font-size:1rem;font-weight:900}.opt-name{color:var(--text-secondary);white-space:nowrap;font-size:.65rem;font-weight:600}.settings-profile-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;align-items:center;gap:12px;padding:14px 16px;display:flex}.profile-badge-circle{color:#fff;background:#0f172a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1rem;font-weight:800;display:flex}.profile-details{flex-direction:column;display:flex}.profile-name-row{align-items:center;gap:6px;display:flex}.profile-name{color:var(--text-primary);font-size:.95rem;font-weight:800}.verified-badge{color:#047857;border-radius:var(--radius-sm);background:#ecfdf5;padding:1px 5px;font-size:.58rem;font-weight:800}.profile-sub{color:var(--text-secondary);font-size:.72rem;font-weight:600}.profile-blood{color:var(--text-muted);font-size:.68rem;font-weight:500}.settings-section{flex-direction:column;gap:10px;display:flex}.settings-section-title{letter-spacing:.08em;color:var(--text-secondary);font-size:.72rem;font-weight:800}.setting-toggle-row{border:1px solid var(--border-card);border-radius:var(--radius-md);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.setting-text{flex-direction:column;display:flex}.setting-label{color:var(--text-primary);font-size:.85rem;font-weight:700}.setting-desc{color:var(--text-secondary);font-size:.72rem}.switch{flex-shrink:0;width:44px;height:24px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0}.slider{cursor:pointer;background-color:#cbd5e1;border-radius:24px;transition:all .2s;position:absolute;inset:0}.slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;bottom:3px;left:3px;box-shadow:0 1px 3px #00000026}input:checked+.slider{background-color:#10b981}input:checked+.slider:before{transform:translate(20px)}.about-safemesh-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.about-header{align-items:center;gap:6px;display:flex}.about-title{color:var(--text-primary);font-size:.85rem;font-weight:800}.about-desc{color:var(--text-secondary);font-size:.74rem;line-height:1.4}.safemesh-emergency-backdrop{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:300;background:#0f172ae0;justify-content:center;align-items:center;padding:16px;animation:2s infinite alternate strobe-frame;display:flex;position:fixed;inset:0}@keyframes strobe-frame{0%{box-shadow:inset 0 0 30px #ef444459}to{box-shadow:inset 0 0 80px #ef4444a6}}.emergency-fullscreen-sheet{background:#fff;border:2px solid #ef4444;border-radius:32px;flex-direction:column;gap:16px;width:100%;max-width:440px;padding:24px;display:flex;box-shadow:0 20px 60px #dc262659}.emergency-alert-header{border-bottom:1px solid #ef44442e;align-items:center;gap:12px;padding-bottom:12px;display:flex}.emergency-beacon-ring{background:#ef444433;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:relative}.beacon-center-dot{background:#ef4444;border-radius:50%;width:10px;height:10px;animation:1s infinite alternate beacon-ping;box-shadow:0 0 8px #ef4444}@keyframes beacon-ping{0%{opacity:.8;transform:scale(.85)}to{opacity:1;transform:scale(1.3)}}.emergency-title-group{flex-direction:column;flex:1;display:flex}.emergency-state-title{letter-spacing:.04em;color:#b91c1c;font-size:1.05rem;font-weight:900}.emergency-elapsed-clock{color:var(--text-secondary);font-size:.74rem;font-weight:700}.mesh-broadcast-badge{border-radius:var(--radius-pill);color:#2563eb;background:#eff6ff;border:1px solid #3b82f64d;align-items:center;gap:4px;padding:4px 8px;font-size:.68rem;font-weight:800;display:flex}.mesh-dot-pulse{background:#2563eb;border-radius:50%;width:5px;height:5px}.emergency-location-card{border:1px solid var(--border-card);border-radius:var(--radius-card);background:#f8fafc;padding:12px 14px}.loc-card-header{align-items:center;gap:6px;margin-bottom:4px;display:flex}.loc-card-title{letter-spacing:.06em;color:var(--text-secondary);font-size:.68rem;font-weight:800}.loc-address-text{color:var(--text-primary);font-size:.88rem;font-weight:800}.loc-coords-sub{color:var(--text-secondary);margin-bottom:4px;font-family:monospace;font-size:.72rem}.loc-maps-link{color:#2563eb;font-size:.74rem;font-weight:700;text-decoration:none}.emergency-action-stack{flex-direction:column;gap:10px;display:flex}.emergency-hero-btn{border-radius:var(--radius-card);cursor:pointer;color:#fff;text-align:left;border:none;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;transition:transform .15s;display:flex}.emergency-hero-btn:hover{transform:translateY(-1px)}.call-112-btn{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 6px 20px #dc262659}.sms-broadcast-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 6px 20px #2563eb4d}.btn-icon-box{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.bg-white-soft{background:#fff3}.btn-copy{flex-direction:column;flex:1;display:flex}.btn-headline{font-size:.95rem;font-weight:800}.btn-tagline{opacity:.9;font-size:.68rem}.btn-arrow-mark{font-size:1rem;font-weight:800}@keyframes blink-soft{0%{opacity:.8}to{opacity:1}}.emergency-contacts-preview{flex-direction:column;gap:6px;display:flex}.preview-label{color:var(--text-secondary);font-size:.68rem;font-weight:800}.preview-chips-scroll{flex-wrap:wrap;gap:6px;display:flex}.emergency-contact-pill{border:1px solid var(--border-card);border-radius:var(--radius-pill);color:var(--text-primary);background:#f8fafc;align-items:center;gap:6px;padding:5px 12px;font-size:.74rem;font-weight:700;text-decoration:none;display:flex}.emergency-bottom-actions{flex-direction:column;align-items:center;gap:6px;margin-top:4px;display:flex}.btn-deactivate-safe{border-radius:var(--radius-card);color:#047857;cursor:pointer;background:#ecfdf5;border:1.5px solid #10b98166;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px;font-family:inherit;font-size:.92rem;font-weight:800;transition:background .15s;display:flex}.btn-deactivate-safe:hover{background:#d1fae5}.cancel-disclaimer{color:var(--text-muted);text-align:center;font-size:.68rem}.page-nav-bar{align-items:center;display:flex}.page-back-button{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:4px 0;font-family:inherit;font-size:.85rem;font-weight:700}.page-content-wrapper{flex-direction:column;gap:14px;display:flex}.section-title-header{align-items:center;gap:12px;display:flex}.title-icon-bubble{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.page-heading{color:var(--text-primary);font-size:1.35rem;font-weight:800;line-height:1.15}.page-subheading{color:var(--text-secondary);font-size:.78rem;font-weight:500}.mesh-summary-card{border:1px solid var(--border-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;flex-direction:column;gap:12px;padding:16px 18px;display:flex}.mesh-status-top{justify-content:space-between;align-items:center;display:flex}.mesh-status-indicator{align-items:center;gap:8px;display:flex}.mesh-circle-dot{border-radius:50%;width:9px;height:9px}.mesh-circle-dot.online{background:#10b981;box-shadow:0 0 8px #10b98166}.mesh-circle-dot.standby{background:#f59e0b}.mesh-status-title{color:var(--text-primary);font-size:.9rem;font-weight:800}.mesh-protocol-pill{border-radius:var(--radius-pill);color:var(--text-secondary);background:#f1f5f9;padding:3px 8px;font-size:.62rem;font-weight:800}.mesh-status-description{color:var(--text-secondary);font-size:.8rem;line-height:1.45}.btn-enable-mesh{color:#fff;border-radius:var(--radius-card);cursor:pointer;background:#0f172a;border:none;padding:12px;font-family:inherit;font-size:.88rem;font-weight:800;box-shadow:0 4px 12px #0f172a26}.mesh-active-metric-bar{border:1px solid var(--border-card);border-radius:var(--radius-md);background:#f8fafc;justify-content:space-around;align-items:center;padding:10px;display:flex}.mesh-metric-item{flex-direction:column;align-items:center;display:flex}.mesh-metric-number{color:var(--text-primary);font-size:.95rem;font-weight:900}.mesh-metric-label{color:var(--text-secondary);font-size:.64rem;font-weight:600}.mesh-metric-divider{background:#e2e8f0;width:1px;height:24px}.mesh-toast-inline{color:#2563eb;font-size:.76rem;font-weight:600}.guardians-list-section{flex-direction:column;gap:10px;display:flex}.list-section-header{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.list-section-title{letter-spacing:.06em;color:var(--text-secondary);font-size:.74rem;font-weight:800}.list-section-count{color:#10b981;font-size:.72rem;font-weight:700}.guardians-cards-stack{flex-direction:column;gap:8px;display:flex}.guardian-node-card{border:1px solid var(--border-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;align-items:center;gap:12px;padding:12px 14px;display:flex}.guardian-node-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.guardian-node-info{flex-direction:column;flex:1;min-width:0;display:flex}.node-title-row{align-items:center;gap:6px;display:flex}.node-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.86rem;font-weight:800;overflow:hidden}.node-badge-available{color:#047857;border-radius:var(--radius-sm);white-space:nowrap;background:#ecfdf5;padding:1px 6px;font-size:.58rem;font-weight:800}.node-meta-row{color:var(--text-secondary);align-items:center;gap:6px;font-size:.72rem;display:flex}.node-dot{opacity:.4}.guardian-security-footnote{border:1px solid var(--border-card);border-radius:var(--radius-md);color:var(--text-secondary);background:#f8fafc;padding:12px 14px;font-size:.72rem;line-height:1.45}.status-toast{color:#fff;border-radius:var(--radius-pill);white-space:nowrap;text-overflow:ellipsis;z-index:400;max-width:90vw;animation:toast-spring .25s var(--ease-spring);background:#0f172a;border:1px solid #ffffff1a;padding:10px 20px;font-size:.82rem;font-weight:700;position:fixed;bottom:24px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 10px 30px #00000040}@keyframes toast-spring{0%{opacity:0;transform:translate(-50%)translateY(14px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.onboarding-container{justify-content:center;align-items:center;min-height:85vh;padding:8px 4px;display:flex}.onboarding-card{background:var(--color-surface-white);border:1px solid var(--border-card);border-radius:32px;flex-direction:column;gap:18px;width:100%;padding:28px 22px;display:flex;box-shadow:0 16px 48px -8px #0f172a14}.onboarding-header{align-items:center;gap:12px;display:flex}.onboarding-logo-box{border-radius:var(--radius-md);background:#fff5f5;border:1px solid #ef444433;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.onboarding-title-group{flex-direction:column;display:flex}.onboarding-brand-name{letter-spacing:-.02em;color:var(--text-primary);font-size:1.25rem;font-weight:900}.onboarding-brand-sub{color:var(--text-secondary);font-size:.76rem}.onboarding-intro{flex-direction:column;gap:4px;display:flex}.onboarding-headline{letter-spacing:-.03em;color:var(--text-primary);font-size:1.4rem;font-weight:800;line-height:1.2}.onboarding-desc{color:var(--text-secondary);font-size:.84rem;line-height:1.45}.onboarding-steps-pills{border:1px solid var(--border-card);border-radius:var(--radius-pill);background:#f8fafc;align-items:center;gap:8px;padding:4px;display:flex}.step-pill{border-radius:var(--radius-pill);color:var(--text-muted);flex:1;justify-content:center;align-items:center;gap:6px;padding:6px 4px;font-size:.74rem;font-weight:700;transition:all .2s;display:flex}.step-pill.active{color:var(--text-primary);background:#fff;box-shadow:0 1px 4px #0000000f}.step-pill.completed{color:var(--accent-location)}.step-pill-indicator{width:16px;height:16px;color:var(--text-secondary);background:#e2e8f0;border-radius:50%;justify-content:center;align-items:center;font-size:.65rem;display:flex}.step-pill.active .step-pill-indicator{color:#fff;background:#0f172a}.step-pill.completed .step-pill-indicator{color:#047857;background:#ecfdf5}.step-detail-card{border:1px solid var(--border-card);border-radius:var(--radius-card);text-align:center;background:#f8fafc;flex-direction:column;align-items:center;gap:10px;padding:20px 18px;display:flex}.step-icon-bubble{border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;margin-bottom:2px;display:flex}.step-title{color:var(--text-primary);font-size:1.15rem;font-weight:800}.step-explanation{color:var(--text-secondary);max-width:320px;font-size:.84rem;line-height:1.45}.step-actions{flex-direction:column;gap:8px;width:100%;margin-top:8px;display:flex}.btn-enable-permission{color:#fff;border-radius:var(--radius-card);cursor:pointer;background:linear-gradient(135deg,#0f172a,#1e293b);border:none;width:100%;padding:13px;font-family:inherit;font-size:.92rem;font-weight:800;transition:transform .15s;box-shadow:0 4px 14px #0f172a33}.btn-enable-permission:hover{transform:translateY(-1px)}.btn-skip-permission{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:4px;font-family:inherit;font-size:.78rem;font-weight:600}.btn-skip-permission:hover{color:var(--text-secondary)}.loading-card{padding:32px 18px}.loading-spinner-ring{border:3.5px solid #e2e8f0;border-top-color:#0f172a;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin-wheel}@keyframes spin-wheel{to{transform:rotate(360deg)}}.onboarding-privacy-note{color:var(--text-muted);text-align:center;font-size:.72rem;line-height:1.4}.safety-status-pill.status-setup-required{background:#fffbeb;border-color:#f59e0b4d}.safety-status-pill.status-setup-required .status-indicator-dot{background:#f59e0b;box-shadow:0 0 6px #f59e0b66}.safety-status-pill.status-setup-required .status-pill-label{color:#b45309}.safety-status-pill.status-locating{background:#f0f9ff;border-color:#0ea5e94d}.safety-status-pill.status-locating .status-indicator-dot{background:#0ea5e9;box-shadow:0 0 6px #0ea5e966}.safety-status-pill.status-locating .status-pill-label{color:#0369a1}.safety-status-pill.status-sos-active{background:#fef2f2;border-color:#ef444466}.safety-status-pill.status-sos-active .status-indicator-dot{background:#ef4444;box-shadow:0 0 8px #ef4444}.safety-status-pill.status-sos-active .status-pill-label{color:#b91c1c}.btn-location-inline-action{color:#fff;border-radius:var(--radius-pill);cursor:pointer;background:#0f172a;border:none;flex-shrink:0;padding:4px 10px;font-family:inherit;font-size:.72rem;font-weight:700}.location-card-action.interactive{cursor:pointer}.alert-sheet{text-align:center;align-items:center}.warning-icon-box{background:#fef2f2;border:1px solid #ef44444d;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:4px;display:flex}.warning-title{color:var(--text-primary);font-size:1.25rem;font-weight:800}.warning-desc{color:var(--text-secondary);margin-bottom:12px;font-size:.86rem;line-height:1.45}.warning-action-stack{flex-direction:column;gap:8px;width:100%;display:flex}.btn-enable-warning{color:#fff;border-radius:var(--radius-card);cursor:pointer;background:#ef4444;border:none;padding:13px;font-family:inherit;font-size:.92rem;font-weight:800}.btn-continue-warning{color:var(--text-primary);border:1px solid var(--border-card);border-radius:var(--radius-card);cursor:pointer;background:#f1f5f9;padding:12px;font-family:inherit;font-size:.88rem;font-weight:700}.btn-cancel-warning{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:4px;font-family:inherit;font-size:.82rem;font-weight:600}.empty-state-card{border:1px solid var(--border-card);border-radius:var(--radius-card);text-align:center;background:#f8fafc;flex-direction:column;align-items:center;gap:10px;padding:24px 18px;display:flex}.empty-icon-circle{border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.empty-state-title{color:var(--text-primary);font-size:1.05rem;font-weight:800}.empty-state-desc{color:var(--text-secondary);max-width:320px;font-size:.82rem;line-height:1.45}.empty-metrics-row{grid-template-columns:repeat(3,1fr);gap:8px;width:100%;margin:6px 0;display:grid}.empty-metric{border:1px solid var(--border-card);border-radius:var(--radius-md);background:#fff;flex-direction:column;align-items:center;padding:8px 4px;display:flex}.empty-metric .metric-val{color:var(--text-muted);font-size:1rem;font-weight:800}.metric-live-tag.inactive{color:var(--text-muted)}.metric-status-active.pending{color:#f59e0b}
