/* ============================================================================
   Product performance (#performance) — js/products/performance-page.js
   Four group cards, one switch, one table. Follows DESIGN_SYSTEM.md: centered
   1320px column, bx-* indigo (#5B53E8), white cards on the app canvas, IBM Plex
   Sans inherited from --font, tabular numerals for every figure.
   ============================================================================ */

.pp {
    --pp-ink: #14171F;
    --pp-ink-2: #2A3343;
    --pp-sub: #6B7280;
    --pp-muted: #6B7280;
    --pp-line: #E9EAEE;
    --pp-line-2: #F0F1F4;
    --pp-fill: #F4F5F7;
    --pp-accent: #5B53E8;
    --pp-accent-hover: #4A43D6;
    --pp-accent-tint: #EEEDFC;
    --pp-accent-ring: #D6D2F7;

    --pp-good: #15803D;   --pp-good-bg: #DCFCE7;  --pp-good-line: #BBF7D0;
    --pp-base: #4A4470;   --pp-base-bg: #EEEDFC;  --pp-base-line: #E0DCFB;
    --pp-bad:  #B91C1C;   --pp-bad-bg:  #FEE2E2;  --pp-bad-line:  #FECACA;
    --pp-thin: #92400E;   --pp-thin-bg: #FEF3C7;  --pp-thin-line: #FDE68A;

    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 28px 80px;
    box-sizing: border-box;
    color: var(--pp-ink);
    font-size: 13.5px;
    line-height: 1.5;
}
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
.pp.is-busy .pp-tablecard, .pp.is-busy .pp-ov, .pp.is-busy .pp-block .pp-card { opacity: .6; transition: opacity .15s ease; pointer-events: none; }

