.lst-h{font-size:var(--fs-body);font-weight:600;color:var(--text);margin:26px 0 12px;}
.lst-tools{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;margin:0 0 14px;}
.lst-searchgroup{flex:1 1 100%;min-width:0;}
      /* En tablet y escritorio, búsqueda + filtros forman una sola barra
         compacta. Los ejemplos quedan para mobile, donde ayudan sin robarle
         ancho a los controles principales. */
.lst-tools--filters{flex-wrap:nowrap;gap:8px;align-items:flex-start;}
.lst-tools--filters .lst-searchgroup{flex:1 1 300px;}
.lst-tools--filters .lst-examples{display:none;}
      /* Los filtros son UN grupo, no tres controles sueltos: viven en su propia
         fila y no se rompen (hook de controles relacionados). El ancho de cada
         select lo fija fitSelects() midiendo la opción elegida. */
.lst-selects{display:flex;flex-wrap:nowrap;gap:8px;flex-shrink:0;}
.lst-selects .lst-select{flex-shrink:0;}
/* Wide layout: the browser sizes each select by its CHOSEN option, so the
   server-drawn row already has its final width and fitSelects() has nothing
   to move (browsers without field-sizing keep the JS measurement). */
@media (min-width:901px){.lst-selects .lst-select{field-sizing:content;}}
.lst-searchbox{display:flex;align-items:center;gap:13px;background:var(--panel);border:1px solid var(--border);
border-radius:14px;padding:15px 20px;box-shadow:var(--shadow-card);transition:border-color .12s,box-shadow .12s;}
.lst-ico{display:inline-block;flex-shrink:0;width:22px;height:22px;background:currentColor;
-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;}
.lst-ico--search{--ico:url(/static/icons/search-sf-regular.svg);}
.lst-ico--info{--ico:url(/static/icons/info-sf-regular.svg);}
.lst-ico--filter{--ico:url(/static/icons/filter-sf-regular.svg);}
.lst-searchbox .lst-ico{color:var(--text-2);}
.lst-searchbox:focus-within{border-color:var(--focus-border);box-shadow:0 0 0 3px var(--focus-ring),var(--shadow-card);}
      /* Piso de 44px para el input suelto (F04, QA 2026-09-10): en la
         variante sin filtros el campo medía 27px de alto — el área tocable
         real era una línea de texto. La variante con filtros ya usa 44px
         (regla de abajo); el input grande llega al mismo piso. */
.lst-search{flex:1;min-width:0;min-height:44px;padding:0;font:inherit;font-size:var(--fs-block);color:var(--text);background:none;border:0;outline:none;}
.lst-search::placeholder{color:var(--text-3);}
/* En una barra con filtros, búsqueda y selects son controles pares: */
/* misma altura, tipografía, radio y borde. La búsqueda grande conserva */
/* su tratamiento de portada cuando aparece sola. */
.lst-tools--filters .lst-searchbox,.lst-tools--filters .lst-select{height:44px;box-sizing:border-box;}
.lst-tools--filters .lst-searchbox{gap:10px;padding:0 12px;border-color:var(--border-strong);border-radius:10px;box-shadow:none;}
.lst-tools--filters .lst-searchbox .lst-ico{width:20px;height:20px;}
/* Phone-only bar (≤900px): the «Filtros» control and the sort select. */
.lst-phonebar{display:none;}
.lst-filtros{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;box-sizing:border-box;
font:inherit;font-size:var(--fs-body);color:var(--text);background:var(--panel);border:1px solid var(--border-strong);
border-radius:10px;cursor:pointer;white-space:nowrap;}
.lst-filtros .lst-ico{width:20px;height:20px;}
.lst-filtros.on{border-color:var(--accent);}
.lst-filtros-n{display:inline-block;min-width:22px;height:22px;line-height:22px;padding:0 6px;box-sizing:border-box;
border-radius:11px;background:var(--accent);color:#fff;font-size:var(--fs-body);text-align:center;}
/* Piso de 16px para todo control enfocable: con menos, iOS Safari hace */
/* zoom automático al enfocar y la página queda recortada a los costados. */
/* min-height:0 — acá el piso lo pone la caja de 44px de arriba, y el */
/* input no tiene que forzar su propia altura dentro de ella. */
.lst-tools--filters .lst-search{font-size:var(--fs-body);min-height:0;}
      /* Los ejemplos WRAPean, nunca se recortan (F07/F09, QA 2026-09-10):
         nowrap+overflow:hidden escondía el último chip más allá del viewport
         en teléfonos (ES360 +66px). Cada link es su propia línea potencial;
         el piso de 24px (WCAG 2.5.8) va en el mismo slice que el wrap para
         que la fila envuelta siga siendo un target tocable. */
.lst-examples{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;margin:8px 2px 0;
font-size:var(--fs-body);color:var(--text);}
/* «Probá:» steps back so the examples themselves stand out, and the line
   sits right under its search box (owner, 2026-11-29). */
.lst-examples>span{color:var(--text-2);}
/* Link de texto: color y subrayado los pone el tema (a{} en */
/* human-rounds.css) — acá no se apaga nada (responsable del producto, 2026-09-15: "do */
/* transparent underlines for all the links"). */
.lst-examples a{color:var(--link,var(--accent));display:inline-flex;align-items:center;min-height:44px;}
.lst-examples a:hover{color:var(--link-hover,var(--accent-hover));}
/* A typed query hides the examples (round 8 J114), on every width. */
.lst-tools .lst-examples[hidden],.lst-examples[hidden]{display:none;}
/* Un solo sistema de <select> para todo el sitio (responsable del producto, 2026-07-18): */
/* caret propio (SVG inline, nunca el nativo del navegador), foco en */
/* accent, y — la señal importante — cuando el valor YA NO es el default */
/* el borde pasa a accent + el texto a semibold, así un filtro activo se */
/* ve de un vistazo sin tener que leer el texto. */
.lst-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;
padding:10px 34px 10px 12px;font:inherit;font-size:var(--fs-body);color:var(--text);background-color:var(--panel);
border:1px solid var(--border-strong);border-radius:10px;cursor:pointer;transition:border-color .12s;
/* the chevron is the Icons8 file, never a hand-drawn data-URI svg */
background-image:url(/static/icons/expand-arrow-sf-regular.svg);background-size:14px 14px;
background-repeat:no-repeat;background-position:right 12px center;}
.lst-select:focus{outline:none;border-color:var(--accent);}
.lst-select.on{border-color:var(--accent);font-weight:600;}
.lst-scroll{overflow-x:auto;}
.lst-table{width:100%;border-collapse:collapse;font-size:var(--fs-body);}
/* Encabezados y orden son controles, no letra chica descriptiva */
/* (2026-11-08): sin elegir van en --hint-ink, gris oscuro opaco en los */
/* dos temas; la escala translúcida --text-2..4 queda para el texto. */
/* Tamaño de lectura y sin mayúsculas (2026-11-15, revisión pública: */
/* 13,5px en versalitas no se leía): 15px, 16px en escritorio. */
.lst-table th{text-align:left;padding:9px 12px;border-bottom:1px solid var(--border-strong);white-space:nowrap;
font-size:var(--fs-body);font-weight:600;color:var(--hint-ink,var(--text-3));}
.lst-table th.lst-r{text-align:right;}
.lst-sort{background:none;border:0;padding:0;font:inherit;font-size:var(--fs-body);font-weight:600;color:var(--hint-ink,var(--text-3));
cursor:pointer;}
.lst-sort:hover{color:var(--hover-ink);}
.lst-sort.on{color:var(--accent);}
/* vertical-align:middle (responsable del producto, 2026-07-14): todos los elementos de la */
/* fila — avatar, nombre, tag, pill, botón — comparten el eje horizontal. */
.lst-table td{padding:13px 12px;border-bottom:1px solid var(--border-soft);vertical-align:middle;font-size:var(--fs-body);white-space:nowrap;}
.lst-table td.lst-r{text-align:right;}
/* Fila de grupo (responsable del producto, 2026-08-05): un <th colspan> intercalado en el */
/* <tbody>, no un encabezado más — texto normal (nunca mayúsculas, a */
/* diferencia del thead) con la fecha en tinta fuerte y el laboratorio */
/* atenuado al lado. Sólo existe cuando alguna fila trae `grupo`. */
.lst-grp th{padding:24px 12px 9px;border-bottom:1px solid var(--border-soft);
font-size:var(--fs-body);font-weight:500;color:var(--text);text-transform:none;letter-spacing:0;white-space:normal;}
.lst-grp:first-child th{padding-top:0;}
.lst-grp-d{font-weight:800;color:var(--text);}
.lst-grp-l{margin-left:4px;color:var(--text-2);}
/* A place as the heading of its rows (opts.groupHeads, 2026-11-29). */
.lst-grp--head th{padding-top:34px;font-size:var(--fs-block);}
.lst-grp--head:first-child th{padding-top:20px;}
/* A center's search (listing.mjs arrangeGroup, round 11 J20): the services */
/* found by their own words sit between the box and the doctors' rows. */
.lst-pair--lead{display:flex;flex-direction:column;}
.lst-pair--lead>.lst-drv,.lst-pair--lead>.lst-drv>.lst-slot{display:contents;}
.lst-pair--lead>.lst-drv>.lst-slot>.lst-h,.lst-pair--lead>.lst-drv>.lst-slot>.lst-body,.lst-pair--lead>.lst-drv>.lst-slot>.lst-body~*{order:2;}
.lst-pair--lead>.lst-lead{order:1;margin-bottom:36px;}
.lst-pair--lead>.lst-drv~*:not(.lst-lead){order:3;}
/* One section of a grouped page (opts.section, 2026-11-19 — services */
/* grouped by specialty): its title under the page's search box, no */
/* header row, and the same column widths in every section so the */
/* times start on one vertical line down the page. */
.lst-h--sec{font-size:var(--fs-title);font-weight:800;line-height:1.25;margin:36px 0 8px;}
.lst-table--sec{table-layout:fixed;width:100%;}
.lst-table--sec col.lst-c-centro{width:40%;}
/* with the service named, the two share those 40%: the time starts at the
   same x in every section of the page */
