/*
 * pn-visuals.css: the drawn product visuals (mixins in app/server/views/frontend/common/v3/visuals/pn_visuals.pug).
 * One visual language on every page (2026-11-18): white mock cards with a 1px line, real channel icons, flat
 * illustrated media, weekday and time only. No gradients, no purple, no shadows (one soft lift on the hero window).
 * Tokens come from pn-system.css. Motion: js/frontend/views/pn-motion.js sets html.pns-motion (only when
 * IntersectionObserver exists and the visitor did not ask for reduced motion) and adds .is-in to a [data-pnv]
 * when it scrolls into view. Without that class every visual shows its finished frame.
 * Link it in the head of a page that calls a pnv mixin, outside usemin build blocks; bump ?v= on every edit.
 */

.pnv,
.pnv * {
    box-sizing: border-box;
}

.pnv {
    position: relative;
    width: 100%;
    color: var(--pns-text);
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

/* :where keeps these resets at the weight of .pnv alone, so every component rule below wins. */
.pnv :where(ul, ol, li, p) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pnv :where(span, i, b, em) {
    font-style: normal;
    font-weight: inherit;
}

.pnv img {
    display: block;
    max-width: none;
    margin: 0;
}

.pnv-card {
    display: block;
    padding: 16px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
}

/* ---------- small parts ---------- */
.pnv-chan {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--pns-line);
    border-radius: 7px;
    background: #ffffff;
}

.pnv-tick {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.pnv-tick circle {
    fill: var(--pns-lime);
}

.pnv-tick path {
    stroke: var(--pns-on-lime);
}

.pnv-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.pnv-chip .pnv-tick {
    width: 12px;
    height: 12px;
}

.pnv-chip--pub {
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
}

.pnv-chip--draft {
    border: 1px dashed var(--pns-field);
    background: transparent;
}

.pnv-chip--ghost {
    border: 1px dashed var(--pns-field);
    background: transparent;
    color: var(--pns-text-3);
}

.pnv-chip--ai {
    background: var(--pns-ink);
    color: #ffffff;
}

.pnv-chip--ai::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pns-lime);
}

.pnv-lines {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pnv-lines i {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #e9e9ec;
}

.pnv-lines i + i {
    width: 62%;
}

.pnv-avatar {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pns-ink);
    box-shadow: inset 0 0 0 7px var(--pns-lime);
}

/* Flat illustrated media: a sun and a hill on a tint. */
.pnv-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: #f1e6c9;
}

.pnv-thumb i {
    position: absolute;
    top: 18%;
    right: 16%;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
}

.pnv-thumb b {
    position: absolute;
    left: -12%;
    bottom: -58%;
    width: 86%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.14);
}

.pnv-thumb--peach { background: #ffd8c2; }
.pnv-thumb--sky { background: #cfe2ff; }
.pnv-thumb--mint { background: #c8efd9; }
.pnv-thumb--sand { background: #f1e6c9; }
.pnv-thumb--lime { background: #dcfbc4; }

/* ---------- 1. Week board ---------- */
/* The agent card hangs under the board's lower left corner and overlaps it by a fixed strip only, so it never
 * covers a post in any language (German and Russian make the card taller). */
.pnv-week {
    padding-bottom: 0;
}

.pnv-win {
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 20px;
    background: var(--pns-mist);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pnv-win__bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--pns-line);
    background: #ffffff;
}

.pnv-win__dots {
    display: inline-flex;
    gap: 5px;
    margin-right: 4px;
}

.pnv-win__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dcdce0;
}

.pnv-win__tab {
    position: relative;
    color: var(--pns-text-3);
    font-size: 13px;
    font-weight: 500;
}

.pnv-win__tab.is-on {
    color: var(--pns-text);
}

.pnv-win__tab.is-on::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -13px;
    left: 0;
    height: 2px;
    background: var(--pns-text);
}

.pnv-week__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

.pnv-week__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pnv-week__day {
    padding: 0 2px;
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pnv-post {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    background: #ffffff;
}

.pnv-post__top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pnv-post__time {
    color: var(--pns-text-2);
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.pnv-post__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pnv-post .pnv-chip {
    padding: 2px 7px;
    font-size: 10px;
}

/* One post a day: every card is the same height, so the chips sit on one line. */
.pnv-week .pnv-post__text {
    min-height: 2.6em;
}

.pnv-week .pnv-post .pnv-chip {
    margin-top: auto;
}

.pnv-week .pnv-week__grid {
    gap: 10px;
    padding: 14px 14px 16px;
}

/* The agent: an ink card docked on the board's lower left. */
.pnv-agent {
    position: absolute;
    bottom: 0;
    left: -18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(340px, 80%);
    min-height: 122px;
    padding: 14px 16px;
    border: 1px solid var(--pns-ink-line);
    border-radius: 16px;
    background: var(--pns-ink-2);
    color: var(--pns-on-ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pnv-agent__head {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--pns-on-ink);
    font-size: 12px;
    font-weight: 600;
}

.pnv-agent__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pns-lime);
}

.pnv-agent__names {
    margin-left: auto;
    color: var(--pns-on-ink-3);
    font-weight: 400;
}

.pnv-agent__ask {
    color: var(--pns-on-ink-2);
    font-size: 13px;
    line-height: 1.4;
}

.pnv-agent__reply {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--pns-on-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

/* ---------- 2. Fan-out ---------- */
.pnv-fan {
    display: grid;
    grid-template-columns: minmax(0, 5fr) auto minmax(0, 6fr);
    gap: 20px;
    align-items: center;
}

.pnv-fan__post {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: var(--pns-r-card);
}

.pnv-fan__who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pnv-fan__handle {
    color: var(--pns-text);
    font-size: 14px;
    font-weight: 600;
}

.pnv-fan__ai {
    margin-left: auto;
    align-self: center;
}

.pnv-fan__text {
    min-height: 2.9em;
    color: var(--pns-text);
    font-size: 15px;
    line-height: 1.45;
}

.pnv-fan__post .pnv-thumb {
    aspect-ratio: 16 / 5;
    border-radius: 12px;
}

.pnv-fan__tags {
    color: var(--pns-text-3);
    font-size: 13px;
}

.pnv-fan__to {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--pns-line-soft);
}

.pnv-fan__label {
    margin-right: 4px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
}

.pnv-fan__arrow {
    display: flex;
    color: var(--pns-field);
}

.pnv-fan__arrow path {
    stroke: currentColor;
}

.pnv-fan__list {
    padding: 8px 20px;
    border-radius: var(--pns-r-card);
}

.pnv-fan__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.pnv-fan__list li:last-child {
    border-bottom: 0;
}

.pnv-fan__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-fan__time {
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---------- 3. Agent chat ---------- */
.pnv-chat .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-radius: var(--pns-r-card);
}

.pnv-chat__msg {
    max-width: 86%;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.45;
}

.pnv-chat__msg--me {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: var(--pns-ink);
    color: #ffffff;
}

.pnv-chat__msg--ai {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    background: var(--pns-mist);
    color: var(--pns-text);
}

.pnv-chat__tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--pns-line);
    border-radius: 999px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
}

.pnv-chat__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 11px;
    font-weight: 700;
}

