/* The workbench: the shell, the app bar, the two panes and the status bar, one section
   per part of the page. Only the shell pages (the workbench and /not-found) load this. */

/* ==== Shell ================================================================= */

:root {
    --df-statusbar-h: 1.5rem;
}

.df-shell {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--df-bg);
    color: var(--df-text);
    font-family: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.875rem;
}

/* Below tablet width the two panes cannot sit side by side, so swap them for a notice. */
.df-too-small {
    display: none;
}

@media (max-width: 921.58px) {
    .df-shell {
        display: none;
    }

    .df-too-small {
        position: fixed;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 2rem;
        background: var(--df-bg);
        color: var(--df-text);
        font-family: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
        text-align: center;
    }

    .df-too-small-inner {
        max-width: 26rem;
    }

    .df-too-small-mark {
        width: 2.25rem;
        height: 2.25rem;
        margin-bottom: 1rem;
        fill: none;
        stroke: var(--df-accent);
        stroke-width: 2;
        stroke-linecap: round;
    }

    .df-too-small h1 {
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        margin-bottom: 0.5rem;
    }

    .df-too-small p {
        color: var(--df-muted);
        font-size: 0.9375rem;
        line-height: 1.5;
        margin: 0;
    }
}

/* ==== App bar =============================================================== */

.appbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: none;
    height: 2.75rem;
    padding: 0 0.625rem;
    background: var(--df-chrome);
    border-bottom: 1px solid var(--df-border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    flex: none;
    padding-right: 0.25rem;
}

.brand-mark {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: var(--df-muted);
    stroke-width: 2;
    stroke-linecap: round;
}

.brand-mark-flex {
    stroke: var(--df-accent);
}

.brand-name {
    color: var(--df-text);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-name-accent {
    color: var(--df-accent);
}

.appbar-spacer {
    flex: 1;
}

@media (max-width: 1228.78px) {
    .appbar {
        gap: 0.5rem;
    }
}

/* ==== Theme switch ========================================================== */

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex: none;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--df-border);
    border-radius: 999px;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}

.theme-btn:hover:not(:disabled) {
    background: var(--df-chrome-hover);
    color: var(--df-text);
}

.theme-btn:disabled {
    cursor: default;
    opacity: 0.6;
}

/* The label is the first thing to go when the chrome tightens - the glyph on its
   own still says which way the switch will move. */
@media (max-width: 1228.78px) {
    .theme-btn-label {
        display: none;
    }
}

/* ==== Panes ================================================================= */

.pane {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--df-pane);
}

/* Each pane carries its own hue, used only for the hairline under the header and
   the focus rule - enough to tell the panes apart without colouring the text
   itself, which is where the user is actually reading. */
.pane-left {
    --pane-hue: var(--df-side-left);
}

.pane-right {
    --pane-hue: var(--df-side-right);
}

/* A file is being dragged over this side. */
.pane.is-drop-target {
    box-shadow: inset 0 0 0 2px var(--df-accent-dim);
    background: color-mix(in srgb, var(--df-accent-wash) 60%, var(--df-pane));
}

.pane-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: none;
    padding: 0.3125rem 0.5rem 0.3125rem 0.625rem;
    background: var(--df-pane-alt);
    border-bottom: 1px solid var(--df-border-soft);
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--pane-hue) 35%, transparent);
}

.pane-title {
    margin: 0;
    color: var(--df-text);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pane-meta {
    color: var(--df-muted);
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The name of the file a side was opened from. It gives way first when the header is
   short of room. */
.pane-file {
    min-width: 0;
    overflow: hidden;
    color: var(--df-text);
    font-family: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.6875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pane-head-spacer {
    flex: 1;
    min-width: 0.5rem;
}

.pane-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: none;
}

.pane-editor {
    flex: 1;
    min-height: 0;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    color: var(--df-text);
    font-family: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.8125rem;
    line-height: 1.55;
    tab-size: 8;
    white-space: pre;
    overflow: auto;
}

.pane-editor::placeholder {
    color: var(--df-faint);
}

.pane-editor:focus-visible {
    box-shadow: inset 2px 0 0 var(--pane-hue);
}

/* ==== Toolbar =============================================================== */

/* The comparison's controls, under the app bar - what Beyond Compare and WinMerge keep
   in their toolbar: what to show, what to ignore, where to go, what to copy. The labels are
   kept short enough to fit on one line at every width the labels show (from 1024px, at
   1.2x); wrapping is only the fallback, and it breaks between groups, never inside one
   (#324). */
.df-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    flex: none;
    padding: 0.3125rem 0.625rem;
    background: var(--df-chrome-2);
    border-bottom: 1px solid var(--df-border);
    color: var(--df-muted);
    font-size: 0.75rem;
}

.tools-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: none;
}

