*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f4f7fb;color:#162033}.ma-wrap{width:min(1120px,92%);margin:0 auto}.ma-top{background:#111827;color:#fff;padding:18px 0}.ma-top-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.ma-brand{font-weight:800;font-size:22px}.ma-nav a{color:#dbeafe;text-decoration:none;margin-left:14px;font-weight:600}.ma-hero{padding:34px 0}.ma-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}.ma-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 16px 40px rgba(15,23,42,.08)}.ma-card h1,.ma-card h2,.ma-card h3{margin-top:0}.ma-title{font-size:34px;line-height:1.05;margin:0 0 12px}.ma-muted{color:#64748b}.ma-btn{display:inline-flex;border:0;background:#2563eb;color:#fff;padding:12px 17px;border-radius:14px;font-weight:800;text-decoration:none;cursor:pointer}.ma-btn.secondary{background:#e0ecff;color:#1d4ed8}.ma-btn.danger{background:#fee2e2;color:#b91c1c}.ma-btn.small{padding:8px 12px;border-radius:11px;font-size:13px}.ma-form label{display:block;font-weight:800;margin:13px 0 6px}.ma-form input,.ma-form select,.ma-form textarea{width:100%;border:1px solid #d6dde8;border-radius:14px;padding:12px 13px;font:inherit;background:#fff}.ma-form textarea{min-height:95px}.ma-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ma-list{display:grid;gap:12px}.ma-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e5e7eb;background:#fff;border-radius:18px;padding:15px}.ma-item strong{display:block}.ma-pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:800;font-size:12px}.ma-whatsapp{white-space:pre-line;background:#ecfdf5;border:1px solid #bbf7d0;color:#064e3b;border-radius:18px;padding:18px;font-weight:650}.ma-alert{padding:13px 15px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;margin-bottom:16px}.ma-empty{padding:22px;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b;text-align:center}.ma-login{min-height:100vh;display:grid;place-items:center;padding:24px}.ma-login .ma-card{width:min(430px,94vw)}@media(max-width:800px){.ma-grid,.ma-row{grid-template-columns:1fr}.ma-top-inner{align-items:flex-start;flex-direction:column}.ma-nav a{margin-left:0;margin-right:12px}.ma-title{font-size:28px}}

/* === MisAvisos Landing Pública === */
:root{
  --ma-green:#16a34a;
  --ma-green-dark:#12803b;
  --ma-blue:#0f172a;
  --ma-soft:#f0fdf4;
  --ma-line:#e5e7eb;
}

.ma-public-body{
  background:#ffffff;
  color:#111827;
}

.ma-public-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid #eef2f7;
}

.ma-public-header-inner{
  width:min(1180px,92%);
  margin:0 auto;
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.ma-public-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:25px;
  font-weight:900;
  color:#111827;
  text-decoration:none;
}

.ma-public-logo span{
  color:var(--ma-green);
}

.ma-public-logo-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:#dcfce7;
  color:#16a34a;
  border-radius:14px;
  font-size:23px;
}

.ma-public-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.ma-public-nav a{
  text-decoration:none;
  color:#334155;
  font-weight:800;
  font-size:14px;
}

.ma-public-nav a:hover{
  color:var(--ma-green);
}

.ma-public-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.ma-landing-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 20px;
  border-radius:15px;
  text-decoration:none;
  font-weight:900;
  border:1px solid transparent;
  transition:.2s ease;
}

.ma-landing-btn.primary{
  background:linear-gradient(135deg,#16a34a,#22c55e);
  color:#fff;
  box-shadow:0 14px 30px rgba(22,163,74,.23);
}

.ma-landing-btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 36px rgba(22,163,74,.30);
}

.ma-landing-btn.light{
  background:#fff;
  color:#0f172a;
  border-color:#dbe3ef;
  box-shadow:0 10px 24px rgba(15,23,42,.07);
}

.ma-public-section{
  width:min(1180px,92%);
  margin:0 auto;
}

.ma-public-hero{
  position:relative;
  overflow:hidden;
  padding:70px 0 58px;
  background:
    radial-gradient(circle at 86% 22%, rgba(34,197,94,.16), transparent 30%),
    radial-gradient(circle at 15% 16%, rgba(59,130,246,.10), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

.ma-public-hero-grid{
  width:min(1180px,92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.04fr;
  gap:42px;
  align-items:center;
}

.ma-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#ecfdf5;
  color:#15803d;
  border:1px solid #bbf7d0;
  border-radius:999px;
  padding:8px 13px;
  font-weight:900;
  font-size:13px;
  margin-bottom:20px;
}

.ma-public-title{
  font-size:64px;
  line-height:.98;
  margin:0 0 20px;
  letter-spacing:-2.5px;
  color:#0f172a;
}

.ma-public-title strong{
  color:#16a34a;
}

.ma-public-subtitle{
  color:#475569;
  font-size:19px;
  line-height:1.65;
  max-width:580px;
  margin:0 0 24px;
}

.ma-public-bullets{
  display:grid;
  gap:10px;
  margin:0 0 28px;
  padding:0;
  list-style:none;
}

.ma-public-bullets li{
  display:flex;
  align-items:center;
  gap:10px;
  color:#1e293b;
  font-weight:750;
}

.ma-check{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  background:#dcfce7;
  color:#16a34a;
  border-radius:50%;
  font-size:13px;
  flex:0 0 auto;
}

.ma-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.ma-hero-note{
  display:flex;
  align-items:center;
  gap:8px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
  margin-top:18px;
}

.ma-product-shot{
  position:relative;
  min-height:500px;
}

.ma-dashboard-shot{
  position:absolute;
  left:0;
  top:40px;
  width:74%;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:26px;
  box-shadow:0 28px 80px rgba(15,23,42,.14);
  overflow:hidden;
}

.ma-shot-top{
  height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border-bottom:1px solid #edf2f7;
  background:#ffffff;
}

.ma-shot-brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
}

.ma-shot-dot{
  width:28px;
  height:28px;
  background:#dcfce7;
  color:#16a34a;
  display:grid;
  place-items:center;
  border-radius:10px;
}

.ma-shot-body{
  display:grid;
  grid-template-columns:150px 1fr;
  min-height:340px;
}

.ma-shot-sidebar{
  padding:16px;
  background:#f8fafc;
  border-right:1px solid #edf2f7;
}

.ma-shot-menu{
  display:grid;
  gap:8px;
}

.ma-shot-menu span{
  padding:10px;
  border-radius:12px;
  color:#64748b;
  font-weight:800;
  font-size:13px;
}

.ma-shot-menu span.active{
  background:#dcfce7;
  color:#15803d;
}

.ma-shot-main{
  padding:18px;
}

.ma-shot-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:14px;
}

.ma-shot-stat{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:13px;
  background:#fff;
}

.ma-shot-stat b{
  display:block;
  font-size:26px;
}

.ma-shot-list{
  display:grid;
  gap:10px;
}

.ma-shot-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:15px;
  padding:12px;
  font-weight:800;
  font-size:13px;
}

.ma-shot-pill{
  background:#ecfdf5;
  color:#15803d;
  border-radius:999px;
  padding:5px 8px;
  font-size:11px;
}

.ma-phone-shot{
  position:absolute;
  right:0;
  top:0;
  width:235px;
  height:470px;
  background:#0f172a;
  border-radius:36px;
  padding:10px;
  box-shadow:0 34px 80px rgba(15,23,42,.28);
}

.ma-phone-inner{
  height:100%;
  background:#f3f1e9;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.2);
}

