/* V56 — correção consolidada: sem alterar credenciais/API de produção */
*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}.shell,.main,.content,.panel{min-width:0}.main{max-width:100vw}.content{max-width:100%}
.event-home-hero{overflow:hidden}.event-home-hero-grid{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:230px}.event-home-photo{background:#fff;display:grid;place-items:center;border-right:1px solid #eee;padding:22px;min-width:0}.event-home-photo img{display:block;width:100%;height:190px;object-fit:contain;border-radius:16px;background:#fff}.event-home-info{padding:28px 30px;display:flex;flex-direction:column;justify-content:center;min-width:0}.event-home-info h2{overflow-wrap:anywhere}.event-home-info .actions{display:flex;flex-wrap:wrap;gap:8px}
.guest-table-wrap,.table-wrap,.v21-supplier-table{max-width:100%;min-width:0}.guest-master-toolbar>*{min-width:0}.invite-editor-modal{max-width:min(860px,calc(100vw - 24px))!important}.invite-members,.invite-member,.invite-member-status{min-width:0}
@media(max-width:700px){
 html,body,#app,.shell,.main,.content{width:100%!important;max-width:100%!important;min-width:0!important}.main,.main.side-collapsed{margin-left:0!important}.content{padding:12px!important;overflow-x:hidden!important}.top{width:100%;min-width:0;padding-left:12px!important;padding-right:12px!important}.top .search{min-width:0!important;max-width:100%!important;flex:1 1 auto!important}
 .event-home-hero-grid{grid-template-columns:minmax(0,1fr)!important;min-height:0}.event-home-photo{border-right:0;border-bottom:1px solid #eee;padding:14px}.event-home-photo img{width:min(100%,280px);height:auto;max-height:180px}.event-home-info{padding:18px 16px}.event-home-info h2{font-size:24px!important;line-height:1.15;margin:7px 0!important}.event-home-info .actions{display:grid!important;grid-template-columns:1fr!important;width:100%}.event-home-info .actions .btn{width:100%!important;justify-content:center!important;margin:0!important}.home-kpis,.home-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important}.home-kpi,.home-card{min-width:0!important}
 .event-tabs,.subtabs,.v21-supplier-tabs,.invite-modal-tabs{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.event-tabs>*,.subtabs>*,.v21-supplier-tabs>*,.invite-modal-tabs>*{flex:0 0 auto!important}.v21-supplier-tabs{margin-left:0!important;margin-right:0!important}
 .v21-supplier-page,.v21-supplier-content{min-width:0!important;max-width:100%!important}.v21-supplier-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;align-items:stretch!important}.v21-supplier-toolbar .v21-search{grid-column:1/-1!important;width:100%!important;max-width:none!important;min-width:0!important}.v21-supplier-toolbar .spacer{display:none!important}.v21-supplier-toolbar>.btn{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;justify-content:center!important;margin:0!important}.v21-supplier-grid{display:block!important;width:100%!important;max-width:100%!important}.v21-supplier-summary{display:none!important}.v21-supplier-head{display:none!important}.v21-supplier-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;width:100%!important;max-width:100%!important;padding:14px!important}.v21-supplier-row>*{min-width:0!important}.v21-supplier-name{grid-column:1/2!important;overflow-wrap:anywhere}.v21-service-chips{grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important}.v21-supplier-row>.v21-status,.v21-supplier-row>div:nth-child(3){grid-column:1/2!important}.v21-row-actions{grid-column:2/3!important;grid-row:1/2!important;justify-self:end!important}
 .guest-master-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important}.guest-master-toolbar>input,.guest-master-toolbar>select,.guest-master-toolbar>.btn,.guest-master-toolbar>.guest-view-switch,.guest-master-toolbar>.add-guest-wrap{width:100%!important;max-width:100%!important;min-width:0!important}.guest-view-current,.add-guest-wrap>.btn{width:100%!important;justify-content:center!important}.guest-view-menu,.add-guest-menu{left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:100%!important}.guest-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;width:100%!important}.guest-table-wrap table{min-width:720px!important}.guest-row-actions{white-space:nowrap!important}
 .modal-bg{padding:10px!important;align-items:flex-start!important;overflow-y:auto!important}.modal,.invite-editor-modal{width:100%!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important;margin:0!important}.modal .two{grid-template-columns:minmax(0,1fr)!important}.invite-member{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.invite-member-status{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.invite-member-status select{flex:1 1 160px!important;min-width:0!important}.invite-qr-box{max-width:100%!important;overflow:hidden!important}.invite-qr-box canvas,.invite-qr-box img{max-width:100%!important;height:auto!important}
 .rsvp-layout-v15,.v17-rsvp-layout{display:block!important;grid-template-columns:none!important;width:100%!important}.rsvp-side-v15{display:none!important}.rsvp-main-v15{width:100%!important;max-width:100%!important;min-width:0!important}.rsvp-toolbar-v15,.rsvp-header-v15{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.rsvp-table-wrap-v15{overflow-x:auto!important;max-width:100%!important}.rsvp-table-v15{min-width:720px!important}
}
@media(max-width:420px){.content{padding:10px!important}.event-home-photo img{max-height:150px}.event-home-info{padding:15px 13px}.v21-supplier-toolbar{grid-template-columns:1fr!important}.v21-supplier-toolbar .v21-search{grid-column:1!important}.top .install-label{display:none!important}.modal-bg{padding:6px!important}.modal,.invite-editor-modal{max-width:calc(100vw - 12px)!important}.guest-table-wrap table{min-width:660px!important}}
