/* Početna (/) i "Šta je novo" (/novo) — port odobrenog dizajna (Pocetna/PocetnaMobilni/SveNovo/SveNovoMobilni.dc.html).
   Stil kao lekcije jednačina (EqLessonLayout.razor.css): Nunito, navy #173E73, plava #2459A0, narandžasta #F08A00,
   pozadina #F4F7FB, bijele kartice 18–24 px. Prefiks hp- (početna + zajedničko), sn- (samo /novo).
   Mobilni prelom: 640 px (isto kao zaglavlje sajta). */

.hp-page {
    font-family: Nunito, system-ui, sans-serif;
    color: #1F2A37;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hp-page a { color: #2459A0; }
.hp-page a:hover { color: #173E73; }

.hp-page a:focus-visible,
.hp-page input:focus-visible,
.hp-page summary:focus-visible {
    outline: 3px solid #F08A00;
    outline-offset: 2px;
}

.hp-page h1, .hp-page h2, .hp-page h3, .hp-page h4 { font-family: inherit; }

/* --- uvod --- */
.hp-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
}

.hp-intro-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 520px;
    min-width: 0;
}

.hp-eyebrow {
    font-size: 15px;
    font-weight: 800;
    color: #B35400;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hp-h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 900;
    color: #173E73;
}

.hp-lead {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    max-width: 640px;
}

.hp-intro-grades {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 1 460px;
    justify-content: flex-end;
}

/* --- čipovi (sidra razreda) --- */
.hp-chip {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid #DCE5F2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
}

.hp-page a.hp-chip { color: #1F2A37; }
.hp-page a.hp-chip:hover { border-color: #9DBCE6; color: #173E73; }

.hp-chip-count {
    font-size: 13px;
    font-weight: 800;
    color: #4A5868;
    background: #EEF3F9;
    border-radius: 999px;
    padding: 1px 8px;
}

.hp-show-sm { display: none; }

/* --- sekcije --- */
.hp-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 16px;
}

.hp-section-head--center { align-items: center; }

.hp-h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    color: #173E73;
}