.ma-phone-head{
  height:68px;
  background:#047857;
  color:#fff;
  padding:14px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.ma-phone-avatar{
  width:34px;
  height:34px;
  background:#fff;
  color:#16a34a;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.ma-wa-bubble{
  margin:80px 14px 0;
  background:#fff;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 24px rgba(15,23,42,.12);
  white-space:normal;
}

.ma-wa-bubble h4{
  margin:0 0 12px;
}

.ma-wa-bubble p{
  margin:0 0 9px;
  color:#111827;
  font-weight:750;
}

.ma-public-centered{
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}

.ma-public-kicker{
  text-transform:uppercase;
  color:#16a34a;
  font-weight:950;
  letter-spacing:.12em;
  font-size:12px;
  margin-bottom:8px;
}

.ma-public-h2{
  font-size:38px;
  line-height:1.12;
  margin:0 0 12px;
  letter-spacing:-1px;
  color:#0f172a;
}

.ma-public-p{
  color:#64748b;
  font-size:17px;
  line-height:1.65;
  margin:0;
}

.ma-usecases{
  padding:56px 0;
}

.ma-use-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}

.ma-use-card{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:22px;
  padding:20px 14px;
  text-align:center;
  box-shadow:0 12px 34px rgba(15,23,42,.05);
}

.ma-use-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  background:#ecfdf5;
  color:#16a34a;
  border-radius:18px;
  font-size:28px;
}

.ma-use-card h3{
  margin:0 0 8px;
  font-size:16px;
}

.ma-use-card p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}

.ma-how{
  padding:56px 0;
  background:#f8fafc;
  border-top:1px solid #edf2f7;
  border-bottom:1px solid #edf2f7;
}

.ma-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.ma-step{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:24px;
  position:relative;
}

.ma-step-num{
  width:34px;
  height:34px;
  border-radius:12px;
  background:#16a34a;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  margin-bottom:14px;
}

.ma-step h3{
  margin:0 0 8px;
}

.ma-step p{
  color:#64748b;
  line-height:1.55;
  margin:0;
}

.ma-benefits{
  padding:56px 0;
}

.ma-benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.ma-benefit{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:22px;
  padding:22px;
  box-shadow:0 12px 34px rgba(15,23,42,.05);
}

.ma-benefit b{
  display:block;
  margin-bottom:8px;
  font-size:18px;
}

.ma-benefit p{
  margin:0;
  color:#64748b;
  line-height:1.55;
}

.ma-control{
  padding:56px 0;
  background:linear-gradient(135deg,#eff6ff,#ecfdf5);
}

.ma-control-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.ma-control-card{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.9);
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 50px rgba(15,23,42,.08);
}

.ma-control-card h3{
  font-size:24px;
  margin:0 0 14px;
}

.ma-control-card ul{
  margin:0;
  padding-left:20px;
  color:#334155;
  line-height:1.8;
  font-weight:750;
}

.ma-plans{
  padding:56px 0;
}

.ma-plan-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.ma-plan{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:26px;
  padding:26px;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
}

.ma-plan.featured{
  border:2px solid #16a34a;
  box-shadow:0 20px 52px rgba(22,163,74,.15);
}

.ma-price{
  font-size:36px;
  font-weight:950;
  margin:8px 0;
}

.ma-plan ul{
  padding-left:20px;
  color:#334155;
  line-height:1.9;
}

.ma-final-cta{
  width:min(1180px,92%);
  margin:0 auto 56px;
  background:linear-gradient(135deg,#052e16,#16a34a);
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  overflow:hidden;
}

.ma-final-cta h2{
  margin:0 0 8px;
  font-size:34px;
}

.ma-final-cta p{
  color:#dcfce7;
  margin:0;
}

.ma-public-footer{
  background:#0f172a;
  color:#e2e8f0;
  padding:42px 0 24px;
}

.ma-footer-grid{
  width:min(1180px,92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:26px;
}

.ma-public-footer h3,.ma-public-footer h4{
  margin-top:0;
}

.ma-public-footer a{
  display:block;
  color:#cbd5e1;
  text-decoration:none;
  margin:9px 0;
}

.ma-copy{
  width:min(1180px,92%);
  margin:26px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#94a3b8;
  font-size:13px;
}

@media(max-width:980px){
  .ma-public-nav{display:none}
  .ma-public-hero-grid{grid-template-columns:1fr}
  .ma-product-shot{min-height:560px}
  .ma-dashboard-shot{width:100%;left:0;top:20px}
  .ma-phone-shot{right:20px;top:160px}
  .ma-use-grid{grid-template-columns:repeat(2,1fr)}
  .ma-steps,.ma-benefit-grid,.ma-plan-grid,.ma-control-box,.ma-footer-grid{grid-template-columns:1fr}
  .ma-public-title{font-size:44px}
  .ma-final-cta{flex-direction:column;align-items:flex-start}
}

@media(max-width:560px){
  .ma-public-header-inner{height:auto;padding:14px 0;align-items:flex-start;flex-direction:column}
  .ma-public-actions{width:100%}
  .ma-public-actions .ma-landing-btn{flex:1}
  .ma-public-title{font-size:38px}
  .ma-product-shot{min-height:760px}
  .ma-dashboard-shot{position:relative;width:100%;top:0}
  .ma-shot-body{grid-template-columns:1fr}
  .ma-shot-sidebar{display:none}
  .ma-shot-stats{grid-template-columns:1fr}
  .ma-phone-shot{position:relative;right:auto;top:22px;margin:0 auto}
  .ma-use-grid{grid-template-columns:1fr}
  .ma-public-h2{font-size:30px}
}

/* === FIX: Landing pública al 90% de la hoja === */
.ma-public-header-inner,
.ma-public-hero-grid,
.ma-public-section,
.ma-final-cta,
.ma-footer-grid,
.ma-copy{
  width:90% !important;
  max-width:none !important;
}

@media(max-width:980px){
  .ma-public-header-inner,
  .ma-public-hero-grid,
  .ma-public-section,
  .ma-final-cta,
  .ma-footer-grid,
  .ma-copy{
    width:92% !important;
  }
}

@media(max-width:560px){
  .ma-public-header-inner,
  .ma-public-hero-grid,
  .ma-public-section,
  .ma-final-cta,
  .ma-footer-grid,
  .ma-copy{
    width:94% !important;
  }
}

/* === Superadmin MisAvisos === */
.ma-admin-shell{
  min-height:100vh;
  background:#f4f7fb;
}

.ma-admin-layout{
  display:grid;
  grid-template-columns:270px 1fr;
  min-height:100vh;
}

.ma-admin-sidebar{
  background:#0f172a;
  color:#fff;
  padding:24px;
}

.ma-admin-brand{
  font-size:24px;
  font-weight:950;
  margin-bottom:26px;
}

.ma-admin-brand span{
  color:#22c55e;
}

.ma-admin-menu{
  display:grid;
  gap:9px;
}

.ma-admin-menu a{
  color:#cbd5e1;
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
}

.ma-admin-menu a:hover,
.ma-admin-menu a.active{
  background:#1e293b;
  color:#fff;
}

.ma-admin-content{
  padding:28px;
}

.ma-admin-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.ma-admin-head h1{
  margin:0;
  font-size:30px;
}

.ma-admin-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.ma-admin-stat{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:20px;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
}

.ma-admin-stat b{
  display:block;
  font-size:34px;
  color:#0f172a;
}

.ma-admin-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e5e7eb;
}

.ma-admin-table th,
.ma-admin-table td{
  padding:13px 14px;
  border-bottom:1px solid #eef2f7;
  text-align:left;
  font-size:14px;
}

.ma-admin-table th{
  background:#f8fafc;
  font-weight:900;
  color:#334155;
}

.ma-json-box{
  min-height:180px !important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace !important;
  font-size:13px !important;
}

.ma-admin-section-title{
  margin-top:30px;
  border-top:1px solid #e5e7eb;
  padding-top:22px;
}

.ma-admin-ok{
  background:#ecfdf5;
  color:#166534;
  border:1px solid #bbf7d0;
  border-radius:14px;
  padding:13px 15px;
  margin-bottom:16px;
  font-weight:800;
}

.ma-admin-warning{
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fed7aa;
  border-radius:14px;
  padding:13px 15px;
  margin-bottom:16px;
  font-weight:800;
}

@media(max-width:900px){
  .ma-admin-layout{grid-template-columns:1fr}
  .ma-admin-sidebar{position:relative}
  .ma-admin-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:560px){
  .ma-admin-grid{grid-template-columns:1fr}
  .ma-admin-content{padding:18px}
}

/* === Testimonios rotativos landing === */
.ma-testimonials{
  padding:64px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(22,163,74,.08), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(14,165,233,.08), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border-top:1px solid #eef2f7;
  border-bottom:1px solid #eef2f7;
}

.ma-testimonials-shell{
  position:relative;
  width:min(920px,100%);
  margin:0 auto;
  min-height:260px;
}

.ma-testimonials-track{
  position:relative;
  min-height:260px;
}

.ma-testimonial-card{
  position:absolute;
  inset:0;
  opacity:0;
  transform:translateY(18px) scale(.98);
  pointer-events:none;
  transition:opacity .45s ease, transform .45s ease;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:32px;
  padding:34px;
  box-shadow:0 22px 60px rgba(15,23,42,.10);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.ma-testimonial-card.active{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}

.ma-test-stars{
  color:#f59e0b;
  font-size:20px;
  letter-spacing:2px;
  margin-bottom:16px;
}

.ma-testimonial-card p{
  margin:0;
  color:#0f172a;
  font-size:24px;
  line-height:1.45;
  font-weight:800;
  letter-spacing:-.3px;
}

.ma-test-person{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:28px;
}

.ma-test-avatar{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#16a34a,#22c55e);
  color:#fff;
  font-weight:950;
  font-size:20px;
  box-shadow:0 12px 28px rgba(22,163,74,.22);
}

.ma-test-person strong{
  display:block;
  color:#0f172a;
  font-size:16px;
}

.ma-test-person span{
  display:block;
  color:#64748b;
  font-weight:700;
  margin-top:2px;
}

.ma-test-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:46px;
  height:46px;
  border:1px solid #dbe3ef;
  background:#fff;
  color:#0f172a;
  border-radius:50%;
  font-size:32px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(15,23,42,.10);
}

.ma-test-arrow:hover{
  background:#16a34a;
  color:#fff;
  border-color:#16a34a;
}

.ma-test-prev{
  left:-68px;
}

.ma-test-next{
  right:-68px;
}

.ma-test-dots{
  display:flex;
  justify-content:center;
  gap:9px;
  margin-top:22px;
}

.ma-test-dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:#cbd5e1;
  cursor:pointer;
  transition:.2s ease;
}

