.usn-page {
    padding: 36px 0 80px;
    background:
        radial-gradient(circle at 15% 10%, rgba(79, 70, 229, 0.10), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(20, 184, 166, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #4f46e5;
}

.usn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: center;
    margin-bottom: 36px;
}

.page-label {
    margin: 0 0 12px;
    color: #4f46e5;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-title {
    max-width: 820px;
    margin: 0;
    color: #111827;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.page-description {
    max-width: 760px;
    margin: 18px 0 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.usn-hero__card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.usn-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: #111827;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
}

.usn-hero__card strong {
    display: block;
    color: #111827;
    font-size: 18px;
}

.usn-hero__card span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
}

.usn-tool,
.usn-info {
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}

.usn-tool {
    padding: 24px;
}

.usn-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 18px;
    align-items: start;
}

.usn-panel,
.usn-examples {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #f8fafc;
    overflow: hidden;
}

.usn-panel__head,
.usn-examples__head {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.usn-panel__head h2,
.usn-examples__head h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.usn-panel__head p,
.usn-examples__head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.usn-form {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.usn-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.usn-field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.usn-field input,
.usn-field select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
}

.usn-field input:focus,
.usn-field select:focus {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
}

.usn-field_hidden,
.usn-stat_hidden {
    display: none;
}

.usn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.usn-submit__button,
.usn-submit__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.usn-submit__button {
    border: 0;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
}

.usn-submit__secondary {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    color: #111827;
}

.usn-message {
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.usn-message_error {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.10);
    border-color: transparent;
}

.usn-message_success {
    color: #065f46;
    background: rgba(16, 185, 129, 0.10);
    border-color: transparent;
}

.usn-result {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.usn-result-box {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    text-align: center;
}

.usn-result-box span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.usn-result-box strong {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.usn-result-box p {
    margin: 12px 0 0;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.usn-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.usn-stats div {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.usn-stats span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.usn-stats strong {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.usn-examples {
    margin-top: 18px;
}

.usn-example-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 18px;
}

.usn-example-grid button {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.usn-example-grid button:hover {
    border-color: rgba(79, 70, 229, 0.45);
}

.usn-info {
    margin-top: 24px;
    padding: 28px;
}

.usn-info__content {
    max-width: 920px;
}

.usn-info h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.usn-info p {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.75;
}

.usn-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.usn-rules div {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.usn-rules strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.usn-rules span {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .usn-hero,
    .usn-columns,
    .usn-rules {
        grid-template-columns: 1fr;
    }

    .usn-example-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .usn-page {
        padding: 26px 0 56px;
    }

    .usn-tool {
        padding: 18px;
    }

    .usn-form__grid,
    .usn-stats,
    .usn-example-grid {
        grid-template-columns: 1fr;
    }

    .usn-actions,
    .usn-panel__head,
    .usn-examples__head {
        flex-direction: column;
    }

    .usn-submit__button,
    .usn-submit__secondary {
        width: 100%;
    }

    .usn-result-box strong {
        font-size: 28px;
    }

    .usn-info {
        padding: 22px;
        border-radius: 24px;
    }
}