.hide { display: none !important; }

/* Generic stats display (isGenericDisplay surveys) */
.generic-question-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.range-question > .generic-question-text {
    max-width: 50%;
}

.generic-question-nr {
    font-weight: bold;
    margin-right: 0.25rem;
}

.freetext-question > .generic-question-text {
    width: 100%;
    max-width: unset;
}

.freetext-question > ul {
    padding-left: 4rem;
}

.sc-question,
.mc-question,
.freetext-question {
    flex-wrap: wrap;
    margin-bottom: 2rem !important;
}

.sc-question .generic-options-panel,
.mc-question .generic-options-panel {
    padding-left: 4rem;
}

.generic-display-container .badge.bg-primary {
    background-color: var(--rcc-color-bg-alt-1-light) !important;
    font-size: var(--rcc-font-size-smaller) !important;
    font-weight: normal;
    color: black;
}

/* mobile first: full width, then constrain at larger breakpoints */
.generic-options-panel {
    flex: 0 0 100%;
}

@media (min-width: 992px) {
    .generic-options-panel {
        flex: 0 0 72%;
    }
}

@media (min-width: 1200px) {
    .generic-options-panel {
        flex: 0 0 66%;
    }
}

.generic-option-row {
    display: grid;
    grid-template-columns: 1fr 3rem 80px;
    gap: 2rem;
    align-items: center;
    margin-bottom: 0.2rem;
}

/* Text answers (SC: per entry, MC: per option) */
.generic-text-answer {
    border-left: 2px solid #dee2e6;
    padding-left: 0.5rem;
    margin-bottom: 0.15rem;
}

.generic-opt-texts {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
    padding-left: 0.5rem;
    border-left: 2px solid #dee2e6;
}

.datasource-toggle .btn.active {
    background-color: var(--rcc-color-bg-action-hover);
    border-color: var(--rcc-color-bg-action-hover);
    color: #fff;
}

.generic-option-pct {
    text-align: right;
}

.generic-option-bar-track {
    height: 10px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.generic-option-bar-fill {
    height: 100%;
    background-color: var(--rcc-color-fg-alt-2);
    border-radius: 3px;
}

table.questions-kolb,
table.questions-maslach,
table.questions-boundary,
table.questions-interview,
table.questions-interview-resilience,
table.questions-personal-resilience,
table.questions-workplace-resilience,
table.questions-psysecteam,
table.questions-oxhap,
table.questions-resilience-hhc
{
  margin-top: 30px;
  margin-bottom: 40px;
}

.introduction-kolb,
.introduction-maslach,
.introduction-boundary,
.introduction-interview,
.introduction-resilience-interview,
.introduction-resilience-hhc,
.introduction-personal-resilience,
.introduction-workplace-resilience,
.introduction-voice-assistance,
.introduction-voice-assistance-closing,
.introduction-psysecteam,
.introduction-oxhap
{
  margin-top: 30px;
  margin-bottom: 40px;
}

table.questions-maslach td:nth-child(1),
table.questions-maslach th:nth-child(1),
table.questions-boundary td:nth-child(1),
table.questions-boundary th:nth-child(1),
table.questions-interview th:nth-child(1),
table.questions-interview td:nth-child(1),
table.questions-resilience-hhc th:nth-child(1),
table.questions-resilience-hhc td:nth-child(1),
table.questions-personal-resilience td:nth-child(1),
table.questions-personal-resilience th:nth-child(1),
table.questions-workplace-resilience td:nth-child(1),
table.questions-workplace-resilience th:nth-child(1),
table.questions-psysecteam th:nth-child(1),
table.questions-oxhap td:nth-child(1),
table.questions-oxhap th:nth-child(1)
{
	min-width: 35px;
}

table.questions-maslach td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-maslach th:not(:nth-child(1)),
table.questions-interview td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-interview th:not(:nth-child(1)),
table.questions-personal-resilience td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-personal-resilience th:not(:nth-child(1)),
table.questions-workplace-resilience td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-workplace-resilience th:not(:nth-child(1)),
table.questions-psysecteam td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-psysecteam th:not(:nth-child(1)),
table.questions-oxhap td:not(:nth-child(1)):not(:nth-child(2)),
table.questions-oxhap th:not(:nth-child(1))
{
    width: 22px;
    text-align: center;
}

table.questions-boundary th,
table.questions-interview th,
table.questions-interview-resilience th,
table.questions-resilience-hhc th,
table.questions-psysecteam th
{
    vertical-align: top;
}

table.questions-boundary td.option-1,
table.questions-boundary td.option-2,
table.questions-boundary td.option-3
{
	width: 40px;
	text-align: center;
	vertical-align: top;
}

table.questions-maslach td,
table.questions-boundary td,
table.questions-interview td,
table.questions-interview-resilience td,
table.questions-resilience-hhc td,
table.questions-personal-resilience td,
table.questions-workplace-resilience td,
table.questions-psysecteam td,
table.questions-oxhap td
{
    padding-top: 2px;
    padding-bottom: 5px;
	vertical-align: top;
}
table.questions-psysecteam td
{
    padding-top: 2px !important;
}


table.questions-kolb td
table.questions-boundary td
{
	white-space: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

table.questions-kolb label {
  font-weight: initial;
  margin: 5px;
}

table.questions-kolb .too-many-points,
table.questions-kolb .too-few-points {
  color: red;
}

table.questions-kolb td:last-child {
text-align: center;
}


/*
tr.rangequestion.unfinished td,
tr.interviewquestion.unfinished td {
   background-color: rgb(160, 0, 87); 
    color: rgb(255, 255, 255);
}
*/
tr.rangequestion.unfinished td:nth-child(3),
tr.interviewquestion.unfinished td:nth-child(3) {
    background-color: #a00057;
    border: 2px solid white;
}

tr.rq-tablerow.unfinished td:nth-child(1),
tr.rq-tablerow.unfinished td:nth-child(2) {
    background-color: #a00057;
    color: rgb(255, 255, 255);
}

table.questions-kolb.evaluating tr td.unfinished {
    background-color: var(--rcc-color-alert-light);
    color: rgb(255, 255, 255);
    padding: 0 1rem 0 1rem;
}

@media(max-width: 764px) { 
    table.questions-kolb {
        table-layout: fixed;
        width:100%;
    }

    table.questions-kolb td:nth-child(5) {
        width: 0;
    }
    table.questions-kolb td:nth-child(6) {
        width: 40px;
    }
    table.questions-kolb td select {
        min-width: 7rem;
    }
}


table.questions-kolb .finished {
    color: white;
    background-color: var(--rcc-color-correct-normal);
}

/* This h2 definition is only included and needed with survey.css */
/* 27.12.22: deprecated, we take now rccWorld definitions -> scss */
/*h2 {
    font-size: 16px !important;
}
    */

.questions-kolb select {
  width: 40px;
  height: 45px;
  font-size: 17px;
}

@media(max-width: 1020px) {
  table.questions-kolb select {
    float: left;
    clear: both;
  }
  table.questions-kolb label {
    float: left;
    clear: both;
  }
}

.pdfHeaderDiv {
  height: 80px;
}

.chartdiv-container,
.chartdiv-kolb-container {
  position: relative;
  height: 500px;
  max-width: 700px;
}

.chartdiv-outer-container {
    height: auto;
    width: auto;
}

.chartdiv-resilience-container {
  height: 650px;
  max-width: 100%;
}

.chartdiv-container .amcharts-chart-div,
.chartdiv-kolb-container .amcharts-chart-div {
  overflow:visible;
}

#chartdiv-resilience,
#chartdiv-kolb,
#chartdiv-psysecteam {
position: relative;
  width: 100%;
  height: 100%;
}

.low-amount {
  background-color: #7bd251;
}

.medium-amount {
  background-color: #f3e741;
}

.high-amount {
  background-color: #f38ba7;
}

.in-range {
    border: 4px solid #415e6c !important;
}


.kolb-evaluation-box > button,
.maslach-evaluation-box > button,
.boundary-evaluation-box > button,
.interview-evaluation-box > button,
.resilience-interview-evaluation-box > button,
.personal-resilience-evaluation-box > button,
.workplace-resilience-evaluation-box > button,
.psysecteam-evaluation-box > button,
.oxhap-evaluation-box > button,

button.evaluate-kolb,
button.evaluate-maslach,
button.evaluate-boundary,
button.evaluate-interview,
button.evaluate-resilience-interview,
button.evaluate-personal-resilience,
button.evaluate-workplace-resilience,
button.evaluate-psysecteam,
button.evaluate-oxhap
{
  width: 200px;
  margin: 40px 0 50px calc(50% - 100px);
}


#chartdiv-maslach table {
    margin-top: 20px;
    width: 90%;
    margin-bottom: 20px;
}

