/* optiSLang 2022 R1 web clone — measured layout.
 * Reference: /data/dev/ansys2202r1-work/shots/optislang-client.png (1920x1010 client area).
 * Every band/position below is pixel-measured from that capture except menus (inferred).
 *
 * Vertical structure (client px):
 *   0       1px #F0F3F9 (window frame row)
 *   1..22   menu bar (white), label ink rows 7..16
 *   23      #F2F2F2 line, 24 white line
 *   25..56  toolbar (bg #F0F0F0, 32px), 57 #B9B9B9 bottom line
 *   58..889 white content area; section rule y=167 #DCDCDC
 *   890..987 tutorial dock, vertical gradient #F5F5F5 -> #D5D5D5
 *   988..1009 status bar #F0F0F0, text ink (7,994)
 *
 * Fonts (identified from glyph shapes/metrics of the capture):
 *   welcome page text  = DejaVu Sans Mono (headers/tutorials/version) and DejaVu Sans (body)
 *   native Qt chrome   = DejaVu Sans (Windows capture used a DejaVu-family UI font)
 */
:root {
  --ol-ui: "DejaVu Sans", "Segoe UI", sans-serif;
  --ol-mono: "DejaVu Sans Mono", "Consolas", monospace;
  --ol-orange: #FA7300;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 1920px; height: 1010px; overflow: hidden; background: #FFFFFF; }
body { font-family: var(--ol-ui); font-size: 12px; color: #000; user-select: none; -webkit-font-smoothing: antialiased; }
img { -webkit-user-drag: none; }
.win { position: relative; width: 1920px; height: 1010px; overflow: hidden; background: #FFFFFF; }

/* ---------- top bands ---------- */
.topline { position: absolute; left: 0; top: 0; width: 1920px; height: 1px; background: #F0F3F9; }
.menubar { position: absolute; left: 0; top: 1px; width: 1920px; height: 22px; background: #FFFFFF; }
.menuline { position: absolute; left: 0; top: 23px; width: 1920px; height: 1px; background: #F2F2F2; }
.menuwhite { position: absolute; left: 0; top: 24px; width: 1920px; height: 1px; background: #FFFFFF; }
.toolbar { position: absolute; left: 0; top: 25px; width: 1920px; height: 32px; background: #F0F0F0;
  border-right: 1px solid #B9B9B9; }
.toolsep { position: absolute; left: 0; top: 57px; width: 1920px; height: 1px; background: #B9B9B9; }
.content { position: absolute; left: 0; top: 58px; width: 1920px; height: 832px; background: #FFFFFF; }
.tutorials { position: absolute; left: 0; top: 890px; width: 1920px; height: 98px;
  background: linear-gradient(180deg, #F5F5F5 0%, #D5D5D5 100%); }
.statusbar { position: absolute; left: 0; top: 988px; width: 1920px; height: 22px; background: #F0F0F0; }
.statusbar .msg { position: absolute; left: 6px; top: 6.6px; font: 11.8px/1 var(--ol-ui); color: #000; white-space: pre; }

/* ---------- menu bar labels ---------- */
.menubar .m { position: absolute; top: 1px; height: 22px; line-height: 22px; padding: 0 7px;
  font-size: 11.5px; color: #000; white-space: nowrap; cursor: default; }
.menubar .m:hover, .menubar .m.open { background: #E5F1FB; }

/* ---------- toolbar ---------- */
.tb-btn { position: absolute; cursor: default; border-radius: 2px; }
.tb-btn img { position: absolute; left: 2px; top: 2px; display: block; }
.tb-btn:hover { background: #E5F1FB; }
.tb-btn:active { background: #CCE8FF; }
.tb-sep { position: absolute; top: 0; width: 1px; height: 32px; background: #B9B9B9; }
.tb-grip { position: absolute; top: 3px; width: 2px; height: 26px;
  background-image: repeating-linear-gradient(180deg, #B8B8B8 0 2px, transparent 2px 4px); }
.tb-dd-img { position: absolute; display: block; }

/* ---------- content ---------- */
.h2 { position: absolute; font: 700 18.5px/1 var(--ol-mono); color: #000; white-space: pre; }
.section-line { position: absolute; left: 0; width: 1920px; height: 1px; }

.card { position: absolute; border: 0; border-radius: 3px; padding: 0; cursor: default; }
.card:hover { background: #F2F8FF; outline: 1px solid #DCEBFD; }
.card .ico { position: absolute; display: block; }
.card .ttl { position: absolute; font: 700 13.5px/1 "Carlito", var(--ol-ui); white-space: pre; color: #000; }
.card .sub { position: absolute; font: 13px/1 "Carlito", var(--ol-ui); white-space: pre; color: #000; }
.card:hover .ttl { color: #0B4F8A; }

/* ---------- brand block ---------- */
.brand-bar { position: absolute; overflow: hidden; }
.brand-logo { position: absolute; color: #FFFFFF; font-family: "Ubuntu", "Lato", "Open Sans", sans-serif;
  font-weight: 700; line-height: 1; white-space: pre; transform-origin: 0 0; }
.brand-reg { position: absolute; color: #FFFFFF; font: 700 15px/1 var(--ol-ui); }
.brand-version { position: absolute; font: 13px/1 var(--ol-mono); color: #000; white-space: pre; }

/* ---------- tutorial dock ---------- */
.tut-head { position: absolute; left: 0; top: 0; width: 1920px; height: 44px; cursor: default; }
.tut-chevron { position: absolute; display: block; }
.tut-title { position: absolute; font: 700 18.5px/1 var(--ol-mono); color: #000; white-space: pre; }
.tut-head:hover .tut-title { text-decoration: underline; }
.tut-row { position: absolute; left: 0; top: 0; width: 1920px; height: 98px; }
.tut-pdf { position: absolute; display: block; }
.tut-item { position: absolute; font: 700 11.7px/1 var(--ol-mono); color: #000; white-space: pre; cursor: pointer; }
.tut-item:hover { text-decoration: underline; }
.tut-sep { position: absolute; top: 62px; width: 2px; height: 12px; background: #111111; }

/* collapsed state (Hide/Show Tutorials) */
.win.tut-collapsed .tutorials { top: 942px; height: 46px; }
.win.tut-collapsed .content { height: 884px; }
.win.tut-collapsed .tut-row { display: none; }
.win.tut-collapsed .tut-chevron { transform: rotate(-90deg); }

/* Qt menu stacking: popup above menubar, transparent backdrop below the menu bar
   (so hover-switching between open menus keeps working) */
.menubar { z-index: 8900; }
.qtmenu { z-index: 9600; }
.modal-backdrop.menu { z-index: 8850; }
.tut-row { pointer-events: none; }
.tut-row .tut-pdf, .tut-row .tut-item { pointer-events: auto; }

/* menu accelerator column (right aligned) */
.qtmenu .mi { padding-right: 10px; }
.qtmenu .mi .accel { margin-left: auto; padding-left: 24px; color: #444; font-size: 11.5px; }