.ma-test-dots button.active{
  width:30px;
  background:#16a34a;
}

@media(max-width:1080px){
  .ma-test-prev{left:-20px}
  .ma-test-next{right:-20px}
}

@media(max-width:720px){
  .ma-testimonials{
    padding:46px 0;
  }

  .ma-testimonials-shell,
  .ma-testimonials-track{
    min-height:360px;
  }

  .ma-testimonial-card{
    padding:26px;
    border-radius:26px;
  }

  .ma-testimonial-card p{
    font-size:20px;
  }

  .ma-test-arrow{
    display:none;
  }
}

/* === Logo upload landing === */
.ma-public-logo-img{
  display:block;
  max-height:52px;
  max-width:240px;
  width:auto;
  object-fit:contain;
}

.ma-logo-preview-box{
  display:flex;
  align-items:center;
  gap:16px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:18px;
  padding:14px;
  margin-top:10px;
}

.ma-logo-preview-box span{
  font-weight:900;
  color:#334155;
}

.ma-logo-preview-box img{
  max-height:70px;
  max-width:260px;
  object-fit:contain;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:8px;
}

@media(max-width:560px){
  .ma-public-logo-img{
    max-width:200px;
    max-height:46px;
  }
}

/* === Builder visual sin JSON === */
.ma-builder-form{
  padding-bottom:90px;
}

.ma-builder-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:14px;
}

.ma-builder-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.ma-builder-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.ma-builder-mini-card{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:20px;
  padding:18px;
}

.ma-builder-mini-card h3{
  margin:0 0 12px;
  font-size:17px;
  color:#0f172a;
}

.ma-builder-mini-card textarea{
  min-height:82px;
}

.ma-radio-line{
  display:flex !important;
  align-items:center;
  gap:8px;
  margin-top:14px !important;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:10px 12px;
  border-radius:14px;
}

.ma-radio-line input{
  width:auto !important;
}

.ma-builder-sticky-actions{
  position:sticky;
  bottom:16px;
  z-index:10;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.12);
  border-radius:22px;
  padding:14px;
}

@media(max-width:1100px){
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ma-builder-grid.two,
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

/* === Builder JSON mejorado === */
.ma-json-builder-form{
  padding-bottom:90px;
}

.ma-json-panel{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:22px;
  margin:16px 0;
  overflow:hidden;
}

.ma-json-panel summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-weight:950;
  color:#0f172a;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

.ma-json-panel summary::-webkit-details-marker{
  display:none;
}

.ma-json-panel summary span{
  font-size:18px;
}

.ma-json-panel summary small{
  color:#16a34a;
  font-weight:900;
}

.ma-json-tools{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:14px 18px;
  border-bottom:1px solid #e5e7eb;
  background:#f1f5f9;
}

.ma-json-status{
  font-weight:900;
  font-size:13px;
}

.ma-json-status.ok{
  color:#15803d;
}

.ma-json-status.bad{
  color:#b91c1c;
}

.ma-json-editor{
  width:100%;
  min-height:280px !important;
  border:0 !important;
  border-radius:0 !important;
  padding:18px !important;
  background:#0f172a !important;
  color:#e5e7eb !important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace !important;
  font-size:14px !important;
  line-height:1.55 !important;
  resize:vertical;
  tab-size:2;
}

.ma-json-editor:focus{
  outline:3px solid rgba(22,163,74,.28);
  outline-offset:-3px;
}

.ma-builder-sticky-actions{
  position:sticky;
  bottom:16px;
  z-index:10;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.12);
  border-radius:22px;
  padding:14px;
}

@media(max-width:760px){
  .ma-json-editor{
    min-height:360px !important;
    font-size:13px !important;
  }

  .ma-json-panel summary{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* === Editor visual tipo WordPress simple === */
.ma-rich-wrap{
  border:1px solid #d6dde8;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  margin-top:8px;
}

.ma-rich-toolbar{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  padding:8px;
}

.ma-rich-toolbar button{
  border:1px solid #d6dde8;
  background:#fff;
  color:#0f172a;
  border-radius:8px;
  padding:7px 9px;
  font-weight:800;
  cursor:pointer;
  min-height:34px;
}

.ma-rich-toolbar button:hover{
  background:#ecfdf5;
  border-color:#86efac;
  color:#15803d;
}

.ma-rich-editor{
  min-height:130px;
  padding:14px;
  outline:none;
  line-height:1.6;
  color:#111827;
  background:#fff;
}

.ma-rich-editor:focus{
  box-shadow:inset 0 0 0 3px rgba(22,163,74,.18);
}

.ma-rich-editor p{
  margin:0 0 10px;
}

.ma-rich-editor ul,
.ma-rich-editor ol{
  margin:10px 0;
  padding-left:24px;
}

.ma-rich-wrap.html-mode .ma-rich-editor{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  background:#0f172a;
  color:#e5e7eb;
  white-space:pre-wrap;
}


/* === Builder visual total === */
.ma-builder-form{
  padding-bottom:90px;
}

.ma-builder-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:14px;
}

.ma-builder-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.ma-builder-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.ma-builder-mini-card{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:20px;
  padding:18px;
}

.ma-builder-mini-card h3{
  margin:0 0 12px;
  font-size:17px;
  color:#0f172a;
}

.ma-radio-line{
  display:flex !important;
  align-items:center;
  gap:8px;
  margin-top:14px !important;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:10px 12px;
  border-radius:14px;
}

.ma-radio-line input{
  width:auto !important;
}

.ma-builder-sticky-actions{
  position:sticky;
  bottom:16px;
  z-index:10;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.12);
  border-radius:22px;
  padding:14px;
}

