.kuehn-author-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

.kuehn-author-wrap.kuehn-release-calendar-page__main,
.kuehn-author-wrap.kuehn-release-calendar-shortcode {
    max-width: var(--layout-wide, 1200px);
}

.kuehn-author-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.kuehn-author-card {
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 12px;
    padding: 14px;
    background: var(--wp--preset--color--base, #fff);
}

.kuehn-author-card__meta {
    font-size: 0.85rem;
    color: var(--wp--preset--color--contrast, #1d2327);
    opacity: 0.8;
}

.kuehn-author-calendar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.kuehn-author-calendar__status {
    font-size: 0.85rem;
    color: var(--wp--preset--color--contrast, #1d2327);
    opacity: 0.8;
}

.kuehn-author-calendar-shell {
    display: grid;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, #f7d9b8 36%, transparent) 0%, transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--base, #fff) 94%, #f4ede4 6%) 0%, var(--wp--preset--color--base, #fff) 100%);
    box-shadow: 0 8px 24px rgba(24, 20, 16, 0.06);
}

.kuehn-author-calendar-shell__eyebrow {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}

.kuehn-author-calendar-shell__intro {
    margin: 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.84;
}

.kuehn-author-calendar-shell__actions {
    display: grid;
    gap: 8px;
    align-content: start;
}

.kuehn-author-calendar-shell__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--wp--preset--color--contrast, #1d2327);
    border-radius: 999px;
    background: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 9%, white);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.kuehn-author-calendar-shell__hint {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.72;
}

.kuehn-author-calendar {
    display: grid;
    gap: 18px;
}

.kuehn-author-calendar__layout {
    display: grid;
    gap: 18px;
}

.kuehn-author-calendar__month-panel,
.kuehn-author-calendar__detail-panel {
    display: grid;
    gap: 16px;
}

.kuehn-author-calendar__month-panel {
    padding: 18px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 18px;
    background: var(--wp--preset--color--base, #fff);
    box-shadow: 0 8px 24px rgba(20, 16, 12, 0.05);
}

.kuehn-author-calendar__toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.kuehn-author-calendar__toolbar-copy {
    min-width: 0;
    text-align: center;
}

.kuehn-author-calendar__month-label {
    margin: 0 0 4px;
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    text-transform: capitalize;
}

.kuehn-author-calendar__toolbar-hint {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.72;
}

.kuehn-author-calendar__nav,
.kuehn-author-calendar__today {
    min-height: 42px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 999px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 90%, var(--wp--preset--color--contrast, #1d2327) 10%);
    font-weight: 600;
}

.kuehn-author-calendar__nav {
    width: 42px;
    padding: 0;
    font-size: 1.2rem;
}

.kuehn-author-calendar__weekday-row,
.kuehn-author-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.kuehn-author-calendar__weekday {
    padding: 0 0 4px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.66;
}

.kuehn-author-calendar__day {
    min-height: 84px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 85%, #b1a89e 15%);
    border-radius: 14px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 98%, #f0ebe5 2%);
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.kuehn-author-calendar__day:hover,
.kuehn-author-calendar__day:focus-visible {
    border-color: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 24%, var(--wp--preset--color--neutral, #d8d8de));
    box-shadow: 0 8px 18px rgba(18, 14, 11, 0.08);
    transform: translateY(-1px);
}

.kuehn-author-calendar__day.is-outside-month {
    opacity: 0.42;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 96%, #ece8e3 4%);
}

.kuehn-author-calendar__day.is-selected {
    border-color: var(--wp--preset--color--contrast, #1d2327);
    box-shadow: inset 0 0 0 1px rgba(17, 15, 13, 0.08);
}

.kuehn-author-calendar__day.is-today {
    background: color-mix(in srgb, #f8ebda 44%, var(--wp--preset--color--base, #fff) 56%);
}

.kuehn-author-calendar__day--fixed {
    background: color-mix(in srgb, #eaf4ea 28%, var(--wp--preset--color--base, #fff) 72%);
}

.kuehn-author-calendar__day--planned {
    background: color-mix(in srgb, #edf3ff 28%, var(--wp--preset--color--base, #fff) 72%);
}

.kuehn-author-calendar__day--tentative {
    background: color-mix(in srgb, #fff2de 32%, var(--wp--preset--color--base, #fff) 68%);
}

.kuehn-author-calendar__day-number {
    font-size: 0.95rem;
    font-weight: 700;
}

.kuehn-author-calendar__day-markers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 12px;
    flex-wrap: wrap;
}

.kuehn-author-calendar__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.kuehn-author-calendar__marker {
    cursor: default;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.kuehn-author-calendar__marker.is-clickable {
    cursor: pointer;
}

.kuehn-author-calendar__marker:hover {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px rgba(17, 15, 13, 0.08);
}

.kuehn-author-calendar__dot--fixed {
    background: #2f7a46;
}

.kuehn-author-calendar__dot--planned {
    background: #355ca8;
}

.kuehn-author-calendar__dot--tentative {
    background: #bf6d10;
}

.kuehn-author-calendar__dot--chapter {
    background: #355ca8;
}

.kuehn-author-calendar__dot--update {
    background: #b84d7f;
}

.kuehn-author-calendar__dot--character {
    background: #6e56cf;
}

.kuehn-author-calendar__dot--glossary {
    background: #a05a2c;
}

.kuehn-author-calendar__dot--bonus {
    background: #2f7a46;
}

.kuehn-author-calendar__dot--qa {
    background: #14808a;
}

.kuehn-author-calendar__dot--note {
    background: #8b6f5a;
}

.kuehn-author-calendar__day-count {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.72;
}

.kuehn-author-calendar__tooltip {
    position: fixed;
    z-index: 80;
    display: grid;
    gap: 4px;
    min-width: 160px;
    max-width: 240px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 88%, #b6a794 12%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 96%, #f3ece4 4%);
    box-shadow: 0 14px 28px rgba(17, 15, 13, 0.14);
    color: inherit;
    pointer-events: none;
    transform: translate(-50%, -100%);
}

.kuehn-author-calendar__tooltip[hidden],
.kuehn-author-calendar__overflow-popover[hidden] {
    display: none;
}

.kuehn-author-calendar__tooltip strong {
    font-size: 0.82rem;
    line-height: 1.35;
}

.kuehn-author-calendar__tooltip span {
    font-size: 0.76rem;
    opacity: 0.76;
}

.kuehn-author-calendar__overflow-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 78%, #e9dfd3 22%);
    box-shadow: inset 0 0 0 1px rgba(17, 15, 13, 0.08);
}

.kuehn-author-calendar__overflow-trigger:hover,
.kuehn-author-calendar__overflow-trigger:focus-visible {
    outline: none;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 68%, #dfd0bf 32%);
}

.kuehn-author-calendar__overflow-popover {
    position: fixed;
    z-index: 85;
    min-width: 220px;
    max-width: 320px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 88%, #b6a794 12%);
    border-radius: 14px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 98%, #f3ece4 2%);
    box-shadow: 0 18px 32px rgba(17, 15, 13, 0.18);
    transform: translateX(-50%);
}

.kuehn-author-calendar__overflow-popover ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.kuehn-author-calendar__overflow-popover li > a,
.kuehn-author-calendar__overflow-popover li > div {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 92%, #efe7dd 8%);
}

.kuehn-author-calendar__overflow-popover li > a:hover,
.kuehn-author-calendar__overflow-popover li > a:focus-visible {
    outline: none;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 82%, #eadfd0 18%);
}

.kuehn-author-calendar__overflow-popover strong {
    font-size: 0.82rem;
    line-height: 1.35;
}

.kuehn-author-calendar__overflow-popover span {
    font-size: 0.76rem;
    opacity: 0.76;
}

.kuehn-author-calendar__footer {
    display: grid;
    gap: 12px;
}

.kuehn-author-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.kuehn-author-calendar__legend-label {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.72;
}

.kuehn-author-calendar__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
}

.kuehn-author-calendar__day-card,
.kuehn-author-calendar__list-card {
    padding: 16px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 18px;
    background: var(--wp--preset--color--base, #fff);
}

.kuehn-author-calendar__day-label {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.66;
}

.kuehn-author-calendar__day-heading,
.kuehn-author-calendar__list-card h3 {
    margin: 0 0 12px;
}

.kuehn-author-calendar__events,
.kuehn-author-calendar__compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.kuehn-author-calendar__event,
.kuehn-author-calendar__compact-item {
    border-radius: 14px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 92%, #efe7dd 8%);
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 84%, #b6a794 16%);
}

.kuehn-author-calendar__card-link {
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.kuehn-author-calendar__event.is-clickable,
.kuehn-author-calendar__compact-item.is-clickable {
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.kuehn-author-calendar__event.is-clickable:hover,
.kuehn-author-calendar__event.is-clickable:focus-within,
.kuehn-author-calendar__compact-item.is-clickable:hover,
.kuehn-author-calendar__compact-item.is-clickable:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(20, 16, 12, 0.08);
    border-color: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 18%, var(--wp--preset--color--neutral, #d8d8de) 82%);
}

.kuehn-author-calendar__card-link:focus-visible {
    outline: 2px solid var(--wp--preset--color--contrast, #1d2327);
    outline-offset: 2px;
}

.kuehn-author-calendar__event-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.kuehn-author-calendar__type,
.kuehn-author-calendar__confidence {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.kuehn-author-calendar__type {
    background: color-mix(in srgb, #e9e4de 72%, white 28%);
}

.kuehn-author-calendar__confidence--fixed {
    background: #e5f3e7;
    color: #215c33;
}

.kuehn-author-calendar__confidence--planned {
    background: #e6eefc;
    color: #244685;
}

.kuehn-author-calendar__confidence--tentative {
    background: #fff0db;
    color: #93520f;
}

.kuehn-author-calendar__event h4,
.kuehn-author-calendar__compact-title {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.kuehn-author-calendar__event-meta,
.kuehn-author-calendar__compact-date,
.kuehn-author-calendar__compact-meta,
.kuehn-author-calendar__empty-note {
    margin: 0;
    font-size: 0.84rem;
    opacity: 0.76;
}

.kuehn-author-calendar__compact-date {
    margin-bottom: 4px;
    font-weight: 700;
    opacity: 0.82;
}

@media (min-width: 768px) {
    .kuehn-author-calendar-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .kuehn-author-calendar__layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
        align-items: start;
    }

    .kuehn-author-calendar__footer {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}

@media (max-width: 639px) {
    .kuehn-author-calendar__weekday-row,
    .kuehn-author-calendar__grid {
        gap: 6px;
    }

    .kuehn-author-calendar__day {
        min-height: 72px;
        padding: 8px;
    }

    .kuehn-author-calendar__toolbar {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__month-panel,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__day-card,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__list-card,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__event,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__compact-item {
    background: var(--kuehn-site-surface, #1a1f28);
    border-color: var(--kuehn-site-border, #2b3340);
    color: var(--kuehn-site-text, #e7eaf0);
    box-shadow: none;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell {
    background:
        radial-gradient(circle at top right, rgba(247, 217, 184, 0.09) 0%, transparent 42%),
        linear-gradient(135deg, rgba(26, 31, 40, 0.98) 0%, rgba(23, 28, 37, 0.98) 100%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__action,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__nav,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__today,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__day,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__type {
    background: var(--kuehn-site-bg-alt, #171c25);
    border-color: var(--kuehn-site-border, #2b3340);
    color: var(--kuehn-site-text, #e7eaf0);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day {
    box-shadow: none;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__day:focus-visible,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__nav:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__nav:focus-visible,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__today:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__today:focus-visible,
[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__action:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__action:focus-visible {
    border-color: color-mix(in srgb, var(--kuehn-site-text, #e7eaf0) 24%, var(--kuehn-site-border, #2b3340));
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 78%, white 22%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day.is-outside-month {
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 86%, black 14%);
    opacity: 0.72;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day.is-selected {
    border-color: color-mix(in srgb, var(--kuehn-site-text, #e7eaf0) 32%, var(--kuehn-site-border, #2b3340));
    box-shadow: inset 0 0 0 1px rgba(231, 234, 240, 0.12);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day.is-today {
    background: color-mix(in srgb, #f7d9b8 14%, var(--kuehn-site-bg-alt, #171c25) 86%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day--fixed {
    background: color-mix(in srgb, #2f7a46 22%, var(--kuehn-site-bg-alt, #171c25) 78%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day--planned {
    background: color-mix(in srgb, #355ca8 22%, var(--kuehn-site-bg-alt, #171c25) 78%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__day--tentative {
    background: color-mix(in srgb, #bf6d10 24%, var(--kuehn-site-bg-alt, #171c25) 76%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__toolbar-hint,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__legend-label,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__day-label,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__event-meta,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__compact-date,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__compact-meta,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__empty-note,
[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__eyebrow,
[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__intro,
[data-site-theme-resolved="dark"] .kuehn-author-calendar-shell__hint {
    color: var(--kuehn-site-muted, #a1a8b5);
    opacity: 1;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__weekday,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__day-count {
    color: color-mix(in srgb, var(--kuehn-site-muted, #a1a8b5) 88%, var(--kuehn-site-text, #e7eaf0));
    opacity: 1;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__confidence--fixed {
    background: rgba(47, 122, 70, 0.2);
    color: #a7ddb4;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__confidence--planned {
    background: rgba(53, 92, 168, 0.24);
    color: #b2c8f6;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__confidence--tentative {
    background: rgba(191, 109, 16, 0.22);
    color: #f1c48b;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__marker:hover {
    box-shadow: 0 0 0 3px rgba(231, 234, 240, 0.14);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__tooltip {
    border-color: var(--kuehn-site-border, #2b3340);
    background: var(--kuehn-site-surface, #1a1f28);
    color: var(--kuehn-site-text, #e7eaf0);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__tooltip span {
    color: var(--kuehn-site-muted, #a1a8b5);
    opacity: 1;
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-trigger {
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 86%, white 14%);
    box-shadow: inset 0 0 0 1px rgba(231, 234, 240, 0.12);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-trigger:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-trigger:focus-visible {
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 72%, white 28%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover {
    border-color: var(--kuehn-site-border, #2b3340);
    background: var(--kuehn-site-surface, #1a1f28);
    color: var(--kuehn-site-text, #e7eaf0);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover li > a,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover li > div {
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 84%, white 16%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover li > a:hover,
[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover li > a:focus-visible {
    background: color-mix(in srgb, var(--kuehn-site-bg-alt, #171c25) 72%, white 28%);
}

[data-site-theme-resolved="dark"] .kuehn-author-calendar__overflow-popover span {
    color: var(--kuehn-site-muted, #a1a8b5);
    opacity: 1;
}

.kuehn-author-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    padding: 2px 8px;
    font-size: 0.72rem;
}

.kuehn-author-badge--supporter {
    background: var(--badge-supporter-bg, #fff4d7);
}

.kuehn-author-badge--premium {
    background: var(--badge-premium-bg, #f3e6ff);
}

.kuehn-author-badge--new {
    border-color: #146c43;
    background: #e8f7ea;
    color: #0f5132;
    font-weight: 600;
}

.kuehn-updates-rework__intro {
    margin: 12px 0 0;
    max-width: 68ch;
    color: var(--kuehn-site-muted, #6c7075);
}

.kuehn-updates-rework__hero {
    margin-bottom: 14px;
}

.kuehn-updates-rework__toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 14px;
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
    z-index: 30;
    border: 1px solid var(--kuehn-site-border, #d8d8de);
    border-radius: var(--radius-md, 14px);
    background:
        linear-gradient(180deg, rgba(139, 111, 90, 0.04), rgba(139, 111, 90, 0)),
        var(--kuehn-site-surface, #fff);
    box-shadow: 0 10px 28px rgba(18, 24, 33, 0.04);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.kuehn-updates-rework__toolbar::-webkit-scrollbar {
    display: none;
}

.kuehn-updates-rework__toolbar-bar,
.kuehn-updates-rework__toolbar-meta {
    display: contents;
}

.kuehn-updates-rework__count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--kuehn-site-muted, rgba(24, 17, 14, 0.72));
    white-space: nowrap;
    padding-right: 8px;
    border-right: 1px solid var(--kuehn-site-border, #d8d8de);
    margin-right: 4px;
    flex: 0 0 auto;
}

.kuehn-updates-rework__toolbar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.kuehn-updates-rework__search-input,
.kuehn-updates-rework__toolbar-controls select,
.kuehn-updates-rework__toolbar-controls button,
.kuehn-updates-rework__toolbar-reset {
    min-height: 34px;
}

.kuehn-updates-rework__search-input {
    flex: 1 1 140px;
    min-width: 0;
    width: auto;
}

.kuehn-updates-rework__toolbar-controls select {
    flex: 0 1 auto;
    width: auto;
}

.kuehn-updates-rework__search-input,
.kuehn-updates-rework__toolbar-controls select {
    border: 1px solid var(--kuehn-site-border, #d8d8de);
    border-radius: var(--radius-sm, 10px);
    padding: 0 10px;
    background: color-mix(in srgb, var(--kuehn-site-bg, #f7f5f1) 70%, var(--kuehn-site-surface, #fff));
    color: var(--kuehn-site-text, inherit);
    font-size: 0.88rem;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.kuehn-updates-rework__toolbar-controls button,
.kuehn-updates-rework__toolbar-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 14px;
    background: var(--kuehn-accent, #8b6f5a);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.84rem;
    cursor: pointer;
    transition: filter 120ms ease, transform 120ms ease;
}

.kuehn-updates-rework__toolbar-controls button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.kuehn-updates-rework__toolbar-reset {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: var(--radius-round, 999px);
    border: 1px solid var(--kuehn-site-border, #d8d8de);
    background: transparent;
    color: var(--kuehn-site-muted, rgba(24, 17, 14, 0.72));
    font-size: 1rem;
    line-height: 1;
}

.kuehn-updates-rework__toolbar-reset:hover {
    background: var(--kuehn-hover-bg, rgba(139, 111, 90, 0.08));
    color: var(--kuehn-site-text, inherit);
    border-color: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 24%, var(--kuehn-site-border, #d8d8de));
    transform: none;
    filter: none;
}

.kuehn-updates-rework__search-input::placeholder {
    color: color-mix(in srgb, var(--kuehn-site-muted, rgba(24, 17, 14, 0.72)) 80%, transparent);
}

.kuehn-updates-rework__search-input:focus-visible,
.kuehn-updates-rework__toolbar-controls select:focus-visible,
.kuehn-updates-rework__toolbar-controls button:focus-visible,
.kuehn-updates-rework__toolbar-reset:focus-visible {
    outline: 2px solid var(--kuehn-focus-ring, #8b6f5a);
    outline-offset: 2px;
}

.kuehn-updates-rework__search-input:focus-visible,
.kuehn-updates-rework__toolbar-controls select:focus-visible {
    border-color: var(--kuehn-accent, #8b6f5a);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 14%, transparent);
}

.kuehn-updates-rework__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 0;
    flex: 0 1 auto;
    min-width: 0;
    scrollbar-width: none;
}

.kuehn-updates-rework__chips::-webkit-scrollbar {
    display: none;
}

.kuehn-updates-rework__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.kuehn-updates-rework__section-eyebrow {
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kuehn-accent, #8b6f5a);
}

.kuehn-updates-rework__section-title {
    margin: 0;
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    line-height: 1.2;
}

.kuehn-updates-rework__section-copy {
    margin: 0;
    max-width: 54ch;
    color: var(--kuehn-site-muted, rgba(24, 17, 14, 0.72));
    font-size: 0.9rem;
    line-height: 1.45;
}

.kuehn-filter-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 80%, #8d8d94 20%);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.kuehn-filter-chip.is-active {
    border-color: var(--wp--preset--color--contrast, #1d2327);
    background: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 12%, white);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.kuehn-filter-chip--storys {
    background: #e8f1ff;
}

.kuehn-filter-chip--announcements {
    background: #fff4dd;
}

.kuehn-filter-chip--off-topic {
    background: #e8f7ea;
}

.kuehn-filter-chip--release-notes {
    background: #f2ebff;
}

.kuehn-filter-chip--q-and-a {
    background: #e5f7f6;
}

.kuehn-filter-chip--patreon {
    background: #ffe8dc;
}

.kuehn-filter-chip--child {
    opacity: 0.9;
    border-style: dashed;
}

.kuehn-updates-rework__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kuehn-updates-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 14px;
    background: var(--wp--preset--color--base, #fff);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(19, 18, 23, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kuehn-updates-card:hover {
    border-color: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 22%, var(--wp--preset--color--neutral, #d8d8de));
    box-shadow: 0 8px 24px rgba(19, 18, 23, 0.1);
    transform: translateY(-1px);
}

.kuehn-updates-rework__item.is-hero .kuehn-updates-card {
    min-height: 0;
    border-color: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 18%, var(--wp--preset--color--neutral, #d8d8de));
    box-shadow: 0 10px 30px rgba(18, 16, 24, 0.12);
}

.kuehn-updates-card__main {
    display: block;
    flex: 1 1 auto;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.kuehn-updates-card__badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.kuehn-updates-card__thumb {
    width: 100%;
    aspect-ratio: 16/6;
    border-radius: 10px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
}

.kuehn-updates-card__title {
    margin: 0 0 10px;
    font-size: clamp(1.22rem, 1.5vw, 1.36rem);
    line-height: 1.28;
    font-weight: 680;
    letter-spacing: -0.01em;
}

.kuehn-updates-card__meta {
    margin: 0 0 12px;
    opacity: 0.66;
    font-size: 0.82rem;
}

.kuehn-updates-card__excerpt {
    margin: 0;
    opacity: 0.92;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kuehn-updates-card__actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0 14px 14px;
    font-size: 0.82rem;
    border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 75%, transparent 25%);
    padding-top: 11px;
    margin-top: auto;
}

.kuehn-updates-card__comments {
    opacity: 0.82;
}

.kuehn-updates-card__actions > a:last-child {
    margin-left: auto;
    opacity: 0.7;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kuehn-updates-card__lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 12px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.92) 22%, rgba(255, 255, 255, 0.36) 100%);
}

.kuehn-updates-card__lock p {
    margin: 0;
    font-size: 0.85rem;
}

.kuehn-updates-rework__item.is-hero .kuehn-updates-card__title {
    font-size: clamp(1.38rem, 2.7vw, 1.86rem);
}

.kuehn-updates-rework__item.is-hero .kuehn-updates-card__excerpt {
    display: block;
    font-size: 1.02rem;
    line-height: 1.6;
}

.kuehn-updates-rework__item.is-hero {
    grid-column: 1 / -1;
}

.kuehn-updates-rework__section-head--archive {
    margin-top: 10px;
}

.kuehn-updates-rework__actions {
    margin-top: 16px;
    text-align: center;
}

.kuehn-updates-rework__load-more {
    min-width: 170px;
    min-height: 42px;
}

.kuehn-updates-rework__empty,
.kuehn-updates-rework__error {
    margin-top: 8px;
    padding: 22px 18px;
    border: 1px dashed var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 14px;
    text-align: center;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 94%, var(--wp--preset--color--contrast, #1d2327) 6%);
}

.kuehn-updates-rework__empty-icon {
    width: 72px;
    height: 72px;
    display: block;
    margin: 0 auto 12px;
    opacity: 0.72;
}

.kuehn-updates-rework__empty-text {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
}

.kuehn-updates-rework__empty-hint {
    margin: 0 0 14px;
    opacity: 0.78;
    font-size: 0.9rem;
}

.kuehn-updates-rework__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--wp--preset--color--contrast, #1d2327);
    border-radius: 10px;
    background: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 8%, white);
    padding: 0 14px;
    font-weight: 600;
    text-decoration: none;
}

.is-hidden {
    display: none !important;
}

.chapter-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    border-radius: 999px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    background: #fff;
    padding: 0 9px;
    cursor: pointer;
}

.chapter-like-btn.is-liked {
    border-color: #cc5a72;
    color: #b02a4a;
    background: #fff1f4;
}

.chapter-like-btn[data-busy=\"true\"] {
    opacity: 0.7;
    pointer-events: none;
}

.chapter-like-btn__icon {
    line-height: 1;
}

.kuehn-update-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    border-radius: 999px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    background: #fff;
    padding: 0 10px;
    cursor: pointer;
    font-size: 0.82rem;
}

.kuehn-update-bookmark-btn.is-bookmarked {
    border-color: #ad8b00;
    background: #fff6cc;
    color: #5c4700;
}

.kuehn-update-bookmark-btn[data-busy=\"true\"] {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 860px) {
    .kuehn-updates-rework__toolbar {
        position: static;
        gap: 6px;
        padding: 8px 12px;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .kuehn-updates-rework__toolbar-controls {
        flex-wrap: wrap;
        flex-basis: 100%;
    }

    .kuehn-updates-rework__search-input,
    .kuehn-updates-rework__toolbar-controls select,
    .kuehn-updates-rework__toolbar-controls button,
    .kuehn-updates-rework__toolbar-reset {
        width: auto;
    }

    .kuehn-updates-rework__search-input {
        flex-basis: 100%;
    }

    .kuehn-updates-rework__toolbar-controls select {
        flex: 1 1 calc(50% - 3px);
    }

    .kuehn-updates-rework__chips {
        flex-basis: 100%;
        order: 3;
    }

    .kuehn-updates-rework__section-head {
        align-items: flex-start;
    }

    .kuehn-updates-rework__list {
        grid-template-columns: 1fr;
    }

    .kuehn-updates-card__title {
        font-size: 1.14rem;
    }

    .kuehn-updates-rework__item.is-hero .kuehn-updates-card__title {
        font-size: 1.4rem;
    }

    .kuehn-update-poll__option-copy {
        flex-direction: column;
        align-items: flex-start;
    }

    .kuehn-update-poll__option-stats {
        white-space: normal;
    }
}

.kuehn-update-single {
    padding: 24px 0 32px;
}

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__toolbar,
    [data-site-theme-resolved="dark"] .kuehn-updates-card,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__empty,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__error {
        background: var(--kuehn-site-surface, #1a1f28);
        border-color: var(--kuehn-site-border, #2b3340);
        color: var(--kuehn-site-text, #e7eaf0);
        box-shadow: none;
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-card:hover,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__item.is-hero .kuehn-updates-card {
        border-color: var(--kuehn-site-border, #2b3340);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__toolbar-controls select {
        background: var(--kuehn-site-bg-alt, #171c25);
        border-color: var(--kuehn-site-border, #2b3340);
        color: var(--kuehn-site-text, #e7eaf0);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__toolbar-controls button {
        background: var(--kuehn-site-surface, #1a1f28);
        border: 1px solid var(--kuehn-site-border, #2b3340);
        color: var(--kuehn-site-text, #e7eaf0);
    }

    [data-site-theme-resolved="dark"] .kuehn-update-bookmark-btn,
    [data-site-theme-resolved="dark"] .chapter-like-btn,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__reset,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__toolbar-reset {
        background: var(--kuehn-site-surface, #1a1f28);
        border-color: var(--kuehn-site-border, #2b3340);
        color: var(--kuehn-site-text, #e7eaf0);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input {
        color: var(--kuehn-site-text, #e7eaf0) !important;
        -webkit-text-fill-color: var(--kuehn-site-text, #e7eaf0);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input::placeholder {
        color: var(--kuehn-site-muted, #a1a8b5) !important;
        -webkit-text-fill-color: var(--kuehn-site-muted, #a1a8b5);
        opacity: 1;
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input:-webkit-autofill,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input:-webkit-autofill:hover,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__search-input:-webkit-autofill:focus {
        -webkit-text-fill-color: var(--kuehn-site-text, #e7eaf0);
        box-shadow: inset 0 0 0 1000px var(--kuehn-site-surface, #1a1f28);
        border-color: var(--kuehn-site-border, #2b3340);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-card__actions {
        border-top-color: var(--kuehn-site-border, #2b3340);
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-card__meta,
    [data-site-theme-resolved="dark"] .kuehn-updates-card__comments,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__intro,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__empty-hint,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__toolbar-hint,
    [data-site-theme-resolved="dark"] .kuehn-updates-rework__section-copy {
        color: var(--kuehn-site-muted, #a1a8b5);
        opacity: 1;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip {
        border-color: var(--kuehn-site-border, #2b3340);
        background: var(--kuehn-site-surface, #1a1f28);
        color: var(--kuehn-site-text, #e7eaf0);
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip.is-active {
        border-color: var(--kuehn-site-text, #e7eaf0);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--storys {
        background: #233249;
        border-color: #355079;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--announcements {
        background: #3c3525;
        border-color: #5e5239;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--off-topic {
        background: #24392f;
        border-color: #355846;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--release-notes {
        background: #312a44;
        border-color: #4c406a;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--q-and-a {
        background: #213b3b;
        border-color: #336060;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--patreon {
        background: #463025;
        border-color: #6c4939;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--storys.is-active {
        background: #2b3f5e;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--announcements.is-active {
        background: #4a412d;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--off-topic.is-active {
        background: #2a4738;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--release-notes.is-active {
        background: #3d3455;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--q-and-a.is-active {
        background: #285151;
    }

    [data-site-theme-resolved="dark"] .kuehn-filter-chip--patreon.is-active {
        background: #594031;
    }

    [data-site-theme-resolved="dark"] .kuehn-updates-card__lock {
        background: linear-gradient(0deg, rgba(17, 19, 23, 0.92) 22%, rgba(17, 19, 23, 0.36) 100%);
    }

[data-site-theme-resolved="dark"] .kuehn-author-badge {
    border-color: var(--kuehn-site-border, #2b3340);
    color: var(--kuehn-site-text, #e7eaf0);
}

[data-site-theme-resolved="dark"] .kuehn-author-badge--supporter {
    background: color-mix(in srgb, #fff4d7 12%, var(--kuehn-site-surface, #1a1f28) 88%);
}

[data-site-theme-resolved="dark"] .kuehn-author-badge--premium {
    background: color-mix(in srgb, #f3e6ff 12%, var(--kuehn-site-surface, #1a1f28) 88%);
}

[data-site-theme-resolved="dark"] .kuehn-author-badge--new {
    border-color: #1d5c2d;
    background: rgba(47, 122, 70, 0.2);
    color: #a7ddb4;
}

[data-site-theme-resolved="dark"] .kuehn-update-poll {
    background:
        radial-gradient(circle at top right, rgba(115, 86, 58, 0.2) 0%, transparent 42%),
        var(--kuehn-site-surface, #1a1f28);
    border-color: var(--kuehn-site-border, #2b3340);
    box-shadow: none;
}

[data-site-theme-resolved="dark"] .kuehn-update-poll__meta,
[data-site-theme-resolved="dark"] .kuehn-update-poll__option-stats,
[data-site-theme-resolved="dark"] .kuehn-update-poll__state,
[data-site-theme-resolved="dark"] .kuehn-update-poll__feedback {
    color: var(--kuehn-site-muted, #a1a8b5);
    opacity: 1;
}

[data-site-theme-resolved="dark"] .kuehn-update-poll__option {
    background: color-mix(in srgb, var(--kuehn-site-surface, #1a1f28) 90%, #43362b 10%);
    border-color: var(--kuehn-site-border, #2b3340);
}

[data-site-theme-resolved="dark"] .kuehn-update-poll__bar {
    background: rgba(255, 255, 255, 0.08);
}

[data-site-theme-resolved="dark"] .kuehn-update-poll__submit,
[data-site-theme-resolved="dark"] .kuehn-update-poll__login {
    background: var(--kuehn-site-surface, #1a1f28);
    border-color: var(--kuehn-site-border, #2b3340);
    color: var(--kuehn-site-text, #e7eaf0);
}

.kuehn-update-single__breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    opacity: 0.85;
}

.kuehn-update-single__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    line-height: 1.2;
}

.kuehn-update-single__meta {
    margin: 0;
    opacity: 0.8;
}

.kuehn-update-single__content {
    margin-top: 22px;
}

.kuehn-update-poll {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 84%, #bea48c 16%);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, #f6dcc0 34%, transparent) 0%, transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--base, #fff) 96%, #f6efe7 4%) 0%, var(--wp--preset--color--base, #fff) 100%);
    box-shadow: 0 10px 28px rgba(30, 22, 16, 0.05);
}

.kuehn-update-poll__header {
    margin-bottom: 14px;
}

.kuehn-update-poll__eyebrow {
    margin: 0 0 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kuehn-focus-ring, #8b6f5a);
}

.kuehn-update-poll__title {
    margin: 0 0 8px;
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    line-height: 1.35;
}

.kuehn-update-poll__meta {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.78;
}

.kuehn-update-poll__form {
    display: grid;
    gap: 14px;
}

.kuehn-update-poll__options {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 10px;
}

.kuehn-update-poll__option {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 82%, #b9a189 18%);
    border-radius: 14px;
    background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 96%, #f4ece3 4%);
    cursor: pointer;
}

.kuehn-update-poll__option:has(input:focus-visible) {
    outline: 2px solid var(--kuehn-focus-ring, #8b6f5a);
    outline-offset: 2px;
}

.kuehn-update-poll__option.is-selected {
    border-color: color-mix(in srgb, var(--kuehn-focus-ring, #8b6f5a) 70%, #fff 30%);
    box-shadow: inset 0 0 0 1px rgba(139, 111, 90, 0.14);
}

.kuehn-update-poll__option input {
    margin: 0;
}

.kuehn-update-poll__option-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.kuehn-update-poll__option-label {
    font-weight: 600;
}

.kuehn-update-poll__option-stats {
    font-size: 0.84rem;
    opacity: 0.8;
    white-space: nowrap;
}

.kuehn-update-poll__bar {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wp--preset--color--neutral, #d8d8de) 72%, transparent 28%);
    overflow: hidden;
}

.kuehn-update-poll__bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c77a4e 0%, #e1aa63 100%);
}

.kuehn-update-poll__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.kuehn-update-poll__submit,
.kuehn-update-poll__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--wp--preset--color--contrast, #1d2327);
    border-radius: 999px;
    background: color-mix(in srgb, var(--wp--preset--color--contrast, #1d2327) 8%, white);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.kuehn-update-poll__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.kuehn-update-poll__state,
.kuehn-update-poll__feedback {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.82;
}

.kuehn-update-single__interactions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--wp--preset--color--neutral, #d8d8de);
}

.kuehn-update-single__related {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--wp--preset--color--neutral, #d8d8de);
}

.kuehn-update-single__source {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.kuehn-update-single__related-grid {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.kuehn-update-single__related-card a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--wp--preset--color--neutral, #d8d8de);
    border-radius: 12px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
}

.kuehn-update-single__related-card span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.kuehn-update-single__prevnext {
    margin-top: 24px;
}

.kuehn-update-single__comments {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--wp--preset--color--neutral, #d8d8de);
}

.kuehn-qa-overview__eyebrow {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kuehn-focus-ring, #8b6f5a);
}

.kuehn-qa-overview__intro {
    margin-top: 0;
    margin-bottom: 14px;
    opacity: 0.82;
}

.kuehn-qa-overview__question {
    margin: 0 0 10px;
    line-height: 1.4;
}

.kuehn-qa-overview__answer-link {
    margin: 0;
}

.kuehn-qa-overview__pagination {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.kuehn-qa-overview__page-status {
    opacity: 0.75;
}

.kuehn-qa-overview__submit {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--wp--preset--color--neutral, #d8d8de);
}

.kuehn-qa-overview__submit h2 {
    margin-top: 0;
}

.kuehn-qa-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    padding: 11px 22px;
    background: var(--kuehn-accent, #8b6f5a);
    color: #fff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 2px 8px rgba(139, 111, 90, 0.28);
}

.kuehn-qa-submit-btn:hover {
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 82%, #000);
    box-shadow: 0 4px 14px rgba(139, 111, 90, 0.38);
    color: #fff;
}

.kuehn-qa-submit-btn:focus-visible {
    outline: 2px solid var(--kuehn-accent, #8b6f5a);
    outline-offset: 3px;
}

.kuehn-qa-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ===================================================
   kuehn-comm-widgets — Profile dashboard activity panels
   =================================================== */

.kuehn-comm-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.kuehn-comm-section {
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--kuehn-site-surface, #ffffff);
    border: 1px solid var(--kuehn-site-border, #e9e9ec);
}

.kuehn-comm-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.kuehn-comm-section__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--profile-nav-active, #667eea) 14%, transparent);
    color: var(--profile-nav-active, #667eea);
}

.kuehn-comm-section__icon svg {
    width: 18px;
    height: 18px;
}

.kuehn-comm-section__title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.kuehn-comm-section__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--kuehn-site-muted, #556074);
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1.2;
}

.kuehn-comm-section__pill {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: color-mix(in srgb, var(--profile-nav-active, #667eea) 16%, transparent);
    color: var(--profile-nav-active, #667eea);
    border: 1px solid color-mix(in srgb, var(--profile-nav-active, #667eea) 28%, transparent);
    line-height: 1.5;
    width: fit-content;
}

.kuehn-comm-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kuehn-comm-section__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid color-mix(in srgb, var(--kuehn-site-border, #e9e9ec) 60%, transparent);
}

.kuehn-comm-section__item:first-child {
    border-top: none;
    padding-top: 0;
}

.kuehn-comm-section__item-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 5px;
    background: color-mix(in srgb, var(--kuehn-site-muted, #556074) 35%, transparent);
    transition: background 0.15s ease;
}

.kuehn-comm-section__item.is-unread .kuehn-comm-section__item-dot {
    background: var(--profile-nav-active, #667eea);
}

.kuehn-comm-section__item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kuehn-comm-section__item-link {
    font-size: 0.88rem;
    color: var(--kuehn-site-text, #1d2327);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.35;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

a.kuehn-comm-section__item-link:hover {
    color: var(--profile-nav-active, #667eea);
}

.kuehn-comm-section__item-date,
.kuehn-comm-section__item-status {
    font-size: 0.75rem;
    color: var(--kuehn-site-muted, #556074);
    line-height: 1.2;
}

.kuehn-comm-section__item-status.is-answered {
    color: #10b981;
}

.kuehn-comm-section__item-status.is-open {
    color: #f59e0b;
}

.kuehn-comm-section__empty {
    font-size: 0.85rem;
    color: var(--kuehn-site-muted, #556074);
    margin: 0;
    padding: 4px 0;
}

/* Light mode: tinted card surfaces matching profile card system */
[data-site-theme-resolved="light"] .patreon-profile-page .kuehn-comm-section {
    background: #f5f6fb;
    border-color: #dde0ee;
}
