.zz-cppm-home {
    --ink: #252b34;
    --muted: #545e6b;
    --accent: #a53b10;
    --accent-fill: #b54517;
    --line: #e8e5e2;
    --surface: #fff;
    box-sizing: border-box;
    display: block;
    clear: both;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 28px;
    background: #f5f6f8;
    color: var(--ink);
    font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    text-align: left;
}

.zz-cppm-home *,
.zz-cppm-home *::before,
.zz-cppm-home *::after {
    box-sizing: border-box;
}

.zz-cppm-home a {
    color: inherit;
    text-decoration: none;
}

.zz-cppm-home a:focus-visible,
.zz-cppm-home button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.zz-cppm-home h2,
.zz-cppm-home h3,
.zz-cppm-home h4,
.zz-cppm-home p {
    margin: 0;
    padding: 0;
    background: none;
}

.zz-cppm-home .section-intro {
    margin-bottom: 16px;
    padding: 17px 22px;
    border: 1px solid #eedfd4;
    border-radius: 12px;
    background: #fdf5ee;
}

.zz-cppm-home .section-intro.has-banner {
    display: grid;
    grid-template-columns: minmax(246px, 0.72fr) minmax(0, 2.28fr);
    align-items: center;
    gap: 13px 22px;
    padding: 12px 14px 12px 20px;
}

.zz-cppm-home .intro-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 11px 22px;
    min-width: 0;
}

.zz-cppm-home .has-banner .intro-primary {
    flex-direction: column;
    align-items: flex-start;
}

.zz-cppm-home .has-banner .intro-text {
    display: block;
}

.zz-cppm-home .has-banner .intro-text p {
    margin-top: 4px;
}

.zz-cppm-home .context-banner {
    display: block;
    min-width: 0;
    border-radius: 8px;
}

.zz-cppm-home .context-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.zz-cppm-home .intro-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 14px;
    min-width: 0;
}

.zz-cppm-home .intro-text h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.25;
    font-weight: 700;
}

.zz-cppm-home .intro-text p {
    color: var(--muted);
    font-size: 15px;
}

.zz-cppm-home .intro-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zz-cppm-home .intro-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 5px 12px;
    border: 1px solid #e6cabc;
    border-radius: 7px;
    background: var(--surface);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.zz-cppm-home .intro-links .intro-course {
    border-color: var(--accent-fill);
    background: var(--accent-fill);
    color: #fff;
}

.zz-cppm-home .intro-links a:hover,
.zz-cppm-home .intro-links a:focus-visible {
    border-color: var(--accent);
}

.zz-cppm-home .section-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.97fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

.zz-cppm-home .pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 17px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 3px 10px rgba(33, 42, 54, 0.025);
}

.zz-cppm-home .pane-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
}

