html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .panel-header{background:#d3e8ed!important;border:1px solid #bfb1cc!important;box-shadow:2px 2px 0 #cec2d8!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .panel-header>div{background:#d3e8ed!important;padding:24px!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .panel-header h2{font-size:32px!important;line-height:1.15!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(.polxy-header-boundary,.seo-command-result){background:#e2d7ed!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(.seo-command-brief,.seo-evidence-intro){background:#dae9ed!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(.polxy-header-boundary,.seo-command-brief,.seo-command-result,.seo-evidence-intro) :is(h2,h3,strong,p,small,span,b){color:#342d3d!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(button,input,select,textarea,article,details){border-width:1px!important;box-shadow:1px 2px 0 #d1c7d9!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) summary{background:#e6dcf0!important;color:#342d3d!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) summary :is(span,strong,small){color:#342d3d!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) button{background:#cde4eb!important;color:#342d3d!important;}
#project-readiness-seo{margin-top:24px;margin-bottom:20px;}

html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(.provider-output,.seo-performance-trends-heading,.module-work-item>span){background:#e7deef!important;color:#423749!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-performance-trends-heading *{color:#423749!important;}

/* Unify remaining legacy borders and shadows, retaining distinct section colours. */
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(div,section,aside,article,header,details,button,input,select,textarea){box-shadow:none!important;border-width:1px!important;border-color:#c5bbcd!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) :is(.seo-command-hero,.seo-evidence-ledger){background:#f3eee6!important;border-radius:12px!important;box-shadow:1px 2px 0 #d7cfdc!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-command-brief{background:#e4ebd4!important;border-radius:10px!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-command-result{background:#f1dfcf!important;border-radius:10px!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-evidence-intro{background:#e3dcef!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-query-bar{background:#fffaf3!important;border-radius:8px!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-serp-card{background:#fffaf3!important;border-radius:8px!important;}
html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) #project-readiness-seo{background:#e4edf1!important;}

html body.app-mode [data-view-section="seo"]:not(#seo-soft-1):not(#seo-soft-2):not(#seo-soft-3) .seo-performance-trends-heading > span{color:#71647d!important;background:#eee7f4!important;font-weight:500!important;}

/* SEO refinement: retain its full workflow and evidence with softer, roomier surfaces. */
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d){padding:22px 22px 180px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(div,section,aside,article,header,form,label,details,button,input,select,textarea){box-shadow:none!important;border-width:1px!important;border-color:var(--sr-line)!important;min-width:0;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(span,li,td){font-weight:400!important;line-height:1.55!important;color:var(--sr-ink)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.eyebrow,.polxy-boundary-label){font-weight:500!important;text-transform:none!important;letter-spacing:.02em!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) > .panel-header{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(250px,.75fr)!important;padding:0!important;border-radius:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) > .panel-header > div{padding:26px!important;background:var(--sr-cyan)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) > .panel-header h2{font-size:30px!important;line-height:1.22!important;letter-spacing:-.02em!important;max-width:25ch!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .polxy-header-boundary{padding:26px!important;gap:14px!important;background:var(--sr-violet)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-module-status{font-size:20px!important;line-height:1.4!important;letter-spacing:normal!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-project-picker{display:grid!important;gap:8px!important;max-width:360px!important;margin-top:18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(input,select,textarea){width:100%!important;max-width:100%!important;min-height:46px!important;padding:12px!important;border-radius:8px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) button:not(.ploxy-help-trigger){min-height:44px!important;border-radius:8px!important;padding:11px 16px!important;white-space:normal!important;word-break:normal!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-command-hero,.seo-evidence-ledger,.seo-phase-disclosure,.seo-performance-trends-section){border-radius:12px!important;overflow:hidden!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-command-hero,.seo-evidence-ledger){gap:20px!important;padding:20px!important;background:var(--sr-paper)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-command-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-command-brief,.seo-command-result,.seo-evidence-intro){padding:24px!important;gap:16px!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-command-brief{background:var(--sr-green)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-command-result{background:var(--sr-peach)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-evidence-intro{background:var(--sr-violet)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-command-brief > strong{font-size:26px!important;line-height:1.3!important;letter-spacing:-.02em!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-query-bar,.seo-serp-card){display:grid!important;grid-template-columns:1fr!important;padding:18px!important;gap:12px!important;background:var(--sr-surface)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-query-bar > *{grid-column:1!important;grid-row:auto!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-serp-card strong{font-size:21px!important;line-height:1.4!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #project-readiness-seo{padding:24px!important;margin:0!important;background:var(--sr-cyan)!important;border-radius:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #project-readiness-seo h2{font-size:22px!important;line-height:1.3!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .project-score-comparison{gap:18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .project-score-reading{padding:18px!important;background:var(--sr-surface)!important;border:1px solid var(--sr-line)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(#seo-kpi-grid,.seo-proof-strip,.seo-site-metrics,.seo-completion-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(#seo-kpi-grid,.seo-proof-strip,.seo-site-metrics,.seo-completion-grid) > :is(article,span){display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;padding:18px!important;background:var(--sr-cyan)!important;border:1px solid var(--sr-line)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(#seo-kpi-grid,.seo-proof-strip,.seo-completion-grid) > article:nth-child(even){background:var(--sr-green)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-proof-strip{margin-top:16px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-evidence-ledger{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(#website-execution-foundation-panel,.seo-performance-trends-heading){padding:24px!important;background:var(--sr-cyan)!important;border-radius:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #website-execution-foundation-panel{background:var(--sr-surface)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .website-provider-picker{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:14px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .website-provider-picker > button{padding:18px!important;gap:8px!important;text-align:left!important;background:var(--sr-green)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .website-provider-picker > button:nth-child(even){background:var(--sr-cyan)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .website-provider-picker > button[aria-pressed=true]{background:var(--sr-violet)!important;outline:1px solid #867195!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .website-provider-empty{padding:18px!important;background:var(--sr-peach)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-performance-trends-heading h3{font-size:24px!important;line-height:1.35!important;letter-spacing:-.02em!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-performance-trends-heading > span{background:var(--sr-violet)!important;border:0!important;text-transform:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-performance-unavailable{background:var(--sr-paper)!important;padding:22px!important;gap:16px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-performance-unavailable > strong{font-size:22px!important;line-height:1.4!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure{height:auto!important;min-height:0!important;max-height:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary{display:grid!important;grid-template-columns:115px minmax(0,1fr) minmax(160px,.65fr) 12px!important;gap:18px!important;padding:20px!important;height:auto!important;min-height:88px!important;max-height:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary > span{padding:0!important;background:transparent!important;border:0!important;font-size:13px!important;text-transform:none!important;letter-spacing:normal!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary > strong{font-size:17px!important;line-height:1.4!important;letter-spacing:normal!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary > small{display:block!important;font-size:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary::after{position:static!important;grid-column:4!important;grid-row:1!important;justify-self:end!important;align-self:center!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-content{padding:22px!important;gap:20px!important;background:var(--sr-surface)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-card,.seo-intelligence-card,.seo-completion-card){padding:22px!important;background:var(--sr-paper)!important;border-radius:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-card,.seo-intelligence-card,.seo-completion-card) > header{padding:20px!important;background:var(--sr-green)!important;gap:16px!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-card,.seo-intelligence-card,.seo-completion-card) > header strong{font-size:23px!important;line-height:1.35!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-form,.seo-completion-actions,.seo-intelligence-card > footer){display:flex!important;flex-wrap:wrap!important;gap:12px!important;padding:20px 0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-url-label{flex:1 1 100%!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form input{flex:1 1 320px!important;width:auto!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-intelligence-card > footer button{flex:1 1 190px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-chips,.seo-intelligence-chips){display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:18px 0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-chips,.seo-intelligence-chips) > span{padding:7px 10px!important;background:var(--sr-surface)!important;border-radius:6px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-chips,.seo-intelligence-chips) > .is-live{background:var(--sr-green)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-empty,.seo-intelligence-body,.seo-opportunity-map,.seo-draft-package,.seo-token-box){padding:20px!important;margin-top:18px!important;background:var(--sr-surface)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-opportunity-map,.seo-draft-package) > header{background:var(--sr-violet)!important;padding:18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-action-console,.seo-pipeline-grid,.seo-implementation-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-action-console > button,.seo-pipeline-grid > article,.seo-implementation-grid > article){padding:22px!important;background:var(--sr-green)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-action-console > button,.seo-pipeline-grid > article):nth-child(even){background:var(--sr-cyan)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog{width:min(780px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;padding:24px!important;border:1px solid var(--sr-line)!important;border-radius:14px!important;background:var(--sr-paper)!important;box-shadow:0 18px 60px #352e4026!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog .outreach-action-dialog-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:start!important;padding:20px!important;background:var(--sr-violet)!important;border-radius:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog .outreach-action-dialog-header::after{content:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog [aria-label="Close SEO action preview"]{width:auto!important;min-width:70px!important;white-space:nowrap!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:20px 0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-metrics > article{padding:16px!important;background:var(--sr-cyan)!important;border-radius:8px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-results > article{padding:16px!important;gap:12px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-results strong{font-weight:400!important;line-height:1.6!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-results > article > span{background:var(--sr-green)!important;border:0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-boundary{padding:18px!important;background:var(--sr-green)!important;color:var(--sr-ink)!important;border-radius:8px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .outreach-action-dialog-buttons{display:flex!important;gap:12px!important;flex-wrap:wrap!important;}
@media(max-width:1000px){html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-command-hero,.seo-evidence-ledger, .panel-header){grid-template-columns:1fr!important;}}
@media(max-width:700px){html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d){padding:14px 14px 150px!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-phase-content,.seo-command-hero,.seo-evidence-ledger,.seo-command-brief,.seo-command-result,.seo-evidence-intro,.seo-site-card,.seo-intelligence-card,.seo-completion-card,#project-readiness-seo,#website-execution-foundation-panel){padding:18px!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-action-console,.seo-pipeline-grid,.seo-implementation-grid,.project-score-comparison){grid-template-columns:1fr!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary{grid-template-columns:minmax(0,1fr) 12px!important;gap:8px 14px!important;padding:18px!important;min-height:110px!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary > :is(span,strong,small){grid-column:1!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-phase-disclosure > summary::after{grid-column:2!important;grid-row:1 / span 3!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog{padding:18px!important;}}

/* Refine nested legacy badges and the crowded research capability cards. */
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(span,b,small,p){border-color:var(--sr-line)!important;box-shadow:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-site-card,.seo-intelligence-card,.seo-completion-card,.seo-opportunity-map,.seo-draft-package) > header > b{background:var(--sr-violet)!important;border:1px solid var(--sr-line)!important;border-radius:6px!important;padding:8px 12px!important;text-transform:none!important;font-weight:500!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-intelligence-body{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-intelligence-body > div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;background:transparent!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-intelligence-body small{padding:14px!important;background:var(--sr-cyan)!important;border-radius:8px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-intelligence-body > p{border:0!important;padding:0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog [aria-label="Close SEO action preview"]::after,html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-action-dialog [aria-label="Close SEO action preview"]::before{content:none!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) :is(.seo-saved-empty,.seo-suggestion-label){padding:14px!important;background:var(--sr-paper)!important;border-radius:8px!important;}

/* Review controls preserve the established SEO palette and disclosure stages. */
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form{display:grid!important;grid-template-columns:minmax(0,1fr) 110px auto auto!important;align-items:end!important;gap:10px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form .seo-site-url-label{grid-column:1!important;grid-row:1!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form .seo-site-limit-label{grid-column:2!important;grid-row:1!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form input{grid-row:2!important;width:100%!important;min-width:0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form button{grid-row:2!important;min-height:44px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-budget-note{font-size:13px!important;line-height:1.6!important;color:var(--sr-muted)!important;margin:12px 0 18px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,.45fr)!important;gap:14px!important;margin:0 0 14px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-controls label{display:grid!important;gap:8px!important;font-size:14px!important;font-weight:600!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-controls :is(input,select){min-height:44px!important;min-width:0!important;width:100%!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-count{margin:12px 0!important;color:var(--sr-muted)!important;font-size:14px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-pagination{display:flex!important;justify-content:space-between!important;gap:12px!important;margin-top:16px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-pagination button{min-height:44px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list .module-agent-output{grid-template-columns:44px minmax(0,1fr) auto!important;gap:14px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list :is(small,strong){overflow-wrap:anywhere!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list button{min-height:44px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-output[data-seo-tone="error"]{border:1px solid #ba8f88!important;background:#f3e4e0!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-output[data-seo-tone="success"]{border:1px solid #8aa69d!important;background:#e2ede7!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) button:disabled{opacity:.6!important;cursor:default!important;}
@media(max-width:620px){
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form{grid-template-columns:minmax(0,1fr) 110px!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-site-form button{grid-row:3!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) .seo-saved-controls{grid-template-columns:minmax(0,1fr)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list .module-agent-output{grid-template-columns:40px minmax(0,1fr)!important;}
html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list .module-agent-output button{grid-column:2!important;justify-self:start!important;}
}

html body.app-mode #seo-control-room:not(#seo-a):not(#seo-b):not(#seo-c):not(#seo-d) #seo-pipeline-list .module-agent-output small{display:block!important;font-size:13px!important;line-height:1.6!important;margin-top:6px!important;}
