/* ProductiveQ public demo skin. Status meaning is retained with labels and monochrome contrast. */
:root {
  --howard-canvas:#f7f7f7; --howard-surface:#fff; --howard-ink:#191919;
  --howard-secondary:#595959; --howard-stone:#ededed;
  --howard-border:#858585; --howard-divider:#d2d2d2;
  --howard-body:Arial,Helvetica,sans-serif; --howard-editorial:Arial,Helvetica,sans-serif;
  --howard-card-radius:1.25rem; --howard-field-radius:999px;
  --font-mono:Consolas,"Courier New",monospace;
  --header-height:4rem; --paper-veil:rgb(247 247 247 / 96%);
  --grid-dot:rgb(25 25 25 / 9%); --focus-ring:0 0 0 2px #fff,0 0 0 4px #191919;
}
body { display:flex; flex-direction:column; min-height:100dvh; height:auto; }
#root { height:auto; min-height:0; }
.pq-nav { background:#fafafa; border-bottom:1px solid #d2d2d2; flex:none; }
.pq-nav-inner { width:calc(100% - 4rem); max-width:1248px; margin:auto; min-height:88px; display:flex; align-items:center; gap:2rem; justify-content:space-between; }
.pq-brand { display:inline-flex; gap:11px; align-items:center; min-height:44px; font:700 19px Arial,Helvetica,sans-serif; letter-spacing:-.045em; color:#191919; text-decoration:none; white-space:nowrap; }
.pq-brand img { width:56px; height:auto; }
.pq-links { display:flex; gap:28px; align-items:center; }
.pq-links a { color:#191919; text-decoration:none; font:12px/1.4 Arial,Helvetica,sans-serif; display:inline-flex; align-items:center; min-height:44px; }
.pq-links a:hover { text-decoration:underline; text-underline-offset:5px; }
.pq-links a.pq-cta { background:#191919; color:white; padding:14px 24px; border-radius:999px; min-height:48px; font-weight:700; }
.pq-nav a:focus-visible,.pq-mobile summary:focus-visible { outline:2px solid #191919; outline-offset:5px; }
.pq-mobile { display:none; }
.pq-mobile summary { cursor:pointer; border:1px solid #aaa; border-radius:999px; padding:12px 18px; font-size:12px; }
.workspace-access { background:#ededed; font-size:.8125rem; border-bottom:1px solid #d2d2d2; }
.workspace-access a { color:#191919; min-height:32px; display:inline-flex; align-items:center; }
.app { height:auto; min-height:calc(100dvh - 125px); }
.app__main { overflow:visible; }
.masthead { grid-template-columns:1fr auto; min-height:64px; padding-block:12px; }
.masthead .wordmark { display:none; } /* Keep one ProductiveQ brand in the shared navigation. */
.masthead__slice { justify-content:flex-start; }
.map__title { letter-spacing:-.055em; font-size:clamp(2rem,3.2vw,3rem); }
h1,h2,h3,h4,h5 { letter-spacing:-.035em; }
.eyebrow { font-family:var(--font-mono); font-weight:400; letter-spacing:.12em; }
.map-card__title { font-family:Arial,Helvetica,sans-serif; font-weight:600; letter-spacing:-.025em; }
.map-card,.register-entry { box-shadow:none; }
.indicator-picker select { min-height:44px; }
.workspace-search-trigger { min-height:44px; }
@media(min-width:1440px) { .pq-nav-inner { width:calc(100% - 13vw); } }
/* Five links: collapse to the menu before they crowd. */
@media(max-width:980px) {
  .pq-nav-inner { flex-wrap:wrap; gap:0; }
  .pq-links { display:none; }
  .pq-mobile { display:block; position:relative; margin-left:auto; padding-block:12px; }
  .pq-mobile .pq-links { display:grid; gap:4px; position:absolute; right:0; top:100%; z-index:100; width:min(290px,calc(100vw - 2rem)); padding:16px; background:#fff; border:1px solid #d2d2d2; border-radius:18px; box-shadow:0 12px 32px #0002; }
  .pq-mobile .pq-links a { padding-inline:12px; }
}
@media(max-width:760px) {
  .pq-nav-inner { width:calc(100% - 2rem); min-height:76px; flex-wrap:wrap; gap:0; }
  .pq-links { display:none; }
  .pq-mobile { display:block; position:relative; margin-left:auto; padding-block:12px; }
  .pq-mobile .pq-links { display:grid; gap:4px; position:absolute; right:0; top:100%; z-index:100; width:min(290px,calc(100vw - 2rem)); padding:16px; background:#fff; border:1px solid #d2d2d2; border-radius:18px; box-shadow:0 12px 32px #0002; }
  .pq-mobile .pq-links a { padding-inline:12px; }
  .masthead { display:flex; flex-wrap:wrap; gap:12px; padding:12px 16px; }
  .masthead__slice { flex:1 1 100%; flex-wrap:wrap; }
  .indicator-picker { flex-wrap:wrap; }
  .spine { flex-wrap:wrap; gap:12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print { .pq-nav { display:none; } }

/* Strict monochrome for the full demo, including canvas/SVG runtime palettes. */
html { filter:grayscale(1); }
:root {
 --state-none:#999999; --state-unknown:#777777;
 --state-ok:#696969; --state-attention:#444444; --state-issue:#111111;
 --state-none-fill:#fafafa; --state-unknown-fill:#f2f2f2;
 --state-ok-fill:#ffffff; --state-attention-fill:#eeeeee; --state-issue-fill:#d6d6d6;
 --state-none-text:#595959; --state-unknown-text:#444444;
 --state-ok-text:#333333; --state-attention-text:#292929; --state-issue-text:#111111;
 --severity-low:#666666; --severity-medium:#444444; --severity-high:#111111;
 --cool:#999999; --cool-light:#d2d2d2;
 --accent:#191919; --accent-deep:#191919; --accent-dark:#111111;
 --accent-tint:#777777; --accent-tint-2:#aaaaaa; --accent-wash:#eeeeee;
 --focus-ring:0 0 0 2px #ffffff,0 0 0 4px #191919;
}

/* Status stays explicit without relying on colour. */
.map-card--state-attention,.chip--state-attention { border-style:dashed; }
.map-card--state-issue,.chip--state-issue { border-width:2px; }
.chip--state-issue { font-weight:700; }
.legend__swatch--attention { background:#eeeeee;border:2px dashed #444444; }
.legend__swatch--issue { background:#111111;border:2px solid #111111; }
.flow-node--state-attention .shape { stroke:#444444;stroke-dasharray:6 4; }
.flow-node--state-issue .shape { stroke:#111111;stroke-width:2.5; }
