/* IYES CHAT v3.5.3-r5 */
.v353r5-channelbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.v353r5-channelbar .v353-channel-chip{cursor:pointer}.v353r5-channelbar .active{font-weight:900;border-color:#2563eb;background:rgba(37,99,235,.10)}.v353r5-channel-label{font-size:10px!important;font-weight:800!important}
.v353r5-hub{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:16px!important;border:1px solid rgba(59,130,246,.25)!important;background:linear-gradient(135deg,rgba(59,130,246,.07),rgba(99,102,241,.04))!important}.v353r5-hub h2{margin:0 0 4px}.v353r5-hub p{margin:0}.v353r5-plan-install{margin-left:6px}
.v353r5-modal-install{grid-column:1/-1!important;width:100%;box-sizing:border-box;margin:14px 0}.v353r5-editor{border:1px solid rgba(59,130,246,.30);border-radius:14px;padding:14px;background:rgba(59,130,246,.055);display:grid;gap:12px}.v353r5-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v353r5-editor-head>div{display:grid;gap:3px}.v353r5-editor-head small{color:var(--muted,#64748b)}.v353r5-editor-head>span{font-size:12px;font-weight:800;padding:5px 8px;border-radius:999px;background:rgba(59,130,246,.10);white-space:nowrap}.v353r5-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v353r5-grid .span2{grid-column:1/-1}.v353r5-check{display:flex;gap:8px;align-items:flex-start;font-size:13px}.v353r5-locations{border-top:1px solid rgba(148,163,184,.25);padding-top:10px}.v353r5-locations summary{cursor:pointer;font-weight:800}.v353r5-location-list{display:grid;gap:8px;margin-top:10px}.v353r5-location-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.1fr) 110px minmax(160px,1.5fr);gap:8px;align-items:center}.v353r5-location-row b{font-size:12px}.v353r5-location-row select,.v353r5-location-row input{min-width:0}.v353r5-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.v353r5-actions .muted{font-size:12px}.v353r5-actions .ok{color:#15803d!important;font-weight:700}
@media(max-width:820px){.v353r5-channelbar{flex-wrap:nowrap;overflow-x:auto}.v353r5-hub,.v353r5-editor-head,.v353r5-actions{display:grid!important;grid-template-columns:1fr}.v353r5-grid{grid-template-columns:1fr}.v353r5-grid .span2{grid-column:auto}.v353r5-location-row{grid-template-columns:1fr}}

/* r6: modal autônomo da instalação */
body.v353r6-modal-open{overflow:hidden!important}
.v353r6-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(15,23,42,.56);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;backdrop-filter:blur(2px)}
.v353r6-dialog{width:min(980px,96vw);max-height:min(900px,92dvh);background:var(--panel,#fff);color:var(--text,#0f172a);border:1px solid rgba(148,163,184,.4);border-radius:18px;box-shadow:0 25px 80px rgba(15,23,42,.28);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.v353r6-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.28);background:var(--panel,#fff)}
.v353r6-dialog-head>div{display:grid;gap:3px}.v353r6-dialog-head b{font-size:20px}.v353r6-dialog-head small{color:var(--muted,#64748b)}
.v353r6-close{width:40px;height:40px;border-radius:12px;border:1px solid rgba(148,163,184,.45);background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer}
.v353r6-dialog-body{overflow:auto;padding:16px 18px 22px;-webkit-overflow-scrolling:touch}
.v353r6-loading{padding:28px;text-align:center;color:var(--muted,#64748b)}
.v353r6-plan-picker{margin-bottom:14px}
body:not(.theme-light) .v353r6-dialog,body:not(.theme-light) .v353r6-dialog-head{background:#0e1d39;color:#e5edf8}
@media(max-width:820px){.v353r6-overlay{padding:0;align-items:stretch}.v353r6-dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.v353r6-dialog-head{padding-top:max(14px,env(safe-area-inset-top))}.v353r6-dialog-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
