.seller-tool { background: var(--tchb-cream); }
.seller-tool [hidden] { display: none; }
.seller-tool__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tchb-navy-950);
  color: white;
  padding: clamp(32px, 4vw, 62px) 0;
}
.seller-tool__photo {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  width: 53%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.seller-tool__hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--tchb-navy-950) 45%, rgba(0,0,70,.87) 62%, rgba(0,0,60,.18) 100%);
}
.seller-tool__hero .tchb-eyebrow { color: #a6e9b6; margin: 0 0 12px; }
.seller-tool__hero h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.35rem);
  color: white;
  max-width: 21ch;
  margin: 0 0 15px;
}
.seller-tool__hero p:last-child { max-width: 58ch; margin: 0; line-height: 1.5; }
.seller-tool__work {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(30px, 6vw, 92px);
  padding-block: clamp(30px, 4vw, 58px);
}
.seller-tool__work h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); margin: 0 0 12px; }
.seller-tool__editor > p { line-height: 1.5; margin: 0 0 18px; }
.seller-tool__editor .seller-tool__hint {
  font-size: .92rem; border-left: 3px solid var(--tchb-green-800);
  padding: 5px 0 5px 13px; color: #475668;
}
.seller-tool__cost-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.seller-tool__editor label { display: block; color: var(--tchb-navy-950); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.seller-tool__money {
  display: flex; align-items: center; gap: 6px; margin-top: 5px; padding: 0 12px;
  min-height: 48px; background: white; border: 1px solid #99a7b0; border-radius: 8px;
  font-weight: 500; color: var(--tchb-muted);
}
.seller-tool__money:focus-within { outline: 2px solid var(--tchb-green-800); outline-offset: 2px; }
.seller-tool__money:has([aria-invalid="true"]) { border-color: #9c2531; }
.seller-tool__money span { white-space: nowrap; }
.seller-tool__money span:last-child { font-size: .85rem; }
.seller-tool__money input[type="number"] {
  flex: 1; width: 0; min-width: 0; padding: 8px 0; margin: 0; min-height: 46px;
  border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent;
  color: var(--tchb-ink); font: inherit; font-size: 1.05rem; appearance: textfield;
}
.seller-tool__money input::-webkit-inner-spin-button { -webkit-appearance: none; }
.seller-tool__plan-fields textarea {
  display: block; width: 100%; min-height: 74px; resize: vertical; margin: 6px 0 16px;
  padding: 10px 13px; font: inherit; font-size: 1rem; line-height: 1.45;
  border-radius: 8px; border: 1px solid #99a7b0; background: white; color: var(--tchb-ink);
}
.seller-tool__plan-fields textarea::placeholder { color: #646e79; }
.seller-tool__sheet {
  background: white; border: 1px solid var(--tchb-line); border-top: 4px solid var(--tchb-green-action);
  padding: clamp(20px, 2.7vw, 38px); border-radius: 5px 5px 18px 18px;
  box-shadow: 0 12px 30px rgb(0 0 70 / 6%); overflow-wrap: anywhere;
}
.seller-tool__sheet h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.seller-tool__sheet dl { margin: 18px 0 12px; }
.seller-tool__sheet dl div { border-top: 1px solid var(--tchb-line); padding: 11px 0; }
.seller-tool__sheet dt { font-weight: 700; }
.seller-tool__sheet dd { margin: 0; }
.seller-tool__totals div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.seller-tool__totals dd { color: var(--tchb-navy-900); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.seller-tool__groups dt { color: var(--tchb-green-800); font-size: .92rem; }
.seller-tool__groups dd { line-height: 1.45; }
.seller-tool__sheet p { margin: 0 0 8px; line-height: 1.45; }
.seller-tool__fine { color: var(--tchb-muted); font-size: .91rem; }
.seller-tool__print-brand, .seller-tool__print-bills, .seller-tool__share-contact { display: none; }
.seller-tool__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.seller-tool__actions button {
  color: var(--tchb-green-800); background: transparent; border: 0; padding: 2px 0;
  min-height: 44px; font: inherit; font-size: .94rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.seller-tool__actions button:disabled { color: #68737c; cursor: default; text-decoration: none; }
.seller-tool__offer { padding: 20px 2px 0; }
.seller-tool__offer p { margin: 0 0 10px; font-weight: 600; line-height: 1.45; }
.seller-tool__related { padding-block: 20px 32px; border-top: 1px solid var(--tchb-line); font-size: .94rem; }
.seller-tool__related a { margin-left: 7px; font-weight: 700; }
@media (max-width: 760px) {
  .seller-tool__photo { width: 100%; opacity: .18; }
  .seller-tool__hero::before { background: linear-gradient(90deg, rgba(0,0,70,.8), transparent); }
  .seller-tool__hero h1 { font-size: clamp(2.25rem, 8vw, 3.1rem); }
  .seller-tool__work { grid-template-columns: 1fr; gap: 24px; }
  .seller-tool__cost-fields { gap: 14px 12px; }
  .seller-tool__offer .tchb-button { width: 100%; text-align: center; }
  .seller-tool__related a { display: block; margin-left: 0; }
}
@media (max-width: 420px) {
  .seller-tool__cost-fields { display: block; }
  .seller-tool__cost-fields label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 46%); gap: 10px; align-items: center; margin-bottom: 9px; }
  .seller-tool__money { margin: 0; padding-inline: 8px; }
}
@media print {
  @page { margin: 0.65in; }
  body:has(.seller-tool) *:not(:has(.seller-tool__sheet)):not(.seller-tool__sheet):not(.seller-tool__sheet *) { display: none !important; }
  body:has(.seller-tool), body:has(.seller-tool) *:has(.seller-tool__sheet), .seller-tool__sheet {
    position: static !important; display: block !important; background: white !important; color: #142438 !important;
    width: auto !important; max-width: none !important; min-height: 0 !important; height: auto !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important;
  }
  .seller-tool__print-brand { display: block; font-weight: bold; color: var(--tchb-green-800); }
  .seller-tool__sheet h2 { font-size: 26pt; margin-top: 10pt; }
  .seller-tool__groups div { min-height: 50pt; }
  .seller-tool__sheet .seller-tool__share-contact { display: block; border-top: 1px solid #99a7b0; padding-top: 10pt; margin-top: 18pt; }
  .seller-tool__print-bills { display: block; white-space: pre-line; margin-top: 12pt; }
  .seller-tool__actions, .seller-tool__sheet [role="status"] { display: none !important; }
}
