:root {
    --azul: #174A8B;
    --azul-escuro: #0B2F5B;
    --azul-claro: #EAF3FF;
    --amarelo: #FFD21F;
    --amarelo-hover: #F2BE00;
    --texto: #1F2937;
    --texto-suave: #64748B;
    --borda: #E2E8F0;
    --fundo: #F5F8FC;
    --bg: var(--fundo);
    --panel: #ffffff;
    --panel-hover: #F8FAFC;
    --text: var(--texto);
    --muted: var(--texto-suave);
    --line: var(--borda);
    --primary: var(--azul);
    --primary-dark: var(--azul-escuro);
    --accent: var(--amarelo);
    --accent-strong: var(--amarelo-hover);
    --blue-mid: var(--azul);
    --blue-light: var(--azul-claro);
    --success: var(--azul);
    --warning: var(--amarelo-hover);
    --danger: #e57373;
    --shadow: 0 10px 30px rgba(15, 23, 42, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

body.survey-page {
    min-height: 100vh;
    background: var(--fundo);
}

a {
    color: inherit;
}

.page {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 40px;
}

.page.narrow {
    width: min(880px, calc(100% - 32px));
}

.hero {
    overflow: hidden;
    border-radius: 0;
    background: var(--primary-dark);
}

.hero.compact {
    max-height: none;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.hero.compact img {
    height: auto;
}

.panel,
.filter-bar,
.metric-card {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel {
    margin-top: 24px;
    padding: 32px;
    border-radius: 20px;
}

.hero + .panel {
    max-width: none;
    margin: 24px 0 48px;
}

.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: 18px;
}

.filter-bar strong {
    margin-right: 6px;
    color: var(--primary);
}

.filter-bar a {
    min-height: 34px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line);
}

.filter-bar a:hover,
.button.secondary:hover,
.button.official:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 212, 255, .18);
    transform: translateY(-1px);
}

.filter-bar a.active,
.button.primary {
    background: var(--amarelo);
    color: var(--azul-escuro);
    padding: 14px 28px;
    border: none;
    box-shadow: 0 6px 14px rgba(242, 190, 0, .25);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.metric-card {
    position: relative;
    min-height: 150px;
    padding: 24px;
    border-radius: 16px;
    border-top: 4px solid var(--accent);
    background: var(--panel);
}

.metric-card:hover,
.department-card:hover,
.panel:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 212, 255, .18);
    transform: translateY(-3px);
}

.metric-card strong {
    display: block;
    margin-top: 16px;
    font-size: 30px;
    line-height: 1;
}

.metric-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.metric-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--blue-mid));
    color: #fff;
    font-weight: 800;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--azul);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    color: var(--azul);
    font-size: 30px;
    font-weight: 700;
}

h2 {
    margin-bottom: 8px;
    color: var(--azul);
    font-size: 24px;
    font-weight: 700;
}

p {
    color: var(--muted);
    line-height: 1.55;
}

.intro-actions,
.actions,
.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.survey-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.survey-item strong,
.survey-item span {
    display: block;
}

.survey-item strong {
    color: var(--primary);
    font-size: 16px;
}

.survey-item span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.empty-state {
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.info-box {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
    line-height: 1.65;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary:hover {
    background: var(--amarelo-hover);
    box-shadow: 0 6px 14px rgba(242, 190, 0, .25);
    transform: translateY(-2px);
}

.button.secondary {
    background: #fff;
    color: var(--blue-mid);
    border: 1px solid var(--blue-mid);
}

.button.official {
    background: #fff;
    color: var(--blue-mid);
    border: 1px solid var(--blue-mid);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links.in-panel {
    margin: -6px 0 18px;
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(7, 31, 56, .12);
}

.social i {
    font-size: 15px;
    line-height: 1;
}

.municipal-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 58px;
    margin-bottom: 10px;
    padding: 9px 16px;
    border-radius: 0 0 8px 8px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
}

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

.brand-mark {
    min-height: 38px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-mark img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
}

.brand-name {
    display: grid;
    gap: 1px;
    color: var(--primary);
    line-height: 1.05;
    min-width: 0;
}

.brand-name span {
    font-size: 12px;
    font-weight: 800;
}

.brand-name strong {
    color: var(--primary);
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.municipal-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.municipal-title:hover {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 8px 18px rgba(242, 190, 0, .28);
    filter: none;
}

.top-social .social {
    width: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--line);
    box-shadow: none;
}

.top-social .social span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.top-social .social:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent-strong));
    color: #fff;
    border-color: transparent;
}

