/* BEGIN FULL FILE: style.css */
/* Основной и единственный шрифт проекта — Manrope */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

:root {
    /* DeepSeek-inspired palette — clean, modern, with signature blue */
    --brand-dark: #0d1117;
    --brand-bg: #f6f8fa;
    --brand-blue: #2563eb;
    --brand-indigo: #4f46e5;
    --brand-purple: #7c3aed;

    /* Base */
    --bg: #f6f8fa;
    --panel: #ffffff;
    --panel-2: #f0f2f5;
    --panel-3: #e1e4e8;

    --text: #0d1117;
    --muted: #57606a;
    --muted-2: #6e7781;
    --line: #d0d7de;
    --line-strong: #8b949e;

    /* Actions — DeepSeek blue */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #dbeafe;

    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #dbeafe;
    --accent-strong: #93c5fd;

    --secondary: #4f46e5;
    --secondary-hover: #4338ca;
    --secondary-soft: #e0e7ff;

    --success: #2da44e;
    --success-hover: #22863a;
    --success-soft: #dafbe1;

    --warning: #d29922;
    --warning-hover: #b08800;
    --warning-soft: #fff8c5;

    --danger: #cf222e;
    --danger-hover: #a0111f;
    --danger-soft: #ffebe9;

    --white: #ffffff;
    --dark: #0d1117;

    /* Shadows — clean and subtle */
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.12);

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;

    --transition: .15s ease;
}

/* Reset */
* {
    box-sizing: border-box;
    font-family: "Manrope", Arial, sans-serif;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Manrope", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select,
textarea {
    font: inherit;
    font-family: "Manrope", Arial, sans-serif;
}

button {
    border: 0;
}

img,
svg {
    max-width: 100%;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

/* Auth */
.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--bg);
}

.auth-card {
    width: min(960px, 100%);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.auth-hero {
    padding: 46px;
    color: var(--white);
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.auth-hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    right: -60px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.auth-hero h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.03em;
    font-weight: 800;
}

.auth-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.auth-form {
    padding: 46px;
}

/* Layout */
.app {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    position: fixed;
    inset: 20px auto 20px 20px;
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 16px;
    overflow-y: auto;
    box-shadow: var(--shadow-strong);
    background: var(--panel);
    border: 1px solid var(--line);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--panel-2);
    border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--primary);
    color: var(--white);
    font-size: 18px;
}

.brand-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--text);
}

.brand-sub {
    color: var(--muted);
    font-size: 11px;
    margin-top: 1px;
    font-weight: 500;
}

.nav-section {
    margin: 16px 8px 8px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: #000000;;
    margin: 2px 0;
    transition: var(--transition);
    position: relative;
    font-weight: 800;
}

.nav-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-link.active:hover {
    background: var(--primary-hover);
}

.nav-ico {
    width: 22px;
    text-align: center;
    opacity: 0.7;
}

.nav-link.active .nav-ico {
    opacity: 1;
}

/* Main */
.main {
    flex: 1;
    margin-left: 316px;
    padding: 20px 28px 40px 20px;
}

.topbar {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 24px;
    box-shadow: var(--shadow-soft);
}

.page-title h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--text);
}

.page-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 500;
}

.userbar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 16px;
}

