.agenda {
    --agenda-ink: #18363a;
    --agenda-petrol: #143f45;
    --agenda-muted: #54676a;
    --agenda-line: #d7e1df;
    --agenda-mint: #e9f1ec;
    --agenda-ribbon: #ffc795;
    --agenda-serif: Georgia, "Times New Roman", serif;
    max-width: 76rem;
    margin: 0 auto;
    padding: .25rem 0 3rem;
    color: var(--agenda-ink);
}

.agenda h1, .agenda h2, .agenda blockquote, .agenda ol, .agenda ul {
    margin: 0;
}

.agenda a {
    color: inherit;
    text-decoration: none;
}

.agenda :is(a, button, summary):focus-visible {
    outline: 3px solid #007786;
    outline-offset: 3px;
}

.agenda-header, .agenda-heading, .agenda-periods, .agenda-list-head, .agenda-lead-foot {
    display: flex;
    align-items: center;
}

.agenda-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agenda-heading {
    gap: 1.15rem;
    flex-wrap: wrap;
}

.agenda-heading h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.1;
}

.agenda-heading time {
    border-left: 1px solid var(--agenda-line);
    padding-left: 1.15rem;
    color: var(--agenda-muted);
    font-size: .94rem;
}

.agenda-periods {
    flex-wrap: wrap;
    gap: .15rem;
    background: #edf2f0;
    border-radius: .65rem;
    padding: .25rem;
}

.agenda-periods a {
    padding: .48rem .95rem;
    border-radius: .42rem;
    color: var(--agenda-muted);
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.35;
}

