/* 華新儀錶文管中心｜會議討論版（唯讀） — labelling of the READ-ONLY discussion build only. */
#discuss-banner {
  position: sticky; top: 0; z-index: 1000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 8px 16px; box-sizing: border-box; width: 100%;
  background: repeating-linear-gradient(135deg, #fff3c4 0 18px, #ffe8a3 18px 36px);
  color: #3d2a00; border-bottom: 2px solid #b7791f; font-size: 14px; line-height: 1.5;
}
#discuss-banner .db-title { font-size: 15px; color: #7a3e00; white-space: nowrap; }
#discuss-banner .db-text { flex: 1 1 260px; min-width: 0; }
#discuss-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
#discuss-panel .discuss-label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#discuss-panel select { min-height: 36px; max-width: 100%; font-size: 14px; }
#discuss-panel button { min-height: 36px; padding: 4px 14px; font-size: 14px; cursor: pointer; }
#discuss-panel .discuss-status { font-size: 13px; color: #5c4400; }
.discuss-badge { background: #b7791f !important; color: #fff !important; }
@media (max-width: 640px) {
  /* phones: the banner scrolls away (the header badge and the page title stay) */
  #discuss-banner { position: static; padding: 8px 12px; font-size: 13px; }
  #discuss-panel { width: 100%; }
  #discuss-panel .discuss-label { width: 100%; white-space: normal; }
  #discuss-panel select { flex: 1 1 auto; min-width: 0; width: 100%; }
}
/* print preview = exactly the case center's print layout (A4, pagination, 華新儀錶 watermark): the banner is not printed */
@media print {
  #discuss-banner { display: none !important; }
}
