/* Orbizzy consumer interface — consistency and accessibility audit */
:root{--qa-outline:#383c41;--qa-subtle:#e7eaed;--qa-muted:#65707c}
body.orbizzy-premium-panel{font-synthesis:none;-webkit-font-smoothing:antialiased}
body.orbizzy-premium-panel .page{width:100%;box-sizing:border-box}
body.orbizzy-premium-panel .content,body.orbizzy-premium-panel .card,body.orbizzy-premium-panel .grid2 > *,body.orbizzy-premium-panel .grid3 > *,body.orbizzy-premium-panel .stats > *{min-width:0}
body.orbizzy-premium-panel .content{overflow-wrap:break-word}
body.orbizzy-premium-panel .content :where(svg.inline-icon,.row > svg){display:block;flex:0 0 20px;width:20px;height:20px;stroke-width:1.8;fill:none;vertical-align:middle}
body.orbizzy-premium-panel .sidebar .side-link{display:flex;align-items:center;gap:10px;min-height:39px;box-sizing:border-box;line-height:1.35;border-radius:8px;text-decoration:none}
body.orbizzy-premium-panel .sidebar .side-link svg{display:block;width:17px!important;height:17px!important;min-width:17px;max-width:17px;flex:0 0 17px;stroke-width:1.8;fill:none;vertical-align:middle}
body.orbizzy-premium-panel .sidebar .side-link:focus-visible{outline:2px solid #191b1d;outline-offset:2px}
body.orbizzy-premium-panel .sidebar .side-link.active{font-weight:720}
body.orbizzy-premium-panel .card{border:1px solid var(--qa-subtle);box-shadow:0 2px 8px rgba(16,24,40,.025);border-radius:10px}
body.orbizzy-premium-panel .card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0}
body.orbizzy-premium-panel .card-head > div:first-child{min-width:0;flex:1}
body.orbizzy-premium-panel .card-head h2{line-height:1.3}
body.orbizzy-premium-panel .card-head p{line-height:1.55}
body.orbizzy-premium-panel .card-head > a:not(.btn){flex:0 0 auto;max-width:100%}
body.orbizzy-premium-panel .content .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:break-word;text-align:center;min-height:38px;text-decoration:none;cursor:pointer}
body.orbizzy-premium-panel .content .actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
body.orbizzy-premium-panel .content .field{min-width:0}
body.orbizzy-premium-panel .content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0}
body.orbizzy-premium-panel .content .field > label{display:block;font-weight:660;margin-bottom:6px}
body.orbizzy-premium-panel .content input:disabled{cursor:not-allowed;opacity:.75}
body.orbizzy-premium-panel .content .pref{gap:16px;min-width:0;align-items:center}
body.orbizzy-premium-panel .content .pref-copy{min-width:0;flex:1}
body.orbizzy-premium-panel .content .pref .switch{flex:0 0 auto}
body.orbizzy-premium-panel .content .row{min-width:0;align-items:center;gap:10px}
body.orbizzy-premium-panel .content .row-main{min-width:0;flex:1}
body.orbizzy-premium-panel .content :where(.row-main strong,.row-main span,.pref-copy strong,.pref-copy span){overflow-wrap:anywhere}
body.orbizzy-premium-panel .profile-photo{display:flex;flex-wrap:wrap;align-items:center;gap:20px;min-width:0}
body.orbizzy-premium-panel .profile-photo > *{min-width:0;max-width:100%}
body.orbizzy-premium-panel .photo-controls{flex:1 1 230px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;max-width:100%}
body.orbizzy-premium-panel .photo-controls input[type=file]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:13px;white-space:normal}
body.orbizzy-premium-panel .photo-controls .actions{justify-content:flex-start!important}
body.orbizzy-premium-panel #locale-preferences-feedback{margin:5px 0 0;line-height:1.5;grid-column:1/-1}
body.orbizzy-premium-panel .orbi-account-trigger :where(.orbi-account-mini-avatar,img){object-fit:cover}
body.orbizzy-premium-panel .account-welcome-grid strong{overflow-wrap:anywhere}
body.orbizzy-premium-panel .history-real .history-chip{max-width:100%;overflow-wrap:anywhere}
body.orbizzy-premium-panel .empty{min-width:0}
body.orbizzy-premium-panel .orbi-header .orbi-search button:focus-visible,
body.orbizzy-premium-panel .orbi-header-mobile button:focus-visible{outline:2px solid #141414;outline-offset:2px}
@media(max-width:860px){
 body.orbizzy-premium-panel .page{padding-inline:clamp(11px,3vw,22px)}
 body.orbizzy-premium-panel .content :where(.card,.stat){min-width:0}
 body.orbizzy-premium-panel .layout>.sidebar{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important}
 body.orbizzy-premium-panel .layout>.sidebar .side-link{min-height:46px;gap:11px}
 body.orbizzy-premium-panel .layout>.sidebar .side-section{max-width:none}
 body.orbizzy-premium-panel .drawer-close{display:flex;align-items:center;gap:12px}
 body.orbizzy-premium-panel .drawer-heading{flex:1;min-width:0}
 body.orbizzy-premium-panel .drawer-x{flex:0 0 35px}
}
@media(max-width:420px){
 body.orbizzy-premium-panel .card-head{flex-wrap:wrap}
 body.orbizzy-premium-panel .content .btn{min-height:40px}
 body.orbizzy-premium-panel .profile-photo{align-items:flex-start;gap:16px}
 body.orbizzy-premium-panel .photo-controls{flex-basis:100%;width:100%}
 body.orbizzy-premium-panel .photo-controls .actions{width:100%;gap:8px}
 body.orbizzy-premium-panel .photo-controls .actions .btn{flex:1 1 auto;min-width:0}
 body.orbizzy-premium-panel .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.orbizzy-premium-panel .grid2,body.orbizzy-premium-panel .grid3{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){body.orbizzy-premium-panel *,body.orbizzy-premium-panel *::before,body.orbizzy-premium-panel *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Foto: seletor de arquivo consistente em português e sem botão duplicado. */
body.orbizzy-premium-panel .visually-hidden-photo-input{position:absolute!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
body.orbizzy-premium-panel .photo-picker-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;width:100%}
body.orbizzy-premium-panel .btn-photo-picker{background:#262a2f;color:#fff;border:1px solid #262a2f;padding:9px 14px;font-weight:690;border-radius:7px;cursor:pointer;min-height:40px;display:inline-flex;align-items:center}
body.orbizzy-premium-panel .btn-photo-picker:hover{background:#41464c}
body.orbizzy-premium-panel .visually-hidden-photo-input:focus-visible + .photo-picker-row .btn-photo-picker{outline:3px solid #2e3439;outline-offset:3px}
body.orbizzy-premium-panel .photo-file-name{font-size:12px;color:#626d76;overflow-wrap:anywhere;min-width:0;max-width:100%}
