.vt-vento-uv-container {
    width: min(1180px, calc(100vw - 32px));
    max-width: 1180px;
    margin: 2rem auto;
    padding: 20px 22px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: inherit;
}

.vt-vento-uv-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.vt-vento-uv-header h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.vt-vento-uv-header p {
    color: #666;
    font-size: 0.95rem;
}

.vt-vento-uv-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 2rem;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.vt-vento-uv-form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.vt-vento-uv-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.vt-vento-uv-form-group input,
.vt-vento-uv-form-group select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.vt-vento-uv-form-group input:focus,
.vt-vento-uv-form-group select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.vt-vento-uv-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.vt-vento-uv-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.vt-vento-uv-btn-primary {
    background-color: #28a745;
    color: #fff;
    width: 100%;
}

.vt-vento-uv-btn-primary:hover:not(:disabled) {
    background-color: #218838;
}

.vt-vento-uv-btn-secondary {
    background-color: #007bff;
    color: #fff;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.vt-vento-uv-btn-secondary:hover:not(:disabled) {
    background-color: #0069d9;
    color: #fff;
    text-decoration: none;
}

.vt-vento-uv-btn-ghost {
    background: #fff;
    color: #2b3a55;
    border: 1px solid #d9e2f0;
}

.vt-vento-uv-btn-ghost:hover:not(:disabled) {
    background: #f4f7fb;
    color: #1f2e46;
}

.vt-vento-uv-alert {
    padding: 15px;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.vt-vento-uv-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.vt-vento-uv-alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.vt-vento-uv-candidates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.vt-vento-uv-candidate-btn {
    background: #fff;
    border: 1px solid #ffeeba;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: #856404;
}

.vt-vento-uv-candidate-btn:hover {
    background: #ffeeba;
}

.vt-vento-uv-success-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.vt-vento-uv-success-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.25rem;
}

.vt-vento-uv-success-header p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.vt-vento-uv-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fafafa);
}

.vt-vento-uv-summary-main h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.2rem;
    color: #222;
}

.vt-vento-uv-summary-main p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.vt-vento-uv-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.vt-vento-uv-summary-meta span,
.vt-vento-uv-family-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #2b3a55;
    border: 1px solid #d9e2f0;
    font-size: 0.88rem;
}

.vt-vento-uv-family-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vt-vento-uv-installation-check {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d9e2f0;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfcfe, #f4f7fb);
}

.vt-vento-uv-installation-check h4 {
    margin: 0 0 0.45rem 0;
    color: #24344f;
    font-size: 1rem;
}

.vt-vento-uv-installation-check__lead {
    margin: 0 0 0.65rem 0;
    color: #4a5568;
    line-height: 1.55;
}

.vt-vento-uv-installation-check__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #334155;
    display: grid;
    gap: 0.45rem;
}

.vt-vento-uv-installation-check__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.vt-vento-uv-installation-check__meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d9e2f0;
    color: #2b3a55;
    font-size: 0.85rem;
}

.vt-vento-uv-solutions {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fafcff);
}

.vt-vento-uv-solutions__intro h4 {
    margin: 0 0 0.45rem 0;
    color: #24344f;
    font-size: 1rem;
}

.vt-vento-uv-solutions__level,
.vt-vento-uv-solutions__type,
.vt-vento-uv-solutions__text {
    margin: 0 0 0.45rem 0;
    line-height: 1.55;
}

.vt-vento-uv-solutions__level {
    color: #0f4c3a;
    font-weight: 700;
}

.vt-vento-uv-solutions__type {
    color: #24344f;
}

.vt-vento-uv-solutions__text {
    color: #526274;
}

.vt-vento-uv-solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.vt-vento-uv-solution-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem;
    border: 1px solid #d9e2f0;
    border-radius: 10px;
    background: #fff;
}

.vt-vento-uv-solution-card h5 {
    margin: 0;
    color: #223249;
    font-size: 0.98rem;
}

.vt-vento-uv-solution-card p {
    margin: 0;
    color: #556578;
    line-height: 1.5;
    font-size: 0.92rem;
}

