/* pa-views-a.css · W14 feature pages + W16 T-c pages (27 Nov 2026). Admin tokens only: no new colours, fonts or radii. */

/* head: the "Features" crumb above the feature name, ‹ › through the eight features */
.pa-crumb { grid-row: 1; grid-column: 1; justify-self: start; margin: 0 0 var(--space-1); font-size: var(--tiny); color: var(--color-text-secondary); text-decoration: none; }
.pa-ph:has(.pa-crumb) .ap-title { display: block; }
@media (hover: hover) and (pointer: fine) { .pa-crumb:hover { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 2px; } }
.pa-fnav { display: inline-flex; gap: 2px; margin-left: calc(-1 * var(--space-2)); }
.pa-fnav .b--icon { width: 28px; height: 28px; }
.pa-fnav svg { width: 16px; height: 16px; }

/* tiles: up to 8 on a feature page wrap to two rows of four at desktop widths */
.pa-ftiles .pa-tiles[style*="--n:7"], .pa-ftiles .pa-tiles[style*="--n:8"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pa-fgrid, .pa-tgrid { margin-top: var(--space-5); }

/* several segs side by side in a card head (series + Day | Week | Month) */
.pa-segs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
.ovc-tog button[aria-disabled="true"] { color: var(--color-text-disabled); cursor: not-allowed; }

/* a row's name opens its drawer peek: plain text that reads as a link on hover and focus */
.pa-rowlink { padding: 0; border: 0; background: none; font: inherit; color: var(--color-text-primary); text-align: left; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .pa-rowlink:hover { color: var(--color-text-accent); text-decoration: underline; text-underline-offset: 2px; } }
.pa-rowlink:focus-visible { outline: 2px solid var(--color-border-focus); outline-offset: 2px; border-radius: var(--radius-xs); }

/* status tags (the admin .st), by job */
.pa-st-new, .pa-st-live { background: var(--color-status-info-bg); color: var(--color-status-info-fg); }
.pa-st-upcoming { background: var(--color-bg-surface); color: var(--color-text-secondary); }

/* a cut card under its own filter: greyed, still readable (filters.md §2 Demographics) */
.pa-greyed .pa-card__b { opacity: .55; }

.pa-peek-p { margin: 0; line-height: 1.5; }

@container page (max-width: 760px) {
  .pa-ftiles .pa-tiles[style*="--n:7"], .pa-ftiles .pa-tiles[style*="--n:8"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-segs { justify-content: flex-start; }
}

/* a long series seg (six series on a feature trend) wraps under the title instead of squeezing it */
:is(.pa-fgrid, .pa-tgrid) .pa-card .ovc-h { flex-wrap: wrap; }
:is(.pa-fgrid, .pa-tgrid) .pa-card .ovc-t { flex: 1 1 280px; }
:is(.pa-fgrid, .pa-tgrid) .pa-card .ovc-r { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
