*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    text-decoration: none;
    line-height: 100%;
    font-family: 'Roboto Mono', monospace;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
}
:root{
    /*
    --color-primary: #404040;
    --color-secondary: #bfbfbf;
    --color-tertiary: #d9d9d9;
    */
    --color-primary: #282828;
    --color-secondary: #e8e8e8;
    --color-tertiary: #ffffff;
    --color-primary-highlight: #d00000;
    --color-secondary-highlight: #b80000;
    --color-tertiary-highlight: #9e0000;

    --space: 12px;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../assets/fonts/RobotoMono-VariableFont_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
  src: url('../assets/fonts/RobotoMono-Italic-VariableFont_wght.ttf') format('truetype-variations');
}
html{
    font-size: 12px;
}
h1{
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
}
h2{
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-primary);
}
h3{
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
}
p{
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
}

::selection{
    background: var(--color-primary);
    color: var(--color-tertiary);
}

::-moz-selection{
    background: var(--color-primary);
    color: var(--color-tertiary);
}

img{
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.text-bold{
    font-weight: 700;
}
body{
    width: calc(1366px - (var(--space) * 4 * 2));
    margin: 0 auto;
    background-color: var(--color-secondary);
    color: var(--color-primary);
}
header{
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header div{
    display: flex;
    align-items: center;
    gap: calc(var(--space) * 4);
}
@media (max-width: 1366px) {
    body{
        width: calc(100% - (var(--space) * 4 * 2));
    }
}
.clickable{
    cursor: pointer;
    transition: transform 0.2s ease;
}
.clickable:hover{
    transform: scale(1.02);
}
.clickable:active{
    transform: scale(0.98);
}
.button-light, .button-dark, .button-red{
    width: calc(var(--space) * 20);
    height: calc(var(--space) * 2);
    border-radius: var(--space);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    transition: transform 0.2s ease;
}
.button-light{
    background-color: var(--color-tertiary);
    border: 1px solid var(--color-primary);
}
.button-dark{
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.button-red{
    background-color: var(--color-primary-highlight);
    border: 1px solid var(--color-primary-highlight);
}
.button-dark p, .button-red p{
    color: var(--color-tertiary);
}
.button-light > div, .button-dark > div, .button-red > div{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
}
.button-wide{
    width: calc(var(--space) * 40);
    position: relative;
}
.dropdown-container{
    flex-direction: column;
    left: 0;
    top: calc(var(--space) * 3);
    width: 100%;
    position: absolute;
    border-radius: var(--space);
    padding: calc(var(--space) / 2) 0;

    background: rgb(217 217 217 / 20%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border: 1px solid #ddd;
    max-height: calc(var(--space) * 17);
    overflow-y: auto;
}
.dropdown-section-header{
    padding: calc(var(--space) / 2) var(--space);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary, #888);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
}
.dropdown-item{
    display: flex;
    gap: calc(var(--space) / 2);
    padding: calc(var(--space) / 2) var(--space);
    width: 100%;
    cursor: pointer;
}
#dropdownEvents{
    display: none;
}
section{
    padding: calc(var(--space) * 4);
    border-radius: calc(var(--space) * 4);
    background-color: var(--color-tertiary);
    padding-bottom: calc(var(--space) * 8);
    margin-bottom: calc(var(--space) * 4);
}

@media (prefers-reduced-motion: no-preference) {
    main section.section-reveal {
        transform: scale(0.98);
        opacity: 0.8;
        transform-origin: center top;
        transition: transform 320ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 260ms ease-out;
        will-change: transform, opacity;
    }

    main section.section-reveal.in-view {
        transform: scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    main section {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

.section-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: calc(var(--space) * 2);
}
.section-head > div{
    display: flex;
    align-items: center;
    gap: var(--space);
}
article{
    display: flex;
    justify-content: space-between;
}
footer{
    padding-top: 192px;
    width: 100vw;
    position: absolute;
    left: 0;
    background-image: url('../assets/images/mountainrange-footer.svg');
    background-repeat: no-repeat;
    background-position: -200px 20px;
}
.overlay-container{
    position: fixed;
    bottom: calc(var(--space) * 4);
    left: calc(var(--space) * 4);
    z-index: 120;
    border-radius: 80px;

    background: rgb(217 217 217 / 20%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border: 0.2px solid #ddd;
    overflow: hidden;
    
    width: 160px;
    height: 160px;

    transition: width 0.5s ease, height 0.5s ease, opacity 0.2s ease, transform 0.2s ease;
}
.overlay{
    display: flex;
    flex-direction: column;
    padding: calc(var(--space) * 4);

    gap: calc(var(--space) * 2);

    opacity: 0;

    transition: opacity 0.5s ease;
}
.overlay input{
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-primary);

    font-size: 4rem;
    font-weight: 400;
    color: var(--color-primary);

    width: calc(100% - (var(--space) * 6));
}
.overlay input:focus{
    outline: none;
}
#overlay-deer{
    position: absolute;
    bottom: -200px;
    left: -20px;
    z-index: 100;
}
.overlay .overlay-headline{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.overlay .overlay-headline > div{
    display: flex;
    gap: var(--space);
}
.overlay .overlay-submit{
    display: flex;
    justify-content: flex-end;
    margin-top: calc(var(--space) * 6);
}
.overlay .profile-overlay-body{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
}
.overlay .sem-overlay-body{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
    width: calc(100% - (var(--space) * 6));
}
.overlay .sem-overlay-body > div{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 2);
}
.overlay .break-line{
    word-break: break-all;
    max-height: calc(var(--space) * 8);
    overflow: hidden;
}
.overlay .text-mail{
    font-size: 2rem;
}
#btnLogout{
    width: 100%;
}
@keyframes shake {
  0% { transform: translateX(0); }
  30% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.shake {
  animation: shake 0.3s;
}





.section-allgemein{
    width: 100%;
    background-image: url('../assets/images/mountainrange-general.svg');
    background-repeat: no-repeat;
    background-position: bottom;
}
.section-body-allgemein{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--space) / 2);
}
.section-body-allgemein > div{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
}
.section-eventdetails{
    width: 672px;
}
.section-body-eventdetails{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
}
.section-body-eventdetails > div{
    display: flex;
    flex-direction: column;
}
.section-ressourcen{
    width: 550px;
}
.section-body-ressourcen{
    display: flex;
    gap: calc(var(--space) * 2);
}
.section-body-ressourcen > div{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
}
.section-body-ressourcen .diagram{
    gap: 0;
    margin-right: 160px;
    position: relative;
}
.section-body-ressourcen .diagram-item{
    width: 160px;
    height: 312px;
    border-radius: var(--space);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: var(--space);
    position: absolute;
    bottom: 0;
    left: 0;
}
.section-body-ressourcen .diagram-item img{
    position:relative;
}
.section-body-ressourcen .diagram-users{
    height: 312px;
    padding-bottom: calc(204px + var(--space));
    background-color: var(--color-primary-highlight);
}
.section-body-ressourcen .diagram-lists{
    height:204px;
    padding-bottom: calc(78px + var(--space));
    background-color: var(--color-secondary-highlight);
}
.section-body-ressourcen .diagram-single{
    height:78px;
    background-color: var(--color-tertiary-highlight);
}
.section-benutzerinteraktionen{
    width: 672px;
}
.section-body-benutzerinteraktionen{
    display: flex;
    justify-content: space-between;
}
.section-body-benutzerinteraktionen > div{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
    align-items: center;
    text-align: center;
}
.section-body-benutzerinteraktionen .diagram{
    position: relative;
    width: 160px;
    height: 144px;
}
.section-body-benutzerinteraktionen .beschriftung{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 2);
}
.section-body-benutzerinteraktionen .diagram-outer-circle{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-primary-highlight);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
}
.section-body-benutzerinteraktionen .diagram-inner-circle{
    aspect-ratio: 1 / 0.9;
    width: auto;
    border-radius: 50%;
    background-color: var(--color-tertiary-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    position: absolute;
}
.section-body-benutzerinteraktionen .diagram-inner-circle p{
    color: var(--color-tertiary);
}
.section-body-benutzerinteraktionen .eingabe-pflicht{
    height: 95px;
}.section-body-benutzerinteraktionen .eingabe-ausstehend{
    height: 134px;
}.section-body-benutzerinteraktionen .pflicht-ausstehend{
    height: 46px;
}





.section-footer{
    display: flex;
    justify-content: space-between;
    padding-top: calc(var(--space) * 2);
    padding-bottom: calc(var(--space) * 4);
}





.section-timeline{
    width: 100%;
    padding-bottom: 0;
}
.section-body-timeline{
    width: 100%;
    height: 388px;
    border: 2px dashed var(--color-secondary);
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
}
.section-body-timeline .headline-grid{
    display: grid;
    width: 1968px;
    grid-template-columns: repeat(16, 123px);
    grid-template-rows: repeat(2, 12px);
    gap: 0;
}
.section-body-timeline .headline-grid .text-bold{
    grid-column: span 4;
}
.section-body-timeline .ressource-grid{
    margin-top: var(--space);
    display: grid;
    width: 1968px;
    grid-template-columns: repeat(1968, 1px);
    grid-template-rows: repeat(10, calc(var(--space) * 2));
    row-gap: var(--space);
    overflow: visible;
}
.section-body-timeline .timeline-ressource{
    background-color: var(--color-primary);
    border-radius: var(--space);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--space);
}
.section-body-timeline .line{
    grid-row: 1 / -1;
    border-left: 2px dashed var(--color-secondary);
}
#line-1{
    grid-column: 492 / 492;
}
#line-2{
    grid-column: 984 / 984;
}
#line-3{
    grid-column: 1476 / 1476;
}
#line-4{
    grid-column: 1968 / 1968;
}
#ressource-1{
    grid-column: 123 / 246;
    grid-row: 1 / 1;
}
#ressource-2{
    grid-column: 492 / 615;
    grid-row: 2 / 2;
}
#ressource-3{
    grid-column: 615 / 861;
    grid-row: 3 / 3;
}
#ressource-4{
    grid-column: 1230 / 1353;
    grid-row: 4 / 4;
}
.section-body-timeline .ressource-list{
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space);
    width: 190px;
    height: 100%;
    background-color: var(--color-tertiary);
    border-left: 2px dashed var(--color-secondary);
}





