/* Local software overlay — GriGsi Transcribe */
body.tx-soft-open { overflow: hidden; }
.tx-soft-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(12, 40, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tx-soft-overlay.hidden { display: none; }
.tx-soft-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  position: relative;
}
.tx-soft-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}
.tx-soft-close:hover { color: #333; }
.tx-soft-heading {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #2d6a4f;
  font-weight: 800;
  padding-right: 28px;
}
.tx-soft-platforms { display: flex; flex-direction: column; gap: 10px; }
.tx-soft-plat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid #b7e4c7;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1b4332;
  background: #f1faf4;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.tx-soft-plat:hover:not(:disabled) { border-color: #40916c; background: #d8f3dc; }
.tx-soft-plat i { color: #2d6a4f; font-size: 0.85rem; }
.tx-soft-plat:disabled { opacity: 0.55; cursor: not-allowed; color: #888; }
.tx-soft-download-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 16px;
  padding: 20px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 24px rgba(64, 145, 108, 0.35);
  cursor: pointer;
  line-height: 1.35;
}
.tx-soft-download-hero:hover { filter: brightness(1.08); color: #fff; }
.tx-soft-download-meta {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}
.tx-soft-download-meta p { margin: 0 0 8px; }
.tx-soft-file { color: #2d6a4f; font-weight: 600; }
.tx-soft-back {
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.tx-soft-back:hover { background: #f5f5f5; }
.tx-soft-step.hidden { display: none; }
.tx-soft-open-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 700;
  color: #2d6a4f;
}

.page-transcribe .tx-local-soft-btn {
  border: 1px solid rgba(76, 175, 130, 0.45);
  background: rgba(76, 175, 130, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.page-transcribe .tx-local-soft-btn:hover {
  background: rgba(76, 175, 130, 0.28);
}
