/**
 * Screen CSS: Bewerbungs-Autopilot Landing inkl. Mailbox-Demo (editorial Premium, Host-CI).
 *
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Editorial Premium-Masthead und Wert-Band
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Toolbar-Demo-Hinweis entfernt
 * Änderungsprotokoll: 2026-08-17 | parent-agent | @skill-css-rules, @skill-change-provenance | Fünf Ablaufschritte, Desktop 3 Spalten
 */

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero Padding oben 5px
 */
.screen-bewerbungs-autopilot-hero {
  margin: 0 0 3.25rem;
  padding: 5px 0 2.5rem;
  border-bottom: 3px double var(--color-border);
  text-align: center;
}

.screen-bewerbungs-autopilot-beta-badge {
  /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Beta-Badge links neben H1 in Headline-Zeile */
  display: inline-block;
  flex-shrink: 0;
  margin: 0;
  padding: 2px 0.75rem;
  font-family: var(--font-family-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background: var(--color-primary-wash);
  line-height: 1.2;
}

.screen-bewerbungs-autopilot-hero-title-wrap {
  /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Headline-Zeile Badge links neben H1, Uppercase */
  margin: 0 auto 1.1rem;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  text-transform: uppercase;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Rubrik-H2 How/Mailbox/FAQ Uppercase */
.screen-bewerbungs-autopilot-section-heading {
  text-transform: uppercase;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero Story-Box Lead und Promise verbunden */
.screen-bewerbungs-autopilot-hero-story {
  margin: 0 auto;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 1.35rem 1.35rem;
  border-top: 3px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface);
  text-align: left;
}

.screen-bewerbungs-autopilot-hero-lead {
  /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Lead explizit linksbündig */
  margin: 0 0 1rem;
  max-width: none;
  width: 100%;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
  text-wrap: pretty;
}

.screen-bewerbungs-autopilot-hero-promise {
  /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Promise Punchline in Story-Box */
  margin: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-left: none;
  background: var(--color-primary-wash);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--color-headline);
  text-wrap: balance;
  text-align: left;
}

.screen-bewerbungs-autopilot-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  text-align: center;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Registrieren-Button immer sichtbar Primary */
.screen-bewerbungs-autopilot-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 14rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 1.6rem;
  gap: 0.35rem;
  border: 1px solid var(--color-primary);
  border-radius: 0;
  outline: none;
  text-decoration: none;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: none;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hover Hero-Registrieren-Button */
.screen-bewerbungs-autopilot-cta-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-text-inverse);
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschluss-CTA Band zentriert nur Registrierung
 */
.screen-bewerbungs-autopilot-cta-closing {
  margin: 0 0 3rem;
  padding: 2.25rem 1rem 2.5rem;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px double var(--color-border);
  background: var(--color-primary-wash);
  text-align: center;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschluss-Headline Wrapper zentriert Premium */
.screen-bewerbungs-autopilot-cta-closing-headline {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.15rem;
  max-width: 100%;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschluss-H2 hochwertig Display 2xl mit Primary-Linie */
.screen-bewerbungs-autopilot-cta-closing-title {
  margin: 0;
  max-width: 100%;
  padding: 0 0 0.65rem;
  border: none;
  box-shadow: inset 0 -3px 0 0 var(--color-primary);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-headline);
  color: var(--color-headline);
  text-align: center;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschluss-Lead linksbündig trotz zentriertem Band */
.screen-bewerbungs-autopilot-cta-closing-lead {
  margin: 0.75rem auto 0;
  max-width: 52rem;
  width: 100%;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  line-height: 1.55;
  color: var(--color-text);
  text-align: left;
  text-wrap: pretty;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschluss-CTA Zeile zentriert gestapelt */
.screen-bewerbungs-autopilot-cta-closing-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  text-align: center;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Grosser Abschluss-Registrieren-Button */
.screen-bewerbungs-autopilot-cta-closing-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 18rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.05rem 2.4rem;
  gap: 0.35rem;
  border: 1px solid var(--color-primary);
  border-radius: 0;
  outline: none;
  text-decoration: none;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: none;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hover grosser Abschluss-CTA */
.screen-bewerbungs-autopilot-cta-closing-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-text-inverse);
}

.screen-bewerbungs-autopilot-section {
  margin: 0 0 2.75rem;
}

.screen-bewerbungs-autopilot-section-lead {
  margin: 0.7rem 0 0;
  max-width: 44rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | How-it-works Rubrik-Raster
 */
.screen-bewerbungs-autopilot-how {
  margin: 0 0 3rem;
  padding: 0;
}

.screen-bewerbungs-autopilot-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 1.35rem 0 0;
  border-top: 1px solid var(--color-border);
}

.screen-bewerbungs-autopilot-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  margin: 0;
  padding: 1.35rem 0 1.45rem;
  border-bottom: 1px solid var(--color-rule-light);
  background: var(--color-surface);
}

