/* ClickRestaurante 3.34.2 · Perfil del operador conectado. */
.topbar{gap:16px;min-height:70px;height:auto;padding-top:10px;padding-bottom:10px}
.topbar>div:first-child{min-width:0}
.topbar>div:first-child>div:last-child{min-width:0}
.topbar h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-actions{flex-shrink:0;min-width:0}
.profile-menu{position:relative;flex-shrink:0;font-family:inherit}
.profile-trigger{position:relative;appearance:none;display:flex;align-items:center;gap:11px;min-height:54px;max-width:255px;padding:7px 11px;border:1px solid #e6dce9;border-radius:15px;background:#f9f6fb;color:#392945;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.profile-trigger::after{content:"";position:absolute;left:38px;bottom:8px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#15a266}
.profile-trigger:hover,.profile-trigger.is-open{background:#f1eaf5;border-color:#cbbbd2}
.profile-trigger:focus-visible,.profile-action:focus-visible{outline:3px solid #ff8a42;outline-offset:2px}
.profile-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#fff0e5;color:#ad4a0b;font-size:17px;font-weight:850;overflow:hidden}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-trigger-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.profile-trigger-name{display:block;font-size:14px;line-height:1.2;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-trigger-role{font-size:12px;line-height:1.2;color:#75647e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-trigger-chevron{margin-left:auto;align-self:center;font-size:20px;color:#75647e;line-height:1}
.profile-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:80;width:min(350px,calc(100vw - 24px));max-height:min(590px,calc(100dvh - 92px));overflow:auto;border:1px solid #e5dce9;border-radius:18px;background:#fff;color:#382941;box-shadow:0 16px 44px rgba(41,24,52,.18);font-size:14px;text-align:left}
.profile-popover-head{display:flex;gap:13px;align-items:center;padding:19px 19px 16px;background:#faf7fc}
.profile-avatar-large{width:50px;height:50px;flex-basis:50px;border-radius:14px;font-size:20px}
.profile-popover-person{display:flex;flex-direction:column;min-width:0;gap:4px}
.profile-popover-person>strong{font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.profile-popover-person>span:nth-child(2){font-size:13px;color:#76647d}
.profile-active{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#147d4c;font-weight:750}
.profile-active-dot{width:7px;height:7px;border-radius:50%;background:#15a266}
.profile-popover-section{padding:7px 19px 11px;border-top:1px solid #f1ebf3;border-bottom:1px solid #f1ebf3}
.profile-info-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0}
.profile-info-row+.profile-info-row{border-top:1px solid #f5f0f6}
.profile-info-label{color:#75647e;font-size:12px;line-height:1.4}
.profile-info-value{font-size:13px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;text-align:right}
.profile-popover-actions{padding:9px}
.profile-action{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;border:0;border-radius:11px;padding:11px 12px;background:transparent;color:#4b315b;font:inherit;font-size:13.5px;font-weight:700;line-height:1.35;text-align:left;cursor:pointer}
.profile-action:hover{background:#f5eef8}
.profile-action>span:first-child{font-size:17px;width:23px;text-align:center;color:#c46425}
.profile-action-arrow{margin-left:auto;font-size:21px;color:#9d8ba5}
.profile-action-logout{color:#9b3434}
.profile-action-logout:hover{background:#fff0f0}
@media(max-width:1000px){.top-context{display:none}.profile-trigger{max-width:200px}}
@media(max-width:780px){.topbar{padding:9px 12px;gap:8px}.topbar h1{font-size:16px}.top-actions{gap:6px}.profile-trigger{min-height:46px;padding:5px 7px;gap:7px;max-width:180px}.profile-avatar-trigger{width:34px;height:34px;flex-basis:34px;border-radius:10px}.profile-trigger::after{left:32px;bottom:5px}.profile-trigger-name{font-size:12.5px}.profile-trigger-role{font-size:11px}}
@media(max-width:480px){.profile-trigger{max-width:142px;min-height:42px}.profile-trigger-copy{max-width:80px}.profile-trigger-role{display:none}.profile-trigger-chevron{font-size:16px}.topbar h1{font-size:14px}.profile-info-row{grid-template-columns:100px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.profile-trigger{transition:none}}
