/* Ajustes responsive finales, después de los estilos del portal. */
@media(max-width:900px){
 .customer-portal .portal-frame--signed{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account" "header header" "content content";grid-template-rows:auto auto 1fr;padding-bottom:0}
 .customer-portal .portal-frame--signed .portal-account-menu{background:#112c4d;border-bottom:0;padding:10px 14px 10px 4px;align-items:center}
 .customer-portal .portal-frame--signed .portal-account-menu summary{background:#ffffff12;color:#fff;border:1px solid #ffffff26;min-height:44px;padding:5px 8px;gap:7px}
 .customer-portal .portal-frame--signed .portal-account-menu summary>i{background:transparent;color:#d9eaff;padding:3px;font-size:21px}
 .customer-portal .portal-frame--signed .portal-account-menu summary>.bi-chevron-down{font-size:11px;color:#b9cee6}
 .customer-portal .portal-account-menu summary>span{display:none}
 .customer-portal .portal-account-dropdown{right:12px;top:calc(100% - 4px);max-width:calc(100vw - 24px)}
 .customer-portal .portal-frame--signed .portal-shell-brand{padding:14px;min-width:0;min-height:72px}
 .customer-portal .portal-shell-brand img{max-width:64px;max-height:44px}
 .customer-portal .portal-frame--signed .portal-header{min-height:0;padding:10px 14px}
 .customer-portal .portal-header-search{width:100%;max-width:none;margin:0;min-width:0}
 .customer-portal .portal-header-search input{width:100%;min-width:0;font-size:16px}
 .customer-portal .portal-frame--signed .portal-content{box-sizing:border-box;padding:18px 14px calc(90px + env(safe-area-inset-bottom,0px));min-width:0}
 .customer-portal .portal-frame--signed .portal-nav{box-sizing:border-box;position:fixed;inset:auto 0 0;width:100%;display:flex;flex-direction:row;gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));z-index:40}
 .customer-portal .portal-nav a{flex:1;min-width:0;min-height:58px;padding:6px 2px;gap:4px;font-size:11px;line-height:1.2;flex-direction:column;text-align:center;border-radius:9px}
 .customer-portal .portal-nav a i{font-size:20px}
 .customer-portal .portal-nav a span{display:block}
 .customer-portal .portal-card-head{gap:10px;flex-wrap:wrap}
 .customer-portal .portal-card-head h2{margin:0;min-width:0}
 .customer-portal .portal-home-history{font-size:12px;gap:10px;justify-content:flex-start}
 .customer-portal .portal-home-feature-links{margin-left:0;width:100%;gap:12px;flex-wrap:wrap}
 .customer-portal .portal-home-feature-links a,.customer-portal .portal-home-feature-links button{min-height:40px;display:inline-flex;align-items:center}
 .customer-portal .portal-home-grid,.customer-portal .portal-account-grid,.customer-portal .portal-detail-columns{grid-template-columns:minmax(0,1fr)}
 .customer-portal .portal-row-title,.customer-portal .portal-row-title strong,.customer-portal .portal-summary-details dd{min-width:0;overflow-wrap:anywhere}
 .customer-portal .portal-recipient-actions{flex-wrap:wrap;gap:8px 16px}
 .customer-portal .portal-recipient-actions a,.customer-portal .portal-recipient-actions button{min-height:40px;display:inline-flex;align-items:center}
 .customer-portal .portal-support{flex-wrap:wrap;gap:10px;overflow-wrap:anywhere}
}
@media(max-width:650px){
 .customer-portal .portal-card{padding:16px}
 .customer-portal .portal-home-feature{padding:0}
 .customer-portal .portal-page-heading h1{font-size:24px}
 .customer-portal .portal-page-heading{gap:12px}
 .customer-portal .portal-card .portal-filters{grid-template-columns:minmax(0,1fr)}
 .customer-portal .portal-card input:not([type=checkbox]):not([type=radio]),.customer-portal .portal-card select,.customer-portal .portal-card textarea,.customer-portal .portal-standard-modal input,.customer-portal .portal-standard-modal select,.customer-portal .portal-auth-panel input:not([type=hidden]){font-size:16px}
 .customer-portal .portal-account-grid .portal-profile form{grid-template-columns:minmax(0,1fr);gap:16px}
 .customer-portal .portal-detail-columns .portal-summary-details,.customer-portal .portal-shipment-grid{grid-template-columns:minmax(0,1fr)}
 .customer-portal .portal-request-summary>.portal-status{grid-column:1;grid-row:auto;justify-self:start}
 .customer-portal .portal-actions{gap:8px 14px;flex-wrap:wrap}
 .customer-portal .portal-actions>*{max-width:100%;white-space:normal}
 .customer-portal .portal-row-date{white-space:normal}
 .customer-portal .portal-standard-modal{max-height:calc(100dvh - 24px);width:calc(100% - 24px);box-sizing:border-box}
 .customer-portal .portal-standard-modal .portal-modal-footer{flex-wrap:wrap}
 .customer-portal .portal-standard-modal .portal-modal-footer button{min-height:44px}
 .customer-portal .portal-standard-modal .portal-modal-close{width:44px;height:44px;min-height:44px}
 .customer-portal .portal-standard-modal .portal-repeat-options{max-height:none}
 .customer-portal .portal-assistant-header{padding:12px;gap:10px}
 .customer-portal .portal-assistant-header h2{font-size:18px}
 .customer-portal .portal-assistant-close{width:44px;height:44px;flex-shrink:0}
}
@media(max-width:360px){.customer-portal .portal-shell-brand{gap:8px}.customer-portal .portal-shell-brand>span{font-size:14px}.customer-portal .portal-home-history{width:100%}.customer-portal .portal-standard-modal .portal-pickup{flex-wrap:wrap}}
