/* Marca del entorno de pruebas. */
/* ===== v3 · Entorno de pruebas ===== */
.test-band {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 6;
  background: #d9480f;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
}
html.pruebas .top {
  top: calc(env(safe-area-inset-top, 0px) + 30px);
}
.fu-cli-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 4px;
}
.fu-cli-ok .btn {
  padding: 2px 8px;
}
.cli-logo {
  max-height: 44px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.cv-head .cli-logo {
  max-height: 56px;
  max-width: 220px;
  margin-bottom: 6px;
}
.userbox .cli-logo {
  max-height: 26px;
  max-width: 120px;
}
.logo-ficha {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.logo-prev {
  height: 72px;
  max-width: 280px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0/16px 16px;
}
.logo-prev img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.logo-prev.vacio {
  color: var(--muted);
  font-size: 13px;
  background: var(--surface-2);
}
.pcard {
  cursor: pointer;
}
.presup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
}
.presup-t {
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  align-items: baseline;
}
.presup-t b {
  font-family: var(--f-mono);
  font-weight: 600;
}
.pcard:hover {
  border-color: var(--line-strong);
}
.pcard .ttl .code {
  display: block;
  margin-bottom: 2px;
}
h2.sec .bactions {
  flex-wrap: nowrap;
}
.adj-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 13px;
}
.adj-mini a {
  color: var(--accent-strong);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.adj-mini a:hover {
  text-decoration: underline;
}
.btn .cnt {
  font-size: 11px;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 0 6px;
  color: var(--muted);
}
.adj-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adj {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  background: var(--surface);
}
.adj.void {
  opacity: 0.55;
}
.adj.void .adj-n {
  text-decoration: line-through;
}
.adj-ic {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 10.5px var(--f-mono);
  color: var(--muted);
  overflow: hidden;
  text-transform: uppercase;
}
.adj-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adj-n {
  font-weight: 500;
  overflow-wrap: anywhere;
  color: var(--fg);
  text-decoration: none;
}
.adj-n:hover {
  text-decoration: underline;
}
.adj-s {
  color: var(--muted);
  font-size: 12px;
}
.adj-b {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.adj-up {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.adj-up input[type='file'] {
  display: none;
}
.adj-prog {
  font-size: 12.5px;
  color: var(--muted);
}
html.movil .adj {
  grid-template-columns: 44px minmax(0, 1fr);
}
html.movil .adj-b {
  grid-column: 1/-1;
  justify-content: flex-start;
}
.sel-buscar {
  width: 100%;
  margin-bottom: 6px;
}
.filters .busca-par {
  display: flex;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}
.filters .busca-par .sel-buscar {
  width: 170px;
  margin: 0;
}
html.movil .mfilters .sel-buscar {
  margin-bottom: 0;
}
.asig-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}
.asig-tools input {
  flex: 1 1 200px;
}
#fu-cli {
  margin-top: 6px;
}
.asig-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px 14px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
