.eqa-quote-wrap {
    --eqa-accent: #f27922;
    --eqa-accent-dark: color-mix(in srgb, var(--eqa-accent) 82%, #000);
    --eqa-charcoal: #171717;
    --eqa-muted: #62625e;
    --eqa-border: #deded9;
    --eqa-soft: #f5f5f2;
    --eqa-max-width: 1120px;
    max-width: var(--eqa-max-width);
    margin: 32px auto;
    color: var(--eqa-charcoal);
    font-family: Arial, Helvetica, sans-serif;
}
.eqa-quote-wrap *, .eqa-form-selector * { box-sizing: border-box; }
.eqa-quote-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--eqa-border);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,.07);
}
.eqa-quote-head {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 24px 30px;
    background: #e7e7e4;
    border-bottom: 5px solid var(--eqa-accent);
}
.eqa-quote-logo { width: 116px; max-height: 70px; object-fit: contain; object-position: left center; }
.eqa-quote-head h2 { margin: 0 0 5px; font-size: 24px; line-height: 1.15; color: #171717; }
.eqa-quote-head p { margin: 0; color: #41413e; font-size: 14px; line-height: 1.45; }
.eqa-quote-form { padding: 28px; }
.eqa-section { padding: 24px 0; border-bottom: 1px solid var(--eqa-border); }
.eqa-section:first-of-type { padding-top: 0; }
.eqa-section:last-of-type { border-bottom: 0; }
.eqa-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 17px;
    color: #202020;
}
.eqa-section h3::before { content: ""; width: 7px; height: 24px; border-radius: 4px; background: var(--eqa-accent); flex: 0 0 auto; }
.eqa-section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.eqa-section-title-row h3 { margin-bottom: 0; }
.eqa-section-help { margin: 0 0 16px; color: var(--eqa-muted); font-size: 13px; }
.eqa-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.eqa-c1 { grid-column: span 1; }.eqa-c2 { grid-column: span 2; }.eqa-c3 { grid-column: span 3; }.eqa-c4 { grid-column: span 4; }.eqa-c5 { grid-column: span 5; }.eqa-c6 { grid-column: span 6; }.eqa-c7 { grid-column: span 7; }.eqa-c8 { grid-column: span 8; }.eqa-c9 { grid-column: span 9; }.eqa-c10 { grid-column: span 10; }.eqa-c11 { grid-column: span 11; }.eqa-c12 { grid-column: span 12; }
.eqa-label, .eqa-quote-wrap legend { display: block; margin: 0 0 7px; color: #30302d; font-size: 13px; font-weight: 700; }
.eqa-quote-wrap fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.eqa-quote-wrap input[type=text],
.eqa-quote-wrap input[type=email],
.eqa-quote-wrap input[type=number],
.eqa-quote-wrap input[type=date],
.eqa-quote-wrap input[type=url],
.eqa-quote-wrap input[type=tel],
.eqa-quote-wrap textarea,
.eqa-quote-wrap select {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #cfcfca;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 14px;
    box-shadow: none;
}
.eqa-quote-wrap input[readonly] { background: #f1f1ef; color: #5d5d59; }
.eqa-quote-wrap textarea { min-height: 96px; resize: vertical; }
.eqa-quote-wrap input:focus, .eqa-quote-wrap textarea:focus, .eqa-quote-wrap select:focus { outline: 0; border-color: var(--eqa-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--eqa-accent) 18%, transparent); }
.eqa-options { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 2px; }
.eqa-option { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; cursor: pointer; }
.eqa-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--eqa-accent); }
.eqa-help { display: block; margin-top: 6px; color: var(--eqa-muted); font-size: 12px; line-height: 1.4; }
.eqa-conditional { display: none; }
.eqa-conditional.eqa-show { display: block; }
.eqa-subbox { margin-top: 18px; padding: 18px; border: 1px solid var(--eqa-border); border-radius: 10px; background: var(--eqa-soft); }
.eqa-upload { padding: 17px; border: 1px dashed #bcbcb6; border-radius: 10px; background: var(--eqa-soft); }
.eqa-upload input[type=file] { width: 100%; font-size: 14px; }
.eqa-audio-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 10px; }
.eqa-audio-controls button, .eqa-ai-process {
    border: 1px solid color-mix(in srgb, var(--eqa-accent) 70%, #777);
    border-radius: 8px;
    padding: 10px 14px;
    background: #fff;
    color: #242421;
    font-weight: 700;
    cursor: pointer;
}
.eqa-audio-controls button:hover, .eqa-ai-process:hover { border-color: var(--eqa-accent); background: color-mix(in srgb, var(--eqa-accent) 8%, #fff); }
.eqa-audio-controls button:disabled, .eqa-ai-process:disabled { opacity: .55; cursor: wait; }
.eqa-audio-controls span { color: var(--eqa-muted); font-size: 12px; }
.eqa-audio audio { display: block; width: 100%; max-width: 520px; margin: 10px 0; }
.eqa-audio audio[hidden] { display: none; }
.eqa-ai-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--eqa-accent) 35%, var(--eqa-border));
    border-left: 5px solid var(--eqa-accent);
    border-radius: 11px;
    background: color-mix(in srgb, var(--eqa-accent) 5%, #fff);
}
.eqa-ai-review p { margin: 5px 0 0; color: var(--eqa-muted); font-size: 13px; line-height: 1.45; }
.eqa-ai-process { background: var(--eqa-accent); color: #fff; border-color: var(--eqa-accent); }
.eqa-ai-process:hover { color: #fff; filter: brightness(.94); }
.eqa-ai-result { display: none; grid-column: 1 / -1; padding: 13px 15px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.eqa-ai-result.is-loading, .eqa-ai-result.success, .eqa-ai-result.warning, .eqa-ai-result.error { display: block; }
.eqa-ai-result.is-loading { background: #f2f2ef; color: #4b4b47; }
.eqa-ai-result.success { background: #e6f4e8; color: #205d2a; border: 1px solid #b8ddbd; }
.eqa-ai-result.error { background: #fbeaea; color: #9a2020; border: 1px solid #efbcbc; }
.eqa-ai-result p { color: inherit; }
.eqa-ai-result ul { margin: 8px 0 0 20px; }
.eqa-regulator-result { grid-column: 1 / -1; padding: 16px; border: 1px solid #cbd8e5; border-radius: 8px; background: #f3f7fb; color: #233d50; font-size: 14px; line-height: 1.5; }
.eqa-regulator-result[hidden] { display: none; }
.eqa-regulator-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: transparent; color: inherit; }
.eqa-regulator-result p { color: inherit; }
.eqa-regulator-result summary { cursor: pointer; margin-top: 12px; }
.eqa-email-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.eqa-email-controls button {
    border: 1px solid color-mix(in srgb, var(--eqa-accent) 70%, #777);
    border-radius: 8px;
    padding: 9px 13px;
    background: #fff;
    color: #242421;
    font-weight: 700;
    cursor: pointer;
}
.eqa-email-controls button:disabled { opacity: .55; cursor: wait; }
.eqa-email-controls span { color: var(--eqa-muted); font-size: 12px; }
.eqa-email-preview { display: none; margin-top: 12px; padding: 13px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.eqa-email-preview.is-loading, .eqa-email-preview.success, .eqa-email-preview.error { display: block; }
.eqa-email-preview.is-loading { background: #f1f1ef; color: #4b4b47; }
.eqa-email-preview.success { background: #fff; border: 1px solid #d8d8d2; }
.eqa-email-preview.error { background: #fbeaea; color: #9a2020; border: 1px solid #efbcbc; }
.eqa-email-preview p { margin: 6px 0; color: inherit; }
.eqa-email-body-preview { max-height: 180px; overflow: auto; margin-top: 10px; padding: 10px; border-radius: 6px; background: #f6f6f3; white-space: pre-wrap; color: #444; }
.eqa-actions { padding-top: 26px; }
.eqa-privacy { margin: 0 0 12px; color: var(--eqa-muted); font-size: 12px; line-height: 1.45; }
.eqa-submit, .eqa-add-item {
    border: 0;
    border-radius: 9px;
    padding: 13px 22px;
    background: var(--eqa-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}
.eqa-submit:hover, .eqa-add-item:hover { filter: brightness(.92); transform: translateY(-1px); color: #fff; }
.eqa-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.eqa-message { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 8px; font-size: 14px; }
.eqa-message.success { display: block; background: #e6f4e8; color: #205d2a; border: 1px solid #b8ddbd; }
.eqa-message.warning { display: block; background: #fff4d9; color: #6d5100; border: 1px solid #efd488; }
.eqa-message.error { display: block; background: #fbeaea; color: #9a2020; border: 1px solid #efbcbc; }
.eqa-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.eqa-accessory-items { display: grid; gap: 18px; }
.eqa-accessory-item { padding: 18px; border: 1px solid var(--eqa-border); border-radius: 12px; background: #fafaf8; }
.eqa-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.eqa-item-head strong { font-size: 15px; }
.eqa-remove-item { border: 0; background: transparent; color: #a42323; font-weight: 700; cursor: pointer; padding: 5px; }
.eqa-accessory-item:only-child .eqa-remove-item { visibility: hidden; }
.eqa-quote-access { max-width: 720px; margin: 30px auto; padding: 24px; border: 1px solid #deded9; border-left: 5px solid #f27922; border-radius: 10px; background: #fff; }
.eqa-quote-access p { margin: 8px 0 16px; }
.eqa-quote-login { display: inline-block; padding: 10px 15px; border-radius: 7px; background: #f27922; color: #fff; text-decoration: none; font-weight: 700; }
.eqa-form-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1120px; margin: 30px auto; font-family: Arial, Helvetica, sans-serif; }
.eqa-selector-card { display: block; padding: 24px; border: 1px solid #deded9; border-radius: 14px; background: #fff; color: #1b1b1b; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease; }
.eqa-selector-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.09); color: #1b1b1b; }
.eqa-selector-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 10px; background: #f27922; color: #fff; font-size: 21px; font-weight: 700; }
.eqa-selector-card h3 { margin: 0 0 9px; font-size: 20px; }
.eqa-selector-card p { min-height: 60px; margin: 0 0 18px; color: #5f5f5a; font-size: 14px; line-height: 1.45; }
.eqa-selector-link { color: #d95d0d; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) {
    .eqa-form-selector { grid-template-columns: 1fr; }
    .eqa-selector-card p { min-height: 0; }
}
@media (max-width: 760px) {
    .eqa-quote-wrap { margin: 18px 0; }
    .eqa-quote-head { padding: 20px; gap: 14px; align-items: flex-start; }
    .eqa-quote-logo { width: 88px; max-height: 55px; }
    .eqa-quote-head h2 { font-size: 20px; }
    .eqa-quote-form { padding: 20px; }
    .eqa-grid > [class^="eqa-c"] { grid-column: span 12; }
    .eqa-section-title-row { align-items: flex-start; flex-direction: column; }
    .eqa-add-item { width: 100%; }
    .eqa-ai-review { grid-template-columns: 1fr; }
    .eqa-ai-process { width: 100%; }
}

/* Formularios de aplicación */
.eqa-app-result{display:none;margin-top:10px;padding:10px 12px;border:1px solid #e4e4df;border-radius:8px;background:#f7f7f5;color:#242421;font-size:13px;line-height:1.45}
.eqa-app-result.eqa-show{display:block}
.eqa-app-result strong{color:#171717}
.eqa-app-result small{color:#66665f}
.eqa-ai-result.warning { background:#fff5df; border:1px solid #e7bd60; color:#674600; }
