body.asenbar-portal-page{margin:0;background:#f4f1f7;color:#1f2937;font-family:Arial,Helvetica,sans-serif;line-height:1.55}
*{box-sizing:border-box}
.asenbar-shell{padding:28px 14px 46px}
.asenbar-wrap{max-width:1080px;margin:0 auto}
.asenbar-card{background:#fff;border:1px solid #e9e1ef;border-radius:20px;box-shadow:0 14px 40px rgba(88,28,135,.07)}
.asenbar-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.asenbar-logo{max-width:220px;height:auto}
.asenbar-chip{display:inline-block;padding:10px 14px;border-radius:999px;background:#f3e8ff;color:#7c3aed;font-weight:700;font-size:13px}
.asenbar-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:28px;background:linear-gradient(135deg,#ffffff,#faf5ff);border:1px solid #eadcf7;border-radius:20px;margin-bottom:18px}
.asenbar-header h1{margin:0 0 10px;font-size:34px;line-height:1.08}
.asenbar-countdown{background:#581c87;color:#fff;padding:14px 16px;border-radius:14px;min-width:240px;box-shadow:0 10px 22px rgba(88,28,135,.18)}
.asenbar-intro,.asenbar-module-nav,.asenbar-module{padding:22px;margin-bottom:18px}
.asenbar-module-nav ol{margin:12px 0 0 20px;padding:0}
.asenbar-module-nav a{text-decoration:none;color:#6d28d9;font-weight:700}
.asenbar-module{scroll-margin-top:20px}
.asenbar-module h2{margin-top:0;margin-bottom:8px;font-size:24px}
.asenbar-module-content{margin:14px 0}
.asenbar-badges{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.asenbar-badge{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
.asenbar-badge.open{background:#dcfce7;color:#166534}
.asenbar-badge.closed{background:#fee2e2;color:#991b1b}
.asenbar-badge.neutral{background:#ede9fe;color:#5b21b6}
.asenbar-contrib-list h3,.asenbar-form-block h3{margin-top:0}
.asenbar-contrib-item{padding:14px 0;border-top:1px solid #ececec}
.asenbar-contrib-item:first-child{border-top:0}
.asenbar-contrib-meta{font-size:12px;color:#6b7280;margin-bottom:8px}
.asenbar-form-block{background:#fcfbff;border:1px solid #e9e1ef;padding:16px;border-radius:14px;margin-top:18px}
.asenbar-vote-form{display:flex;gap:10px;flex-wrap:wrap}
.asenbar-vote-form button,.asenbar-form-block button,.asenbar-login button{background:#581c87;color:#fff;border:0;border-radius:12px;padding:11px 16px;cursor:pointer;font-weight:700}
.asenbar-vote-form button:hover,.asenbar-form-block button:hover,.asenbar-login button:hover{opacity:.95}
.asenbar-login{max-width:560px;margin:54px auto;background:#fff;border:1px solid #eadcf7;border-radius:20px;padding:26px;box-shadow:0 14px 40px rgba(88,28,135,.08)}
.asenbar-login input[type=password]{padding:12px;border:1px solid #d8c7e8;border-radius:10px;min-width:260px;margin-right:10px;margin-bottom:10px}
.asenbar-muted{color:#6b7280}
.asenbar-table th{width:180px}
.asenbar-preview-note{background:#fff7ed;border:1px solid #fed7aa;padding:10px 12px;border-radius:10px;margin-top:10px}
.asenbar-files{margin-top:14px;padding:16px}
.asenbar-files ul{margin:10px 0 0 18px;padding:0}
.asenbar-files a{color:#6d28d9;font-weight:700;text-decoration:none}
.asenbar-portal-page img{max-width:100%;height:auto}.asenbar-portal-page .aligncenter{display:block;margin:0 auto}.asenbar-portal-page .wp-caption{max-width:100%}.asenbar-textarea{width:100%;border:1px solid #d8c7e8;border-radius:12px;padding:12px;font:inherit;background:#fff;min-height:140px}.asenbar-login h2,.asenbar-login p{margin-top:0}.asenbar-module-content p:first-child{margin-top:0}
@media (max-width:782px){.asenbar-header{padding:18px;flex-direction:column}.asenbar-header h1{font-size:28px}.asenbar-countdown{min-width:0;width:100%}}
.asenbar-contrib-file a{display:inline-block;margin-top:8px;text-decoration:none;font-weight:700;color:#6d28d9}
.asenbar-editor-wrap .wp-editor-wrap{border:1px solid #e4d8f0;border-radius:12px;overflow:hidden;background:#fff}
.asenbar-editor-wrap .quicktags-toolbar,.asenbar-editor-wrap .mce-toolbar-grp{border-bottom:1px solid #eee}
.asenbar-form-block input[type=file]{max-width:100%}
.asenbar-login form{display:block}.asenbar-login button{margin-top:8px}
.asenbar-flash{margin:0 0 18px;padding:14px 16px;border-radius:14px;font-weight:700}
.asenbar-flash-success{background:#dcfce7;border:1px solid #86efac;color:#166534}
.asenbar-flash-error{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b}


/* Mejor contraste en el editor frontal */
.asenbar-editor-wrap .quicktags-toolbar,
.asenbar-editor-wrap div.mce-toolbar-grp,
.asenbar-editor-wrap .mce-container,
.asenbar-editor-wrap .mce-container *{
    box-sizing:border-box;
}
.asenbar-editor-wrap .quicktags-toolbar input.button,
.asenbar-editor-wrap .quicktags-toolbar .button,
.asenbar-editor-wrap .wp-media-buttons .button,
.asenbar-editor-wrap .mce-btn button,
.asenbar-editor-wrap .mce-ico,
.asenbar-editor-wrap .mce-caret,
.asenbar-editor-wrap .mce-txt,
.asenbar-editor-wrap .mce-menubtn button span,
.asenbar-editor-wrap .mce-menubtn button i,
.asenbar-editor-wrap .mce-btn i{
    color:#ffffff !important;
}
.asenbar-editor-wrap .quicktags-toolbar,
.asenbar-editor-wrap .mce-toolbar-grp,
.asenbar-editor-wrap .wp-editor-tabs button,
.asenbar-editor-wrap .wp-switch-editor,
.asenbar-editor-wrap .wp-media-buttons .button,
.asenbar-editor-wrap .quicktags-toolbar .button,
.asenbar-editor-wrap .mce-btn button{
    background:#581c87 !important;
    color:#ffffff !important;
    border-color:#4c1d95 !important;
    text-shadow:none !important;
    box-shadow:none !important;
}
.asenbar-editor-wrap .wp-editor-tabs .wp-switch-editor,
.asenbar-editor-wrap .wp-editor-tabs .switch-tmce,
.asenbar-editor-wrap .wp-editor-tabs .switch-html{
    background:#581c87 !important;
    color:#ffffff !important;
    border-color:#4c1d95 !important;
}
.asenbar-editor-wrap .mce-toolbar .mce-btn:hover button,
.asenbar-editor-wrap .quicktags-toolbar .button:hover,
.asenbar-editor-wrap .wp-media-buttons .button:hover,
.asenbar-editor-wrap .wp-switch-editor:hover{
    background:#6d28d9 !important;
    color:#ffffff !important;
}

.asenbar-admin-preview-toolbar{margin:12px 0 18px}.asenbar-admin-preview-toolbar .button{margin-right:8px}.asenbar-admin-preview-toolbar .description{margin-top:8px}

.asenbar-progress{padding:22px;margin-bottom:18px}
.asenbar-progress-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}
.asenbar-progress-top h3{margin:0 0 8px}
.asenbar-progress-totals{display:flex;gap:10px;flex-wrap:wrap}
.asenbar-progress-bar{height:12px;background:#ede9fe;border-radius:999px;overflow:hidden;margin:16px 0 18px}
.asenbar-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#581c87);border-radius:999px}
.asenbar-progress-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.asenbar-progress-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;border:1px solid #e9e1ef;text-decoration:none;background:#fff;color:#1f2937}
.asenbar-progress-item.done{border-color:#bbf7d0;background:#f0fdf4}
.asenbar-progress-item.pending{border-color:#e9d5ff;background:#faf5ff}
.asenbar-progress-item strong{font-size:13px}
.asenbar-progress-cta{margin:18px 0 0}
.asenbar-progress-button{display:inline-block;background:#581c87;color:#fff!important;text-decoration:none;padding:11px 16px;border-radius:12px;font-weight:700}
