/* 20261118-toolspage: Tools page layout and shared login gate. */
.tools-signin {
  background: #eef1f5;
  border-bottom: 3px solid #C8992F;
}
.tools-signin .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 0;
}
.tools-signin p {
  margin: 0;
  max-width: 46rem;
  color: #113458;
  font-weight: 600;
}
.tools-signin[hidden] { display: none !important; }

.tool-section {
  position: relative;
}
.tool-section .tool-intro {
  margin: 0 0 16px;
}
.tool-section .tool-body {
  position: relative;
  min-height: 8rem;
}
.tool-soon {
  margin: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-left: 4px solid #C8992F;
  border-radius: 8px;
  color: #113458;
  font-weight: 600;
}

/* Reusable lock: covers the interactive tool body, leaves the heading and description visible. */
.tool-lock {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.tool-section.is-locked .tool-lock { display: flex; }
.tool-lock p {
  margin: 0 0 14px;
  font-weight: 700;
  color: #113458;
}
.tool-section.is-locked .tool-body {
  pointer-events: none;
  user-select: none;
  filter: grayscale(.15);
}
.tool-section.is-locked .tool-lock { pointer-events: auto; }

@media print {
  .tools-signin, .tool-lock { display: none !important; }
}

/* 20261118-nhtsatools: lock overlay covers only the tool body, not the heading. */
.tool-work { position: relative; }
.tool-work > .tool-lock { position: absolute; inset: 0; }