.screen-bewerbungs-autopilot-step-index {
  margin: 0.05rem 0 0;
  font-family: var(--font-family-primary);
  font-size: 1.7rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.screen-bewerbungs-autopilot-step-body {
  min-width: 0;
}

.screen-bewerbungs-autopilot-step-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-headline);
  color: var(--color-headline);
  text-wrap: balance;
}

.screen-bewerbungs-autopilot-step-text {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-muted);
  max-width: 36rem;
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Wert-Band zwei Spalten
 */
.screen-bewerbungs-autopilot-value {
  margin: 0 0 3rem;
}

.screen-bewerbungs-autopilot-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 3px solid var(--color-primary);
}

.screen-bewerbungs-autopilot-value-panel {
  margin: 0;
  padding: 1.45rem 0 1.55rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.screen-bewerbungs-autopilot-value-text {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: 1.55;
  color: var(--color-text);
  text-wrap: pretty;
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | FAQ-Akkordeon editorial Rubrik
 */
.screen-bewerbungs-autopilot-faq {
  margin: 0 0 3rem;
}

.screen-bewerbungs-autopilot-faq-list {
  margin: 1.35rem 0 0;
  border-top: 3px solid var(--color-primary);
}

.screen-bewerbungs-autopilot-faq-item {
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.screen-bewerbungs-autopilot-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.05rem 0.15rem 1.05rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--color-headline);
}

.screen-bewerbungs-autopilot-faq-summary::-webkit-details-marker {
  display: none;
}

.screen-bewerbungs-autopilot-faq-summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  border: 1px solid var(--color-primary-wash-border);
  background: var(--color-primary-wash);
}

.screen-bewerbungs-autopilot-faq-summary-open::after {
  content: "\2013";
}

.screen-bewerbungs-autopilot-faq-summary:hover {
  color: var(--color-primary);
}

.screen-bewerbungs-autopilot-faq-question {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-headline);
  letter-spacing: 0.005em;
  color: inherit;
  text-wrap: balance;
}

.screen-bewerbungs-autopilot-faq-panel {
  padding: 0 2.5rem 1.15rem 0;
}

.screen-bewerbungs-autopilot-faq-answer {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-muted);
}

@media (min-width: 720px) {
  .screen-bewerbungs-autopilot-hero {
    padding: 2.6rem 0 3rem;
  }

  .screen-bewerbungs-autopilot-hero-title-wrap {
    max-width: none;
  }

  .screen-bewerbungs-autopilot-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: none;
    border-left: 1px solid var(--color-border);
  }

  .screen-bewerbungs-autopilot-step {
    padding: 1.55rem 1.35rem 1.7rem;
    border-top: 3px solid var(--color-primary);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    min-height: 100%;
  }

  .screen-bewerbungs-autopilot-step-text {
    max-width: none;
  }

  .screen-bewerbungs-autopilot-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--color-border);
  }

  .screen-bewerbungs-autopilot-value-panel {
    padding: 1.75rem 1.5rem 1.9rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background);
  }
}

