.pasto-header-cuenta{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
.pasto-header-cuenta>h1{grid-column:1;grid-row:1}.pasto-header-cuenta>p{grid-column:1;grid-row:2}
.pasto-header-cuenta>.pasto-account-controls{grid-column:2;grid-row:1/3;justify-self:end}
header.pasto-header-cuenta,.pasto-perfil-page>header,.pagina-servicios>header:has(.pasto-user-menu){z-index:30}
header .pasto-user-menu{position:relative;flex-shrink:0;font-family:Segoe UI,Arial,sans-serif;color:#fff;z-index:20;text-align:left;font-size:14px;line-height:1.3}
.pasto-user-menu summary{list-style:none;display:flex;gap:10px;align-items:center;cursor:pointer;padding:8px 12px;border:1px solid #ffffff40;border-radius:12px;background:#ffffff10;min-height:58px}
.pasto-user-menu summary::-webkit-details-marker{display:none}.pasto-user-menu summary:hover,.pasto-user-menu[open] summary{background:#ffffff22}.pasto-user-menu summary:focus-visible{outline:2px solid #9edfff;outline-offset:3px}
.pasto-user-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#ffffff15;color:#eaf5ff;flex-shrink:0}
.pasto-user-avatar svg{width:38px;height:38px}.pasto-user-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.pasto-user-label small{display:block;opacity:.8;font-size:11px}.pasto-user-label strong{display:block;font-size:14px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pasto-user-menu .pasto-user-label small{color:inherit}
.pasto-user-chevron{margin-left:8px}.pasto-user-menu[open] .pasto-user-chevron{transform:rotate(180deg)}
.pasto-user-dropdown{position:absolute;right:0;top:calc(100% + 8px);width:240px;max-width:calc(100vw - 32px);padding:8px;background:#fff;border:1px solid #d5e1f0;border-radius:12px;box-shadow:0 15px 40px #102f5c35;color:#183153;z-index:50}
.pasto-user-dropdown .pasto-user-id{display:block;padding:7px 10px 10px;font-size:12px;color:#667b94;border-bottom:1px solid #e3ebf5;margin-bottom:4px}
.pasto-user-dropdown>a,.pasto-user-dropdown button{display:block;width:100%;padding:11px 10px;border:0;border-radius:7px;background:transparent;color:#183153;font:inherit;text-align:left;text-decoration:none;cursor:pointer;box-sizing:border-box}
.pasto-user-dropdown>a:hover,.pasto-user-dropdown button:hover{background:#edf3fc}.pasto-user-dropdown form{margin:0}.pasto-user-dropdown button{color:#aa3030}
.pagina-servicios>header>.right{flex-wrap:wrap;justify-content:flex-end}
.pagina-servicios>header .pasto-user-menu summary{min-height:36px;padding:4px 8px;gap:7px}
.pagina-servicios>header .pasto-user-avatar,.pagina-servicios>header .pasto-user-avatar svg{width:30px;height:30px}
.pagina-servicios>header .pasto-user-label small{font-size:10px}
.pasto-perfil-page{margin:0;background:#f2f6fb;color:#183153;font:15px Segoe UI,Arial,sans-serif}
.pasto-perfil-page>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100vw - 1100px)/2));background:linear-gradient(110deg,#102f5c,#1769e0);color:white}
.pasto-perfil-brand{display:flex;align-items:center;gap:14px;font-size:21px;font-weight:700}.pasto-perfil-brand img{width:116px;border-radius:8px;background:#fff;padding:6px;box-sizing:border-box}
.pasto-perfil-main{width:min(900px,calc(100% - 32px));margin:28px auto}.pasto-perfil-back{color:#16467f;text-decoration:none;display:inline-block;margin-bottom:18px;font-weight:600}
.pasto-perfil-card{background:#ffffffed;border:1px solid #d6e1f0;border-radius:16px;padding:26px;box-shadow:0 15px 40px #102f5c10}.pasto-perfil-card h1{margin:0 0 8px;font-size:26px}
.pasto-perfil-tabs{display:flex;gap:8px;margin:20px 0;border-bottom:1px solid #dbe5f0;padding-bottom:12px;flex-wrap:wrap}.pasto-perfil-tabs a{padding:9px 13px;text-decoration:none;color:#16467f;border-radius:8px;background:#edf3fc}.pasto-perfil-tabs a[aria-current]{color:#fff;background:#1769e0}
.pasto-perfil-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:30px}.pasto-perfil-photo{width:144px;height:144px;border-radius:50%;overflow:hidden;display:grid;place-items:center;margin:4px auto 18px;background:#e6effc;color:#16467f;border:1px solid #cad9ed}.pasto-perfil-photo svg{width:110px;height:110px}.pasto-perfil-photo img{width:100%;height:100%;object-fit:cover}
.pasto-perfil-page .field{margin-bottom:18px}.pasto-perfil-page .field label{display:block;font-weight:600;margin-bottom:7px}.pasto-perfil-page .field input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #cbd8e9;border-radius:8px;background:#fff;color:#183153;font:inherit}.pasto-perfil-page .field input[readonly]{background:#f2f6fb;color:#667b94}
.pasto-perfil-page small,.pasto-perfil-muted{font-size:13px;color:#667b94;line-height:1.5}.pasto-perfil-action{padding:11px 16px;border:0;border-radius:8px;background:#1769e0;color:#fff;font:600 14px Segoe UI,Arial,sans-serif;cursor:pointer}.pasto-perfil-error,.pasto-perfil-success{padding:12px 14px;margin:16px 0;border-radius:8px;line-height:1.4}.pasto-perfil-error{background:#fff0f0;color:#a32323}.pasto-perfil-success{background:#eaf7ef;color:#176c3e}.pasto-perfil-password{max-width:480px}
@media(max-width:700px){.pasto-header-cuenta{grid-template-columns:1fr;gap:12px}.pasto-header-cuenta>.pasto-account-controls{grid-column:1;grid-row:3;justify-self:start}.pasto-perfil-page>header{padding:16px;align-items:flex-start;flex-wrap:wrap}.pasto-perfil-brand{font-size:18px}.pasto-perfil-layout{grid-template-columns:1fr;gap:12px}.pasto-perfil-card{padding:19px}.pasto-perfil-layout>aside{text-align:center}.pagina-servicios>header>.right{justify-content:flex-start}.pasto-user-dropdown{right:0}.pasto-header-cuenta .pasto-user-menu .pasto-user-dropdown{left:0;right:auto}}
@media print{.pasto-user-menu{display:none!important}}

.pasto-account-controls{display:flex;align-items:center;gap:16px;flex-shrink:0}.pasto-user-clock{display:block;text-align:right;color:#eaf5ff;font:12px Segoe UI,Arial,sans-serif;line-height:1.25;white-space:nowrap}.pasto-user-clock>span,.pasto-user-clock>strong,.pasto-user-clock>small{display:block}.pasto-user-clock>strong{font-size:19px;font-weight:600;letter-spacing:.5px;margin:2px 0}.pasto-user-clock>small{font-size:10px;color:#eaf5ff;opacity:.75}.pagina-servicios .pasto-user-clock{font-size:11px}.pagina-servicios .pasto-user-clock>strong{font-size:15px;margin:0}.pagina-servicios .pasto-user-clock>small{display:none}@media(max-width:700px){.pasto-account-controls{gap:12px}.pasto-user-clock{text-align:left}.pasto-user-clock>strong{font-size:16px}.pasto-user-clock>small{display:none}}@media print{.pasto-user-clock{display:none!important}}