.vt-vento-uv-btn-card {
    width: 100%;
    box-sizing: border-box;
}

.vt-vento-uv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.vt-vento-uv-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vt-vento-uv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vt-vento-uv-card-header {
    background: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.vt-vento-uv-brand {
    font-weight: 700;
    color: #333;
    display: block;
}

.vt-vento-uv-model {
    font-size: 0.85rem;
    color: #666;
}

.vt-vento-uv-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vt-vento-uv-uvi {
    font-size: 0.95rem;
    color: #28a745;
}

.vt-vento-uv-product-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
}

.vt-vento-uv-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e3001b;
}

.vt-vento-uv-message {
    font-size: 0.85rem;
    color: #555;
    background: #f0f7ff;
    padding: 8px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.vt-vento-uv-note {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
}

.vt-vento-uv-card-footer {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

.vt-vento-uv-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background: #fff;
}

.vt-vento-uv-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
    table-layout: fixed;
}

.vt-vento-uv-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0f172a;
    color: #fff;
    text-align: left;
    font-size: 0.88rem;
    padding: 0.85rem 0.9rem;
    letter-spacing: 0.01em;
}

.vt-vento-uv-table tbody td,
.vt-vento-uv-table tbody th {
    padding: 0.72rem 0.75rem;
    border-bottom: 1px solid #edf0f5;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.vt-vento-uv-table tbody tr:hover td {
    background: #fbfdff;
}

.vt-vento-uv-family-row th {
    background: #f4f7fb;
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
}

.vt-vento-uv-data-row td {
    font-size: 0.92rem;
    color: #243041;
}

