/* #/c/{id}, the head: the label as the title (a button that turns into a field), delete at the right of it,
 * the date under it. Asking to delete takes the row under the title, so the question and its answers fit a phone. */
.consultation__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-sm); row-gap: 0; }
.consultation__head > h1, .head__input { grid-column: 1; grid-row: 1; }
.head__delete { grid-column: 2; grid-row: 1; }
.consultation__head .consultation__when { grid-column: 1 / -1; grid-row: 2; }
.consultation__head > .status { grid-column: 1 / -1; grid-row: 3; }
.head__delete[data-confirm] { grid-column: 1 / -1; grid-row: 4; }
.consultation__head > .head__note { grid-row: 5; }

/* The title: a heading in look, a button in behaviour; a dotted rule under it says it can be changed */
.head__title { display: inline; min-height: 44px; margin: 0; padding: var(--space-xs) 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: start; cursor: text; text-decoration: underline dotted var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.22em; -webkit-tap-highlight-color: transparent; }
.head__title:active { color: var(--color-ink-2); }
@media (hover: hover) { .head__title:hover { text-decoration-color: var(--color-ink); } }
.head__add { color: var(--color-muted); font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; white-space: nowrap; }

.head__input { min-height: 44px; margin-block: var(--space-2xs); padding: 0 var(--space-xs); border-color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); letter-spacing: var(--tracking-display); }
.head__input::placeholder { font-weight: 400; }

/* Delete, then the question in its place (.confirm, base.css) */
.head__delete .confirm { padding-block: var(--space-xs); }
