.mgf-portal-body{margin:0;background:#001427;color:#fff;font-family:Arial,Helvetica,sans-serif}.portal-shell{min-height:100vh;background:radial-gradient(circle at 8% 12%,rgba(28,151,227,.17),transparent 32%),linear-gradient(145deg,#001427,#052b49 55%,#00182c)}.portal-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100% - 1240px)/2));border-bottom:1px solid rgba(91,179,233,.2);background:rgba(0,15,29,.9);box-shadow:0 12px 34px rgba(0,0,0,.24)}.portal-brand{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none}.portal-brand img{width:60px;height:60px;padding:3px;border-radius:50%;background:#fff}.portal-brand span{display:flex;flex-direction:column}.portal-brand small,.portal-kicker{color:#53bdff;font-size:.72rem;font-weight:900;letter-spacing:.15em}.portal-brand strong{font-size:1.08rem}.portal-logout{padding:11px 16px;border:1px solid #2c6589;border-radius:10px;background:#082b49;color:#fff;font-weight:800;cursor:pointer}.portal-login-wrap{display:grid;place-items:center;min-height:calc(100vh - 174px);padding:54px 18px}.portal-login-card{width:min(480px,100%);padding:38px;border:1px solid rgba(75,177,239,.3);border-radius:26px;background:rgba(3,29,51,.92);box-shadow:0 30px 75px rgba(0,0,0,.4);text-align:center}.portal-login-logo{width:100px;height:100px;margin:0 auto 22px;padding:6px;border-radius:50%;background:#fff}.portal-login-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.portal-login-card h1{margin:8px 0 13px;font-size:clamp(2rem,5vw,3rem);line-height:1.05}.portal-intro{margin:0 auto 24px;color:#bcd4e3;line-height:1.6}.portal-alert{margin-bottom:18px;padding:13px;border:1px solid #b75c64;border-radius:11px;background:#572b34;color:#ffe7e9;text-align:left;font-weight:700}.portal-login-form{display:grid;gap:17px;text-align:left}.portal-login-form label{display:grid;gap:8px;color:#eaf6fc;font-weight:800}.portal-login-form input{width:100%;padding:14px;border:1px solid #2a6489;border-radius:12px;background:#00182c;color:#fff;font:inherit;outline:none}.portal-login-form input:focus{border-color:#35b8ff;box-shadow:0 0 0 3px rgba(53,184,255,.14)}.portal-login-form button,.portal-search button,.portal-status-form button{min-height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,#159eea,#0876c8);color:#fff;font-weight:900;cursor:pointer}.portal-security{display:flex;align-items:center;gap:12px;margin-top:22px;padding:14px;border-radius:13px;background:#061d34;text-align:left;color:#9fc4da}.portal-security>span{color:#55c4ff}.portal-security p{margin:0;font-size:.82rem}.portal-security strong{display:block;color:#fff}.portal-dashboard{width:min(1240px,100%);margin:auto;padding:55px 24px 80px}.portal-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:30px}.portal-welcome h1{margin:7px 0 9px;font-size:clamp(2.1rem,4vw,3.7rem);line-height:1.05}.portal-welcome>div>p:last-child{margin:0;color:#bad2e1}.portal-summary{display:flex;gap:12px}.portal-summary article{min-width:115px;padding:18px;border:1px solid #205779;border-radius:16px;background:#06233e;text-align:center}.portal-summary span{display:block;color:#5ec6ff;font-size:1.8rem;font-weight:900}.portal-summary small{color:#b9d1e0}.portal-tabs{display:flex;gap:10px;margin-bottom:18px;padding:7px;border:1px solid #174e73;border-radius:16px;background:#031d34}.portal-tabs a{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding:14px;border-radius:11px;color:#b9d3e2;text-decoration:none;font-weight:900}.portal-tabs a.active{background:#0a78c8;color:#fff}.portal-tabs span{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.13);font-size:.78rem}.portal-search{display:flex;gap:10px;margin-bottom:24px}.portal-search label{flex:1}.portal-search input{width:100%;height:50px;padding:0 15px;border:1px solid #285f82;border-radius:11px;background:#031a2f;color:#fff;font:inherit}.portal-search button{padding:0 22px}.portal-search>a{display:grid;place-items:center;padding:0 15px;border:1px solid #285f82;border-radius:11px;color:#c3dbea;text-decoration:none}.portal-list{display:grid;gap:17px}.portal-record,.portal-empty{padding:25px;border:1px solid #175078;border-radius:20px;background:linear-gradient(145deg,#082541,#041b31);box-shadow:0 18px 42px rgba(0,0,0,.2)}.portal-record>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid #174563}.portal-record h2{margin:7px 0 0;font-size:1.35rem}.portal-record time{color:#8fb7cf;font-size:.85rem}.portal-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.67rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.status-pendiente{background:#68491c;color:#ffd78c}.status-en_oracion{background:#154f78;color:#8ed4ff}.status-atendida{background:#15553c;color:#a4e9c7}.status-member{background:#174b73;color:#8ed2ff}.portal-record-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.portal-member-grid{grid-template-columns:repeat(3,1fr)}.portal-record-grid>div,.portal-message{padding:14px;border-radius:12px;background:#031a2f}.portal-record small,.portal-message small{display:block;margin-bottom:5px;color:#79b3d5;font-size:.7rem;font-weight:900;letter-spacing:.08em}.portal-record strong{color:#eef8fd}.portal-record a{color:#7acbfa}.portal-message{margin-top:12px}.portal-message p{margin:0;color:#d1e2ec;line-height:1.65}.portal-status-form{display:flex;align-items:end;justify-content:flex-end;gap:10px;margin-top:16px}.portal-status-form label{display:grid;gap:6px;color:#9fc5dc;font-size:.78rem;font-weight:800}.portal-status-form select{min-width:150px;height:43px;padding:0 11px;border:1px solid #2a6288;border-radius:9px;background:#031a2f;color:#fff}.portal-status-form button{min-height:43px;padding:0 15px;font-size:.78rem}.portal-empty{text-align:center;padding:60px 25px}.portal-empty>span{color:#55c5ff;font-size:2.5rem}.portal-empty h2{margin:8px 0}.portal-empty p{margin:0;color:#a9c9dc}.portal-footer{display:flex;align-items:center;justify-content:center;gap:11px;padding:22px;border-top:1px solid rgba(91,179,233,.18);background:#000f1d;color:#8eb2c9;font-size:.82rem}.portal-footer img{width:38px;height:38px;padding:2px;border-radius:50%;background:#fff}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.portal-topbar{padding:14px 16px}.portal-brand img{width:50px;height:50px}.portal-brand strong{font-size:.9rem}.portal-dashboard{padding:40px 16px 60px}.portal-welcome{align-items:flex-start;flex-direction:column}.portal-summary{width:100%}.portal-summary article{flex:1}.portal-tabs{flex-direction:column}.portal-search{flex-wrap:wrap}.portal-search label{flex-basis:100%}.portal-search button,.portal-search>a{height:46px;flex:1}.portal-record>header{flex-direction:column}.portal-record-grid,.portal-member-grid{grid-template-columns:1fr}.portal-status-form{align-items:stretch;flex-direction:column}.portal-status-form select,.portal-status-form button{width:100%}.portal-login-card{padding:29px 22px}}
.portal-notice{margin:0 0 20px;padding:14px 17px;border:1px solid #27795d;border-radius:12px;background:#0c4636;color:#c7f5df;font-weight:800}.portal-notice.is-error{border-color:#9d4b55;background:#572b34;color:#ffe7e9}.portal-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin:26px 0 18px}.portal-section-heading h2{margin:5px 0 0;font-size:1.65rem}.portal-section-heading>p{max-width:560px;margin:0;color:#a9c7d9;line-height:1.55}.pending-record{border-color:#276e99}.portal-confirm-form{display:flex;justify-content:flex-end;margin-top:17px}.portal-confirm-form button,.portal-phone-form button,.portal-finance-form button{min-height:45px;padding:0 18px;border:0;border-radius:10px;background:linear-gradient(135deg,#159eea,#0876c8);color:#fff;font-weight:900;cursor:pointer}.portal-actions,.portal-member-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:11px;margin-top:17px;flex-wrap:wrap}.portal-actions .portal-status-form{margin-top:0}.portal-delete-form button{min-height:43px;padding:0 15px;border:1px solid #a94452;border-radius:10px;background:#5c1f29;color:#ffdce1;font-weight:900;cursor:pointer;transition:.2s}.portal-delete-form button:hover,.portal-delete-form button:focus{background:#c12f43;color:#fff;box-shadow:0 0 0 4px rgba(230,65,87,.18)}.portal-phone-form{display:flex;align-items:flex-end;gap:9px;flex:1;min-width:340px}.portal-phone-form label{display:grid;gap:6px;flex:1;color:#9fc5dc;font-size:.78rem;font-weight:800}.portal-phone-form input,.portal-finance-form input{width:100%;min-height:45px;padding:0 12px;border:1px solid #2a6288;border-radius:9px;background:#031a2f;color:#fff;font:inherit}.portal-whatsapp{display:grid;place-items:center;min-height:43px;padding:0 16px!important;border-radius:10px;background:#168b50;color:#fff!important;text-decoration:none;font-size:.8rem;font-weight:900}.portal-accounting{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(380px,1.2fr);gap:20px;margin-top:24px}.portal-total-card,.portal-finance-form{padding:28px;border:1px solid #1e618d;border-radius:21px;background:linear-gradient(145deg,#082d4c,#041b31);box-shadow:0 18px 42px rgba(0,0,0,.2)}.portal-total-card{display:flex;flex-direction:column;justify-content:center}.portal-total-card>span{margin-top:18px;color:#b7d5e6}.portal-total-card strong{display:block;margin:8px 0;color:#69cdfd;font-size:clamp(2.1rem,5vw,4rem);line-height:1}.portal-total-card small{color:#8fb7cf}.portal-finance-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.portal-finance-form header{grid-column:1/-1}.portal-finance-form h2{margin:0 0 6px}.portal-finance-form p{margin:0;color:#a9c7d9}.portal-finance-form label{display:grid;gap:7px;color:#c9dfeb;font-size:.82rem;font-weight:800}.portal-finance-form label:nth-of-type(2){grid-column:1/-1}.portal-finance-form button{grid-column:1/-1}.finance-entry{display:flex;align-items:center;justify-content:space-between;gap:20px}.finance-entry h2{margin:4px 0}.finance-entry>strong{color:#69cdfd;font-size:1.7rem}.finance-summary{min-width:190px!important}.finance-summary span{font-size:1.35rem}.portal-summary{flex-wrap:wrap}
@media(max-width:920px){.portal-accounting{grid-template-columns:1fr}.portal-section-heading{align-items:flex-start;flex-direction:column}.portal-summary{width:100%}.portal-tabs{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:760px){.portal-tabs{display:flex}.portal-confirm-form button{width:100%}.portal-actions,.portal-member-actions{align-items:stretch;flex-direction:column}.portal-phone-form{align-items:stretch;flex-direction:column;min-width:0;width:100%}.portal-phone-form button,.portal-delete-form button,.portal-whatsapp{width:100%}.portal-finance-form{grid-template-columns:1fr}.portal-finance-form label:nth-of-type(2){grid-column:auto}.finance-entry{align-items:flex-start;flex-direction:column}}
.portal-dashboard button:disabled{cursor:wait;filter:saturate(.65);opacity:.78}
.portal-main-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 24px}.portal-main-actions article{display:flex;min-height:245px;padding:25px;border:1px solid #24688f;border-radius:20px;background:linear-gradient(145deg,#082d4c,#041b31);flex-direction:column;justify-content:space-between;box-shadow:0 16px 38px rgba(0,0,0,.2)}.portal-main-actions small{color:#77cfff;font-weight:900;letter-spacing:.08em}.portal-main-actions h2{margin:10px 0 8px;font-size:1.55rem}.portal-main-actions p{margin:0;color:#b9d3e2;line-height:1.55}.portal-main-actions a{display:grid;place-items:center;min-height:48px;margin-top:22px;padding:0 16px;border-radius:11px;background:linear-gradient(135deg,#159eea,#0876c8);color:#fff;text-align:center;text-decoration:none;font-size:.82rem;font-weight:900;box-shadow:0 10px 24px rgba(0,112,185,.25);transition:transform .2s,filter .2s}.portal-main-actions a:hover,.portal-main-actions a:focus{filter:brightness(1.12);transform:translateY(-1px)}.portal-backbar{display:flex;margin:0 0 18px}.portal-backbar a{padding:11px 15px;border:1px solid #285f82;border-radius:10px;background:#031d34;color:#bfe2f5;text-decoration:none;font-size:.78rem;font-weight:900}.portal-digital-counter{display:inline-flex;margin-top:12px;padding:7px 12px;border:1px solid #2876a4;border-radius:999px;background:#082b49;color:#65caff;font-size:1rem;font-weight:900}.portal-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin-top:17px;flex-wrap:wrap}.portal-request-actions .portal-confirm-form{margin-top:0}
.portal-card-counter-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.portal-card-counter{display:grid;place-items:center;min-width:52px;height:52px;padding:0 12px;border:1px solid #38a9e8;border-radius:14px;background:linear-gradient(145deg,#0b4169,#062743);color:#69ceff;font-size:1.65rem;font-weight:900;line-height:1;box-shadow:inset 0 0 18px rgba(35,171,245,.12),0 8px 22px rgba(0,0,0,.2)}.portal-money-counter{min-width:105px;font-size:1.25rem}
@media(max-width:760px){.portal-main-actions{grid-template-columns:1fr}.portal-main-actions article{min-height:220px;padding:20px}.portal-request-actions{align-items:stretch;flex-direction:column}.portal-request-actions form,.portal-request-actions button{width:100%}}


/* Panel financiero y socios — actualización profesional */
.portal-finance-toolbar{display:flex;justify-content:flex-end;margin:0 0 14px}.portal-export-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border:1px solid #43b9f3;border-radius:11px;background:linear-gradient(135deg,#0d8bd5,#0867aa);color:#fff!important;text-decoration:none;font-size:.8rem;font-weight:900;letter-spacing:.025em;box-shadow:0 10px 26px rgba(4,104,171,.28);transition:.2s}.portal-export-button:hover,.portal-export-button:focus{filter:brightness(1.12);transform:translateY(-1px)}
.portal-accounting{grid-template-columns:minmax(240px,.7fr) repeat(2,minmax(300px,1fr))}.portal-withdraw-form{border-color:#8e3946;background:linear-gradient(145deg,#3b1b27,#171728)}.portal-withdraw-form h2{color:#ffccd2}.portal-withdraw-form textarea,.portal-manual-form input{width:100%;padding:12px;border:1px solid #2a6288;border-radius:9px;background:#031a2f;color:#fff;font:inherit;resize:vertical}.portal-withdraw-form button{background:linear-gradient(135deg,#d74859,#a92336)}
.finance-entry{border-left:4px solid #2ba9ef}.finance-entry.finance-retiro{border-color:#cc3044;background:linear-gradient(145deg,#421d29,#231725)}.finance-entry.finance-retiro small,.finance-entry.finance-retiro h2,.finance-entry.finance-retiro>strong{color:#ff6274}.finance-detail{margin:7px 0;color:#ffd8dc;line-height:1.45}
.portal-heading-actions{align-items:center}.portal-export-group{display:flex;align-items:center;gap:16px}.portal-export-group p{max-width:400px;margin:0;color:#a9c7d9}.portal-manual-member{margin:0 0 18px;border:1px solid #256d98;border-radius:15px;background:#05243e;overflow:hidden}.portal-manual-member summary{display:flex;align-items:center;gap:9px;padding:16px 19px;color:#d9f2ff;font-size:.82rem;font-weight:900;cursor:pointer;list-style:none}.portal-manual-member summary::-webkit-details-marker{display:none}.portal-manual-member summary span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#168bd4;color:#fff;font-size:1.15rem}
.portal-manual-form{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;padding:0 19px 19px}.portal-manual-form label{display:grid;gap:6px;color:#c9dfeb;font-size:.78rem;font-weight:800}.portal-manual-form button{grid-column:1/-1;min-height:45px;border:0;border-radius:10px;background:linear-gradient(135deg,#159eea,#0876c8);color:#fff;font-weight:900;cursor:pointer}
.compact-members{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-members .member-record{padding:17px;border-radius:15px}.compact-members .portal-record>header{padding-bottom:10px;margin-bottom:11px}.compact-members .portal-record h2{font-size:1.08rem}.compact-members .portal-record-grid>div{padding:10px}.compact-members .portal-member-actions{margin-top:11px}.compact-members .portal-phone-form{min-width:260px}.compact-members .portal-whatsapp,.compact-members .portal-delete-form button,.compact-members .portal-phone-form button{min-height:39px;font-size:.72rem}
@media(max-width:1100px){.portal-accounting{grid-template-columns:1fr 1fr}.portal-total-card{grid-column:1/-1}.compact-members{grid-template-columns:1fr}}@media(max-width:760px){.portal-accounting{grid-template-columns:1fr}.portal-total-card{grid-column:auto}.portal-finance-toolbar,.portal-export-group{align-items:stretch;flex-direction:column}.portal-export-button{width:100%}.portal-manual-form{grid-template-columns:1fr}.compact-members .member-record{padding:14px}}

.mgf-print-report{display:none}
@media print{
 @page{size:A4;margin:16mm}
 body{background:#fff!important;color:#17212b!important}
 body.print-finance .portal-topbar,body.print-finance .portal-dashboard>*:not(#mgf-print-finance),body.print-finance .portal-footer,
 body.print-members .portal-topbar,body.print-members .portal-dashboard>*:not(#mgf-print-members),body.print-members .portal-footer{display:none!important}
 body.print-finance #mgf-print-finance,body.print-members #mgf-print-members{display:block!important}
 .mgf-print-report{font-family:Arial,Helvetica,sans-serif;color:#17212b}
 .mgf-print-report header{margin-bottom:22px;padding:20px 24px;border-radius:10px;background:#062743!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .mgf-print-report h1{margin:0 0 6px;font-size:25px}.mgf-print-report p{margin:0;color:#cce8f7!important}
 .mgf-print-report table{width:100%;border-collapse:collapse;font-size:11px}.mgf-print-report th{padding:10px 9px;background:#0b78bd!important;color:#fff!important;text-align:left;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .mgf-print-report td{padding:9px;border-bottom:1px solid #d8e0e6;vertical-align:top}.mgf-print-report tbody tr:nth-child(even){background:#f3f7fa!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .mgf-print-report tr.is-withdrawal td,.mgf-print-report tr.is-withdrawal strong{color:#c71931!important;font-weight:800}.mgf-print-report tfoot th{background:#062743!important;font-size:12px}
}
