/* Shared with the owner-supplied homepage. Page workflows keep their own layout. */
:root {
  --pv-bg: #080c14;
  --pv-surface: #0e1520;
  --pv-surface-2: #121b29;
  --pv-border: #1e2a3b;
  --pv-border-strong: #2a3a52;
  --pv-text: #e8eef6;
  --pv-text-strong: #fff;
  --pv-text-muted: #a3b1c4;
  --pv-text-faint: #8a99ad;
  --pv-accent: #4fc3f7;
  --pv-on-accent: #08121f;
  --pv-light-tile: #f4f7fb;
  --pv-font-display: 'Bebas Neue', Impact, sans-serif;
  --pv-font-body: 'DM Sans', system-ui, sans-serif;
  --pv-container: 1180px;
  --pv-gutter: 20px;
}
.pv-container { max-width: var(--pv-container); margin: 0 auto; padding-left: var(--pv-gutter); padding-right: var(--pv-gutter); }
.pv-header, .pv-header * { box-sizing: border-box; letter-spacing: 0; }
header.pv-header { background: var(--pv-bg); border-bottom: 1px solid var(--pv-border); position: relative; top: 0; z-index: 50; padding: 0; backdrop-filter: none; color: var(--pv-text); width: 100%; font: 16px/1.5 var(--pv-font-body); }
.pv-header__inner { display: grid; align-items: center; column-gap: 12px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand actions' 'nav nav'; }
.pv-page header.pv-header { position: sticky; }
.pv-brand { grid-area: brand; padding: 10px 0; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.pv-brand img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.pv-brand__name { white-space: nowrap; font-family: var(--pv-font-display); font-size: 28px; line-height: 1; color: var(--pv-text-strong); }
.pv-brand__name span { color: var(--pv-accent); }
.pv-header__actions { grid-area: actions; display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.pv-header__login { color: #c9d4e3; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.pv-header__login:hover { color: #fff; }
.pv-header .pv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; font: 700 15px/1.5 var(--pv-font-body); text-decoration: none; background: var(--pv-accent); color: var(--pv-on-accent); }
.pv-header .pv-btn:hover { filter: brightness(1.08); }
.pv-nav { grid-area: nav; display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--pv-border-strong) transparent; margin-left: -8px; min-width: 0; }
.pv-nav a { color: #c9d4e3; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; }
.pv-nav a:hover, .pv-nav a[aria-current='page'], .pv-header__login[aria-current='page'] { background: var(--pv-surface-2); color: #fff; }
.pv-account-bar { display: flex; align-items: center; gap: 8px 16px; border-top: 1px solid var(--pv-border); font-size: 13px; }
.pv-account-email { min-width: 0; flex: 1; color: var(--pv-text-muted); overflow-wrap: anywhere; }
.pv-account-email strong { font-weight: 500; }
.pv-account-plan, .pv-account-logout { min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; color: var(--pv-text); }
.pv-account-plan { color: var(--pv-accent); font-weight: 700; }
.pv-account-logout:hover { text-decoration: underline; }
.pv-skip { position: fixed; z-index: 10000; top: 8px; left: 12px; transform: translateY(-150%); padding: 12px 18px; background: var(--pv-accent); color: var(--pv-on-accent); border-radius: 8px; font: 700 16px/1.4 var(--pv-font-body); }
.pv-skip:focus { transform: none; }
.pv-header a:focus-visible, .site-page :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--pv-accent); outline-offset: 3px; }
@media (max-width: 420px) {
  .pv-brand img { width: 36px; height: 36px; }
  .pv-brand__name { font-size: 24px; }
  .pv-header__login { padding: 10px 6px; font-size: 14px; }
  .pv-header .pv-btn { padding: 10px 12px; font-size: 14px; }
}
@media (max-width: 359px) {
  .pv-header__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'brand' 'actions' 'nav'; }
  .pv-header__actions { justify-content: space-between; padding-bottom: 8px; }
  .pv-brand { gap: 6px; }
  .pv-brand__name { font-size: 22px; }
  .pv-header .pv-btn { padding: 8px; }
}
@media (min-width: 1180px) {
  .pv-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'brand nav actions'; }
  .pv-nav { padding-bottom: 0; margin-left: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page *, .site-page *::before, .site-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