.tools-label {
    margin-right: 0.125rem;
    color: var(--df-faint);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tools-sep {
    flex: none;
    width: 1px;
    height: 1.125rem;
    background: var(--df-border);
}

.tools-spacer {
    flex: 1;
}

/* A three-way switch drawn as one joined strip, as in JwtFlex. Pressed rather than
   one-shot - the state is what the comparison is showing. */
.seg {
    display: inline-flex;
    flex: none;
    overflow: hidden;
    border: 1px solid var(--df-border);
    border-radius: 5px;
}

.seg > button {
    padding: 0.1875rem 0.5rem;
    border: 0;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
}

.seg > button + button {
    border-left: 1px solid var(--df-border);
}

.seg > button:hover:not(.is-on) {
    background: var(--df-chrome-hover);
    color: var(--df-text);
}

.seg > button.is-on {
    background: var(--df-accent-wash);
    color: var(--df-accent);
    font-weight: 600;
}

/* A one-shot action: an icon, and a label the narrower layouts drop. */
.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    flex: none;
    padding: 0.1875rem 0.375rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
}

.tool-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-btn:hover:not(:disabled) {
    background: var(--df-chrome-hover);
    border-color: var(--df-border);
    color: var(--df-text);
}

.tool-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

/* The Transform menu. A popover, so it lives in the top layer; the UA's centring and
   border are undone and the script puts it under its button. */
.df-menu {
    position: fixed;
    inset: auto;
    box-sizing: border-box;
    min-width: 15rem;
    max-height: calc(100vh - 6rem);
    margin: 0;
    padding: 0.25rem;
    overflow-y: auto;
    background: var(--df-pane);
    border: 1px solid var(--df-border);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: var(--df-text);
    font-family: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.8125rem;
}

.df-menu::backdrop {
    background: transparent;
}

.df-menu-note {
    margin: 0;
    padding: 0.25rem 0.625rem 0.375rem;
    color: var(--df-faint);
    font-size: 0.6875rem;
}

