:root {
    --dash-wine: #7b2948;
    --dash-wine-deep: #5b1f38;
    --dash-rose: #d887a0;
    --dash-blush: #fbe6eb;
    --dash-peach: #fff2eb;
    --dash-ink: #2b2025;
    --dash-muted: #806e75;
    --dash-line: #eee2e5;
    --dash-page: #fbf8f6;
    --dash-card: #ffffff;
    --dash-mint: #2b9d87;
    --dash-orange: #e48a45;
    --dash-blue: #5b8ee5;
    --dash-radius: 22px;
    --sidebar-width: 254px;
}

* { box-sizing: border-box; }

body.dashboard-page {
    min-width: 320px;
    margin: 0;
    color: var(--dash-ink);
    background:
        radial-gradient(circle at 80% -8%, rgba(216, 135, 160, 0.15), transparent 27rem),
        radial-gradient(circle at 6% 100%, rgba(255, 213, 193, 0.25), transparent 24rem),
        var(--dash-page);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.dashboard-page .sidebar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    padding: 20px 13px;
    border: 0;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 10px 0 34px rgba(73, 39, 49, 0.04);
    backdrop-filter: blur(16px);
    overflow-x: hidden;
    overflow-y: auto;
}

body.dashboard-page .sidebar-brand {
    padding: 13px 12px 23px;
    border: 0;
    text-align: left;
}

.sidebar-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dash-ink);
    text-decoration: none;
}

.sidebar-brand-mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--dash-rose), var(--dash-wine));
    box-shadow: 0 8px 16px rgba(123, 41, 72, 0.18);
    font-family: "Newsreader", serif;
    font-size: 23px;
    font-weight: 600;
}