/* === Editor visual tipo WordPress simple aplicado a todo === */
.ma-rich-wrap{
  border:1px solid #d6dde8;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  margin-top:8px;
}

.ma-rich-toolbar{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  padding:8px;
}

.ma-rich-toolbar button{
  border:1px solid #d6dde8;
  background:#fff;
  color:#0f172a;
  border-radius:8px;
  padding:7px 9px;
  font-weight:800;
  cursor:pointer;
  min-height:34px;
}

.ma-rich-toolbar button:hover{
  background:#ecfdf5;
  border-color:#86efac;
  color:#15803d;
}

.ma-rich-editor{
  min-height:130px;
  padding:14px;
  outline:none;
  line-height:1.6;
  color:#111827;
  background:#fff;
}

.ma-rich-editor:focus{
  box-shadow:inset 0 0 0 3px rgba(22,163,74,.18);
}

.ma-rich-editor p{
  margin:0 0 10px;
}

.ma-rich-editor ul,
.ma-rich-editor ol{
  margin:10px 0;
  padding-left:24px;
}

.ma-rich-wrap.html-mode .ma-rich-editor{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  background:#0f172a;
  color:#e5e7eb;
  white-space:pre-wrap;
}

.ma-rich-render p{
  margin:0 0 8px;
}

.ma-rich-render ul,
.ma-rich-render ol{
  margin:8px 0;
  padding-left:22px;
}

.ma-rich-render a{
  color:#16a34a;
  font-weight:900;
}

@media(max-width:1100px){
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ma-builder-grid.two,
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

/* === FIX landing recreada desde builder visual === */
.ma-public-subtitle.ma-rich-render{
  color:#475569;
  font-size:19px;
  line-height:1.65;
  max-width:580px;
  margin:0 0 24px;
}

.ma-public-subtitle.ma-rich-render p{
  margin:0 0 12px;
}

.ma-use-card .ma-rich-render,
.ma-step .ma-rich-render,
.ma-benefit .ma-rich-render,
.ma-plan .ma-rich-render{
  color:#64748b;
  line-height:1.55;
}

.ma-use-card .ma-rich-render p,
.ma-step .ma-rich-render p,
.ma-benefit .ma-rich-render p,
.ma-plan .ma-rich-render p{
  margin:0;
}

.ma-final-cta .ma-rich-render{
  color:#dcfce7;
}

.ma-final-cta .ma-rich-render p{
  margin:0;
}

.ma-public-footer .ma-rich-render p{
  margin:0;
}

.ma-public-bullets .ma-rich-render,
.ma-public-bullets p{
  display:inline;
  margin:0;
}

.ma-plan ul li p{
  display:inline;
  margin:0;
}

/* === Clean Landing/Builder v1 unified source === */
.ma-public-subtitle.ma-rich-render{
  color:#475569;
  font-size:19px;
  line-height:1.65;
  max-width:580px;
  margin:0 0 24px;
}

.ma-public-subtitle.ma-rich-render p{
  margin:0 0 12px;
}

.ma-use-card .ma-rich-render,
.ma-step .ma-rich-render,
.ma-benefit .ma-rich-render,
.ma-plan .ma-rich-render{
  color:#64748b;
  line-height:1.55;
}

.ma-use-card .ma-rich-render p,
.ma-step .ma-rich-render p,
.ma-benefit .ma-rich-render p,
.ma-plan .ma-rich-render p{
  margin:0;
}

.ma-final-cta .ma-rich-render{
  color:#dcfce7;
}

.ma-final-cta .ma-rich-render p{
  margin:0;
}

.ma-public-footer .ma-rich-render p{
  margin:0;
}

.ma-public-bullets p{
  display:inline;
  margin:0;
}

.ma-plan ul li p{
  display:inline;
  margin:0;
}

.ma-builder-form{
  padding-bottom:90px;
}

.ma-builder-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:14px;
}

.ma-builder-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.ma-builder-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.ma-builder-mini-card{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:20px;
  padding:18px;
}

.ma-builder-mini-card h3{
  margin:0 0 12px;
  font-size:17px;
  color:#0f172a;
}

.ma-radio-line{
  display:flex !important;
  align-items:center;
  gap:8px;
  margin-top:14px !important;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:10px 12px;
  border-radius:14px;
}

.ma-radio-line input{
  width:auto !important;
}

.ma-builder-sticky-actions{
  position:sticky;
  bottom:16px;
  z-index:10;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.12);
  border-radius:22px;
  padding:14px;
}

.ma-rich-wrap{
  border:1px solid #d6dde8;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  margin-top:8px;
}

.ma-rich-toolbar{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  padding:8px;
}

.ma-rich-toolbar button{
  border:1px solid #d6dde8;
  background:#fff;
  color:#0f172a;
  border-radius:8px;
  padding:7px 9px;
  font-weight:800;
  cursor:pointer;
  min-height:34px;
}

.ma-rich-toolbar button:hover{
  background:#ecfdf5;
  border-color:#86efac;
  color:#15803d;
}

.ma-rich-editor{
  min-height:130px;
  padding:14px;
  outline:none;
  line-height:1.6;
  color:#111827;
  background:#fff;
}

.ma-rich-editor:focus{
  box-shadow:inset 0 0 0 3px rgba(22,163,74,.18);
}

.ma-rich-wrap.html-mode .ma-rich-editor{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  background:#0f172a;
  color:#e5e7eb;
  white-space:pre-wrap;
}

@media(max-width:1100px){
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ma-builder-grid.two,
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

/* === MisAvisos Landing/Builder V2 clean === */
.ma-public-subtitle.ma-rich-render{
  color:#475569;
  font-size:19px;
  line-height:1.65;
  max-width:580px;
  margin:0 0 24px;
}

.ma-public-subtitle.ma-rich-render p{
  margin:0 0 12px;
}

.ma-use-card .ma-rich-render,
.ma-step .ma-rich-render,
.ma-benefit .ma-rich-render,
.ma-plan .ma-rich-render{
  color:#64748b;
  line-height:1.55;
}

.ma-use-card .ma-rich-render p,
.ma-step .ma-rich-render p,
.ma-benefit .ma-rich-render p,
.ma-plan .ma-rich-render p{
  margin:0;
}

.ma-test-text{
  color:#0f172a;
  font-size:24px;
  line-height:1.45;
  font-weight:800;
  letter-spacing:-.3px;
}

.ma-test-text p{
  margin:0;
}

.ma-final-cta .ma-rich-render{
  color:#dcfce7;
}

.ma-final-cta .ma-rich-render p{
  margin:0;
}

.ma-public-footer .ma-rich-render p{
  margin:0;
}

.ma-public-bullets p,
.ma-plan ul li p{
  display:inline;
  margin:0;
}

.ma-builder-form{
  padding-bottom:90px;
}

.ma-builder-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:14px;
}

.ma-builder-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.ma-builder-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.ma-builder-mini-card{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:20px;
  padding:18px;
}

.ma-builder-mini-card h3{
  margin:0 0 12px;
  font-size:17px;
  color:#0f172a;
}

.ma-radio-line{
  display:flex !important;
  align-items:center;
  gap:8px;
  margin-top:14px !important;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:10px 12px;
  border-radius:14px;
}

.ma-radio-line input{
  width:auto !important;
}

.ma-builder-sticky-actions{
  position:sticky;
  bottom:16px;
  z-index:10;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.12);
  border-radius:22px;
  padding:14px;
}

.ma-rich-wrap{
  border:1px solid #d6dde8;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  margin-top:8px;
}

.ma-rich-toolbar{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  padding:8px;
}

.ma-rich-toolbar button{
  border:1px solid #d6dde8;
  background:#fff;
  color:#0f172a;
  border-radius:8px;
  padding:7px 9px;
  font-weight:800;
  cursor:pointer;
  min-height:34px;
}

