/* Maniobras de descarga (móvil). Solo navy #0B1B4B, lime #C4E000 y grises. */
.dsc-page h1 {
  margin-bottom: 0.25rem;
}

.dsc-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.dsc-fixed {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #0b1b4b;
  color: #ffffff;
}

.dsc-fixed-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c4e000;
}

.dsc-fixed strong {
  font-size: 1.15rem;
}

.dsc-fixed-sub {
  font-size: 0.85rem;
  color: #d5dbe6;
}

.dsc-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #0b1b4b;
}

.dsc-field em {
  font-style: normal;
  font-weight: 500;
  color: #6b7a90;
  font-size: 0.85rem;
}

.dsc-field input,
.dsc-field select {
  width: 100%;
  min-height: 3.5rem;
  padding: 0 0.85rem;
  border: 1px solid #b9c2d0;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1b4b;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
}

.dsc-field input:focus,
.dsc-field select:focus {
  outline: 3px solid #c4e000;
  outline-offset: 1px;
  border-color: #0b1b4b;
}

.dsc-money {
  position: relative;
  display: block;
}

.dsc-money b {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7a90;
  font-size: 1.125rem;
  font-weight: 600;
}

.dsc-money input {
  padding-left: 1.9rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.dsc-hint {
  font-weight: 500;
  font-size: 0.85rem;
  color: #6b7a90;
}

.dsc-page .banner {
  background: #e3e7ee;
  color: #0b1b4b;
  border-left: 4px solid #0b1b4b;
  font-weight: 500;
}

.dsc-save {
  min-height: 3.75rem;
  font-size: 1.15rem;
  width: 100%;
}

.dsc-save[disabled] {
  opacity: 0.6;
}

.dsc-done {
  border: 2px solid #c4e000;
}

.dsc-done-kicker {
  margin: 0;
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #c4e000;
  color: #0b1b4b;
  font-weight: 700;
  font-size: 0.8rem;
}

.dsc-done h2 {
  margin: 0.4rem 0 0.6rem;
}

.dsc-dl {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.dsc-dl div {
  display: grid;
  gap: 0.1rem;
}

.dsc-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7a90;
}

.dsc-dl dd {
  margin: 0;
  color: #0b1b4b;
  font-variant-numeric: tabular-nums;
}

.dsc-today {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.dsc-today a {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid #e3e7ee;
  color: inherit;
  text-decoration: none;
}

.dsc-today-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.dsc-today-sub {
  font-size: 0.85rem;
  color: #6b7a90;
}

.dsc-today-total {
  margin: 0.6rem 0 0;
  color: #0b1b4b;
}

.dsc-empty {
  margin: 0;
}

@media (min-width: 720px) {
  .dsc-page {
    max-width: 34rem;
    margin: 0 auto;
  }
}

/* 178 · Tiempo real: pestañas, abiertas, fotos, captura tardía, alerta. */
.dsc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0.75rem 0;
  padding: 0.3rem;
  border-radius: 12px;
  background: #e3e7ee;
}

.dsc-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  border-radius: 9px;
  color: #0b1b4b;
  font-weight: 700;
  text-decoration: none;
}

.dsc-tabs a.is-on {
  background: #0b1b4b;
  color: #ffffff;
}

.dsc-tabs b {
  min-width: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #c4e000;
  color: #0b1b4b;
  font-size: 0.85rem;
  text-align: center;
}

.dsc-alert {
  display: grid;
  gap: 0.2rem;
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #0b1b4b;
  color: #ffffff;
  border-left: 8px solid #c4e000;
  text-decoration: none;
}

.dsc-alert strong {
  color: #c4e000;
  font-size: 1.05rem;
}

.dsc-alert span {
  color: #d5dbe6;
  font-size: 0.9rem;
}

.dsc-open {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.dsc-open li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid #e3e7ee;
}

.dsc-open li.is-late {
  border-left: 4px solid #c4e000;
  padding-left: 0.6rem;
}

.dsc-open-main {
  display: grid;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.dsc-open-main strong {
  color: #0b1b4b;
  font-size: 1.1rem;
}

.dsc-open-main span {
  font-size: 0.85rem;
  color: #6b7a90;
}

.dsc-open-time {
  font-variant-numeric: tabular-nums;
}

.dsc-open-close {
  min-height: 3rem;
  padding: 0 1.1rem;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.dsc-chip {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #0b1b4b;
  color: #c4e000;
  font-size: 0.75rem;
  font-weight: 700;
}

.dsc-chip-line {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #0b1b4b;
}

.dsc-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dsc-photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  border: 2px dashed #0b1b4b;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1b4b;
  font-weight: 700;
  cursor: pointer;
}

.dsc-photo-btn svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: #0b1b4b;
  stroke-width: 1.8;
}

.dsc-photo-preview,
.dsc-photo-thumb {
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d5dbe6;
}

.dsc-photo-thumb {
  max-height: 9rem;
  margin-top: 0.6rem;
}

.dsc-late {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: #e3e7ee;
  border-left: 6px solid #0b1b4b;
}

.dsc-late p {
  margin: 0;
}

.dsc-late-kicker {
  justify-self: start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #0b1b4b;
  color: #c4e000;
  font-weight: 700;
  font-size: 0.8rem;
}

.dsc-late-why {
  font-weight: 700;
  color: #0b1b4b;
}

.dsc-late-note {
  font-size: 0.85rem;
  color: #6b7a90;
}

.dsc-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b9c2d0;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1b4b;
  font: inherit;
  font-size: 1.05rem;
}

.dsc-field textarea:focus {
  outline: 3px solid #c4e000;
  outline-offset: 1px;
}

.dsc-summary p {
  margin: 0;
}

.dsc-sum-top {
  display: flex;
  justify-content: space-between;
  color: #0b1b4b;
  font-size: 1.15rem;
}

.dsc-sum-top span {
  font-size: 0.9rem;
  color: #6b7a90;
}

.dsc-sum-sub {
  color: #6b7a90;
}

.dsc-sum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.dsc-sum-grid div {
  display: grid;
  padding: 0.5rem;
  border-radius: 8px;
  background: #0b1b4b;
  color: #ffffff;
}

.dsc-sum-grid span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c4e000;
}

.dsc-sum-grid strong {
  font-variant-numeric: tabular-nums;
}

.dsc-done.is-held {
  border-color: #0b1b4b;
}

.dsc-done.is-held .dsc-done-kicker {
  background: #0b1b4b;
  color: #c4e000;
}

.dsc-done .dsc-save {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dsc-form[hidden] {
  display: none;
}

.dsc-field input[readonly] {
  background: #e3e7ee;
  color: #0B1B4B;
  cursor: default;
}
.dsc-hint.dsc-tarifa {
  color: #0B1B4B;
  font-weight: 600;
}
.dsc-hint.dsc-sin-tarifa {
  color: #6b7a90;
}

.dsc-alert-wrap { display: grid; gap: 0.6rem; margin: 0.75rem 0; }
.dsc-alert-wrap .dsc-alert { margin: 0; }
.dsc-alert-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.1rem;
  border-radius: 10px;
  border: 2px solid #0b1b4b;
  background: #ffffff;
  color: #0b1b4b;
  font-weight: 700;
  text-decoration: none;
}
.dsc-open-actions { display: flex; flex-direction: column; gap: 0.4rem; flex: none; }
.dsc-open-cancel {
  min-height: 3rem;
  padding: 0 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b1b4b;
  background: #ffffff;
  color: #0b1b4b;
}
