/* 0.20.308: residual Forge Current surfaces only. No layout or behaviour changes.
   The palette-specific light token rule in visual289 outranks its dark rule.
   Restore the existing dark palette at the same component owner. */
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView {
  --v288-canvas:#0c1820;--v288-canvas-2:#10232d;
  --v288-surface:#152b35;--v288-surface-2:#1a333e;--v288-surface-3:#213e49;
  --v288-field:#183640;--v288-border:#31515d;--v288-border-strong:#4c7180;
  --v288-text:#eef6f7;--v288-muted:#b7c9ce;--v288-icon-bg:#1d3d47;
  --v290-surface:var(--v288-surface);--v290-surface-2:var(--v288-surface-2);
  --v290-surface-3:var(--v288-surface-3);--v290-field:var(--v288-field);
  --v290-text:var(--v288-text);--v290-muted:var(--v288-muted);
  --v290-border:var(--v288-border);--v290-border-strong:var(--v288-border-strong);
}
/* Explicit existing owners cover hard-coded backgrounds and outer white edges. */
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace,
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace :is(.builder205,.r65-builder-body,.r65-form,fieldset,.forge218-industry,[data-guide-body],[data-forge-layout="help-centre"]>label) {
  background:#152b35!important;color:#eef6f7!important;border-color:#4c7180!important;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace :is(.r65-tabs,.sb253-ea-tools,fieldset.r65-ea>label,[data-guide-body] h3,[data-guide-body] ol>li),
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace[data-forge-layout="help-centre"]>label {
  background:#1a333e!important;color:#eef6f7!important;border-color:#4c7180!important;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace :is(.sig226-boundary,[data-guide-body] .notice,[data-guide-body] .r65-notice,[data-guide-body]>h3:first-of-type+p) {
  background:#1a333e!important;color:#b7c9ce!important;border-color:#4c7180!important;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace [data-guide-body] :is(h2,h3,li,strong),
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace fieldset.r65-ea>label :is(span,strong) {
  color:#eef6f7!important;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] #moduleView#moduleView #specialWorkspace [data-guide-body] ol>li.v290-stage-start::after {color:#76e5bd!important;}
/* Help overlay is outside moduleView; scope independently, never globally. */
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] .v292-help-dialog {
  --sw-theme-surface:#152b35;--sw-theme-text:#eef6f7;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] .v292-help-dialog :is(.v292-help-head,.v292-help-module) {
  background:#152b35!important;color:#eef6f7!important;border-color:#4c7180!important;
}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] .v292-help-dialog :is(h2,h3,h4,strong) {color:#eef6f7!important;}
html[data-theme="dark"][data-swiso-palette="forge-current"] body[data-portal="forge"] .v292-help-dialog p {color:#b7c9ce!important;}
