/* Assistance pop-up and its icon in the top bar.
   Two font sizes only: heading (1rem) and body (0.85rem). No boxes, dividers or bullets. */

.topbar-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1a3a5c;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.topbar-help-btn:hover {
  background: #fff;
}

.assistance-card {
  max-width: 520px;
  max-height: 86vh;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #333;
}

.assistance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.assistance-card h3,
.assistance-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #1a3a5c;
}

.assistance-card h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
}

.assistance-card p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}

.assistance-card a {
  color: #1a3a5c;
  font-weight: 600;
}

.assistance-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

.doc-link {
  margin-left: 0.4rem;
}

.calc-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.popup-card .calc-row label {
  display: inline;
  margin: 0;
  font-size: 0.85rem;
  color: #333;
}

.popup-card input.calc-input {
  width: 80px;
  padding: 0.25rem 0.35rem;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.85rem;
}

.popup-card input.calc-wide {
  width: 170px;
}

/* Copy: two overlapping squares */
.calc-copy {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border: none;
  background: none;
  color: #1a3a5c;
  cursor: pointer;
}

.calc-copy svg {
  fill: #fff;
  stroke: currentColor;
  stroke-width: 1.4;
}

.calc-copy:hover {
  color: #2a5a8c;
}

.calc-copy.copied {
  color: #16a34a;
}

@media (max-width: 768px) {
  .assistance-card {
    min-width: 0;
  }
}
