/* Outside the horizontal scroller: the action stays at the viewport's right edge. */
#weekStatusContainer.week-publication-bar {
  --publication-color:#94a3b8;
  display:flex; flex-direction:row !important; align-items:center !important;
  justify-content:space-between !important; gap:10px !important; flex-wrap:nowrap;
  position:relative; min-width:0; margin:10px 0 0; padding:9px 0 11px;
  background:transparent !important; border:0; border-radius:0;
  color:#64748b;
}
#weekStatusContainer.week-publication-bar::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  border-radius:3px; background:var(--publication-color);
}
#weekStatusContainer[data-publication-state="pub"] { --publication-color:#22c55e; color:#15803d; }
#weekStatusContainer[data-publication-state="changes"] { --publication-color:#f59e0b; color:#9a3412; }
#weekStatusContainer[data-publication-state="draft"] { --publication-color:#0ea5e9; color:#0369a1; }
#weekStatusContainer #weekStatusBadge {
  display:flex; align-items:center; gap:6px; flex:1 1 auto; min-width:0;
  width:auto !important; height:auto !important; min-height:0; padding:0 !important;
  border:0; border-radius:0 !important; background:transparent !important; color:inherit !important;
  font-size:12px; font-weight:600; text-align:left; white-space:normal;
}
#weekStatusContainer #weekStatusBadge .wk-text { display:inline; }
#weekStatusContainer #weekStatusBadge .wk-dot { display:none; }
#weekStatusContainer #publishWeekBtn {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  width:auto !important; height:auto !important; min-height:42px; min-width:0;
  margin-left:auto; padding:9px 13px !important; gap:7px; border-radius:12px !important;
  background:#c2410c; color:#fff; border:1px solid #ea580c;
  box-shadow:0 3px 12px #c2410c26; font-size:14px; font-weight:700; white-space:nowrap;
}
#weekStatusContainer #publishWeekBtn .btn-txt { display:inline; }
#weekStatusContainer #publishWeekBtn .btn-ico { font-size:18px; line-height:1; }
#weekStatusContainer #publishWeekBtn .publication-count {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:25px; height:25px; padding:0 6px; border-radius:8px;
  background:#fff; color:#9a3412; font-variant-numeric:tabular-nums; box-sizing:border-box;
}
#weekStatusContainer #publishWeekBtn:disabled {
  background:#e2e8f0; color:#64748b; border-color:#cbd5e1; box-shadow:none; opacity:1; cursor:default;
}
#weekStatusContainer #publishWeekBtn:disabled .publication-count { background:#f8fafc; color:#64748b; }
#weekStatusContainer #publishWeekBtn:focus-visible { outline:3px solid #fb923c; outline-offset:3px; }
.wsbp-standard-options { margin:12px 0; padding:10px 0; border-top:1px solid #94a3b844; }
.wsbp-standard-options summary { cursor:pointer; font-size:13px; font-weight:600; }
.wsbp-standard-options p { margin:8px 0; }
.wsbp-standard-options button { max-width:100%; white-space:normal; }
html.zr-soft-dark #weekStatusContainer { color:#cbd5e1; }
html.zr-soft-dark #weekStatusContainer[data-publication-state="pub"] { color:#86efac; }
html.zr-soft-dark #weekStatusContainer[data-publication-state="changes"] { color:#fdba74; }
html.zr-soft-dark #weekStatusContainer[data-publication-state="draft"] { color:#7dd3fc; }
html.zr-soft-dark #weekStatusContainer #publishWeekBtn:disabled { background:#263449; color:#aebbd0; border-color:#475569; }
html.zr-soft-dark #weekStatusContainer #publishWeekBtn:disabled .publication-count { background:#1e293b; color:#cbd5e1; }
@media(max-width:380px) {
  #weekStatusContainer.week-publication-bar { gap:6px !important; }
  #weekStatusContainer #weekStatusBadge { font-size:11px; }
  #weekStatusContainer #publishWeekBtn { font-size:12px; padding:8px 10px !important; gap:5px; }
}