#chartdiv-maslach table td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #CCCCCC;
    font-weight: bold;
}

#chartdiv-maslach table td:first-child {
    width: 30%;
}

.kolb-label {
    float: left;
}

.kolb-label.quadrant-1 {
    margin-top: -50%;
    margin-left: 70%;
}

.kolb-label.quadrant-2 {
    margin-top: -20%;
    margin-left: 70%;
}

.kolb-label.quadrant-3 {
    margin-left: 10%;
    margin-top: -20%;
}

.kolb-label.quadrant-4 {
    margin-top: -50%;
    margin-left: 10%;
}

.kolb-label.size-1 {
      font-size: 1.6em;
    color: #97af43;
    font-weight: bold;
}
.kolb-label.size-2 {
      font-size: 1.5em;
    color: #879c3d;
}
.kolb-label.size-3 {
      font-size: 1.3em;
    color: #323a16;
}
.kolb-label.size-4 {
  font-size: 1.1em;
}

body.top-1 .master-column-right.layout-2-b {
  left: 90% !important;
}

table.evaluation-boundary {
  width: 100%;
  table-layout: auto;
}

table.evaluation-boundary tr.axis-row td {
  border-bottom: 3px solid gray;
  position: relative;
}
table.evaluation-boundary tr.axis-row td.spacer {
  border-bottom: 3px solid transparent;
}

table.evaluation-boundary td.boundary-axis-segment-1,
table.evaluation-boundary td.boundary-axis-segment-2 {
  width: 24%;
}
table.evaluation-boundary td.boundary-axis-segment-3 {
  width: 11%;
}
table.evaluation-boundary td.boundary-axis-segment-6 {
  width: 18%;
}
table.evaluation-boundary td.boundary-axis-segment-4,
table.evaluation-boundary td.boundary-axis-segment-5,
table.evaluation-boundary td.boundary-axis-segment-7
{
  width: auto;
}
table.evaluation-boundary td.boundary-axis-segment-8 {
  width: 55px;
}

table.evaluation-boundary td.boundary-axis-segment-7 div.position-dot
{
  right: 0;
}

table.evaluation-boundary tr.label-row td {
  vertical-align: top;
  height: 300px;
}


button.evaluate-boundary,
button.resilience-interview-evaluation-box,
button.personal-resilience-evaluation-box,
button.workplace-resilience-evaluation-box
{
  margin-top: 30px;
  margin-bottom: 50px;
}

table.evaluation-boundary div.rotate-label {
  position: absolute;
  /* transform: translate(0,42px) rotate(45deg); */
  transform: translate(13px, 8px) rotate(46deg);
  width: 280px;
  transform-origin: top left;
  color: rgb(210, 210, 210);
  line-height: 12px;
}
table.evaluation-boundary td.boundary-axis-segment-4 div.rotate-label {
  transform: translate(2px, 8px) rotate(46deg);
}

table.evaluation-boundary td.boundary-axis-segment-5 div.rotate-label {
  transform: translate(17px, 10px) rotate(46deg);
}

table.evaluation-boundary td.boundary-axis-segment-6 div.rotate-label {
  transform: translate(22px, 8px) rotate(46deg);
}


table.evaluation-boundary div.position-dot {
  width: 20px;
  height: 20px;
  background-color: rgb(210, 210, 210);
  border-radius: 10px;
  position: absolute;
}

table.evaluation-boundary .active div.position-dot {
  background-color: #a00057;
  transform: scale(1.2,1.2);
}

table.evaluation-boundary .active div.rotate-label {
  font-weight: bold;
  color: black;
}

.hint-to-continue {
	width: 100%;
}

.question-empty-init-text {
	display: block;
	width: 100%;
	font-weight: bold;
	padding: 20px;
}

.questions-specific-container {
   margin-top: 50px;
}

