/* ==========================================================================
   Zentrum Labs — componentes de las demos de software
   Se carga después de styles.css (tokens, nav, botones píldora, footer).
   ========================================================================== */
:root {
  --chart-1: #00919b;   /* serie principal (real / ejecutado) — validada */
  --chart-2: #c08e00;   /* serie de referencia (programado / aprobado) — validada, requiere etiquetas */
  --grid: #e6e0d4;
  --ok: #2d7a46;   --ok-bg: #e3f1e7;
  --warn: #9a5b00; --warn-bg: #fbeed2;
  --bad: #b3261e;  --bad-bg: #fbe4e1;
  --card: #fffdf9;
  --field: #ffffff;
  --r-sm: 10px;
}

[hidden] { display: none !important; }

/* ---------- Nav de demos ---------- */
.appnav-select { display: none; }
.appnav-inner { width: min(100% - 44px, var(--wide)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 22px; }
.appnav-links { display: flex; gap: 4px; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.appnav-links::-webkit-scrollbar { display: none; }
.appnav-links a { font-size: 13px; padding: 7px 12px; border-radius: 980px; white-space: nowrap; color: var(--ink-2); transition: background-color .2s, color .2s; }
.appnav-links a:hover { color: var(--ink); background: rgba(23, 25, 28, .05); }
.appnav-links a[aria-current="page"] { color: var(--teal-press); background: var(--teal-tint); font-weight: 600; }

/* ---------- Encabezado de la demo ---------- */
.demo-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 40px); }
.demo-hero h1 { font: 700 clamp(40px, 6vw, 72px)/1.04 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.demo-hero .lede { margin-top: 16px; }
.demo-flag { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding: 12px 16px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14px; color: var(--ink-2); }
.demo-flag b { color: var(--ink); font-weight: 600; }
.demo-flag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(242, 183, 5, .2); flex-shrink: 0; }
.demo-flag .btn { margin-left: auto; }

/* ---------- Contenedor de app ---------- */
.app { width: min(100% - 32px, var(--wide)); margin: 0 auto clamp(64px, 8vw, 110px); }
.panel { background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(23, 25, 28, .25); padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.panel-head p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 16px; align-items: start; }
.grid-2 > .panel + .panel { margin-top: 0; }
.grid-2.side-left { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.form-grid.form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 16px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }

