/* Syds Academy - Design System v2
   Interface enxuta, responsiva e consistente para área pública, aluno e Nimda.
   Compatível com PHP 7.3: apenas CSS/HTML, sem dependência JS. */

:root {
    --bg: #f6f8fc;
    --bg-soft: #eef3fa;
    --surface: #ffffff;
    --surface-strong: #f9fbff;
    --text: #10213f;
    --heading: #071f52;
    --muted: #5b667a;
    --muted-strong: #344054;
    --line: #dfe6f1;
    --line-soft: #edf1f7;
    --primary: #071f52;
    --primary-dark: #041638;
    --primary-soft: #eaf1ff;
    --blue: #0a5fb7;
    --teal: #19bfa4;
    --accent: #f4b43f;
    --orange: #f78a1e;
    --danger: #b42318;
    --success: #177245;
    --warning: #8a5a00;
    --card: #ffffff;
    --shadow: 0 18px 42px rgba(7, 31, 82, 0.08);
    --shadow-soft: 0 10px 26px rgba(7, 31, 82, 0.06);
    --radius: 20px;
    --radius-sm: 14px;
    --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(25, 191, 164, .09), transparent 34rem),
        radial-gradient(circle at 88% 4rem, rgba(247, 138, 30, .08), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body:has(.login-wrap) {
    background:
        radial-gradient(circle at top left, rgba(25, 191, 164, .11), transparent 34rem),
        linear-gradient(135deg, #ffffff 0%, #f2f6fc 100%);
}

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

img { max-width: 100%; display: block; height: auto; }

p { margin-top: 0; }

h1, h2, h3 {
    color: var(--heading);
    letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: .98; margin: .4rem 0 1rem; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.08; margin: 0 0 .6rem; }
h3 { font-size: 1.08rem; line-height: 1.18; margin: 0 0 .45rem; }

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

/* Navegação */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .91);
    border-bottom: 1px solid rgba(223, 230, 241, .95);
    backdrop-filter: blur(14px);
}

.topbar-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
}

.brand img {
    width: auto;
    max-width: 208px;
    max-height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    font-size: .94rem;
    font-weight: 720;
    color: var(--muted);
}

.nav-links a:not(.btn) {
    padding: 9px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible {
    color: var(--heading);
    background: #eef3fb;
}

.aluno-topbar .nav-links,
.nimda-topbar .nav-links {
    overflow-x: auto;
    scrollbar-width: thin;
    justify-content: flex-start;
}

.aluno-topbar .topbar-inner,
.nimda-topbar .topbar-inner {
    align-items: center;
}

.aluno-userbar,
.nimda-userbar {
    background: rgba(249, 251, 255, .88);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .88rem;
}

.aluno-userbar .container,
.nimda-userbar .container {
    min-height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.aluno-userbar strong,
.nimda-userbar strong { color: var(--heading); }
.aluno-userbar span,
.nimda-userbar span { color: var(--blue); font-weight: 800; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-size: .94rem;
    font-weight: 820;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(10, 95, 183, .18); outline-offset: 2px; }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0a4f9a);
    box-shadow: 0 12px 24px rgba(7, 31, 82, .20);
}

.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }

.btn-outline {
    color: var(--heading);
    border-color: var(--line);
    background: #fff;
}

.btn-outline:hover {
    border-color: #c9d4e6;
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
}

.btn-small {
    min-height: 32px;
    padding: 0 11px;
    font-size: .78rem;
    margin: 2px;
}

/* Hero e páginas */
.hero {
    padding: clamp(38px, 5vw, 72px) 0 clamp(30px, 4vw, 50px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, .75fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: .55rem;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--heading);
    background: rgba(25, 191, 164, .12);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--orange));
}

.hero p,
.section-lead {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.56;
}

.hero-actions,
.card-actions,
.form-actions,
.student-menu,
.nimda-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions { margin-top: 24px; }

.hero-card,
.course-card,
.info-card,
.login-card,
.panel-card,
.metric-card,
.ebook-info-card,
.resume-purchase-box {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: clamp(18px, 2.6vw, 28px);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 95, 183, .08), transparent 55%);
    pointer-events: none;
}

.hero-card > * { position: relative; }

.hero-card img {
    width: auto;
    max-width: 230px;
    max-height: 190px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.hero-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted-strong);
    font-weight: 650;
}

.page-title {
    padding: clamp(30px, 4vw, 54px) 0 clamp(22px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(246,248,252,.92));
}

.page-title h1 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    margin-bottom: .55rem;
}

.page-title .section-lead { margin-bottom: 0; }

.section { padding: clamp(30px, 4vw, 54px) 0; }