.questions-common div.unfinished .sc-questionnumber,
.questions-common div.unfinished .sc-text,
.questions-common div.unfinished .mc-questionnumber,
.questions-common div.unfinished .mc-text,
.questions-common div.unfinished .ft-questionnumber,
.questions-common div.unfinished .ft-text,
.questions-common div.unfinished .rq-text,
.questions-specific div.unfinished .sc-questionnumber,
.questions-specific div.unfinished .sc-text,
.questions-specific div.unfinished .mc-questionnumber,
.questions-specific div.unfinished .mc-text,
.questions-specific div.unfinished .ft-questionnumber,
.questions-specific div.unfinished .ft-text,
.questions-specific div.unfinished .rq-text
{
	background-color: rgb(160, 0, 87);
      /* background-color: var(--rcc-color-alert-light); */
	color: rgb(255, 255, 255);
}
/*
tr.interviewquestion.unfinished td {
    background-color: rgba(255, 0, 0, 0.3);
}
*/
tr.interviewquestion .sc-question-body {
  text-align: left;
  position: relative;
}

tr.interviewquestion .sc-question-body label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    width: calc(100% - 22px);
}

tr.interviewquestion .sc-question-body label:hover {
  background-color: #c2cfd6;
}
tr.interviewquestion .sc-question-body label input[type="radio"] {
  width: 0;
}

tr.interviewquestion .sc-question-body label input:after {
  left: 10px;
  margin-left: 0;
  margin-top: -1px;
  cursor: pointer;
}

tr.interviewquestion .sc-question-body .fa.fa-chevron-down {
  transition: transform ease 0.3s;
  position: absolute;
  top: 0;
  right: 3px;
  cursor: pointer;
  color: #415e6c;
}

tr.interviewquestion .sc-question-body .fa.fa-chevron-down:hover {
  color: #6D8996;
}

tr.interviewquestion.explanations-expanded .sc-question-body .fa.fa-chevron-down {
  transform: rotate(180deg);
}

tr.interviewquestion .sc-question-body .explanation {
    display: none;
    visibility: hidden;
}

tr.interviewquestion.explanations-expanded .sc-question-body .explanation {
    display: inline;
    visibility: visible;
}

tr.interviewquestion.explanations-expanded td {
  height: 400px;
}

