.operation-guide-dialog {
  background: var(--bg-surface, #17232a);
  color: var(--text-primary, #e9eff2);
  border: 1px solid var(--border, #40525f);
  border-radius: 6px;
  width: min(56rem, calc(100vw - 1.5rem));
  max-width: none;
  max-height: 94vh;
  padding: 0;
}
.operation-guide-dialog::backdrop { background: var(--backdrop, #111a21cc); }
.operation-guide-dialog header {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  padding: .75rem;
}
.operation-guide-dialog header strong { margin-inline-end: auto; }
.operation-guide-dialog header button { min-height: 44px; }
.operation-guide-dialog iframe { display: block; width: 100%; height: min(72vh, 46rem); border: 0; background: #17232a; }
.operation-guide-content {
  color: #e9eff2;
  background: #17232a;
  font: 1rem/1.5 system-ui, sans-serif;
  max-width: 70ch;
  padding: .5rem .875rem;
  margin: auto;
  overflow-wrap: anywhere;
}
.operation-guide-content h1 { font-size: 1.35rem; margin: .5rem 0 .125rem; }
.operation-guide-content h2 { font-size: 1.1rem; margin: 1.25rem 0 .25rem; }
.operation-guide-content .guide-revision { color: #bfd2db; margin-top: 0; }
.operation-guide-content .guide-text { white-space: pre-wrap; margin-top: 0; }
.operation-guide-content ul { list-style: none; padding: 0; margin: 0; }
.operation-guide-content a { display: flex; align-items: center; min-height: 44px; color: #b9deff; }

.operation-guide-content button {
  min-height: 44px;
  color: #e9eff2;
  background: #253945;
  border: 1px solid #526975;
  border-radius: 4px;
  padding: .5rem .75rem;
  font: inherit;
  cursor: pointer;
}
.operation-guide-content ul button { margin-block: .25rem; text-align: start; overflow-wrap: anywhere; }
.guide-pdf-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .5rem 0; }
.guide-pdf-controls button:disabled { opacity: .6; cursor: default; }
.operation-guide-content canvas { display: block; max-width: 100%; height: auto; margin: auto; background: white; }

.operation-guide-reminder {
  max-width: 65ch;
  margin-block: .5rem 0;
  padding: .5rem .75rem;
  background: var(--bg-muted, #21333d);
  border: 1px solid var(--border, #526975);
  border-radius: 4px;
  color: var(--text-primary, #e9eff2);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.operation-guide-reminder strong { margin-inline-end: .35rem; }
