/* GMXDoorman check-flow CSS 1.1.2 (2026-10-04, AD-DM-1: .dm-brandmark 24px -> 30px as in 1.0.0, rounded like the launcher; 1.1.1 kept side by side UNWIRED). Was 1.1.1 (2026-10-04, gate-2 ART fixes; 1.1.0 kept side by side UNWIRED): --dm-gold-deep #9A7830 -> #755A20 (white text 6.48:1, AA D2-13); the locked method tile no longer uses opacity (it dimmed the Level chip to 3.04:1), the dashed border + text still mark it locked; + .dm-brandmark (approved v3 door mark in the shared top bar, AD-13). Was: GMXDoorman check-flow CSS 1.1.0 = Doorman 1.0.0 app.css with the page-level rules removed (html/body, .shell, appbar, main, footer, skip link: the shared shell owns the frame) and every token renamed --dm-* and scoped to .dm-root so nothing collides with gmxshell.styles. Content colours are unchanged (Indigo+Honey); a later ART call decides whether they move to the canon tokens. APP-LOCAL. */
/* ==========================================================================
   GMXDoorman v1.0 — clean Kit L0, jny "Indigo+Honey" LIGHT tokens.
   FOUNDATIONAL #1: ink on cream, NO reverse body type. Indigo = chrome/
   headings/icons; Honey = interactive FILL only (never text). WCAG 2.1 AA:
   >=44px targets, visible focus, dual-coded state, aria-live.
   ========================================================================== */
.dm-root {
  --dm-ink: #1A1A30; --dm-pearl: #F8F5EC; --dm-navy: #2B2D5E; --dm-card: #ffffff;
  --dm-cloud: #F0EEE9; --dm-line: #E8D5AD; --dm-muted: #4A4E8A; --dm-honey: #D4A84B;
  --dm-gold-deep: #755A20; --dm-ok: #205a1e; --dm-ok-bg: #eef4ea; --dm-ok-line: #a9c99a;
  --dm-warn-bg: #fbf3df; --dm-warn-line: #e4cf95; --dm-focus: var(--dm-navy);
}
.dm-root, .dm-root * { box-sizing: border-box; }
.dm-root [hidden] { display: none !important; }
.dm-root { color: var(--dm-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; padding: 14px 16px 20px; }
.dm-hint { color: var(--dm-muted); font-size: 14px; line-height: 1.5; margin: 10px 2px; }
.dm-hint b { color: var(--dm-navy); }

/* ---- doorman greeting band ---- */
.dm-greet { display: flex; gap: 12px; align-items: center; background: var(--dm-cloud);
  border: 1px solid var(--dm-line); border-radius: 16px; padding: 14px; margin: 4px 0 14px; }
.dm-greet-face { font-size: 40px; line-height: 1; }
.dm-greet-hi { font-size: 17px; font-weight: 700; color: var(--dm-navy); margin: 0 0 4px; }
.dm-greet-sub { font-size: 14px; color: var(--dm-ink); margin: 0; line-height: 1.45; }

/* ---- door picker (the demo screen) ---- */
.dm-doors { display: flex; flex-direction: column; gap: 12px; }
.dm-door { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  background: var(--dm-card); color: var(--dm-ink); border: 1px solid var(--dm-line); border-radius: 16px;
  padding: 14px; min-height: 64px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 5px 14px rgba(43,45,94,.08);
  transition: transform 90ms ease; font-family: inherit; }
.dm-door:active { transform: scale(.98); }
.dm-door-emoji { font-size: 34px; flex: 0 0 auto; }
.dm-door-body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.dm-door-title { font-size: 16px; font-weight: 700; color: var(--dm-ink); }
.dm-door-note { font-size: 13px; color: var(--dm-muted); line-height: 1.4; margin-top: 2px; }
.dm-door-badge { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--dm-navy);
  background: var(--dm-cloud); border: 1px solid var(--dm-line); border-radius: 999px; padding: 5px 10px; }

