// Cool grey ramp (hue 220) and primary blue ramp (hue 207) — every neutral
// and accent-blue value below is drawn from these two families so borders,
// panels, hovers and selection states read as one coherent palette instead
// of independently-picked greys.
@backgroundColor: var(--bs-body-bg);
@textColor: var(--bs-body-color);
@sectionBackgroundColor: hsl(220, 20%, 95%);
@borderColor: hsl(220, 14%, 90%);
@darkBorderColor: hsl(220, 10%, 78%);
@panelHeaderColor: var(--bs-tertiary-bg);
@selectionBackgroundColor: hsl(207, 56%, 46%);
@selectionColor: white;
@lightSelectionBackgroundColor: hsl(207, 60%, 72%);
@lightSelectionColor: white;
@tableBorderColor: hsl(220, 14%, 89%);
@nonFocusedSelectionBackgroundColor: hsl(220, 10%, 78%);
@nonFocusedSelectionColor: black;
@hoverBackgroundColor: hsl(220, 10%, 78%);
@hoverColor: black;
@scrollTrackColor: hsl(220, 20%, 95%);
@scrollThumbColor: hsl(220, 8%, 76%);
@darkTextColor: hsl(220, 8%, 35%);
@focusBackgroundColor: hsl(207, 58%, 58%);
@focusColor: hsl(220, 10%, 27%);
@dragSourceBackgroundColor: #e040fb;
@dragSourceColor: white;
@dropTargetBackgroundColor: #7c4dff;
@dropTargetColor: #ffffff;
@dropPlaceColor: #7c4dff;
@errorColor: #dc3545;
@warningBackgroundColor: #ffc107;
@warningColor: #212529;
@actionHoverColor: #0056b3;
@connectionLineColor: #999;
@trixToolbarColor: #eee;

@selectedConnectionLineColor: red;
@seqConnectionLineColor: #3fadb5;
@activeConnectionLineColor: blue;
@connectionLineInTheMakingColor: #337bb7;
@activeTabBackgroundColor: #ffffff;
@disabledConnectionLineColor: #aaa;

@actionSelectedTextColor: white;
@actionDisabledColor: #ccc;

@readOnlyListItem: #f5f5f5;

@splitterBackgroundColor: @panelHeaderColor;
@splitterBorderColor: @borderColor;
@splitterHoverColor: @borderColor;
@splitterSize: 8px;

@panelBorderColor: @borderColor;
@buttonColor: @focusColor;

@BB3_StartPageGridGap: 40px;

@componentBackgroundColor: #fffcf7;
@componentBorder: #fffcf7;
@componentBody: @backgroundColor;

@calendarMonthBackgroundDayLevel0BackgroundColor: #ebedf0;
@calendarMonthBackgroundDayLevel0Color: #333;
@calendarMonthBackgroundDayLevel1BackgroundColor: #c6e48b;
@calendarMonthBackgroundDayLevel1Color: #333;
@calendarMonthBackgroundDayLevel2BackgroundColor: #7bc96f;
@calendarMonthBackgroundDayLevel2Color: #333;
@calendarMonthBackgroundDayLevel3BackgroundColor: #239a3b;
@calendarMonthBackgroundDayLevel3Color: white;
@calendarMonthBackgroundDayLevel4BackgroundColor: #196127;
@calendarMonthBackgroundDayLevel4Color: white;

@unknownHistoryItemBackgroundColor: #ffb09c;
@answerHistoryItemBackgroundColor: lightblue;
@connectFailedHistoryItemColor: orange;
@connectedHistoryItemColor: darkgreen;
@disconnectedHistoryItemColor: orange;
@fileHistoryItemBackgroundColor: lightsteelblue;
@listHistoryItemBackgroundColor: #f5f5f5;
@requestHistoryItemBackgroundColor: beige;
@scriptHistoryItemBackgroundColor: #f5f5f5;
@plotterHistoryItemBackgroundColor: #f5f5f5;
@chartHistoryItemBackgroundColor: #f5f5f5;
@sessionHistoryItemSessionStartBackground: linear-gradient(
    rgba(0, 255, 0, 0.1),
    rgba(0, 255, 0, 0)
);
@sessionHistoryItemSessionStopBackground: linear-gradient(
    rgba(255, 0, 0, 0),
    rgba(255, 0, 0, 0.1)
);

@historyItemDateColor: #6c757d;

@debuggerPanelLogItemScpi: blue;

// Five-step shadow/elevation scale — pick by how far off the surface an
// element sits (barely-raised control -> dropdown -> popover -> panel ->
// modal), never by eyeballing a one-off box-shadow.
@shadowElevation1: 0 1px 3px hsla(220, 30%, 10%, 0.16);
@shadowElevation2: 0 4px 6px hsla(220, 30%, 10%, 0.16);
@shadowElevation3: 0 5px 15px hsla(220, 30%, 10%, 0.18);
@shadowElevation4: 0 10px 24px hsla(220, 30%, 10%, 0.18);
@shadowElevation5: 0 15px 35px hsla(220, 30%, 10%, 0.22);

@borderRadiusSmall: 4px;

@componentShadow: @shadowElevation1;
@componentBodyShadow: none;

@panelHeaderColorInsideFlexLayout: var(--bs-tertiary-bg);

@formControlBorderColor: #ced4da;

@pageTimelineRowColor: #e0e0e0;
@pageTimelineSelectedRowColor: #a0a0a0;

@documentationHeadingColor: #0066cc;

@inErrorTextColor: @textColor;
@inErrorBackgroundColor: #ffcccc;

@tipBoxColor: @textColor;
@tipBoxBackgroundColor: #e6f6e6;
@tipBoxBorderColor: #c3e6c3;

@modalDialogDropdownShadow: @shadowElevation5;