@media (min-width: 1100px) {
  .screen-bewerbungs-autopilot-how-grid {
    /* Änderungsprotokoll: 2026-08-17 | parent-agent | @skill-css-rules, @skill-change-provenance | Desktop 3 Spalten für fünf Schritte */
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screen-bewerbungs-autopilot-step {
    grid-template-columns: 1fr;
    row-gap: 0.8rem;
    padding: 1.55rem 1.15rem 1.7rem;
  }

  .screen-bewerbungs-autopilot-step-index {
    font-size: 2rem;
  }
}

/* mailbox.html — Mac-Mail-artiges Bewerbungs-Postfach (Host-CI) */


.wrap--mailbox {
  max-width: 1100px;
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Click-Dummy Shell und Toolbar
 */
.screen-bewerbungs-autopilot-mailbox-section {
  margin: 0 0 2.75rem;
}

.screen-bewerbungs-autopilot-mailbox-intro {
  margin-bottom: 1.15rem;
  max-width: 42rem;
}

/**
 * Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Mailbox-Shell editorial Rubrik ohne Schatten
 */
.mailbox-shell {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  background: var(--color-surface);
  box-shadow: none;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Landing-Demo Sync ohne Cap-Banner/Toolbar */
.mailbox-toolbar-btn {
  width: auto;
  min-width: 11rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mailbox-reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-rule-light);
}

.mailbox-send-dialog-title {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-family-primary);
  font-size: 1.2rem;
  color: var(--color-headline);
}

.mailbox-send-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.35rem;
}

