/* Keep the original Polxy design, layout and motion. One hue per intake surface. */
html body.app-mode #project-dialog { background: #d9d1f2 !important; }
html body.app-mode #project-dialog .project-core-card { background: #eff7b6 !important; }
html body.app-mode #project-dialog .project-import-card { background: #c9edf2 !important; }
html body.app-mode #project-dialog .project-brand-kit-card { background: #e5dcf6 !important; }
html body.app-mode #project-dialog .project-url-intelligence { background: #d7eef1 !important; }
html body.app-mode #project-dialog .project-upload-box { background: #fff7ed !important; }
.project-website-findings { margin-top: 16px; }
.project-website-findings details { margin-top: 10px; padding: 10px; border: 1px solid currentColor; border-radius: 8px; }
.project-website-findings summary { cursor: pointer; font-weight: 750; }
.project-website-findings li { margin: 10px 0; line-height: 1.5; }
.project-website-findings li strong { display: block; }
.project-website-findings a { overflow-wrap: anywhere; }
html body.app-mode #project-dialog .project-intake-form { background: #d9d1f2 !important; }
/* Preserve the original coloured cards; suppress only redundant/no-data sections. */
html body.app-mode [data-view-section="dashboard"] [data-dashboard-omit] { display: none !important; }
html body.app-mode [data-view-section="dashboard"] .hero-performance { background: #c9edf2 !important; }
html body.app-mode [data-view-section="dashboard"] [data-decision-tone="progress"] { background: #e2d4fa !important; }
html body.app-mode [data-view-section="dashboard"] [data-decision-tone="attention"] { background: #ffe0ad !important; }
html body.app-mode [data-view-section="dashboard"] [data-decision-tone="next"] { background: #d6e9e6 !important; }
html body.app-mode[data-active-view="dashboard"] #global-project-summary,
html body.app-mode[data-active-view="dashboard"] .dashboard-current-project-analysis > span:nth-child(2),
html body.app-mode[data-active-view="dashboard"] .dashboard-current-project-analysis > span:nth-child(3) { display: none !important; }
html body.app-mode[data-active-view="dashboard"] main [data-view-section="dashboard"] .dashboard-command-center [data-dashboard-omit] { display: none !important; }
html body.app-mode[data-active-view="dashboard"] .app-shell main [data-view-section="dashboard"] .dashboard-command-center > .polxy-standard-header {
  min-height: 0 !important; padding: 18px 22px !important; background: #c9edf2 !important;
}
html body.app-mode[data-active-view="dashboard"] .app-shell main [data-view-section="dashboard"] .dashboard-command-center .hero-performance { background: #c9edf2 !important; }
html body.app-mode[data-active-view="dashboard"] .app-shell main [data-view-section="dashboard"] .dashboard-command-center [data-decision-tone="progress"] { background: #e2d4fa !important; }
html body.app-mode[data-active-view="dashboard"] .app-shell main [data-view-section="dashboard"] .dashboard-command-center [data-decision-tone="attention"] { background: #ffe0ad !important; }
html body.app-mode[data-active-view="dashboard"] .app-shell main [data-view-section="dashboard"] .dashboard-command-center [data-decision-tone="next"] { background: #d6e9e6 !important; }
/* Project attention precedes performance; measurement can be expanded when useful. */
html body.app-mode[data-active-view="dashboard"] .app-shell main .dashboard-command-center .dashboard-measurement-disclosure { display: block !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-measurement-disclosure .dashboard-truth-section { display: none !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-command-center .dashboard-measurement-disclosure > summary {
  display: flex !important;
  min-height: 56px;
}
html body.app-mode[data-active-view="dashboard"] .dashboard-command-center > .polxy-standard-header { height: auto !important; min-height: 0 !important; max-height: 100px !important; background-image: none !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-command-center > .polxy-standard-header::before,
html body.app-mode[data-active-view="dashboard"] .dashboard-command-center > .polxy-standard-header::after { display: none !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-analytics-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-intelligence-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
html body.app-mode[data-active-view="dashboard"] .dashboard-chart-stage { min-height: 210px; }
@media(max-width:760px) {
 html body.app-mode[data-active-view="dashboard"] .dashboard-analytics-grid,
 html body.app-mode[data-active-view="dashboard"] .dashboard-intelligence-grid { grid-template-columns: minmax(0,1fr) !important; }
}
#dashboard-outcome-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:16px 0; }
#dashboard-outcome-kpis article { display:grid; gap:8px; padding:16px; border:2px solid #101116; border-radius:10px; background:#e2d4fa; box-shadow:3px 3px 0 #101116; }
#dashboard-outcome-kpis article:nth-child(2) { background:#c9edf2; }
#dashboard-outcome-kpis article:nth-child(3) { background:#d6e9e6; }
#dashboard-outcome-kpis article:nth-child(4) { background:#ffe0ad; }
#dashboard-outcome-kpis strong { font-size:28px; }
#dashboard-outcome-kpis small { font-size:12px; }
.dashboard-empty-axes { width:100%; height:80px; }
.dashboard-website-score-graphs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.dashboard-website-score-graphs meter { width:100%; height:20px; accent-color:#6645b7; }
@media(max-width:760px) { #dashboard-outcome-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } .dashboard-website-score-graphs { grid-template-columns:1fr; } }

/* Lighter depth while retaining Polxy's coloured surfaces and outlined controls. */
html body.app-mode #project-dialog {
  border-width: 2px;
  box-shadow: 3px 3px 0 #25233266, 0 18px 60px #17152426 !important;
}
html body.app-mode #project-dialog .project-intake-hero {
  background: #d9d1f2 !important;
  border-bottom: 2px solid #81749f;
}
html body.app-mode #project-dialog .project-intake-hero :is(h2, .eyebrow) { color: #211b32 !important; }
html body.app-mode #project-dialog .project-intake-hero p { color: #494158 !important; }
html body.app-mode #project-dialog :is(.project-intake-card, .project-agent-panel, .project-url-intelligence, .project-agent-fill-row, .project-upload-box, input, textarea, select, button) {
  box-shadow: 2px 2px 0 #25233266 !important;
  border-width: 2px;
}
html body.app-mode[data-active-view="dashboard"] .app-shell :is(.topbar, .topbar-title h1, .topbar-title > div, .dashboard-current-project, .dashboard-command-center, .dashboard-command-center > .polxy-standard-header, .dashboard-support-disclosure, .dashboard-decision-card, .hero-performance, .primary-action, .secondary-action),
html body.app-mode[data-active-view="dashboard"] #dashboard-outcome-kpis article {
  box-shadow: 2px 2px 0 #25233280 !important;
}
/* The square source logo must not inherit the avatar's minimum image height. */
html body.app-mode[data-active-view="dashboard"] .topbar-title .signature-mark {
  display: grid !important;
  place-items: center !important;
  grid-template-rows: minmax(0, 1fr);
  padding: 8px !important;
  box-sizing: border-box;
  box-shadow: 2px 2px 0 #67d5e8 !important;
}
html body.app-mode[data-active-view="dashboard"] #topbar-project-logo {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  align-self: center;
  justify-self: center;
  transform: none !important;
}

/* Mission setup shares the readable, solid pastel surfaces of project setup. */
html body.app-mode #mission-create-dialog.mission-create-dialog,
html body.app-mode #mission-create-dialog .mission-dialog-form {
  background: #f5f0fc !important;
  color: #211b32 !important;
  opacity: 1 !important;
}
html body.app-mode #mission-create-dialog .mission-dialog-hero,
html body.app-mode #mission-create-dialog .mission-dialog-actions {
  background: #d9d1f2 !important;
  color: #211b32 !important;
  border-color: #81749f !important;
}
html body.app-mode #mission-create-dialog .mission-dialog-hero h2 { color: #211b32 !important; text-shadow: none !important; }
html body.app-mode #mission-create-dialog .mission-dialog-hero p { color: #494158 !important; }
html body.app-mode #mission-create-dialog .mission-dialog-window-actions .icon-button {
  background: #fff7ed !important;
  color: #211b32 !important;
  border: 1.5px solid #81749f !important;
}
html body.app-mode #mission-create-dialog .mission-dialog-scroll { background: #f5f0fc !important; }
html body.app-mode #mission-create-dialog .mission-agentic-project-bar {
  background: #c9edf2 !important;
  border-color: #7faab1 !important;
}
html body.app-mode #mission-create-dialog .mission-agentic-project-bar :is(strong, span, p) { color: #244650 !important; }
html body.app-mode #mission-create-dialog .mission-dialog-section {
  background: #eff7b6 !important;
  border: 1px solid #b0b984 !important;
  border-radius: 12px !important;
}
html body.app-mode #mission-create-dialog .mission-agentic-summary { background: #e0eda0 !important; }
html body.app-mode #mission-create-dialog .mission-agentic-advanced,
html body.app-mode #mission-create-dialog .mission-agentic-advanced > summary { background: #e5dcf6 !important; }
html body.app-mode #mission-create-dialog .mission-agentic-advanced .mission-dialog-section { background: #e8e1f5 !important; }
html body.app-mode #mission-create-dialog .mission-dialog-fields :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  background-color: #fffaf2 !important;
  color: #211b32 !important;
}
html body.app-mode #mission-create-dialog .mission-dialog-output {
  background: #c9edf2 !important;
  color: #244650 !important;
  box-shadow: 2px 2px 0 #25233266 !important;
}

/* A restrained offset edge gives mission setup the same tactile character. */
html body.app-mode #mission-create-dialog.mission-create-dialog {
  border: 1.5px solid #393144 !important;
  box-shadow: 3px 3px 0 #39314480, 0 16px 40px #17152420 !important;
}
html body.app-mode #mission-create-dialog :is(.mission-dialog-section, .mission-agentic-project-bar, .mission-agentic-advanced) {
  box-shadow: 2px 2px 0 #39314466 !important;
}
html body.app-mode #mission-create-dialog :is(.mission-dialog-actions, .mission-dialog-window-actions) button {
  box-shadow: 2px 2px 0 #39314499 !important;
}
html body.app-mode #mission-create-dialog :is(.mission-dialog-actions, .mission-dialog-window-actions) button:active {
  box-shadow: 1px 1px 0 #39314499 !important;
}

