.npp-warranty {
    max-width: 46rem;
    color: #231f20;
    background: #fff;
    font-family: "Segoe UI", "Inter", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
}

.npp-warranty-head {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-height: 7.4rem;
    padding: 0.2rem 1rem 0 0;
    background: #034da2;
    color: #fff;
}

.npp-warranty-shield {
    width: 8.6rem;
    height: auto;
    margin: 0 0 -2.2rem 0.15rem;
    flex: 0 0 auto;
}

.npp-warranty-title {
    flex: 1;
    margin: 1.15rem 0 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0.01em;
}

.npp-warranty-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.85fr);
    gap: 1.1rem;
    padding: 2.5rem 1rem 0.4rem;
}

.npp-warranty-highlight {
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.8rem;
    border: 2px solid #034da2;
    color: #034da2;
    font-weight: 650;
}

.npp-warranty p {
    margin: 0 0 0.75rem;
}

.npp-warranty-list,
.npp-warranty-steps {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
}

.npp-warranty-list li,
.npp-warranty-steps li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0 0 0.35rem;
}

.npp-warranty-list li::before,
.npp-warranty-steps li::before {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.12rem;
    border-radius: 999px;
    background: #231f20;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
}

.npp-warranty-list li::before {
    content: "\2713";
}

.npp-warranty-steps {
    counter-reset: npp-step;
    padding: 0 1rem;
}

.npp-warranty-steps li::before {
    counter-increment: npp-step;
    content: counter(npp-step);
}

.npp-warranty-side {
    padding: 0.9rem 0.85rem 0.7rem;
    background: #f3f4f6;
}

.npp-warranty-qr {
    display: block;
    width: 7.2rem;
    height: auto;
    margin: 0.4rem auto 0.35rem;
}

.npp-warranty-qrnote {
    margin: 0;
    font-size: 0.78rem;
    text-align: center;
}

.npp-warranty h3 {
    margin: 0.8rem 1rem 0.55rem;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
}

.npp-warranty-foot {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    margin: 0.4rem 1rem 0;
    padding-top: 0.7rem;
    border-top: 2px solid #231f20;
}

.npp-warranty-garan {
    width: 100%;
    height: auto;
}

.npp-warranty-edit [contenteditable] {
    outline: none;
    border-radius: 0.2rem;
}

.npp-warranty-edit [contenteditable]:hover,
.npp-warranty-edit [contenteditable]:focus {
    background: rgba(208, 184, 104, 0.35);
}

.npp-warranty-admin {
    max-width: 52rem;
    color: #071923;
}

.npp-warranty-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.npp-warranty-save,
.npp-warranty-restore {
    min-height: 2.7rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    font-weight: 650;
}

.npp-warranty-save {
    border: 0;
    background: #284080;
    color: #fff;
}

.npp-warranty-restore {
    border: 1px solid #284080;
    background: #fff;
    color: #284080;
}

.npp-warranty-hint,
.npp-warranty-note {
    margin: 0.8rem 0 0;
}

.npp-warranty-note {
    padding: 0.7rem 1rem;
    border-radius: 0.8rem;
}

.npp-warranty-ok {
    background: #e8f6ea;
    color: #107c10;
}

.npp-warranty-bad {
    background: #fdecec;
    color: #b42318;
}

@media (max-width: 760px) {
    .npp-warranty-title {
        font-size: 1.35rem;
    }

    .npp-warranty-grid,
    .npp-warranty-foot {
        grid-template-columns: 1fr;
    }
}
