/*
 * Empty states.
 *
 * What a list says when it has nothing in it. §92 asks for these to be designed rather than left to happen,
 * and the reason is that "nothing here" has several meanings which look identical if they share one panel: a
 * feed with nobody followed yet, a feed where everybody has been quiet, a search that matched nobody, a
 * profile that is private. Each caller brings its own words and, where there is something to do about it, a
 * link.
 *
 * Centred, on the sunken surface, with a dashed edge. The dashes say "this is a container that could hold
 * something" rather than "this is a thing". Nothing here is red or warning-coloured: an empty feed is a
 * normal state of a working page, and an error panel would make every new account look broken.
 */

.empty-state {
    padding: var(--space-6) var(--space-5);
    border: var(--border-width) dashed var(--colour-border-strong);
    border-radius: var(--radius-lg);
    background-color: var(--colour-surface-sunken);
    text-align: center;
}

.empty-state__title {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
}

/* Centred by the parent, but still measured: a centred sentence that spans a wide page is hard to come back
   from at the start of the second line. */
.empty-state__text {
    margin: var(--space-2) auto 0;
    max-width: 44ch;
    color: var(--colour-ink-quiet);
}

.empty-state__action {
    margin-top: var(--space-4);
}
