/* v0.5.47: scoped, neutral, responsive integration controls. */
#appShell #integrationsView .re498-gauge{flex:none!important;width:110px!important;height:110px!important;min-width:110px!important;min-height:110px!important;display:block!important;overflow:visible!important}
#appShell #integrationsView .re498-gauge .re500-ring{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;transform:rotate(-90deg)!important;transform-origin:50% 50%!important;overflow:visible!important}
#appShell #integrationsView .re498-gauge>div{inset:0!important;width:100%!important;height:100%!important;background:transparent!important;pointer-events:none}
#appShell #integrationsView .re498-switch:disabled{cursor:not-allowed!important;opacity:.65}
#appShell #integrationsView .re559-acceptance{border:1px solid var(--re498-line);border-radius:10px;padding:12px 15px;margin:8px 0 16px;background:var(--re500-panel);color:var(--re500-ink)}
#appShell #integrationsView .re559-acceptance summary{cursor:pointer;font-weight:650;font-size:13px}
#appShell #integrationsView .re559-acceptance p{font-size:12px;line-height:1.5;margin:9px 0;color:var(--re498-muted)}
#appShell #integrationsView .re559-acceptance-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}
#appShell #integrationsView .re559-acceptance-actions :is(button,select){font:inherit;font-size:12px;padding:8px 12px;min-height:34px;border-radius:8px;border:1px solid var(--re500-border);color:var(--re500-ink);background:var(--re500-panel-alt)}
#appShell #integrationsView .re559-acceptance-actions #re559AcceptanceCapture{background:var(--re500-blue);color:#fff;border-color:var(--re500-blue)}
#appShell #integrationsView .re559-acceptance-actions button:disabled{opacity:.6;cursor:not-allowed}
#appShell #integrationsView .re498-more{cursor:pointer}
#appShell #integrationsView .re500-dialog{width:min(700px,calc(100vw - 24px))!important;max-height:90dvh!important;overflow:hidden!important}
#appShell #integrationsView .re500-dialog-shell{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;max-height:90dvh;overflow:hidden}
#appShell #integrationsView .re500-dialog-header{padding:22px 24px 16px;flex:none;border-bottom:1px solid var(--re500-border)}
#appShell #integrationsView .re500-dialog-summary{padding:14px 24px 0;flex:none}
#appShell #integrationsView .re500-dialog-body{padding:16px 24px;overflow:auto;min-height:0;flex:1;display:flex!important;flex-direction:column;gap:12px!important;overscroll-behavior:contain}
#appShell #integrationsView .re500-dialog-body>*{flex:none;min-width:0}
#appShell #integrationsView .re500-dialog-feedback{padding:0 24px;margin:0!important;flex:none}
#appShell #integrationsView .re500-dialog-feedback:empty{display:none}
#appShell #integrationsView .re500-dialog-footer{padding:13px 24px!important;margin:0;flex:none;background:var(--re500-panel)}
#appShell #integrationsView .re500-dialog-section,#appShell #integrationsView .re547-advanced{display:grid;gap:9px;padding:15px;border:1px solid var(--re500-border);border-radius:12px;background:var(--re500-panel-alt);min-width:0}
#appShell #integrationsView .re500-dialog-section :is(h3,p){margin:0;line-height:1.5}
#appShell #integrationsView .re500-dialog-section h3{font-size:16px!important;letter-spacing:-.015em}
#appShell #integrationsView .re500-dialog-section p{font-size:13px!important}
#appShell #integrationsView .re500-dialog-body :is(details,summary){min-width:0}
#appShell #integrationsView .re500-dialog-body details:not([open])>:not(summary){display:none!important}
#appShell #integrationsView .re500-dialog-body summary{cursor:pointer;font-weight:650;font-size:13px;color:var(--re500-ink);padding:7px 0;line-height:1.4}
#appShell #integrationsView .re547-advanced>div{display:grid;gap:9px}
#appShell #integrationsView .re547-advanced .re500-dialog-section{padding:10px 0 0;border:0;background:transparent}
#appShell #integrationsView .re500-dialog-body :is(button:not(.re500-close)){font:inherit;font-size:13px!important;font-weight:700!important;min-height:36px!important;padding:8px 14px!important;border:1px solid var(--re500-blue)!important;border-radius:8px!important;background:var(--re500-blue)!important;color:#fff!important;width:max-content;max-width:100%;cursor:pointer;white-space:normal}
#appShell #integrationsView .re500-dialog-body :is(button.outline-button,button.woo-danger,#disconnectGoogle,#adsDisconnect){background:transparent!important;color:var(--re500-ink)!important;border-color:var(--re500-border)!important}
#appShell #integrationsView .re500-dialog-body button:disabled{opacity:.5;cursor:not-allowed!important}
#appShell #integrationsView .re500-dialog-body :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%;min-width:0;min-height:39px;padding:8px 10px;border:1px solid var(--re500-border);border-radius:8px;background:var(--re500-panel);color:var(--re500-ink);font:inherit;box-sizing:border-box}
#appShell #integrationsView .re500-dialog-section label{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.5}
#appShell #integrationsView .re500-dialog-section details label:not(:has(input[type=checkbox])){display:grid;margin:9px 0;gap:4px}
#appShell #integrationsView .re500-dialog-body input[type=checkbox]{width:16px;height:16px;flex:none;accent-color:var(--re500-blue);margin:2px 0 0}
#appShell #integrationsView .re500-dialog-body [hidden]{display:none!important}
#appShell #integrationsView .re500-dialog-section .re695-setup-steps{padding:10px 12px;border-left:3px solid #17B7C5;border-radius:6px;background:var(--re500-panel);color:var(--re500-ink);font-weight:650}
#appShell #integrationsView .re500-dialog-section .re695-consent-select{display:grid;gap:5px;align-items:start}
#appShell #integrationsView .re500-dialog-section .re695-policy-help{padding-left:2px;color:var(--re500-ink)}
#appShell #integrationsView #re500ConnectionDialog[data-provider=ga4] :is(label[for=gscProperty],#gscProperty),#appShell #integrationsView #re500ConnectionDialog[data-provider=gsc] :is(label[for=ga4Property],#ga4Property){display:none!important}
#appShell #integrationsView .re500-dialog-body #adsAccountPanel .re547-advanced[open]{display:grid;gap:8px}
#appShell #integrationsView .re500-dialog-body .re500-info{padding:13px 15px!important;margin:0!important}
#appShell #ownerCustomersView .re547-owner-diagnostics{padding:18px;margin:14px 0}
#appShell #ownerCustomersView .re547-owner-diagnostics>summary{font-weight:750;cursor:pointer;line-height:1.5}
#appShell #ownerCustomersView .re547-owner-diagnostics>summary small{font-weight:400;margin-left:8px;color:var(--re-muted,#8b929a)}
#appShell #ownerCustomersView .re547-owner-diagnostics:not([open])>.re498-crm-readiness{display:none!important}
@media(max-width:570px){#appShell #integrationsView .re498-gauge{width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important}#appShell #integrationsView .re500-dialog-header,#appShell #integrationsView .re500-dialog-body,#appShell #integrationsView .re500-dialog-summary,#appShell #integrationsView .re500-dialog-footer{padding-left:14px!important;padding-right:14px!important}#appShell #integrationsView .re500-dialog-summary{grid-template-columns:1fr 1fr!important}#appShell #integrationsView .re500-dialog-summary strong{font-size:11px}}