.df-menu-group {
    margin: 0;
    padding: 0.5rem 0.625rem 0.1875rem;
    border-top: 1px solid var(--df-border-soft);
    color: var(--df-faint);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.df-menu-item {
    display: block;
    width: 100%;
    padding: 0.375rem 0.625rem;
    border: 0;
    border-radius: 0.3125rem;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.df-menu-item:hover,
.df-menu-item:focus-visible {
    background: var(--df-chrome-hover);
    color: var(--df-text);
    outline: none;
}

/* The button stays lit while its menu is open. */
.df-tools:has(.df-menu:popover-open) #df-transform {
    background: var(--df-chrome-hover);
    border-color: var(--df-border);
    color: var(--df-text);
}

@media (max-width: 1228.78px) {
    .df-tools {
        gap: 0.25rem;
    }

    .tool-label {
        display: none;
    }

    .tool-btn {
        padding-right: 0.375rem;
    }
}

/* ==== Workbench ============================================================= */

/* One grid split both ways. Track sizes are bare `fr` values so a drag just moves budget
   between neighbours; js/panes.js rewrites these custom properties during a drag. They
   must stay free of any `minmax()` floor - with a floor in the track, grid subtracts the
   floors before distributing the remainder, so sizes stop being proportional to the
   custom properties and the arithmetic in panes.js no longer holds. The minimum pane
   size is clamped in JS instead.

   The starting proportions are `var()` fallbacks rather than declarations on these
   elements, because a remembered layout is applied to <html> before first paint (see
   the inline script in the page head) and a declaration here would shadow what it
   inherits. */
.df {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: var(--df-size-left, 1fr) auto var(--df-size-right, 1fr);
    grid-template-rows: var(--df-size-edit, 2fr) auto var(--df-size-view, 5fr);
    background: var(--df-bg);
}

.pane-left.pane-edit { grid-area: 1 / 1; }
.pane-right.pane-edit { grid-area: 1 / 3; }
.pane-left.pane-view { grid-area: 3 / 1; }
.pane-right.pane-view { grid-area: 3 / 3; }

/* One handle style for both axes: a gutter in the shell colour, hairlined on both
   sides, with a short grip in the middle. Which axis a handle serves is decided by
   its box - see panes.js. */
.df-split {
    position: relative;
    display: grid;
    place-items: center;
    background: var(--df-bg);
    touch-action: none;
}

.df-split::after {
    content: "";
    display: block;
    border-radius: 999px;
    background: var(--df-faint);
    opacity: 0.5;
}

/* Between the columns, the full height; drawn over the row handle where they cross. */
.df-split-col {
    z-index: 1;
    grid-column: 2;
    grid-row: 1 / -1;
    width: 9px;
    border-inline: 1px solid var(--df-border);
    cursor: col-resize;
}

.df-split-col::after {
    width: 3px;
    height: 2rem;
}

/* Between the editors and the comparison, the full width. */
.df-split-row {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 9px;
    border-block: 1px solid var(--df-border);
    cursor: row-resize;
}

.df-split-row::after {
    width: 2rem;
    height: 3px;
}

.df-split:hover,
.df-split:focus-visible {
    background: var(--df-accent-wash);
    border-color: var(--df-accent-dim);
    outline: none;
}

.df-split:hover::after,
.df-split:focus-visible::after,
.df-split.is-dragging::after {
    background: var(--df-accent);
    opacity: 1;
}

.df-split.is-dragging {
    background: var(--df-accent-wash);
    border-color: var(--df-accent);
}

/* Bigger grab target on touch devices; the gutter keeps its weight because the
   extra width is padding in the shell colour. */
@media (pointer: coarse) {
    .df-split-col {
        width: 17px;
    }

    .df-split-row {
        height: 17px;
    }
}

/* ==== The comparison ======================================================== */

:root {
    /* Every compared row is exactly this tall - the script measures it once, and works
       out which rows are in view from the scroll position alone. */
    --df-row-h: 1.3rem;
}

.pane-view {
    flex-direction: row;
}

.df-view {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: auto;
    outline: 0;
    color: var(--df-text);
    font-family: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.8125rem;
}

.df-view:focus-visible {
    box-shadow: inset 2px 0 0 var(--pane-hue);
}

/* As tall as every row and as wide as the longest line, set by the script - only the
   rows in view are ever drawn into it. */
.df-sizer {
    position: relative;
    min-width: 100%;
}

.df-rows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    will-change: transform;
}

.df-row {
    display: flex;
    height: var(--df-row-h);
    line-height: var(--df-row-h);
    white-space: pre;
    tab-size: 4;
    cursor: default;
}

/* The line number stays put while the line scrolls sideways under it. */
.df-ln {
    position: sticky;
    left: 0;
    z-index: 1;
    flex: none;
    box-sizing: border-box;
    width: var(--df-gutter, 4ch);
    padding-right: 0.625rem;
    background: var(--df-pane-alt);
    border-right: 1px solid var(--df-border-soft);
    color: var(--df-faint);
    font-size: 0.6875rem;
    text-align: right;
    user-select: none;
}

.df-code {
    flex: 1;
    padding: 0 1rem 0 0.625rem;
}

.df-code mark {
    border-radius: 2px;
    color: inherit;
}

/* What each row is. A removed line is the left's colour and an added one the right's,
   so a changed row is red on the left and green on the right. */
.pane-left .k-changed,
.pane-left .k-left {
    background: var(--df-del-wash);
}

.pane-right .k-changed,
.pane-right .k-right {
    background: var(--df-add-wash);
}

.pane-left .k-changed .df-ln,
.pane-left .k-left .df-ln {
    color: var(--df-del);
}

.pane-right .k-changed .df-ln,
.pane-right .k-right .df-ln {
    color: var(--df-add);
}

