/* DASH1 lane 11: plum token overrides for the signed-in app (loaded last).
   Every selector starts with .look-plum. Colours only through var(--dk-*) from dash_theme.css.
   Signed-out Home has no .look-plum class and keeps its own look. .dash-root internals are not styled here. */

.look-plum {
  --bg: #F3F1F8;
  --card: #FFFFFF;
  --ink: var(--dk-ink);
  --muted: #5F5C6E;
  --line: #E3DEEA;
  --brand: #4A4E69;
  --brand-ink: #FFFFFF;
  --brand-soft: #ECEAF3;
  --good: #1C7A45;
  --good-tint: #E7F3EC;
  --r-sm: 10px;
  --brand-dk: var(--dk-ink);
  --panel2: var(--dk-mauve);
  --top-bg: var(--dk-ink);
  --top-ink: var(--dk-cream);
  --accent: var(--dk-accent);
  --accent-ink: var(--dk-ink);
  --radius: var(--dk-radius);
  --shadow: none;
  font-family: var(--dk-font-text);
}

.look-plum h1, .look-plum h2, .look-plum h3, .look-plum .btn {
  font-family: var(--dk-font-text);
}

.look-plum input, .look-plum select, .look-plum textarea {
  font-family: var(--dk-font-text);
  border-color: var(--dk-mauve);
}

.look-plum :focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* fix3: header and nav keyboard focus ring, 2px plum tokens (mauve on the dark header, ink on the light rail) */
/* fix4a: .look-plum sits on .shell, a SIBLING of the header, so `.look-plum .topbar` never matched; key off body:has() as styles.css does */
/* the --dk tokens are declared on .look-plum (the shell), which does not contain the header, so the token is undefined here:
   the literal fallback is the --dk-mauve value from dash_theme.css (without it the whole declaration is invalid and the ring is "none") */
body:has(.look-plum) .topbar :focus-visible, body:has(.look-plum) .topbar:focus-visible,
.look-plum .topbar :focus-visible, .look-plum .topbar:focus-visible {
  outline: 2px solid var(--dk-mauve, rgb(201, 173, 167));
  outline-offset: 2px;
}
.look-plum .rail :focus-visible, .look-plum .rail-item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.look-plum .hdr-chips .chip {
  background: var(--dk-mint);
  color: var(--dk-ink);
}

.look-plum .sguru-img-clear {
  color: var(--dk-ink);
}

/* Responsive fix (DASH1 css fix): wide tables scroll inside themselves instead of widening the page.
   The header sits outside .shell, so its narrow-screen rules live in styles.css under body:has(.look-plum). */
.look-plum .list-table { display: block; max-width: 100%; overflow-x: auto; }

/* Header tokens (Option D). The header sits outside .look-plum, so these live on body. */
body:has(.look-plum) { --nav: var(--dk-ink, #22223B); --nav-ink: #F2E9E4; --nav-soft: var(--dk-mauve, #C9ADA7); --amp: var(--dk-mauve, #C9ADA7); --top-h: 60px; }
