#feedback-modal .ww-modal-header p {
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

#feedback-modal .ww-modal-body .ww-textarea {
    min-height: 7rem;
}

#feedback-modal .ww-form-group {
    margin-top: 1rem;
}


#valuation-feedback-modal .ww-modal-content {
    max-width: 28rem;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
}

#valuation-feedback-modal .ww-valuation-feedback-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    text-align: center;
}

#valuation-feedback-modal .ww-valuation-feedback-header > div {
    width: 100%;
    max-width: 100%;
}

#valuation-feedback-modal .ww-valuation-feedback-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.28rem;
}

#valuation-feedback-modal .ww-valuation-feedback-icon {
    font-size: 1.5rem;
    color: #4a4a4a;
    opacity: 0.85;
    line-height: 1;
    margin: 0;
    flex: 0 0 auto;
}

#valuation-feedback-modal .ww-valuation-feedback-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

#valuation-feedback-modal .ww-valuation-feedback-header p {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

#valuation-feedback-modal .ww-valuation-feedback-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin-bottom: 0.5rem;
}

#valuation-feedback-modal .ww-valuation-feedback-footer {
    margin-top: 1.25rem;
}

#valuation-feedback-modal .ww-btn-valuation-feedback-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #171717;
    box-shadow: none;
}

#valuation-feedback-modal .ww-feedback-hint {
    font-size: 0.8125rem;
    color: #22c55e;
    margin: 0.5rem 0 0;
}

@media (max-width: 480px) {
    #valuation-feedback-modal .ww-valuation-feedback-form {
        grid-template-columns: 1fr;
    }
}

#rec-results-modal .ww-modal-content {
    max-width: 32rem;
    padding: 1.5rem 1.75rem;
    max-height: 88vh;
}

#rec-results-modal .ww-modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#rec-detail-modal .ww-modal-content {
    max-width: 42rem;
    padding: 1.75rem 2rem;
    max-height: 90vh;
}

#rec-detail-modal .ww-modal-body {
    max-height: 65vh;
    overflow-y: auto;
}

.ww-rec-detail-price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.ww-rec-detail-price {
    font-weight: 700;
    font-size: 1.1rem;
}

.ww-rec-detail-score {
    font-size: 0.875rem;
    color: #666;
}

.ww-rec-detail-stats {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #555;
}

.ww-rec-detail-stat-sep {
    margin: 0 0.25rem;
}

.ww-rec-detail-heading {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #1a1a1a;
}

.ww-rec-detail-heading:first-of-type {
    margin-top: 0;
}

.ww-rec-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ww-rec-detail-table th,
.ww-rec-detail-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ww-rec-detail-table th {
    font-weight: 600;
    color: #666;
}

.ww-rec-detail-table .rec-detail-name {
    font-weight: 500;
}

.ww-rec-detail-table .rec-detail-avatar-cell {
    width: 52px;
    padding: 0.4rem 0.5rem;
    vertical-align: middle;
}

.ww-rec-detail-table .rec-detail-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ww-rec-detail-extra {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.ww-rec-detail-desc {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

#feedback-modal .ww-modal-footer {
    margin-top: 0.75rem;
}

#error-dialog {
    overflow: visible;
    align-items: center;
    justify-content: center;
}

#error-dialog .ww-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: min(36rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
}

#error-dialog.ww-dialog-success .ww-modal-header h3 {
    color: #166534;
}

#error-dialog.ww-dialog-success .ww-modal-body {
    text-align: center;
}

#error-dialog.ww-dialog-success .ww-error-body {
    color: #15803d;
}

body.ww-modal-open {
    overflow: hidden;
}

.ww-error-modal-content {
    max-width: 36rem;
}

.ww-error-subtitle:empty {
    display: none;
}

.ww-error-body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
}

.ww-guide-modal-content {
    max-width: 36rem;
}

.ww-guide-body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

.ww-guide-body p {
    margin-bottom: 1rem;
}

.ww-guide-body ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.ww-guide-body li {
    margin-bottom: 0.75rem;
}

.ww-guide-body strong {
    color: #1a1a1a;
}

.ww-guide-body .ww-guide-highlight {
    color: #dc2626;
}




@media (max-width: 360px) {

    .ww-nav-inner,
    .ww-welcome,
    .ww-steps,
    .ww-eval {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ww-welcome-inner {
        font-size: 20px;
    }

    .ww-eval-title {
        font-size: 20px;
    }
}


.ww-products-section {
    margin-top: 1.5rem;
}

.ww-products-header {
    margin-bottom: 1rem;
}

.ww-products-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.ww-products-sub {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.ww-products-no-result {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0 0;
    padding: 0;
}

.ww-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ww-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.ww-product-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ww-product-info {
    flex: 1;
    min-width: 0;
}

.ww-product-platform {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ww-product-link-hint {
    font-size: 0.875rem;
    color: #0066cc;
}

.ww-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #22c55e;
    white-space: nowrap;
    margin-left: 1rem;
}

.ww-product-item:hover .ww-product-link-hint {
    text-decoration: underline;
}

.ww-products-avg-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.ww-products-avg-price .avg-label {
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 500;
}

.ww-products-avg-price .avg-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #16a34a;
}

@media (max-width: 768px) {
    .ww-product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ww-product-price {
        margin-left: 0;
        align-self: flex-end;
    }
}
