.login { justify-content: center; align-items: stretch; text-align: center; gap: 16px; }
.login .logo { width: 80px; height: 80px; margin: 0 auto; border-radius: 24px; display: grid; place-items: center; background: var(--primary); color: var(--onPrimary); }
.login .logo .i { width: 44px; height: 44px; }
.onb .progress { display: flex; gap: 4px; }
.onb .progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--outline); }
.onb .progress i.on { background: var(--primary); }
/* Главный экран: карта на весь экран, оверлеи поверх. Аварийка и чат привязаны к нижнему меню (fixed), а не к карте:
   аварийка — широкая кнопка над меню, чат — над ней справа. */
.screen.map-full { padding: 0; position: relative; height: calc(100vh - var(--nav-h)); height: calc(var(--tg-viewport-stable-height, 100dvh) - var(--nav-h)); overflow: hidden; }
.map.full { position: absolute; inset: 0; height: 100%; min-height: 0; border-radius: 0; }
.map-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.chips.layers { flex-wrap: nowrap; overflow-x: auto; }
.chips.layers .chip { background: var(--surface); box-shadow: var(--shadow); }
.chips.layers .chip.on { background: var(--onSurface); color: var(--background); }
.locate-why { position: absolute; left: 24px; right: 24px; top: 38%; z-index: 4; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.chips.layers .chip .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.counter { align-self: flex-start; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--onSurface); padding: 8px 14px 8px 8px; border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow); }
.counter .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.counter .ic .i { width: 20px; height: 20px; }
.hazard-btn { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 12px); height: 58px; border-radius: 20px; background: var(--primary); color: var(--onPrimary); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 600; box-shadow: 0 10px 24px -10px var(--primary); z-index: 6; }
.hazard-btn .i { width: 26px; height: 26px; }
.hazard-btn:active { transform: scale(.98); }
.banner { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.response { gap: 6px; }
.response .name { font-weight: 600; }
.pro { gap: 4px; }
.pro .kind { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); flex: none; }
.helper-card .big { font-size: 20px; font-weight: 700; }
.privacy { max-width: 720px; margin: 0 auto; padding: 24px 16px; line-height: 1.55; }
/* Кнопка чата с ИИ: робот плавно сменяется знаком вопроса и обратно. */
.chat-bubble { position: fixed; right: 16px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 84px); width: 54px; height: 54px; border-radius: 50%; background: var(--surface); color: var(--onSurface); box-shadow: var(--shadow); z-index: 6; }
.chat-bubble span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.chat-bubble .i { width: 26px; height: 26px; }
.chat-bubble .robot { animation: robot-fade 4s linear infinite; }
.chat-bubble .ask { animation: ask-fade 4s linear infinite; }
@keyframes robot-fade { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ask-fade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .chat-bubble .robot, .chat-bubble .ask { animation: none; } .chat-bubble .ask { opacity: 0; } }
.chat-screen { height: 100dvh; }
.chat.full { flex: 1; max-height: none; min-height: 0; }
.chat-actions { margin-top: -2px; }
.chat-input .input { flex: 1; }
.title-ic { display: flex; align-items: center; gap: 10px; }
.title-ic .i { width: 28px; height: 28px; }

/* Авто: карточка текущей машины. */
.car-hero { gap: 12px; }
.car-hero .car-name { font-size: 22px; font-weight: 700; line-height: 1.15; }
.car-hero .car-color { display: flex; align-items: center; font-size: 13px; color: var(--muted); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--onSurface); }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0 4px; }
.hint .i { width: 16px; height: 16px; margin-top: 1px; }

/* Профиль. */
.rating { display: flex; align-items: center; gap: 8px; color: var(--warning); }
.rating b { font-size: 44px; line-height: 1; font-weight: 700; color: var(--onSurface); letter-spacing: -.02em; }
.rating .i { width: 30px; height: 30px; }
