/* Integration Collective — IC Wizard landing (pro-workspace.html) */
.pw-state { display: none; }
.pw-state.is-on { display: block; }

.pw-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.pw-panel h2 { font-size: 1.3rem; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.pw-panel p { color: var(--text-mid); line-height: 1.7; max-width: 520px; margin: 0 auto 18px; }
.pw-panel .pw-fine { font-size: 0.82rem; color: var(--text-dim); margin: 12px 0 0; }
.pw-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.pw-launch { font-size: 1rem; padding: 14px 26px; min-height: 48px; }
.pw-launch[disabled] { opacity: 0.6; cursor: wait; }

.pw-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}
.pw-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.pw-tile-icon { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; margin-top: 2px; }
.pw-tile-label { font-weight: 800; color: var(--text); margin-bottom: 3px; }
.pw-tile-desc { color: var(--text-mid); font-size: 0.9rem; line-height: 1.55; }
.pw-tier {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 7px;
}
.pw-tier-pro { color: #2563EB; background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.35); }

.pw-section-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  margin: 32px 0 4px;
}
.pw-section-sub { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 4px; }

@media (min-width: 640px) {
  .pw-tiles { grid-template-columns: 1fr 1fr; }
  .pw-panel { padding: 36px 32px; }
}
@media (min-width: 960px) {
  .pw-tiles { grid-template-columns: 1fr 1fr 1fr; }
}

/* IC Wizard inside the IC page: a stage that fills the window under the
   IC header and holds the app in a frame. */
.pw-stage { position: fixed; left: 0; right: 0; bottom: 0; top: var(--pw-top, 130px); z-index: 90; background: var(--w-bg, #fbfaf6); display: flex; flex-direction: column; margin: 0 !important; }
.pw-stage[hidden] { display: none; }
.pw-frame { flex: 1; width: 100%; min-height: 0; border: 0; display: block; background: var(--w-bg, #fbfaf6); }
.pw-stage-msg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 1; display: grid; place-items: center; background: var(--w-bg, #fbfaf6); font-weight: 700; font-size: 1.05rem; color: var(--text, #111827); }
.pw-stage-msg[hidden] { display: none; }
.pw-stage-help { position: absolute; left: 0; right: 0; top: calc(50% + 40px); z-index: 2; display: grid; justify-items: center; gap: 12px; color: var(--text-mid, #4b5563); }
.pw-stage-help[hidden] { display: none; }
html.pw-embedded, html.pw-embedded body { overflow: hidden; }
/* A one-line record of what the launch did, bottom-left of the stage, while the in-page
   version is being proven. Small and out of the way; it takes no clicks. */
.pw-stage-trail { position: absolute; left: 8px; bottom: 6px; z-index: 3; max-width: 70%; padding: 2px 8px; border-radius: 999px; background: rgba(17, 24, 39, 0.78); color: #fff; font: 500 11px/1.5 system-ui, sans-serif; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-stage-trail:empty { display: none; }
/* Shown over a blank frame when the app never reported in: what is in the way and how to get past it. */
.pw-stage-gate { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); z-index: 4; width: min(560px, calc(100% - 32px)); padding: 22px 24px; border-radius: 20px; border: 2px solid var(--w-line, #e3e0d8); background: #fff; box-shadow: 0 22px 40px rgba(17, 24, 39, 0.14); color: var(--text, #111827); line-height: 1.55; }
.pw-stage-gate[hidden] { display: none; }
.pw-stage-gate p { margin: 0 0 16px; }
.pw-stage-gate-btns { display: flex; gap: 12px; flex-wrap: wrap; }
