:root { --orange: #ff5a1f; --green: #006c4a; --ink: #171717; --muted: #6d6a67; --paper: #fff; }
html, body { margin: 0; min-height: 100%; background: #fff; color: var(--ink); font-family: "Hanken Grotesk", sans-serif; }
button, input, select { font: inherit; }
.phone { width: min(100%, 430px); min-height: 100vh; margin: 0 auto; background: #fff; position: relative; }
.app-header, .app-nav { position: fixed; left: 50%; transform: translateX(-50%); width: min(100%, 430px); z-index: 20; }
.app-header { top: 0; background: #fff; border-bottom: 1px solid #f0f0f0; }
.app-nav { bottom: 0; display: flex; align-items: center; justify-content: space-around; height: 64px; background: #fff; border-top: 1px solid #f0f0f0; }
.main { padding: 80px 16px 96px; display: flex; flex-direction: column; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand strong { font-size: 17px; letter-spacing: -0.03em; }
.live { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.live b { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #006c4a; }
.live span { font-size: 12px; color: #5b4137; }
.ping { width: 8px; height: 8px; border-radius: 99px; background: #006c4a; box-shadow: 0 0 0 0 rgba(0, 108, 74, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 6px rgba(0, 108, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 108, 74, 0); } }
.avatar { width: 32px; height: 32px; border: 0; border-radius: 99px; background: #ffe8dc; color: var(--orange); font-size: 12px; font-weight: 800; }
.card { background: #fff; border-radius: 18px; border: 1px solid #eee; }
.metric { font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.needs-review { color: #ba1a1a; }
.btn { border: 0; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 700; height: 44px; }
.btn.green { background: var(--green); color: #fff; }
.field, select { width: 100%; box-sizing: border-box; height: 44px; border: 0; border-radius: 16px; background: #fff; padding: 0 14px; color: inherit; }
.search { position: relative; }
.search .material-symbols-outlined { position: absolute; left: 14px; top: 12px; color: #8f7065; font-size: 20px; }
.search .field { padding-left: 40px; box-shadow: 0 1px 2px rgba(23, 23, 23, 0.04); }
label.stack { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #5b4137; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: var(--muted); font-size: 12px; }
.green { color: var(--green); }
.orange { color: var(--orange); }
.pill { border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; background: #d9f5e8; color: var(--green); }
.chips { display: flex; gap: 8px; overflow-x: auto; }
.chip { border: 0; border-radius: 999px; background: transparent; color: #8a8683; font-size: 12px; font-weight: 700; padding: 7px 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23, 23, 23, 0.08); }
.dot { width: 6px; height: 6px; border-radius: 99px; background: var(--orange); }
.dot.green { background: var(--green); }
.nav-btn { flex: 1; border: 0; background: transparent; color: #8a8683; font-size: 11px; font-weight: 800; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
button.card { width: 100%; color: inherit; cursor: pointer; }
.nav-btn.on { color: var(--orange); }
.nav-btn .material-symbols-outlined { font-size: 22px; }
.store { display: flex; gap: 12px; align-items: center; }
.mark { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.icon-btn, .go { border: 0; height: 36px; border-radius: 999px; background: #f3f1f6; color: inherit; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.icon-btn { width: 36px; }
.go { gap: 2px; padding: 0 12px; font-size: 12px; font-weight: 700; }
.map-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f2f3ff; align-items: start; }
.map-row strong { font-size: 15px; }
.map-row input { height: 40px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 6px 0; }
.back { border: 0; background: transparent; color: var(--ink); font-weight: 800; padding: 0; width: 36px; height: 36px; border-radius: 99px; }
.periods { display: flex; gap: 4px; background: #e7e5ee; border-radius: 14px; padding: 4px; }
.periods button { flex: 1; border: 0; background: transparent; border-radius: 10px; height: 34px; font-size: 11px; font-weight: 800; color: #8a8683; }
.periods button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(23, 23, 23, 0.06); }
.leaflet-map, .leaflet-map.leaflet-container { width: 100%; height: 190px; border-radius: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kicker { font-size: 10px; letter-spacing: 0.06em; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.badge { border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 800; }
.badge.ok { background: #d9f5e8; color: var(--green); }
.badge.warn { background: #ffe8dc; color: var(--orange); }
.rep { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rep.alert { background: #fff7f4; }
body:has(.login) { background: #fff; }
.login { background: #fff; display: flex; align-items: center; box-shadow: none; }
.login main { width: 100%; max-width: 400px; margin: 0 auto; padding: 28px 24px 72px; text-align: center; }
.login-brand { display: grid; justify-items: center; gap: 8px; margin-bottom: 28px; }
.login-brand span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7280; }
.login h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.login-lead { margin: 8px 0 28px; color: #6b7280; font-size: 15px; }
.login-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; text-align: left; }
.phone-box { display: flex; align-items: center; height: 52px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fff; }
.phone-box:focus-within { border-color: #00ba77; box-shadow: 0 0 0 1px #00ba77; }
.flag { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 10px 0 12px; border: 0; background: transparent; }
.flag svg { width: 22px; height: 15px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #222; }
.dial { align-self: stretch; display: flex; align-items: center; padding-left: 12px; border-left: 1px solid #ececec; font-size: 16px; }
.phone-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 16px; letter-spacing: 0.02em; padding: 0 12px 0 6px; }
.login-next { width: 100%; margin-top: 18px; height: 48px; border-radius: 12px; box-shadow: 0 8px 18px rgba(255, 90, 31, 0.22); }
.login-next:disabled { opacity: 0.45; box-shadow: none; }
.otp-row { display: flex; justify-content: center; gap: 8px; margin: 4px 0 8px; }
.otp-box { width: 64px; height: 68px; border: 1.5px solid #e5e7eb; border-radius: 14px; text-align: center; font-size: 28px; font-weight: 700; padding: 0; caret-color: #00ba77; }
.otp-box:focus { border-color: #00ba77; outline: none; box-shadow: 0 0 0 1px #00ba77; }
.text-btn { display: block; width: 100%; margin-top: 12px; border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.country { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; line-height: 1; user-select: none; }
@media (max-width: 480px) { body { background: #fff; } .phone { box-shadow: none; } }
