/* MotoPed 0.1.40: perfil compacto, crop verdadeiro e navegação mobile */
.mp-sidebar-bottom{padding:8px 6px 0;gap:7px;min-height:38px}
.mp-sidebar-bottom .mp-avatar{width:28px;height:28px;border-radius:50%;font-size:12px}
.mp-sidebar-bottom .mp-user{min-width:0;flex:1}
.mp-sidebar-bottom .mp-user strong{font-size:12px}
.mp-sidebar-bottom .mp-user span{font-size:12px}
.mp-sidebar-links{gap:2px;scrollbar-width:thin}
.mp-sidebar-links .mp-nav{min-height:38px;padding-top:7px;padding-bottom:7px}
.mp-motoped-brand{min-height:37px}
/* O avatar pessoal não concorre com a marca MotoPed. */
.wb-photo-card.wb-photo-card-0140{display:block;background:var(--mp-raised);padding:12px 14px;margin:14px 0 16px;border-radius:15px;box-shadow:var(--mp-card-shadow)}
.wb-photo-identity{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:55px;text-align:left}
.wb-photo-card-0140 .wb-photo-pick{margin:0;flex:0 0 auto}
.wb-photo-card-0140 .wb-photo-current{width:48px;height:48px;border-radius:50%;font-size:17px}
.wb-photo-description{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.wb-photo-description strong{font-size:13px;color:var(--mp-strong)}
.wb-photo-description small{font-size:12px;color:var(--mp-muted)}
.wb-photo-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.wb-photo-actions .mp-btn{min-height:36px;font-size:12px;padding:8px 12px;margin:0}
.wb-photo-actions [hidden],.wb-photo-card-0140 [hidden]{display:none!important}
.wb-avatar-inline-editor{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:13px;padding:14px 6px 5px;min-width:0}
.wb-avatar-inline-editor[hidden]{display:none!important}
.wb-crop-tip{color:var(--mp-muted);font-size:12px;line-height:1.5;margin:0;text-align:center}
.wb-avatar-stage{height:min(290px,76vw);width:min(290px,76vw);max-width:290px;aspect-ratio:1/1;border-radius:8px;position:relative;overflow:hidden;background:#252c35;touch-action:none;box-shadow:var(--mp-card-shadow)}
.wb-crop-source{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-select:none;pointer-events:none}
.wb-crop-frame{position:absolute;box-sizing:border-box;border:1px solid #fff;outline:1px solid #1c2730;box-shadow:0 0 0 500px rgba(5,8,12,.44);cursor:move;touch-action:none;border-radius:0}
.wb-crop-frame:focus-visible{outline:2px solid white!important}
.wb-crop-lines{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 33.18%,rgba(255,255,255,.35) 33.33%,transparent 33.48%,transparent 66.52%,rgba(255,255,255,.35) 66.67%,transparent 66.82%),linear-gradient(0deg,transparent 33.18%,rgba(255,255,255,.35) 33.33%,transparent 33.48%,transparent 66.52%,rgba(255,255,255,.35) 66.67%,transparent 66.82%)}
.wb-crop-handle{position:absolute;width:11px;height:11px;background:#f5f6f6;border:1px solid #1d2430;box-shadow:0 1px 2px rgba(0,0,0,.4);border-radius:1px;touch-action:none}
.wb-crop-nw{top:-5px;left:-5px;cursor:nwse-resize}.wb-crop-ne{top:-5px;right:-5px;cursor:nesw-resize}.wb-crop-sw{bottom:-5px;left:-5px;cursor:nesw-resize}.wb-crop-se{bottom:-5px;right:-5px;cursor:nwse-resize}
.wb-avatar-buttons{display:flex;justify-content:center;gap:9px;width:100%;max-width:290px}
.wb-avatar-buttons .mp-btn{flex:1;min-height:40px}
.wb-photo-card-0140 .wb-avatar-message{font-size:12px;margin:7px 0 0;min-height:0;text-align:center}
.mp-mobile-navigation{display:none}
.wb-profile-popup button[data-wb-pwa-install]{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:12px;color:var(--mp-ink);border:0;border-radius:9px;padding:9px;background:transparent;cursor:pointer}
.wb-profile-popup button[data-wb-pwa-install]:hover{background:var(--mp-raised-hover)}
.wb-pwa-menu-icon{display:flex;align-items:center;justify-content:center}
@media(max-width:760px){
 .mp-mobile-navigation{display:flex;align-items:center;gap:4px;order:2}
 .mp-mobile-navigation button,.mp-mobile-navigation a{display:grid;place-items:center;width:34px;height:35px;flex:0 0 34px;border:0;border-radius:10px;background:var(--mp-raised);color:var(--mp-ink);cursor:pointer;text-decoration:none}
 .mp-mobile-navigation .mp-icon{width:18px;height:18px}
 .mp-topbar{display:flex;flex-wrap:wrap;gap:8px 10px;padding:9px 12px}
 .mp-topbar-start{order:0;flex:1 0 100%;width:100%;min-width:0;gap:6px}
 .mp-mobile-menu{order:0;flex:0 0 35px;width:35px;height:35px}
 .wb-global-search{order:3;flex:1;min-width:65px;width:auto}
 .wb-search-field{min-height:35px}
 .wb-search-field input{font-size:12px}
 .wb-top-shortcuts{order:1;flex:0 0 auto}
 .mp-topbar-actions{order:2;margin-left:auto}
 .mp-sidebar{overflow:hidden}
 .mp-sidebar-links{flex:0 1 auto;min-height:0;overflow-y:auto}
 .mp-motoped-brand{flex:1 1 50px;min-height:32px}
 .mp-sidebar-bottom{padding-top:5px}
}
@media(max-width:420px){
 .wb-photo-identity{flex-wrap:wrap}
 .wb-photo-description{flex:1 1 auto}
 .wb-photo-actions{width:100%;justify-content:flex-start;padding-left:60px}
 .mp-topbar-start{gap:4px}
 .mp-mobile-navigation{gap:3px}
 .mp-mobile-navigation button,.mp-mobile-navigation a{width:32px;height:34px;flex-basis:32px}
}
@media(max-height:710px){
 .mp-sidebar-head{min-height:52px;margin-bottom:3px}
 .mp-brand .mp-brand-logo{height:52px;max-height:52px}
 .mp-sidebar-links .mp-nav{min-height:34px;padding-top:5px;padding-bottom:5px}
 .mp-motoped-brand{min-height:29px;flex-basis:34px}
 .mp-sidebar-bottom{padding-top:4px}
}

/* 0.1.41 — único avatar pessoal no cabeçalho; sidebar reservada ao MotoPed. */
.mp-sidebar .mp-sidebar-bottom{display:none!important}
.mp-sidebar-head{margin-bottom:15px!important;min-height:83px!important}
.mp-sidebar .mp-brand{max-width:74%}
.mp-sidebar .mp-brand .mp-brand-logo{height:69px;max-height:69px}
.mp-sidebar-links{margin-top:0}
.mp-motoped-brand{margin-top:auto}
@media(max-width:760px){
 .mp-sidebar-head{min-height:80px!important;margin-bottom:13px!important}
 .mp-sidebar .mp-brand .mp-brand-logo{height:66px;max-height:66px}
 .wb-search-field input{font-size:12px!important;min-width:0}
 .mp-sidebar-links .mp-nav{min-height:36px;padding-top:6px;padding-bottom:6px}
}
@media(max-height:670px){
 .mp-sidebar-head{min-height:63px!important;margin-bottom:7px!important}
 .mp-sidebar .mp-brand .mp-brand-logo{height:52px;max-height:52px}
 .mp-motoped-brand{min-height:34px;flex-basis:38px}
 .mp-sidebar-links .mp-nav{min-height:33px;padding-top:4px;padding-bottom:4px}
}
