/* ============================================================
   Phonovo Help Center — palette + homepage
   Portal design system: warm stone neutrals, white cards, azure
   #2563EB as the only interactive colour. No indigo/violet.
   ============================================================ */

:root {
  --md-primary-fg-color: #2563EB;
  --md-primary-fg-color--light: #3B82F6;
  --md-primary-fg-color--dark: #1D4ED8;
  --md-accent-fg-color: #1D4ED8;
  --md-default-bg-color: #FAFAFA;
  --md-typeset-color: #1C1917;
}

/* Header + sticky tab bar — the portal's dark icon-rail band */
.md-header {
  background-color: #0C0A09;
}

.md-tabs {
  background-color: #0C0A09;
  border-bottom: 1px solid #292524;
}

.md-tabs__link {
  color: #A8A29E !important;
  opacity: 1 !important;
  border-radius: 7px;
  padding: 0.55rem 0.85rem;
}

.md-tabs__link:hover {
  color: #D6D3D1 !important;
}

.md-tabs__item--active .md-tabs__link {
  color: #FFFFFF !important;
  background-color: #2563EB;
}

/* ============================================================
   Homepage — Concept A2 "Switchboard, portal-native"
   Rendered by overrides/home.html via the `hero` block, so it
   sits full-width above Material's normal (empty, on this page)
   content area — no max-width wrapper to fight.
   ============================================================ */

.a2-home {
  background: #FAFAFA;
  color: #44403C;
  background-image: radial-gradient(rgba(120, 113, 108, 0.10) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  /* Fill the leftover flex height on tall viewports so the dotted
     ground runs all the way to the footer instead of stopping. */
  flex: 1 0 auto;
}

.a2-hero {
  padding: 78px 40px 26px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.a2-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2563EB;
  font-weight: 700;
}

.a2-hero h1 {
  margin: 14px 0 8px;
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #1C1917;
  text-wrap: balance;
  line-height: 1.12;
}

.a2-hero p.sub {
  color: #78716C;
  font-size: 16px;
  margin: 0 0 32px;
}

.a2-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E7E5E4;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px;
  color: #A8A29E;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10), 0 1px 3px rgba(28, 25, 23, 0.06);
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  transition: border-color 0.15s;
  cursor: pointer;
}

.a2-search:hover,
.a2-search:focus-within {
  border-color: #93C5FD;
}

.a2-search .mag {
  color: #2563EB;
  font-size: 17px;
  flex-shrink: 0;
}

.a2-search .ph {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a2-search .slash {
  margin-left: auto;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  border: 1px solid #E7E5E4;
  border-radius: 5px;
  padding: 2px 8px;
  color: #A8A29E;
  background: #FAFAF9;
  flex-shrink: 0;
}

.a2-quick {
  margin-top: 14px;
  font-size: 13px;
  color: #78716C;
}

.a2-quick a {
  color: #2563EB;
  text-decoration: none;
  font-weight: 550;
}

.a2-quick a:hover {
  text-decoration: underline;
}

.a2-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 40px auto 0;
  padding: 0 40px;
}

.a2-key {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.05);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.a2-key:hover {
  border-color: #93C5FD;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.a2-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 9px;
}

.a2led-g { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.a2led-a { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.a2led-b { background: #3B82F6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }

.a2-key .who {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78716C;
  font-weight: 700;
}

.a2-key h3 {
  margin: 10px 0 4px;
  font-size: 18.5px;
  color: #1C1917;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.a2-key p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #78716C;
  line-height: 1.5;
}

.a2-key .n {
  font-size: 12.5px;
  color: #2563EB;
  font-weight: 650;
}

.a2-tasks {
  max-width: 980px;
  margin: 48px auto 0;
  padding: 0 40px 64px;
}

.a2-tasks h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #78716C;
  margin: 0 0 14px;
  font-weight: 700;
}

.a2-task {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #FFFFFF;
  font-size: 14.5px;
  color: #292524;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.a2-task:hover {
  border-color: #93C5FD;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10);
}

.a2-task .lbl {
  flex: 1 1 auto;
  min-width: 0;
}

.a2-task .tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.a2tag-admin { background: #EFF6FF; color: #2563EB; }
.a2tag-user  { background: #ECFDF5; color: #047857; }
.a2tag-fix   { background: #FFFBEB; color: #B45309; }

.a2-task .arr {
  color: #A8A29E;
  flex-shrink: 0;
}

.a2-olivia {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 16px 20px;
  color: #44403C;
  font-size: 14px;
  text-decoration: none;
}

.a2-olivia b {
  color: #1C1917;
}

.a2-olivia .icon {
  flex-shrink: 0;
}

.a2-olivia .msg {
  flex: 1 1 auto;
  min-width: 0;
}

.a2-olivia .go {
  margin-left: auto;
  color: #2563EB;
  font-weight: 650;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .a2-keys {
    grid-template-columns: 1fr;
  }

  .a2-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .a2-hero,
  .a2-keys,
  .a2-tasks {
    padding-left: 20px;
    padding-right: 20px;
  }

  .a2-hero {
    padding-top: 48px;
  }
}

/* Header logo — white transparent phonovo wordmark (from public/logo.png,
   cropped + recoloured). Wordmark needs more height than an icon glyph. */
.md-header__button.md-logo img {
  height: 1.5rem;
  width: auto;
}

/* The wordmark already says "phonovo" — hide the redundant site-name text.
   The second topic (the page title that slides in when an article is
   scrolled) is untouched. */
.md-header__topic:first-child {
  display: none;
}
