/* ANSYS ICEM CFD 2022 R1 web clone — measured layout.
 * Reference capture: /data/dev/ansys2202r1-work/shots/icemcfd-main.png
 *   PrintWindow frame (8,31)-(1640,949); client area 1632x918. Every number below is a
 *   CLIENT pixel coordinate measured from that crop.
 *
 * Vertical structure (client px):
 *   0..27    menu bar, #f0f0f0 (label ink rows 8..18)
 *   28       #696969 rule   29  #ffffff
 *   30..91   two toolbar rows, #f0f0f0; row1 icons y33..57, row2 icons y60..89
 *   92 #909090 93..95 #f0f0f0 96 #696969 97 #ffffff 98..100 #f0f0f0
 *   101..770 graphics (blue->white gradient), x 375..1628
 *   776..779 sash bevel, 785 console top rule, 787..887 console white area
 *   896..907 Log checkbox, Log label + Save/Clear buttons
 * Horizontal body: tree panel x4..359 y102..501; left bevel x366..369;
 *   graphics x375..1628; console x375..1612; right bevel x1618..1621.
 * The real app is a classic Win32 app: font MS Sans Serif 8pt ~ 11px here,
 *   closest face in the headless renderer is Liberation Sans (Arial metrics).
 */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 1632px; height: 918px; overflow: hidden;
  background: #f0f0f0; color: #000;
  font-family: "Liberation Sans", "Arimo", Arial, "Tahoma", sans-serif;
  font-size: 11px; user-select: none; -webkit-font-smoothing: antialiased;
}
img { -webkit-user-drag: none; display: block; }
.win { position: relative; width: 1632px; height: 918px; overflow: hidden; background: #f0f0f0; }

/* ---------------------------------------------------------------- menu bar */
.menubar { position: absolute; left: 0; top: 0; width: 1632px; height: 28px; background: #f0f0f0; }
.menubar .m {
  position: absolute; top: 3px; height: 20px; line-height: 20px; padding: 0 2px;
  font-size: 11px; color: #000; white-space: nowrap; cursor: default;
}
.menubar .m:hover, .menubar .m.open { background: #d9d9d9; }
.menubar .menu-right { position: absolute; top: 4px; }
.menusep { position: absolute; left: 0; top: 28px; width: 1632px; height: 1px; background: #696969; }
.menusep::after { content: ""; position: absolute; left: 0; top: 1px; width: 1632px; height: 1px; background: #fff; }

/* ---------------------------------------------------------------- toolbar */
.toolarea { position: absolute; left: 0; top: 30px; width: 1632px; height: 62px; background: #f0f0f0; }
.tb-btn { position: absolute; cursor: default; }
.tb-btn:hover { background: #dbe9f8; }
.tb-btn img { position: absolute; left: 0; top: 0; }
.tb-sep { position: absolute; width: 2px; height: 24px;
  background: linear-gradient(to right, #696969 0 1px, #ffffff 1px 2px); }
.labelstrip { position: absolute; left: 201px; top: 7px; width: 590px; height: 21px;
  border-top: 1px solid #ffffff; border-bottom: 1px solid #ffffff; }
.labelstrip .sep { position: absolute; top: 1px; width: 1px; height: 19px; background: #909090; }
.tb-group {
  position: absolute; top: 5px; height: 19px; line-height: 19px; padding: 0 7px;
  font-size: 11px; color: #000; white-space: nowrap; cursor: default;
}
.tb-group:hover { background: #dbe9f8; }
.bevel { position: absolute; left: 0; width: 1632px; }
.bevel.b1 { top: 92px; left: 207px; width: 1418px; height: 1px; background: #909090; }
.bevel.b2 { top: 96px; height: 1px; background: #696969; }
.bevel.bw { top: 97px; height: 1px; background: #fff; }
.bevel.bevel-left { left: 366px; top: 101px; width: 4px; height: 817px;
  background: linear-gradient(to right, #ffffff 0 1px, #e3e3e3 1px 2px, #a0a0a0 2px 3px, #696969 3px 4px); }

/* ---------------------------------------------------------------- tree panel */
.treebox {
  position: absolute; left: 4px; top: 102px; width: 356px; height: 400px;
  background: #fff; overflow: hidden;
  border-top: 1px solid #000; border-left: 1px solid #000;
  box-shadow: inset 1px 1px 0 #999999, inset -1px 0 0 #e6e6e6, inset 0 -1px 0 #e6e6e6;
}
.trow { position: absolute; left: 0; height: 21px; cursor: default; }
.trow .lbl { position: absolute; left: 42px; top: 3px; height: 15px; line-height: 15px; font-size: 11px; white-space: nowrap; }
.trow .vline, .trow .hline { position: absolute; background: #808080; }
.trow .vline { width: 1px; top: 0; }
.trow .hline { height: 1px; }
.trow .tw { position: absolute; left: 32px; top: 6px; width: 9px; height: 9px; border: 1px solid #808080; background: #fff; cursor: default; }
.trow .tw::before { content: ""; position: absolute; left: 1px; top: 3px; width: 5px; height: 1px; background: #303030; }
.trow.closed .tw::after { content: ""; position: absolute; left: 3px; top: 1px; width: 1px; height: 5px; background: #303030; }
.trow .ficon { position: absolute; left: 42px; top: 4px; width: 12px; height: 12px;
  background: linear-gradient(#f7f7c8, #d8d87a); border: 1px solid #8a8a4a; }
.trow .lbl.withicon { left: 58px; }
.trow.sel .selbg { position: absolute; left: 0; top: 0; width: 356px; height: 21px; background: #0a246a; }
.trow.sel .lbl { color: #fff; z-index: 1; }

/* ---------------------------------------------------------------- graphics */
.gfx {
  position: absolute; left: 375px; top: 101px; width: 1254px; height: 670px; overflow: hidden;
  background: linear-gradient(180deg,
    #6688dd 0%, #688add 1.34%, #7191df 7.3%, #7d9ae2 14.8%, #94abE7 29.7%,
    #aabdeC 44.6%, #c1cff1 59.6%, #d8e1f6 74.5%, #eff2fb 89.4%, #fafbfe 96.9%, #ffffff 100%);
}
.gfx canvas { position: absolute; left: 0; top: 0; }
.gfx .watermark { position: absolute; right: 32px; top: 12px; text-align: right; color: #ffffff; }
.gfx .watermark .a { font-size: 35px; line-height: 38px; letter-spacing: -1px; }
.gfx .watermark .b { font-size: 19px; line-height: 19px; letter-spacing: -0.2px; margin-top: 6px; margin-right: 2px; }
.gfx .axis { position: absolute; right: 0; bottom: 53px; }
.gfx .axis text { font-size: 11px; }

/* ---------------------------------------------------------------- console */
.console {
  position: absolute; left: 375px; top: 785px; width: 1238px; height: 104px;
  background: #fff; border: 1px solid #000; border-right-color: #e6e6e6; border-bottom-color: #e6e6e6;
  box-shadow: inset 1px 1px 0 #999999; overflow: hidden;
}
.console .consolebody {
  position: absolute; left: 6px; top: 5px; right: 2px; bottom: 2px;
  overflow: hidden; font-size: 10.5px; line-height: 13px;
}
.sashpanel { position: absolute; left: 3px; top: 508px; width: 357px; height: 4px;
  background: linear-gradient(to bottom, #ffffff 0 1px, #e3e3e3 1px 2px, #a0a0a0 2px 3px, #696969 3px 4px); }
.sash { position: absolute; left: 375px; top: 776px; width: 1254px; height: 4px;
  background: linear-gradient(to bottom, #ffffff 0 1px, #e3e3e3 1px 2px, #a0a0a0 2px 3px, #696969 3px 4px); }
.console .line { white-space: pre; color: #000; }
.console .line.cmd { color: #000060; }
.console .line.ok { color: #004000; }
.console .line.warn { color: #7a0000; }
.consolecontrols { position: absolute; left: 0; top: 0; width: 1632px; height: 918px; pointer-events: none; }
.consolecontrols > * { pointer-events: auto; position: absolute; }
.ctl-check { width: 12px; height: 12px; background: #fff; border: 1px solid #a0a0a0;
  border-right-color: #e3e3e3; border-bottom-color: #e3e3e3;
  box-shadow: inset 1px 1px 0 #696969; cursor: default; }
.ctl-check.on::before { content: ""; position: absolute; left: 2px; top: 2px; width: 6px; height: 6px; background: #000; }
.ctl-label { font-size: 11px; line-height: 14px; cursor: default; }
.ctl-btn {
  height: 25px; line-height: 23px; text-align: center; font-size: 10.5px; color: #000;
  background: #f0f0f0; border: 1px solid #696969; border-top-color: #ffffff; border-left-color: #ffffff;
  box-shadow: inset -1px 0 0 #a0a0a0, inset 0 -1px 0 #a0a0a0;
  cursor: default;
}
.ctl-btn:hover { background: #e8f0fa; }
.bottom-bevel {
  position: absolute; left: 1618px; top: 785px; width: 4px; height: 133px;
  background: linear-gradient(to right, #ffffff 0 1px, #e3e3e3 1px 2px, #a0a0a0 2px 3px, #696969 3px 4px);
}
.grip { position: absolute; background: #a0a0a0; }

/* ---------------------------------------------------------------- menu popup */
.menupop {
  position: absolute; z-index: 100; min-width: 150px; background: #f0f0f0;
  border: 1px solid #000; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); padding: 2px;
}
.menupop .mi { position: relative; height: 19px; line-height: 19px; padding: 0 6px; font-size: 11px; white-space: nowrap; cursor: default; }
.menupop .mi:hover { background: #0a246a; color: #fff; }
.menupop .mi.disabled { color: #909090; }
.menupop .mi.disabled:hover { background: transparent; color: #909090; }
.menupop .sep { height: 1px; margin: 3px 2px; background: #b0b0b0; }
.menupop .mi .accel { position: absolute; right: 8px; top: 0; color: #666; }
.menupop .mi:hover .accel { color: #dfe6f5; }
.menupop .mi .arrow { position: absolute; right: 5px; top: 0; }
.menupop .mi .sub { display: none; }
.menupop .mi.has-sub:hover > .sub { display: block; }
