.rpt-tool {
  --rpt-primary: var(--global-palette1, #3563ff);
  --rpt-heading: var(--global-palette3, #12213f);
  --rpt-body: var(--global-palette4, #667085);
  --rpt-line: #e7eaf3;
  --rpt-soft: #f6f8ff;
  max-width: 820px;
  margin: 48px auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--rpt-line);
  border-radius: 20px;
  background: #fff;
  color: var(--rpt-heading);
}
.rpt-tool h2 { margin: 0 0 10px; color: var(--rpt-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; }
.rpt-tool > p { margin: 0; color: var(--rpt-body); }
.rpt-progress { height: 9px; margin: 22px 0 8px; overflow: hidden; border-radius: 99px; background: #e9edfa; }
.rpt-progress i { display: block; width: 0; height: 100%; background: var(--rpt-primary); transition: width .2s ease; }
.rpt-count { font-size: .9rem; }
.rpt-list { max-height: 620px; margin-top: 22px; overflow: auto; border-top: 1px solid var(--rpt-line); }
.rpt-question { display: flex; gap: 12px; align-items: flex-start; padding: 15px 3px; border-bottom: 1px solid var(--rpt-line); color: var(--rpt-heading); }
.rpt-question input { flex: 0 0 auto; margin-top: 6px; accent-color: var(--rpt-primary); }
.rpt-button { margin-top: 24px; padding: 14px 22px; border: 0; border-radius: 12px; background: var(--rpt-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rpt-button:hover, .rpt-button:focus-visible { filter: brightness(.92); }
.rpt-result { display: none; margin-top: 24px; padding: 22px; border-radius: 16px; background: var(--rpt-soft); text-align: center; }
.rpt-result strong { display: block; margin: 8px; color: var(--rpt-primary); font-size: 3rem; line-height: 1; }
.rpt-input { display: block; width: 100%; margin: 12px 0; padding: 13px 15px; border: 1px solid #d9deef; border-radius: 10px; color: var(--rpt-heading); font: inherit; }
.rpt-prompt { display: grid; min-height: 90px; margin-top: 22px; padding: 25px; place-items: center; border-radius: 14px; background: var(--rpt-soft); color: var(--rpt-heading); font-size: 1.15rem; font-weight: 700; text-align: center; }
.rpt-tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.rpt-tool-actions .rpt-button { margin-top: 0; }
.rpt-copy-button { background: var(--rpt-heading); }
.rpt-copy-button:disabled { cursor: not-allowed; opacity: .55; }
.rpt-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rpt-share .rpt-button { margin-top: 6px; text-decoration: none; }
.rpt-share .rpt-button--alt { background: var(--rpt-heading); }
@media (max-width: 600px) { .rpt-tool { margin: 32px auto; } .rpt-result strong { font-size: 2.5rem; } }
