/* PACSEMAMA CRM 360 · Design tokens scoped to the shortcode portal. */
.pmcrm{--olive:#4e533b;--moss:#3d4433;--sage:#9d9973;--ink:#303329;--ivory:#f5f3ea;--mist:#eceee5;--line:#dfe4da;--muted:#697166;--white:#fff;--danger:#a53f3c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--ink)!important;font-size:14px;line-height:1.5;box-sizing:border-box;width:100%;min-height:300px;background:#f7f8f5}
.pmcrm *,.pmcrm *:before,.pmcrm *:after{box-sizing:border-box}.pmcrm button,.pmcrm input,.pmcrm select,.pmcrm textarea{font:inherit}.pmcrm button{cursor:pointer}.pmcrm h1,.pmcrm h2,.pmcrm h3,.pmcrm h4,.pmcrm p{color:inherit!important;margin:0}.pmcrm h1{font-size:28px;font-weight:760;line-height:1.2}.pmcrm h2{font-size:20px;font-weight:730;line-height:1.3}.pmcrm h3{font-size:16px;font-weight:720;line-height:1.35}.pmcrm p{margin:0 0 10px}.pmcrm small{font-size:12px;color:var(--muted)}.pmcrm a{text-decoration:none}.pmcrm :focus-visible{outline:3px solid #a49e71;outline-offset:2px}.pmcrm-loading{min-height:260px;display:flex;justify-content:center;align-items:center;gap:12px;color:var(--olive)}.pmcrm-spinner{display:block;width:21px;height:21px;border:3px solid #ddd;border-top-color:var(--olive);border-radius:50%;animation:pmcrm-spin .8s linear infinite}@keyframes pmcrm-spin{to{transform:rotate(360deg)}}
.pmcrm-login-wrap{min-height:76vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eef0e9,#f9f7ef)}.pmcrm-login{max-width:430px;width:100%;padding:34px;border:1px solid #e3e6dc;background:var(--white);border-radius:22px;box-shadow:0 25px 70px #3b45301a}.pmcrm-login-brand{margin:-12px -12px 27px;padding:23px 12px;background:var(--ivory);border-radius:15px;display:flex;flex-direction:column;align-items:center;gap:0;color:var(--olive);letter-spacing:.11em}.pmcrm-mark{font-size:40px;line-height:1.1}.pmcrm-login-brand strong{font-size:23px;letter-spacing:.14em}.pmcrm-login-brand small{font-size:10px;letter-spacing:.19em}.pmcrm-login h2{text-align:center;margin-bottom:6px}.pmcrm-login>p{text-align:center;color:var(--muted)!important;margin-bottom:22px}.pmcrm-login-footer{display:block;text-align:center;margin-top:26px}.pmcrm-form-error{color:#a73332;min-height:25px;margin-top:10px}.pmcrm-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:var(--white)!important;color:var(--olive)!important;font-size:13px;font-weight:700;text-decoration:none!important;line-height:1.25;white-space:nowrap;transition:background .15s ease,transform .15s ease,border-color .15s}.pmcrm-btn:hover{background:#f1f3ed!important;transform:translateY(-1px)}.pmcrm-btn.pmcrm-primary{background:var(--olive)!important;border-color:var(--olive)!important;color:#fff!important}.pmcrm-btn.pmcrm-primary:hover{background:var(--moss)!important}.pmcrm-btn.pmcrm-secondary{background:var(--ivory)!important;color:var(--olive)!important}.pmcrm-btn.pmcrm-ghost{background:transparent!important;border-color:#d8ded6!important;color:var(--olive)!important}.pmcrm-btn:disabled{opacity:.5;cursor:wait}.pmcrm-btn.pmcrm-full{width:100%}.pmcrm-btn.pmcrm-sm{padding:6px 10px;font-size:12px}
.pmcrm-app{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:850px;background:#f7f8f5}.pmcrm-sidebar{background:var(--moss);color:#fff;display:flex;flex-direction:column;padding:23px 14px;gap:24px}.pmcrm-brand{padding:4px 10px 24px;display:flex;gap:12px;align-items:center;border-bottom:1px solid #fff2}.pmcrm-symbol{font-size:34px;color:#d8d2af}.pmcrm-brand strong{display:block;font-size:18px;letter-spacing:.12em;line-height:1.25;color:#fff}.pmcrm-brand small{display:block;color:#c6caaf;font-size:10px;letter-spacing:.18em}.pmcrm-sidebar nav{display:grid;gap:5px}.pmcrm-nav{width:100%;border:0!important;border-radius:10px!important;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;background:transparent!important;color:#e1e5d8!important;font-size:14px;font-weight:620;box-shadow:none!important}.pmcrm-nav span{width:22px;font-size:18px;text-align:center;color:#bcc4aa}.pmcrm-nav:hover,.pmcrm-nav.active{background:#ffffff1e!important;color:#fff!important}.pmcrm-nav.active{box-shadow:inset 3px 0 #cfc8a0!important}.pmcrm-side-foot{margin-top:auto;padding:16px 13px;border-top:1px solid #fff2}.pmcrm-side-foot small{color:#c3c9b7}.pmcrm-side-foot div{font-size:11px;color:#aab3a5}.pmcrm-main{min-width:0}.pmcrm-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 34px;background:#fff;border-bottom:1px solid #e4e8e0}.pmcrm-eyebrow{color:var(--sage);font-size:10px;font-weight:800;letter-spacing:.14em}.pmcrm-header h1{margin:4px 0 0!important}.pmcrm-header-actions{display:flex;gap:16px;align-items:center}.pmcrm-user{color:var(--moss);font-weight:750;display:flex;flex-direction:column;line-height:1.35}.pmcrm-user small{font-weight:500}.pmcrm-content{padding:30px 32px 42px;max-width:1750px;margin:0 auto;min-height:700px}.pmcrm-welcome{background:linear-gradient(115deg,#424c38,#606b4c);border-radius:17px;padding:30px 32px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.pmcrm-welcome h2{color:#fff!important;margin:3px 0 8px!important;font-size:23px}.pmcrm-welcome p{color:#eaede7!important}.pmcrm-welcome span{font-size:10px;letter-spacing:.13em;color:#d1d7bf}.pmcrm-welcome .pmcrm-primary{background:#fff!important;color:var(--olive)!important;border-color:#fff!important}.pmcrm-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.pmcrm-metric{min-height:124px;border:1px solid #e5e9e1;border-radius:14px;padding:20px 21px;background:#fff;box-shadow:0 5px 18px #41504407;display:flex;flex-direction:column;align-items:flex-start}.pmcrm-metric>span{font-size:12px;color:var(--muted);font-weight:620}.pmcrm-metric strong{font-size:29px;color:var(--moss);line-height:1.4;margin:3px 0;font-weight:780;overflow-wrap:anywhere}.pmcrm-metric small{font-size:11px}.pmcrm-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.pmcrm-panel{border:1px solid #e2e7de;border-radius:14px;padding:21px;background:#fff;min-width:0}.pmcrm-panel h3{margin-bottom:17px!important}.pmcrm-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.pmcrm-muted{font-size:12px;color:var(--muted)}.pmcrm-bars{display:grid;gap:15px}.pmcrm-bar-row>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin-bottom:5px}.pmcrm-bar-row b{color:var(--moss)}.pmcrm-bar{height:9px;background:#f0f1ed;border-radius:10px;overflow:hidden}.pmcrm-bar i{display:block;background:linear-gradient(90deg,var(--sage),var(--olive));height:100%;border-radius:10px;min-width:0;transition:width .25s}.pmcrm-list-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;gap:16px;border-bottom:1px solid #eef0eb}.pmcrm-list-row:last-child{border-bottom:none}.pmcrm-list-row>div{display:grid;gap:2px}.pmcrm-list-row>span{font-size:12px;color:var(--muted)}.pmcrm-empty{color:var(--muted)!important;padding:14px 0}
.pmcrm-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.pmcrm-toolbar input{flex:1 1 260px}.pmcrm input,.pmcrm textarea,.pmcrm select{background:#fff!important;color:var(--ink)!important;border:1px solid #d9e0d5!important;box-shadow:none!important;border-radius:9px!important;padding:10px 12px!important;min-height:40px;width:100%;outline:none}.pmcrm input:focus,.pmcrm textarea:focus,.pmcrm select:focus{border-color:var(--sage)!important;box-shadow:0 0 0 3px #9d997324!important}.pmcrm select{appearance:auto!important}.pmcrm-toolbar select{max-width:230px}.pmcrm-board{display:grid;grid-template-columns:repeat(5,minmax(188px,1fr));gap:13px;overflow-x:auto;padding:0 0 15px;align-items:start}.pmcrm-column{min-width:188px;border-radius:13px;background:#eef0e9;min-height:310px;border:1px solid #e0e5da}.pmcrm-column-head{padding:15px 13px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce2d7;gap:8px}.pmcrm-column-head h3{font-size:12px!important;font-weight:760}.pmcrm-column-head b{background:#fff;padding:2px 8px;border-radius:20px;color:var(--olive);font-size:12px}.pmcrm-column-body{padding:10px;min-height:240px;display:grid;align-content:start;gap:9px}.pmcrm-lead-card{display:block;text-align:left;border:1px solid #e4e8df!important;border-radius:10px!important;background:#fff!important;color:var(--ink)!important;width:100%;padding:14px 12px!important;min-width:0;box-shadow:0 3px 8px #34492d0a!important}.pmcrm-lead-card:hover{border-color:#aeb6a2!important;transform:translateY(-1px)}.pmcrm-lead-card[draggable=true]{cursor:grab}.pmcrm-card-top{display:flex;justify-content:space-between;align-items:center;gap:6px}.pmcrm-card-top strong{font-size:13px;overflow-wrap:anywhere}.pmcrm-priority{font-size:10px;padding:2px 6px;border-radius:20px;background:#e7eae1;color:var(--olive);text-transform:capitalize}.pmcrm-priority.alta{background:#fae7df;color:#9b4b26}.pmcrm-priority.baja{background:#e6eef1;color:#4c6a81}.pmcrm-card-tour{font-size:12px;color:var(--muted);margin:9px 0}.pmcrm-card-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--olive);font-weight:650;margin-bottom:9px}.pmcrm-lead-card small{font-size:11px;overflow-wrap:anywhere}.pmcrm-drop-placeholder{font-size:12px;color:#879080;text-align:center;padding:16px 5px;border:1px dashed #cdd5c8;border-radius:8px}
.pmcrm-tablewrap{width:100%;overflow-x:auto;border:1px solid #e3e7df;border-radius:13px;background:#fff}.pmcrm-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff!important}.pmcrm-table th{background:#f3f5ef!important;color:var(--moss)!important;text-align:left;padding:13px 15px!important;font-size:12px;font-weight:760;white-space:nowrap}.pmcrm-table td{padding:14px 15px!important;border-bottom:1px solid #edf0eb;vertical-align:middle;color:var(--ink)!important}.pmcrm-table tr:last-child td{border-bottom:0}.pmcrm-table td small{display:block;margin-top:4px}.pmcrm-chip{display:inline-block;background:#ecf0e7;color:var(--olive);border-radius:20px;padding:5px 9px;font-size:11px;font-weight:720;white-space:nowrap}.pmcrm-overdue{background:#fce9e6;color:#a13936}
.pmcrm-overlay[hidden]{display:none!important}.pmcrm-overlay{position:fixed;inset:0;z-index:999999;background:#1d2719a8;display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}.pmcrm-modal{background:#fff;color:var(--ink);border-radius:18px;padding:27px 30px;box-shadow:0 20px 90px #0003;width:min(700px,100%);max-height:90vh;overflow-y:auto;position:relative}.pmcrm-modal h2{padding-right:28px;margin-bottom:8px!important}.pmcrm-modal h3{margin:6px 0 13px!important}.pmcrm-modal-close{position:absolute;right:16px;top:14px;background:#f1f3ef!important;color:var(--ink)!important;border:0!important;border-radius:50%!important;width:34px;height:34px;line-height:1;font-size:24px}.pmcrm-form{display:grid;gap:14px;margin-top:18px}.pmcrm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pmcrm-field{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:700;color:var(--moss)}.pmcrm-field span{display:block}.pmcrm-field textarea{resize:vertical}.pmcrm-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pmcrm-detail-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-right:26px}.pmcrm-detail-head h2{font-size:24px;margin:3px 0!important}.pmcrm-detail-head p{color:var(--muted)!important}.pmcrm-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.pmcrm-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:19px;border-radius:12px;background:#f5f6f1}.pmcrm-info-grid>div{display:flex;flex-direction:column;min-width:0}.pmcrm-info-grid strong{font-size:13px;overflow-wrap:anywhere}.pmcrm-subsection{padding:22px 0;border-bottom:1px solid #e7ebe3}.pmcrm-subsection:last-child{border:0}.pmcrm-inline{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.pmcrm-inline .pmcrm-field{min-width:190px}.pmcrm-timeline-item{border-left:3px solid #b5baa3;padding:3px 12px;margin:13px 0}.pmcrm-timeline-item strong{font-size:12px}.pmcrm-timeline-item small{display:block}.pmcrm-timeline-item p{white-space:pre-wrap;font-size:13px;margin-top:6px!important}.pmcrm-toast{position:fixed;z-index:1000000;bottom:24px;right:24px;padding:13px 20px;border-radius:11px;background:var(--moss);color:#fff;box-shadow:0 8px 25px #0003;max-width:min(360px,90vw)}.pmcrm-toast.is-bad{background:#a83c3c}
@media(max-width:1150px){.pmcrm-app{grid-template-columns:190px minmax(0,1fr)}.pmcrm-content{padding:24px 18px}.pmcrm-header{padding:22px 20px}.pmcrm-board{grid-template-columns:repeat(5,205px)}}
@media(max-width:800px){.pmcrm-app{display:block}.pmcrm-sidebar{padding:10px 12px;gap:9px}.pmcrm-brand{padding:5px 8px 9px}.pmcrm-sidebar nav{display:flex;gap:5px;overflow-x:auto;padding:2px 0 6px}.pmcrm-nav{flex:0 0 auto;width:auto;padding:9px 11px;font-size:12px}.pmcrm-nav span{font-size:14px;width:auto}.pmcrm-side-foot{display:none}.pmcrm-header{padding:15px 18px}.pmcrm-header h1{font-size:22px}.pmcrm-content{padding:17px 13px}.pmcrm-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pmcrm-grid2{grid-template-columns:1fr}.pmcrm-welcome{padding:20px;align-items:start;flex-direction:column}.pmcrm-welcome h2{font-size:19px}.pmcrm-board{grid-template-columns:repeat(5,210px)}.pmcrm-user{font-size:12px}}
@media(max-width:520px){.pmcrm-login{padding:22px}.pmcrm-header-actions{gap:5px}.pmcrm-header-actions .pmcrm-user{display:none}.pmcrm-metric{padding:12px 14px;min-height:95px}.pmcrm-metric strong{font-size:23px}.pmcrm-metric>span{font-size:11px}.pmcrm-metrics{gap:8px}.pmcrm-panel{padding:16px}.pmcrm-section-head{align-items:flex-start;flex-direction:column}.pmcrm-modal{padding:22px 17px;max-height:94vh}.pmcrm-form-grid,.pmcrm-info-grid{grid-template-columns:1fr 1fr}.pmcrm-detail-head{display:block}.pmcrm-detail-head .pmcrm-chip{margin-top:8px}.pmcrm-toast{right:12px;bottom:12px}}

/* Gestión de páginas integrada en el portal, sin otro menú de WordPress. */
.pmcrm-site-table{display:grid;gap:0;border-top:1px solid var(--line)}
.pmcrm-site-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 4px;border-bottom:1px solid var(--line)}
.pmcrm-site-row>div:first-child{display:grid;gap:3px;min-width:0;max-width:50%}
.pmcrm-site-row strong{color:var(--ink);font-size:13px;overflow-wrap:anywhere}
.pmcrm-site-row small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.pmcrm-site-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.pmcrm-site-buttons .pmcrm-btn{min-height:35px;white-space:normal}
.pmcrm-site-language{padding:14px 12px;border:1px solid #dde5da;border-radius:10px;background:#f8faf6;min-width:0;display:grid;gap:9px}
.pmcrm-site-language h3{font-size:14px;margin:0!important}
.pmcrm-site-language .pmcrm-field{min-width:0}
.pmcrm-welcome .pmcrm-header-actions{flex-wrap:wrap;justify-content:flex-end}
.pmcrm-welcome .pmcrm-secondary{color:#fff!important;background:transparent!important;border-color:#d6dfc3!important}
.pmcrm-welcome .pmcrm-secondary:hover{background:#ffffff21!important}
.pmcrm-site-versions{margin-top:19px;padding:12px 15px;border:1px solid #e0e7db;border-radius:11px;background:#f8faf6}
.pmcrm-site-versions summary{cursor:pointer;font-weight:750;color:#374333}
.pmcrm-site-versions .pmcrm-list-row{flex-wrap:wrap}
.pmcrm-site-versions .pmcrm-list-row small{overflow-wrap:anywhere}
@media(max-width:860px){.pmcrm-site-row{align-items:flex-start;flex-direction:column}.pmcrm-site-row>div:first-child{max-width:100%}.pmcrm-site-buttons{justify-content:flex-start}}
@media(max-width:520px){.pmcrm-site-buttons{width:100%}.pmcrm-site-buttons .pmcrm-btn{flex:1}.pmcrm-site-language{grid-column:1/-1}}

/* V7.2.3 · Publicación segura de lotes, dentro del portal CRM */
.pmcrm .pmcrm-batch-help{background:var(--pmcrm-panel,#fff);}
.pmcrm .pmcrm-batch-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0;}
.pmcrm .pmcrm-batch-upload{display:flex;gap:1rem;align-items:end;flex-wrap:wrap;margin:1rem 0 0;}
.pmcrm .pmcrm-batch-upload .pmcrm-field{flex:1 1 240px;}
.pmcrm .pmcrm-batch-head{display:flex;justify-content:space-between;align-items:start;gap:1rem;flex-wrap:wrap;}
.pmcrm .pmcrm-batch-head small{display:block;color:#596251;line-height:1.6;margin-bottom:.8rem;}
.pmcrm .pmcrm-batch-list{border:1px solid #d9dcce;border-radius:12px;overflow:hidden;margin:1.25rem 0;}
.pmcrm .pmcrm-batch-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.35fr) minmax(110px,.5fr);align-items:center;gap:1rem;padding:1rem;background:#fff;border-bottom:1px solid #e6e8df;}
.pmcrm .pmcrm-batch-row:last-child{border-bottom:0;}
.pmcrm .pmcrm-batch-column-titles{background:#eceee5;color:#303329;font-weight:700;}
.pmcrm .pmcrm-batch-row strong{display:block;font-size:.96rem;color:#303329;}
.pmcrm .pmcrm-batch-row small{display:block;font-size:.82rem;color:#586151;line-height:1.5;}
.pmcrm .pmcrm-batch-status{display:inline-block;color:#253122;background:#e6ecdc;border-radius:4px;padding:.25rem .5rem;font-weight:700;font-size:.78rem;margin-bottom:.25rem;}
.pmcrm .pmcrm-batch-conflict,.pmcrm .pmcrm-batch-protected,.pmcrm .pmcrm-batch-legal{color:#664820;background:#f8edda;}
.pmcrm .pmcrm-batch-unchanged{background:#eceee5;color:#4e533b;}
.pmcrm .pmcrm-batch-create{background:#e7eff7;color:#26445d;}
.pmcrm .pmcrm-batch-approval{padding:1rem;border-radius:10px;background:#f5f3ea;display:grid;gap:.85rem;color:#303329;}
.pmcrm .pmcrm-batch-approval label{display:flex;align-items:start;gap:.6rem;font-size:.91rem;}
.pmcrm .pmcrm-batch-approval input{width:19px;height:19px;flex:none;margin:.1rem 0 0;}
.pmcrm .pmcrm-batch-diff{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;}
.pmcrm .pmcrm-batch-diff pre{overflow:auto;max-height:360px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.83rem;line-height:1.5;background:#f5f3ea;border:1px solid #d9dcce;border-radius:8px;padding:1rem;}
@media(max-width:720px){
  .pmcrm .pmcrm-batch-row{grid-template-columns:1fr;gap:.5rem;}
  .pmcrm .pmcrm-batch-column-titles{display:none;}
  .pmcrm .pmcrm-batch-diff{grid-template-columns:1fr;}
  .pmcrm .pmcrm-batch-head{flex-direction:column;}
}