.pane-left .df-code mark {
    background: var(--df-del-strong);
}

.pane-right .df-code mark {
    background: var(--df-add-strong);
}

/* Different only in a way the options say to ignore. */
.k-minor {
    background: var(--df-minor-wash);
}

.df-view .k-minor .df-code mark {
    background: var(--df-minor-strong);
}

/* The space opposite a line the other side does not have. */
.df-row.is-filler {
    background: repeating-linear-gradient(-45deg,
        transparent 0 5px, var(--df-filler) 5px 10px);
}

.df-row.is-filler .df-ln {
    background: var(--df-pane-alt);
}

/* The difference Next and Prev are on: a rule above and below it, and the line numbers
   picked out. Its own red or green stays as it is - an accent wash over either turns it
   to mud. */
.df-row.is-current .df-ln {
    box-shadow: inset -2px 0 0 var(--df-accent);
    color: var(--df-accent);
}

.df-row.is-current-first {
    box-shadow: inset 0 1px 0 var(--df-accent-dim);
}

.df-row.is-current-last {
    box-shadow: inset 0 -1px 0 var(--df-accent-dim);
}

.df-row.is-current-first.is-current-last {
    box-shadow: inset 0 1px 0 var(--df-accent-dim), inset 0 -1px 0 var(--df-accent-dim);
}

/* The line shown in full in the strip below. */
.df-row.is-selected .df-code {
    box-shadow: inset 0 0 0 1px var(--df-accent-dim);
}

/* Rows the Diffs and Context views have folded away. Click to see them in the All view. */
.df-row.df-fold {
    background: var(--df-pane-alt);
    color: var(--df-faint);
    font-family: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.6875rem;
    cursor: pointer;
}

.df-fold .df-code {
    padding-left: 0.625rem;
}

.df-fold:hover {
    color: var(--df-accent);
}

/* Nothing to compare yet. */
.df-hint {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 2rem;
    color: var(--df-faint);
    font-size: 0.8125rem;
    text-align: center;
    pointer-events: none;
}

.df-hint[hidden] {
    display: none;
}

/* ==== Overview strip ======================================================== */

/* The whole comparison squeezed into the height of the pane, beside the right side's
   scroller: where the differences are, and the part of it on screen. */
.df-map {
    position: relative;
    flex: none;
    width: 0.75rem;
    background: var(--df-pane-alt);
    border-left: 1px solid var(--df-border-soft);
    cursor: pointer;
}

.df-map-marks {
    position: absolute;
    inset: 0;
}

.df-map-mark {
    position: absolute;
    left: 2px;
    right: 2px;
    min-height: 2px;
    border-radius: 1px;
}

.df-map-mark.k-left {
    background: var(--df-del);
}

.df-map-mark.k-right {
    background: var(--df-add);
}

/* A change is both: removed on the left half, added on the right. */
.df-map-mark.k-changed {
    background: linear-gradient(90deg, var(--df-del) 50%, var(--df-add) 50%);
}

.df-map-mark.is-current {
    box-shadow: 0 0 0 1px var(--df-accent);
}

.df-map-thumb {
    position: absolute;
    left: 0;
    right: 0;
    min-height: 4px;
    background: color-mix(in srgb, var(--df-text) 10%, transparent);
    border-block: 1px solid color-mix(in srgb, var(--df-text) 30%, transparent);
    pointer-events: none;
}

/* ==== The selected line ===================================================== */

/* Beyond Compare's line detail: the selected row's two sides, one above the other, with
   what changed inside them marked, scrolling sideways together. */
.df-detail {
    flex: none;
    background: var(--df-pane);
    border-top: 1px solid var(--df-border);
}

.df-detail-scroll {
    overflow-x: auto;
    padding: 0.1875rem 0;
    font-family: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.8125rem;
}

.df-detail-line {
    display: flex;
    width: max-content;
    min-width: 100%;
    line-height: var(--df-row-h);
    white-space: pre;
    tab-size: 4;
}

.df-detail-tag {
    position: sticky;
    left: 0;
    flex: none;
    box-sizing: border-box;
    width: 6ch;
    padding: 0 0.625rem 0 0.5rem;
    background: var(--df-pane);
    color: var(--df-faint);
    font-size: 0.6875rem;
    text-align: right;
}

