/* Mobile-first refresh — only public/affiliate views */
:root{--pts:#075e86;--pts-light:#eaf6fc;--pts-card:#fff;--pts-ink:#102e42;--pts-shadow:0 12px 36px rgba(9,51,80,.08)}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f3f7fc;color:var(--pts-ink)}
.top{background:#fff;border:0;box-shadow:0 3px 16px rgba(15,57,88,.07);position:sticky;top:0;z-index:25}.top .container{max-width:1180px}.brand-logo{border-radius:14px}.brand-sub{color:#588097}
.container{max-width:1180px}.card,.kpi{border:1px solid #e5eef4;border-radius:20px;box-shadow:var(--pts-shadow)}.card{padding:22px}.kpi{padding:20px;border-top:0}.kpi .v{color:var(--pts);font-size:clamp(20px,3vw,29px)}.digital-card{background:linear-gradient(135deg,#07547c,#0aa4c0)!important;border:0;box-shadow:0 16px 34px rgba(0,83,132,.22)}
button,.btn{border-radius:12px;padding:12px 16px;font-weight:650;min-height:42px}input,select,textarea{padding:12px;border-radius:12px;background:#fff}
table{min-width:690px} .card:has(table){overflow-x:auto} .grid{gap:16px} h2,h3{letter-spacing:-.03em}
.pts-mobile-nav{display:none}.pts-install-link{background:#e9f7fb;color:#075e86;border-radius:12px;padding:10px 14px;display:inline-flex;align-items:center;font-weight:700}
.pts-install-hero{background:linear-gradient(125deg,#054a71,#048cac);color:#fff;padding:clamp(22px,5vw,46px);border-radius:26px;box-shadow:0 18px 42px rgba(4,91,124,.18);display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:20px;margin:20px 0}.pts-install-hero h1{font-size:clamp(28px,4vw,44px);margin:10px 0}.pts-install-hero p{line-height:1.6}.pts-install-hero img{max-height:200px;max-width:100%;object-fit:contain;justify-self:center;background:white;border-radius:26px;padding:14px}.pts-install-hero button{background:white;color:#075e86;font-size:16px}
.pts-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.pts-steps article{background:#fff;border-radius:20px;padding:24px;box-shadow:var(--pts-shadow)}
@media(max-width:720px){
 body.pts-affiliate{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 .top .container{padding:10px 14px;flex-wrap:nowrap}.top .brand-logo{width:42px;height:42px}.top .brand-wrap strong{font-size:12px}.top .brand-sub{font-size:11px}.pts-desktop-links{display:none}
 .container{padding:14px}.card{padding:17px;border-radius:18px}.grid.g2,.grid.g3{grid-template-columns:minmax(0,1fr)}
 .pts-affiliate .grid.g3{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pts-affiliate .grid.g3 .kpi{padding:14px}.pts-affiliate .grid.g3 .kpi .v{font-size:18px;overflow-wrap:anywhere}
 .digital-card{min-height:220px}.card .grid.g2>div{min-width:0} .profile-photo{width:70px;height:70px}
 .pts-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid #dce8f0;padding:9px 3px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(15,57,88,.09)}
 .pts-mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#526a79;font-size:10px;font-weight:650;text-align:center;min-width:0}.pts-mobile-nav a[aria-current="page"]{color:#075e86}.pts-mobile-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
 .pts-install-hero{grid-template-columns:1fr;text-align:center}.pts-install-hero img{max-height:125px;grid-row:1}.pts-install-hero button{width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Por Tu Salud 3.1 mobile experience */
.pts-page-heading{margin:12px 0 20px}.pts-page-heading h1{font-size:clamp(24px,4vw,34px);letter-spacing:-.04em;margin:5px 0}.pts-page-heading p{color:#63798a;margin:0}.pts-overline{font-size:11px;color:#08729d;letter-spacing:.13em;font-weight:800}
.pts-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.pts-section-title h2{margin:0}.pts-section-title a,.pts-section-title span{font-size:13px;color:#14799a}
.pts-card-section{padding:22px;background:#fff;border-radius:22px;margin:18px 0;box-shadow:var(--pts-shadow)}
.pts-membership-card{background:linear-gradient(124deg,#053958,#076f97 58%,#0ba7bb);border-radius:22px;padding:24px;color:#fff;min-height:230px;box-shadow:0 18px 40px #05395838;position:relative;overflow:hidden}
.pts-membership-card:after{content:'';position:absolute;width:260px;height:260px;border:1px solid #ffffff28;border-radius:50%;right:-130px;top:-110px;pointer-events:none}
.pts-card-top,.pts-card-person,.pts-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px}.pts-card-top small,.pts-card-bottom small{display:block;opacity:.75;letter-spacing:.08em;font-size:10px;font-weight:700}.pts-card-top strong{display:block;font-size:23px;letter-spacing:-.02em;margin-top:3px}.pts-card-top img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:13px;padding:5px}
.pts-card-person{justify-content:flex-start;margin:24px 0}.pts-card-person img{width:62px;height:62px;border-radius:16px;object-fit:cover;border:2px solid #ffffff70}.pts-card-person strong{display:block;font-size:19px;line-height:1.25}.pts-card-person span{display:block;font-size:13px;opacity:.85;margin-top:3px}.pts-card-bottom{justify-content:flex-start;gap:35px}.pts-card-bottom strong{display:block;font-size:14px;margin-top:4px}.pts-card-status{font-size:12px;opacity:.9;margin-top:19px}.pts-card-extra{font-size:13px;color:#526f80;margin-top:14px}.pts-card-extra p{margin:5px 0}
.pts-consumptions{overflow:visible!important}.pts-consumption-item{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #e6eef4}.pts-consumption-item:last-child{border-bottom:0}.pts-consumption-heading strong,.pts-consumption-heading small,.pts-consumption-heading span{display:block}.pts-consumption-heading small{color:#7a8d9c;font-size:12px;margin-top:4px}.pts-consumption-heading span{font-size:13px;margin-top:5px}.pts-consumption-values{text-align:right;white-space:nowrap}.pts-consumption-values strong{font-size:17px;color:#075e86}.pts-consumption-values small{display:block;color:#58748a;font-size:12px;margin-top:6px}
.pts-summary-points{background:linear-gradient(110deg,#075375,#0a96b0);border-radius:22px;color:white;padding:24px;display:flex;justify-content:space-between;align-items:center;margin:18px 0 26px}.pts-summary-points small,.pts-summary-points strong,.pts-summary-points span{display:block}.pts-summary-points strong{font-size:40px;line-height:1.25}.pts-summary-points span{font-size:12px;opacity:.87}.pts-points-symbol{font-size:52px!important}.pts-reward-subhead{display:flex;justify-content:space-between;align-items:center}.pts-reward-subhead span{color:#64748b;font-size:13px}.pts-rewards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:16px 0}.pts-reward-card,.pts-empty{background:white;border:1px solid #e4edf3;border-radius:20px;padding:22px;box-shadow:var(--pts-shadow)}.pts-reward-card h3{margin:10px 0 5px}.pts-reward-card p{color:#657a88}.pts-reward-icon{font-size:30px}.pts-reward-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.pts-reward-actions span{font-weight:750;color:#075e86}.pts-reward-actions form{margin:0}.pts-reward-actions button:disabled{opacity:.5;cursor:not-allowed}.pts-empty{text-align:center;grid-column:1/-1}.pts-empty>div{font-size:42px}.pts-redemptions{margin-top:20px}
@media(max-width:720px){.pts-card-section{padding:15px}.pts-membership-card{padding:19px}.pts-card-top strong{font-size:20px}.pts-card-person strong{font-size:16px}.pts-card-bottom{gap:18px}.pts-consumptions{padding:16px}.pts-consumption-item{align-items:flex-start}.pts-consumption-values strong{font-size:15px}.pts-rewards-grid{grid-template-columns:1fr}.pts-page-heading{margin:6px 0 16px}}

.pts-public-footer{color:#607d8f;text-align:center;font-size:12px;padding:26px 16px 105px}