.ma-rich-toolbar button:hover{
  background:#ecfdf5;
  border-color:#86efac;
  color:#15803d;
}

.ma-rich-editor{
  min-height:130px;
  padding:14px;
  outline:none;
  line-height:1.6;
  color:#111827;
  background:#fff;
}

.ma-rich-editor:focus{
  box-shadow:inset 0 0 0 3px rgba(22,163,74,.18);
}

.ma-rich-wrap.html-mode .ma-rich-editor{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  background:#0f172a;
  color:#e5e7eb;
  white-space:pre-wrap;
}

@media(max-width:1100px){
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ma-builder-grid.two,
  .ma-builder-grid.three{
    grid-template-columns:1fr;
  }
}

/* === Registro y Pago === */
.ma-register-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:34px 16px;
  background:
    radial-gradient(circle at 15% 15%, rgba(22,163,74,.12), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(37,99,235,.10), transparent 28%),
    linear-gradient(180deg,#ffffff,#f8fafc);
}

.ma-register-card{
  width:min(760px,96vw);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:30px;
  padding:30px;
  box-shadow:0 24px 70px rgba(15,23,42,.12);
}

.ma-register-logo{
  margin-bottom:20px;
}

.ma-register-card h1{
  margin:0 0 8px;
  font-size:38px;
  letter-spacing:-1px;
}

.ma-register-plans{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.ma-register-plan{
  border:1px solid #dbe3ef;
  border-radius:20px;
  padding:16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  cursor:pointer;
  background:#f8fafc;
}

.ma-register-plan:hover{
  border-color:#22c55e;
  background:#ecfdf5;
}

.ma-register-plan input{
  width:auto !important;
  margin-top:5px;
}

.ma-register-plan strong,
.ma-register-plan b{
  display:block;
}

.ma-register-plan b{
  font-size:22px;
  margin-top:6px;
  color:#16a34a;
}

.ma-register-plan.pro b{
  color:#2563eb;
}

.ma-pay-card{
  width:min(620px,96vw);
}

.ma-pay-summary{
  display:grid;
  gap:10px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:18px;
  margin:20px 0;
}

.ma-pay-summary div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid #e5e7eb;
  padding-bottom:9px;
}

.ma-pay-summary div:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.ma-pay-summary span{
  color:#64748b;
  font-weight:800;
}

.ma-pay-summary strong{
  text-align:right;
}

.ma-paypal-form{
  margin:18px 0;
}

.ma-paypal-btn{
  width:100%;
  min-height:54px;
  justify-content:center;
  font-size:17px;
}

@media(max-width:700px){
  .ma-register-plans{
    grid-template-columns:1fr;
  }

  .ma-register-card{
    padding:22px;
  }

  .ma-register-card h1{
    font-size:30px;
  }

  .ma-pay-summary div{
    flex-direction:column;
    gap:3px;
  }

  .ma-pay-summary strong{
    text-align:left;
  }
}

/* === Registro: 3 planes incluyendo Free === */
.ma-register-plans{
  grid-template-columns:repeat(3,1fr);
}

.ma-register-plan:first-child b{
  color:#16a34a;
}

@media(max-width:900px){
  .ma-register-plans{
    grid-template-columns:1fr;
  }
}

/* === Páginas legales MisAvisos === */
.ma-legal-page{
  width:90%;
  max-width:1120px;
  margin:0 auto;
  padding:54px 0;
}

.ma-legal-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:30px;
  padding:42px;
  box-shadow:0 18px 60px rgba(15,23,42,.08);
}

.ma-legal-card h1{
  margin:0 0 18px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-1.4px;
  color:#0f172a;
}

.ma-legal-card h2{
  margin:34px 0 12px;
  font-size:24px;
  color:#0f172a;
}

.ma-legal-card p,
.ma-legal-card li{
  color:#475569;
  font-size:16px;
  line-height:1.75;
}

.ma-legal-card ul{
  padding-left:24px;
}

.ma-legal-card a{
  color:#16a34a;
  font-weight:900;
}

.ma-legal-highlight{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  border-radius:22px;
  padding:18px 20px;
  margin:24px 0;
}

.ma-legal-highlight p{
  margin:8px 0;
  color:#14532d;
}

.ma-legal-note{
  margin-top:34px;
  padding:16px 18px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  color:#64748b !important;
  font-size:14px !important;
}

@media(max-width:760px){
  .ma-legal-page{
    width:94%;
    padding:34px 0;
  }

  .ma-legal-card{
    padding:24px;
    border-radius:24px;
  }

  .ma-legal-card h1{
    font-size:32px;
  }

  .ma-legal-card h2{
    font-size:21px;
  }
}

/* === Footer insignia del network === */
.ma-signature-footer{
  text-align:center;
}

.ma-signature-footer .ma-footer-grid{
  text-align:left;
}

.ma-signature-block{
  width:90%;
  margin:30px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(148,163,184,.25);
}

.ma-signature-copy{
  color:#64748b;
  font-size:18px;
  letter-spacing:.02em;
  font-weight:500;
}

.ma-signature-made{
  color:#dc2626;
  font-size:22px;
  font-weight:950;
  margin-top:4px;
}

.ma-legal-card + .ma-signature-footer,
.ma-legal-page + .ma-signature-footer{
  margin-top:0;
}

/* En páginas legales el footer insignia debe ser blanco y limpio */
body .ma-legal-page ~ .ma-signature-footer{
  background:#ffffff;
  color:#64748b;
  border-top:1px solid #e5e7eb;
  padding:34px 0;
}

body .ma-legal-page ~ .ma-signature-footer .ma-signature-copy{
  color:#64748b;
}

/* === Builder de páginas footer === */
.ma-pages-builder-form{
  padding-bottom:90px;
}

.ma-page-editor-panel{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:22px;
  margin:16px 0;
  overflow:hidden;
}

.ma-page-editor-panel summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-weight:950;
  color:#0f172a;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

.ma-page-editor-panel summary::-webkit-details-marker{
  display:none;
}

.ma-page-editor-panel summary span{
  font-size:18px;
}

.ma-page-editor-panel summary small{
  color:#16a34a;
  font-weight:900;
}

.ma-page-editor-body{
  padding:20px;
}

.ma-rich-editor-large{
  min-height:360px;
}

@media(max-width:760px){
  .ma-signature-copy{
    font-size:15px;
  }

  .ma-signature-made{
    font-size:18px;
  }

  .ma-signature-footer .ma-footer-grid{
    text-align:center;
  }
}

/* === Planes, transacciones y tablas amplias === */
.ma-transaction-form{
  margin-top:20px;
  border-top:1px solid #e5e7eb;
  padding-top:18px;
}

.ma-admin-table-wide{
  min-width:980px;
}

.ma-card{
  overflow-x:auto;
}