.pnv-dots {
    display: inline-flex;
    gap: 3px;
}

.pnv-dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pns-text-3);
}

.pnv-chat__drafts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.pnv-chat__drafts li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
}

.pnv-chat__when {
    color: var(--pns-text-3);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pnv-chat__drafts .pnv-chip {
    align-self: center;
}

/* ---------- 4. Step visuals ---------- */
.pnv-connect .pnv-card,
.pnv-queue .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.pnv-connect li,
.pnv-queue li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
}

.pnv-connect__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 13.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-connect .pnv-chip,
.pnv-queue .pnv-chip {
    align-self: center;
}

.pnv-queue__when {
    flex: 0 0 auto;
    min-width: 66px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.pnv-queue li.is-empty {
    border-style: dashed;
}

.pnv-queue li.is-empty .pnv-chan,
.pnv-queue li.is-empty .pnv-lines {
    opacity: 0.35;
}

.pnv-writer .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 18px;
}

.pnv-writer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pnv-writer__top .pnv-chip {
    align-self: center;
}

.pnv-writer__text {
    min-height: 4.4em;
    color: var(--pns-text);
    font-size: 15px;
    line-height: 1.45;
}

.pnv-writer__tags {
    color: var(--pns-lime-deep);
    font-size: 13px;
    font-weight: 500;
}

/* A typing caret while pn-motion.js types a [data-pnv-type] line. */
.pnv [data-pnv-type].is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: var(--pns-text);
    vertical-align: -0.12em;
    animation: pnv-caret 0.9s steps(1) infinite;
}

/* ---------- 5. Analytics ---------- */
.pnv-stats .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

.pnv-stats__title {
    color: var(--pns-text-2);
    font-size: 12.5px;
    font-weight: 500;
}

.pnv-stats__bars {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    height: 120px;
}

.pnv-stats__col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    justify-content: flex-end;
    height: 100%;
}

.pnv-stats__col i {
    display: block;
    height: var(--h, 40%);
    border-radius: 6px 6px 2px 2px;
    background: #dedee2;
    transform-origin: bottom;
}

.pnv-stats__col i.is-top {
    background: var(--pns-lime);
}

.pnv-stats__col em {
    color: var(--pns-text-3);
    font-size: 10.5px;
    text-align: center;
}

.pnv-stats__chans {
    display: flex;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--pns-line-soft);
}

/* ---------- Motion (only under html.pns-motion) ---------- */
@keyframes pnv-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes pnv-grow {
    from { transform: scaleY(0.05); }
    to { transform: none; }
}

@keyframes pnv-caret {
    50% { opacity: 0; }
}

@keyframes pnv-dot {
    0%, 60%, 100% { opacity: 0.25; }
    30% { opacity: 1; }
}

.pns-motion [data-pnv] .pnv-step {
    opacity: 0;
}

.pns-motion [data-pnv].is-in .pnv-step {
    animation: pnv-rise 0.5s var(--pns-ease) both;
    animation-delay: calc(var(--i, 0) * 110ms + 80ms);
}

.pns-motion [data-pnv='stats'] .pnv-step {
    opacity: 1;
    transform: scaleY(0.05);
}

