/*
 * guides.css: /guides and /guides/<slug> (views/frontend/guides/*.pug), rebuilt 2026-11-18 evening on
 * docs/revamp-2026-11-18/PAGE-PATTERN.md. The page frame (ink canvas, the .pns-pagehero hero, the light sheet, the FAQ,
 * the lime panel) comes from pn-system.css and pn-planners.css (body.pp-page); this file adds the guide covers, the
 * picture tiles, the reading column and the article blocks. Every selector starts with .pn-gd (the body class).
 * Colours from the pn-system tokens only. Linked outside the usemin build blocks: bump ?v= in _guides.pug on every edit.
 */

/* ============ Covers: a MAREA photo with the guide title and reading time on it ============ */
.pn-gd .gd-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: clamp(320px, 28vw, 420px);
}

.pn-gd a.gd-cover {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--pns-ink-2);
    color: #ffffff;
    text-decoration: none;
}

.pn-gd a.gd-cover--tall {
    grid-row: 1 / span 2;
}

.pn-gd a.gd-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--pns-ease);
}

.pn-gd a.gd-cover:is(:hover, :focus-visible) img {
    transform: scale(1.03);
}

.pn-gd a.gd-cover:focus-visible {
    outline: 2px solid var(--pns-lime);
    outline-offset: 3px;
}

.pn-gd a.gd-cover::after {
    content: "";
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.55) 45%, rgba(13, 13, 13, 0.86));
}

