/* İK HelpGuide + HelpTip — açıklamalı alanlar */
:root {
  --help-amber: #ea580c;
  --help-amber-soft: #fff7ed;
  --help-amber-border: #fdba74;
  --help-amber-ring: rgba(234, 88, 12, 0.28);
  --help-warn-bg: #fef2f2;
  --help-warn-border: #fecaca;
  --help-warn-text: #b91c1c;
  --help-card: #ffffff;
  --help-text: #334155;
  --help-muted: #64748b;
}

.help-guide-shell {
  margin: 0 0 18px;
}
.help-guide-shell.is-collapsed .help-guide-panel {
  display: none;
}
.help-guide-shell:not(.is-collapsed) .help-guide-minibar {
  display: none;
}
.help-guide-minibar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--help-amber-soft);
  border: 1px solid var(--help-amber-border);
}
.help-guide-minibar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--help-amber);
  line-height: 1.3;
}
.help-guide-toggle-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--help-amber);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 3px var(--help-amber-ring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.help-guide-toggle-btn:hover,
.help-guide-toggle-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.4);
}
.help-guide-panel {
  margin: 0;
}
.help-guide {
  padding: 18px 18px 14px;
  border-radius: 14px;
  background: var(--help-amber-soft);
  border: 1px solid var(--help-amber-border);
  color: var(--help-text);
  break-inside: avoid;
}
.help-guide.is-hidden { display: none !important; }
.help-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.help-guide-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.help-guide-bulb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.12);
  color: var(--help-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.help-guide-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--help-amber);
  line-height: 1.3;
}
.help-guide-intro {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--help-muted);
  line-height: 1.45;
}
.help-guide-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
}
.help-step {
  background: var(--help-card);
  border: 1px solid rgba(253, 186, 116, 0.55);
  border-radius: 12px;
  padding: 12px 12px 12px 14px;
}
.help-step-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.help-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--help-amber);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.help-step-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--help-amber);
}
.help-step-desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--help-text);
  line-height: 1.45;
}
.help-guide-example {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--help-text);
  line-height: 1.45;
}
.help-guide-example strong {
  color: var(--help-amber);
  font-weight: 800;
  margin-right: 4px;
}
.help-guide-warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--help-warn-bg);
  border: 1px solid var(--help-warn-border);
  color: var(--help-warn-text);
  font-size: 12.5px;
  line-height: 1.45;
}
.help-guide-warn i {
  margin-top: 2px;
  flex-shrink: 0;
}

.help-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 6px;
}
.help-tip-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--help-amber);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 3px var(--help-amber-ring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.help-tip-btn:hover,
.help-tip-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.4);
}
.help-tip-pop {
  display: none;
  position: absolute;
  z-index: 40;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 200px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
  text-align: left;
  white-space: normal;
}
.help-tip-pop::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #1e293b;
}
.help-tip.is-open .help-tip-pop { display: block; }
.help-tip-pop.align-left {
  left: 0;
  transform: none;
}
.help-tip-pop.align-left::before { left: 10px; }
.help-tip-pop.align-right {
  left: auto;
  right: 0;
  transform: none;
}
.help-tip-pop.align-right::before { left: auto; right: 10px; }

.help-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 720px) {
  .help-guide-steps { grid-template-columns: 1fr; }
  .help-tip-pop {
    left: 0;
    transform: none;
    min-width: 180px;
  }
  .help-tip-pop::before { left: 10px; }
}
