.rc-page {
    max-width: var(--medium-width);
    margin: 0 auto;
    padding: 20px;
}

.rc-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
}

.rc-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rc-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
}

.rc-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.rc-form-group {
    margin-bottom: 16px;
}

.rc-form-group:last-child {
    margin-bottom: 0;
}

.rc-form-group label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.rc-form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    text-align: right;
    background: #f8fafc;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.rc-form-group input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #fff;
}

.rc-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rc-hero-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.rc-hero-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.rc-hero-value {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rc-hero-note {
    font-size: 12px;
    opacity: 0.7;
}

.rc-result-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rc-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-result-icon {
    font-size: 18px;
}

.rc-result-label {
    font-size: 13px;
    color: #64748b;
}

.rc-result-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.rc-result-value.rc-positive {
    color: #10b981;
}

.rc-result-value.rc-negative {
    color: #ef4444;
}

.rc-progress-card, .rc-analysis-card, .rc-tips-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
}

.rc-progress-bar {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.rc-progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.rc-progress-fill.rc-success {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.rc-progress-fill.rc-warning {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.rc-progress-fill.rc-danger {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.rc-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #64748b;
}

.rc-progress-percent {
    font-weight: 700;
    color: #1e293b;
}

.rc-analysis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rc-analysis-item {
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
}

.rc-analysis-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.rc-analysis-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.rc-tips-card {
    background: #f5f3ff;
    border: 1px solid #e9d5ff;
}

.rc-tips-card .rc-card-title {
    color: #6d28d9;
    border-bottom-color: #e9d5ff;
}

.rc-tips-list {
    margin: 0;
    padding-left: 20px;
}

.rc-tips-list li {
    font-size: 14px;
    color: #5b21b6;
    margin-bottom: 8px;
    line-height: 1.6;
}

.rc-tips-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .rc-content {
        grid-template-columns: 1fr;
    }

    .rc-left {
        order: 2;
    }

    .rc-right {
        order: 1;
    }

    .rc-analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rc-page {
        padding: 16px;
    }

    .rc-analysis-grid {
        grid-template-columns: 1fr;
    }

    .rc-hero-value {
        font-size: 32px;
    }
}