.cu-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

.cu-card {
    background: #fff;
    border: 1px solid #d7dee6;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(16, 43, 67, 0.08);
    overflow: hidden;
}

.cu-header {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(180deg, #7393bc 0%, #587fae 100%);
    color: #fff;
}

.cu-header-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
}

.cu-header-copy {
    min-width: 0;
}

.cu-kicker,
.cu-panel-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cu-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.cu-header h1,
.cu-panel h2 {
    margin: 0;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.cu-header h1 {
    color: #fff;
    font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.cu-lead {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.5;
}

.cu-header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cu-header .uk-button-primary {
    background: #ffffff;
    color: #16324a;
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    font-size: 1rem;
    font-weight: 700;
}

.cu-header .uk-button-primary:hover,
.cu-header .uk-button-primary:focus {
    background: #f6f9fc;
    color: #16324a;
    border-color: #ffffff;
}

.cu-surface {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
}

.cu-panel {
    background: #fff;
    border: 1px solid #d7dee6;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(16, 43, 67, 0.06);
    padding: 1.25rem;
}

.cu-panel--intro {
    border-top: 6px solid #8c9bab;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.cu-panel--updates {
    border-top: 6px solid #2f6f8f;
    background: linear-gradient(180deg, #f9fcfd 0%, #ffffff 100%);
}

.cu-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.cu-panel-kicker {
    color: #4c75a0;
}

.cu-html-copy {
    color: #31506c;
    line-height: 1.7;
}

.cu-html-copy > :first-child {
    margin-top: 0;
}

.cu-year-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.cu-year-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #d0dae3;
    background: #fff;
    color: #31506c;
    font-weight: 600;
    text-decoration: none;
}

.cu-year-pill:hover,
.cu-year-pill:focus {
    color: #16324a;
    text-decoration: none;
    border-color: #8da7c0;
    background: #f7fbff;
}

.cu-year-pill.is-active {
    border-color: #1e6d73;
    background: #f3fbfb;
    color: #16324a;
    box-shadow: 0 0 0 3px rgba(30, 109, 115, 0.16);
}

.cu-quarter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cu-quarter {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.cu-quarter-empty {
    margin: 0;
    color: #7a8c9e;
    font-size: 0.95rem;
}

.cu-record-stack {
    display: grid;
    gap: 0.75rem;
}

.cu-record {
    padding: 0.9rem 0.95rem;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
}

.cu-record-main {
    display: grid;
    justify-items: center;
    text-align: center;
}

.cu-record-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.75rem;
}

.cu-doc-link,
.cu-doc-edit {
    color: #153f6d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cu-doc-link:hover,
.cu-doc-link:focus,
.cu-doc-edit:hover,
.cu-doc-edit:focus {
    color: #0f3258;
}

.cu-doc-link--month {
    color: #153f6d;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cu-doc-link--month:hover,
.cu-doc-link--month:focus {
    color: #0f3258;
    text-decoration: underline;
}

.cu-doc-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border: 1px solid #d8e1ea;
    border-radius: 999px;
    background: #f7fafc;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1;
}

.cu-doc-edit:hover,
.cu-doc-edit:focus {
    border-color: #b7c6d4;
    background: #edf4f9;
    text-decoration: none;
}

.cu-doc-hits,
.cu-record-notes {
    color: #5d6f82;
}

.cu-record-notes {
    margin-top: 0.45rem;
    line-height: 1.5;
    text-align: center;
}

.cu-empty {
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed #cfd9e2;
    background: #f7fafc;
    color: #5d6f82;
}

@media (max-width: 1100px) {
    .cu-quarter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cu-header-row {
        display: grid;
        align-items: start;
    }

    .cu-header-actions {
        width: 100%;
    }

    .cu-header-actions .uk-button {
        width: 100%;
    }

    .cu-quarter-grid {
        grid-template-columns: 1fr;
    }
}
