    body {
        font-family: "Inter", Arial, sans-serif;
        background: #f5f5f7;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        padding-top: 40px;
    }

    .container {
        background: #ffffff;
        width: 100%;
        max-width: 940px;
        padding: 40px 32px;
        border-radius: 18px;
        box-shadow: 0px 10px 30px rgba(0,0,0,0.08);
        animation: fadeIn .5s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .logo {
        max-width: 220px;
        display: block;
        margin: 0 auto 14px auto;
    }

    h2 {
        color: #222;
        margin-bottom: 4px;
        font-size: 22px;
        text-align: center;
    }

    p.subtitle {
        color: #666;
        margin-bottom: 24px;
        font-size: 14px;
        text-align: center;
    }

    label {
        display: block;
        text-align: left;
        margin-top: 12px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
    }

    input {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        border: 1px solid #d2d2d2;
        border-radius: 10px;
        font-size: 15px;
        background: #fafafa;
    }

    button {
        width: 100%;
        padding: 14px;
        background: #1A73E8;
        color: white;
        font-size: 16px;
        border-radius: 12px;
        border: none;
        margin-top: 26px;
        cursor: pointer;
        transition: 0.25s;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    button:hover {
        background: #0c5fcc;
    }

    .msg {
        margin-top: 18px;
        font-size: 14px;
        min-height: 24px;
        text-align: center;
    }

    .processing {
        animation: pulse 1.2s infinite;
        color: #1A73E8;
        font-weight: 600;
    }

    @keyframes pulse {
        0% { opacity: .4; }
        50% { opacity: 1; }
        100% { opacity: .4; }
    }

    .dashboard {
        margin-top: 24px;
        display: none;
    }

    .section-title {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #333;
    }

    .kpi-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
    }

    .kpi-card {
        flex: 1;
        min-width: 90px;
        background: #f6f8ff;
        border-radius: 12px;
        padding: 10px 12px;
        border: 1px solid #d8def8;
        text-align: left;
    }

    .kpi-label {
        font-size: 11px;
        text-transform: uppercase;
        color: #6b6f80;
        letter-spacing: 0.6px;
        margin-bottom: 4px;
    }

    .kpi-value {
        font-size: 20px;
        font-weight: 700;
        color: #1A73E8;
    }

    .kpi-sub {
        font-size: 12px;
        color: #666;
    }

    .info-block {
        background: #fafafa;
        border-radius: 12px;
        padding: 12px 14px;
        border: 1px solid #e2e2e8;
        font-size: 13px;
        margin-bottom: 14px;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        margin-bottom: 2px;
    }

    .info-row span.label {
        font-weight: 600;
        color: #444;
    }

    .tradelines-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 8px;
        font-size: 12px;
    }

    .tradelines-table th,
    .tradelines-table td {
        border: 1px solid #e0e0e0;
        padding: 6px 6px;
        text-align: left;
    }

    .tradelines-table th {
        background: #f2f4ff;
        font-weight: 600;
    }

    .pill-open {
        background: #e6f7e9;
        color: #137333;
        padding: 2px 6px;
        border-radius: 999px;
        font-size: 11px;
    }

    .pill-closed {
        background: #ffe7e7;
        color: #c5221f;
        padding: 2px 6px;
        border-radius: 999px;
        font-size: 11px;
    }

    @media (max-width: 600px) {
        .container {
            padding: 28px 18px;
            border-radius: 0;
            box-shadow: none;
        }
    }
    
    .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 8px;
        align-items: flex-end;
    }
    
    .field-group {
        flex: 1 1 0;
        min-width: 200px;
    }
    
    .field-group input {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        border: 1px solid #d2d2d2;
        border-radius: 10px;
        font-size: 15px;
        background: #fafafa;
        box-sizing: border-box;
    }
    
    
    .checkbox-inline label {
        font-weight: 400;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 0;
    }
    
    .checkbox-inline input[type="checkbox"] {
        width: auto;
    }
    
    
    .consent-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
        font-size: 13px;
    }
    
    .consent-row label {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        font-weight: 400;
    }
    
    .consent-row input[type="checkbox"] {
        width: auto;
    }
    
    .terms-link {
        color: #1A73E8;
        text-decoration: underline;
        cursor: pointer;
        white-space: nowrap;
    }
    
    @media (max-width: 640px) {
        .form-row {
            flex-direction: column;
        }
        .consent-row {
            flex-direction: column;
            align-items: flex-start;
        }
    }
    
    
    .score-gauge-block {
        background: #fafafa;
        border-radius: 12px;
        border: 1px solid #e2e2e8;
        padding: 18px 22px;
        display: flex;
        flex-wrap: nowrap;              /* <- NO hacer wrap en desktop */
        align-items: center;
        justify-content: space-between; /* gráfico izq, texto der */
        gap: 24px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 18px;
    }
    
    .score-thermo {
        flex: 0 0 60%;
        max-width: 60%;            /* un poco más ancho */
    }
    
    .score-thermo-bar {
        position: relative;
        width: 100%;                 /* barra ocupa todo el ancho de .score-thermo */
        height: 20px;
        border-radius: 999px;
        background: linear-gradient(
            90deg,
            #d93025 0%,    /* poor */
            #f9ab00 25%,   /* fair */
            #fbbc04 50%,   /* good */
            #34a853 75%,   /* very good */
            #0b8043 100%   /* excellent */
        );
        box-shadow: inset 0 0 4px rgba(0,0,0,0.15);
    }
    
    .score-thermo-pointer {
        position: absolute;
        top: -6px;
        width: 0;
        height: 32px;
        border-left: 2px solid #111;
        transition: left .4s ease;
    }
    
    .score-thermo-pointer::after {
        content: "";
        position: absolute;
        left: -6px;
        bottom: -8px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #111;
        box-shadow: 0 0 4px rgba(0,0,0,0.25);
    }
    
    .score-thermo-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 6px;
        padding: 0 3px;
        font-size: 11px;
        color: #666;
    }
    
    .score-gauge-info {
        flex: 0 0 40%;
        max-width: 40%;
        min-width: 230px;
    }
    
    .score-main {
        font-size: 22px;
        font-weight: 700;
        color: #1A73E8;
    }
    
    .score-label-chip {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
        margin-top: 6px;
    }
    
    @media (max-width: 768px) {
        .score-gauge-block {
            flex-wrap: wrap;            /* en móvil sí se apilan */
            justify-content: center;
        }
        .score-thermo,
        .score-gauge-info {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .score-gauge-info {
            text-align: center;
            margin-top: 10px;
        }
    }



