body,
input,
select,
textarea {
    font-size: 14px;
    font-family: system-ui,  -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #333;
}

.clear {clear:both;}
.right {float:right;}
.left {float:left;}

.C {text-align:center !important}
.R {text-align:right !important}
.L {text-align:left !important}
.B {font-weight:bold !important}
.I {font-style: italic !important}

.NWH {
    white-space: nowrap;
    overflow: hidden;
}

.NW {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.NNW {
    white-space: normal !important;
}

td.NB, tr.NB td {
    border: 0 !important;
}

.WAUTO {
    width: auto !important;
}

.rtl { /* Цвет розничных сумм */
    color: #900 !important;
}
.buy { /* Цвет закупочных сумм */
    color: #00b !important;
}
.infinity {/* Цвет бесконечности */
    color: #0b0 !important;
}

/* Ячейка с процентами наценки */
.percent {
    color: inherit;
    font-weight: normal;
}
    .percent.neg {
        color: #f00;
        font-weight: bold;
    }
    .percent.small {
        color: #f00;
        font-weight: normal;
    }
    .percent.big {
        color: #00f;
        font-weight: bold;
    }

/* ячейка с разностью между ценами или суммами */
.delta {
    color: inherit;
    font-weight: normal;
}

.blue { color: #00f; }
.red  { color: #f00; }
.warning, .warning a { color: #c00; }


/************************************************
PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT
        скрываем непечатные элементы
************************************************/
@media print {
    a {
        text-decoration: none !important;
    }
}