.ressource{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(var(--space) * 20);
    height: calc(var(--space) * 2);
    border: 1px solid var(--color-primary);
    padding: 0 var(--space);
    border-radius: var(--space);
}
.ressource-dark, .ressource-dark p{
    background-color: var(--color-primary);
    color: var(--color-tertiary);
}





.section-event{
    width: 100%;
    padding-bottom: 0;

    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;

    /*
    position: fixed;
    border-radius: 0;
    padding: calc(var(--space) * 2);
    */
}
.section-event-teilnehmen{
    padding-bottom: calc(var(--space) * 8);
}
/*
.expanded-container{
    width: calc(1366px - (var(--space) * 4 * 2));
    margin: 0 auto;
}
*/
.section-body-event{
    position: relative;
    width: 100%;
    height: 388px;
    border: 2px dashed var(--color-secondary);
    overflow-x: hidden;
    overflow-y: auto;
}
.section-body-event-extended{
    display: none;
    height: 258px;
    border: 2px dashed var(--color-secondary);
    border-top: none;
}
.event-extended-ressource, .event-extended-attribute{
    width: 50%;
    padding: var(--space);
}
.event-extended-attribute{
    border-left: 2px dashed var(--color-secondary);
}
.event-extended-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(var(--space) * 40);
}
.cancel-link{
    font-size: 0.9rem;
    opacity: 0.5;
}
.cancel-link:hover{
    opacity: 1;
}
.ressource-form{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 2);
    margin-top: calc(var(--space));
}
.ressource-input-wrapper{
    width: calc(var(--space) * 40);
    height: calc(var(--space) * 2);
    border-radius: var(--space);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    gap: calc(var(--space) / 2);
    cursor: text;
}
.ressource-input-wrapper.is-disabled-20{
    opacity: 0.2;
    pointer-events: none;
}
.ressource-input-wrapper.is-disabled-20 input,
.ressource-input-wrapper.is-disabled-20 p,
.ressource-input-wrapper.is-disabled-20 img{
    pointer-events: none;
}
.ressource-input-wrapper p{
    flex: 1;
    text-align: left;
}
label.ressource-input-wrapper{
    cursor: text;
}
.ressource-input-wrapper input{
    background: none;
    border: none;
    font-size: 1rem;
    font-family: 'Roboto Mono', monospace;
    color: var(--color-primary);
    outline: none;
    flex: 1;
    height: 100%;
    cursor: text;
}
.ressource-input-wrapper input::placeholder{
    color: var(--color-primary);
    opacity: 0.5;
}
.ressource-dropdown-wrapper{
    position: relative;
    cursor: pointer;
}
.ressource-dropdown-wrapper img[src$=".png"]{
    width: 11px;
    height: 8px;
}
.ressource-dropdown-wrapper .dropdown-container{
    z-index: 20;
}
.personen-sync-btn{
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.personen-sync-btn:hover{
    opacity: 1;
    transform: scale(1.08);
}
#personenDropdown{
    display: none;
    z-index: 10;
}
#attributDropdown{
    display: none;
    z-index: 10;
}
.attribut-fields .dropdown-container{
    display: none;
}
.attribut-fields{
    display: none;
    flex-direction: column;
    gap: calc(var(--space) / 2);
    position: relative;
    z-index: 5;
}
.eingabe-row{
    display: flex;
    gap: calc(var(--space) / 2);
}
.eingabe-half{
    width: calc((var(--space) * 40 - var(--space) / 2) / 2) !important;
    cursor: pointer !important;
}
.hidden-date-input{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}
.selected-groups{
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--space) / 2);
    width: calc(var(--space) * 40);
}
.ressource-action-row{
    display: flex;
    gap: calc(var(--space) / 2);
    width: calc(var(--space) * 40);
}
.ressource-action-row .button-dark,
.ressource-action-row .button-red{
    flex: 1;
}
.group-tag{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
    background-color: var(--color-tertiary);
    border: 1px solid var(--color-primary);
    border-radius: var(--space);
    padding: 2px calc(var(--space));
    width: fit-content;
    cursor: default;
    height: calc(var(--space)*2);
}
.group-tag p{
    font-size: 1rem;
    white-space: nowrap;
}
.group-tag img{
    cursor: pointer;
}
.section-body-event .headline-grid{
    display: grid;
    grid-template-columns: repeat(var(--tree-cols, 7), 246px);
    grid-template-rows: repeat(2, 12px);
    gap: 0;
}
#attribute-headline{
    grid-column: 2 / -1;
}
.section-body-event .ressource-grid{
    margin-top: var(--space);
    display: flex;
    flex-direction: column;
    gap: var(--space);
    overflow: visible;
    flex-shrink: 0;
}
.section-body-event.tree-empty-mode .headline-grid,
.section-body-event.tree-empty-mode .ressource-grid{
    opacity: 0.2;
}
.tree-empty-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--space) * 2);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 5;
}
.tree-empty-overlay p{
    text-align: center;
    opacity: 1;
}
.tree-resource-block{
    display: flex;
    flex-direction: column;
    width: max-content;
    min-width: 100%;
}
.tree-resource-header-row{
    display: grid;
    grid-auto-rows: calc(var(--space) * 2);
    column-gap: 0;
    width: max-content;
}
.tree-entries-container{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 2);
    margin-top: calc(var(--space) / 2);
    max-height: calc(var(--space) * 2 * 5.5 + var(--space) / 2 * 5);
    overflow-y: auto;
    width: max-content;
    min-width: 100%;
}
.section-body-event.expanded .tree-entries-container{
    max-height: calc(var(--space) * 2 * 5.5 + var(--space) / 2 * 5);
}
.tree-entry-row{
    display: grid;
    grid-auto-rows: calc(var(--space) * 2);
    column-gap: 0;
    width: max-content;
}
#r-student{
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
#r-name{
    grid-column: 2 / 2;
    grid-row: 1 / 1;
}
#r-mail{
    grid-column: 2 / 2;
    grid-row: 2 / 2;
}
#r-reason{
    grid-column: 2 / 2;
    grid-row: 4 / 4;
}
#btnCreateAttribut{
    margin-top: calc(var(--space) / 2);
}
.section-body-event .line{
    border-top: 2px dashed var(--color-secondary);
    align-self: center;
}

