.parameter-widget {
    margin: 1.5rem 0;
    padding: 1.2rem;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.pp-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.pp-example-btn,
.pp-arrow-panel button {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: white;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pp-example-btn:hover,
.pp-arrow-panel button:hover {
    transform: translateY(-2px);
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.pp-example-btn.active {
    background: #5b5fa8;
    color: white;
    border-color: #5b5fa8;
}

.pp-main-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
}

.pp-card {
    padding: 1rem;
    border-radius: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    min-height: 140px;
}

.pp-card-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 800;
}

.pp-card strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    word-break: break-word;
}

.pp-card p {
    margin-bottom: 0;
    color: #475569;
}

.pp-arrow-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.pp-arrow {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 2rem;
    font-weight: 900;
    transition: transform 0.25s ease;
}

.pp-arrow.active {
    transform: scale(1.08);
    background: #eef2ff;
    border-color: #5b5fa8;
    color: #5b5fa8;
}

.pp-mapping {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.pp-map-card {
    padding: 0.9rem;
    border-radius: 18px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.pp-map-card.active {
    border-color: #5b5fa8;
    background: rgba(91, 95, 168, 0.08);
}

.pp-map-card span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.pp-map-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1.05rem;
}

.pp-step-box {
    padding: 1rem;
    border-radius: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #14532d;
}

.pp-step-box h3 {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}

.pp-step-count {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #166534;
}

@media (max-width: 760px) {
    .pp-main-grid {
        grid-template-columns: 1fr;
    }

    .pp-arrow-panel {
        flex-direction: row;
    }

    .pp-arrow {
        transform: rotate(90deg);
    }
}
