.window-app .window-content {
    background: var(--primary-bg-color);
    --primary-bg-color: #f6db00;
    --font-color: #293440;
    --primary-color: #293440;
    color: var(--font-color);
    --font-family-text: arial, sans-serif;
    font-family: var(--font-family-text);
}

.dialog-content .panel_dialog_roll .panelheader {
    background: transparent;
    color: var(--font-color);
    margin: 1rem 0;
    text-shadow: none;
}

.dialog-content .centercontent:has(.rdialogInput) {
    margin-bottom: 2rem;
}

.sandbox.sheet.actor {
    box-sizing: border-box;
}

.sandbox.sheet.actor *, .sandbox.sheet.actor *:before, .sandbox.sheet.actor *:after {
    box-sizing: inherit;
}

.sandbox.sheet.actor .multi-1-3-col .multi-1-3 {
    width: calc(200px - 1rem);
}

.sandbox.sheet.actor .entityname {
    border: none;
    border-radius: 0;
    color: var(--font-color);
    font-family: var(--font-family-text);
    font-size: 2.5rem;
    margin: 0;
    padding: 0;
}

.sandbox.sheet.actor .profile-img {
    margin: 1rem;
    max-height: 120px;
    max-width: 120px;
    object-fit: contain;
}

.sandbox.sheet.actor h1, .sandbox.sheet.actor h2, .sandbox.sheet.actor h3, .sandbox.sheet.actor h4, .sandbox.sheet.actor h5, .sandbox.sheet.actor h6 {
    color: var(--primary-color);
    font-family: var(--font-family-text);
}

.sandbox.sheet.actor .panelheader {
    background: none;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-family-text);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1rem 0 0.25rem;
    max-width: 100%;
    padding: 0;
    text-align: left;
    text-shadow: none;
}

.sandbox.sheet.actor .panel_resistenzen .panel_resistenzen_row {
    align-items: center;
    column-gap: 0.5rem;
    display: grid;
    grid-template-columns: 0.75rem 4rem 1.5rem 1rem 2rem;
}

.sandbox.sheet.actor .panel_resistenzen .panel_resistenzen_row h3 {
    color: var(--font-color);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    padding: 0;
}

.sandbox.sheet.actor .panel_resistenzen .panel_resistenzen_row h3.smalltext {
    font-size: 0.7rem;
}

.sandbox.sheet.actor .panel_resistenzen .panel_resistenzen_row input[type=text] {
    background: rgba(0, 0, 0, 0.1);
    font-size: 1.3rem;
    height: auto;
    margin: 0;
    min-width: 1rem;
    padding: 0;
    width: 1.5rem;
}

.sandbox.sheet.actor .panel_resistenzen .input-disabled, .sandbox.sheet.actor .panel_resistenzen input {
    background: none;
    border: none;
    border-radius: 0;
    color: var(--font-color);
    font-family: var(--font-family-text);
    font-weight: 400;
}

.sandbox.sheet.actor table, .sandbox.sheet.actor thead, .sandbox.sheet.actor thead tr, .sandbox.sheet.actor thead td {
    background: transparent;
}

.sandbox.sheet.actor thead {
    color: var(--font-color);
}

.sandbox.sheet.actor thead th {
    font-weight: 400;
    padding: 0;
    text-align: left;
    text-shadow: none;
}

.sandbox.sheet.actor thead tr {
    border-bottom: 1px solid var(--font-color);
    height: auto;
}

.sandbox.sheet.actor .table-free {
    background: none;
}

.sandbox.sheet.actor .table-free thead {
    border: none;
}

.sandbox.sheet.actor .table-free .pluscell {
    text-align: left;
}

.sandbox.sheet.actor .table-free .ci-delete {
    width: 16px;
}

.sandbox.sheet.actor .table-free tr {
    background: none;
    border: none;
}

.sandbox.sheet.actor .table-free td {
    background: none;
    font-family: var(--font-family-text);
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
}

.sandbox.sheet.actor .table-free input[type=text] {
    background: rgba(0, 0, 0, 0.1);
    color: var(--font-color);
    font-size: 1rem;
    margin: 0 0 0.25rem;
    padding: 0 0.5rem;
}