/* Mission heading must override the legacy white text fill. */
html body.app-mode #mission-create-dialog #mission-create-title { color: #08090d !important; -webkit-text-fill-color: #08090d !important; text-shadow: none !important; }

#mission-reviewed-work-plan { background:#e7f3ee; border:1px solid #aabbb1; border-radius:10px; padding:14px; margin:12px 0; color:#17231e; }
#mission-reviewed-work-plan p { margin:7px 0; font-size:13px; }

/* Dashboard refinement: retain charts and pastel identity, remove cramped nesting. */
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(section,article,header,footer,div,button,input,select,textarea) { min-width:0; box-shadow:none!important; border-color:var(--sr-line)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(h2,h3,h4,strong,b) { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; font-weight:600!important; line-height:1.4!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(p,small,footer) { color:var(--sr-muted)!important; -webkit-text-fill-color:var(--sr-muted)!important; line-height:1.6!important; font-size:13px!important; font-weight:400!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(button,input,select,textarea) { font-size:14px!important; line-height:1.5!important; font-weight:500!important; border-radius:8px!important; border-width:1px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace button { background:var(--sr-cyan)!important; color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; padding:10px 14px!important; min-height:44px!important; white-space:normal!important; text-transform:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace button.active { background:var(--sr-violet)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace select { appearance:none!important; padding:10px 40px 10px 12px!important; min-height:44px!important; background-color:var(--sr-surface)!important; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2375697f' stroke-width='1.5'/%3E%3C/svg%3E")!important; background-repeat:no-repeat!important; background-position:right 12px center!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-command-center { padding:0!important; border:0!important; background:transparent!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-command-center > .polxy-standard-header { display:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-measurement-disclosure { border:0!important; padding:0!important; background:transparent!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-support-body { padding:0!important; border:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-analytics-workspace { background:transparent!important; border:0!important; padding:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-analytics-grid,.dashboard-intelligence-grid) { gap:20px!important; align-items:start!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-card,.dashboard-intelligence-card) { padding:20px!important; border:1px solid var(--sr-line)!important; border-radius:12px!important; background:var(--sr-cyan)!important; min-height:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-funnel-card,.dashboard-channel-card) { background:var(--sr-green)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-target-card,.dashboard-comparison-card) { background:var(--sr-violet)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-diagnosis-card { background:var(--sr-peach)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-card,.dashboard-intelligence-card) > header { display:flex!important; flex-wrap:wrap!important; gap:12px!important; align-items:flex-start!important; margin-bottom:16px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-card,.dashboard-intelligence-card) > header > div { flex:1 1 210px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-card,.dashboard-intelligence-card) > footer { margin-top:14px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-chart-empty { min-height:0!important; padding:20px!important; display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:12px!important; text-align:left!important; background:var(--sr-surface)!important; border:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-empty-axes { display:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-stage,.dashboard-funnel,.dashboard-channel-comparison):has(.dashboard-chart-empty) { min-height:0!important; height:auto!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-trend-card,.dashboard-funnel-card,.dashboard-channel-card):has(.dashboard-chart-empty) > footer { display:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis { grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:16px!important; margin:20px 0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis article { border:1px solid var(--sr-line)!important; padding:18px!important; background:var(--sr-violet)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis article:nth-child(2) { background:var(--sr-cyan)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis article:nth-child(3) { background:var(--sr-green)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis article:nth-child(4) { background:var(--sr-peach)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-range-controls,.dashboard-series-controls,.dashboard-intelligence-actions) { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-intelligence-actions button { flex:1 1 165px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-comparison-metrics { grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr))!important; gap:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-comparison-metrics article { background:var(--sr-surface)!important; padding:14px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-diagnosis-list article { background:transparent!important; border:0!important; padding:12px 0!important; gap:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-form { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-form label:first-child { grid-column:1/-1!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-form :is(input,select) { width:100%!important; min-height:44px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-setup { padding:0!important; border:0!important; background:transparent!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-setup > div:first-child > span { display:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)!important; gap:20px!important; padding:22px!important; border:1px solid var(--sr-line)!important; background:var(--sr-surface)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project > * { min-width:0!important; border:0!important; padding:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-current-project-name { font-size:21px!important; white-space:normal!important; overflow:visible!important; text-overflow:clip!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-facts { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-facts span { white-space:normal!important; font-size:12px!important; line-height:1.5!important; border:0!important; background:var(--sr-green)!important; padding:6px 10px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-analysis { display:flex!important; flex-wrap:wrap!important; gap:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-analysis > span { flex:1 1 110px!important; background:var(--sr-violet)!important; padding:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-actions { display:flex!important; align-items:center!important; justify-content:flex-end!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-decision-strip { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:16px!important; margin:20px 0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-decision-card { border:1px solid var(--sr-line)!important; background:var(--sr-peach)!important; padding:20px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .project-readiness-dashboard { padding:22px!important; background:var(--sr-green)!important; border:1px solid var(--sr-line)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-approval-panel { padding:22px!important; background:var(--sr-surface)!important; border:1px solid var(--sr-line)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-approval-panel .queue-list > * { padding:18px!important; border:1px solid var(--sr-line)!important; gap:16px!important; background:var(--sr-green)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .ploxy-help-trigger { min-height:24px!important; padding:0!important; background:transparent!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace [hidden][hidden] { display:none!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar { background:var(--sr-cyan)!important; border:1px solid var(--sr-line)!important; border-radius:12px!important; box-shadow:none!important; padding:22px!important; gap:20px!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar::before, html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar::after, html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar .signature-mark, html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar .eyebrow { display:none!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar-title > div, html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar-title h1 { background:transparent!important; border:0!important; box-shadow:none!important; padding:0!important; color:var(--sr-ink)!important; font-weight:600!important; font-size:26px!important; line-height:1.35!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .topbar button { background:var(--sr-violet)!important; color:var(--sr-ink)!important; border:1px solid var(--sr-line)!important; box-shadow:none!important; border-radius:8px!important; padding:12px 16px!important; font-size:14px!important; font-weight:500!important; text-transform:none!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .global-project-bar { background:var(--sr-violet)!important; border:1px solid var(--sr-line)!important; box-shadow:none!important; }
@media(max-width:900px) {
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-analytics-grid,.dashboard-intelligence-grid) { grid-template-columns:minmax(0,1fr)!important; }
}
@media(max-width:600px) {
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #dashboard-outcome-kpis { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project { grid-template-columns:minmax(0,1fr)!important; padding:18px!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-actions { justify-content:stretch!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-actions button { width:100%!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-chart-card,.dashboard-intelligence-card,.dashboard-approval-panel) { padding:16px!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-form { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-chart-empty { padding:16px!important; }
}

html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) { --sr-surface:#fffdf8; --sr-cyan:#dcebef; --sr-violet:#e7dff0; --sr-green:#e9eedf; --sr-line:#c5bbcd; --sr-ink:#352e40; --sr-muted:#62576d; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-analytics-visuals { background:transparent!important; border:0!important; padding:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-setup { display:flex!important; flex-direction:column!important; gap:16px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-setup > div:first-child { text-align:left!important; display:grid!important; gap:8px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-target-form { width:100%!important; box-sizing:border-box!important; background:transparent!important; padding:0!important; border:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-actions button { width:auto!important; max-width:none!important; min-width:180px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-logo { background:var(--sr-cyan)!important; border:0!important; box-shadow:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-logo b { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-diagnosis-list article > span { background:var(--sr-violet)!important; color:var(--sr-ink)!important; font-size:12px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-diagnosis-list strong { font-size:15px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-comparison-metrics :is(span,em) { font-size:12px!important; font-style:normal!important; text-transform:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-analytics-heading { display:flex!important; flex-wrap:wrap!important; align-items:center!important; gap:16px!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .global-project-console { background:var(--sr-violet)!important; border:1px solid var(--sr-line)!important; box-shadow:none!important; padding:16px!important; gap:20px!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) #global-project-select { background:var(--sr-surface)!important; border:1px solid var(--sr-line)!important; border-radius:8px!important; min-height:44px!important; padding:10px!important; font-size:14px!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .global-project-console > div:not(.global-project-stats) { display:none!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) .global-project-console > label { width:min(100%,520px)!important; }
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) #dashboard-agent-form .agentic-composer-controls-toggle { min-width:78px!important; width:78px!important; white-space:nowrap!important; }

html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project { align-items:start!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-actions { width:100%!important; min-width:0!important; justify-content:flex-start!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-facts span { border-radius:8px!important; font-weight:400!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-project-brief { margin:12px 0!important; background:var(--sr-green)!important; border:0!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-project-brief summary { font-size:13px!important; padding:14px!important; min-height:44px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-current-project-facts { padding:0 14px 14px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-funnel-stage > div:first-child > span { font-size:13px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-funnel-stage { gap:12px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog  { background:var(--sr-surface)!important; border:1px solid var(--sr-line)!important; border-radius:14px!important; box-shadow:0 16px 48px #352e4025!important; max-width:calc(100vw - 24px)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(section,article,div,header,footer,label,button,input,textarea,select) { min-width:0!important; box-shadow:none!important; border-color:var(--sr-line)!important; border-width:1px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-form { background:var(--sr-surface)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-hero { background:var(--sr-violet)!important; padding:22px!important; gap:20px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-hero h2 { font-size:26px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-shell { grid-template-columns:minmax(0,1fr)!important; gap:20px!important; padding:20px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-main { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:20px!important; align-items:start!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-card { padding:20px!important; border-radius:12px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-core-card { background:var(--sr-green)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-import-card { background:var(--sr-cyan)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-brand-kit-card { background:var(--sr-violet)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .section-title { display:block!important; margin-bottom:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .section-title h3 { font-size:21px!important; text-align:left!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-side { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-side > .project-agent-panel:first-child, .project-intake-minimum-list { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #project-intake-minimum-list { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-agent-panel { background:var(--sr-surface)!important; border:0!important; padding:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(input,select,textarea) { font-size:14px!important; line-height:1.5!important; font-weight:400!important; border-radius:8px!important; padding:11px!important; min-height:44px!important; background:var(--sr-surface)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog input[type=color] { padding:4px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog button { font-size:14px!important; line-height:1.5!important; font-weight:500!important; text-transform:none!important; padding:10px 14px!important; min-height:44px!important; border-radius:8px!important; background:var(--sr-cyan)!important; color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-agent-fill-row { display:flex!important; flex-wrap:wrap!important; gap:12px!important; padding:14px!important; background:var(--sr-green)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-url-intelligence { background:var(--sr-cyan)!important; padding:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-actions { display:flex!important; flex-wrap:wrap!important; gap:10px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-actions button { flex:1 1 150px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-memory-grid { gap:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-advanced-memory { margin:0 20px 20px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-memory-preview { background:var(--sr-green)!important; padding:18px!important; border-radius:10px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog [hidden][hidden] { display:none!important; }
@media(max-width:700px) { html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-intake-main,.project-memory-grid,.project-color-code-row,.project-brand-kit-card) { grid-template-columns:minmax(0,1fr)!important; } html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-shell { padding:12px!important; } html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-card { padding:16px!important; } }
html body.app-mode[data-active-view="dashboard"] #global-project-select#global-project-select#global-project-select#global-project-select#global-project-select#global-project-select { box-shadow:none!important; width:100%!important; }

html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-campaign-context-disclosure #recommendation-list, .dashboard-campaign-context-disclosure .campaign-panel > .panel-header > .badge, .dashboard-campaign-context-disclosure .dashboard-disclosure-state { display:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-support-grid { gap:20px!important; padding:20px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-campaign-context-disclosure :is(.campaign-panel,.platform-panel) { background:var(--sr-surface)!important; border:0!important; padding:18px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .campaign-summary { gap:14px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .campaign-summary > div { background:var(--sr-green)!important; padding:16px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .platform-score-list > * { background:var(--sr-cyan)!important; border:1px solid var(--sr-line)!important; padding:16px!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace #project-readiness-dashboard { background:var(--sr-green)!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-support-disclosure { border:1px solid var(--sr-line)!important; border-radius:12px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .campaign-form-actions { background:var(--sr-violet)!important; border-top:1px solid var(--sr-line)!important; padding:14px!important; gap:10px!important; }

html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-project-brief summary { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:16px!important; border-radius:8px!important; list-style:none!important; }
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-project-brief summary::after { display:block!important; }

/* The connections action keeps the same size as the other page controls. */
html body.app-mode[data-active-view="dashboard"] .dashboard-command-center .hero-performance > button { align-self:center; min-height:44px!important; height:auto!important; padding:10px 16px!important; }
@media(max-width:760px) {
 html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-decision-strip { grid-template-columns:minmax(0,1fr)!important; }
}

/* Project intake: keep working facts together and optional sources out of the way. */
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-shell { grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr)!important; align-items:start!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-main { grid-template-columns:minmax(0,1fr)!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-side { min-width:0!important; position:sticky!important; top:20px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-brand-kit-card { display:block!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-optional-body { padding-top:16px!important; display:grid!important; gap:14px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-optional-body .section-title { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-import-card,.project-brand-kit-card):not([open]) > .project-optional-body { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog summary { cursor:pointer; color:var(--sr-ink)!important; font-size:16px!important; font-weight:600!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog summary small { font-size:14px!important; font-weight:400!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .eyebrow { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-working-memory { margin-top:24px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-working-memory h3 { margin:0!important; font-size:20px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-actions { background:var(--sr-surface)!important; border-top:1px solid var(--sr-line)!important; padding:12px 20px!important; display:flex!important; flex-wrap:wrap!important; gap:10px!important; align-items:center!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #project-dialog-save-status { flex:1 1 260px!important; margin:0!important; color:var(--sr-muted)!important; font-size:14px!important; line-height:1.5!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(input,textarea,button):disabled { opacity:.65!important; cursor:wait!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-intake-main,.project-preview-row strong,.project-preview-card,.project-intake-card) { min-width:0!important; overflow-wrap:anywhere!important; }
@media(max-width:900px) {
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-shell { grid-template-columns:minmax(0,1fr)!important; }
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-side { position:static!important; }
}
@media(max-width:700px) {
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(input,textarea,select) { font-size:16px!important; }
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-hero { padding:16px!important; }
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-hero h2 { font-size:24px!important; }
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-actions { padding:12px!important; }
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-side { grid-template-rows:auto auto!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(input,textarea,select,.project-agent-panel p) { font-size:16px!important; line-height:1.5!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-intake-hero p,.project-url-intelligence small,.project-preview-row,.project-preview-heading strong) { font-size:14px!important; line-height:1.5!important; text-transform:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-advanced-memory:not([open]) > .project-memory-grid { display:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-memory-preview { min-height:0!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-memory-preview > p { min-height:0!important; border:0!important; padding:0!important; display:block!important; text-align:left!important; background:transparent!important; color:var(--sr-muted)!important; font-size:14px!important; font-weight:400!important; line-height:1.5!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-card { border:0!important; padding:0!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #project-dialog-save-status { display:-webkit-box!important; -webkit-box-orient:vertical!important; -webkit-line-clamp:3!important; overflow:hidden!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-evidence-details { margin-top:16px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-actions { flex-direction:row!important; }
@media(max-width:700px) {
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-actions { display:grid!important; grid-template-columns:auto minmax(0,1fr)!important; height:auto!important; min-height:0!important; }
  html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #project-dialog-save-status { grid-column:1/-1!important; height:auto!important; max-height:63px!important; min-height:0!important; }
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-agent-panel { min-height:0!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-card { background:none!important; box-shadow:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-row { background:none!important; border:0!important; border-bottom:1px solid var(--sr-line)!important; border-radius:0!important; padding:10px 0!important; gap:4px!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-row :is(span,strong) { font-size:14px!important; line-height:1.5!important; color:var(--sr-ink)!important; text-transform:none!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-row strong { font-weight:500!important; }
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog label { font-size:14px!important; line-height:1.5!important; }

/* Project intake visual clarity: solid surfaces, visible actions and readable evidence. */
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog {
  --project-chart-accent:#287f83; --project-chart-track:#dce6e4;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-card {
  background-image:none!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-row strong {
  display:block!important; overflow:visible!important; -webkit-line-clamp:unset!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-card header span {
  font-size:13px!important; line-height:1.5!important; color:var(--sr-muted)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-preview-card h4 {
  font-size:22px!important; line-height:1.4!important; margin:4px 0!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-import-card,.project-brand-kit-card,.project-evidence-details,.project-awareness-fields,.project-intelligence-sources) > summary {
  display:flex!important; align-items:center!important; gap:12px!important; min-height:44px!important; background:transparent!important; list-style:none!important; line-height:1.5!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog summary::-webkit-details-marker {
  display:none!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog summary small {
  margin-left:auto!important; white-space:nowrap!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-import-card,.project-brand-kit-card,.project-evidence-details,.project-awareness-fields,.project-intelligence-sources) > summary::after {
  content:""!important; display:block!important; position:static!important; flex:0 0 8px!important; width:8px!important; height:8px!important; margin-left:auto!important; background:none!important; border:0!important; border-right:2px solid var(--sr-ink)!important; border-bottom:2px solid var(--sr-ink)!important; border-radius:0!important; transform:rotate(45deg)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-import-card,.project-brand-kit-card,.project-evidence-details,.project-awareness-fields,.project-intelligence-sources)[open] > summary::after {
  transform:rotate(225deg)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #new-project-analyze-button {
  background:#24777d!important; color:#fffdf8!important; -webkit-text-fill-color:#fffdf8!important; border-color:#24777d!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog #new-project-full-research-button {
  background:#725495!important; color:#fffdf8!important; -webkit-text-fill-color:#fffdf8!important; border-color:#725495!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(#new-project-analyze-button,#new-project-full-research-button):hover:not(:disabled) {
  filter:brightness(.9);
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(#new-project-analyze-button,#new-project-full-research-button):disabled {
  opacity:.6!important; cursor:not-allowed!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(button,summary):focus-visible {
  outline:3px solid #287f83!important; outline-offset:3px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-card {
  padding:20px!important; gap:18px!important; background:var(--sr-surface)!important; border:1px solid var(--sr-line)!important; border-radius:12px!important; animation:none!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-overview {
  grid-template-columns:86px minmax(0,1fr)!important; gap:20px!important; align-items:center!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-overview h4 {
  font-size:20px!important; line-height:1.4!important; margin:0!important; overflow-wrap:normal!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-explanation {
  margin:0!important; font-size:14px!important; line-height:1.6!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-ring {
  width:86px!important; height:86px!important; border:0!important; background:conic-gradient(var(--project-chart-accent) calc(var(--awareness-score) * 1%), var(--project-chart-track) 0)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-ring::before {
  inset:9px!important; border:0!important; background:var(--sr-surface)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-ring strong {
  font-size:23px!important; line-height:1.2!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-ring span {
  font-size:11px!important; font-weight:500!important; color:var(--sr-muted)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-legend {
  gap:8px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-legend span {
  padding:5px 8px!important; font-size:12px!important; font-weight:500!important; border-color:var(--sr-line)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-awareness-legend,.project-awareness-fields) [data-status="researched"] {
  background:#d6e9e6!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-dimensions {
  gap:14px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-dimensions article {
  grid-template-columns:64px minmax(0,1fr) 40px!important; gap:10px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-dimensions article > :is(span,strong) {
  font-size:13px!important; font-weight:500!important; line-height:1.5!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-dimensions article > div {
  height:9px!important; border:0!important; background:var(--project-chart-track)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-dimensions i {
  background:var(--project-chart-accent)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-fields > div {
  grid-template-columns:minmax(0,1fr)!important; gap:8px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-fields span {
  padding:10px!important; gap:4px!important; border-color:var(--sr-line)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-fields b {
  font-size:14px!important; line-height:1.5!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-fields small {
  font-size:12px!important; font-weight:400!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-awareness-gaps,.project-awareness-complete) {
  padding:14px!important; gap:10px!important; border-radius:8px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-complete {
  background:#e2eeee!important; border-left-color:var(--project-chart-accent)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-awareness-gaps,.project-awareness-complete) strong {
  font-size:14px!important; line-height:1.5!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-awareness-gaps p {
  font-size:14px!important; line-height:1.6!important; margin:0!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-proof-grid {
  grid-template-columns:minmax(0,1fr)!important; gap:10px!important; margin:16px 0!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-proof-grid article {
  padding:12px!important; border:1px solid var(--sr-line)!important; border-radius:8px!important; gap:6px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-proof-grid article:nth-child(2) {
  background:#e2eeee!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-proof-grid span {
  font-size:12px!important; text-transform:none!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intelligence-proof-grid strong {
  font-size:14px!important; line-height:1.5!important;
}
html body.app-mode[data-active-view="dashboard"]:not(#dash-a):not(#dash-b):not(#dash-c):not(#dash-d):not(#dash-e):not(#dash-f) {
  --dash-lime:#d6e9e6; --dashboard-lime:#d6e9e6;
}
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-command-center {
  --dashboard-lime:#d6e9e6;
}
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace :is(.dashboard-truth-badge,.dashboard-truth-legend span)[data-truth-state="ready"] {
  background:#d6e9e6!important; color:var(--sr-ink)!important;
}
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-chart-point {
  fill:#287f83!important; stroke:#fffdf8!important;
}
html body.app-mode #dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace#dashboard-workspace .dashboard-clean-status-bar [data-status="ready"] {
  background:#287f83!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-import-card,.project-brand-kit-card) > summary::after {
  margin-left:0!important;
}
/* Evidence must not set the form's minimum width on phones. */
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-intake-form {
  grid-template-columns:minmax(0,1fr)!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog :is(.project-advanced-memory,.project-intake-actions,#project-dialog-save-status) {
  min-width:0!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-advanced-memory > summary {
  flex-wrap:wrap!important;
  gap:8px!important;
}
html body.app-mode #project-dialog#project-dialog#project-dialog#project-dialog#project-dialog#project-dialog .project-advanced-memory > summary small {
  flex:1 1 100%!important;
  white-space:normal!important;
  margin-left:0!important;
}
