/* Demand Panel — pestaña Active Demand (2026-10-14; rehecha el 2026-11-20). Sólo variables de app.css: claro y oscuro
   salen solos. Propiedades lógicas (inline-start / inline-end): el árabe se da vuelta solo. */

/* ── Lista (pedido del dueño, 2026-11-20): UNA sección con tarjetas GRANDES — a la izquierda la cabecera, los números y
   los datos de entrega; a la derecha el mini-gráfico del historial y las 3 mejores pujas; abajo los botones. Se puja en
   un modal, sin página de detalle. ── */
.dm-grid { display: flex; flex-direction: column; gap: 14px; }
/* El esqueleto de una tarjeta mide lo que la tarjeta real en cada ancho (2026-11-24: medía 236 px y la tarjeta 380-585,
   así que al cargar todo se estiraba). Medido con el demo (varía ±25 px según las pujas y la nota): ~395 px en la compu,
   ~630 en una columna, ~715 en el teléfono. */
.dm-sk { height: 395px; border-radius: var(--r); }
@media (max-width: 899px) { .dm-sk { height: 630px; } }
@media (max-width: 520px) { .dm-sk { height: 860px; } }
/* La fila de arriba mientras carga: dos desplegables (Status, Type), la pastilla y el botón, del alto de los de verdad. */
.dm-sk-flt { height: 36px; width: 132px; border-radius: 10px; }
@media (max-width: 899px) { .dm-sk-flt { height: 40px; } }
.dm-sk-how { width: 128px; padding: 0; }
@media (max-width: 1180px) { .dm-sk-how { width: 36px; } }
@media (max-width: 899px) { .dm-sk-how { width: 40px; } }
.dm-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "k k" "main side" "a a"; gap: 14px 20px; min-width: 0;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
/* El color de la tarjeta es el TIPO (2026-11-23, pedido del dueño: distinguir Directa y Subasta a simple vista; antes era
   el estado, y todas las abiertas salían iguales): franja arriba, borde al costado y un fondo apenas teñido. Subasta
   abierta = celeste eléctrico · Directa = azul profundo (tokens.css › --kind-*). El estado lo dice el chip de arriba a
   la derecha. Una tarjeta que ya no está abierta pierde color. */
/* 2026-11-25 (pedido del dueño): el CONTENEDOR (borde, borde del costado y tinte) sigue MI posición — `--dm-st`, que por
   defecto es el color del tipo; la franja, el cronómetro y "Beat #1" siguen siendo del tipo (`--dm-tono`). tabs/demand.js
   › tonoCard: .dm-st-lead (voy #1 / me aceptaron) verde · .dm-st-out (me superaron / empato) ámbar · .dm-st-kind (sin
   pujas, o sin la mía) el del tipo · .dm-st-off (perdida, cerrada sin mí, no puedo pujar) gris. Sólo cambian colores:
   el borde mide lo mismo en todos, así nada salta cuando un evento en vivo la repinta. */
.dm-card { --dm-tono: var(--kind-auction); --dm-on: var(--on-kind-auction); --dm-st: var(--dm-tono); --dm-st-t: 3%; --dm-st-b: 30%;
  border-inline-start: 4px solid var(--dm-st); border-color: color-mix(in srgb, var(--dm-st) var(--dm-st-b), var(--border)); border-inline-start-color: var(--dm-st);
  background: color-mix(in srgb, var(--dm-st) var(--dm-st-t), var(--surface)); transition: border-color .25s, background-color .25s, box-shadow .15s; }
