/* Leaf Automation brand v2 theme for Forge (tokens from leaf-design-system docs/brand/v2). */
:root {
  --color-primary:#188143;
  --color-primary-dark-1:#16743c;
  --color-primary-dark-2:#136736;
  --color-primary-dark-3:#115a2f;
  --color-primary-dark-4:#0e4d28;
  --color-primary-dark-5:#0c4022;
  --color-primary-dark-6:#0a341b;
  --color-primary-dark-7:#072714;
  --color-primary-light-1:#34905a;
  --color-primary-light-2:#4f9f70;
  --color-primary-light-3:#6bae87;
  --color-primary-light-4:#87bd9d;
  --color-primary-light-5:#a3cdb4;
  --color-primary-light-6:#bedcca;
  --color-primary-light-7:#daebe1;
  --color-primary-alpha-10:rgba(24,129,67,0.1);
  --color-primary-alpha-20:rgba(24,129,67,0.2);
  --color-primary-alpha-30:rgba(24,129,67,0.3);
  --color-primary-alpha-40:rgba(24,129,67,0.4);
  --color-primary-alpha-50:rgba(24,129,67,0.5);
  --color-primary-alpha-60:rgba(24,129,67,0.6);
  --color-primary-alpha-70:rgba(24,129,67,0.7);
  --color-primary-alpha-80:rgba(24,129,67,0.8);
  --color-primary-alpha-90:rgba(24,129,67,0.9);
  --color-primary-hover:var(--color-primary-dark-1);--color-primary-active:var(--color-primary-dark-2);
  --color-primary-contrast:#ffffff;
  --color-accent:#188143;
  --color-body:#fdfdfb;
  --color-box-body:#fbfaf7;
  --color-box-body-highlight:#f3f2ed;
  --color-box-header:#f3f2ed;
  --color-header-bar:#f3f2ed;
  --color-nav-bg:#fbfaf7;
  --color-nav-hover-bg:#f3f2ed;
  --color-secondary-nav-bg:#fbfaf7;
  --color-footer:#fbfaf7;
  --color-menu:#fbfaf7;
  --color-card:#fbfaf7;
  --color-input-background:#ffffff;
  --color-light-border:#e7e6e1;
  --color-secondary:#e7e6e1;
  --color-text:#141613;
  --color-text-dark:#141613;
  --color-text-light:#4c524d;
  --color-text-light-1:#4c524d;
  --color-text-light-2:#6b716c;
  --color-text-light-3:#6b716c;
  --fonts-proportional: "Inter Tight", "Inter", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="forgejo-auto"] {
  --color-primary:#37d573;
  --color-primary-dark-1:#4bd981;
  --color-primary-dark-2:#5fdd8f;
  --color-primary-dark-3:#73e29d;
  --color-primary-dark-4:#87e6ab;
  --color-primary-dark-5:#9beab9;
  --color-primary-dark-6:#afeec7;
  --color-primary-dark-7:#c3f2d5;
  --color-primary-light-1:#30bb65;
  --color-primary-light-2:#2aa257;
  --color-primary-light-3:#23884a;
  --color-primary-light-4:#1d6f3c;
  --color-primary-light-5:#16552e;
  --color-primary-light-6:#0f3c20;
  --color-primary-light-7:#092212;
  --color-primary-alpha-10:rgba(55,213,115,0.1);
  --color-primary-alpha-20:rgba(55,213,115,0.2);
  --color-primary-alpha-30:rgba(55,213,115,0.3);
  --color-primary-alpha-40:rgba(55,213,115,0.4);
  --color-primary-alpha-50:rgba(55,213,115,0.5);
  --color-primary-alpha-60:rgba(55,213,115,0.6);
  --color-primary-alpha-70:rgba(55,213,115,0.7);
  --color-primary-alpha-80:rgba(55,213,115,0.8);
  --color-primary-alpha-90:rgba(55,213,115,0.9);
  --color-primary-hover:var(--color-primary-dark-1);--color-primary-active:var(--color-primary-dark-2);
  --color-primary-contrast:#050706;
  --color-accent:#37d573;
  --color-body:#0d110f;
  --color-box-body:#121815;
  --color-box-body-highlight:#121815;
  --color-box-header:#121815;
  --color-header-bar:#121815;
  --color-nav-bg:#050706;
  --color-nav-hover-bg:#121815;
  --color-secondary-nav-bg:#050706;
  --color-footer:#050706;
  --color-menu:#121815;
  --color-card:#121815;
  --color-input-background:#0d110f;
  --color-light-border:#1d2421;
  --color-secondary:#1d2421;
  --color-text:#f4f1ea;
  --color-text-dark:#f4f1ea;
  --color-text-light:#b7bcb6;
  --color-text-light-1:#b7bcb6;
  --color-text-light-2:#8a928c;
  --color-text-light-3:#8a928c;
  }
}
:root[data-theme="forgejo-dark"] {
  --color-primary:#37d573;
  --color-primary-dark-1:#4bd981;
  --color-primary-dark-2:#5fdd8f;
  --color-primary-dark-3:#73e29d;
  --color-primary-dark-4:#87e6ab;
  --color-primary-dark-5:#9beab9;
  --color-primary-dark-6:#afeec7;
  --color-primary-dark-7:#c3f2d5;
  --color-primary-light-1:#30bb65;
  --color-primary-light-2:#2aa257;
  --color-primary-light-3:#23884a;
  --color-primary-light-4:#1d6f3c;
  --color-primary-light-5:#16552e;
  --color-primary-light-6:#0f3c20;
  --color-primary-light-7:#092212;
  --color-primary-alpha-10:rgba(55,213,115,0.1);
  --color-primary-alpha-20:rgba(55,213,115,0.2);
  --color-primary-alpha-30:rgba(55,213,115,0.3);
  --color-primary-alpha-40:rgba(55,213,115,0.4);
  --color-primary-alpha-50:rgba(55,213,115,0.5);
  --color-primary-alpha-60:rgba(55,213,115,0.6);
  --color-primary-alpha-70:rgba(55,213,115,0.7);
  --color-primary-alpha-80:rgba(55,213,115,0.8);
  --color-primary-alpha-90:rgba(55,213,115,0.9);
  --color-primary-hover:var(--color-primary-dark-1);--color-primary-active:var(--color-primary-dark-2);
  --color-primary-contrast:#050706;
  --color-accent:#37d573;
  --color-body:#0d110f;
  --color-box-body:#121815;
  --color-box-body-highlight:#121815;
  --color-box-header:#121815;
  --color-header-bar:#121815;
  --color-nav-bg:#050706;
  --color-nav-hover-bg:#121815;
  --color-secondary-nav-bg:#050706;
  --color-footer:#050706;
  --color-menu:#121815;
  --color-card:#121815;
  --color-input-background:#0d110f;
  --color-light-border:#1d2421;
  --color-secondary:#1d2421;
  --color-text:#f4f1ea;
  --color-text-dark:#f4f1ea;
  --color-text-light:#b7bcb6;
  --color-text-light-1:#b7bcb6;
  --color-text-light-2:#8a928c;
  --color-text-light-3:#8a928c;
}
#navbar { border-bottom: 1px solid var(--color-light-border); }
#navbar .navbar-left > .item:first-child img, #navbar #navbar-logo img { width: 28px; height: 28px; }
.page-content.home .logo { max-width: 160px; }