.sidebar-brand-copy { display: grid; line-height: 1; }
.sidebar-brand-copy strong { font-size: 16px; letter-spacing: -0.04em; }
.sidebar-brand-copy small { margin-top: 4px; color: var(--dash-wine); font-size: 8px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
body.dashboard-page .sidebar-brand p { margin: 16px 0 0 47px; color: #aa969e; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

body.dashboard-page .sidebar-menu { padding: 0; }
body.dashboard-page .sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 3px 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    color: #846f78;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
body.dashboard-page .sidebar-menu a i { width: 18px; margin: 0; color: #9e8791; font-size: 16px; text-align: center; }
body.dashboard-page .sidebar-menu a:hover { color: var(--dash-wine); background: #fff3f5; }
body.dashboard-page .sidebar-menu a.active { color: var(--dash-wine); background: linear-gradient(90deg, #f8dce3, #fbeef0); box-shadow: none; }
body.dashboard-page .sidebar-menu a.active i { color: var(--dash-wine); }
body.dashboard-page .sidebar-menu a:last-child { margin-top: 14px; color: #9b455a; }

body.dashboard-page .sidebar-overlay {
    position: fixed;
    z-index: 999;
    inset: 0;
    display: none;
    opacity: 0;
    background: rgba(61, 34, 45, 0.36);
    backdrop-filter: blur(3px);
    transition: opacity 180ms ease;
}
body.dashboard-page .sidebar-overlay.show { display: block; opacity: 1; }
body.dashboard-page .main-content { min-height: 100vh; margin-left: var(--sidebar-width); padding: 24px clamp(18px, 3vw, 46px) 58px; }
.dashboard-shell { width: min(1440px, 100%); margin: 0 auto; }

.dashboard-topbar {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    margin-bottom: 26px;
    padding: 11px 14px 11px 18px;
    border: 1px solid rgba(122, 80, 95, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(90, 47, 63, 0.04);
    backdrop-filter: blur(13px);
}

.topbar-start, .topbar-actions, .profile-summary { display: flex; align-items: center; }
.topbar-start { gap: 13px; }
.topbar-actions { gap: 11px; }
.topbar-crumb { display: grid; gap: 3px; }
.topbar-crumb strong { font-size: 13px; letter-spacing: -0.02em; }
.topbar-crumb small { color: var(--dash-muted); font-size: 10px; }

.mobile-toggle {
    display: none;
    width: 39px;
    height: 39px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--dash-line);
    border-radius: 12px;
    color: var(--dash-wine);
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

.topbar-new, .dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    color: #fff;
    background: var(--dash-wine);
    box-shadow: 0 10px 19px rgba(123, 41, 72, 0.15);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}
.topbar-new:hover, .dashboard-button:hover { color: #fff; background: var(--dash-wine-deep); transform: translateY(-1px); }

.profile-menu { position: relative; }
.profile-menu summary { list-style: none; cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-summary { gap: 9px; padding: 4px 5px 4px 6px; border-radius: 13px; }
.profile-summary:hover { background: #fff1f4; }
.profile-avatar { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--dash-rose), var(--dash-wine)); font-size: 10px; font-weight: 800; }
.profile-summary span { display: grid; gap: 1px; max-width: 180px; }
.profile-summary strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-summary small { color: var(--dash-muted); font-size: 9px; }
.profile-summary > i { color: #a9929b; font-size: 11px; }
.profile-popover { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; display: grid; min-width: 190px; padding: 7px; border: 1px solid var(--dash-line); border-radius: 15px; background: #fff; box-shadow: 0 20px 42px rgba(81, 43, 57, 0.15); }
.profile-popover a { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 10px; color: #674f58; font-size: 11px; font-weight: 700; text-decoration: none; }
.profile-popover a:hover { color: var(--dash-wine); background: #fff1f4; }

.dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 144px;
    margin-bottom: 20px;
    padding: 27px 30px;
    overflow: hidden;
    border-radius: var(--dash-radius);
    color: #fff;
    background: linear-gradient(105deg, #b95778, #d7899e 56%, #e9a5b5);
    box-shadow: 0 20px 36px rgba(181, 87, 120, 0.16);
}
.dashboard-welcome::after { position: absolute; width: 280px; height: 280px; right: -40px; bottom: -170px; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; content: ""; }
.welcome-copy { position: relative; z-index: 1; }
.welcome-copy .eyebrow { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.76); font-size: 10px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.welcome-copy .eyebrow::before { width: 22px; height: 1px; content: ""; background: rgba(255,255,255,0.68); }
.welcome-copy h1 { margin: 8px 0 7px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.05em; }
.welcome-copy p { max-width: 620px; margin: 0; color: rgba(255,255,255,0.82); font-size: 12px; }
.welcome-side { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 15px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.welcome-side i { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: var(--dash-wine); background: #fff; }
.welcome-side span { display: grid; gap: 3px; color: rgba(255,255,255,0.72); font-size: 9px; }
.welcome-side strong { color: #fff; font-size: 11px; }

.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.metric-card { position: relative; display: block; min-height: 142px; padding: 18px; overflow: hidden; border: 1px solid var(--dash-line); border-radius: 18px; color: inherit; background: var(--dash-card); box-shadow: 0 10px 26px rgba(66, 38, 47, 0.04); cursor: pointer; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.metric-card:hover { border-color: var(--metric); box-shadow: 0 15px 30px rgba(66, 38, 47, 0.1); transform: translateY(-2px); }
.metric-card:focus-visible { outline: 3px solid var(--metric-soft); outline-offset: 3px; }
.metric-card::after { position: absolute; width: 90px; height: 90px; right: -38px; bottom: -46px; border: 14px solid var(--metric-soft); border-radius: 50%; content: ""; pointer-events: none; }
.metric-card.rose { --metric: var(--dash-wine); --metric-soft: #f7dbe2; }
.metric-card.orange { --metric: var(--dash-orange); --metric-soft: #fdecdd; }
.metric-card.mint { --metric: var(--dash-mint); --metric-soft: #dcf3ed; }
.metric-card.blue { --metric: var(--dash-blue); --metric-soft: #e2ebfd; }
.metric-icon { display: grid; width: 38px; height: 38px; margin-bottom: 21px; place-items: center; border-radius: 12px; color: var(--metric); background: var(--metric-soft); font-size: 17px; }
.metric-value { display: block; color: var(--dash-ink); font-size: 29px; font-weight: 800; letter-spacing: -0.07em; line-height: 1; }
.metric-label { display: block; margin-top: 8px; color: var(--dash-muted); font-size: 10px; font-weight: 700; }

.dashboard-grid { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr); gap: 20px; margin-bottom: 20px; }
.dashboard-card { min-width: 0; border: 1px solid var(--dash-line); border-radius: var(--dash-radius); background: var(--dash-card); box-shadow: 0 10px 26px rgba(66, 38, 47, 0.04); }
.dashboard-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 21px 0; }
.dashboard-card-header h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -0.03em; }
.dashboard-card-header p, .dashboard-card-header small { margin: 0; color: #aa969e; font-size: 10px; }
.chart-wrap { height: 253px; padding: 26px 22px 19px; }
.bar-chart { display: grid; grid-template-columns: repeat(7, minmax(42px, 1fr)); align-items: end; gap: 11px; height: 100%; border-bottom: 1px solid #eee4e6; background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, #f4eff0 48px); }
.bar-item { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: end; gap: 9px; }
.bar { position: relative; width: min(29px, 72%); min-height: 5px; border-radius: 10px 10px 2px 2px; background: linear-gradient(180deg, #d88aa1, #7b2948); box-shadow: 0 7px 16px rgba(123,41,72,0.15); }
.bar strong { position: absolute; top: -20px; left: 50%; color: #806b74; font-size: 9px; transform: translateX(-50%); }
.bar-item small { color: #ad9aa2; font-size: 9px; }

.status-body { display: grid; place-items: center; padding: 23px 20px 20px; }
.donut { display: grid; width: 144px; height: 144px; place-items: center; border-radius: 50%; background: var(--donut-gradient); }
.donut::after { display: grid; width: 92px; height: 92px; place-items: center; border-radius: 50%; color: var(--dash-ink); background: #fff; content: attr(data-total); font-size: 23px; font-weight: 800; letter-spacing: -0.06em; }
.status-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 15px; width: 100%; margin-top: 23px; }
.legend-item { display: flex; align-items: center; gap: 7px; color: #87747c; font-size: 10px; font-weight: 600; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }

.agenda-card { grid-column: 1 / -1; }
.agenda-card .dashboard-card-header { padding-bottom: 15px; }
.agenda-link { color: var(--dash-wine); font-size: 10px; font-weight: 800; text-decoration: none; }
.agenda-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.agenda-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; padding: 0 20px 20px; }
.appointment { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px; border: 1px solid #efe5e7; border-radius: 15px; color: var(--dash-ink); background: #fffafa; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.appointment:hover { border-color: #df9fb0; color: var(--dash-ink); transform: translateY(-2px); }
.appointment-time { display: grid; flex: 0 0 48px; height: 48px; place-items: center; border-radius: 12px; color: var(--dash-wine); background: #f8e1e7; font-size: 11px; font-weight: 800; }
.appointment-info { min-width: 0; flex: 1; }
.appointment-info strong, .appointment-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appointment-info strong { font-size: 11px; }
.appointment-info small { margin-top: 4px; color: #9d8991; font-size: 9px; }
.status-pill { padding: 5px 7px; border-radius: 999px; font-size: 8px; font-weight: 800; text-transform: capitalize; }
.status-pill.confirmado { color: #207967; background: #daf2ec; }
.status-pill.pendente { color: #b55a31; background: #fff0e4; }
.empty-state { grid-column: 1 / -1; padding: 29px; color: #a28f96; font-size: 12px; text-align: center; }

.crm-card { margin-bottom: 20px; }
.crm-card .dashboard-card-header { align-items: flex-start; }
.crm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 15px 20px 20px; }
.crm-insight { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px; border: 1px solid #f0e5e7; border-radius: 14px; color: var(--dash-ink); background: #fffafa; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease, background 160ms ease; }
.crm-insight:hover { border-color: #df9fb0; color: var(--dash-wine); background: #fff4f6; transform: translateY(-2px); }
.crm-insight-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; font-size: 15px; }
.crm-insight.violet .crm-insight-icon { color: #6650a6; background: #eee9ff; }
.crm-insight.rose .crm-insight-icon { color: var(--dash-wine); background: #f8e1e7; }
.crm-insight.orange .crm-insight-icon { color: #b8652e; background: #fff0e4; }
.crm-insight.mint .crm-insight-icon { color: #207967; background: #daf2ec; }
.crm-insight-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.crm-insight-copy strong, .crm-insight-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-insight-copy strong { font-size: 11px; }
.crm-insight-copy small { color: #9d8991; font-size: 9px; }
.crm-insight-arrow { color: #c6aab3; font-size: 11px; }
.crm-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 23px; }
.crm-empty i { color: var(--dash-wine); font-size: 16px; }

.dashboard-insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.finance-summary-card, .team-performance-card { min-width: 0; padding-bottom: 20px; }
.finance-overview { display: grid; gap: 4px; padding: 4px 20px 16px; }
.finance-overview strong { color: var(--dash-wine); font-size: 24px; letter-spacing: -0.04em; }
.finance-overview small, .finance-note { color: #9d8991; font-size: 9px; }
.finance-bars { display: grid; gap: 14px; padding: 0 20px; }
.finance-line { display: grid; gap: 6px; }
.finance-line > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8e7b83; font-size: 10px; }
.finance-line strong { color: var(--dash-ink); font-size: 10px; }
.finance-track, .team-progress { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #f0e5e8; }
.finance-fill, .team-progress span { display: block; height: 100%; border-radius: inherit; }
.finance-fill.income { background: linear-gradient(90deg, #d887a0, #7b2948); }
.finance-fill.expense { background: linear-gradient(90deg, #f3bd89, #c76849); }
.finance-note { display: block; padding: 14px 20px 0; }
.team-performance-list { display: grid; gap: 11px; padding: 3px 20px 0; }
.team-performance-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: var(--dash-wine); background: #f8e1e7; font-size: 11px; font-weight: 800; }
.team-performance-info { display: grid; min-width: 0; flex: 1; gap: 4px; }
.team-performance-info strong, .team-performance-info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-performance-info strong { font-size: 10px; }
.team-performance-info small { color: #9d8991; font-size: 9px; }
.team-progress { height: 5px; margin-top: 1px; }
.team-progress span { background: linear-gradient(90deg, #8ecbc1, #2b9d87); }
.team-performance-value { flex: 0 0 72px; color: var(--dash-wine); font-size: 10px; text-align: right; }

.dashboard-lower-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.lower-card { min-width: 0; padding-bottom: 8px; }
.lower-card .dashboard-card-header { align-items: flex-start; }
.package-dashboard-list, .return-dashboard-list { display: grid; gap: 8px; padding: 15px 20px 12px; }
.package-dashboard-item, .return-dashboard-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 0; border-bottom: 1px solid #f1e9eb; color: var(--dash-ink); text-decoration: none; }
.package-dashboard-item:last-child, .return-dashboard-item:last-child { border-bottom: 0; }
.package-dashboard-item:hover, .return-dashboard-item:hover { color: var(--dash-wine); }
.package-dashboard-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; color: var(--dash-wine); background: #f8e1e7; font-size: 15px; }
.package-dashboard-info, .return-dashboard-info { display: grid; min-width: 0; flex: 1; gap: 4px; }
.package-dashboard-info strong, .return-dashboard-info strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.package-dashboard-info small, .return-dashboard-info small { overflow: hidden; color: #9d8991; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.package-progress { display: block; height: 5px; overflow: hidden; margin-top: 2px; background: #f0e5e8; border-radius: 99px; }
.package-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d887a0, #7b2948); }
.package-dashboard-percent { flex: 0 0 31px; color: var(--dash-wine); font-size: 10px; font-weight: 800; text-align: right; }
.return-dashboard-date { display: grid; width: 48px; height: 42px; flex: 0 0 48px; place-items: center; align-content: center; border-radius: 10px; color: var(--dash-wine); background: #fff0f3; }
.return-dashboard-date strong { font-size: 11px; }
.return-dashboard-date small { margin-top: 2px; color: #a77b89; font-size: 9px; }
.return-dashboard-item > i { color: #c6aab3; font-size: 11px; }

.modules-card { padding: 20px; }
.modules-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.modules-heading h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -0.03em; }
.modules-heading small { color: #aa969e; font-size: 10px; }
.modules-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.module-card { display: flex; min-height: 102px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; border: 1px solid #f0e5e7; border-radius: 15px; color: var(--dash-ink); background: #fffafa; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.module-card:hover { border-color: #df9fb0; color: var(--dash-wine); background: #fff4f6; transform: translateY(-2px); }
.module-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #f5c9d4, #d88aa1); font-size: 16px; }
.module-title { font-size: 10px; font-weight: 800; line-height: 1.3; }
.module-arrow { align-self: flex-end; color: #bdabb1; font-size: 12px; }

@media (max-width: 1180px) {
    .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .agenda-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    body.dashboard-page .sidebar { width: min(278px, 84vw); transform: translateX(-105%); }
    body.dashboard-page .sidebar.show { transform: translateX(0); }
    body.dashboard-page .main-content { margin-left: 0; padding-top: 16px; }
    .mobile-toggle { display: inline-grid; }
}

@media (max-width: 720px) {
    body.dashboard-page .main-content { padding: 14px 13px 42px; }
    .dashboard-topbar { min-height: 58px; margin-bottom: 16px; padding: 9px 10px; }
    .topbar-new { display: grid; width: 39px; padding: 0; place-items: center; }
    .topbar-new span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .profile-summary span, .profile-summary > i { display: none; }
    .dashboard-welcome { align-items: flex-start; min-height: 184px; padding: 24px 21px; }
    .dashboard-welcome h1 { font-size: 28px; }
    .welcome-side { display: none; }
    .metrics-grid { gap: 10px; }
    .metric-card { min-height: 128px; padding: 15px; }
    .metric-icon { width: 34px; height: 34px; margin-bottom: 17px; }
    .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .crm-list { grid-template-columns: minmax(0, 1fr); padding: 13px 14px 14px; }
    .dashboard-insights-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .dashboard-lower-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .chart-wrap { overflow-x: auto; }
    .bar-chart { min-width: 450px; }
    .agenda-list { grid-template-columns: 1fr; padding: 0 14px 14px; }
    .dashboard-card-header { padding: 17px 15px 0; }
    .modules-card { padding: 15px; }
    .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}

@media (max-width: 430px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-card { min-height: 111px; }
    .metric-icon { margin-bottom: 12px; }
    .dashboard-welcome p { font-size: 11px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
