/* ===== Dashboard redesign - "Focus Hero" (minimal-immersive) ===== */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A ring for anything focusable that doesn't style its own. :where() keeps it at
   zero specificity, so every component's own :focus-visible still wins. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Scripted focus on a container (the drawer, main after the skip link) is a
   landmark move, not a control to ring. */
:where(main, aside, [role="dialog"])[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: calc(var(--z-toast) + 1);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Light-pastel theme (the immersive green/mint identity in a soft, light
   key), scoped to the dashboard page only: a gentle mint-cream ground, white
   cards, deep-green ink. Overriding these tokens re-themes every component,
   including the inline-SVG chart which paints with var(--accent)/var(--blue). ---- */
.dashboard {
  /* Orders series in soft sage so it reads clearly against the green revenue line. */
  --blue: #6fa693; --blue-weak: #e7efeb;
}
.dashboard .section-card { background: #fff; border-color: var(--line); }

.dashboard .button-ghost:hover { color: var(--accent); border-color: var(--accent); background: #fff; }
.dashboard .button { border-color: var(--accent); color: var(--accent); background: #fff; }
.dashboard .button:hover { background: var(--accent); color: #fff; }

