/* Piezas propias del sistema interno de Arquinieros (se suman a panel.css). Acento: azul petróleo sobrio. */

:root {
  --marca: #0b7285; --marca-fondo: #e3f2f5;
  --l-disp: #dcf3e6; --l-disp-b: #35a56d; --l-apar: #ffe7b3; --l-apar-b: #e09a1a; --l-vend: #0b7285; --l-vend-b: #07505e;
  --mapa-suelo: #f1f1ee; --mapa-calle: #dcdcd8; --mapa-linea: #fbfbf9; --mapa-verde: #bfe2c9; --mapa-arbol: #5aa575;
}
@media (prefers-color-scheme: dark) {
  :root {
    --marca: #4fc3d4; --marca-fondo: rgba(79, 195, 212, .16);
    --l-disp: #12392a; --l-disp-b: #3fc283; --l-apar: #4a3510; --l-apar-b: #ffb340; --l-vend: #167f93; --l-vend-b: #4fc3d4;
    --mapa-suelo: #121214; --mapa-calle: #2a2a2e; --mapa-linea: #4b4b52; --mapa-verde: #1d4a35; --mapa-arbol: #3fa26b;
  }
}

/* marca y cabecera */
.lado .marca { padding: 0 8px 20px; display: block; }
.logo-caja { display: inline-flex; align-items: center; gap: 11px; color: var(--texto); }
.logo-casa { flex: none; }
.logo-txt { display: grid; line-height: 1.1; }
.logo-txt b { font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.logo-txt small { font-size: 10.5px; color: var(--texto-3); letter-spacing: .04em; margin-top: 3px; }
.menu .contador { margin-left: auto; }
.vista { max-width: 1440px; }

/* rejillas */
.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dos, .dos-b, .dos-iguales, .terr { min-width: 0; }
.dos-b { grid-template-columns: 1.4fr 1fr; align-items: start; }
.terr { grid-template-columns: 1.85fr 1fr; align-items: start; }
.rejilla > * { min-width: 0; }
.kpi.atento .num { color: var(--ambar); }
.sin-pad-cuerpo .tarjeta-cuerpo { padding: 0 0 6px; }
@media (max-width: 1180px) { .k5 { grid-template-columns: repeat(3, 1fr); } .dos-b, .terr { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .k5, .k4, .k3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .k5, .k4, .k3 { grid-template-columns: 1fr; } }
.kpi .num { white-space: nowrap; }
.k5 .kpi .num { font-size: 36px; }

.punto.ok { background: var(--verde); box-shadow: 0 0 0 4px var(--verde-fondo); }
.lineas { display: grid; }
.linea-p { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.linea-p.total { border-bottom: 0; font-size: 16px; padding-top: 12px; }
.linea-p b { font-variant-numeric: tabular-nums; text-align: right; }
.acciones-col { display: grid; gap: 10px; }
.acciones-col .btn { width: 100%; }
.mini-sel { width: auto; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; }
.pie-lista { padding: 0 22px 18px; }

/* barras con colores */
.barra .pista i { background: var(--marca); }
.barra .pista i.rojo { background: var(--rojo); }
.barra .pista i.ambar { background: var(--ambar); }
.barra .pista i.verde { background: var(--verde); }
.barra .pista i.marca { background: var(--marca); }
.barra span { min-width: 0; }
.pista.fina { height: 6px; background: var(--campo); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; width: 150px; max-width: 100%; }
.pista.fina.ancha { width: 100%; }
.pista.fina i { display: block; height: 100%; border-radius: 99px; transition: width .6s; }
.stock-ctl { display: inline-flex; align-items: center; gap: 8px; }
.stock-ctl b { min-width: 30px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.stock-ctl .btn { padding: 2px 10px; }
.embudo .tubo i { background: var(--marca); }
.embudo .fila:last-child .tubo i { background: var(--verde); }

/* listas de la pantalla de resumen */
.lista-min { list-style: none; margin: 0; padding: 0; }
.lista-min li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--linea); cursor: pointer; }
.lista-min li:first-child { border-top: 0; }
.lista-min b { display: block; font-weight: 600; letter-spacing: -.015em; }
.lista-min small { color: var(--texto-3); font-size: 12.5px; }
.lista-obras { list-style: none; margin: 0; padding: 0 0 8px; }
.fila-obra { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 26px; border-top: 1px solid var(--linea); cursor: pointer; transition: background .15s; }
.fila-obra:first-child { border-top: 0; }
.fila-obra:hover { background: var(--hover); }
.fo-n b { display: block; font-weight: 600; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-n small { color: var(--texto-3); font-size: 12.5px; }
.fo-b { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.fo-b .pista { height: 8px; background: var(--campo); border-radius: 99px; overflow: hidden; }
.fo-b .pista i { display: block; height: 100%; border-radius: 99px; background: var(--marca); width: var(--w, 0); transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.fo-b .pista i.rojo { background: var(--rojo); } .fo-b .pista i.ambar { background: var(--ambar); }
@media (max-width: 700px) { .fila-obra { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 20px; } .fo-b { grid-column: 1 / -1; order: 3; } }
.lateral-lotes { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.leyenda-v { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; min-width: 150px; }
.leyenda-v li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.leyenda-v b { margin-left: auto; font-size: 17px; }
.pt { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; border: 2px solid; }
.pt.disp { background: var(--l-disp); border-color: var(--l-disp-b); }
.pt.apar { background: var(--l-apar); border-color: var(--l-apar-b); }
.pt.vend { background: var(--l-vend); border-color: var(--l-vend-b); }
.leyenda .pt { margin-right: 6px; }
.leyenda i.pt { width: 11px; height: 11px; }
.ley-a, .ley-b { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.ley-a { background: var(--marca); } .ley-b { background: var(--linea-fuerte); }
.anillo-g { color: var(--texto); flex: none; }
.anillo-g .arco { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1); }
.anillo-n { font-size: 22px; font-weight: 700; fill: currentColor; letter-spacing: -.03em; }
.anillo-s { font-size: 7.5px; fill: var(--texto-3); }

/* gráficos */
.grafico svg { width: 100%; height: auto; display: block; }
.grafico text { font-family: var(--sans); font-size: 11.5px; fill: var(--texto-3); }
.grafico .val { fill: var(--texto-2); font-size: 10.5px; font-weight: 600; }
.grafico .eje { stroke: var(--linea-fuerte); stroke-width: 1; }
.grafico .guia { stroke: var(--linea); stroke-width: 1; stroke-dasharray: 4 5; }
.grafico .col { animation: sube .8s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
.grafico .col.a { fill: var(--marca); }
.grafico .col.b { fill: var(--linea-fuerte); }
@keyframes sube { from { transform: scaleY(0); } }

/* tableros arrastrables */
.kan-card { cursor: grab; user-select: none; -webkit-user-drag: element; }
.kan-card:active { cursor: grabbing; }
.kan-card.arrastrando { opacity: .45; transform: rotate(1.5deg); }
.columna { transition: background .2s, box-shadow .2s; }
.columna.sobre { background: var(--marca-fondo); box-shadow: inset 0 0 0 2px var(--marca); }
.col-vacia { text-align: center; color: var(--texto-3); font-size: 13px; padding: 22px 0; }
.kan4 { overflow-x: auto; }
.consulta .pie .esp { flex: 1; }
.consulta.proy { padding-top: 12px; }
.foto-marca { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 14px; background: var(--campo); }
.foto-marca.mini { height: 96px; margin-bottom: 10px; }
.foto-marca.ancha { height: 190px; border-radius: 18px; }
.confeti { position: fixed; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; z-index: 400; animation: confeti 1.4s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes confeti { to { transform: translate(var(--dx), calc(var(--dy) * -1 + 380px)) rotate(var(--r)); opacity: 0; } }
.avatar-g { font-variant-numeric: normal; }
.avatar-g.ok { box-shadow: 0 0 0 2.5px var(--verde); }
.avatar-g.falta { box-shadow: 0 0 0 2.5px var(--rojo); opacity: .6; }
.avatares { display: flex; }
.avatares .avatar-g { width: 28px; height: 28px; font-size: 10px; margin-left: -8px; border: 2px solid var(--papel); }
.avatares .avatar-g:first-child { margin-left: 0; }
.avatares.grandes { flex-wrap: wrap; gap: 8px; }
.avatares.grandes .avatar-g { width: 40px; height: 40px; font-size: 13px; margin-left: 0; border: 0; }
.persona-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.persona-id b { display: block; font-weight: 600; letter-spacing: -.015em; }
.persona-id small { color: var(--texto-3); font-size: 12.5px; }
.segmento.mini button { padding: 5px 11px; font-size: 12.5px; }

/* obras */
.rejilla-obras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); gap: 16px; }
.obra-card { cursor: pointer; transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s; }
.obra-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .35); }
.obra-card > .foto-marca, .obra-card > .foto-sim { height: 170px; border-radius: 0; }
.obra-card > .foto-marca { object-position: center 30%; }
.obra-cuerpo { padding: 18px 20px 20px; }
.obra-cuerpo h3 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; margin-top: 12px; line-height: 1.2; }
.obra-cli { font-size: 13px; color: var(--texto-3); margin-top: 2px; }
.obra-cifras { font-size: 12.5px; color: var(--texto-3); margin-top: 6px; text-align: right; }
.obra-pie { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--texto-3); }
.foto-sim { position: relative; overflow: hidden; border-radius: 14px; height: 120px; }
.foto-sim.grande { height: 190px; border-radius: 18px; }
.foto-sim .foto-svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.foto-etq { position: absolute; left: 8px; bottom: 6px; font-size: 10.5px; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .35); padding: 1px 8px; border-radius: 99px; }
.ficha-av { display: flex; align-items: center; gap: 20px; margin: 18px 0 8px; }
.ficha-av-d { flex: 1; min-width: 0; }
.ficha-datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0; }
.ficha-datos div { background: var(--hover); border-radius: 14px; padding: 12px; }
.ficha-datos small { display: block; color: var(--texto-3); font-size: 12px; }
.ficha-datos b { font-size: 15px; letter-spacing: -.02em; }
.cuad-lista { display: grid; gap: 10px; }
.cuad-p { display: flex; align-items: center; gap: 12px; }
.cuad-p b { display: block; font-weight: 600; font-size: 14px; }
.cuad-p small { color: var(--texto-3); font-size: 12.5px; }
.bitacora { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bitacora li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.bitacora li:not(:has(.foto-sim)) { grid-template-columns: 1fr; }
.bitacora .foto-sim { height: 72px; border-radius: 12px; }
.bitacora .foto-etq { display: none; }
.bit-cab { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.bitacora p { margin: 4px 0 2px; font-size: 14px; }
.bitacora small { color: var(--texto-3); font-size: 12.5px; }
.rango { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.rango input { margin: 0; padding: 0; background: none; accent-color: var(--marca); }
.rango-val { min-width: 62px; text-align: right; font-size: 20px; letter-spacing: -.03em; color: var(--marca); }
label.campo.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--texto); }
.tiempo { list-style: none; display: flex; margin: 8px 0 4px; padding: 0; }
.tiempo li { flex: 1; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--texto-3); position: relative; text-align: center; }
.tiempo li i { width: 14px; height: 14px; border-radius: 50%; background: var(--linea-fuerte); position: relative; z-index: 1; transition: background .4s; }
.tiempo li::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--linea-fuerte); }
.tiempo li:first-child::before { display: none; }
.tiempo li.hecho { color: var(--texto); font-weight: 600; }
.tiempo li.hecho i, .tiempo li.hecho::before { background: var(--marca); }
.tareas { list-style: none; margin: 0; padding: 0; }
.tareas li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linea); }
.tareas li:first-child { border-top: 0; }
.tareas li.hecho b { text-decoration: line-through; color: var(--texto-3); }
.tareas b { font-weight: 500; }
.tareas input[type=checkbox] { width: 20px; height: 20px; margin: 0; }
.pill.atraso { background: var(--rojo-fondo); color: var(--rojo); }
.mes .dia { min-height: 104px; }
.mes .dia.hoy .n { background: var(--marca); color: #fff; }
@media (max-width: 900px) { .mes .dia { min-height: 64px; padding: 4px; } .mes .dia .n { min-width: 22px; height: 22px; font-size: 11.5px; } }

/* CRM */
.chat { display: grid; gap: 10px; margin: 6px 0; }
.burbuja { max-width: 92%; padding: 11px 14px; border-radius: 18px; font-size: 14px; background: var(--hover); }
.burbuja small { display: block; font-size: 11.5px; color: var(--texto-3); margin-bottom: 2px; }
.burbuja.bot { justify-self: end; background: var(--marca-fondo); display: flex; gap: 10px; align-items: flex-start; }
.avatar-bot { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.notas { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.notas li { background: var(--hover); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.notas small { display: block; color: var(--texto-3); font-size: 11.5px; }

/* selector de materiales (órdenes de compra) */
.selector-prod { display: grid; gap: 6px; max-height: 44vh; overflow: auto; padding: 2px; margin-bottom: 8px; }
.sp-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--hover); transition: background .2s, box-shadow .2s; }
.sp-fila.on { background: var(--marca-fondo); box-shadow: inset 0 0 0 1.5px var(--marca); }
.sp-n b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.015em; }
.sp-n small { color: var(--texto-3); font-size: 12px; }
.mini { display: inline-flex; align-items: center; gap: 2px; background: var(--papel); border-radius: 999px; padding: 2px; flex: none; }
.mini button { width: 30px; height: 30px; border-radius: 50%; font-size: 17px; line-height: 1; border: 0; background: none; }
.mini button:hover { background: var(--suave); }
.mini .q { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* cotizaciones: partidas */
.partida { display: grid; grid-template-columns: minmax(0, 1fr) 62px 74px 100px 108px 34px; gap: 8px; align-items: center; margin-bottom: 8px; }
.partida input { margin: 0; padding: 9px 10px; font-size: 13.5px; border-radius: 10px; }
.partida.cab { font-size: 12px; color: var(--texto-3); font-weight: 600; margin-bottom: 4px; }
.pa-imp { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13.5px; }
.totales { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--linea); }
.totales .gran { font-size: 22px; letter-spacing: -.03em; }
@media (max-width: 640px) {
  .partida { grid-template-columns: 1fr 1fr 1fr; }
  .partida .pa-d { grid-column: 1 / -1; }
  .partida .pa-imp { grid-column: span 2; text-align: left; }
  .partida.cab { display: none; }
  .modal-cuerpo, .modal-cab, .modal-pie { padding-left: 20px; padding-right: 20px; }
  .modal-pie { flex-wrap: wrap; }
  .modal-pie .aviso-error { flex-basis: 100%; }
}

/* terrenos: cabecera y mapa */
.terr-cab { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.terr-foto { width: 120px; height: 150px; object-fit: cover; border-radius: 18px; flex: none; box-shadow: var(--sombra); }
.terr-cab h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; }
.terr-cab p { color: var(--texto-2); margin-top: 8px; max-width: 62ch; }
@media (max-width: 640px) { .terr-foto { width: 84px; height: 108px; } .terr-cab { gap: 14px; } }
.ficha-datos b { white-space: nowrap; }
.mapa-wrap { position: relative; }
.mapa-scroll { overflow-x: auto; border-radius: 16px; background: var(--mapa-suelo); }
.mapa-svg { width: 100%; min-width: 720px; height: auto; display: block; }
.mapa-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--acento); color: var(--acento-texto); padding: 8px 12px; border-radius: 12px; font-size: 12.5px; display: grid; gap: 1px; max-width: 220px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.terreno { fill: var(--mapa-suelo); stroke: var(--linea-fuerte); stroke-width: 1.5; stroke-dasharray: 7 7; }
.calle { fill: var(--mapa-calle); }
.eje-calle { stroke: var(--mapa-linea); stroke-width: 2; stroke-dasharray: 12 10; }
.plaza { fill: var(--mapa-calle); stroke: var(--mapa-linea); stroke-width: 2; }
.plaza-i { fill: var(--mapa-verde); }
.arbol { fill: var(--mapa-arbol); }
.rotulo-calle { font-size: 13px; letter-spacing: .22em; fill: var(--texto-3); font-weight: 600; }
.rotulo-mz { font-size: 12.5px; letter-spacing: .14em; fill: var(--texto-3); font-weight: 700; }
.acceso { stroke: var(--texto-3); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.norte-c { fill: var(--papel); stroke: var(--linea-fuerte); }
.norte-f { fill: var(--texto); }
.norte text { font-size: 12px; font-weight: 700; fill: var(--texto-2); }
.lote { cursor: pointer; outline: none; transition: opacity .35s; }
.lote rect { stroke-width: 2; transition: fill .6s ease, stroke .6s ease, transform .3s cubic-bezier(.2, .7, .2, 1); transform-box: fill-box; transform-origin: center; }
.lote:hover rect, .lote:focus-visible rect { transform: scale(1.05); stroke-width: 3; }
.lote.disponible rect { fill: var(--l-disp); stroke: var(--l-disp-b); }
.lote.apartado rect { fill: var(--l-apar); stroke: var(--l-apar-b); }
.lote.vendido rect { fill: var(--l-vend); stroke: var(--l-vend-b); }
.lote text { pointer-events: none; transition: fill .6s; font-family: var(--sans); }
.l-id { font-size: 17px; font-weight: 700; fill: var(--texto); }
.l-m2 { font-size: 13px; fill: var(--texto-2); }
.l-pr { font-size: 12px; fill: var(--texto-3); }
.lote.vendido text { fill: #fff; }
.lote.vendido .l-pr { fill: rgba(255, 255, 255, .75); }
.lote.nuevo rect { animation: aparece .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes aparece { from { opacity: 0; transform: scale(.6); } }
.lote.pulso rect { animation: pulso 1.1s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 12px var(--marca)); }
@keyframes pulso { 0% { transform: scale(1); } 28% { transform: scale(1.22); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
.mapa-svg[data-filtro="disponible"] .lote:not(.disponible), .mapa-svg[data-filtro="apartado"] .lote:not(.apartado), .mapa-svg[data-filtro="vendido"] .lote:not(.vendido) { opacity: .15; }
.progreso { height: 8px; background: var(--campo); border-radius: 99px; overflow: hidden; margin: 6px 0; }
.progreso i { display: block; height: 100%; background: var(--marca); width: var(--w, 0); border-radius: 99px; transition: width .8s; }

@media (max-width: 640px) {
  #btn-nuevo .txt { display: none; } #btn-nuevo { padding: 10px 12px; } .cab h1 { font-size: 20px; }
  .ficha-av { flex-direction: column; align-items: flex-start; }
  .bitacora li { grid-template-columns: 80px 1fr; }
  .encabezado-vista { align-items: stretch; }
}
.cab .migas { font-size: 11.5px; }
.kpi .num .num { margin: 0; }

/* ---------- sistema real: entrada, guardado, primeros pasos ---------- */
.login-lado .logo-caja { color: #f5f5f7; }
.login-lado .logo-txt small { color: #8e8e93; }
.login-caja form { display: block; }
.login-caja .cargando { padding: 40px 0; }
.yo .avatar { display: grid; place-items: center; font-weight: 600; flex: none; }
.yo > div { min-width: 0; }
.yo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.estado { font-size: 12px; margin-top: 12px; padding-left: 2px; color: var(--texto-3); display: flex; align-items: center; gap: 7px; }
.estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); flex: none; }
.estado.est-guardando::before { background: var(--ambar); }
.estado.est-sin-red { color: var(--rojo); font-weight: 600; }
.estado.est-sin-red::before { background: var(--rojo); }
.empezar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.empezar a { display: block; padding: 14px 16px; border-radius: 16px; background: var(--campo); text-decoration: none; transition: background .15s; }
.empezar a:hover { background: var(--suave); }
.empezar a b { display: block; font-weight: 600; letter-spacing: -.015em; }
.empezar a small { color: var(--texto-3); font-size: 12.5px; }
.empezar a.hecho { opacity: .55; }
.empezar a.hecho b::before { content: "✓ "; color: var(--verde); }
.clave-unica { font: 600 26px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; background: var(--campo); border-radius: 14px; padding: 14px 16px; margin: 10px 0; text-align: center; user-select: all; word-break: break-all; }
.fila-usuario { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--linea); flex-wrap: wrap; }
.fila-usuario:first-child { border-top: 0; }
.fila-usuario > div:first-child { flex: 1; min-width: 180px; }
.fila-usuario b { display: block; font-weight: 600; }
.fila-usuario small { color: var(--texto-3); font-size: 12.5px; }
.campo-cant { width: 92px; margin: 0; padding: 8px 10px; text-align: right; }
.selector-prod .sp-fila .campo-cant { flex: none; }
.calle.lote-nuevo { fill: none; stroke: var(--linea-fuerte); stroke-width: 1.5; stroke-dasharray: 5 4; }
.precios-det > summary { cursor: pointer; padding: 4px 26px 18px; font-weight: 600; color: var(--texto-2); }
.precios-det[open] > summary { padding-bottom: 6px; }
.mapa-svg { margin: 0 auto; }
@media (max-width: 900px) { .lado-pie .lado-acciones { margin-bottom: 6px; } }
.obra-hero-fila.sin-foto { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 26px; }
@media (max-width: 900px) { .obra-hero-fila.sin-foto { grid-template-columns: 1fr; } }
.cab .btn-menu { display: none; }
@media (max-width: 900px) { .cab .btn-menu { display: inline-flex; } }
@media (max-width: 640px) { .tarjeta-cab { flex-wrap: wrap; } .tarjeta-cab > div:first-child { flex: 1 1 100%; } .tarjeta-cab .esp { display: none; } .encabezado-vista .segmento { max-width: 100%; overflow-x: auto; } }
.fo-n { min-width: 0; }
.segmento button { white-space: nowrap; }