.pn-gd .gd-cover__text {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pn-gd .gd-cover__text b {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.pn-gd a.gd-cover--tall .gd-cover__text b {
    font-size: 22px;
}

.pn-gd .gd-cover__text i {
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: var(--pns-r-chip);
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

/* ============ Hub: topics of picture tiles ============ */
.pn-gd .gd-group + .gd-group {
    margin-top: clamp(40px, 4vw, 56px);
}

.pn-gd h2.gd-group__h {
    margin: 0 0 18px !important;
    color: var(--pns-text) !important;
    font-size: var(--pns-h2-sm) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    letter-spacing: var(--pns-track-h2) !important;
    text-align: left !important;
}

.pn-gd .gd-tile .pns-tile__panel.gd-tile__pic {
    padding: 0;
    background: var(--pns-line-soft);
}

.pn-gd .gd-tile .gd-tile__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--pns-ease);
}

.pn-gd a.gd-tile:is(:hover, :focus-visible) .gd-tile__pic img {
    transform: scale(1.03);
}

.pn-gd .gd-tile .pns-tile__eyebrow {
    color: var(--pns-text-2);
    letter-spacing: 0.04em;
}

.pn-gd .gd-tile p.pns-tile__text {
    font-weight: 400;
}

/* ============ Guide hero ============ */
.pn-gd p.gd-read {
    margin: 14px 0 0 !important;
    color: var(--pns-on-ink-3) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.pn-gd img.gd-hero__img {
    display: block;
    width: 100%;
    height: clamp(300px, 26vw, 400px);
    border-radius: 24px;
    object-fit: cover;
}

/* ============ The reading column: about 72 characters, 17px, line height 1.7 ============ */
.pn-gd main#hero > .gd-body {
    padding: clamp(40px, 4.4vw, 64px) 0;
}

.pn-gd .gd-article {
    box-sizing: border-box;
    width: min(100% - 40px, 68ch);
    margin: 0 auto;
    color: var(--pns-text);
    font-size: 17px;
    line-height: 1.7;
}

.pn-gd p.gd-answer {
    margin: 0 0 8px !important;
    color: var(--pns-text) !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

.pn-gd .gd-sec {
    margin-top: 48px;
    scroll-margin-top: 96px;
}

.pn-gd h2.gd-h2 {
    margin: 0 0 16px !important;
    color: var(--pns-text) !important;
    font-size: clamp(24px, 2.2vw, 30px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
}

.pn-gd p.gd-p {
    margin: 0 0 16px !important;
    color: var(--pns-text-2) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

.pn-gd .gd-article :is(p, li, dd, td) a {
    color: var(--pns-text);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--pns-field);
    text-underline-offset: 3px;
}

.pn-gd .gd-article :is(p, li, dd, td) a:hover {
    text-decoration-color: var(--pns-text);
}

.pn-gd .gd-article b {
    color: var(--pns-text);
    font-weight: 600;
}

/* The product picture after the first section. */
.pn-gd figure.gd-figure {
    display: flex;
    justify-content: center;
    margin: 40px 0 0;
    padding: clamp(20px, 3vw, 40px);
    border-radius: 24px;
    background: var(--pns-tint-sky);
}

.pn-gd figure.gd-figure > .pnv {
    width: min(100%, 520px);
}

/* Lists, steps, rows, tables, examples, callouts */
.pn-gd .gd-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.pn-gd .gd-list li {
    display: flex;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--pns-text-2);
    font-size: 17px;
    line-height: 1.6;
}

.pn-gd .gd-list i {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
}

.pn-gd .gd-steps {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.pn-gd .gd-steps li {
    display: flex;
    gap: 16px;
    margin: 0 0 10px;
    padding: 18px 20px;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-mist);
}

.pn-gd .gd-steps__n {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 14px;
    font-weight: 600;
}

.pn-gd b.gd-steps__h {
    display: block;
    margin: 3px 0 4px;
    font-size: 17px;
    line-height: 1.4;
}

.pn-gd .gd-steps p {
    margin: 0;
    color: var(--pns-text-2);
    font-size: 16px;
    line-height: 1.65;
}

.pn-gd .gd-rows {
    margin: 0 0 20px;
    border-top: 1px solid var(--pns-line);
}

.pn-gd .gd-rows > div {
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pns-line);
}

.pn-gd .gd-rows dt {
    margin: 0;
    color: var(--pns-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.pn-gd .gd-rows dd {
    margin: 0;
    color: var(--pns-text-2);
    font-size: 16px;
    line-height: 1.65;
}

.pn-gd .gd-table {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
}

.pn-gd .gd-table table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: var(--pns-card);
}

.pn-gd .gd-table tr,
.pn-gd .gd-table tr:nth-of-type(even) {
    background: transparent;
}

.pn-gd .gd-table :is(th, td) {
    padding: 13px 16px;
    border-top: 1px solid var(--pns-line);
    color: var(--pns-text-2);
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.pn-gd .gd-table thead th {
    border-top: 0;
    background: var(--pns-mist);
    color: var(--pns-text-3);
    font-size: 13px;
    font-weight: 600;
}

.pn-gd .gd-table tbody th {
    color: var(--pns-text);
    font-weight: 600;
}

.pn-gd .gd-ex {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.pn-gd .gd-ex li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    margin: 0 0 10px;
    padding: 16px;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-card);
}

.pn-gd .gd-ex__kw {
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--pns-lime-tint);
    color: var(--pns-text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pn-gd .gd-ex__t {
    color: var(--pns-text);
    font-size: 16px;
    line-height: 1.55;
}

.pn-gd button.gd-ex__copy {
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--pns-field);
    border-radius: 10px;
    background: var(--pns-card);
    color: var(--pns-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.pn-gd button.gd-ex__copy:hover {
    border-color: var(--pns-text);
}

.pn-gd button.gd-ex__copy.is-done {
    border-color: var(--pns-lime-deep);
    color: var(--pns-lime-deep);
}

.pn-gd .gd-callout {
    margin: 0 0 20px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--pns-tint-sand);
}

.pn-gd .gd-callout b {
    display: block;
    margin: 0 0 6px;
    font-size: 16px;
}

.pn-gd .gd-callout p {
    margin: 0;
    color: var(--pns-text-2);
    font-size: 16px;
    line-height: 1.65;
}

.pn-gd p.gd-upd {
    margin: 40px 0 0 !important;
    color: var(--pns-text-3) !important;
    font-size: 14px !important;
    text-align: left !important;
}

/* The one "next guide" card. */
.pn-gd a.gd-next {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    padding: 12px 22px 12px 12px;
    border: 1px solid var(--pns-line);
    border-radius: 20px;
    background: var(--pns-mist);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color .15s var(--pns-ease);
}

.pn-gd a.gd-next:is(:hover, :focus-visible) {
    border-color: var(--pns-text);
    color: var(--pns-text);
}

.pn-gd a.gd-next img {
    display: block;
    width: 148px;
    height: 104px;
    border-radius: 12px;
    object-fit: cover;
}

.pn-gd .gd-next__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pn-gd .gd-next__eye {
    color: var(--pns-text-3);
    font-size: 13px;
    font-weight: 500;
}

.pn-gd .gd-next__text b {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.pn-gd .gd-next__line {
    color: var(--pns-text-2);
    font-size: 15px;
    line-height: 1.45;
}

/* ============ FAQ (native details, the summary keeps its plain <summary><span> shape) ============ */
.pn-gd .gd-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    color: var(--pns-text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    list-style: none;
    cursor: pointer;
}

.pn-gd .gd-faq summary::-webkit-details-marker {
    display: none;
}

.pn-gd .gd-faq summary i {
    position: relative;
    flex: none;
    width: 16px;
    height: 16px;
}

.pn-gd .gd-faq summary i::before,
.pn-gd .gd-faq summary i::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: var(--pns-text);
    transition: transform .2s var(--pns-ease);
}

.pn-gd .gd-faq summary i::after {
    transform: rotate(90deg);
}

.pn-gd .gd-faq details[open] summary i::after {
    transform: rotate(0deg);
}

.pn-gd .gd-faq summary:focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: 2px;
}

.pn-gd .gd-faq details > p {
    margin: 0 !important;
    padding: 0 0 18px !important;
    color: var(--pns-text-2) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

.pn-gd .gd-faq details > p a {
    color: var(--pns-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============ The lime panel's card note ============ */
.pn-gd p.gd-close__note {
    margin: 16px 0 0 !important;
    color: #26301c !important;
    font-size: 14px !important;
}

/* ============ Phones ============ */
@media (max-width: 1023px) {
    .pn-gd .gd-stack {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .pn-gd .gd-stack {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        height: 300px;
    }

    .pn-gd a.gd-cover--tall .gd-cover__text b {
        font-size: 17px;
    }

    .pn-gd .gd-cover__text b {
        font-size: 14px;
    }

    .pn-gd img.gd-hero__img {
        height: 220px;
    }

    .pn-gd .gd-article {
        width: calc(100% - 32px);
    }

    .pn-gd p.gd-answer {
        font-size: 18px !important;
    }

    .pn-gd .gd-rows > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .pn-gd .gd-ex li {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pn-gd .gd-ex__kw {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .pn-gd .gd-table thead {
        display: none;
    }

    .pn-gd .gd-table tr {
        display: block;
        padding: 12px 16px;
        border-top: 1px solid var(--pns-line);
    }

    .pn-gd .gd-table tbody tr:first-child {
        border-top: 0;
    }

    .pn-gd .gd-table :is(th, td) {
        display: block;
        padding: 2px 0;
        border: 0;
    }

    .pn-gd .gd-table td::before {
        content: attr(data-h) ": ";
        color: var(--pns-text);
        font-weight: 600;
    }

    .pn-gd a.gd-next {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 10px 14px 10px 10px;
    }

    .pn-gd a.gd-next img {
        width: 96px;
        height: 80px;
    }

    .pn-gd a.gd-next .gd-arrow {
        display: none;
    }

    .pn-gd .gd-next__text b {
        font-size: 17px;
    }
}

/* =====================================================================================================================
 * Playbook format (2026-11-19, owner: "do not look like blog articles but more actionable", "improve imagery").
 * Hero scenes (gdScene), hub card pictures (gdTilePic), the checklist column and the new blocks (template, dodont,
 * tool, step meta). Brief: docs/guides/WRITING-BRIEF.md.
 * ===================================================================================================================== */

/* ---------- Hero scene: white product cards with MAREA photos on a tinted stage ---------- */
.pn-gd .gd-sc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: clamp(340px, 30vw, 460px);
    padding: clamp(20px, 2.4vw, 36px);
    border-radius: 24px;
    background: var(--pns-tint-sky);
    color: var(--pns-text);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.pn-gd .gd-sc--post,
.pn-gd .gd-sc--carousel { background: var(--pns-tint-peach); }
.pn-gd .gd-sc--week,
.pn-gd .gd-sc--plan { background: var(--pns-tint-sand); }
.pn-gd .gd-sc--inbox,
.pn-gd .gd-sc--score { background: var(--pns-tint-mint); }

.pn-gd .gd-sc__card {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    padding: 14px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
}

.pn-gd .gd-sc p { margin: 0; color: var(--pns-text); font-size: 14px; line-height: 1.45; text-align: left; }
.pn-gd .gd-sc b { font-weight: 600; }

.pn-gd .gd-sc__head,
.pn-gd .gd-sc__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pn-gd .gd-sc__head > b,
.pn-gd .gd-sc__bar > b { flex: 1; min-width: 0; font-size: 14px; }

.pn-gd img.gd-sc__av {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.pn-gd .gd-sc__net {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.pn-gd .gd-sc__pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--pns-r-chip);
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pn-gd .gd-sc__pill--on { background: var(--pns-lime-tint); color: var(--pns-lime-deep); }
.pn-gd .gd-sc__pill--ink { background: var(--pns-ink); color: #ffffff; }
.pn-gd .gd-sc__pill--bad { background: var(--pns-danger-tint); color: var(--pns-danger); }

.pn-gd .gd-sc__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.pn-gd .gd-sc__when { color: var(--pns-text-2); font-size: 13px; font-weight: 500; }

.pn-gd .gd-sc__msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pn-gd .gd-sc__msg > span {
    padding: 8px 12px;
    border-radius: 14px;
    background: var(--pns-mist);
    font-size: 13px;
}

.pn-gd .gd-sc__msg > span b { margin-right: 6px; }
.pn-gd .gd-sc__msg img.gd-sc__av { width: 26px; height: 26px; }

.pn-gd .gd-sc__msg--me { justify-content: flex-end; }
.pn-gd .gd-sc__msg--me > span { background: var(--pns-ink); color: #ffffff; }

/* post */
.pn-gd .gd-sc-post { max-width: 380px; }
.pn-gd img.gd-sc-post__img,
.pn-gd img.gd-sc-li__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
}
.pn-gd .gd-sc p.gd-sc-post__cap { margin: 10px 0 0; font-size: 13px; }
.pn-gd .gd-sc-post__thread { display: grid; gap: 8px; margin-top: 12px; }

/* linkedin */
.pn-gd .gd-sc-li__who { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pn-gd .gd-sc-li__who i { color: var(--pns-text-3); font-size: 12px; font-style: normal; }
.pn-gd .gd-sc p.gd-sc-li__text { margin: 0 0 12px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* week */
.pn-gd .gd-sc-week { max-width: 560px; }
.pn-gd .gd-sc-week__grid {
    display: grid;
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    gap: 8px;
}
.pn-gd .gd-sc-week__day { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pn-gd .gd-sc-week__d { color: var(--pns-text-3); font-size: 12px; font-weight: 600; }
.pn-gd .gd-sc-week__day img { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; object-fit: cover; }
.pn-gd .gd-sc-week__t { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; }

/* fan-out */
.pn-gd .gd-sc-fan { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; align-items: center; width: 100%; max-width: 540px; }
.pn-gd .gd-sc-fan__draft img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 10px; border-radius: 12px; object-fit: cover; }
.pn-gd .gd-sc-fan__draft p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pn-gd .gd-sc-fan__nets { display: grid; gap: 4px; padding: 8px 12px; }
.pn-gd .gd-sc-fan__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--pns-line-soft); }
.pn-gd .gd-sc-fan__row:first-child { border-top: 0; }
.pn-gd .gd-sc-fan__count { color: var(--pns-text-3); font-size: 12px; font-variant-numeric: tabular-nums; }

/* inbox */
.pn-gd .gd-sc-inbox { max-width: 440px; }
.pn-gd .gd-sc-inbox__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--pns-line-soft); }
.pn-gd .gd-sc-inbox__body { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
.pn-gd .gd-sc-inbox__body .gd-sc__msg { margin-top: 4px; }
.pn-gd img.gd-sc-inbox__post { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

/* ai */
.pn-gd .gd-sc-ai { display: grid; gap: 12px; width: 100%; max-width: 440px; }
.pn-gd .gd-sc-ai__ask { display: grid; gap: 8px; justify-items: start; }
.pn-gd .gd-sc-ai__draft { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.pn-gd .gd-sc-ai__draft img { width: 120px; height: 150px; border-radius: 12px; object-fit: cover; }
.pn-gd .gd-sc-ai__draft > div { display: grid; gap: 8px; justify-items: start; }

/* score */
.pn-gd .gd-sc-score { max-width: 420px; }
.pn-gd .gd-sc-score__top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.pn-gd .gd-sc-score__top > span:last-child { display: grid; }
.pn-gd .gd-sc-score__top i { color: var(--pns-text-3); font-size: 13px; font-style: normal; }
.pn-gd .gd-sc-score__ring {
    display: grid;
    flex: none;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(var(--pns-ink) calc(var(--p) * 1%), var(--pns-line) 0);
}
.pn-gd .gd-sc-score__ring b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--pns-card); font-size: 15px; }
.pn-gd .gd-sc-score__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--pns-line-soft); font-size: 13px; }
.pn-gd .gd-sc-score__row em { color: var(--pns-text-2); font-style: normal; font-weight: 600; }

/* plan */
.pn-gd .gd-sc-plan { max-width: 460px; }
.pn-gd .gd-sc-plan dl { margin: 0; }
.pn-gd .gd-sc-plan dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--pns-line-soft); }
.pn-gd .gd-sc-plan dt { margin: 0; color: var(--pns-text-3); font-size: 12px; font-weight: 600; }
.pn-gd .gd-sc-plan dd { margin: 0; color: var(--pns-text); font-size: 13px; }

/* plan photos: one picture per pillar */
.pn-gd .gd-sc-plan__pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pn-gd .gd-sc-plan__pics span { display: grid; gap: 4px; }
.pn-gd .gd-sc-plan__pics img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; }
.pn-gd .gd-sc-plan__pics i { color: var(--pns-text-2); font-size: 12px; font-style: normal; font-weight: 500; }

/* carousel */
.pn-gd .gd-sc-car { max-width: 560px; }
.pn-gd .gd-sc-car__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pn-gd .gd-sc-car__slide { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--pns-mist); }
.pn-gd .gd-sc-car__slide img { width: 100%; height: 100%; object-fit: cover; }
.pn-gd .gd-sc-car__slide > span { position: absolute; right: 6px; bottom: 6px; padding: 1px 7px; border-radius: var(--pns-r-chip); background: rgba(13, 13, 13, 0.6); color: #ffffff; font-size: 11px; font-weight: 600; }
.pn-gd .gd-sc-car__slide--cover { display: flex; align-items: flex-start; padding: 10px; background: var(--pns-ink); }
.pn-gd .gd-sc-car__slide--cover b { color: #ffffff; font-size: 13px; line-height: 1.25; }
.pn-gd .gd-sc-car__dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.pn-gd .gd-sc-car__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--pns-field); }
.pn-gd .gd-sc-car__dots i.is-on { background: var(--pns-ink); }

/* accounts */
.pn-gd .gd-sc-acc { max-width: 460px; }
.pn-gd .gd-sc-acc__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--pns-line-soft); font-size: 13px; }

/* hours */
.pn-gd .gd-sc-hours { max-width: 460px; }
.pn-gd .gd-sc-hours__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--pns-line-soft); }
.pn-gd .gd-sc-hours__times { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-gd .gd-sc-hours__next { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--pns-mist); }
.pn-gd .gd-sc-hours__next img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.pn-gd .gd-sc-hours__next > span { display: grid; font-size: 13px; }
.pn-gd .gd-sc-hours__next i { color: var(--pns-text-3); font-style: normal; }

