/* dashboard-home.css — extracted verbatim from dashboard-home.html's inline <style>.
   Strict-CSP sites (style-src 'self', no unsafe-inline) DISCARD inline
   style blocks, so this page rendered unstyled on them. Content is
   unchanged; only its delivery moved. Do not re-inline. */
    :root {
      --home-bg: #f8fafc;
      --home-card-bg: #ffffff;
      --home-text: #1e293b;
      --home-muted: #64748b;
      --home-border: #e2e8f0;
      --home-accent: #3b82f6;
      --home-accent-light: #eff6ff;
      /* Quick-action / status swatches. Deliberately declared ONLY here and
         NOT in the [data-theme="dark"] block: they replace style="..."
         attributes, which a theme switch never re-evaluated either. Overriding
         them below would change what those elements compute to. */
      --home-success: #10b981;
      --home-quick-profile-bg: #eff6ff;
      --home-quick-profile-fg: #3b82f6;
      --home-quick-settings-bg: #f0fdf4;
    }
    [data-theme="dark"] {
      --home-bg: #0f172a;
      --home-card-bg: #1e293b;
      --home-text: #f1f5f9;
      --home-muted: #94a3b8;
      --home-border: #334155;
      --home-accent: #60a5fa;
      --home-accent-light: #1e3a5f;
    }
    body {
      background: var(--home-bg);
      color: var(--home-text);
      font-family: 'Inter', system-ui, sans-serif;
      margin: 0;
      padding: 1.5rem;
    }
    .home-card {
      background: var(--home-card-bg);
      border: 0.0625rem solid var(--home-border);
      border-radius: 0.75rem;
      padding: 1.5rem;
    }
    .quick-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.875rem 1rem;
      border-radius: 0.5rem;
      border: 0.0625rem solid var(--home-border);
      background: var(--home-card-bg);
      color: var(--home-text);
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s ease;
      min-height: 2.75rem;
    }
    .quick-link:hover {
      border-color: var(--home-accent);
      background: var(--home-accent-light);
      transform: translateY(-0.0625rem);
    }
    .quick-link .icon-wrap {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--home-accent);
    }
    .stat-label {
      font-size: 0.75rem;
      color: var(--home-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* --- Layout/typography lifted out of dashboard-home.html's style="..."
       attributes. A strict style-src 'self' CSP discards style attributes the
       same way it discards an inline <style> block, so this page's spacing and
       grids were dropped on such sites; as classes they finally apply. Each
       rule carries the attribute's literals unchanged, so nothing moves on a
       site without that policy. Do not re-inline. --- */
    .home-shell {
      max-width: 56rem;
      margin: 0 auto;
    }
    .home-welcome {
      margin-bottom: 1.5rem;
    }
    .home-welcome-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0 0 0.25rem 0;
    }
    .home-welcome-meta {
      color: var(--home-muted);
      margin: 0;
      font-size: 0.875rem;
    }
    .home-welcome-meta-icon {
      margin-right: 0.25rem;
    }
    .home-welcome-role {
      font-weight: 600;
    }
    .home-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .home-stat {
      text-align: center;
    }
    .stat-value-ok {
      color: var(--home-success);
    }
    .home-section-title {
      font-size: 1rem;
      font-weight: 600;
      margin: 0 0 0.75rem 0;
      color: var(--home-muted);
    }
    .home-actions {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
      gap: 0.75rem;
    }
    .icon-wrap-profile {
      background: var(--home-quick-profile-bg);
      color: var(--home-quick-profile-fg);
    }
    .icon-wrap-settings {
      background: var(--home-quick-settings-bg);
      color: var(--home-success);
    }
    .quick-link-title {
      font-weight: 600;
      font-size: 0.875rem;
    }
    .quick-link-desc {
      font-size: 0.75rem;
      color: var(--home-muted);
    }
  
