/* The SDK demo pages (demo/ and demo-devexpress/) stand in for the customer's reporting screen with our SDK added
   (P5). Everything here is the HOST's look: neutral grey-blue, deliberately not ours. Our only pieces are the SDK's
   own dictation pill, help overlay and settings popup (dictationControl: true). */
:root {
  --h-bg: #dadde1; --h-chrome: #f4f5f7; --h-chrome-2: #ffffff; --h-line: #d3d7dc;
  --h-text: #2b3138; --h-text-2: #5c6672; --h-accent: #2b6cb0; --h-page: #ffffff; --h-page-ink: #1b1f23;
  --h-badge: #b44;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light-only) {
    --h-bg: #1e2226; --h-chrome: #2a2f34; --h-chrome-2: #323840; --h-line: #3e454d;
    --h-text: #e4e7eb; --h-text-2: #a3acb6; --h-accent: #6fa8e6; --h-page: #25292d; --h-page-ink: #e4e7eb;
    --h-badge: #e88;
    /* The SDK's live words in the host's dark page (sdk/docs/API.md §16): AA on its page colour. */
    --vagmi-preview-color: var(--h-text-2);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { display: flex; flex-direction: column; background: var(--h-bg); color: var(--h-text);
  font: 12.5px/1.45 "Segoe UI", Arial, Helvetica, sans-serif; }
.h-patient { height: 34px; flex: none; display: flex; align-items: center; gap: 18px; padding: 0 14px; overflow: hidden;
  background: var(--h-chrome-2); border-bottom: 1px solid var(--h-line); color: var(--h-text-2); white-space: nowrap; }
.h-patient b { color: var(--h-text); font-weight: 600; margin-right: 4px; }
.h-badge { margin-left: auto; font-size: 10px; letter-spacing: .08em; font-weight: 700; padding: 2px 7px;
  border: 1px solid var(--h-badge); color: var(--h-badge); border-radius: 3px; }
.h-work { flex: 1; min-height: 0; position: relative; }
.h-scroll { position: absolute; inset: 0; overflow: auto; padding: 24px 24px 140px; }
.h-page { width: min(794px, 100%); min-height: 1000px; margin: 0 auto; background: var(--h-page); color: var(--h-page-ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.25); padding: 64px 76px; font: 14px/1.65 Arial, Helvetica, sans-serif; }
@media (max-width: 700px) { .h-page { padding: 32px 24px; } }
#report { outline: none; min-height: 800px; }
#report p, #report div { margin: 0; }
#report h1, #report h2, #report h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 2px; }
#report > :first-child { margin-top: 0; }
#report ul, #report ol { margin: 0; padding-left: 1.6em; }
.h-missing { margin: 40px auto; max-width: 560px; padding: 16px; background: var(--h-chrome-2); border: 1px solid var(--h-line); }
.h-missing code { font: 12px ui-monospace, Menlo, monospace; }