/* Tree View */
.tree-resource-name{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    border-radius: var(--space);
    height: calc(var(--space) * 2);
    gap: calc(var(--space) / 2);
    cursor: default;
}
.tree-resource-name p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tree-resource-name img{
    width: 14px;
    height: 14px;
    opacity: 0.7;
}
.tree-add-entry{
    cursor: pointer;
    pointer-events: auto;
}
.tree-add-entry:hover{
    opacity: 1 !important;
}
.tree-cardinality-row{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
    margin-top: calc(var(--space) / 2);
}
.tree-card-count{
    font-size: 0.8rem;
    font-family: 'Roboto Mono', monospace;
    opacity: 0.6;
    white-space: nowrap;
}
.tree-card-count-full{
    color: var(--color-primary-highlight);
    opacity: 1;
    font-weight: 700;
}

/* Update-Maske cardinality */
.ressource-cardinality-section{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 2);
}
.ressource-cardinality-label{
    font-size: 0.85rem;
    font-weight: 600;
}
.ressource-cardinality-inputs{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
    width: calc(var(--space) * 40);
}
.ressource-card-input{
    flex: 1;
    min-width: 0;
}
.ressource-card-input p{
    white-space: nowrap;
    opacity: 0.5;
    font-size: 0.85rem;
}
.ressource-card-input input[type="number"]{
    -moz-appearance: textfield;
    appearance: textfield;
    width: 40px;
}
.ressource-card-input input[type="number"]::-webkit-outer-spin-button,
.ressource-card-input input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}
.ressource-card-sep{
    font-weight: 700;
    font-size: 1rem;
}
.tree-entry-spacer{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--space);
    height: calc(var(--space) * 2);
}
.tree-entry-delete{
    width: 12px;
    height: 12px;
    opacity: 0.5;
    cursor: pointer;
}
.tree-entry-delete:hover{
    opacity: 1;
}
.tree-attr-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    border-radius: var(--space);
    height: calc(var(--space) * 2);
    gap: calc(var(--space) / 2);
    cursor: default;
}
.tree-attr-header p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.tree-attr-header img{
    width: 10px;
    opacity: 0.5;
}
.tree-cell{
    display: flex;
    align-items: center;
    padding: 0 var(--space);
    height: calc(var(--space) * 2);
    gap: calc(var(--space) / 2);
}
.tree-cell p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
}
.tree-cell img{
    width: 10px;
    opacity: 0.4;
    cursor: pointer;
}
.tree-cell .tree-cell-icon{
    flex: 0 0 auto;
    width: 10px;
    min-width: 10px;
    display: block;
}
.tree-cell img:hover{
    opacity: 0.8;
}
.tree-cell-editable{
    cursor: default;
}
.tree-cell-dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-tertiary);
    border: 1px solid var(--color-secondary);
    border-radius: calc(var(--space) / 2);
    z-index: 30;
    max-height: 150px;
    overflow-y: auto;
}
.tree-cell-dropdown-item{
    padding: 4px var(--space);
    cursor: pointer;
    font-size: 0.9rem;
}
.tree-cell-dropdown-item:hover{
    background: var(--color-secondary);
}
.tree-cell-input{
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    padding: 0;
}
select.tree-cell-input{
    cursor: pointer;
    width: 100%;
}

