/* Duty/activity chrome — rules reused from Rev8 folder-flow.css header block only. */
.brand-logo-plate {
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.logo,
.topbar-logo {
  display: block;
  aspect-ratio: auto !important;
  width: auto !important;
  max-width: none !important;
  height: 48px !important;
  object-fit: contain !important;
  object-position: center;
  background: #ffffff;
}
.topbar-logo {
  height: 36px !important;
  padding: 2px 4px;
  border-radius: 6px;
  background: #f7f5ec;
}
.ff-header-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  flex-wrap: wrap;
}
.ff-duty-clock,
.ff-work-status {
  font-size: 0.75rem;
  color: #24352e;
  background: #f7f5ec;
  border: 1px solid #d6b15b;
  border-radius: 4px;
  padding: 0.25rem 0.45rem;
  white-space: nowrap;
}
.ff-work-status { color: #173f35; font-weight: 600; }

.header-date,
#header-date {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #173f35;
  white-space: nowrap;
  line-height: 1.25;
  max-width: min(42vw, 22rem);
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
}
.header-date--ist,
#header-date.header-date--ist {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

@media (max-width: 720px) {
  .ff-header-chrome {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
  }
  .ff-duty-clock { font-size: 0.65rem; }
  .header-date,
  #header-date {
    display: block !important;
    font-size: 12px;
    max-width: min(70vw, 18rem);
    white-space: normal;
    line-height: 1.3;
  }
}