.pp-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* ── header ───────────────────────────────────────────────────────────────── */
.pp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pp-h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.pp-subt { margin: 7px 0 0; font-size: 14px; color: var(--pp-sub); }
.pp-meta { margin: 6px 0 0; font-size: 12px; color: var(--pp-muted); }
.pp-head-r { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.pp-seg { display: inline-flex; background: var(--pp-fill); border: 1px solid var(--pp-line); border-radius: 11px; padding: 3px; gap: 3px; }
.pp-seg-btn {
    display: inline-flex; align-items: center; gap: 7px;
    font: inherit; font-size: 13px; font-weight: 600; color: #5B6473;
    background: transparent; border: none; border-radius: 8px; padding: 8px 16px; cursor: pointer;
}
.pp-seg-btn:hover { color: var(--pp-ink); }
.pp-seg-btn.is-on { background: #fff; color: var(--pp-accent); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.pp-seg-btn:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 1px; }
.pp-seg-off { font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--pp-muted); }

/* ── tones ───────────────────────────────────────────────────────────────── */
.pp-t-good { --tone: #16A34A; --tone-bg: #F0FDF4; --tone-ink: #15803D; }
.pp-t-base { --tone: #5B53E8; --tone-bg: #F5F5FF; --tone-ink: #4338CA; }
.pp-t-bad  { --tone: #DC2626; --tone-bg: #FEF2F2; --tone-ink: #B91C1C; }
.pp-t-thin { --tone: #D97706; --tone-bg: #FFFBEB; --tone-ink: #B45309; }
.pp-sq { width: 8px; height: 8px; border-radius: 2px; background: var(--tone, #6B7280); flex: 0 0 auto; display: inline-block; }

/* ── blocks (2026-11-17 face-lift) ───────────────────────────────────────── */
.pp-card { background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; }
.pp-block { margin-top: 28px; }
.pp-block-h { margin-bottom: 12px; }
.pp-block-h--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pp-h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--pp-ink); }
.pp-block-sub { margin: 4px 0 0; font-size: 12.5px; color: var(--pp-sub); max-width: 760px; }

/* overview: KPI tiles + three share bars */
.pp-ov { margin-top: 22px; }
.pp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pp-kpi { padding: 16px 20px; border-left: 1px solid var(--pp-line-2); min-width: 0; }
.pp-kpi:first-child { border-left: none; }
.pp-kpi-l { font-size: 12px; font-weight: 500; color: var(--pp-sub); }
.pp-kpi-v { margin-top: 4px; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--pp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-kpi-s { margin-top: 3px; font-size: 12px; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.pp-ov-shares { border-top: 1px solid var(--pp-line-2); padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.pp-ov-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.pp-ov-h .pp-h2 { font-size: 14px; }
.pp-ov-avg { font-size: 12.5px; color: var(--pp-sub); font-variant-numeric: tabular-nums; }
.pp-share { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 14px; }
.pp-share-l { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--pp-ink-2); }
.pp-share-l em { font-style: normal; font-weight: 500; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.pp-share-bar { display: flex; gap: 2px; height: 22px; border-radius: 6px; overflow: hidden; background: var(--pp-line-2); }
.pp-share-seg { background: var(--tone); min-width: 3px; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; overflow: hidden; white-space: nowrap; }
.pp-t-thin.pp-share-seg { color: #3B2200; }
.pp-share-none { font-size: 11.5px; color: var(--pp-muted); padding: 0 10px; display: flex; align-items: center; }
.pp-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--pp-sub); padding-left: 184px; }
.pp-legend > span { display: inline-flex; align-items: center; gap: 6px; }

/* what to do next */
.pp-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-next-i { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; }
.pp-next-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); flex: 0 0 auto; margin-top: 5px; box-shadow: 0 0 0 4px var(--tone-bg); }
.pp-next-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pp-next-t strong { font-size: 13.5px; font-weight: 600; color: var(--pp-ink); line-height: 1.4; }
.pp-next-t span { font-size: 12.5px; color: var(--pp-sub); }
.pp-next-go { flex: 0 0 auto; align-self: center; font-size: 12.5px; padding: 6px 11px; white-space: nowrap; }

/* group cards */
.pp-gcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp-gc {
    font: inherit; color: inherit; text-align: left; cursor: pointer; position: relative;
    background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; padding: 16px 18px 14px;
    display: flex; flex-direction: column; gap: 6px; transition: border-color .12s ease, box-shadow .12s ease;
}
.pp-gc::before { content: ''; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tone); }
.pp-gc:hover { border-color: #D5D8DF; box-shadow: 0 2px 8px rgba(16,24,40,.05); }
.pp-gc.is-on { border-color: var(--tone); box-shadow: 0 0 0 1px var(--tone); }
.pp-gc:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 2px; }
.pp-gc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-gc-name { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--tone-ink); }
.pp-gc-pct { font-size: 11.5px; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.pp-gc-n { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pp-gc-stats { margin: 2px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 12px; }
.pp-gc-stats dt { color: var(--pp-muted); }
.pp-gc-stats dd { margin: 0; text-align: right; font-weight: 600; color: var(--pp-ink-2); font-variant-numeric: tabular-nums; }
.pp-gc-rule { margin: 6px 0 0; padding-top: 8px; border-top: 1px dashed var(--pp-line); font-size: 12px; color: var(--pp-sub); line-height: 1.45; flex: 1 1 auto; }
.pp-gc-todo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 7px 10px; border-radius: 8px; background: var(--tone-bg); font-size: 12px; font-weight: 600; color: var(--tone-ink); }
.pp-gc-go { flex: 0 0 auto; font-weight: 600; }

/* breakdown */
.pp-seg--sm .pp-seg-btn { padding: 6px 12px; font-size: 12.5px; }
.pp-bd-row { cursor: pointer; }
.pp-bd-row:focus-visible td { outline: none; background: var(--pp-accent-tint); }
.pp-bd-row.is-on td { background: var(--pp-accent-tint) !important; }
.pp-bd-row.is-on .pp-bd-name .pp-title { color: var(--pp-accent); }
.pp-bd-name { min-width: 180px; max-width: 320px; }
.pp-bd-spend { min-width: 150px; }
.pp-bd-spend > span:first-child { display: block; }
.pp-bd-bar { display: block; margin: 4px 0 0 auto; height: 4px; width: 90px; border-radius: 2px; background: var(--pp-line-2); overflow: hidden; }
.pp-bd-bar > span { display: block; height: 100%; background: var(--pp-accent); border-radius: 2px; }
.pp-bd-mixc { width: 170px; }
.pp-mix { display: flex; gap: 1px; height: 8px; width: 150px; border-radius: 4px; overflow: hidden; background: var(--pp-line-2); }
.pp-mix > span { background: var(--tone); min-width: 2px; }
.pp-bd-other td { color: var(--pp-muted); font-style: italic; }
.pp-roas.is-up { color: #15803D; }
.pp-roas.is-down { color: #B91C1C; }
.pp-skel-sum { margin-top: 22px; height: 170px; border-radius: 12px; background: linear-gradient(90deg, #F4F5F7 0%, #FAFAFB 50%, #F4F5F7 100%); background-size: 200% 100%; animation: pp-shimmer 1.3s ease-in-out infinite; }

/* ── quick filters (above the table) ──────────────────────────────────────── */
.pp-filters { padding: 14px 20px 6px; display: flex; flex-direction: column; gap: 8px; }
.pp-qf-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pp-qf-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pp-muted); width: 74px; flex: 0 0 auto; }
.pp-active { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--pp-sub); padding: 8px 12px; margin-top: 2px; border-radius: 8px; background: var(--pp-accent-tint); }
.pp-active strong { color: #3F38C9; font-weight: 600; }
.pp-active .pp-qf-clear { margin-left: auto; }
.pp-qf {
    display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 12.5px; font-weight: 500;
    color: var(--pp-ink-2); background: #fff; border: 1px solid #E3E5EA; border-radius: 8px; padding: 5px 10px; cursor: pointer;
}
.pp-qf:hover { border-color: #C9CDD6; }
.pp-qf.is-on { background: var(--pp-ink); border-color: var(--pp-ink); color: #fff; }
.pp-qf-n { font-size: 11.5px; font-weight: 600; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.pp-qf.is-on .pp-qf-n { color: rgba(255,255,255,.7); }
.pp-qf:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 1px; }
.pp-qf-clear { font: inherit; font-size: 12.5px; font-weight: 500; color: var(--pp-accent); background: none; border: none; padding: 5px 4px; cursor: pointer; }
.pp-qf-clear:hover { text-decoration: underline; }

/* ── "use these groups" switch bar ────────────────────────────────────────── */
.pp-how a { color: var(--pp-accent); font-weight: 600; text-decoration: none; }
.pp-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--pp-fill); color: var(--pp-sub); }
.pp-badge.is-on { background: var(--pp-good-bg); color: var(--pp-good); }

.pp-switch { width: 52px; height: 30px; border-radius: 999px; border: none; cursor: pointer; position: relative; padding: 0; background: #CBD0D8; flex: 0 0 auto; transition: background .18s ease; }
.pp-switch.is-on { background: var(--pp-accent); }
.pp-switch > span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,0.3); transition: left .18s ease; }
.pp-switch.is-on > span { left: 25px; }
.pp-switch:disabled { opacity: .55; cursor: default; }
.pp-switch:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 2px; }

.pp-linkbtn { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: inherit; font-weight: 600; color: var(--pp-accent); background: none; border: none; padding: 0; cursor: pointer; }
.pp-linkbtn:hover { text-decoration: underline; }

/* ── table ────────────────────────────────────────────────────────────────── */
.pp-tablecard { margin-top: 0; background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; overflow: hidden; }
.pp-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--pp-line-2); }
.pp-grow { flex: 1 1 auto; }
.pp-search { display: flex; align-items: center; gap: 6px; border: 1px solid #E2E4EA; border-radius: 9px; padding: 0 10px; background: #fff; color: var(--pp-muted); min-width: 260px; flex: 0 1 340px; }
.pp-search:focus-within { border-color: var(--pp-accent); box-shadow: 0 0 0 3px rgba(91,83,232,0.12); }
.pp-search-in { flex: 1; border: none; outline: none; font: inherit; font-size: 13px; padding: 9px 2px; background: none; color: var(--pp-ink-2); min-width: 0; }
.pp-sel {
    font: inherit; font-size: 13px; font-weight: 500; color: var(--pp-ink-2); background: #fff;
    border: 1px solid #E2E4EA; border-radius: 9px; padding: 8px 30px 8px 12px; cursor: pointer; outline: none;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%239099A6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.pp-sel:focus { border-color: var(--pp-accent); }
.pp-count { font-size: 12.5px; color: var(--pp-muted); font-variant-numeric: tabular-nums; }
.pp-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12.5px; font-weight: 600; color: #3F38C9; background: var(--pp-accent-tint); border: 1px solid var(--pp-accent-ring); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.pp-chip-x { font-size: 15px; line-height: 1; color: #6B64D9; }

.pp-tablewrap { overflow-x: auto; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pp-table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--pp-muted); padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--pp-line); white-space: nowrap; }
.pp-table th.pp-num { text-align: right; }
.pp-table th button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.pp-table th.is-sorted { color: var(--pp-accent); }
.pp-arrow { font-size: 12px; }
.pp-table td { padding: 9px 12px; border-bottom: 1px solid var(--pp-line-2); vertical-align: middle; }
.pp-table tbody tr:last-child td { border-bottom: none; }
/* ONE OUTER GUTTER (2026-11-09 polish): the first / last cell sit on the summary card's 20px edge, so the
   thumbnails, the toolbar and the totals above all start on the same line. */
.pp-table th:first-child, .pp-table td:first-child { padding-left: 20px; }
.pp-table th:last-child, .pp-table td:last-child { padding-right: 20px; }
.pp-table tbody tr:hover td { background: #FAFAFB; }
.pp-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--pp-ink-2); }
.pp-strong { font-weight: 700; color: var(--pp-ink); }
.pp-c-thumb { width: 40px; padding-right: 4px !important; }
.pp-thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--pp-fill); border: 1px solid var(--pp-line-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumb-ph { color: #646B78; display: flex; }
.pp-c-title { min-width: 220px; max-width: 420px; }
.pp-title { font-weight: 600; color: var(--pp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-id { font-size: 11.5px; color: var(--pp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-grp { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--tone-ink, var(--pp-ink-2)); white-space: nowrap; }
.pp-why { margin-top: 2px; padding-left: 15px; font-size: 11.5px; color: var(--pp-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 1px 7px; border-radius: 999px; background: var(--pp-fill); color: var(--pp-sub); vertical-align: 1px; }
.pp-tag--bad { background: var(--pp-bad-bg); color: var(--pp-bad); }
.pp-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pp-pill--good { background: var(--pp-good-bg); color: var(--pp-good); }
.pp-pill--base { background: var(--pp-base-bg); color: var(--pp-base); }
.pp-pill--bad  { background: var(--pp-bad-bg);  color: var(--pp-bad); }
.pp-pill--thin { background: var(--pp-thin-bg); color: var(--pp-thin); }
.pp-none { text-align: center; color: var(--pp-muted); padding: 34px 12px !important; }

.pp-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--pp-line-2); }
.pp-pager.is-empty { display: none; }
.pp-pager-txt { font-size: 12.5px; color: var(--pp-sub); font-variant-numeric: tabular-nums; }
.pp-pager-txt:first-child { margin-right: auto; }
.pp-ghost { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: #5B6473; background: #fff; border: 1px solid #E2E4EA; border-radius: 9px; padding: 7px 12px; cursor: pointer; }
.pp-ghost:hover:not(:disabled) { background: #FAFAFB; }
.pp-ghost:disabled { opacity: .45; cursor: default; }

/* ── empty / alert / skeleton ─────────────────────────────────────────────── */
.pp-empty { margin-top: 28px; background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pp-empty-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--pp-accent-tint); color: var(--pp-accent); display: flex; align-items: center; justify-content: center; }
.pp-empty-t { margin: 14px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pp-empty-b { margin: 6px 0 0; max-width: 480px; color: var(--pp-sub); font-size: 13.5px; }
.pp-primary { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #fff; background: var(--pp-accent); border: none; border-radius: 9px; padding: 10px 18px; cursor: pointer; text-decoration: none; }
.pp-primary:hover { background: var(--pp-accent-hover); }

.pp-alert { margin-top: 16px; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #7F1D1D; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px; padding: 11px 14px; }
.pp-alert .pp-ic { color: #DC2626; margin-top: 2px; }

.pp-skel-bar { margin-top: 16px; height: 74px; border-radius: 14px; background: var(--pp-fill); }
.pp-skel-table { margin-top: 16px; height: 360px; border-radius: 14px; background: var(--pp-fill); }
@keyframes pp-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pp-skel-sum { animation: none; } .pp-switch > span { transition: none; } }

/* ── narrow ───────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .pp-gcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-kpi:nth-child(n) { border-left: none; }
    .pp-kpis { gap: 0; }
}
@media (max-width: 760px) {
    .pp-next { grid-template-columns: 1fr; }
    .pp-share { grid-template-columns: 1fr; gap: 4px; }
    .pp-legend { padding-left: 0; }
}
@media (max-width: 640px) {
    .pp { padding: 20px 16px 60px; }
    .pp-gcs { grid-template-columns: 1fr; }
    .pp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-kpi { padding: 12px 14px; }
    .pp-kpi-v { font-size: 19px; white-space: normal; overflow-wrap: anywhere; }
    .pp-search { min-width: 0; flex: 1 1 100%; }
    .pp-next-i { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; row-gap: 10px; }
    .pp-next-go { grid-column: 2; justify-self: start; }
    .pp-qf-label { width: 100%; }
}

/* Meta: Products | Templates (2026-11-08) */
.pp-viewbar { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.pp-tpl-note { margin: 0; padding: 10px 20px 12px; border-top: 1px solid var(--pp-line-2); font-size: 12.5px; color: var(--pp-muted); line-height: 1.5; }   /* inside the card's 20px gutter (2026-11-09: it sat flush on the card edge) */
.pp-tpl-share { margin: 4px 0 0 auto; height: 4px; width: 72px; border-radius: 2px; background: var(--pp-line-2); overflow: hidden; }
.pp-tpl-share span { display: block; height: 100%; background: var(--pp-accent); border-radius: 2px; }
.pp-tpl-muted td { color: var(--pp-muted); }
.pp-tpl-muted .pp-title { font-style: italic; }
.pp-link { color: var(--pp-accent); font-weight: 600; text-decoration: none; }
.pp-link:hover { text-decoration: underline; }
