/* cache-bust 20260830a */
.nos-p {
    max-width: 720px;
    margin: 0 auto;
    color: #1a1a1a;
    font-size: 17px;
    line-height: 1.5;
}
.nos-p--dash {
    max-width: 1100px;
}
.nos-p h2,
.nos-p h3 {
    color: #1a1a1a;
}
.nos-p--dash h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #9b1230;
}
.nos-p__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.nos-p__head h2 {
    margin: 0 0 6px;
}
.nos-p__logout {
    flex: 0 0 auto;
    color: #9b1230;
}
.nos-p__card {
    background: #f8f4ea;
    border: 1px solid #e6dfd0;
    padding: 20px 22px;
    margin: 16px 0;
}
.nos-p__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0 20px;
}
.nos-p__stat {
    background: #f8f4ea;
    border: 1px solid #e6dfd0;
    border-top: 3px solid #9b1230;
    padding: 12px 14px;
}
.nos-p__stat-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a6356;
}
.nos-p__stat-value {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-word;
}
.nos-p__stat-value--lg {
    font-size: 22px;
    letter-spacing: -0.02em;
}
.nos-p__stat--qr .nos-p__qr {
    max-width: 160px;
    margin: 8px 0;
}
.nos-p__dl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 4px;
}
.nos-p__grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 700px) {
    .nos-p__grid {
        grid-template-columns: 1fr 1fr;
    }
}
.nos-p__grid--stats {
    align-items: stretch;
    margin: 0 0 28px;
}
@media (min-width: 700px) {
    .nos-p__grid--stats {
        grid-template-columns: 1fr 1fr;
    }
    .nos-p__grid--stats .nos-p__card--payments {
        grid-column: 1 / -1;
    }
}
.nos-p__card--stat {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    margin: 0;
    background: #fff;
    border-top: 3px solid #9b1230;
    box-shadow: 0 1px 0 rgba(155, 18, 48, 0.06);
}
.nos-p__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.nos-p__kpi {
    flex: 0 0 auto;
    text-align: right;
    line-height: 1;
}
.nos-p__kpi-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #9b1230;
    letter-spacing: -0.02em;
}
.nos-p__kpi-lbl {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a6356;
}
.nos-p__empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: #f8f4ea;
    color: #6a6356;
    font-size: 15px;
}
.nos-p__table-wrap {
    flex: 1;
    overflow: auto;
    max-height: 360px;
}
.nos-p label {
    display: block;
    margin: 10px 0;
}
.nos-p input[type="text"],
.nos-p input[type="email"],
.nos-p input[type="password"],
.nos-p input[type="date"] {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #cfc6b4;
    background: #fff;
}
/* Светлая кнопка: тема Twenty Twenty + nos-accent красит a/button
   в #9b1230 !important — на бордовой заливке текст пропадает.
   Inline style на button/span в шаблонах бьёт тему сильнее; CSS — запасной. */
.entry-content .nos-p button,
.entry-content .nos-p button[type="submit"],
.entry-content .nos-p input[type="submit"],
.entry-content .nos-p a.nos-p__btn,
.nos-p button,
.nos-p button[type="submit"],
.nos-p input[type="submit"],
.nos-p button.nos-p__btn,
.nos-p__btn,
.nos-p a.nos-p__btn,
.nos-p a.nos-p__btn:link,
.nos-p a.nos-p__btn:visited,
.nos-p a.nos-p__btn:hover,
.nos-p a.nos-p__btn:focus,
.nos-p a.nos-p__btn:active {
    display: inline-block;
    background: #fff !important;
    background-color: #fff !important;
    color: #9b1230 !important;
    -webkit-text-fill-color: #9b1230 !important;
    border: 2px solid #9b1230;
    padding: 10px 18px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-indent: 0;
    opacity: 1;
}
.entry-content .nos-p button span,
.nos-p button span,
.nos-p a.nos-p__btn span {
    color: #9b1230 !important;
    -webkit-text-fill-color: #9b1230 !important;
}
.entry-content .nos-p button:hover,
.nos-p button:hover,
.nos-p button[type="submit"]:hover,
.nos-p__btn:hover,
.nos-p a.nos-p__btn:hover {
    background: #f8f4ea !important;
    background-color: #f8f4ea !important;
    color: #9b1230 !important;
    -webkit-text-fill-color: #9b1230 !important;
    opacity: 1;
}
.nos-p__hint {
    font-size: 0.92em;
    color: #555;
}
.nos-p__notice {
    background: #eef6ea;
    border: 1px solid #b7d4a8;
    padding: 10px 12px;
    margin-bottom: 16px;
}
.nos-p__notice--error {
    background: #fceeee;
    border-color: #e3b4b4;
}
.nos-p__table {
    width: 100%;
    border-collapse: collapse;
}
.nos-p__table th,
.nos-p__table td {
    border-bottom: 1px solid #e6dfd0;
    text-align: left;
    padding: 8px 10px;
}
.nos-p__table th {
    font-size: 12px;
    color: #6a6356;
    font-weight: 600;
}
.nos-p__table tfoot th {
    border-bottom: 0;
    border-top: 1px solid #d8d0c0;
    background: #f8f4ea;
    color: #1a1a1a;
}
.nos-p__pay {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #8a8378;
    line-height: 1.35;
}
.nos-p__plus {
    display: block;
    font-weight: 600;
    color: #2d6a1f;
}
.nos-p__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.nos-p__badge--pending,
.nos-p__badge--payable,
.nos-p__badge--paid {
    background: #eef6ea;
    color: #2d6a1f;
}
.nos-p__badge--carried {
    background: #fff4d6;
    color: #7a5a00;
}
.nos-p__badge--reversed {
    background: #fceeee;
    color: #9b1230;
}
.nos-p__qr {
    max-width: 240px;
    margin: 12px 0;
}
.nos-p__qr svg {
    width: 100%;
    height: auto;
}
.nos-p__link {
    word-break: break-all;
    color: #9b1230;
}
.nos-p__check,
.nos-p__radio {
    display: block;
    margin: 6px 0;
}
.nos-p fieldset {
    border: 1px solid #e6dfd0;
    padding: 10px 14px;
    margin: 12px 0;
}
.nos-p__offer {
    max-height: 420px;
    overflow: auto;
    border: 1px solid #e6dfd0;
    padding: 12px 16px;
    background: #fff;
    margin: 16px 0;
    font-size: 15px;
}
.nos-p__offer h2 {
    font-size: 1.15em;
    margin-top: 1.1em;
}