tr.interviewquestion.explanations-expanded td .sc-question-body {
  position: absolute;
  left: 15%;
  height: 370px;
  margin-top: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

.single-choice,
.multiple-choice,
.freetext,
.rangequestion.rq-free,
.contentelement {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
}

.single-choice:first-child,
.multiple-choice:first-child,
.freetext:first-child,
.contentelement:first-child {
	margin-top: 0;
}

.single-choice .sc-questionnumber,
.multiple-choice .mc-questionnumber,
.freetext .ft-questionnumber,
.contentelement .co-questionnumber,
.rangequestion.rq-free .rq-questionnumber
{
	flex: 0 0 30px;
  padding: 0 3px 0 3px;
}
.questions-psysecteam tr td.rq-questionnumber {
	padding: 0 6px 0 3px;
}

tr.interviewquestion td:first-child {
  padding: 0 3px 0 3px;
}

.single-choice .sc-text,
.multiple-choice .mc-text,
.freetext .ft-text,
.contentelement .co-text,
.rangequestion.rq-free .rq-text
{
   max-width: calc(100% - 30px);
   flex: 1 1 auto;
}

.single-choice .sc-question-body,
.multiple-choice .mc-question-body,
.freetext .ft-question-body,
.rangequestion.rq-free .rq-question-body {
	flex: 0 0 100%;
}

.freetext .ft-question-body {
   margin-left: 32px;
}

.freetext .ft-question-body textarea {
    resize: vertical;
    min-height: 65px;
    width: calc(100% - 32px);
    margin-top: 7px;
}

.freetext .ft-question-body input[type="text"] {
    width: calc(100% - 35px);
}

.freetext .ft-question-body textarea.autocomplete {
    height: 1.8em;
    min-height: unset;
    resize: none;
}

.single-choice .sc-question-body ul,
.multiple-choice .mc-question-body ul
{
	list-style: none;
}

.single-choice .sc-question-body ul li,
.multiple-choice .mc-question-body ul li
{
	list-style: none;
	margin-left: 32px;
}

.single-choice input[type="radio"],
.multiple-choice input[type="radio"],
.single-choice input[type="checkbox"],
.multiple-choice input[type="checkbox"]
{
	margin-right: 20px;
        vertical-align: top;
}

.single-choice label,
.multiple-choice label,
.freetext label {
	font-weight: normal;
        white-space: nowrap;
}

.single-choice label > span,
.multiple-choice label > span,
.freetext label > span {
        display: inline-block;
        white-space: normal;
}

label.has-text-input {
  width: 100%;
}

input.additional-text-option {
  width: 100%;
}

span.additional-text {
    display: inline-block;
    margin-left: 32px;
	width: calc(100% - 32px);
}

span.additional-text br {
    line-height: 30px;
}

span.additional-text input {
	margin-bottom: 18px;
}

.questions-common-hint-current-data {
  padding-left: 1em;
  margin-bottom: 20px;
  border-left: 2px solid #a00057;
  color: #a00057;
}

p.rcc-flowtext-hint { 
	color: #a00057; 
	margin-left: 1em; 
	padding-left: 1em; 
	border-left: 2px solid #a00057; 
	margin-top: 1em; 
	margin-bottom: 1em !important;
}

.questions-common-container {
  margin-top: 10px;
  margin-bottom: 40px;
}

.questions-common-container label {
	padding: 0;
}

.questions-common-container li {
	margin-bottom: 0.4rem;
}

.kolb-questions {
  float: left;
}

.boundary-evaluation-box,
.maslach-evaluation-box,
.kolb-evaluation-box,
.personal-resilience-evaluation-box,
.oxhap-evaluation-box
{
   margin: 0 0 50px 0;
}



.rcc-table.surveys > thead > tr > th:nth-child(2) {
  width: 90px;
}
.ft-text ul {
    list-style: disc;
    padding-left: 20px;
}
.ft-text li {
    list-style: disc;
}

.ui-menu.ui-autocomplete.ui-front {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 400px;
  background-color: #D1DCE2 /* ACTION HELL */
}


.questions-interview tr td:nth-child(2)
{
  width: 60% !important;
}

.questions-interview tr td:nth-child(3)
{
  width: 30% !important;
  padding: 0;
}

.questions-interview tr.title-level-1 {
    font-weight: bold;
}

.questions-interview td span.explanation {
    font-style: italic;
    font-size: 12px;
    line-height: 18px;
}

.questions-interview tr.title-level-1 td {
  background-color: rgb(200, 200, 200);
/*  background-color: rgb(146, 208, 80);*/
/*  background-color: rgb(0, 176, 80); */
  color: white;
}

.questions-interview tr.title-level-2 td {
/*  background-color: rgb(146, 208, 80); */
  background-color: #EEEEEE;
  color: #333333;
}

.questions-interview tr td {
  border-bottom: 1px solid #EEEEEE;
}

.questions-interview tr th {
  background-color: rgb(146, 208, 80);
  color: white;
  font-size: 18px;
  padding: 3px;
}

.questions-interview tr th:nth-child(2) {
  white-space: nowrap;
}

.questions-interview tr th:nth-child(2) > div  {
    display: inline-block;
    width: 16.4%;
    overflow: hidden;
    white-space: normal;
    vertical-align: top;
    text-align: center;
    font-weight: normal;
    font-size: 12px;
}


.questions-interview tr td:nth-child(3) .row-1a {
  float: left;
  white-space: nowrap;
  text-align: left;
  width: 90%;
}
.questions-interview tr td:nth-child(3) .row-1b {
  float: left;
  white-space: nowrap;
  text-align: center;
  padding: 0 0 0 7px;
  width: 7%;
  cursor: pointer;
  margin-top: 9px;
  margin-bottom: -5px;
  color: #415e6c;
}

.questions-interview tr td:nth-child(3) .row-1b i:hover {
  color: #6D8996; /* ACTION HOVER */
}

.questions-interview tr td:nth-child(3) .row-2 {
  text-align: left;
}

.questions-interview tr td:nth-child(3) .row-2 textarea {
  background-color: #D1DCE2;
  width: 100%;
  padding: 4px;
}

.questions-interview tr td:nth-child(3) .row-1a > div {
  display: inline-block;
  position: relative;
  width: 20%;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #EEEEEE;
  border-top: none;
  min-height: 27px;
  line-height: 27px;
}

.questions-interview tr td .row-1a > div:not(.row-option-disabled):hover {
    background-color: #c2cfd6;
}

.questions-interview tr td .row-1a > div input {
  cursor: pointer;
}

.questions-interview tr td .row-1a > div input:before
{
  position: absolute;
  content: ' ';
  background-color: transparent;
  visibility: visible;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.questions-interview tr td .row-1a > div input:checked::before {
    background-color: #e6d0db;
}

.questions-interview tr td .row-1a .row-option-disabled {
  position: relative;
  height: 27px;
  border: none;
}

.questions-interview tr td .row-1a .row-option-disabled:before,
.questions-interview tr td .row-1a .row-option-disabled:after {
  position: absolute;
  left: 10x;
  content: ' ';
  height: 100%;
  width: 2px;
  background-color: #EEEEEE;
}
.questions-interview tr td .row-1a .row-option-disabled:before {
  transform: rotate(45deg);
}
.questions-interview tr td .row-1a .row-option-disabled:after {
  transform: rotate(-45deg);
}

.questions-interview tr td .row-1a .row-option-disabled input {
  display: none;
  visibility: hidden;
  width: 0;
}

.questions-interview input[type="radio"] {
  visibility: hidden;
}

.questions-interview input[type="radio"]:after {
  visibility: visible;
  display: block;
  position: absolute;
  top: 0;
  width: 1em;
  font: normal normal normal 14px/27px FontAwesome;
}

.questions-interview  input[type="radio"]:not(:checked):after {
  content: "\f1db"; /*"\f10c";*/
  color: #415e6c;
}

.questions-interview  input[type="radio"]:checked:after {
  content: "\f111";
  color: #9f0157;
}

.risk-grading-A {
  background-color: green;
  color: white;
}
.risk-grading-B {
  background-color: #C0CA33;
  color: white;
}
.risk-grading-C {
  background-color: #FB8C00;
  color: white;
}
.risk-grading-D {
  background-color: red;
  color: white;
}

.interview-summary {
  margin: 20px 0 50px 0;
  width: 100%;
}

.interview-summary tr th,
.interview-summary tr td
{
  border-bottom: 1px solid #EEEEEE;
}


.interview-summary tr th:nth-child(1)
{
  font-weight: bold;
}

.unit-summary tr th:nth-child(2),
.unit-summary tr th:nth-child(3),
.unit-summary tr th:nth-child(4)
{
  font-weight: normal;
  font-style: italic;
}

.unit-summary tr th:nth-child(2) {
  text-align: center;
  width: 150px;
}
.unit-summary tr th:nth-child(3) {
  text-align: center;
  width: 90px;
}
.unit-summary tr th:nth-child(4) {
  text-align: center;
  width: 120px;
}
.unit-summary tr td:nth-child(3),
.unit-summary tr td:nth-child(4)
{
  text-align: center;
}

.unit-categorylist tr th:nth-child(4),
.unit-categorylist tr th:nth-child(5),
.unit-categorylist tr th:nth-child(6)
{
  font-weight: normal;
  font-style: italic;
}

.unit-categorylist tr th:nth-child(1),
.unit-categorylist tr th:nth-child(2),
.unit-categorylist tr th:nth-child(3)
{
  width: 80px;
}


.unit-categorylist tr th:nth-child(5) {
  text-align: center;
  width: 90px;
}
.unit-categorylist tr th:nth-child(6) {
  text-align: center;
  width: 120px;
}
.unit-categorylist tr td:nth-child(5),
.unit-categorylist tr td:nth-child(6) {
  text-align: center;
}

.evaluation-interview h2 {
  font-size: 20px;
  margin-top: 80px;
}

.questions-interview-resilience tr.title-level-1 td,
.questions-resilience-hhc tr.title-level-1 td {
  /*background-color: rgb(200, 200, 200);
  color: white;*/
}

.questions-interview-resilience tr.title-level-2 td,
.questions-resilience-hhc tr.title-level-2 td {
  /*background-color: #EEEEEE;
  color: #333333; */
}

.questions-maslach tr th,
.questions-maslach tr td,
.questions-boundary tr th,
.questions-boundary tr td,
.questions-workplace-resilience tr th,
.questions-workplace-resilience tr td,
.questions-interview-resilience thead tr:last-child th,
.questions-interview-resilience tr td,
.questions-resilience-hhc thead tr:last-child th,
.questions-resilience-hhc tr td,
.questions-psysecteam tr td,
.questions-oxhap tr th,
.questions-oxhap tr td
{
  border-bottom: 1px solid #EEEEEE;
}

.questions-interview-resilience tr:nth-child(2) th,
.questions-interview-resilience tr:nth-child(3) th,
.questions-resilience-hhc tr:nth-child(2) th,
.questions-resilience-hhc tr:nth-child(3) th {
}

.questions-interview-resilience tr:nth-child(2) th:nth-child(1),
.questions-resilience-hhc tr:nth-child(2) th:nth-child(1) {
  width: 5%;
}

.questions-interview-resilience tr:nth-child(2) th:nth-child(2),
.questions-interview-resilience tr:nth-child(2) th:nth-child(4),
.questions-resilience-hhc tr:nth-child(2) th:nth-child(2),
.questions-resilience-hhc tr:nth-child(2) th:nth-child(4) {
  width: 40%;
}

.questions-interview-resilience tr:nth-child(2) th:nth-child(3),
.questions-resilience-hhc tr:nth-child(2) th:nth-child(3) {
  width: 15%;
}


.questions-interview-resilience tr:nth-child(2) th:nth-child(3),
.questions-resilience-hhc tr:nth-child(2) th:nth-child(3) {
  text-align: center;
}

.questions-interview-resilience tr:nth-child(2) th:nth-child(3) .hint,
.questions-resilience-hhc tr:nth-child(2) th:nth-child(3) .hint {
  font-size: 10px;
  line-height: 12px;
}

.questions-interview-resilience tr:nth-child(3) th:nth-child(3),
.questions-resilience-hhc tr:nth-child(3) th:nth-child(3) {
  padding: 0px 10px !important;
}

.questions-interview-resilience tr.title-level-2 td:nth-child(3),
.questions-interview-resilience tr.title-level-2 td:nth-child(4),
.questions-resilience-hhc tr.title-level-2 td:nth-child(3),
.questions-resilience-hhc tr.title-level-2 td:nth-child(4)  {
  padding: 0;
  position: relative;
}

.questions-interview-resilience tr.interviewquestion td:nth-child(3),
.questions-interview-resilience tr.interviewquestion td:nth-child(5),
.questions-resilience-hhc tr.interviewquestion td:nth-child(3),
.questions-resilience-hhc tr.interviewquestion td:nth-child(5)  {
  line-height:1.3em;
  padding: 3px 10px;
}


.start-invisible,
.start-invisible-2 {
  display: none;
  visibility: hidden;
}

table.questions-interview-resilience .range-container, 
table.questions-resilience-hhc .range-container {
  display: flex;
  flex-direction: row;
  position: relative;
  margin-top: 5px;
}

table.questions-interview-resilience th .range-container,
table.questions-resilience-hhc th .range-container {
  margin-top: 0;
}

table.questions-interview-resilience .range-container .range-box,
table.questions-resilience-hhc .range-container .range-box {
  flex: 0 0 25%;
  color: black;
/*  border: 1px solid gray; */
  text-align: center;
  padding: 3px;
  position: relative;
}

table.questions-interview-resilience div.range-box-left,
table.questions-resilience-hhc div.range-box-left {
  position: absolute;
  /*left: -52px; */
  left: -117px;
  top: 3px;
}

table.questions-interview-resilience div.range-box-right,
table.questions-resilience-hhc div.range-box-right {
  position: absolute;
  /*right: -40px;*/
  right: -115px;
  top: 3px;
}

table.questions-interview-resilience th .range-1,
table.questions-interview-resilience th .range-2,
table.questions-interview-resilience th .range-3,
table.questions-interview-resilience th .range-4, 
table.questions-resilience-hhc th .range-1,
table.questions-resilience-hhc th .range-2,
table.questions-resilience-hhc th .range-3,
table.questions-resilience-hhc th .range-4 {
/*  background-color: rgb(255, 255, 255) !important; */
/*color: white !important;*/
  background-color: transparent !important;
  border: unset !important;
}

table.questions-interview-resilience .range-1 {
  background-color: rgb(255, 110, 105);
}

table.questions-interview-resilience .range-2 {
  background-color: rgb(253, 193, 118);
}

table.questions-interview-resilience .range-3 {
  background-color: rgb(255, 255, 153);
}

table.questions-interview-resilience .range-4 {
  background-color: rgb(170, 212, 140);
}

tr.rangequestion > td.option {
  position: relative;
}

.rq-free .rq-question-body {
    position: relative;
    display: flex;
    height: 7em;
    padding: 2em 20% 1em 20%;
}

.rq-free .rq-question-body .range-box span.biglabel {
	position: absolute;
	right: 104%;
	white-space: nowrap;
    height: 25px;
    line-height: 25px;
}

.rq-free .rq-question-body .range-box:first-child span.biglabel {
	right: 104%;
}

.rq-free .rq-question-body .range-box:last-child span.biglabel {
    left:100%;
}

.rq-free .rq-question-body .range-box span.smalllabel {
	display: block; 
	flex: 1 1 50%;
    font-size: 70%;
}

.rq-free .rq-question-body .range-box {
	flex: auto;
	position: relative;
	text-align: center;
}

.rq-free .rq-question-body .range-box input,
.rq-option-box input,
table.questions-interview-resilience .range-box input,
table.questions-resilience-hhc .range-box input {
  visibility: hidden;
}

.rq-tablerow label.rq-option-box {
  max-height: 25px;
}

.rq-free .rq-question-body label.rq-option-box {
  max-height:50px;
}

.rq-option-box,
.rq-option-box .rq-option-box-inner,
table.questions-interview-resilience .range-box .range-box-inner,
table.questions-resilience-hhc .range-box .range-box-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

label.rq-option-box,
label.range-box {
  cursor: pointer;
}
/*
label.rq-option-box {
  border: 1px solid #888888;
}
*/
/*
label.range-box:hover {
  filter: brightness(1.3);
}
*/

.range-box input + .range-box-inner,
.rq-option-box input + .rq-option-box-inner,
table.questions-interview-resilience .range-box input + .range-box-inner,
table.questions-resilience-hhc .range-box input + .range-box-inner {

  color: #a00057; /* HSLU MAIN COLOR */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.rq-free .rq-option-box-inner {
    padding-top: 6px;
}

.rangequestion .range-box input + .range-box-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.range-box input + .range-box-inner i,
.rq-option-box input + .rq-option-box-inner i,
table.questions-interview-resilience .range-box input + .range-box-inner i {
}

.range-box input:not(:checked) + .range-box-inner,
.rq-option-box input:not(:checked) + .rq-option-box-inner,
table.questions-interview-resilience .range-box input:not(:checked) + .range-box-inner {
  background-color: white !important;
}

.range-box input:checked + .range-box-inner,
.rq-option-box input:checked + .rq-option-box-inner,
table.questions-interview-resilience .range-box input:checked + .range-box-inner {
  background-color: #e6d0db !important;
}

.range-box:hover input:not(:checked) + .range-box-inner,
.rq-option-box:hover input:not(:checked) + .rq-option-box-inner,
table.questions-interview-resilience .range-box:hover input:not(:checked) + .range-box-inner {
  background-color: #ebe4e7 !important;
}

.range-box:hover input:checked + .range-box-inner,
.rq-option-box:hover input:checked + .rq-option-box-inner,
table.questions-interview-resilience .range-box:hover input:checked + .range-box-inner {
  background-color: #e6d0db !important;
}



table.questions-interview-resilience .range-box.range-1 input:not(:checked) + .range-box-inner,
table.questions-resilience-hhc .range-box.range-1 input:not(:checked) + .range-box-inner {
  background-color: #ffdddc; /* light */
}

table.questions-interview-resilience .range-box.range-2 input:not(:checked) + .range-box-inner,
table.questions-resilience-hhc .range-box.range-2 input:not(:checked) + .range-box-inner {
  background-color: #fde4c6; /* light */
}

table.questions-interview-resilience .range-box.range-3 input:not(:checked) + .range-box-inner,
table.questions-resilience-hhc .range-box.range-3 input:not(:checked) + .range-box-inner {
  background-color: #fbfad5; /* light */
}

table.questions-interview-resilience .range-box.range-4 input:not(:checked) + .range-box-inner,
table.questions-resilience-hhc .range-box.range-4 input:not(:checked) + .range-box-inner {
  background-color: #d7e5cd; /* light */
}

table.questions-interview-resilience .range-box.range-1 input:checked + .range-box-inner,
table.questions-resilience-hhc .range-box.range-1 input:checked + .range-box-inner {
  background-color: transparent;
}




table.questions-interview-resilience .range-box input:not(:checked) + .range-box-inner i.fa-circle-o,
table.questions-resilience-hhc .range-box input:not(:checked) + .range-box-inner i.fa-circle-o  {
  display: block;
  visibility: visible;
}

.range-box input:not(:checked) + .range-box-inner i.fa-circle,
.rq-option-box input:not(:checked) + .rq-option-box-inner i.fa-circle,
table.questions-interview-resilience .range-box input:not(:checked) + .range-box-inner i.fa-circle, 
table.questions-resilience-hhc .range-box input:not(:checked) + .range-box-inner i.fa-circle {
  display: none;
  visibility: hidden;
}

.range-box input:checked + .range-box-inner i.fa-circle-o,
.rq-option-box input:checked + .rq-option-box-inner i.fa-circle-o,
table.questions-interview-resilience .range-box input:checked + .range-box-inner i.fa-circle-o ,
table.questions-resilience-hhc .range-box input:checked + .range-box-inner i.fa-circle-o {
  display: none;
  visibility: hidden;
}

.range-box input:checked + .range-box-inner i.fa-circle,
.rq-option-box input:checked + .rq-option-box-inner i.fa-circle,
table.questions-interview-resilience .range-box input:checked + .range-box-inner i.fa-circle,
table.questions-resilience-hhc .range-box input:checked + .range-box-inner i.fa-circle {
  display: block;
  visibility: visible;
}

table.questions-interview-resilience .max-points-field, 
table.questions-resilience-hhc .max-points-field {
  background-color: rgb(21, 124, 141);
  color: white;
  text-align: center;
  font-size: 18px;
  border: 1px solid gray;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 2px;
}

table.questions-interview-resilience .result-field,
table.questions-resilience-hhc .result-field {
  color: black;
  text-align: center;
  font-size: 18px;
  border: 1px solid gray;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 2px;
}

table.questions-interview-resilience .result-field.category-ok,
table.questions-resilience-hhc .result-field.category-ok {
  background-color: rgb(170, 212, 140);
}

table.questions-interview-resilience .result-field.category-nok,
table.questions-esilience-hhc .result-field.category-nok {
  background-color: rgb(255, 110, 105);
}

.workplace-resilience-evaluation .amcharts-legend-div,
.evaluation-resilience-interview .amcharts-legend-div,
.psysecteam-evaluation .amcharts-legend-div {
  /*overflow: hidden !important;*/
  display: none;
  visibility: hidden;
}

.workplace-resilience-evaluation .amcharts-chart-div,
.evaluation-resilience-interview .amcharts-chart-div {
  height: calc(100% - 50px) !important;
}


.questions-workplace-resilience tr.title-level-1 td {
  background-color: rgb(200, 200, 200);
  color: white;
}

.questions-workplace-resilience tr.title-level-2 td {
  background-color: #EEEEEE;
  color: #333333;
}

.traffic-light-box {
  display: flex;
  flex-direction: column;
}

.traffic-light {
  display: flex;
  margin: 5px;
}

.traffic-light.high .light:after {
    border: 3px solid #85a515; /* Ampel hoch */
    background-color: #c8d793; /* Ampel hoch */
    color:  #85a515; /* Ampel hoch */
}

.traffic-light.moderate .light:after {
    border: 3px solid #FFBA00; /* Ampel moderat */
    background-color: #ede1c2; /* Ampel moderat */
    color: #FFBA00; /* Ampel moderat */
}


.traffic-light.low .light:after {
    border: 3px solid #af271a; /* Ampel tief */
    background-color: #dfb2ae; /* Ampel tief */
    color: #af271a; /* Ampel tief */
}

.traffic-light.active {
  background-color: #DDDDDD
}
.traffic-light.active .light:after {
  content: '\f111';
  font-family: 'FontAwesome';
  font-size: 30px;
  line-height: 46px;
}

.traffic-light .light {
  flex: 0 0 130px;
  padding: 20px;
  text-align: center;
  font-size: 18px;
  position: relative;
}

.traffic-light .light:after {
  position: absolute;
  content: ' ';
  top: 45px;
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
  border-radius: 25px;
}

.traffic-light .explanation {
  flex: 1 1 auto;
  padding: 20px;
}

/* BEGIN This belongs to rccWorld SCSS, but be careful because here it is needed in PDF reports too. */
span.footnote-counter,
span[role="doc-noteref"] {
  font-size: 0.8em;
  line-height: 1.5em;
  vertical-align: super;
}

footer > span.footnotes {
  position: relative;
  width: 100%;
  display: block;
  margin-top: 2em;
  margin-bottom: 3em;
  font-size: 0.8em;
}

footer > span.footnotes:before {
  position: absolute;
  top: -0.7em;
  left: 0;
  height: 1px;
  width: 30%;
  content: ' ';
  border-top: 1px solid black;
}
/* END */

table.category-explanations {
    table-layout: fixed;
}

table.category-explanations thead tr:not(.category-table-header) th:first-child {
  width: 12%;
}

table.category-explanations thead tr:not(.category-table-header) th:nth-child(2) {
  width: 20%;
}

table.category-explanations td {
  white-space:normal;
  vertical-align: top;
  padding: 3px;
}

table.category-explanations tr.category-table-header td {
  font-weight: bold;
  background-color: #DDDDDD;
}

table.chart-trafficlight-colors-table {
  width: 280px;
  table-layout: auto;
}

table.chart-graphs-table {
  width: 300px;
  table-layout: auto;
  margin-left: 40px;
}

table.chart-graphs-table thead,
table.chart-trafficlight-colors-table thead {
    height: 35px;
}

table.chart-graphs-table td,
table.chart-trafficlight-colors-table td {
  font-family: verdana;
  font-size: 11px;
  vertical-align: top;
}

table.chart-graphs-table td:first-child,
table.chart-trafficlight-colors-table td:first-child {
  position: relative;
  width: 25px;
}

table.chart-trafficlight-colors-table td div {
  width: 15px;
  height: 15px;
  border: 1px solid #888888;
  border-radius: 8px;
  margin-top: 4px;
}

table.chart-trafficlight-colors-table td div.range-1 {
  background-color: red;
}
table.chart-trafficlight-colors-table td div.range-2 {
  background-color: #FF9800;
}
table.chart-trafficlight-colors-table td div.range-3 {
  background-color: #FFFF00;
}
table.chart-trafficlight-colors-table td div.range-4 {
  background-color: #00FF00;
}

table.chart-graphs-table td div {
  width: 15px;
  height: 15px;
  margin-top: 4px;
}
table.chart-graphs-table td div.dimension-1 {
  background-color: #836FA9;
}
table.chart-graphs-table td div.dimension-2 {
  background-color: #4D8099;
}
table.chart-graphs-table td div.dimension-3 {
  background-color: #7B6236;
}
table.chart-graphs-table td div.dimension-3.dash-only {
 height: 0;
 margin-top: 11px;
 border: 1px solid gray;
}
table.chart-graphs-table td div.dimension-4 {
  background-color: #7B6236;
}

#chartdiv-legends {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

#chartdiv-legends .graphs-legend {
  flex: 1 1 auto;
  height: auto;
}

#chartdiv-legends .legend-rubber {
  flex: 10 1 100%;
}

