diff --git a/ui/src/styles.css b/ui/src/styles.css
index 55ae84e..0fab48e 100644
--- a/ui/src/styles.css
+++ b/ui/src/styles.css
@@ -639,19 +639,24 @@ body {
border-color: var(--w7-li-bd-hl);
}
- /* Selection in the FOCUSED panel. 7.css's tr.highlighted is Win7's *inactive*
- selection — a near-white wash that is almost invisible when it is the
- panel you are actually working in. Win7 drew the focused pane's selection
- as the stronger Aero band, which is what --w7-el-grad-h/-bd-h already are
- (and the dark palette restates them, so this recolours for free). */
+ /* Pane-focus model (commander convention, matching Win7 Explorer):
+ the CURSOR ROW always carries the selection band in BOTH panels —
+ tr.highlighted covers "selected via Space" AND "cursor row" (the template
+ ORs them). What changes with pane focus is the band's strength, never
+ whether it exists:
+ - focused pane -> strong Aero band (below)
+ - unfocused pane -> 7.css's own tr.highlighted, which IS Win7's
+ inactive-selection wash — faint by design, not a bug.
+ The dotted focus rectangle is NOT the focus signal; it is layered on top
+ of the band in the focused pane only, the way Win7 drew the keyboard
+ focus rect over the selected item. */
.win7 table.is-active > tbody > tr.highlighted {
background: var(--w7-el-grad-h);
border-color: var(--w7-el-bd-h);
}
- /* The keyboard cursor: one dotted focus rectangle around the ROW, the way
- Win7 drew a focused-but-unselected item. Applying this per cell (tr > *)
- draws a dotted box around every cell instead — visibly wrong. */
+ /* One dotted rectangle around the ROW; per cell (tr > *) draws a dotted box
+ around every cell instead — visibly wrong. */
.win7 table > tbody > tr.is-cursor {
outline: 1px dotted var(--w7-el-c);
outline-offset: -1px;