.sleep-activity-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(1.3rem, 5vw, 5rem);
    padding-block: clamp(2rem, 6vw, 5rem);
    border-block-end: 1px solid var(--night-line);
}
.sleep-activity-hero h1 {
    margin: .55rem 0 1rem;
    max-width: 18ch;
    font-size: clamp(2.42rem, 5.9vw, 5rem);
    line-height: 1.04;
    letter-spacing: -.034em;
}
.sleep-activity-intro { color: var(--night-muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.6; max-width: 50ch; }
.sleep-activity-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.sleep-activity-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.sleep-activity-hero .pause-reunion-photo img {
    aspect-ratio: 5 / 4;
    max-height: none;
    object-position: 50% 56%;
    border-radius: .35rem .35rem 2.7rem .35rem;
}
.sleep-activity-hero .pause-reunion-photo figcaption { color: var(--night-muted); }
.sleep-activity-steps, .sleep-activity-context, .sleep-activity-listen { max-width: 57rem; }
.sleep-activity-listen {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: .95rem clamp(1.2rem, 4vw, 3.4rem);
    padding: clamp(1.2rem, 4vw, 2.5rem);
    border: 1px solid var(--night-line);
    border-radius: .7rem .7rem 2.1rem .7rem;
    background: var(--night-surface);
}
.sleep-activity-listen h2 { margin: 0 0 .55rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.sleep-activity-listen p { margin: .45rem 0; color: var(--night-muted); }
.sleep-activity-player { min-width: 0; }
.sleep-activity-player audio { display: block; width: 100%; min-width: 0; height: 52px; color-scheme: dark; }
.sleep-activity-player summary { min-height: 44px; padding-block: .6rem; color: var(--night-ink); cursor: pointer; }
.sleep-activity-player .sleep-activity-audio-credit { font-size: .86rem; line-height: 1.45; }
.sleep-activity .reading-share-controls { align-items: flex-start; }
.sleep-activity .reading-share-panel { position: static; margin-block-start: .6rem; }
.sleep-activity .sleep-panel { margin-block-start: clamp(3.2rem, 7vw, 6rem); }
.sleep-steps-list { padding-inline-start: 1.45rem; margin: 0; }
.sleep-steps-list li { border-block-start: 1px solid var(--night-line); padding: 1.2rem 0 1.2rem .4rem; }
.sleep-steps-list li::marker { color: var(--night-light); }
.sleep-steps-list h3 { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2.5vw, 1.92rem); }
.sleep-steps-list p { margin: 0; line-height: 1.65; color: var(--night-muted); max-width: 67ch; }
.sleep-activity-example {
    margin: 1rem 0 0;
    padding: clamp(1.15rem, 4vw, 2.25rem);
    border-radius: .5rem .5rem 1.9rem .5rem;
    background: var(--night-surface);
}
.sleep-activity-example figcaption { color: var(--night-light); font-size: .9rem; }
.sleep-activity-example blockquote {
    max-width: 52ch;
    margin: .6rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--night-ink);
    font: 400 clamp(1.2rem, 2vw, 1.48rem)/1.55 Georgia, serif;
}
.sleep-journal { max-width: 67rem; }
.sleep-journal button { font: inherit; font-weight: 650; cursor: pointer; border: 1px solid var(--night-light); }
.sleep-journal-scroll { overflow-x: auto; margin-top: 1.35rem; background: var(--night-deep); }
.sleep-journal-scroll:focus-visible { outline: 2px solid var(--night-focus); outline-offset: 3px; }
.sleep-journal-table { width: 100%; min-width: 42rem; border-collapse: collapse; table-layout: fixed; }
.sleep-journal-table th, .sleep-journal-table td {
    border: 1px solid var(--night-line);
    padding: .45rem .52rem;
    text-align: left;
    color: var(--night-ink);
}
.sleep-journal-table thead th { background: var(--night-surface); font-size: .87rem; }
.sleep-journal-table tr > :first-child { width: 3.65rem; text-align: center; }
.sleep-journal-table tbody td, .sleep-journal-table tbody th { height: 2.15rem; }
.sleep-journal-table tbody th { font-weight: 500; color: var(--night-light); }
.sleep-journal-origin { display: none; }
@media (max-width: 760px) {
    .sleep-activity-hero, .sleep-activity-listen { grid-template-columns: minmax(0, 1fr); }
    .sleep-activity-hero .pause-reunion-photo img { aspect-ratio: 16 / 10; }
}
@media print {
    @page { size: A4 portrait; margin: 12mm; }
    .view-pause-sleep-activity :is(.site-header, .site-footer, .breadcrumb, .skip, .demo-banner, .back-to-top),
    .sleep-activity--journal > :not(.sleep-journal),
    .sleep-journal :is(button, .sleep-journal-noscript) { display: none !important; }
    .view-pause-sleep-activity, .view-pause-sleep-activity #contenu,
    .sleep-activity--journal, .sleep-activity--journal .sleep-journal {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none;
        min-height: 0;
        width: auto;
        background: white !important;
        color: #222;
    }
    .sleep-journal .sleep-heading { margin-bottom: 5mm; }
    .sleep-journal .sleep-heading h2 { margin: 0 0 2mm; color: #222; font-size: 24pt; }
    .sleep-journal .sleep-heading p { margin: 0; color: #222; font-size: 10pt; line-height: 1.35; }
    .sleep-journal-scroll { margin: 0; overflow: visible; background: white; }
    .sleep-journal-table { min-width: 0; }
    .sleep-journal-table th, .sleep-journal-table td {
        padding: 1.3mm;
        border-color: #777;
        background: white !important;
        color: #222 !important;
        font-size: 9pt;
        line-height: 1.2;
    }
    .sleep-journal-table tbody tr { break-inside: avoid; }
    .sleep-journal-table tbody td, .sleep-journal-table tbody th { height: 10mm; }
    .sleep-journal-table tr > :first-child { width: 9mm; }
    .sleep-journal-origin { display: block; margin: 4mm 0 0; font-size: 9pt; }
}
