/* Theme scale: 1rem = 10 design pixels at 1440 desktop / 360 mobile. */
.documents-page{color:#333;padding-bottom:8rem}
.documents-page [hidden]{display:none!important}
.documents-page .container{width:124rem;max-width:124rem;padding:0;margin-left:auto;margin-right:auto}
.documents-page__breadcrumb{font-size:1.6rem;line-height:2rem;margin-top:2rem;margin-bottom:1.6rem}
.documents-page .documents-page__title{font-size:3.4rem;line-height:4rem;font-weight:900;margin-bottom:2.4rem}
.documents-page .contract-form{background:#f1f1f1;border-radius:3.2rem;padding:5.2rem 10.5rem 4rem;display:flex;flex-direction:column;gap:2.6rem}
.contract-section{background:#fff;border-radius:3.2rem;padding:2.8rem 8.5rem 4.2rem;min-width:0}
.contract-section h2{font-size:2.2rem;line-height:4rem;font-weight:700;margin:0 0 2.2rem}
.contract-section h3{font-size:1.8rem;line-height:2.2rem;font-weight:700;margin:0 0 1.6rem}
.contract-section--vehicle h2{margin-bottom:.4rem}
.contract-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:4rem;row-gap:2.4rem}
.contract-field{position:relative;display:block;min-width:0;height:4.8rem;margin:0}
.contract-field input{width:100%;height:100%;box-sizing:border-box;border:.1rem solid transparent;border-bottom:.2rem solid #b5b5b5;border-radius:.4rem .4rem 0 0;background:#f1f1f1;color:#333;padding:1.7rem .8rem .5rem;font:500 1.6rem/2rem 'SF Pro Display',sans-serif;outline:none;box-shadow:none}
.contract-field__label{position:absolute;left:.8rem;right:.4rem;top:1.4rem;pointer-events:none;font-size:1.6rem;line-height:2rem;font-weight:500;color:#828282;white-space:nowrap;transition:font-size .12s,top .12s}
.contract-field input:focus{background:#fff;border-color:#b5b5b5}
.contract-field input:focus+.contract-field__label,.contract-field input:not(:placeholder-shown)+.contract-field__label{top:.2rem;font-size:1.1rem;line-height:1.3rem}
.contract-field input[aria-invalid=true]{border-color:#ef3124;background:#fff}
.contract-field__error{position:absolute;top:100%;left:0;font-size:1rem;line-height:1.4rem;color:#ef3124}
.contract-group+.contract-group{margin-top:2.8rem}
.contract-vehicle-tabs{display:inline-flex;background:#f1f1f1;border-radius:3.2rem;padding:.2rem;margin-bottom:2.4rem}
.contract-vehicle-tabs button{font-family:inherit;font-weight:700;font-size:1.4rem;line-height:2rem;background:transparent;color:#333;border:0;border-radius:3.2rem;padding:.4rem 1.8rem;min-height:2.8rem;cursor:pointer}
.contract-vehicle-tabs button[aria-pressed=true]{background:#ef3124;color:#fff}
.contract-vehicle-tabs button:hover:not([aria-pressed=true]){background:#e3e3e3}
.contract-grid--identifier{grid-template-columns:41rem;margin-bottom:2.4rem}
.contract-radios{display:flex;align-items:center;gap:2rem;margin-bottom:2rem}
.contract-radios label{display:flex;align-items:center;gap:.6rem;cursor:pointer;font-size:1.6rem;line-height:2rem;font-weight:500}
.contract-radios input{appearance:none;width:2rem;height:2rem;margin:0;border:.1rem solid #888;border-radius:50%;background:#fff;display:grid;place-content:center;flex-shrink:0}
.contract-radios input:checked{border-color:#ef3124}
.contract-radios input:checked:after{content:'';width:1.2rem;height:1.2rem;background:#ef3124;border-radius:50%}
.contract-radios--sts{margin-top:2.4rem;margin-bottom:2.4rem}
.contract-grid--person{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:2rem}
.contract-grid--person .contract-field{grid-column:span 2}
.contract-grid--person .contract-field--half{grid-column:span 3}
.contract-grid--person .contract-field--full{grid-column:1/-1}
.contract-section--person h2{margin-bottom:.8rem}
.document-button{display:flex;align-items:center;justify-content:center;gap:1.2rem;min-width:0;height:4.8rem;padding:0 1rem;border:0;border-radius:.8rem;background:#ef3124;color:#fff;font-size:1.8rem;line-height:2rem;font-weight:700;text-align:center;cursor:pointer;text-decoration:none}
.document-button:hover:not(:disabled){background:#d7251b;color:#fff}
.document-button:active:not(:disabled){background:#bb2118}
.document-button:disabled,.document-button--secondary{background:#b5b5b5;color:#fff;cursor:default}
.document-button--secondary[href]{cursor:pointer}
.document-button:focus-visible,.contract-vehicle-tabs button:focus-visible,.contract-radios input:focus-visible{outline:.2rem solid #333;outline-offset:.3rem}
.document-icon{width:4rem;height:4.8rem;object-fit:contain;flex-shrink:0}
.document-button .document-icon{width:3.2rem;height:4rem}
.contract-send__mobile{display:none}
.contract-form__note{font-size:1.6rem;line-height:1.8rem;font-weight:500;color:#828282;margin:0}
.contract-form__status,.ready-documents__status{font-size:1.6rem;line-height:2rem;margin-top:2rem}
.ready-documents{margin-top:3.4rem}
.ready-documents>h2{font-size:3.4rem;line-height:4rem;font-weight:900;margin-bottom:3.4rem}
.ready-documents__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.5rem;background:#f1f1f1;border-radius:3.2rem;padding:5.7rem 10.5rem 5.8rem}
.document-card{background:#fff;border-radius:3.2rem;padding:3.6rem 1.6rem 3.4rem}
.document-card__heading{display:flex;gap:.8rem;align-items:center;margin-bottom:2.4rem}
.document-card__heading h3{font-size:1.8rem;line-height:2rem;font-weight:500;margin:0}
.document-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:1.8rem}
.document-card .document-button{font-size:1.4rem;height:3.5rem;border-radius:.8rem;padding:0 .5rem}
@media(max-width:992px){
 html:has(.documents-page){scrollbar-width:none}
 html:has(.documents-page)::-webkit-scrollbar{display:none}
 .documents-page{padding-bottom:6rem}
 .documents-page .container{width:32rem;max-width:32rem}
 .documents-page__breadcrumb{font-size:1rem;line-height:1.2rem;margin-top:1rem;margin-bottom:.6rem}
 .documents-page .documents-page__title{font-size:2.2rem;line-height:2.2rem;margin-bottom:2.4rem}
 .documents-page .contract-form{width:36rem;max-width:36rem;padding:2.6rem 2rem 4rem;gap:2.4rem}
 .contract-section{padding:2.8rem 1rem 3.6rem;border-radius:3.2rem}
 .contract-section h2{font-size:1.6rem;line-height:1.7rem;min-height:2.3rem;margin-bottom:.8rem;display:flex;align-items:center}
 .contract-section h3{font-size:1.4rem;line-height:1.7rem;margin-bottom:1.4rem}
 .contract-grid,.contract-grid--identifier,.contract-grid--person{grid-template-columns:1fr;gap:1.8rem}
 .contract-grid--person .contract-field{grid-column:auto}
 .contract-field{height:4rem}
 .contract-field input{font-size:1.4rem;line-height:2rem;padding:1.2rem 1rem .3rem}
 .contract-field__label{left:1rem;top:1rem;font-size:1.4rem;line-height:2rem}
 .contract-field input:focus+.contract-field__label,.contract-field input:not(:placeholder-shown)+.contract-field__label{font-size:1rem;line-height:1.1rem;top:.1rem}
 .contract-field__error{font-size:1rem;line-height:1.3rem}
 .contract-group+.contract-group{margin-top:2.4rem}
 .contract-vehicle-tabs{margin-bottom:1.8rem;width:30rem}
 .contract-vehicle-tabs button{font-size:1.2rem;line-height:1.6rem;min-height:2.4rem;padding:.4rem 1rem;flex:1}
 .contract-grid--identifier{margin-bottom:1.8rem}
 .contract-radios{gap:1.8rem;margin-bottom:1.8rem}
 .contract-radios label{font-size:1.2rem;line-height:1.4rem;gap:.4rem}
 .contract-radios input{width:1.6rem;height:1.6rem}
 .contract-radios input:checked:after{width:1rem;height:1rem}
 .contract-radios--sts{margin:2rem 0 1.8rem}
 .contract-section--person h2{margin-bottom:.6rem}
 .contract-section--delivery{padding-bottom:4.2rem}
 .contract-section--delivery .contract-grid{gap:2.2rem}
 .contract-section--delivery .document-button{height:4rem;width:24.6rem;margin:auto;font-size:1.6rem}
 .document-button .document-icon{width:2.8rem;height:3.4rem}
 .contract-send__desktop{display:none}.contract-send__mobile{display:inline}
 .contract-form__note{font-size:1.6rem;line-height:1.8rem}
 .ready-documents{margin-top:4rem}
 .ready-documents>h2{font-size:2.4rem;line-height:2.8rem;margin-bottom:2.4rem}
 .ready-documents__grid{grid-template-columns:1fr;gap:2rem;padding:2.6rem 1rem}
 .document-card{padding:2.4rem 1.6rem}
 .document-card__heading{gap:1.2rem;margin-bottom:2rem}
 .document-card__heading h3{font-size:1.6rem;line-height:1.8rem}
 .document-card .document-button{height:3.2rem;font-size:1.4rem}
}
@media (min-width:993px) {
  .documents-page+.banner_bottom { padding:3.3rem 0 4.1rem; border-radius:3.2rem 3.2rem 0 0; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .container { width:124rem; max-width:124rem; padding:0; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-container { display:flex; flex-direction:column; gap:2rem; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom h2 { margin:0; text-align:left; font-size:3.4rem; line-height:3.8rem; font-weight:400; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom h2 b { font-weight:900; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-item { padding:2.1rem 4.3rem; min-height:18rem; height:auto; gap:0.4rem; border-radius:3.2rem; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-item h3 { margin:0; font-size:2.4rem; line-height:3.8rem; font-weight:900; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-item p { margin:0; font-size:1.6rem; line-height:1.8rem; font-weight:500; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-item__button { width:19rem; min-height:4rem; height:4rem; padding:0; margin-top:auto; border-radius:0.8rem; font-size:1.6rem; font-weight:700; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-main { display:flex; flex-direction:column; gap:2rem; }
}
@media (min-width:993px) {
  .documents-page+.banner_bottom .banner_bottom-main>p { margin:0; font-size:2rem; line-height:1.8rem; font-weight:400; }
}
@media(max-width:992px){
  .documents-page+.banner_bottom{padding:4rem 0 3.6rem;border-radius:3.2rem 3.2rem 0 0}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-container{gap:2rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom h2{font-size:2.4rem;line-height:2.8rem;font-weight:400;margin:0;text-align:left}
}
@media(max-width:992px){
  .documents-page+.banner_bottom h2 b{font-weight:900}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-grid{grid-template-columns:1fr;gap:2rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item{height:22.4rem;min-height:22.4rem;padding:2.8rem 1.9rem 2.7rem;gap:.9rem;border-radius:3.2rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item h3{height:2.7rem;display:flex;align-items:center;margin:0;font-size:1.8rem;line-height:1.8rem;font-weight:900}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item p{margin:0;font-size:1.6rem;line-height:1.8rem;font-weight:500}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item__button{width:15rem;height:4rem;min-height:4rem;padding:0;margin-top:auto;font-size:1.4rem;font-weight:700;border-radius:.8rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item:nth-child(2){padding-top:2.2rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-item:nth-child(2) h3{height:3.6rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-main{gap:2rem}
}
@media(max-width:992px){
  .documents-page+.banner_bottom .banner_bottom-main>p{font-size:1.8rem;line-height:3.2rem;font-weight:400;margin:0}
}



/* PDF image exported from the reference design. */
@media(min-width:993px){.document-card .document-icon{width:6.2rem;height:7.6rem}}
@media(max-width:992px){.document-card__actions{gap:1rem}}

.contract-send span{color:inherit}
.document-card__heading h3{white-space:nowrap}

/* Available contract actions are red; unavailable and busy actions stay grey. */
.contract-form .document-button--ready{background:#ef3124;color:#fff;cursor:pointer}
.contract-form .document-button--ready:hover{background:#d7251b}
.contract-form .document-button:disabled{background:#b5b5b5;color:#fff;cursor:not-allowed}
.contract-form__status--error{color:#c7281e}
.contract-field:has(input[aria-invalid=true]){margin-bottom:1.3rem}

/* Card dimensions measured from the document frames. */
@media(max-width:992px){
 .ready-documents{margin-top:6rem}
 .ready-documents__grid{width:36rem;margin-left:-2rem;padding:3.4rem 2rem;gap:2rem}
 .document-card{height:16.3rem;padding:3.2rem 1.7rem 2.8rem}
 .document-card__heading{height:5rem;gap:1.3rem;margin:0 .6rem 1.7rem}
 .document-card__heading .document-icon{width:4.3rem;height:5rem}
 .document-card__heading h3{font-size:1.4rem;line-height:1.5rem;font-weight:500}
 .document-card__actions{gap:2rem}
 .document-card .document-button{height:3.6rem}
}

/* Mobile form section geometry from the 360px reference. */
@media(max-width:992px){
 .documents-page .documents-page__title{margin-bottom:1.6rem}
 .documents-page .contract-form{gap:3.1rem}
 .contract-section--date{padding-bottom:3.8rem;margin-bottom:-.8rem}
 .contract-section--vehicle{padding-bottom:5.5rem}
 .contract-section--vehicle .contract-group+.contract-group{margin-top:2.7rem}
 .contract-section--person{padding-top:3.6rem;padding-bottom:5.5rem}
 .contract-section--delivery{padding-bottom:4.4rem}
 .contract-form__note{margin-top:-.5rem}
 .documents-page+.banner_bottom .container{width:32rem;max-width:32rem;padding:0}
}