.zz-cppm-home .pane-heading h3 {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.zz-cppm-home .pane-heading > a {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.zz-cppm-home .pane-heading > a:hover,
.zz-cppm-home .report-row:hover h4,
.zz-cppm-home .schedule-row:hover h4,
.zz-cppm-home .trial-card:hover h4 {
    color: var(--accent);
}

.zz-cppm-home .report-list,
.zz-cppm-home .schedule-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zz-cppm-home .report-list li,
.zz-cppm-home .schedule-list li {
    display: flex;
    flex: 1;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zz-cppm-home .report-row,
.zz-cppm-home .schedule-row {
    display: grid;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-height: 67px;
    padding: 9px 6px;
    border-bottom: 1px solid var(--line);
}

.zz-cppm-home .report-list li:last-child .report-row,
.zz-cppm-home .schedule-list li:last-child .schedule-row {
    border-bottom: 0;
}

.zz-cppm-home .report-row {
    grid-template-columns: 49px minmax(0, 1fr) auto 10px;
}

.zz-cppm-home .report-row .row-arrow {
    grid-column: 4;
}

.zz-cppm-home .report-date,
.zz-cppm-home .schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    line-height: 1.12;
    font-variant-numeric: tabular-nums;
}

.zz-cppm-home .report-date strong {
    color: #384654;
    font-size: 15px;
    font-weight: 700;
}

.zz-cppm-home .report-date span,
.zz-cppm-home .schedule-date span,
.zz-cppm-home .schedule-year {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    white-space: nowrap;
}

.zz-cppm-home .report-detail h4,
.zz-cppm-home .schedule-city h4 {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.zz-cppm-home .report-detail > span {
    color: var(--accent);
    font-size: 11px;
}

.zz-cppm-home .report-photo {
    display: block;
    width: 62px;
    height: 45px;
    border-radius: 5px;
    object-fit: cover;
}

.zz-cppm-home .row-arrow {
    width: 11px;
    height: 11px;
    color: #687380;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zz-cppm-home .schedule-row {
    grid-template-columns: 49px minmax(0, 1fr) 10px;
}

.zz-cppm-home .schedule-row.current-class {
    border-color: transparent;
    border-radius: 8px;
    background: #fff1e7;
}

.zz-cppm-home .schedule-date strong {
    color: #384654;
    font-size: 25px;
    font-weight: 650;
}

.zz-cppm-home .current-class .schedule-date strong {
    color: var(--accent);
}

.zz-cppm-home .schedule-city {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
}

.zz-cppm-home .schedule-city .state {
    display: none;
}

.zz-cppm-home .current-class .state {
    display: inline;
    color: var(--accent);
    font-size: 11px;
}

.zz-cppm-home .schedule-detail p,
.zz-cppm-home .schedule-note {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.zz-cppm-home .schedule-note {
    margin: 9px 5px 0;
}

.zz-cppm-home .trial-controls,
.zz-cppm-home .trial-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zz-cppm-home .trial-controls {
    gap: 6px;
    margin-top: 7px;
}

.zz-cppm-home .trial-dot,
.zz-cppm-home .trial-rotation {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    min-height: 26px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.zz-cppm-home .trial-dot::before {
    width: 6px;
    height: 6px;
    border-radius: 8px;
    background: #a7a09b;
    content: "";
}

.zz-cppm-home .trial-dot[aria-current="true"]::before {
    width: 13px;
    background: var(--accent);
}

.zz-cppm-home .trial-dot:hover,
.zz-cppm-home .trial-rotation:hover {
    background: #fcf0e8;
    color: var(--accent);
}

.zz-cppm-home .trial-rotation::before {
    width: 8px;
    height: 10px;
    border-inline: 2px solid currentColor;
    content: "";
}

.zz-cppm-home .trial-rotation[data-paused="true"]::before {
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-left: 7px solid currentColor;
    border-right: 0;
}

.zz-cppm-home .trial-rotation[hidden] {
    display: none;
}

.zz-cppm-home .trial-viewport,
.zz-cppm-home .trial-slide:not([hidden]) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.zz-cppm-home .trial-viewport {
    flex: 0 1 auto;
    touch-action: pan-y;
}

.zz-cppm-home .trial-slide[hidden] {
    display: none;
}

.zz-cppm-home .trial-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-radius: 7px;
}

.zz-cppm-home .trial-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    overflow: hidden;
    background: #faf2e8;
}

.zz-cppm-home .trial-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.zz-cppm-home .trial-title {
    margin: 9px 0 8px;
    min-block-size: 2.9em;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.zz-cppm-home .trial-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
}

.zz-cppm-home .watch-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 9px;
    border-radius: 6px;
    background: var(--accent-fill);
    color: #fff;
    font-weight: 650;
}

.zz-cppm-home .trial-card:hover .watch-link {
    background: var(--accent);
}

.zz-cppm-home .empty-state {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1040px) {
    .zz-cppm-home .pane {
        padding: 14px 13px;
    }

    .zz-cppm-home .report-row,
    .zz-cppm-home .schedule-row {
        gap: 7px;
        min-height: 59px;
        padding-inline: 4px;
    }

    .zz-cppm-home .report-photo {
        width: 51px;
        height: 39px;
    }
}

@media (min-width: 861px) and (max-width: 1040px) {
    .zz-cppm-home .report-row {
        padding-block: 6px;
    }

    .zz-cppm-home .report-detail h4 {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 860px) {
    .zz-cppm-home {
        padding: 16px 12px 22px;
    }

    .zz-cppm-home .section-intro,
    .zz-cppm-home .section-intro.has-banner {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 12px;
        padding: 14px;
    }

    .zz-cppm-home .has-banner .intro-primary {
        flex-direction: row;
        align-items: center;
    }

    .zz-cppm-home .section-board {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .zz-cppm-home .pane {
        padding: 14px;
    }

    .zz-cppm-home .schedule-pane {
        order: -1;
    }

    .zz-cppm-home .report-row,
    .zz-cppm-home .schedule-row {
        gap: 10px;
    }

    .zz-cppm-home .report-photo {
        width: 60px;
        height: 44px;
    }

    .zz-cppm-home .trial-dot,
    .zz-cppm-home .trial-rotation {
        width: 32px;
        min-height: 32px;
    }
}

@media (min-width: 560px) and (max-width: 860px) {
    .zz-cppm-home .trial-viewport {
        max-width: 500px;
    }
}
