.w4i-pmcc-wrapper {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e3e6eb;
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.w4i-pmcc-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.w4i-pmcc-intro {
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: #555;
}

.w4i-pmcc-base-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.w4i-pmcc-field {
    display: flex;
    flex-direction: column;
}

.w4i-pmcc-field label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.w4i-pmcc-field input {
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: 0.9rem;
}

.w4i-pmcc-field input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 1px rgba(255,152,0,0.3);
}

.w4i-pmcc-help {
    font-size: 0.75rem;
    color: #777;
    margin-top: 0.15rem;
}

.w4i-pmcc-subtitle {
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.w4i-pmcc-scenarios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.w4i-pmcc-scenario {
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #e3e6eb;
    background: #f9fafb;
}

.w4i-pmcc-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.w4i-pmcc-btn:hover {
    opacity: 0.96;
}

.w4i-pmcc-results {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.w4i-pmcc-divider {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #e3e6eb;
}

.w4i-pmcc-results h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.w4i-pmcc-summary {
    margin: 0 0 0.75rem 0;
    font-size: 0.85rem;
    color: #444;
}

.w4i-pmcc-table-wrap {
    overflow-x: auto;
}

.w4i-pmcc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.w4i-pmcc-table thead {
    background: #fff3e0;
}

.w4i-pmcc-table th,
.w4i-pmcc-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e3e6eb;
    text-align: left;
}

.w4i-pmcc-table th {
    font-weight: 700;
}

.w4i-pmcc-win td {
	background: #d1fae5;
    color: #065f46;
    font-weight: 600;
}

.w4i-pmcc-loss td {
    background: #ffcdd2!important;
}

.w4i-pmcc-disclaimer {
    font-size: 0.75rem;
    color: #777;
    margin-top: 0.75rem;
}