.agenda-periods a:hover { color: var(--agenda-ink); background: #dde8e4; }
.agenda-periods a[aria-current="page"] { color: white; background: var(--agenda-petrol); }

.agenda-columns {
    display: grid;
    grid-template-columns: minmax(0, 2.45fr) minmax(16rem, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.agenda-feed, .agenda-rail { min-width: 0; }

.agenda .agenda-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    grid-template-areas: "label art" "title art" "foot art";
    align-content: center;
    align-items: center;
    column-gap: .8rem;
    min-height: 15rem;
    padding: clamp(1.4rem, 2.5vw, 2.4rem);
    isolation: isolate;
    color: #fff;
    background: var(--agenda-petrol);
    border-radius: 1rem;
}

.agenda-lead-label {
    grid-area: label;
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--agenda-ribbon);
    font-size: .94rem;
    font-weight: 600;
}

.agenda .agenda-lead-title {
    grid-area: title;
    margin: .7rem 0 1.15rem;
    font: normal clamp(2.05rem, 3.4vw, 3.25rem)/1.06 var(--agenda-serif);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.agenda-lead-foot {
    grid-area: foot;
    gap: .8rem;
    flex-wrap: wrap;
    color: #d4e4e2;
    font-size: .94rem;
}

.agenda-lead-read {
    padding-left: .8rem;
    border-left: 1px solid #648185;
    color: white;
    font-weight: 600;
}
.agenda-lead-read i, .agenda-quote-all i { font-size: .72em; }
.agenda-lead:hover .agenda-lead-read { text-decoration: underline; }

.agenda-lead-art {
    grid-area: art;
    width: 100%;
    max-width: 18rem;
    height: auto;
    justify-self: end;
    mix-blend-mode: screen;
}

.agenda-list-head {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin-top: 1.8rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--agenda-ink);
}

.agenda-list-head h2, .agenda-rail h2 {
    color: var(--agenda-ink);
    font-size: 1.24rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.025em;
}

.agenda-list-head > span, .agenda-topic-count {
    color: var(--agenda-muted);
    font-size: .9rem;
}

.agenda-list { padding: 0; list-style: none; }
.agenda-list li { border-bottom: 1px solid var(--agenda-line); }
.agenda-list a {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .8rem;
    padding: .92rem .3rem;
}
.agenda-list a:hover { background: #edf3f0; }
.agenda-list a:hover .agenda-topic-name { text-decoration: underline; text-underline-offset: .16em; }
.agenda-rank {
    color: var(--agenda-muted);
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
}
.agenda-topic-name {
    font-size: clamp(1.04rem, 1.4vw, 1.2rem);
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.agenda-topic-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.agenda-topic-count strong { color: var(--agenda-ink); }

.agenda-rail { display: grid; gap: 1.5rem; }
.agenda-rail section, .agenda-explore { min-width: 0; }
.agenda-quote {
    position: relative;
    border-radius: .75rem;
    background: var(--agenda-mint);
    padding: 1.45rem;
    overflow-wrap: anywhere;
}
.agenda-quote::after {
    content: "";
    position: absolute;
    top: 0;
    right: 1.45rem;
    width: .8rem;
    height: 1.6rem;
    background: #66958a;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 77%, 0 100%);
}
.agenda-quote h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-right: 1rem;
    font-size: .98rem;
    letter-spacing: 0;
}
.agenda-quote > a { display: block; }
.agenda-quote blockquote {
    margin: 1rem 0 .85rem;
    font: normal 1.35rem/1.4 var(--agenda-serif);
    letter-spacing: -.025em;
}
.agenda-quote cite, .agenda-author { display: block; line-height: 1.45; }
.agenda-quote cite { font-weight: 700; font-style: normal; }
.agenda-author { color: var(--agenda-muted); font-size: .92rem; }
.agenda-quote a:hover cite, .agenda-quote-all:hover { text-decoration: underline; }
.agenda-quote-all {
    margin-top: 1.1rem;
    padding-top: .7rem;
    border-top: 1px solid #c9dad2;
    font-weight: 600;
    font-size: .92rem;
}
.agenda-share, .agenda-explore, .agenda-recs { border-top: 1px solid var(--agenda-line); padding-top: 1rem; }
.agenda-rail > :first-child { border-top: none; }
.agenda-share h2, .agenda-explore h2, .agenda-recs h2 { margin-bottom: .65rem; }
.agenda-share a, .agenda-explore :is(a, button) {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .42rem .1rem;
    font: inherit;
    color: var(--agenda-ink);
    background: transparent;
    border: 0;
}
.agenda-share a:hover, .agenda-explore :is(a, button):hover, .agenda-recs a:hover { text-decoration: underline; }
.agenda-share .agenda-create {
    width: fit-content;
    margin-bottom: .45rem;
    padding: .5rem .95rem;
    border-radius: .45rem;
    background: var(--agenda-petrol);
    color: white;
    font-weight: 600;
}
.agenda-recs summary { padding: .45rem .1rem; font-weight: 600; }
.agenda-recs summary span, .agenda-recs small { color: var(--agenda-muted); }
.agenda-recs ul { padding: 0 0 .5rem 1.1rem; list-style: none; }
.agenda-recs li { padding: .5rem 0; overflow-wrap: anywhere; }
.agenda-recs small { display: flex; flex-wrap: wrap; gap: .25rem .65rem; }
.agenda-empty { background: var(--agenda-mint); padding: 2rem; border-radius: .75rem; }
.agenda-empty h2 { font: normal 1.65rem/1.3 var(--agenda-serif); margin-bottom: .75rem; }
.agenda-empty a { text-decoration: underline; }

@media (max-width: 850px) {
    .agenda-columns { grid-template-columns: minmax(0, 1fr); }
    .agenda-rail { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); align-items: start; }
}

@media (max-width: 575px) {
    .agenda { padding-top: 0; }
    .agenda-header { gap: .9rem; margin-bottom: 1rem; }
    .agenda-heading { gap: .65rem; }
    .agenda-heading time { font-size: .84rem; padding-left: .65rem; }
    .agenda-periods { width: 100%; }
    .agenda-periods a { text-align: center; flex: 1 0 auto; padding: .55rem .35rem; }
    .agenda .agenda-lead {
        grid-template-columns: minmax(0, 1fr) 5.6rem;
        grid-template-areas: "label label" "title title" "foot art";
        min-height: 0;
        padding: 1.2rem;
    }
    .agenda .agenda-lead-title { margin: .65rem 0 .3rem; }
    .agenda-lead-foot { gap: .5rem; font-size: .85rem; }
    .agenda-lead-read { padding-left: .5rem; }
    .agenda-list-head { margin-top: 1.4rem; }
    .agenda-list a { grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: .5rem; padding: .85rem 0; }
    .agenda-topic-count, .agenda-rank { font-size: .82rem; }
}

.today-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6rem, 27%);
    align-items: center;
    gap: 1rem;
    min-height: 15rem;
    padding: clamp(1.4rem, 2.5vw, 2.4rem);
    background: var(--agenda-petrol);
    color: white;
    border-radius: 1rem;
    isolation: isolate;
}
.today-headline {
    margin: .75rem 0 0;
    font: normal clamp(2rem, 3.1vw, 3rem)/1.12 var(--agenda-serif);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.today-headline span { display: block; }
.today-hourglass {
    display: block;
    width: 100%;
    height: auto;
    max-width: 12rem;
    justify-self: center;
    mix-blend-mode: screen;
}
.today-summary .today-picks-jump {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .9rem;
    color: #e4eee9;
    font-weight: 600;
}
.today-picks-jump i { font-size: .7em; }
.today-picks-jump:hover { text-decoration: underline; }
.today-summary .today-picks-jump:focus-visible { outline-color: var(--agenda-ribbon); }
.today-new {
    display: inline-block;
    margin-left: .25rem;
    padding: .05rem .36rem;
    border-radius: .25rem;
    vertical-align: .12em;
    color: #315e52;
    background: var(--agenda-mint);
    font-size: .72rem;
    font-weight: 600;
}

.today-picks {
    padding: 1.45rem;
    border-radius: .75rem;
    background: var(--agenda-mint);
    overflow-wrap: anywhere;
    scroll-margin-top: 6rem;
}
.today-picks h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}
.today-picks ul { padding: 0; list-style: none; }
.today-picks li + li { margin-top: .95rem; padding-top: .95rem; border-top: 1px solid #bdcfc6; }
.today-pick-meta, .today-byline {
    color: var(--agenda-muted);
    font-size: .9rem;
}
.today-pick-meta { display: flex; justify-content: space-between; gap: 1rem; }
.today-pick-meta span { font-weight: 600; color: var(--agenda-ink); }
.today-pick-meta time { font-variant-numeric: tabular-nums; }
.today-pick-title {
    display: block;
    margin: .25rem 0 .5rem;
    font: normal 1.7rem/1.18 var(--agenda-serif);
    letter-spacing: -.025em;
}
.today-picks p { margin: 0 0 .65rem; line-height: 1.45; }
.today-byline a { font-weight: 600; color: var(--agenda-ink); }
.today-picks a:hover { text-decoration: underline; }
.today-catalog-links { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.today-catalog-links a { text-decoration: underline; }
.today-digest .agenda-empty { margin-top: 1rem; }
.today-digest .agenda-empty p { margin: 0 0 .6rem; }

@media (max-width: 575px) {
    .today-summary {
        grid-template-columns: minmax(0, 1fr) 4.25rem;
        min-height: 0;
        gap: .5rem;
        padding: 1.2rem;
    }
    .today-headline { font-size: clamp(1.55rem, 6.8vw, 2rem); }
    .today-hourglass { height: 6.4rem; object-fit: cover; }
    .today-picks { scroll-margin-top: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.today-digest) { scroll-behavior: auto; }
}