/* ---------- Hub card picture: the guide's photo in a small post card, on a tint ---------- */
.pn-gd .gd-tile .pns-tile__panel.gd-tile__pic {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.pn-gd .gd-tile .pns-tile__panel.gd-tint--sky { background: var(--pns-tint-sky); }
.pn-gd .gd-tile .pns-tile__panel.gd-tint--peach { background: var(--pns-tint-peach); }
.pn-gd .gd-tile .pns-tile__panel.gd-tint--sand { background: var(--pns-tint-sand); }
.pn-gd .gd-tile .pns-tile__panel.gd-tint--mint { background: var(--pns-tint-mint); }
.pn-gd .gd-tile__pic .gd-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: min(100%, 250px);
    height: 100%;
    padding: 8px 8px 10px;
    border: 1px solid var(--pns-line);
    border-radius: 14px;
    background: var(--pns-card);
}
.pn-gd .gd-tile .gd-tile__pic .gd-mini img {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: auto;
    border-radius: 9px;
    object-fit: cover;
}
.pn-gd .gd-mini__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- The playbook layout: checklist beside the column ---------- */
.pn-gd .gd-layout {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 72ch);
    gap: clamp(32px, 4vw, 64px);
    justify-content: center;
    width: var(--pns-w);
    margin: 0 auto;
}
.pn-gd .gd-layout .gd-article { width: auto; margin: 0; }
.pn-gd .gd-side { position: relative; }
.pn-gd .gd-check {
    position: sticky;
    top: 96px;
    padding: 20px;
    border: 1px solid var(--pns-line);
    border-radius: 20px;
    background: var(--pns-mist);
}
.pn-gd .gd-check__head { display: grid; gap: 2px; margin-bottom: 14px; }
.pn-gd .gd-check__head b { color: var(--pns-text); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pn-gd .gd-check__meta { color: var(--pns-text-3); font-size: 14px; }
.pn-gd .gd-check__bar { height: 6px; overflow: hidden; border-radius: 3px; background: var(--pns-line); }
.pn-gd .gd-check__bar i { display: block; height: 100%; border-radius: 3px; background: var(--pns-lime); transition: width .3s var(--pns-ease); }
.pn-gd p.gd-check__count { margin: 8px 0 12px !important; color: var(--pns-text-2) !important; font-size: 13px !important; text-align: left !important; }
.pn-gd .gd-check__list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pn-gd .gd-check__list li { margin: 0; padding: 0; border-top: 1px solid var(--pns-line); }
.pn-gd .gd-check__list label { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 0; cursor: pointer; font-weight: 400; }
.pn-gd .gd-check__list input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pn-gd .gd-check__box {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1.5px solid var(--pns-field);
    border-radius: 6px;
    background: var(--pns-card);
    color: transparent;
}
.pn-gd .gd-check__list input:checked + .gd-check__box { border-color: var(--pns-lime); background: var(--pns-lime); color: var(--pns-on-lime); }
.pn-gd .gd-check__list input:focus-visible + .gd-check__box { outline: 2px solid var(--pns-focus); outline-offset: 2px; }
.pn-gd .gd-check__list a { color: var(--pns-text); font-size: 14px; line-height: 1.4; text-decoration: none; }
.pn-gd .gd-check__list a:hover { text-decoration: underline; }
.pn-gd .gd-check__list input:checked ~ a { color: var(--pns-text-3); text-decoration: line-through; }
.pn-gd .gd-check__res,
.pn-gd .gd-check__need { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pns-line); }
.pn-gd .gd-check__res b,
.pn-gd .gd-check__need b { display: block; margin-bottom: 6px; color: var(--pns-text); font-size: 13px; font-weight: 600; }
.pn-gd .gd-check__res p { margin: 0 !important; color: var(--pns-text-2) !important; font-size: 14px !important; line-height: 1.5 !important; text-align: left !important; }
.pn-gd .gd-check__need ul { margin: 0; padding: 0 0 0 18px; list-style: disc; }
.pn-gd .gd-check__need li { margin: 0 0 4px; color: var(--pns-text-2); font-size: 14px; line-height: 1.45; }