.hp-more {
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- oznaka Novo --- */
.hp-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #F08A00;
    color: #1F1300;
    font-weight: 900;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.hp-badge--sm {
    padding: 2px 8px;
    font-size: 12px;
    flex-shrink: 0;
}

/* --- glifovi (umjesto emojija) --- */
.hp-glyph {
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.hp-glyph--lesson { background: #E8F1FC; color: #2459A0; }
.hp-glyph--practice { background: #FFF1DD; color: #8A4100; }
.hp-glyph--row { width: 52px; height: 52px; font-size: 20px; }
.hp-glyph--card { min-width: 48px; height: 48px; padding: 0 8px; font-size: 18px; }
.hp-glyph--sm { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }

/* --- Najnovije: naslovnica + lista --- */
.hp-latest {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.hp-cover {
    grid-column: span 5;
    background: #173E73;
    color: #fff;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-cover-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hp-cover-eyebrow {
    font-size: 15px;
    font-weight: 800;
    color: #FFC77A;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hp-cover-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    color: #fff;
}

.hp-cover-art {
    background: #1F4C88;
    border-radius: 18px;
    padding: 10px 8px 4px;
}

.hp-cover-art svg { display: block; }

.hp-cover-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #DCE8F7;
}

.hp-cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* --- dugmad --- */
.hp-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    border: none;
    font-weight: 900;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.hp-page a.hp-btn--orange,
.hp-page a.hp-btn--orange:hover { background: #F08A00; color: #1F1300; }
.hp-page a.hp-btn--orange:hover { background: #FF9A1A; }

.hp-page a.hp-btn--outline-light {
    border: 2px solid #4F77AE;
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    padding: 0 20px;
}

.hp-page a.hp-btn--outline-light:hover { border-color: #C9D8EE; color: #fff; background: #1F4C88; }

.hp-page a.hp-btn--blue { background: #2459A0; color: #fff; font-size: 17px; }
.hp-page a.hp-btn--blue:hover { background: #173E73; color: #fff; }

.hp-page a.hp-btn--ghost {
    border: 2px solid #C9D8EE;
    background: #fff;
    color: #2459A0;
    font-weight: 800;
    font-size: 17px;
    padding: 0 20px;
}

.hp-page a.hp-btn--ghost:hover { border-color: #9DBCE6; color: #173E73; }

.hp-page .hp-cover a:focus-visible { outline-color: #FFC77A; }

.hp-latest-list {
    grid-column: span 7;
    background: #fff;
    border-radius: 24px;
    padding: 12px 12px 8px;
    box-shadow: 0 2px 0 #E3EAF4;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hp-date {
    padding: 10px 14px 6px;
    font-size: 15px;
    font-weight: 800;
    color: #4A5868;
}

/* red liste (Najnovije i kartica teme na /novo) */
.hp-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    min-height: 44px;
}

.hp-page a.hp-row { color: #1F2A37; }
.hp-page a.hp-row:hover { background: #F2F7FD; color: #1F2A37; }

.hp-row-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-row-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.hp-row-title {
    font-size: 18px;
    font-weight: 800;
    color: #173E73;
    min-width: 0;
}

.hp-row-meta {
    font-size: 15px;
    color: #4A5868;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-row-meta--wrap { white-space: normal; }

.hp-chev { color: #8FA9CC; flex-shrink: 0; }

/* --- Sve lekcije po razredima --- */
.hp-all { gap: 24px; }

.hp-search {
    position: relative;
    flex: 0 1 380px;
    display: block;
    margin: 0;
}

.hp-search-input {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 16px 0 46px;
    border-radius: 14px;
    border: 2px solid #C9D8EE;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    color: #1F2A37;
}

.hp-search-icon {
    position: absolute;
    left: 16px;
    top: 14px;
    color: #2459A0;
    pointer-events: none;
}

.hp-grade-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 0 #E3EAF4;
}

.hp-chip--bar { border-radius: 12px; }

.hp-search-empty {
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 800;
    color: #173E73;
    text-align: center;
}

.hp-search-empty[hidden],
.hp-page [hidden] { display: none !important; }

.hp-grade {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
    scroll-margin-top: 96px;
}

.hp-grade-head {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid #DCE5F2;
    padding-bottom: 10px;
}

.hp-grade-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFE9CC;
    color: #8A4100;
    font-weight: 900;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #173E73;
}

.hp-grade-count {
    font-size: 16px;
    color: #4A5868;
    font-weight: 700;
}

.hp-topic {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-topic-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-topic-name {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #2459A0;
}

.hp-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hp-card {
    background: #fff;
    border: 2px solid #E3EAF4;
    border-radius: 18px;
    padding: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.hp-page a.hp-card { color: #1F2A37; }
.hp-page a.hp-card:hover { border-color: #9DBCE6; color: #1F2A37; }

.hp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hp-card-tags {
    display: flex;
    gap: 6px;
    align-items: center;
}

.hp-card-kind {
    font-size: 13px;
    font-weight: 800;
    color: #4A5868;
}

.hp-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.hp-card-title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #173E73;
}

.hp-card-desc {
    font-size: 15px;
    line-height: 1.45;
    color: #4A5868;
}

.hp-card-kind-inline { display: none; }

/* ================= Šta je novo (/novo) ================= */
.sn-page { gap: 28px; padding-top: 8px; }

.sn-back {
    align-self: flex-start;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.sn-intro { margin-top: -12px; }

.sn-filters {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 0 #E3EAF4;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sn-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sn-filter-label {
    width: 72px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    color: #4A5868;
}

.sn-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.sn-chip {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 2px solid #DCE5F2;
    background: #fff;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.hp-page a.sn-chip { color: #1F2A37; }
.hp-page a.sn-chip:hover { border-color: #9DBCE6; color: #173E73; }

.hp-page a.sn-chip.is-on,
.hp-page a.sn-chip.is-on:hover {
    border-color: #2459A0;
    background: #2459A0;
    color: #fff;
    font-weight: 800;
}

.sn-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sn-month {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
}

.sn-month-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 3px solid #DCE5F2;
    padding-right: 20px;
}

.sn-month-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
    color: #173E73;
}

.sn-month-count {
    font-size: 15px;
    font-weight: 700;
    color: #4A5868;
}

.sn-month-days {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.sn-day {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sn-day-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sn-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8FA9CC;
    margin-left: -37px;
    box-shadow: 0 0 0 4px #F4F7FB;
    flex-shrink: 0;
}

.sn-dot.is-new { background: #F08A00; }

.sn-day-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #4A5868;
}

/* kartica teme */
.sn-topic {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 0 #E3EAF4;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
}

.sn-topic-panel {
    background: #173E73;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sn-topic-eyebrow { font-size: 14px; }

.sn-topic-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
    color: #fff;
}

.sn-topic-summary {
    font-size: 17px;
    font-weight: 700;
    color: #DCE8F7;
}

.sn-topic-art {
    margin-top: auto;
    background: #1F4C88;
    border-radius: 14px;
    padding: 6px 4px 0;
}

.sn-topic-art svg { display: block; }

.sn-topic-items {
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* sažeta kartica: prebačeno sa starog sajta */
.sn-migrated {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 0 #E3EAF4;
    padding: 22px 24px;
}

.sn-migrated-summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 16px;
    border-radius: 14px;
}

.sn-migrated-summary::-webkit-details-marker { display: none; }
.sn-migrated-summary::marker { content: ""; }

.sn-migrated-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sn-migrated-title {
    font-size: 22px;
    font-weight: 900;
    color: #173E73;
}

.sn-migrated-desc {
    font-size: 16px;
    color: #4A5868;
}

.sn-migrated-toggle {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 2px solid #C9D8EE;
    background: #fff;
    color: #2459A0;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sn-migrated-summary:hover .sn-migrated-toggle { border-color: #9DBCE6; color: #173E73; }

.sn-when-open { display: none; }
.sn-migrated-details[open] .sn-when-open { display: inline; }
.sn-migrated-details[open] .sn-when-closed { display: none; }
.sn-migrated-details[open] .sn-migrated-chev { transform: rotate(180deg); }

.sn-grade-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sn-grade-chip {
    padding: 6px 12px;
    border-radius: 12px;
    background: #EEF3F9;
    font-size: 15px;
    font-weight: 800;
    color: #1F2A37;
    white-space: nowrap;
}

.sn-grade-chip-count { color: #4A5868; }

.sn-migrated-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    border-top: 2px solid #EEF3F9;
    padding-top: 12px;
    margin-top: 16px;
}

.sn-migrated-grade {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 8px;
}

.sn-migrated-grade-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #2459A0;
    padding: 6px 0;
}

.sn-mrow {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    min-height: 44px;
    border-radius: 12px;
    text-decoration: none;
}

.hp-page a.sn-mrow { color: #1F2A37; }
.hp-page a.sn-mrow:hover { background: #F2F7FD; color: #1F2A37; }

.sn-mrow-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sn-mrow-title {
    font-size: 16px;
    font-weight: 800;
    color: #173E73;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-mrow-meta {
    font-size: 14px;
    color: #4A5868;
}

.sn-empty {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.sn-empty-text {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #173E73;
}

.sn-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 2px solid #DCE5F2;
    padding-top: 24px;
}

/* ================= prelomi ================= */
@media (max-width: 1100px) {
    .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .hp-cover, .hp-latest-list { grid-column: 1 / -1; }
    .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-topic { grid-template-columns: minmax(0, 1fr); }
    .sn-migrated-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .sn-month { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .sn-month-side {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        border-right: none;
        border-bottom: 2px solid #DCE5F2;
        padding: 0 0 6px;
    }
    .sn-dot { margin-left: 0; }
}

@media (max-width: 640.98px) {
    .hp-page { padding: 4px 0 24px; gap: 26px; }
    .hp-eyebrow { font-size: 13px; }
    .hp-h1 { font-size: 34px; }
    .hp-lead { font-size: 17px; }
    .hp-intro-grades { display: none; }
    .hp-hide-sm { display: none !important; }
    .hp-show-lg { display: none; }
    .hp-show-sm { display: inline; }
    .hp-desk-only { display: none !important; }

    .hp-section { gap: 12px; }
    .hp-all { gap: 14px; }
    .hp-h2 { font-size: 26px; }
    .hp-more { font-size: 16px; }

    .hp-cover { padding: 18px; border-radius: 20px; gap: 12px; }
    .hp-cover-eyebrow { font-size: 13px; }
    .hp-cover-title { font-size: 26px; }
    .hp-cover-art { border-radius: 14px; padding: 6px 4px 0; }
    .hp-cover-art svg { height: 140px; }
    .hp-cover-text { display: none; }
    .hp-cover-actions .hp-btn { flex: 1 1 100%; min-height: 50px; font-size: 17px; }

    .hp-latest-list { padding: 6px; border-radius: 20px; }
    .hp-date { padding: 10px 12px 4px; font-size: 14px; }
    .hp-row { grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 12px; padding: 10px 12px; border-radius: 14px; }
    .hp-glyph--row { width: 46px; height: 46px; font-size: 17px; border-radius: 12px; }
    .hp-row-title-line { flex-wrap: nowrap; gap: 6px; }
    .hp-row-title { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hp-row-meta { font-size: 14px; }
    .hp-chev { width: 18px; height: 18px; }

    .hp-section-head--center { flex-direction: column; align-items: stretch; }
    .hp-search { flex: 1 1 auto; }

    .hp-grade-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -1.5rem;
        padding: 8px 1.5rem;
        border-radius: 0;
        background: #F4F7FB;
        box-shadow: none;
        border-top: 2px solid #E3EAF4;
        border-bottom: 2px solid #E3EAF4;
        scrollbar-width: thin;
    }
    .hp-chip--bar { flex-shrink: 0; font-size: 14px; padding: 0 12px; gap: 6px; }
    .hp-chip--bar .hp-chip-count { background: none; padding: 0; font-size: 12px; }

    .hp-grade { gap: 10px; padding-top: 6px; scroll-margin-top: 72px; }
    .hp-grade-head { gap: 10px; border-bottom: none; padding-bottom: 0; }
    .hp-grade-badge { width: 38px; height: 38px; font-size: 17px; }
    .hp-h3 { font-size: 22px; }
    .hp-grade-count { font-size: 14px; margin-left: auto; text-align: right; }
    .hp-topic { gap: 6px; }
    .hp-topic-head { padding-left: 2px; gap: 8px; }
    .hp-topic-name { font-size: 15px; }

    /* kartice postaju redovi u jednoj bijeloj kartici */
    .hp-cards {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 0 #E3EAF4;
        overflow: hidden;
    }
    .hp-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid #EEF3F9;
        border-radius: 0;
    }
    .hp-card:last-child { border-bottom: none; }
    .hp-page a.hp-card:hover { background: #F2F7FD; }
    .hp-card-top { display: contents; }
    .hp-card-tags { display: none; }
    .hp-glyph--card { width: 44px; min-width: 44px; height: 44px; padding: 0; font-size: 15px; border-radius: 12px; }
    .hp-card-body { gap: 1px; }
    .hp-card-title { font-size: 16px; }
    .hp-card-desc { font-size: 14px; line-height: 1.35; }
    .hp-card-kind-inline { display: inline; }

    /* /novo */
    .sn-page { gap: 20px; }
    .sn-intro { margin-top: -8px; }
    .sn-filters {
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 8px;
        margin: 0 -1.5rem;
    }
    .sn-filter-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .sn-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1.5rem 4px; }
    .sn-chip { font-size: 14px; padding: 0 12px; }

    .sn-month-title { font-size: 24px; }
    .sn-month-count { font-size: 14px; }
    .sn-day-head .sn-dot { display: none; }
    .sn-day-title { font-size: 16px; }
    .sn-topic { border-radius: 20px; }
    .sn-topic-panel { padding: 16px; gap: 8px; }
    .sn-topic-eyebrow { font-size: 13px; }
    .sn-topic-title { font-size: 22px; }
    .sn-topic-summary { font-size: 15px; }
    .sn-topic-art { border-radius: 12px; padding: 4px 4px 0; }
    .sn-topic-art svg { height: 110px; }
    .sn-topic-items { padding: 6px; }
    .sn-topic-items .hp-row { grid-template-columns: 44px minmax(0, 1fr); padding: 10px; }
    .sn-topic-items .hp-glyph--row { width: 44px; height: 44px; font-size: 16px; }

    .sn-migrated { padding: 16px; border-radius: 20px; }
    .sn-migrated-summary { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sn-migrated-title { font-size: 19px; line-height: 1.25; }
    .sn-migrated-desc { font-size: 15px; }
    .sn-migrated-toggle { justify-content: center; order: 3; }
    .sn-grade-chips { gap: 6px; }
    .sn-grade-chip { padding: 4px 10px; border-radius: 10px; font-size: 14px; }
    .sn-mrow { padding: 6px 0; }
    .sn-mrow-title { font-size: 15px; }
    .sn-mrow-meta { font-size: 13px; }

    .sn-empty { padding: 24px; }
    .sn-empty-text { font-size: 18px; }
    .sn-bottom { flex-direction: column; border-top: none; padding-top: 0; }
    .sn-bottom .hp-btn { min-height: 50px; }
}

@media print {
    .hp-grade-bar, .hp-search, .sn-filters { display: none; }
}