.pns-motion [data-pnv='stats'].is-in .pnv-step {
    animation: pnv-grow 0.7s var(--pns-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}

.pns-motion .pnv-dots i {
    animation: pnv-dot 1.2s infinite;
}

.pns-motion .pnv-dots i:nth-child(2) { animation-delay: 0.15s; }
.pns-motion .pnv-dots i:nth-child(3) { animation-delay: 0.3s; }

/* Page-level reveal for any block: add class pns-reveal (pn-motion.js observes it). */
.pns-motion .pns-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--pns-ease), transform 0.6s var(--pns-ease);
}

.pns-motion .pns-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .pnv *,
    .pns-reveal {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
    .pnv-fan {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .pnv-fan__arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .pnv-fan__post {
        padding: 16px;
    }

    .pnv-fan__list {
        padding: 4px 16px;
    }

    .pnv-chat .pnv-card {
        padding: 16px;
    }

    .pnv-chat__msg {
        max-width: 94%;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    /* The week becomes an agenda: one row per day, the day's first post beside its name. */
    .pnv-week {
        padding-bottom: 0;
    }

    .pnv-week__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 10px;
    }

    .pnv-week__col {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .pnv-week__day {
        flex: 0 0 34px;
    }

    .pnv-post {
        flex: 1 1 0;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 7px 8px;
    }

    .pnv-post + .pnv-post,
    .pnv-post .pnv-thumb {
        display: none;
    }

    .pnv-post__text,
    .pnv-post .pnv-lines {
        flex: 1 1 auto;
        min-width: 0;
        -webkit-line-clamp: 1;
    }

    .pnv-post .pnv-chip {
        align-self: center;
    }

    .pnv-agent {
        position: static;
        width: auto;
        margin-top: 10px;
        box-shadow: none;
    }

    .pnv-win {
        box-shadow: none;
    }

    .pnv-win__bar {
        gap: 14px;
        padding: 10px 12px;
    }
}

/* ===================================================================================================================
 * 6. Feature-page visuals (2026-11-18, appended; mixins in pn_visuals.pug section 6). Same grammar as above: white
 * mock cards with a 1px line, real channel icons, flat thumbs, weekday and time only. Each root is a size container,
 * so its parts rearrange by the visual's own width (a 300px phone column or a 600px page column alike).
 * pn-system.css gives every li in main line-height 1.6 and weight 400 at (0,2,4); list rows here carry three classes.
 * =================================================================================================================== */
.pnv-comp,
.pnv-car,
.pnv-src,
.pnv-lib,
.pnv-inbox,
.pnv-appr,
.pnv-trend,
.pnv-search,
.pnv-tpl,
.pnv-brands,
.pnv-bp,
.pnv-tz,
.pnv-report {
    container-type: inline-size;
}

/* ---------- Composer with preview ---------- */
.pnv-comp {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.pnv-comp__edit {
    display: flex;
    flex: 1 1 260px;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pnv-comp__tabs {
    display: flex;
    gap: 6px;
}

.pnv-comp__tab {
    display: inline-flex;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 9px;
}

.pnv-comp__tab.is-on {
    border-color: var(--pns-text);
}

.pnv-comp__text {
    min-height: 54px;
    color: var(--pns-text);
    font-size: 14px;
    line-height: 1.45;
}

.pnv-comp__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pnv-comp__tags {
    color: var(--pns-text-3);
    font-size: 12px;
}

.pnv-comp__prev {
    display: flex;
    flex: 1 1 190px;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 320px;
}

.pnv-comp__label {
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pnv-comp__who {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pnv-comp__who .pnv-avatar {
    width: 22px;
    height: 22px;
    box-shadow: inset 0 0 0 6px var(--pns-lime);
}

.pnv-comp__handle {
    flex: 1 1 auto;
    font-weight: 500;
}

@container (max-width: 480px) {
    .pnv-comp__prev {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        max-width: none;
    }

    .pnv-comp__prev .pnv-comp__label {
        flex: 1 0 100%;
    }

    .pnv-comp__prev .pnv-thumb {
        width: 64px;
        flex: 0 0 64px;
    }

    .pnv-comp__prev .pnv-comp__who {
        flex: 1 1 auto;
    }

    .pnv-comp__prev .pnv-lines {
        display: none;
    }
}

/* ---------- Carousel ---------- */
.pnv-car .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pnv-car__slides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pnv-car__slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    aspect-ratio: 4 / 5;
    padding: 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    background: var(--pns-card);
}

.pnv-car__slide--cover {
    border-color: var(--pns-ink);
    background: var(--pns-ink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.pnv-car__slide--cover b {
    display: block;
    width: 34%;
    height: 5px;
    border-radius: 3px;
    background: var(--pns-lime);
}

.pnv-car__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pnv-car__dots {
    display: inline-flex;
    flex: 1 1 auto;
    gap: 5px;
}

.pnv-car__dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pns-field);
}

.pnv-car__dots i.is-on {
    background: var(--pns-text);
}

@container (max-width: 420px) {
    .pnv-car__slide--cover {
        font-size: 12px;
    }

    .pnv-car__slide {
        padding: 7px;
    }
}

/* ---------- Source to drafts (a link or an RSS feed) ---------- */
.pnv-src {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pnv-src__in {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.pnv-src__label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pnv-src__rss {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--pns-ink);
    box-shadow: inset 4px -4px 0 -2px var(--pns-lime);
}

.pnv-src__field,
.pnv-bp__field,
.pnv-search__field {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--pns-field);
    border-radius: 10px;
    background: var(--pns-card);
}

.pnv-src__link {
    flex: 0 0 auto;
    width: 14px;
    height: 8px;
    border: 2px solid var(--pns-text-3);
    border-radius: 5px;
}

.pnv-src__url,
.pnv-bp__url {
    overflow: hidden;
    color: var(--pns-text);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-src__item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pnv-src__item .pnv-thumb {
    flex: 0 0 48px;
    width: 48px;
}

.pnv-src__title {
    font-weight: 500;
    line-height: 1.3;
}

.pnv-src__arrow {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    width: 24px;
}

.pnv-src__arrow path {
    stroke: var(--pns-text-3);
}

.pnv-src__out {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.pnv-src .pnv-src__out > li {
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: 1.35;
}

.pnv-src__when {
    color: var(--pns-text-3);
    font-size: 11px;
    white-space: nowrap;
}

@container (min-width: 480px) {
    .pnv-src__arrow svg {
        transform: rotate(-90deg);
    }
}

@container (max-width: 479px) {
    .pnv-src__arrow {
        flex-basis: 100%;
        height: 20px;
    }

    .pnv-src__item ~ .pnv-src__item {
        display: none;
    }
}

/* ---------- Media library ---------- */
.pnv-lib .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-lib__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pnv-lib__search {
    flex: 0 1 auto;
    min-width: 96px;
    padding: 6px 10px 6px 26px;
    border: 1px solid var(--pns-field);
    border-radius: 9px;
    color: var(--pns-text-3);
    font-size: 12px;
    background: var(--pns-card) no-repeat 9px 50% / 11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='%2371717a' stroke-width='2'/%3E%3Cpath d='M11 11l4 4' stroke='%2371717a' stroke-width='2'/%3E%3C/svg%3E");
}

.pnv-lib__folders {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pnv-chip--on {
    background: var(--pns-ink);
    color: #ffffff;
}

.pnv-lib__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pnv-lib__file {
    position: relative;
    display: block;
}

.pnv-lib__file .pnv-thumb {
    aspect-ratio: 1;
}

.pnv-lib__file.is-video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: var(--pns-ink) no-repeat 55% 50% / 9px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 10'%3E%3Cpath d='M0 0l9 5-9 5z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.pnv-lib__file em {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--pns-card);
    font-size: 10px;
    font-weight: 600;
}

@container (max-width: 360px) {
    .pnv-lib__file:nth-child(n+4) {
        display: none;
    }
}

/* ---------- Inbox ---------- */
.pnv-inbox .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnv-inbox__head {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}

.pnv-inbox__msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
}

.pnv-inbox__msg.is-quiet {
    background: var(--pns-mist);
}

.pnv-inbox__face {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffd8c2;
}

.pnv-inbox__face--b {
    background: #cfe2ff;
}

.pnv-inbox__text {
    line-height: 1.4;
}

.pnv-inbox__reply {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    align-self: flex-end;
    max-width: 86%;
    padding: 10px 12px;
    border-radius: 12px 12px 4px 12px;
    background: var(--pns-ink);
    color: #ffffff;
}

.pnv-inbox__send,
.pnv-appr__btn,
.pnv-report__btn {
    align-self: flex-end;
    padding: 6px 12px;
    border-radius: 9px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Approval and roles ---------- */
.pnv-appr .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-appr__post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pns-line);
}

.pnv-appr__post .pnv-thumb {
    flex: 0 0 34%;
    width: 34%;
    max-width: 150px;
}

.pnv-appr__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pnv-appr__top {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--pns-text-3);
    font-size: 11px;
}

.pnv-appr__text {
    font-weight: 500;
    line-height: 1.3;
}

.pnv-appr__team {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnv-appr .pnv-appr__team > li {
    display: flex;
    gap: 10px;
    align-items: center;
    line-height: 1.35;
}

.pnv-appr__face {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pns-ink);
}

.pnv-appr__face--1 { background: #cfe2ff; }
.pnv-appr__face--2 { background: #c8efd9; }

.pnv-appr__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

/* ---------- Trends ---------- */
.pnv-trend .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-trend__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pnv-trend__tile {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.pnv-trend__tile .pnv-thumb {
    aspect-ratio: 4 / 5;
}

.pnv-trend__meta {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pnv-trend__meta .pnv-chan {
    width: 20px;
    height: 20px;
}

.pnv-trend__bar {
    flex: 1 1 auto;
    height: 6px;
    border-radius: 3px;
    background: var(--pns-mist);
}

.pnv-trend__bar i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--pns-text);
}

.pnv-trend__tag {
    overflow: hidden;
    color: var(--pns-text-2);
    font-size: 11px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container (max-width: 420px) {
    .pnv-trend__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pnv-trend__tile .pnv-thumb {
        aspect-ratio: 16 / 9;
    }
}

/* ---------- Search ---------- */
.pnv-search .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-search__glass {
    flex: 0 0 12px;
    height: 12px;
    border: 2px solid var(--pns-text-3);
    border-radius: 50%;
}

.pnv-search__q {
    font-weight: 500;
}

.pnv-search__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnv-search .pnv-search__list > li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 6px;
    border-radius: 10px;
    line-height: 1.35;
}

.pnv-search .pnv-search__list > li:first-child {
    background: var(--pns-mist);
}

.pnv-search__text {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-search__meta {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--pns-text-3);
    font-size: 11px;
    white-space: nowrap;
}

@container (max-width: 380px) {
    .pnv-search__meta span {
        display: none;
    }
}

/* ---------- Templates ---------- */
.pnv-tpl .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnv-tpl__head {
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pnv-tpl__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnv-tpl .pnv-tpl__list > li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-tpl .pnv-tpl__list > li.is-on {
    border-color: var(--pns-text);
}

.pnv-tpl__icon {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--pns-mist) no-repeat 50% 50% / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 3h10M2 7h10M2 11h6' stroke='%2352525b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pnv-tpl__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pnv-tpl__name {
    font-weight: 600;
}

/* ---------- Brands and workspaces ---------- */
.pnv-brands .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnv-brands__current {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--pns-field);
    border-radius: 10px;
    font-weight: 600;
}

.pnv-brands__logo {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--pns-ink);
    box-shadow: inset 0 0 0 8px var(--pns-lime);
}

.pnv-brands__logo--1 { background: #cfe2ff; box-shadow: none; }
.pnv-brands__logo--2 { background: #f1e6c9; box-shadow: none; }

.pnv-brands__current .pnv-brands__name {
    flex: 1 1 auto;
}

.pnv-brands__caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--pns-text-3);
    border-bottom: 2px solid var(--pns-text-3);
    transform: translateY(-2px) rotate(45deg);
}

.pnv-brands__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pnv-brands .pnv-brands__list > li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    line-height: 1.35;
}

.pnv-brands .pnv-brands__list > li.is-on {
    background: var(--pns-mist);
}

.pnv-brands__list .pnv-brands__name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
}

.pnv-brands__chans {
    display: inline-flex;
    gap: 4px;
}

.pnv-brands__chans .pnv-chan {
    width: 20px;
    height: 20px;
}

/* ---------- Brand profile ---------- */
.pnv-bp .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-bp__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnv-bp .pnv-bp__rows > li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--pns-line);
    line-height: 1.35;
}

.pnv-bp__key {
    color: var(--pns-text-3);
    font-size: 12px;
}

.pnv-bp__vals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ---------- Time zones ---------- */
.pnv-tz .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pnv-tz__head {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}

.pnv-tz__clock {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid var(--pns-text);
    border-radius: 50%;
}

.pnv-tz__clock::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 5px;
    border-bottom: 2px solid var(--pns-text);
    border-left: 2px solid var(--pns-text);
}

