.sdr-mileage-settlement{margin:22px 0;padding:26px;border:1px solid #d9dee5;border-radius:22px;background:#fff}.sdr-ms-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.sdr-ms-head h2{margin:4px 0 0;font-size:30px}.sdr-ms-eyebrow{font-weight:900;letter-spacing:.12em;font-size:13px}.sdr-ms-source{padding:8px 12px;border-radius:999px;background:#eef2f5;color:#58616b;font-weight:700;font-size:13px}.sdr-ms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sdr-ms-grid label,.sdr-ms-final label{position:relative;display:grid;gap:7px;font-weight:700}.sdr-ms-grid input,.sdr-ms-final input{width:100%;padding:14px 48px 14px 14px;border:1px solid #c9d0d8;border-radius:12px;font:inherit;font-weight:700;background:#fff}.sdr-ms-grid input:disabled,.sdr-ms-final input:disabled{background:#f3f5f6;color:#69727c}.sdr-ms-grid small,.sdr-ms-final small{position:absolute;right:14px;bottom:15px;color:#69727c;font-weight:700}.sdr-ms-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.sdr-ms-summary div{padding:16px;border-radius:14px;background:#f4f6f7}.sdr-ms-summary span{display:block;color:#69727c;margin-bottom:6px}.sdr-ms-summary b{font-size:22px}.sdr-ms-final{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.sdr-ms-final button{min-height:52px}.sdr-ms-note{margin:16px 0 0;color:#69727c;line-height:1.55}.sdr-ms-error{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fff0ed;color:#9c2f25}.sdr-ms-ok{margin:-4px 0 16px;padding:12px 14px;border-radius:12px;background:#efffc8;color:#355400;font-weight:800}@media(max-width:720px){.sdr-mileage-settlement{padding:18px}.sdr-ms-head,.sdr-ms-final{grid-template-columns:1fr;display:grid}.sdr-ms-grid,.sdr-ms-summary{grid-template-columns:1fr}.sdr-ms-head h2{font-size:25px}.sdr-ms-source{justify-self:start}}

.sdr-ms-terms-actions{display:flex;justify-content:flex-end;margin:14px 0 24px}
.sdr-ms-terms-actions .button{min-width:260px;min-height:52px}
.sdr-ms-protocol-title{margin:6px 0 12px;font-weight:900;font-size:15px;letter-spacing:.02em}
.sdr-ms-surcharge-save[hidden]{display:none!important}
.sdr-ms-final input:disabled{cursor:not-allowed}
@media(max-width:720px){
  .sdr-ms-terms-actions{justify-content:stretch}
  .sdr-ms-terms-actions .button{width:100%;min-width:0}
}

/* v68 — logika etapów wydanie / zwrot */
.sdr-ms-locked-note{
  margin:12px 0 20px;
  padding:14px 16px;
  border-radius:14px;
  background:#f4f5f6;
  color:#59616b;
}
.sdr-ms-release-reading{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid #dfe3e7;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.sdr-ms-release-reading span{color:#68727e}
.sdr-ms-release-reading strong{text-align:right}
.sdr-ms-return-readings{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.sdr-ms-return-readings>div{
  background:#f5f6f7;
  border-radius:16px;
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
}
.sdr-ms-return-readings span{color:#68727e}
.sdr-ms-return-readings strong{text-align:right}
.sdr-ms-waiting{
  margin:18px 0;
  padding:18px 20px;
  border-radius:16px;
  background:#f7f9ed;
  border:1px solid #dce7ae;
  font-weight:700;
}
.sdr-mileage-return{
  margin-top:20px;
  scroll-margin-top:24px;
}
@media(max-width:720px){
  .sdr-ms-return-readings{grid-template-columns:1fr}
  .sdr-ms-release-reading,
  .sdr-ms-return-readings>div{
    align-items:flex-start;
    flex-direction:column;
  }
  .sdr-ms-release-reading strong,
  .sdr-ms-return-readings strong{text-align:left}
}

/* v71 — przebieg wpisywany w sekcji limitu / rozliczenia */
.sdr-ms-primary-mileage{
  margin-top:20px;
  padding:20px;
  border:1px solid #dfe3e7;
  border-radius:18px;
  background:#fbfcfc;
}
.sdr-ms-primary-mileage>label{
  display:block;
  font-weight:900;
  font-size:18px;
}
.sdr-ms-primary-mileage>p{
  margin:10px 0 0;
  color:#65707b;
}
.sdr-ms-mileage-field{
  position:relative;
  margin-top:10px;
}
.sdr-ms-mileage-field input{
  width:100%;
  box-sizing:border-box;
  padding-right:70px!important;
}
.sdr-ms-mileage-field b{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  color:#66717c;
  pointer-events:none;
}
.sdr-ms-mileage-status{
  margin-top:10px;
  font-weight:700;
  color:#68727e;
}
.sdr-ms-mileage-status.ok{color:#4c6d00}
.sdr-ms-return-source{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.sdr-ms-return-source>div,
.sdr-ms-return-source>label{
  background:#f5f6f7;
  border-radius:16px;
  padding:16px 18px;
  box-sizing:border-box;
}
.sdr-ms-return-source>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.sdr-ms-return-source>label{
  font-weight:800;
}
.sdr-ms-return-source span{color:#68727e}
.sdr-ms-return-source strong{text-align:right}
@media(max-width:720px){
  .sdr-ms-return-source{grid-template-columns:1fr}
}


/* v72 — pole przebiegu ma być widoczne także bez kliknięcia */
.sdr-ms-mileage-field input{
  display:block !important;
  width:100% !important;
  min-height:60px !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1.5px solid #b9c1c9 !important;
  border-radius:12px !important;
  color:#111 !important;
  opacity:1 !important;
  padding:12px 72px 12px 16px !important;
  font-size:22px !important;
  font-weight:800 !important;
  box-shadow:none !important;
  outline:none !important;
}
.sdr-ms-mileage-field input:hover:not(:disabled){
  border-color:#8f99a3 !important;
}
.sdr-ms-mileage-field input:focus{
  border:2px solid #6f9227 !important;
  box-shadow:0 0 0 3px rgba(111,146,39,.12) !important;
}
.sdr-ms-mileage-field input:disabled{
  background:#f1f3f4 !important;
  border-color:#cfd5da !important;
  color:#68727e !important;
}

/* v73 — zwrot jako jeden ciąg: protokół → rozliczenie → podpis */
.protocol-panel form.contract-controls > .sdr-mileage-return{
  width:100%;
  box-sizing:border-box;
  margin:26px 0 18px !important;
  padding:24px !important;
  border:1px solid #d9dee3 !important;
  border-radius:18px !important;
  background:#fafbfb !important;
  box-shadow:none !important;
}
.protocol-panel form.contract-controls > .sdr-mileage-return .sdr-ms-head{
  margin-bottom:18px;
}
.protocol-panel form.contract-controls > .sdr-mileage-return .sdr-ms-flow-note{
  margin-bottom:0;
  padding:14px 16px;
  border-radius:12px;
  background:#f3f8df;
  border:1px solid #dbe8a5;
}
.protocol-panel form.contract-controls > .sdr-mileage-return + .button.dark{
  margin-top:0 !important;
}
