/* The newest status line or device error from the server (js/load/status-feed.js). A button, so the
   keyboard reaches it; it looks like the text beside it until it carries a failure, which is drawn
   on the light danger colours the footer's dark band needs to stay readable. */
.server-status {
    max-width: 60ch;
    padding: 2px var(--sp-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: inherit;
    font-size: var(--fs-100);
    color: rgba(255,255,255,0.9);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--r-sm);
    cursor: pointer;
}
.server-status[hidden] {
    display: none;
}
.server-status.is-error {
    color: var(--danger-fg);
    background: var(--danger-bg);
    border-color: var(--danger);
}
.server-status.is-warning {
    color: var(--warning-fg);
    background: var(--warning-bg);
    border-color: var(--warning);
}
.status-history-dialog {
    width: min(800px, 92vw);
}
.status-history-count {
    margin-right: auto;
    font-size: var(--fs-100);
    color: var(--text-2);
}
.status-history-body {
    overflow: auto;
    max-height: 60vh;
}
.status-history-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.status-history-row {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-200);
    overflow-wrap: anywhere;
}
.status-history-row.is-error {
    color: var(--danger-fg);
    background: var(--danger-bg);
}
.status-history-row.is-warning {
    color: var(--warning-fg);
    background: var(--warning-bg);
}
.status-history-time {
    flex: none;
    color: var(--text-2);
    font-family: var(--font-mono);
}
