/* Ruction Elements Cloud v0.4.27 — presentation-only visual consistency.
 * Built on the v0.4.26 theme. No positioning/sizing/drag/resize/grid rules,
 * DOM mutations, persistence, API requests, or schema modifications.
 * Restrict polish to inner surfaces; never restyle module drag/delete handles.
 */
#appShell {
  --re427-ink:#193144;
  --re427-muted:#607889;
  --re427-surface:#fff;
  --re427-subtle:#f5f9fc;
  --re427-line:#dae6ef;
  --re427-accent:#087fb6;
  --re427-accent-wash:rgba(18,143,209,.085);
  --re427-teal:#087e86;
  --re427-shadow:0 8px 26px rgba(15,47,70,.06),0 2px 7px rgba(15,47,70,.025);
}
#appShell[data-theme="dark"] {
  --re427-ink:#ebf4f9;
  --re427-muted:#afc3d1;
  --re427-surface:#14222c;
  --re427-subtle:#1b2c37;
  --re427-line:#344957;
  --re427-accent:#4fc6ef;
  --re427-accent-wash:rgba(61,178,224,.11);
  --re427-teal:#66d5ca;
  --re427-shadow:0 12px 30px rgba(0,0,0,.15),0 2px 8px rgba(0,0,0,.08);
}
/* All five workspaces share the same typographic rhythm. Keep the branded shell untouched. */
#appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(.re56-topline,.re56-analytics-intro,.re309-header,.re94-top,.re2a-header,.re355-hero-top) h2 {
  font-weight:790;letter-spacing:-.035em;line-height:1.2;
}
#appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(.re56-topline,.re309-header,.re94-top,.re2a-header,.re355-hero-top) p {
  color:var(--re427-muted);font-size:12.5px;line-height:1.5;
}
#appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(.re56-topline,.re309-header,.re94-top,.re2a-header,.re355-hero-top) h2 .re427-head-help,
#appShell #pageRankingsView .re342-head h3 .re427-head-help {
  margin-inline-start:6px;font-size:11px;vertical-align:middle;letter-spacing:normal;
}
/* Modern buttons and inputs: only content actions, never legacy four-corner module controls. */
#appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(.re423-card-links button,.re56-linkbutton,.re56-tiny-link,.re86-panel-head button,.re86-actions button,
.re309-outline,.re309-directory-all,.re305-toolbar button,.re94-panel-title button,.re2a-tools button,
.re342-controls button,.re342-toolbar button,.re327-filterbar button) {
  border-radius:10px!important;font-weight:680;letter-spacing:-.006em;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
#appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(button,select,input,summary,[tabindex="0"]):focus-visible {
  outline:2px solid var(--re427-accent);outline-offset:3px;
}
#appShell :is(#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
:is(.re355-hero-controls select,.re309-controls select,.re327-filterbar select,.re327-filterbar input,
.re342-controls select,#re389ZoomLabel) {
  color:var(--re427-ink);border:1px solid var(--re427-line);border-radius:10px;
  background:var(--re427-surface);font-size:12px;
}
/* Overview: all 5 growth cards and existing KPI/chart cards keep their layout coordinates. */
#appShell #overviewView :is(.re56-kpi,.re56-card,.premium-card) {
  border-radius:16px!important;
  border-color:var(--re427-line)!important;
  box-shadow:var(--re427-shadow)!important;
}
#appShell #overviewView .re423-outcome {
  background:linear-gradient(155deg,var(--re427-accent-wash),transparent 74%),var(--re427-surface)!important;
  border-color:color-mix(in srgb,var(--re427-accent) 31%,var(--re427-line))!important;
}
#appShell #overviewView .re423-pillar {background:var(--re427-surface)!important}
#appShell #overviewView .re423-growth .re56-kpi-icon {
  background:var(--re427-accent-wash);border-radius:11px;
  color:var(--re427-accent);
}
#appShell #overviewView .re423-growth strong {letter-spacing:-.03em!important}
#appShell #overviewView .re423-card-links button {
  background:var(--re427-accent-wash)!important;
  color:var(--re427-accent)!important;
  border-color:color-mix(in srgb,var(--re427-accent) 29%,var(--re427-line))!important;
}
#appShell #overviewView .re423-card-links button:hover,
#appShell #overviewView .re423-card-links button:focus-visible {
  background:color-mix(in srgb,var(--re427-accent) 17%,var(--re427-surface))!important;
  border-color:var(--re427-accent)!important;
}
#appShell #overviewView .re56-card header h3 {font-size:15px;font-weight:750;letter-spacing:-.023em}
#appShell #overviewView :is(.re56-card-desc,.re56-disclaimer) {font-size:11.5px;line-height:1.5;color:var(--re427-muted)}
#appShell #overviewView .re423-secondary-evidence {color:var(--re427-muted)!important}
/* Analytics: measurement and source cards share the same material, no chart repainting. */
#appShell #analyticsView :is(.google-data-panel,.analytics-chart-card,.seo-evidence-card),
#appShell #performanceDashboardView :is(.re86-panel,.re355-performance-hero,.re355-performance-insight) {
  border:1px solid var(--re427-line)!important;
  border-radius:16px!important;
  box-shadow:var(--re427-shadow)!important;
}
#appShell #analyticsView :is(.analytics-chart-card,.seo-evidence-card) {background:var(--re427-surface)}
#appShell #analyticsView :is(.chart-card-top h3,.premium-card-heading h3,.section-head h3),
#appShell #performanceDashboardView :is(.re86-panel-head h3,.re355-performance-insight h3) {
  font-weight:750;letter-spacing:-.018em;
}
#appShell #performanceDashboardView .re86-stat strong {letter-spacing:-.04em}
#appShell #analyticsView .v09-source-note,
#appShell #performanceDashboardView .re355-hero-top p {color:var(--re427-muted)}
/* Team: same refined surfaces for contributor list, activity and detail panels. */
#appShell #teamView :is(.re309-panel,.re309-person-card,.re309-fact) {
  border-radius:16px!important;
}
#appShell #teamView :is(.re309-panel,.re309-fact) {border-color:var(--re427-line)!important}
/* Contributor-specific left borders are evidence/identity cues: never recolor them. */
#appShell #teamView .re309-panel {background:var(--re427-surface)!important;box-shadow:var(--re427-shadow)}
#appShell #teamView .re309-fact {background:var(--re427-subtle)!important}
#appShell #teamView :is(.re309-person-card,.re309-directory-all) {background:var(--re427-surface);color:var(--re427-ink)}
#appShell #teamView .re309-person-card:hover {background:var(--re427-accent-wash)!important}
#appShell #teamView .re309-person-card.selected {
  border-top-color:var(--re427-accent)!important;
  border-right-color:var(--re427-accent)!important;
  border-bottom-color:var(--re427-accent)!important;
  background:var(--re427-accent-wash)!important;
}
#appShell #teamView .re309-directory-all.selected {
  border-color:var(--re427-accent)!important;background:var(--re427-accent-wash)!important;
}
#appShell #teamView .re309-person-count {color:var(--re427-accent)}
#appShell #teamView .re309-panel h3 {font-weight:750;letter-spacing:-.02em}
#appShell #teamView :is(.re309-muted,.re309-caution,.re309-status) {color:var(--re427-muted)}
#appShell #teamView .re309-outline {background:var(--re427-accent-wash);border-color:var(--re427-line);color:var(--re427-accent)}
#appShell #teamView .re309-outline:hover {border-color:var(--re427-accent)}
/* Roadmap: visually prioritize actionable plan without hiding publish safeguards. */
#appShell #opportunitiesDashboardView :is(.re94-map-panel,.re94-side-card,.re305-disclosure,.re310-keyword-map,.re308-baseline,.re306-growth-section) {
  border-radius:16px!important;border-color:var(--re427-line)!important;
  box-shadow:var(--re427-shadow);
}
#appShell #opportunitiesDashboardView :is(.re94-side-card,.re305-disclosure,.re310-keyword-map,.re308-baseline,.re306-growth-section) {
  background:var(--re427-surface);
}
#appShell #opportunitiesDashboardView .re93-eyebrow {color:var(--re427-accent);font-weight:820;letter-spacing:.13em}
#appShell #opportunitiesDashboardView :is(.re305-toolbar,.re305-tabs) button[aria-selected="true"] {
  border-color:var(--re427-accent)!important;
}
#appShell #opportunitiesDashboardView :is(.re94-panel-title h3,.re94-side-card h3,.re306-growth-heading h3) {
  font-weight:760;letter-spacing:-.026em;
}
#appShell #opportunitiesDashboardView :is(.re305-context,.re94-status,.re310-note,.re308-section-heading p) {
  color:var(--re427-muted);font-size:12px;line-height:1.5;
}
#appShell #opportunitiesDashboardView :is(.re305-disclosure>summary,.re2a-supplement>summary) {
  font-weight:735;letter-spacing:-.01em;
}
/* Page Rankings: consistent editable modules with improved scannability. */
#appShell #pageRankingsView :is(#re342Workflow,#re341Ranks,#re395Gsc,#re419Review,#re326Pilot) {
  border-radius:16px!important;border-color:var(--re427-line)!important;
  box-shadow:var(--re427-shadow);
}
#appShell #pageRankingsView :is(.re342-head,.re396-module-head,.re395-head) h3 {
  font-size:22px!important;font-weight:770!important;letter-spacing:-.025em!important;
}
#appShell #pageRankingsView :is(.re342-head,.re396-module-head,.re395-head) p {color:var(--re427-muted)}
#appShell #pageRankingsView :is(.re327-grid,.re310-table) thead th {
  color:var(--re427-muted);font-size:11px;letter-spacing:.025em;
}
#appShell #pageRankingsView .re327-grid tbody tr:hover {background:var(--re427-accent-wash)}
#appShell #pageRankingsView .re342-controls button {background:var(--re427-accent);color:#fff;border-color:var(--re427-accent)}
#appShell #pageRankingsView :is(.re342-note,.re396-demand-evidence) {color:var(--re427-muted);line-height:1.5}
/* Help notes: source v0.4.26 tooltips already support hover and keyboard focus. */
#appShell .re427-head-help {vertical-align:middle;color:var(--re427-accent);background:var(--re427-accent-wash);border-color:var(--re427-line)}
#appShell .re427-head-help[role="note"]:focus-visible {outline:2px solid var(--re427-accent);outline-offset:3px}
/* Never restyle the system shell, re329 module controls, or change canvas geometry. */
@media (prefers-reduced-motion:reduce) {
  #appShell :is(#overviewView,#analyticsView,#performanceDashboardView,#teamView,#opportunitiesDashboardView,#pageRankingsView)
  :is(.re423-card-links button,.re309-outline,.re305-toolbar button,.re342-controls button) {transition:none!important}
}