.sandbox.sheet.actor .table-free td.prob_vorteil_name, .sandbox.sheet.actor .table-free td.prob_nachteil_name {
    width: auto;
}

.sandbox.sheet.actor .table-free input.prob_vorteil_name, .sandbox.sheet.actor .table-free input.prob_nachteil_name, .sandbox.sheet.actor .table-free input.prob_talent_name, .sandbox.sheet.actor .table-free input.prob_kraefte_name, .sandbox.sheet.actor .table-free input.prob_kraefte_adds,
.sandbox.sheet.actor .table-free input.prob_ausruestung_name {
    text-align: left;
    width: 100%;
}

.sandbox.sheet.actor .table-free td.prob_vorteile_wert, .sandbox.sheet.actor .table-free td.prob_nachteile_wert, .sandbox.sheet.actor .table-free td.prob_talente_wuerfel, .sandbox.sheet.actor .table-free td.prob_kraefte_wuerfel,
.sandbox.sheet.actor .table-free input.prob_vorteile_wert, .sandbox.sheet.actor .table-free input.prob_nachteile_wert, .sandbox.sheet.actor .table-free input.prob_talente_wuerfel, .sandbox.sheet.actor .table-free input.prob_kraefte_wuerfel {
    margin-left: 0.25rem;
    width: 2.5rem;
}

.sandbox.sheet.actor .table-free input.prob_talente_wuerfel {
    margin-right: 0.25rem;
}

.sandbox.sheet.actor .table-free input.prob_kraefte_adds {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.sandbox.sheet.actor .table-free .prob_vorteile_notizen, .sandbox.sheet.actor .table-free .prob_nachteile_notes, .sandbox.sheet.actor .table-free .prob_kraefte_notes, .sandbox.sheet.actor .table-free .prob_ausruestung_note {
    width: 2rem;
}

.sandbox.sheet.actor .table-free th[attkey=prob_talent_name], .sandbox.sheet.actor .table-free th[attkey=prob_kraefte_name], .sandbox.sheet.actor .table-free th[attkey=prob_ausruestung_name] {
    padding: 0 0 0 0.5rem;
}

.sandbox.sheet.actor .table-free th[attkey=prob_kraefte_adds] {
    padding: 0 0 0 0.75rem;
}

.sandbox.sheet.actor .table-free th[attkey=prob_talente_wuerfel], .sandbox.sheet.actor .table-free th[attkey=prob_kraefte_wuerfel] {
    text-align: center;
}

.sandbox.sheet.actor input.table-free.prob_kraefte_adds {
    font-size: 0.7rem;
}

.sandbox.sheet.actor .panel_kompetenz_row {
    justify-content: space-around;
}

.sandbox.sheet.actor .panel_kompetenz_row input[type=text] {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0;
    color: var(--font-color);
    font-family: var(--font-family-text);
    font-size: 1rem;
    margin: 0 0 0.25rem;
    padding: 0 0.5rem;
}

.sandbox.sheet.actor .panel_kompetenz_row .badge-block {
    text-align: left;
}

.sandbox.sheet.actor .panel_kompetenz_row .badge-container {
    text-align: center;
}

.sandbox.sheet.actor .panel_kompetenz_row .badge-click {
    color: #333;
    font-family: var(--font-family-text);
    font-size: 1.3rem;
    font-style: normal;
    font-weight: normal;
}

.sandbox.sheet.actor .panel_kompetenz_row .badge-image {
    line-height: 36px;
}

.sandbox.sheet.actor .panel_kompetenz_row .badgelabel {
    display: inline-block;
    font-family: var(--font-family-text);
    margin: 0 0 0.5rem;
}

#chat {
    --primary-bg-color: #f6db00;
    --font-color: #293440;
    --primary-color: #293440;
    --font-family-text: arial, sans-serif;
}

#chat .chat-message.message {
    background: var(--primary-bg-color);
    color: var(--font-color);
    font-family: var(--font-family-text);
}

#chat .roll-detail {
    display: block !important;
    height: auto;
    max-height: 100%;
}

#chat .roll-area {
    height: auto;
    max-height: 100%;
}

#chat .formula-row, #chat .modifier-row, #chat li[data-rollname=parsePool], #chat .roll-wbutton {
    display: none;
}

#chat .roll-flavor {
    text-align: right;
}
