.insight-container {
    /*
    display: grid;
    grid-template-columns: 200px auto;
    gap: 0px;
    */

    /*
    width: 100vw;
    height: 100vh;
    */
    overflow: hidden;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 350px calc(100vw - 350px);
    grid-template-rows: fit-content(40%) auto;
    grid-template-areas: 
      "settings pivot"
      "settings table"
    ;
}

.settings {
    grid-area: settings;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    scrollbar-width: thin;
}

.pivot {
    grid-area: pivot;
    overflow: auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    scrollbar-width: thin;
}

.table {
    overflow: auto;
    grid-area: table;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    scrollbar-width: thin;
}

input, select {
    border-radius: 4px;
    border: 1px solid grey;
    padding: 0.1rem;
    margin: 0.2rem;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: var(--element-color, "red");
    color: var(--text-color);
    transition: border-color 0.25s;
  }

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

table.pivot {
    border-collapse: collapse;
}

table.pivot > tbody > tr > th {
    min-width: 25px;
    border: 1px solid #e1e1e1;
    vertical-align: top;
    text-align: center;
    background-color: #f5f5f5;
}

table.pivot > tbody > tr > td {
    border: 1px solid #f1f1f1;
    text-align: center;
    cursor: pointer;
}

table.pivot > tbody > tr > td:hover {
    background-color: #f1f1f1;
}

table.pivot > tbody > tr > th.head {
    min-width: 90px;
    border: 1px solid #e1e1e1;
}

table.pivot > tfoot > tr > th {
    border: 1px solid #e1e1e1;
    background-color: #f5f5f5;
}

table.list {
    border-collapse: collapse;
}

table.list > thead > tr > th {
    border: 1px solid #e1e1e1;
    vertical-align: top;
    text-align: center;
    background-color: #f5f5f5;
}

table.list > tbody > tr > td {
    padding: 4px 8px;
    border: 1px solid #f1f1f1;
    text-align: center;
    cursor: pointer;
}

table.list > tbody > tr:hover {
    background-color: #f1f1f1;
}