.pnv-tz__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnv-tz .pnv-tz__list > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-tz__city {
    font-weight: 500;
}

.pnv-tz__time {
    color: var(--pns-text-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@container (max-width: 360px) {
    .pnv-tz .pnv-tz__list > li {
        grid-template-columns: 24px minmax(0, 1fr) auto;
    }

    .pnv-tz__list .pnv-chip {
        display: none;
    }
}

/* ---------- Report ---------- */
.pnv-report .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-report__head {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.pnv-report__title {
    font-weight: 600;
}

.pnv-chips {
    display: inline-flex;
    gap: 6px;
}

.pnv-report__bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 110px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--pns-line);
}

.pnv-report__bars i {
    flex: 1 1 0;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: var(--pns-mist);
    transform-origin: bottom;
}

.pnv-report__bars i:nth-child(6) {
    background: var(--pns-lime);
}

.pnv-report__foot {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pnv-report__foot .pnv-report__btn {
    margin-left: auto;
}

/* Motion for the new visuals: the shared .pnv-step rise; report bars grow. */
.pns-motion [data-pnv='report'] .pnv-report__bars .pnv-step {
    opacity: 1;
    transform: scaleY(0.05);
}

.pns-motion [data-pnv='report'].is-in .pnv-report__bars .pnv-step {
    animation: pnv-grow 0.7s var(--pns-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}

.pns-motion [data-pnv='trend'].is-in .pnv-trend__bar i {
    animation: pnv-bar 0.9s var(--pns-ease) both;
    animation-delay: 0.4s;
}

@keyframes pnv-bar {
    from { width: 4%; }
}

@media (prefers-reduced-motion: reduce) {
    .pnv-report__bars i,
    .pnv-trend__bar i {
        animation: none !important;
        transform: none !important;
    }
}

/* Inside a page section, legacy .services img {width:100%; padding:1rem; margin; shadow} (app-critical.css) shrank the
 * channel icons to nothing; the icon takes 56% of its tile, as the width attributes intend. */
:is(.pns-pagehero__visual, .pns-feature__visual, .pnf-hub__vis, .pns-tile__panel) .pnv-chan img {
    width: 56%;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* Phone agenda rows of the week board: one line of text, chip beside it (overrides the equal-height card rule). */
@media (max-width: 640px) {
    .pnv-week .pnv-post__text {
        min-height: 0;
    }

    .pnv-week .pnv-post .pnv-chip {
        margin-top: 0;
    }

    .pnv-week .pnv-week__grid {
        gap: 6px;
        padding: 10px;
    }
}

/* ===================================================================================================================
 * 7. Feature-page visuals, second set (2026-11-18 night): real photos (.pnv-photo), inbox list, inbox reply, chat edit.
 * =================================================================================================================== */
.pnv-photo {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: var(--pns-mist);
}

.pnv-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pnv-il .pnv-card,
.pnv-ir .pnv-card,
.pnv-ce .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-il__bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pns-line);
}

.pnv-il__title {
    flex: 1 1 auto;
    font-weight: 600;
}

.pnv-il__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pnv-il .pnv-il__list > li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-il .pnv-il__list > li.is-new {
    background: var(--pns-mist);
}

.pnv-il .pnv-il__list > li > .pnv-photo:first-child {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.pnv-il .pnv-il__list > li > .pnv-photo:last-child {
    width: 44px;
    height: 44px;
}

.pnv-il__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pnv-il__who {
    font-weight: 600;
}

.pnv-il__who em {
    margin-left: 8px;
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 400;
}

.pnv-il__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-ir__post {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pns-line);
}

.pnv-ir__post .pnv-photo {
    width: 56px;
    height: 56px;
}

.pnv-ir__cap {
    font-weight: 600;
}

.pnv-ir__msg {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pnv-ir__msg .pnv-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pnv-ir__reply {
    align-self: flex-end;
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    background: var(--pns-ink);
    color: #ffffff;
}

.pnv-ir__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.pnv-ir__send {
    padding: 7px 14px;
    border-radius: 9px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-weight: 600;
}

.pnv-ce__draft {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pnv-ce__draft .pnv-photo {
    width: 72px;
    height: 72px;
}

.pnv-ce__ask {
    align-self: flex-end;
    padding: 8px 14px;
    border-radius: 14px 14px 4px 14px;
    background: var(--pns-ink);
    color: #ffffff;
    font-weight: 500;
}

.pnv-ce__new {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--pns-text);
    border-radius: 12px;
    font-weight: 500;
}

/* ===================================================================================================================
 * 8. Feature-page visuals, third set (2026-11-19; mixins in pn_visuals.pug section 8): a changing status (.pnv-swap),
 * the queue with real posts, credits, review, upload, folders, pillars, roles, assistants, feeds, repeat, site,
 * search kinds, niches and the WordPress draft. Same grammar: white cards, real photos and logos, weekday and time.
 * =================================================================================================================== */
.pnv-qp, .pnv-cr, .pnv-rv, .pnv-up, .pnv-fd, .pnv-pl, .pnv-rl, .pnv-as, .pnv-fs, .pnv-rp, .pnv-st, .pnv-sk, .pnv-ni, .pnv-wp {
    container-type: inline-size;
}

/* A status that changes as the picture plays. Finished frame by default; the "before" shows first under motion. */
.pnv-swap {
    display: inline-grid;
    flex: 0 0 auto;
    align-self: center;
}

.pnv-swap > * {
    grid-area: 1 / 1;
    justify-self: start;
}

.pnv-swap__a {
    visibility: hidden;
}

@keyframes pnv-swap-out {
    to { opacity: 0; transform: scale(0.9); }
}

@keyframes pnv-swap-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: none; }
}

.pns-motion [data-pnv] .pnv-swap__a {
    visibility: visible;
}

.pns-motion [data-pnv] .pnv-swap__b {
    opacity: 0;
}

.pns-motion [data-pnv].is-in .pnv-swap__a {
    animation: pnv-swap-out 0.25s var(--pns-ease) both;
    animation-delay: calc(var(--d, 6) * 110ms + 700ms);
}

.pns-motion [data-pnv].is-in .pnv-swap__b {
    animation: pnv-swap-in 0.35s var(--pns-ease) both;
    animation-delay: calc(var(--d, 6) * 110ms + 900ms);
}

/* Section 6 parts that now carry words instead of grey lines. */
.pnv-comp__cap {
    color: var(--pns-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.pnv-src__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-appr__role {
    flex: 1 1 auto;
    color: var(--pns-text);
    font-weight: 500;
}

.pnv-tpl__text {
    display: block;
    overflow: hidden;
    color: var(--pns-text-2);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Carousel in a brand style: an ink cover with the brand and a lime rule, then photo slides with their number. */
.pnv-car__brand {
    display: flex;
    gap: 6px;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 500;
}

.pnv-car__brand .pnv-avatar {
    width: 16px;
    height: 16px;
    box-shadow: inset 0 0 0 4px var(--pns-lime);
}

.pnv-car__title {
    display: block;
    padding-top: 10px;
    border-top: 4px solid var(--pns-lime);
}

.pnv-car__num {
    align-self: flex-end;
    color: inherit;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.7;
}

.pnv-car__slide--photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
}

.pnv-car__slide--photo .pnv-photo {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.pnv-car__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-weight: 700;
}

.pnv-car__slide--photo .pnv-car__num {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(20, 20, 20, 0.7);
    color: #ffffff;
    opacity: 1;
}

/* Queue with real posts. */
.pnv-qp .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.pnv-qp .pnv-card > li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-qp .pnv-card > li + li {
    border-top: 1px solid var(--pns-line);
    border-radius: 0;
}

.pnv-qp .pnv-photo {
    width: 44px;
    height: 44px;
}

.pnv-qp__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pnv-qp__text {
    overflow: hidden;
    color: var(--pns-text);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-qp__meta {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--pns-text-3);
    font-size: 11px;
}

.pnv-qp__meta .pnv-chan {
    width: 20px;
    height: 20px;
}

/* AI credits. */
.pnv-cr .pnv-card,
.pnv-rv .pnv-card,
.pnv-up .pnv-card,
.pnv-fs .pnv-card,
.pnv-rp .pnv-card,
.pnv-st .pnv-card,
.pnv-sk .pnv-card,
.pnv-ni .pnv-card,
.pnv-wp .pnv-card,
.pnv-pl .pnv-card,
.pnv-as .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-cr__head,
.pnv-pl__head {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.pnv-cr__title,
.pnv-pl__title {
    color: var(--pns-text);
    font-weight: 600;
}

.pnv-cr__meter {
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pns-mist);
}

.pnv-cr__meter i {
    display: block;
    width: 64%;
    height: 100%;
    border-radius: inherit;
    background: var(--pns-lime);
    transform-origin: left center;
}

@keyframes pnv-meter {
    from { transform: scaleX(1.4); }
    to { transform: none; }
}

.pns-motion [data-pnv='cr'].is-in .pnv-cr__meter i {
    animation: pnv-meter 1.2s var(--pns-ease) 0.6s both;
}

.pnv-cr__list,
.pnv-rv__list,
.pnv-fs__list,
.pnv-rp__dates,
.pnv-as__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pnv-cr .pnv-cr__list > li,
.pnv-fs .pnv-fs__list > li,
.pnv-as .pnv-as__list > li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    color: var(--pns-text);
    font-weight: 500;
    line-height: 1.35;
}

.pnv-cr .pnv-cr__list > li > span,
.pnv-fs__url,
.pnv-as__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-cr .pnv-photo,
.pnv-fs .pnv-photo {
    width: 34px;
    height: 34px;
}

/* Review generated posts. */
.pnv-rv .pnv-rv__list > li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-rv .pnv-rv__list > li.is-on {
    border-color: var(--pns-text);
}

.pnv-rv__box {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--pns-field);
    border-radius: 5px;
}

.pnv-rv .is-on .pnv-rv__box {
    border-color: transparent;
}

.pnv-rv__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--pns-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnv-rv__foot {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.pnv-rv__btn,
.pnv-wp__logo {
    padding: 7px 14px;
    border-radius: 9px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-weight: 600;
}

/* Upload. */
.pnv-up__drop {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    padding: 14px;
    border: 1.5px dashed var(--pns-field);
    border-radius: 14px;
}

.pnv-up__arrow svg {
    display: block;
    stroke: var(--pns-text);
}

.pnv-up__label {
    flex: 1 1 auto;
    color: var(--pns-text);
    font-weight: 600;
}

.pnv-up__types {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 6px;
}

.pnv-up__files {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.pnv-up__file {
    position: relative;
}

.pnv-up__file .pnv-photo {
    width: 100%;
    aspect-ratio: 1;
}

.pnv-up__file .pnv-tick {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 20px;
    height: 20px;
}

/* Folders. */
.pnv-fd__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pnv-fd__folder {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 4px 14px 14px 14px;
    background: var(--pns-tint-sky);
}

.pnv-fd__folder--peach { background: var(--pns-tint-peach); }
.pnv-fd__folder--mint { background: var(--pns-tint-mint); }

.pnv-fd__folder.is-on {
    box-shadow: inset 0 0 0 2px var(--pns-text);
}

.pnv-fd__tab {
    position: absolute;
    top: -8px;
    left: 0;
    width: 42%;
    height: 10px;
    border-radius: 6px 6px 0 0;
    background: inherit;
}

.pnv-fd__stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.pnv-fd__stack .pnv-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
}

.pnv-fd__name {
    overflow: hidden;
    color: var(--pns-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container (max-width: 380px) {
    .pnv-fd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pnv-fd__folder:nth-child(3) { display: none; }
}

/* Pillars. */
.pnv-pl__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pnv-pl__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: var(--pns-tint-sky);
}

.pnv-pl__col--peach { background: var(--pns-tint-peach); }
.pnv-pl__col--mint { background: var(--pns-tint-mint); }

.pnv-pl__name {
    color: var(--pns-text);
    font-size: 12px;
    font-weight: 600;
}

.pnv-pl__post {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--pns-text);
    font-size: 11px;
    line-height: 1.3;
}

.pnv-pl__post .pnv-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 7px;
}

.pnv-pl__post em {
    align-self: flex-start;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

/* Roles. */
.pnv-rl .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.pnv-rl .pnv-card > li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    padding: 8px;
    line-height: 1.35;
}

.pnv-rl .pnv-card > li + li {
    border-top: 1px solid var(--pns-line);
}

.pnv-rl .pnv-appr__face {
    width: 34px;
    height: 34px;
}

.pnv-rl__role {
    flex: 1 1 auto;
    color: var(--pns-text);
    font-weight: 600;
}

.pnv-rl__perms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pnv-rl .pnv-card > li.pnv-rl__invite {
    color: var(--pns-text-2);
    font-weight: 500;
}

.pnv-rl__invite > span:nth-child(2) {
    flex: 1 1 auto;
}

.pnv-rl__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px dashed var(--pns-field);
    border-radius: 50%;
    font-size: 18px;
}

