/* The image-facts line: its geometry is PINNED (line-height, min-height, no wrap) so the incognito tag
   never moves a pixel — the desktop's label grew and pushed the canvas down (user report). */
/* Folded toolbar: the line and its 8 + 12 + 10px of margins go — the "?" bubble carries the same facts. */
body.controls-collapsed .info { height: 0; min-height: 0; padding-block: 0; opacity: 0; visibility: hidden; }
body.controls-collapsed .controls-topbar { margin-bottom: 0; }
body.controls-collapsed .controls-wrapper { margin-bottom: 8px; }
body.controls-collapsed .canvas-viewport { margin-top: 0; }
.info {
    margin-top: 0;
    padding: 10px;
    background: var(--bg-info);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-info);
    /* A FLEX row: an inline middle-aligned tag still stretched the line by ~1.4px (measured). */
    display: flex;
    align-items: center;
    /* 27 + 2×10 = 47: the desktop's imageInfoBar, an 11px margin around its 25px line. */
    line-height: 27px;
    min-height: 27px;
    height: 27px;   /* explicit, so the fold (animations/collapse.css) can take it to 0 */
    white-space: nowrap;
    overflow: hidden;
}
input[type="number"] {
    width: 80px;
}
input[type="color"] {
    /* A 32x16 swatch in a 46x26 box, the desktop's well (support/colorSwatch.cpp setColorSwatch) on all three surfaces. */
    width: 46px;
    height: 26px;
    cursor: pointer;
    padding: 4px 6px;   /* 46-2*6 = 32 wide, 26-2*4 = 18 high inside the 1px frame */
    background: var(--input-bg);
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 1px solid var(--border-main); border-radius: 3px; }
/* The system face at 13px is the desktop's empty row (SelectionPanel::emptyMessage). */
.coordinates-table td.empty-message {
    text-align: center;
    color: var(--text-empty);
    font-style: italic;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 13px;
}
.coordinates-table tbody tr:has(.empty-message) { cursor: default; }
/* Headings over nothing read as a failed load. Desktop twin: PointsTable. */
.coordinates-table:has(.empty-message) thead { display: none; }
