/* DisclosureGuard — Self-Correcting Document hero (UI wave rebuild 2026-11-10).
   Design read: DESIGN-READ-disclosureguard.md — charcoal darkroom, one
   warm-paper sheet turning slowly, one printed line drifts out and is
   pulled back by a taut lime thread. Aligned = still and bright. */
.uiw-dc-scene {
  position: relative; overflow: hidden; border-radius: 18px;
  min-height: 360px; background: #0E0F0E; color: #F2F0EB;
  isolation: isolate; perspective: 1200px;
}
.uiw-dc-stage {
  position: absolute; inset: 0; display: grid; place-items: center;
  cursor: grab; touch-action: none;
}
.uiw-dc-stage:active { cursor: grabbing; }
.uiw-dc-sheet {
  position: relative; width: min(430px, 78%); aspect-ratio: 3 / 3.6;
  background: #F2F0EB; color: #2A2620; border-radius: 6px;
  box-shadow: 0 34px 70px rgba(0,0,0,.55), 0 4px 14px rgba(0,0,0,.4);
  padding: 26px 28px; transform-style: preserve-3d;
  font-family: Georgia, "Times New Roman", serif;
}
.uiw-dc-sheet h4 {
  margin: 0 0 6px; font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; color: #4A443A;
}
.uiw-dc-sheet .uiw-dc-rule { height: 2px; background: #C9C2B4; margin: 8px 0 16px; }
.uiw-dc-line {
  height: 9px; border-radius: 99px; background: #B9B2A2;
  margin: 0 0 13px; will-change: transform, background;
}
.uiw-dc-line.w70 { width: 70%; } .uiw-dc-line.w85 { width: 85%; }
.uiw-dc-line.w60 { width: 60%; } .uiw-dc-line.w92 { width: 92%; }
.uiw-dc-line.w78 { width: 78%; } .uiw-dc-line.w66 { width: 66%; }
.uiw-dc-drift { background: #A39A86; }
.uiw-dc-demo {
  position: absolute; left: 28px; bottom: 18px;
  font: 700 9px/1 ui-monospace, Menlo, monospace; letter-spacing: .16em;
  color: #8A8172;
}
.uiw-dc-thread {
  position: absolute; top: 0; height: 100%; z-index: 4;
  overflow: visible; pointer-events: none;
}
.uiw-dc-note {
  position: absolute; z-index: 5; pointer-events: none;
  font: 700 10px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em;
  color: #0E0F0E; background: #9BE15D; border-radius: 999px;
  padding: 4px 10px; opacity: 0; transition: opacity .25s ease;
  transform: translateY(-26px); white-space: nowrap;
}
.uiw-dc-scene[data-drift="1"] .uiw-dc-note { opacity: 1; }
.uiw-dc-card {
  position: absolute; top: 16px; right: 16px; z-index: 6;
  max-width: 240px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,.16);
  font: 500 13px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #F2F0EB; pointer-events: none;
}
.uiw-dc-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.uiw-dc-card small { color: #CFCFC8; font-size: 12px; }
.uiw-dc-controls {
  position: absolute; left: 16px; bottom: 16px; z-index: 6;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.uiw-dc-controls button {
  appearance: none; border: 1px solid rgba(155,225,93,.6);
  background: rgba(14,15,14,.78); color: #EAF7DC;
  font: 600 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 10px 14px; border-radius: 999px; cursor: pointer; min-height: 44px;
  display: inline-flex; align-items: center;
}
.uiw-dc-controls button[disabled] { opacity: .55; cursor: wait; }
.uiw-dc-controls button:focus-visible { outline: 2px solid #9BE15D; outline-offset: 2px; }
@media (max-width: 640px) {
  .uiw-dc-scene { min-height: 330px; }
  .uiw-dc-card { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .uiw-dc-note { transition: none; }
}
