/* Turnkey · planul cu pinuri — stiluri (aceleași culori calde ca aplicația: albastru închis, corai, verde) */
.pv { position: relative; width: 100%; height: 100%; background: #eef1f6; overflow: hidden; border-radius: 14px; font-family: inherit; }
.pv-scena { position: absolute; inset: 0; touch-action: none; cursor: grab; overflow: hidden; }
.pv-scena:active { cursor: grabbing; }
.pv-lume { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.pv-baza, .pv-tiles { position: absolute; left: 0; top: 0; }
.pv-tiles img { opacity: 0; transition: opacity .18s ease; }
.pv-tiles img.pv-gata { opacity: 1; }
.pv-pinuri { position: absolute; left: 0; top: 0; pointer-events: none; }
/* pinul: vârful e exact în punctul neconformității; capul (picătură) stă deasupra, mereu la aceeași mărime pe ecran */
.pv-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; background: none; border: 0; padding: 0; cursor: pointer; }
.pv-pin-cap { position: absolute; left: -17px; top: -44px; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.35); border: 2.5px solid #fff; }
.pv-pin-nr { position: absolute; left: -17px; top: -44px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font: 700 13px/1 system-ui, sans-serif; color: #fff; pointer-events: none; }
.pv-pin-rosu .pv-pin-cap { background: #e8112d; }
.pv-pin-galben .pv-pin-cap { background: #f0a500; }
.pv-pin-verde .pv-pin-cap { background: #1f9d55; }
.pv-pin-ac { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.35); }
.pv-pin-ales .pv-pin-cap { transform: rotate(-45deg) scale(1.25); box-shadow: 0 0 0 5px rgba(232,17,45,.22), 0 4px 10px rgba(0,0,0,.4); }
.pv-pin-ales .pv-pin-nr { transform: scale(1.25); }
.pv-pin-nou .pv-pin-cap, .pv-pin-nou .pv-pin-nr { animation: pv-sare .9s ease-in-out infinite; }
.pv-pin.pv-ascuns { display: none; }
/* bula de grup: câte pinuri sunt aici (zoom mic); roșie dacă măcar una e de reparat */
.pv-grup { position: absolute; left: 0; top: 0; margin: -22px 0 0 -22px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; pointer-events: auto; cursor: pointer; font: 800 16px/1 system-ui, sans-serif; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.pv-grup-rosu { background: #e8112d; box-shadow: 0 0 0 6px rgba(232,17,45,.18), 0 3px 10px rgba(0,0,0,.3); }
.pv-grup-verde { background: #1f9d55; box-shadow: 0 0 0 6px rgba(31,157,85,.18), 0 3px 10px rgba(0,0,0,.3); }
@keyframes pv-sare { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.pv-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.pv-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fff; color: #1f2a5a; font: 700 22px/1 system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; }
.pv-btn:active { background: #e9ecf5; }
.pv-tinta { position: absolute; left: 0; right: 0; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 3; }
.pv-tinta[hidden] { display: none; }
.pv-tinta-text { background: #1f2a5a; color: #fff; padding: 10px 14px; border-radius: 999px; font: 600 15px/1.2 system-ui, sans-serif; box-shadow: 0 3px 10px rgba(0,0,0,.25); max-width: 90%; text-align: center; }
.pv-mod-pin .pv-scena { cursor: crosshair; }
.pv-mod-pin::after { content: ''; position: absolute; inset: 0; border: 4px solid #e8112d; border-radius: 14px; pointer-events: none; animation: pv-respira 1.6s ease-in-out infinite; }
@keyframes pv-respira { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.pv-popup { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.28); padding: 12px; z-index: 4; }
.pv-popup[hidden] { display: none; }
.pv-pop-rand { display: flex; gap: 12px; align-items: flex-start; }
.pv-pop-poza { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: #f1f3f8; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.pv-pop-text { flex: 1; min-width: 0; }
.pv-pop-stare { display: inline-block; font: 700 12px/1 system-ui, sans-serif; padding: 5px 8px; border-radius: 999px; margin-bottom: 6px; }
.pv-stare-rosu { background: #fde7ea; color: #b3091f; }
.pv-stare-galben { background: #fff3d6; color: #8a5a00; }
.pv-stare-verde { background: #e3f6ea; color: #156b3b; }
.pv-pop-titlu { font: 700 16px/1.25 system-ui, sans-serif; color: #1f2a5a; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pv-pop-sub { font: 400 13px/1.3 system-ui, sans-serif; color: #5b6280; margin-top: 3px; }
.pv-pop-inchide { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f3f8; color: #5b6280; font-size: 16px; cursor: pointer; flex: none; }
.pv-pop-detalii { margin-top: 10px; width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: #1f2a5a; color: #fff; font: 700 16px/1 system-ui, sans-serif; cursor: pointer; }
.pv-incarc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 16px system-ui, sans-serif; color: #5b6280; background: #eef1f6; z-index: 5; }
.pv-incarc[hidden] { display: none; }
