
/* V437R - Quick Quote Pro */
.v437r-quote-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:10px 0 12px;
}
.v437r-quote-kpis article{
  padding:11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--background);
}
.v437r-quote-kpis span{
  display:block;
  font-size:8px;
  font-weight:800;
  letter-spacing:.05em;
  color:var(--muted-foreground);
}
.v437r-quote-kpis strong{
  display:block;
  margin-top:5px;
  font-size:18px;
  line-height:1;
}
.v437r-quote-kpis small{
  display:block;
  margin-top:5px;
  font-size:7.5px;
  color:var(--muted-foreground);
}

.v437r-last-price{
  display:block;
  margin-top:3px;
  font-style:normal;
  font-size:7.5px;
  color:#2563eb;
}
.v437r-price-warning{
  border-color:#f59e0b!important;
  background:#fffbeb!important;
}
.v437r-adjust-line{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:32px;
}
.v437r-adjust-line>span{
  margin:0!important;
  font-size:8.5px!important;
  color:var(--muted-foreground)!important;
}
.v437r-adjust-line input{
  width:120px;
  height:30px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--background);
  padding:0 7px;
  text-align:right;
  font-size:9px;
}
.v437r-status-select{
  height:30px;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--background);
  color:var(--foreground);
  padding:0 7px;
  font-size:8px;
}
.v437r-history-code{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.v437r-status{
  display:inline-flex;
  align-items:center;
  min-height:19px;
  padding:0 6px;
  border-radius:999px;
  font-style:normal;
  font-size:7px;
  font-weight:700;
}
.v437r-status.draft{background:#f1f5f9;color:#475569}
.v437r-status.sent{background:#dbeafe;color:#1d4ed8}
.v437r-status.accepted{background:#dcfce7;color:#15803d}
.v437r-status.rejected{background:#fee2e2;color:#b91c1c}
.v437r-status.expired{background:#fef3c7;color:#a16207}

.v437r-mobile-sticky{
  display:none;
}

@media(max-width:760px){
  .v437r-quote-kpis{
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin:8px 0 10px;
  }
  .v437r-quote-kpis article{
    padding:9px;
  }
  .v437r-quote-kpis strong{
    font-size:15px;
  }

  .v370-lines-table .v437r-last-price{
    font-size:7px;
    line-height:1.35;
  }

  .v437r-mobile-sticky{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:65;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:6px;
    min-height:58px;
    padding:7px 9px calc(7px + env(safe-area-inset-bottom,0px));
    border-top:1px solid var(--border);
    background:rgba(255,255,255,.97);
    box-shadow:0 -8px 24px rgba(15,23,42,.08);
    backdrop-filter:blur(14px);
  }
  .v437r-mobile-sticky>div{
    min-width:0;
  }
  .v437r-mobile-sticky span{
    display:block;
    font-size:7px;
    color:#64748b;
  }
  .v437r-mobile-sticky strong{
    display:block;
    margin-top:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
  }
  .v437r-mobile-sticky button{
    height:34px;
    border:1px solid var(--border);
    border-radius:8px;
    padding:0 9px;
    background:#fff;
    font-size:8px;
    font-weight:700;
  }
  .v437r-mobile-sticky button.preview{
    background:#111827;
    color:#fff;
    border-color:#111827;
  }

  .v370-quote-page{
    padding-bottom:72px!important;
  }
}

@media(max-width:390px){
  .v437r-quote-kpis{
    grid-template-columns:1fr 1fr;
  }
  .v437r-mobile-sticky{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .v437r-mobile-sticky button:first-of-type{
    display:none;
  }
}