.section-heading {
    margin-bottom: 20px;
}

.survey-heading {
    text-align: center;
}

.row-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.answered-question {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #F8FAFC;
}

.answered-question span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.answered-question strong {
    color: var(--primary);
    font-size: 20px;
    line-height: 1.35;
}

.report-actions {
    align-items: center;
    justify-content: flex-end;
    min-width: 320px;
}

.report-actions .button {
    min-width: 136px;
}

.report-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    padding: 0 140px;
}

.report-heading h1 {
    max-width: 100%;
    font-size: 26px;
    white-space: nowrap;
}

.report-heading .report-actions {
    justify-content: center;
    min-width: 0;
}

.choice-results-panel .section-heading {
    text-align: center;
}

.report-panel {
    position: relative;
}

.report-back {
    position: absolute;
    top: 32px;
    right: 32px;
    min-width: 120px;
}

.report-panel .choice-results-panel {
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.pie-chart {
    display: grid;
    place-items: center;
    width: 156px;
    height: 156px;
    margin: 18px auto 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
}

.pie-chart span {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
}

.section-heading .pie-chart + p {
    display: none;
}

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

.department-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    border-top: 3px solid var(--accent);
}

.department-card strong,
.department-card span {
    display: block;
}

.department-card span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.survey-counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.survey-counts small {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
}

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

.card-actions a {
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.survey-form {
    display: grid;
    gap: 18px;
}

.survey-photo {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.survey-photo img {
    display: block;
    width: 100%;
    height: auto;
}

label,
legend {
    color: var(--primary);
    font-weight: 800;
}

select,
textarea {
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

input,
select,
textarea {
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(23, 74, 139, .15);
    outline: none;
}

fieldset {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #F8FAFC;
}

.rating-options,
.choice-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.pros-cons-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.pros-cons-list strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
}

.pros-cons-list ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.pros-cons-list li {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.45;
}

.choice-cards label {
    cursor: pointer;
}

.choice-cards input {
    position: absolute;
    opacity: 0;
}

.choice-cards span {
    display: flex;
    gap: 10px;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    font-weight: 900;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.choice-cards i {
    font-size: 18px;
}

.choice-yes span {
    background: #e8f8ee;
    color: #147a3d;
    border-color: #b7e4c7;
}

.choice-no span {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.choice-cards label:hover span {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}

.choice-cards input:checked + span {
    color: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .16);
}

.choice-yes input:checked + span {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-color: #16a34a;
}

.choice-no input:checked + span {
    background: linear-gradient(135deg, #e11d48, #fb7185);
    border-color: #e11d48;
}

.locked-field {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.locked-field span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.locked-field strong {
    color: var(--primary);
}

.rating-options label {
    cursor: pointer;
}

.rating-options input {
    position: absolute;
    opacity: 0;
}

.rating-options span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    color: var(--blue-mid);
    border: 1px solid var(--line);
    font-weight: 800;
}

.rating-options input:checked + span {
    background: linear-gradient(135deg, var(--accent), var(--blue-mid));
    color: #fff;
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.notice p {
    margin: 0;
    color: inherit;
}

.notice.success {
    background: rgba(0, 212, 255, .12);
    color: var(--primary);
    border: 1px solid var(--line);
}

.notice.error {
    background: rgba(229, 115, 115, .16);
    color: #991b1b;
    border: 1px solid rgba(229, 115, 115, .45);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--primary);
    font-size: 13px;
    background: #f1f5f9;
}

tbody tr:nth-child(odd) {
    background: #fff;
}

tbody tr:nth-child(even) {
    background: #fff;
}

tbody tr:hover {
    background: #f8fafc;
}

.stars {
    color: var(--warning);
    white-space: nowrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.badge.excellent {
    background: rgba(0, 212, 255, .15);
    color: var(--primary);
    border: 1px solid var(--line);
}

.badge.good {
    background: rgba(30, 136, 229, .22);
    color: var(--primary);
    border: 1px solid rgba(100, 181, 246, .35);
}

.badge.regular {
    background: rgba(100, 181, 246, .16);
    color: var(--primary);
    border: 1px solid rgba(100, 181, 246, .3);
}

.badge.critical {
    background: rgba(229, 115, 115, .16);
    color: #991b1b;
    border: 1px solid rgba(229, 115, 115, .36);
}

.badge.empty {
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid var(--line);
}

.install-panel {
    margin-top: 80px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 22px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary);
    text-align: center;
    box-shadow: var(--shadow);
}

.site-footer strong {
    font-size: 13px;
}

.site-footer strong::after,
.site-footer span::after {
    content: "|";
    margin-left: 10px;
    color: var(--muted);
    font-weight: 400;
}

.site-footer span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.site-footer small {
    color: var(--muted);
    font-size: 12px;
}

.chart-list {
    display: grid;
    gap: 14px;
}

.chart-row {
    display: grid;
    grid-template-columns: 96px 1fr 42px;
    gap: 12px;
    align-items: center;
}

.chart-row span,
.chart-row strong {
    color: var(--primary);
    font-weight: 800;
}

.chart-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid var(--line);
}

.chart-bar {
    height: 100%;
    min-width: 4px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--blue-mid));
    box-shadow: 0 0 18px rgba(0, 212, 255, .35);
}

.secondary-bar {
    background: linear-gradient(135deg, var(--blue-light), var(--primary));
}

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

.choice-result {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.choice-result strong {
    color: var(--primary);
}

.choice-result span {
    color: var(--muted);
    font-weight: 800;
}

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donut {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--accent) var(--value), #f1f5f9 0);
    border: 1px solid var(--line);
}

.donut span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-weight: 900;
}

