/* Admin Launch Guide / onboarding hub — extends admin-help (.ah-*) */

.asg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 10px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(var(--mint-rgb), 0.35);
  background: rgba(var(--mint-rgb), 0.08);
}

.asg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.asg-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.asg-phase-card {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.asg-phase-card:hover {
  border-color: rgba(var(--mint-rgb), 0.35);
  background: rgba(var(--mint-rgb), 0.06);
  transform: translateY(-1px);
}
.asg-phase-card__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.asg-phase-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.asg-phase-card__summary {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.asg-start-banner {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(var(--purple-rgb), 0.25);
  background: linear-gradient(135deg, rgba(var(--purple-rgb), 0.12) 0%, rgba(var(--mint-rgb), 0.06) 100%);
}
.asg-start-banner h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.asg-start-banner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.asg-template {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.asg-template__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) {
  .asg-template__row {
    grid-template-columns: 1fr;
  }
}
.asg-template__box {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.asg-template__box h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.asg-template__box ul {
  margin: 0;
  padding-left: 1.1rem;
}
.asg-template__box li + li {
  margin-top: 6px;
}

.asg-steps {
  margin: 12px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.asg-steps li + li {
  margin-top: 8px;
}
.asg-steps strong {
  color: var(--text);
}

.asg-callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(var(--mint-rgb), 0.22);
  background: rgba(var(--mint-rgb), 0.06);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.asg-callout__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  font-size: 0.88rem;
}
.asg-callout--mistake {
  border-color: rgba(var(--color-warning-rgb, 234, 179, 8), 0.35);
  background: rgba(var(--color-warning-rgb, 234, 179, 8), 0.08);
}

.asg-next {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--mint);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.asg-next strong {
  color: var(--text);
}

.asg-area-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}
.asg-area-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.asg-area-card .asg-area-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.asg-area-card p,
.asg-area-card ul {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 10px;
}
.asg-area-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}
.asg-area-card li + li {
  margin-top: 6px;
}
.asg-area-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.asg-check-section {
  margin-top: 12px;
}
.asg-check-section h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}
.asg-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asg-check-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.asg-check-list label:hover {
  border-color: rgba(var(--mint-rgb), 0.25);
  background: rgba(var(--mint-rgb), 0.04);
}
.asg-check-list input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--mint);
}
.asg-check-list .asg-check-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
}
.asg-check-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 10px;
}

.asg-footnote {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

body.theme-light .asg-phase-card,
body.theme-light .asg-template__box,
body.theme-light .asg-area-card,
body.theme-light .asg-check-list label {
  background: var(--field-bg, rgba(255, 255, 255, 0.98));
  border-color: var(--field-border, rgba(17, 24, 39, 0.1));
}

/* Live progress + quick start */
.asg-progress-mount,
.asg-quick-start-mount {
  margin-bottom: 16px;
}

.asg-progress-card {
  padding: 20px 22px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(var(--mint-rgb), 0.22);
  background: linear-gradient(145deg, rgba(var(--mint-rgb), 0.1) 0%, rgba(255, 255, 255, 0.03) 55%);
}
.asg-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.asg-progress-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.asg-progress-sub {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}
.asg-progress-pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint);
  border: 1px solid rgba(var(--mint-rgb), 0.35);
  background: rgba(var(--mint-rgb), 0.12);
}
.asg-progress-bar {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 16px;
}
.asg-progress-bar__fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--mint), var(--purple-soft, #a78bfa));
  transition: width 0.35s ease;
}
.asg-progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.asg-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  border: 1px solid transparent;
}
.asg-progress-row--done {
  color: var(--text);
  background: rgba(var(--mint-rgb), 0.06);
  border-color: rgba(var(--mint-rgb), 0.15);
}
.asg-progress-row__icon {
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
}
.asg-progress-row__icon--ok {
  color: var(--mint);
}
.asg-progress-row__label {
  flex: 1;
}
.asg-badge-manual {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(var(--purple-rgb), 0.2);
  color: var(--purple-soft, #c4b5fd);
}
.asg-progress-fallback {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(var(--color-warning-rgb, 234, 179, 8), 0.1);
  border: 1px solid rgba(var(--color-warning-rgb, 234, 179, 8), 0.25);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.asg-progress-hint {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}

.asg-quick-card {
  padding: 18px 20px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.asg-quick-head {
  margin-bottom: 12px;
}
.asg-quick-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.asg-quick-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.asg-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asg-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.asg-quick-link:hover {
  border-color: rgba(var(--mint-rgb), 0.35);
  background: rgba(var(--mint-rgb), 0.06);
  transform: translateY(-1px);
}
.asg-quick-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(var(--mint-rgb), 0.15);
  color: var(--mint);
  flex-shrink: 0;
}
.asg-quick-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.asg-quick-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.asg-quick-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}
.asg-quick-chevron {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 1rem;
}
.asg-quick-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--mint-rgb), 0.2);
  color: var(--mint);
  flex-shrink: 0;
  font-size: 0.85rem;
}
.asg-quick-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.asg-phase--next {
  position: relative;
  border-radius: var(--radius-lg, 14px);
  outline: 2px solid rgba(var(--mint-rgb), 0.45);
  outline-offset: 4px;
}
.asg-phase--has-gaps:not(.asg-phase--next) {
  border-left: 3px solid rgba(var(--color-warning-rgb, 234, 179, 8), 0.55);
  padding-left: 4px;
  margin-left: -4px;
}
.asg-phase .ah-section-h h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.asg-recommended-badge {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(var(--mint-rgb), 0.2);
  color: var(--mint);
  border: 1px solid rgba(var(--mint-rgb), 0.35);
}

.asg-next-actions {
  margin-top: 10px;
}

.asg-core-manual {
  margin: 16px 0 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(var(--purple-rgb), 0.22);
  background: rgba(var(--purple-rgb), 0.06);
}
.asg-core-manual h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.asg-core-manual__hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.asg-core-manual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.asg-core-manual-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  cursor: pointer;
  color: var(--muted);
}
.asg-core-manual-list input {
  width: 17px;
  height: 17px;
  accent-color: var(--mint);
  flex-shrink: 0;
}
.asg-core-manual-list input:disabled {
  opacity: 0.55;
  cursor: default;
}
.asg-core-manual-list strong {
  color: var(--text);
}

.asg-check-list label.asg-check-row--live-done {
  border-color: rgba(var(--mint-rgb), 0.28);
  background: rgba(var(--mint-rgb), 0.05);
}
.asg-check-list label.asg-check-row--server-locked {
  cursor: default;
}

body.theme-light .asg-progress-card,
body.theme-light .asg-quick-card,
body.theme-light .asg-core-manual {
  background: var(--field-bg, #fff);
  border-color: var(--field-border, rgba(17, 24, 39, 0.12));
}
body.theme-light .asg-quick-link {
  background: rgba(0, 0, 0, 0.02);
  border-color: var(--field-border, rgba(17, 24, 39, 0.1));
}