#chartdiv-legends .traffic-light-legend {
  flex: 1 1 auto;
  height: auto;
}


#diagram-print-panel {
  width: 800px;
  height: 1000px;
  position: fixed;
  top: -300%;
  left: 0;
/*  border: 1px solid red; */
}

#diagram-print-panel-chart {
  height: 650px;
  width: 700px;
  margin-left: 0;
}

#diagram-print-panel-legends {
  height: auto;
  width: 700px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-left: 0;
}

table.surveys th:last-child {
  width: 20px;
}

table.surveys th:first-child {
  width: 50%;
}

.work-session-info {
    position: fixed;
    bottom: 0;
    height: auto;
    text-align: center;
    left: 0;
    right: 0;
    background-color: #889fab;
    padding: 0.6em;
    color: black;
}

/* === Kolb DistributedPoints: Drag-and-Drop Reihenfolge === */

table.questions-kolb .dp-classic-row {
    display: none;
}

table.questions-kolb .dp-dnd-row > .dp-dnd-cell {
    padding: var(--rcc-spacing-content-sm) var(--rcc-spacing-content-xs);
    border: none;
    background-color: transparent;
    font-size: inherit;
    line-height: inherit;
}

.dp-dnd-cell {
    display: table-cell;
    width: 100%;
}

