/* OMSW-Designsystem – Komponenten des Post Managers (Navy, quadratisch, feine Linien). */
.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.badge.draft     { background: #F0F0F0; color: #5A5A5A; }
.badge.review    { background: #FBF3E3; color: #C0872D; }
.badge.approved  { background: #E8EDF5; color: #1F3864; }
.badge.scheduled { background: #E8EDF5; color: #2A4A82; }
.badge.published { background: #1F3864; color: #fff; }
.badge.failed    { background: #F7E4E1; color: #B0442F; }

.variant {
  border: 1px solid #E5E5E5;
  border-radius: 2px;
  padding: 8px;
  margin-bottom: 6px;
  background: #fff;
}
.variant.active { border-color: #1F3864; box-shadow: 0 0 0 2px #E8EDF5 inset; }

textarea {
  width: 100%;
  min-height: 120px;
  line-height: 1.5;
}

.btn-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

button.ghost { background: #fff; color: #1F3864; border: 1px solid #1F3864; }
button.ghost:hover { background: #E8EDF5; }
button.warn  { background: #B0442F; border-color: #B0442F; }
button.warn:hover { background: #93331f; border-color: #93331f; }
button.tiny  { padding: 6px 12px; font-size: 12px; }
button.filter-btn.active { background: #1F3864; color: #fff; border-color: #1F3864; }
input.bulk-select { transform: scale(1.15); margin-right: 2px; cursor: pointer; }

.flash {
  background: #F7F8FA;
  border: 1px solid #E5E5E5;
  border-left: 3px solid #1F3864;
  border-radius: 2px;
  padding: 11px 14px;
  color: #4A4A4A;
  font-size: 13px;
}

.meta { font-size: 12px; color: #5A5A5A; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

details.help summary { cursor: pointer; font-weight: 600; color: #5A5A5A; }
a.linkbtn {
  display: inline-block; text-decoration: none; background: #1F3864;
  color: #fff; padding: 8px 14px; border-radius: 2px; font-size: 13px; letter-spacing: .3px;
}
a.linkbtn:hover { background: #2A4A82; color: #fff; text-decoration: none; }
.count { font-size: 12px; color: #5A5A5A; }
.count.over { color: #B0442F; font-weight: 700; }

/* Redaktionskalender */
table.cal { width: 100%; border-collapse: collapse; margin-top: 12px; table-layout: fixed; }
table.cal th {
  font-size: 11px; color: #5A5A5A; text-transform: uppercase; letter-spacing: .5px;
  text-align: left; padding: 5px 6px; border-bottom: 1px solid #CCCCCC;
}
table.cal td {
  border: 1px solid #E5E5E5; vertical-align: top; height: 96px; padding: 4px;
  width: 14.28%;
}
table.cal td.out { background: #F7F8FA; }
table.cal td.today { box-shadow: 0 0 0 2px #1F3864 inset; }
table.cal td.out .daynum { color: #BFBFBF; }
.daynum { font-size: 12px; font-weight: 700; color: #5A5A5A; margin-bottom: 3px; }
a.calpost {
  display: block; font-size: 11px; line-height: 1.25; text-decoration: none;
  color: #1A1A1A; background: #F0F0F0; border-left: 3px solid #CCCCCC;
  border-radius: 2px; padding: 2px 4px; margin-bottom: 3px; overflow: hidden;
}
a.calpost.scheduled { background: #E8EDF5; border-left-color: #2A4A82; }
a.calpost.published { background: #1F3864; border-left-color: #1F3864; color: #fff; }
a.calpost.failed    { background: #F7E4E1; border-left-color: #B0442F; }

@media (max-width: 800px) {
  table.cal td { height: 70px; font-size: 10px; }
}
