/*
 * pn-solutions.css: the audience grid "Who PostNext is for" (section 1, .pna-*, also on the homepage), the solution
 * pages (section 2, views/frontend/solutions/frontend_solution_page.pug, body.pn-sol2, rebuilt 2026-11-19) and their
 * drawn pictures (section 3, .solp-*, solutions/_solution_visuals.pug).
 * Built on the site design system: every colour, radius and size is a pn-system.css token (--pns-*). The grid reads
 * its surface through the --sol-* variables below, so the same markup works on a band and on a sheet.
 * Linked from the solution template and from frontend.pug, outside usemin blocks; bump ?v= in both on every edit
 * (2026-11-19: only sections 2 and 3 changed, which the homepage does not use, so frontend.pug kept its ?v=).
 */

/* ---------- Surface variables: what a card, a line and text look like on a band and on a sheet ---------- */
html body .pns-band {
    --sol-card: var(--pns-ink-2);
    --sol-line: var(--pns-ink-line);
    --sol-well: var(--pns-ink-3);
    --sol-t: var(--pns-on-ink);
    --sol-t2: var(--pns-on-ink-2);
    --sol-t3: var(--pns-on-ink-3);
    --sol-cross: #3a3a3a;
}

html body .pns-sheet {
    --sol-card: var(--pns-card);
    --sol-line: var(--pns-line);
    --sol-well: var(--pns-mist);
    --sol-t: var(--pns-text);
    --sol-t2: var(--pns-text-2);
    --sol-t3: var(--pns-text-3);
    --sol-cross: #e4e4e7;
}

/* ===================================================================================================== */
/* 1. The audience grid (homepage and solution pages)                                                     */
/* ===================================================================================================== */
html body .pna-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pns-gap);
}

html body .pna-grid[data-count="7"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

html body .pna-grid[data-count="7"] .pna-card--tall {
    grid-row: span 2;
}

html body a.pna-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sol-line);
    border-radius: var(--pns-r-card);
    background: var(--sol-card);
    color: var(--sol-t);
    text-align: left;
    text-decoration: none;
    transition: border-color .15s var(--pns-ease);
}

html body a.pna-card:hover {
    border-color: var(--sol-t3);
}

html body a.pna-card:focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: 2px;
}

html body .pna-card__copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    padding: 20px 20px 16px;
}

html body .pna-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
}

html body .pna-card__t {
    color: var(--sol-t);
    font-size: var(--pns-h3);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: var(--pns-track-h3);
}

html body .pna-card__go {
    display: inline-flex;
    grid-row: 1;
    grid-column: 3;
    color: var(--sol-t3);
    transition: transform .15s var(--pns-ease), color .15s var(--pns-ease);
}

html body a.pna-card:hover .pna-card__go {
    color: var(--sol-t);
    transform: translateX(3px);
}

html body .pna-card__d {
    grid-row: 2;
    grid-column: 1 / -1;
    color: var(--sol-t2);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

/* The picture: cut at the bottom edge of its well, like a screen seen through a window. */
html body .pna-card__vis {
    display: block;
    flex: 1 1 auto;
    height: 184px;
    margin: 0 12px 12px;
    padding: 16px 16px 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--sol-well);
}

html body .pna-card--tall .pna-card__vis {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 184px;
    padding-bottom: 16px;
}

/* Four columns leave about 240px for a picture drawn for 320px: show it smaller instead of squeezing it. */
html body .pna-grid[data-count="7"] .pna-card__vis > .pnv {
    zoom: 0.78;
}

