/* Portal de comercios: componentes propios sobre las copias locales del panel premium. */
.portal-location{min-width:0}.portal-map{height:280px;width:100%;border:1px solid var(--p-line,var(--border));border-radius:12px;background:var(--bg);z-index:0}.portal-address-results{list-style:none;padding:0;display:grid;gap:8px}.portal-address-results:empty{display:none}.portal-address-results .btn{width:100%;text-align:left;justify-content:flex-start;border-radius:12px}.portal-map-pin{display:grid;place-items:center;color:#03170b;background:#25e68c;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #0008}.portal-page .portal-map .leaflet-control-zoom a{min-width:44px;min-height:44px;line-height:44px;background:var(--card);color:var(--text)}.portal-page .portal-map .leaflet-control-attribution{background:var(--card);color:var(--text);font-size:11px}.portal-page .portal-map .leaflet-control-attribution a{color:var(--text)}.portal-page .portal-map .leaflet-marker-icon{min-height:28px}.portal-map .leaflet-tile{border-radius:0}.portal-map .leaflet-control-attribution svg{display:none}
.portal-page{min-width:0;min-height:100dvh;background:var(--bg);color:var(--text)}
.portal-page [hidden]{display:none!important}.portal-page *{box-sizing:border-box}
.portal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 32px;border-bottom:1px solid var(--p-line,var(--border))}
.portal-brand{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--muted);font-size:12px;line-height:1.5;min-height:44px}.portal-brand img{object-fit:contain}.portal-brand span{border-left:1px solid var(--p-line);padding-left:18px}
.portal-page :is(button,input,select,a.btn){min-height:44px}.portal-page :is(input,select,textarea){width:100%;max-width:100%;font:inherit;border:1px solid var(--p-line,var(--border));border-radius:12px;background:var(--bg);color:var(--text);padding:12px 14px}
.portal-page input[type=file]{font-size:12px}.portal-page textarea{min-height:90px;resize:vertical}.portal-page :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--green);outline-offset:3px}
.portal-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;color:#03170b;text-decoration:none;padding:10px 20px;white-space:normal}.portal-page .btn.ghost{color:var(--text);background:transparent;border:1px solid var(--p-line)}
.portal-page button:disabled{opacity:.5;cursor:not-allowed}.portal-page :is(p,h1,h2,h3,span,dd){overflow-wrap:anywhere}.portal-page h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;line-height:1.15;margin:8px 0 14px}.portal-page h2{font-size:20px;margin:0 0 20px}.portal-page h3{font-size:16px;margin:0 0 10px}
.portal-page p{line-height:1.6}.portal-page .muted,.portal-help{color:var(--muted);font-size:13px}.portal-label{text-transform:uppercase;letter-spacing:.12em;color:var(--green);font-size:11px;font-weight:700}.portal-page .card{border-radius:14px;border:1px solid var(--p-line);padding:24px;background:var(--card);box-shadow:0 8px 32px #0000000a}
#portal-view{max-width:1180px;margin:0 auto;padding:32px;min-width:0}#portal-view:focus{outline:none}.portal-state{text-align:center;padding:48px!important;max-width:680px;margin:40px auto}.portal-state .btn{margin:6px}
.portal-notice{max-width:1116px;margin:16px auto;padding:14px 20px;border:1px solid var(--yellow,#c6aa4b);border-radius:12px;color:var(--text);background:var(--card)}
.portal-auth{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;max-width:1000px;min-height:calc(100dvh - 180px);margin:auto}.portal-auth .card{padding:32px}.portal-auth-intro p{color:var(--muted);max-width:390px}.portal-auth-mark{width:120px;height:120px;border-radius:32px;display:grid;place-items:center;font-size:66px;color:var(--green);border:1px solid var(--p-line);background:radial-gradient(ellipse at center,#25e68c18,transparent);margin-bottom:28px}
.portal-fields{display:grid;gap:16px}.portal-field{display:grid;gap:8px;font-size:13px;font-weight:600}.portal-field small{font-weight:400}.portal-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.portal-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.portal-actions .btn:last-child{margin-left:auto}.portal-auth form>.btn{width:100%;margin-top:24px}
.portal-steps{list-style:none;padding:0;margin:28px 0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.portal-steps li{border-bottom:2px solid var(--p-line);padding-bottom:10px;min-width:0}.portal-steps button{display:flex;gap:8px;align-items:center;border:0;background:none;color:var(--muted);padding:0;font:inherit;font-size:12px;text-align:left;width:100%}.portal-steps b{border:1px solid var(--p-line);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex:none}.portal-steps [aria-current=step]{color:var(--green)}.portal-steps [aria-current=step] b{background:var(--green);color:#03170b}.portal-steps li:has([aria-current=step]){border-color:var(--green)}
.portal-wizard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px;align-items:start}.portal-summary{position:sticky;top:20px}.portal-summary ul{padding:0;list-style:none}.portal-summary li{border-bottom:1px solid var(--p-line);padding:14px 0;font-size:13px}.portal-chip{display:inline-flex;border:1px solid var(--p-line);border-radius:999px;padding:5px 10px;font-size:12px;align-items:center;gap:6px;color:var(--green)}.portal-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.portal-heading h1{margin-bottom:0}
.portal-video{width:100%;max-height:330px;border-radius:12px;background:#050706}.portal-video-empty{padding:24px;border:1px dashed var(--p-line);border-radius:12px;margin-bottom:20px;color:var(--muted)}.portal-tutorial{padding-left:24px}.portal-tutorial li{padding:8px 0}.portal-tutorial p{margin:4px 0;color:var(--muted);font-size:13px}.portal-connection{padding:16px;border:1px solid var(--p-line);border-radius:12px;margin-top:20px}.portal-connection .btn{margin-top:8px}
.portal-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-media{border:1px solid var(--p-line);padding:14px;border-radius:12px;min-width:0}.portal-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:10px}.portal-media p{font-size:12px}.portal-media-status{min-height:38px}.portal-media .portal-field{font-size:12px}.portal-media[data-state=aprobada]{border-color:var(--green)}.portal-media[data-state=rechazada],.portal-media[data-state=revocada]{border-color:var(--red)}
.portal-details{margin:0;display:grid;gap:12px}.portal-details dt{color:var(--muted);font-size:12px}.portal-details dd{margin:4px 0 0}.portal-plans{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.portal-plans .portal-chip{color:var(--muted)}.portal-plans .active{color:var(--green);border-color:var(--green)}
.portal-hours{min-width:0;margin:0;padding:16px;border:1px solid var(--p-line);border-radius:12px}.portal-hours legend{padding:0 6px}.portal-hours-day{display:grid;grid-template-columns:minmax(100px,1fr) 100px 100px;gap:8px;margin:8px 0;align-items:center}.portal-hours-open{display:flex;align-items:center;gap:8px;font-size:12px}.portal-page .portal-hours-open input{width:20px;height:20px;min-height:20px;accent-color:var(--green)}.portal-hours-day input[type=time]{padding:8px;min-width:0;font-size:12px}.portal-hours-day .portal-hours-open{min-height:44px}.portal-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.portal-page .portal-summary{display:block}.portal-page .skip:not(:focus){clip-path:inset(100%);width:1px;height:1px;overflow:hidden;padding:0;min-height:0}.portal-page .portal-header{margin:0}
@media(max-width:480px){.portal-hours{padding:10px}.portal-hours-day{grid-template-columns:minmax(70px,1fr) 78px 78px;gap:4px}.portal-hours-day input[type=time]{padding:5px;font-size:11px}.portal-hours-open{gap:4px;font-size:11px}.portal-wizard-grid>.card{padding:16px}}
.portal-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}.portal-page #sidebar{position:sticky;top:20px;height:calc(100dvh - 170px);width:auto;padding:20px 14px;background:var(--card);border:1px solid var(--p-line);border-radius:14px;display:flex;flex-direction:column;gap:14px}.portal-page #nav{display:grid;gap:6px}.portal-page #nav a{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--text);min-height:44px;padding:10px;border-radius:10px}.portal-page #nav a.active{background:#25e68c12;color:var(--green)}.portal-page #nav-toggle{position:static;align-self:flex-end;width:44px;height:44px}.portal-page #nav a[aria-current=page]{background:var(--p-acc)}.portal-page #sidebar .portal-signout{margin-top:auto}.portal-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.portal-kpis .card{padding:18px}.portal-kpis dt{font-size:12px;color:var(--muted)}.portal-kpis dd{font-size:30px;margin:12px 0 0;font-weight:650}.portal-merchant-logo{max-width:80px;max-height:48px;object-fit:contain}.portal-screen{min-width:0}
@media(min-width:1051px){html.nav-collapsed .portal-shell{grid-template-columns:72px minmax(0,1fr)}html.nav-collapsed:not(.nav-peek) .portal-page #sidebar .portal-side-label{display:none}html.nav-collapsed .portal-page #sidebar{padding:12px 6px}html.nav-collapsed .portal-page #nav a{justify-content:center}}
@media(max-width:760px){.portal-header{padding:12px 16px;gap:8px}.portal-brand{gap:10px}.portal-brand img{width:85px}.portal-brand span{padding-left:10px;font-size:11px}.portal-header .btn{font-size:12px;padding:10px 12px}#portal-view{padding:24px 16px}.portal-auth{display:block;min-height:0}.portal-auth-intro{margin:8px 0 24px}.portal-auth-mark{display:none}.portal-auth .card{padding:22px}.portal-page h1{font-size:28px}.portal-notice{margin:12px 16px}.portal-wizard-grid{display:block}.portal-summary{position:static;margin-top:20px}.portal-row{grid-template-columns:1fr}.portal-page .card{padding:20px}.portal-steps{gap:4px;margin:24px 0}.portal-steps button{flex-direction:column;font-size:10px;gap:5px;justify-content:center;text-align:center}.portal-steps b{width:25px;height:25px}.portal-media-grid{grid-template-columns:1fr}.portal-shell{display:block}.portal-page #sidebar{position:static;height:auto;display:block;margin-bottom:24px;width:auto;padding:12px}.portal-page #nav{display:flex;gap:8px;flex-wrap:wrap}.portal-page #nav a{flex:1;justify-content:center}.portal-page #sidebar .portal-side-label{display:none}.portal-signout{width:100%;margin-top:12px!important}.portal-kpis{grid-template-columns:1fr 1fr;gap:8px}.portal-kpis .card{padding:14px}.portal-kpis dd{font-size:26px}.portal-state{padding:24px!important;margin:20px auto}.portal-heading{align-items:flex-start}.portal-heading .btn{padding:10px 14px}}
