.bt-page {
  --bt-accent: var(--green-800);
}

.bt-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bt-hero {
  padding: var(--s-7) 0 var(--s-6);
}

.bt-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.bt-crumbs li + li::before {
  content: "/";
  margin-right: var(--s-2);
  color: var(--line-strong);
}

.bt-crumbs a {
  text-decoration: underline;
  text-decoration-color: var(--green-200);
  text-underline-offset: 3px;
}

.bt-crumbs a:hover {
  color: var(--green-800);
  text-decoration-color: currentColor;
}

.bt-hero h1 {
  margin-top: var(--s-4);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
}

.bt-lead {
  max-width: 680px;
  margin-top: var(--s-3);
  font-size: 1.125rem;
  color: var(--ink-muted);
}

.bt-byline {
  margin-top: var(--s-3);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.bt-byline a {
  font-weight: 600;
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--green-200);
  text-underline-offset: 3px;
}

.bt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-4);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-800);
}

.bt-trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.bt-trust .bt-icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-100);
}

.bt-tool {
  padding-bottom: var(--s-9);
}

.bt-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.bt-card-pad {
  padding: var(--s-5);
}

.bt-panel-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--green-800);
}

.bt-meta {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.bt-field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.bt-label {
  display: block;
  margin-bottom: var(--s-2);
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.bt-hint {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.bt-input,
.bt-select {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
}

textarea.bt-input {
  min-height: 84px;
  padding: var(--s-2) var(--s-3);
  resize: vertical;
}

.bt-input:focus-visible,
.bt-select:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 1px;
  border-radius: var(--r-md);
}

.bt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bt-chip {
  position: relative;
  display: inline-flex;
}

.bt-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.bt-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--white);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.bt-chip:hover span {
  border-color: var(--green-500);
  color: var(--green-800);
}

.bt-chip input:checked + span {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.bt-chip input:focus-visible + span,
.bt-switch input:focus-visible + .bt-switch-track {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

.bt-switch {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--sage-50);
  cursor: pointer;
}

.bt-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.bt-switch-track {
  position: relative;
  width: 40px;
  height: 24px;
  margin-top: 2px;
  border-radius: var(--r-full);
  background: var(--line-strong);
  transition: background-color var(--t-fast) var(--ease);
}

.bt-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}

.bt-switch input:checked + .bt-switch-track {
  background: var(--green-800);
}

.bt-switch input:checked + .bt-switch-track::after {
  transform: translateX(16px);
}

.bt-switch-text {
  display: grid;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.bt-switch-text strong {
  font-size: 0.9375rem;
  color: var(--ink);
}

.bt-stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: var(--s-2);
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
}

.bt-stepper input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--green-800);
  text-align: center;
  -moz-appearance: textfield;
}

.bt-stepper input::-webkit-inner-spin-button,
.bt-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bt-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--green-100);
  color: var(--green-800);
}

.bt-step-btn:hover:not(:disabled) {
  background: var(--green-200);
}

.bt-step-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-800);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.bt-btn:hover:not(:disabled) {
  border-color: var(--green-800);
  background: var(--green-50);
}

.bt-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bt-btn-quiet {
  border-color: transparent;
  color: var(--ink-muted);
}

.bt-link-btn {
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-color: var(--green-200);
  text-underline-offset: 3px;
}

.bt-link-btn:hover {
  text-decoration-color: currentColor;
}

.bt-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-muted);
}

.bt-icon-btn:hover:not(:disabled) {
  background: var(--green-100);
  color: var(--green-800);
}

.bt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.bt-status-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 32px;
  margin-top: var(--s-3);
}

.bt-status {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success-600);
}

.bt-empty {
  padding: var(--s-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  text-align: center;
  color: var(--ink-muted);
}

.bt-note {
  padding: var(--s-3) var(--s-4);
  border-left: 4px solid var(--yellow-500);
  border-radius: var(--r-sm);
  background: var(--yellow-50);
  font-size: 0.9375rem;
  color: var(--ink);
}

.bt-content {
  padding: var(--s-9) 0 var(--s-10);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.bt-prose {
  max-width: 808px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.bt-prose > * + * {
  margin-top: var(--s-4);
}

.bt-prose h2 {
  margin-top: var(--s-8);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.bt-prose h3 {
  margin-top: var(--s-6);
  font-size: 1.1875rem;
}

.bt-prose ol,
.bt-prose ul {
  padding-left: 1.4em;
}

.bt-prose ol {
  list-style: decimal;
}

.bt-prose ul {
  list-style: disc;
}

.bt-prose li + li {
  margin-top: var(--s-2);
}

.bt-prose li::marker {
  color: var(--green-500);
  font-weight: 600;
}

.bt-prose a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green-300);
  text-underline-offset: 3px;
}

.bt-prose a:hover {
  text-decoration-color: currentColor;
}

.bt-prose strong {
  color: var(--green-900);
}

.bt-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.bt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.bt-prose th,
.bt-prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.bt-prose thead th {
  background: var(--sage-100);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-800);
}

.bt-prose tbody tr:last-child td {
  border-bottom: 0;
}

.bt-faq {
  border-top: 1px solid var(--line);
}

.bt-faq details {
  border-bottom: 1px solid var(--line);
}

.bt-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
  padding: var(--s-3) 0;
  cursor: pointer;
  list-style: none;
}

.bt-faq summary::-webkit-details-marker {
  display: none;
}

.bt-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--green-800);
  border-bottom: 2px solid var(--green-800);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--t-med) var(--ease);
}

.bt-faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.bt-faq summary h3 {
  margin: 0;
  font-size: 1.125rem;
}

.bt-faq details p {
  padding-bottom: var(--s-4);
  color: var(--ink-muted);
}

.bt-page [hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .bt-hero {
    padding-top: var(--s-5);
  }

  .bt-card-pad {
    padding: var(--s-4);
  }

  .bt-actions .bt-btn {
    flex: 1 1 auto;
  }

  .bt-content {
    padding: var(--s-8) 0;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .bt-hero,
  .bt-content,
  .bt-noprint {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .bt-tool {
    padding: 0;
  }

  .bt-tool .container {
    max-width: none;
    padding: 0;
  }
}
