/* The Hardware page shared by the input-device applets (Mouse, Keyboard) — measured on
   win2k-pro_dialog_mouse-properties_hardware.png and …_keyboard-properties_hardware.png (page origin (9, 49)). */
.dv { position: absolute; inset: 0; }
.dv > * { position: absolute; }
.dv > span { white-space: pre; }
.dv__label { left: 15px; top: 12px; }
.dv > .dv__devices {
  left: 15px; top: 28px; width: 357px; height: 76px; box-sizing: border-box;
  /* Device Manager's rows: 20px, the icon 2px in and 3px down, the selection and focus rectangle in the bottom
     17px from 2px after the icon, the text 3px into it (measured). */
  --metric-list-row-height-icon: 20px;
}
.dv > .dv__devices.w2k-listview[data-fullrow] { --lv-select-left: 18px; }
.dv__devices .w2k-listview__iconbox { margin-top: 3px; }
.dv__devices .w2k-listview__label { padding: 5px 5px 0 2px; }   /* a long name ends in "..." where Windows cuts it (Keyboard: "(101/102-K..."; 4–5px fit) */
/* Its focus rectangle starts with a dot at the corner. */
.dv__devices {
  --focus-rect-image:
    repeating-linear-gradient(to right, var(--color-focus-dot) 0 1px, transparent 1px 2px) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(to right, var(--color-focus-dot) 0 1px, transparent 1px 2px) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(to bottom, var(--color-focus-dot) 0 1px, transparent 1px 2px) 0 0 / 1px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--color-focus-dot) 0 1px, transparent 1px 2px) 100% 0 / 1px 100% no-repeat;
}
.dv > .dv__devices.w2k-listview[data-fullrow][data-icons] .w2k-listview__item[aria-selected="true"] { background-position-y: 3px; background-size: calc(var(--lv-total) - var(--lv-select-left)) 17px; }   /* allow: Device Manager's rows (measured) */
.dv > .dv__devices.w2k-listview[data-fullrow][data-icons] .w2k-listview__item[data-caret]::after { top: 3px; }
.dv__devices .w2k-listview__cell:not(.w2k-listview__cell--label) { padding-top: 5px; }
.dv__group { left: 15px; top: 120px; width: 357px; height: 225px; box-sizing: border-box; }
.dv__line1 { left: 25px; top: 140px; }
.dv__line2 { left: 25px; top: 159px; }
.dv__line3 { left: 25px; top: 179px; }
.dv__line4 { left: 25px; top: 198px; }
.dv > .dv__troubleshoot { left: 195px; top: 311px; width: 81px; }
.dv > .dv__properties { left: 286px; top: 311px; }
