:root {
  color-scheme: light;
  --ink: #13251e;
  --muted: #496258;
  --surface: #ffffff;
  --canvas: #f2f7f4;
  --accent: #075b46;
  --accent-strong: #034332;
  --focus: #b54708;
  --border: #62776e;
  --hold-bg: #fff2cc;
  --hold-border: #8a4b00;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select { font: inherit; }
button, input, select, a { touch-action: manipulation; }
.site-header, .sign-in-panel, main, footer { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header { display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; align-items: baseline; padding-block: 1rem; }
.brand { font-size: 1.25rem; font-weight: 800; margin: 0; }
.pilot-label, .eyebrow { color: var(--accent-strong); font-weight: 700; }
.pilot-label { margin: 0; }
.eyebrow { margin-top: 0; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; margin: 0; }
h2 { font-size: 1.3rem; line-height: 1.3; margin-top: 0; }
h3 { font-size: 1.05rem; }
p, dd { overflow-wrap: anywhere; }
section, form { margin-block: 1rem; }
.hero, .panel, .sign-in-panel, form, .connection-notice { border: 2px solid var(--border); border-radius: .75rem; padding: clamp(1rem, 3vw, 1.75rem); background: var(--surface); }
.sign-in-panel form { border: 0; padding: 0; margin-block: 1rem; }
.hero { box-shadow: 0 .5rem 1.5rem rgb(19 37 30 / 8%); }
.hero p:last-child, .panel p:last-child { margin-bottom: 0; }
.boundary, .connection-notice, .error-notice { border-color: var(--hold-border); background: var(--hold-bg); color: #3e2600; }
.boundary { border-left: 4px solid var(--hold-border); padding: .75rem; }
.connection-notice h2 { font-size: 1.15rem; }
.connection-notice p { margin-bottom: 0; }
.live-notice { min-height: 1.6em; font-weight: 700; }
.error-notice { border: 2px solid var(--hold-border); border-radius: .5rem; padding: 1rem; }
fieldset { display: grid; gap: .875rem; min-width: 0; margin: 1rem 0 0; border: 1px solid var(--border); border-radius: .375rem; padding: .875rem; }
label, legend { font-weight: 700; }
select { width: 100%; min-width: 0; min-height: 2.75rem; border: 2px solid var(--border); border-radius: .375rem; padding: .5rem; background: var(--surface); color: var(--ink); }
input[type="email"], input[type="password"], input[type="text"], textarea { width: 100%; min-width: 0; min-height: 2.75rem; border: 2px solid var(--border); border-radius: .375rem; padding: .5rem; background: var(--surface); color: var(--ink); }
input[aria-invalid="true"] { border-color: var(--hold-border); }
.check-row { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .5rem; align-items: start; font-weight: 500; }
input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--accent); }
button { min-height: 2.75rem; max-width: 100%; border: 2px solid var(--accent-strong); border-radius: .375rem; padding: .625rem 1rem; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
button:hover:not(:disabled) { background: var(--accent-strong); }
button.secondary { background: var(--surface); color: var(--accent-strong); }
button.secondary:hover:not(:disabled) { background: #e4ede8; }
button:disabled, select:disabled { background: #e4ede8; color: #496258; border-color: #8ca097; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.actions button { flex: 1 1 13rem; }
.help, .history > p, footer { color: var(--muted); }
.next-step { border-left: .375rem solid var(--accent); }
.next-step h2 { color: var(--accent-strong); }
.history article + article { border-top: 1px solid var(--border); padding-top: .5rem; margin-top: 1rem; }
dl { margin-block: 1rem; }
dl > div { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr); gap: .25rem 1rem; padding-block: .375rem; }
dt { font-weight: 700; }
dd { margin: 0; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
footer { padding-block: 1.5rem 2.5rem; }
@media (max-width: 25rem) {
  .site-header, .sign-in-panel, main, footer { width: calc(100% - 1.25rem); }
  dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (forced-colors: active) { .hero, .panel, .sign-in-panel, form, .connection-notice, .boundary, .error-notice, button, select, input { border: 2px solid CanvasText; } }

/* Additive, namespaced presentation for the maintained public Russel guide. */
.bp-russel-help {
  --bp-help-ink: #061525;
  --bp-help-green: #0f7659;
  --bp-help-line: #d9e2ef;
  color: var(--bp-help-ink);
  font: 1rem/1.55 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.bp-russel-help *,
.bp-russel-help *::before,
.bp-russel-help *::after { box-sizing: border-box; }

.bp-russel-help .bp-russel-help__launcher,
.bp-russel-help button,
.bp-russel-help a {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  transition: none;
  touch-action: manipulation;
}

.bp-russel-help button { cursor: pointer; }
.bp-russel-help :is(button, a, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid #075cff;
  outline-offset: 3px;
}

.bp-russel-help .bp-russel-help__launcher {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 90;
  min-height: 48px;
  max-width: calc(100vw - 2rem);
  padding: .65rem 1.15rem;
  border: 1px solid var(--bp-help-green);
  border-radius: 8px;
  background: var(--bp-help-green);
  color: #fff;
  font-weight: 650;
  box-shadow: 0 4px 16px rgb(6 21 37 / 15%);
}

.bp-russel-help .bp-russel-help__dialog {
  position: fixed;
  inset: 0;
  width: min(32rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--bp-help-line);
  border-radius: 12px;
  background: #fff;
  color: var(--bp-help-ink);
  box-shadow: 0 18px 44px rgb(6 21 37 / 20%);
  font: inherit;
  text-align: start;
}

.bp-russel-help__dialog::backdrop { background: rgb(6 21 37 / 48%); }
.bp-russel-help__dialog:not([open]) { display: none; }
.bp-russel-help__header { display: flex; align-items: flex-start; gap: 1rem; }
.bp-russel-help .bp-russel-help__title {
  flex: 1;
  margin: 0;
  color: var(--bp-help-ink);
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: normal;
}

.bp-russel-help .bp-russel-help__close,
.bp-russel-help .bp-russel-help__back {
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid var(--bp-help-line);
  border-radius: 6px;
  background: #fff;
  color: var(--bp-help-ink);
  box-shadow: none;
}

.bp-russel-help .bp-russel-help__description {
  margin: 1rem 0 1.25rem;
  color: #48566c;
  font-size: .95rem;
}
.bp-russel-help .bp-russel-help__question {
  margin: 0 0 1rem;
  color: var(--bp-help-ink);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: normal;
}
.bp-russel-help__choices { display: grid; gap: .6rem; }
.bp-russel-help .bp-russel-help__choice {
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid var(--bp-help-line);
  border-radius: 8px;
  background: #f7f9ff;
  color: var(--bp-help-ink);
  font-weight: 600;
  text-align: start;
  box-shadow: none;
}
.bp-russel-help .bp-russel-help__choice:hover { border-color: var(--bp-help-green); background: #ddf9ec; }
.bp-russel-help .bp-russel-help__body { margin: 0 0 1rem; }
.bp-russel-help .bp-russel-help__note {
  margin: 0 0 1.25rem;
  padding: .8rem;
  background: #f7f9ff;
  border-inline-start: 3px solid var(--bp-help-green);
}
.bp-russel-help .bp-russel-help__primary {
  display: block;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid var(--bp-help-green);
  border-radius: 8px;
  background: var(--bp-help-green);
  color: #fff;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.bp-russel-help .bp-russel-help__primary:hover,
.bp-russel-help .bp-russel-help__launcher:hover { background: #095840; }
.bp-russel-help .bp-russel-help__back { display: block; margin: .75rem auto 0; }
.bp-russel-help__footer { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--bp-help-line); }
.bp-russel-help .bp-russel-help__cost { margin: 0 0 .4rem; font-size: .9rem; }
.bp-russel-help .bp-russel-help__recovery {
  display: inline-block;
  min-height: 44px;
  padding: .55rem 0;
  color: #095840;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 480px) {
  .bp-russel-help .bp-russel-help__dialog { padding: 1rem; }
  .bp-russel-help__header { gap: .5rem; }
}
@media print { .bp-russel-help { display: none; } }
@media (forced-colors: active) {
  .bp-russel-help .bp-russel-help__launcher,
  .bp-russel-help .bp-russel-help__primary { border: 2px solid ButtonText; }
}

/* Request Rescue keeps free-text facts and manual summary edits in page memory. */
.bp-russel-help .bp-russel-help__builder { margin: 0 0 1.25rem; }
.bp-russel-help .bp-russel-help__draft-title { margin: 0 0 .5rem; font-size: 1rem; }
.bp-russel-help .bp-russel-help__draft-help { margin: .5rem 0 .75rem; color: #48566c; font-size: .9rem; }
.bp-russel-help .bp-russel-help__fields { display: grid; gap: .8rem; margin: 1rem 0; }
.bp-russel-help .bp-russel-help__field { display: grid; gap: .35rem; min-width: 0; color: var(--bp-help-ink); font-weight: 600; }
.bp-russel-help .bp-russel-help__input,
.bp-russel-help .bp-russel-help__summary {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .7rem;
  border: 1px solid #738198;
  border-radius: 6px;
  background: #fff;
  color: var(--bp-help-ink);
  font: 400 1rem/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
}
.bp-russel-help .bp-russel-help__input::placeholder { color: #526076; opacity: 1; }
.bp-russel-help .bp-russel-help__summary { resize: vertical; }
.bp-russel-help .bp-russel-help__checklist { padding: .75rem; background: #eef5ff; border-radius: 6px; overflow-wrap: anywhere; }
.bp-russel-help .bp-russel-help__draft-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.bp-russel-help .bp-russel-help__copy,
.bp-russel-help .bp-russel-help__draft-secondary {
  min-height: 44px;
  max-width: 100%;
  padding: .55rem .8rem;
  border: 1px solid #738198;
  border-radius: 6px;
  background: #fff;
  color: var(--bp-help-ink);
  white-space: normal;
  box-shadow: none;
}
.bp-russel-help .bp-russel-help__copy { background: #ddf9ec; border-color: var(--bp-help-green); font-weight: 650; }
.bp-russel-help .bp-russel-help__copy:hover { background: #c4f0dd; }
.bp-russel-help .bp-russel-help__draft-status { margin: .5rem 0; color: #095840; }
.bp-russel-help .bp-russel-help__draft-status:empty { display: none; }
.bp-russel-help .bp-russel-help__handoff { margin: .8rem 0 0; }
.bp-russel-help [hidden] { display: none !important; }
