/* advozon.wbcon.ru — дополнения к общему стилю WBCON (app.css) */

.table-wrap { margin-top: 12px; overflow: auto; max-height: 520px;
    border: 1px solid #e2e8f0; border-radius: 12px; }
.ozon-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.ozon-table th, .ozon-table td { padding: 7px 10px; text-align: left; vertical-align: top;
    white-space: nowrap; }
.ozon-table thead th { position: sticky; top: 0; z-index: 1; background: #f1f5f9; color: #475569;
    font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 11px;
    border-bottom: 1px solid #e2e8f0; }
.ozon-table tbody tr:nth-child(even) { background: #fafbfe; }
.ozon-table tbody tr:hover { background: #f3f7ff; }
.ozon-table td.name { white-space: normal; min-width: 240px; max-width: 420px; }
.ozon-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

html[data-theme="dark"] .ozon-table thead th { background: #1b2140; color: #cbd5e1;
    border-color: #2b3358; }
html[data-theme="dark"] .table-wrap { border-color: #2b3358; }
html[data-theme="dark"] .ozon-table tbody tr:nth-child(even) { background: #141a30; }
html[data-theme="dark"] .ozon-table tbody tr:hover { background: #1b2140; }

/* Мобильная ширина: общий app.css скрывает подписи кнопок (.search-btn span),
   из-за чего «Показать видимость» превращалась в пустую плашку 40 px. */
@media (max-width: 600px) {
    #exportForm { flex-wrap: wrap; gap: 8px; padding: 8px; }
    #exportForm .search-input { flex: 1 1 100%; padding: 12px 12px; }
    #exportForm .search-btn { flex: 1 1 100%; margin: 0; justify-content: center;
        padding: 12px 16px; }
    #exportForm .search-btn .btn-label { display: inline; }
    .filters { flex-direction: column; align-items: stretch; }
    .filters .field { width: 100%; }
    .table-wrap { max-height: 420px; }
}