.dm-honesty { font-size: 12px; color: var(--dm-muted); line-height: 1.5; margin: 16px 2px 4px;
  border-top: 1px dashed var(--dm-line); padding-top: 12px; }

/* ---- 2x2 method chooser ---- */
.dm-chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0; }
.dm-mtile { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer;
  background: var(--dm-card); color: var(--dm-ink); border: 2px solid var(--dm-ok-line); border-radius: 16px;
  padding: 16px 10px; min-height: 116px; justify-content: center; font-family: inherit;
  transition: transform 90ms ease; }
.dm-mtile:active { transform: scale(.97); }
.dm-mtile.is-locked { border-color: var(--dm-line); border-style: dashed; }
.dm-mtile-emoji { font-size: 34px; }
.dm-mtile-lbl { font-size: 14px; font-weight: 700; color: var(--dm-ink); text-align: center; }
.dm-chip { font-size: 12px; font-weight: 700; color: #fff; background: var(--dm-ok); border-radius: 999px; padding: 3px 10px; }
.dm-chip-low { background: var(--dm-gold-deep); }

/* ---- capture host ---- */
.dm-capture { margin: 8px 0 6px; }
.dm-canvas-wrap { display: flex; justify-content: center; }
.dm-canvas { width: 100%; max-width: 320px; height: auto; aspect-ratio: 300/260; background: var(--dm-card);
  border: 1px solid var(--dm-line); border-radius: 14px; touch-action: none; }
.dm-glyph-out { text-align: center; font-size: 14px; color: var(--dm-muted); min-height: 20px; margin: 8px 0; }

/* tap-code pads */
.dm-tapgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 300px; margin: 8px auto; }
.dm-tappad { aspect-ratio: 1; min-height: 96px; border: 2px solid var(--dm-navy); border-radius: 18px;
  background: var(--dm-cloud); cursor: pointer; transition: transform 80ms ease, background 120ms; }
.dm-tappad.is-hit { background: var(--dm-honey); transform: scale(.95); }
.dm-taprow { display: flex; gap: 8px; justify-content: center; min-height: 18px; margin: 4px 0; }
.dm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dm-navy); display: inline-block; }

/* rotate cube */
.dm-cube-stage { perspective: 640px; display: flex; justify-content: center; align-items: center;
  height: 220px; margin: 6px 0; touch-action: none; cursor: grab; }
.dm-cube { position: relative; width: 120px; height: 120px; transform-style: preserve-3d; transition: transform 40ms linear; }
.dm-cube-face { position: absolute; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; background: rgba(43,45,94,.92); color: var(--dm-pearl); border: 2px solid var(--dm-honey); border-radius: 10px; }
.dm-face-front  { transform: translateZ(60px); }
.dm-face-back   { transform: rotateY(180deg) translateZ(60px); }
.dm-face-right  { transform: rotateY(90deg) translateZ(60px); }
.dm-face-left   { transform: rotateY(-90deg) translateZ(60px); }
.dm-face-top    { transform: rotateX(90deg) translateZ(60px); }
.dm-face-bottom { transform: rotateX(-90deg) translateZ(60px); }

/* blow meter */
.dm-meter { height: 16px; background: var(--dm-cloud); border: 1px solid var(--dm-line); border-radius: 999px; overflow: hidden; margin: 10px 0; }
.dm-meter-fill { height: 100%; width: 0; background: var(--dm-honey); transition: width 60ms linear; }
.dm-rhythm { font-size: 20px; letter-spacing: 4px; color: var(--dm-navy); }

/* ---- actions / buttons ---- */
.dm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; justify-content: center; }
.dm-btn { flex: 0 1 auto; min-height: 48px; padding: 12px 18px; cursor: pointer; background: var(--dm-card);
  color: var(--dm-navy); border: 1px solid var(--dm-line); border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit; }
.dm-btn-primary { background: var(--dm-honey); color: var(--dm-ink); border-color: var(--dm-gold-deep); }
.dm-btn:active:not(:disabled) { transform: scale(.97); }

