/* Portal 2026 rev25 — mejoras UI del área personal; operaciones PHP/xajax intactas. */
body.portal26-account .p26-account-content{min-width:0!important}
body.portal26-account .p26-account-content .boton_negro_xl,
body.portal26-account .p26-account-content #submit_editar_perfil{font-weight:800!important;min-height:40px!important;vertical-align:middle!important}
body.portal26-account .p26-account-content #form_editar_perfil .linea.submit{display:flex!important;align-items:center!important;min-height:48px!important;margin:12px 0!important}
body.portal26-account #form_editar_perfil .p26-password-open{vertical-align:middle!important;min-height:40px!important;font-weight:750!important}
/* Mis listas: encabezado, filas, botones y detalle de productos. */
body.portal26-account .p26-lists-page #cabecera{display:flex!important;align-items:center!important;min-height:44px!important;padding:0 0 13px!important;border:0!important;background:transparent!important}
body.portal26-account .p26-lists-page #list_title{color:#10264c!important;font-size:19px!important;font-weight:800!important}
body.portal26-account .p26-lists-page #pie{display:flex!important;justify-content:flex-end!important;padding:16px 0!important;border:0!important;background:none!important}
body.portal26-account .p26-lists-page #pie .p26-create-toolbar{display:flex!important;justify-content:flex-end!important;padding:0!important;width:100%!important}
.p26-create-list-btn{background:#ff7f00!important;border:0!important;color:white!important;border-radius:5px!important;padding:11px 19px!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;min-height:41px!important}
body.portal26-account .p26-list-row{border:1px solid #dfe6f0!important;border-radius:7px!important;margin:0 0 10px!important;padding:14px 16px!important;background:white!important;min-height:66px!important;box-shadow:0 2px 8px rgba(16,38,76,.03)!important}
body.portal26-account .p26-list-name .input-lista[readonly]{cursor:pointer!important}
body.portal26-account .p26-list-row input.input-lista-edit{font-size:14px!important;font-weight:750!important;color:#10264c!important;border:1px solid #ff7f00!important;border-radius:5px!important;background:#fff!important;padding:8px!important;min-width:150px!important;max-width:350px!important}
body.portal26-account .p26-list-icon-button{flex-shrink:0!important}
/* Detalle AJAX de una lista: espaciado y tarjetas coherentes con catálogo/cesta. */
body.portal26-account .p26-lists-page .row-lista-productos{display:flex!important;align-items:center!important;flex-wrap:wrap!important;border:1px solid #dfe6f0!important;border-radius:7px!important;padding:13px 10px!important;margin:9px 0!important;min-height:120px!important;background:#fff!important}
body.portal26-account .p26-lists-page .row-lista-productos .titulo,body.portal26-account .p26-lists-page .row-lista-productos .titulo a{font-size:13px!important;font-weight:800!important;color:#10264c!important;line-height:1.35!important}
body.portal26-account .p26-lists-page .row-lista-productos .referencia,body.portal26-account .p26-lists-page .row-lista-productos .precio-txt1{font-size:11px!important;color:#667894!important;line-height:1.5!important}
body.portal26-account .p26-lists-page .row-lista-productos .precio{font-size:18px!important;color:#10264c!important;font-weight:800!important}
body.portal26-account .p26-lists-page .row-lista-productos .imagen-content{display:flex!important;align-items:center!important;justify-content:center!important;min-height:94px!important;background:#f3f5f8!important;border-radius:5px!important}
body.portal26-account .p26-lists-page .row-lista-productos .imagen-content img{max-width:92px!important;max-height:92px!important;object-fit:contain!important}
body.portal26-account .p26-lists-page .row-lista-productos .btn-add-cesta-controls-controls,body.portal26-account .p26-lists-page .row-lista-productos .btn-add-cesta-input{display:inline-flex!important;vertical-align:middle!important;float:none!important;align-items:center!important;justify-content:center!important}
body.portal26-account .p26-lists-page .row-lista-productos .btn_restar,body.portal26-account .p26-lists-page .row-lista-productos .btn_sumar{display:flex!important;align-items:center!important;justify-content:center!important;background:#f3f5f9!important;color:#10264c!important;border:1px solid #dce5ef!important;width:29px!important;height:34px!important;font-size:17px!important;cursor:pointer!important}
body.portal26-account .p26-lists-page .row-lista-productos input.numero_productos{width:38px!important;height:34px!important;text-align:center!important;border:1px solid #dce5ef!important;border-radius:0!important;padding:0!important;font-size:13px!important}
body.portal26-account .p26-lists-page .row.category{background:#f2f5f9!important;border-radius:5px!important;font-size:13px!important;font-weight:800!important;color:#10264c!important;padding:9px 12px!important;margin:15px 0 8px!important}
body.portal26-account .p26-lists-page .boton_negro_xl_lista{background:#ff7f00!important;color:white!important;border:0!important;border-radius:5px!important;font-weight:800!important;padding:11px 15px!important}
/* Pedidos: lista seleccionable y acciones existentes más limpias. */
body.portal26-account #form_pedidos #cuerpo{border:1px solid #dce5ef!important;border-radius:7px!important;padding:18px!important;background:#fff!important}
body.portal26-account #form_pedidos #box_pedidos,body.portal26-account #form_pedidos #header_pedidos_detalle{width:100%!important;max-width:100%!important;min-width:0!important}
body.portal26-account #form_pedidos #box_pedidos ul{list-style:none!important;padding:0!important;margin:0!important}
body.portal26-account #form_pedidos #box_pedidos li{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;min-height:65px!important;padding:13px 14px!important;margin:0 0 10px!important;border:1px solid #dfe6ef!important;border-radius:7px!important;background:#fff!important;font-size:13px!important;line-height:1.5!important}
body.portal26-account #form_pedidos #box_pedidos li:hover{border-color:#ffae63!important;background:#fffbf6!important}
body.portal26-account #form_pedidos #box_pedidos li input[type=radio]{accent-color:#ff7f00!important;width:17px!important;height:17px!important;margin:0!important;flex:none!important}
body.portal26-account #form_pedidos #box_pedidos li a.enlace_lista_pedidos{font-size:13px!important;font-weight:750!important;color:#10264c!important;text-decoration:none!important}
body.portal26-account #form_pedidos #box_pedidos li a.enlace_lista_pedidos_right{margin-left:0!important;padding:8px!important;border:1px solid #dce5ef!important;border-radius:5px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#10264c!important}
body.portal26-account #form_pedidos #box_pedidos li a.enlace_lista_pedidos_right:first-of-type{margin-left:auto!important}
body.portal26-account #form_pedidos .listado-pedidos-separador{display:none!important}
body.portal26-account #form_pedidos #header_pedidos_detalle-botones{padding-top:16px!important}
body.portal26-account #form_pedidos #header_pedidos_detalle-botones input{min-height:40px!important;border-radius:5px!important;border:1px solid #dce5ef!important;background:#fff!important;color:#10264c!important;font-weight:800!important;padding:9px 18px!important;margin:3px 7px 3px 0!important;cursor:pointer!important}
body.portal26-account #form_pedidos #btn_add-pedido{background:#ff7f00!important;color:#fff!important;border-color:#ff7f00!important}
/* Modal con fondo atenuado, como Cambiar contexto de compra. */
.p26-create-overlay[hidden]{display:none!important}
.p26-create-overlay{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(18,25,49,.61)!important;box-sizing:border-box!important}
.p26-create-dialog{width:100%!important;max-width:620px!important;max-height:calc(100vh - 36px)!important;overflow:auto!important;background:white!important;border-radius:10px!important;padding:28px!important;box-shadow:0 24px 75px rgba(0,0,0,.22)!important;color:#10264c!important;box-sizing:border-box!important}
.p26-create-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.p26-create-dialog h2{font-size:24px!important;font-weight:800!important;margin:0 0 8px!important;color:#10264c!important}
.p26-create-dialog p{font-size:13px!important;color:#647591!important;margin:0 0 20px!important}
.p26-create-dialog label{display:block!important;font-size:13px!important;font-weight:700!important;margin:0 0 7px!important}
.p26-create-dialog input{width:100%!important;height:43px!important;border:1px solid #cbd8e8!important;border-radius:5px!important;padding:9px 12px!important;box-sizing:border-box!important;font-size:14px!important;color:#10264c!important}
.p26-create-dialog input:focus{outline:2px solid rgba(255,127,0,.24)!important;border-color:#ff7f00!important}
.p26-create-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}
.p26-create-dialog-actions button{min-height:41px;padding:10px 17px;border-radius:5px;cursor:pointer;font-size:13px;font-weight:800}
.p26-create-cancel{background:#fff;border:1px solid #cbd8e8;color:#10264c}
.p26-create-save{background:#ff7f00;border:1px solid #ff7f00;color:#fff}
.p26-create-save:disabled{opacity:.55;cursor:wait}
.p26-create-close{background:#f3f5f8;border:0;border-radius:50%;width:34px;height:34px;font-size:23px;color:#10264c;cursor:pointer}
.p26-create-error{font-size:12px;color:#ba1f1f;margin-top:8px}
body.p26-create-modal-open{overflow:hidden!important}
@media(max-width:690px){body.portal26-account #form_pedidos #box_pedidos li{gap:9px!important;padding:12px!important}body.portal26-account .p26-list-actions{flex-wrap:wrap!important}body.portal26-account .p26-lists-page .row-lista-productos>.col-3{flex:0 0 60%!important;max-width:60%!important} .p26-create-dialog{padding:20px!important}}

body.portal26-account #form_editar_perfil .linea.submit.p26-profile-actions{display:flex!important;align-items:center!important;gap:11px!important;flex-wrap:wrap!important;justify-content:flex-start!important}
body.portal26-account #form_editar_perfil .p26-profile-actions #submit_editar_perfil,body.portal26-account #form_editar_perfil .p26-profile-actions .p26-password-open{height:42px!important;min-height:42px!important;line-height:1.2!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:9px 18px!important;font-weight:800!important}

/* Rev26: fila de acciones fuera de la tarjeta, alineada a la derecha. */
body.portal26-account .p26-account-content #form_editar_perfil .linea.submit.p26-profile-actions{justify-content:flex-end!important;clear:both!important;position:relative!important;float:none!important;width:100%!important;max-width:100%!important;padding:14px 0 0!important;margin:15px 0 0!important;min-height:58px!important;box-sizing:border-box!important;}
body.portal26-account .p26-account-content #form_editar_perfil .p26-profile-actions .p26-password-open{order:0!important;margin:0!important;}
body.portal26-account .p26-account-content #form_editar_perfil .p26-profile-actions #submit_editar_perfil{order:1!important;margin:0!important;}
body.portal26-account .p26-account-shell{align-items:start!important;}
body.portal26-account .p26-account-sidebar,body.portal26-account .p26-account-content{margin-top:0!important;align-self:start!important;}

/* Rev26: acciones realmente FUERA del panel, no superpuestas sobre el borde. */
body.portal26-account .p26-account-content .p26-profile-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:11px!important;clear:both!important;width:100%!important;max-width:100%!important;position:static!important;float:none!important;padding:14px 0!important;margin:0!important;border:0!important;background:transparent!important;box-sizing:border-box!important;}
body.portal26-account .p26-account-content .p26-profile-actions .p26-password-open,body.portal26-account .p26-account-content .p26-profile-actions #submit_editar_perfil{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;height:42px!important;margin:0!important;padding:9px 18px!important;font-weight:800!important;font-size:13px!important;line-height:1.2!important;}
body.portal26-account .p26-account-content .p26-profile-actions #submit_editar_perfil{background:#ff7f00!important;border:1px solid #ff7f00!important;color:white!important;border-radius:5px!important;}
body.portal26-account .p26-account-content .p26-profile-actions .p26-password-open{background:#fff!important;border:1px solid #cbd6e4!important;color:#10264c!important;border-radius:5px!important;}
/* El panel de datos y la fila de acciones son bloques hermanos; no envolver botones con el borde. */
body.portal26-account .p26-account-page #form_fancy_even>.col-lg-8{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;}
body.portal26-account .p26-account-page #form_editar_perfil{border:1px solid #dce4ef!important;border-radius:7px!important;background:#fff!important;padding:22px 25px!important;margin:0!important;box-sizing:border-box!important;}
body.portal26-account .p26-account-page .p26-profile-actions{padding:13px 0 0!important;margin:0!important;}

/* Listas personalizadas desplegadas y favoritos. */
body.portal26-account #content.p26-lists-page .p26-lists-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
.p26-lists-heading h2{font-size:18px;font-weight:750;margin:0 0 9px;color:#10264c}.p26-lists-heading p{font-size:13px;line-height:1.5;margin:0;color:#64748b}
body.portal26-account #content.p26-lists-page .p26-expanded-list{display:block;width:100%;border:1px solid #dce4ee;border-radius:7px;margin:0 0 16px;padding:16px;box-sizing:border-box;color:#10264c;background:#fff}
.p26-expanded-list>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:0 0 12px;border-bottom:1px solid #dce4ee}
.p26-expanded-list>header h2{font-size:17px;font-weight:750;line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}.p26-expanded-list>header span{font-size:12px;color:#64748b}
.p26-expanded-tools{display:flex;align-items:center;gap:9px;flex-shrink:0}.p26-expanded-tools button,.p26-expanded-tools a,.p26-product-remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:#77879e;cursor:pointer;font-size:15px}.p26-expanded-tools .p26-list-delete{color:#d93737}.p26-expanded-tools button:hover,.p26-expanded-tools a:hover,.p26-product-remove:hover{background:#f1f3f5}
.p26-expanded-product{display:grid;grid-template-columns:48px minmax(0,1fr) 32px;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e5eaf2}.p26-expanded-product>a{display:flex;align-items:center;justify-content:center;width:48px;height:56px}.p26-expanded-product img{display:block;width:auto;height:auto;max-width:48px;max-height:56px;object-fit:contain}.p26-expanded-product-name{font-size:14px;font-weight:700;color:#10264c!important;text-decoration:none;line-height:1.4}.p26-expanded-product p{font-size:12px;line-height:1.5;margin:2px 0 0;color:#697c97}.p26-expanded-product .p26-in-basket{color:#168247;font-weight:600}
.p26-list-add-all{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;margin-top:14px;border:0;border-radius:5px;background:#ff7f00;color:#fff;font-size:13px;font-weight:700;cursor:pointer}.p26-list-add-all:disabled{opacity:.6;cursor:wait}.p26-list-empty{padding:12px 0;color:#64748b;font-size:14px}.p26-rename-input{max-width:100%;font-size:17px;font-weight:700;border:1px solid #ccd7e6;padding:5px;border-radius:4px}
@media(max-width:575px){.p26-lists-heading{flex-wrap:wrap}.p26-expanded-list{padding:12px!important}.p26-expanded-product{gap:9px;grid-template-columns:40px minmax(0,1fr) 30px}.p26-expanded-product>a{width:40px}.p26-expanded-product img{max-width:40px}.p26-expanded-tools{gap:1px}}

.p26-expanded-tools svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.portal26-account .p26-rename-input:focus{outline:2px solid rgba(255,127,0,.24)!important;border-color:#ff7f00!important}

/* Histórico y pendientes: acciones en cada pedido, búsqueda en la propia página. */
body.portal26-account .p26-orders-page{width:100%;min-width:0}.p26-order-search{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:18px;border:1px solid #dce4ee;border-radius:7px;background:#fff;margin:0 0 20px}.p26-order-search>div{flex:1;min-width:220px}.p26-order-search label{display:block;margin:0 0 7px;font-size:13px;font-weight:650;color:#10264c}.p26-order-search input{width:100%;height:42px;border:1px solid #cbd8e8;border-radius:5px;padding:9px 12px;font-size:14px;color:#10264c}.p26-order-search input:focus{outline:2px solid #ff7f003d;border-color:#ff7f00}.p26-order-search button,.p26-order-repeat{min-height:42px;padding:10px 16px;border:0;border-radius:5px;background:#ff7f00;color:#fff;font-size:13px;font-weight:700;cursor:pointer}.p26-order-search>a{font-size:13px;color:#526b8d;padding:12px 0}.p26-order-count{font-size:13px;color:#64748b;margin:0 0 12px}.p26-order-list{display:grid;gap:16px}.p26-order-card{border:1px solid #dce4ee;border-radius:7px;padding:18px;background:#fff;min-width:0}.p26-order-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.p26-order-number{font-size:12px;line-height:1.5;color:#64748b}.p26-order-card h2,.p26-order-detail-summary h2{font-size:17px;line-height:1.4;color:#10264c;font-weight:700;margin:5px 0 0;overflow-wrap:anywhere}.p26-order-name{font:inherit;color:#10264c!important;text-decoration:none}.p26-order-name[hidden]{display:none!important}.p26-order-status{display:inline-block;white-space:nowrap;background:#f2f5f9;color:#405a7b;padding:6px 9px;border-radius:5px;font-size:11px}.p26-order-card-body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}.p26-order-card-body p{font-size:13px;color:#61738c;margin:3px 0;line-height:1.5}.p26-order-card-body .p26-order-warning{color:#b15716}.p26-order-total{display:grid;gap:5px;text-align:right;font-size:17px;font-weight:700;color:#10264c;flex-shrink:0}.p26-order-card-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e1e7ef;padding-top:12px}.p26-order-primary-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.p26-order-detail-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #c2cfe1;border-radius:5px;color:#10264c!important;background:#fff;padding:9px 14px;font-size:13px;font-weight:650;text-decoration:none!important}.p26-order-repeat:disabled{opacity:.6;cursor:wait}.p26-order-empty{padding:25px 10px;font-size:14px;line-height:1.5;color:#64748b}.p26-order-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:22px 0;font-size:13px}.p26-order-pagination a{padding:9px 13px;border:1px solid #d4dfec;border-radius:4px;color:#10264c}.p26-order-name-input{width:100%;max-width:430px;padding:7px 9px;font-family:inherit}
/* Detalle del histórico: datos originales, tablas legibles y acciones visibles. */
body.portal26-order-detail #content #contenido{padding:0!important;margin:0!important;min-width:0}.p26-order-detail-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px;border:1px solid #dce4ee;border-radius:7px;background:#fff;margin-bottom:20px}.p26-order-detail-summary>div:first-child{flex:1;min-width:200px}body.portal26-order-detail #frame-detalle-container,body.portal26-order-detail .frame-detalle-content{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;overflow-x:auto!important;overflow-y:visible!important}body.portal26-order-detail #form_confirmacion_pedido>.frame_titulo_1{font-size:17px!important;font-weight:750!important;line-height:1.4!important;padding:13px 0!important;margin:18px 0 8px!important;background:#fff!important;color:#10264c!important;float:none!important;border-bottom:1px solid #dce4ee}body.portal26-order-detail #form_confirmacion_pedido>.frame_titulo_2{font-size:14px!important;font-weight:650!important;color:#64748b!important;padding:5px 0!important;background:transparent!important}body.portal26-order-detail #form_confirmacion_pedido>br{display:none}body.portal26-order-detail #form_confirmacion_pedido table{width:100%!important;min-width:540px;max-width:100%!important;border-collapse:collapse!important;table-layout:auto!important;margin:8px 0 18px!important;clear:both}body.portal26-order-detail #form_confirmacion_pedido th{padding:12px 10px!important;background:#f4f7fb!important;color:#10264c!important;font-size:12px!important;font-weight:700!important;border-bottom:1px solid #dce4ee!important}body.portal26-order-detail #form_confirmacion_pedido td{padding:12px 10px!important;font-size:13px!important;line-height:1.5!important;vertical-align:middle!important;color:#405978!important;border-bottom:1px solid #e5ebf3!important;background:#fff!important}body.portal26-order-detail #form_confirmacion_pedido th>div,body.portal26-order-detail #form_confirmacion_pedido td>div{padding:0!important;height:auto!important;line-height:1.5!important}body.portal26-order-detail .frame_tabla_th_separador,body.portal26-order-detail .frame_tabla_td_separador{display:none!important}body.portal26-order-detail .frame_tabla_th_1,body.portal26-order-detail .frame_tabla_td_1{width:55%!important}body.portal26-order-detail .frame-detalle-btn-anular{margin:15px 0!important;float:none!important;clear:both}body.portal26-order-detail .frame-detalle-btn-anular input{padding:10px 16px!important;min-height:40px!important;border:1px solid #dc6565!important;border-radius:5px!important;background:#fff!important;color:#b53434!important;font-size:13px!important;cursor:pointer}body.portal26-order-detail .p26-order-incident-icon{display:inline-block;color:#7184a0;margin-right:7px}
@media(max-width:650px){.p26-order-card{padding:14px}.p26-order-card-top,.p26-order-card-body{flex-wrap:wrap}.p26-order-total{text-align:left}.p26-order-card-actions{align-items:flex-start;flex-wrap:wrap}.p26-order-primary-actions{width:100%}.p26-order-primary-actions>*{flex:1}.p26-order-search>div{min-width:100%;flex:1 1 100%}.p26-order-detail-summary .p26-order-repeat{width:100%}.p26-order-pagination{gap:10px}}

body.portal26-order-detail .frame_tabla_th_2,body.portal26-order-detail .frame_tabla_th_3,body.portal26-order-detail .frame_tabla_th_4,body.portal26-order-detail .frame_tabla_td_2,body.portal26-order-detail .frame_tabla_td_3,body.portal26-order-detail .frame_tabla_td_4,body.portal26-order-detail .frame_tabla_td_6{text-align:right!important;white-space:nowrap}body.portal26-order-detail #form_confirmacion_pedido .p26-order-total-label{text-align:right!important;font-weight:700}body.portal26-order-detail #form_confirmacion_pedido .frame_tabla_td_6{font-weight:750!important}.p26-order-canceled{display:inline-block;margin-left:8px;color:#b53434;font-size:11px;font-weight:650}

/* Pedidos compactos e informe de compras, revisión 36. */
.p26-order-list{gap:10px}
.p26-order-row{display:grid;grid-template-columns:minmax(155px,1.25fr) minmax(104px,.8fr) minmax(160px,1fr) auto;align-items:center;gap:15px;padding:14px;min-height:98px}
.p26-order-row .p26-order-card-top{display:block;min-width:0}.p26-order-row h2{font-size:13px;margin:0 0 3px}.p26-order-row .p26-order-number{display:block;font-size:11px}.p26-order-row .p26-order-status{margin-top:5px;font-size:10px;padding:3px 8px;border-radius:20px}
.p26-order-row .p26-order-card-body{padding:0;display:grid;gap:5px;min-width:0}.p26-order-row .p26-order-card-body p{font-size:11px;margin:0}.p26-order-row .p26-order-total{text-align:left;font-size:15px;gap:3px}
.p26-order-previews{display:flex;align-items:center;gap:3px;overflow:hidden}.p26-order-previews img{display:block;object-fit:contain;border:1px solid #e0e7ef;border-radius:3px;background:#fff;width:32px;height:40px;min-width:0}
.p26-order-row .p26-order-card-actions{border:0;padding:0;display:grid;justify-content:end;gap:7px}.p26-order-row .p26-expanded-tools{justify-content:flex-end}.p26-order-row .p26-order-primary-actions{flex-wrap:nowrap;gap:6px}.p26-order-row .p26-order-detail-link,.p26-order-row .p26-order-repeat{font-size:11px;min-height:34px;padding:8px 10px;white-space:nowrap}
.p26-history-provider{padding:16px 0 12px;border-bottom:1px solid #dce4ee;margin:12px 0}.p26-history-provider>span{font-size:11px;color:#71839b}.p26-history-provider h2{font-size:17px;font-weight:700;color:#10264c;margin:3px 0}.p26-history-provider p{font-size:12px;color:#64748b;margin:3px 0}
.p26-history-product{display:flex;align-items:center;gap:14px}.p26-history-photo{display:block;object-fit:contain;width:60px;height:64px;flex:0 0 60px;border-radius:5px;background:#f5f7fa}.p26-history-product>div{min-width:0}.p26-history-product strong{display:block;color:#10264c;font-size:13px;line-height:1.5}.p26-history-product small{display:block;color:#667b97;font-size:11px;line-height:1.65}
body.portal26-order-detail a.p26-manage-incident{display:inline-block!important;font-size:11px!important;text-decoration:underline!important;text-underline-offset:3px;cursor:pointer;margin:5px 0 0;color:#405c81}
body.portal26-report #content,body.portal26-report #content2{width:100%!important;padding:0!important;margin:0!important;float:none!important;min-width:0!important}
body.portal26-account.portal26-report form#form_ic{border:1px solid #dce4ee;border-radius:7px;padding:20px!important;background:#fff;margin-bottom:24px!important}
body.portal26-report #form_ic>.p26-report-filters{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;margin:0}
body.portal26-report #form_ic .form_ic_col{width:auto!important;float:none!important;padding:0!important;border:0!important;margin:0!important}
body.portal26-report .form_ic_titulo{display:block!important;width:auto!important;font-size:13px!important;line-height:1.5!important;font-weight:700!important;color:#10264c!important;background:transparent!important;padding:0!important;margin:0 0 12px!important}
body.portal26-report .form_ic_item{display:flex;align-items:center;gap:8px;margin:9px 0!important;float:none!important;width:auto!important;font-size:12px;color:#526b8d}
body.portal26-report .form_ic_label{width:40px!important;min-width:40px;flex-shrink:0;margin:0;font-weight:400}body.portal26-report .form_ic_item label{font-size:12px!important;font-weight:400!important;margin:0;line-height:1.5}body.portal26-report .form_ic_item input[type=radio],body.portal26-report .form_ic_item input[type=checkbox]{margin:0 6px 0 0;vertical-align:middle;accent-color:#ff7f00}body.portal26-report .form_ic_item>div{float:none!important;margin-top:0!important}
body.portal26-report #form_ic input[type=text]{width:130px!important;padding:8px 10px;height:38px;border:1px solid #cbd8e8;border-radius:4px;color:#10264c;font-size:13px}
body.portal26-report #form_ic select{max-width:100%;height:100px!important;width:100%!important;min-width:190px;padding:7px;border:1px solid #cbd8e8;border-radius:4px;font-size:12px!important;color:#405978}
body.portal26-report #form_ic input:focus,body.portal26-report #form_ic select:focus{outline:2px solid #ff7f003d;border-color:#ff7f00}
body.portal26-report .actions-right{display:flex;gap:10px;align-items:center;justify-content:flex-end;clear:both;margin:20px 0 0;padding-top:16px;border-top:1px solid #e2e8f1}
body.portal26-report #form_ic .informe_button{width:auto!important;height:auto!important;padding:11px 16px!important;border:1px solid #ff7f00!important;border-radius:5px!important;background:#ff7f00!important;color:#fff!important;font-size:13px!important;font-weight:700!important;cursor:pointer}
body.portal26-report #form_ic .informe_button[type=button]{background:#fff!important;color:#10264c!important;border-color:#cbd8e8!important}body.portal26-report #form_ic .informe_button:disabled{opacity:.6;cursor:wait}
.p26-report-summary{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.p26-report-summary>div{flex:1;min-width:210px;background:#f6f8fb;border:1px solid #dce4ee;border-radius:6px;padding:16px}.p26-report-summary span,.p26-report-summary small{display:block;font-size:11px;color:#64748b;line-height:1.6}.p26-report-summary strong{display:block;font-size:22px;color:#10264c;margin:5px 0}
.p26-report-result-top{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0}.p26-report-result-top p{font-size:12px;color:#64748b;margin:0}.p26-report-result-top button,.p26-report-drill,.portal26-report .p26-order-pagination button{border:1px solid #d4dfec;background:#fff;border-radius:4px;padding:7px 10px;font-size:12px;color:#10264c;cursor:pointer}.p26-report-drill{white-space:nowrap}
.p26-report-table-wrap{width:100%;overflow:auto;border:1px solid #dce4ee;border-radius:6px}body.portal26-report table.p26-report-table{width:100%!important;margin:0!important;table-layout:auto!important;border-collapse:collapse!important;font-size:12px!important;color:#405978!important}body.portal26-report table.p26-report-table th{background:#f4f7fb!important;color:#10264c!important;text-align:left!important;font-weight:700!important;padding:12px!important;white-space:nowrap!important;height:auto!important;font-size:12px!important;border:0!important;border-bottom:1px solid #dce4ee!important}body.portal26-report table.p26-report-table td{padding:12px!important;border:0!important;border-top:1px solid #e5ebf3!important;vertical-align:middle!important;min-width:100px;word-break:normal!important;overflow-wrap:normal!important;font-size:12px!important;line-height:1.5!important;text-align:left!important}.p26-report-table tr:hover td{background:#fafbfd}body.portal26-report table.p26-report-table th.p26-report-number,body.portal26-report table.p26-report-table td.p26-report-number{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}.p26-report-error{padding:16px;border:1px solid #eab6ae;border-radius:5px;color:#a63d31;background:#fff9f7;font-size:13px}
@media(min-width:1450px){.p26-order-row{grid-template-columns:minmax(175px,1.2fr) 145px minmax(175px,1fr) auto}.p26-order-previews img{width:34px}}
@media(max-width:1050px){.p26-order-row{grid-template-columns:minmax(150px,1fr) 1fr auto}.p26-order-previews{display:none}.p26-order-row .p26-order-primary-actions{flex-wrap:wrap;justify-content:flex-end}.p26-order-row .p26-order-primary-actions>*{flex:none}body.portal26-report #form_ic>.p26-report-filters{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.p26-order-row{grid-template-columns:1fr 1fr;gap:12px}.p26-order-row .p26-order-card-actions{grid-column:1/-1;display:flex;justify-content:space-between}.p26-order-row .p26-order-primary-actions{width:auto}.p26-order-row .p26-order-card-body{display:grid}.p26-history-product{gap:9px}.p26-history-photo{width:44px;flex-basis:44px;height:52px}body.portal26-report #form_ic>.p26-report-filters{grid-template-columns:1fr}body.portal26-report .actions-right{justify-content:flex-start;flex-wrap:wrap}}

body.portal26-report table.p26-report-table .p26-report-field-product_name{min-width:210px!important;color:#10264c!important;font-weight:700!important}body.portal26-report table.p26-report-table .p26-report-field-label{min-width:180px!important}body.portal26-report table.p26-report-table small{display:block;font-size:11px!important;font-weight:400!important;color:#71839b!important;line-height:1.6!important;margin-top:4px}

/* Acceso, recuperación y selección inicial de centro. */
body.p26-auth{margin:0!important;padding:0!important;background:#fff!important;color:#10264c;font-family:Arial,Helvetica,sans-serif;font-size:14px;min-width:0!important}
body.p26-auth *{box-sizing:border-box}
body.p26-auth #form_login{float:none!important;width:100%!important;max-width:520px!important;margin:0 auto!important;padding:28px 34px!important;min-height:0!important;height:auto!important;background:#fff!important}
.p26-auth-logo{display:block;width:145px!important;height:auto!important;max-width:100%;margin:0 0 18px}
body.p26-auth form{margin:0!important;padding:0!important;width:100%!important;float:none!important;border:0!important}
body.p26-auth h1{font-size:29px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.5px;color:#10264c;margin:0 0 8px!important}
body.p26-auth .p26-auth-intro{font-size:17px;line-height:1.5;color:#687e9e;margin:0 0 24px!important}
body.p26-auth label{display:block;font-size:13px;font-weight:700;color:#10264c;margin:16px 0 7px}
.p26-auth-field{display:flex;align-items:center;position:relative}
.p26-auth-field>svg{position:absolute;left:13px;width:19px;height:19px;fill:none;stroke:#7186a6;stroke-width:1.6;pointer-events:none}
body.p26-auth .p26-auth-field input{width:100%!important;max-width:100%!important;height:46px!important;border:1px solid #cbd8e8!important;border-radius:5px!important;background:#fff!important;padding:12px 42px!important;font:14px Arial,Helvetica,sans-serif!important;color:#10264c!important;margin:0!important;box-shadow:none}
body.p26-auth .p26-auth-field input:focus{outline:2px solid rgba(255,127,0,.24)!important;border-color:#ff7f00!important}
body.p26-auth .p26-password-toggle{position:absolute;right:5px;top:5px;display:flex;align-items:center;justify-content:center;width:36px!important;height:36px!important;padding:7px!important;border:0!important;background:transparent!important;color:#7186a6;cursor:pointer;border-radius:4px}
.p26-password-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}.p26-password-toggle[aria-pressed=true]{color:#ff7f00!important;background:#fff5ea!important}
.p26-auth-help{text-align:right;margin:13px 0 22px}.p26-auth-help a{font-size:12px;color:#526d94;text-decoration:underline;text-underline-offset:3px}
body.p26-auth .p26-auth-submit,body.p26-auth .p26-auth-contact{display:flex;align-items:center;justify-content:center;width:100%!important;min-height:45px!important;border:1px solid #ff7f00!important;border-radius:5px!important;padding:12px 16px!important;font:700 14px Arial,Helvetica,sans-serif!important;cursor:pointer;text-align:center;text-decoration:none!important}
body.p26-auth .p26-auth-submit{background:#ff7f00!important;color:#fff!important;margin:20px 0 0!important}
body.p26-auth .p26-auth-contact{background:#fff!important;color:#10264c!important;margin:14px 0 0!important;border-color:#cbd8e8!important}
.p26-auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0 0;color:#7a8da8;font-size:12px}.p26-auth-divider:before,.p26-auth-divider:after{content:"";height:1px;background:#dce4ee;flex:1}
.p26-auth-notice{background:#fff6e9;border:1px solid #ffd6a1;border-radius:5px;padding:10px 12px;margin:14px 0;font-size:12px;line-height:1.5}
body.p26-center-frame{margin:0!important;padding:0!important;background:#fff!important;color:#10264c;font:14px Arial,Helvetica,sans-serif;min-width:0!important}
body.p26-center-frame .portal26-modal-dialog{box-sizing:border-box;width:100%!important;max-width:none!important;height:100vh;max-height:none!important;box-shadow:none;padding:28px!important;border-radius:0}
body.p26-center-frame h1{font-size:26px;font-weight:800;line-height:1.25;margin:0 0 10px;color:#10264c}
body.p26-center-frame form{flex:1;display:flex;flex-direction:column;min-height:0;margin:0}
body.p26-center-frame .portal26-establishment-list{flex:1;max-height:none;min-height:70px}
body.p26-center-frame .portal26-modal-actions{padding-top:18px}
body.portal26-report #form_ic .p26-date-field{position:relative;display:inline-flex;align-items:center;min-width:170px;max-width:100%}
body.portal26-report #form_ic .p26-date-field input[type=date]{width:180px!important;max-width:100%;height:40px!important;padding:9px 34px 9px 10px!important;border:1px solid #cbd8e8!important;border-radius:5px!important;background:#fff!important;color:#10264c;font:13px Arial,Helvetica,sans-serif!important;min-width:0}
body.portal26-report #form_ic .p26-date-trigger{display:none;position:absolute;right:4px;top:3px;width:34px;height:34px;padding:7px;border:0;border-radius:4px;background:transparent;color:#526d94;cursor:pointer}
body.portal26-report #form_ic .has-picker-button .p26-date-trigger{display:flex;align-items:center;justify-content:center}
body.portal26-report #form_ic .has-picker-button input::-webkit-calendar-picker-indicator{opacity:0;pointer-events:none}
.p26-date-trigger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.p26-date-trigger:hover{background:#fff3e6!important;color:#e57400!important}
@media(max-width:520px){body.p26-auth #form_login{padding:25px 22px!important}.p26-auth-logo{width:125px!important}body.p26-auth h1{font-size:26px!important}body.p26-auth .p26-auth-intro{font-size:15px}body.p26-center-frame .portal26-modal-dialog{padding:22px 16px!important}body.p26-center-frame h1{font-size:23px}}

/* Márgenes de pedidos, barra de listas y selector único de fecha. */
body.portal26-order-detail .p26-account-shell>main.p26-account-content,body.portal26-order-history .p26-account-shell>main.p26-account-content{box-sizing:border-box!important;padding:22px!important}
body.portal26-order-detail main.p26-account-content>#content,body.portal26-order-history main.p26-account-content>#content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.portal26-order-detail #frame-detalle-container .my-4{margin-top:20px!important;margin-bottom:0!important}
body.portal26-order-detail #form_confirmacion_pedido{padding:0!important;margin:0!important}
body.portal26-order-detail .p26-order-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px;flex-wrap:wrap;border-top:1px solid #e0e7f0;margin:20px 0 0!important;padding:18px 0 0!important}
.p26-order-cancel-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
body.portal26-order-detail .p26-order-cancel{min-height:40px;padding:10px 16px;border:1px solid #ff7f00;border-radius:5px;background:#ff7f00;color:#fff;font:700 13px Arial,sans-serif;cursor:pointer}
body.portal26-account .p26-list-wrapper>.p26-create-toolbar{display:flex!important;justify-content:flex-start!important;padding:0!important;margin:0 0 18px!important}
body.portal26-report #form_ic .p26-date-field input[type=date]{padding-right:10px!important}
body.portal26-report #form_ic .p26-date-field input::-webkit-calendar-picker-indicator{opacity:1!important;pointer-events:auto!important;cursor:pointer}
@media(max-width:650px){body.portal26-order-detail .p26-account-shell>main.p26-account-content,body.portal26-order-history .p26-account-shell>main.p26-account-content{padding:16px!important}}

body.portal26-order-detail .p26-account-shell>main.p26-account-content{padding:0!important}body.portal26-order-detail #content #contenido{box-sizing:border-box!important;padding:22px!important;margin:0!important}@media(max-width:650px){body.portal26-order-detail #content #contenido{padding:16px!important}}

body.portal26-order-detail #frame-detalle-container .my-4{margin-top:0!important}body.portal26-order-detail #form_confirmacion_pedido>.p26-history-provider:first-child{margin-top:0!important;padding-top:12px}

body.portal26-incident main.p26-account-content{padding:22px!important}body.portal26-incident #content{width:100%!important;padding:0!important;margin:0!important;max-width:none!important}
body.portal26-incident #cuerpo,body.portal26-incident #header_pedidos_detalle{padding:0!important;margin:0!important;border:0!important;width:100%!important}
body.portal26-incident .formulario-item{display:grid!important;grid-template-columns:190px minmax(0,1fr);gap:14px;margin:0 0 18px!important;align-items:start}
body.portal26-incident .formulario-item>.etiqueta,body.portal26-incident .formulario-item>.elemento{width:auto!important;max-width:none!important;flex:none!important;float:none!important;padding:0!important;font-size:13px!important}
body.portal26-incident label{font-size:13px;color:#10264c;font-weight:700;line-height:1.5}
body.portal26-incident .elemento input:not([type=button]),body.portal26-incident select,body.portal26-incident textarea{box-sizing:border-box!important;width:100%!important;border:1px solid #cbd8e8!important;border-radius:5px!important;padding:10px 12px!important;min-height:42px!important;color:#10264c;font:14px Arial,sans-serif!important}
body.portal26-incident textarea{min-height:120px!important;resize:vertical}body.portal26-incident input[readonly],body.portal26-incident textarea[readonly]{background:#f5f7fa!important}
body.portal26-incident input:focus,body.portal26-incident select:focus,body.portal26-incident textarea:focus{outline:2px solid #ff7f003d!important;border-color:#ff7f00!important}
body.portal26-incident .elemento.text-right{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}body.portal26-incident .btn-cancelar{background:#fff!important;color:#10264c!important;border:1px solid #cbd8e8!important}
@media(max-width:650px){body.portal26-incident main.p26-account-content{padding:16px!important}body.portal26-incident .formulario-item{grid-template-columns:1fr;gap:6px}}

body.portal26-incident .elemento input[type=button]{min-height:40px!important;border:1px solid #ff7f00!important;border-radius:5px!important;background:#ff7f00!important;color:#fff!important;padding:10px 16px!important;margin:0!important;font:700 13px Arial,sans-serif!important;cursor:pointer}body.portal26-incident .elemento input.btn-cancelar{background:#fff!important;border-color:#cbd8e8!important;color:#10264c!important}

/* r46: documentos de ayuda y contacto dentro de los modales existentes. */
body.p26-support-frame{margin:0!important;padding:0!important;min-width:0!important;background:#fff!important;color:#10264c;font:14px/1.65 Arial,Helvetica,sans-serif!important;overflow-x:hidden;box-sizing:border-box}
body.p26-support-frame *{box-sizing:border-box}body.p26-support-frame .p26-support-content{width:100%!important;max-width:100%!important;margin:0!important;padding:28px!important;float:none!important}
.p26-support-heading{border-bottom:1px solid #dce4ee;padding-bottom:20px;margin-bottom:22px}.p26-support-heading img{display:block;width:130px!important;height:auto!important;margin:0 0 20px}.p26-support-heading h1{font:800 26px/1.3 Arial,Helvetica,sans-serif!important;color:#10264c!important;margin:0 0 12px!important}.p26-support-heading p{margin:0;color:#617894}
body.p26-support-frame a{color:#d96500;text-decoration:underline;text-underline-offset:3px}.p26-legal-copy{overflow-wrap:anywhere}.p26-legal-copy p,.p26-legal-copy li,.p26-legal-copy span{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.7!important;color:#526d94!important}.p26-legal-copy h1,.p26-legal-copy h2,.p26-legal-copy h3{font-family:Arial,Helvetica,sans-serif!important;color:#10264c!important;line-height:1.4!important;margin:24px 0 12px!important}.p26-legal-copy h1{font-size:22px!important}.p26-legal-copy h2{font-size:19px!important}.p26-legal-copy h3{font-size:17px!important}.p26-legal-copy table{max-width:100%!important;width:100%!important}
.p26-contact-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:26px}.p26-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.p26-contact-field label{display:block;font-weight:700;margin-bottom:6px;color:#10264c}.p26-contact-wide,.p26-contact-consent{grid-column:1/-1}.p26-contact-field input,.p26-contact-field select,.p26-contact-field textarea{width:100%!important;max-width:none!important;min-height:42px;padding:10px 12px!important;border:1px solid #cbd8e8!important;border-radius:5px;background:#fff!important;color:#10264c;font:14px/1.5 Arial,Helvetica,sans-serif!important;margin:0!important}.p26-contact-field textarea{resize:vertical}.p26-contact-field input:focus,.p26-contact-field textarea:focus,.p26-contact-field select:focus{outline:2px solid #ff7f0033!important;border-color:#ff7f00!important}.p26-contact-field .error{border-color:#db293a!important}.p26-contact-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6}.p26-contact-consent input{flex:0 0 auto;margin:4px 0 0;accent-color:#ff7f00}.p26-contact-consent input.error{outline:1px solid #db293a}.p26-contact-submit{justify-self:start;min-height:43px;border:0;border-radius:5px;background:#ff7f00;color:#fff;padding:11px 22px;font:700 14px Arial,Helvetica,sans-serif;cursor:pointer}.p26-contact-address{align-self:start;border:1px solid #dce4ee;border-radius:7px;background:#f7f9fc;padding:17px;overflow-wrap:anywhere}.p26-contact-address h2{font:700 17px/1.4 Arial,Helvetica,sans-serif;margin:0 0 12px}.p26-contact-address p{font-size:13px;margin:15px 0 0}.p26-contact-disclosure{font-size:11px;line-height:1.7;color:#6d7f96;border-top:1px solid #dce4ee;padding-top:20px;margin-top:24px}
@media(max-width:650px){body.p26-support-frame .p26-support-content{padding:22px 18px!important}.p26-contact-layout{grid-template-columns:minmax(0,1fr)}.p26-contact-fields{grid-template-columns:minmax(0,1fr)}.p26-support-heading h1{font-size:23px!important}}

/* r47: cabecera de contacto horizontal y formulario más compacto. */
body.p26-contact-frame .p26-support-heading{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:22px;margin-bottom:18px;padding-bottom:18px}body.p26-contact-frame .p26-support-heading img{width:120px!important;margin:0!important}body.p26-contact-frame .p26-support-heading h1{margin-bottom:8px!important}body.p26-contact-frame .p26-support-heading p{font-size:14px;line-height:1.55}body.p26-contact-frame .p26-contact-disclosure{margin-top:18px;padding-top:14px;font-size:10.5px;line-height:1.55}body.p26-contact-frame .p26-support-content{padding-top:22px!important;padding-bottom:20px!important}@media(max-width:480px){body.p26-contact-frame .p26-support-heading{grid-template-columns:80px minmax(0,1fr);gap:14px}body.p26-contact-frame .p26-support-heading img{width:80px!important}body.p26-contact-frame .p26-support-heading h1{font-size:21px!important}body.p26-contact-frame .p26-support-heading p{font-size:12px}}
