/* Local software overlay — GriGsi Card */
body.gc-soft-open { overflow: hidden; }
.gc-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;
}
.gc-soft-overlay.hidden { display: none; }
.gc-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;
}
.gc-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;
}
.gc-soft-close:hover { color: #333; }
.gc-soft-heading {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #0d6b78;
  font-weight: 800;
  padding-right: 28px;
}
.gc-soft-platforms { display: flex; flex-direction: column; gap: 10px; }
.gc-soft-plat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid #c8e8ec;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #0d6b78;
  background: #f4fcfd;
  cursor: pointer;
  text-align: left;
}
.gc-soft-plat:hover:not(:disabled) { border-color: #1a8a9a; background: #e8f6f8; }
.gc-soft-plat i { color: #0d6b78; font-size: 0.85rem; }
.gc-soft-plat:disabled { opacity: 0.55; cursor: not-allowed; color: #888; }
.gc-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, #0d6b78 0%, #1a8a9a 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 138, 154, 0.35);
  cursor: pointer;
  line-height: 1.35;
}
.gc-soft-download-hero:hover { filter: brightness(1.08); color: #fff; }
.gc-soft-download-meta {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}
.gc-soft-download-meta p { margin: 0 0 8px; }
.gc-soft-file { color: #0d6b78; font-weight: 600; }
.gc-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;
}
.gc-soft-back:hover { background: #f5f5f5; }
.gc-soft-step.hidden { display: none; }

.home-quick-card--with-soft {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 4px !important;
  padding-bottom: 8px !important;
}
.home-quick-card--card .home-quick-soft-btn {
  border-color: rgba(26, 138, 154, 0.35);
  background: linear-gradient(180deg, #f4fcfd 0%, #e0f4f7 100%);
  color: #0d6b78;
}
.home-quick-card--card .home-quick-soft-btn:hover {
  background: #d4eef2;
  border-color: #1a8a9a;
}
