/* Atención y navegación de la empresa: misma marca, permisos separados del centro interno. */
.business-portal .bp-sidebar{background:linear-gradient(165deg,#83162d,#5c1022);border:0}.business-portal .bp-brand{color:#fff!important}.business-portal .bp-brand img{background:#fff;border-radius:9px;padding:5px;width:49px;height:62px}.business-portal .bp-brand small{color:#e5c8d0}.business-portal .bp-menu-label{color:#e0b1bd}.business-portal .bp-sidebar nav{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#b1677a transparent}.business-portal .bp-sidebar nav button{background:transparent;color:#f1dfe5}.business-portal .bp-sidebar nav button>span{color:#eed5df;display:flex;align-items:center}.business-portal .bp-sidebar nav button.selected{background:#fff2;color:white;box-shadow:none;border:1px solid #ffffff10}.business-portal .bp-sidebar nav button:hover{background:#ffffff16;border-color:transparent}.business-portal .bp-sidebar-bottom{color:#e9ccd6;border-color:#ffffff25}.business-portal .bp-sidebar-bottom small{color:#cca1af}.business-portal .bp-logout{background:transparent;color:#f3e1e7;border:0;padding:9px 0;font-size:11px;min-height:30px}.bp-login-page{min-height:100vh;display:grid;place-items:center;padding:35px;background:#f5f5f8;font:14px/1.6 system-ui;color:#3c3240}.bp-login-card{max-width:510px;width:100%;padding:40px;background:white;border:1px solid #eadfe4;border-radius:16px;box-shadow:0 10px 40px #43132308}.bp-login-card>img{width:80px;display:block;margin:0 auto 25px}.bp-login-card>p:first-of-type{font-size:10px;letter-spacing:2px;color:#8d1631;text-align:center}.bp-login-card h1{font-size:25px;text-align:center;line-height:1.3;color:#462535}.bp-login-card p{color:#7f7480;font-size:13px}.bp-login-card form{margin:25px 0}.bp-login-card label{font-size:12px;color:#6d5d68}.bp-login-card input{display:block;width:100%;box-sizing:border-box;border:1px solid #ded3dc;padding:12px;border-radius:8px;margin:8px 0 14px;background:white;color:#4d3543}.bp-login-card button{width:100%;background:#8d1631;color:white;padding:13px;border:0;border-radius:8px;font:600 13px system-ui;cursor:pointer}.bp-login-card a{display:block;color:#8d1631;font-size:12px;text-decoration:none}.bp-login-card small{display:block;color:#a18c98;font-size:10px;margin-top:15px}.bp-login-card [role=alert]{color:#a02844;background:#fff3f5;padding:12px;border-radius:8px}.bp-operation-toolbar{display:flex;align-items:end;gap:13px;flex-wrap:wrap;border-bottom:1px solid #e8eaf0;padding-bottom:18px;margin-bottom:19px}.bp-operation-toolbar label{max-width:160px}.bp-periods{display:flex;gap:3px;flex-wrap:wrap;background:#f6f7fa;border:1px solid #e8eaf0;border-radius:9px;padding:4px}.business-portal .bp-periods button{font-size:10px;min-height:30px;padding:6px 9px;border:0;background:transparent;font-weight:550}.business-portal .bp-periods button.selected{background:#8d1631;color:white}.bp-list-controls{display:flex;align-items:end;gap:15px;margin-bottom:22px}.bp-list-controls>.bp-search{flex:1}.bp-list-controls>label:not(.bp-search){min-width:150px}.bp-kanban{display:flex;gap:13px;overflow:auto;padding-bottom:15px;align-items:stretch;max-height:590px}.bp-kanban-column{background:#f7f8fb;border:1px solid #e2e5ee;min-width:210px;max-width:230px;flex:1;border-radius:10px;overflow:hidden}.bp-kanban-column>header{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:650;color:#67748a;background:#eef1f6;border-bottom:1px solid #e2e5ee}.bp-kanban-column>header span{border-radius:5px;padding:1px 6px;background:#fff9}.bp-kanban-column>div{padding:9px;overflow:auto;max-height:495px}.bp-kanban-column.asignado>header{background:#e8edfe;color:#4c65ae}.bp-kanban-column.recogido>header{background:#eef1fd;color:#6c68a2}.bp-kanban-column.en_ruta>header{background:#fff2da;color:#ad781a}.bp-kanban-column.entregado>header{background:#e6f5ed;color:#398360}.bp-kanban-column.novedad>header{background:#ffedde;color:#ae6e2e}.bp-kanban-column.cancelado>header{background:#f9e7ed;color:#b05c79}.bp-kanban-column.devuelto>header{background:#eee9fe;color:#8b70ba}.bp-kanban-card{display:flex;flex-direction:column;gap:8px;background:#fff;padding:14px;border:1px solid #e2e5ed;border-left:3px solid #af8596;border-radius:7px;margin-bottom:9px;box-shadow:0 2px 4px #10103004;color:#56596a!important}.bp-kanban-card strong{font-size:11px;color:#8d1631}.bp-kanban-card b{font-size:12px;font-weight:600;color:#3f4350}.bp-kanban-card small{font-size:9px;color:#8d94a3}.bp-kanban-card>span{font-size:10px;line-height:1.5}.bp-empty-column{font-size:10px;text-align:center;color:#b0b4c1;padding:28px 5px}.bp-pagination{display:flex;gap:10px;justify-content:flex-end;align-items:center;padding-top:20px;font-size:11px;color:#939aaa}.bp-pagination>span:first-child{margin-right:auto}.business-portal .bp-pagination button{min-height:30px;padding:5px 10px;font-size:10px}.bp-route-group{padding:18px;border:1px solid #e4e7ef;border-radius:9px;margin:15px 0}.bp-route-group>p{color:#8d929e;font-size:11px;margin:10px 0}.bp-route-group>a{display:flex;gap:20px;justify-content:space-between;padding:12px 0;border-top:1px solid #edf0f6;font-size:11px}.bp-operation-alert{padding:12px 16px;border-radius:8px;background:#fff8e9;border:1px solid #f4deb6;color:#a47a36;font-size:12px;margin:18px 0}.bp-support-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px}.bp-chat-heading{display:flex;align-items:center;gap:13px;border-bottom:1px solid #eceef4;padding-bottom:19px}.bp-chat-heading h2{font-size:17px}.bp-chat-heading p{font-size:10px;color:#9297a4;margin-top:5px}.bp-chat-heading>.bp-badge{margin-left:auto}.bp-lios-avatar{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#8d1631;color:white;font-weight:750;font-size:22px;flex-shrink:0}.bp-chat-messages{min-height:310px;max-height:580px;overflow:auto;padding:20px 4px;display:flex;flex-direction:column;gap:15px}.bp-chat-bubble{max-width:88%;padding:15px 17px;background:#f5f6fa;border:1px solid #e9ebf2;border-radius:12px;align-self:flex-start}.bp-chat-bubble.client{background:#f6eaf0;border-color:#edd5df;align-self:flex-end}.bp-chat-bubble.human{border-left:3px solid #719f85;background:#f0f8f3}.bp-chat-bubble strong{font-size:10px;color:#8d1631}.bp-chat-bubble p{font-size:12px;color:#656878;white-space:pre-wrap;line-height:1.75;margin:8px 0;overflow-wrap:anywhere}.bp-chat-bubble small{font-size:9px;color:#adb0bc;display:block}.business-portal .bp-chat-bubble button{font-size:10px;padding:7px 9px;min-height:30px;margin:5px 0 9px;color:#8d1631}.bp-chat-composer{display:flex;align-items:flex-end;gap:10px;border-top:1px solid #eceef4;padding-top:16px;margin-bottom:15px}.bp-chat-composer textarea{min-height:75px;max-height:180px;margin:0}.bp-chat-composer button{flex-shrink:0}.bp-help-option{display:block;width:100%;text-align:left;margin:12px 0;font-size:12px!important}.bp-support-layout aside .bp-panel>button.bp-primary{margin:20px 0}.bp-support-layout aside .bp-panel>p{font-size:12px;margin-top:12px}
@media(max-width:760px){.business-portal .bp-sidebar nav{overflow-y:hidden;overflow-x:auto;flex:initial}.bp-list-controls{flex-wrap:wrap}.bp-list-controls .bp-search{flex-basis:100%}.bp-operation-toolbar label{max-width:none;flex:1}.bp-support-layout{grid-template-columns:1fr}.bp-chat-heading{flex-wrap:wrap}.bp-chat-heading .bp-badge{margin-left:0}.bp-chat-composer{align-items:stretch;flex-direction:column}.bp-kanban-column{min-width:225px}.bp-route-group>a{flex-direction:column;gap:7px}.bp-login-page{padding:18px}.bp-login-card{padding:27px}.bp-operation-toolbar>a{margin-top:10px}}

body:has(.bp-login-page){background:#f5f5f8!important}body:has(.bp-login-page)::before,body:has(.bp-login-page)::after{display:none!important}.bp-login-page{position:relative;z-index:3;isolation:isolate}.bp-kanban-column{min-width:165px;max-width:210px}