.mailbox-send-close {
  width: auto;
  min-width: 8rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Mailbox Preview Sync Secure schmale Sidebar */
.mailbox {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 0;
  min-height: 32rem;
  border: none;
  background: var(--color-surface);
  margin-bottom: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0;
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Sidebar Preview kompakt Sync Secure */
.mailbox-sidebar {
  border-right: 1px solid var(--color-rule-light);
  background: var(--color-background);
  padding: 0.45rem 0.3rem 0.65rem;
  font-family: var(--font-family-primary);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Sidebar-Label Preview kompakt */
.mailbox-sidebar-label {
  margin: 0 0.4rem 0.28rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-text-secondary);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordnerliste Preview eng */
.mailbox-folder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Einzelordner-Item Preview */
.mailbox-folder-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordnergruppe Preview Sync */
.mailbox-folder-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Prozesse-Gruppe Preview kompakt */
.mailbox-folder-group-processes {
  margin-top: 0.2rem;
  padding-top: 0.28rem;
  border-top: 1px solid var(--color-rule-light);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordnerzeile Preview kompakt Sync Secure */
.mailbox-folder {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 1.55rem;
  padding: 0.18rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: none;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), color var(--transition-normal);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordner-Hover Preview Sync */
button.mailbox-folder:hover:not(:disabled) {
  background: var(--color-surface-hover);
  color: var(--color-text);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordner-Icon Preview kompakt Sync */
.mailbox-folder-icon {
  flex: 0 0 0.85rem;
  width: 0.85rem;
  height: 0.7rem;
  margin: 0;
  border: 1.5px solid var(--color-text-secondary);
  border-radius: 0.1rem;
  background: transparent;
  box-sizing: border-box;
  position: relative;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Inbox-Icon Preview Sync */
.mailbox-folder-icon-inbox {
  border-top-width: 0;
  border-radius: 0 0 0.15rem 0.15rem;
  height: 0.7rem;
  margin-top: 0.15rem;
}

.mailbox-folder-icon-inbox::before {
  content: "";
  position: absolute;
  left: -1.5px;
  right: -1.5px;
  top: -0.28rem;
  height: 0;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.28rem solid var(--color-text-secondary);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Zusage-Icon Preview Sync */
.mailbox-folder-icon-offer {
  border-color: var(--color-success);
  background: var(--color-success-bg);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Absage-Icon Preview Sync */
.mailbox-folder-icon-rejection {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Rueckfrage-Icon Preview Sync */
.mailbox-folder-icon-inquiry {
  border-color: var(--color-warning);
  background: var(--color-info-bg);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Entwuerfe-Icon Preview Sync */
.mailbox-folder-icon-drafts {
  border-style: dashed;
  border-radius: 0.1rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Gesendet-Icon Preview Sync */
.mailbox-folder-icon-sent {
  border-radius: 0.1rem 0.35rem 0.35rem 0.1rem;
  background: var(--color-surface);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Prozesse-Icon Preview Sync */
.mailbox-folder-icon-processes {
  height: 0.7rem;
  margin-top: 0.12rem;
  border-radius: 0 0.12rem 0.12rem 0.12rem;
}

.mailbox-folder-icon-processes::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: -0.28rem;
  width: 0.45rem;
  height: 0.22rem;
  border: 1.5px solid var(--color-text-secondary);
  border-bottom: 0;
  border-radius: 0.1rem 0.1rem 0 0;
  box-sizing: border-box;
  background: var(--color-background);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Firmen-Icon Preview Sync */
.mailbox-folder-icon-company {
  width: 0.4rem;
  height: 0.4rem;
  flex-basis: 0.4rem;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  border: 0;
  background: var(--color-rule-light);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Ordnername nur Textbreite Sync */
.mailbox-folder-name {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Zaehler direkt hinter Name Sync */
.mailbox-folder-count {
  flex-shrink: 0;
  min-width: 0;
  margin-left: 0;
  padding: 0.02rem 0.15rem;
  border-radius: 0.55rem;
  text-align: left;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xs);
  font-variant-numeric: tabular-nums;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-secondary);
  background: transparent;
  line-height: 1.2;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Leerer Zaehler Preview Sync */
.mailbox-folder-count-empty {
  color: var(--color-rule-light);
  background: transparent;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Aktiver Zaehler Preview Sync */
.mailbox-folder-count-active {
  color: var(--color-text-inverse);
  font-weight: var(--font-weight-bold);
  background: var(--color-primary);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Unterordner-Liste Preview kompakt */
.mailbox-folder-sublist {
  list-style: none;
  margin: 0;
  padding: 0.02rem 0 0.08rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Unterordner-Item Preview Sync */
.mailbox-folder-subitem {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Unterordner Preview kompakt */
.mailbox-folder-sub {
  min-height: 1.35rem;
  padding: 0.12rem 0.35rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Firmenzeile Preview kompakt */
.mailbox-folder-company {
  min-height: 1.3rem;
  padding: 0.1rem 0.35rem;
  font-size: var(--font-size-xs);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Aktiver Ordner Preview Sync Secure */
button.mailbox-folder-active,
button.mailbox-folder[aria-current="true"],
button.mailbox-folder-active:hover:not(:disabled),
button.mailbox-folder[aria-current="true"]:hover:not(:disabled) {
  background: var(--color-primary-wash-border);
  border: 1px solid var(--color-primary-soft);
  box-shadow: inset 0.28rem 0 0 0 var(--color-primary);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.mailbox-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | List-Pane etwas breiter Sync Secure */
.mailbox-split {
  display: grid;
  grid-template-columns: minmax(17rem, 1.2fr) minmax(0, 1.15fr);
  flex: 1 1 auto;
  min-height: 26rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Landing Split nur Liste; Send im List-Pane */
.mailbox-split-list-only {
  grid-template-columns: minmax(0, 1fr);
}

.mailbox-list-pane-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mailbox-list-pane-actions[hidden] {
  display: none;
}

.mailbox-reader-pane[hidden] {
  display: none;
}

.mailbox-list-pane {
  border-right: 1px solid var(--color-border);
  min-height: 0;
  overflow: auto;
  background: var(--color-surface);
}

.mailbox-list {
  display: flex;
  flex-direction: column;
}

.mailbox-row {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--color-rule-light);
  cursor: pointer;
  background: transparent;
  text-align: left;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
  font-family: var(--font-family-primary);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.35;
}

.mailbox-row:hover {
  background: var(--color-surface-hover);
}

.mailbox-row-active {
  background: var(--color-primary-wash);
}

.mailbox-row-active:hover {
  background: var(--color-primary-wash);
}

.mailbox-row-check {
  margin-top: 0.15rem;
}

.mailbox-row-check input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.mailbox-row-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mailbox-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.mailbox-row-from {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-headline);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-row-date {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.mailbox-row-subject {
  font-size: 0.84rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-row-preview {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-row-badge {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.mailbox-row-badge--offer {
  color: var(--color-success);
}

.mailbox-row-badge--rejection {
  color: var(--color-error);
}

.mailbox-row-badge--inquiry {
  color: var(--color-warning);
}

.mailbox-list-empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mailbox-reader-pane {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--color-surface);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Reader Padding links rechts 3px Sync Secure */
.mailbox-reader {
  padding: 1.35rem 3px 1.75rem;
}

.mailbox-reader-empty {
  margin: 2.75rem 0.5rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Reader-Header Abstaende hochwertig */
.mailbox-reader-header {
  margin: 0 0 1.35rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--color-rule-light);
}

.mailbox-reader-subject {
  margin: 0 0 1rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xl);
  color: var(--color-headline);
  line-height: var(--line-height-headline);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-headline);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Meta-Block Subgrid gleiche Labelbreite An/Firma/Stelle Sync */
.mailbox-reader-meta-block {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.65rem;
  row-gap: 0.2rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Meta-Zeile teilt Spaltenbreiten mit Subgrid Sync */
.mailbox-reader-meta-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: baseline;
  padding: 0;
  min-height: 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Meta-Label rechtsbuendig in fester Spalte Sync */
.mailbox-reader-meta-label {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: end;
  color: var(--color-text-muted);
  line-height: 1.25;
}

.mailbox-reader-meta-value {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  word-break: break-word;
  line-height: 1.25;
}

.mailbox-reader-body {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Reader-Anhang Büroklammer unter Anschreiben */
.mailbox-reader-attachment {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-rule-light);
  background: var(--color-primary-wash);
  color: var(--color-text);
  box-sizing: border-box;
  max-width: 100%;
}

.mailbox-reader-attachment-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-headline);
}

.mailbox-reader-attachment-name {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  line-height: 1.3;
  color: var(--color-text);
  word-break: break-word;
}

.mailbox-draft-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mailbox-draft-form label {
  margin-bottom: 0;
}

.mailbox-draft-form input,
.mailbox-draft-form textarea {
  width: 100%;
}

.mailbox-draft-form textarea {
  min-height: 14rem;
  resize: vertical;
  font-family: var(--font-family-primary);
  line-height: 1.5;
}

.mailbox-draft-save-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.mailbox-draft-save-hint.mailbox-draft-save-hint-ok {
  color: var(--color-success);
}

.mailbox-process-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-rule-light);
}

.mailbox-process-form label {
  margin-bottom: 0;
}

.mailbox-process-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.mailbox-process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mailbox-process-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.mailbox-send-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mailbox-send-overlay-hidden {
  display: none;
}

.mailbox-send-dialog {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  box-sizing: border-box;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.65rem 1.55rem 1.35rem;
  text-align: left;
  box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.22);
}

.mailbox-send-dialog h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.2rem;
}

.mailbox-send-visual {
  position: relative;
  height: 3.5rem;
  margin: 0 auto 0.35rem;
  width: 6rem;
}

.mailbox-send-envelope {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 2.4rem;
  height: 1.6rem;
  margin-left: -1.2rem;
  border: 2px solid var(--color-primary);
  background: var(--color-primary-wash);
  animation: mailbox-envelope-fly 1.8s ease-in-out infinite;
}

.mailbox-send-envelope::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: -2px;
  height: 0;
  border-left: 1.2rem solid transparent;
  border-right: 1.2rem solid transparent;
  border-top: 0.9rem solid var(--color-primary);
}

.mailbox-send-trail {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-rule-light),
    var(--color-primary),
    transparent
  );
  opacity: 0.85;
}

@keyframes mailbox-envelope-fly {
  0%,
  100% {
    transform: translateX(-6px) translateY(2px);
  }
  50% {
    transform: translateX(8px) translateY(-4px);
  }
}

.mailbox-send-status {
  margin: 0 0 0.85rem;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-headline);
}

.mailbox-send-progress {
  display: block;
  width: 100%;
  height: 0.85rem;
  margin: 0 0 0.85rem;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  accent-color: var(--color-primary);
}

.mailbox-send-progress::-webkit-progress-bar {
  background: var(--color-background);
}

.mailbox-send-progress::-webkit-progress-value {
  background: var(--color-primary);
}

.mailbox-send-progress::-moz-progress-bar {
  background: var(--color-primary);
}

.mailbox-send-note {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.mailbox-send-dialog .actions {
  justify-content: center;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .mailbox {
    grid-template-columns: 1fr;
  }

  /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Mobile Sidebar Preview Sync Secure */
  .mailbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-rule-light);
    padding: 0.65rem 0.45rem 0.75rem;
  }

  .mailbox-folder-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .mailbox-folder {
    width: 100%;
  }

  .mailbox-folder-group-processes {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
  }

  .mailbox-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mailbox-list-pane {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    max-height: 16rem;
  }
}
/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Versand-Popup Live-Log hochwertig */
.mailbox-send-progress-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mailbox-send-progress-modal[hidden] {
  display: none;
}

.mailbox-send-progress-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.58);
  backdrop-filter: blur(3px);
}

.mailbox-send-progress-modal-content {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 1.65rem 1.55rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.22);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Kein ×-Header; Padding ohne Close-Raum */
.mailbox-send-progress-modal-header {
  margin-bottom: 1.15rem;
}

.mailbox-send-progress-modal-pulse {
  width: 2.75rem;
  height: 0.28rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover), var(--color-primary));
  background-size: 200% 100%;
  animation: mailbox-send-progress-pulse 1.8s linear infinite;
}

.mailbox-send-progress-modal-content.is-complete .mailbox-send-progress-modal-pulse {
  animation: none;
  background: var(--color-primary);
  opacity: 0.55;
}

@keyframes mailbox-send-progress-pulse {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.mailbox-send-progress-modal-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-family-primary);
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--color-headline);
  letter-spacing: -0.01em;
}

.mailbox-send-progress-modal-subtitle {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.mailbox-send-progress-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.95rem;
}

.mailbox-send-progress-metric {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  min-width: 0;
}

.mailbox-send-progress-metric-label {
  font-size: 0.68rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.mailbox-send-progress-metric-value {
  font-family: var(--font-family-primary);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--color-headline);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mailbox-send-progress-bar-track {
  position: relative;
  height: 0.55rem;
  margin: 0 0 0.55rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-background);
}

.mailbox-send-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  transition: width 0.35s ease;
}

.mailbox-send-progress-rate-note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Live-Protokoll helles Theme statt Dark-Style */
.mailbox-send-progress-log-panel {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin: 0 0 1rem;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Live-Protokoll-Heading hell */
.mailbox-send-progress-log-heading {
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--color-rule-light);
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.mailbox-send-progress-log {
  max-height: 14rem;
  overflow: auto;
  padding: 0.35rem 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Log-Eintraege helles Theme */
.mailbox-send-progress-log-entry {
  display: grid;
  grid-template-columns: 4.1rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.8rem;
  border-left: 3px solid var(--color-rule-light);
  animation: mailbox-send-log-in 0.28s ease;
}

.mailbox-send-progress-log-entry.is-sending {
  border-left-color: var(--color-warning);
  background: var(--color-surface-hover);
}

.mailbox-send-progress-log-entry.is-success {
  border-left-color: var(--color-success-border);
  background: var(--color-success-bg);
}

.mailbox-send-progress-log-entry.is-failed {
  border-left-color: var(--color-error-border);
  background: var(--color-error-bg);
}

.mailbox-send-progress-log-entry.is-waiting {
  border-left-color: var(--color-rule-light);
  background: var(--color-info-bg);
}

@keyframes mailbox-send-log-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Log-Zeitstempel hell */
.mailbox-send-progress-log-time {
  font-family: var(--font-family-primary);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
  padding-top: 0.12rem;
}

.mailbox-send-progress-log-body {
  min-width: 0;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Log-Firmenname hell */
.mailbox-send-progress-log-company {
  display: block;
  font-size: 0.88rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-headline);
  line-height: 1.3;
  word-break: break-word;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Log-E-Mail hell */
.mailbox-send-progress-log-email {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  word-break: break-all;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Status-Badges gleiche Breite, helles Theme */
.mailbox-send-progress-log-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 6.4rem;
  min-height: 1.35rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--color-text-muted);
}

.mailbox-send-progress-log-entry.is-sending .mailbox-send-progress-log-badge {
  color: var(--color-warning);
}

.mailbox-send-progress-log-entry.is-success .mailbox-send-progress-log-badge {
  color: var(--color-success);
}

.mailbox-send-progress-log-entry.is-failed .mailbox-send-progress-log-badge {
  color: var(--color-error);
}

.mailbox-send-progress-log-entry.is-waiting .mailbox-send-progress-log-badge {
  color: var(--color-text-muted);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abschlussmeldung Versand in Success-Gruen */
.mailbox-send-progress-done {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-success-border);
  background: var(--color-success-bg);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-success-text);
}

.mailbox-send-progress-done[hidden] {
  display: none;
}

.mailbox-send-progress-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .mailbox-send-progress-metrics {
    grid-template-columns: 1fr;
  }

  .mailbox-send-progress-log-entry {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }

  .mailbox-send-progress-log-badge {
    grid-column: 2;
    justify-self: start;
  }
}
