/* The platform identity sits above the existing company guide themes. */
.catalyst-app-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 24px; background: #17232b; color: #f8fafc; }
.catalyst-app-modes .catalyst-suite-label { font-size: 12px; font-weight: 700; margin-right: 4px; }
.catalyst-app-modes a, .catalyst-app-modes .catalyst-app-disabled { color: #f8fafc; border: 1px solid #60717c; border-radius: 8px; padding: 7px 12px; text-decoration: none; font-size: 12px; font-weight: 600; }
.catalyst-app-modes .catalyst-app-disabled { color: #929da5; background: #273239; border-color: #465159; cursor: not-allowed; }
.home-assistant-option.wc-pricing-unavailable { grid-template-columns: auto minmax(0, 1fr); margin-top: 20px; background: #f1f2f3; border-color: #d5d9dc; color: #747b82; box-shadow: none; cursor: not-allowed; }
.home-assistant-option.wc-pricing-unavailable:hover { border-color: #d5d9dc; }
.home-assistant-option.wc-pricing-unavailable .eyebrow,
.home-assistant-option.wc-pricing-unavailable h2,
.home-assistant-option.wc-pricing-unavailable p { color: inherit; }
.home-assistant-option.wc-pricing-unavailable .wc-pricing-unavailable-icon { width: 94px; text-align: center; font-size: 34px; color: #92989e; }
@media (max-width: 760px) { .home-assistant-option.wc-pricing-unavailable .wc-pricing-unavailable-icon { width: 62px; } }
.catalyst-app-modes a[aria-current="page"] { background: #fff; color: #17232b; border-color: #fff; }
.catalyst-app-modes a:focus-visible { outline: 2px solid #ffb30f; outline-offset: 3px; }
@media (max-width: 360px) { .catalyst-app-modes .catalyst-suite-label { flex-basis: 100%; } }
@media (max-width: 760px) { .catalyst-app-modes { padding-inline: 12px; } }
/* One Catalyst identity across every guide, with the original C artwork. */
.catalyst-shell {
  --catalyst-ink: #10212b;
  --catalyst-cobalt: #2454c6;
  --catalyst-lime: #b4dc8d;
  --catalyst-amber: #ffb30f;
}
body.catalyst-shell .topbar {
  gap: 18px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px #10212b08;
}
.catalyst-shell .catalyst-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 207px;
  min-width: 0;
  min-height: 58px;
  padding: 7px 15px 7px 8px;
  overflow: hidden;
  border: 1px solid #29404d;
  border-radius: 13px;
  background: var(--catalyst-ink);
  color: #f7f9f8;
  box-shadow: 0 3px 8px #10212b14;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.catalyst-shell .catalyst-brand::after {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 40px;
  height: 2px;
  background: var(--catalyst-lime);
  border-radius: 3px 3px 0 0;
  content: "";
}
.catalyst-shell .catalyst-brand:hover { border-color: #648771; box-shadow: 0 4px 15px #10212b23; }
.catalyst-shell .catalyst-brand:focus-visible { outline: 3px solid var(--catalyst-cobalt); outline-offset: 4px; }
.catalyst-shell.guide-cars .catalyst-brand:focus-visible { outline-color: var(--catalyst-lime); }
.catalyst-shell .catalyst-symbol {
  display: block;
  flex: 0 0 43px;
  width: 43px;
  height: 44px;
  overflow: hidden;
  border-radius: 9px;
}
.catalyst-shell .catalyst-symbol img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.catalyst-shell .catalyst-wordmark { display: grid; gap: 1px; min-width: 0; }
.catalyst-shell .catalyst-wordmark strong {
  color: #f7f9f8;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
}
.catalyst-shell .guide-logo { border-radius: 10px; }
body.catalyst-shell .guide-logo.active { border-color: #b9c8eb; box-shadow: inset 0 -2px var(--catalyst-cobalt); }
.catalyst-shell.guide-cars .guide-logo.active { border-color: #466054; box-shadow: inset 0 -2px var(--catalyst-lime); }
.catalyst-shell .topbar > nav > a,
.catalyst-shell .nav-more > summary { border-radius: 9px; }
.catalyst-shell .catalyst-entry {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 55px #10212b0c;
}
.catalyst-shell .catalyst-entry::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--catalyst-cobalt) 0 56%, var(--catalyst-lime) 56% 87%, var(--catalyst-amber) 87%);
  content: "";
}
.catalyst-shell .catalyst-entry h1 { letter-spacing: -.04em; }
.catalyst-shell .catalyst-entry-description { margin: 12px 0; font-weight: 600; line-height: 1.55; }
.catalyst-shell .catalyst-guide-context { color: var(--muted); font-size: 13px; }
@media (min-width: 1121px) and (max-width: 1400px) {
  .catalyst-shell.guide-cars .nav-assistant-long { display: none; }
  .catalyst-shell.guide-cars .nav-assistant-short { display: inline; }
}
@media (max-width: 760px) {
  body.catalyst-shell .topbar { gap: 10px; }
  .catalyst-shell .brand-lockup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .catalyst-shell .catalyst-brand { width: 100%; min-height: 56px; padding: 7px 9px; gap: 6px; align-self: center; border-radius: 11px; }
  .catalyst-shell .catalyst-symbol { flex-basis: 33px; width: 33px; height: 36px; }
  .catalyst-shell .catalyst-wordmark strong { font-size: 25px; letter-spacing: -1.3px; }
  .catalyst-shell .catalyst-brand::after { left: 14px; width: 26px; }
  .catalyst-shell .guide-menu-toggle { width: 100%; border-radius: 11px; }
  .catalyst-shell .guide-switcher { left: auto; right: 0; border-radius: 12px; }
  .catalyst-shell .topbar > nav > a,
  .catalyst-shell .nav-more > summary { font-size: 13px; }
}
@media (max-width: 360px) {
  .catalyst-shell .catalyst-brand { padding-inline: 7px; gap: 5px; }
  .catalyst-shell .catalyst-symbol { flex-basis: 27px; width: 27px; height: 30px; }
  .catalyst-shell .catalyst-wordmark strong { font-size: 22px; }
  .catalyst-shell .topbar > nav { gap: 2px; }
  .catalyst-shell .topbar > nav > a,
  .catalyst-shell .nav-more > summary { font-size: 12px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalyst-shell .catalyst-brand { transition: none; }
}