#tv-line-1{
    grid-column: 2 / 2;
    grid-row: 3 / 3;
}
.section-interaction-tree{
    width: 550px;
    padding-bottom: 0;
}
.section-interaction-tree .interaction-tree-head-1{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.section-interaction-tree .interaction-tree-head-2{
    align-self: flex-start;
}
.section-interaction-tree .section-body-interaction-tree{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 372px;
}
#interactionTreeImg{
    width: auto;
    height: 144px;
    transform: translateY(2px);
}
.welcome-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100vh;
    padding-top: calc(var(--space) * 8);
    padding-bottom: calc(var(--space) * 4);
}
.welcome-head-container{
    width: 100%;
}
.copyright{
    padding-bottom: calc(var(--space) / 2);
    border-bottom: 1px solid var(--color-primary);
}
.welcome-main-container{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) * 4);
}
.welcome-main-container h2, .welcome-main-container p{
    text-align: right;
}
.welcome-main-container p{
    width: 250px;
    align-self: flex-end;
}
.welcome-footer-container{
    display: flex;
    justify-content: space-between;
    gap: calc(var(--space) * 2);
    margin-bottom: calc(var(--space) * 2);
    width: 100%;
}
.welcome-footer-container > div{
    display: flex;
    align-items: center;
    gap: calc(var(--space) * 4);
}
#overlayWelcome{
    position: static;
    cursor: default;
}
#btnStartApp{
    animation: go 3s infinite;
}
#message-box{
    position: fixed;
    width: 672px;

    bottom: calc(var(--space) * 4);
    right: calc(var(--space) * 4);

    border-radius: calc(var(--space) * 2);
    padding: calc(var(--space) * 2);

    background: rgb(217 217 217 / 20%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    display: flex;
    align-items: center;
    gap: var(--space);

    opacity: 0;
    pointer-events: none;

    z-index: 50;
}
@keyframes messageBoxShow {
  0% { transform: translateY(100%); opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  90% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes go {
  0% { transform: translateX(0); }
  60% { transform: translateX(0); }
  70% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

/* Person Selector Panel (tree view) */
.person-selector-panel{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 2);
    padding: var(--space);
    background: var(--color-background);
    border: 1px solid var(--color-secondary);
    border-radius: var(--space);
    margin-top: calc(var(--space) / 2);
    max-width: 500px;
}
.person-selector-filter-row{
    display: flex;
    gap: calc(var(--space) / 2);
}
.person-selector-class-select,
.person-selector-name-input{
    flex: 1;
    padding: calc(var(--space) / 2) var(--space);
    border: 1px solid var(--color-secondary);
    border-radius: var(--space);
    font-family: inherit;
    font-size: 0.85rem;
    background: var(--color-background);
    color: var(--color-primary);
    outline: none;
}
.person-selector-class-select:focus,
.person-selector-name-input:focus{
    border-color: var(--color-primary);
}
.person-selector-user-list{
    display: flex;
    flex-direction: column;
    gap: calc(var(--space) / 4);
    max-height: 200px;
    overflow-y: auto;
}
.person-selector-user-row{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
    padding: calc(var(--space) / 4) calc(var(--space) / 2);
    border-radius: calc(var(--space) / 2);
    cursor: pointer;
}
.person-selector-user-row:hover{
    background-color: var(--color-secondary);
}
.person-selector-user-info{
    display: flex;
    align-items: center;
    gap: calc(var(--space) / 2);
}
.person-selector-user-info p{
    font-size: 0.85rem;
}
.person-selector-user-info span{
    font-size: 0.75rem;
    opacity: 0.5;
}
.person-selector-empty{
    opacity: 0.5;
    font-style: italic;
    font-size: 0.85rem;
}
.person-selector-action-row{
    display: flex;
    gap: calc(var(--space) / 2);
    margin-top: calc(var(--space) / 2);
}
.person-selector-btn{
    flex: 1;
}
.section-placeholder{
    width: 550px;
    filter: brightness(10);
}