@media (max-width: 1100px) {
    html body .pna-grid[data-count="7"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html body .pna-grid[data-count="7"] .pna-card--tall {
        flex-direction: row;
        grid-row: auto;
        grid-column: 1 / -1;
    }

    html body .pna-grid[data-count="7"] .pna-card--tall .pna-card__copy {
        flex: 1 1 50%;
        align-content: center;
    }

    html body .pna-grid[data-count="7"] .pna-card--tall .pna-card__vis {
        flex: 1 1 50%;
        display: block;
        height: 200px;
        min-height: 0;
        margin: 12px 12px 12px 0;
    }

    html body .pna-grid .pna-card__vis > .pnv {
        zoom: 0.78;
    }
}

@media (max-width: 860px) {
    html body .pna-grid,
    html body .pna-grid[data-count="7"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body .pna-grid .pna-card__vis > .pnv,
    html body .pna-grid[data-count="7"] .pna-card__vis > .pnv {
        zoom: 1;
    }
}

/* Phones: a list of rows, no pictures (seven pictures in a column is a long scroll past one idea). */
@media (max-width: 640px) {
    html body .pna-grid,
    html body .pna-grid[data-count="7"] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    html body a.pna-card {
        border-radius: 18px;
    }

    html body .pna-card__copy {
        gap: 6px 12px;
        padding: 16px;
    }

    html body .pna-card__vis {
        display: none;
    }

    html body .pna-card__d {
        font-size: 14.5px;
    }
}

/* ---------- The drawn request (mixin solvCode in solutions/_audiences.pug) ---------- */
.solv-code {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solv-code__req {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.solv-code__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.solv-code__bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e4e4e7;
}

.solv-code__bar .pnv-chip {
    margin-left: auto;
}

.solv-code__line {
    display: block;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 13px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solv-code__line--in {
    padding-left: 14px;
    color: var(--pns-text-2);
}

.solv-code__ok {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--pns-line-soft);
}

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

.solv-code__out {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solv-code__out li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.solv-code__when {
    flex: 0 0 auto;
    min-width: 68px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
}

/* ===================================================================================================== */
/* 2. Solution pages (rebuilt 2026-11-19, body.pn-sol2): docs/revamp-2026-11-18/PAGE-PATTERN.md            */
/*    Layout parts come from pn-system.css (.pns-pagehero, .pns-features > .pns-feature, .pns-faq and the  */
/*    lime closing panel); this section sets the page shell, the card bullets and the audience row.        */
/* ===================================================================================================== */
html body.pn-sol2,
html body.pn-sol2 .off-canvas-wrap,
html body.pn-sol2 .inner-wrap,
html body.pn-sol2 main.sol {
    background: var(--pns-ink);
}

html body.pn-sol2 main.sol {
    margin: 0;
    padding: 0 0 24px;
    color: var(--pns-on-ink);
    font-weight: 400;
    text-align: left;
}

/* Resets for the page's own text and lists at a low weight; the drawn pictures (.pnv) keep their own. */
html body.pn-sol2 main.sol :where(h1, h2, h3, p, ul, ol, li):not(.pnv *) {
    margin: 0;
    padding: 0;
}

html body.pn-sol2 main.sol :where(ul, ol):not(.pnv *) {
    list-style: none;
}

/* ---------- 1. Hero: as tall as its content, the picture on the larger side ---------- */
/* The id lifts these over pn-system's section rhythm rule (main.pn-page > section, 5 classes, !important). */
html body.pn-sol2:not(#_) main.sol > section.sol-top {
    margin: 0;
    padding: 0 !important;
    background: var(--pns-ink);
    color: var(--pns-on-ink);
}

html body.pn-sol2:not(#_) .sol-top .pns-pagehero {
    padding-top: clamp(16px, 1.8vw, 28px);
    padding-bottom: clamp(32px, 3vw, 44px);
}

/* The picture takes the larger side on wide screens only: under 1024px pn-system.css stacks the hero. */
@media (min-width: 1024px) {
    html body.pn-sol2:not(#_) .sol-top .pns-pagehero:not(.sol-hub__hero) {
        grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
    }
}

@media (max-width: 1280px) {
    html body.pn-sol2:not(#_) main.sol > section.sol-top {
        padding-top: 4.55rem !important;
    }
}

html body.pn-sol2:not(#_) h1.pns-pagehero__title.sol-h1--long {
    max-width: 22ch;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.08 !important;
}

html body.pn-sol2:not(#_) main.sol a.pns-btn--lime,
html body.pn-sol2:not(#_) main.sol a.pns-btn--lime:is(:hover, :focus, :active, :visited) {
    color: var(--pns-on-lime);
    text-decoration: none;
}

/* Lime is the main button and the closing panel only: inside every picture of these pages the lime tokens are ink
 * and mist, as pn-system.css already does for a hero picture. */
html body.pn-sol2 .pns-feature__visual {
    --pns-lime: #1b1b1b;
    --pns-lime-hover: #000000;
    --pns-on-lime: #ffffff;
    --pns-lime-tint: #f4f4f5;
    --pns-lime-deep: #141414;
}

/* ---------- 2. Cards: the picture fills its stage; two sentences and up to three bullets ---------- */
html body.pn-sol2:not(#_) main.sol > section.pns-sheet {
    padding-top: var(--pns-y) !important;
    padding-bottom: var(--pns-y) !important;
}

html body.pn-sol2 .pns-features > .pns-feature {
    margin: 0;
    min-height: 0;
}

html body.pn-sol2 .pns-feature__visual {
    min-height: 380px;
}

html body.pn-sol2 .pns-feature__visual > .pnv {
    width: min(100%, 480px);
}

html body.pn-sol2 .pns-feature__visual > .solp {
    width: min(100%, 520px);
}

html body.pn-sol2 .pns-feature--ink .pns-feature__visual > .pnv {
    width: min(100%, 420px);
}

html body.pn-sol2 main.sol ul.sol-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

html body.pn-sol2 main.sol ul.sol-points li {
    position: relative;
    padding-left: 22px;
    color: var(--pns-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

html body.pn-sol2 main.sol ul.sol-points li::before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

html body.pn-sol2 main.sol .pns-feature--ink ul.sol-points li {
    color: var(--pns-on-ink);
}

/* ---------- 3. Who PostNext is for: small tiles, three a row ---------- */
html body.pn-sol2 main.sol .sol-who {
    margin-top: clamp(40px, 4vw, 64px);
}

html body.pn-sol2 main.sol .sol-who__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 20px;
}

html body.pn-sol2 main.sol .sol-who h2 {
    color: var(--pns-text);
    text-align: left;
}

html body.pn-sol2 main.sol a.sol-who__all {
    color: var(--pns-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- The /solutions hub (frontend_solutions_hub.pug): a short hero, then one photo tile per page ---------- */
html body.pn-solhub:not(#_) .sol-top .pns-pagehero.sol-hub__hero {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: clamp(28px, 2.6vw, 40px);
}

html body.pn-solhub h1.pns-pagehero__title.sol-h1--long {
    max-width: 24ch;
}

html body.pn-sol2 main.sol ul.pna-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

html body.pn-sol2 main.sol a.pna-tile--hub {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 12px 20px 12px 12px;
    border-radius: var(--pns-r-card);
}

html body.pn-sol2 .pna-tile__ph {
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--pns-mist);
}

html body.pn-sol2 .pna-tile__ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html body.pn-sol2 .pna-tile--hub .pna-tile__t {
    font-size: 19px;
}

html body.pn-sol2 .pna-tile--hub .pna-tile__d {
    font-size: 15px;
}

html body.pn-sol2 main.sol ul.pna-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

html body.pn-sol2 main.sol a.pna-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color .15s var(--pns-ease);
}

html body.pn-sol2 main.sol a.pna-tile:hover {
    border-color: var(--pns-text);
    color: var(--pns-text);
}

html body.pn-sol2 main.sol a.pna-tile:focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: 2px;
}

html body.pn-sol2 .pna-tile__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pns-ink);
    color: #ffffff;
}

html body.pn-sol2 .pna-tile__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

html body.pn-sol2 .pna-tile__t {
    color: var(--pns-text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
}

/* No cut-off lines (owner, 2026-11-19: text ending in "..." reads as broken): the line wraps in full. */
html body.pn-sol2 .pna-tile__d {
    display: block;
    color: var(--pns-text-2);
    font-size: 14px;
    line-height: 1.45;
}

html body.pn-sol2 .pna-tile__go {
    display: inline-flex;
    color: var(--pns-text-3);
    transition: transform .15s var(--pns-ease), color .15s var(--pns-ease);
}

html body.pn-sol2 a.pna-tile:hover .pna-tile__go {
    color: var(--pns-text);
    transform: translateX(3px);
}

/* ---------- 4. FAQ and 5. the closing panel ---------- */
html body.pn-sol2:not(#_) main.sol > section.sol-faq .faq-answer p {
    color: var(--pns-text-2);
}

html body.pn-sol2:not(#_) main.sol > section.services-deserve.sol-close {
    padding: clamp(56px, 6vw, 88px) 20px clamp(60px, 6.4vw, 96px) !important;
}

@media (max-width: 1023px) {
    html body.pn-sol2 main.sol ul.pna-row,
    html body.pn-sol2 main.sol ul.pna-hub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    html body.pn-sol2 .pns-feature__visual {
        min-height: 0;
    }

    html body.pn-sol2 .pns-feature__visual > .pnv,
    html body.pn-sol2 .pns-feature__visual > .solp {
        width: min(100%, 460px);
    }

    html body.pn-sol2 main.sol ul.sol-points {
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    html body.pn-sol2 main.sol ul.pna-row,
    html body.pn-sol2 main.sol ul.pna-hub {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    html body.pn-sol2 main.sol a.pna-tile--hub {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 10px 14px 10px 10px;
    }

    html body.pn-sol2 .pna-tile__ph {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    html body.pn-sol2 .pna-tile--hub .pna-tile__t {
        font-size: 17px;
    }

    html body.pn-sol2 main.sol a.pna-tile {
        gap: 12px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    html body.pn-sol2 .pna-tile__ico {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    html body.pn-sol2 .pna-tile__t {
        font-size: 16px;
    }

    html body.pn-sol2 .pna-tile__d {
        font-size: 13.5px;
    }

    html body.pn-sol2 main.sol ul.sol-points li {
        font-size: 15px;
    }
}

/* ===================================================================================================== */
/* 3. The drawn pictures (solutions/_solution_visuals.pug, .solp-*): a PostNext window with real photos.   */
/*    Each lays itself out by its own width (container queries), so it reads from 300px up.               */
/* ===================================================================================================== */
.solp {
    container-type: inline-size;
    font-size: 13px;
}

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

.solp-win {
    display: block;
    padding: 16px;
    border: 1px solid var(--pns-line);
    border-radius: 20px;
    background: var(--pns-card);
    color: var(--pns-text);
}

.pns-pagehero__visual .solp-win {
    border-color: transparent;
    border-radius: 24px;
}

.solp-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-bar__dots {
    display: inline-flex;
    gap: 5px;
}

.solp-bar__dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e4e4e7;
}

.solp-bar__title {
    font-size: 14px;
    font-weight: 600;
}

.solp-bar__right {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.solp-face {
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--pns-mist);
}

.solp-face--sm {
    width: 30px;
    height: 30px;
}

.solp .pnv-chip {
    font-size: 11.5px;
}

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

.solp-chip--pending {
    background: #fbefc9;
    color: #6b4e00;
}

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

.solp-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.55);
}

.solp-play::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 13px;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #ffffff;
}

.solp-tag {
    position: absolute;
    top: 7px;
    right: 7px;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--pns-ink);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.solp-list__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-weight: 500;
}

.solp-list__meta .pnv-chan {
    width: 22px;
    height: 22px;
}

/* ---------- The week: one post a day ---------- */
.solp-week__grid {
    display: grid;
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    gap: 10px;
}

.solp-week__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.solp-week__day {
    margin: 0 0 8px;
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solp-week__post {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 6px 6px 9px;
    border: 1px solid var(--pns-line);
    border-radius: 13px;
    background: #ffffff;
}

.solp-week__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 9px;
    background: var(--pns-mist);
}

.solp-week--tall .solp-week__media {
    aspect-ratio: 9 / 14;
}

.solp-week__ch {
    position: absolute;
    top: 6px;
    left: 6px;
}

.solp-week__ch .pnv-chan {
    width: 24px;
    height: 24px;
    border: 0;
}

.solp-week__time {
    padding: 0 2px;
    color: var(--pns-text);
    font-size: 11.5px;
    font-weight: 600;
}

.solp-week__text {
    display: -webkit-box;
    min-height: 2.7em;
    padding: 0 2px;
    overflow: hidden;
    color: var(--pns-text-2);
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.solp-week__post > .pnv-chip,
.solp-week__post > .pnv-swap {
    margin: auto 2px 0;
}

.solp-week .pnv-chip {
    padding: 3px 7px;
    font-size: 10.5px;
}

@container (max-width: 460px) {
    .solp-week__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .solp-week__col:nth-child(n+4) {
        display: none;
    }
}

/* ---------- The shop's week as a list ---------- */
.solp-list__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-list__name {
    font-size: 16px;
    font-weight: 600;
}

.solp-list__rows li {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-list__rows li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.solp-list__ph {
    display: block;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 12px;
}

.solp-list__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.solp-list__text {
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--pns-tint-sky);
    color: #1e3a8a;
    font-size: 11.5px;
    font-weight: 600;
}

.solp-badge svg path {
    stroke: currentColor;
}

@container (max-width: 400px) {
    .solp-list__rows li {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .solp-list__ph {
        width: 52px;
        height: 52px;
    }

    .solp-list__rows li > .pnv-chip,
    .solp-list__rows li > .pnv-swap {
        grid-column: 2;
        justify-self: start;
    }
}

/* ---------- A link turning into drafts ---------- */
.solp-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solp-link__field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--pns-field);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

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

.solp-link__src {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-top: 12px;
}

.solp-link__ph {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
}

.solp-link__h {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.solp-link__arrow {
    display: flex;
    justify-content: center;
    color: var(--pns-on-ink-3);
}

.pns-sheet .solp-link__arrow {
    color: var(--pns-text-3);
}

.solp-link__arrow path,
.solp-stats__line path {
    stroke: currentColor;
}

.solp-link__out {
    padding: 4px 16px;
    border-radius: 24px;
    background: var(--pns-card);
    color: var(--pns-text);
}

.solp-link__out li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-link__out li:last-child {
    border-bottom: 0;
}

.solp-link__out .pnv-chan {
    width: 30px;
    height: 30px;
}

.solp-link__text {
    font-size: 14px;
    line-height: 1.4;
}

@container (max-width: 420px) {
    .solp-link__src {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .solp-link__h {
        font-size: 16px;
    }

    .solp-link__out li {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .solp-link__out li > .pnv-chip {
        display: none;
    }
}

/* ---------- An agency's client workspaces ---------- */
.solp-clients {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(0, 13fr);
    gap: 12px;
    align-items: start;
}

.solp-clients__menu {
    order: -1;
    padding: 14px;
    border-radius: 20px;
    background: var(--pns-card);
    color: var(--pns-text);
}

.solp-clients__me {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--pns-line-soft);
    font-size: 13px;
    font-weight: 600;
}

.solp-clients__me .solp-face {
    width: 32px;
    height: 32px;
}

.solp-clients__menu ul {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.solp-clients__menu li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    align-items: center;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 14px;
}

.solp-clients__menu li.is-on {
    border-color: var(--pns-text);
    background: var(--pns-mist);
}

.solp-clients__logo {
    display: block;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 10px;
}

.solp-clients__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.solp-clients__chans {
    display: flex;
    grid-column: 2;
    gap: 4px;
}

.solp-clients__chans .pnv-chan {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.solp-clients__menu li .pnv-tick {
    grid-row: 1 / 3;
    grid-column: 3;
}

.solp-clients__month {
    padding: 14px;
}

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

.solp-clients__post {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: var(--pns-mist);
}

.solp-clients__when {
    position: absolute;
    right: 6px;
    bottom: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--pns-text);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.solp-clients__when .pnv-chan {
    width: 18px;
    height: 18px;
    border: 0;
}

/* .solp-clients is its own container, so its own columns follow the viewport; its parts follow the container. */
@media (max-width: 640px) {
    .solp-clients {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 480px) {
    .solp-clients__month .solp-clients__post:nth-child(n+4) {
        display: none;
    }
}

/* ---------- A post waiting for approval ---------- */
.solp-appr__who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-appr__who > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.solp-appr__who b {
    font-size: 15px;
    font-weight: 600;
}

.solp-appr__who em {
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-style: normal;
}

.solp-appr__who .pnv-swap {
    margin-left: auto;
}

.solp-appr__post,
.solp-times__post {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 0;
}

.solp-appr__ph {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
}

.solp-appr__body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.solp-appr__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.solp-appr__review {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.solp-appr__comment {
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 4px 14px 14px 14px;
    background: var(--pns-mist);
    font-size: 14px;
    line-height: 1.4;
}

.solp-appr__comment b {
    font-size: 12.5px;
    font-weight: 600;
}

.solp-appr__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.solp-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid var(--pns-lime);
    border-radius: 10px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 13.5px;
    font-weight: 600;
}

.solp-btn--line {
    border-color: var(--pns-field);
    background: #ffffff;
    color: var(--pns-text);
}

@container (max-width: 420px) {
    .solp-appr__post,
    .solp-times__post {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .solp-appr__text {
        font-size: 14.5px;
    }
}

/* ---------- A request to the API and the post it creates ---------- */
.solp-api {
    display: grid;
    gap: 12px;
}

.solp-api__term {
    padding: 14px 16px 16px;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    background: #101010;
    color: #e4e4e7;
}

.solp-api__term .solp-bar {
    border-bottom-color: #2a2a2a;
}

.solp-api__term .solp-bar__dots i {
    background: #3a3a3a;
}

.solp-api__term .solp-bar__title {
    color: #a1a1aa;
    font-weight: 500;
}

.solp-api__code {
    display: grid;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d4d4d8;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.6;
    white-space: pre;
    overflow: hidden;
}

.solp-api__req {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
}

.solp-api__req b {
    margin-right: 4px;
    font-weight: 700;
}

.solp-api__hdr {
    margin-bottom: 6px;
    color: #a1a1aa;
}

.solp-api__line {
    overflow: hidden;
    text-overflow: ellipsis;
}

.solp-api__ok {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #2a2a2a;
    color: #ffffff;
    font-weight: 600;
}

.solp-api__ok i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
}

.solp-api__ok span {
    color: #a1a1aa;
    font-weight: 500;
}

.solp-api__card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 16px 12px 12px;
    border-radius: 20px;
    background: var(--pns-card);
    color: var(--pns-text);
}

.solp-api__ph {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
}

@container (max-width: 440px) {
    .solp-api__code {
        font-size: 11.5px;
    }

    .solp-api__card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .solp-api__ph {
        width: 52px;
        height: 52px;
    }

    .solp-api__card > .pnv-chip {
        grid-column: 2;
        justify-self: start;
    }
}

/* ---------- One video, a caption per network ---------- */
.solp-fan {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: 14px;
    align-items: center;
}

.solp-fan__video {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
}

.solp-fan__rows {
    display: grid;
    gap: 10px;
}

.solp-fan__rows li {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-card);
}

.solp-fan__net {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.solp-fan__net .pnv-chan {
    width: 26px;
    height: 26px;
}

.solp-fan__text {
    font-size: 14px;
    line-height: 1.4;
}

/* ---------- Best times ---------- */
.solp-times__post {
    padding: 0 0 14px;
    border-bottom: 1px solid var(--pns-line-soft);
    grid-template-columns: 88px minmax(0, 1fr);
}

.solp-times__ph {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
}

.solp-times__label {
    display: block;
    margin: 16px 0 10px;
    color: var(--pns-text-3);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.solp-times__chip {
    padding: 11px 8px;
    border: 1px solid var(--pns-field);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.solp-times__chip.is-on {
    border-color: var(--pns-ink);
    background: var(--pns-ink);
    color: #ffffff;
}

.solp-times__field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pns-mist);
    font-size: 15px;
    font-weight: 600;
}

.solp-times__cal {
    width: 16px;
    height: 16px;
    border: 2px solid var(--pns-text);
    border-top-width: 4px;
    border-radius: 4px;
}

/* ---------- Likes and comments per post ---------- */
.solp-stats__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px 84px;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-stats__row--head {
    padding-top: 0;
    color: var(--pns-text-3);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solp-stats__row > span:not(:first-child) {
    text-align: right;
}

.solp-stats__post {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}

.solp-stats__ph {
    display: block;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 10px;
}

.solp-stats__v {
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.solp-stats__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    color: var(--pns-text-2);
    font-size: 13px;
    font-weight: 500;
}

.solp-stats__line {
    display: block;
    width: 45%;
    color: var(--pns-text);
}

.solp-stats__line svg {
    display: block;
    width: 100%;
}

@container (max-width: 400px) {
    .solp-stats__row {
        grid-template-columns: minmax(0, 1fr) 52px 64px;
    }

    .solp-stats__post .pnv-chan {
        display: none;
    }
}

/* ---------- The preview link and the client's reply ---------- */
.solp-prev {
    display: grid;
    gap: 12px;
}

.solp-prev__url {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 12.5px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
}

.solp-prev__lock {
    flex: 0 0 auto;
    width: 10px;
    height: 9px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--pns-text-2);
    box-shadow: 0 -5px 0 -2px transparent;
    position: relative;
}

.solp-prev__lock::before {
    content: '';
    position: absolute;
    left: 1px;
    bottom: 7px;
    width: 4px;
    height: 4px;
    border: 2px solid var(--pns-text-2);
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.solp-prev__post {
    display: grid;
    gap: 10px;
}

.solp-prev__who {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}

.solp-prev__who b {
    font-weight: 600;
}

.solp-prev__who .pnv-chan {
    margin-left: auto;
}

.solp-prev__ph {
    display: block;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 14px;
}

.solp-prev__text {
    font-size: 14px;
    line-height: 1.4;
}

.solp-prev__reply {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-left: 18%;
}

.solp-prev__reply > span:last-child {
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid var(--pns-line);
    border-radius: 4px 16px 16px 16px;
    background: var(--pns-card);
    font-size: 14px;
    line-height: 1.4;
}

.solp-prev__reply b {
    color: var(--pns-text-3);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- A client's brand voice ---------- */
.solp-voice__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--pns-line-soft);
    font-size: 16px;
}

.solp-voice__head .solp-face {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.solp-voice__head b {
    font-weight: 600;
}

.solp-voice__rows li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-voice__k {
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-weight: 500;
}

.solp-voice__vals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.solp-voice__vals .pnv-chip {
    padding: 5px 11px;
    background: var(--pns-tint-peach);
    color: #7a2e0e;
    font-size: 12.5px;
}

.solp-voice__draft,
.solp-writer__text {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--pns-line);
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.45;
}

/* ---------- A client report ---------- */
.solp-report__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.solp-report__head > span:first-child {
    display: grid;
    gap: 2px;
}

.solp-report__head b {
    font-size: 16px;
    font-weight: 600;
}

.solp-report__head em {
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-style: normal;
}

.solp-report__files {
    display: flex;
    gap: 6px;
}

.solp-report__bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 96px;
    margin: 16px 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--pns-line);
}

.solp-report__bars i {
    flex: 1 1 0;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: #c9d8f6;
}

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

.solp-report__row {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--pns-line-soft);
    font-size: 14px;
}

.solp-report__row .solp-stats__ph {
    width: 40px;
    height: 40px;
}

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

.solp-report__row b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.solp-report__mail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 13px;
    font-weight: 500;
}

.solp-report__env {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 13px;
    border: 2px solid var(--pns-text-2);
    border-radius: 3px;
}

.solp-report__env::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--pns-text-2);
    border-bottom: 2px solid var(--pns-text-2);
    transform: rotate(45deg);
}

/* ---------- An X thread with a poll ---------- */
.solp-thread__post {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 14px;
}

.solp-thread__post + .solp-thread__post {
    padding-top: 14px;
    border-top: 1px solid var(--pns-line-soft);
}

.solp-thread__body {
    display: grid;
    gap: 6px;
    font-size: 14.5px;
    line-height: 1.4;
}

.solp-thread__who {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pns-text-3);
    font-size: 12.5px;
}

.solp-thread__who b {
    color: var(--pns-text);
    font-weight: 600;
}

.solp-thread__who .pnv-chan {
    width: 20px;
    height: 20px;
    margin-left: auto;
}

.solp-thread__poll {
    display: grid;
    gap: 6px;
    margin-top: 4px;
}

.solp-thread__choice {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
}

.solp-thread__choice i {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    background: var(--pns-mist);
}

.solp-thread__choice.is-top i {
    background: var(--pns-tint-sky);
}

.solp-thread__choice span,
.solp-thread__choice em {
    position: relative;
    font-style: normal;
}

/* ---------- The AI writer for a shop ---------- */
.solp-writer__top {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.solp-writer__ph {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--pns-line);
}

.solp-writer__topic {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pns-mist);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.solp-writer__tones {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.solp-writer__tones .pnv-chip {
    padding: 6px 12px;
    font-size: 12.5px;
}

.solp-writer__tags {
    display: block;
    margin-top: 10px;
    color: var(--pns-text-3);
    font-size: 13px;
}

/* ---------- The team and its roles ---------- */
.solp-team ul {
    display: grid;
}

.solp-team li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

.solp-team li:first-child {
    padding-top: 0;
}

.solp-team__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.solp-team__body b {
    font-size: 15px;
    font-weight: 600;
}

.solp-team__body span {
    color: var(--pns-text-3);
    font-size: 13px;
}

.solp-team li.is-gone .solp-face {
    filter: grayscale(1);
}

.solp-team li.is-gone b {
    color: var(--pns-text-3);
}

.solp-team__invite {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px dashed var(--pns-field);
    border-radius: 12px;
    color: var(--pns-text-2);
    font-size: 14px;
    font-weight: 500;
}

.solp-team__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pns-mist);
    color: var(--pns-text);
    font-size: 16px;
}