.section-header,
.section-header-spaced {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-header-spaced { margin-top: 28px; }

.section-header .section-lead { margin: 0; }

/* Cards e grids */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.course-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.course-card,
.info-card,
.panel-card,
.metric-card,
.login-card {
    padding: clamp(18px, 2.2vw, 24px);
}

.course-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.course-card h3 {
    font-size: 1.18rem;
    min-height: 2.4em;
}

.course-card p,
.info-card p,
.panel-card p,
.login-card p,
.metric-card strong {
    color: var(--muted);
}

.course-card p {
    margin-bottom: 14px;
}

.course-card .card-actions,
.course-card .status { margin-top: auto; }
.course-card .card-actions { padding-top: 12px; }

.course-tag,
.status,
.resume-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.1;
}

.course-tag {
    margin-bottom: 13px;
    color: var(--blue);
    background: var(--primary-soft);
}

.status-ativo,
.status-pago,
.resume-status {
    color: var(--success);
    background: #eaf7ef;
}

.status-em_breve,
.status-aguardando_pagamento {
    color: var(--warning);
    background: #fff4d8;
}

.status-oculto,
.status-arquivado,
.status-cancelado,
.status-expirado,
.status-reembolsado {
    color: var(--muted);
    background: #eef1f5;
}

.course-card-linked,
.metric-link {
    display: block;
    color: inherit;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.course-card-linked:hover,
.metric-link:hover {
    transform: translateY(-2px);
    border-color: #bfd0e9;
    box-shadow: 0 20px 42px rgba(7,31,82,.10);
}

/* FAQ */
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    color: var(--heading);
    cursor: pointer;
    font-weight: 850;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 999px;
    color: var(--heading);
    background: var(--bg-soft);
    font-weight: 900;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
    margin: 0;
    padding: 0 16px 15px;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.45;
}

/* Formulários */
.form-group { margin-bottom: 14px; }

label {
    display: block;
    margin-bottom: 6px;
    color: var(--heading);
    font-size: .9rem;
    font-weight: 780;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfd8e8;
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

textarea { min-height: 112px; resize: vertical; }

input:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: #8eb2df;
    box-shadow: 0 0 0 4px rgba(10, 95, 183, .12);
}

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

.form-actions { margin-top: 18px; }

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin: 16px 0;
}

.check-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.check-row input[type="checkbox"] {
    width: auto;
    min-height: auto;
}

/* Alertas */
.alert,
.resume-alert,
.resume-empty {
    padding: 12px 14px;
    border-radius: 13px;
    margin-bottom: 16px;
    font-size: .94rem;
    font-weight: 700;
}

.alert-danger,
.resume-alert {
    color: var(--danger);
    background: #fff0ed;
    border: 1px solid #ffd0c7;
}

.alert-info,
.resume-empty {
    color: #0c3d70;
    background: #eef6ff;
    border: 1px solid #cfe4ff;
}

/* Login */
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 42px 0;
}

.login-card {
    width: min(460px, 100%);
    margin: 0 auto;
}

.login-card h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: .35rem; }

.login-logo {
    width: auto;
    max-width: 112px;
    max-height: 112px;
    object-fit: contain;
    margin: 0 auto 18px;
    border-radius: 24px;
}

.nimda-login-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: .84rem;
}

/* Área do aluno */
.academy-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.metric-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.05em;
}

.student-actions { display: flex; flex-direction: column; gap: 10px; }
.student-menu { margin: 0 0 28px; }

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.profile-grid p { margin: 4px 0 0; color: var(--muted); }

.material-list { display: grid; gap: 12px; }

.material-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}



/* Ajuste compacto — Área do Aluno */
.academy-student-page .page-title {
    padding: clamp(22px, 3vw, 34px) 0 clamp(18px, 2.4vw, 26px);
}

.academy-student-page .eyebrow {
    margin-bottom: .4rem;
    padding: 5px 9px;
    font-size: .72rem;
}

.academy-student-page .page-title h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
    line-height: 1.12;
    margin: .2rem 0 .35rem;
    letter-spacing: -.025em;
}

.academy-student-page .section-lead {
    font-size: clamp(.94rem, 1.35vw, 1.02rem);
    line-height: 1.45;
}

.academy-student-page .section {
    padding: clamp(24px, 3vw, 38px) 0;
}

.academy-student-page h2 {
    font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}

.academy-student-page h3 {
    font-size: 1rem;
    letter-spacing: -.02em;
}

.academy-student-page .academy-dashboard {
    gap: 12px;
    margin-bottom: 20px;
}

.academy-student-page .metric-card {
    padding: 18px 20px;
    border-radius: 16px;
}

.academy-student-page .metric-card span {
    margin-bottom: 6px;
    font-size: clamp(1.75rem, 2.3vw, 2.2rem);
}

.academy-student-page .student-menu {
    margin-bottom: 22px;
}

@media (max-width: 680px) {
    .academy-student-page .page-title h1 {
        font-size: 1.65rem;
    }
}

/* Nimda */
.nimda-actions {
    justify-content: flex-end;
    margin: 0 0 16px;
}

.nimda-form { max-width: 980px; }

