/* Task Center colours (adw_visuals in src/main.rs) on top of mdBook's dark "coal" theme. */
.coal {
  --bg: #222226;
  --fg: #d6d6da;
  --sidebar-bg: #2e2e32;
  --sidebar-fg: #a8a8ad;
  --sidebar-non-existant: #55555a;
  --sidebar-active: #62a0ea;
  --sidebar-spacer: #3a3a3f;
  --scrollbar: #4d4d52;
  --icons: #8f8f95;
  --icons-hover: #ffffff;
  --links: #62a0ea;
  --inline-code-color: #e6e6ea;
  --theme-popup-bg: #36363a;
  --theme-popup-border: #4d4d52;
  --theme-hover: #3f3f44;
  --quote-bg: #2a2a2e;
  --quote-border: #3a3a3f;
  --table-border-color: #3a3a3f;
  --table-header-bg: #2a2a2e;
  --table-alternate-bg: #262629;
  --searchbar-border-color: #45454a;
  --searchbar-bg: #1d1d20;
  --searchbar-fg: #ffffff;
  --searchresults-header-fg: #8f8f95;
  --searchresults-border-color: #3a3a3f;
  --search-mark-bg: #3584e4;
}

.coal .content h1, .coal .content h2, .coal .content h3 { color: #ffffff; }
.coal pre, .coal .hljs { background: #1a1a1d; }

.content img { max-width: 100%; border-radius: 10px; border: 1px solid #3a3a3f; }

/* Landing page */
.hero { text-align: center; padding: 8px 0 4px; }
.hero img.logo { width: 104px; height: 104px; border: none; }
.hero h1 { font-size: 2.6em; margin: 8px 0 4px; }
.hero .lead { font-size: 1.15em; color: #9a9aa0; max-width: 640px; margin: 0 auto 22px; }

.downloads { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.content a.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  min-width: 190px; padding: 10px 18px;
  background: #2a2a2e; border: 1px solid #3a3a3f; border-radius: 10px;
  color: #ffffff; font-weight: 600; text-decoration: none;
}
.content a.btn small { color: #9a9aa0; font-weight: 400; font-size: 0.8em; }
.content a.btn:hover { border-color: #3584e4; }
.content a.btn.primary { background: #3584e4; border-color: #3584e4; }
.content a.btn.primary small { color: #dbe9fb; }
.content a.btn.primary:hover { background: #4a93ea; }
.hero .sub { color: #9a9aa0; font-size: 0.9em; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: #2a2a2e; border: 1px solid #3a3a3f; border-radius: 10px; overflow: hidden; }
.card img { display: block; width: 100%; border: none; border-bottom: 1px solid #3a3a3f; border-radius: 0; }
.card > div { padding: 10px 14px 14px; }
.card h3 { margin: 0 0 4px; font-size: 1.05em; }
.card p { margin: 0; color: #b4b4ba; font-size: 0.92em; }
