/* Preserve design B's surfaces and spacing; restore Memora's original blue. */
body.memora1533{--primary-blue:#004f87;--primary-blue-dark:#00365d;--m1533-header:#004f87;}
.memora1533 .app-header{background:linear-gradient(135deg,#004f87,#00365d);}
.memora1533 [hidden]{display:none!important;}
.memora1533 input:focus,.memora1533 textarea:focus,.memora1533 select:focus{outline:0!important;box-shadow:0 0 0 2px #004f8720!important;border-color:var(--primary-blue)!important;}
.memora1533 .search-bar input:focus{box-shadow:none!important;}
.memora1533 button:focus-visible,.memora1533 a:focus-visible{outline:2px solid #73b4df;outline-offset:3px;}
.m1534-profile-section{margin-bottom:18px!important;}
.m1534-profile-heading{display:flex;align-items:center;gap:8px;font-size:1.04rem!important;line-height:1.4;margin-bottom:15px;}
.m1534-profile-heading .material-symbols-outlined{font-size:23px;}
.m1534-profile-section>.card{border:0!important;box-shadow:none!important;margin:12px 0!important;padding:0!important;}
.m1534-profile-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--m1532-border);padding:7px 0;overflow-wrap:anywhere;}
.m1534-profile-line>span{flex:0 1 45%;color:var(--text-secondary);}
.m1534-profile-line>[data-memora-user-data]{flex:1;text-align:right;color:var(--text-primary);font-weight:600;}
.m1534-config-status{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0 18px;font-size:.76rem;color:var(--text-secondary);}
.m1534-config-status .is-pending{color:#9a5c06;}
.m1534-case-picker{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
.m1534-case-picker>p{font-size:.74rem!important;margin:0!important;}
.m1534-chosen{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.72rem;color:var(--text-secondary);max-width:100%;overflow-wrap:anywhere;}
.m1534-customer-link{background:none;border:0;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#004f8740;text-underline-offset:4px;}
.m1534-customer-link:hover{color:var(--primary-blue);}
.m1534-modal{position:fixed;inset:0;z-index:15000;background:#12274399;backdrop-filter:blur(3px);padding:20px;display:flex;align-items:center;justify-content:center;overflow:auto;}
.m1534-modal[hidden]{display:none;}
body.m1534-modal-open{overflow:hidden;}
.m1534-dialog{background:var(--card-white);color:var(--text-primary);width:100%;max-width:720px;max-height:calc(100dvh - 40px);border-radius:14px;overflow:auto;box-shadow:0 15px 70px #001e3a35;overscroll-behavior:contain;}
.m1534-dialog>header{position:sticky;top:0;z-index:1;background:var(--card-white);display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--m1532-border);padding:15px 20px;}
.m1534-dialog>header h2{font-size:1rem;line-height:1.4;}
.m1534-dialog>header button{min-width:42px;padding:8px;flex-shrink:0;}
#dialogoCuerpo1534{padding:20px;overflow-wrap:anywhere;}
.m1534-options{display:grid;gap:9px;margin-top:14px;}
.m1534-options button{justify-content:flex-start;text-align:left;white-space:normal;overflow-wrap:anywhere;}
.m1534-customer-identity{display:flex;align-items:center;gap:12px;}
.m1534-customer-identity h3{font-size:1.2rem;}
.m1534-customer-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0;}
.m1534-customer-counts>div{background:var(--bg-light);border-radius:9px;padding:12px;font-size:.72rem;}
.m1534-customer-counts strong{display:block;font-size:1.5rem;color:var(--primary-blue);margin-bottom:3px;}
.m1534-customer-section{border-top:1px solid var(--m1532-border);padding:18px 0 0;margin-top:18px;}
.m1534-customer-section h3{font-size:.95rem;margin-bottom:12px;}
.m1534-customer-section>p{font-size:.8rem;margin:7px 0;}
.m1534-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;}
.m1534-section-head h3{margin:0;}
.m1534-section-head button{font-size:.75rem;}
.m1534-customer-cases{display:grid;gap:10px;}
.m1534-customer-cases article{border:1px solid var(--m1532-border);border-radius:10px;padding:13px;display:flex;gap:10px;align-items:center;}
.m1534-customer-cases article>div:first-child{flex:1;min-width:0;}
.m1534-customer-cases article>div:last-child{display:flex;gap:5px;flex-shrink:0;}
.m1534-customer-cases h4{font-size:.86rem;margin-bottom:6px;}
.m1534-customer-cases p,.m1534-customer-cases time{font-size:.71rem;color:var(--text-secondary);margin-top:5px;display:block;}
.m1534-timeline{list-style:none;margin:17px 0 0 6px;border-left:2px solid var(--m1532-border);padding-left:16px;}
.m1534-timeline li{position:relative;padding-bottom:21px;font-size:.8rem;}
.m1534-timeline li:before{content:'';position:absolute;left:-22px;top:5px;width:9px;height:9px;border:2px solid var(--card-white);background:var(--primary-blue);border-radius:50%;}
.m1534-timeline time{display:block;font-size:.69rem;color:var(--text-secondary);margin-bottom:5px;}
.m1534-timeline p{color:var(--text-secondary);margin-top:4px;}
.m1534-timeline blockquote{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px;padding:10px;background:var(--bg-light);border-radius:7px;}
.m1534-timeline button{margin-top:3px;}
.memora1533 #biblioteca151Promo{display:none;}
.memora1533 .biblioteca151-item{border:1px solid var(--m1532-border);box-shadow:none;padding:16px;border-radius:12px;}
.memora1533 .biblioteca151-item-top{align-items:flex-start;}
.memora1533 .biblioteca151-item-top h4{font-size:.98rem;line-height:1.4;}
.memora1533 .biblioteca151-excerpt{white-space:pre-wrap;font-size:.8rem;line-height:1.6;}
.m1534-library-main{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.m1534-library-main>button{flex:1 1 130px;}
.memora1533 .m1534-library-secondary{border-top:1px solid var(--m1532-border);margin-top:12px;padding-top:10px;gap:6px;}
.memora1533 .m1534-library-secondary>button{font-size:.72rem;padding:6px 8px;min-height:34px;}
.m1534-full-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:.9rem;padding:18px 0;}
#copiaEstado1534{font-size:.8rem;color:var(--primary-blue);}
html[data-theme=dark] body.memora1533{--primary-blue:#73b9e6;--primary-blue-dark:#004f87;}
html[data-theme=dark] .memora1533 .m1532-button.primary{background:#004f87;border-color:#004f87;}
html[data-theme=dark] .m1534-config-status .is-pending{color:#f4c16c;}
@media(max-width:480px){.m1534-modal{padding:10px;}.m1534-dialog{max-height:calc(100dvh - 20px);}.m1534-dialog>header,#dialogoCuerpo1534{padding:15px;}.m1534-customer-cases article{flex-wrap:wrap;}.m1534-customer-cases article>div:last-child{width:100%;}.m1534-customer-cases article>div:last-child>button:first-child{flex:1;}}