.nimda-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) minmax(150px, .8fr) auto auto;
    gap: 10px;
    align-items: end;
    padding: 14px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.nimda-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.nimda-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: .88rem;
}

.nimda-table th,
.nimda-table td {
    padding: 12px 13px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
    vertical-align: top;
}

.nimda-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--heading);
    background: #f7fafe;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nimda-table tr:last-child td { border-bottom: 0; }
.nimda-table tbody tr:hover { background: #fbfdff; }
.nimda-actions-cell { min-width: 230px; }

/* Store / e-books */
.ebooks-page .section { padding-top: clamp(26px, 4vw, 42px); }

.ebook-action-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 20px;
}

.ebook-info-card,
.resume-purchase-box { padding: clamp(18px, 2.2vw, 22px); }

.ebook-info-card .ebook-note,
.store-muted,
.store-note {
    color: var(--muted);
}

.ebook-info-card .ebook-note {
    margin-top: 13px;
    padding: 11px 13px;
    border-radius: 13px;
    background: var(--surface-strong);
    font-size: .92rem;
}

.resume-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-field { flex: 1 1 250px; }
.resume-results { display: grid; gap: 10px; margin-top: 16px; }

.resume-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.resume-cover {
    width: 76px;
    height: 102px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-soft);
}

.resume-result-content { flex: 1 1 260px; }
.resume-result-content p { margin: 5px 0 0; }
.resume-result-meta { color: var(--muted); font-size: .9rem; }

.store-grid .store-card { min-height: 318px; }

.store-cover,
.store-detail-cover {
    width: 100%;
    object-fit: contain;
    border-radius: 14px;
    background: var(--bg-soft);
}

.store-cover { max-height: 165px; margin-bottom: 15px; }
.store-detail-cover { max-height: 270px; margin-bottom: 18px; }

.store-cover-placeholder {
    min-height: 145px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 14px;
    color: var(--heading);
    background: linear-gradient(135deg, #eef6ff, #fff4d8);
    font-weight: 950;
}

.store-price {
    margin: 8px 0 18px;
    color: var(--blue);
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.store-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 18px;
    align-items: start;
}

.store-detail-content p { line-height: 1.7; }
.store-buy-card { position: sticky; top: 92px; }
.store-buy-card .btn { width: 100%; margin-top: 10px; }

/* Institucional */
.institucional-wrap { max-width: 980px; }
.institucional-content h2 { margin-top: 26px; margin-bottom: 10px; }
.institucional-content h2:first-child { margin-top: 0; }
.institucional-content p { color: var(--muted-strong); line-height: 1.72; margin-bottom: 15px; }
.institucional-mini-grid { margin-top: 22px; }

/* Footer */
.footer {
    margin-top: 40px;
    color: #f3f7ff;
    background:
        radial-gradient(circle at 20% 0, rgba(25,191,164,.16), transparent 18rem),
        linear-gradient(135deg, #071f52, #101828 72%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr .8fr;
    gap: 30px;
    padding: 38px 0;
}

.footer-logo {
    width: auto;
    max-width: 190px;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer p { max-width: 460px; color: #cbd5e1; margin-bottom: 0; }
.footer h3 { margin: 0 0 10px; color: #fff; font-size: .98rem; letter-spacing: 0; }
.footer a { display: block; color: #d9e3ef; margin: 7px 0; font-size: .94rem; }
.footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    color: #cbd5e1;
    padding: 14px 0;
    font-size: .88rem;
}

/* Home v2 helpers */
.home-compact .hero h1 strong {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, var(--blue), var(--teal), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
}

.home-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.home-proof div {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.76);
}

.home-proof b { display: block; color: var(--heading); font-size: 1rem; }
.home-proof span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; }

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(20px, 3vw, 30px);
    border-radius: calc(var(--radius) + 4px);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0a5fb7 65%, #19bfa4);
    box-shadow: var(--shadow);
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 0; }
.cta-band .btn { background: #fff; color: var(--heading); }

/* Responsividade */
@media (max-width: 1080px) {
    .course-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .academy-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .topbar-inner {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
    }

    .brand { justify-content: center; }

    .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-grid,
    .store-detail-grid,
    .ebook-action-grid,
    .footer-grid,
    .interest-layout {
        grid-template-columns: 1fr;
    }

    .section-header,
    .section-header-spaced,
    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-buy-card { position: static; }
    .faq-list { grid-template-columns: 1fr; }
    .grid-cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 24px, var(--container)); }
    .brand img { max-width: 184px; max-height: 46px; }
    .hero { padding-top: 30px; }
    .course-grid-home,
    .academy-dashboard,
    .profile-grid,
    .form-grid,
    .home-proof { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .nav-links .btn { width: auto; }
    .material-item { align-items: flex-start; flex-direction: column; }
    .nimda-filter { grid-template-columns: 1fr; }
    .nimda-actions { justify-content: flex-start; flex-direction: column; }
    .footer { margin-top: 28px; }
}
