/* tool.css — tool.html */
header {
  background: white;
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header a { color: var(--teal-hover); text-decoration: none; font-weight: 700; font-size: 22px; }
.container { max-width: 700px; margin: 0 auto; padding: 32px 24px; }
h1 { font-size: 28px; margin: 0 0 8px; }
.subtitle { color: var(--slate-500); margin: 0 0 24px; }

.progress { margin-top: 16px; text-align: center; color: var(--slate-700); }
.spinner { border: 3px solid var(--slate-200); border-top-color: var(--teal); border-radius: 50%; width: 32px; height: 32px; animation: spin .8s linear infinite; margin: 12px auto; }

.result { background: #ECFDF5; border: 1px solid #6EE7B7; border-radius: var(--radius); padding: 20px; margin-top: 16px; text-align: center; }
.result a { display: inline-block; background: var(--teal-hover); color: white; padding: 12px 24px; border-radius: var(--radius-sm); text-decoration: none; margin-top: 8px; font-weight: 600; }

button.primary {
  background: var(--teal);
  color: white;
  border: 0;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  transition: background .15s;
}
button.primary:hover { background: var(--teal-hover); }
button.primary:disabled { background: var(--slate-200); cursor: not-allowed; color: var(--slate-500); }

.tool-info { margin-top: 48px; border-top: 1px solid var(--slate-200); padding-top: 40px; display: none; }
.info-block { margin-bottom: 36px; }
.info-block h2 { font-size: 19px; font-weight: 700; color: var(--slate-900); margin: 0 0 14px; }
.info-block p { color: var(--slate-700); margin: 0 0 12px; line-height: 1.75; font-size: 15px; }
