html.dg-note-locked:not(.dg-note-lock-navigation) body > :not(.dg-note-lock),
html.dg-note-locked body :is(main.content, #page-panel, .sidebar, .toc-container, .page-panel-backdrop, .dg-reading-meta, .dg-reading-progress) { display: none !important; }
html.dg-note-locked body > :not(.dg-note-lock),
html.dg-note-locked body > :not(.dg-note-lock) * { visibility: hidden !important; }
html.dg-note-locked.dg-note-lock-navigation body:not(.dg-rp-left-closed) .filetree-wrapper,
html.dg-note-locked.dg-note-lock-navigation body:not(.dg-rp-left-closed) .filetree-wrapper *,
html.dg-note-locked.dg-note-lock-navigation body .navbar,
html.dg-note-locked.dg-note-lock-navigation body .navbar *,
html.dg-note-locked.dg-note-lock-navigation body .fullpage-overlay,
html.dg-note-locked.dg-note-lock-navigation body .dg-rp-restore-left,
html.dg-note-locked.dg-note-lock-navigation body .dg-rp-restore-left *,
html.dg-note-locked.dg-note-lock-navigation body .dg-rp-left-splitter { visibility: visible !important; }
html.dg-note-locked.dg-note-lock-navigation body :is(.filetree-wrapper, .navbar) :is(.search-button, .page-panel-toggle, .dg-print-button),
html.dg-note-locked.dg-note-lock-navigation body :is(.filetree-wrapper, .navbar) :is(.search-button, .page-panel-toggle, .dg-print-button) * { visibility: hidden !important; pointer-events: none !important; }
.dg-note-lock {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
  max-width: none !important;
  max-height: none !important;
  padding: 24px;
  border: 0;
  box-sizing: border-box;
  background: var(--background-primary, #fff);
  color: var(--text-normal, #111);
  overflow: auto;
}
.dg-note-lock[open] { display: flex; align-items: safe center; justify-content: center; }
html.dg-note-lock-navigation .dg-note-lock {
  left: var(--dg-note-lock-left-edge, 0px);
  top: var(--dg-note-lock-top-edge, 0px);
  width: calc(100% - var(--dg-note-lock-left-edge, 0px));
  height: calc(100dvh - var(--dg-note-lock-top-edge, 0px));
  z-index: 9;
}
html.dg-note-locked.dg-note-lock-navigation body .fullpage-overlay { z-index: 10; }
.dg-note-lock-form { width: min(360px, 100%); }
.dg-note-lock-symbol { color: var(--text-muted); margin-bottom: 20px; }
.dg-note-lock-symbol .lucide { width: 28px; height: 28px; }
.dg-note-lock .lucide + span { display: none; }
.dg-note-lock h1 { margin: 0 0 8px !important; font-size: 24px !important; line-height: 1.3; }
.dg-note-lock-caption { margin: 0 0 28px; color: var(--text-muted); font-size: 14px; }
.dg-note-lock label { display: block; font-size: 13px; margin-bottom: 8px; }
.dg-note-lock-entry { display: grid; grid-template-columns: minmax(0, 1fr) 36px 36px; gap: 8px; }
.dg-note-lock-entry input { min-width: 0; width: 100%; height: 38px; box-sizing: border-box; }
.dg-note-lock-entry button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 38px;
  padding: 0 !important;
  border-radius: 4px;
  cursor: pointer;
}
.dg-note-lock-entry .lucide { width: 16px; height: 16px; }
.dg-note-lock-submit { background: var(--interactive-accent) !important; color: var(--text-on-accent) !important; }
.dg-note-lock-entry button:focus-visible { outline: 2px solid var(--interactive-accent); outline-offset: 2px; }
.dg-note-lock-submit:disabled { opacity: 0.5; cursor: wait; }
#dg-note-lock-status { min-height: 40px; margin: 10px 0 16px; font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
.dg-note-lock-home { font-size: 13px; color: var(--text-muted); }
@media print { .dg-note-lock { display: none !important; } }
.dg-note-lock span[aria-hidden="true"] { font-family: system-ui, sans-serif; }