.dm-tryanother { display: block; width: 100%; margin: 12px 0 4px; min-height: 48px; cursor: pointer;
  background: none; color: var(--dm-navy); border: 1px dashed var(--dm-gold-deep); border-radius: 12px;
  font-size: 15px; font-weight: 700; font-family: inherit; }

/* ---- bar / back ---- */
.dm-bar { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
.dm-back { background: none; border: none; color: var(--dm-navy); font-size: 15px; font-weight: 600;
  padding: 10px 6px; min-height: 44px; cursor: pointer; border-radius: 8px; font-family: inherit; }
.dm-bar-title { font-size: 16px; color: var(--dm-ink); margin: 0; }

/* ---- warm decline ---- */
.dm-decline { text-align: center; background: var(--dm-warn-bg); border: 1px solid var(--dm-warn-line);
  border-radius: 16px; padding: 20px 16px; margin: 8px 0; }
.dm-decline-emoji { font-size: 40px; }
.dm-decline-hi { font-size: 17px; font-weight: 700; color: var(--dm-navy); margin: 8px 0 6px; }
.dm-decline-msg { font-size: 14px; color: var(--dm-ink); line-height: 1.5; margin: 0 0 12px; }
.dm-req-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 4px; }
.dm-req-arrow { color: var(--dm-muted); font-weight: 700; }
.dm-retry { text-align: center; font-size: 14px; color: var(--dm-gold-deep); margin: 10px 0; font-weight: 600; }

/* ---- success ---- */
.dm-success { text-align: center; background: var(--dm-ok-bg); border: 1px solid var(--dm-ok-line);
  border-radius: 16px; padding: 24px 16px; margin: 8px 0; }
.dm-success-emoji { font-size: 48px; }
.dm-success-hi { font-size: 20px; font-weight: 800; color: var(--dm-ok); margin: 8px 0 6px; }
.dm-success-msg { font-size: 14px; color: var(--dm-ink); line-height: 1.5; margin: 0 0 14px; }

/* ---- focus ring (WCAG 2.4.7) ---- */
.dm-root a:focus-visible, .dm-root button:focus-visible, .dm-root [tabindex]:focus-visible, .dm-root canvas:focus-visible {
  outline: 3px solid var(--dm-focus); outline-offset: 2px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .dm-root * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- OUTPUT layer (Neuron Part 2): selector + connectors ---- */
.dm-outgrid { margin-top: 12px; }
.dm-outhost { margin: 8px 0; }

/* QR connector */
.dm-qr { margin: 8px auto 6px; max-width: 300px; text-align: center; }
.dm-qr-box { background: #fff; border: 1px solid var(--dm-line); border-radius: 14px; padding: 12px; }
.dm-qr-box svg { display: block; }
.dm-qr-cap { font-size: 16px; font-weight: 800; letter-spacing: .05em; color: var(--dm-navy);
  margin: 10px 0 0; font-variant-numeric: tabular-nums; }

/* text / copy connector */
.dm-code-lbl { display: block; font-size: 13px; font-weight: 700; color: var(--dm-navy); margin: 6px 2px 6px; }
.dm-code { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; font-size: 20px;
  font-weight: 800; letter-spacing: .06em; text-align: center; color: var(--dm-ink); background: var(--dm-card);
  border: 2px solid var(--dm-line); border-radius: 12px; font-family: inherit; font-variant-numeric: tabular-nums; }
.dm-copybtn { width: 100%; margin: 12px 0 4px; }
.dm-copy-live { font-size: 13px; color: var(--dm-muted); line-height: 1.5; margin: 8px 2px 0; min-height: 20px; text-align: center; }
/* AD-13 (operator-locked house style): the v3 double-doors mark in the shared top bar, inserted by minis/doorman-check-1.1.1.js before .gmxshell-brand. */
.gmxshell-top .dm-brandmark { width: 30px; height: 30px; flex: 0 0 auto; display: block; border-radius: 7px; }