.dp-dnd-cell-inner {
    display: flex;
    flex-direction: column;
    gap: var(--rcc-spacing-element-sm);
    align-items: stretch;
    width: 100%;
}

.dp-dnd-cards {
    display: flex;
    flex-direction: column;
    gap: var(--rcc-spacing-element-xs);
    flex: 1 1 auto;
    touch-action: pan-y;
    user-select: none;
    max-width: calc(100% - 2rem);
}

.dp-dnd-card {
    background-color: var(--rcc-color-bg-main, #ffffff);
    border: 1px solid var(--rcc-color-bg-action);
    border-radius: var(--rcc-border-radius-lg);
    box-shadow: var(--rcc-shadow-sm);
    cursor: grab;
    transition: box-shadow 120ms ease, background-color 120ms ease;
    font-size: inherit;
    line-height: inherit;
}


.dp-dnd-row:not(.dp-dnd-demo-row) .dp-dnd-card:hover,
.dp-dnd-row:not(.dp-dnd-demo-row) .dp-dnd-card:active {
    background-color: var(--rcc-color-bg-alt-1);
}

.dp-dnd-card:active,
.dp-dnd-card.dp-dnd-dragging {
    cursor: grabbing;
    box-shadow: var(--rcc-shadow-lg);
    transform: scale(1.02);
    z-index: 5;
    transition: none;
}

.dp-dnd-card-text {
    text-align: center;
    color: var(--rcc-color-font-1);
    font-size: inherit;
    line-height: inherit;
}

.dp-dnd-arrow {
    flex: 0 0 auto;
    border: 1px solid transparent;
    background-color: transparent;
    border-radius: var(--rcc-border-radius-full);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    line-height: 1;
    color: var(--rcc-color-bg-action);
    opacity: 1;
    transition: opacity 220ms ease;
}

.dp-dnd-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.dp-dnd-arrow-icon {
    display: inline-block;
    line-height: 1;
}

.dp-dnd-confirm {
    align-self: center;
    border: 2px solid var(--rcc-color-bg-alt-1, #889fab);
    background-color: var(--rcc-color-bg-main, #ffffff);
    color: var(--rcc-color-font-2, #4a5a66);
    border-radius: 999px;
    padding: var(--rcc-spacing-element-xs) var(--rcc-spacing-content-md);
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
    font-size: inherit;
    line-height: inherit;
    min-width: 7em;
    min-height: 2.6em;
}

.dp-dnd-confirm:hover {
    background-color: var(--rcc-color-bg-1-light);
}

.dp-dnd-confirm.is-confirmed {
    background-color: var(--rcc-color-correct-normal);
    border-color: var(--rcc-color-correct-normal);
    color: var(--rcc-color-font-alt-1);
}

.dp-dnd-confirm.is-unfinished {
    background-color: var(--rcc-color-alert-light);
    border-color: var(--rcc-color-alert-dark);
    color: var(--rcc-color-font-alt-1);
}

.dp-dnd-check {
    font-size: 1.4em;
    line-height: 1;
}

.dp-dnd-pending-label {
    font-size: var(--rcc-font-size-smaller);
    line-height: var(--rcc-font-line-height-smaller);
}

.dp-dnd-row.dp-dnd-pending .dp-dnd-card {
    border-style: dashed;
}

/* Didaktische Demo-Reihe oben in der Kolb-Tabelle */
.dp-dnd-demo-row .dp-dnd-card {
    cursor: default;
    border-style: none;
    border-radius: 2rem;
    box-shadow: none;
    min-height: auto;
}

.dp-dnd-demo-row .dp-dnd-card-text {
    padding: 1rem;
    font-size: 1.8rem;
    line-height: var(--rcc-font-line-height-base);
}

.dp-dnd-demo-positive {
    background-color: var(--rcc-color-correct-ultralight);
}

.dp-dnd-demo-negative {
    background-color: var(--rcc-color-alert-ultralight);
}

/* Mobile-first: empty-Karten und Confirm-Slot voellig raus */
.dp-dnd-demo-empty {
    display: none;
}
.dp-dnd-demo-confirm {
    display: none;
}

/* Tablet/Workstation: empty-Karten als Spalten-Spacer wieder einbringen */
@media (min-width: 768px) {
    .dp-dnd-demo-empty { display: block; visibility: hidden; }
    .dp-dnd-demo-confirm { display: block; visibility: hidden; }
}

/* Zeilennummern-Header vor jeder Frage-Reihe */
table.questions-kolb .dp-dnd-header-row > .dp-dnd-header-cell {
    padding: 1rem 0 0.4rem 0;
    border: none;
    background-color: transparent;
    font-size: var(--rcc-font-size-smaller);
    line-height: var(--rcc-font-line-height-smaller);
    color: var(--rcc-color-font-2);
}

/* Scroll-Snap (nur Mobile, html-Klasse wird via JS gesetzt) */
@media (max-width: 767.98px) {
    html.dp-dnd-snap-active {
        scroll-snap-type: y mandatory;
    }
    .questions-kolb .dp-dnd-header-row {
        scroll-snap-align: start;
        scroll-margin-top: 50px;
    }
}

/* Mobile-first: vertical stack, Text links, Pfeile rechts gestapelt (↑/↓) */
.dp-dnd-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: var(--rcc-spacing-content-sm) var(--rcc-spacing-content-md);
    min-height: 3.4em;
    column-gap: var(--rcc-spacing-element-sm);
}

.dp-dnd-card .dp-dnd-card-text {
    grid-column: 1;
    grid-row: 1 / 3;
    text-align: left;
    font-size: var(--rcc-font-size-bigger);
    line-height: var(--rcc-font-line-height-bigger);
}

.dp-dnd-card .dp-dnd-arrow-prev {
    grid-column: 2;
    grid-row: 1;
}

.dp-dnd-card .dp-dnd-arrow-next {
    grid-column: 2;
    grid-row: 2;
}

.dp-dnd-card .dp-dnd-arrow .dp-dnd-arrow-icon {
    transform: rotate(90deg);
}

/* Tablet/Workstation (>=768px): Karten breit nebeneinander, Text oben, Pfeile gemeinsam darunter */
@media (min-width: 768px) {
    .dp-dnd-cell-inner {
        flex-direction: row;
        align-items: stretch;
        gap: var(--rcc-spacing-element-md);
    }
    .dp-dnd-cards {
        flex-direction: row;
        gap: var(--rcc-spacing-element-sm);
        touch-action: pan-x;
        max-width: none;
    }
    .dp-dnd-card {
        flex: 1 1 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: var(--rcc-spacing-content-md) 0;
        min-height: 6.5em;
        row-gap: var(--rcc-spacing-element-sm);
    }
    .dp-dnd-card .dp-dnd-card-text {
        order: 1;
        flex: 0 0 100%;
        text-align: center;
        font-size: var(--rcc-font-size-biggest, var(--rcc-font-size-bigger));
        line-height: var(--rcc-font-line-height-bigger);
    }
    .dp-dnd-card .dp-dnd-arrow-prev {
        order: 2;
    }
    .dp-dnd-card .dp-dnd-arrow-next {
        order: 3;
    }
    .dp-dnd-card .dp-dnd-arrow .dp-dnd-arrow-icon {
        transform: none;
    }
    .dp-dnd-confirm {
        align-self: center;
        flex: 0 0 auto;
    }
}

/* Klick-Animation: Wave als visuelles Feedback. Mobile-first vertikal. */
.dp-dnd-row.dp-dnd-celebrating .dp-dnd-card {
    animation: dpDndFlowWave 450ms ease-out;
}
.dp-dnd-row.dp-dnd-celebrating .dp-dnd-card:nth-child(1) { animation-delay: 0ms; }
.dp-dnd-row.dp-dnd-celebrating .dp-dnd-card:nth-child(2) { animation-delay: 80ms; }
.dp-dnd-row.dp-dnd-celebrating .dp-dnd-card:nth-child(3) { animation-delay: 160ms; }
.dp-dnd-row.dp-dnd-celebrating .dp-dnd-card:nth-child(4) { animation-delay: 240ms; }

@keyframes dpDndFlowWave {
    0%   { transform: translateY(0); }
    45%  { transform: translateY(0.6em); }
    100% { transform: translateY(0); }
}

@media (min-width: 768px) {
    @keyframes dpDndFlowWave {
        0%   { transform: translateX(0); }
        45%  { transform: translateX(0.6em); }
        100% { transform: translateX(0); }
    }
}