    .linea-verde:after { display:none; }

    :root {
      --bg: #eef3f8;
      --card: #ffffff;
      --line: #d9e2ec;
      --line-2: #ebf0f5;
      --text: #0f172a;
      --muted: #5f6b7a;
      --primary: #0f5ea8;
      --primary-dark: #0b4d89;
      --soft: #f8fafc;
      --success-bg: #dcfce7;
      --success-text: #15803d;
      --warn-bg: #fef3c7;
      --warn-text: #b45309;
      --danger-bg: #fee2e2;
      --danger-text: #b91c1c;
      --radius-xl: 24px;
      --radius-lg: 18px;
      --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    }

    #modallotes .modal-dialog {
      max-width: 1180px;
    }

    #modallotes .modal-content {
      border: 0;
      border-radius: 28px;
      overflow: hidden;
      background: #f3f6fa;
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    }

    #modallotes .modal-header {
     border-bottom: 1px solid var(--line);
     padding: 12px 18px;
     padding: 9px 13.5px;
     background: #fff;
    }
    #modallotes .modal-header .modal-header .close {
     padding: .5rem;
    }

    #modallotes .modal-body {
      padding: 18px;
    }

    .cotizador-layout {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 24px;
    }

    .cot-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .cot-card-body {
     padding: 22px;
     padding: 11px;
    }

    .property-head {
      background: var(--primary);
      background: #242d2c !important;
      color: #fff;
      padding: 18px 22px;
      padding: 9px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .property-title {
      margin: 0;
      font-size: 28px;
      font-size: 22px;
      line-height: 1.1;
      font-weight: 700;
    }

    .property-subtitle {
      margin: 8px 0 0;
      color: rgba(255,255,255,0.88);
      font-size: 14px;
    }

    .property-badge {
      font-size: 12px;
      font-weight: 700;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.18);
      white-space: nowrap;
    }

    .property-grid {
      display: grid;
      grid-template-columns: 1fr 220px;
      gap: 16px;
      padding: 22px;
    }

    .mini-stack {
     display: grid;
     gap: 12px;
     gap: 6px;
    }

    .mini-card {
     background: var(--soft);
     border-radius: var(--radius-lg);
     padding: 16px;
     padding: 0px 0 9px;
    }

    .mini-label {
      font-size: 13px;
      font-size: 12px;
      color: var(--muted);
      font-weight: 700;
      margin-bottom: 6px;
      margin-bottom: 0px;
      line-height: normal;
    }

    .mini-value {
      font-size: 24px;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.15;
      line-height: normal;
      word-break: break-word;
    }

    .lot-shape-wrap {
     display: flex;
     align-items: center;
     justify-content: center;
     border: 2px dashed #b7d986;
     background: #f3fbe9;
     border-radius: var(--radius-xl);
     padding: 20px;
     padding: 15px;
     min-height: 250px;
     min-height: 125px;
     overflow: hidden;
    }

    .lot-shape-image {
      width: 100%;
      max-width: 100%;
      height: 100%;
      min-height: 95px;
      object-fit: cover;
      object-position: center;
      border-radius: 16px;
      display: block;
    }

    .section-title-sm {
     margin: 0 0 18px;
     margin: 0 0 9px;
     font-size: 22px;
     font-size: 20px;
     font-weight: 700;
    }

    .lead-card {
      margin-top: 16px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: #f8fafc;
    }

    .lead-card-head h4 {
      margin: 0;
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }

    .lead-card-head p {
      margin: 6px 0 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }

    .lead-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 12px;
    }

    .lead-note {
      margin-top: 10px;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }

    .fields {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 16px;
     gap: 12px;
    }

    .field.full { grid-column: 1 / -1; }

    .cotizador-layout label {
     display: block;
     font-size: 14px;
     font-size: 12px;
     font-weight: 700;
     color: #374151;
     margin-bottom: 8px;
     margin-bottom: 4px;
     line-height: normal;
    }

    .cotizador-layout select,
    .cotizador-layout input,
    .readonly-box {
     width: 100%;
     height: 50px;
     height: 37.5px;
     height: 25px;
     border: 1px solid #bfcddd;
     border-radius: 16px;
     padding: 0 16px;
     padding: 0 12px;
     font-size: 16px;
     font-size: 14px;
     font-size: 12px;
     color: #334155;
     background: #fff;
     outline: none;
     line-height: normal;
    }

    .cotizador-layout select:focus,
    .cotizador-layout input:focus {
      border-color: var(--primary);
    }

    .cotizador-layout input.input-error {
      border-color: #dc2626;
      background: #fff5f5;
    }

    .readonly-box {
      display: flex;
      align-items: center;
      background: #f8fafc;
      font-weight: 600;
    }

    .button-primary {
      width: 100%;
      border: 0;
      border-radius: 18px;
      background: var(--primary);
      background: #a5854c !important;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 15px;
      font-size: 14px;
      font-weight: 700;
      padding: 14px 18px;
      padding: 7px 9px;
      cursor: pointer;
      transition: background .2s ease;
      margin-top: 18px;
      margin-top: 15px;
    }

    .button-primary i {
      font-size: 13px;
    }

    .button-primary:hover { background: var(--primary-dark); }
    .button-primary:disabled { background: #cbd5e1; cursor: not-allowed; }

    .result-top {
      background: #0f172a;
      background: #a5854c !important;
      color: #fff;
      padding: 22px;
      padding: 11px;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      border: 1px solid #a5854c !important;
    }

    .result-top-eyebrow {
      margin: 0 0 14px;
      margin: 0 0 12px;
      text-transform: uppercase;
      letter-spacing: .18em;
      color: #7dd3fc;
      color: #242d2c !important;
      font-size: 12px;
      font-weight: 700;
    }

    .result-grid { display: grid; gap: 12px; }

    .result-chip {
      background: rgba(255,255,255,0.06);
      border-radius: var(--radius-lg);
      padding: 16px;
      padding: 8px;
    }

    .result-chip-label {
      font-size: 13px;
      font-size: 12px;
      color: #cbd5e1;
      margin-bottom: 8px;
      margin-bottom: 4px;
      line-height: normal;
    }

    .result-chip-value {
      font-size: 26px;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.1;
      line-height: normal;
    }

    .result-chip-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .group-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .group-head {
     background: #f8fafc;
     padding: 18px 20px;
     padding: 9px 10px;
     border-bottom: 1px solid var(--line);
    }

    .group-head h3 {
      margin: 0;
      font-size: 18px;
      font-weight: 700;
    }

    .group-head p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .rows {
      display: grid;
      gap: 1px;
      background: var(--line-2);
    }

    .row-item {
     background: #fff;
     display: grid;
     grid-template-columns: 1fr auto;
     gap: 12px;
     padding: 14px 16px;
     padding: 7px 8px;
     align-items: center;
    }

    .row-item .label {
      font-size: 13px;
      color: #475569;
      font-weight: 700;
      margin: 0;
    }
    .row-item .value {
      font-size: 13px;
      color: #0f172a;
      font-weight: 700;
      text-align: right;
      margin: 0;
    }

    .note-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      padding: 20px;
      box-shadow: var(--shadow);
    }

    .note-card h4 {
      margin: 0 0 10px;
      font-size: 15px;
      font-weight: 700;
    }

    .note-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .alert-lite {
      margin-top: 18px;
      border-radius: 18px;
      border: 1px solid #fecaca;
      background: var(--danger-bg);
      color: var(--danger-text);
      padding: 14px 16px;
      font-size: 14px;
      line-height: 1.5;
    }

    .alert-inline {
      margin-top: 12px;
      font-size: 12px;
      padding: 10px 12px;
    }

    .field-error {
      margin-top: 4px;
      color: #b91c1c;
    }

    .is-hidden { display: none !important; }

    @media (max-width: 991.98px) {
      .cotizador-layout,
      .property-grid,
      .fields,
      .lead-grid,
      .result-chip-grid {
        grid-template-columns: 1fr;
      }
    }
  
