.dcerp-vaccine-notices{grid-column:1/-1;margin:6px 0;display:grid;gap:4px}
.dcerp-vaccine-notice{padding:7px 10px;border-left:3px solid;border-radius:4px;font-size:12px;line-height:1.4;white-space:normal}
.dcerp-vaccine-expired,.dcerp-vaccine-invalid{color:#8b1b1b;background:#fff0ef;border-color:#bb2525;font-weight:600}
.dcerp-vaccine-current{color:#23553a;background:#eef7f0;border-color:#4d8762}
.dcerp-vaccine-missing{color:#695727;background:#fff9e8;border-color:#c3a44b}
.dcerp-wrap{max-width:1400px}
.dcerp-top{display:flex;justify-content:space-between;align-items:center;margin:20px 0}
.dcerp-top h1{margin:0;font-size:30px}
.dcerp-top p{margin:6px 0;color:#646970}
.dcerp-cards{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;margin:20px 0}
.dcerp-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:18px;display:flex;gap:14px;align-items:center;text-decoration:none;color:#1d2327;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.dcerp-card:hover{border-color:#8c8f94;transform:translateY(-1px)}
.dcerp-card>span{font-size:28px}
.dcerp-card strong{display:block;font-size:25px;line-height:1.1}
.dcerp-card small{display:block;color:#646970;margin-top:5px}
.dcerp-card.static{cursor:default}
.dcerp-panel{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:20px;margin-top:20px}
.dcerp-panel h2{margin-top:0}
.dcerp-form{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:24px;max-width:760px}
.dcerp-form label{display:block;font-weight:600;margin:0 0 16px}
.dcerp-form input,.dcerp-form textarea,.dcerp-form select{display:block;width:100%;margin-top:6px;box-sizing:border-box}
.dcerp-form textarea{min-height:120px}
.dcerp-response{margin-top:15px;font-weight:600}
.dcerp-toolbar{display:flex;gap:10px;margin:20px 0}
.dcerp-calendar{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:16px}
.dcerp-stay{background:#fff;border:1px solid #dcdcde;border-left:5px solid #2271b1;border-radius:10px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.dcerp-stay-animal{font-size:20px;font-weight:700;margin-bottom:12px}
.dcerp-stay div{margin:5px 0}
.dcerp-empty{background:#fff;border:1px dashed #c3c4c7;border-radius:10px;padding:30px;text-align:center;color:#646970;grid-column:1/-1}
.dcerp-priority{font-weight:700;text-transform:uppercase;font-size:11px}
.dcerp-priority.high,.dcerp-priority.urgent{color:#b32d2e}
.dcerp-priority.medium{color:#996800}
@media(max-width:1200px){.dcerp-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.dcerp-cards{grid-template-columns:repeat(2,1fr)}.dcerp-calendar{grid-template-columns:1fr}.dcerp-card{padding:12px}.dcerp-card strong{font-size:21px}}

.dcerp-user-create{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:20px;margin:20px 0}
.dcerp-inline-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.dcerp-inline-form label{font-weight:600}
.dcerp-inline-form input,.dcerp-inline-form select{display:block;margin-top:5px}
.dcerp-user-response{margin-left:10px;font-weight:600}
.dcerp-frontend{max-width:1400px;margin:30px auto;padding:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dcerp-fhead{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}
.dcerp-brand{font-weight:800;font-size:20px}.dcerp-fhead h1{margin:8px 0}.dcerp-fhead p{margin:0;color:#646970}
.dcerp-logout{padding:10px 14px;border:1px solid #dcdcde;border-radius:8px;text-decoration:none}
.dcerp-fnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px;padding:12px;background:#fff;border:1px solid #dcdcde;border-radius:12px}
.dcerp-fnav a{padding:9px 12px;text-decoration:none;border-radius:7px}
.dcerp-fnav a:hover{background:#f0f0f1}
.dcerp-fcards{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:15px}
.dcerp-fcards a{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:20px;text-decoration:none;color:#1d2327}
.dcerp-fcards span{font-size:30px;display:block}.dcerp-fcards b{display:block;font-size:18px;margin-top:10px}.dcerp-fcards small{color:#646970}
@media(max-width:800px){.dcerp-fcards{grid-template-columns:repeat(2,1fr)}.dcerp-fhead{align-items:flex-start;flex-direction:column}}
@media(max-width:500px){.dcerp-fcards{grid-template-columns:1fr}}

.dcerp-login{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}
.dcerp-login-card{width:100%;max-width:430px;background:#fff;border:1px solid #ddd;border-radius:14px;padding:32px;box-shadow:0 8px 30px rgba(0,0,0,.08);text-align:left}
.dcerp-login-logo{text-align:center;font-size:48px}
.dcerp-login-card h1{text-align:center;margin:8px 0}
.dcerp-login-subtitle{text-align:center;color:#666}
.dcerp-login-card label{font-weight:600}
.dcerp-login-card input[type=text],.dcerp-login-card input[type=password]{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px;border:1px solid #ccd0d4;border-radius:6px}
.dcerp-login-card .button-large{width:100%;padding:8px 15px}
.dcerp-login-check label{font-weight:400}
.dcerp-login-error{background:#fbeaea;border:1px solid #e5a1a1;color:#8a1f1f;padding:10px;border-radius:6px;margin:15px 0}
.dcerp-login-box{text-align:center;padding:30px}

/* DogCenter ERP - interfaz frontend */
.dcerp-app{max-width:1440px;margin:25px auto;padding:0 24px;color:#18212b;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dcerp-app-head{height:74px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.dcerp-logo{display:flex;align-items:center;gap:12px}.dcerp-logo>span{font-size:35px}.dcerp-logo strong{display:block;font-size:20px}.dcerp-logo small,.dcerp-user small{display:block;color:#748091;font-size:12px;margin-top:2px}
.dcerp-user{display:flex;align-items:center;gap:18px}.dcerp-user a{border:1px solid #d9dee5;border-radius:9px;padding:9px 14px;text-decoration:none;color:#253140}
.dcerp-layout{display:grid;grid-template-columns:235px 1fr;gap:24px}.dcerp-sidebar{background:#101923;border-radius:16px;padding:15px;height:max-content;position:sticky;top:20px}.dcerp-sidebar a{display:flex;gap:11px;align-items:center;color:#dbe5ef;text-decoration:none;padding:12px 13px;border-radius:9px;margin:3px 0}.dcerp-sidebar a:hover{background:#253443;color:#fff}.dcerp-sidebar span{width:22px}
.dcerp-main{min-width:0}.dcerp-hero{background:linear-gradient(135deg,#182532,#2d4357);color:#fff;border-radius:18px;padding:32px;display:flex;justify-content:space-between;align-items:center;min-height:150px}.dcerp-eyebrow,.dcerp-section-title>div>span{font-size:11px;font-weight:800;letter-spacing:1.5px;opacity:.7}.dcerp-hero h1{font-size:30px;margin:8px 0}.dcerp-hero p{margin:0;opacity:.78}.dcerp-role-pill{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);padding:10px 14px;border-radius:30px;font-size:13px}
.dcerp-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}.dcerp-action{background:#fff;border:1px solid #e3e7eb;border-radius:14px;padding:18px;position:relative;min-height:90px}.dcerp-action-icon{font-size:26px;float:left;margin-right:12px}.dcerp-action b{display:block;font-size:16px}.dcerp-action small{color:#7b8794;display:block;margin-top:3px}.dcerp-action-btn{display:inline-block;margin-top:13px;border:0;border-radius:8px;background:#182532;color:#fff;padding:9px 13px;text-decoration:none;cursor:pointer;font-weight:700}.dcerp-action-btn:disabled{opacity:.6}.dcerp-clock-status{display:block;color:#5e6a76;font-size:12px;margin-top:8px}.dcerp-big-number{font-size:30px;display:block;margin-top:13px}
.dcerp-section{background:#fff;border:1px solid #e3e7eb;border-radius:16px;margin:16px 0;padding:22px}.dcerp-section-title{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #edf0f2;padding-bottom:15px;margin-bottom:17px}.dcerp-section-title h2{margin:5px 0 0;font-size:22px}.dcerp-section-title small{color:#7b8794}
.dcerp-clock-panel{display:flex;align-items:center;gap:16px}.dcerp-clock-face{font-size:30px}.dcerp-clock-panel b{font-size:18px}.dcerp-clock-panel p{margin:4px 0;color:#7b8794}.dcerp-clock-panel .dcerp-action-btn{margin-left:auto}
.dcerp-vac-layout{display:grid;grid-template-columns:330px 1fr;gap:25px}.dcerp-vac-form{background:#f7f9fb;border-radius:12px;padding:18px}.dcerp-vac-form h3,.dcerp-vac-list h3{margin-top:0}.dcerp-vac-form label{display:block;font-weight:700;margin:12px 0}.dcerp-vac-form input,.dcerp-vac-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #d6dce2;border-radius:8px;padding:10px}.dcerp-vac-form textarea{min-height:80px}.dcerp-primary{background:#182532;color:#fff;border:0;border-radius:8px;padding:11px 16px;font-weight:700;cursor:pointer}.dcerp-form-msg{font-size:13px;margin-top:10px}.dcerp-vac-row,.dcerp-approval-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #edf0f2}.dcerp-vac-row small,.dcerp-approval-row small{display:block;color:#7b8794;margin-top:4px}.dcerp-status{font-size:12px;font-weight:800;padding:6px 9px;border-radius:20px}.dcerp-status.pending{background:#fff5d8;color:#8a6500}.dcerp-status.approved{background:#e2f6e9;color:#19733a}.dcerp-status.rejected{background:#fde7e7;color:#a52b2b}.dcerp-approval-row strong{display:block;margin-top:5px}.dcerp-approval-actions{display:flex;gap:7px}.dcerp-approval-actions button{border:0;border-radius:8px;padding:9px 12px;font-weight:700;cursor:pointer}.dcerp-approve{background:#dff3e6;color:#176c36}.dcerp-reject{background:#fbe5e5;color:#9d2929}.dcerp-empty-card{padding:25px;text-align:center;color:#7b8794;background:#f8fafb;border-radius:10px}
@media(max-width:950px){.dcerp-layout{grid-template-columns:1fr}.dcerp-sidebar{position:static;display:flex;overflow:auto}.dcerp-sidebar a{white-space:nowrap}.dcerp-quick-grid{grid-template-columns:1fr}.dcerp-vac-layout{grid-template-columns:1fr}}
@media(max-width:600px){.dcerp-app{padding:0 12px}.dcerp-hero{padding:22px;display:block}.dcerp-role-pill{display:inline-block;margin-top:15px}.dcerp-fhead{flex-direction:column}.dcerp-clock-panel{align-items:flex-start;flex-wrap:wrap}.dcerp-clock-panel .dcerp-action-btn{margin-left:0}.dcerp-vac-row,.dcerp-approval-row{align-items:flex-start;flex-direction:column}.dcerp-approval-actions{width:100%}.dcerp-approval-actions button{flex:1}}

.dcerp-team-clock-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f2}.dcerp-team-clock-row small{display:block;color:#7b8794;margin-top:4px}.dcerp-team-clock-row span{font-size:12px;font-weight:800;padding:6px 10px;border-radius:20px}.dcerp-team-clock-row .open{background:#e2f6e9;color:#19733a}.dcerp-team-clock-row .closed{background:#eef1f4;color:#5d6975}

.dcerp-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}.dcerp-metrics>div{background:#fff;border:1px solid #e3e7eb;border-radius:14px;padding:18px}.dcerp-metrics span{font-size:24px;display:block}.dcerp-metrics b{font-size:27px;display:block;margin-top:6px}.dcerp-metrics small{color:#7b8794}.dcerp-vac-balance{background:#eef7f0;padding:8px 12px;border-radius:20px;font-size:13px}.dcerp-grid-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:center}.dcerp-grid-form input,.dcerp-grid-form select,.dcerp-grid-form textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d6dce2;border-radius:8px}.dcerp-grid-form textarea{grid-column:1/-1;min-height:70px}.dcerp-grid-form button{width:max-content}.dcerp-mini-table{margin-top:18px;border-top:1px solid #edf0f2}.dcerp-mini-table>b{display:block;padding:12px 0}.dcerp-mini-table>div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #edf0f2}.dcerp-mini-table small{color:#7b8794}.dcerp-helper{font-size:13px;color:#6c7885}.dcerp-worker-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f2;padding:15px 0}.dcerp-worker-row small{display:block;color:#7b8794;margin-top:4px}.dcerp-days-form{display:flex;gap:8px}.dcerp-days-form input{width:100px;padding:9px;border:1px solid #d6dce2;border-radius:8px}.dcerp-days-form .dcerp-primary{padding:9px 12px}
@media(max-width:850px){.dcerp-metrics,.dcerp-grid-form{grid-template-columns:1fr 1fr}.dcerp-grid-form textarea{grid-column:1/-1}}@media(max-width:600px){.dcerp-metrics,.dcerp-grid-form{grid-template-columns:1fr}.dcerp-worker-row{align-items:flex-start;gap:12px;flex-direction:column}}

.dcerp-account{max-width:560px;margin:40px auto}.dcerp-account .dcerp-login-card{background:#fff;border:1px solid #ddd;border-radius:14px;padding:30px;box-shadow:0 8px 30px rgba(0,0,0,.06)}.dcerp-account h2{margin-top:25px}.dcerp-account input[type=password]{width:100%;box-sizing:border-box;padding:11px;border:1px solid #ccd0d4;border-radius:6px}.dcerp-account label{display:block;font-weight:600;margin-bottom:6px}.dcerp-login-success{background:#edfaef;border:1px solid #b7dfba;padding:10px;border-radius:6px;margin-bottom:15px}.dcerp-account-info{background:#f6f7f7;padding:14px;border-radius:8px}

/* V2.8: navegación por páginas independientes */
.dcerp-independent-layout{display:flex;min-height:calc(100vh - 120px)}
.dcerp-independent-app .dcerp-sidebar{position:sticky;top:0;height:calc(100vh - 80px);overflow-y:auto}
.dcerp-independent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin-top:24px}
.dcerp-independent-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #ddd;border-radius:12px;padding:22px;text-decoration:none;min-height:120px;box-sizing:border-box}
.dcerp-independent-card span{font-size:30px}.dcerp-independent-card strong{font-size:18px}.dcerp-independent-card small{color:#666}
.dcerp-sidebar a.active{font-weight:700}
.dcerp-page-content{overflow-x:auto}
@media(max-width:800px){
 .dcerp-independent-layout{display:block}
 .dcerp-independent-app .dcerp-sidebar{position:static;height:auto;display:flex;overflow-x:auto;white-space:nowrap;gap:4px;padding:8px}
 .dcerp-independent-app .dcerp-sidebar a{flex:0 0 auto}
 .dcerp-independent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}

/* Estancias: formulario compacto y aprovechamiento del ancho disponible. */
.dcerp-stay-form{max-width:1180px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:20px!important}.dcerp-stay-form>label{margin:0!important}.dcerp-stay-form>fieldset,.dcerp-stay-form>section,.dcerp-stay-form>.dcerp-price-preview,.dcerp-stay-form>.dcerp-file-field,.dcerp-stay-form>.dcerp-photo-field,.dcerp-stay-form>.dcerp-form-actions{grid-column:1/-1}.dcerp-stay-form fieldset{margin:0!important;padding:14px!important}.dcerp-stay-form fieldset>label{margin:0!important}.dcerp-stay-form textarea{min-height:70px!important}.dcerp-stay-reference-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dcerp-stay-area-fields,.dcerp-restriction-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dcerp-stay-area-fields label,.dcerp-restriction-checks label{margin:0!important;padding:8px!important}.dcerp-stay-form .dcerp-stay-services-box{margin:0!important}.dcerp-stay-form .dcerp-transport-box{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dcerp-stay-form .dcerp-transport-box>small{grid-column:1/-1}@media(max-width:900px){.dcerp-stay-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dcerp-stay-reference-fields,.dcerp-stay-area-fields,.dcerp-restriction-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dcerp-stay-form{grid-template-columns:1fr!important}.dcerp-stay-reference-fields,.dcerp-stay-area-fields,.dcerp-restriction-checks,.dcerp-stay-form .dcerp-transport-box{grid-template-columns:1fr}}
@media(max-width:480px){.dcerp-independent-grid{grid-template-columns:1fr}.dcerp-app-head{padding:12px}}

.dcerp-animal-profile{display:grid;grid-template-columns:260px 1fr;gap:25px;margin-top:20px}.dcerp-animal-photo{background:#fff;border:1px solid #ddd;border-radius:12px;padding:15px;text-align:center}.dcerp-photo-placeholder{font-size:70px;padding:40px 10px}.dcerp-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:12px}.dcerp-detail-grid>div{background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px}.dcerp-detail-grid strong,.dcerp-detail-grid span{display:block}.dcerp-detail-grid span{margin-top:5px}.dcerp-help-box{background:#f6f7f7;border-left:4px solid #2271b1;padding:12px;margin:15px 0}.dcerp-photo-field{padding:15px;border:1px dashed #aaa;background:#fafafa}.dcerp-photo-field #dcerp-photo-preview{margin:10px 0}.dcerp-photo-field img{max-width:180px}@media(max-width:700px){.dcerp-animal-profile,.dcerp-detail-grid{grid-template-columns:1fr}}
/* Residencia Oasis V3 branding */
:root{--osasis-green:#5fbf20;--osasis-green-dark:#16723a;--osasis-lime:#9bdc00;--osasis-orange:#f58220;--osasis-cream:#f7fbeF}
.dcerp-app-head{background:#fff!important;border-bottom:3px solid var(--osasis-orange)!important}.dcerp-logo img{height:54px;width:auto;display:block}.dcerp-sidebar{background:linear-gradient(180deg,#075b2d,#16723a)!important}.dcerp-sidebar a.active,.dcerp-sidebar a:hover{background:var(--osasis-lime)!important;color:#123b20!important}.dcerp-primary,.dcerp-action-btn,.dcerp-login .button-primary{background:var(--osasis-green-dark)!important}.dcerp-role-reports h2,.dcerp-role-reports h3{color:var(--osasis-green-dark)}.dcerp-report-generator{border-left:5px solid var(--osasis-orange);padding:18px;background:var(--osasis-cream);border-radius:10px;margin:18px 0}.dcerp-report-generator form{display:flex;gap:15px;align-items:end;flex-wrap:wrap}.dcerp-report-generator label{min-width:220px}.dcerp-report-generator select{display:block;width:100%;margin-top:6px}

/* V3.1 — Interfaz visual Residencia Oasis, inspirada en el diseño de referencia */
.dcerp-osasis-admin #wpfooter{display:none}
.dcerp-osasis-admin .dcerp-admin-app{min-height:calc(100vh - 32px);background:#f5f7f4;margin:0;border-radius:0;overflow:hidden}
.dcerp-admin-top{height:76px;background:#fff;border-bottom:1px solid #e7ebe4;display:flex;align-items:center;padding:0 28px;gap:22px;box-sizing:border-box;position:sticky;top:32px;z-index:20}
.dcerp-admin-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#116b2e;min-width:280px}.dcerp-admin-brand img{width:190px;height:auto;max-height:54px;object-fit:contain;object-position:left center;background:transparent!important}.dcerp-admin-brand b{display:block;font-size:21px}.dcerp-admin-brand small{display:block;color:#718070;font-size:12px;margin-top:2px}
.dcerp-admin-user{margin-left:auto;display:flex;align-items:center;gap:10px}.dcerp-admin-user b{display:block;color:#1d2b22}.dcerp-admin-user small{display:block;color:#78837a;font-size:12px}.dcerp-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#15823b;color:#fff;font-weight:800}
.dcerp-admin-layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 108px)}
.dcerp-admin-sidebar{background:linear-gradient(180deg,#075b2d 0%,#08703a 55%,#0a5b32 100%);padding:20px 12px;box-sizing:border-box;display:flex;flex-direction:column;gap:3px}.dcerp-sidebar-title{color:#bfe6c4;font-size:10px;font-weight:800;letter-spacing:1.4px;padding:4px 14px 12px}.dcerp-admin-sidebar a{display:flex;align-items:center;gap:12px;color:#eaf8ed;text-decoration:none;padding:12px 14px;border-radius:9px;font-size:14px;transition:.15s}.dcerp-admin-sidebar a:hover{background:rgba(155,220,0,.18);color:#fff}.dcerp-admin-sidebar a.active{background:linear-gradient(90deg,#8fd400,#b1e900);color:#164b22;font-weight:800;box-shadow:0 3px 12px rgba(0,0,0,.12)}.dcerp-nav-icon{width:24px;text-align:center;font-size:19px}.dcerp-sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.14);padding-top:12px}.dcerp-admin-sidebar .dcerp-logout{color:#d7eee0}
.dcerp-admin-main{padding:28px 34px 50px;min-width:0;max-width:1600px;width:100%;box-sizing:border-box}.dcerp-page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.dcerp-page-heading>div>span{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#69916f}.dcerp-page-heading h1{font-size:30px;color:#173a23;margin:5px 0 0}.dcerp-page-heading p{margin:5px 0 0;color:#748079}.dcerp-admin-main .dcerp-panel,.dcerp-admin-main .dcerp-form,.dcerp-admin-main .dcerp-user-create,.dcerp-admin-main .dcerp-section{border:1px solid #e1e8df;box-shadow:0 3px 15px rgba(26,73,38,.05)}
.dcerp-admin-welcome{background:linear-gradient(110deg,#fffdf3,#fff);border:1px solid #e9eadf;border-radius:16px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;min-height:115px;overflow:hidden;position:relative}.dcerp-admin-welcome:after{content:"";position:absolute;right:130px;top:-80px;width:170px;height:260px;border:12px solid #94d400;border-left:0;border-radius:0 100% 100% 0;transform:rotate(8deg)}.dcerp-admin-welcome h2{font-size:27px;margin:6px 0;color:#14662d}.dcerp-admin-welcome p{margin:0;color:#53665a;font-size:15px}.dcerp-welcome-mark{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#8ed000;color:#fff;font-size:34px;z-index:1}
.dcerp-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#719078}
.dcerp-cards{grid-template-columns:repeat(6,minmax(130px,1fr));gap:14px}.dcerp-card{border:1px solid #e2e8df;box-shadow:0 3px 12px rgba(20,65,32,.04);transition:.15s}.dcerp-card:hover{border-color:#9bdc00;box-shadow:0 6px 18px rgba(20,65,32,.08);transform:translateY(-2px)}.dcerp-card>span{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#e7f8c7;font-size:24px}.dcerp-card strong{color:#173b25}
.dcerp-admin-main .widefat{border:0;border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:10px}.dcerp-admin-main .widefat th{background:#f4f8f2;color:#45604d;font-size:12px;text-transform:uppercase;letter-spacing:.4px}.dcerp-admin-main .widefat td,.dcerp-admin-main .widefat th{padding:12px 14px;border-bottom:1px solid #edf1ec}.dcerp-admin-main .button-primary{background:#16783a!important;border-color:#16783a!important}.dcerp-admin-main .button-primary:hover{background:#0e622d!important}
.dcerp-mobile-toggle{display:none;background:none;border:0;font-size:25px;color:#16652f;cursor:pointer}
@media(max-width:1100px){.dcerp-cards{grid-template-columns:repeat(3,1fr)}.dcerp-admin-layout{grid-template-columns:210px 1fr}.dcerp-admin-main{padding:24px}.dcerp-admin-brand{min-width:230px}}
@media(max-width:782px){.dcerp-osasis-admin #wpadminbar{position:fixed}.dcerp-admin-top{top:46px;padding:0 15px;height:66px}.dcerp-mobile-toggle{display:block}.dcerp-admin-layout{grid-template-columns:1fr}.dcerp-admin-sidebar{display:none;position:fixed;top:112px;left:0;width:245px;height:calc(100vh - 112px);z-index:30;overflow:auto}.dcerp-osasis-admin.menu-open .dcerp-admin-sidebar{display:flex}.dcerp-admin-brand img{width:55px}.dcerp-admin-brand b{font-size:17px}.dcerp-admin-user>div:not(.dcerp-avatar){display:none}.dcerp-admin-main{padding:20px 14px 40px}.dcerp-page-heading h1{font-size:25px}.dcerp-admin-welcome{padding:22px}.dcerp-cards{grid-template-columns:repeat(2,1fr)} }
@media(max-width:500px){.dcerp-cards{grid-template-columns:1fr 1fr;gap:9px}.dcerp-card{padding:13px}.dcerp-card strong{font-size:20px}.dcerp-admin-welcome h2{font-size:22px}.dcerp-welcome-mark{width:55px;height:55px;font-size:25px}.dcerp-page-heading{align-items:flex-start}.dcerp-admin-user{display:none}}

/* Frontend: mismo lenguaje visual que el panel de referencia */
.dcerp-independent-app{max-width:1500px!important;background:#f7f9f6;min-height:100vh;margin:0 auto!important;padding:0!important}.dcerp-independent-app .dcerp-app-head{height:78px;background:#fff!important;border-bottom:1px solid #e5ebe2!important;padding:0 28px;margin:0!important}.dcerp-independent-app .dcerp-logo img{height:58px}.dcerp-independent-app .dcerp-logo strong{color:#126c2f;font-size:21px}.dcerp-independent-app .dcerp-layout{grid-template-columns:245px 1fr}.dcerp-independent-app .dcerp-sidebar{border-radius:0;min-height:calc(100vh - 78px);background:linear-gradient(180deg,#075b2d,#08723b)!important;padding:18px 12px;top:78px}.dcerp-independent-app .dcerp-sidebar a{border-radius:8px}.dcerp-independent-app .dcerp-sidebar a.active,.dcerp-independent-app .dcerp-sidebar a:hover{background:linear-gradient(90deg,#8fd400,#b1e900)!important;color:#164b22!important}.dcerp-independent-app .dcerp-main{padding:26px 28px}.dcerp-independent-app .dcerp-hero{background:linear-gradient(110deg,#fffdf2,#fff)!important;color:#173b25!important;border:1px solid #e8eadf;position:relative;overflow:hidden}.dcerp-independent-app .dcerp-hero h1{color:#14662d}.dcerp-independent-app .dcerp-role-pill{background:#e9f7d5;color:#276126;border-color:#cde8aa}.dcerp-independent-app .dcerp-independent-card{border-color:#e2e8df;box-shadow:0 3px 12px rgba(20,65,32,.04)}.dcerp-independent-app .dcerp-independent-card:hover{border-color:#9bdc00;transform:translateY(-2px)}
/* V3.2.1: frontend independiente; no se aplica al wp-admin. */
.dcerp-osasis-frontend-page{margin:0!important;background:#f6f8f5!important}.dcerp-osasis-frontend-page #wpadminbar{display:none!important}.dcerp-osasis-frontend-page #wpcontent{margin:0!important;padding:0!important}.dcerp-osasis-page-root{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dcerp-independent-app{max-width:none!important;margin:0!important;padding:0!important;background:#f6f8f5!important;min-height:100vh}.dcerp-independent-app .dcerp-app-head{height:78px;background:#fff!important;border-bottom:1px solid #e3e9e1!important;padding:0 30px!important;margin:0!important}.dcerp-independent-app .dcerp-sidebar{background:linear-gradient(180deg,#075b2d,#08723b)!important}.dcerp-independent-app .dcerp-sidebar a.active,.dcerp-independent-app .dcerp-sidebar a:hover{background:linear-gradient(90deg,#8ed000,#b1e800)!important;color:#153e21!important}.dcerp-independent-app .dcerp-main{background:#f6f8f5!important}.dcerp-independent-app .dcerp-hero{background:linear-gradient(110deg,#fffdf2,#fff)!important;border:1px solid #e8eadf!important}.dcerp-independent-app .dcerp-hero h1{color:#126b2f!important}.dcerp-independent-app .dcerp-independent-card{background:#fff!important;border:1px solid #e0e8de!important;box-shadow:0 3px 12px rgba(20,65,32,.045)!important}.dcerp-independent-app .dcerp-independent-card:hover{border-color:#9bdc00!important;transform:translateY(-2px)}.dcerp-independent-app .button-primary{background:#16783a!important;border-color:#16783a!important;color:#fff!important}

/* V3.3 — Portal frontend definitivo inspirado en la interfaz de referencia. */
.dcerp-osasis-frontend-page,
.dcerp-osasis-frontend-page body{background:#f5f7f3!important;margin:0!important}
.dcerp-osasis-frontend-page *{box-sizing:border-box}
.dcerp-os-app{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr);background:#f5f7f3;color:#18251d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dcerp-os-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#075b2d 0%,#08733d 58%,#075a31 100%);color:#fff;display:flex;flex-direction:column;z-index:50;overflow:hidden}
.dcerp-os-brand{height:226px;display:flex;align-items:center;justify-content:center;padding:18px 15px 10px}
.dcerp-os-brand img{width:215px;height:auto;max-height:190px;object-fit:contain}
.dcerp-os-nav{padding:8px 12px;display:flex;flex-direction:column;gap:3px;overflow:auto}
.dcerp-os-nav a{position:relative;display:flex;align-items:center;gap:14px;padding:12px 14px;color:#eef9ef;text-decoration:none;border-radius:8px;font-size:14px;line-height:1.1;transition:.15s ease}
.dcerp-os-nav a:hover{background:rgba(155,220,0,.22);color:#fff}
.dcerp-os-nav a.active{background:linear-gradient(90deg,#8bd000,#b2e900);color:#164c22;font-weight:800;box-shadow:0 3px 12px rgba(0,0,0,.12)}
.dcerp-os-nav-icon{width:23px;text-align:center;font-size:20px;flex:0 0 23px}
.dcerp-os-nav-badge{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:20px;display:grid;place-items:center;background:#ff5b45;color:#fff;font-size:11px}
.dcerp-os-sidebar-profile{margin-top:auto;margin:12px;border-radius:10px;background:#fff;color:#183522;padding:11px;display:flex;align-items:center;gap:10px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.dcerp-os-profile-avatar,.dcerp-os-user-avatar{display:grid;place-items:center;border-radius:50%;background:#1b853f;color:#fff;font-weight:800}
.dcerp-os-profile-avatar{width:39px;height:39px;font-size:12px;flex:0 0 39px}
.dcerp-os-sidebar-profile strong,.dcerp-os-user strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dcerp-os-sidebar-profile small,.dcerp-os-user small{display:block;color:#718078;font-size:11px;margin-top:2px}
.dcerp-os-workspace{min-width:0;min-height:100vh}
.dcerp-os-topbar{height:88px;background:#fff;border-bottom:1px solid #e4eae2;display:flex;align-items:center;padding:0 28px;gap:18px;position:sticky;top:0;z-index:40}
.dcerp-os-top-title{color:#136a31;font-size:20px}
.dcerp-os-top-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.dcerp-os-icon-btn{position:relative;width:38px;height:38px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:#34453b;text-decoration:none;font-size:19px;cursor:pointer}
.dcerp-os-icon-btn:hover{background:#f0f5ed}
.dcerp-os-icon-btn b{position:absolute;right:-1px;top:-1px;background:#ff751f;color:#fff;border-radius:50%;min-width:17px;height:17px;display:grid;place-items:center;font-size:10px}
.dcerp-os-user{display:flex;align-items:center;gap:9px;min-width:150px}
.dcerp-os-user-avatar{width:40px;height:40px;font-size:12px}
.dcerp-os-chevron{color:#27372e;text-decoration:none;font-size:20px}
.dcerp-os-menu-toggle{display:none;border:0;background:none;font-size:24px;color:#176c35;cursor:pointer}
.dcerp-os-main{padding:0 28px 36px;min-width:0}
.dcerp-os-dashboard{max-width:1320px;margin:0 auto;padding-top:18px}
.dcerp-os-welcome{min-height:176px;border:1px solid #e9eadf;border-radius:14px;background:linear-gradient(105deg,#fffdf2 0%,#fff 62%,#f4f8ed 100%);display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;padding:27px 34px;margin-bottom:16px}
.dcerp-os-welcome:after{content:"";position:absolute;width:300px;height:340px;right:92px;top:-120px;border:14px solid #91d300;border-left:0;border-radius:0 100% 100% 0;transform:rotate(9deg);opacity:.95}
.dcerp-os-welcome-copy{position:relative;z-index:2}
.dcerp-os-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#789278}
.dcerp-os-welcome h1{font-size:28px;line-height:1.15;margin:7px 0 8px;color:#13682f}
.dcerp-os-welcome p{margin:0;color:#40544a;font-size:15px;line-height:1.55}
.dcerp-os-welcome-art{position:relative;z-index:2;width:250px;height:140px;display:grid;place-items:center}
.dcerp-os-paw{width:76px;height:76px;border-radius:50%;background:#8dd000;color:#fff;display:grid;place-items:center;text-align:center;font-size:22px;line-height:.65;font-weight:800;box-shadow:0 5px 20px rgba(88,151,0,.2)}
.dcerp-os-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.dcerp-os-stat{min-height:104px;background:#fff;border:1px solid #e2e8df;border-radius:12px;padding:15px;display:flex;align-items:center;gap:13px;text-decoration:none;color:#203127;box-shadow:0 3px 12px rgba(20,65,32,.035)}
.dcerp-os-stat:hover{transform:translateY(-1px);border-color:#b9d89a}
.dcerp-os-stat-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:0 0 45px}
.dcerp-os-stat.green .dcerp-os-stat-icon{background:#dff4d1;color:#16733a}.dcerp-os-stat.orange .dcerp-os-stat-icon{background:#fff0e1;color:#f56f1b}.dcerp-os-stat.amber .dcerp-os-stat-icon{background:#fff2bf;color:#dc9400}.dcerp-os-stat.red .dcerp-os-stat-icon{background:#ffe2df;color:#ef3028}
.dcerp-os-stat strong{display:block;font-size:25px;line-height:1}.dcerp-os-stat small{display:block;font-size:12px;color:#2c3f33;margin-top:5px;font-weight:700}.dcerp-os-stat em{display:block;font-size:11px;color:#21703e;font-style:normal;margin-top:5px}
.dcerp-os-stat.red strong{color:#ef3028}.dcerp-os-stat.red em{color:#ef3028}
.dcerp-os-content-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(285px,.82fr);gap:16px;align-items:start}
.dcerp-os-main-col,.dcerp-os-right-col{min-width:0}
.dcerp-os-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.dcerp-os-card{background:#fff;border:1px solid #e1e8df;border-radius:12px;padding:17px;box-shadow:0 3px 12px rgba(20,65,32,.035);margin-bottom:16px}
.dcerp-os-card>h2{font-size:17px;margin:0 0 15px;color:#1a3122}
.dcerp-os-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.dcerp-os-card-title h2{font-size:17px;margin:0;color:#1a3122}.dcerp-os-card-title h2 small{font-weight:500;color:#829087;font-size:12px}.dcerp-os-card-title a{font-size:12px;color:#1d6d39;text-decoration:underline}
.dcerp-os-animal-grid{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:12px}
.dcerp-os-animal{display:block;text-decoration:none;color:#1e2d24;border:1px solid #e3e9e0;border-radius:9px;padding:7px;background:#fff}
.dcerp-os-animal img,.dcerp-os-animal-placeholder{width:100%;height:103px;object-fit:cover;border-radius:7px;background:#e8eee5;display:grid;place-items:center;font-size:44px}
.dcerp-os-animal strong{display:block;margin:8px 4px 2px;font-size:14px}.dcerp-os-animal span{display:block;margin:0 4px 7px;color:#65736b;font-size:11px}.dcerp-os-animal>b{display:block;background:#e7f8d9;color:#27833f;border-radius:5px;padding:5px 7px;font-size:10px;text-align:center}
.dcerp-os-empty{padding:25px;text-align:center;color:#77857c;background:#f7faf6;border-radius:8px;grid-column:1/-1}
.dcerp-os-task-list,.dcerp-os-incident-list{display:flex;flex-direction:column}
.dcerp-os-task,.dcerp-os-incident{min-height:55px;border-bottom:1px solid #edf1ec;display:flex;align-items:center;gap:10px;text-decoration:none;color:#1d2e23}.dcerp-os-task:last-child,.dcerp-os-incident:last-child{border-bottom:0}.dcerp-os-task-icon,.dcerp-os-incident-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:0 0 30px;font-size:14px}.dcerp-os-task-icon.orange{background:#fff0df;color:#f2791c}.dcerp-os-task-icon.green{background:#e1f6dc;color:#25883d}.dcerp-os-task-icon.red{background:#ffe3e0;color:#ef342c}.dcerp-os-task div,.dcerp-os-incident div{min-width:0;flex:1}.dcerp-os-task strong,.dcerp-os-incident strong{display:block;font-size:12px}.dcerp-os-task small,.dcerp-os-incident small{display:block;color:#75827a;font-size:10px;margin-top:3px}.dcerp-os-task>b{font-size:11px;color:#946f00;background:#fff3bd;border-radius:6px;padding:5px 7px}.dcerp-os-incident-icon.ok{background:#e0f4dc;color:#21823a}.dcerp-os-incident-icon.pending{background:#fff0c6;color:#cc8500}.dcerp-os-incident time{font-size:10px;color:#8a958f}.dcerp-os-incident>b{font-size:10px;padding:5px 7px;border-radius:6px}.dcerp-os-incident>b.ok{background:#e0f5dc;color:#21823a}.dcerp-os-incident>b.pending{background:#fff0c4;color:#a76f00}
.dcerp-os-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dcerp-os-quick{height:90px;border-radius:9px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#1c4a25;border:1px solid rgba(0,0,0,.03)}.dcerp-os-quick span{font-size:24px}.dcerp-os-quick strong{font-size:12px}.dcerp-os-quick.green{background:#62bd19;color:#fff}.dcerp-os-quick.orange{background:#ff6d00;color:#fff}.dcerp-os-quick.lime{background:#d8f18e}.dcerp-os-quick.yellow{background:#ffe56f}.dcerp-os-quick.peach{background:#ffd49b}.dcerp-os-quick:hover{filter:brightness(.98);transform:translateY(-1px)}
.dcerp-os-calendar-date{display:block;font-size:15px;color:#26372d;margin-bottom:13px}.dcerp-os-week{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.dcerp-os-week>div{padding:7px 2px;border-radius:20px}.dcerp-os-week span{display:block;color:#68776e;font-size:10px;font-weight:700}.dcerp-os-week b{display:grid;place-items:center;width:30px;height:30px;margin:4px auto;font-size:12px}.dcerp-os-week .today{background:#19833d;color:#fff}.dcerp-os-week .today span{color:#fff}.dcerp-os-week .today b{background:#fff;color:#19833d;border-radius:50%}.dcerp-os-week i{display:block;height:10px;color:#1c91a3;font-style:normal;font-size:17px;line-height:8px}.dcerp-os-week i.has{color:#ee5a31}
.dcerp-os-document{display:flex;align-items:center;gap:10px;border:1px solid #e3e9e0;border-radius:8px;padding:11px;margin-top:9px;text-decoration:none;color:#1f3026}.dcerp-os-document>span{width:32px;height:36px;border-radius:6px;background:#fff0e5;color:#ed6a22;display:grid;place-items:center;font-size:18px}.dcerp-os-document strong{display:block;font-size:12px}.dcerp-os-document small{display:block;color:#6f7c74;font-size:10px;margin-top:3px}
/* Make the existing module screens use the same portal frame instead of WordPress chrome. */
.dcerp-os-main .dcerp-section,.dcerp-os-main .dcerp-panel,.dcerp-os-main .dcerp-form,.dcerp-os-main .dcerp-user-create{margin-top:18px}
.dcerp-os-main .dcerp-section-title h2{color:#14682f}
.dcerp-os-main .button-primary,.dcerp-os-main .dcerp-primary,.dcerp-os-main .dcerp-action-btn{background:#16783a!important;border-color:#16783a!important;color:#fff!important}
@media(max-width:1180px){.dcerp-os-content-grid{grid-template-columns:1fr}.dcerp-os-right-col{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.dcerp-os-right-col .dcerp-os-card{min-width:0}.dcerp-os-animal-grid{grid-template-columns:repeat(5,minmax(95px,1fr))}}
@media(max-width:900px){.dcerp-os-app{grid-template-columns:1fr}.dcerp-os-sidebar{position:fixed;left:-270px;top:0;width:246px;transition:left .2s ease}.dcerp-os-app.menu-open .dcerp-os-sidebar{left:0}.dcerp-os-menu-toggle{display:block}.dcerp-os-top-title{font-size:17px}.dcerp-os-main{padding:0 16px 28px}.dcerp-os-topbar{height:72px;padding:0 16px}.dcerp-os-stats{grid-template-columns:1fr 1fr}.dcerp-os-two-col{grid-template-columns:1fr}.dcerp-os-right-col{display:block}.dcerp-os-animal-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.dcerp-os-user>div:not(.dcerp-os-user-avatar),.dcerp-os-chevron{display:none}.dcerp-os-welcome{padding:22px;min-height:160px}.dcerp-os-welcome:after{right:-80px}.dcerp-os-welcome-art{width:90px}.dcerp-os-welcome h1{font-size:23px}.dcerp-os-welcome p{font-size:13px}.dcerp-os-stats{grid-template-columns:1fr 1fr;gap:9px}.dcerp-os-stat{padding:11px;min-height:91px}.dcerp-os-stat-icon{width:38px;height:38px;flex-basis:38px;font-size:18px}.dcerp-os-stat strong{font-size:21px}.dcerp-os-stat small{font-size:10px}.dcerp-os-stat em{font-size:9px}.dcerp-os-animal-grid{grid-template-columns:repeat(2,1fr)}.dcerp-os-card{padding:13px}.dcerp-os-top-actions{gap:4px}.dcerp-os-top-title{display:none}}

/* V3.4 — réplica visual del panel de referencia Residencia Oasis */
html.dcerp-osasis-frontend-page,
body.dcerp-osasis-frontend-page{margin:0!important;padding:0!important;background:#f5f7f3!important}
body.dcerp-osasis-frontend-page #wpadminbar{display:none!important}
body.dcerp-osasis-frontend-page{font-size:14px}
html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:246px minmax(0,1fr);min-height:100vh}
.dcerp-os-brand{height:246px!important;padding:14px 12px 8px!important}
.dcerp-os-brand img{width:222px!important;height:222px!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}
.dcerp-os-topbar{height:87px!important;padding:0 27px!important}
.dcerp-os-top-brand{display:flex;align-items:center;text-decoration:none;min-width:280px}
.dcerp-os-top-brand img{width:270px;height:auto;max-height:72px;object-fit:contain;object-position:left center}
.dcerp-os-top-brand strong{font-size:20px;font-weight:800}
.dcerp-os-top-title{display:none!important}
.dcerp-os-main{padding:0 21px 34px!important}
.dcerp-os-dashboard{max-width:1245px!important;margin:0 auto!important;padding-top:18px!important}
.dcerp-os-welcome{height:175px;min-height:175px!important;padding:0 0 0 22px!important;margin-bottom:16px!important;border-radius:13px!important}
.dcerp-os-welcome-paw{position:relative;z-index:4;width:76px;height:76px;flex:0 0 76px;border-radius:50%;background:#8ed000;color:#fff;display:grid;place-items:center;text-align:center;font-size:21px;line-height:.65;font-weight:800;box-shadow:0 4px 16px rgba(80,130,0,.16);margin-right:24px}
.dcerp-os-welcome-copy{position:relative;z-index:4;flex:1;min-width:0}
.dcerp-os-welcome-copy h1{font-size:28px!important;margin:0 0 7px!important;color:#12682f!important}
.dcerp-os-welcome-copy p{font-size:15px!important;line-height:1.45!important;color:#40544a!important}
.dcerp-os-welcome-art{height:175px!important;width:280px!important;flex:0 0 280px!important;display:block!important;position:relative!important;z-index:3!important;overflow:hidden!important;margin-left:15px}
.dcerp-os-welcome-art img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.dcerp-os-welcome:after{right:245px!important;top:-115px!important;width:305px!important;height:340px!important;border-width:13px!important;z-index:2!important}
.dcerp-os-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:16px!important}
.dcerp-os-stat{min-height:106px!important;padding:15px 16px!important;border-radius:11px!important}
.dcerp-os-stat-icon{width:46px!important;height:46px!important;flex-basis:46px!important}
.dcerp-os-content-grid{grid-template-columns:minmax(0,1fr) 344px!important;gap:16px!important}
.dcerp-os-animal-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.dcerp-os-animal img,.dcerp-os-animal-placeholder{height:105px!important}
.dcerp-os-animal{padding:7px!important;border-radius:9px!important}
.dcerp-os-card{border-radius:11px!important;padding:16px!important;margin-bottom:16px!important}
.dcerp-os-card-title{margin-bottom:13px!important}
.dcerp-os-card-title h2{font-size:17px!important}
.dcerp-os-two-col{gap:16px!important;margin-top:0!important}
.dcerp-os-right-col .dcerp-os-card{margin-bottom:16px!important}
.dcerp-os-quick-grid{gap:10px!important}
.dcerp-os-quick{height:90px!important;border-radius:9px!important}
.dcerp-os-mini-calendar .dcerp-os-card-title{margin-bottom:12px!important}
.dcerp-os-document{padding:10px!important}
@media(max-width:1180px){.dcerp-os-content-grid{grid-template-columns:minmax(0,1fr)!important}.dcerp-os-right-col{display:grid!important;grid-template-columns:1fr 1fr;gap:0 16px}.dcerp-os-right-col .dcerp-os-card{min-width:0}.dcerp-os-welcome-art{width:240px!important;flex-basis:240px!important}}
@media(max-width:900px){html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:1fr}.dcerp-os-sidebar{left:-270px!important;position:fixed!important}.dcerp-os-app.menu-open .dcerp-os-sidebar{left:0!important}.dcerp-os-top-brand{min-width:0}.dcerp-os-welcome-art{width:210px!important;flex-basis:210px!important}.dcerp-os-animal-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:600px){.dcerp-os-top-brand img{width:220px;height:auto}.dcerp-os-top-brand strong{font-size:16px}.dcerp-os-welcome{height:auto;min-height:190px!important;padding:20px!important}.dcerp-os-welcome-paw{display:none}.dcerp-os-welcome-art{display:none!important}.dcerp-os-content-grid{display:block!important}.dcerp-os-right-col{display:block!important}.dcerp-os-stats{grid-template-columns:1fr 1fr!important}.dcerp-os-animal-grid{grid-template-columns:repeat(2,1fr)!important}}

/* Cuando los módulos antiguos se renderizan dentro del portal, nunca deben abrir otro marco de WordPress. */
.dcerp-os-main .dcerp-panel,.dcerp-os-main .dcerp-form,.dcerp-os-main .dcerp-user-create,.dcerp-os-main .dcerp-section{max-width:none!important}
.dcerp-os-main .dcerp-table-wrap{overflow:auto}
.dcerp-os-main .dcerp-wrap{max-width:none!important;margin:0!important;padding-top:18px!important}

.dcerp-login-logo img{display:block;width:260px;max-width:100%;height:auto;margin:0 auto 12px;object-fit:contain}

/* V3.4.2 — correcciones de acceso, logo y notificaciones */
.dcerp-superadmin-landing{max-width:900px;margin-top:30px}
.dcerp-superadmin-landing h1{color:#176f37}
.dcerp-superadmin-landing .button-hero{background:#16783a;border-color:#16783a}
.dcerp-os-brand img{width:215px!important;height:auto!important;max-height:150px!important;object-fit:contain!important;border-radius:0!important}
.dcerp-os-notifications{position:relative}
.dcerp-os-notification-panel{position:absolute;right:-10px;top:47px;width:360px;background:#fff;border:1px solid #e0e7de;border-radius:12px;box-shadow:0 12px 35px rgba(24,55,34,.16);overflow:hidden;z-index:1000}
.dcerp-os-notification-panel[hidden]{display:none!important}
.dcerp-os-notification-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #edf1ec}
.dcerp-os-notification-head strong{font-size:14px;color:#1d3023}.dcerp-os-notification-head span{font-size:11px;color:#7a877f}
.dcerp-os-notification-item{display:flex;align-items:center;gap:10px;padding:11px 13px;text-decoration:none;color:#203127;border-bottom:1px solid #f0f3ef}
.dcerp-os-notification-item:hover{background:#f7faf5}
.dcerp-os-notification-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#ffe4e0;color:#ed342c;font-weight:800;flex:0 0 28px}
.dcerp-os-notification-item div{min-width:0;flex:1}.dcerp-os-notification-item strong{display:block;font-size:12px}.dcerp-os-notification-item small{display:block;color:#77847c;font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dcerp-os-notification-item time{font-size:10px;color:#929c96}
.dcerp-os-notification-all{display:block;text-align:center;padding:12px;color:#1a7138;text-decoration:none;font-size:11px;font-weight:700}
.dcerp-os-notification-empty{padding:22px 15px;text-align:center;color:#7c8981;font-size:12px}
/* Evita que Astra/otros estilos oculten el menú del portal en pantallas de escritorio o tablets. */
html.dcerp-osasis-frontend-page .dcerp-os-app{display:grid!important}
html.dcerp-osasis-frontend-page .dcerp-os-sidebar{display:flex!important;visibility:visible!important;opacity:1!important}
@media(max-width:700px){
  html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:1fr!important}
  html.dcerp-osasis-frontend-page .dcerp-os-sidebar{display:flex!important;position:fixed!important;left:-270px!important;width:246px!important}
  html.dcerp-osasis-frontend-page .dcerp-os-app.menu-open .dcerp-os-sidebar{left:0!important}
}
@media(max-width:600px){.dcerp-os-notification-panel{position:fixed;top:66px;right:10px;left:10px;width:auto}}

/* =========================================================
   V3.5.0 — Identidad visual oficial Residencia Oasis
   ========================================================= */
:root{
  --osasis-green:#0f6f32;
  --osasis-green-2:#16833d;
  --osasis-dark:#07572b;
  --osasis-lime:#a8d83d;
  --osasis-lime-2:#c5e95a;
  --osasis-orange:#f47b20;
  --osasis-orange-2:#ff9a2f;
  --osasis-yellow:#f4c94f;
  --osasis-cream:#fffaf0;
  --osasis-bg:#f6f8f4;
  --osasis-text:#173226;
  --osasis-muted:#718078;
  --osasis-border:#e2e9e1;
  --osasis-shadow:0 8px 26px rgba(20,70,36,.07);
}

/* Portal: acabado moderno, limpio y coherente con el logo oficial */
html.dcerp-osasis-frontend-page,
html.dcerp-osasis-frontend-page body{background:var(--osasis-bg)!important;color:var(--osasis-text)!important}
html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:258px minmax(0,1fr)!important;background:var(--osasis-bg)!important}
.dcerp-os-sidebar{background:linear-gradient(180deg,#07572b 0%,#0b6b35 52%,#07562b 100%)!important;box-shadow:8px 0 28px rgba(6,60,30,.08)}
.dcerp-os-brand{height:205px;padding:22px 18px 16px}
.dcerp-os-brand img{width:210px!important;max-height:100px!important;height:auto!important;object-fit:contain!important;background:transparent!important;border-radius:0!important;padding:0!important;box-shadow:none!important;filter:drop-shadow(0 6px 12px rgba(0,0,0,.10))}
.dcerp-os-nav{padding:10px 14px}
.dcerp-os-nav a{border-radius:11px;padding:12px 13px;font-weight:600;letter-spacing:.05px}
.dcerp-os-nav a.active{background:linear-gradient(90deg,var(--osasis-lime),var(--osasis-lime-2))!important;color:#174c24!important;box-shadow:0 5px 18px rgba(168,216,61,.22)}
.dcerp-os-nav a:hover{background:rgba(197,233,90,.18);transform:translateX(2px)}
.dcerp-os-nav-icon{font-size:18px}
.dcerp-os-sidebar-profile{border-radius:14px;margin:14px;background:#fff;padding:12px;box-shadow:0 8px 24px rgba(0,0,0,.13)}
.dcerp-os-profile-avatar,.dcerp-os-user-avatar{background:linear-gradient(135deg,var(--osasis-green-2),var(--osasis-dark))!important}

.dcerp-os-topbar{height:82px!important;padding:0 30px!important;border-bottom:1px solid var(--osasis-border)!important;box-shadow:0 2px 12px rgba(20,70,36,.035)}
.dcerp-os-top-brand{display:flex;align-items:center;text-decoration:none;gap:10px}
.dcerp-os-top-brand img{width:245px!important;height:auto!important;max-height:58px!important;object-fit:contain!important;object-position:left center;background:transparent!important;border-radius:0!important}
.dcerp-os-top-brand:after{content:none!important}
.dcerp-os-icon-btn{width:42px!important;height:42px!important;color:#145f31!important;display:grid!important;place-items:center!important;line-height:1!important}
.dcerp-os-icon-btn:hover{background:#f0f7eb!important}
.dcerp-os-bell{border:1px solid #dce7db!important;background:#fff!important;box-shadow:0 3px 12px rgba(20,70,36,.08)!important}
.dcerp-os-bell-svg{width:22px!important;height:22px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;visibility:visible!important;opacity:1!important}
.dcerp-os-icon-btn b{background:var(--osasis-orange)!important;right:-3px!important;top:-3px!important;box-shadow:0 0 0 3px #fff}
.dcerp-os-notification-panel{top:52px!important;border:1px solid #dfe8de!important;border-radius:15px!important;box-shadow:0 18px 45px rgba(21,65,34,.16)!important}
.dcerp-os-notification-head{background:linear-gradient(135deg,#fffdf4,#fff)!important}
.dcerp-os-notification-dot{background:#fff0e7!important;color:var(--osasis-orange)!important}
.dcerp-os-notification-all{color:var(--osasis-green)!important}

.dcerp-os-main{padding:0 30px 42px!important}
.dcerp-os-dashboard{max-width:1400px!important;padding-top:20px!important}
.dcerp-os-welcome{min-height:184px!important;border-radius:18px!important;background:linear-gradient(105deg,#fffdf4 0%,#fff 58%,#f2f9e9 100%)!important;border-color:#e8eadf!important;box-shadow:var(--osasis-shadow)}
.dcerp-os-welcome:after{border-color:var(--osasis-lime)!important}
.dcerp-os-welcome h1{color:var(--osasis-green)!important;font-size:30px!important}
.dcerp-os-welcome p{color:#4a5e52!important}
.dcerp-os-welcome-art{width:300px!important;height:155px!important}
.dcerp-os-welcome-art img{width:100%!important;height:155px!important;object-fit:cover!important;border-radius:15px!important;box-shadow:0 8px 24px rgba(20,65,32,.1)}
.dcerp-os-stats{gap:16px!important}
.dcerp-os-stat{border-radius:15px!important;border-color:var(--osasis-border)!important;box-shadow:var(--osasis-shadow)!important;min-height:112px!important}
.dcerp-os-stat:hover{border-color:#bddb8e!important;box-shadow:0 12px 28px rgba(20,65,32,.09)!important}
.dcerp-os-stat-icon{width:48px!important;height:48px!important}
.dcerp-os-stat.green .dcerp-os-stat-icon{background:#e1f4d4!important;color:var(--osasis-green)!important}
.dcerp-os-stat.orange .dcerp-os-stat-icon{background:#fff0e2!important;color:var(--osasis-orange)!important}
.dcerp-os-stat.amber .dcerp-os-stat-icon{background:#fff6d4!important;color:#bd8500!important}
.dcerp-os-stat.red .dcerp-os-stat-icon{background:#ffe7e1!important;color:#e33d2f!important}
.dcerp-os-card{border-radius:15px!important;border-color:var(--osasis-border)!important;box-shadow:var(--osasis-shadow)!important}
.dcerp-os-card-title h2,.dcerp-os-card>h2{color:#1a3826!important}
.dcerp-os-card-title a{color:var(--osasis-green)!important}
.dcerp-os-animal{border-radius:12px!important;transition:.16s ease}
.dcerp-os-animal:hover{transform:translateY(-2px);border-color:#b8d88b!important;box-shadow:0 7px 18px rgba(20,65,32,.08)}
.dcerp-os-animal img,.dcerp-os-animal-placeholder{border-radius:9px!important}
.dcerp-os-task{border-bottom-color:#edf1eb!important}
.dcerp-os-task-icon.green{background:#e1f4d4!important;color:var(--osasis-green)!important}
.dcerp-os-task-icon.orange{background:#fff0e2!important;color:var(--osasis-orange)!important}
.dcerp-os-quick{border-radius:13px!important;box-shadow:none!important;transition:.15s ease}
.dcerp-os-quick:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,65,32,.08)!important}
.dcerp-os-quick.green{background:#e6f5da!important;color:#17652e!important}
.dcerp-os-quick.orange{background:#fff0e3!important;color:#e96a16!important}
.dcerp-os-quick.lime{background:#eef8d9!important;color:#397018!important}
.dcerp-os-quick.yellow{background:#fff7d9!important;color:#9b6b00!important}
.dcerp-os-quick.peach{background:#ffead5!important;color:#ad5d14!important}
.dcerp-os-document{border-radius:11px!important;border-color:#e7ece5!important}
.dcerp-os-document:hover{border-color:#bcd995!important;background:#fbfdf9!important}

/* wp-admin: solo el superadministrador, con acceso técnico ligero */
.dcerp-osasis-admin #wpcontent{background:#f7f8f6}
.dcerp-superadmin-landing{max-width:900px!important;background:#fff;border:1px solid var(--osasis-border);border-radius:16px;padding:28px!important;box-shadow:var(--osasis-shadow)}
.dcerp-superadmin-landing h1{color:var(--osasis-green)!important}
.dcerp-superadmin-landing .button-primary,.dcerp-superadmin-landing .button-hero{background:var(--osasis-green)!important;border-color:var(--osasis-green)!important}

@media(max-width:1100px){
  html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:230px minmax(0,1fr)!important}
  .dcerp-os-main{padding-left:20px!important;padding-right:20px!important}
  .dcerp-os-welcome-art{width:240px!important}
}
@media(max-width:900px){
  html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:1fr!important}
  .dcerp-os-sidebar{left:-280px!important;position:fixed!important;transition:left .2s ease}
  .dcerp-os-app.menu-open .dcerp-os-sidebar{left:0!important}
  .dcerp-os-menu-toggle{display:block!important}
}

/* V3.6 — admin dashboard stable layout */
.dcerp-osasis-admin .dcerp-admin-app{display:block!important;position:relative!important;visibility:visible!important;opacity:1!important}
.dcerp-osasis-admin .dcerp-admin-top{position:relative!important;top:auto!important}
.dcerp-osasis-admin .dcerp-admin-layout{display:grid!important}
.dcerp-osasis-admin .dcerp-admin-main{display:block!important;visibility:visible!important}
.dcerp-superadmin-landing{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(max-width:782px){.dcerp-osasis-admin .dcerp-admin-layout{display:block!important}}

/* V3.7.1 — tipografía del wordmark y tratamiento limpio del logo; sin cambios de layout. */
.dcerp-os-top-brand strong,.dcerp-os-admin-brand strong,.dcerp-admin-brandmark strong{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:750!important;letter-spacing:-.02em}
.dcerp-os-top-brand img,.dcerp-os-brand img,.dcerp-admin-brandmark img{background:transparent!important}

/* V3.7.1 — ajuste tipográfico del branding, sin alterar estructura ni colores. */
.dcerp-os-brand,
.dcerp-os-top-brand,
.dcerp-admin-brandmark,
.dcerp-admin-brandbar,
.dcerp-admin-dashboard{
  font-family:"Aptos","Segoe UI",Inter,-apple-system,BlinkMacSystemFont,sans-serif;
}
.dcerp-os-top-brand strong,
.dcerp-admin-brandmark strong{
  font-weight:750!important;
  letter-spacing:-0.02em;
}
.dcerp-os-brand img,
.dcerp-os-top-brand img,
.dcerp-admin-brandmark img{background:transparent!important;}

/* V4.2.0 — Vista completa de estancia */
.dcerp-stay-detail{max-width:1200px;margin:0 auto 28px}.dcerp-stay-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 0 20px}.dcerp-stay-detail-head h2{margin:4px 0;color:#164b2b;font-size:28px}.dcerp-stay-detail-head p{margin:0;color:#6b7b71}.dcerp-stay-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.dcerp-stay-detail-card{background:#fff;border:1px solid #e1e8e2;border-radius:14px;padding:18px;box-shadow:0 3px 12px rgba(20,60,35,.05);margin-bottom:16px}.dcerp-stay-detail-card h3{margin:0 0 14px;color:#1b4c2d;font-size:16px}.dcerp-stay-detail-card dl{display:grid;grid-template-columns:150px 1fr;margin:0}.dcerp-stay-detail-card dt,.dcerp-stay-detail-card dd{padding:9px 0;border-bottom:1px solid #edf1ee;margin:0}.dcerp-stay-detail-card dt{font-weight:700;color:#69786f}.dcerp-stay-detail-card dd{color:#263c2d}.dcerp-stay-detail-card dd a{color:#16803f;text-decoration:none;font-weight:700}.dcerp-stay-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dcerp-stay-photo-grid figure{margin:0}.dcerp-stay-photo-grid figcaption{font-size:12px;font-weight:700;color:#53645a;margin-bottom:8px}.dcerp-stay-photo{display:block;width:100%;height:260px;object-fit:cover;border-radius:12px;border:1px solid #e1e8e2}.dcerp-stay-no-photo{height:260px;border:1px dashed #cbd8ce;border-radius:12px;display:grid;place-items:center;color:#8a978f;background:#f8faf8}.dcerp-stay-notes{margin:0;line-height:1.6;color:#4d5d53}
.dcerp-report-generator form{display:grid;grid-template-columns:1.1fr 1.2fr 1fr auto;align-items:end;gap:12px}.dcerp-report-generator label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#516259}.dcerp-report-generator input,.dcerp-report-generator select{min-height:40px}
@media(max-width:800px){.dcerp-stay-detail-grid,.dcerp-stay-photo-grid{grid-template-columns:1fr}.dcerp-stay-detail-head{flex-direction:column}.dcerp-stay-detail-card dl{grid-template-columns:120px 1fr}.dcerp-report-generator form{grid-template-columns:1fr}.dcerp-stay-photo,.dcerp-stay-no-photo{height:220px}}

/* V4.2.1 corporate controls */
.dcerp-osasis-admin .button-primary,.dcerp-wrap .button-primary,.dcerp-form .button-primary{background:#19863f!important;border-color:#19863f!important;color:#fff!important;box-shadow:none!important}.dcerp-btn-green{background:#19863f!important;border-color:#19863f!important;color:#fff!important}.dcerp-btn-orange{background:#f58220!important;border-color:#f58220!important;color:#fff!important}.dcerp-shopping-form{background:#fff;border:1px solid #e0e7e1;border-radius:13px;padding:16px;margin-bottom:14px}.dcerp-shopping-form h2{color:#183c28;margin-top:0}.dcerp-shopping-status{display:inline-block;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700}.dcerp-shopping-status.pending{background:#fff0df;color:#d96d10}.dcerp-shopping-status.bought{background:#e9f8df;color:#16723a}.dcerp-shopping-table .is-bought{opacity:.65}
.dcerp-form{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px}.dcerp-form label{min-width:0}.dcerp-form input,.dcerp-form select,.dcerp-form textarea{max-width:100%;box-sizing:border-box}@media(max-width:700px){.dcerp-form{grid-template-columns:1fr}.dcerp-form .button{max-width:100%;white-space:normal}.dcerp-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.dcerp-table-wrap table{min-width:720px}}


/* V4.3.1 — Correcciones solicitadas: ficha de estancia, ficha completa del animal,
   identidad de botones y adaptación del logotipo oficial. */
.dcerp-stay-detail{width:100%;max-width:1400px;margin:0 auto;box-sizing:border-box}
.dcerp-stay-detail-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;padding:0 0 20px!important;margin-bottom:18px!important;border-bottom:1px solid #e4ebe5}
.dcerp-stay-title{min-width:0}
.dcerp-stay-title h2{margin:5px 0 3px!important;font-size:30px!important;line-height:1.15!important;color:#164b2b!important}
.dcerp-stay-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.dcerp-stay-detail-actions .button{margin:0!important}
.dcerp-stay-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.dcerp-stay-detail-card{width:100%;min-width:0;box-sizing:border-box}
.dcerp-stay-card-title{display:flex;align-items:center;gap:10px;margin:0 0 15px}
.dcerp-stay-card-title h3{margin:0!important}
.dcerp-stay-card-title p{margin:3px 0 0;color:#748178;font-size:12px}
.dcerp-stay-card-title>a{margin-left:auto}
.dcerp-stay-card-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#eef7e8;display:grid;place-items:center;font-size:16px}
.dcerp-stay-data-list{display:grid!important;grid-template-columns:minmax(105px,42%) minmax(0,1fr)!important;margin:0!important}
.dcerp-stay-data-list dt,.dcerp-stay-data-list dd{min-width:0;overflow-wrap:anywhere}
.dcerp-stay-data-list dd{word-break:break-word}
.dcerp-stay-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf6e6;color:#24713c;font-weight:800;font-size:11px}
.dcerp-stay-animal-card{margin-bottom:16px}
.dcerp-stay-animal-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.dcerp-stay-animal-photo{min-width:0}
.dcerp-stay-animal-main-photo{display:block;width:100%!important;height:220px!important;object-fit:cover!important;border-radius:14px!important;border:1px solid #e1e8e2}
.dcerp-stay-no-animal-photo{height:220px!important;background:#f7faf7;border:1px dashed #cbd8ce;border-radius:14px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#849189}
.dcerp-stay-no-animal-photo span{font-size:42px}.dcerp-stay-no-animal-photo small{font-size:12px}
.dcerp-stay-animal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;min-width:0}
.dcerp-stay-info-block{min-width:0}
.dcerp-stay-info-block>strong{display:block;color:#42604b;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.dcerp-stay-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.dcerp-stay-photo-grid figure{min-width:0}
.dcerp-stay-photo{height:300px!important;max-width:100%;object-fit:contain!important;background:#f7faf7}
.dcerp-stay-no-photo{height:300px!important}
.dcerp-stay-incidents{display:flex;flex-direction:column;gap:10px}
.dcerp-stay-incident-row{padding:13px 15px;border:1px solid #e2e9e3;border-radius:11px;background:#fbfdfb}
.dcerp-stay-incident-row>div{display:flex;align-items:center;gap:8px;justify-content:space-between}
.dcerp-stay-incident-row>div span{font-size:11px;font-weight:800;padding:4px 8px;border-radius:999px;background:#fff1df;color:#d36c18}
.dcerp-stay-incident-row p{margin:8px 0;color:#33483a;line-height:1.5}
.dcerp-stay-incident-row small{color:#78867d}
.dcerp-stay-no-incidents{padding:18px;border-radius:10px;background:#f6faf5;color:#6e7d74}
.dcerp-stay-notes{white-space:normal;overflow-wrap:anywhere}

/* Nada de azul de WordPress en botones del ERP. */
html.dcerp-osasis-frontend-page .dcerp-os-main .button,
html.dcerp-osasis-frontend-page .dcerp-os-main button.button,
html.dcerp-osasis-frontend-page .dcerp-os-main a.button,
html.dcerp-osasis-frontend-page .dcerp-os-main input[type="submit"],
html.dcerp-osasis-frontend-page .dcerp-os-main input[type="button"]{
  border:1px solid #d7e3d8!important;
  background:#fff!important;
  color:#176c39!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .button:hover,
html.dcerp-osasis-frontend-page .dcerp-os-main button.button:hover,
html.dcerp-osasis-frontend-page .dcerp-os-main a.button:hover{
  background:#f1f8ed!important;color:#0b5d2e!important;border-color:#b9d7ba!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .button-primary,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-btn-green,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-os-v38-quick-btn.blue,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-os-v38-quick-btn.purple{
  background:linear-gradient(90deg,#74b900,#9bd51d)!important;
  border-color:#73ad05!important;
  color:#173b18!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-btn-orange,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-finish-stay,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-resolve-incident{
  background:#fff7ed!important;color:#d86c18!important;border-color:#f2cfad!important;
}

/* El mismo acabado en el panel avanzado del plugin. */
.dcerp-osasis-admin .dcerp-admin-main .button,
.dcerp-osasis-admin .dcerp-admin-main button.button,
.dcerp-osasis-admin .dcerp-admin-main a.button{
  border:1px solid #d7e3d8!important;background:#fff!important;color:#176c39!important;
  box-shadow:none!important;text-shadow:none!important;
}
.dcerp-osasis-admin .dcerp-admin-main .button-primary,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-btn-green{
  background:#19863f!important;border-color:#19863f!important;color:#fff!important;
}
.dcerp-osasis-admin .dcerp-admin-main .dcerp-btn-orange{
  background:#f58220!important;border-color:#f58220!important;color:#fff!important;
}

/* El logo oficial cuadrado debe conservarse completo, sin recortes. */
.dcerp-admin-brand img{width:72px!important;height:62px!important;max-height:62px!important;object-fit:contain!important}
.dcerp-os-brand img{width:178px!important;height:178px!important;max-height:178px!important;object-fit:contain!important}
.dcerp-login-logo img{width:260px!important;height:auto!important;object-fit:contain!important}

@media(max-width:1000px){
  .dcerp-stay-summary-grid{grid-template-columns:1fr 1fr}
  .dcerp-stay-summary-grid .dcerp-stay-finance-card{grid-column:1/-1}
  .dcerp-stay-animal-layout{grid-template-columns:180px minmax(0,1fr)}
  .dcerp-stay-animal-main-photo,.dcerp-stay-no-animal-photo{height:180px!important}
}
@media(max-width:760px){
  .dcerp-stay-detail-head{align-items:flex-start!important;flex-direction:column!important}
  .dcerp-stay-detail-actions{width:100%;justify-content:flex-start}
  .dcerp-stay-summary-grid,.dcerp-stay-animal-layout,.dcerp-stay-animal-fields,.dcerp-stay-photo-grid{grid-template-columns:1fr!important}
  .dcerp-stay-summary-grid .dcerp-stay-finance-card{grid-column:auto}
  .dcerp-stay-animal-main-photo,.dcerp-stay-no-animal-photo{height:230px!important}
  .dcerp-stay-photo{height:240px!important}
  .dcerp-stay-no-photo{height:240px!important}
  .dcerp-stay-detail-card{padding:15px!important}
  .dcerp-stay-data-list{grid-template-columns:1fr!important}
  .dcerp-stay-data-list dt{padding-bottom:2px!important;border-bottom:0!important}
  .dcerp-stay-data-list dd{padding-top:0!important}
}
@media(max-width:420px){
  .dcerp-admin-brand img{width:58px!important;height:54px!important}
  .dcerp-os-brand img{width:150px!important;height:150px!important}
}


/* V4.3.2 — identidad del nuevo logo transparente, búsquedas y fichas de estancia. */
.dcerp-list-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 10px}
.dcerp-list-search{display:flex;align-items:flex-end;gap:9px;flex:1;min-width:280px;max-width:760px}
.dcerp-list-search label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:220px}
.dcerp-list-search label span{font-size:11px;font-weight:800;color:#52645a;text-transform:uppercase;letter-spacing:.35px}
.dcerp-list-search input[type=search]{width:100%;height:42px;border:1px solid #d6e0d7;border-radius:9px;padding:0 12px;background:#fff;box-sizing:border-box}
.dcerp-list-search input[type=search]:focus{border-color:#78b51b;box-shadow:0 0 0 2px rgba(120,181,27,.12);outline:0}
.dcerp-list-result-note{font-size:12px;color:#728078;margin:0 0 10px}
.dcerp-list-result-note strong{color:#365b43}
.dcerp-stay-detail-head{gap:18px!important;flex-wrap:wrap!important}
.dcerp-stay-title{min-width:0;flex:1 1 280px}
.dcerp-stay-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important;max-width:100%}
.dcerp-stay-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
.dcerp-stay-summary-grid .dcerp-stay-detail-card{height:100%;display:flex;flex-direction:column}
.dcerp-stay-summary-grid .dcerp-stay-data-list{margin-top:auto!important}
.dcerp-stay-card-title{min-width:0;flex-wrap:wrap}
.dcerp-stay-card-title>div{min-width:0;flex:1}
.dcerp-stay-card-title>a{margin-left:auto;white-space:nowrap}
.dcerp-stay-animal-fields{gap:16px!important}
.dcerp-stay-info-block{background:#fbfdfb;border:1px solid #e4ebe4;border-radius:12px;padding:14px;box-sizing:border-box}
.dcerp-stay-info-block .dcerp-stay-data-list{background:transparent!important}
.dcerp-stay-data-list dt{color:#6b7b71}
@media(max-width:900px){.dcerp-stay-summary-grid{grid-template-columns:1fr 1fr!important}.dcerp-stay-summary-grid .dcerp-stay-finance-card{grid-column:1/-1}}
@media(max-width:700px){.dcerp-list-toolbar{align-items:stretch}.dcerp-list-search{flex-direction:column;align-items:stretch;min-width:0;max-width:none}.dcerp-list-search label{min-width:0}.dcerp-list-search .button{width:100%}.dcerp-list-toolbar>.button{width:100%;text-align:center}.dcerp-stay-summary-grid{grid-template-columns:1fr!important}.dcerp-stay-summary-grid .dcerp-stay-finance-card{grid-column:auto}.dcerp-stay-detail-actions{justify-content:flex-start!important}.dcerp-stay-detail-actions .button{flex:1 1 auto;text-align:center}.dcerp-stay-card-title>a{width:100%;margin-left:0;text-align:center}}


/* V4.3.3 — importador exclusivo del Superadministrador. */
.dcerp-import-page{max-width:1400px;margin:24px 20px 50px 0}
.dcerp-import-header{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid #dfe9df;border-radius:16px;padding:22px 26px;margin-bottom:18px;box-shadow:0 4px 18px rgba(28,70,40,.05)}
.dcerp-import-header h1{margin:5px 0 7px;font-size:30px;line-height:1.15;color:#1f3927}
.dcerp-import-header p{margin:0;color:#65756b;font-size:14px}
.dcerp-import-header img{width:92px;height:82px;object-fit:contain}
.dcerp-import-kicker{font-size:11px;font-weight:800;letter-spacing:.7px;color:#6a8a72}
.dcerp-import-warning{background:#fff8ed;border:1px solid #f2d3a8;border-left:4px solid #f58220;padding:13px 16px;border-radius:10px;margin:0 0 18px;color:#6b512e}
.dcerp-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.dcerp-import-card{background:#fff;border:1px solid #dfe9df;border-radius:14px;padding:20px;box-shadow:0 4px 18px rgba(28,70,40,.04);margin-bottom:18px}
.dcerp-import-card h2{margin:0 0 8px;color:#254a31;font-size:19px}
.dcerp-import-card p{color:#66766c;font-size:13px}
.dcerp-import-card form label{display:flex;flex-direction:column;gap:7px;margin:14px 0;color:#2d4936}
.dcerp-import-card input[type=file],.dcerp-import-card select,.dcerp-import-card textarea{width:100%;box-sizing:border-box}
.dcerp-import-card select{min-height:40px}
.dcerp-import-card textarea{min-height:240px;border:1px solid #d5e0d7;border-radius:9px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.5}
.dcerp-import-card textarea:focus,.dcerp-import-card select:focus{border-color:#78b51b;box-shadow:0 0 0 2px rgba(120,181,27,.12);outline:0}
.dcerp-import-or{text-align:center;color:#8a968e;font-size:12px;margin:10px 0}
.dcerp-import-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;background:#f8fbf8;border:1px solid #e3ebe4;border-radius:9px;padding:11px!important}
.dcerp-import-check input{margin-top:3px}
.dcerp-import-check span{display:flex;flex-direction:column;gap:2px}.dcerp-import-check small{color:#758278}
.dcerp-import-schema{overflow:hidden}.dcerp-schema-table{overflow:auto;max-height:520px}.dcerp-schema-table table{min-width:800px}.dcerp-schema-table td code{display:block;margin-top:4px;color:#6c7c72}.dcerp-import-code{background:#f4f8f4;border:1px solid #e0e8e1;border-radius:8px;padding:12px;overflow:auto;font-size:12px}
@media(max-width:900px){.dcerp-import-grid{grid-template-columns:1fr}.dcerp-import-page{margin-right:10px}.dcerp-import-header{align-items:flex-start}.dcerp-import-header img{width:72px;height:64px}}
@media(max-width:600px){.dcerp-import-header{padding:17px}.dcerp-import-header h1{font-size:24px}.dcerp-import-header img{display:none}.dcerp-import-card{padding:15px}}

/* V4.4.0 — motor de precios y calendario de Sevilla */
.dcerp-price-preview{margin:14px 0;padding:18px 20px;border:1px solid #dfe8dc;border-radius:12px;background:#f7fbf4}.dcerp-price-preview-total{font-size:28px;font-weight:800;color:#16783a;margin:4px 0}.dcerp-price-preview-total del{font-size:14px;color:#8a958d;font-weight:500;margin-left:8px}.dcerp-price-preview small{color:#64746a}.dcerp-manager-price-box{margin:15px 0;padding:15px;border:1px solid #d9e9cf;border-radius:12px;background:#fbfff8}.dcerp-manager-price-box legend{font-weight:800;color:#176b34;padding:0 7px}.dcerp-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dcerp-pricing-manager-intro{padding:18px 20px;background:#f3f8ef;border-left:4px solid #8fd000;border-radius:10px;margin:0 0 18px}.dcerp-pricing-manager-intro p{margin:6px 0 0;color:#52645a}.dcerp-season-manager{margin-top:28px}.dcerp-season-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:15px}.dcerp-season-head h2{margin:0}.dcerp-season-head p{margin:4px 0 0;color:#69786e}.dcerp-season-head form{display:flex;gap:8px;align-items:end}.dcerp-season-head form label{margin:0}.dcerp-season-head input{width:100px}.dcerp-season-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.dcerp-season-card{background:#fff;border:1px solid #e0e8dd;border-radius:13px;padding:17px;box-shadow:0 2px 10px rgba(30,70,35,.04)}.dcerp-season-card-top{display:flex;justify-content:space-between;gap:12px}.dcerp-season-card h3{margin:5px 0 0;font-size:18px}.dcerp-season-pill{font-size:10px;text-transform:uppercase;letter-spacing:.8px;background:#edf7df;color:#387229;border-radius:20px;padding:4px 8px}.dcerp-season-card>p{color:#176b34}.dcerp-season-rates{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.dcerp-season-rates span{font-size:11px;padding:8px;border-radius:8px;background:#f7f9f6}.dcerp-season-rates b{display:block;font-size:10px;color:#6c7a71}.dcerp-season-override-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;padding-top:12px;border-top:1px solid #edf0eb}.dcerp-season-override-form label{font-size:11px;color:#5f6e65}.dcerp-season-override-form input{display:block;width:100%;margin-top:4px}.dcerp-season-new{margin-top:16px;background:#fff;border:1px solid #e0e8dd;border-radius:13px;padding:14px 17px}.dcerp-season-new summary{cursor:pointer;font-weight:800;color:#176b34}.dcerp-season-new .dcerp-form{margin-top:15px}.dcerp-season-fixed-fields,.dcerp-season-offset-fields,.dcerp-season-rate-inputs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.dcerp-season-offset-fields{grid-template-columns:1fr 1fr}.dcerp-calendar-season{margin:0 0 12px;padding:12px 15px;border-radius:10px;background:#f0f8e8;border:1px solid #d7eac8;color:#286b35}.dcerp-calendar-season strong{display:block}.dcerp-calendar-season span{font-size:12px;color:#617265}@media(max-width:800px){.dcerp-season-grid{grid-template-columns:1fr}.dcerp-season-rates{grid-template-columns:repeat(2,1fr)}.dcerp-season-override-form{grid-template-columns:1fr 1fr}.dcerp-season-override-form .button{grid-column:1/-1}.dcerp-season-fixed-fields,.dcerp-season-rate-inputs{grid-template-columns:1fr 1fr}.dcerp-season-head{align-items:stretch;flex-direction:column}.dcerp-inline-fields{grid-template-columns:1fr}}
.dcerp-season-edit-form{margin:12px 0;padding:12px;border-radius:10px;background:#f8fbf7;border:1px solid #e8eee5}.dcerp-season-edit-form>label{display:block;margin-bottom:8px}.dcerp-season-edit-form .dcerp-season-rate-inputs{margin:8px 0}.dcerp-season-edit-form>label:not(:first-child){display:inline-block;width:48%;vertical-align:top}.dcerp-season-edit-form .button{margin-top:5px}
.dcerp-season-edit-form{margin:12px 0;padding:12px;border-radius:10px;background:#f8fbf7;border:1px solid #e8eee5}.dcerp-season-edit-form>label{display:block;margin-bottom:8px}.dcerp-season-edit-form .dcerp-season-rate-inputs{margin:8px 0}.dcerp-season-edit-form>label:not(:first-child){display:inline-block;width:48%;vertical-align:top}.dcerp-season-edit-form .button{margin-top:5px}
.dcerp-season-edit-form{margin:12px 0;padding:12px;border-radius:10px;background:#f8fbf7;border:1px solid #e8eee5}.dcerp-season-edit-form>label{display:block;margin-bottom:8px}.dcerp-season-edit-form .dcerp-season-rate-inputs{margin:8px 0}.dcerp-season-edit-form>label:not(:first-child){display:inline-block;width:48%;vertical-align:top}.dcerp-season-edit-form .button{margin-top:5px}

.dcerp-holiday-override{grid-template-columns:1fr auto}.dcerp-holiday-override textarea{display:block;width:100%;margin-top:4px;min-height:70px}.dcerp-holiday-override label{font-size:11px;color:#5f6e65}@media(max-width:800px){.dcerp-holiday-override{grid-template-columns:1fr}}


/* V4.4.9 — Ajuste final del portal frontend y Auditoría.
   La barra lateral queda fija y el contenido ocupa correctamente el espacio restante.
   La zona inferior de Auditoría usa dos columnas equilibradas y se adapta a tablet/móvil. */
html.dcerp-osasis-frontend-page{overflow-x:hidden!important}
html.dcerp-osasis-frontend-page .dcerp-os-app{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr)!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-sidebar{
  width:260px!important;
  min-width:260px!important;
  max-width:260px!important;
  position:sticky!important;
  top:0!important;
  height:100vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  flex-shrink:0!important;
  z-index:100!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-workspace{min-width:0!important;width:100%!important;max-width:none!important}
html.dcerp-osasis-frontend-page .dcerp-os-main{min-width:0!important;width:100%!important;max-width:none!important;padding:0 30px 42px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page{width:100%!important;max-width:1400px!important;margin:0 auto!important;padding-top:20px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
  width:100%!important;
  margin:0 0 18px!important;
}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid>.dcerp-os-v38-panel{
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  height:100%!important;
}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-report-box{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0 0 18px!important;
}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list{
  width:100%!important;
  box-sizing:border-box!important;
  padding:4px 16px 8px!important;
}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list>div{
  min-height:42px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:15px!important;
}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list span{white-space:nowrap!important;text-align:right!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap table{width:100%!important;min-width:620px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-section-title{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:20px!important;margin-bottom:16px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-section-title>div{min-width:0!important}
@media(max-width:1100px){
  html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:230px minmax(0,1fr)!important}
  html.dcerp-osasis-frontend-page .dcerp-os-sidebar{width:230px!important;min-width:230px!important;max-width:230px!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main{padding-left:20px!important;padding-right:20px!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:1fr!important}
  html.dcerp-osasis-frontend-page .dcerp-os-sidebar{position:fixed!important;left:-270px!important;top:0!important;width:260px!important;min-width:260px!important;max-width:260px!important}
  html.dcerp-osasis-frontend-page .dcerp-os-app.menu-open .dcerp-os-sidebar{left:0!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main{padding-left:16px!important;padding-right:16px!important}
}
@media(max-width:600px){
  html.dcerp-osasis-frontend-page .dcerp-audit-page{padding-top:12px!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-section-title{display:block!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-section-title>strong{display:inline-block!important;margin-top:8px!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{grid-template-columns:1fr!important;gap:12px!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list>div{grid-template-columns:1fr!important;gap:3px!important;align-items:start!important}
  html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list span{text-align:left!important}
}


/* V4.5.0 — Auditoría: ranking de clientes y ajuste de paneles frontend. */
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{align-items:start!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid>.dcerp-os-v38-panel{height:auto!important;align-self:start!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list{max-height:520px!important;overflow-y:auto!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-custom-ranking{margin:0 0 18px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-custom-ranking .dcerp-os-v38-panel-head{padding-bottom:13px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap table{table-layout:auto!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap th,html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap td{vertical-align:middle!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-phone{color:#176c39!important;text-decoration:none!important;font-weight:800!important;white-space:nowrap!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-phone:hover{text-decoration:underline!important;color:#0b5d2e!important}
html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:280px minmax(0,1fr)!important}
html.dcerp-osasis-frontend-page .dcerp-os-sidebar{width:280px!important;min-width:280px!important;max-width:280px!important}
@media(max-width:1100px){html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:240px minmax(0,1fr)!important}html.dcerp-osasis-frontend-page .dcerp-os-sidebar{width:240px!important;min-width:240px!important;max-width:240px!important}}
@media(max-width:900px){html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:1fr!important}html.dcerp-osasis-frontend-page .dcerp-os-sidebar{width:260px!important;min-width:260px!important;max-width:260px!important}}


/* V4.5.1 — Auditoría frontend: estructura y responsive definitivos. */
html.dcerp-osasis-frontend-page body{margin:0!important;padding:0!important;overflow-x:hidden!important}
html.dcerp-osasis-frontend-page .dcerp-osasis-page-root{width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
html.dcerp-osasis-frontend-page .dcerp-os-app{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
html.dcerp-osasis-frontend-page .dcerp-os-sidebar{display:flex!important;width:260px!important;min-width:260px!important;max-width:260px!important;position:sticky!important;top:0!important;height:100vh!important;align-self:start!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:100!important}
html.dcerp-osasis-frontend-page .dcerp-os-workspace{min-width:0!important;width:100%!important;max-width:none!important;overflow:visible!important}
html.dcerp-osasis-frontend-page .dcerp-os-main{min-width:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:0 28px 40px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px 0 35px!important;box-sizing:border-box!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-report-box{width:100%!important;box-sizing:border-box!important;margin:0 0 16px!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:16px!important;align-items:start!important;width:100%!important;margin:0!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid>.dcerp-os-v38-panel{width:100%!important;min-width:0!important;height:auto!important;align-self:start!important;margin:0!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-log-list{max-height:430px!important;overflow-y:auto!important;box-sizing:border-box!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;box-sizing:border-box!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap table{width:100%!important;min-width:0!important;table-layout:auto!important}
html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap th,html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-table-wrap td{white-space:nowrap!important}
@media(max-width:1100px){
 html.dcerp-osasis-frontend-page .dcerp-os-app{grid-template-columns:235px minmax(0,1fr)!important}
 html.dcerp-osasis-frontend-page .dcerp-os-sidebar{width:235px!important;min-width:235px!important;max-width:235px!important}
 html.dcerp-osasis-frontend-page .dcerp-os-main{padding-left:18px!important;padding-right:18px!important}
 html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{grid-template-columns:1fr!important}
}
@media(max-width:900px){
 html.dcerp-osasis-frontend-page .dcerp-os-app{display:block!important}
 html.dcerp-osasis-frontend-page .dcerp-os-sidebar{display:flex!important;position:fixed!important;left:-270px!important;top:0!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:100vh!important;transition:left .2s ease!important}
 html.dcerp-osasis-frontend-page .dcerp-os-app.menu-open .dcerp-os-sidebar{left:0!important}
 html.dcerp-osasis-frontend-page .dcerp-os-main{padding-left:14px!important;padding-right:14px!important}
}
@media(max-width:600px){
 html.dcerp-osasis-frontend-page .dcerp-audit-page{padding-top:12px!important}
 html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-grid{grid-template-columns:1fr!important;gap:12px!important}
 html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-report-box{display:block!important}
 html.dcerp-osasis-frontend-page .dcerp-audit-page .dcerp-audit-report-box form{margin-top:12px!important}
}


/* V4.5.4 — Auditoría simplificada y botones uniformes */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row{
  display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:wrap!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row label{
  display:flex!important;flex-direction:column!important;gap:6px!important;min-width:210px!important;margin:0!important;
  font-size:11px!important;font-weight:800!important;color:#4f6258!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row select{
  min-height:42px!important;width:100%!important;border:1px solid #d5e1d6!important;border-radius:9px!important;
  background:#fff!important;padding:7px 11px!important;color:#244232!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row .dcerp-audit-update{
  min-height:42px!important;padding:0 18px!important;border-radius:9px!important;white-space:nowrap!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced{
  margin-top:12px!important;border:1px solid #e2e9e3!important;border-radius:11px!important;background:#fbfdfb!important;overflow:hidden!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary{
  cursor:pointer!important;list-style:none!important;padding:12px 14px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;
  font-size:11px!important;font-weight:800!important;color:#234b31!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary::-webkit-details-marker{display:none!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary:after{content:'+'!important;font-size:18px!important;color:#6b8271!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced[open] summary:after{content:'−'!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary small{font-size:10px!important;font-weight:600!important;color:#7a887f!important;margin-left:auto!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced-inner{padding:0 14px 14px!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-filter-row{align-items:flex-end!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-filter-row label{min-width:150px!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-advanced-update{min-height:40px!important;border-radius:9px!important;padding:0 15px!important;white-space:nowrap!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-page .dcerp-audit-grid{align-items:start!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-page .dcerp-audit-grid>.dcerp-os-v38-panel{height:auto!important}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-page .dcerp-audit-custom-ranking{margin-top:15px!important}
/* Botones de guardado/acción con tamaño y alineación homogéneos. */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form .button,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form button.button,
html.dcerp-osasis-frontend-page .dcerp-os-main form .button-primary,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-season-override-form .button,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-season-edit-form .button{
  min-height:40px!important;height:40px!important;padding:0 16px!important;border-radius:9px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;
  font-size:11px!important;font-weight:800!important;line-height:1!important;box-sizing:border-box!important;
  margin:0!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form .dcerp-response,
html.dcerp-osasis-frontend-page .dcerp-os-main form .dcerp-response{margin-left:8px!important;vertical-align:middle!important}
@media(max-width:700px){
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row label{min-width:0!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-simple-row .dcerp-audit-update{width:100%!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary{align-items:flex-start!important;flex-wrap:wrap!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced summary small{width:calc(100% - 25px)!important;margin-left:0!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-filter-row{display:grid!important;grid-template-columns:1fr!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-filter-row label{min-width:0!important}
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-audit-advanced .dcerp-audit-advanced-update{width:100%!important}
}

/* Acciones destructivas/cancelación: rojo suave y cómodo para la vista */
.dcerp-btn-danger{
  background:#fde8e8!important;
  border:1px solid #e9a8a8!important;
  color:#a63d3d!important;
  box-shadow:none!important;
}
.dcerp-btn-danger:hover,
.dcerp-btn-danger:focus{
  background:#f8d6d6!important;
  border-color:#d98d8d!important;
  color:#8f3030!important;
}

/* V4.5.8 */
.dcerp-shopping-add{width:auto!important;min-width:145px!important;max-width:180px!important;height:40px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}.dcerp-shopping-cost{display:flex;align-items:center;gap:6px;min-width:150px}.dcerp-shopping-paid{width:82px!important;min-width:82px!important;height:34px!important;padding:0 7px!important}.dcerp-shopping-total{margin:14px 0;padding:13px 16px;border:1px solid #e0e7e1;border-radius:11px;background:#f7faf7;color:#34513f}.dcerp-shopping-total strong{color:#183c28}

/* V4.5.9 — portes */
.dcerp-transport-box{margin:16px 0;padding:18px;border:1px solid #dfe8e1;border-radius:14px;background:#f8fbf8}
.dcerp-transport-box legend{padding:0 8px;font-weight:800;color:#214c32}
.dcerp-transport-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;font-weight:700;margin-bottom:10px}
.dcerp-transport-toggle input{width:18px!important;height:18px!important;margin:0!important}
.dcerp-transport-options{display:grid;grid-template-columns:minmax(220px,360px) minmax(220px,1fr);gap:14px;align-items:end}
.dcerp-transport-preview{min-height:64px;padding:11px 14px;border:1px solid #dbe7de;border-radius:11px;background:#fff;display:flex;flex-direction:column;justify-content:center}
.dcerp-transport-preview strong{font-size:16px;color:#214c32}
.dcerp-transport-preview small{margin-top:3px;color:#66756b}
.dcerp-transport-rate-card{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:18px 0;padding:18px 20px;border:1px solid #dfe8e1;border-radius:14px;background:#f8fbf8}
.dcerp-transport-rate-card p{margin:5px 0 0;color:#617067}
.dcerp-inline-form{display:flex;align-items:end;gap:10px;flex:0 0 auto}
.dcerp-inline-form label{margin:0!important;min-width:110px}
.dcerp-inline-form input{height:40px!important}
@media(max-width:700px){.dcerp-transport-options,.dcerp-transport-rate-card{grid-template-columns:1fr;display:grid}.dcerp-inline-form{flex-wrap:wrap}.dcerp-transport-rate-card .dcerp-inline-form{width:100%}}

.dcerp-transport-candidates{margin-top:6px}.dcerp-transport-candidate-title{font-size:12px;font-weight:700;margin:6px 0}.dcerp-transport-candidate-list{display:grid;gap:5px}.dcerp-transport-candidate{display:block;width:100%;text-align:left;background:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:8px 10px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05)}.dcerp-transport-candidate:hover{border-color:#8aaa8a;background:#f5faf5}.dcerp-transport-candidates small{display:block;color:#666}


/* V5.1.1 — Responsive global admin/frontend */
.dcerp-osasis-admin,.dcerp-osasis-admin *,.dcerp-osasis-frontend-page .dcerp-os-app *{box-sizing:border-box}
.dcerp-osasis-admin img,.dcerp-osasis-admin iframe,.dcerp-osasis-admin video{max-width:100%;height:auto}
.dcerp-osasis-admin input,.dcerp-osasis-admin select,.dcerp-osasis-admin textarea{max-width:100%;min-width:0}
@media(max-width:900px){
 .dcerp-osasis-admin .dcerp-list-toolbar,.dcerp-osasis-admin .dcerp-owner-search,.dcerp-osasis-admin .dcerp-form-actions{flex-wrap:wrap!important}
 .dcerp-osasis-admin .dcerp-table-wrap{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .dcerp-osasis-admin .dcerp-table-wrap table{min-width:720px}
}
@media(max-width:700px){
 .dcerp-osasis-admin .dcerp-list-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 .dcerp-osasis-admin .dcerp-list-search{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:none!important}
 .dcerp-osasis-admin .dcerp-list-search .button,.dcerp-osasis-admin .dcerp-list-toolbar>.button{width:100%!important}
 .dcerp-osasis-admin .dcerp-form{grid-template-columns:1fr!important}
 .dcerp-osasis-admin .dcerp-form-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
 .dcerp-osasis-admin .dcerp-form-actions .button,.dcerp-osasis-admin .dcerp-form-actions button{width:100%!important;min-width:0!important}
 .dcerp-osasis-admin .dcerp-form-actions .dcerp-response{grid-column:1/-1!important}
}
@media(max-width:420px){
 .dcerp-osasis-admin .dcerp-form-actions{grid-template-columns:1fr!important}
 .dcerp-osasis-admin .dcerp-table-wrap table{min-width:650px}
}
/* V5.1.3 — restricciones por estancia y organizador */
.dcerp-stay-restrictions{border:1px solid #dbe3ea;border-radius:14px;padding:16px;margin:6px 0 16px;background:#f8fafc}
.dcerp-stay-restrictions legend{font-weight:800;padding:0 6px}
.dcerp-restriction-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:8px}
.dcerp-restriction-checks label{display:flex;flex-direction:column;gap:5px;border:1px solid #dbe3ea;border-radius:12px;padding:12px;background:#fff;cursor:pointer}
.dcerp-restriction-checks label input{width:18px;height:18px;margin:0 0 2px}
.dcerp-restriction-checks label small,.dcerp-restrictions-note{font-size:12px;color:#64748b}
.dcerp-group-restrictions{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.dcerp-group-restriction{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;background:#fff3cd;color:#7a5600;border:1px solid #f1d98b;line-height:1.2}
.dcerp-group-restriction.dcerp-restriction-alone{background:#ffe4e6;color:#9f1239;border-color:#fda4af}
@media(max-width:700px){.dcerp-restriction-checks{grid-template-columns:1fr}}

/* V5.1.4 — acciones de tablas sin solapes en pantallas estrechas */
@media(max-width:782px){
  .dcerp-table-wrap{overflow-x:auto!important;width:100%!important}
  .dcerp-table-wrap table{min-width:860px!important;width:max-content!important;table-layout:auto!important}
  .dcerp-table-wrap td:last-child{min-width:190px!important;width:190px!important;white-space:normal!important;vertical-align:top!important;padding:10px!important}
  .dcerp-table-wrap td:last-child .button,.dcerp-table-wrap td:last-child button.button,.dcerp-table-wrap td:last-child a.button{display:flex!important;width:100%!important;max-width:100%!important;min-height:38px!important;margin:0 0 6px!important;align-items:center!important;justify-content:center!important;white-space:normal!important;text-align:center!important;line-height:1.2!important}
}
.dcerp-file-field{border:1px solid #dcdcde;border-radius:10px;padding:16px;margin:10px 0;background:#f8f9fa}.dcerp-file-field strong{display:block;margin-bottom:4px}.dcerp-file-field p{margin:0 0 10px;color:#646970}.dcerp-current-file{display:flex;gap:8px;align-items:center;padding:8px;background:#fff;border:1px solid #dcdcde;border-radius:7px}.dcerp-current-file-empty{color:#646970}

/* V5.1.4 — archivo de contrato firmado */
.dcerp-file-field{border:1px solid #dcdcde;border-radius:10px;padding:16px;margin:10px 0;background:#f8f9fa}.dcerp-file-field strong{display:block;margin-bottom:4px}.dcerp-file-field p{margin:0 0 10px;color:#646970}.dcerp-current-file{display:flex;gap:8px;align-items:center;padding:8px;background:#fff;border:1px solid #dcdcde;border-radius:7px}.dcerp-current-file-empty{color:#646970}

/* V5.1.4b — columna Acciones fija en móvil */
@media(max-width:782px){
  .dcerp-table-wrap th:last-child,.dcerp-table-wrap td:last-child{position:sticky!important;right:0!important;z-index:3!important;background:#fff!important;box-shadow:-6px 0 10px rgba(0,0,0,.07)!important}
  .dcerp-table-wrap th:last-child{z-index:4!important;background:#f6f8f6!important}
}

/* V5.1.7 — organizador por grupos y bloques */
.dcerp-groups-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:0 0 14px}.dcerp-groups-summary>div{background:#fff;border:1px solid #dbe6de;border-radius:12px;padding:10px 12px}.dcerp-groups-summary strong{display:block;font-size:20px;color:#173b2a}.dcerp-groups-summary span{font-size:11px;color:#68766e}.dcerp-groups-summary .is-danger strong{color:#b42318}.dcerp-group-head-actions,.dcerp-block-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.dcerp-group-blocks{padding:10px;display:flex;flex-direction:column;gap:10px}.dcerp-group-block{background:#eef5ef;border:1px solid #cfddd2;border-radius:12px;overflow:hidden;transition:.15s}.dcerp-group-block.is-over{border-color:#2e8b57;box-shadow:0 0 0 3px rgba(46,139,87,.12)}.dcerp-block-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;background:#fafffb;border-bottom:1px solid #dce8df}.dcerp-block-name{width:130px;max-width:100%;border:0;background:transparent;font-size:13px;font-weight:800;color:#254936;padding:3px 5px;border-radius:6px}.dcerp-block-name:focus{outline:2px solid #b8dfc4}.dcerp-block-head small{display:block;color:#738078;font-size:10px;margin-top:2px}.dcerp-block-dropzone{min-height:72px;padding:8px;display:flex;flex-direction:column;gap:7px}.dcerp-block-empty,.dcerp-block-empty-help{border:1px dashed #cbd8ce;border-radius:9px;padding:12px 8px;text-align:center;color:#7a857e;font-size:11px;background:#fbfdfb}.dcerp-block-empty-help{margin:10px}.dcerp-block-actions .button,.dcerp-group-head-actions .button{font-size:10px!important;padding:6px 8px!important;min-height:30px}.dcerp-group-block .dcerp-group-animal{padding:8px}.dcerp-group-block .dcerp-group-animal-main strong{font-size:13px}.dcerp-group-block .dcerp-group-animal-main>span{font-size:11px}.dcerp-group-block .dcerp-group-move{display:inline-flex!important}.dcerp-group-unassigned.is-over{border-color:#2e8b57;box-shadow:0 0 0 3px rgba(46,139,87,.1)}
@media(max-width:700px){.dcerp-groups-summary{grid-template-columns:repeat(2,1fr)}.dcerp-group-head-actions,.dcerp-block-actions{width:100%;justify-content:flex-start}.dcerp-group-head,.dcerp-block-head{align-items:flex-start;flex-direction:column}.dcerp-group-head-actions .button,.dcerp-block-actions .button{flex:1;min-width:0}.dcerp-block-name,.dcerp-group-name{width:100%}}
@media(max-width:420px){.dcerp-groups-summary{gap:7px}.dcerp-groups-summary>div{padding:8px}.dcerp-groups-summary strong{font-size:17px}.dcerp-group-animal{align-items:flex-start}.dcerp-group-animal .dcerp-group-move{min-width:54px}}

/* V5.1.7 — panel operativo y accesos rápidos */
.dcerp-today-ops{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #dfe8e1;border-radius:14px;padding:13px 15px;margin:0 0 14px;box-shadow:0 2px 8px rgba(25,70,40,.04)}.dcerp-today-ops>div:first-child strong,.dcerp-today-ops>div:first-child span{display:block}.dcerp-today-ops>div:first-child strong{font-size:13px;color:#173b27}.dcerp-today-ops>div:first-child span{font-size:10px;color:#78847c;margin-top:3px}.dcerp-today-ops-items{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.dcerp-today-ops-items span{padding:6px 9px;border-radius:999px;background:#f7faf7;border:1px solid #e0e8e1;color:#56665c;font-size:10px;white-space:nowrap}.dcerp-today-ops-items b{color:#173b27}.dcerp-quick-actions{background:#fff;border:1px solid #dfe8e1;border-radius:14px;padding:13px 15px;margin:0 0 14px;box-shadow:0 2px 8px rgba(25,70,40,.04)}.dcerp-quick-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:10px}.dcerp-quick-title strong{font-size:13px;color:#173b27}.dcerp-quick-title span{font-size:10px;color:#7b867f}.dcerp-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.dcerp-quick-grid a{display:grid;grid-template-columns:25px minmax(0,1fr) 12px;align-items:center;gap:6px;padding:9px 8px;border:1px solid #e2e9e3;border-radius:9px;background:#fbfdfb;text-decoration:none;color:#274333}.dcerp-quick-grid a:hover{border-color:#b9cfbd;background:#f5faf5}.dcerp-quick-grid a span{font-size:16px;text-align:center}.dcerp-quick-grid a strong{font-size:9px;line-height:1.2}.dcerp-quick-grid a b{font-size:12px;color:#9ba69f;text-align:right}@media(max-width:900px){.dcerp-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.dcerp-today-ops{align-items:flex-start;flex-direction:column}.dcerp-today-ops-items{justify-content:flex-start}.dcerp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.dcerp-quick-grid{grid-template-columns:1fr}.dcerp-today-ops-items{display:grid;grid-template-columns:1fr;width:100%}.dcerp-today-ops-items span{text-align:left}}

/* V5.1.8 */
.dcerp-filter-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;border:1px solid #dce7df;border-radius:12px;background:#f7fbf8}.dcerp-filter-banner span{color:#5f6f65;font-size:13px}.dcerp-filter-banner a{margin-left:auto}.dcerp-calendar-total{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px;padding:16px 18px;border:1px solid #d8e5dc;border-radius:14px;background:#f7fbf8}.dcerp-calendar-total span{font-weight:800;color:#244533}.dcerp-calendar-total strong{font-size:22px;color:#157a3d}.dcerp-calendar-total em{font-style:normal;margin-left:auto;font-weight:700;color:#53645a}.dcerp-signed-contract-detail{grid-column:1/-1}.dcerp-contract-upload input[type=file]{display:block;width:100%;margin-top:10px}.dcerp-contract-upload{background:#f7fbf8!important;border-color:#d5e5da!important}@media(max-width:700px){.dcerp-filter-banner{align-items:flex-start}.dcerp-filter-banner a{margin-left:0}.dcerp-calendar-total{display:grid;grid-template-columns:1fr auto}.dcerp-calendar-total em{grid-column:1/-1;margin-left:0}}

/* V5.2.0 — Servicios integrados en Estancias */
.dcerp-stay-services-box{margin:18px 0;padding:18px;border:1px solid #dfe8e1;border-radius:16px;background:#fbfdfb}
.dcerp-stay-services-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.dcerp-stay-services-head h3{margin:0 0 5px;color:#183c28;font-size:17px}.dcerp-stay-services-head p{margin:0;color:#647268;font-size:13px;max-width:760px}
.dcerp-stay-services-list{display:grid;gap:10px}.dcerp-stay-service-row{display:grid;grid-template-columns:minmax(170px,1.25fr) minmax(150px,1fr) 90px 105px minmax(150px,1fr) 105px 42px;gap:8px;align-items:center;padding:10px;background:#fff;border:1px solid #e2e9e3;border-radius:12px}
.dcerp-stay-service-row input,.dcerp-stay-service-row select{min-width:0}.dcerp-stay-service-line-total{font-weight:700;color:#183c28;text-align:right;white-space:nowrap}.dcerp-stay-services-summary,.dcerp-stay-services-detail-total{display:flex;justify-content:flex-end;gap:18px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e1e8e2;color:#53645a}.dcerp-stay-services-summary strong,.dcerp-stay-services-detail-total strong{font-size:17px;color:#183c28}
.dcerp-stay-services-detail-list{display:grid;gap:8px}.dcerp-stay-service-detail-row{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;padding:10px 12px;border:1px solid #e4eae5;border-radius:10px;background:#fbfdfb}.dcerp-stay-service-detail-row small{display:block;color:#6d786f;margin-top:3px}
@media(max-width:900px){.dcerp-stay-service-row{grid-template-columns:1fr 1fr}.dcerp-stay-service-line-total{text-align:left}.dcerp-stay-services-head{align-items:flex-start;flex-direction:column}.dcerp-stay-service-detail-row{grid-template-columns:1fr auto}}
@media(max-width:560px){.dcerp-stay-service-row{grid-template-columns:1fr}.dcerp-stay-service-row .dcerp-remove-stay-service{width:100%}.dcerp-stay-services-summary{justify-content:space-between}}

/* V5.4.22 — normalización global de botones del ERP.
   Todos los botones deben tener una altura, relleno y alineación coherentes,
   evitando tamaños distintos según el CSS de WordPress o del navegador. */
html.dcerp-osasis-frontend-page .dcerp-os-main .button,
html.dcerp-osasis-frontend-page .dcerp-os-main button.button,
html.dcerp-osasis-frontend-page .dcerp-os-main a.button,
html.dcerp-osasis-frontend-page .dcerp-os-main input[type="submit"],
html.dcerp-osasis-frontend-page .dcerp-os-main input[type="button"],
.dcerp-osasis-admin .dcerp-admin-main .button,
.dcerp-osasis-admin .dcerp-admin-main button.button,
.dcerp-osasis-admin .dcerp-admin-main a.button,
.dcerp-osasis-admin .dcerp-admin-main input[type="submit"],
.dcerp-osasis-admin .dcerp-admin-main input[type="button"]{
  box-sizing:border-box!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 14px!important;
  margin:0!important;
  border-radius:8px!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  cursor:pointer!important;
}

/* Botones pequeños de tablas y acciones compactas. */
html.dcerp-osasis-frontend-page .dcerp-os-main .button-small,
html.dcerp-osasis-frontend-page .dcerp-os-main button.button-small,
html.dcerp-osasis-frontend-page .dcerp-os-main a.button-small,
.dcerp-osasis-admin .dcerp-admin-main .button-small,
.dcerp-osasis-admin .dcerp-admin-main button.button-small,
.dcerp-osasis-admin .dcerp-admin-main a.button-small{
  min-height:34px!important;
  height:34px!important;
  padding:0 11px!important;
  font-size:13px!important;
  border-radius:7px!important;
}

/* Acciones peligrosas y acciones especiales conservan el mismo tamaño. */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-btn-danger,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-btn-green,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-btn-orange,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-finish-stay,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-resolve-incident,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-btn-danger,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-btn-green,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-btn-orange{
  min-height:40px!important;
  height:40px!important;
}
html.dcerp-osasis-frontend-page .dcerp-os-main .button-small.dcerp-btn-danger,
html.dcerp-osasis-frontend-page .dcerp-os-main .button-small.dcerp-btn-green,
html.dcerp-osasis-frontend-page .dcerp-os-main .button-small.dcerp-btn-orange,
html.dcerp-osasis-frontend-page .dcerp-os-main .button-small.dcerp-finish-stay,
.dcerp-osasis-admin .dcerp-admin-main .button-small.dcerp-btn-danger,
.dcerp-osasis-admin .dcerp-admin-main .button-small.dcerp-btn-green,
.dcerp-osasis-admin .dcerp-admin-main .button-small.dcerp-btn-orange{
  min-height:34px!important;
  height:34px!important;
}

/* Barras de acciones: separación homogénea y sin botones pegados. */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form-actions,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-list-toolbar,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-stay-detail-actions,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-stay-services-head,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-form-actions,
.dcerp-osasis-admin .dcerp-admin-main .dcerp-list-toolbar{
  gap:10px!important;
}

html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-approval-actions button{
  min-height:40px!important;
  height:40px!important;
  padding:0 14px!important;
}

/* Botones de icono o quitar elemento no deben heredar el tamaño normal. */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-remove-stay-service,
html.dcerp-osasis-frontend-page .dcerp-os-main button[aria-label="Quitar servicio"]{
  min-width:40px!important;
  width:40px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0!important;
  font-size:20px!important;
}

/* Formularios en una sola línea: el botón no se estira ni se encoge. */
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-grid-form button,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-list-search button,
html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-days-form .dcerp-primary{
  width:auto!important;
  flex:0 0 auto!important;
}

@media(max-width:700px){
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form-actions,
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-list-toolbar,
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-stay-detail-actions{
    display:flex!important;
    flex-wrap:wrap!important;
  }
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form-actions .button,
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-form-actions button,
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-stay-detail-actions .button,
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-stay-detail-actions button{
    flex:0 1 auto!important;
    max-width:100%!important;
  }
  html.dcerp-osasis-frontend-page .dcerp-os-main .dcerp-approval-actions{
    display:flex!important;
    gap:8px!important;
  }
}

@media(max-width:430px){
  html.dcerp-osasis-frontend-page .dcerp-os-main .button,
  html.dcerp-osasis-frontend-page .dcerp-os-main button.button,
  html.dcerp-osasis-frontend-page .dcerp-os-main a.button{
    min-height:40px!important;
    height:40px!important;
    padding:0 12px!important;
    font-size:13px!important;
  }
  html.dcerp-osasis-frontend-page .dcerp-os-main .button-small,
  html.dcerp-osasis-frontend-page .dcerp-os-main button.button-small,
  html.dcerp-osasis-frontend-page .dcerp-os-main a.button-small{
    min-height:36px!important;
    height:36px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
}
.dcerp-tracking-card-head{position:relative}.dcerp-tracking-card-head:before{content:'🐾';font-size:30px;line-height:1;position:absolute;right:12px;top:10px;filter:saturate(.8)}
.dcerp-observaciones-inline{margin:0 0 18px 0;border-top:0;border-radius:0 0 12px 12px;background:#fffdf8}.dcerp-observaciones-inline strong{display:block;color:#a84625;margin-bottom:6px}.dcerp-observaciones-inline textarea{width:100%;min-height:70px}

/* Resumen individual: nunca suma cobros de distintas estancias. */
.dcerp-payment-summary{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.dcerp-payment-summary>span{padding:16px;border:1px solid #d5e5d8;border-radius:12px;background:#f5faf5;flex:1;min-width:180px}.dcerp-payment-summary strong{display:block;font-size:1.35em;margin-top:8px}