.lst-table--sec col.lst-c-nombre{width:22%;}
.lst-table--sec col.lst-c-nombre ~ col.lst-c-centro{width:18%;}
.lst-table--sec col.lst-c-orden{width:9em;}
.lst-table--sec .lst-grp th{padding-top:28px;font-size:var(--fs-block);}
.lst-table--sec .lst-grp:first-child th{padding-top:4px;}
/* Punto + texto de estado (t:"dot") — salvia "ok"/bronce "out", los */
/* mismos tokens que ya colorean turnos/pastillas en el resto del sitio. */
.lst-dot{display:inline-flex;align-items:center;gap:8px;}
.lst-dot-i{width:9px;height:9px;border-radius:50%;flex-shrink:0;}
.lst-dot--ok{color:var(--text-2);}.lst-dot--ok .lst-dot-i{background:var(--done);}
.lst-dot--out{color:var(--warn);font-weight:700;}.lst-dot--out .lst-dot-i{background:var(--warn);}
/* Valor fuera de lo esperado (outKey) — mismo tratamiento que el punto */
/* "out" de arriba, para que el número y su estado se lean del mismo */
/* color. Selector COMPUESTO (.lst-txt.lst-txt--out, no sólo */
/* .lst-txt--out): el span siempre lleva las dos clases juntas y la */
/* base ".lst-txt{color:var(--text-2)}" vive más abajo en esta misma */
/* hoja — con la misma especificidad (0,1,0) la última declarada gana, */
/* así que un selector de una sola clase perdía contra la base pese a */
/* estar "encima" en el CSS (bug real, encontrado en el pull de */
/* «Resultados de laboratorio», 2026-08-05: el valor fuera de rango no */
/* se pintaba). El compuesto (0,2,0) gana siempre, sin depender del orden. */
.lst-txt.lst-txt--out{color:var(--warn);font-weight:700;}
      /* Con columna de lugar/sede (centro con sedes: 5 columnas) la tabla no
         entra en el shell de 1120 y el scroll interno escondía justo la
         columna del turno (la regla 2026-07-15: TODO tiene que entrar). Sólo
         en esas tablas los textos de contexto pueden envolver a 2 líneas, y
         la fila se alinea arriba (hook de alineación: fila que puede
         envolver → top). */
