.w4i-wheel-suite {
    max-width: 1040px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.w4i-field-row label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.w4i-field-row input,
.w4i-field-row select {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: 0.9rem;
}

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

.w4i-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: #6c757d;
}

.w4i-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.w4i-btn-primary {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #ffffff;
    transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.1s ease;
}

.w4i-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(245,124,0,0.4);
    opacity: 0.97;
}

.w4i-errors {
    grid-column: 1 / -1;
    margin-top: 1rem;
    background: #fff5f5;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid #f5c2c7;
}

.w4i-errors p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
    color: #842029;
}

.w4i-suite-results {
    margin-top: 1.5rem;
}

.w4i-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .w4i-top-row {
        grid-template-columns: 1fr;
    }
}

.w4i-overview-card,
.w4i-chart-card,
.w4i-result-card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid #e3e6eb;
    background: #f8fafc;
    font-size: 0.9rem;
}

.w4i-overview-card h3,
.w4i-chart-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.w4i-overview-card p,
.w4i-chart-card p {
    margin: 0.25rem 0;
}

.w4i-chart {
    width: 100%;
    height: 60px;
    display: block;
    margin-bottom: 0.5rem;
}

.w4i-chart-note {
    font-size: 0.8rem;
    color: #6c757d;
}

.w4i-mid-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 800px) {
    .w4i-mid-row {
        grid-template-columns: 1fr;
    }
}

.w4i-result-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.w4i-result-card p {
    margin: 0.25rem 0;
}

.w4i-note {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.4rem;
}

.w4i-chip {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(255,152,0,0.15);
    color: #e65100;
}

.w4i-chip-manual {
    background: rgba(108,117,125,0.15);
    color: #495057;
}

.w4i-reco-block {
    margin-top: 1rem;
}

.w4i-reco-block h3 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.w4i-summary {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

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

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

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

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

.w4i-profile-conservative td:first-child {
    border-left: 4px solid #66bb6a;
}
.w4i-profile-balanced td:first-child {
    border-left: 4px solid #42a5f5;
}
.w4i-profile-aggressive td:first-child {
    border-left: 4px solid #ef5350;
}

.w4i-sub {
    font-size: 0.8rem;
    color: #6c757d;
}

.w4i-notes {
    margin: 0;
    padding-left: 1.1rem;
}

.w4i-notes li {
    margin: 0.2rem 0;
}

.w4i-disclaimer {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}
