/* Buscador de cliente, listas de comprobación, inicio de sesión y avisos emergentes. */
.picked {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent-soft);
}
.picker {
  max-height: 340px;
  overflow: auto;
}
.picker .item.first {
  background: var(--surface-2);
}
details.mes > summary {
  list-style: none;
  cursor: pointer;
}
details.mes > summary::-webkit-details-marker {
  display: none;
}
details.mes > summary b::before {
  content: '▸ ';
  color: var(--muted);
}
details.mes[open] > summary b::before {
  content: '▾ ';
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
}
.check-list li.si {
  color: var(--ok);
}
.check-list li.no {
  color: var(--bad);
}
.checks.col {
  flex-direction: column;
  gap: 10px;
}
.checks.col label {
  align-items: flex-start;
  font-size: 14.5px;
}
.checks.col input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: none;
}
.chkcell {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.chkcell input {
  width: 18px;
  height: 18px;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
body::before {
  display: none;
}
.hdr {
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
}
main.in {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}
.user {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.login {
  max-width: 400px;
  margin: 10vh auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login .btn {
  padding: 10px;
}
.toast.err {
  background: var(--bad);
  color: var(--surface);
}
.dim {
  opacity: 0.62;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

a.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sec.next {
  border-color: var(--accent);
}
.sec.next .sec-h {
  background: var(--accent-soft);
}
.nx-cli {
  font: 700 18px var(--f-display);
}

/* Parte del técnico: con «Rellenar en la oficina» se ocultan los campos del parte. */
.form .parte-det {
  display: contents;
}
.form .parte-det.off {
  display: none;
}