.ma-inline-plan-form{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.ma-inline-plan-form select{
  min-width:130px;
  border:1px solid #d6dde8;
  border-radius:12px;
  padding:9px 10px;
  background:#fff;
}

/* === Nota de comisiones PayPal / procesador === */
.ma-payment-fee-note,
.ma-register-fee-note{
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  color:#475569;
  border-radius:16px;
  padding:13px 15px;
  font-size:13px;
  line-height:1.55;
  margin:14px 0;
}

.ma-payment-fee-note strong,
.ma-register-fee-note strong{
  color:#0f172a;
}

/* === Checkout PayPal: subtotal, comisión y total === */
.ma-pay-summary .ma-pay-total-row{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  border-radius:14px;
  padding:12px;
  margin-top:4px;
}

.ma-pay-summary .ma-pay-total-row span{
  color:#14532d;
  font-weight:950;
}

.ma-pay-summary .ma-pay-total-row strong{
  color:#14532d;
  font-size:21px;
  font-weight:950;
}

/* === Cuota mensual y mensajes vacíos === */
.ma-quota-box{
  display:grid;
  gap:12px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:18px;
  margin:18px 0;
}

.ma-quota-box strong{
  color:#0f172a;
  font-size:18px;
}

.ma-quota-box p{
  margin:6px 0 2px;
  color:#334155;
  font-weight:800;
}

.ma-quota-box span{
  color:#64748b;
  font-size:14px;
}

.ma-quota-bar{
  height:12px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
}

.ma-quota-bar i{
  display:block;
  height:100%;
  background:#16a34a;
  border-radius:999px;
}

.ma-check-card{
  display:flex !important;
  gap:14px;
  align-items:flex-start;
  background:#ffffff;
  border:1px solid #dbe3ef;
  border-radius:20px;
  padding:16px;
  cursor:pointer;
}

.ma-check-card input{
  width:auto !important;
  margin-top:5px;
}

.ma-check-card strong{
  display:block;
  color:#0f172a;
  margin-bottom:6px;
}

.ma-check-card small{
  display:block;
  color:#64748b;
  line-height:1.55;
}

.ma-dashboard-quota-card{
  margin-bottom:18px;
}

/* === Nota créditos no acumulables === */
.ma-credits-note{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#7c2d12;
}

.ma-credits-note strong{
  color:#9a3412;
}

/* === Settings cliente boxed === */
.ma-settings-shell{
  width:90%;
  max-width:1180px;
  margin:0 auto;
  padding:34px 0 60px;
}

.ma-settings-shell > .ma-card{
  border-radius:28px;
  box-shadow:0 18px 60px rgba(15,23,42,.08);
}

.ma-settings-shell h1{
  margin-top:0;
  font-size:34px;
  letter-spacing:-.8px;
}

.ma-settings-shell .ma-quota-box,
.ma-settings-shell .ma-check-card,
.ma-settings-shell .ma-admin-warning{
  max-width:100%;
}

.ma-settings-shell .ma-form{
  margin-top:18px;
}

@media(max-width:760px){
  .ma-settings-shell{
    width:94%;
    padding:22px 0 44px;
  }

  .ma-settings-shell h1{
    font-size:28px;
  }

  .ma-settings-shell > .ma-card{
    border-radius:22px;
  }
}

/* === SEO Superadmin === */
.ma-seo-form{
  padding-bottom:90px;
}

.ma-seo-page-panel{
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:22px;
  margin:16px 0;
  overflow:hidden;
}

.ma-seo-page-panel summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-weight:950;
  color:#0f172a;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

.ma-seo-page-panel summary::-webkit-details-marker{
  display:none;
}

.ma-seo-page-panel summary span{
  font-size:18px;
}

.ma-seo-page-panel summary small{
  color:#16a34a;
  font-weight:900;
}

.ma-seo-page-body{
  padding:20px;
}

.ma-seo-preview{
  margin-top:14px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:16px;
}

.ma-seo-preview strong{
  display:block;
  color:#64748b;
  font-size:13px;
  margin-bottom:10px;
}

.ma-seo-preview b{
  display:block;
  color:#1a0dab;
  font-size:19px;
  font-weight:500;
  margin-bottom:3px;
}

.ma-seo-preview small{
  display:block;
  color:#006621;
  margin-bottom:6px;
}

.ma-seo-preview p{
  margin:0;
  color:#545454;
  line-height:1.4;
}

.ma-code-textarea{
  min-height:130px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}

/* === FAQ público === */
.ma-faq-list h2{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px 16px;
  margin-top:22px;
  margin-bottom:10px;
  font-size:20px;
}

.ma-faq-list p{
  margin-top:0;
  padding-left:6px;
}



/* === FORCE MisAvisos public width 80 === */
body.ma-public-body .ma-public-header-inner,
body.ma-public-body .ma-public-hero-grid,
body.ma-public-body .ma-usecases,
body.ma-public-body .ma-how > .ma-public-section,
body.ma-public-body .ma-benefits,
body.ma-public-body .ma-testimonials > .ma-public-section,
body.ma-public-body .ma-plans,
body.ma-public-body .ma-final-cta,
body.ma-public-body .ma-footer-grid,
body.ma-public-body .ma-signature-block,
body.ma-public-body .ma-legal-page{
  width:88vw !important;
  max-width:1320px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}

/* El hero tenía grid interno; lo compactamos visualmente */
body.ma-public-body .ma-public-hero-grid{
  grid-template-columns:minmax(0, 1fr) minmax(360px, 520px) !important;
}

/* Cards de planes dentro del ancho */
body.ma-public-body .ma-plan-grid,
body.ma-public-body .ma-use-grid,
body.ma-public-body .ma-benefit-grid,
body.ma-public-body .ma-steps{
  width:100% !important;
  max-width:100% !important;
}

/* Páginas legales */
body.ma-public-body .ma-legal-card{
  max-width:100% !important;
}

/* Móvil/tablet: no apretar demasiado */
@media(max-width:1100px){
  body.ma-public-body .ma-public-hero-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:900px){
  body.ma-public-body .ma-public-header-inner,
  body.ma-public-body .ma-public-hero-grid,
  body.ma-public-body .ma-usecases,
  body.ma-public-body .ma-how > .ma-public-section,
  body.ma-public-body .ma-benefits,
  body.ma-public-body .ma-testimonials > .ma-public-section,
  body.ma-public-body .ma-plans,
  body.ma-public-body .ma-final-cta,
  body.ma-public-body .ma-footer-grid,
  body.ma-public-body .ma-signature-block,
  body.ma-public-body .ma-legal-page{
    width:94vw !important;
    max-width:94vw !important;
  }
}

/* === MISAVISOS MOBILE COMPACT V1 === */

/*
  Objetivo:
  - Móvil menos largo tipo sábana.
  - Hero más compacto.
  - En móvil, mostrar solo el mockup WhatsApp.
  - Cards 50/50 cuando el ancho lo permite.
*/

@media (max-width: 900px){

  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }

  .ma-public-section,
  .ma-public-header-inner,
  .ma-public-hero-grid,
  .ma-footer-grid{
    width:92vw !important;
    max-width:92vw !important;
  }

  /* Header compacto */
  .ma-public-header-inner{
    min-height:0 !important;
    height:auto !important;
    padding:10px 0 !important;
    gap:10px !important;
  }

  .ma-public-logo{
    font-size:20px !important;
    gap:8px !important;
  }

  .ma-public-logo-icon{
    width:36px !important;
    height:36px !important;
    border-radius:12px !important;
    font-size:19px !important;
  }

  .ma-public-nav{
    width:100% !important;
    gap:10px !important;
    flex-wrap:wrap !important;
  }

  .ma-public-nav a{
    font-size:12px !important;
    padding:5px 0 !important;
  }

  .ma-public-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .ma-public-actions .ma-landing-btn{
    width:100% !important;
    min-height:40px !important;
    padding:0 10px !important;
    font-size:13px !important;
    border-radius:12px !important;
  }

  /* Hero/Giro más compacto */
  .ma-public-hero{
    padding:24px 0 26px !important;
  }

  .ma-public-hero-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
    align-items:start !important;
  }

  .ma-eyebrow{
    margin-bottom:11px !important;
    padding:6px 10px !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }

  .ma-public-title{
    font-size:clamp(30px, 9vw, 38px) !important;
    line-height:1.02 !important;
    letter-spacing:-1.4px !important;
    margin-bottom:12px !important;
  }

  .ma-public-subtitle{
    font-size:14px !important;
    line-height:1.45 !important;
    margin-bottom:14px !important;
    max-width:100% !important;
  }

  .ma-public-bullets{
    gap:7px !important;
    margin-bottom:16px !important;
  }

  .ma-public-bullets li{
    font-size:13px !important;
    line-height:1.25 !important;
    align-items:flex-start !important;
  }

  .ma-check{
    width:18px !important;
    height:18px !important;
    font-size:11px !important;
    margin-top:1px !important;
  }

  .ma-hero-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .ma-hero-actions .ma-landing-btn{
    width:100% !important;
    min-height:42px !important;
    padding:0 10px !important;
    font-size:13px !important;
    border-radius:12px !important;
  }

  .ma-hero-note{
    margin-top:10px !important;
    font-size:12px !important;
    line-height:1.3 !important;
  }

  /* Mockup: ocultar dashboard grande y dejar solo WhatsApp */
  .ma-product-shot{
    min-height:0 !important;
    height:auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    padding:4px 0 0 !important;
    margin:0 auto !important;
    width:100% !important;
  }

  .ma-dashboard-shot{
    display:none !important;
  }

  .ma-phone-shot{
    position:relative !important;
    inset:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:min(260px, 76vw) !important;
    max-width:260px !important;
    margin:0 auto !important;
    transform:none !important;
  }

  .ma-phone-inner{
    border-radius:24px !important;
    padding:12px !important;
  }

  .ma-phone-head{
    gap:8px !important;
    margin-bottom:10px !important;
  }

  .ma-phone-avatar{
    width:34px !important;
    height:34px !important;
    font-size:17px !important;
  }

  .ma-wa-bubble{
    padding:12px !important;
    font-size:13px !important;
    line-height:1.35 !important;
    border-radius:16px !important;
  }

  /* Títulos de secciones menos gigantes */
  .ma-public-centered{
    margin-bottom:18px !important;
  }

  .ma-public-kicker{
    font-size:11px !important;
    margin-bottom:8px !important;
  }

  .ma-public-h2{
    font-size:clamp(24px, 7vw, 31px) !important;
    line-height:1.08 !important;
    letter-spacing:-.9px !important;
    margin-bottom:8px !important;
  }

  .ma-public-p{
    font-size:14px !important;
    line-height:1.45 !important;
    margin-bottom:0 !important;
  }

  .ma-usecases,
  .ma-how,
  .ma-benefits,
  .ma-testimonials,
  .ma-plans{
    padding-top:30px !important;
    padding-bottom:30px !important;
  }

  /* Cards al 50/50 */
  .ma-use-grid,
  .ma-steps,
  .ma-benefit-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  .ma-use-card,
  .ma-step,
  .ma-benefit{
    padding:13px !important;
    border-radius:16px !important;
    min-width:0 !important;
  }

  .ma-use-icon,
  .ma-step-num{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    font-size:16px !important;
    border-radius:12px !important;
    margin-bottom:8px !important;
  }

  .ma-use-card h3,
  .ma-step h3,
  .ma-benefit h3{
    font-size:14px !important;
    line-height:1.18 !important;
    margin:0 0 6px !important;
  }

  .ma-use-card p,
  .ma-step p,
  .ma-benefit p,
  .ma-use-card .ma-rich-render,
  .ma-step .ma-rich-render,
  .ma-benefit .ma-rich-render{
    font-size:12.5px !important;
    line-height:1.35 !important;
  }

  /* Planes: dos arriba y el destacado/tercero ordenado */
  .ma-plan-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  .ma-plan{
    padding:14px !important;
    border-radius:18px !important;
    min-width:0 !important;
  }

  .ma-plan.featured{
    transform:none !important;
  }

  .ma-plan:nth-child(3){
    grid-column:1 / -1 !important;
  }

  .ma-plan h3{
    font-size:16px !important;
    margin:0 0 6px !important;
  }

  .ma-price{
    font-size:24px !important;
    line-height:1 !important;
    margin-bottom:7px !important;
  }

  .ma-plan ul{
    margin:10px 0 !important;
    padding-left:16px !important;
  }

  .ma-plan li{
    font-size:12.5px !important;
    line-height:1.35 !important;
    margin-bottom:5px !important;
  }

  .ma-plan .ma-landing-btn{
    width:100% !important;
    min-height:39px !important;
    padding:0 10px !important;
    font-size:13px !important;
    border-radius:12px !important;
  }

  /* CTA final y footer más respirables */
  .ma-final-cta{
    width:92vw !important;
    max-width:92vw !important;
    padding:20px !important;
    border-radius:22px !important;
    gap:14px !important;
  }

  .ma-final-cta h2{
    font-size:24px !important;
    line-height:1.1 !important;
    margin-bottom:8px !important;
  }

  .ma-final-cta .ma-landing-btn{
    width:100% !important;
  }

  .ma-public-footer{
    padding-top:26px !important;
  }
}

