

/* Start:/local/templates/main/assets/css/main.css?177807472110119*/
:root {
    --ink: #1d1d1f;
    --muted: #4e5865;
    --line: #d5d9de;
    --bg: #f3f1eb;
    --card: #ffffff;
    --accent: #1f6f5c;
    --accent-2: #d95f39;
    --warning: #b51f1f;
    --success: #1e7f4a;
    --soft: #f8f4ec;
    --shadow: 0 18px 40px rgba(31, 29, 24, 0.12);
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Bookman Old Style", "Palatino Linotype", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top, #fbf8f2, #efe8dc 55%, #e6dbcc 100%);
}

body.ozon-theme {
    --accent: #005bff;
    --accent-2: #0047cc;
    --bg: #f2f6ff;
    --soft: #eaf1ff;
    --line: #d7e2ff;
    --shadow: 0 18px 40px rgba(0, 40, 120, 0.12);
    background: radial-gradient(circle at top, #f8faff, #eef3ff 55%, #e5eeff 100%);
}

body.ozon-theme .site-header {
    background: linear-gradient(135deg, #f7faff, #e9f1ff);
    border-bottom: 1px solid #d7e2ff;
}

body.ozon-theme .brand-mark {
    background: #005bff;
}

body.ozon-theme .nav-link {
    background: #f0f5ff;
    border-color: #d7e2ff;
}

body.ozon-theme .nav-link:hover {
    box-shadow: 0 8px 16px rgba(0, 55, 150, 0.18);
}

body.ozon-theme .badge {
    background: #005bff;
}

body.ozon-theme .badge.secondary {
    background: #ffd457;
    color: #3a2a00;
}

body.ozon-theme .page-inner {
    gap: 28px;
}

body.ozon-theme .hero-card {
    border: 1px solid #d7e2ff;
    background: #f3f7ff;
}

body.ozon-theme .filter-card {
    border: 1px solid #d7e2ff;
}

body.ozon-theme .filter-card input,
body.ozon-theme .filter-card select {
    border-color: #d7e2ff;
}

body.ozon-theme .btn-primary {
    background: #005bff;
    border-color: #005bff;
    color: #fff;
}

body.ozon-theme .btn-primary:hover {
    background: #0047cc;
}

body.ozon-theme .site-footer {
    background: #eef3ff;
    border-top: 1px solid #d7e2ff;
}

body.ozon-theme .table-wrap {
    border: 1px solid #d7e2ff;
    background: #fff;
}

body.ozon-theme .grid-head .grid-cell {
    background: #eef3ff;
    border-bottom: 1px solid #d7e2ff;
}

body.ozon-theme .grid-cell {
    border-bottom: 1px solid #e6edff;
    border-right: 1px solid #e6edff;
}

body.ozon-theme .grid-cell.sticky {
    background: #f8faff;
    border-right: 1px solid #d7e2ff;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    gap: 20px;
    background: linear-gradient(135deg, #fdf9f1, #efe6d7);
    border-bottom: 1px solid #e4d8c6;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #1f6f5c;
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    letter-spacing: 1px;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff7eb;
    border: 1px solid #e6dccf;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(30, 20, 10, 0.12);
}

.header-meta {
    font-size: 13px;
    color: var(--muted);
}

.page-inner {
    width: min(1920px, 94vw);
    margin: 40px auto 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    background: var(--soft);
    border-radius: var(--radius-sm);
    padding: 18px;
    border: 1px solid #eadfce;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 8px;
}

.hero-value {
    font-size: 22px;
    font-weight: 700;
}

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

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

.filter-card {
    background: var(--card);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

.filter-card label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
}

.filter-card input,
.filter-card select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d8d0c6;
    background: #fff;
    font-size: 14px;
    height: 40px;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 18px;
}

.filter-card select {
    padding-right: 12px;
    padding-top: 0;
    padding-bottom: 0;
}

.filter-interval {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-primary {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d7b08a;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    background: #f3d2a8;
    color: #3b2410;
    cursor: pointer;
}

.btn-primary:hover {
    background: #efc48f;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #d8d0c6;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: #3b2410;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f6efe2;
}

.dashboard {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dashboard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1f6f5c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.badge.secondary {
    background: #e1b72d;
    color: #2d1a06;
}

.table-wrap {
    overflow: auto;
    border-radius: 16px;
    border: 1px solid #e2d8cb;
    background: #fff;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.table-wrap::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.table-scrollbar {
    position: sticky;
    bottom: 0;
    z-index: 4;
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    margin-top: 6px;
    border-radius: 12px;
    border: 1px solid #e2d8cb;
    background: #fff;
}

.table-scrollbar-inner {
    height: 1px;
}

.grid-table {
    display: grid;
    min-width: 1100px;
    background: #fff;
}

.grid-row {
    display: grid;
    grid-template-columns: 240px repeat(18, minmax(140px, 1fr));
}

.grid-cell {
    padding: 10px 12px;
    border-bottom: 1px solid #f0e7db;
    border-right: 1px solid #f0e7db;
    font-size: 14px;
    text-align: center;
    background: #fff;
}

.grid-row .grid-cell:last-child {
    border-right: none;
}

.grid-head .grid-cell {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff4e4;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid #e5d8c8;
}

.grid-cell.sticky {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left;
    background: #fffdf8;
    border-right: 1px solid #f0e7db;
}

.grid-cell.align-left {
    text-align: left;
}

.grid-row:hover .grid-cell {
    background: #fff5e9;
}

.price-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.city-price {
    font-weight: 700;
}

.price-violation {
    color: var(--warning);
}

.price-ok {
    color: var(--success);
}

.price-na {
    color: #9aa3ad;
    font-weight: 600;
}

.site-footer {
    margin-top: auto;
    padding: 24px 40px 40px;
    border-top: 1px solid #e4d8c6;
    background: #f6efe2;
}

.footer-grid {
    display: grid;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

.footer-title {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.auth-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 520px;
    margin: 40px auto;
}

.auth-card h1 {
    margin: 0 0 12px;
}

@media (max-width: 720px) {
    .site-header {
        padding: 18px 20px;
    }

    .page-inner {
        margin: 24px auto 40px;
    }

    .grid-table {
        min-width: 900px;
    }
}

.filter-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: -8px 0 18px;
}

.export-excel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    max-width: 100%;
    min-height: 38px;
    text-decoration: none;
}

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

.table-wrap .grid-head {
    position: relative;
    z-index: 30;
    will-change: transform;
}

.table-wrap .grid-head .grid-cell {
    position: relative;
    top: auto;
    background: #fff;
}

.table-wrap .grid-head .grid-cell.sticky {
    z-index: 31;
}

.city-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.city-tab {
    padding: 8px 12px;
    border: 1px solid #d2d8e2;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.2;
}

.city-tab.is-active {
    border-color: #1f7ae0;
    color: #1f7ae0;
    font-weight: 600;
}

.city-price {
    display: none;
}

.city-price.is-active {
    display: inline;
}

.price-open {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.grid-cell .city-price,
.grid-cell .price-open.city-price {
    font-weight: 700;
}

/* End */
/* /local/templates/main/assets/css/main.css?177807472110119 */