@media (max-width: 900px) {
    .intro-grid,
    .department-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .row-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .page {
        width: 100%;
        padding: 0 10px 28px;
    }

    .page.narrow {
        width: 100%;
    }

    .hero {
        margin: 0 -10px;
        border-radius: 0;
    }

    .municipal-header {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 0;
        margin: 0 -10px 0;
        padding: 9px 10px;
        border-radius: 0;
    }

    .brand-mark {
        min-height: 34px;
    }

    .brand-mark img {
        max-width: 132px;
        max-height: 36px;
    }

    .brand-name span {
        font-size: 11px;
    }

    .brand-name strong {
        font-size: 14px;
    }

    .header-actions {
        justify-content: space-between;
        gap: 8px;
    }

    .top-social {
        justify-content: flex-start;
        gap: 7px;
    }

    .top-social .social {
        width: 30px;
        min-height: 30px;
    }

    .municipal-title {
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

    .hero img {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .hero.compact img {
        height: auto;
        min-height: 0;
    }

    .panel {
        margin-top: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .hero + .panel {
        margin: 14px 0 32px;
    }

    h1 {
        font-size: 22px;
        line-height: 1.18;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .filter-bar {
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 14px;
        overflow-x: auto;
        padding: 12px;
        scrollbar-width: thin;
    }

    .filter-bar strong,
    .filter-bar a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .filter-bar strong {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .metric-card {
        min-height: 116px;
        padding: 14px;
    }

    .metric-icon {
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }

    .metric-card strong {
        margin-top: 12px;
        font-size: 24px;
    }

    .metric-card p {
        margin-top: 8px;
        font-size: 12px;
    }

    .section-heading {
        margin-bottom: 14px;
    }

    .department-grid {
        gap: 10px;
    }

    .department-card {
        padding: 15px;
    }

    .survey-form {
        gap: 15px;
    }

    .survey-item {
        grid-template-columns: 1fr;
    }

    select,
    textarea {
        min-height: 46px;
        font-size: 16px;
    }

    fieldset {
        padding: 14px;
    }

    .rating-options {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .rating-options span {
        width: 100%;
        height: 42px;
    }

    .choice-row {
        gap: 16px;
    }

    .choice-cards,
    .pros-cons-grid,
    .choice-result-grid {
        grid-template-columns: 1fr;
    }

    .chart-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .donut-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .table-wrap {
        overflow: visible;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
    }

    table {
        min-width: 0;
    }

    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fff;
    }

    td {
        display: grid;
        grid-template-columns: 104px 1fr;
        gap: 10px;
        align-items: start;
        padding: 9px 0;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

    td:last-child {
        border-bottom: 0;
    }

    td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .button,
    button.button,
    .intro-actions {
        width: 100%;
    }

    .actions,
    .card-actions {
        width: 100%;
    }

    .actions .button,
    .card-actions a {
        flex: 1 1 auto;
    }
}

@media (max-width: 380px) {
    .metric-grid,
    .rating-options {
        grid-template-columns: 1fr;
    }

    td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