.vt-vento-uv-status {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.vt-vento-uv-status--recommended {
    background: #e7f7ec;
    color: #146b2d;
}

.vt-vento-uv-status--soft {
    background: #eef6ff;
    color: #245b8c;
}

.vt-vento-uv-status--caution {
    background: #fff3cd;
    color: #856404;
}

.vt-vento-uv-status--too-strong {
    background: #fbe7e9;
    color: #8a1f2d;
}

.vt-vento-uv-status--too-weak {
    background: #f3f4f6;
    color: #4b5563;
}

.vt-vento-uv-status--neutral {
    background: #eef0f3;
    color: #4b5563;
}

.vt-vento-uv-btn-table {
    display: inline-flex;
    justify-content: center;
    width: auto;
    min-width: 124px;
    padding: 0.62rem 0.9rem;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .vt-vento-uv-results {
        width: 100%;
    }

    .vt-vento-uv-table-wrap {
        overflow-x: visible;
    }

    .vt-vento-uv-table thead th:nth-child(1),
    .vt-vento-uv-table tbody td:nth-child(1) {
        width: 13%;
    }

    .vt-vento-uv-table thead th:nth-child(2),
    .vt-vento-uv-table tbody td:nth-child(2) {
        width: 11%;
    }

    .vt-vento-uv-table thead th:nth-child(3),
    .vt-vento-uv-table tbody td:nth-child(3) {
        width: 16%;
    }

    .vt-vento-uv-table thead th:nth-child(4),
    .vt-vento-uv-table tbody td:nth-child(4) {
        width: 18%;
    }

    .vt-vento-uv-table thead th:nth-child(5),
    .vt-vento-uv-table tbody td:nth-child(5) {
        width: 8%;
        text-align: center;
    }

    .vt-vento-uv-table thead th:nth-child(6),
    .vt-vento-uv-table tbody td:nth-child(6) {
        width: 12%;
    }

    .vt-vento-uv-table thead th:nth-child(7),
    .vt-vento-uv-table tbody td:nth-child(7) {
        width: 8%;
        text-align: right;
    }

    .vt-vento-uv-table thead th:nth-child(8),
    .vt-vento-uv-table tbody td:nth-child(8) {
        width: 14%;
    }
}

@media (max-width: 768px) {
    .vt-vento-uv-container {
        width: min(100%, calc(100vw - 20px));
        max-width: none;
        padding: 14px;
    }

    .vt-vento-uv-summary {
        padding: 0.9rem;
    }

    .vt-vento-uv-summary-main h3 {
        font-size: 1.05rem;
    }

    .vt-vento-uv-table {
        min-width: 860px;
    }

    .vt-vento-uv-table thead th,
    .vt-vento-uv-table tbody td,
    .vt-vento-uv-table tbody th {
        padding: 0.7rem 0.75rem;
    }
}

/* V1 UX refresh */
.vt-vento-uv-container {
    width: min(1180px, calc(100vw - 24px));
    margin: 1.5rem auto 2.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #1f2937;
}

.vt-vento-uv-header {
    background:
        radial-gradient(circle at top right, rgba(245, 214, 104, 0.28), transparent 36%),
        radial-gradient(circle at bottom left, rgba(153, 185, 122, 0.18), transparent 34%),
        linear-gradient(145deg, #fffdf8 0%, #f7f2e8 100%);
    border: 1px solid rgba(127, 98, 56, 0.15);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(76, 56, 30, 0.08);
    margin-bottom: 1.5rem;
    padding: 24px;
    text-align: left;
}

.vt-vento-uv-kicker {
    color: #86633f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.vt-vento-uv-header h1 {
    color: #231910;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.15;
    margin: 0 0 12px;
}

.vt-vento-uv-header p {
    color: #4d4135;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.vt-vento-uv-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.vt-vento-uv-form-container {
    margin-bottom: 1.5rem;
}

.vt-vento-uv-form {
    display: grid;
    gap: 16px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 0;
    padding: 20px;
}

.vt-vento-uv-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vt-vento-uv-form-group {
    flex: initial;
    min-width: 0;
    gap: 8px;
}

.vt-vento-uv-form-group label {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
}

.vt-vento-uv-form-group input,
.vt-vento-uv-form-group select {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-sizing: border-box;
    color: #111827;
    font-size: 0.95rem;
    padding: 12px 14px;
    width: 100%;
}

.vt-vento-uv-form-group input:focus,
.vt-vento-uv-form-group select:focus {
    border-color: #9a7341;
    box-shadow: 0 0 0 4px rgba(154, 115, 65, 0.12);
    outline: none;
}

.vt-vento-uv-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    padding: 0.72rem 1.15rem;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.vt-vento-uv-btn:hover:not(:disabled) {
    text-decoration: none;
    transform: translateY(-1px);
}

.vt-vento-uv-btn-primary {
    background: linear-gradient(135deg, #8c673c 0%, #a97c45 100%);
    color: #fff;
    width: 100%;
}

.vt-vento-uv-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #7d5d36 0%, #9a7341 100%);
    color: #fff;
}

.vt-vento-uv-btn-secondary {
    background: #fff;
    border-color: rgba(140, 103, 60, 0.28);
    box-sizing: border-box;
    color: #7b5a36;
}

.vt-vento-uv-btn-secondary:hover:not(:disabled) {
    background: #f7f2e8;
    color: #6d502f;
}

.vt-vento-uv-btn-ghost {
    background: transparent;
    border-color: rgba(79, 61, 41, 0.18);
    color: #4f3d29;
}

.vt-vento-uv-btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.7);
    color: #3d2f21;
}

.vt-vento-uv-disclaimer {
    color: #5f5446;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 14px 2px 0;
}

.vt-vento-uv-explainer {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.75rem;
}

.vt-vento-uv-explainer__card {
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(246, 241, 232, 0.94));
    border: 1px solid rgba(121, 95, 55, 0.14);
    border-radius: 18px;
    padding: 18px 20px;
}

.vt-vento-uv-explainer__card h2 {
    color: #251c14;
    font-size: 1.05rem;
    margin: 0 0 12px;
}

.vt-vento-uv-explainer__card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.vt-vento-uv-explainer__card li {
    color: #4a3d31;
    line-height: 1.55;
}

.vt-vento-uv-results[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .vt-vento-uv-container {
        width: min(100%, calc(100vw - 12px));
        padding: 0;
    }

    .vt-vento-uv-header {
        padding: 20px 18px;
    }

    .vt-vento-uv-form-grid,
    .vt-vento-uv-explainer {
        grid-template-columns: 1fr;
    }
}
