/* Turnstyle Terms Wizard — light, legal-document style */

.ts-terms-wizard{
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: none;
  color: #111;
  font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.ts-tw-section{
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.ts-tw-section h4{
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #111;
}

.ts-tw-table{
  width: 100%;
  border-collapse: collapse;
}

.ts-tw-table tr + tr td{
  border-top: 1px solid #f0f0f0;
}

.ts-tw-label{
  width: 180px; /* narrower column 1 */
  padding: 10px 12px 10px 0;
  vertical-align: top;
  font-size: 13px;
  font-weight: 800;
  color: #333;
  text-transform: none;
}

.ts-tw-cell{
  position: relative;
  padding: 10px 54px 10px 0; /* room for icons */
  vertical-align: top;
}

.ts-tw-value{
  font-size: 14px;
  line-height: 1.55;
  color: #111;
  word-break: break-word;
}

.ts-tw-value.is-typing{
  opacity: .95;
}

.ts-tw-prize-lines{
  white-space: normal;
}

.ts-tw-actions{
  position: absolute;
  right: 0;
  top: 8px;
  display: inline-flex;
  gap: 8px;
}

.ts-tw-icon-btn{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.ts-tw-icon-btn:hover{ background:#f3f3f3; }

.ts-tw-editor{
  width: 100%;
  margin-top: 10px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.55;
  font-family: inherit;
  color: #111;
  background: #fbfbfb;
  resize: none;
  overflow: hidden;
}

.ts-tw-nav{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ts-tw-nav-right{
  display: inline-flex;
  gap: 10px;
}

.ts-tw-circle{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
}

.ts-tw-circle:hover{ background:#f3f3f3; }

.ts-tw-circle-primary{
  background:#111;
  color:#fff;
  border-color:#111;
}

.ts-tw-circle-primary:hover{ opacity:.9; }

/* Slightly reduce label width on smaller screens */
@media (max-width: 780px){
  .ts-tw-label{ width: 140px; }
}
