/* ====================================================================
   SCREEN 51 ASK — the customer's question to a counter, on 50's thread
   page (pharmacy/messages.html?kind=ask&pharmacy=<id> | &structure=<id>,
   then ?thread=). Slice M51, 2026-10-10:
   docs/design/pharmacy/briefs/2026-10-10_screen-51-ask-contract.md §3.
   js/pharmacy/messages-page.js and js/pharmacy/thread.js draw it.

   messages.html only, linked after 50-messages-list.css and before
   desktop/shared.css (the layer's load order). It only ADDS to 50: the
   band (the counter's name over "Your question"), the urgent tel: line,
   the thread, the composer and 50g's card (.vm-ms-card) are used as they
   are. Its own classes: .vm-ak-stop (the refusal card), and the thread's
   two modifiers .vm-th-empty--ask and .vm-th-lock--paused.

   Tiers:
     <901    the phone: the card in the page's 14 gutter, the empty line
             in the thread's own measure.
     >=901   the card at the main column's width (50's desktop file), the
             empty line held to a reading measure in the 764 card.

   Sections:
     1. The refusal card (own_counter, closed_for_now, delisted)
     2. The thread: the empty question, the paused foot
     3. From 901
   ==================================================================== */


/* ====================================================================
   1. THE REFUSAL CARD. 50g's card with a title, a line and one way on
   ("Open your counter" / "Open your desk"); a part with nothing to say
   keeps its `hidden` (the card's link is inline-flex in 50's file).
   ==================================================================== */
.vm-ak-stop .vm-ms-card-s[hidden],
.vm-ak-stop .vm-ms-card-go[hidden],
.vm-ms-card [data-out-s][hidden] { display: none; }

.vm-ak-stop .vm-ms-card-t { text-wrap: balance; }
.vm-ak-stop .vm-ms-card-go { gap: 8px; }


/* ====================================================================
   2. THE THREAD. The empty question says what can be asked (50's empty
   line, its measure kept). The paused foot is 50f's lock box with its
   own glyph: the composer waits while the counter is closed for now.
   ==================================================================== */
.vm-th-empty--ask {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}
.vm-th-lock--paused i { color: #0f6d5c; }


/* ====================================================================
   3. FROM 901
   ==================================================================== */
@media (min-width: 901px) {
    .vm-ms-thread .vm-th-empty--ask {
        max-width: 440px;
        padding: 0 24px;
        font-size: 15px;
    }
}
