/* Number inputs retain typed entry without browser increment controls. */
#km,#damageValue{appearance:textfield;-moz-appearance:textfield}
#km::-webkit-inner-spin-button,#km::-webkit-outer-spin-button,#damageValue::-webkit-inner-spin-button,#damageValue::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Figma 04: the existing terms dialog remains functional, with the designed surface. */
.terms-overlay{background:rgba(0,0,0,.64)}
.terms-modal{width:min(1020px,calc(100vw - 36px));border-radius:10px;background:#fff}
.terms-modal>header{padding:26px 32px 7px;background:#fff;text-align:center}
.terms-modal h2{color:#333;font:700 32px/1.15 "Myriad Pro",Arial,sans-serif}
.terms-modal>header::after{content:"";display:block;width:64px;height:4px;margin:16px auto 0;border-radius:2px;background:#ed1c24}
.terms-content{padding:18px 38px 14px;color:#605f5e;font:400 15px/1.45 Arial,sans-serif}
.terms-content li::before{width:6px;height:6px;background:#ed1c24}
.terms-modal>footer{display:flex;justify-content:center;padding:12px 28px 25px}
.terms-modal footer .btn{min-width:300px}
@media(max-width:700px){
  .terms-modal>header{padding:20px 18px 5px}
  .terms-modal h2{font-size:26px}
  .terms-content{padding:16px 22px;font-size:14px}
  .terms-modal>footer{padding:12px 20px 18px}
  .terms-modal footer .btn{min-width:0;width:100%}
}
