/* Team preview layer: the role bar on every page, the toast, and the start page. */
:root { --pv-h: 40px; }
.pv-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; height: var(--pv-h); box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #17171A; color: #F6F4F0; font: 500 13px/1.3 Inter, system-ui, sans-serif; white-space: nowrap; }
.pv-bar b { font-weight: 600; }
.pv-bar__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF4D3D; }
.pv-bar__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pv-bar a { flex: none; margin-left: auto; padding: 5px 12px; border-radius: 999px; background: #F6F4F0; color: #17171A; font-weight: 600; text-decoration: none; }
.pv-bar a:hover { background: #fff; }
@media (max-width: 720px) { .pv-bar { font-size: 12px; padding: 0 12px; } .pv-bar a { padding: 4px 10px; } }
/* every page's own sticky or fixed top parts sit just under the preview bar */
body:has(> .pv-bar) { padding-top: var(--pv-h); }
body:has(> .pv-bar) .nav-bar { top: var(--pv-h) !important; }
body:has(> .pv-bar) .topbar { top: var(--pv-h); }
body:has(> .pv-bar) .side { top: var(--pv-h); height: calc(100dvh - var(--pv-h)); }
@media (max-width: 720px) { body:has(> .pv-bar) .bell__panel { top: calc(64px + var(--pv-h)); } }
html:has(.pv-bar) { scroll-padding-top: calc(var(--pv-h) + 80px); }

.pv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 10000; transform: translate(-50%, 12px); max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; background: #17171A; color: #F6F4F0; font: 500 14px/1.45 Inter, system-ui, sans-serif; box-shadow: 0 16px 40px -12px rgb(0 0 0 / .45); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.pv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .pv-toast { bottom: 96px; } }

/* start page */
.pv-start { margin: 0; background: #F6F4F0; color: #17171A; font-family: Inter, system-ui, sans-serif; }
.pv-wrap { max-width: 1120px; margin: 0 auto; padding: 48px 24px 64px; }
.pv-head { display: flex; align-items: center; gap: 12px; }
.pv-head img { border-radius: 10px; }
.pv-brand { font-family: 'Bricolage Grotesque', Inter, sans-serif; font-weight: 700; font-size: 20px; }
.pv-tag { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: #FFE3DF; color: #B8301F; font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.pv-title { margin: 56px 0 0; font-family: 'Bricolage Grotesque', Inter, sans-serif; font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; }
.pv-lede { max-width: 640px; margin: 16px 0 0; color: #57534E; font-size: 18px; line-height: 1.55; }
.pv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pv-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 24px; border: 1px solid #D6D0C7; border-radius: 22px; background: #FCFBF9; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pv-card:hover { border-color: #17171A; transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgb(0 0 0 / .35); }
.pv-card__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.pv-card__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv-card__k { font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #57534E; }
.pv-card b { font-family: 'Bricolage Grotesque', Inter, sans-serif; font-size: 22px; line-height: 1.2; }
.pv-card__t { flex: 1; color: #57534E; font-size: 15px; line-height: 1.5; }
.pv-card__go { margin-top: 8px; font-weight: 600; font-size: 15px; color: #B8301F; }
.pv-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px dashed #D6D0C7; }
.pv-notes b { font-size: 15px; }
.pv-notes p { margin: 6px 0 0; color: #57534E; font-size: 14px; line-height: 1.5; }
@media (max-width: 960px) { .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .pv-wrap { padding: 28px 16px 48px; }
  .pv-title { margin-top: 36px; }
  .pv-grid, .pv-notes { grid-template-columns: minmax(0, 1fr); }
}