/* En pantallas extremadamente angostas, evitar que el 50/50 se rompa feo */
@media (max-width: 380px){
  .ma-use-grid,
  .ma-steps,
  .ma-benefit-grid,
  .ma-plan-grid{
    gap:8px !important;
  }

  .ma-use-card,
  .ma-step,
  .ma-benefit,
  .ma-plan{
    padding:11px !important;
  }

  .ma-public-title{
    font-size:29px !important;
  }

  .ma-use-card h3,
  .ma-step h3,
  .ma-benefit h3{
    font-size:13px !important;
  }

  .ma-use-card p,
  .ma-step p,
  .ma-benefit p,
  .ma-use-card .ma-rich-render,
  .ma-step .ma-rich-render,
  .ma-benefit .ma-rich-render,
  .ma-plan li{
    font-size:11.8px !important;
  }
}

/* === /MISAVISOS MOBILE COMPACT V1 === */


/* === MISAVISOS MOBILE HERO IMAGE V1 === */

.ma-hero-mobile-art{
  display:none;
}

@media (max-width: 900px){
  .ma-hero-mobile-art{
    display:block !important;
    width:min(100%, 430px) !important;
    height:auto !important;
    margin:10px auto 0 !important;
    border-radius:22px !important;
    box-shadow:0 18px 45px rgba(15,23,42,.10) !important;
  }

  .ma-dashboard-shot,
  .ma-phone-shot{
    display:none !important;
  }

  .ma-product-shot{
    min-height:0 !important;
    height:auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    padding:6px 0 0 !important;
    margin:0 auto !important;
    width:100% !important;
  }
}

/* === /MISAVISOS MOBILE HERO IMAGE V1 === */


/* === MISAVISOS MOBILE TITLE FOOTER COMPACT V1 === */

