/* TD613 Safe Harbor Gen3 Temporal Bloom — presentation only; no threshold authority. */

.temporal-bloom-shell {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(174, 190, 205, 0.28);
  border-radius: 14px;
  background: rgba(7, 16, 24, 0.56);
  contain: layout paint;
}

.temporal-bloom-reassurance,
.temporal-bloom-recognition {
  margin: 0;
}

.temporal-bloom-reassurance {
  color: rgba(232, 238, 244, 0.82);
  font-size: 0.86rem;
  line-height: 1.45;
}

.temporal-bloom-recognition {
  color: #f5f7fa;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.temporal-bloom-line {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(164, 174, 184, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.temporal-bloom-line::after {
  content: '';
  position: absolute;
  inset: -2px auto -2px -30%;
  width: 42%;
  border-radius: inherit;
  opacity: 0.5;
  filter: blur(1px);
  animation: td613-temporal-travel 5.6s linear infinite;
}

.temporal-bloom-line[data-color='grey']::after {
  background: linear-gradient(90deg, transparent, rgba(194, 201, 208, 0.78), transparent);
}

.temporal-bloom-line[data-color='magenta'] {
  background: linear-gradient(90deg, rgba(150, 83, 143, 0.52), rgba(226, 110, 201, 0.9));
  box-shadow: 0 0 14px rgba(226, 110, 201, 0.2);
}

.temporal-bloom-line[data-color='magenta']::after {
  background: linear-gradient(90deg, transparent, rgba(255, 170, 235, 0.95), transparent);
}

.temporal-bloom-line[data-color='yellow'] {
  background: linear-gradient(90deg, rgba(226, 110, 201, 0.72), rgba(241, 209, 111, 0.94));
  box-shadow: 0 0 15px rgba(241, 209, 111, 0.22);
}

.temporal-bloom-line[data-color='yellow']::after {
  background: linear-gradient(90deg, transparent, rgba(255, 238, 162, 0.98), transparent);
}

.temporal-bloom-line[data-color='cyan'] {
  background: linear-gradient(90deg, rgba(226, 110, 201, 0.72), rgba(241, 209, 111, 0.88), rgba(120, 220, 232, 0.98));
  box-shadow: 0 0 18px rgba(120, 220, 232, 0.28);
}

.temporal-bloom-line[data-color='cyan']::after {
  background: linear-gradient(90deg, transparent, rgba(208, 251, 255, 0.98), transparent);
}

.temporal-bloom-shell[data-held='true'] {
  border-color: rgba(241, 209, 111, 0.62);
}

body:not([data-temporal-public='false']) #ingressProgressPill,
body:not([data-temporal-public='false']) .ingress-console-block {
  display: none !important;
}

body[data-temporal-public='false'] #ingressProgressPill,
body[data-temporal-public='false'] .ingress-console-block {
  display: revert;
}

#ingressContinue[hidden] {
  display: none !important;
}

.stage3-provenance-panel {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(120, 220, 232, 0.34);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 22, 31, 0.94), rgba(9, 16, 25, 0.92));
}

.stage3-provenance-panel[data-state='authority-reduced'],
.stage3-provenance-panel[data-state='export-hold'] {
  border-color: rgba(241, 174, 111, 0.72);
}

.stage3-provenance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.stage3-provenance-title {
  margin: 0.15rem 0 0;
  color: #f5f7fa;
  font-size: 1.05rem;
}

.stage3-shi {
  overflow-wrap: anywhere;
  color: #78dce8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.95rem, 2.2vw, 1.18rem);
  font-weight: 760;
}

.stage3-authority-grid {
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.85fr) minmax(12rem, 1.55fr);
  gap: 0.5rem 0.85rem;
}

.stage3-authority-grid dt {
  color: rgba(202, 214, 225, 0.74);
}

.stage3-authority-grid dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f5f7fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.stage3-authority-reduction,
.stage3-export-state,
.stage3-claim-ceiling {
  margin: 0;
  line-height: 1.5;
}

.stage3-authority-reduction {
  font-weight: 720;
}

.stage3-provenance-panel[data-state='authority-reduced'] .stage3-authority-reduction,
.stage3-provenance-panel[data-state='export-hold'] .stage3-export-state {
  color: #f1d16f;
}

.stage3-claim-ceiling {
  color: rgba(220, 229, 237, 0.78);
  font-size: 0.84rem;
}

#ingressStepInput {
  scroll-margin-block-end: max(30vh, 12rem);
}

@supports (-webkit-touch-callout: none) {
  #ingressStepInput {
    font-size: 16px;
    transform: translateZ(0);
  }
}

@media (max-width: 720px) {
  .temporal-bloom-shell {
    padding: 0.8rem;
  }

  .stage3-authority-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .stage3-authority-grid dd {
    margin-bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .temporal-bloom-line::after {
    animation: none !important;
    inset: 0;
    width: 100%;
    opacity: 0.26;
    filter: none;
  }

  .temporal-bloom-line,
  .temporal-bloom-shell,
  .stage3-provenance-panel {
    transition: none !important;
  }
}

@keyframes td613-temporal-travel {
  from { transform: translateX(0); }
  to { transform: translateX(330%); }
}
