/* GR@FiCs Adx on the web - the shell's look, taken from the Windows desktop app (SwingUiHost / SwingWidgets):
   the desk's navy, the windows' title strip and line, the Windows text boxes, lists and combos. Every control is an
   absolutely placed element at the bounds the app's own layout gives it; labels, buttons, pictures and the drawn
   panels are painted on canvases by the app's drawing code (DomWidgets), so they need no style here. */

html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #080F1C;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 12px; }

#desk { position: fixed; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; background: #080F1C; }

/* ---- windows on the desk ---------------------------------------------------------------------------------- */
.gss-window { position: absolute; overflow: hidden; box-sizing: border-box; }
.gss-bordered { border: 1px solid #38BDF8; }
.gss-title { position: absolute; left: 0; right: 0; top: 0; height: 28px; background: #1E2A3A; color: #fff;
  font: bold 13px "Segoe UI", Tahoma, Arial, sans-serif; cursor: move; user-select: none; z-index: 2; }
.gss-title-text { position: absolute; left: 10px; right: 32px; top: 0; line-height: 28px; white-space: nowrap; overflow: hidden; }
.gss-title-close { position: absolute; right: 0; top: 0; width: 28px; height: 28px; display: flex; align-items: center;
  justify-content: center; cursor: default; }
.gss-title-close:hover { background: #C42B1C; }
.gss-scrim { position: absolute; background: rgba(0, 0, 0, 0.43); }

/* ---- every control --------------------------------------------------------------------------------------- */
.gss-panel, .gss-label, .gss-picture, .gss-button, .gss-check, .gss-text, .gss-select, .gss-combo, .gss-list,
.gss-progress, .gss-track, .gss-web { position: absolute; box-sizing: border-box; margin: 0; }
.gss-panel { overflow: hidden; }
.gss-scroll { overflow: auto; }
/* Panel.HideScrollBars (the map icon bar, 2026-11-23): it scrolls - finger, wheel, drag (DomWidgets.barlessScroll) - with no bar shown. */
.gss-scroll.gss-nobars { scrollbar-width: none; -ms-overflow-style: none; }
.gss-scroll.gss-nobars::-webkit-scrollbar { display: none; width: 0; height: 0; }
.gss-scroll-content { position: relative; }
canvas.gss-face, canvas.gss-layer { position: absolute; left: 0; top: 0; pointer-events: none; }
canvas.gss-layer { z-index: 0; }
.gss-label, .gss-picture { user-select: none; }
.gss-button { outline: none; user-select: none; }

/* Text boxes - the Windows look (a #9A9A9A line, 1 x 3 padding). */
.gss-text { border: 1px solid #9A9A9A; padding: 1px 3px; outline: none; background: #fff; color: #000; border-radius: 0; }
.gss-text:focus { border-color: #0078D7; }
.gss-text.gss-noborder { border: none; padding: 1px 3px; }
textarea.gss-text { resize: none; }
.gss-text:read-only { background-clip: padding-box; }
.gss-text:disabled { background: #F0F0F0; color: #6D6D6D; }
.gss-numeric { text-align: right; }

/* Combos: a drop-down list is the browser's own <select>; an editable one is a field and a drop button. */
.gss-select { border: 1px solid #9A9A9A; padding: 0 2px; background: #fff; outline: none; border-radius: 0; }
.gss-select:focus { border-color: #0078D7; }
.gss-combo { display: flex; border: 1px solid #9A9A9A; background: #fff; overflow: hidden; }
.gss-combo:focus-within { border-color: #0078D7; }
.gss-combo-input { flex: 1 1 auto; min-width: 0; border: none; outline: none; padding: 0 3px; margin: 0; background: transparent;
  font: inherit; color: inherit; }
.gss-combo-button { flex: 0 0 17px; display: flex; align-items: center; justify-content: center; cursor: default; }
.gss-combo-button:hover { background: #E5F1FB; }
.gss-flat, .gss-flat.gss-combo, select.gss-flat { border-color: #7A7A7A; }
.gss-combo-popup { position: fixed; z-index: 2147483000; background: #fff; border: 1px solid #646464; overflow-y: auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25); color: #000; box-sizing: border-box; }
.gss-combo-row { padding: 0 3px; white-space: nowrap; overflow: hidden; cursor: default; }
.gss-combo-row:hover, .gss-combo-row.gss-sel { background: #0078D7; color: #fff; }

/* Lists. */
.gss-list { overflow: auto; border: 1px solid #828790; background: #fff; color: #000; user-select: none; outline: none; }
.gss-row { white-space: nowrap; padding: 0 2px; overflow: hidden; cursor: default; }
.gss-row.gss-sel { background: #0078D7; color: #fff; }
.gss-tick { display: inline-block; width: 11px; height: 11px; border: 1px solid #333; margin: 0 5px 0 1px; vertical-align: -2px;
  background: #fff; position: relative; }
.gss-tick.gss-on::after { content: ""; position: absolute; left: 3px; top: 0px; width: 3px; height: 7px; border: solid #000;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Check boxes and radio buttons. */
.gss-check { display: flex; align-items: center; white-space: nowrap; overflow: hidden; cursor: pointer; user-select: none; }
.gss-check input { margin: 0 4px 0 1px; flex: 0 0 auto; }
.gss-check.gss-disabled { color: #6D6D6D; cursor: default; }

/* Progress bar - the Windows green. */
.gss-progress { border: 1px solid #BCBCBC; background: #E6E6E6; overflow: hidden; }
.gss-progress-fill { height: 100%; width: 0; background: #06B025; }
.gss-progress.gss-marquee .gss-progress-fill { width: 30% !important; animation: gss-marquee 1.6s linear infinite; }
@keyframes gss-marquee { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

.gss-track { padding: 0; }

/* The map's page. */
.gss-web { background: #fff; overflow: hidden; }
.gss-frame { width: 100%; height: 100%; border: 0; display: block; }

/* ---- the loading card ------------------------------------------------------------------------------------ */
#boot { position: fixed; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: #080F1C; color: #9CC3E6; z-index: 2147483600; font: 14px "Segoe UI", Tahoma, Arial, sans-serif; }
#boot img { width: 180px; margin-bottom: 18px; }
