.rf-tools, .rf-preferences { color: #162032; font: 1rem/1.5 system-ui, sans-serif; }
.rf-tools { margin-block: 1.25rem; }
.rf-panel {
  padding: clamp(.9rem, 2vw, 1.35rem);
  background: #fffdf8;
  border: 1px solid #b9c9c8;
  border-radius: 1rem;
}
.rf-panel h2, .rf-preferences h2 { margin: 0; color: inherit; font-size: 1.2rem; }
.rf-tools p, .rf-preferences p { margin: .4rem 0; }
.rf-tools a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: #075985; text-decoration: underline; text-underline-offset: .18em; }
.rf-tools summary { min-height: 44px; padding-block: .55rem; cursor: pointer; color: #162032; font-size: 1.125rem; font-weight: 700; }
.rf-panel-heading, .rf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; }
.rf-panel-heading { justify-content: space-between; }
.rf-checklist .rf-panel-heading { margin-block-start: .5rem; }
.rf-checklist ol { display: grid; gap: .6rem; margin: .75rem 0 .25rem; padding-inline-start: 1.6rem; }
.rf-checklist li { padding-inline-start: .2rem; }
.rf-checklist li::marker { color: #075e59; font-weight: 750; }
.rf-checklist code { font-size: .9em; overflow-wrap: anywhere; }
.rf-button, .rf-tools select {
  display: inline-block;
  font: 650 .9rem/1.3 system-ui, sans-serif;
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .75rem;
  background: #fffdf8;
  color: #075e59;
  border: 1px solid #7b9996;
  border-radius: .55rem;
  cursor: pointer;
}
.rf-button:hover { background: #e5f3ee; }
.rf-button:disabled { background: #eeebe4; color: #475569; cursor: default; }
.rf-tools :focus-visible, .rf-preferences :focus-visible, .rf-button:focus-visible { outline: 3px solid #075985; outline-offset: 3px; }
.rf-tools .rf-note, .rf-preferences .rf-note { color: #3e5065; font-size: .925rem; }
.rf-status { min-height: 1.4em; }
.rf-watch-items { margin: .65rem 0; padding-inline-start: 1.35rem; }
.rf-watch-items li + li { margin-top: .4rem; }
.rf-watch-settings { margin-block: .75rem; }
.rf-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.rf-toggle input { width: 1.1rem; height: 1.1rem; accent-color: #075e59; }
.rf-privacy-launch { display: flex; justify-content: flex-end; margin-block: 1.25rem; }
html:not(.js-enabled) .rf-privacy-launch { display: none; }
.rf-preferences {
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid #7b9996;
  border-radius: 1rem;
  background: #fffdf8;
  overflow: auto;
}
.rf-preferences::backdrop { background: rgb(22 32 50 / .55); }
.rf-preferences .rf-actions { margin-block: .5rem; }
.rf-receipt .rf-actions { margin-block: .75rem; }
.rf-receipt-summary { font-weight: 650; }
.rf-receipt:not([open]) > :not(summary) { display: none; }
.rf-receipt-preview summary { font-size: .925rem; width: fit-content; }
.rf-receipt pre {
  max-width: 100%;
  max-height: 16rem;
  margin-block: .2rem .65rem;
  padding: .75rem;
  background: #f3efe4;
  white-space: pre-wrap;
  overflow: auto;
  overflow-wrap: anywhere;
}
.rf-first-run-dismissed #first-run-checklist { display: none; }
.rf-tools [hidden], .rf-tools[hidden] { display: none !important; }
