/* Launch week (launch.js): the strip above the nav, the slots, the review markers. Shared by every page. */
:root { --px-bh: 0px; }
/* Warm Alba light, so it reads as a notice on the night hero and on white pages alike. */
.px-banner { position: fixed; z-index: 41; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); background: linear-gradient(90deg, hsl(33 86% 84%), hsl(28 78% 78%)); color: #061636; box-shadow: 0 1px 0 rgb(6 22 54 / 0.12); }
.px-banner-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 16px; max-width: 1200px; margin: 0 auto; padding: 10px 16px; font-size: 14px; line-height: 20px; text-align: center; }
.px-banner-link { color: #061636; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(6 22 54 / 0.45); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .px-banner-link:hover { text-decoration-color: #061636; } }
/* the nav and the page move down by the strip; the hero keeps its fold */
html[data-px-banner] { --px-bh: 40px; }
html[data-px-banner] body { padding-top: var(--px-bh); }
html[data-px-banner] .gnav { top: var(--px-bh); }
html[data-px-banner] .site .menu-panel { top: calc(var(--nav-h) + var(--px-bh) + env(safe-area-inset-top, 0px)); }
html[data-px-banner] :is([id], section) { scroll-margin-top: calc(var(--px-bh) + 64px); }

[data-launch][hidden], [data-fase-only][hidden] { display: none !important; }

/* review only (?rev=1): undecided copy is loud on purpose, so nobody ships it */
.px-vot { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: #fff3c4; color: #5c4400; font: 500 12px/20px system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; vertical-align: middle; white-space: normal; }
.px-banner .px-vot { margin-left: 0; }
/* dot, face and text scale off the 20 px line: a 6 px dot near the x-height, a 24 px face a touch over the line, 8 px between them and 10 px before the text */
.px-banner-face { flex: none; align-self: center; width: 24px; height: 24px; margin: -2px -6px -2px 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.75); }
.px-banner-in b { font-weight: 600; }
.px-banner-in::before { content: ""; flex: none; align-self: center; width: 6px; height: 6px; margin-right: -8px; border-radius: 50%; background: #d4561c; box-shadow: 0 0 0 2px rgb(212 86 28 / 0.2); }
html[data-rev] [data-verifica] { outline: 1px dashed #c99a00; outline-offset: 3px; }
/* phones: one 44 px row, dot, face, the short sentence (launch.js marks the words to drop), the link at the end */
.px-banner-s { display: none; }
@media (max-width: 860px) {
  .px-banner-in { flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 8px; padding: 12px 16px; font-size: 13px; line-height: 20px; text-align: left; }
  .px-banner-in::before { flex: none; }
  .px-banner-in::before { margin-right: 0; }
  .px-banner-face { width: 22px; height: 22px; margin: 0 2px 0 0; }
  .px-banner-tx { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .px-banner-more, .px-banner-l { display: none; }
  .px-banner-s { display: inline; }
  .px-banner-link { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -12px auto; padding-left: 4px; }
  .px-banner .px-vot { flex: none; }
}

/* Preview-only mode switch (never on plannix.co): above the mobile bar, clear of the review panel bottom-left. */
.px-modo { position: fixed; z-index: 55; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 999px; background: #061636; color: #ffffff; box-shadow: 0 10px 28px -10px rgb(6 22 54 / 0.55); font: 500 13px/18px system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0 !important; white-space: nowrap; }
.px-modo-k { color: rgb(255 255 255 / 0.66); margin-right: 4px; }
.px-modo button { font: inherit; letter-spacing: 0 !important; color: #ffffff; background: transparent; border: 0; border-radius: 999px; padding: 6px 12px; min-height: 32px; cursor: pointer; }
.px-modo button:hover { background: rgb(255 255 255 / 0.12); }
.px-modo button[aria-pressed="true"] { background: #ffffff; color: #061636; }
.px-modo button:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.px-modo-s { display: none; }
/* phones: review chrome, so it stays light: a 28 px translucent tag in the bottom-right corner with only the current phase; tapping it opens the other two (launch.js).
   The footer gets the tag's height as extra bottom room, so the last line of the page is never stuck under it. */
@media (max-width: 860px) {
  .px-modo { left: auto; right: 8px; transform: none; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); gap: 0; padding: 2px; border-radius: 8px; background: rgb(255 255 255 / 0.72); color: #061636; box-shadow: 0 0 0 1px rgb(6 22 54 / 0.12), 0 2px 8px -2px rgb(6 22 54 / 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; line-height: 16px; opacity: 0.9; }
  html:has(.mbar[data-on]) .px-modo { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .px-modo-k, .px-modo-l { display: none; }
  .px-modo-s { display: inline; }
  .px-modo button { min-height: 24px; padding: 4px 8px; border-radius: 6px; color: #061636; }
  .px-modo button[aria-pressed="true"] { background: transparent; color: #061636; }
  .px-modo[data-open] button[aria-pressed="true"] { background: rgb(6 22 54 / 0.08); }
  .px-modo button:focus-visible { outline-color: #0373e2; }
  html:has(.px-modo) .fa { padding-bottom: calc(var(--m-lede-content) + 28px + env(safe-area-inset-bottom, 0px)); }
  .px-modo:not([data-open]) button[aria-pressed="false"] { display: none; }
  .px-modo:not([data-open]) button[aria-pressed="true"]::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
}
@media print { .px-modo { display: none; } }
