/* Audit Intelligence Platform — Test-fill bar + "Next step" line (trial version)
   Loaded only on the five cycle pages (universe, risk register, engagement, dashboard, follow-up).
   Hidden in print. Remove or update with the trial notice at Gate 1. */
.tf-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px dashed var(--border-focus, #94a3b8);
  border-radius: var(--radius, 10px);
  background: var(--info-bg, #eff6ff);
}
.tf-bar[hidden] { display: none; }
.tf-note { color: var(--text-secondary, #334155); }
.tf-msg { flex-basis: 100%; margin: 0; color: var(--info-text, #1e40af); }
.tf-msg:empty { display: none; }
.tf-msg.is-missing { color: var(--warning-text, #7c2d12); font-weight: 700; }

.tf-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid #93c5fd;
  border-inline-start-width: 4px;
  border-radius: 8px;
  background: var(--info-bg, #eff6ff);
  color: var(--info-text, #1e40af);
  overflow-wrap: anywhere;
}
.tf-next > .bi-inline { flex: 1 1 16rem; }
.tf-next-link { flex-shrink: 0; }

/* Messages: Arabic over English (no dangling «/» when the line wraps) */
.tf-msg .bi-inline, .tf-next > .bi-inline { display: flex; flex-direction: column; gap: 2px; }
.tf-msg .bi-sep, .tf-next > .bi-inline > .bi-sep { display: none; }

@media (max-width: 480px) {
  .tf-note { display: none; }
  .tf-next { padding: 8px 10px; margin-bottom: 12px; }
}

@media print {
  .tf-bar, .tf-next { display: none !important; }
}
