/* Approved brand-panel background for the existing licence cockpits.
   Colours and background painting only: cockpit dimensions, tabs and masks stay owned
   by license-cockpit.css. Load after that file and the shared background stylesheet. */
body.joker-dark.license-cockpit-page {
  background-color:#101010;
}

body.joker-dark.license-cockpit-page main#main.license-cockpit {
  --cp-muted:#c3c3c3;
  --cp-line:#363636;
  /* subpages-unified.css sets an important main background shorthand. Keep this
     one override important so the artwork can span the page, rather than a card. */
  background:#101010 url("assets/background-brand-panels-20261109.webp") center top / 100% clamp(560px,calc(100svh - var(--site-header-height,96px)),900px) no-repeat!important;
}

body.license-cockpit-page #main.license-cockpit .cp-container,
body.license-cockpit-page #main.license-cockpit .cp-hero {
  background:transparent;
}

body.license-cockpit-page #main.license-cockpit .cp-tabs button {
  background-color:#1c1c1c;
}
body.license-cockpit-page #main.license-cockpit .cp-tabs button[aria-selected="true"],
body.license-cockpit-page #main.license-cockpit [data-cp-column][data-cp-active="true"] {
  background-color:#242424;
}

/* Preserve green selection outlines and labels, while removing the old green
   cast from explanatory text and the dark foreground of the bright actions. */
body.license-cockpit-page #main.license-cockpit .cp-intro {
  color:#dadada;
}
body.license-cockpit-page #main.license-cockpit .cp-tabs button:not([aria-selected="true"]) small,
body.license-cockpit-page #main.license-cockpit .cp-extension summary small,
body.license-cockpit-page #main.license-cockpit .cp-extension-body,
body.license-cockpit-page #main.license-cockpit .cp-more>div {
  color:#d5d5d5;
}
body.license-cockpit-page #main.license-cockpit .cp-primary,
body.license-cockpit-page #main.license-cockpit .cp-whatsapp {
  color:#101010;
}

@media(max-width:600px) {
  body.joker-dark.license-cockpit-page main#main.license-cockpit {
    background-image:url("assets/background-brand-panels-mobile-20261109.webp")!important;
    background-size:100% clamp(680px,calc(100svh - var(--site-header-height,76px)),960px)!important;
  }
}