.content {
    padding-top: 24px;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

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

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

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

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

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.card-title h2 {
    font-size: 16px;
    margin: 0;
    letter-spacing: -.02em;
    font-weight: 700;
    color: var(--text);
}

/* KPI */
.kpi {
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.kpi-label {
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.04em;
    margin-top: 8px;
    color: var(--text);
}

.kpi-value.small {
    font-size: 20px;
    line-height: 1.3;
}

.kpi-note {
    color: var(--muted);
    margin-top: 8px;
    font-weight: 500;
    font-size: 13px;
}

.kpi .trend-up {
    color: var(--success);
}

.kpi .trend-down {
    color: var(--danger);
}

/* Toolbar */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Buttons */
.btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    min-height: 38px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn.secondary:hover {
    background: var(--panel-2);
    border-color: var(--line-strong);
}

.btn.danger {
    background: var(--danger);
    color: var(--white);
}

.btn.danger:hover {
    background: var(--danger-hover);
}

.btn.soft {
    background: var(--primary-soft);
    color: var(--primary);
    box-shadow: none;
}

.btn.soft:hover {
    background: #bfdbfe;
}

.btn.success {
    background: var(--success);
    color: var(--white);
}

.btn.success:hover {
    background: var(--success-hover);
}

.btn.warning {
    background: var(--warning);
    color: var(--dark);
}

.btn.warning:hover {
    background: var(--warning-hover);
    color: var(--dark);
}

/* Tables */
.table-wrap {
    overflow: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
}

.table-wrap::-webkit-scrollbar {
    height: 6px;
}

.table-wrap::-webkit-scrollbar-track {
    background: var(--panel-2);
}

.table-wrap::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

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

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

th {
    background: var(--panel-2);
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}

td {
    color: var(--text);
    font-weight: 500;
}

tr:hover td {
    background: var(--panel-2);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
}

.badge.green {
    background: var(--success);
    color: var(--white);
}

.badge.red {
    background: var(--danger);
    color: var(--white);
}

.badge.orange {
    background: var(--warning);
    color: var(--dark);
}

.badge.gray {
    background: var(--panel-3);
    color: var(--muted);
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    outline: none;
    transition: var(--transition);
    font-weight: 500;
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-2);
}

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

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

input:disabled,
select:disabled,
textarea:disabled {
    background: var(--panel-2);
    color: var(--muted-2);
    cursor: not-allowed;
}

.help {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

/* Alerts */
.alert {
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    border: 1px solid;
    line-height: 1.6;
    font-weight: 500;
}

.alert.success {
    background: var(--success-soft);
    color: var(--success-hover);
    border-color: var(--success);
}

.alert.error {
    background: var(--danger-soft);
    color: var(--danger-hover);
    border-color: var(--danger);
}

.alert.warning {
    background: var(--warning-soft);
    color: var(--dark);
    border-color: var(--warning);
}

.alert.info {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters input,
.filters select {
    width: auto;
    min-width: 160px;
}

/* Language switch */
.lang-switch {
    display: flex;
    gap: 4px;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 3px;
    border-radius: var(--radius-sm);
}

.lang-switch a {
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    color: var(--muted);
    font-weight: 600;
    transition: var(--transition);
    font-size: 13px;
}

.lang-switch a:hover {
    background: var(--panel-2);
    color: var(--text);
}

.lang-switch a.active {
    background: var(--primary);
    color: var(--white);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
}

/* Footer */
.footer {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    padding: 24px;
    font-weight: 500;
}

/* Empty state */
.empty {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-weight: 500;
}

/* Soft panel */
.soft-panel {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--line);
}

/* Input with suffix */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap input {
    padding-right: 90px;
}

.input-suffix {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    padding: 4px 8px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Inline form */
.inline-form {
    display: inline-flex;
    margin: 0;
}

/* Detail blocks */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.detail-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 70px;
}

.detail-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.detail-item strong {
    display: block;
    font-weight: 700;
    color: var(--text);
    word-break: break-word;
}

/* Expense cards */
.expense-card {
    display: grid;
    grid-template-columns: 1.1fr .7fr 1.4fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

/* Signature */
.signature-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    font-weight: 600;
    color: var(--text);
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1040px) {
    .sidebar {
        transform: translateX(-110%);
        z-index: 20;
        transition: .2s ease;
        inset: 0;
        border-radius: 0;
        width: 300px;
        padding: 20px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
        padding: 16px;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .grid-4,
    .grid-5,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        display: none;
    }
}

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

    .expense-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 13px;
    }

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

    .userbar {
        width: 100%;
        justify-content: space-between;
    }

    .auth-shell {
        padding: 14px;
    }

    .auth-form {
        padding: 28px;
    }

    .page-title h1 {
        font-size: 20px;
    }

    .kpi-value {
        font-size: 26px;
    }

    .card {
        padding: 16px;
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .filters input,
    .filters select {
        width: 100%;
        min-width: 100%;
    }
}

/* Print */
@media print {
    .sidebar,
    .topbar,
    .toolbar,
    .footer,
    .actions,
    .btn {
        display: none !important;
    }

    .main {
        margin: 0;
        padding: 0;
    }

    .card {
        box-shadow: none;
        border: 0;
    }

    body {
        background: #fff;
    }
}


/* Logo / PWA / invoice helpers */
.brand-logo-img { width: 46px; height: 46px; border-radius: 14px; object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 4px; box-shadow: var(--shadow-soft); }
.install-app-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.invoice-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin-left: auto; }
.invoice-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.invoice-summary .total { font-size: 18px; font-weight: 800; }
.permission-grid { display: grid; grid-template-columns: 1.2fr repeat(4, .7fr); gap: 8px; align-items: center; }
.permission-grid > div { padding: 10px; border-bottom: 1px solid var(--line); }
.permission-grid .head { font-weight: 800; color: var(--text); background: var(--panel-2); border-radius: 10px; }
.field label.inline-check, .inline-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.inline-check input { width: auto; }
.print-body { background:#fff; color:#111; padding:24px; }
.invoice-paper { max-width: 960px; margin:0 auto; background:#fff; border:1px solid #ddd; border-radius:16px; padding:32px; }
@media (max-width: 720px) { .permission-grid { grid-template-columns: 1fr 1fr; } .permission-grid .head:nth-child(n+3) { display: none; } .invoice-summary { grid-template-columns: 1fr; max-width: 100%; } .table-wrap { margin: 0 -12px; border-radius: 12px; } table { min-width: 720px; } .userbar { overflow-x: auto; padding-bottom: 4px; } }
@media (display-mode: standalone) { .footer { padding-bottom: env(safe-area-inset-bottom); } }

/* END FULL FILE: style.css */
/* v5.1 dashboard / sidebar / PWA refinements */
.sidebar {
    display: flex;
    flex-direction: column;
}
.sidebar-nav {
    flex: 1 1 auto;
}
.sidebar-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.sidebar-install {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
}
.sidebar-install:hover {
    background: var(--primary);
    color: var(--white);
}
.sidebar-version {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    padding: 8px 10px 0;
}
.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 10% 15%, rgba(37,99,235,.18), transparent 32%),
        radial-gradient(circle at 90% 20%, rgba(79,70,229,.14), transparent 30%),
        var(--panel);
    box-shadow: var(--shadow-soft);
}
.dashboard-hero h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 900;
}
.dashboard-hero p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
}
.hero-eyebrow {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: .08em;
}
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.stat-card {
    display: flex;
    gap: 14px;
    align-items: center;
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    font-size: 24px;
}
.market-kpi {
    border-left: 5px solid var(--primary);
}
.mini-progress,
.bar-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--panel-2);
    border: 1px solid var(--line);
    margin: 10px 0;
}
.mini-progress span,
.bar-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.stock-bars .bar-track span {
    background: linear-gradient(90deg, var(--success), var(--primary));
}
.dashboard-bars {
    display: grid;
    gap: 14px;
}
.bar-row {
    display: grid;
    gap: 8px;
}
.bar-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--text);
}
.bar-label span {
    color: var(--muted);
    font-weight: 700;
}
.logo-preview-box {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--panel-2);
}
.logo-preview-box img {
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 6px;
}
.calc-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.calc-strip .soft-panel strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    margin-top: 4px;
}
.sale-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.sale-info-grid .soft-panel strong {
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

@media (max-width: 760px) {
    .dashboard-hero,
    .stat-card {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }
    .calc-strip,
    .sale-info-grid {
        grid-template-columns: 1fr;
    }
}