@media(min-width:1041px){
.lst-table:has(td.lst-td-lugar) td.lst-td-text,.lst-table:has(td.lst-td-lugar) td.lst-td-lugar,
.lst-table:has(td.lst-td-lugar) td.lst-td-link{white-space:normal;}
.lst-table:has(td.lst-td-lugar) td{vertical-align:middle;}
}
/* Names and centers are data, not fixed-width controls.  Let their */
/* cells wrap at every non-phone width so an unusually long value cannot */
/* consume the appointment column inside the table's own scroll box. */
@media(min-width:901px){
/* TODAS las filas miden lo mismo, con botón o sin él (responsable del producto, 2026-09-15: */
/* "the table should have the same row height, no matter if it has a */
/* button or not"): la celda fija el alto de la fila al de la fila más */
/* alta posible (botón de turno: 33px + 2×14 de padding en desktop) y */
/* todo se centra en vertical — una fila de texto ya no queda más baja */
/* que la de al lado. Una celda que envuelve a dos líneas sigue */
/* creciendo (height es piso, no techo). */
.lst-table tbody td{height:56px;}
/* balance: a wrapped name splits into two even lines («Medicina */
/* general - / Salud de la mujer»), never one word left alone below. */
.lst-table td.lst-td-text,.lst-table td.lst-td-link,.lst-table td.lst-td-lugar{white-space:normal;vertical-align:middle;text-wrap:balance;}
.lst-table td.lst-td-link .lst-linkcell{display:block;max-width:100%;}
/* The avatar identity is a media object, not a text-only link.  Keep */
/* its circle beside the wrapping name rather than letting the generic */
/* long-name rule turn it into a block above the name. */
.lst-table td.lst-td-link .lst-linkcell--av{display:inline-flex;}
.lst-table td.lst-td-link .lst-name,.lst-table td.lst-td-link .lst-txt{white-space:normal;overflow-wrap:anywhere;}
}
.lst-table tr:last-child td{border-bottom:0;}
/* One keyboard focus ring for every public list, the chat's copy */
/* included (the product owner's hub, 2026-11-16): 2px in the accent, */
/* 2px away from the control. It reaches 4px past the control, so every */
/* box that clips a row keeps at least 4px of room around it (the */
/* phone's row below; desktop cells have 12-13px of padding). */
.lst-table :is(a,button,summary):focus-visible,.lst-poplink:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
/* No tabular digits anywhere in a row (review D26): Manrope's tabular */
/* «1» is as wide as a «0», so «12:30» read «1 2:30». */
.lst-when{white-space:nowrap;}
.lst-when--strong{color:var(--text);font-weight:600;}
.lst-when--ok{color:var(--done);font-weight:500;}
.lst-when--warn{color:var(--warn,#8a5b12);font-weight:500;}
.lst-when--accent{color:var(--accent);font-weight:500;}
.lst-when--muted{color:var(--text);}
/* pastilla del próximo turno / apertura en formato amigable. Turnos */
/* reservables: un verde que vira al azul con la lejanía (ver ORDEN.bucket). */
/* Walk-in: variante única atenuada (--walkin) — menos visible que */
/* cualquier turno reservable, sin dejar de leerse (contraste AA). */
/* Una sola línea por celda (responsable del producto, 2026-07-12): el turno y su "más horarios" */
/* van uno al lado del otro, no apilados — apilarlos hacía filas de dos */
/* alturas distintas y la tabla dejaba de escanearse de un vistazo. */
.lst-timecell{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;}
.lst-time{display:inline-flex;align-items:center;box-sizing:border-box;padding:6px 11px;border:1px solid;border-radius:9px;text-decoration:none;
font-size:var(--fs-body);font-weight:400;line-height:1.3;white-space:nowrap;}
/* Reservable (<a>) = BOTÓN de verdad (the product owner, 2026-07-14): fondo lleno, */
/* texto blanco de UN solo color — nada de mezclar tintas dentro de la */
/* pastilla. La cercanía sigue codificada, ahora en el fondo (blanco */
/* sobre estos tres da contraste AA). El span de estado (my-requests, */
/* no clickeable) conserva el look tenue de pastilla. */
/* El verde de --done en pinamar viene del design system (handoff */
/* Claude Design: --ok #6f9959 original), oscurecido un paso para AA con */
/* texto blanco. El tema sana usa su propia paleta bronce/terracota, sin */
/* verde (ver human-rounds.css) — --done se lee siempre desde el token, sin */
/* fallback literal verde. */
/* ONE primary colour for every booking button (review 2026-11-15): the */
/* wait no longer tints it — the date on it says how far it is. */
a.lst-time{min-height:44px;border:none;padding:0 16px;color:var(--btn-fg,#fff);background:var(--btn-bg,var(--accent,#0d7d48));
transition:filter .12s;cursor:pointer;}
a.lst-time:hover{background-image:var(--hover-fill);color:var(--btn-fg,#fff);}
/* A booking label is always ONE line (ui-expert, 2026-12-02): the Especialidad and */
/* Centro text wraps instead, and a table too narrow for the button row scrolls, */
/* it never clips. «Más horarios» stays beside the button on every width. */
a.lst-time{max-width:100%;min-width:0;white-space:nowrap;}
/* El tier gris usa el taupe CÁLIDO del sitio (--text-2), no un gris */
/* azulado — el frío desentona con la paleta crema y lee "deshabilitado" */
/* (the product owner, 2026-07-14). */
a.lst-time--ya{background:var(--btn-bg,var(--accent,#0d7d48));}
.lst-time--w0{--slot-c:color-mix(in srgb,#2c5f9e 0%,var(--accent,#0d7d48));}span.lst-time--w0{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w1{--slot-c:color-mix(in srgb,#2c5f9e 10%,var(--accent,#0d7d48));}span.lst-time--w1{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w2{--slot-c:color-mix(in srgb,#2c5f9e 20%,var(--accent,#0d7d48));}span.lst-time--w2{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w3{--slot-c:color-mix(in srgb,#2c5f9e 30%,var(--accent,#0d7d48));}span.lst-time--w3{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w4{--slot-c:color-mix(in srgb,#2c5f9e 40%,var(--accent,#0d7d48));}span.lst-time--w4{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w5{--slot-c:color-mix(in srgb,#2c5f9e 50%,var(--accent,#0d7d48));}span.lst-time--w5{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w6{--slot-c:color-mix(in srgb,#2c5f9e 60%,var(--accent,#0d7d48));}span.lst-time--w6{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w7{--slot-c:color-mix(in srgb,#2c5f9e 70%,var(--accent,#0d7d48));}span.lst-time--w7{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w8{--slot-c:color-mix(in srgb,#2c5f9e 80%,var(--accent,#0d7d48));}span.lst-time--w8{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w9{--slot-c:color-mix(in srgb,#2c5f9e 90%,var(--accent,#0d7d48));}span.lst-time--w9{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}.lst-time--w10{--slot-c:color-mix(in srgb,#2c5f9e 100%,var(--accent,#0d7d48));}span.lst-time--w10{color:color-mix(in srgb,var(--slot-c),#000 18%);border-color:color-mix(in srgb,var(--slot-c),#fff 65%);background:color-mix(in srgb,var(--slot-c),#fff 90%);}
/* "Sacar turno" sin fecha conocida: botón en tinta (mockup 2026-07-14), */
/* la nota "La fecha la confirma el centro" va al lado como texto plano. */
a.lst-time--pedir{background:var(--btn-bg,var(--accent,#0d7d48));}
a.lst-time--pedir:hover{background-image:var(--hover-fill);color:var(--btn-fg,#fff);}
span.lst-time--ya{color:var(--accent-hover,#0b6e33);border-color:var(--accent-bd,#cde7d5);background:var(--accent-soft,#eaf4ec);}
.lst-time-h{font-weight:400;}
.lst-time-note{font-size:var(--fs-body);color:var(--text);white-space:nowrap;}
/* The closed-agenda cell may wrap. Held on one line (the td's nowrap) its */
/* min-content equalled its whole length, so auto layout handed this */
/* column all the spare width while Servicio/Atención broke into three */
/* lines (product owner, 2026-11-13). Stacked, the cell is no wider than a */
/* booking button and the date line still wraps if a column is narrow. */
/* min-width: a floor so a squeezed column never breaks the date into */
/* a word per line (about the width of «No hay turnos disponibles»). */
.lst-closed{display:inline-block;min-width:min(13em,100%);font-size:var(--fs-body);color:var(--text);line-height:1.4;white-space:normal;text-wrap:pretty;}
/* «No hay turnos» in ink and ONE dotted link under it that opens the rest in */
/* place (product owner, 2026-12-01; the dotted look is .link-more in */
/* human-rounds.css): when they open, then the way on (remedies) in the */
/* theme's link look. The tap zone is the link's ::after: 4px past its text */
/* on the sides and above (a line plus 4px, over 24px), never below — a zone */
/* past the link's bottom is overflow the cell does not grow for (the */
/* 1024px table with the chat open: 57px of content in a 45px cell). */
.lst-closed-head{display:block;color:var(--text);}
.lst-closed-next{display:block;width:fit-content;max-width:100%;position:relative;text-wrap:balance;}
.lst-closed-next::after{content:"";position:absolute;left:-4px;right:-4px;top:-4px;bottom:0;}
/* The opened part has room for the way on WITH its date on a phone too; */
/* the short form stays in the markup for surfaces with one line. */
.lst-closed-short{display:none;}
.lst-closed-more{display:block;}
.lst-closed-more>summary{position:relative;}
.lst-closed-more>summary::after{content:"";position:absolute;left:-4px;right:-4px;top:-4px;bottom:0;}
.lst-closed-body{display:block;padding-top:2px;}
.lst-closed-when{display:block;}
.lst-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;
padding:8px 15px;font-size:var(--fs-body);line-height:1.2;white-space:nowrap;}
/* Green belongs to the one thing you can press: the booking pill. A */
/* walk-in opening is information, so it reads in ink (on-site tester, */
/* 2026-10-21: green pills next to green walk-in text read as "some */
/* rows green, some white" with no visible reason). Its "por orden de */
/* llegada" is smaller but in ink too: the humanrounds theme makes */
/* --text-2 a 50% tint, too faint for the cell's main fact. */
.lst-open{color:var(--text);font-weight:400;white-space:nowrap;}
.lst-open-note{display:block;font-size:var(--fs-body);color:var(--text);white-space:normal;}/* On a phone the window and the mode are two lines, «Mañana de 8 a 12» over «sin */
/* turno, por llegada»: no separator mark between them (the product */
/* owner, 2026-12-01). On wide screens the mode follows the window on the */
/* same line and «Horarios» after it; the cell wraps only when it must. */
@media(min-width:901px){.lst-open-note{display:inline;}}
/* the notice of a walk-in service's page: its title leads the cell, a line */
/* of its own in the weight of a title, and the hours follow under it */
/* (usability round 27: it was the last plain line, under the hours) */
.lst-notice{display:block;font-size:var(--fs-body);font-weight:600;color:var(--text);white-space:normal;}
/* "Más horarios" del MISMO color que el botón al que acompaña (responsable del producto, */
/* 2026-07-14): son la misma noticia, no dos señales distintas. Peso */
/* regular para que la fila no lea como una sucesión de titulares. */
/* "Más horarios" es un link de texto como cualquier otro del sitio */
/* (responsable del producto, 2026-09-15): color de link del tema + el subrayado tenue. */
/* Secondary action = outline button next to the primary one (review */
/* 2026-11-15): 44px tall like it, never a second filled colour. */
/* Its look is the patient secondary button of human-rounds.css. */
.lst-more{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;padding:0 14px;
font-size:var(--fs-body);white-space:nowrap;}
/* A pair wider than its row (pair-fit in listing.mjs): less side padding, */
/* at any width, the chat panel's container band included. */
.lst-timecell--tight{gap:6px;}
.lst-timecell--tight>a.lst-time,.lst-timecell--tight>.lst-more{padding-left:9px;padding-right:9px;}
/* La celda-link (avatar + nombre) NO apaga el subrayado: se propaga al */
/* nombre y no entra en el avatar (inline-flex = inline atómico). El */
/* nombre de la entidad es uno de los pocos acentos que quedan */
/* (the product owner, 2026-09-15: "accents only a few, such as the name of the exam"). */
.lst-linkcell{display:inline-flex;align-items:center;gap:12px;min-width:0;}
.lst-name{color:var(--accent);font-weight:500;font-size:var(--fs-body);}
/* Contexto secundario (especialidad, centro): link atenuado — gris, más */
/* liviano que la entidad en accent, con subrayado punteado tenue que lo */
/* mantiene legible como link a reposo (accent-is-link). En hover pasa a */
/* un gris más oscuro — sin subrayado (responsable del producto, 2026-08-07: ningún link se */
/* subraya, ni en hover). */
/* Context (specialty, center) is still a fact the patient reads: dark */
/* and 16px, the entity name alone carries the accent. */
.lst-name--sub{color:var(--text);font-weight:400;font-size:var(--fs-body);}
.lst-name--sub:hover{color:var(--hover-ink,var(--text));}
.lst-txt--sub{color:var(--text);}
/* The unit or venue inside a place, on its own line under it */
/* («Hospital de Pinamar» / «Oncología, Hospital de Día»): a hierarchy, */
/* never one long line joined by «·» (the product owner, 2026-11-24). */
/* Same ink and size as the place — the line break is the hierarchy. */
.lst-under{display:block;margin-top:2px;color:var(--text);font-size:var(--fs-body);font-weight:400;line-height:1.25;white-space:normal;overflow-wrap:anywhere;}
/* a linked unit too: the home page's `a.stz-link{display:inline-block}` */
/* outweighs the rule above and stood it beside the center's name */
a.stz-link.lst-under{display:block;}
a.lst-under:hover{color:var(--hover-ink,var(--text));}
/* walk-in row: today's opening, then the way to the whole week (2026-11-24) */
.lst-hours{font-size:var(--fs-body);font-weight:400;white-space:nowrap;}
/* Names in the avatar cell stay compact for ordinary rows, but wrap */
/* when a real long name needs that room so the appointment remains */
/* reachable in its own column. */
/* vertical-align:middle: el inline-flex del avatar, alineado a la baseline */
/* por defecto, sumaba ~6px de hueco de descendente y engordaba la fila — */
/* centrarlo la iguala a la fila de servicios (responsable del producto, 2026-07-16). */
.lst-linkcell--av{vertical-align:middle;align-items:center;}
.lst-linkcell--av .lst-name{white-space:normal;overflow-wrap:anywhere;}
.lst-person-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:2px;line-height:1.18;}
.lst-person-specialty{display:none;color:var(--text);font-size:var(--fs-body);font-weight:400;white-space:normal;overflow-wrap:anywhere;}
/* what the specialty means (front desk, 2026-12-01): its own line under the name, in a flex row too */
.lst-person-hint{display:block;flex-basis:100%;color:var(--text);font-size:var(--fs-body);font-weight:400;white-space:normal;overflow-wrap:anywhere;}
.lst-name:hover,.lst-linkcell--av:hover .lst-name{color:var(--link,var(--accent));}
/* fila-link: toda la línea es clickeable (lleva a sacar turno) */
tr.lst-rowlink{cursor:pointer;}
tr.lst-rowlink:hover td{background:var(--hover-bg);}
tr.lst-rowlink:hover a.lst-time{background-image:var(--hover-fill);color:var(--btn-fg,#fff);}
.lst-txt{color:var(--text);}
/* Avatar más grande SIN estirar la fila (responsable del producto, 2026-07-16): el círculo se */
/* dibuja a 40px pero su caja de layout mide 32px gracias al margin vertical */
/* negativo (40 − 4 − 4 = 32), así la fila de un médico sigue midiendo EXACTO */
/* lo mismo que la de un servicio (59px) — el retrato se agranda hacia el */
/* padding de la celda, que sobra (13px), sin recortarse. Antes a 46px sin */
/* este truco el retrato era el más alto y estiraba las filas ~24%. */
.lst-av{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-4px 0;
border-radius:50%;font:600 var(--fs-body) var(--font);flex-shrink:0;}
.lst-av--ph{background:var(--av-ph,#eef0ee) center/cover no-repeat;}
/* ONE neutral initials avatar in both themes (review 2026-11-15, P37): */
/* the colour slot no longer paints a doctor green and the next blue. */
.lst-av:not(.lst-av--ph){background:var(--av-ph,#eef0ee);color:var(--text);}
/* Columna Orden (mockup 2026-07-14): "Con orden" texto en tinta + ⓘ, el */
/* conjunto abre el popover explicativo; sin orden la celda queda vacía. */
.lst-orden{display:inline-flex;align-items:center;gap:6px;min-height:44px;background:none;border:0;padding:0;
font:inherit;font-size:var(--fs-body);font-weight:400;color:var(--text);cursor:pointer;white-space:nowrap;}
.lst-orden-i{width:20px;height:20px;color:var(--text);}
.lst-orden:hover .lst-orden-i{color:var(--accent);}
/* "+N" (columna lugar, Estudios en más de un centro): texto, no chrome */
/* de botón — es un link a más información, en accent (accent-is-link). */
.lst-masbtn{display:inline-flex;align-items:center;min-height:44px;background:none;border:0;padding:0;font:inherit;font-size:var(--fs-body);
font-weight:700;color:var(--accent);cursor:pointer;white-space:nowrap;}
.lst-masbtn:hover{color:var(--accent-hover);}
.lst-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:6px;font-size:var(--fs-body);
font-weight:600;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;}
.lst-tag--demo{background:var(--bg-2);color:var(--text-3);}
.lst-note,.lst-empty{font-size:var(--fs-body);color:var(--text);margin:14px 2px 0;line-height:1.5;}
.lst-pop{position:absolute;z-index:50;max-width:320px;background:var(--panel);border:1px solid var(--border-strong);
border-radius:12px;padding:14px 15px;box-shadow:0 8px 30px rgba(0,0,0,.14);font-size:var(--fs-body);line-height:1.5;color:var(--text);}
.lst-pop p{margin:0 0 9px;}.lst-pop b{color:var(--text);}
.lst-poplink{display:inline-block;margin-top:2px;color:var(--accent);font-weight:600;}
.lst-poplink:hover{color:var(--accent-hover);}
.lst-pop-title{margin:0 0 8px;font-weight:600;color:var(--text);}
.lst-pop-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px;}
.lst-pop-list li{margin:0;}
.lst-pop-list .lst-poplink{margin-top:0;}
/* Desktop: the listing stays in the content column, one left edge with */
/* the title (review 2026-11-15, D19/P26 — revokes the 2026-07-23 */
/* full-viewport breakout, which stretched rows to 1392px). */
@media(min-width:1121px){
.lst-table th,.lst-sort{font-size:var(--fs-body);}
.lst-table td{padding:14px 10px;}
/* 10px gutters on every table, the column headers with them (a */
/* group's header row keeps its inset). Not a measured class: a */
/* class set after the first paint moved the rows the server drew */
/* (2026-11-17, /d/trauma-kine at 1280 in the evening: «Más horarios» */
/* under the button at 13px, beside it at 10px — rows 121 → 73px). */
.lst-table thead th{padding-left:10px;padding-right:10px;}
/* Doctor table: a name and a center fit on one line (2026-11-15, */
/* public review — «Juan / González» broke while the row had room). */
/* At 1072px name, specialty, center and a one-line «button · date · */
/* Más horarios» cell do not all fit: a floor on name and center alone */
/* squeezed the specialty until a word broke mid-letter. So the three */
/* text columns keep floors (the specialty floor fits its longest */
/* word, so a word never breaks inside). «Más horarios» stays beside */
/* the button at every width: the column takes the widest pair and the */
/* text columns wrap instead (the product owner, 2026-11-18: «no */
/* pongas los botones en 2 renglones»; replaces 2026-11-16's wrap */
/* under pressure, which at 1440 put it under the button in 8 of 13 */
/* rows of /d/diagnostico). `.lst-timecell` itself never wraps. */
.lst-table:has(.lst-linkcell--av) td.lst-col-nombre{min-width:13em;}
.lst-table:has(.lst-linkcell--av) td.lst-col-especialidad{min-width:9em;}
/* A specialty never breaks inside a word: the column takes its longest */
/* word («Electrocardiograma» read «Electrocardiogram / a» at 1440, the */
/* product owner, 2026-11-24); the other text columns wrap instead. */
.lst-table:has(.lst-linkcell--av) td.lst-col-especialidad :is(.lst-name,.lst-txt){overflow-wrap:normal;word-break:normal;}
.lst-table:has(.lst-linkcell--av) td.lst-col-centro{min-width:11em;}
/* A place on one line while the table fits (fitPlaces() sets */
/* lst-nw-<col> only then): the column takes its longest name, and */
/* the name column keeps 12em so it is not what pays for it. */
.lst-table.lst-nw-area tbody td.lst-col-area,.lst-table.lst-nw-centro tbody td.lst-col-centro,.lst-table.lst-nw-lugar tbody td.lst-col-lugar,
.lst-table.lst-nw-centro tbody td.lst-col-centro :is(.lst-name,.lst-txt),.lst-table.lst-nw-lugar tbody td.lst-col-lugar :is(.lst-name,.lst-txt){white-space:nowrap;}
/* (the doctor table keeps its own 13em above) */
.lst-table:is(.lst-nw-area,.lst-nw-centro,.lst-nw-lugar):not(:has(.lst-linkcell--av)) td.lst-col-nombre{min-width:12em;}
.lst-table tbody td{height:66px;}
.lst-name{font-size:var(--fs-body);}
/* Every table: the name column never narrower than its longest word's room */
/* (a lower-specificity floor than the doctor and one-line-place rules above); */
/* a walk-in window may wrap when the column is squeezed. */
.lst-table td.lst-col-nombre{min-width:13em;}
.lst-open{white-space:normal;}
}
/* Tablet/narrow window: the identity cell owns name + specialty. The */
/* avatar is centered against that two-line stack while the remaining */
/* facts keep their columns. */
@media(min-width:901px) and (max-width:1120px){
.lst-scroll{overflow-x:auto;}
.lst-table th{padding:8px 7px;font-size:var(--fs-body);}
.lst-sort{font-size:var(--fs-body);}
.lst-table td{padding:11px 7px;}
.lst-name{font-size:var(--fs-body);}
/* The button and «Más horarios» on one line here too (2026-11-18): */
/* the doctor grid's appointment track is as wide as its widest pair */
/* (max-content, --lst-av-grid) and the other tracks give way. */
.lst-timecell{gap:7px;}
a.lst-time{padding:0 12px;}
.lst-more{padding:0 12px;}
.lst-av{width:34px;height:34px;margin:-2px 0;font-size:var(--fs-body);}
/* In a row, the base column layout's vertical centring would centre */
/* a name that wraps above its specialty horizontally: start at the */
/* avatar like every other name (2026-11-13; same at ≤900). */
.lst-person-copy{flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;column-gap:8px;row-gap:1px;}
.lst-person-specialty{display:inline;}
.lst-table:has(.lst-row-av) .lst-col-especialidad{display:none;}
/* ONE grid for the whole table, rows on subgrid (2026-11-18): a grid per */
/* row sized its max-content track from that row alone, so the time */
/* column zig-zagged row by row (649/643px at 1024). */
.lst-table:has(.lst-row-av){display:grid;grid-template-columns:var(--lst-av-grid,minmax(150px,1.25fr) minmax(96px,.78fr) minmax(72px,.55fr) minmax(max-content,1.45fr));}
.lst-table:has(.lst-row-av) thead,.lst-table:has(.lst-row-av) tbody{display:grid;grid-column:1/-1;grid-template-columns:subgrid;}
/* --lst-av-grid (tableHtml): one track per column the table shows, so */
/* a center's page (no Centro), a study's «Quién atiende» (no Centro, */
/* no Orden) or a collapsed column leaves no empty track mid-row. */
.lst-table:has(.lst-row-av) tr{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;border-bottom:1px solid var(--border-soft);}
.lst-table:has(.lst-row-av) tr.lst-grp>th{grid-column:1/-1;}
/* A browser without subgrid (Chrome 105-116, :has without subgrid) keeps */
/* the grid per row it had before: columns, at worst a zig-zag. */
@supports not (grid-template-columns:subgrid){
.lst-table:has(.lst-row-av) tr{grid-template-columns:var(--lst-av-grid,minmax(150px,1.25fr) minmax(96px,.78fr) minmax(72px,.55fr) minmax(max-content,1.45fr));}
}
/* A grid cell is a block: its height:56px would be a cap, not a floor. */
/* The row keeps the uniform height, the cell grows with its content. */
.lst-table:has(.lst-row-av) tbody tr{min-height:56px;}
.lst-table:has(.lst-row-av) tbody td{height:auto;min-width:0;}
.lst-table:has(.lst-row-av) tbody tr:last-child{border-bottom:0;}
.lst-table:has(.lst-row-av) td{border-bottom:0;}
/* The other cells take the next tracks in order. */
.lst-table:has(.lst-row-av) .lst-col-nombre{grid-column:1;grid-row:1;align-self:center;}
}
@media(min-width:701px) and (max-width:1120px){
.lst-timecell{gap:8px;}
}
/* Mobile: la fila se APILA compacta. Servicio/estudio (responsable del producto, img 5-6): */
/* entidad + centro en la MISMA línea separados por ' · ' (el centro baja */
/* ENTERO a la línea 2 sólo si no hay lugar), y el botón de turno debajo con */
/* poco aire. Médico (img 7): avatar + nombre en la línea 1, botón alineado */
/* DEBAJO del nombre (no del avatar). Se esconden las columnas hideSm */
/* (especialidad/área/orden). "Más horarios" se QUEDA (responsable del producto, 2026-07-16: */
/* esconderlo era un bug, no diseño — en el teléfono elegir otro horario */
/* importa igual; el botón con ?slot= saltea la grilla, así que sin este */
/* link no había camino visible a los demás horarios). Sin scroll */
/* horizontal: nada se recorta. */
@media(max-width:900px){
/* A long sign («Lunes a viernes de 8 a 12 (solo embarazadas con turno)») */
/* wraps inside the card instead of running past its edge. */
.lst-open{white-space:normal;}
.lst-tools--filters{flex-wrap:wrap;gap:10px;}
.lst-tools--filters .lst-searchgroup{flex:1 1 100%;}
.lst-tools--filters .lst-examples{display:flex;}
/* One «Filtros» control; the selects open under it (review P29). */
.lst-phonebar{display:flex;flex:1 1 100%;gap:8px;min-width:0;}
.lst-phonebar .lst-sortsel{flex:1 1 auto;min-width:0;height:44px;}
.lst-tools--filters:not(.lst-tools--open) .lst-selects{display:none;}
/* El ancho medido de cada valor sostiene los tres filtros en UNA fila */
/* mientras entren. fitSelects() apila el grupo completo si dejan de */
/* entrar; nunca queda un 2+1 desperdiciando media fila. */
.lst-selects{display:flex;flex-wrap:nowrap;flex:1 1 100%;gap:8px;min-width:0;}
.lst-selects>.lst-select{flex:1 1 auto;}
.lst-selects.lst-selects--stacked{display:grid;grid-template-columns:minmax(0,1fr);}
.lst-selects.lst-selects--stacked .lst-select{width:100%!important;}
/* 16px también acá: un <select> más chico dispara el mismo zoom de */
/* iOS al abrirlo. fitSelects() ya apila el grupo si no entra en fila. */
.lst-tools--filters .lst-select{font-size:var(--fs-body);padding:10px 26px 10px 8px;
background-position:right 7px center;min-width:0;}
/* 4px wider on each side: the stacked rows' focus-ring room (below) */
/* sits inside the list's box, never past it. */
.lst-scroll{overflow-x:visible;margin:0 -4px;}
.lst-table,.lst-table tbody,.lst-table tr,.lst-table td{display:block;}
.lst-table thead{display:none;}
/* Fila apilada: sin aire lateral propio, salvo que el contenedor ponga la */
/* tabla a los dos bordes de su tarjeta (margen negativo) — entonces fija */
/* --lst-row-pad-x con el padding que canceló y el texto vuelve al borde */
/* de lectura de la tarjeta mientras los divisores llegan a los bordes. */
/* Room for the focus ring (2026-11-16): the row clips (dots below), */
/* so it keeps 4px on each side, taken back by .lst-scroll's -4px */
/* margin — the text stays on the column's edge, the ring is whole */
/* and the divider runs 4px past the text on both sides. */
.lst-table tr{padding:14px calc(var(--lst-row-pad-x,0px) + 4px);border-bottom:1px solid var(--border-soft);}
.lst-table tr:last-child{border-bottom:0;}
.lst-table td{padding:0;border:0;white-space:normal;}
.lst-table td.lst-hide-sm,.lst-hide-sm{display:none;}
/* Centro and Orden: ONE compact line under the name (review P6/D17), */
/* «CAPS Norte» and the «Con orden» mark, instead of hiding Orden on a phone. */
.lst-table tr.lst-row-av td.lst-col-centro,.lst-table tr.lst-row-av td.lst-col-orden{display:inline-block;vertical-align:middle;}
.lst-table tr:not(.lst-row-av) td.lst-col-orden{display:inline-block;vertical-align:middle;}
/* A card's center with its unit: the unit stands under the center, as on a */
/* desktop (.lst-linkcell alone is a flex row and set them side by side). */
.lst-table tr.lst-row-av .lst-linkcell--two{display:block;}
/* No referral needed → the cell is empty: no gap after the center. */
.lst-table tr td.lst-col-orden:empty,.lst-table tr td.lst-td-sub:empty{display:none;}
/* The pieces of a card's line read as one sentence, «Medicina general, */
/* Lakeview Clinic, Con orden» (the product owner, 2026-12-01 and 12-02: a */
/* comma, never «·»). The comma belongs to the piece AFTER it (usability */
/* round 26: a comma that ended the piece before was left at the end of */
/* the line when the next piece went down). The piece before leaves a */
/* 10px gap (its padding) and the comma hangs out into that gap, right */
/* after the text before it. A piece that opens a line has no comma: the */
/* row clips what hangs past its padding edge (4px out, the focus ring's */
/* room; the comma's ink ends 6px out), and the line-fit pass of */
/* listing.mjs marks every piece that opens a line with .lst-ls, which */
/* also holds where the text starts further in than the row's edge (a */
/* study beside its glyph). A center's name is one unit (inline-block): */
/* it moves to the next line whole, never «CAPS / Ostende». Safari */
/* before 16 has no `clip`: `hidden` does the same there. */
.lst-table tr{overflow-x:clip;}
@supports not (overflow-x:clip){.lst-table tr{overflow:hidden;}}
.lst-table tr:not(.lst-row-av) td.lst-td-link,.lst-table tr:not(.lst-row-av) .lst-linkcell{display:inline;}
.lst-table tr:not(.lst-row-av) td.lst-td-sub:not(.lst-hide-sm):not(:empty){display:inline-block;max-width:100%;margin-top:0;white-space:normal;vertical-align:middle;}
.lst-table tr:not(.lst-row-av) td.lst-col-nombre:has(~ td.lst-td-sub:not(.lst-hide-sm):not(:empty)),
.lst-table tr:not(.lst-row-av) td.lst-col-nombre:has(~ td.lst-col-orden:not(:empty)),
.lst-table tr:not(.lst-row-av) td.lst-td-sub:not(.lst-hide-sm):not(:empty):has(~ td.lst-td-sub:not(.lst-hide-sm):not(:empty)),
.lst-table tr td.lst-col-centro:not(.lst-hide-sm):not(:empty):has(~ td.lst-col-orden:not(:empty)),
.lst-table tr td.lst-td-sub:not(.lst-hide-sm):not(:empty):has(~ td.lst-col-orden:not(:empty)){padding-right:10px;box-sizing:border-box;}
.lst-table tr:not(.lst-row-av) td.lst-col-nombre ~ td.lst-td-sub:not(.lst-hide-sm):not(:empty)::before,
.lst-table tr:not(.lst-row-av) td.lst-col-nombre ~ td.lst-col-orden:not(:empty)::before,
.lst-table tr td.lst-col-centro:not(.lst-hide-sm):not(:empty) ~ td.lst-col-orden:not(:empty)::before,
.lst-table tr td.lst-td-sub:not(.lst-hide-sm):not(:empty) ~ td.lst-col-orden:not(:empty)::before{content:",";display:inline-block;width:10px;margin-left:-10px;text-align:left;color:var(--text);font-weight:400;text-decoration:none;}
/* A study with its glyph (`.lst-linkcell--ico`, a flex box) and a name */
/* with its hint line under it (Puericultura / «Crianza y desarrollo del */
/* niño sano») are a line of their own: the piece after opens the next */
/* line at the name's edge, no gap before it and no comma. */
.lst-table tr:not(.lst-row-av) td.lst-col-nombre:has(.lst-linkcell--ico,.lst-under){padding-right:0!important;}
.lst-table tr:not(.lst-row-av) td.lst-col-nombre:has(.lst-linkcell--ico,.lst-under) ~ :is(td.lst-td-sub,td.lst-col-orden):not(td.lst-td-sub:not(.lst-hide-sm):not(:empty) ~ td)::before{content:none!important;}
.lst-table tr td.lst-ls::before{content:none!important;}
/* A center with its unit under it («Hospital» / «Hospital de Día») is two */
/* lines. As a piece of the sentence it let the next one sit beside it, */
/* centered on its height, comma and all (usability round 27). A two-line */
/* piece is a block: it opens its own line and the piece after it opens the */
/* next, neither with a comma. «The piece after it» is the first one that */
/* is SHOWN, as in the rule for a name above: a hidden or empty cell may */
/* stand between them. A doctor's card is not this sentence: its center and */
/* «Con orden» are one line by the card's own rules below. */
.lst-table tr:not(.lst-row-av) td:is(.lst-td-sub,.lst-col-centro):not(.lst-hide-sm):has(.lst-under){display:block!important;padding-right:0!important;}
.lst-table tr:not(.lst-row-av) td:is(.lst-td-sub,.lst-col-centro):not(.lst-hide-sm):has(.lst-under)::before,
.lst-table tr:not(.lst-row-av) td:is(.lst-td-sub,.lst-col-centro):not(.lst-hide-sm):has(.lst-under) ~ :is(td.lst-td-sub,td.lst-col-orden):not(td:is(.lst-td-sub,.lst-col-centro):not(.lst-hide-sm):has(.lst-under) ~ :is(td.lst-td-sub:not(.lst-hide-sm),td.lst-col-orden):not(:empty) ~ td)::before{content:none!important;}
/* «Con orden» after a place is a mark, not one more item of the sentence: */
/* «Hospital, Con orden» read as a second place. After a center or any */
/* shown sub piece it keeps its gap and never takes the comma, one line or */
/* two, a service row or a doctor's card (usability round 28b). */
.lst-table tr td:is(.lst-col-centro,.lst-td-sub):not(.lst-hide-sm):not(:empty) ~ td.lst-col-orden::before{content:none!important;}
/* A doctor's card reads in LINES from ONE left edge (the product */
/* owner, 2026-11-16; replaces the avatar column of 2026-07-15 and the */
/* «specialty on its own line» of the same morning's review): «Name, */
/* Specialty», the center and its «Con orden» mark, then the buttons. A photo is a */
/* small portrait beside the name and the lines under it still start */
/* at the card's edge; no photo, no circle and no indent. */
.lst-table tr.lst-row-av{padding-left:calc(var(--lst-row-pad-x,0px) + 4px);}
.lst-table tr.lst-row-av td.lst-col-nombre{padding-left:0;}
.lst-av:not(.lst-av--ph){display:none;}
/* One sentence that wraps like text only when it does not fit. */
.lst-person-copy{display:block;line-height:1.3;}
.lst-person-specialty{display:inline;}
.lst-person-copy>span:first-child:has(+ .lst-person-specialty)::after{content:",";color:var(--text);}
.lst-person-specialty{margin-left:.3em;}
.lst-table tr.lst-row-av .lst-name{font-size:var(--fs-body);line-height:1.3;}
.lst-td-sub{margin-top:3px;}
.lst-td-proximo{margin-top:2px;}
/* One rhythm for every card: the «Con orden» mark keeps its 44px */
/* touch area without making its line taller than a line of text. */
/* The area is the BUTTON's own padding (a tap anywhere in it opens */
/* the explanation) and the cell's margins pull the line back: a box */
/* hanging out of the cell would read as spilled content. */
.lst-table tr.lst-row-av td.lst-col-centro{margin-top:6px;}
.lst-table tr.lst-row-av td.lst-col-orden{margin-top:-4px;margin-bottom:-10px;}
.lst-table tr.lst-row-av td.lst-col-proximo{margin-top:10px;}
.lst-table tr.lst-row-av .lst-orden{min-height:44px;padding:10px 0;}
/* The time and «Más horarios» share ONE row (the product owner, */
/* 2026-11-16; replaces review D17's own line under the button), never */
/* two (2026-11-18). Where the pair is wider than the row (a 320px phone, */
/* German or Ukrainian at 390) the time button says the bare date and */
/* then both give up side padding (pair-fit in listing.mjs; */
/* tests/e2e/listing-time-one-row.spec.mjs). */
.lst-timecell{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;max-width:100%;white-space:nowrap;}
.lst-timecell>.lst-more{margin:0;}
/* A long label wraps inside its button, which never passes its row; a pair */
/* that still does not fit after pair-fit wraps as a last resort. */
a.lst-time{width:fit-content;min-width:auto;flex-shrink:0;max-width:100%;}
.lst-timecell--tight{flex-wrap:wrap;}
.lst-time-note{white-space:normal;}
/* A note beside the button («24 Stunden» beside «Sprechstunde per */
/* Telemedizin nutzen» at 390) goes whole under it when it does not fit */
/* beside it, never cut at the row's edge (usability round 29, J12). */
.lst-timecell:has(>.lst-time-note){flex-wrap:wrap;row-gap:4px;}
/* «Turno en admisión de CAPS Valeria del Mar» beside the avatar is */
/* wider than a phone row: it wraps instead of pushing the page sideways. */
.lst-when{white-space:normal;}
.lst-searchbox{gap:11px;padding:10px 16px;}
.lst-search{font-size:var(--fs-body);}
.lst-examples a:nth-of-type(n+4){display:none;}
.lst-av{width:32px;height:32px;margin:0;}
/* Tabla agrupada (responsable del producto, 2026-08-05 — «Resultados de laboratorio»): */
/* cada determinación se apila CON su etiqueta — antes "92 mg/dL" */
/* quedaba arriba de "70–110" sin decir cuál era cuál (el peor */
/* defecto de la pantalla vieja). Todo bajo :has(tr.lst-grp): una */
/* tabla que nunca agrupa no mueve un solo píxel acá. Las etiquetas */
/* por campo, bajo :has(td[data-l]): una sección de servicios */
/* (lst-table--sec) agrupa con subtítulos, sin etiquetas (2026-11-19). */
.lst-table:has(tr.lst-grp) tr.lst-grp{padding:22px calc(var(--lst-row-pad-x,0px) + 4px) 6px;}
/* the row draws the one line under a sub-heading; the cell's own line, as */
/* wide as its text, would be a second one just above it (2026-11-20) */
.lst-table:has(tr.lst-grp) tr.lst-grp th{padding:0;white-space:normal;font-size:var(--fs-body);border-bottom:0;}
.lst-table:has(tr.lst-grp) tr:not(.lst-grp){padding:11px calc(var(--lst-row-pad-x,0px) + 4px);}
.lst-table:has(td[data-l]) td{display:flex;gap:10px;align-items:baseline;}
.lst-table:has(td[data-l]) td:first-child{display:block;font-size:var(--fs-block);font-weight:800;color:var(--text);margin-bottom:6px;}
.lst-table:has(td[data-l]) td[data-l]::before{content:attr(data-l);flex:0 0 128px;font-size:var(--fs-body);font-weight:500;color:var(--text-2);}
/* A section's row: «Center · Con orden», then the time with air. */
.lst-table--sec tr:not(.lst-grp) td.lst-td-proximo{margin-top:8px;}
.lst-table.lst-table--sec:has(tr.lst-grp) tr.lst-grp th{font-size:var(--fs-block);}
.lst-table:has(tr.lst-grp) tr.lst-grp--head th{font-size:var(--fs-body);}
.lst-table:has(tr.lst-grp) tr.lst-grp--head{padding-top:28px;}
.lst-table:has(tr.lst-grp) tr.lst-grp--head:first-child{padding-top:10px;}
/* A row with its glyph: the chip hangs at the card's left edge and every */
/* line of the card starts after it, one left edge for the text. */
.lst-table:has(td .lst-glyph) tr:not(.lst-grp):has(.lst-glyph){position:relative;padding-left:calc(var(--lst-row-pad-x,0px) + 4px + 54px);}
.lst-table tr .lst-glyph{position:absolute;left:calc(var(--lst-row-pad-x,0px) + 4px);top:12px;width:42px;height:42px;}
.lst-table:has(td .lst-glyph) tr.lst-grp--head{border-bottom:0;padding-bottom:4px;}
.lst-table:has(td .lst-glyph) tr.lst-grp--head th{display:block;padding:12px 14px;}
}
/* Studies (owner, 2026-11-29, Claude Design «Studies livelier»): each study */
/* has its own Icons8 glyph in a round chip, like the home page's areas; the */
/* center that heads its studies is a grey band; row lines a neutral grey */
/* (--row-line, humanrounds only — pinamar keeps --border-soft). */
.lst-table td,.lst-table tr,.lst-grp th{border-bottom-color:var(--row-line,var(--border-soft));}
.lst-table td.lst-td-link .lst-linkcell--ico{display:flex;align-items:center;gap:14px;}
.lst-glyph{width:44px;height:44px;border-radius:50%;background:var(--bg-2);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.lst-glyph img{width:26px;height:26px;opacity:.72;}
.lst-linkcell--ico .lst-name{font-size:var(--fs-body);font-weight:600;}
.lst-table:has(.lst-glyph) tr.lst-grp--head th{background:var(--bg-2);border-radius:10px;border-bottom:0;}
/* Desktop: the air above the band is a transparent top border (a cell has */
/* no margin); the band's top corners are elliptical so that, minus that */
/* border, the painted box keeps 10px corners. Radius needs `separate`. */
@media(min-width:901px){
.lst-table:has(.lst-glyph){border-collapse:separate;border-spacing:0;}
.lst-table:has(.lst-glyph) tr.lst-grp--head th{padding:12px;border-top:22px solid transparent;background-clip:padding-box;
border-radius:10px 10px 10px 10px / 32px 32px 10px 10px;}
.lst-table:has(.lst-glyph) tr.lst-grp--head:first-child th{border-top:0;border-radius:10px;}
}
