/* BV-2611g P-pc: Paketdatei */

.pc-page .pc-scale-bar {
  --pc-fill: 0;
  position: relative;
  isolation: isolate;
}
.pc-page .pc-scale-bar::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #a8e6ff 0%, #00b7f4 58%, #0a9ad0 100%);
  content: '';
  pointer-events: none;
}

.pc-page .pc-scale-bar::after {
  clip-path: inset(0 calc(100% - 100% * var(--pc-fill) / var(--pc-scale-segments)) 0 0 round 999px);
}

.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(1)) { --pc-fill: 1; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(2)) { --pc-fill: 2; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(3)) { --pc-fill: 3; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(4)) { --pc-fill: 4; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(5)) { --pc-fill: 5; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(6)) { --pc-fill: 6; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(7)) { --pc-fill: 7; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(8)) { --pc-fill: 8; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(9)) { --pc-fill: 9; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(10)) { --pc-fill: 10; }
.pc-page .pc-scale-bar:has(> .pc-scale-segment.is-filled:nth-child(11)) { --pc-fill: 11; }

/* Die alte Füllung je Segment entfällt, sonst lädt jedes Segment wieder einzeln. */
.pc-page .pc-scale-bar .pc-scale-segment::before {
  display: none;
}

.pc-page .pc-scale-segment:not(:first-child):not(.is-filled) {
  box-shadow: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px);
}

.pc-page .pc-scale-bar .pc-scale-segment {
  transition: none;
}

/* PC22: Hinweis an unbeantworteten Aussagen in BV-Blau mit Info-Icon; rot erst, wenn trotz Hinweis erneut auf Weiter getippt wird. */
.pc-page .pc-open-mark,
.pc-page .pc-page-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  --pc-hint-farbe: #0077ad;
  color: var(--pc-hint-farbe);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.pc-page .pc-open-mark {
  margin-top: 12px;
}

/* Der Seitenhinweis steht auf der hellblauen Fläche, dort trägt erst das dunklere Markenblau 4,5:1 (5,4:1 statt 4,3:1). */
.pc-page .pc-page-hint {
  --pc-hint-farbe: #00679a;
}

.pc-page .pc-open-mark::before,
.pc-page .pc-page-hint::before {
  display: inline-grid;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  background: var(--pc-hint-farbe);
  color: #fff;
  content: 'i' / '';
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.pc-page .pc-open-mark.is-alert,
.pc-page .pc-page-hint.is-alert {
  --pc-hint-farbe: #a22520;
}

/* Markierte Aussagen bleiben voll lesbar, auch wenn sie nicht die aktuelle Fokuskarte sind (sonst Hinweis bei 42 % Deckkraft). */
.pc-page .pc-likert-card.is-pending.is-open {
  opacity: 1;
}