/* ---------- Controles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: 980px; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--field); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .2s, box-shadow .2s, transform .12s; white-space: nowrap; }
.btn:hover { box-shadow: 0 0 0 1px #bfb6a6 inset; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--teal-press); box-shadow: none; }
.btn-ghost { background: transparent; box-shadow: none; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); box-shadow: none; }
.btn-sm { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.btn .icon { width: 16px; height: 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 980px; background: #e8e2d6; gap: 2px; flex-wrap: wrap; }
.seg button { padding: 7px 14px; border-radius: 980px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--field); color: var(--ink); box-shadow: 0 1px 4px rgba(23, 25, 28, .12); }
.seg:not(.seg-grid) { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.seg:not(.seg-grid)::-webkit-scrollbar { display: none; }
.seg button { white-space: nowrap; flex-shrink: 0; }
.appnav-inner .nav-cta { white-space: nowrap; }
.seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; width: 100%; }
.seg-grid button { border-radius: 12px; padding: 9px 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 980px; font-size: 13px; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; background: transparent; transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 40px; padding: 9px 12px; border-radius: var(--r-sm); border: 0; background: var(--field);
  box-shadow: 0 0 0 1px var(--line) inset; font: 400 15px/1.35 var(--text); color: var(--ink); letter-spacing: -.01em;
  transition: box-shadow .2s;
}
.textarea { min-height: 72px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--teal) inset; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--bad) inset; }
.select { appearance: none; padding-right: 34px; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5a55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search .input { padding-left: 36px; }
.search svg { position: absolute; left: 11px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.error { font-size: 13px; color: var(--bad); min-height: 1em; }
.hint { font-size: 12.5px; color: var(--ink-3); }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 4px; }
.kpi small { font-size: 13px; color: var(--ink-2); }
.kpi b { font: 700 clamp(24px, 2.6vw, 30px)/1.1 var(--display); letter-spacing: -.02em; }
.kpi .sub { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }

/* ---------- Estados ---------- */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 980px; white-space: nowrap; }
.status svg { width: 13px; height: 13px; stroke-width: 2.4; }
.status-ok { color: var(--ok); background: var(--ok-bg); }
.status-warn { color: var(--warn); background: var(--warn-bg); }
.status-bad { color: var(--bad); background: var(--bad-bg); }
.status-neutral { color: var(--ink-2); background: #ece6da; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #ece6da; color: var(--ink-2); white-space: nowrap; }
.tag-entrada { background: var(--teal-tint); color: var(--teal-press); }
.tag-salida { background: #f3e7c9; color: #7a5600; }
.tag-retorno { background: #e2ecf6; color: #24507a; }
.tag-transferencia { background: #ece6da; color: #4a4741; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; background: var(--field); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #f5f1e9; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid #efe9de; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: #faf7f1; }
.table .code { white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .muted { color: var(--ink-3); }
.table .group td { background: #f7f3eb; font-weight: 600; font-size: 13px; }
.table .total td { background: #f2ede3; font-weight: 700; }
.table input.cell { width: 92px; min-height: 32px; padding: 5px 8px; text-align: right; font-variant-numeric: tabular-nums; border-radius: 8px; border: 0; background: transparent; box-shadow: 0 0 0 1px transparent inset; font: inherit; transition: box-shadow .2s, background-color .2s; }
.table input.cell:hover { box-shadow: 0 0 0 1px var(--line) inset; background: #fff; }
.table input.cell:focus { outline: none; box-shadow: 0 0 0 2px var(--teal) inset; background: #fff; }
.table.wide { min-width: 720px; }
.table.mid { min-width: 600px; }
.empty { padding: 32px 16px; text-align: center; color: var(--ink-3); font-size: 14px; }
.thumb { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; display: block; box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; }

/* ---------- Medidor ---------- */
.meter { position: relative; height: 8px; border-radius: 4px; background: #e8f3f2; overflow: hidden; min-width: 80px; }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--chart-1); transition: width .6s var(--ease-out); }
.meter.warn { background: #f8ecd2; }
.meter.warn i { background: #d08a00; }

/* ---------- Gráficos ---------- */
.chart { position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .axis-label { font-size: 11.5px; fill: var(--ink-3); font-family: var(--text); }
.chart .val-label { font-size: 12px; fill: var(--ink-2); font-family: var(--text); font-weight: 600; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.legend i.sq { width: 10px; height: 10px; border-radius: 3px; }
.tip { position: fixed; z-index: 300; pointer-events: none; min-width: 140px; max-width: 260px; padding: 10px 12px; border-radius: 12px; background: rgba(23, 25, 28, .94); color: #f1eee8; font-size: 12.5px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip.on { opacity: 1; transform: none; }
.tip b { color: #fff; font-weight: 600; }
.tip .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .k { display: inline-flex; align-items: center; gap: 6px; color: #c9c4ba; }
.tip .k i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.view-toggle { margin-left: auto; }

/* ---------- Diálogo ---------- */
dialog.sheet { border: 0; padding: 0; border-radius: 22px; width: min(720px, calc(100% - 24px)); max-height: min(86vh, 860px); background: var(--card); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
dialog.sheet::backdrop { background: rgba(18, 20, 22, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheetIn .4s var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: rgba(255, 253, 249, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sheet-head h3 { font-size: 19px; }
.sheet-body { padding: 18px 22px 24px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ece6da; color: var(--ink); transition: background-color .2s, transform .12s; }
.icon-btn:hover { background: #e2dccf; }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 16px; height: 16px; stroke-width: 2.2; }
.photo-full { width: 100%; border-radius: 14px; display: block; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 400; translate: -50% 0; padding: 12px 18px; border-radius: 980px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); pointer-events: none; display: flex; align-items: center; gap: 8px; }
.toast.on { opacity: 1; transform: none; }
.toast svg { width: 16px; height: 16px; color: #7fe0a0; stroke-width: 2.4; }

/* ---------- Bloque de llamada final ---------- */
.demo-cta { text-align: center; padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(90% 70% at 50% 100%, #d8ebe7 0%, var(--bg) 70%); }
.demo-cta h2 { font: 700 clamp(36px, 5vw, 60px)/1.05 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.demo-cta .lede { margin: 18px auto 0; }
.demo-cta .contact-ctas { margin-top: 32px; }
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.include { padding: 22px; border-radius: 18px; background: var(--bg-alt); }
.include h3 { font-size: 18px; margin-bottom: 6px; }
.include p { font-size: 15px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-2 > .form-first { order: -1; }
  .grid-2.side-left { grid-template-columns: minmax(0, 1fr); }
  .proto-list { max-height: 420px; }
  .form-grid.form-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .appnav-links { display: none; }
  .appnav-select { display: block; min-width: 0; }
  .appnav-inner { gap: 10px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-flag .btn { margin-left: 0; }
  .panel { border-radius: 18px; }
  .table { font-size: 13.5px; }
}
.appnav-select .select { min-height: 34px; font-size: 14px; padding-block: 5px; }

@media (max-width: 430px) {
  .appnav-inner .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.sheet[open] { animation: none; }
  .meter i, .tip, .toast { transition: none; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Protocolos ---------- */
.proto-list { display: grid; gap: 8px; max-height: 760px; overflow-y: auto; padding: 2px; margin: 0 -2px; }
.proto-item { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--field); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .2s, background-color .2s, transform .12s; }
.proto-item:hover { box-shadow: 0 0 0 1px #bfb6a6 inset; }
.proto-item:active { transform: scale(.99); }
.proto-item[aria-current="true"] { box-shadow: 0 0 0 2px var(--teal) inset; background: #f3faf9; }
.proto-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.proto-sub { font-size: 13px; color: var(--ink-2); }
.proto-sub.muted { color: var(--ink-3); }
.sub-h { font: 700 16px/1.3 var(--display); letter-spacing: -.01em; margin: 24px 0 10px; }
.checklist { display: grid; gap: 0; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; background: var(--field); }
.check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #efe9de; font-size: 14.5px; flex-wrap: wrap; }
.check-row:last-child { border-bottom: 0; }
.seg-sm button { padding: 5px 11px; font-size: 12.5px; }
.seg-sm button.is-c[aria-pressed="true"] { background: var(--ok); color: #fff; }
.seg-sm button.is-nc[aria-pressed="true"] { background: var(--bad); color: #fff; }
.budget { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-press); font-size: 14.5px; }
.budget .muted { color: #3f7a7e; font-size: 13px; }
.firmas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.firma { border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; background: var(--field); padding: 10px; }
.firma-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; flex-wrap: wrap; }
.firma-head .btn { margin-left: auto; }
.firma canvas { display: block; width: 100%; height: auto; aspect-ratio: 560 / 180; border-radius: 10px; background: repeating-linear-gradient(0deg, transparent 0 34px, #f1ece2 34px 35px), #fffefb; touch-action: none; cursor: crosshair; }
.select-sm { min-height: 30px; padding: 4px 30px 4px 10px; font-size: 13px; width: auto; }
#print-sheet { display: none; }
@media (max-width: 640px) { .firmas { grid-template-columns: minmax(0, 1fr); } }

@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff !important; }
  body > *:not(#print-sheet) { display: none !important; }
  #print-sheet { display: block !important; color: #000; font: 11pt/1.4 -apple-system, "Public Sans", Arial, sans-serif; letter-spacing: 0; }
  #print-sheet h4 { font-size: 11pt; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
  #print-sheet p { margin: 0 0 6px; color: #000; }
  .ps-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #00747c; padding-bottom: 10px; margin-bottom: 12px; }
  .ps-brand { display: flex; gap: 10px; align-items: center; }
  .ps-brand svg { width: 34px; height: 34px; color: #00747c; }
  .ps-brand b, .ps-code b { display: block; font-size: 14pt; }
  .ps-brand small, .ps-code small { display: block; font-size: 9pt; color: #444; }
  .ps-code { text-align: right; }
  .ps-grid { width: 100%; border-collapse: collapse; font-size: 10pt; }
  .ps-grid th, .ps-grid td { border: 1px solid #999; padding: 5px 7px; text-align: left; }
  .ps-grid th { background: #eef5f4; width: 18%; }
  .ps-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; }
  .ps-signs div { text-align: center; }
  .ps-signs img { height: 70px; display: block; margin: 0 auto; }
  .ps-signs span { display: block; border-top: 1px solid #000; padding-top: 4px; font-size: 9.5pt; }
}

/* ---------- Avance de obra ---------- */
.sis-list { display: grid; gap: 16px; }
.sis-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; margin-bottom: 7px; }
.sis-top b { font-variant-numeric: tabular-nums; }
.range { width: 100%; accent-color: var(--teal); height: 22px; }
.hitos { display: grid; gap: 0; position: relative; }
.hito { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efe9de; position: relative; }
.hito:last-child { border-bottom: 0; }
.hito b { display: block; font-size: 14.5px; font-weight: 600; }
.hito div span { font-size: 12.5px; color: var(--ink-3); }
.hito-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line) inset; background: var(--field); }
.hito-done .hito-dot { background: var(--ok); box-shadow: none; }
.hito-now .hito-dot { background: var(--signal); box-shadow: 0 0 0 4px rgba(242, 183, 5, .22); }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.foto { display: block; text-align: left; border-radius: 16px; overflow: hidden; background: var(--field); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.foto:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line) inset, 0 18px 36px -20px rgba(23, 25, 28, .35); }
.foto:active { transform: scale(.98); }
.foto img { display: block; width: 100%; aspect-ratio: 400 / 260; object-fit: cover; }
.foto-cap { display: grid; gap: 2px; padding: 10px 12px 12px; }
.foto-cap b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.foto-cap span { font-size: 12.5px; color: var(--ink-3); }
.notas { display: grid; gap: 10px; margin-top: 14px; }
.nota { padding: 12px 14px; border-radius: 14px; background: var(--field); box-shadow: 0 0 0 1px var(--line) inset; }
.nota-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-bottom: 4px; }
.nota-head span { color: var(--ink-3); }
.nota p { font-size: 14.5px; color: var(--ink); }
.upload { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.upload .field { flex: 1 1 180px; }
@media (prefers-reduced-motion: reduce) { .foto, .foto:hover { transition: none; transform: none; } }
