.wearables-view{display:grid;gap:18px}.wearable-app-status{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #d9d1ff;background:#f6f3ff;border-radius:16px}.wearable-app-status b{color:#3f2bb3}.wearable-app-status span{flex:1;color:var(--muted,#697386)}.wearable-app-status a{white-space:nowrap}.dark .wearable-app-status{background:#24213a;border-color:#433a72}.dark .wearable-app-status b{color:#bcaeff}@media(max-width:520px){.wearable-app-status{align-items:stretch;flex-direction:column}.wearable-app-status a{text-align:center}}.wearable-privacy{display:flex;align-items:center;gap:12px;padding:15px 18px;border:1px solid #ccebdc;background:#f0fbf6;border-radius:16px;color:#185d42}.wearable-privacy span{color:#3d6a58}.wearable-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wearable-metric{background:#fff;border:1px solid var(--line,#dfe5ef);border-radius:18px;padding:16px}.wearable-metric span{display:block;color:var(--muted,#697386);font-size:.82rem}.wearable-metric b{display:block;margin-top:6px;font-size:1.4rem}.wearable-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wearable-person{background:#fff;border:1px solid var(--line,#dfe5ef);border-radius:22px;padding:19px;box-shadow:0 8px 24px #263b6a0b}.wearable-person-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.wearable-person-head h3{margin:0}.wearable-person-head p{margin:4px 0 0;color:var(--muted,#697386)}.wearable-status{padding:7px 10px;border-radius:999px;font-size:.82rem;background:#f0f2f6;color:#687184}.wearable-status.online{background:#e9f8ef;color:#177a48}.wearable-status.offline{background:#fff0ef;color:#a94438}.wearable-device{border:1px solid #e3e8f1;border-radius:16px;padding:14px;margin-top:10px}.wearable-device-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.wearable-device small{display:block;color:var(--muted,#697386);margin-top:5px}.wearable-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px}.wearable-value{background:#f6f8fc;border-radius:13px;padding:11px}.wearable-value span{display:block;color:var(--muted,#697386);font-size:.76rem}.wearable-value b{display:block;margin-top:4px}.wearable-location{margin-top:12px;padding:12px;background:#f7f5ff;border-radius:13px}.wearable-location a{color:#5b3ff0;font-weight:700}.wearable-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.wearable-code{font-size:2rem;letter-spacing:.12em;direction:ltr;text-align:center;background:#11182a;color:#fff;border-radius:14px;padding:14px;margin:14px 0}.wearable-install-steps{margin:10px 0;padding-right:22px;line-height:1.8}.wearable-settings{display:grid;grid-template-columns:1fr auto auto auto;align-items:end;gap:15px}.wearable-settings label{display:grid;grid-template-columns:auto 90px auto;align-items:center;gap:7px}.wearable-settings input{width:90px}.dark .wearable-person,.dark .wearable-metric{background:#151c2d}.dark .wearable-device{border-color:#30394c}.dark .wearable-value{background:#20283a}.dark .wearable-privacy{background:#153126;color:#8fe0ba;border-color:#285a45}.dark .wearable-privacy span{color:#b8d9ca}.dark .wearable-location{background:#24213a}@media(max-width:900px){.wearable-summary{grid-template-columns:repeat(2,1fr)}.wearable-people{grid-template-columns:1fr}.wearable-settings{grid-template-columns:1fr}.wearable-settings label{justify-content:start}}@media(max-width:520px){.wearables-page-head .page-actions{width:100%;display:grid;grid-template-columns:1fr}.wearable-privacy{align-items:flex-start;flex-direction:column}.wearable-grid{grid-template-columns:repeat(2,1fr)}.wearable-summary{grid-template-columns:1fr 1fr}.wearable-code{font-size:1.65rem}}
.wearable-device-buttons{display:flex;gap:7px;flex-wrap:wrap}.wearable-history{margin-top:12px;border:1px solid #e3e8f1;border-radius:13px;padding:11px}.wearable-history summary{cursor:pointer;font-weight:700}.wearable-history div{padding:9px 4px;border-top:1px solid #edf0f5}.wearable-history div:first-of-type{margin-top:8px}.wearable-history small{display:block;color:var(--muted,#697386);margin-top:3px}.wearable-replace-note{display:grid;gap:4px;background:#fff7df;border:1px solid #f1d98b;border-radius:14px;padding:13px;margin:12px 0}.wearable-replace-note span{color:#6e5a22}
.wearable-section-title{margin:16px 0 8px}.wearable-history-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0}.wearable-history-toolbar label{display:grid;gap:5px}.wearable-map{height:360px;border-radius:16px;overflow:hidden;background:#eef1f7;margin-top:10px}.wearable-route-summary{color:var(--muted,#697386)}@media(max-width:520px){.wearable-map{height:300px}}

.wearable-visits{display:grid;gap:10px;margin:16px 0}.wearable-visit{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--line,#e3e8f2);border-radius:14px;padding:14px}.wearable-visit p{margin:6px 0;color:var(--muted,#75809a)}#wearableMapError{color:#9a5b00}@media(max-width:600px){.wearable-visit{align-items:flex-start;flex-direction:column}}
