:root {
    --font-size: 16px;
    --inp-font-size: 14px;
    --font-family: "Inter", sans-serif;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
}

div.inactive {
    opacity: 0.5;
}

div.plot_data {
    position: relative;
}

div.plot_data div.plot_title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

div.plot_data div.plot_config {
    display: flex;
    flex-flow: row nowrap;
    justify-content: left;
    gap: 5px 10px;
    margin: 5px 0;
}
div.plot_data div.plot_config div.plot_visual {
    display: flex; 
    flex-flow: row nowrap; 
    gap: 0 10px;
}
div.plot_data div.plot_config div.plot_visual > div:nth-of-type(n+2) {
    background-color: #e8e8e8;
    border-radius: 5px;
    padding: 0 5px;
}
div.plot_config_radio {
    display: flex; 
    flex-flow: row nowrap;
    gap: 0 5px;
}
div.plot_visual input[type='radio'] {
    margin: 0 2px;
}

div.plot_data div.plot_rewind {
    background-color: gray;
    color: white;
    padding: 0 10px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}
div.plot_graph {
    position: relative;
}
div.plot_graph_error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
div.plot_legend {
    display: grid;
    grid-auto-flow: column;
    gap: 1px 20px;
    justify-content: space-evenly;
    font-size: 13px;
    --marker-margin: 2px 4px;
}
div.plot_legend .legend_hidden {
    opacity: 0.5;
}
div.plot_legend div.legend_group_title {
    font-weight: bold;
    white-space: nowrap;
}
div.plot_legend div.legend_group_title input[type='checkbox']{
    margin: var(--marker-margin);
}
div.plot_legend div.legend_item {
    display: flex;
    flex-flow: row nowrap;
    align-items: end;
    cursor: pointer;
    overflow: hidden;
}
div.plot_legend div.legend_item > div{
    white-space: nowrap;
}
div.plot_legend div.legend_item_color {
    min-width: 11px;
    min-height: 11px;
    border: 1px solid black;
    border-radius: 2px;
    margin: var(--marker-margin);
}