/* Same neutral graphite surfaces, blue buttons, and green success accents as fixed Impact. */
#appShell #conversionGoalsView #re539Tracked{grid-column:1/-1}
.re541-goal-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid var(--re539-border);padding:14px 0}.re541-goal-row span{font-weight:700;color:#d9a63b}.re541-goal-row span[data-status=verified]{color:var(--re539-green)}.re541-goal-row span[data-status=paused]{color:var(--re539-muted)}.re541-goal-row button{border:1px solid var(--re539-border);background:var(--re539-raised);color:var(--re539-text);border-radius:6px;padding:7px 10px;cursor:pointer}
.re541-impact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;--re539-muted:inherit}.re541-impact>h3,.re541-impact #re539Overview{grid-column:1/-1}.re541-impact .re539-card{border:1px solid #80808042;border-radius:12px;padding:16px;background:var(--re505-card,#8080800d);min-width:0}.re541-impact .re539-card-head h3{margin:0 0 5px}.re541-impact .re539-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.re541-impact .re539-status-strip>div{display:grid;padding:10px;border:1px solid #80808042;border-radius:8px}.re541-impact .re539-trend{height:140px;display:flex;align-items:flex-end;gap:3px}.re541-impact .re539-trend i{background:#00b8e9;flex:1}.re541-impact .re539-axis,.re541-impact .re539-recent-row{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 0}.re541-impact #re526Module{border:0!important;background:transparent!important;padding:0!important}.re541-impact #re526Module>.re526-heading{display:none}
@media(max-width:720px){.re541-goal-row{grid-template-columns:1fr 1fr}.re541-impact{grid-template-columns:1fr}.re541-impact .re539-status-strip{grid-template-columns:1fr}}
#appShell #conversionGoalsView .re539-dashboard{--re539-card:#1c1f22;--re539-raised:#24282c;--re539-border:#393d42;--re539-text:#f4f6f7;--re539-muted:#aeb7c0;--re539-blue:#109dc9;--re539-green:#22db68;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;max-width:1800px;margin:0 auto 26px;color:var(--re539-text);line-height:1.4}
#appShell[data-theme=light] #conversionGoalsView .re539-dashboard,html[data-theme=light] #appShell #conversionGoalsView .re539-dashboard,body[data-theme=light] #appShell #conversionGoalsView .re539-dashboard,[data-appearance=light] #conversionGoalsView .re539-dashboard,.light-mode #conversionGoalsView .re539-dashboard,body.light #conversionGoalsView .re539-dashboard{--re539-card:#fff;--re539-raised:#f3f5f7;--re539-border:#dce1e5;--re539-text:#20252a;--re539-muted:#606b75;--re539-green:#168c4c}
#appShell #conversionGoalsView .re539-dashboard[hidden],#appShell #conversionGoalsView #re355GoalGrid[hidden]{display:none!important}
#appShell #conversionGoalsView :is(.re539-header,#re539Overview,#re539Advanced){grid-column:1/-1}
#appShell #conversionGoalsView .re539-header{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:4px 2px}
#appShell #conversionGoalsView .re539-header h2{font-size:clamp(22px,2vw,29px);margin:0;font-weight:760;letter-spacing:-.035em}
#appShell #conversionGoalsView .re539-header p,.re539-card small{color:var(--re539-muted);font-size:12px;margin:4px 0 0}
#appShell #conversionGoalsView .re539-card{background:var(--re539-card);border:1px solid var(--re539-border);border-radius:11px;padding:17px;min-width:0;color:var(--re539-text);box-shadow:none;align-self:start}
#appShell #conversionGoalsView .re539-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:13px}
#appShell #conversionGoalsView .re539-card-head h3{font-size:18px;margin:0;font-weight:750;letter-spacing:-.02em}
#appShell #conversionGoalsView .re539-actions{display:flex;gap:8px;flex-wrap:wrap}
#appShell #conversionGoalsView .re539-actions button,#appShell #conversionGoalsView #re539Close{padding:9px 14px;border:1px solid var(--re539-border);border-radius:8px;background:var(--re539-raised);color:var(--re539-text);font-size:12px;font-weight:700;cursor:pointer}
#appShell #conversionGoalsView .re539-actions .re539-primary{background:var(--re539-blue);border-color:var(--re539-blue);color:#fff}
#appShell #conversionGoalsView .re539-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
#appShell #conversionGoalsView .re539-status-strip>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--re539-border);background:var(--re539-raised);padding:12px;border-radius:8px;min-width:0}
#appShell #conversionGoalsView .re539-status-strip strong{font-size:20px;line-height:1.15;overflow-wrap:anywhere;color:var(--re539-text)}
#appShell #conversionGoalsView .re539-status-strip span{font-size:11px;color:var(--re539-muted)}
#appShell #conversionGoalsView .re539-trend{height:186px;display:flex;align-items:flex-end;justify-content:space-between;gap:3px;border-bottom:1px solid var(--re539-border);padding:5px 3px 0;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--re539-border) calc(25% - 1px),var(--re539-border) 25%)}
#appShell #conversionGoalsView .re539-trend>i{flex:1;min-width:0;border-radius:4px 4px 0 0;background:var(--re539-blue);display:block;min-height:0;align-self:flex-end}
#appShell #conversionGoalsView .re539-trend>i:last-child{background:var(--re539-green)}
#appShell #conversionGoalsView .re539-trend>span{margin:auto;align-self:center;color:var(--re539-muted);font-size:12px;text-align:center}
#appShell #conversionGoalsView .re539-axis{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--re539-muted);margin-top:8px}
#appShell #conversionGoalsView #re539Lead #re526Module,#appShell #conversionGoalsView #re539Tracked .re528-inventory,#appShell #conversionGoalsView #re539Tracked .re355-module{border:0!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;min-height:0!important;height:auto!important}
#appShell #conversionGoalsView #re539Lead .re526-heading,#appShell #conversionGoalsView #re539Lead #re526Module>.re526-sub,#appShell #conversionGoalsView #re539Lead #re526QualityBar,#appShell #conversionGoalsView #re539Lead #re527Help,#appShell #conversionGoalsView #re539Lead #re526Module>.re526-caption{display:none!important}
#appShell #conversionGoalsView #re539Lead .re527-automatic{padding:0;background:transparent;border:0;margin:0}
#appShell #conversionGoalsView #re539Tracked .re528-inventory{margin-bottom:17px!important}
#appShell #conversionGoalsView #re539Tracked .re528-forms{grid-template-columns:minmax(0,1fr)}
#appShell #conversionGoalsView #re539DialogBody .re355-module,#appShell #conversionGoalsView #re539AdvancedBody .re355-module,#appShell #conversionGoalsView #re539Tracked .re355-module{--re355-text:var(--re539-text);--re355-muted:var(--re539-muted);--re355-border:var(--re539-border)}
#appShell #conversionGoalsView #re539Tracked .re355-module h2{font-size:14px;margin:12px 0 8px}
#appShell #conversionGoalsView #re539AdvancedBody>.re355-module{padding:16px!important}
#appShell #conversionGoalsView #re539Tracked .re528-inventory>.re526-sub{display:none}
#appShell #conversionGoalsView #re539Tracked .re528-form{background:var(--re539-raised);border-color:var(--re539-border)}
#appShell #conversionGoalsView .re539-recent-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,1fr) minmax(100px,1fr);gap:10px;align-items:center;border-top:1px solid var(--re539-border);padding:11px 0;font-size:13px}
#appShell #conversionGoalsView .re539-recent-row small{margin:0;overflow-wrap:anywhere}
#appShell #conversionGoalsView .re539-recent-row strong:last-child{color:var(--re539-blue);text-align:right;font-size:12px}
#appShell #conversionGoalsView .re539-advanced>summary{font-weight:720;cursor:pointer;font-size:14px}
#appShell #conversionGoalsView #re539AdvancedBody>.re355-module{margin:12px 0 0!important;min-height:0!important;height:auto!important;background:var(--re539-raised)!important;border-color:var(--re539-border)!important}
#appShell #conversionGoalsView #re539Dialog{width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:18px;border:1px solid var(--re539-border);border-radius:12px;background:var(--re539-card);color:var(--re539-text);overflow:auto;box-shadow:0 15px 50px #0005}
#appShell #conversionGoalsView #re539Dialog::backdrop{background:#0009}
#appShell #conversionGoalsView .re539-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
#appShell #conversionGoalsView #re539DialogBody>.re355-module{background:transparent!important;border:0!important;padding:8px 0!important;min-height:0!important;height:auto!important;box-shadow:none!important}
#appShell #conversionGoalsView #re539DialogBody .re355-goal-create>h2{display:none}
#appShell #conversionGoalsView #re539DialogBody .re355-bridge{border-top:1px solid var(--re539-border)!important;margin-top:12px;padding-top:12px!important}
#appShell #conversionGoalsView .re539-dashboard :focus-visible{outline:2px solid var(--re539-blue);outline-offset:3px}
@media(max-width:850px){#appShell #conversionGoalsView .re539-dashboard{grid-template-columns:minmax(0,1fr)}#appShell #conversionGoalsView .re539-status-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){#appShell #conversionGoalsView .re539-card{padding:12px}#appShell #conversionGoalsView .re539-status-strip{grid-template-columns:minmax(0,1fr)}#appShell #conversionGoalsView .re539-recent-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}#appShell #conversionGoalsView .re539-recent-row strong:last-child{grid-column:1/-1;text-align:left}#appShell #conversionGoalsView #re539DialogBody #newConversionGoal{grid-template-columns:minmax(0,1fr)}}
