/* Font common dialog (INVENTORY DL5) — client coordinates from comdlg32's FORMATDLGORD31 template (MS Sans Serif 8:
   x × 6/4, y × 13/8, MulDiv rounding), checked against win2k-pro_dialog_font.png. Built by js/components/fontdialog.js. */
.w2k-fontdlg { position: relative; flex: 1; font: var(--font-dialog); color: var(--sys-btn-text); }
.w2k-fontdlg > * { position: absolute; }
.w2k-fontdlg > label:not(.w2k-check) { white-space: pre; }
.w2k-fontdlg__face-label { left: 11px; top: 11px; }
.w2k-fontdlg__style-label { left: 165px; top: 11px; }
.w2k-fontdlg__size-label { left: 284px; top: 11px; }
/* Simple combos: the 21px edit over a list of whole items (7 × 13 + 4 = 95; the template's 124px rounds down). */
.w2k-fontdlg__face, .w2k-fontdlg__style, .w2k-fontdlg__size { top: 26px; height: 116px; }
.w2k-fontdlg__face { left: 11px; width: 147px; }
.w2k-fontdlg__style { left: 165px; width: 111px; }
.w2k-fontdlg__size { left: 285px; width: 54px; }
.w2k-fontdlg .w2k-combo__simple-list { flex: none; height: 95px; box-sizing: border-box; }
.w2k-fontdlg__face .w2k-combo__simple-list { --metric-list-text-left: 20px; }
.w2k-fontdlg__style .w2k-combo__simple-list { --metric-list-text-left: 2px; }   /* comdlg32 draws it itself (TODO A5) */
.w2k-fontdlg__mark { position: absolute; left: 0; top: 0; width: 16px; height: 13px; }
[role="option"][aria-selected="true"] > .w2k-fontdlg__mark:not(.w2k-fontdlg__mark--selected),
[role="option"]:not([aria-selected="true"]) > .w2k-fontdlg__mark--selected { display: none; }
.w2k-fontdlg__ok, .w2k-fontdlg__cancel { left: 347px; width: 68px; }
.w2k-fontdlg__ok { top: 26px; }
.w2k-fontdlg__cancel { top: 52px; }
.w2k-fontdlg__effects { left: 11px; top: 158px; width: 147px; height: 117px; box-sizing: border-box; }
.w2k-fontdlg__strike { left: 20px; top: 180px; }
.w2k-fontdlg__under { left: 20px; top: 201px; }
.w2k-fontdlg__color-label { left: 20px; top: 221px; }
.w2k-fontdlg__color { left: 20px; top: 237px; width: 123px; height: 20px; }
.w2k-fontdlg__sample { left: 165px; top: 158px; width: 174px; height: 70px; box-sizing: border-box; }
/* The sample rectangle (stc5, hidden) drawn sunken; the text centred in it (DT_CENTER | DT_VCENTER | DT_SINGLELINE). */
.w2k-fontdlg__sample-box {
  left: 177px; top: 180px; width: 150px; height: 37px;
  box-sizing: border-box;
  box-shadow: var(--edge-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.w2k-fontdlg__sample-text { font: var(--font-sample); color: var(--sys-window-text); white-space: pre; }
.w2k-fontdlg__script-label { left: 165px; top: 239px; }
.w2k-fontdlg__script { left: 165px; top: 255px; width: 174px; height: 20px; }
.w2k-fontdlg__description { left: 11px; top: 280px;   /* measured: 9px above the template's stc6 */ width: 329px; height: 33px; margin: 0; }