/* ---------- Steps: where, time, done when, text to copy ---------- */
.pn-gd .gd-steps li { scroll-margin-top: 96px; transition: border-color .2s var(--pns-ease), background-color .2s var(--pns-ease); }
.pn-gd .gd-steps li.is-done { border-color: var(--pns-lime-deep); background: var(--pns-card); }
.pn-gd .gd-steps li.is-done .gd-steps__n { background: var(--pns-ink); color: #ffffff; }
.pn-gd .gd-steps__body { min-width: 0; flex: 1; }
.pn-gd .gd-steps p.gd-steps__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.pn-gd .gd-steps__where,
.pn-gd .gd-steps__time {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-chip);
    background: var(--pns-card);
    color: var(--pns-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.pn-gd .gd-steps__time { color: var(--pns-text-2); }
.pn-gd .gd-steps p.gd-steps__done { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; color: var(--pns-text-2); font-size: 14px; }
.pn-gd .gd-steps__done svg { flex: none; margin-top: 4px; color: var(--pns-lime-deep); }
.pn-gd .gd-steps__done b { color: var(--pns-text); font-weight: 600; }

/* ---------- Fill-in template ---------- */
.pn-gd .gd-tpl {
    position: relative;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-card);
}
.pn-gd .gd-tpl__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--pns-line); background: var(--pns-mist); }
.pn-gd .gd-tpl__bar b { font-size: 15px; }
.pn-gd .gd-tpl pre {
    margin: 0;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--pns-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: anywhere;
}
.pn-gd .gd-tpl mark { padding: 0 3px; border-radius: 4px; background: var(--pns-tint-sand); color: var(--pns-text); }
.pn-gd .gd-tpl--sm { margin: 12px 0 0; }
.pn-gd .gd-tpl--sm pre { padding: 12px 84px 12px 14px; font-size: 14px; }
.pn-gd .gd-tpl--sm .gd-ex__copy { position: absolute; top: 8px; right: 8px; }

