/* Presupuestos de jardinería — estilos
   Paleta: pino (tinta), verde del logo, jabre (arena de granito de la sierra), suelo (fondo). */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --suelo: #E8EDE6;
  --hoja: #FFFFFF;
  --pino: #183A26;
  --pino-2: #24503A;
  --verde: #3F8F2F;
  --verde-osc: #2E6B22;
  --brote: #DDEBD5;
  --jabre: #C49A5C;
  --jabre-claro: #F2E6D2;
  --gris: #56655A;
  --linea: #CAD4C6;
  --rojo: #B3261E;
  --foco: #1F6FD1;
  --radio: 10px;
  --radio-s: 6px;
  --sombra: 0 1px 2px rgba(24, 58, 38, .08), 0 2px 8px rgba(24, 58, 38, .06);
  --f-texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-titulo: "Barlow SC", "Barlow", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--suelo);
  color: var(--pino);
  font: 400 17px/1.45 var(--f-texto);
  font-variant-numeric: tabular-nums;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--f-titulo); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
h1 { font-size: 30px; }
h2 { font-size: 21px; margin-bottom: 12px; }
a { color: var(--verde-osc); }
small { color: var(--gris); font-weight: 400; }
code { font-size: .9em; background: var(--brote); padding: 0 4px; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
  background: var(--pino); color: #fff;
}
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.marca img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; flex: none; }
.marca span { font: 600 18px/1.1 var(--f-titulo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  color: #D7E6D1; text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 8px 10px; border-radius: var(--radio-s);
}
.nav a:hover { color: #fff; background: var(--pino-2); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--jabre); border-radius: 0; }
@media (max-width: 560px) {
  .marca span { display: none; }
  .nav { margin-left: auto; }
  .nav a { padding: 8px 8px; font-size: 15.5px; }
}

.main { max-width: 860px; margin: 0 auto; padding: 18px 16px 40px; }
.v-editor .main { padding-bottom: 150px; }

.cabecera { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 16px; flex-wrap: wrap; }
.volver { display: inline-block; font-weight: 500; text-decoration: none; margin-bottom: 4px; }
.volver::before { content: "‹ "; font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  font: 600 16px/1.1 var(--f-texto); color: var(--pino);
  background: var(--hoja); border: 1.5px solid var(--linea); border-radius: var(--radio-s);
  cursor: pointer; text-decoration: none; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--verde); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-prim { background: var(--verde); border-color: var(--verde); color: #fff; }
.btn-prim:hover { background: var(--verde-osc); border-color: var(--verde-osc); }
.btn-grande { min-height: 52px; font-size: 18px; width: 100%; }
.btn-texto { background: none; border-color: transparent; color: var(--verde-osc); padding-inline: 8px; }
.btn-texto:hover { border-color: transparent; text-decoration: underline; }
.peligro { color: var(--rojo) !important; }
.btn-archivo { position: relative; overflow: hidden; }
.btn-archivo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 100px; }
.btn-archivo:focus-within { outline: 3px solid var(--foco); outline-offset: 2px; }
.btn-icono {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: none; border: 0; border-radius: var(--radio-s); color: var(--gris); cursor: pointer;
}
.btn-icono:hover { background: var(--suelo); color: var(--pino); }
.btn-icono svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Formularios ---------- */
.tarjeta { background: var(--hoja); border-radius: var(--radio); padding: 16px; box-shadow: var(--sombra); margin-bottom: 16px; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 15px; color: var(--gris); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 400 17px/1.3 var(--f-texto); color: var(--pino);
  background: #FBFCFA; border: 1.5px solid var(--linea); border-radius: var(--radio-s);
  -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--verde); outline: none; box-shadow: 0 0 0 3px var(--brote); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; accent-color: var(--verde); margin: 0; flex: none; }
label.check { flex-direction: row; align-items: center; gap: 10px; color: var(--pino); font-size: 16px; min-height: 44px; }
label.check small { display: block; margin-top: 1px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rejilla .ancho { grid-column: 1 / -1; }
@media (max-width: 480px) { .rejilla { grid-template-columns: 1fr; } }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fila-acc { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 4px; }
.error { background: #FBE9E7; color: var(--rojo); padding: 10px 12px; border-radius: var(--radio-s); margin: 0; font-weight: 500; }
.nota { color: var(--gris); margin: 0; font-size: 15px; }
details > summary { cursor: pointer; font-weight: 600; color: var(--verde-osc); padding: 10px 0; list-style-position: inside; }
details[open] > summary { margin-bottom: 8px; }

/* ---------- Acceso ---------- */
.v-acceso { display: grid; place-items: start center; padding: 40px 16px; }
.acceso { width: 100%; max-width: 380px; text-align: center; }
.acceso-logo { margin: 0 auto 12px; width: 150px; height: auto; }
.acceso h1 { margin-bottom: 18px; }
.acceso .form { text-align: left; }
.acceso .nota { margin-bottom: 16px; }

/* ---------- Lista de presupuestos ---------- */
.buscador { margin-bottom: 14px; }
.lista-pres { list-style: none; margin: 0; padding: 0; background: var(--hoja); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; }
.lista-pres li { display: flex; align-items: center; border-bottom: 1px solid var(--suelo); }
.lista-pres li:last-child { border-bottom: 0; }
.lp-enlace { flex: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 8px 12px 16px; color: inherit; text-decoration: none; min-width: 0; }
.lp-enlace:hover { background: #F6F9F4; }
.lp-num { font: 700 20px/1 var(--f-titulo); color: var(--jabre); min-width: 3ch; }
.lp-cliente { display: flex; flex-direction: column; min-width: 0; }
.lp-cliente strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-cliente span { color: var(--gris); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-total { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font: 600 18px/1 var(--f-titulo); white-space: nowrap; }
.lp-acc { display: flex; padding-right: 6px; }
.etiqueta { font: 600 12.5px/1 var(--f-texto); padding: 3px 7px; border-radius: 20px; background: var(--suelo); color: var(--gris); }
.etq-env { background: var(--brote); color: var(--verde-osc); }
@media (max-width: 520px) {
  .lp-enlace { gap: 10px; padding-left: 12px; }
  .lp-acc .btn-icono { width: 36px; }
}
.vacio { text-align: center; padding: 36px 16px; background: var(--hoja); border-radius: var(--radio); box-shadow: var(--sombra); }
.vacio p { margin: 0 0 16px; color: var(--gris); }

/* ---------- Editor ---------- */
.estado-guardado { color: var(--gris); font-size: 14.5px; min-height: 1.2em; }
.estado-guardado.pendiente { color: var(--jabre); }
.estado-guardado.error { background: none; padding: 0; color: var(--rojo); }
.mas-datos { margin-top: 8px; border-top: 1px solid var(--suelo); }
.mas-datos .check { align-self: end; }

.bloque-partidas { margin-bottom: 16px; }
.bloque-partidas > h2 { margin: 6px 0 10px; }
.lineas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.linea {
  --l-izq: 88px; --l-der: 44px;
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: start;
  background: var(--hoja); border-radius: var(--radio); padding: 10px; box-shadow: var(--sombra);
  position: relative;
}
.linea.nueva { animation: aparece .25s ease-out; }
@keyframes aparece { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .linea.nueva { animation: none; } }

/* La mini foto como etiqueta de vivero */
.l-foto {
  width: 76px; height: 76px; padding: 0; border: 0; cursor: pointer;
  border-radius: 8px; overflow: hidden; background: var(--jabre-claro);
  display: grid; place-items: center; color: #9C7A45; position: relative;
}
.l-foto img { width: 100%; height: 100%; object-fit: cover; }
.l-foto svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.l-foto .l-foto-txt { position: absolute; bottom: 5px; left: 0; right: 0; font-size: 11.5px; font-weight: 600; text-align: center; }
.l-foto.con-foto::after { content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(24,58,38,.12); }

.l-cuerpo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.l-desc-wrap { position: relative; }
.l-desc {
  min-height: 46px !important; resize: none; overflow: hidden; font-weight: 500 !important; line-height: 1.3 !important;
}
.l-nums { display: grid; grid-template-columns: minmax(64px, 1fr) minmax(64px, .9fr) minmax(76px, 1.1fr); gap: 6px; align-items: end; }
.l-nums label { font-size: 13px; gap: 2px; }
.l-nums input { min-height: 42px !important; padding: 8px 9px !important; text-align: right; }
.l-nums input.l-unidad { text-align: left; }
.l-importe { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--gris); padding-top: 2px; }
.l-importe strong { font: 600 19px/1 var(--f-titulo); color: var(--pino); }
.l-importe .l-cat { color: var(--verde-osc); font-weight: 500; }
.l-menu { display: flex; flex-direction: column; gap: 0; margin: -4px -4px 0 0; }
.l-menu .btn-icono { width: 36px; height: 36px; }
.l-menu .btn-icono svg { width: 19px; height: 19px; }

.linea.seccion {
  grid-template-columns: 1fr auto; align-items: center;
  background: var(--jabre-claro); box-shadow: none; border-left: 5px solid var(--jabre); padding: 6px 6px 6px 12px;
}
.linea.seccion .l-desc { background: transparent; border-color: transparent; font: 700 18px/1.2 var(--f-titulo) !important; min-height: 42px !important; padding-left: 4px; }
.linea.seccion .l-desc:focus { background: #fff; }
.linea.seccion .l-menu { flex-direction: row; margin: 0; }

@media (max-width: 420px) {
  .linea { grid-template-columns: 60px 1fr auto; gap: 10px; padding: 8px; --l-izq: 70px; --l-der: 42px; }
  .l-foto { width: 60px; height: 60px; }
  .l-foto .l-foto-txt { display: none; }
}

/* Sugerencias del catálogo bajo la descripción */
.sugerencias {
  position: absolute; top: calc(100% + 4px); z-index: 15;
  /* ocupa todo el ancho de la tarjeta, no solo el de la descripción */
  left: calc(-1 * var(--l-izq)); right: calc(-1 * var(--l-der));
  list-style: none; margin: 0; padding: 4px; background: #fff; border-radius: var(--radio-s);
  box-shadow: 0 10px 30px rgba(24,58,38,.22), 0 0 0 1px var(--linea);
  max-height: 340px; overflow-y: auto;
}
.sugerencias li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 5px; cursor: pointer; }
.sugerencias li[aria-selected="true"], .sugerencias li:hover { background: var(--brote); }
.sugerencias .s-img { width: 44px; height: 44px; border-radius: 5px; object-fit: cover; background: var(--jabre-claro); }
.sugerencias .s-nom { font-weight: 500; line-height: 1.2; }
.sugerencias .s-nom small { display: block; font-size: 13px; }
.sugerencias .s-pre { font: 600 15px/1 var(--f-titulo); white-space: nowrap; }
.sugerencias .s-nuevo { grid-template-columns: 1fr; color: var(--gris); font-size: 14.5px; cursor: default; }
.sugerencias .s-nuevo:hover { background: none; }

.vacio-lineas { background: var(--hoja); border: 2px dashed var(--linea); border-radius: var(--radio); padding: 18px; color: var(--gris); text-align: center; }
.vacio-lineas p { margin: 0; }
.anadir { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.anadir .btn-prim { flex: 1 1 100%; }
.anadir .btn:not(.btn-prim) { flex: 1 1 0; }

/* Barra de totales fija */
.totales {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: var(--pino); color: #fff;
  padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  display: flex; gap: 14px; align-items: center; justify-content: center;
  box-shadow: 0 -4px 16px rgba(24,58,38,.25);
}
.t-cifras { display: flex; gap: 18px; margin: 0; align-items: flex-end; }
.t-cifras div { display: flex; flex-direction: column; }
.t-cifras dt { font-size: 13px; color: #B7CDB0; }
.t-cifras dd { margin: 0; font: 600 16px/1.15 var(--f-titulo); white-space: nowrap; }
.t-cifras .t-total dd { font-size: 27px; font-weight: 700; color: #fff; }
.t-cifras .t-total dt { color: var(--jabre); font-weight: 600; }
.t-acciones { display: flex; gap: 8px; margin-left: auto; }
.btn-claro { background: transparent; color: #fff; border-color: #5B7F68; }
.btn-claro:hover { border-color: #fff; }
.btn-enviar { background: var(--jabre); border-color: var(--jabre); color: var(--pino); }
.btn-enviar:hover { background: #D3AC70; border-color: #D3AC70; }
.totales > * { max-width: 828px; }
@media (min-width: 900px) { .totales { padding-left: calc((100vw - 828px) / 2); padding-right: calc((100vw - 828px) / 2); } }
@media (max-width: 600px) {
  .totales { flex-wrap: wrap; gap: 8px; padding-top: 8px; }
  .t-cifras { width: 100%; justify-content: space-between; gap: 10px; }
  .t-cifras .t-total { margin-left: auto; align-items: flex-end; }
  .t-cifras .t-total dd { font-size: 25px; }
  .t-acciones { width: 100%; margin: 0; }
  .t-acciones .btn { flex: 1; }
}

/* ---------- Diálogos ---------- */
.dlg {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  border: 0; border-radius: 14px; padding: 16px; color: var(--pino);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.dlg::backdrop { background: rgba(16, 36, 24, .55); }
.dlg-alto { height: calc(100dvh - 24px); display: none; flex-direction: column; gap: 10px; }
.dlg-alto[open] { display: flex; }
.dlg-cab { display: flex; justify-content: space-between; align-items: center; margin: -4px -6px 10px 0; }
.dlg-cab h2 { margin: 0; }
.dlg-alto .dlg-cab { margin-bottom: 0; }
@media (max-width: 600px) {
  .dlg { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .dlg-alto { height: 92dvh; }
}
.pila { display: flex; flex-direction: column; gap: 8px; }
.df-prev { width: 140px; height: 140px; margin: 0 auto 14px; border-radius: 10px; overflow: hidden; background: var(--jabre-claro); display: grid; place-items: center; color: #9C7A45; }
.df-prev img { width: 100%; height: 100%; object-fit: cover; }
.df-prev svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.di-foto { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.di-foto .df-prev { width: 120px; height: 120px; margin: 0; }
.di-foto .pila .btn { min-height: 40px; }
.fila-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; overflow-y: auto; }
.fila-fotos button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--suelo); cursor: pointer; aspect-ratio: 1; }
.fila-fotos button:hover, .fila-fotos button:focus-visible { border-color: var(--verde); }
.fila-fotos img { width: 100%; height: 100%; object-fit: cover; }
.cargando { color: var(--gris); padding: 16px 0; text-align: center; }

.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; flex: none; }
.chip { flex: none; min-height: 36px; padding: 6px 12px; border-radius: 20px; border: 1.5px solid var(--linea); background: #fff; font: 500 15px/1 var(--f-texto); color: var(--pino); cursor: pointer; }
.chip[aria-selected="true"] { background: var(--pino); border-color: var(--pino); color: #fff; }

.cat-res { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.cat-res li { border-bottom: 1px solid var(--suelo); }
.cat-res button { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 4px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.cat-res button:hover { background: #F6F9F4; }
.cat-res img, .cat-res .sin-img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--jabre-claro); }
.cr-nom { font-weight: 500; line-height: 1.2; }
.cr-nom { min-width: 0; }
.cr-nom small { display: block; font-size: 13.5px; font-style: italic; }
.cr-pre { font: 600 16px/1 var(--f-titulo); white-space: nowrap; text-align: right; }
.cr-pre small { display: block; font: 400 13px var(--f-texto); margin-top: 3px; }
.cat-res .cr-ok { color: var(--verde); }

.de-resumen { margin: 0; padding: 10px 12px; background: var(--brote); border-radius: var(--radio-s); }

/* ---------- Catálogo ---------- */
.cat-filtros { display: grid; grid-template-columns: 1fr 230px; gap: 8px; margin-bottom: 12px; }
@media (max-width: 560px) { .cat-filtros { grid-template-columns: 1fr; } }
.aviso-fotos { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--jabre-claro); border-left: 5px solid var(--jabre); border-radius: var(--radio-s); padding: 10px 12px; margin-bottom: 14px; }
.aviso-fotos p { margin: 0; }
.cat-grupo { margin-bottom: 18px; }
.cat-grupo h2 { font-size: 19px; display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.cat-grupo h2 small { font: 400 14px var(--f-texto); }
.cat-lista ul { list-style: none; margin: 0; padding: 0; background: var(--hoja); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; }
.cat-lista li { border-bottom: 1px solid var(--suelo); }
.cat-lista li:last-child { border-bottom: 0; }
.cat-lista li.inactivo { opacity: .5; }
.cat-lista button { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.cat-lista button:hover { background: #F6F9F4; }
.cat-lista img, .cat-lista .sin-img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--jabre-claro); }
.sin-img { display: grid; place-items: center; color: #B3925E; }
.sin-img svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Ajustes ---------- */
.aj-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.aj-logo img { width: 96px; height: auto; border-radius: 8px; border: 1px solid var(--suelo); }
.barra-guardar { position: sticky; bottom: 0; padding: 10px 0 14px; background: linear-gradient(transparent, var(--suelo) 30%); margin-bottom: 8px; }
.usuarios { list-style: none; padding: 0; margin: 0 0 8px; }
.usuarios li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--suelo); }
.version { text-align: center; color: var(--gris); font-size: 13px; }

/* ---------- Aviso flotante ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 8px;
  background: var(--pino); color: #fff; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }
.aviso.mal { background: var(--rojo); }
.v-editor .aviso { bottom: 150px; }
@media (prefers-reduced-motion: reduce) { .aviso { transition: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Foto de internet: pegar desde Google */
.dw-form { display: flex; gap: 8px; flex: none; }
.dw-form input { flex: 1; min-width: 0; }
.dw-pegar { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--brote); border-radius: var(--radio-s); flex: none; }
.dw-pegar .btn { align-self: flex-start; }
.dw-pegar .nota { font-size: 14px; }
.dw-libres { margin-top: 2px; flex: none; }
.fila-fotos .cargando { grid-column: 1 / -1; }
.linea.seccion .s-vacia { display: none; grid-column: 1 / -1; margin: -2px 0 2px 4px; font-size: 13.5px; color: #8a6a2c; }
.linea.seccion.vacia .s-vacia { display: block; }
.linea.seccion .s-total { grid-column: 1 / -1; margin: -2px 6px 2px 4px; font-size: 14.5px; color: #6b5330; text-align: right; }
.linea.seccion .s-total strong { font: 700 17px/1 var(--f-titulo); color: var(--pino); margin-left: 4px; }
.linea.seccion.vacia .s-total { display: none; }