/* Assistants. */
.pnv-as__server {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pns-ink);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

.pnv-as__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pns-lime);
}

.pnv-as__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pns-line);
    border-radius: 10px;
    background: #ffffff;
}

.pnv-as__logo img {
    display: block;
    width: 20px;
    height: 20px;
}

/* Repeat. */
.pnv-rp__post,
.pnv-sk__hit {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--pns-text);
    font-weight: 500;
    line-height: 1.35;
}

.pnv-rp__post .pnv-photo,
.pnv-sk__hit .pnv-photo {
    width: 48px;
    height: 48px;
}

.pnv-rp__text,
.pnv-sk__hit > span:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
}

.pnv-rp__set {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
    font-size: 12px;
    font-weight: 600;
}

.pnv-rp__icon svg {
    display: block;
    stroke: currentColor;
}

.pnv-rp .pnv-rp__dates > li {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid var(--pns-line);
    border-radius: 10px;
    color: var(--pns-text);
    line-height: 1.35;
}

/* Website read into a brand profile. */
.pnv-st__bar {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--pns-mist);
}

.pnv-st__bar > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pns-field);
}

.pnv-st__url {
    margin-left: 8px;
    color: var(--pns-text);
    font-size: 12px;
}

.pnv-st__page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.pnv-st__page .pnv-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.pnv-st__fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Search with kinds. */
.pnv-sk__key {
    margin-left: auto;
    padding: 2px 6px;
    border: 1px solid var(--pns-line);
    border-radius: 6px;
    color: var(--pns-text-3);
    font-size: 11px;
}

