/* ANSYS DesignModeler 2022 R1 web clone — Qt-style shell.
 *
 * IMPORTANT provenance: no reference screenshot exists for this host.  DesignModeler only runs
 * as a Workbench add-in (there is no standalone executable: see
 * /data/dev/ansys2202r1-work/win-share/inv/dm-probe.txt), so the layout below is reconstructed
 * from the ANSYS public documentation (DesignModeler User's Guide: GUI, Menus, Tree Outline,
 * Details View, Sketching Toolboxes) and is labelled "reference-unavailable" on the page.
 * Every number rendered in the page comes from apps/designmodeler/js/kernel.js (real computation).
 *
 * Client area 1920x1010 (project convention).
 *   0..25    menu bar            File Edit View Create Concept Modeling Tools Units Help
 *   26..94   two toolbar rows    row1 standard/selection/graphics/display, row2 sketch/create/modeling/params
 *   95..113  provenance banner  (amber, always visible)
 *   114..934 body: tree dock 0..318 | graphics 322..1581 | Details View 1585..1920
 *   935..982 message window
 *   983..1010 status bar
 */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 1920px; height: 1010px; overflow: hidden;
  background: #f0f0f0; color: #101010;
  font-family: "Liberation Sans", "Arimo", Arial, "Microsoft YaHei", sans-serif;
  font-size: 11px; user-select: none; -webkit-font-smoothing: antialiased;
}
.win { position: relative; width: 1920px; height: 1010px; overflow: hidden; background: #f0f0f0; }
svg.ico { display: block; flex: none; }

/* ------------------------------------------------------------------ menu bar */
.menubar { position: absolute; left: 0; top: 0; width: 1920px; height: 25px; background: #f0f0f0;
  display: flex; align-items: center; padding-left: 5px; }
.menubar .m {
  height: 21px; line-height: 21px; padding: 0 8px; margin: 2px 1px 0;
  font-size: 11.5px; color: #000; white-space: nowrap; cursor: default;
}
.menubar .m:hover, .menubar .m.open { background: #cfe0f5; }
.menubar .right { position: absolute; right: 8px; top: 4px; display: flex; gap: 8px; align-items: center; color: #444; }
.menusep { position: absolute; left: 0; top: 25px; width: 1920px; height: 1px; background: #9a9a9a; box-shadow: 0 1px 0 #fff; }

/* ---------------------------------------------------------------- toolbars */
.toolarea { position: absolute; left: 0; top: 27px; width: 1920px; height: 67px; background: #f0f0f0; }
.tbrow { position: absolute; left: 0; width: 1920px; height: 33px; display: flex; align-items: flex-start; padding-left: 4px; }
#tbrow1 { top: 0; }
#tbrow2 { top: 34px; }
.tbsep-h { position: absolute; left: 0; top: 33px; width: 1920px; height: 1px;
  background: linear-gradient(to bottom, #d7d7d7 0 1px, #ffffff 1px 2px); }
.tbgroup { display: flex; align-items: flex-start; height: 33px; padding: 0 4px; position: relative; }
.tbgroup::after { content: ""; position: absolute; right: 0; top: 3px; width: 1px; height: 26px; background: #d0d0d0; }
.tbgroup:last-child::after { display: none; }
.tbbtn {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  min-width: 24px; height: 31px; padding: 2px 3px 0; border: 1px solid transparent; border-radius: 3px;
  cursor: default; color: #1b1b1b;
}
.tbbtn:hover { background: #dbe9f8; border-color: #a8c8ea; }
.tbbtn:active { background: #c3daf2; }
.tbbtn .lbl { font-size: 9.5px; line-height: 10px; margin-top: 1px; white-space: nowrap; color: #262626; }
.tbbtn.icononly { height: 24px; padding: 2px 4px; flex-direction: row; }
.tbbtn.icononly .lbl { display: none; }
.tbbtn .dd { position: absolute; margin-left: 15px; margin-top: 15px; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #3a3a3a; }
.tbbtn.has-dd { position: relative; padding-right: 7px; }
.tbsep-v { width: 1px; height: 24px; background: #c9c9c9; margin: 3px 5px 0; }

/* ---------------------------------------------------------------- prov bar */
.provbar {
  position: absolute; left: 0; top: 95px; width: 1920px; height: 18px; background: #fff4d6;
  border-top: 1px solid #e0c074; border-bottom: 1px solid #e0c074; color: #6b4a00;
  font-size: 10.5px; line-height: 17px; padding: 0 10px; white-space: nowrap; overflow: hidden;
}
.provbar b { color: #8a2b00; }
.provbar .tag { margin-left: 10px; padding: 0 6px; background: #f3d9a4; border: 1px solid #c8a35c; border-radius: 2px; }
.provbar .ok { color: #245c1c; margin-left: 12px; }

/* ---------------------------------------------------------------- body docks */
.body { position: absolute; left: 0; top: 114px; width: 1920px; height: 813px; }
.dock { position: absolute; top: 0; height: 813px; background: #f0f0f0; }
.dock.left { left: 0; width: 318px; }
.dock.right { right: 0; width: 335px; }
.dockhead {
  height: 21px; line-height: 20px; padding: 0 6px; background: #dfe3e8;
  border-bottom: 1px solid #b9bfc6; display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 600; color: #2b2b2b;
}
.dockhead .dockbtns { font-size: 9px; color: #5a5a5a; font-weight: 400; letter-spacing: 2px; }
.splitter-v { position: absolute; top: 0; width: 4px; height: 813px;
  background: linear-gradient(to right, #ffffff 0 1px, #e3e3e3 1px 2px, #a9a9a9 2px 3px, #6f6f6f 3px 4px); }
#splitterL { left: 318px; }
#splitterR { left: 1585px; }
.views { position: absolute; left: 322px; top: 0; width: 1263px; height: 813px; }

/* --------------------------------------------------------------------- tree */
.treebox { position: absolute; left: 2px; top: 21px; width: 314px; height: 757px; background: #fff;
  border: 1px solid #a9a9a9; overflow: auto; }
.trow { display: flex; align-items: center; height: 19px; padding-right: 4px; cursor: default; white-space: nowrap; }
.trow:hover { background: #eef4fb; }
.trow.sel { background: #cfe0f5; }
.trow.sel .label { font-weight: 600; }
.trow.hidden { display: none; }
.trow .tw { width: 12px; height: 12px; display: flex; align-items: center; justify-content: center;
  color: #4a4a4a; font-size: 9px; flex: none; }
.trow .tw::before { content: ""; }
.trow .tw.open::before { content: "\25BE"; }
.trow .tw.closed::before { content: "\25B8"; }
.trow .tw.leaf::before { content: ""; }
.trow .label { font-size: 11.5px; color: #101010; overflow: hidden; text-overflow: ellipsis; }
.trow .badge { font-size: 9px; color: #7a7a7a; margin-left: 6px; }
.treetabs { position: absolute; left: 2px; top: 779px; width: 314px; height: 33px; display: flex;
  border-top: 1px solid #b9bfc6; background: #e8ebee; }
.treetabs .tab { flex: 1; text-align: center; line-height: 32px; font-size: 11px; cursor: default;
  border-right: 1px solid #c6ccd2; color: #2b2b2b; }
.treetabs .tab.on { background: #fff; font-weight: 600; border-bottom: 2px solid #4a83c4; }
.sketchtools { position: absolute; left: 2px; top: 21px; width: 314px; height: 757px; background: #fff;
  border: 1px solid #a9a9a9; overflow: auto; display: none; }
.sketchtools .st-head { background: #e8ebee; border-bottom: 1px solid #c6ccd2; padding: 3px 6px; font-weight: 600; }
.sketchtools .st-item { display: flex; align-items: center; height: 20px; padding-left: 10px; font-size: 11px; }
.sketchtools .st-item:hover { background: #eef4fb; }

/* ---------------------------------------------------------------- graphics */
.graphics { position: absolute; left: 0; top: 0; width: 1263px; height: 813px; overflow: hidden;
  background: linear-gradient(180deg, #b9c9e2 0%, #c6d4e9 18%, #d5e0f0 42%, #e5ecf6 68%, #f3f6fa 88%, #ffffff 100%); }
.graphics canvas { position: absolute; left: 0; top: 0; }
.graphics .watermark { position: absolute; right: 26px; top: 10px; text-align: right; color: rgba(255,255,255,0.92);
  text-shadow: 0 0 2px rgba(90,110,140,0.35); }
.graphics .watermark .a { font-size: 30px; line-height: 33px; letter-spacing: -0.5px; display: block; }
.graphics .watermark .b { font-size: 16px; line-height: 17px; letter-spacing: 0.2px; display: block; margin-top: 3px; }
.viewhint { position: absolute; left: 10px; bottom: 8px; color: #5d6b80; font-size: 10.5px; }
.triadbox { position: absolute; right: 10px; bottom: 8px; }

/* ------------------------------------------------------------------ details */
.details { position: absolute; left: 2px; top: 21px; width: 331px; height: 790px; background: #fff;
  border: 1px solid #a9a9a9; overflow: auto; }
.det-title { background: #e8ebee; border-bottom: 1px solid #c6ccd2; padding: 4px 8px;
  font-weight: 600; font-size: 11.5px; color: #1b1b1b; }
.det-group { border-bottom: 1px solid #e2e2e2; padding: 2px 0 5px; }
.det-group .gt { padding: 4px 8px 2px; color: #24568c; font-weight: 600; font-size: 11px; }
.det-row { display: flex; align-items: center; min-height: 20px; padding: 0 8px 0 12px; }
.det-row:hover { background: #f2f7fd; }
.det-row .k { width: 132px; color: #3a3a3a; flex: none; font-size: 11px; }
.det-row .v { flex: 1; color: #000; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.det-row .v.ro { color: #1b3d6b; }
.det-row input.param { width: 92px; height: 18px; border: 1px solid #a9a9a9; font-size: 11px; padding: 0 3px;
  background: #fff; }
.det-row button { height: 19px; font-size: 10.5px; background: #f0f0f0; border: 1px solid #a9a9a9;
  border-radius: 2px; padding: 0 9px; cursor: default; }
.det-row button:hover { background: #e6f0fb; border-color: #7aa7d8; }
.det-note { padding: 5px 10px; color: #6b6b6b; font-size: 10.5px; line-height: 14px; }
.det-empty { padding: 14px 12px; color: #6b6b6b; font-size: 11px; line-height: 16px; }

/* ------------------------------------------------------------ messages/status */
.msgpanel { position: absolute; left: 0; top: 927px; width: 1920px; height: 56px;
  border-top: 1px solid #9a9a9a; background: #fff; }
.msghead { height: 15px; line-height: 14px; background: #e8ebee; border-bottom: 1px solid #c6ccd2;
  display: flex; justify-content: space-between; padding: 0 8px; font-size: 10px; color: #444; }
.msghead .t { font-weight: 600; }
.msghead .x { color: #2b5c9c; cursor: default; }
.msgbody { padding: 3px 8px; font-size: 10.5px; line-height: 13px; color: #1b1b1b; overflow: hidden; }
.msgbody .ln.warn { color: #8a2b00; }
.msgbody .ln.ok { color: #1d5b1a; }
.msgbody .ln.cmd { color: #1b3d6b; }
.statusbar { position: absolute; left: 0; top: 983px; width: 1920px; height: 27px; background: #f0f0f0;
  border-top: 1px solid #d0d0d0; display: flex; align-items: center; padding: 0 10px; font-size: 10.5px; color: #222; }
.statusbar .seg { padding: 0 10px; border-right: 1px solid #cfcfcf; white-space: nowrap; }
.statusbar .seg:first-child { padding-left: 0; }
.statusbar .grow { flex: 1; }
.statusbar .prov { color: #8a2b00; background: #fff4d6; border: 1px solid #e0c074; border-radius: 2px;
  padding: 0 6px; margin-left: 8px; }

/* ------------------------------------------------------------- menu popups */
.menupop { position: absolute; z-index: 200; min-width: 190px; background: #f7f7f7;
  border: 1px solid #8a8a8a; box-shadow: 2px 2px 4px rgba(0,0,0,.28); padding: 2px; }
.menupop .mi { position: relative; height: 20px; line-height: 20px; padding: 0 22px 0 24px;
  font-size: 11.5px; white-space: nowrap; cursor: default; }
.menupop .mi:hover { background: #cfe0f5; }
.menupop .mi.disabled { color: #9a9a9a; }
.menupop .mi.disabled:hover { background: transparent; }
.menupop .mi .arrow { position: absolute; right: 7px; top: 0; font-size: 10px; }
.menupop .sep { height: 1px; margin: 3px 4px; background: #c9c9c9; }
.menupop .mi .chk { position: absolute; left: 7px; top: 0; font-size: 10px; color: #24568c; }

/* ------------------------------------------------------------- numeric panel */
.np-backdrop { position: absolute; left: 0; top: 0; width: 1920px; height: 1010px; background: rgba(20,30,50,.18); z-index: 300; }
.np-win { position: absolute; z-index: 301; background: #f2f2f2; border: 1px solid #6f6f6f;
  box-shadow: 4px 6px 18px rgba(0,0,0,.35); width: 980px; }
.np-title { height: 26px; background: linear-gradient(180deg,#4d7ab5,#35619b); color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; font-weight: 600; }
.np-title .x { cursor: default; font-size: 13px; }
.np-sub { padding: 7px 12px 5px; color: #2b2b2b; font-size: 11px; line-height: 15px; }
.np-sub code { background: #e6e6e6; padding: 0 3px; border-radius: 2px; }
.np-body { padding: 4px 12px 8px; }
.np-table { width: 100%; border-collapse: collapse; font-size: 11px; background: #fff; }
.np-table th { background: #e8ebee; border: 1px solid #c6ccd2; padding: 4px 6px; text-align: left; font-weight: 600; color: #2b2b2b; }
.np-table td { border: 1px solid #dcdcdc; padding: 3px 6px; vertical-align: top; }
.np-table td.num { text-align: right; font-family: "DejaVu Sans Mono", monospace; font-size: 10.5px; }
.np-table tr.pass td.v { color: #1d5b1a; font-weight: 600; }
.np-table tr.fail td.v { color: #a02000; font-weight: 600; }
.np-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 10px; }
.np-sum { font-size: 11.5px; font-weight: 600; }
.np-sum.pass { color: #1d5b1a; }
.np-sum.fail { color: #a02000; }
.np-foot button { height: 24px; min-width: 82px; font-size: 11px; background: #f0f0f0; border: 1px solid #a9a9a9; border-radius: 2px; cursor: default; }
.np-foot button:hover { background: #e6f0fb; border-color: #7aa7d8; }