.dm-card.dm-k-d { --dm-tono: var(--kind-direct); --dm-on: var(--on-kind-direct); }
.dm-card.dm-st-lead { --dm-st: var(--green); --dm-st-t: 6%; --dm-st-b: 50%; }
.dm-card.dm-st-out { --dm-st: var(--amber); --dm-st-t: 7%; --dm-st-b: 55%; }
.dm-card.dm-st-off { --dm-st: var(--border-2); --dm-st-t: 0%; --dm-st-b: 0%; }
.dm-card.closed .dm-k { background: color-mix(in srgb, var(--dm-tono) 22%, var(--surface-2)); color: var(--text-2); }
/* La franja del tipo: el nombre en el color del tipo y su regla en una línea. */
.dm-k { grid-area: k; display: flex; align-items: center; gap: 8px; min-width: 0; margin: -16px -18px 0; padding: 7px 18px; background: var(--dm-tono); color: var(--dm-on); border-start-end-radius: calc(var(--r) - 1px); font-size: 12.5px; line-height: 1.3; }
.dm-k > .ic { flex: none; }
.dm-k b { font-weight: 700; white-space: nowrap; }
.dm-k span { opacity: .82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* El botón principal, del color del tipo: "Take order" azul, "Bid now" / "Edit bid" celeste. */
.dm-cta.dm-cta-d:not(:disabled) { background: var(--kind-direct); color: var(--on-kind-direct); box-shadow: none; }
.dm-cta.dm-cta-a:not(:disabled) { background: var(--kind-auction); color: var(--on-kind-auction); }
.dm-cta.dm-cta-d:not(:disabled):hover, .dm-cta.dm-cta-a:not(:disabled):hover { filter: brightness(1.08); }
/* El filtro Type (desplegable, js/ui-filtro.js): un punto del color de cada tipo, en el botón y en la lista. */
.flt-dot.dmf-fijo { background: var(--kind-direct); }
.flt-dot.dmf-subasta { background: var(--kind-auction); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ag-canvas) 25%, transparent); }
.dm-card:hover { box-shadow: var(--shadow-lg); }
/* La que vino por link (/demand/:id): marcada. */
/* El borde sigue siendo el de MI posición (2026-11-25): la marca es sólo el anillo de afuera. */
.dm-card.foco { box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow); }
.dm-c-main { grid-area: main; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dm-c-side { grid-area: side; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-inline-start: 18px; border-inline-start: 1px solid var(--border); }
/* Subasta (2026-11-24): debajo de la columna de la derecha, en la fila de los botones, va "Beat #1" (.dm-c-q). La
   Directa no la tiene: su fila de botones ocupa todo el ancho, como siempre. */
.dm-card.dm-k-a { grid-template-areas: "k k" "main side" "a q"; }
.dm-c-q { grid-area: q; display: flex; align-items: center; min-width: 0; padding-top: 12px; border-top: 1px solid var(--border); }
.dm-beat { width: 100%; height: 52px; display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 0 8px; padding: 6px 14px; border-radius: 14px;
  border: 1.5px solid var(--dm-tono); background: color-mix(in srgb, var(--dm-tono) 12%, var(--surface)); color: var(--text); text-align: start; }
.dm-beat > svg { flex: none; color: color-mix(in srgb, var(--dm-tono) 45%, var(--text)); }
.dm-beat-t { font-size: 14px; font-weight: 650; white-space: nowrap; line-height: 1.2; }
.dm-beat-v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 700; color: color-mix(in srgb, var(--dm-tono) 45%, var(--text)); line-height: 1.2; } /* legible en claro y oscuro */
.dm-beat-m { flex: 0 0 100%; text-align: center; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.dm-beat:not(:disabled):hover { background: color-mix(in srgb, var(--dm-tono) 20%, var(--surface)); }
.dm-beat:not(:disabled):active { transform: translateY(1px); }
.dm-beat:disabled { opacity: 1; cursor: default; border-color: var(--border); background: var(--surface-2); }
.dm-beat:disabled > svg, .dm-beat:disabled .dm-beat-v { color: var(--muted); }
.dm-beat.busy { opacity: .7; }
.dm-c-a { grid-area: a; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.dm-c-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dm-c-t { flex: 1; min-width: 0; }
.dm-c-t b, .dm-c-t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-c-t b { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.dm-c-t small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dm-c-tags { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.dm-c-chip { display: inline-flex; }
/* "Nueva": hasta que le queda el último cuarto del tiempo (esNueva). */
.dm-new { display: inline-flex; align-items: center; vertical-align: 1px; height: 17px; margin-inline-end: 6px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
/* La insignia del TIPO (en el panel de pujar / tomar): rellena con el color del tipo, como la franja de la tarjeta. */
.dm-type { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; border: 1px solid transparent; font-size: 12px; font-weight: 650; white-space: nowrap; }
.dm-type-a { color: var(--on-kind-auction); background: var(--kind-auction); }
.dm-type-d { color: var(--on-kind-direct); background: var(--kind-direct); }
/* Tres columnas (pedido del dueño, 2026-11-24): el CRONÓMETRO a la izquierda, los números en el medio y el historial a la
   derecha (.dm-c-side). La cabecera del producto va arriba del cronómetro y los números. */
.dm-c-b { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: stretch; min-width: 0; }
.dm-crono { position: relative; display: grid; place-items: center; min-height: 150px; padding: 6px; border-radius: 12px; background: var(--surface-2); color: color-mix(in srgb, var(--dm-tono, var(--accent)) 78%, var(--text)); } /* el tono del tipo, oscurecido en el tema claro (con el texto) para que se lea */
.dm-crono svg { width: 118px; height: auto; display: block; overflow: visible; }
.dm-cr-pul { fill: currentColor; }
.dm-cr-lado { opacity: .75; }
/* La esfera: un disco apenas más claro que la tarjeta, con un filo del color del tipo. */
.dm-cr-esfera { fill: color-mix(in srgb, currentColor 6%, var(--surface)); stroke: color-mix(in srgb, currentColor 28%, var(--border)); stroke-width: 1.5; }
.dm-cr-fondo { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.dm-cr-marcas { fill: none; stroke: color-mix(in srgb, var(--muted) 70%, transparent); stroke-width: 4; }
.dm-cr-arco { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 55%, transparent)); transition: stroke-dashoffset 1s linear, stroke .2s; }
.dm-cr-perilla { fill: var(--surface); stroke: currentColor; stroke-width: 3; transition: cx 1s linear, cy 1s linear; }
.dm-cr-aguja { stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.dm-cr-eje { fill: currentColor; }
/* El tiempo en el medio del anillo (el anillo está 9 px más abajo que el centro del cuadro: lo compensa el padding). */
.dm-cr-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding-top: 18px; text-align: center; pointer-events: none; }
.dm-cr-c .dm-cd { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -.02em; }
.dm-cr-c small { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dm-cr-c .dm-ext { margin-top: 3px; }
.dm-crono.soon { color: var(--red); }
.dm-crono.soon .dm-cd { color: var(--red); }
.dm-crono.off { color: color-mix(in srgb, var(--dm-tono, var(--accent)) 55%, var(--muted)); }
.dm-crono.off .dm-cr-c { padding-top: 66px; }
@media (prefers-reduced-motion: reduce) { .dm-cr-arco, .dm-cr-perilla { transition: none; } }
/* "Closing…" (el reloj llegó a 0 y el server todavía no cerró) no entra con la letra del tiempo. */
.dm-cr-c .dm-cd.cierra { font-family: var(--font); font-size: 13px; }

/* Los números: 3 columnas × 2 filas (en el teléfono, 2 × 3). */
.dm-c-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.dm-cell { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-cell small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-cell b { font-size: 16px; font-weight: 650; font-family: var(--mono); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.dm-cell.dm-txt b, .dm-cell.dm-fill b { font-family: var(--font); font-size: 14px; }
.dm-cell.acc b { color: var(--accent-ink); }
.dm-cell.ok b { color: var(--green); }
.dm-of { font-size: 11.5px; color: var(--muted); font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-cd.soon { color: var(--red); }
.dm-bar { height: 3px; margin-top: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.dm-bar i { display: block; height: 100%; border-radius: inherit; background: var(--dm-tono, var(--accent)); transition: width 1s linear; } /* del color del tipo */
/* Anti-sniping (2026-11-20): "+10 s" unos segundos después de cada extensión, con un pulso. */
.dm-ext { display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 10.5px; font-weight: 700; font-family: var(--mono); animation: dm-ext 1s ease-out 2; }
.dm-ext .ic { width: 11px; height: 11px; }
@keyframes dm-ext { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .dm-ext { animation: none; } }
/* Plazo, método, cobro, nota. */
.dm-c-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.dm-m { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.dm-m .ic { color: var(--muted); flex-shrink: 0; }
.dm-m b { font-weight: 600; color: var(--text); white-space: nowrap; }
.dm-m-nota span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* "Outside your USD range" (2026-11-25): fuera del filtro en USD de sus preferencias. Sólo silencia el aviso: la
   demanda se ve igual. Una marca chica, en gris, con la campana tachada. */
.dm-m-usd { height: 22px; padding: 0 8px; border-radius: 99px; background: var(--gray-soft); border: 1px solid var(--border); color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.dm-m-usd span { overflow: hidden; text-overflow: ellipsis; }
/* Columna de la derecha: el historial y las mejores pujas. */
.dm-sp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.dm-sp-h small, .dm-top-w0 > small { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-sp-h .dm-hist { height: 28px; min-height: 28px; padding: 0 10px; gap: 5px; font-size: 12px; flex-shrink: 0; }
.dm-sp { display: flex; align-items: center; gap: 10px; height: 44px; min-width: 0; }
.dm-sp .spark { flex: 1; min-width: 0; width: 100%; height: 40px; }
.dm-sp-n { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.dm-sp-n b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13.5px; font-weight: 650; }
.dm-sp-n small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.dm-sp-sk { height: 44px; border-radius: 8px; }
.dm-sp-none { display: flex; align-items: center; height: 44px; font-size: 12.5px; color: var(--muted); }
.dm-top-w0 { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dm-top { display: flex; flex-direction: column; gap: 2px; }
.dm-top li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; font-size: 12.5px; }
.dm-top li.top { background: var(--amber-soft); }
.dm-top li.me { background: var(--accent-soft); }
.dm-top-p { display: inline-flex; justify-content: center; font-weight: 700; color: var(--muted); font-family: var(--mono); }
.dm-top li.top .dm-top-p { color: var(--amber); }
.dm-top-w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.dm-top b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 650; }
.dm-top-none { font-size: 12.5px; color: var(--muted); }
/* Botones de la tarjeta. */
.dm-cta { min-width: 150px; justify-content: center; }
/* Pedido del dueño (2026-11-20): el botón principal es una BARRA ESPACIADORA — ocupa todo lo que queda de la fila (al lado
   sólo "Remove bid" o la etiqueta de prioridad), alto y con el borde de abajo marcado como una tecla. */
.dm-c-a .dm-cta { flex: 1 1 260px; height: 52px; border-radius: 14px; font-size: 15.5px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); transition: transform .08s, box-shadow .08s; }
.dm-c-a .dm-cta:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .22); }
.dm-c-a .dm-rm { height: 52px; border-radius: 14px; }
.dm-c-a .btn { white-space: nowrap; }
.dm-c-nota { display: flex; align-items: center; gap: 6px; margin-inline-end: auto; font-size: 13px; color: var(--text-2); min-width: 0; }
.dm-c-nota .ic { color: var(--muted); flex-shrink: 0; }
/* Prioridad por stock (2026-11-20): la etiqueta con su "?" al lado del botón bloqueado (o de la ventaja propia). */
.dm-prio { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding-inline: 10px 4px; border-radius: 99px; background: var(--amber-soft); color: var(--amber); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.dm-prio.mia { background: var(--green-soft); color: var(--green); }
.dm-prio [data-dm-lock] { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dm-q-help { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.dm-q-help:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.dm-q-help:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.dm-cta [data-dm-lock] { font-family: var(--mono); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .dm-card { grid-template-columns: minmax(0, 1fr) 230px; gap: 12px 16px; }
}
/* Teléfono y tableta angosta: una columna — cabecera, números, datos, historial, botones. */
@media (max-width: 899px) {
  .dm-card, .dm-card.dm-k-a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "main" "side" "a" "q"; padding: 14px; }
  .dm-c-q { padding-top: 0; border-top: 0; }
  .dm-k { margin: -14px -14px 0; padding: 7px 14px; }
  .dm-c-side { padding-inline-start: 0; border-inline-start: 0; padding-top: 12px; border-top: 1px solid var(--border); }
  .dm-c-h { flex-wrap: wrap; }
  .dm-c-tags { width: 100%; justify-content: flex-start; }
  .dm-c-s { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px; gap: 10px 12px; }
  .dm-c-b { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  .dm-crono { min-height: 0; padding: 4px; }
  .dm-crono svg { width: 96px; }
  .dm-cr-c .dm-cd { font-size: 18px; }
  .dm-c-a { justify-content: stretch; }
  .dm-c-a .dm-cta { flex: 1; min-width: 0; }
  .dm-c-nota { margin-inline-end: 0; }
  .dm-prio { flex: 1 1 100%; justify-content: center; }
  /* Al tacto: "View History" y el "?" de la prioridad con más alto para el dedo. */
  .dm-sp-h .dm-hist { height: 36px; min-height: 36px; padding: 0 12px; }
  .dm-prio { height: 36px; }
  .dm-q-help { width: 32px; height: 32px; }
}
/* Tablet en vertical (600–899): los números de a tres, como en la compu; de a dos quedaban muy separados. */
@media (min-width: 600px) and (max-width: 899px) {
  .dm-c-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Pujar en un PANEL A LA DERECHA (pedido del dueño, 2026-11-20; antes un modal grande con los números y la escalera):
   sólo los campos. La tarjeta sigue a la vista detrás, por eso el fondo oscurece poco. En el teléfono, core.js lo
   convierte en la hoja de abajo. */
.ov-drawer .ov-panel.dmm-ov { width: 460px; } /* entra como todo panel de la app (core: fundido + 8 px vertical); de costado se salía de la pantalla mientras entraba */
.ov-drawer:has(.dmm-ov) .ov-bg { background: rgba(7, 8, 12, .28); }
.ov-modal .ov-panel.dmm-rm-ov { max-width: 540px; }
/* Quitar la puja: en indonesio "mantener la puja" es largo y a 390 px los dos botones no entraban en un renglón. */
.dmm-rm-ov .ov-foot { flex-wrap: wrap; }
.dmm-rm-ov .ov-foot .btn { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; }
.dmm { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dmm-h { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.dmm-h-t { flex: 1; min-width: 0; }
.dmm-h-t b, .dmm-h-t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmm-h-t b { font-size: 15px; font-weight: 700; }
.dmm-h-t small { font-size: 12.5px; color: var(--muted); }
.dmm-p-h { display: flex; align-items: center; gap: 10px; min-width: 0; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.dmm-p-t { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding-inline: 10px; border-radius: 99px; background: var(--surface-2); font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; white-space: nowrap; }
.dmm-p-t .ic { color: var(--muted); }
.dmm-p-t .dm-cd.soon { color: var(--red); }
.dmm-act { min-width: 0; }
.dmm-panel .dmd-fields { grid-template-columns: minmax(0, 1fr); }
.dmm-panel .dmd-foot { flex-direction: column; align-items: stretch; gap: 10px; }
.dmm-panel .dmd-send { width: 100%; justify-content: center; }
.dm-rm { white-space: nowrap; }
.dm-rm:disabled { opacity: .45; color: var(--muted); border-color: var(--border); }
/* Teléfono: en la TARJETA "Remove bid" queda en un cuadrado con el ícono (el nombre va en aria-label), así "Bid now"
   sigue siendo la barra ancha. En el panel de puja va con su texto. */
@media (max-width: 899px) {
  .dm-c-a .dm-rm { flex: 0 0 52px; width: 52px; padding: 0; justify-content: center; }
  .dm-c-a .dm-rm span { display: none; }
}
.dmm-ov .ov-foot .dm-rm { margin-inline-end: auto; }
/* El rate en el panel (2026-11-20, segunda tanda): los 4 atajos EN FILA debajo del campo; después de la primera puja no
   hay campo — el precio se ELIGE y se muestra en una caja del mismo tamaño (nada salta al cambiar de modo). */
.dmd-fl-r .dmd-quick { margin-top: 4px; min-height: 58px; }
.dmm-panel .dmd-q-g, .dmd-fl-r .dmd-q-g { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dmd-fl-r .dmd-q { padding: 8px 4px; }
.dmd-fl-r .dmd-q b { font-size: 13px; }
.dmd-q.on { border-color: var(--q); background: color-mix(in srgb, var(--q-soft) 100%, var(--surface)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--q) 35%, transparent); }
.dmd-in-pick { cursor: default; }
.dmd-in-pick.on { border-color: var(--accent); }
.dmd-pick { flex: 1; min-width: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmd-pick-ph { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); }
@media (max-width: 520px) { .dmm-panel .dmd-q-g, .dmd-fl-r .dmd-q-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* La cantidad de una orden al 100% (subasta abierta, Directa completa): un texto con candado, no un campo. */
.dmd-qfija { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; border: 1px dashed var(--border-2); border-radius: 12px; background: var(--surface-2); color: var(--text); cursor: default; }
.dmd-qfija b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 700; }
.dmd-qfija .ic { color: var(--muted); flex-shrink: 0; }

/* Por qué está bloqueado (prioridad por stock). */
.ov-modal .ov-panel.dmp-ov { max-width: 480px; }
.dmp { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.dmp-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); }
.dmp-tip { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text); font-weight: 500; }
.dmp-tip .ic { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Tu puja: rate y cantidad lado a lado, los atajos y abajo lo que cobrarías con el botón. */
.dmd-form { display: flex; flex-direction: column; gap: 14px; }
.dmd-f-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dmd-f-h b { font-size: 15px; font-weight: 650; }
.dmd-f-h > span { display: inline-flex; }
.dmd-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dmd-fl { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dmd-fl .flabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.dmd-fl-h { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dmd-in { min-width: 0; cursor: text; }
.dmd-in input { min-width: 0; width: 100%; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dmd-in input::placeholder { font-size: 16px; font-weight: 500; font-family: var(--font); color: var(--muted); }
.dmd-in em { white-space: nowrap; }
.dmd-cur { font-size: 18px; font-weight: 600; color: var(--muted); }
/* "Todo": adentro del campo, del lado del final (en árabe, a la izquierda: propiedades lógicas). */
.dmd-all { flex-shrink: 0; margin-inline-start: 6px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font: 650 12.5px var(--font); white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.dmd-all:hover { border-color: var(--accent); }
.dmd-all:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Atajos: verde (mejorar 5%) · amarillo (mejorar 2%) · rojo (igualar). Apenas teñidos: fondo *-soft mezclado con la
   superficie, borde y etiqueta del color; el monto sigue siendo el texto principal. */
.dmd-quick { display: flex; flex-direction: column; gap: 6px; }
.dmd-quick:empty { display: none; }
.dmd-q-t { font-size: 12px; font-weight: 600; color: var(--muted); }
/* Los 4 escalones debajo de la mejor puja (2026-10-20): todos iguales, sin colores de estado ni porcentajes. */
.dmd-q-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dmd-q { --q: var(--border-2); --q-soft: transparent; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--q) 35%, var(--border)); border-radius: 10px; background: color-mix(in srgb, var(--q-soft) 60%, var(--surface)); text-align: start; transition: border-color .15s, background .15s; }
.dmd-q:hover { border-color: color-mix(in srgb, var(--q) 70%, var(--border)); background: color-mix(in srgb, var(--q-soft) 100%, var(--surface)); }
.dmd-q { --q: var(--accent); --q-soft: var(--accent-soft); align-items: center; }
.dmd-q span { font-size: 11.5px; font-weight: 600; color: color-mix(in srgb, var(--q) 80%, var(--text-2)); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmd-q b { font-size: 13.5px; font-weight: 650; color: var(--text); font-family: var(--mono); font-variant-numeric: tabular-nums; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Cada atajo con SU color (2026-11-11, pedido del dueño): verde el que apenas baja de la mejor oferta, rojo el que más
   resigna. Debajo del precio, cuánto baja — el color sin el número no diría nada. */
.dmd-q.q1 { --q: var(--green); --q-soft: var(--green-soft); }
.dmd-q.q2 { --q: color-mix(in srgb, var(--green) 55%, var(--amber)); --q-soft: color-mix(in srgb, var(--green-soft) 55%, var(--amber-soft)); }
.dmd-q.q3 { --q: var(--amber); --q-soft: var(--amber-soft); }
.dmd-q.q4 { --q: var(--red); --q-soft: var(--red-soft); }
.dmd-q em { font-style: normal; font-size: 11px; font-weight: 700; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--q); }
.dmd-foot { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.dmd-pay { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; min-height: 26px; font-size: 13px; }
.dmd-pay-l { color: var(--text-2); }
.dmd-pay b { font-size: 18px; font-weight: 700; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dmd-pay small { font-variant-numeric: tabular-nums; }
.dmd-part { font-size: 11.5px; }
.dmd-err { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 500; }
.dmd-send { height: 50px; flex-shrink: 0; }
.dmd-send:disabled { cursor: not-allowed; }

.dmd-closed { display: flex; align-items: flex-start; gap: 14px; }
.dmd-closed > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--muted); flex-shrink: 0; }
.dmd-closed > div { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dmd-closed b { font-size: 15px; font-weight: 650; }
.dmd-closed p { font-size: 13.5px; color: var(--text-2); }
.dmd-closed .btn { margin-top: 10px; }
.dmd-cl-me { font-weight: 600; color: var(--text) !important; }
.dmd-closed.t-amber-b > svg { background: var(--amber-soft); color: var(--amber); }
.dmd-closed.t-green-b > svg { background: var(--green-soft); color: var(--green); }

.dmd-rl li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.dmd-rl li > svg { color: var(--accent); flex-shrink: 0; margin-top: calc((1.5em - 14px) / 2); }

/* ── La fila de arriba (2026-11-27, pedido del dueño: "inlineemos el 'How it works' y las barras de demanda en una sola
   línea"; tabs/demand.js › filaLista + como). Compu y tablet: UNA fila de 36 px — los filtros · la pastilla del estado
   (crece y se corta con "…") · "How it works" al final. Teléfono: dos renglones fijos de 40 px — los filtros arriba; la
   pastilla y el botón (sólo el ícono) abajo. La región que se repinta (.dm-fila-l) es display: contents: sus hijos son
   los de la fila. Nada cambia de tamaño con el estado: la pastilla tiene alto fijo y el resaltado es borde y color. ── */
.dm-fila { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; min-width: 0; }
.dm-fila-l { display: contents; }
.dm-fila .dm-ctl { flex: none; flex-wrap: nowrap; margin: 0; }
.dm-pref { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 7px; height: 36px; padding-inline: 12px; margin: 0; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.dm-pref > .ic { color: var(--muted); flex-shrink: 0; }
.dm-pref-t { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dm-pref-sep { flex: none; color: var(--muted); }
.dm-pref-a { flex: none; font-weight: 650; color: var(--accent-ink); white-space: nowrap; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.dm-pref-a > .ic { display: none; }
.dm-pref-a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dm-pref-a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dm-pref.fuerte { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); color: var(--text); }
.dm-pref.fuerte > .ic { color: var(--accent-ink); }
.dm-sk-pref.dm-pref { border: 0; }

/* "How it works": un botón chico y una ventanita que flota debajo, alineada al final del botón (en árabe, al otro lado). */
.dm-how { position: relative; flex: none; }
.dm-how-b { height: 36px; padding-inline: 10px 12px; gap: 6px; font-size: 13px; white-space: nowrap; }
.dm-how-b[aria-expanded="true"] { background: var(--surface-2); color: var(--text); }
.dm-how-b .ic { color: var(--accent); }
.dm-how-pop { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px 16px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); }
.dm-how-pop[hidden] { display: none; }
.dm-how-pop:focus { outline: none; }
.dm-how-pop:focus-visible { box-shadow: var(--shadow-lg), 0 0 0 3px var(--accent-ring); }
.dm-how-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.dm-how-hd h3 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 650; }
.dm-how-hd h3 .ic { color: var(--accent); }
.dm-how-pop .dmd-rl { margin: 0; padding: 0; list-style: none; }
/* Laptop chica, tablet y teléfono: el botón y "Edit preferences" quedan en su ícono (al final de la pastilla): el lugar es
   para el estado, que es lo que se lee. */
@media (max-width: 1180px) {
  .dm-pref > .ic, .dm-pref-sep, .dm-pref-at { display: none; }
  .dm-pref { padding-inline: 14px 3px; }
  .dm-pref-t { flex: 1 1 auto; }
  .dm-pref-a { width: 30px; height: 30px; border-radius: 99px; }
  .dm-pref-a > .ic { display: block; width: 16px; height: 16px; }
  .dm-pref-a:hover { background: var(--surface-2); }
  .dm-how-b { width: 36px; padding: 0; justify-content: center; }
  .dm-how-t { display: none; }
}
@media (max-width: 899px) {
  .dm-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "f f" "p h"; gap: 8px; }
  .dm-fila .dm-ctl { grid-area: f; flex-wrap: wrap; }
  .dm-pref { grid-area: p; height: 40px; }
  .dm-how { grid-area: h; }
  .dm-how-b { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .dm-how-b { transition: none; } }

/* ── Historial de precios (modal "View History", 2026-10-19). Una línea de marca (el rate final) y el techo como
   referencia apenas marcada (gris, punteado): un solo eje. El gráfico va de izquierda a derecha también en árabe. ── */
.ov-modal .ov-panel.dmh-ov { max-width: 760px; }
.dmh-sub { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dmh-sub > div { min-width: 0; }
.dmh-sub b, .dmh-sub small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmh-sub b { font-size: 14px; font-weight: 650; }
.dmh-sub small { font-size: 12.5px; color: var(--muted); }
.dmh-note { font-size: 12.5px; margin-top: -6px; }
.dmh-sk { height: 300px; border-radius: var(--r); }
.dmh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dmh-t { min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.dmh-t small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmh-t b { display: block; font-size: 16px; font-weight: 650; font-family: var(--mono); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmh-tr { display: flex !important; align-items: center; gap: 5px; font-family: var(--font) !important; font-size: 14px !important; }
.dmh-tr .ic { color: var(--muted); flex-shrink: 0; }
.dmh-chart { direction: ltr; margin-top: 4px; }
/* El eje Y lleva rates con 4 decimales ("US$ 14,7845"): una columna fija que entre entera, sin salirse por la izquierda. */
.dmh-chart .ch-y { min-width: 76px; }
.dmh-chart .ch-y span { font-size: 10.5px; }
.dmh-line { stroke: var(--accent); stroke-width: 2; }
.dmh-dot { --c: var(--accent); }
.dmh-last { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.dmh-plot { touch-action: pan-y; cursor: crosshair; }
.dmh-sw-r { background: var(--accent); }
.dmh-sw-n { background: transparent; border: 1px solid var(--muted); }
.dmh-tabla > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent-ink); list-style: none; }
.dmh-tabla > summary::-webkit-details-marker { display: none; }
.dmh-tw { margin-top: 10px; max-height: 260px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; }
.dmh-tw table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dmh-tw th, .dmh-tw td { padding: 7px 10px; text-align: start; border-bottom: 1px solid var(--border); white-space: nowrap; }
.dmh-tw th { position: sticky; top: 0; background: var(--surface-2); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.dmh-tw .n { text-align: end; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dmh-tw th.n { font-family: var(--font); }
@media (max-width: 640px) {
  .dmh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* La línea roja del empate (2026-10-20): otro postor ya tiene ese mismo precio. */
.dmd-tie { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--red) 45%, var(--border)); background: var(--red-soft); color: var(--red); font-size: 13px; font-weight: 600; line-height: 1.4; }
.dmd-tie > .ic { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 520px) { .dmd-q-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.dmd-cur { font-size: 14px; }

/* Montos largos (1.512,0725 US$): los escalones bajan a dos columnas antes de cortarse. */
.dmd-q-g { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }

/* Precio fijo (2026-11-16): nuestro precio a la vista, como el campo del rate pero sin editar. */
.dmd-fijo-p { display: flex; align-items: baseline; gap: 8px; min-height: 52px; padding: 0 14px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 700; line-height: 52px; }
.dmd-fijo-p em { font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }

/* Confirmar una orden COMPLETA de precio fijo (2026-11-16): la cantidad grande, los datos y la casilla obligatoria. */
.dmt-conf { display: flex; flex-direction: column; gap: 10px; }
.dmt-q { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); }
.dmt-q small { font-size: 12px; color: var(--muted); }
.dmt-q b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 700; color: var(--accent-ink); }
.dmt-q span { font-size: 13px; color: var(--text-2); }
.dmt-l { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 0 2px; }
.dmt-l span { color: var(--muted); }
.dmt-l b { font-family: var(--mono); font-variant-numeric: tabular-nums; }
/* La cantidad que se toma (2026-11-24): un campo grande en el recuadro de arriba; con una completa, deshabilitado. */
.dmt-q .dmt-in { margin: 4px 0 2px; background: var(--surface); }
.dmt-q .dmt-in input:disabled { color: var(--text); -webkit-text-fill-color: var(--text); opacity: 1; }
.dmt-q .dmt-in em { display: inline-flex; align-items: center; }
/* Dos renglones reservados siempre (un error largo no se corta y nada salta al aparecer). */
.dmt-q .dmt-hint { min-height: 36px; line-height: 18px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dmt-q .dmt-hint .dmd-err { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; }
.dmt-check { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); text-align: start; font-size: 13.5px; font-weight: 600; }
.dmt-check.on { border-color: var(--accent); background: var(--accent-soft); }
.dmt-check.on .ob-cb { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* El formulario en el teléfono (antes estaba con el detalle). */
@media (max-width: 899px) {
  .dmd-form { gap: 12px; }
  .dmd-in.big { height: 50px; }
  .dmd-pay b { font-size: 16px; }
}
@media (max-width: 520px) {
  .dmd-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dmd-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .dmd-send { width: 100%; justify-content: center; }
  .dmd-q { padding: 7px 8px; }
}

/* Teléfono: el cronómetro ARRIBA de los números (al costado los apretaba y se cortaban). Va al final del archivo para
   ganarle a la regla de ≤ 899 px que lo pone al costado. */
@media (max-width: 520px) {
  .dm-c-b { grid-template-columns: minmax(0, 1fr); }
  .dm-crono { padding: 8px; }
  .dm-crono svg { width: 92px; }
}

/* Closed (2026-11-24): tarjetas de SÓLO LECTURA (tabs/demand.js › tarjeta, `ro`). Sin historial ni "Beat #1": la subasta
   conserva la columna de las mejores pujas; la Directa va a una sola columna. Sin el realce al pasar el mouse. */
.dm-card.dm-ro { grid-template-areas: "k k" "main side" "a a"; }
.dm-card.dm-ro.dm-k-d { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "main" "a"; }
.dm-card.dm-ro:hover { box-shadow: var(--shadow); }
.dm-card.dm-ro .dm-c-a { justify-content: flex-start; }
@media (max-width: 899px) {
  .dm-card.dm-ro { grid-template-areas: "k" "main" "side" "a"; }
  .dm-card.dm-ro.dm-k-d { grid-template-areas: "k" "main" "a"; }
}

/* "Te eligieron" (2026-11-25, tabs/demand.js › ovElegido): el modal que se abre en cualquier pantalla cuando el staff
   acepta mi puja, con la cuenta de 10 s hasta la orden. El número de la cuenta tiene ancho fijo (no baila). */
.ov-modal .ov-panel.dme-ov { max-width: 460px; }
.dme { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.dme p { margin: 0; }
.dme-i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.dme-i .ic { width: 28px; height: 28px; }
.dme-p { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--text); }
.dme-p b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dme-p .mono { color: var(--muted); font-size: 12.5px; flex: none; }
.dme-cd { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.dme-cd b { display: inline-block; min-width: 2ch; text-align: center; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--green); }
.dme-h { color: var(--muted); font-size: 12.5px; }
