/* =====================================================================
   PHARMACY HUB — SCREEN 01, THE LAB TESTS CARD (01-2a, 01-2b)
   (pharmacy/index.html). Oct 2026 pass, slice B. Loaded AFTER app.css,
   whose tokens it reads; linked by index.html only.

   Handoff: docs/design/pharmacy/screens/01/redesign-2026-10/
   {README.md,frame.html} (the frame wins). One white card: a teal band
   (eyebrow, headline, a faint vials glyph, no sub-line), four test rows
   that open 11, and a foot pill that opens 10a. No new animation.
   ===================================================================== */

.vm-lt {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--vph-card-shadow);
}
/* Absent until rows arrive (home.js): never a skeleton, never an empty card. */
.vm-lt[hidden] { display: none; }

/* -- the band ---------------------------------------------------------- */
.vm-lt-band {
    position: relative;
    padding: 16px 16px 18px;
    background:
        radial-gradient(118% 88% at 88% 0%, rgba(143, 240, 139, .14) 0%, rgba(15, 109, 92, 0) 58%),
        linear-gradient(180deg, #12775f 0%, #0c5b4c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(3, 32, 26, .55);
    overflow: hidden;
}
.vm-lt-ghost {
    position: absolute;
    right: -18px;
    bottom: -34px;
    font-size: 128px;
    line-height: 1;
    color: rgba(143, 240, 139, .08);
    pointer-events: none;
}
/* The city is the hub's one city (41), as the source says it; the
   uppercase is the type's, so a reader hears "Lab tests · Douala". */
.vm-lt-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--vph-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.5;
}
.vm-lt-eyebrow i { font-size: 11px; }
.vm-lt-title {
    position: relative;
    margin: 10px 0 0;
    font-family: var(--vph-font-display);
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
    line-height: 1.22;
    text-wrap: pretty;
}

/* -- the rows ---------------------------------------------------------- */
.vm-lt-list {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vm-lt-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* Each row is its own #f8fafc tile; the white icon tile and the green
   chevron disc sit on it. A link: it opens 11 (from=home). */
.vm-lt-row {
    width: 100%;
    min-height: 64px;
    padding: 9px 10px 9px 9px;
    border-radius: 14px;
    background: var(--vph-canvas);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: var(--vph-ink);
    text-decoration: none;
}
.vm-lt-row:hover { background: var(--vph-grey-2); color: var(--vph-ink); }
.vm-lt-row:focus-visible { outline: 2px solid var(--vph-primary-dark); outline-offset: 2px; }
.vm-lt-ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 10px rgba(16, 24, 40, .05);
    color: var(--vph-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vm-lt-ic i { font-size: 16px; }
.vm-lt-main { flex: 1; min-width: 0; display: block; }
/* The name on ONE line; a longer one is cut, never wrapped. */
.vm-lt-name {
    display: block;
    font-family: var(--vph-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--vph-ink);
    letter-spacing: -.2px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* The French name the doctor writes. */
.vm-lt-fr {
    display: block;
    font-size: 12px;
    color: var(--vph-ink-3);
    margin-top: 3px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
/* 01-2b, one structure: "only at <name>", the name never broken. A name
   wider than the column is cut with an ellipsis, never split. */
.vm-lt-only {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--vph-primary-dark);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vm-lt-only-n { white-space: nowrap; }

/* The price column: "from" over the figure, FCFA beside it. */
.vm-lt-price {
    flex-shrink: 0;
    min-width: 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.vm-lt-from { font-size: 10.5px; color: var(--vph-ink-3); line-height: 1.1; }
.vm-lt-amt { display: flex; align-items: baseline; gap: 3px; margin-top: 1px; }
.vm-lt-fig {
    font-family: var(--vph-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--vph-ink);
    letter-spacing: -.4px;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
}
.vm-lt-cur { font-size: 9.5px; font-weight: 600; color: var(--vph-ink-3); }
/* 01-2b, no price typed: in place of the figure, grey, two short lines. */
.vm-lt-ask {
    flex-shrink: 0;
    width: 64px;
    text-align: right;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--vph-ink-3);
    line-height: 1.3;
}
/* The green chevron disc: a glyph, never text, on the brand gradient. */
.vm-lt-go {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1ab394 0%, #16a085 100%);
    box-shadow: 0 0 0 3px rgba(22, 160, 133, .12), 0 3px 8px rgba(22, 160, 133, .32);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vm-lt-go i { font-size: 10px; margin-left: 1px; }

/* -- the foot ---------------------------------------------------------- */
.vm-lt-all {
    margin-top: 6px;
    width: 100%;
    height: 48px;
    border-radius: 999px;
    background: var(--vph-tint);
    color: var(--vph-primary-dark);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
}
.vm-lt-all:hover { color: var(--vph-primary-dark); }
.vm-lt-all i { font-size: 11px; }