.pnv-sk__kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pnv-sk__hit {
    padding: 8px;
    border-radius: 12px;
    background: var(--pns-mist);
}

/* Niches. */
.pnv-ni__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pnv-ni__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    color: var(--pns-text);
    font-size: 12px;
    font-weight: 600;
}

.pnv-ni__item.is-on {
    border-color: var(--pns-text);
}

.pnv-ni__item .pnv-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
}

/* WordPress draft. */
.pnv-wp__top {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pnv-wp__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    background: var(--pns-ink);
    color: #ffffff;
    font-family: Georgia, serif;
}

.pnv-wp__site {
    flex: 1 1 auto;
    color: var(--pns-text-2);
    font-size: 12px;
}

.pnv-wp__body {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
}

.pnv-wp__body .pnv-photo {
    width: 96px;
    height: 96px;
}

.pnv-wp__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pnv-wp__title {
    color: var(--pns-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.pnv-wp__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pns-text-2);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pnv-wp__fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pnv-wp__field {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    background: var(--pns-mist);
    font-size: 12px;
    line-height: 1.35;
}

.pnv-wp__field em {
    color: var(--pns-text-3);
    font-style: normal;
}

.pnv-wp__field span {
    overflow: hidden;
    color: var(--pns-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container (max-width: 360px) {
    .pnv-wp__field { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .pnv-st__page { grid-template-columns: minmax(0, 1fr); }
}

/* /affiliates visuals. */
.pnv-ap, .pnv-al, .pnv-at, .pnv-am {
    container-type: inline-size;
}

.pnv-ap .pnv-card,
.pnv-al .pnv-card,
.pnv-at .pnv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pnv-ap__list,
.pnv-at__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pnv-ap .pnv-ap__list > li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    line-height: 1.35;
}

.pnv-ap .pnv-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.pnv-ap__name {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--pns-text);
    font-weight: 500;
}

.pnv-al__field {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--pns-text);
    border-radius: 12px;
}

.pnv-al__url {
    color: var(--pns-text);
    font-weight: 500;
}

.pnv-al__row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.pnv-at .pnv-at__list > li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    line-height: 1.35;
}

.pnv-at__name {
    color: var(--pns-text);
    font-weight: 500;
}

.pnv-am__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.pnv-am__grid .pnv-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.pnv-am__more {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border: 1.5px dashed var(--pns-field);
    border-radius: 50%;
    color: var(--pns-text-2);
    font-size: 20px;
}

@container (max-width: 380px) {
    .pnv-am__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Chips and changing statuses sit on the middle of their row (.pnv-chip is align-self: flex-start for columns). */
:is(.pnv-qp, .pnv-ap, .pnv-rl, .pnv-as, .pnv-fs, .pnv-rp, .pnv-cr, .pnv-rv, .pnv-al, .pnv-wp, .pnv-tz, .pnv-src) :is(li, .pnv-rv__foot, .pnv-al__row, .pnv-wp__top) > :is(.pnv-chip, .pnv-swap) {
    align-self: center;
}

.pnv-appr__body .pnv-swap {
    align-self: flex-start;
}
