/* Ads: soft overview, full-width builder and compact supporting workflows. */
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d){padding:22px!important;padding-bottom:120px!important;border-width:1px!important;box-shadow:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(div,section,aside,article,details,header,footer,form,label){min-width:0;box-shadow:none!important;border-width:1px!important;border-color:var(--sr-line)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(p,small,em){font-size:13px!important;line-height:1.6!important;color:var(--sr-muted)!important;font-style:normal!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(strong,b,h2,h3,span,button){color:var(--sr-ink)!important;-webkit-text-fill-color:currentColor!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) h2{font-size:32px!important;} html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) h3{font-size:22px!important;line-height:1.35!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-workspace-header{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)!important;padding:0!important;border-radius:12px!important;overflow:hidden!important;min-height:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-workspace-header>div{padding:26px!important;min-height:0!important;background:var(--sr-cyan)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-workspace-header>.ads-header-state{background:var(--sr-violet)!important;gap:12px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(button,input,select,textarea){min-height:44px!important;padding:11px 14px!important;border:1px solid var(--sr-line)!important;border-radius:8px!important;box-shadow:none!important;text-transform:none!important;white-space:normal!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) button:not(.ploxy-help-trigger){background:var(--sr-cyan)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) button:disabled{background:#ede9e3!important;color:#736b78!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ploxy-help-trigger{min-height:24px!important;height:24px!important;width:24px!important;padding:0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-command-deck{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr)!important;gap:20px!important;margin:22px 0!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-strip{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:24px!important;padding:24px!important;background:var(--sr-green)!important;border:1px solid var(--sr-line)!important;border-radius:12px!important;min-height:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-strip strong{font-size:24px!important;line-height:1.35!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-self:stretch!important;width:100%!important;gap:12px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-actions button{width:100%!important;min-width:0!important;min-height:48px!important;white-space:nowrap!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-source-backed-plan-button{grid-column:1/-1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-signal-panel{padding:22px!important;background:var(--sr-violet)!important;border-radius:12px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-kpi-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:16px 0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-kpi-grid article{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;padding:12px 0!important;min-height:0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-kpi-grid article>*{grid-column:auto!important;grid-row:auto!important;width:auto!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-kpi-grid strong{font-size:24px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-output{padding:14px!important;background:var(--sr-surface)!important;border:0!important;box-shadow:none!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-launch-runway{padding:0!important;margin:24px 0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-launch-runway>header{padding:0 0 16px!important;gap:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;background:transparent!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip article{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;padding:18px!important;min-height:0!important;border:1px solid var(--sr-line)!important;border-radius:10px!important;background:var(--sr-green)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip article>*{grid-column:auto!important;grid-row:auto!important;width:auto!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip article::before{content:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip strong{font-size:20px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-panel{padding:20px!important;margin-bottom:24px!important;background:var(--sr-peach)!important;border:1px solid var(--sr-line)!important;border-radius:12px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:24px!important;padding:0 0 18px!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-header strong{font-size:20px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-steps article{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:10px!important;min-height:0!important;padding:16px!important;background:var(--sr-surface)!important;border:0!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-steps article>span{grid-column:1!important;grid-row:1!important;background:transparent!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-steps article>div{grid-column:2!important;grid-row:1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-steps article>b{grid-column:2!important;grid-row:2!important;justify-self:start!important;font-weight:500!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-foot{padding:16px 0 0!important;background:transparent!important;border:0!important;gap:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-operating-layout,.ads-build-column,.ads-library-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;padding:0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-draft-builder{padding:0!important;border:1px solid var(--sr-line)!important;background:var(--sr-surface)!important;border-radius:12px!important;overflow:hidden!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-builder-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;padding:22px!important;gap:24px!important;background:var(--sr-green)!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-builder-heading strong{font-size:24px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-builder-heading b{padding:8px 12px!important;border:0!important;border-radius:8px!important;background:var(--sr-surface)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;padding:22px!important;background:transparent!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console>label{display:grid!important;grid-column:span 1!important;grid-row:auto!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console>label.wide-field{grid-column:span 2!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console>label:has(#ads-provider-campaign-id){grid-column:1/-1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) #ads-launch-button{grid-column:1/-1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-builder-footer{display:flex!important;flex-wrap:wrap!important;gap:14px!important;padding:18px 22px!important;background:var(--sr-peach)!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) details{border:0!important;background:transparent!important;border-radius:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) summary{display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;min-height:66px!important;height:auto!important;padding:16px 42px 16px 18px!important;border:0!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) summary>span{display:grid!important;gap:4px!important;min-width:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) summary>b{display:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) summary::after{position:absolute!important;right:20px!important;top:26px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-safety-rail{padding:20px 0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-safety-rail>header{display:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-surface-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;gap:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-surface-card{padding:18px!important;border:0!important;background:var(--sr-green)!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-console{padding:20px 0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;background:transparent!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-agent-response,.ads-agent-side){padding:20px!important;background:var(--sr-violet)!important;border:0!important;border-radius:10px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-recommendations article{padding:12px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--sr-line)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))!important;gap:16px!important;width:100%!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article{padding:14px!important;min-height:0!important;background:var(--sr-surface)!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-form{padding:0!important;background:transparent!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-form textarea{min-height:100px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-shortcuts{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-account-grid{grid-column:1/-1!important;gap:14px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-mcp-panel,.ads-library-body){padding:20px 0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-header{padding:0 0 20px!important;background:transparent!important;border:0!important;gap:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important;gap:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-mcp-card,.ads-account-card){padding:20px!important;min-height:0!important;border:1px solid var(--sr-line)!important;border-radius:10px!important;background:var(--sr-cyan)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-library-body{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-library-lane{padding:0!important;border:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-library-lane>header{padding:18px!important;border:0!important;background:var(--sr-violet)!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.module-list-stack,.module-rule-stack){gap:14px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item{padding:18px!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:14px!important;border:1px solid var(--sr-line)!important;background:var(--sr-surface)!important;border-radius:8px!important;min-height:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item.empty{display:block!important;grid-column:1/-1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item.empty>span,html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item.empty>b{display:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-rule-item{padding:18px!important;background:var(--sr-surface)!important;border:0!important;border-bottom:1px solid var(--sr-line)!important;border-radius:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog{width:min(760px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;padding:22px!important;border:1px solid var(--sr-line)!important;border-radius:12px!important;box-shadow:none!important;background:var(--sr-paper)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;padding:20px!important;border:0!important;border-radius:8px!important;background:var(--sr-violet)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog-header button{white-space:nowrap!important;min-width:70px!important;width:auto!important;height:44px!important;align-self:start!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:18px 0!important;padding:0!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-metrics article{display:flex!important;flex-direction:column!important;gap:8px!important;padding:18px!important;background:var(--sr-cyan)!important;border-radius:8px!important;border:1px solid var(--sr-line)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-results{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-results article{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:12px!important;padding:16px!important;border:0!important;border-bottom:1px solid var(--sr-line)!important;background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-results strong{font-weight:400!important;line-height:1.6!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-boundary{padding:18px!important;background:var(--sr-green)!important;border:0!important;border-radius:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-strip strong{background:transparent!important;box-shadow:none!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item>span{width:32px!important;height:32px!important;box-shadow:none!important;border:0!important;background:var(--sr-peach)!important;border-radius:6px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-mcp-card,.ads-account-card){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;overflow:visible!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-mcp-card,.ads-account-card)>*{grid-column:auto!important;grid-row:auto!important;width:auto!important;max-width:100%!important;min-width:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-card-head{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:10px!important;padding:0!important;border:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-card-head b{font-size:12px!important;font-weight:500!important;max-width:none!important;white-space:nowrap!important;flex:0 0 auto!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-chips span{background:var(--sr-surface)!important;font-size:11px!important;text-transform:none!important;white-space:normal!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-proof{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-proof small{padding:0!important;background:transparent!important;border:0!important;white-space:normal!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding-top:6px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article{display:flex!important;flex-direction:column!important;gap:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article>*{grid-column:auto!important;grid-row:auto!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.module-list-stack,.module-rule-stack){background:transparent!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-actions{flex-direction:row!important;justify-content:flex-start!important;align-self:stretch!important;width:100%!important;max-width:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-actions button{flex:0 1 auto!important;width:auto!important;white-space:nowrap!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.paid-plan-tags em,.paid-plan-budget){border:1px solid var(--sr-line)!important;border-radius:6px!important;box-shadow:none!important;background:var(--sr-peach)!important;text-transform:none!important;padding:6px 10px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .paid-plan-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .paid-plan-empty{display:block!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .paid-plan-empty>span{display:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-strip>div:first-child{display:grid!important;align-content:start!important;gap:12px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-strip>div:first-child>*{margin:0!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-card>strong{text-align:left!important;align-self:stretch!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article>*{width:100%!important;max-width:none!important;overflow-wrap:normal!important;word-break:normal!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article{gap:10px!important;padding:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-agent-status-grid article>span{font-size:12px!important;line-height:1.4!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-account-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-actions{align-self:start!important;justify-content:flex-start!important;width:auto!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-onboarding-actions button{flex:0 0 auto!important;width:auto!important;white-space:nowrap!important;}
@media(max-width:1100px){
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-workspace-header,.ads-command-deck,.ads-onboarding-header){grid-template-columns:minmax(0,1fr)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-proof-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:700px){
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d){padding:12px!important;padding-bottom:140px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-workspace-header>div,.module-hero-strip,.ads-signal-panel,.ads-onboarding-panel,.ads-builder-heading,.ad-launch-console){padding:18px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(#ads-kpi-grid,.ads-proof-strip,.ads-onboarding-steps,.ad-launch-console,.module-surface-grid,.ads-agent-console,.ads-agent-status-grid,.ads-account-grid,.ads-mcp-grid,.ads-action-metrics){grid-template-columns:minmax(0,1fr)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console>label,html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ad-launch-console>label.wide-field{grid-column:1/-1!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-builder-heading{grid-template-columns:minmax(0,1fr)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) summary small{display:none!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item{grid-template-columns:24px minmax(0,1fr)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-work-item>b{grid-column:2!important;justify-self:start!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog{padding:16px!important;}
}

@media(max-width:700px){
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog-header{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:16px!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog-header>button{grid-row:1!important;justify-self:end!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-dialog-header>div{grid-row:2!important;}
}

@media(max-width:700px){
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .module-hero-actions{grid-template-columns:minmax(0,1fr)!important;}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-mcp-actions button{flex:1 1 100%!important;width:100%!important;}
}
/* Review feedback and saved-plan recovery use the current pastel theme. */
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-action-feedback {
  margin: 18px 0; padding: 16px; border: 1px solid var(--sr-line) !important;
  border-radius: 12px; background: var(--sr-green) !important; color: var(--sr-ink) !important;
  font-size: 16px !important; overflow-wrap: anywhere;
}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-action-feedback[data-tone="error"], .ads-field-error) {
  color: #603e2d !important; background: var(--sr-peach) !important;
}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-field-error {
  padding: 8px; border-radius: 6px; font-size: 14px !important;
}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(.ads-action-feedback, .ads-field-error)[hidden] { display: none !important; }
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-plan-search {
  display: grid !important; gap: 8px !important; margin-block: 16px !important;
}
html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) .ads-recovery-actions {
  display: flex !important; flex-wrap: wrap !important; grid-column: 1 / -1 !important; gap: 12px !important;
}
@media(max-width:700px) {
  html body.app-mode #ads-workspace:not(#ref-a):not(#ref-b):not(#ref-c):not(#ref-d) :is(input, select, textarea) {
    font-size: 16px !important;
  }
}