/* ---------- Do and avoid ---------- */
.pn-gd .gd-dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.pn-gd .gd-dd > div { padding: 16px 18px; border-radius: 16px; }
.pn-gd .gd-dd__do { background: var(--pns-lime-tint); }
.pn-gd .gd-dd__avoid { background: var(--pns-danger-tint); }
.pn-gd .gd-dd b { display: block; margin-bottom: 8px; font-size: 15px; }
.pn-gd .gd-dd__avoid b { color: var(--pns-danger); }
.pn-gd .gd-dd ul { margin: 0; padding: 0 0 0 18px; list-style: disc; }
.pn-gd .gd-dd li { margin: 0 0 6px; color: var(--pns-text); font-size: 15px; line-height: 1.5; }

/* ---------- Tool card ---------- */
.pn-gd a.gd-tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-tint-sky);
    color: var(--pns-text);
    text-decoration: none;
}
.pn-gd a.gd-tool:is(:hover, :focus-visible) { border-color: var(--pns-text); color: var(--pns-text); }
.pn-gd a.gd-tool > span { display: grid; gap: 2px; }
.pn-gd a.gd-tool b { font-size: 16px; font-weight: 600; }
.pn-gd a.gd-tool i { color: var(--pns-text-2); font-size: 14px; font-style: normal; }

.pn-gd a.gd-next img { aspect-ratio: auto; }

@media (max-width: 1023px) {
    .pn-gd .gd-layout { grid-template-columns: minmax(0, 1fr); width: min(100% - 40px, 72ch); }
    .pn-gd .gd-check { position: static; }
}

@media (max-width: 640px) {
    .pn-gd .gd-layout { width: calc(100% - 32px); }
    .pn-gd .gd-sc { min-height: 0; padding: 16px; }
    .pn-gd .gd-sc-fan { grid-template-columns: minmax(0, 1fr); }
    .pn-gd .gd-sc-week__grid { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 5px; }
    .pn-gd .gd-sc-week__t { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 11px; }
    .pn-gd .gd-sc-hours__row { grid-template-columns: minmax(0, 1fr); }
    .pn-gd .gd-dd { grid-template-columns: minmax(0, 1fr); }
    .pn-gd .gd-sc-ai__draft { grid-template-columns: 88px minmax(0, 1fr); }
    .pn-gd .gd-sc-ai__draft img { width: 88px; height: 110px; }
}
