.pv-membership .pv-plan-pro .pro-sample-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    width: fit-content;
    min-height: 2.5rem;
    color: var(--plan-accent, var(--pv-pro-accent));
    font-weight: 650;
    text-underline-offset: .22em;
}
.pro-sample { max-width: 61rem; margin-inline: auto; }
.pro-sample > * + * { margin-top: 1.35rem; }
.pro-sample .sample-header {
    /* The report cover uses the same dark surface in both site themes. */
    --theme-text: var(--pv-pro-ink);
    --theme-muted: var(--pv-pro-muted);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: .45rem;
    padding: clamp(1rem, 3vw, 1.875rem);
    border: 1px solid var(--pv-pro-edge);
    border-radius: .85rem;
    background: var(--pv-pro-end) var(--pv-pro-fill);
    color: var(--theme-text);
}
.sample-header .sample-heading { grid-column: 1; align-self: end; min-width: 0; }
.sample-header .sample-type {
    --theme-muted: var(--pv-pro-accent);
    margin: 0 0 .3rem;
    color: var(--theme-muted);
    font-weight: 700;
}
.sample-header h1 { margin: 0; color: var(--theme-text); line-height: 1.15; overflow-wrap: anywhere; }
.sample-header .sample-description { grid-column: 1; margin: 0; color: var(--theme-muted); line-height: 1.5; }
.sample-header time { grid-column: 1; align-self: start; margin-top: .15rem; color: var(--pv-pro-muted); font-size: .9rem; }
.sample-header .sample-photo {
    grid-column: 2;
    grid-row: 1 / 4;
    justify-self: end;
    margin-inline-start: clamp(1rem, 3vw, 2rem);
    border-radius: .45rem;
    overflow: hidden;
}
.sample-header .sample-photo:focus-visible { outline: 2px solid var(--theme-text); outline-offset: 3px; }
.sample-header .sample-photo img { display: block; width: clamp(6rem, 13vw, 10rem); height: auto; }
.pro-sample .sample-numbers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.sample-numbers > div { padding: 1rem; border: 1px solid var(--theme-line,#bfc6b9); border-radius: .55rem; }
.sample-numbers dt { font-weight: 600; line-height: 1.3; }
.sample-numbers dd { margin: .5rem 0 0; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.sample-numbers dd span { font-size: .72em; }
.pro-sample .sample-section, .pro-sample .sample-method { padding: clamp(.85rem, 2vw, 1.4rem); background: var(--theme-panel,#fbf9f3); border: 1px solid var(--theme-line,#bfc6b9); border-radius: .65rem; }
.sample-section h2 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.sample-section p { margin-block: .5rem 1rem; }
.pro-sample .sample-ancestors { width: 100%; border-collapse: collapse; }
.sample-ancestors :is(td,th) { padding: .6rem .35rem; border-bottom: 1px solid var(--theme-line,#bfc6b9); font-size: 1rem; white-space: normal; overflow-wrap: anywhere; }
.sample-ancestors th { text-align: start; }
.sample-ancestors :is(td,th):not(:first-child) { text-align: end; font-variant-numeric: tabular-nums; }
.sample-ancestors thead th { font-size: .9rem; }
.pro-sample summary { padding: .55rem 0; cursor: pointer; font-weight: 650; }
.sample-method ul { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding: 0; list-style: none; }
.pro-sample .sample-actions { display: flex; gap: .5rem 1.25rem; align-items: center; flex-wrap: wrap; }
.membership-quota-note { display: inline-flex; align-items: baseline; gap: .35em; font-size: .9rem; font-weight: 500; line-height: 1.35; }
.membership-quota-note[hidden] { display: none; }
.membership-quota-note strong { font-variant-numeric: tabular-nums; }
.membership-quota-action { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; }
@media (max-width: 36rem) {
    .pro-sample .sample-numbers { grid-template-columns: 1fr; gap: 0; }
    .sample-numbers > div { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border-width: 0 0 1px; border-radius: 0; padding: .65rem .1rem; }
    .sample-numbers dd { margin: 0; white-space: nowrap; }
    .sample-header .sample-heading { align-self: center; }
    .sample-header .sample-photo { grid-row: 1; margin-inline-start: .65rem; }
    .sample-header .sample-photo img { width: clamp(4rem, 18vw, 5.5rem); }
    .sample-header .sample-description, .sample-header time { grid-column: 1 / -1; }
    .sample-ancestors :is(td,th) { padding-inline: .2rem; }
}
[data-pitvu-theme="dark"] .pro-sample :is(.sample-section,.sample-method) {
    background: var(--theme-panel,#24332c);
    border-color: var(--theme-line,#59675c);
}
