/***********************************************************************************************************************
    Variables
***********************************************************************************************************************/

:root {
    --color-primary-50: #E4E4F6;
    --color-primary-100: #CDCEEF;
    --color-primary-200: #9B9CDE;
    --color-primary-300: #696BCE;
    --color-primary-400: #3B3DB5;
    --color-primary-500: #2B2C84;
    --color-primary-600: #222368;
    --color-primary-700: #1A1B51;
    --color-primary-800: #121236;
    --color-primary-900: #09091B;
    --color-primary-950: #04040C;

    --color-secondary-50: #f8fdea;
    --color-secondary-100: #eef9ca;
    --color-secondary-200: #e4f6a7;
    --color-secondary-300: #d9f285;
    --color-secondary-400: #d1ee6b;
    --color-secondary-500: #caea52;
    --color-secondary-600: #bed84b;
    --color-secondary-700: #aec142;
    --color-secondary-800: #9ea939;
    --color-secondary-900: #84832b;

    --color-tertiary-50: #f6eaed;
    --color-tertiary-100: #ebc9d0;
    --color-tertiary-200: #d0959a;
    --color-tertiary-300: #bc6f75;
    --color-tertiary-400: #c15258;
    --color-tertiary-500: #c34345;
    --color-tertiary-600: #b43c42;
    --color-tertiary-700: #a3353b;
    --color-tertiary-800: #953035;
    --color-tertiary-900: #842b2c;

    --color-neutral-50: #f7fafc;
    --color-neutral-100: #edf2f7;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e0;
    --color-neutral-400: #a0aec0;
    --color-neutral-500: #718096;
    --color-neutral-600: #4a5568;
    --color-neutral-700: #2d3748;
    --color-neutral-800: #1a202c;
    --color-neutral-900: #171923;

    /* scale for 1.2 */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.1875rem;
    --font-size-xl: 1.375rem;

    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --padding-xs: 0.125rem 0.25rem;
    --padding-sm: 0.25rem 0.5rem;
    --padding-md: 0.5rem 0.75rem;
    --padding-lg: 0.75rem;
    --padding-lg-y: 0.75rem 0;
    --padding-xl: 1rem 1.25rem;

    --margin-sm: 0.25rem 0.5rem;
    --margin-md: 0.5rem 0.75rem;
    --margin-lg: 0.75rem 1rem;
    --margin-xl: 1rem 1.25rem;

    --border-none: 0;

    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-md-left: 0.375rem 0 0 0.375rem;
    --radius-md-right: 0 0.375rem 0.375rem 0;
    --radius-lg: 0.5rem;

}

@media screen and (min-width: 800px) {
    :root {

    }
}

/***********************************************************************************************************************
    Reset
***********************************************************************************************************************/

*, *::before, *::after {
    margin: 0;
    box-sizing: border-box;
}

* {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html {
    font-size: 16px;
    color: var(--color-neutral-600);
}

body {
    background-color: white;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/***********************************************************************************************************************
    Text
***********************************************************************************************************************/

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
}

h1 {
    font-size: var(--font-size-lg);
}
h2 {
    font-size: var(--font-size-lg);
}
h3 {
    font-size: var(--font-size-lg);
}
h4 {
    font-size: var(--font-size-lg);
}
h5 {
    font-size: var(--font-size-md);
}
h6 {
    font-size: var(--font-size-md);
}

p, div, th, td {
    font-size: var(--font-size-md);
}

@media screen and (max-width: 768px) {
    p, h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1rem;
    }
}

/***********************************************************************************************************************
    Links
***********************************************************************************************************************/

a {
    color: var(--color-primary-500);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-600);
    text-decoration: underline;
}

a.icon {
    text-decoration: none;
}

/***********************************************************************************************************************
    Generic classes
***********************************************************************************************************************/

.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}

.text-sm {
    font-size: var(--font-size-sm);
}

/***********************************************************************************************************************
    Icons
***********************************************************************************************************************/

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('/static/font/material-symbols-outlined.woff') format('woff');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/***********************************************************************************************************************
    Buttons
***********************************************************************************************************************/

button {
    padding: var(--padding-md);
    border: var(--border-none);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);

    color: var(--color-neutral-50);
    background-color: var(--color-primary-500);
}

button:hover {
    cursor: pointer;

    color: var(--color-neutral-50);
    background-color: var(--color-primary-600);
}

button.secondary {
    color: var(--color-neutral-50);
    background-color: var(--color-secondary-500);
}

button.secondary:hover {
    background-color: var(--color-secondary-600);
}


/***********************************************************************************************************************
    Tables
***********************************************************************************************************************/

table {
    border-spacing: 0;
    width: 100%;
}

tr:hover td {
    background-color: var(--color-neutral-50);
    /* cursor: pointer;*/
}

tr:hover a {
    /*color: var(--color-neutral-50);*/
}

tr:hover td:first-child {
    border-radius: var(--radius-md-left);
}

tr:hover td:last-child {
    border-radius: var(--radius-md-right);
}

td, td span {
    font-size: var(--font-size-sm);
}

td {
    padding: var(--padding-md);
    white-space: nowrap;
}

th {
    background-color: var(--color-neutral-50);
    padding: var(--padding-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-align: left;
    white-space: nowrap;
}

th:first-child {
    border-radius: var(--radius-md-left);
}
th:last-child {
    border-radius: var(--radius-md-right);
}

td .overflow {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media screen and (max-width: 768px) {

    /* Force table to not be like tables anymore */
    .responsive table,
    .responsive thead,
    .responsive tbody,
    .responsive th,
    .responsive td,
    .responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /*.responsive tr { border: 1px inset #ccc; }*/

    .responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }

    .responsive td:last-child {
        border-bottom: 1px solid #ccc;
    }

    .responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    td .overflow {
        display: inline;
        max-width: 100%;
    }

    /*
    Label the data
    */
    .responsive td:before { content: attr(data-title); }
}


/***********************************************************************************************************************
    Panel
***********************************************************************************************************************/

div.panel {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 1300px;
    box-shadow: rgba(3, 3, 3, 0.1) 0 1px 2px 1px;
}

#parameters.panel {
    padding: 0.75rem 1.25rem;
}

div.panel > div {
    overflow: auto;
}

div.panel h2 {
    font-size: var(--font-size-lg);
}

@media screen and (max-width: 1024px) {
    div.panel {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/***********************************************************************************************************************
    Data list
***********************************************************************************************************************/

dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
}


dt {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    padding: var(--padding-md);

    grid-column: 1;
    border-bottom: 1px solid var(--color-neutral-100);
    line-height: 26px;
}

dd {
    font-size: var(--font-size-sm);
    padding: var(--padding-md);

    grid-column: 2;
    border-bottom: 1px solid var(--color-neutral-100);
    line-height: 26px;
}

dl dt:nth-last-child(2), dl dd:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@media screen and (max-width: 800px) {
    dl {
        display: grid;
        grid-template-columns: 1fr;
    }
    dt {
        grid-column: 1;
        font-size: var(--font-size-xs);
        border: 0;
        padding-bottom: 0;
    }
    dd {
        grid-column: 1;
    }
}

/***********************************************************************************************************************

***********************************************************************************************************************/

.primary {
    color: var(--color-primary-500);
}