/* HomeFleet theme for Forgejo (CT 133, /var/lib/forgejo/custom/public/assets/css/). Forgejo's dark theme
   re-tinted with the Dev Env tokens (Chokepoint Tools/hfdevenv/frontend/src/styles/tokens.css): neutral
   greys instead of steel blue, one blue accent, flat panels, sharp corners. */
@import "./theme-forgejo-dark.css";

gitea-theme-meta-info {
  --theme-display-name: "HomeFleet";
  --theme-color-scheme: "dark";
}

:root {
  /* steel scale -> Dev Env greys (900 darkest) */
  --steel-100: #d9d9d9;  /* text-primary */
  --steel-150: #c4c4c4;
  --steel-200: #9a9a9a;  /* text-secondary */
  --steel-250: #8a8a8a;
  --steel-300: #7a7a7a;
  --steel-350: #6a6a6a;  /* text-muted */
  --steel-400: #5e5e5e;
  --steel-450: #4d4d4d;  /* border-strong */
  --steel-500: #424242;
  --steel-550: #333333;  /* border-default */
  --steel-600: #2c2c2c;  /* bg-hover */
  --steel-650: #262626;  /* bg-overlay */
  --steel-700: #1e1e1e;  /* bg-elevated */
  --steel-750: #161616;  /* bg-surface */
  --steel-800: #0f0f0f;  /* bg-base */
  --steel-850: #0c0c0c;
  --steel-900: #0a0a0a;  /* bg-input */

  --color-nav-bg: #161616;
  --color-header-wrapper: #161616;
  --color-footer: #161616;
  --color-secondary-nav-bg: #0f0f0f;
  --color-input-background: #0a0a0a;
  --color-light-border: #242424;
  --color-secondary-alpha-10: #33333319;
  --color-secondary-alpha-20: #33333333;
  --color-secondary-alpha-30: #3333334b;
  --color-secondary-alpha-40: #33333366;
  --color-secondary-alpha-50: #33333380;
  --color-secondary-alpha-60: #33333399;
  --color-secondary-alpha-70: #333333b3;
  --color-secondary-alpha-80: #333333cc;
  --color-secondary-alpha-90: #333333e1;
  --color-expand-button: #262626;

  /* accent: brand emblem blue (art rev 2, 2026-11-08); dark text on it for contrast */
  --color-primary: #53baff;
  --color-primary-contrast: #0a0a0a;
  --color-primary-hover: #7ccbff;
  --color-primary-active: #3aa6ef;
  --color-primary-dark-1: #7ccbff;
  --color-primary-dark-2: #96d5ff;
  --color-primary-dark-3: #addeff;
  --color-primary-dark-4: #c3e7ff;
  --color-primary-dark-5: #d6efff;
  --color-primary-dark-6: #e6f5ff;
  --color-primary-dark-7: #f2faff;
  --color-primary-light-1: #4aa9e8;
  --color-primary-light-2: #3f9ad6;
  --color-primary-light-3: #337fb2;
  --color-primary-light-4: #29668f;
  --color-primary-light-5: #183a52;  /* accent-dim */
  --color-primary-light-6: #164562;  /* bg-selection */
  --color-primary-light-7: #0f2a3d;
  --color-primary-alpha-10: #53baff19;
  --color-primary-alpha-20: #53baff33;
  --color-primary-alpha-30: #53baff4b;
  --color-primary-alpha-40: #53baff66;
  --color-primary-alpha-50: #53baff80;
  --color-primary-alpha-60: #53baff99;
  --color-primary-alpha-70: #53baffb3;
  --color-primary-alpha-80: #53baffcc;
  --color-primary-alpha-90: #53baffe1;
  --color-accent: #53baff;
  --color-small-accent: #183a52;

  /* status colours */
  --color-red: #d3605a;
  --color-green: #5aa96d;
  --color-yellow: #d4a13f;
  --color-orange: #c99a3a;

  /* type and shape */
  --fonts-proportional: Roboto, "Segoe UI", system-ui, -apple-system, "Noto Sans", Arial;
  --fonts-monospace: "Cascadia Code", "JetBrains Mono", Consolas, ui-monospace, monospace, var(--fonts-emoji);
  --border-radius: 3px;
  --border-radius-medium: 3px;
  --border-radius-large: 6px;
}

/* flat chrome: hairline under the top bar, no rounded pills on the nav */
#navbar { border-bottom: 1px solid #242424; }
.ui.button, .ui.input input, .ui.dropdown, .ui.menu, .ui.segment, .ui.card, .ui.cards > .card { box-shadow: none !important; }

/* landing page (templates/home.tmpl); brand title font Saira Condensed Bold, OFL, self-hosted (Latin subset) */
@font-face { font-family: "Saira Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/SairaCondensed-Bold.woff2") format("woff2"); }
.hf-home { min-height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.hf-home img { width: 112px; height: 112px; opacity: 0.92; }
.hf-home h1 { margin: 6px 0 0; font-family: "Saira Condensed", var(--fonts-proportional); font-size: 40px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text); }
.hf-home p { margin: 0; color: var(--color-text-light-2); font-size: 13px; letter-spacing: 0.04em; }
.hf-home .hf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 1px; margin-top: 22px; background: #242424; border: 1px solid #242424; }
.hf-home .hf-tile { background: #161616; padding: 12px 14px; text-align: left; }
.hf-home .hf-tile b { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light-2); margin-bottom: 4px; }
.hf-home .hf-tile code { font-family: var(--fonts-monospace); font-size: 12px; color: #53baff; background: none; padding: 0; }
.hf-home .hf-actions { margin-top: 18px; display: flex; gap: 8px; }
@media (max-width: 640px) { .hf-home .hf-tiles { grid-template-columns: 1fr; width: calc(100% - 32px); } }
