/* Die Akte folgt dem zentralen Ansichtsrahmen (layout.css); Kopfkarte, Bereichsleiste und Karten teilen dieselben Ausrichtungslinien. */
.case-detail, .case-section-content, .help-group { min-width: 0; width: 100%; }
.case-detail { display: grid; gap: var(--space-4); }
.case-sections { display: flex; flex-wrap: wrap; gap: var(--space-2); border-bottom: var(--border-width) solid var(--color-border); padding-bottom: var(--space-2); }
.case-section-button[aria-pressed="true"] { background: var(--color-primary-soft); box-shadow: inset 0 calc(-1 * var(--border-width) * 3) var(--color-primary); }
.case-section-content--wide > .panel { width: 100%; justify-items: stretch; min-width: 0; }
.case-section-content > .panel { width: 100%; min-width: 0; }
.help-header { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); width: 100%; }
.help-header h2 { margin: 0; }
.help-provider-history { padding: var(--space-2); font-size: var(--font-size-small); overflow-wrap: anywhere; }
.help-provider-history ul { margin-block: var(--space-2); padding-inline-start: var(--space-5); }
.help-entry--ended { color: var(--color-text-muted); }
.help-more { min-width: 0; }
.help-more summary, .help-expand summary { min-height: var(--target-min-size); cursor: pointer; color: var(--color-link); padding: var(--space-2); }
.help-more summary { border: var(--border-width) solid var(--color-border); border-radius: var(--radius-control); }
.help-more-actions { display: grid; justify-items: stretch; gap: var(--space-2); padding-block: var(--space-2); }
.help-expand { min-width: 0; }
.help-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); font-size: var(--font-size-small); margin: 0; padding: var(--space-2); }
.help-details dt { font-weight: var(--font-weight-strong); }
.help-details dd { margin: 0 0 var(--space-2); white-space: pre-wrap; overflow-wrap: anywhere; }
/* B2e: Hilfen nach dem Raster für Listen (raster.css): je Gruppe eine Karte, Details und Trägerverlauf über die volle Breite. */
.help-list { margin: 0; }
.help-group { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.help-group > h3 { margin: 0; }
.help-entry > .help-expand { grid-column: 1 / -1; }
.help-entry--ended .entry__title { font-weight: var(--font-weight-normal); }
.help-title { margin: 0; font-weight: var(--font-weight-strong); }
.help-review-date { font-weight: var(--font-weight-strong); color: var(--color-primary); background: var(--color-primary-soft); }
.help-expand summary { width: max-content; }
.help-actions { display: flex; flex-wrap: wrap; align-items: start; gap: var(--space-2); min-width: 0; }
.help-form { display: grid; gap: var(--space-3); min-width: 0; }
.help-form__dates { display: grid; gap: var(--space-4); }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-entry { display: grid; gap: var(--space-1) var(--space-4); padding: var(--space-2) var(--space-3); border-inline-start: calc(var(--border-width) * 3) solid var(--color-border); border-bottom: var(--border-width) solid var(--color-border); overflow-wrap: anywhere; }
.history-time { font-size: var(--font-size-small); color: var(--color-text-muted); }
.history-event { font-weight: var(--font-weight-strong); }
.history-content { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); min-width: 0; }
.history-help { font-weight: var(--font-weight-strong); }
.history-description { flex-basis: 100%; color: var(--color-text-muted); font-size: var(--font-size-small); }
@media (min-width: 640px) {
  .help-form__dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-header { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .help-details { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--space-3); }
  .history-entry { grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; }
}
