/* White registration paper, shared by the home, review concept and QR journey.
   The simulated in-progress ranking carousel deliberately keeps its dark skin. */
body.night-wire #registration.form-panel:not(.ranking-carousel),
.entry-shell .entry-panel {
  --ink: #172014;
  --muted: #53604c;
  --line: #c8cfbf;
  --paper: #fff;
  --entry-ink: #172014;
  --entry-muted: #53604c;
  --entry-line: #c8cfbf;
  --entry-paper: #fff;
  color-scheme: light;
  background: #fff;
  color: #172014;
  border: 1px solid #c8cfbf;
  border-top: 2px solid #baf400;
  box-shadow: none;
  backdrop-filter: none;
}

:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(h2,h3,label) {
  color: #172014;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.eyebrow,.micro) {
  color: #385400;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.form-lead,.field-help,.entry-help,.entry-panel-heading>p,label>span) {
  color: #53604c;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.required-label,.entry-required,.form-status,.entry-status) {
  color: #b63b30;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.field input,.field select,.entry-field input,.entry-field select) {
  color-scheme: light;
  background: #fafbf7;
  color: #172014;
  border: 1px solid #7f8e6c;
  border-radius: 0;
  box-shadow: none;
  caret-color: #172014;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) input::placeholder,
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) textarea::placeholder {
  color: #687160;
  opacity: 1;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(select option,select optgroup) {
  background: #fff;
  color: #172014;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.field input,.field select,.entry-field input,.entry-field select):hover {
  border-color: #7f8e6c;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(input,select,textarea,button,a):focus-visible {
  outline: 2px solid #527000;
  outline-offset: 3px;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.field input,.field select,.entry-field input,.entry-field select):focus {
  border-color: #527000;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.field input,.field select,.entry-field input,.entry-field select):disabled {
  background: #eef2e8;
  color: #59634f;
  -webkit-text-fill-color: #59634f;
  opacity: 1;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) input:-webkit-autofill {
  -webkit-text-fill-color: #172014;
  -webkit-box-shadow: 0 0 0 1000px #f6f9ef inset;
  caret-color: #172014;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) input:autofill {
  color: #172014;
  box-shadow: 0 0 0 1000px #f6f9ef inset;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.consent,.entry-consent) {
  color: #49583e;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.consent input,.entry-consent input) {
  color-scheme: light;
  accent-color: #789600;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.consent a,.entry-consent a) {
  color: #385400;
  border-color: #7f8e6c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.button.submit,.entry-submit,.success-panel .button) {
  background: #baf400;
  color: #172014;
  border: 1px solid #baf400;
  box-shadow: none;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.button.submit,.entry-submit,.success-panel .button):hover:not(:disabled) {
  background: #b0e600;
  border-color: #b0e600;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.button.submit,.entry-submit):disabled {
  background: #dfecb3;
  border-color: #dfecb3;
  color: #536439;
  opacity: 1;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.wire-form-footer,.entry-panel-heading) {
  border-color: #c8cfbf;
}
body.night-wire #registration.form-panel:not(.ranking-carousel) .wire-form-footer,
body.night-wire #registration.form-panel:not(.ranking-carousel) .wire-form-footer span:first-child {
  color: #53604c;
}
body.night-wire #registration.form-panel:not(.ranking-carousel) .wire-form-footer i {
  border-color: #668400;
}
body.night-wire #registration.form-panel:not(.ranking-carousel) .success-panel>p {
  color: #53604c;
}

/* The independent form is a complete white page; the main site stays dark. */
html body:has(main.entry-shell) {
  background: #f3f5ee;
}
body .entry-shell {
  --entry-ink: #172014;
  --entry-muted: #53604c;
  --entry-line: #c8cfbf;
  --entry-paper: #fff;
  background: #fff;
  background-image: none;
  color: #172014;
  color-scheme: light;
  border-color: #d8dfd0;
}
.entry-shell .entry-header {
  border-color: #aebba0;
}
.entry-shell .entry-header .entry-brand img {
  filter: none;
}
.entry-shell .entry-kicker {
  color: #385400;
}
.entry-shell .entry-language span {
  color: #687160;
}
.entry-shell .entry-language button[aria-pressed=true] {
  border-bottom-color: #527000;
}
.entry-shell :is(a,button,input,select):focus-visible {
  outline: 2px solid #527000;
  outline-offset: 3px;
}
.entry-shell .entry-footer {
  border-color: #c8cfbf;
}
.entry-shell .entry-footer p {
  color: #53604c;
}

/* White-paper helpers stay dark and legible when the surrounding page brightens. */
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.form-lead,.field-help,.entry-help,label>span) {
  color: #48543f;
  font-size: 10px;
  line-height: 1.7;
}
:is(body.night-wire #registration.form-panel:not(.ranking-carousel), .entry-shell .entry-panel) :is(.consent,.entry-consent) {
  color: #49583e;
  font-size: 11px;
  line-height: 1.8;
}
body.night-wire #registration.form-panel:not(.ranking-carousel) .wire-form-footer {
  font-size: 9px;
  line-height: 1.7;
}
body.night-wire #registration.form-panel:not(.ranking-carousel) :is(.eyebrow,.micro) {
  font-size: 10px;
  line-height: 1.7;
}