@media (max-width: 900px){

  /* HERO: título centrado */
  .ma-public-title{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    max-width:12ch !important;
  }

  .ma-eyebrow{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .ma-public-subtitle{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    max-width:34ch !important;
  }

  .ma-public-bullets{
    max-width:420px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .ma-hero-actions{
    justify-content:center !important;
  }

  .ma-hero-note{
    justify-content:center !important;
    text-align:center !important;
  }

  /* FOOTER: compacto */
  .ma-footer-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:14px 10px !important;
    align-items:start !important;
    text-align:center !important;
    width:min(100%, 420px) !important;
    margin:0 auto !important;
  }

  .ma-footer-grid > div{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
  }

  /* bloque marca arriba ocupando todo */
  .ma-footer-grid > div:first-child{
    grid-column:1 / -1 !important;
    margin-bottom:4px !important;
  }

  .ma-footer-grid h3,
  .ma-footer-grid h4,
  .ma-footer-grid strong{
    font-size:15px !important;
    line-height:1.2 !important;
    margin:0 0 4px !important;
  }

  .ma-footer-grid a{
    font-size:13px !important;
    line-height:1.2 !important;
    text-decoration:none !important;
    margin:0 !important;
  }

  .ma-footer-grid p,
  .ma-footer-grid .ma-muted{
    font-size:13px !important;
    line-height:1.35 !important;
    margin:0 !important;
  }

  .ma-public-footer{
    padding-top:24px !important;
    padding-bottom:18px !important;
  }

  .ma-signature-block{
    margin-top:14px !important;
    padding-top:12px !important;
  }

  .ma-signature-copy{
    font-size:13px !important;
    line-height:1.35 !important;
    margin-bottom:6px !important;
  }

  .ma-signature-made{
    font-size:14px !important;
    line-height:1.2 !important;
  }
}

@media (max-width: 520px){
  .ma-footer-grid{
    gap:12px 8px !important;
    width:min(100%, 390px) !important;
  }

  .ma-footer-grid h3,
  .ma-footer-grid h4,
  .ma-footer-grid strong{
    font-size:14px !important;
  }

  .ma-footer-grid a,
  .ma-footer-grid p,
  .ma-footer-grid .ma-muted{
    font-size:12.5px !important;
  }
}

/* === /MISAVISOS MOBILE TITLE FOOTER COMPACT V1 === */


/* === MISAVISOS MOBILE HAMBURGER TITLE V1 === */

.ma-mobile-menu-toggle{
  display:none;
}

@media (max-width: 900px){

  /* Header móvil real */
  .ma-public-header-inner{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:center !important;
    gap:10px !important;
    width:88vw !important;
    max-width:1320px !important;
    padding:10px 0 !important;
  }

  .ma-public-logo{
    min-width:0 !important;
  }

  .ma-mobile-menu-toggle{
    display:inline-flex !important;
    width:42px !important;
    height:42px !important;
    border:1px solid #dbeafe !important;
    border-radius:14px !important;
    background:#ffffff !important;
    box-shadow:0 10px 24px rgba(15,23,42,.08) !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    cursor:pointer !important;
  }

  .ma-mobile-menu-toggle span{
    width:18px !important;
    height:2px !important;
    border-radius:99px !important;
    background:#0f172a !important;
    display:block !important;
  }

  .ma-public-nav,
  .ma-public-actions{
    display:none !important;
  }

  .ma-public-header.ma-mobile-menu-open .ma-public-nav{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100% !important;
    padding-top:8px !important;
  }

  .ma-public-header.ma-mobile-menu-open .ma-public-nav a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:36px !important;
    padding:0 8px !important;
    border-radius:12px !important;
    background:#f8fafc !important;
    border:1px solid #e5e7eb !important;
    color:#0f172a !important;
    font-size:12px !important;
    line-height:1.1 !important;
    margin:0 !important;
    text-align:center !important;
  }

  .ma-public-header.ma-mobile-menu-open .ma-public-actions{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    width:100% !important;
  }

  /* Título: 3 líneas aprox, no 5 */
  .ma-public-title{
    max-width:16.5ch !important;
    font-size:clamp(32px, 8.3vw, 40px) !important;
    line-height:1.03 !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    letter-spacing:-1.3px !important;
  }

  .ma-public-title strong{
    white-space:normal !important;
  }

  .ma-public-subtitle{
    max-width:38ch !important;
    font-size:14px !important;
    line-height:1.45 !important;
  }
}

@media (max-width: 420px){
  .ma-public-title{
    max-width:16ch !important;
    font-size:clamp(30px, 8vw, 35px) !important;
  }

  .ma-public-header.ma-mobile-menu-open .ma-public-nav{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* === /MISAVISOS MOBILE HAMBURGER TITLE V1 === */


/* Misavisos.com - Settings Telegram card */
.ma-telegram-settings-card{
  border:1px solid rgba(34,158,217,.18);
  background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));
}
.ma-telegram-settings-card h2{
  margin-top:0;
}
.ma-telegram-settings-card .ma-btn{
  margin-top:10px;
}

/* Misavisos.com - Settings Telegram card */
.ma-telegram-settings-card{
  border:1px solid rgba(34,158,217,.18);
  background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));
}
.ma-telegram-settings-card h2{
  margin-top:0;
}
.ma-telegram-settings-card .ma-btn{
  margin-top:10px;
}

/* Misavisos.com - Dashboard alert channels */
.ma-channel-status-card{
  margin-top:28px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:24px;
  padding:22px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
}
.ma-channel-status-card h2{
  margin:0 0 6px;
  font-size:24px;
  letter-spacing:-.04em;
  color:#0f172a;
}
.ma-channel-subtitle{
  margin:0 0 16px;
  color:#64748b;
  line-height:1.55;
}
.ma-channel-list{
  display:grid;
  gap:12px;
}
.ma-channel-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-radius:18px;
  padding:15px 16px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
}
.ma-channel-row strong{
  display:block;
  color:#0f172a;
  font-size:15px;
  margin-bottom:3px;
}
.ma-channel-row span{
  display:block;
  color:#64748b;
  font-size:14px;
}
.ma-channel-row.active{
  background:#ecfdf5;
  border-color:#bbf7d0;
}
.ma-channel-row.active span{
  color:#047857;
}
.ma-channel-row.active b{
  background:#16a34a;
  color:#fff;
}
.ma-channel-row.inactive{
  background:#fff7f7;
  border-color:#fecaca;
}
.ma-channel-row.inactive span{
  color:#b91c1c;
}
.ma-channel-row b,
.ma-channel-row a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:900;
}
.ma-channel-row a{
  background:#fee2e2;
  color:#b91c1c;
}
.ma-channel-row a:hover{
  background:#fecaca;
}
@media(max-width:760px){
  .ma-channel-row{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* MISAVISOS.COM - Universal app header */
.ma-app-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,23,42,.08);
  box-shadow:0 12px 34px rgba(15,23,42,.055);
}
.ma-app-header-inner{
  width:90%;
  max-width:1180px;
  margin:0 auto;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ma-app-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#0f172a;
  flex:0 0 auto;
}
.ma-app-brand-mark{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#0f172a);
  color:#fff;
  font-weight:950;
  letter-spacing:-.08em;
  box-shadow:0 12px 28px rgba(37,99,235,.24);
}
.ma-app-brand-text{
  font-size:18px;
  font-weight:950;
  letter-spacing:-.055em;
  white-space:nowrap;
}
.ma-app-brand-text span{
  color:#2563eb;
}
.ma-app-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex:1 1 auto;
}
.ma-app-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 11px;
  border-radius:999px;
  text-decoration:none;
  color:#334155;
  font-size:14px;
  font-weight:850;
  line-height:1;
}
.ma-app-nav a:hover{
  background:#f1f5f9;
  color:#0f172a;
}
.ma-app-nav a.active{
  background:#eff6ff;
  color:#1d4ed8;
}
.ma-app-nav a.ma-app-nav-exit{
  color:#be123c;
}
.ma-app-nav a.ma-app-nav-exit:hover{
  background:#fff1f2;
  color:#be123c;
}
.ma-app-user{
  flex:0 0 auto;
  text-align:right;
  display:block;
}
.ma-app-user strong{
  display:block;
  color:#0f172a;
  font-size:13px;
  line-height:1.2;
  max-width:150px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ma-app-user span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.ma-app-menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  background:#f1f5f9;
  padding:10px;
}
.ma-app-menu-toggle span{
  display:block;
  height:2px;
  background:#0f172a;
  border-radius:999px;
  margin:5px 0;
}
.ma-app-page-title{
  display:none;
  border-top:1px solid rgba(15,23,42,.06);
  background:linear-gradient(135deg,#f8fafc,#fff);
}
.ma-app-page-title h1{
  margin:0;
  padding:18px 0;
  color:#0f172a;
  letter-spacing:-.055em;
  font-size:clamp(26px,4vw,38px);
}
body .ma-top{
  display:none !important;
}
@media(max-width:980px){
  .ma-app-header-inner{
    min-height:68px;
  }
  .ma-app-menu-toggle{
    display:inline-block;
  }
  .ma-app-user{
    display:none;
  }
  .ma-app-nav{
    position:fixed;
    left:5%;
    right:5%;
    top:78px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:14px;
    background:#fff;
    border:1px solid rgba(15,23,42,.10);
    border-radius:24px;
    box-shadow:0 26px 80px rgba(15,23,42,.18);
  }
  body.ma-menu-open .ma-app-nav{
    display:flex;
  }
  .ma-app-nav a{
    justify-content:flex-start;
    min-height:44px;
    padding:12px 14px;
  }
}
@media(max-width:520px){
  .ma-app-brand-text{
    font-size:16px;
  }
  .ma-app-brand-mark{
    width:35px;
    height:35px;
    border-radius:13px;
  }
}
