/* Controls section labels and separators. */
/* The column gap carries the whole 21px between sections (10px, the hairline, 10px). */
.controls {
    align-items: stretch;
    gap: 4px 21px;
}
.ctrl-section-label {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--section-title, var(--text-muted));
    white-space: nowrap;
    padding: 0 4px 4px;
    margin-bottom: 4px;
    opacity: 0.85;
}
.ctrl-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 4px 6px 4px;
}
.ctrl-section-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
/* Desktop twin: the View cluster. */
#compare-mode + label { margin-left: 4px; }
/* The desktop's 18px glyph box (app/toolbar/toolbarMetrics.hpp TOOL_ICON); the buttons keep their size. */
.ctrl-section-row .btn-icon .ic,
.ctrl-section-row .btn-icon-text .ic { width: 18px; height: 18px; }

.ctrl-section + .ctrl-section::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-main);
}
/* A hairline at the head of a wrapped row (ui/toolbar/separators.js) is a stray. */
.ctrl-section.ctrl-sep-wrapped::before { content: none; }
/* The blank-image chip is flat, not an accent action: no sheen (animations/controls.css). */
.controls .blank-color-btn {
    display: none;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-info);
    padding: 5px 9px;
    border-radius: 4px;
    border: 1px solid var(--border-main);
    white-space: nowrap;
    cursor: pointer;
}
.blank-color-swatch {
    width: 30px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid var(--border-main);
    display: inline-block;
    flex: 0 0 auto;
}
