/* CarHelpMate v3.63 — Help Beacon & Admin Feedback */
.chm-feedback{--fb-blue:#2563eb;--fb-deep:#0f172a;--fb-border:#dbe4f0;--fb-muted:#64748b;position:relative;z-index:90}
.chm-feedback-beacon{position:fixed;right:22px;bottom:22px;z-index:92;width:58px;height:58px;border:1px solid rgba(37,99,235,.18);border-radius:19px;background:linear-gradient(145deg,#fff,#eef5ff);box-shadow:0 14px 40px rgba(15,23,42,.18),0 3px 10px rgba(37,99,235,.12);display:grid;place-items:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;border-color .2s ease}
.chm-feedback-beacon:hover{transform:translateY(-3px) scale(1.025);border-color:rgba(37,99,235,.34);box-shadow:0 18px 48px rgba(15,23,42,.22),0 5px 14px rgba(37,99,235,.18)}
.chm-feedback-beacon:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px}
.chm-feedback-logo{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;overflow:hidden;position:relative;z-index:2}.chm-feedback-logo-img{width:100%;height:100%;object-fit:cover;display:block}
.chm-feedback-status-dot{position:absolute;right:5px;bottom:5px;width:11px;height:11px;border-radius:50%;background:#22c55e;border:2px solid #fff;z-index:3;box-shadow:0 0 0 2px rgba(34,197,94,.13)}
.chm-feedback-radar{position:absolute;inset:-1px;border:1px solid rgba(37,99,235,.22);border-radius:21px;animation:chmFeedbackRadar 3.2s ease-out infinite}.chm-feedback-radar.is-second{animation-delay:1.6s}
@keyframes chmFeedbackRadar{0%{opacity:.5;transform:scale(.92)}65%,100%{opacity:0;transform:scale(1.42)}}
.chm-feedback-hint{position:fixed;right:91px;bottom:33px;z-index:91;padding:8px 11px;border:1px solid #dbeafe;border-radius:11px;background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(15,23,42,.12);font-size:12.75px;font-weight:800;color:#1e3a8a;white-space:nowrap;opacity:0;transform:translateX(8px);pointer-events:none;transition:.25s ease}.chm-feedback-hint.is-visible{opacity:1;transform:translateX(0)}
.chm-feedback-overlay{position:fixed;inset:0;z-index:110;background:rgba(15,23,42,.42);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px}.chm-feedback-overlay[hidden]{display:none!important}
.chm-feedback-dialog{position:relative;width:min(540px,100%);max-height:min(760px,calc(100vh - 32px));overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid rgba(226,232,240,.95);border-radius:24px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.28);padding:23px}.chm-feedback-dialog::-webkit-scrollbar{width:0;height:0;display:none}
.chm-feedback-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:10px;background:#f8fafc;color:#64748b;display:grid;place-items:center;cursor:pointer}.chm-feedback-close:hover{background:#eef2f7;color:#0f172a}
.chm-feedback-head{display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;padding-right:34px;align-items:start}.chm-feedback-head-logo{display:block}.chm-feedback-head-logo-wrap{display:block;width:46px;height:46px;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px rgba(37,99,235,.14)}.chm-feedback-head-logo-img{width:100%;height:100%;object-fit:cover;display:block}.chm-feedback-kicker{display:block;font-size:12.25px;line-height:1.2;font-weight:900;letter-spacing:.13em;color:#2563eb;margin-bottom:4px}.chm-feedback-head h2{margin:0;font-family:Manrope,Inter,sans-serif;font-size:19px;line-height:1.25;font-weight:850;letter-spacing:-.025em;color:#0f172a}.chm-feedback-head p{margin:5px 0 0;font-size:12.5px;line-height:1.55;color:#64748b}
.chm-feedback-form{margin-top:20px}.chm-feedback-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.chm-feedback-types label{min-width:0;cursor:pointer}.chm-feedback-types input{position:absolute;opacity:0;pointer-events:none}.chm-feedback-types span{min-height:48px;padding:7px 5px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#64748b;transition:.16s ease}.chm-feedback-types b{font-size:12.5px;line-height:1.15;text-align:center}.chm-feedback-types input:checked+span{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px rgba(37,99,235,.06)}
.chm-feedback-field{display:block;margin-top:15px;position:relative}.chm-feedback-field>span{display:block;margin-bottom:6px;font-size:12.75px;font-weight:800;color:#334155}.chm-feedback-field textarea,.chm-feedback-field input{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:14px;background:#fff;color:#0f172a;font:500 13.5px/1.55 Inter,sans-serif;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.chm-feedback-field textarea{min-height:126px;resize:vertical;padding:12px 13px 26px}.chm-feedback-field input{height:45px;padding:0 13px}.chm-feedback-field textarea:focus,.chm-feedback-field input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.09)}.chm-feedback-field>small{display:block;margin-top:5px;font-size:12.5px;line-height:1.4;color:#94a3b8}.chm-feedback-field textarea+small{position:absolute;right:10px;bottom:7px;margin:0;padding:2px 5px;border-radius:6px;background:rgba(255,255,255,.88)}
.chm-feedback-meta{display:flex;align-items:flex-start;gap:7px;margin-top:13px;padding:9px 10px;border-radius:11px;background:#f8fafc;color:#64748b;font-size:12.5px;line-height:1.45}.chm-feedback-meta svg{flex:none;margin-top:1px}
.chm-feedback-result{margin-top:12px;padding:10px 12px;border-radius:11px;font-size:12.75px;font-weight:700;line-height:1.45}.chm-feedback-result.is-ok{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.chm-feedback-result.is-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.chm-feedback-submit{width:100%;min-height:46px;margin-top:13px;border:0;border-radius:13px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font:800 13px/1 Inter,sans-serif;box-shadow:0 8px 20px rgba(37,99,235,.18);cursor:pointer;transition:.18s ease}.chm-feedback-submit:hover{transform:translateY(-1px);box-shadow:0 10px 25px rgba(37,99,235,.23)}.chm-feedback-submit:disabled{opacity:.65;cursor:wait;transform:none}
.chm-feedback-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.chm-feedback-open{overflow:hidden}
@media(max-width:767px){.chm-feedback-beacon{right:12px;bottom:82px;width:52px;height:52px;border-radius:17px}.chm-feedback-logo{width:38px;height:38px;border-radius:12px}.chm-feedback-hint{right:72px;bottom:91px;font-size:12.5px;padding:7px 9px}.chm-feedback-overlay{align-items:flex-end;padding:0}.chm-feedback-dialog{width:100%;max-height:88vh;border-radius:22px 22px 0 0;padding:20px 15px calc(18px + env(safe-area-inset-bottom))}.chm-feedback-head{grid-template-columns:42px minmax(0,1fr);gap:11px}.chm-feedback-head-logo-wrap{width:42px;height:42px}.chm-feedback-head h2{font-size:17px}.chm-feedback-head p{font-size:13px}.chm-feedback-types{grid-template-columns:repeat(2,minmax(0,1fr))}.chm-feedback-types span{min-height:44px;flex-direction:row;gap:6px}.chm-feedback-field textarea,.chm-feedback-field input{font-size:16px}.chm-feedback-field textarea{min-height:116px}}
@media(max-width:380px){.chm-feedback-beacon{right:9px;bottom:78px}.chm-feedback-hint{display:none}.chm-feedback-dialog{padding-left:12px;padding-right:12px}.chm-feedback-head{padding-right:30px}.chm-feedback-head h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.chm-feedback-radar{animation:none}.chm-feedback-beacon,.chm-feedback-hint,.chm-feedback-submit{transition:none}}


/* CarHelpMate v3.70 — visible entry prompt + optional screenshot */
.chm-feedback-hint{appearance:none;border:1px solid #bfdbfe;display:flex;align-items:center;gap:7px;max-width:min(330px,calc(100vw - 108px));min-height:40px;padding:9px 12px;background:rgba(255,255,255,.98);color:#1e3a8a;text-align:left;line-height:1.25;white-space:normal;overflow-wrap:anywhere;cursor:pointer;pointer-events:none}
.chm-feedback-hint svg{flex:0 0 auto;color:#2563eb}.chm-feedback-hint span{min-width:0}.chm-feedback-hint.is-visible{pointer-events:auto}.chm-feedback-hint:hover{border-color:#93c5fd;background:#eff6ff;box-shadow:0 12px 34px rgba(37,99,235,.14)}
.chm-feedback-upload{margin-top:15px;min-width:0}.chm-feedback-upload-title{display:block;margin-bottom:6px;font-size:12.75px;font-weight:800;color:#334155}.chm-feedback-file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.chm-feedback-file-picker{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border:1px dashed #bfdbfe;border-radius:14px;background:#f8fbff;cursor:pointer;transition:.16s ease;min-width:0}.chm-feedback-file-picker:hover{border-color:#60a5fa;background:#eff6ff}.chm-feedback-file-input:focus-visible+.chm-feedback-file-picker{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}.chm-feedback-file-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dbeafe;border-radius:11px;background:#fff;color:#2563eb}.chm-feedback-file-copy{min-width:0}.chm-feedback-file-copy b,.chm-feedback-file-copy small{display:block;overflow-wrap:anywhere}.chm-feedback-file-copy b{font-size:12.75px;color:#1e3a8a}.chm-feedback-file-copy small{margin-top:2px;font-size:12px;line-height:1.35;color:#94a3b8}.chm-feedback-file-preview{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:8px;padding:8px;border:1px solid #dbeafe;border-radius:13px;background:#fff;min-width:0}.chm-feedback-file-preview[hidden]{display:none!important}.chm-feedback-file-preview img{width:48px;height:48px;object-fit:cover;border-radius:9px;border:1px solid #e2e8f0;background:#f8fafc}.chm-feedback-file-preview>span{min-width:0}.chm-feedback-file-preview b,.chm-feedback-file-preview small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chm-feedback-file-preview b{font-size:12.25px;color:#334155}.chm-feedback-file-preview small{margin-top:3px;font-size:11.75px;color:#94a3b8}.chm-feedback-file-preview button{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 9px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#64748b;font:750 11.75px/1 Inter,sans-serif;cursor:pointer}.chm-feedback-file-preview button:hover{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
@media(max-width:767px){.chm-feedback-hint{right:72px;bottom:88px;max-width:min(280px,calc(100vw - 92px));font-size:12.5px}.chm-feedback-file-preview{grid-template-columns:44px minmax(0,1fr) auto}.chm-feedback-file-preview img{width:44px;height:44px}.chm-feedback-file-preview button span{display:none}.chm-feedback-file-preview button{width:34px;padding:0;justify-content:center}}
@media(max-width:380px){.chm-feedback-hint{display:flex;right:66px;bottom:84px;max-width:calc(100vw - 82px);font-size:12px;padding:8px 10px}.chm-feedback-file-picker{grid-template-columns:34px minmax(0,1fr);padding:9px 10px}.chm-feedback-file-icon{width:34px;height:34px}}