.df-detail-left .df-detail-tag {
    box-shadow: inset 2px 0 0 var(--df-side-left);
}

.df-detail-right .df-detail-tag {
    box-shadow: inset 2px 0 0 var(--df-side-right);
}

.df-detail-code {
    flex: 1;
    padding-right: 1rem;
    color: var(--df-text);
}

.df-detail-code:empty::before {
    content: "\2014";
    color: var(--df-faint);
}

.df-detail-code mark {
    border-radius: 2px;
    color: inherit;
}

.df-detail-left mark {
    background: var(--df-del-strong);
}

.df-detail-right mark {
    background: var(--df-add-strong);
}

.df-detail.k-minor mark {
    background: var(--df-minor-strong);
}

/* Small ghost buttons in the pane header bars and beside the pills. */
.pane-btn {
    padding: 0.1875rem 0.4375rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
}

.pane-btn:hover:not(:disabled) {
    background: var(--df-chrome-hover);
    border-color: var(--df-border);
    color: var(--df-text);
}

.pane-btn:disabled {
    cursor: default;
    opacity: 0.55;
}

/* Comparison options: pressed pills rather than one-shot buttons, because these stay
   on across a recalculation. */
.pill {
    padding: 0.1875rem 0.4375rem;
    border: 1px solid var(--df-border);
    border-radius: 999px;
    background: transparent;
    color: var(--df-muted);
    font: inherit;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
}

.pill:hover {
    border-color: var(--df-accent-dim);
    color: var(--df-text);
}

.pill.is-on {
    background: var(--df-accent-wash);
    border-color: var(--df-accent-dim);
    color: var(--df-accent);
}


/* The ignore pattern: pill-shaped, and lit like a pressed pill while it has a pattern in
   it. A fixed width, kept short so the bar fits on one line - a longer pattern scrolls
   inside it, and the title says what it is for. */
.tools-input {
    box-sizing: border-box;
    flex: none;
    width: 6.5rem;
    padding: 0.1875rem 0.625rem;
    border: 1px solid var(--df-border);
    border-radius: 999px;
    outline: 0;
    background: transparent;
    color: var(--df-text);
    font-family: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.75rem;
}

.tools-input::placeholder {
    color: var(--df-faint);
    font-family: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.tools-input:hover,
.tools-input:focus {
    border-color: var(--df-accent-dim);
}

.tools-input.is-on {
    background: var(--df-accent-wash);
    border-color: var(--df-accent-dim);
    color: var(--df-accent);
}

/* A pattern that does not compile, and so is not being applied. */
.tools-input.is-invalid {
    background: var(--df-del-wash);
    border-color: var(--df-del);
    color: var(--df-del);
}

/* ==== Status bar ============================================================ */

.statusbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: none;
    box-sizing: border-box;
    /* Fixed, so the privacy sheet can sit exactly on top of it. */
    height: var(--df-statusbar-h);
    padding: 0 0.75rem;
    background: var(--df-chrome);
    border-top: 1px solid var(--df-border);
    color: var(--df-muted);
    font-size: 0.6875rem;
}

.statusbar-item {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.statusbar-item:empty {
    display: none;
}

/* The verdict: the two texts are the same, or they are not. */
.statusbar-summary {
    color: var(--df-text);
}

.statusbar-summary.is-same {
    color: var(--df-add);
}

.statusbar-summary.is-different {
    color: var(--df-del);
}

.statusbar-spacer {
    flex: 1;
}

.statusbar-note {
    color: var(--df-faint);
    white-space: nowrap;
}

/* Something the user asked for did not happen. Muted rather than red: nothing on
   screen is wrong, there is just another way to get at it. */
.statusbar-warn {
    min-width: 0;
    overflow: hidden;
    color: var(--df-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Feedback, Privacy and the privacy sheet are css/privacy-sheet.css and css/feedback.css,
   copies of shared/feedback-and-privacy/. */

/* ==== Not found ============================================================= */

.missing {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 2rem;
    text-align: center;
}

.missing h1 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.missing p {
    margin: 0 0 1rem;
    color: var(--df-muted);
}

.missing a {
    color: var(--df-accent);
}
