:root{--pp-primary:#7F469A;--pp-primary2:#6E3A88;--pp-soft:#F6F0F8;--pp-navy:#17295F;--pp-ink:#182033;--pp-muted:#6D7480;--pp-line:#E7E9EE;--pp-bg:#F7F8FA;--pp-white:#fff;--pp-success:#12805C;--pp-danger:#C33D55;--pp-warning:#A46B14;--pp-radius:18px;--pp-shadow:0 10px 30px rgba(23,41,95,.07)}
.pp-app,.pp-app *{box-sizing:border-box}.pp-app{isolation:isolate;margin:0;width:100%;max-width:100%}.pp-app{min-height:100vh;width:100%;max-width:none;background:#fff;color:var(--pp-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.pp-app button,.pp-app input,.pp-app select,.pp-app textarea{font:inherit}.pp-topbar{position:sticky!important;display:block!important;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-bottom:1px solid var(--pp-line);padding-top:env(safe-area-inset-top)}.pp-topbar-inner{height:64px;width:100%;max-width:none;margin:0;padding:0 15px;display:flex;align-items:center;justify-content:space-between}.pp-brand{display:flex;align-items:center;gap:10px;min-width:0}.pp-brand img,.pp-brand .pp-logo-img{display:block!important;width:104px!important;max-width:104px!important;height:36px!important;max-height:36px!important;object-fit:contain!important;object-position:left center!important;flex:0 0 104px!important}.pp-brand span{border-left:1px solid var(--pp-line);padding-left:10px}.pp-brand b{display:block;color:var(--pp-navy);font-size:11px}.pp-brand small{display:block;color:var(--pp-muted);font-size:9px;margin-top:2px}.pp-user-btn{width:34px;height:34px;border:1px solid rgba(127,70,154,.2);border-radius:50%;background:var(--pp-soft);color:var(--pp-primary);display:grid;place-items:center;font-weight:900}.pp-main{width:100%;max-width:none;margin:0;padding:14px}.pp-view{display:none}.pp-view.is-active{display:block}.pp-page-head{margin:2px 2px 14px}.pp-page-head h1{font-size:23px;line-height:1.15;letter-spacing:-.03em;color:var(--pp-navy);margin:0 0 5px}.pp-page-head p{font-size:11.5px;line-height:1.5;color:var(--pp-muted);margin:0}.pp-card{background:#fff;border:1px solid var(--pp-line);border-radius:var(--pp-radius);box-shadow:var(--pp-shadow)}.pp-form-card{padding:15px;width:100%;max-width:none}.pp-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.pp-field label{font-size:10.5px;font-weight:800;color:#414958}.pp-field input,.pp-field select,.pp-field textarea{width:100%;border:1px solid #DEE2E8;background:#fff;color:var(--pp-ink);border-radius:13px;min-height:46px;padding:10px 12px;outline:none}.pp-field textarea{min-height:78px}.pp-field input:focus,.pp-field select:focus,.pp-field textarea:focus{border-color:var(--pp-primary);box-shadow:0 0 0 3px rgba(127,70,154,.10)}.pp-grid2{display:grid;grid-template-columns:1fr;gap:0}.pp-location-box{border:1px solid var(--pp-line);border-radius:15px;background:#fff;padding:12px;margin:4px 0 12px}.pp-location-box>div:first-child{display:flex;gap:10px;align-items:flex-start}.pp-location-icon{width:35px;height:35px;border-radius:11px;background:var(--pp-soft);display:grid;place-items:center;color:var(--pp-primary);font-size:20px;flex:0 0 auto}.pp-location-box strong{font-size:11.5px;color:var(--pp-navy)}.pp-location-box p{font-size:9.7px;line-height:1.45;color:var(--pp-muted);margin:3px 0 0}.pp-actions{display:flex;gap:8px;margin-top:10px}.pp-actions>*{flex:1}.pp-btn{min-height:42px;border-radius:12px;border:0;padding:0 12px;font-size:10.5px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer}.pp-btn-primary{background:var(--pp-primary);color:#fff}.pp-btn-primary:hover{background:var(--pp-primary2);color:#fff}.pp-btn-soft{background:var(--pp-soft);color:var(--pp-primary2)}.pp-btn-line{background:#fff;color:var(--pp-navy);border:1px solid var(--pp-line)}.pp-btn-success{background:var(--pp-success);color:#fff}.pp-btn-full{width:100%}.pp-save{min-height:49px}.pp-toolbar,.pp-geo-toolbar{display:grid;grid-template-columns:1fr 120px;gap:8px;margin-bottom:10px}.pp-search input,.pp-toolbar select,.pp-geo-toolbar select{width:100%;height:43px;border:1px solid var(--pp-line);background:#fff;border-radius:12px;padding:0 11px;outline:none;font-size:10.5px}.pp-list{display:flex;flex-direction:column;gap:9px}.pp-person{background:#fff;border:1px solid var(--pp-line);border-radius:15px;padding:12px;box-shadow:0 4px 14px rgba(23,41,95,.035)}.pp-person-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pp-person h3{margin:0;color:var(--pp-navy);font-size:12.5px;line-height:1.25}.pp-person-sub{font-size:9.5px;color:var(--pp-muted);margin-top:3px}.pp-status{font-size:8.7px;font-weight:850;border-radius:999px;padding:5px 7px;background:var(--pp-soft);color:var(--pp-primary2);white-space:nowrap}.pp-status.is-active{background:#ECF8F3;color:var(--pp-success)}.pp-person-actions{display:flex;gap:6px;margin-top:9px;flex-wrap:wrap}.pp-person-actions button,.pp-person-actions a{min-height:34px;border-radius:10px;padding:0 9px;border:1px solid var(--pp-line);background:#fff;color:var(--pp-navy);font-size:9.5px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center}.pp-person-actions .pp-open{background:var(--pp-soft);color:var(--pp-primary2);border-color:rgba(127,70,154,.12)}.pp-empty{padding:30px 15px;text-align:center;border:1px dashed var(--pp-line);border-radius:15px;background:#fff;color:var(--pp-muted);font-size:10.5px}.pp-map{position:relative;z-index:1;height:52vh;min-height:340px;border-radius:17px;border:1px solid var(--pp-line);overflow:hidden;background:#e9edf1;margin-bottom:10px}.pp-map .leaflet-control-attribution{font-size:8px}.pp-geo-selected{padding:12px;margin-bottom:10px}.pp-geo-selected.is-empty{color:var(--pp-muted);font-size:10px;text-align:center}.pp-selected-title{display:flex;justify-content:space-between;gap:8px}.pp-selected-title strong{font-size:12px;color:var(--pp-navy)}.pp-selected-title span{font-size:9px;color:var(--pp-muted)}.pp-selected-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.pp-selected-actions .pp-btn{padding:0 6px}.pp-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}.pp-kpi{background:#fff;border:1px solid var(--pp-line);border-radius:15px;padding:12px}.pp-kpi span{display:block;font-size:9px;color:var(--pp-muted);font-weight:750;margin-bottom:7px}.pp-kpi strong{font-size:22px;color:var(--pp-navy);letter-spacing:-.04em}.pp-analytics-card{padding:14px}.pp-analytics-card h2{font-size:12px;color:var(--pp-navy);margin:0 0 12px}.pp-funnel-row{display:grid;grid-template-columns:92px 1fr 25px;gap:8px;align-items:center;margin:8px 0}.pp-funnel-row label{font-size:9.5px;color:var(--pp-muted)}.pp-funnel-track{height:8px;background:#EEF0F3;border-radius:999px;overflow:hidden}.pp-funnel-fill{height:100%;background:var(--pp-primary);border-radius:999px}.pp-funnel-row b{font-size:9.5px;text-align:right}.pp-nav{position:fixed;left:0;right:0;bottom:0;z-index:120;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);border-top:1px solid var(--pp-line);padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);height:calc(72px + env(safe-area-inset-bottom))}.pp-nav button{border:0;background:transparent;color:#89919E;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:8.8px;font-weight:750}.pp-nav i{font-style:normal;font-size:19px;line-height:1}.pp-nav button.is-active{color:var(--pp-primary);font-weight:900}.pp-modal{position:fixed;inset:0;background:rgba(17,24,39,.42);z-index:300;display:none;align-items:flex-end;justify-content:center;padding:14px}.pp-modal.is-open{display:flex}.pp-modal-card{width:100%;max-width:430px;background:#fff;border-radius:22px;padding:18px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.2)}.pp-modal-card h3{color:var(--pp-navy);margin:0 0 5px;font-size:16px}.pp-modal-card>p{color:var(--pp-muted);font-size:10.5px;line-height:1.5;margin:0 0 14px}.pp-x{width:34px;height:34px;border:1px solid var(--pp-line);background:#fff;border-radius:10px;color:var(--pp-muted);font-size:20px;display:grid;place-items:center;cursor:pointer}.pp-modal-card>.pp-x{position:absolute;right:12px;top:12px}.pp-account-card{text-align:center}.pp-account-card img{display:block!important;width:132px!important;max-width:132px!important;height:46px!important;max-height:46px!important;object-fit:contain!important;margin:5px auto 18px!important}.pp-account-card strong{display:block;color:var(--pp-navy);margin-bottom:14px}.pp-account-card a{display:inline-flex;min-height:40px;padding:0 15px;align-items:center;border:1px solid var(--pp-line);border-radius:12px;color:var(--pp-danger);text-decoration:none;font-size:10px;font-weight:850}.pp-sheet-wrap{position:fixed;inset:0;z-index:250;background:rgba(17,24,39,.42);display:none}.pp-sheet-wrap.is-open{display:block}.pp-sheet{position:absolute;left:0;right:0;bottom:0;height:94vh;max-width:760px;margin:auto;background:#fff;border-radius:24px 24px 0 0;overflow:hidden}.pp-sheet-head{height:66px;padding:12px 14px;border-bottom:1px solid var(--pp-line);display:flex;align-items:center;justify-content:space-between}.pp-sheet-head h2{font-size:16px;color:var(--pp-navy);margin:0 0 2px}.pp-sheet-head p{font-size:9px;color:var(--pp-muted);margin:0}.pp-sheet-body{height:calc(94vh - 66px);overflow:auto;padding:14px 14px 100px}.pp-progress-card{border:1px solid var(--pp-line);border-radius:14px;padding:11px;margin-bottom:13px}.pp-progress-card>div:first-child{display:flex;justify-content:space-between;font-size:10px}.pp-progress-card b{color:var(--pp-primary)}.pp-progress{height:7px;background:#EEF0F3;border-radius:999px;margin-top:8px;overflow:hidden}.pp-progress span{display:block;height:100%;width:0;background:var(--pp-primary);border-radius:999px}.pp-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0 9px}.pp-section-title h3{font-size:12px;color:var(--pp-navy);margin:0}.pp-section-title span{font-size:9px;color:var(--pp-muted)}.pp-mini-add{border:1px solid rgba(127,70,154,.2);background:var(--pp-soft);color:var(--pp-primary2);border-radius:10px;min-height:32px;padding:0 9px;font-size:9px;font-weight:850}.pp-subcard{position:relative;border:1px solid var(--pp-line);background:#FBFBFC;border-radius:14px;padding:11px;margin-bottom:8px}.pp-remove{position:absolute;right:8px;top:8px;width:28px;height:28px;border:1px solid var(--pp-line);border-radius:9px;background:#fff;color:var(--pp-danger)}.pp-subcard-title{font-size:8.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--pp-muted);font-weight:850;margin-bottom:9px}.pp-location-actions{padding:9px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pp-location-actions .pp-btn{padding:0 6px}.pp-visit-card{padding:11px}.pp-activate-box{margin-top:16px;border:1px solid rgba(18,128,92,.18);background:#ECF8F3;border-radius:15px;padding:12px}.pp-activate-box strong{font-size:11px;color:#0C6C4F}.pp-activate-box p{font-size:9.5px;color:#377D69;line-height:1.45;margin:4px 0 9px}.pp-sheet-bottom{position:absolute;left:0;right:0;bottom:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--pp-line);background:rgba(255,255,255,.98)}.pp-toast{position:fixed;left:50%;bottom:calc(83px + env(safe-area-inset-bottom));transform:translate(-50%,10px);background:#161B24;color:#fff;border-radius:12px;padding:10px 13px;font-size:10px;z-index:400;opacity:0;pointer-events:none;transition:.18s;max-width:calc(100% - 28px);text-align:center}.pp-toast.is-show{opacity:1;transform:translate(-50%,0)}.pp-login-screen{min-height:70vh;background:#fff;display:grid;place-items:center;padding:22px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.pp-login-card{width:100%;max-width:390px;background:#fff;border:1px solid rgba(127,70,154,.12);border-radius:24px;padding:28px 22px;box-shadow:0 22px 60px rgba(23,41,95,.10)}.pp-login-logo{display:block!important;width:156px!important;max-width:156px!important;height:54px!important;max-height:54px!important;object-fit:contain!important;margin:0 auto 25px!important}.pp-login-title{text-align:center;margin-bottom:20px}.pp-login-title h1{color:var(--pp-navy);font-size:22px;margin:0 0 4px;letter-spacing:-.03em}.pp-login-title p{font-size:10.5px;color:var(--pp-muted);margin:0}.pp-login-error{background:#FFF1F3;border:1px solid #F7D5DB;color:#A43348;border-radius:12px;padding:10px;font-size:10px;margin-bottom:12px}.pp-remember{display:flex;align-items:center;gap:7px;font-size:9.5px;color:var(--pp-muted);margin:2px 0 15px}.pp-remember input{accent-color:var(--pp-primary)}.pp-login-btn{min-height:48px}.leaflet-popup-content{margin:10px 12px;font-family:inherit}.pp-popup strong{color:var(--pp-navy);font-size:11px}.pp-popup small{display:block;color:var(--pp-muted);font-size:9px;margin-top:2px}.pp-popup-actions{display:flex;gap:5px;margin-top:8px}.pp-popup-actions a{border:1px solid var(--pp-line);border-radius:8px;padding:5px 7px;text-decoration:none;font-size:9px;color:var(--pp-navy)}
@media(min-width:640px){.pp-main{padding:20px}.pp-grid2{grid-template-columns:1fr 1fr;gap:10px}.pp-field{margin-bottom:10px}.pp-form-card{padding:20px;width:100%;max-width:none;margin:0}.pp-kpis{grid-template-columns:repeat(4,1fr)}.pp-modal{align-items:center}.pp-toolbar,.pp-geo-toolbar,.pp-list,.pp-page-head,.pp-map,.pp-geo-selected,.pp-kpis,.pp-analytics-card{width:100%;max-width:none;margin-left:0;margin-right:0}.pp-map{margin-bottom:10px}.pp-page-head{margin-bottom:14px}}

/* Elementor/theme compatibility */
.pp-app img{box-shadow:none!important;border:0!important}.pp-app .pp-logo-img,.pp-app .pp-login-logo{aspect-ratio:auto!important}.elementor-widget-shortcode .pp-app{width:100%!important;max-width:100%!important;overflow:visible!important}.elementor-widget-shortcode .pp-app .pp-topbar{width:100%!important}.elementor-widget-shortcode .pp-app .pp-main{width:100%!important;max-width:100%!important}

/* 1.0.4 — Legibilidad y lenguaje visual tipo app financiera */
.pp-app{font-size:15px;line-height:1.45;letter-spacing:-.005em;color:#171B24}
.pp-topbar-inner{height:68px;padding:0 16px}
.pp-brand{gap:12px}.pp-brand span{padding-left:12px}.pp-brand b{font-size:13px;font-weight:800;letter-spacing:-.015em}.pp-brand small{font-size:11px;font-weight:600;margin-top:2px;color:#737A86}
.pp-user-btn{width:38px;height:38px;font-size:14px;font-weight:850;border-width:1.5px}
.pp-main{padding:18px 16px 22px}.pp-page-head{margin:4px 0 18px}.pp-page-head h1{font-size:28px;font-weight:850;letter-spacing:-.04em;margin-bottom:7px}.pp-page-head p{font-size:14px;line-height:1.5;font-weight:520;color:#626A77;max-width:720px}
.pp-card{border-radius:20px}.pp-form-card{padding:18px}.pp-field{gap:7px;margin-bottom:15px}.pp-field label{font-size:13px;font-weight:750;color:#303744}.pp-field input,.pp-field select,.pp-field textarea{min-height:52px;border-radius:15px;padding:12px 14px;font-size:15px;font-weight:520;border-color:#DDE1E8}.pp-field textarea{min-height:92px;line-height:1.5}.pp-field input::placeholder,.pp-field textarea::placeholder{color:#A0A6B0;font-weight:450}
.pp-location-box{padding:15px;border-radius:17px;margin:6px 0 15px}.pp-location-icon{width:40px;height:40px;border-radius:13px;font-size:22px}.pp-location-box strong{font-size:14px;font-weight:800}.pp-location-box p{font-size:12.5px;line-height:1.5;margin-top:4px}
.pp-actions{gap:9px;margin-top:12px}.pp-btn{min-height:46px;border-radius:14px;padding:0 15px;font-size:13px;font-weight:800;letter-spacing:-.01em}.pp-save{min-height:54px;font-size:14px}.pp-btn svg{width:18px;height:18px;stroke-width:1.8}
.pp-toolbar,.pp-geo-toolbar{grid-template-columns:minmax(0,1fr) 138px;gap:10px;margin-bottom:13px}.pp-search input,.pp-toolbar select,.pp-geo-toolbar select{height:48px;border-radius:14px;padding:0 13px;font-size:13px;font-weight:550}
.pp-list{gap:11px}.pp-person{border-radius:18px;padding:15px}.pp-person h3{font-size:15.5px;font-weight:850;letter-spacing:-.018em}.pp-person-sub{font-size:12px;line-height:1.45;margin-top:5px}.pp-status{font-size:11px;font-weight:800;padding:6px 9px}.pp-person-actions{gap:8px;margin-top:12px}.pp-person-actions button,.pp-person-actions a{min-height:39px;border-radius:11px;padding:0 11px;font-size:12px;font-weight:750}.pp-person-avatar{width:44px;height:44px;border-radius:14px;object-fit:cover;flex:0 0 auto;background:var(--pp-soft)}
.pp-empty{padding:36px 16px;font-size:13px}.pp-map{border-radius:20px}.pp-map .leaflet-control-attribution{font-size:10px}.pp-geo-selected{padding:15px}.pp-geo-selected.is-empty{font-size:13px}.pp-selected-title strong{font-size:15px;font-weight:850}.pp-selected-title span{font-size:12px;margin-top:4px;display:block}.pp-selected-actions{gap:9px;margin-top:12px}
.pp-kpis{gap:10px;margin-bottom:12px}.pp-kpi{border-radius:18px;padding:15px}.pp-kpi span{font-size:12px;font-weight:700;margin-bottom:9px}.pp-kpi strong{font-size:28px;font-weight:850}.pp-analytics-card{padding:17px}.pp-analytics-card h2{font-size:15px;font-weight:850;margin-bottom:15px}.pp-funnel-row{grid-template-columns:112px 1fr 30px;gap:10px;margin:11px 0}.pp-funnel-row label{font-size:12px;font-weight:650}.pp-funnel-track{height:10px}.pp-funnel-row b{font-size:12px;font-weight:800}
.pp-nav{height:calc(78px + env(safe-area-inset-bottom))}.pp-nav button{gap:5px;font-size:11px;font-weight:700;letter-spacing:-.01em}.pp-nav i{width:24px;height:24px;display:grid;place-items:center}.pp-nav i svg{width:23px;height:23px;stroke-width:1.85}.pp-nav button.is-active{font-weight:850}
.pp-modal-card{border-radius:24px;padding:21px}.pp-modal-card h3{font-size:20px;font-weight:850}.pp-modal-card>p{font-size:13px;line-height:1.55}.pp-x{width:38px;height:38px;border-radius:12px;font-size:22px}.pp-account-card strong{font-size:15px}.pp-account-card a{min-height:44px;font-size:13px;font-weight:800}
.pp-sheet{max-width:820px}.pp-sheet-head{height:72px;padding:13px 16px}.pp-sheet-head h2{font-size:20px;font-weight:850;letter-spacing:-.025em}.pp-sheet-head p{font-size:12px}.pp-sheet-body{height:calc(94vh - 72px);padding:16px 16px 112px}.pp-progress-card{padding:14px;border-radius:16px;margin-bottom:16px}.pp-progress-card>div:first-child{font-size:13px;font-weight:750}.pp-progress{height:8px;margin-top:10px}.pp-section-title{margin:21px 0 11px}.pp-section-title h3{font-size:16px;font-weight:850;letter-spacing:-.02em}.pp-section-title span{font-size:12px;font-weight:650}.pp-mini-add{min-height:38px;border-radius:11px;padding:0 11px;font-size:12px;font-weight:800}.pp-subcard{border-radius:16px;padding:14px;margin-bottom:10px}.pp-remove{width:32px;height:32px;border-radius:10px;font-size:18px}.pp-subcard-title{font-size:11px;font-weight:850;margin-bottom:11px}.pp-location-actions{padding:11px;gap:9px;border-radius:17px}.pp-visit-card{padding:14px}.pp-activate-box{border-radius:17px;padding:15px}.pp-activate-box strong{font-size:14px;font-weight:850}.pp-activate-box p{font-size:12.5px;line-height:1.5;margin:5px 0 11px}.pp-sheet-bottom{padding:11px 16px calc(11px + env(safe-area-inset-bottom))}
.pp-toast{bottom:calc(90px + env(safe-area-inset-bottom));border-radius:14px;padding:12px 15px;font-size:12.5px;font-weight:650}.pp-login-screen{padding:24px}.pp-login-card{max-width:410px;padding:31px 24px;border-radius:26px}.pp-login-title h1{font-size:27px;font-weight:850}.pp-login-title p{font-size:13px}.pp-login-error{font-size:12.5px;padding:12px}.pp-remember{font-size:12.5px;margin:4px 0 17px}.pp-login-btn{min-height:52px;font-size:14px}.pp-popup strong{font-size:13px}.pp-popup small{font-size:11px}.pp-popup-actions a{font-size:11.5px;padding:7px 9px}

/* Expediente fotográfico */
.pp-photo-section-title{align-items:flex-end}.pp-photo-section-title>div p{margin:4px 0 0;color:var(--pp-muted);font-size:12px;line-height:1.4;font-weight:520}.pp-photo-grid{display:grid;grid-template-columns:1fr;gap:11px}.pp-photo-card{border:1px solid var(--pp-line);border-radius:18px;background:#fff;overflow:hidden;position:relative;box-shadow:0 5px 16px rgba(23,41,95,.035)}.pp-photo-preview{aspect-ratio:16/10;background:#F5F5F7;position:relative;overflow:hidden}.pp-photo-card[data-photo-type="coordinator"] .pp-photo-preview{aspect-ratio:4/3}.pp-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}.pp-photo-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#9A7AAA;background:linear-gradient(145deg,#FAF7FB,#F2ECF5)}.pp-photo-placeholder svg{width:38px;height:38px;stroke-width:1.45}.pp-photo-copy{padding:12px 13px 7px}.pp-photo-copy strong{display:block;color:var(--pp-navy);font-size:14px;font-weight:850}.pp-photo-copy span{display:block;color:var(--pp-muted);font-size:11.5px;margin-top:2px}.pp-photo-btn{margin:0 12px 12px;width:calc(100% - 24px);min-height:42px;border:1px solid rgba(127,70,154,.18);border-radius:12px;background:var(--pp-soft);color:var(--pp-primary2);display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:800;cursor:pointer}.pp-photo-btn svg{width:18px;height:18px;stroke-width:1.8}.pp-photo-card.is-uploading{opacity:.72;pointer-events:none}.pp-photo-card.is-uploading .pp-photo-btn span:after{content:'...'}

@media(min-width:640px){.pp-main{padding:24px}.pp-form-card{padding:24px}.pp-photo-grid{grid-template-columns:repeat(3,1fr)}.pp-photo-card[data-photo-type="coordinator"] .pp-photo-preview,.pp-photo-preview{aspect-ratio:4/3}.pp-page-head h1{font-size:31px}}
.pp-location-icon svg{width:20px;height:20px;stroke-width:1.8}.pp-mini-add{display:inline-flex;align-items:center;justify-content:center;gap:6px}.pp-mini-add svg{width:15px;height:15px;stroke-width:2}

/* 1.0.6 — Fotografía en alta calidad, encuadre completo y loader Lottie */
.pp-photo-preview{background:#F5F4F6;display:flex;align-items:center;justify-content:center;min-height:230px;aspect-ratio:auto!important;padding:8px}
.pp-photo-card[data-photo-type="coordinator"] .pp-photo-preview{aspect-ratio:auto!important}
.pp-photo-preview img{width:100%;height:auto!important;max-height:520px;object-fit:contain!important;object-position:center center;background:#F5F4F6;border-radius:10px}
.pp-photo-placeholder{border-radius:0}.pp-photo-card{overflow:hidden}
.pp-photo-card.is-uploading{opacity:1;pointer-events:none}.pp-photo-card.is-uploading .pp-photo-preview{filter:saturate(.88)}
.pp-upload-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.88);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease}
.pp-upload-overlay.is-show{opacity:1;visibility:visible;pointer-events:all}
.pp-upload-center{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;min-width:210px}
.pp-upload-lottie{width:106px;height:106px;display:grid;place-items:center;position:relative;margin-bottom:12px}
.pp-upload-lottie svg{width:100%!important;height:100%!important;display:block}
.pp-upload-center>strong{font-size:16px;font-weight:850;letter-spacing:-.02em;color:var(--pp-navy)}
.pp-upload-center>span{font-size:13px;font-weight:600;color:var(--pp-muted);margin-top:5px}
.pp-upload-fallback{width:66px;height:66px;border-radius:50%;border:7px solid rgba(127,70,154,.14);border-top-color:var(--pp-primary);animation:ppSpin .85s linear infinite}
.pp-upload-lottie.has-lottie .pp-upload-fallback{display:block}.pp-upload-lottie.has-lottie svg{display:none!important}
@keyframes ppSpin{to{transform:rotate(360deg)}}
html.pp-upload-busy,html.pp-upload-busy body{overflow:hidden!important}
@media(min-width:640px){.pp-photo-preview{min-height:260px}.pp-photo-preview img{max-height:560px}}

/* 1.0.8 — historial de visitas y geolocalización manual */
.pp-geo-search-wrap{position:relative;z-index:35}
.pp-geo-suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:150;background:#fff;border:1px solid var(--pp-line);border-radius:16px;box-shadow:0 18px 45px rgba(23,41,95,.16);overflow:hidden;display:none;max-height:360px;overflow-y:auto}
.pp-geo-suggestions.is-open{display:block}
.pp-geo-suggestions button{width:100%;border:0;border-bottom:1px solid #F0F1F4;background:#fff;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}
.pp-geo-suggestions button:last-child{border-bottom:0}.pp-geo-suggestions button:hover,.pp-geo-suggestions button:focus{background:#FAF7FB;outline:none}
.pp-geo-suggestions button span{min-width:0;display:block}.pp-geo-suggestions button strong{display:block;color:var(--pp-navy);font-size:13.5px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pp-geo-suggestions button small{display:block;color:var(--pp-muted);font-size:11.5px;font-weight:600;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pp-geo-suggestions button b{flex:0 0 auto;font-size:10.5px;color:var(--pp-primary2);background:var(--pp-soft);border-radius:999px;padding:5px 7px}.pp-geo-suggestion-empty{padding:15px;text-align:center;color:var(--pp-muted);font-size:12.5px;font-weight:650}
.pp-map{isolation:isolate;z-index:1}.pp-map .leaflet-pane,.pp-map .leaflet-top,.pp-map .leaflet-bottom{z-index:auto}.pp-map .leaflet-map-pane{z-index:1}.pp-map .leaflet-tile-pane{z-index:2}.pp-map .leaflet-overlay-pane{z-index:4}.pp-map .leaflet-shadow-pane{z-index:5}.pp-map .leaflet-marker-pane{z-index:6}.pp-map .leaflet-tooltip-pane{z-index:7}.pp-map .leaflet-popup-pane{z-index:8}.pp-map .leaflet-control{z-index:9}
.pp-geo-manual-bar{padding:14px 15px;margin:-2px 0 10px;border-color:rgba(127,70,154,.22);background:#FBF8FC}.pp-geo-manual-bar[hidden]{display:none!important}.pp-geo-manual-bar>div:first-child strong{display:block;color:var(--pp-navy);font-size:14px;font-weight:850}.pp-geo-manual-bar>div:first-child span{display:block;color:var(--pp-muted);font-size:12px;line-height:1.45;margin-top:3px}.pp-geo-manual-actions{display:grid;grid-template-columns:.85fr 1.15fr;gap:8px;margin-top:11px}.pp-selected-address{display:block;color:#6A7180;font-size:11.5px;line-height:1.4;margin-top:5px;font-weight:600}
.pp-visit-history{position:relative;display:flex;flex-direction:column;gap:0;margin-bottom:18px}.pp-visit-history:before{content:"";position:absolute;left:11px;top:13px;bottom:13px;width:2px;background:#ECE7EF}.pp-visit-history-item{position:relative;display:grid;grid-template-columns:24px 1fr;gap:10px;padding:0 0 14px}.pp-visit-history-item:last-child{padding-bottom:0}.pp-visit-history-dot{position:relative;z-index:1;width:12px;height:12px;border:3px solid #fff;background:var(--pp-primary);box-shadow:0 0 0 2px rgba(127,70,154,.18);border-radius:50%;margin:5px 0 0 6px}.pp-visit-history-content{border:1px solid var(--pp-line);border-radius:15px;background:#fff;padding:12px 13px}.pp-visit-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.pp-visit-history-head strong{font-size:13px;color:var(--pp-navy);font-weight:850}.pp-visit-history-head time{font-size:10.5px;color:var(--pp-muted);font-weight:650;text-align:right}.pp-visit-history-content p{font-size:12.5px;color:#424A58;line-height:1.5;margin:7px 0 0}.pp-visit-history-content p.is-muted{color:#9298A3}.pp-visit-history-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.pp-visit-history-meta span,.pp-visit-history-meta a{font-size:10.5px;font-weight:750}.pp-visit-history-meta span{color:var(--pp-muted)}.pp-visit-history-meta a{color:var(--pp-primary2);text-decoration:none}
@media(min-width:640px){.pp-geo-manual-bar{display:flex;align-items:center;justify-content:space-between;gap:18px}.pp-geo-manual-actions{display:flex;margin-top:0;min-width:280px}.pp-geo-manual-actions>*{flex:1}.pp-visit-history-content{padding:14px 15px}}


/* 1.0.9 — marcador manual visible y doble clic/doble toque */
.pp-manual-marker-icon{background:transparent!important;border:0!important}
.pp-manual-pin{position:relative;width:36px;height:36px;background:var(--pp-primary);border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 6px 18px rgba(23,41,95,.28)}
.pp-manual-pin span{position:absolute;width:12px;height:12px;border-radius:50%;background:#fff;left:9px;top:9px;box-shadow:0 0 0 2px rgba(127,70,154,.14)}
.pp-map.pp-manual-active{cursor:crosshair}
