.tnc-custom-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

/* Bespoke Atelier V36 */
.tnc-bespoke-atelier {
  --tnc-bespoke-forest: #123f34;
  --tnc-bespoke-gold: #b8924a;
  --tnc-bespoke-ivory: #f6efe3;
  background: var(--tnc-bespoke-ivory);
  color: #252525;
  overflow: clip;
}

.tnc-bespoke-hero {
  background: var(--tnc-bespoke-ivory);
  padding: 26px 0 0;
}

.tnc-bespoke-breadcrumb {
  align-items: center;
  color: rgba(18, 63, 52, 0.58);
  display: flex;
  flex-wrap: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 11px;
  letter-spacing: 0.08em;
  overflow-x: auto;
  text-transform: uppercase;
  white-space: nowrap;
}

.tnc-bespoke-breadcrumb a {
  color: var(--tnc-bespoke-forest);
  text-decoration: none;
}

.tnc-bespoke-breadcrumb a:hover,
.tnc-bespoke-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tnc-bespoke-hero__copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 960px;
  padding: 48px 20px 52px;
  text-align: center;
}

.tnc-bespoke-eyebrow {
  color: #8a682f;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.tnc-bespoke-hero h1 {
  color: var(--tnc-bespoke-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 3.7vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.tnc-bespoke-hero h1 span {
  display: block;
  white-space: nowrap;
}

.tnc-bespoke-hero__copy > p:not(.tnc-bespoke-eyebrow) {
  color: rgba(37, 37, 37, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.68;
  margin: 24px auto 0;
  max-width: 760px;
}

.tnc-bespoke-hero__copy .tnc-bespoke-hero__cta {
  align-items: center;
  background: linear-gradient(180deg, #d4b36f 0%, #c39a4e 100%);
  border: 1px solid #a97f37;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, 0.62),
    0 12px 28px rgba(35, 65, 55, 0.15);
  color: #103e33;
  display: inline-flex;
  font-size: clamp(0.94rem, 1vw, 1rem);
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.035em;
  margin-top: 28px;
  min-height: 60px;
  min-width: 292px;
  padding: 16px 34px;
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tnc-bespoke-hero__copy .tnc-bespoke-hero__cta:hover,
.tnc-bespoke-hero__copy .tnc-bespoke-hero__cta:focus-visible {
  background: linear-gradient(180deg, #ddc17f 0%, #cda45a 100%);
  border-color: #946d2e;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, 0.72),
    0 16px 34px rgba(35, 65, 55, 0.2);
  color: #0b352c;
  transform: translateY(-2px);
}

.tnc-bespoke-hero__copy .tnc-bespoke-hero__cta:focus-visible {
  outline: 3px solid rgba(18, 63, 52, 0.32);
  outline-offset: 4px;
}

.tnc-bespoke-hero__copy .tnc-bespoke-hero__cta:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, 0.46),
    0 7px 16px rgba(35, 65, 55, 0.15);
  transform: translateY(0) scale(0.985);
}

.tnc-bespoke-wall {
  background: var(--tnc-bespoke-ivory);
  padding: 0 0 68px;
  width: 100%;
}

.tnc-bespoke-wall__viewport {
  cursor: grab;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  width: 100%;
}

.tnc-bespoke-wall__viewport:active {
  cursor: grabbing;
}

.tnc-bespoke-wall__viewport::-webkit-scrollbar {
  display: none;
}

.tnc-bespoke-wall__viewport:focus-visible {
  outline: 3px solid rgba(184, 146, 74, 0.52);
  outline-offset: -3px;
}

.tnc-bespoke-wall__track,
.tnc-bespoke-wall__group {
  align-items: stretch;
  display: flex;
}

.tnc-bespoke-wall__track {
  width: max-content;
}

.tnc-bespoke-wall__group {
  flex: 0 0 auto;
  gap: 20px;
  padding-right: 20px;
}

.tnc-bespoke-case {
  aspect-ratio: 4 / 5;
  background: #e7ded0;
  border: 0;
  border-radius: 20px;
  contain: layout paint;
  cursor: pointer;
  flex: 0 0 clamp(226px, 22vw, 312px);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transform: translateZ(0);
}

.tnc-bespoke-case img,
.tnc-bespoke-case video {
  backface-visibility: hidden;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.tnc-bespoke-case:hover img,
.tnc-bespoke-case:hover video {
  transform: scale(1.018);
}

.tnc-bespoke-case:focus-visible {
  outline: 3px solid var(--tnc-bespoke-gold);
  outline-offset: -5px;
}

.tnc-bespoke-case:active {
  transform: scale(0.992) translateZ(0);
}

.tnc-bespoke-lightbox {
  background: transparent;
  border: 0;
  height: 100%;
  inset: 0;
  margin: auto;
  max-height: none;
  max-width: none;
  overflow: visible;
  padding: 34px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.tnc-bespoke-lightbox::backdrop {
  background: rgba(8, 31, 26, 0.92);
  backdrop-filter: blur(5px);
}

.tnc-bespoke-lightbox[open] {
  align-items: center;
  display: flex;
  justify-content: center;
}

.tnc-bespoke-lightbox__media {
  align-items: center;
  display: flex;
  height: min(88dvh, 980px);
  justify-content: center;
  max-width: min(92vw, 1100px);
  width: 100%;
}

.tnc-bespoke-lightbox__media img,
.tnc-bespoke-lightbox__media video {
  background: #0d1f1b;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(3, 18, 14, 0.38);
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.tnc-bespoke-lightbox__media [hidden] {
  display: none;
}

.tnc-bespoke-lightbox__close {
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--tnc-bespoke-forest);
  cursor: pointer;
  display: flex;
  font: 400 1.7rem/1 Arial, sans-serif;
  height: 48px;
  justify-content: center;
  padding: 0 0 3px;
  position: fixed;
  right: 22px;
  top: 22px;
  width: 48px;
  z-index: 2;
}

.tnc-bespoke-lightbox__close:hover,
.tnc-bespoke-lightbox__close:focus-visible {
  background: var(--tnc-bespoke-gold);
  color: #1f1a12;
  outline: 3px solid rgba(255, 250, 242, 0.58);
  outline-offset: 2px;
}

.tnc-bespoke-intake {
  background: #fffaf2;
  border-top: 1px solid rgba(18, 63, 52, 0.1);
  padding: 92px 0 110px;
}

.tnc-bespoke-intake__intro {
  margin: 0 auto 36px;
  max-width: 920px;
}

.tnc-bespoke-intake__intro h2,
.tnc-bespoke-success h2 {
  color: var(--tnc-bespoke-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
}

.tnc-bespoke-intake__intro p {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 620px;
}

.tnc-bespoke-alert {
  background: rgba(139, 47, 47, 0.07);
  border: 1px solid rgba(139, 47, 47, 0.28);
  border-radius: 12px;
  color: #6f2525;
  display: grid;
  gap: 6px;
  margin: 0 auto 22px;
  max-width: 920px;
  padding: 15px 18px;
}

.tnc-bespoke-alert p {
  margin: 0;
}

.tnc-bespoke-form.tnc-custom-form {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 920px;
}

.tnc-bespoke-form__section {
  background: var(--tnc-bespoke-ivory);
  border: 1px solid rgba(18, 63, 52, 0.13);
  border-radius: 16px;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 38px);
}

.tnc-bespoke-form__heading {
  display: grid;
  gap: 8px;
}

.tnc-bespoke-form__heading > p {
  color: #8a682f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.tnc-bespoke-form__heading h3 {
  color: var(--tnc-bespoke-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

.tnc-bespoke-form label {
  color: #252525;
  display: grid;
  font-weight: 750;
  gap: 8px;
}

.tnc-bespoke-form label > span b {
  color: #806127;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-left: 5px;
  text-transform: uppercase;
}

.tnc-bespoke-form input,
.tnc-bespoke-form select,
.tnc-bespoke-form textarea {
  background: #fffdf8;
  border: 1px solid rgba(37, 37, 37, 0.22);
  border-radius: 9px;
  color: #252525;
  font: inherit;
  min-height: 52px;
  padding: 13px 14px;
  width: 100%;
}

.tnc-bespoke-form textarea {
  line-height: 1.55;
  min-height: 126px;
  resize: vertical;
}

.tnc-bespoke-form input::placeholder,
.tnc-bespoke-form textarea::placeholder {
  color: rgba(37, 37, 37, 0.58);
}

.tnc-bespoke-form input:focus,
.tnc-bespoke-form select:focus,
.tnc-bespoke-form textarea:focus {
  border-color: var(--tnc-bespoke-gold);
  outline: 3px solid rgba(184, 146, 74, 0.3);
}

.tnc-bespoke-form input[type="file"] {
  border-style: dashed;
}

.tnc-bespoke-form input[type="file"]::file-selector-button {
  background: var(--tnc-bespoke-gold);
  border: 0;
  border-radius: 7px;
  color: #1f1a12;
  cursor: pointer;
  font-weight: 800;
  margin-right: 12px;
  padding: 10px 13px;
}

/*
 * File inputs are drawn by the visitor's browser and inherit its interface
 * language. Keep the native control accessible, then provide one stable
 * English presentation across every custom flow.
 */
.tnc-file-picker {
  align-items: center;
  background: #fffdf8;
  border: 1px dashed rgba(23, 62, 52, 0.34);
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 58px;
  overflow: hidden;
  padding: 8px;
  position: relative;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.tnc-file-picker:hover,
.tnc-file-picker:focus-within {
  background: #f8f1e6;
  border-color: #173e34;
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.22);
}

.tnc-file-picker__input {
  border: 0 !important;
  cursor: pointer;
  height: 100% !important;
  inset: 0;
  min-height: 0 !important;
  opacity: 0;
  padding: 0 !important;
  position: absolute;
  width: 100% !important;
  z-index: 2;
}

.tnc-file-picker__button {
  align-items: center;
  background: #b8924a;
  border: 1px solid #a57b33;
  border-radius: 7px;
  color: #1f1a12;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 122px;
  padding: 8px 14px;
  pointer-events: none;
  white-space: nowrap;
}

.tnc-file-picker__status {
  color: rgba(37, 37, 37, 0.68);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  padding-right: 8px;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tnc-file-picker.has-files .tnc-file-picker__status {
  color: #173e34;
}

.tnc-file-picker:has(.tnc-file-picker__input:disabled) {
  cursor: not-allowed;
  opacity: 0.58;
}

.tnc-native-file-input {
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.tnc-bespoke-form small {
  color: rgba(37, 37, 37, 0.68);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.tnc-bespoke-form .tnc-bespoke-file-error {
  color: #9d2f2f;
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 7px;
}

.tnc-bespoke-form .tnc-bespoke-file-error[hidden] {
  display: none;
}

.tnc-bespoke-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-bespoke-form__review {
  background: #f2e8d8;
}

.tnc-bespoke-consent {
  align-items: start;
  display: grid !important;
  font-weight: 500 !important;
  gap: 11px !important;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.48;
}

.tnc-bespoke-consent input {
  accent-color: var(--tnc-bespoke-forest);
  height: 19px;
  margin: 3px 0 0;
  min-height: auto;
  padding: 0;
  width: 19px;
}

.tnc-bespoke-disclaimer,
.tnc-bespoke-submit-note {
  color: rgba(37, 37, 37, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

.tnc-bespoke-submit {
  justify-self: start;
  min-height: 56px;
  min-width: 250px;
  padding: 14px 25px;
}

.tnc-bespoke-success {
  background: #fffaf2;
  padding: 70px 0 110px;
}

.tnc-bespoke-success__panel {
  background: var(--tnc-bespoke-ivory);
  border: 1px solid rgba(18, 63, 52, 0.16);
  border-radius: 16px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(26px, 5vw, 52px);
}

.tnc-bespoke-success__panel > p:first-child {
  color: #8a682f;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

.tnc-bespoke-success__panel > p {
  line-height: 1.6;
  margin: 0;
}

.tnc-bespoke-success dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0;
}

.tnc-bespoke-success dl > div {
  background: #fffaf2;
  border: 1px solid rgba(18, 63, 52, 0.12);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  padding: 15px;
}

.tnc-bespoke-success dt {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-bespoke-success dd {
  color: var(--tnc-bespoke-forest);
  font-weight: 800;
  margin: 0;
}

.tnc-bespoke-success__note {
  color: rgba(37, 37, 37, 0.66);
  font-size: 0.86rem;
}

.tnc-bespoke-success .tnc-button {
  justify-self: start;
}

@media (max-width: 760px) {
  .tnc-bespoke-hero {
    padding-top: 18px;
  }

  .tnc-bespoke-breadcrumb {
    font-size: 0.66rem;
    gap: 8px;
  }

  .tnc-bespoke-hero__copy {
    padding: 38px 0 44px;
  }

  .tnc-bespoke-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.7rem);
    line-height: 1.03;
  }

  .tnc-bespoke-hero h1 span {
    white-space: normal;
  }

  .tnc-bespoke-hero__copy > p:not(.tnc-bespoke-eyebrow) {
    font-size: 1rem;
    line-height: 1.58;
    margin-top: 20px;
  }

  .tnc-bespoke-hero__copy .tnc-bespoke-hero__cta {
    font-size: 0.96rem;
    margin-top: 24px;
    min-height: 58px;
    min-width: 0;
    width: 100%;
  }

  .tnc-bespoke-wall {
    padding-bottom: 52px;
  }

  .tnc-bespoke-wall__group {
    gap: 16px;
    padding-right: 16px;
  }

  .tnc-bespoke-case {
    border-radius: 16px;
    flex-basis: min(72vw, 280px);
  }

  .tnc-bespoke-intake {
    padding: 64px 0 78px;
  }

  .tnc-bespoke-intake__intro {
    margin-bottom: 26px;
  }

  .tnc-bespoke-form__grid,
  .tnc-bespoke-success dl {
    grid-template-columns: 1fr;
  }

  .tnc-bespoke-form__section {
    border-radius: 14px;
  }

  .tnc-bespoke-submit {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .tnc-bespoke-lightbox {
    padding: 56px 12px 18px;
  }

  .tnc-bespoke-lightbox__media {
    height: min(82dvh, 760px);
    max-width: 96vw;
  }

  .tnc-bespoke-lightbox__media img,
  .tnc-bespoke-lightbox__media video {
    border-radius: 12px;
  }

  .tnc-bespoke-lightbox__close {
    height: 44px;
    right: 12px;
    top: 10px;
    width: 44px;
  }

  .tnc-bespoke-success {
    padding: 54px 0 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-bespoke-case img,
  .tnc-bespoke-case video {
    transition: none;
  }

  .tnc-bespoke-case:hover img,
  .tnc-bespoke-case:hover video {
    transform: none;
  }
}

/* Lightweight general and product consultation */
.tnc-consultation-page {
  background: #f8f3ea;
  color: #252525;
}

.tnc-consultation-hero {
  background: linear-gradient(115deg, rgba(255, 250, 242, 0.98), rgba(242, 232, 213, 0.76));
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
  padding: 34px 0 50px;
}

.tnc-consultation-hero__inner {
  display: grid;
  gap: 34px;
}

.tnc-consultation-breadcrumb {
  align-items: center;
  color: #5f5b55;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 10px;
}

.tnc-consultation-breadcrumb a {
  color: #173b33;
  text-decoration: none;
}

.tnc-consultation-eyebrow,
.tnc-consultation-aside > span,
.tnc-product-summary > div > span,
.tnc-consultation-success > p:first-child {
  color: #8e6a29;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.tnc-consultation-hero h1 {
  color: #173b33;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 18px;
}

.tnc-consultation-hero p:last-child {
  color: #5f5b55;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

.tnc-consultation-section {
  padding: clamp(48px, 8vw, 94px) 0;
}

.tnc-consultation-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
}

.tnc-consultation-aside {
  position: sticky;
  top: 30px;
}

.tnc-consultation-aside h2,
.tnc-product-summary h2,
.tnc-consultation-success h2 {
  color: #173b33;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 18px;
}

.tnc-consultation-aside p,
.tnc-product-summary p,
.tnc-consultation-success p {
  color: #66615b;
  line-height: 1.65;
}

.tnc-consultation-card {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(75, 57, 32, 0.08);
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
}

.tnc-consultation-form {
  display: grid;
  gap: 30px;
}

.tnc-consultation-form fieldset {
  border: 0;
  display: grid;
  gap: 20px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.tnc-consultation-form fieldset + fieldset {
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  padding-top: 30px;
}

.tnc-consultation-form legend {
  color: #173b33;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  margin-bottom: 22px;
}

.tnc-consultation-form label {
  display: grid;
  gap: 8px;
}

.tnc-consultation-form label > span {
  color: #302f2c;
  font-size: 0.9rem;
  font-weight: 650;
}

.tnc-consultation-form label small,
.tnc-consultation-form label b {
  color: #7b756d;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-consultation-form label b {
  color: #8e6a29;
}

.tnc-consultation-form input[type="text"],
.tnc-consultation-form input[type="email"],
.tnc-consultation-form input[type="tel"],
.tnc-consultation-form select,
.tnc-consultation-form textarea {
  background: #fffdf8;
  border: 1px solid rgba(37, 37, 37, 0.22);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 50px;
  padding: 13px 14px;
  width: 100%;
}

.tnc-consultation-form textarea {
  line-height: 1.55;
  min-height: 140px;
  resize: vertical;
}

.tnc-consultation-form input:focus,
.tnc-consultation-form select:focus,
.tnc-consultation-form textarea:focus {
  border-color: #8e6a29;
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.2);
  outline: none;
}

.tnc-consultation-form textarea::placeholder {
  color: #716c65;
  opacity: 1;
}

.tnc-consultation-form__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-consultation-consent {
  align-items: start;
  display: grid !important;
  gap: 11px !important;
  grid-template-columns: 20px minmax(0, 1fr);
}

.tnc-consultation-consent input {
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}

.tnc-consultation-consent span {
  color: #5f5b55 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.tnc-consultation-form > .tnc-button,
.tnc-consultation-success .tnc-button,
.tnc-product-summary__missing .tnc-button {
  justify-self: start;
  min-width: 210px;
}

.tnc-consultation-error {
  background: #fff1ed;
  border-left: 3px solid #9c3d2f;
  color: #742c22;
  margin-bottom: 26px;
  padding: 14px 16px;
}

.tnc-consultation-success dl {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.tnc-consultation-success dl div {
  border-top: 1px solid rgba(37, 37, 37, 0.14);
  padding: 16px 12px 16px 0;
}

.tnc-consultation-success dt {
  color: #777169;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-consultation-success dd {
  color: #173b33;
  font-weight: 700;
  margin: 5px 0 0;
}

.tnc-product-summary {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 30px;
}

.tnc-product-summary > a {
  background: #f7f7f7;
  display: block;
}

.tnc-product-summary img {
  aspect-ratio: 1;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tnc-product-summary > div {
  padding: 25px;
}

.tnc-product-summary h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.tnc-product-summary strong {
  color: #8e6a29;
  display: block;
  font-size: 1.08rem;
  margin: 14px 0;
}

.tnc-product-summary a:not(.tnc-button) {
  color: #173b33;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration-color: rgba(23, 59, 51, 0.4);
  text-underline-offset: 4px;
}

.tnc-consultation-checks {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-consultation-checks > span {
  grid-column: 1 / -1;
}

.tnc-consultation-checks label {
  align-items: center;
  background: #fffdf8;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  min-height: 48px;
  padding: 11px 13px;
}

.tnc-consultation-checks input {
  height: 16px;
  margin: 0;
  width: 16px;
}

.tnc-consultation-checks label > span {
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 800px) {
  .tnc-consultation-hero {
    padding: 24px 0 38px;
  }

  .tnc-consultation-layout {
    grid-template-columns: 1fr;
  }

  .tnc-consultation-aside,
  .tnc-product-summary {
    position: static;
  }

  .tnc-consultation-aside {
    max-width: 560px;
  }

  .tnc-product-summary {
    display: grid;
    grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.2fr);
  }

  .tnc-product-summary > a,
  .tnc-product-summary img {
    height: 100%;
  }

  .tnc-product-summary img {
    aspect-ratio: auto;
  }
}

@media (max-width: 560px) {
  .tnc-consultation-hero h1 {
    font-size: clamp(2.5rem, 14vw, 3.7rem);
  }

  .tnc-consultation-card {
    padding: 22px 18px;
  }

  .tnc-consultation-form__grid,
  .tnc-consultation-checks,
  .tnc-consultation-success dl,
  .tnc-product-summary {
    grid-template-columns: 1fr;
  }

  .tnc-product-summary img {
    aspect-ratio: 16 / 10;
  }

  .tnc-consultation-form > .tnc-button,
  .tnc-consultation-success .tnc-button,
  .tnc-product-summary__missing .tnc-button {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }
}

@media print {
  .tnc-bespoke-wall,
  .tnc-bespoke-lightbox {
    display: none !important;
  }
}

.tnc-custom-form button[type="submit"] {
  background: #123f34;
  border: 1px solid #123f34;
  border-radius: 999px;
  color: #fffaf2;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.tnc-custom-form button[type="submit"]:hover {
  background: #0e332a;
  box-shadow: 0 12px 28px rgba(18, 63, 52, 0.18);
  transform: translateY(-1px);
}

.tnc-custom-form__contact {
  border-top: 1px solid rgba(184, 146, 74, 0.22);
  display: grid;
  gap: 16px;
  margin-top: 4px;
  padding-top: 20px;
}

.tnc-custom-form__contact > span {
  color: #123f34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.tnc-custom-form label {
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.tnc-custom-form input,
.tnc-custom-form select,
.tnc-custom-form textarea {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 8px;
  color: #252525;
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

.tnc-custom-form input[type="file"] {
  border-style: dashed;
}

.tnc-custom-form input[type="file"]::file-selector-button {
  background: #b8924a;
  border: 0;
  border-radius: 6px;
  color: #1f1a12;
  cursor: pointer;
  font-weight: 700;
  margin-right: 12px;
  padding: 9px 12px;
}

.tnc-custom-form input:focus,
.tnc-custom-form select:focus,
.tnc-custom-form textarea:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.28);
}

.tnc-custom-form__help {
  color: rgba(37, 37, 37, 0.66);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.tnc-custom-form .tnc-custom-form__consent {
  align-items: start;
  display: grid;
  font-weight: 500;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.45;
}

.tnc-custom-form .tnc-custom-form__consent input {
  accent-color: #123f34;
  height: 18px;
  margin: 3px 0 0;
  width: 18px;
}

.tnc-custom-summary {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(246, 236, 219, 0.72)),
    #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.24);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin: 22px 0;
  max-width: 720px;
  padding: 20px;
}

.tnc-custom-summary dl {
  display: grid;
  gap: 8px;
  grid-template-columns: 150px 1fr;
  margin: 0;
}

.tnc-custom-summary dt {
  color: rgba(37, 37, 37, 0.55);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-custom-summary dd {
  margin: 0;
}

.tnc-diamond-steps {
  counter-reset: tnc-diamond-step;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.tnc-diamond-steps li {
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.12);
  display: grid;
  gap: 3px 12px;
  grid-template-columns: auto 1fr;
  min-height: 92px;
  padding: 18px 20px;
  position: relative;
}

.tnc-diamond-steps li + li {
  border-left: 0;
}

.tnc-diamond-steps li:not(:last-child)::after {
  background: inherit;
  border-right: 1px solid rgba(37, 37, 37, 0.12);
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  content: "";
  height: 28px;
  position: absolute;
  right: -15px;
  top: calc(50% - 14px);
  transform: rotate(45deg);
  width: 28px;
  z-index: 2;
}

.tnc-diamond-steps span {
  align-items: center;
  border: 1px solid rgba(184, 146, 74, 0.38);
  border-radius: 999px;
  color: #8a6a2d;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.tnc-diamond-steps strong {
  color: #252525;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
}

.tnc-diamond-steps em {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.82rem;
  font-style: normal;
  grid-column: 2;
}

.tnc-diamond-steps .is-active {
  background: #123f34;
  border-color: #123f34;
  color: #fffaf2;
}

.tnc-diamond-steps .is-active span,
.tnc-diamond-steps .is-active strong,
.tnc-diamond-steps .is-active em {
  color: #fffaf2;
}

.tnc-diamond-steps .is-active span {
  border-color: rgba(255, 250, 242, 0.55);
}

.tnc-diamond-steps .is-complete:not(.is-active) {
  background: rgba(18, 63, 52, 0.08);
}

.tnc-diamond-steps .is-complete:not(.is-active) span {
  background: #123f34;
  border-color: #123f34;
  color: #fffaf2;
}

.tnc-build-page__eyebrow {
  color: #9b7938;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.tnc-stone-planner {
  display: grid;
  gap: 26px;
}

.tnc-stone-final {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 18px;
  display: grid;
  gap: 22px;
  padding: 24px;
}

.tnc-stone-final h2,
.tnc-complete-ring__form-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 8px;
}

.tnc-stone-final p,
.tnc-complete-ring__form-head p {
  color: rgba(37, 37, 37, 0.68);
  margin: 0;
  max-width: 65ch;
}

.tnc-stone-final__fields,
.tnc-complete-ring__contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-stone-final label,
.tnc-complete-ring__contact-grid label {
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.tnc-stone-final input,
.tnc-stone-final select,
.tnc-stone-final textarea {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 8px;
  color: #252525;
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

.tnc-stone-final textarea {
  min-height: 110px;
}

.tnc-stone-final input:focus,
.tnc-stone-final select:focus,
.tnc-stone-final textarea:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.28);
}

.tnc-stone-final__notes,
.tnc-complete-ring__message {
  grid-column: 1 / -1;
}

.tnc-dual-range {
  --tnc-range-start: 0%;
  --tnc-range-end: 100%;
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tnc-dual-range__head {
  align-items: baseline;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.tnc-dual-range__label {
  color: #252525;
  font-weight: 800;
}

.tnc-dual-range output {
  color: #143f34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: right;
}

.tnc-dual-range__control {
  height: 28px;
  position: relative;
}

.tnc-dual-range__track {
  background: rgba(37, 37, 37, 0.16);
  border-radius: 999px;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 13px;
}

.tnc-dual-range__track > span {
  background: #b8924a;
  border-radius: inherit;
  bottom: 0;
  left: var(--tnc-range-start);
  position: absolute;
  right: calc(100% - var(--tnc-range-end));
  top: 0;
}

.tnc-dual-range input[type="range"] {
  appearance: none;
  background: transparent;
  border: 0;
  height: 28px;
  left: 0;
  min-height: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.tnc-dual-range input[type="range"]:focus {
  outline: 0;
}

.tnc-dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: #143f34;
  border: 3px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b8924a, 0 3px 10px rgba(20, 63, 52, 0.2);
  cursor: grab;
  height: 22px;
  pointer-events: auto;
  width: 22px;
}

.tnc-dual-range input[type="range"]::-moz-range-thumb {
  background: #143f34;
  border: 3px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b8924a, 0 3px 10px rgba(20, 63, 52, 0.2);
  cursor: grab;
  height: 16px;
  pointer-events: auto;
  width: 16px;
}

.tnc-dual-range input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.32);
}

.tnc-dual-range__ends {
  color: rgba(37, 37, 37, 0.58);
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
}

.tnc-stone-planner__actions {
  align-items: start;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.tnc-stone-planner__actions small {
  color: rgba(37, 37, 37, 0.64);
}

.tnc-complete-ring__success {
  margin: 24px 0;
}

.tnc-complete-ring__success p {
  margin: 8px 0;
}

.tnc-complete-ring__missing {
  background: rgba(184, 146, 74, 0.12);
  border: 1px solid rgba(184, 146, 74, 0.32);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 20px;
}

.tnc-complete-ring__missing[hidden] {
  display: none;
}

.tnc-complete-ring__missing p {
  margin: 0;
}

.tnc-complete-ring__summary {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-complete-ring__card {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 18px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 150px) 1fr;
  padding: 22px;
}

.tnc-complete-ring__card > div:only-child {
  grid-column: 1 / -1;
}

.tnc-complete-ring__image img {
  aspect-ratio: 1 / 1;
  background: #f8f3ea;
  border-radius: 10px;
  object-fit: contain;
  width: 100%;
}

.tnc-complete-ring__card > div > p,
.tnc-complete-ring__estimate > div > p {
  color: #9b7938;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.tnc-complete-ring__card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 16px;
}

.tnc-complete-ring__card dl {
  display: grid;
  gap: 7px 14px;
  grid-template-columns: 120px 1fr;
  margin: 0 0 14px;
}

.tnc-complete-ring__card dt {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.tnc-complete-ring__card dd {
  margin: 0;
}

.tnc-complete-ring__card a {
  color: #765a27;
  font-weight: 700;
}

.tnc-complete-ring__estimate {
  align-items: center;
  background: #123f34;
  border-radius: 18px;
  color: #fffaf2;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  margin: 22px 0 30px;
  padding: 24px;
}

.tnc-complete-ring__estimate h2 {
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.tnc-complete-ring__estimate > p {
  color: rgba(255, 250, 242, 0.76);
  margin: 0;
}

.tnc-complete-ring__form {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 18px;
  max-width: none;
  padding: 24px;
}

.tnc-complete-ring__form button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.tnc-diamond-quote {
  background: #f7f1e7;
  border: 1px solid rgba(184, 146, 74, 0.26);
  border-radius: 18px;
  display: grid;
  gap: 20px;
  margin: 8px 0 4px;
  padding: 24px;
}

.tnc-diamond-quote__intro {
  display: grid;
  gap: 8px;
}

.tnc-diamond-quote__intro span {
  color: #9b7938;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tnc-diamond-quote__intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.tnc-diamond-quote__intro p,
.tnc-diamond-quote__result small {
  color: rgba(37, 37, 37, 0.68);
  margin: 0;
}

.tnc-diamond-quote__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnc-diamond-quote__grid label {
  background: rgba(255, 250, 242, 0.62);
  border: 1px solid rgba(184, 146, 74, 0.16);
  border-radius: 14px;
  font-size: 0.92rem;
  padding: 12px;
}

.tnc-diamond-quote__result {
  align-items: center;
  background: rgba(18, 63, 52, 0.07);
  border: 1px solid rgba(18, 63, 52, 0.16);
  border-radius: 16px;
  display: grid;
  gap: 8px 18px;
  grid-template-columns: 1fr 1fr;
  padding: 18px;
}

.tnc-diamond-quote__result p {
  color: rgba(37, 37, 37, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.tnc-diamond-quote__result strong {
  color: #123f34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
}

.tnc-diamond-quote__result small {
  grid-column: 1 / -1;
  line-height: 1.45;
}

.tnc-diamond-quote__brief {
  border-top: 1px solid rgba(18, 63, 52, 0.14);
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  padding-top: 12px;
}

.tnc-diamond-quote__brief span {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-diamond-quote__brief b {
  color: #252525;
  font-weight: 700;
}

.tnc-diamond-quote fieldset,
.tnc-stone-final fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.tnc-diamond-quote legend,
.tnc-stone-final legend {
  color: #252525;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tnc-quote-origin__choices {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 660px;
}

.tnc-quote-origin__choice,
.tnc-shape-choice,
.tnc-scale-choice,
.tnc-final-choice {
  cursor: pointer;
  position: relative;
}

.tnc-quote-origin__choice input,
.tnc-shape-choice input,
.tnc-scale-choice input,
.tnc-final-choice input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.tnc-quote-origin__choice > span {
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.22);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
}

.tnc-quote-origin__choice input:checked + span {
  background: #123f34;
  border-color: #123f34;
  color: #fffaf2;
}

.tnc-quote-origin__choice:focus-within > span,
.tnc-shape-choice:focus-within .tnc-shape-choice__visual,
.tnc-scale-choice:focus-within > span,
.tnc-final-choice:focus-within > span {
  outline: 3px solid rgba(184, 146, 74, 0.42);
  outline-offset: 2px;
}

.tnc-quote-shapes {
  border-bottom: 1px solid rgba(37, 37, 37, 0.13) !important;
  padding-bottom: 22px !important;
}

.tnc-quote-shapes__rail {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(10, minmax(88px, 1fr));
  overflow-x: auto;
  padding: 3px 3px 12px;
  scrollbar-color: rgba(18, 63, 52, 0.35) transparent;
}

.tnc-shape-choice {
  display: grid;
  gap: 8px;
  min-width: 88px;
  text-align: center;
}

.tnc-shape-choice__visual {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.tnc-shape-choice__visual img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-shape-choice__fallback {
  color: rgba(18, 63, 52, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tnc-shape-choice strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.tnc-shape-choice input:checked ~ .tnc-shape-choice__visual {
  background: #fffaf2;
  border-color: #b8924a;
  box-shadow: inset 0 -3px 0 #b8924a;
}

.tnc-shape-choice input:checked ~ strong {
  color: #8a682f;
}

.tnc-diamond-quote__workspace {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr);
}

.tnc-diamond-controls {
  display: grid;
  gap: 22px;
}

.tnc-diamond-control {
  border-bottom: 1px solid rgba(37, 37, 37, 0.12) !important;
  padding-bottom: 20px !important;
}

.tnc-diamond-control:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.tnc-carat-control {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 112px;
}

.tnc-carat-control input[type="range"] {
  accent-color: #b8924a;
  cursor: pointer;
  width: 100%;
}

.tnc-carat-control label {
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.2);
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0 10px;
}

.tnc-carat-control input[type="number"] {
  background: transparent;
  border: 0;
  min-height: 44px;
  min-width: 0;
  padding: 8px 4px;
  width: 100%;
}

.tnc-carat-control small {
  color: rgba(37, 37, 37, 0.55);
  font-weight: 800;
}

.tnc-scale-choices {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
}

.tnc-scale-choice > span {
  align-items: center;
  background: rgba(255, 250, 242, 0.68);
  border: 1px solid rgba(37, 37, 37, 0.16);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 7px 5px;
  text-align: center;
}

.tnc-scale-choice input:checked + span {
  background: #123f34;
  border-color: #123f34;
  color: #fffaf2;
}

.tnc-diamond-quote__result {
  align-content: start;
  display: grid;
  grid-template-columns: 1fr;
  position: sticky;
  top: 112px;
}

.tnc-diamond-quote__result-label {
  color: #9b7938;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tnc-diamond-quote__result strong {
  margin-bottom: 10px;
}

.tnc-stone-bridge {
  align-items: center;
  background: #123f34;
  color: #fffaf2;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(240px, 1fr) minmax(300px, 0.75fr) auto;
  padding: 28px;
}

.tnc-stone-bridge__marker {
  align-items: center;
  border: 1px solid rgba(255, 250, 242, 0.45);
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.tnc-stone-bridge__copy p,
.tnc-stone-final__eyebrow {
  color: #d8bb78;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.tnc-stone-bridge__copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 7px;
}

.tnc-stone-bridge__copy > span {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.88rem;
}

.tnc-stone-bridge__summary {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.tnc-stone-bridge__summary div {
  border-left: 1px solid rgba(255, 250, 242, 0.22);
  padding-left: 10px;
}

.tnc-stone-bridge__summary dt {
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-stone-bridge__summary dd {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 2px 0 0;
}

.tnc-stone-bridge .tnc-button {
  background: #d8bb78;
  border-color: #d8bb78;
  color: #123f34;
  white-space: nowrap;
}

.tnc-stone-final {
  border-radius: 6px;
  gap: 28px;
  padding: 30px;
}

.tnc-stone-final__intro {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.tnc-stone-final__estimate-link {
  align-items: center;
  border: 1px solid rgba(184, 146, 74, 0.5);
  border-radius: 999px;
  color: #715522;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  justify-self: start;
  margin-top: 8px;
  min-height: 42px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tnc-stone-final__estimate-link:hover,
.tnc-stone-final__estimate-link:focus-visible {
  background: #123f34;
  border-color: #123f34;
  color: #fffaf2;
}

.tnc-stone-final__eyebrow {
  color: #9b7938 !important;
}

.tnc-final-choice-group {
  display: grid;
  gap: 2px;
}

.tnc-final-choice-grid {
  display: grid;
  gap: 10px;
}

.tnc-final-choice-grid--origin {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnc-final-choice-grid--stone {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnc-final-choice > span {
  align-items: center;
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.18);
  display: grid;
  gap: 4px;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 78px;
  padding: 14px;
}

.tnc-final-choice__gem {
  align-items: center;
  background: #e7e1d8;
  color: #123f34;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  height: 50px;
  justify-content: center;
  overflow: hidden;
  width: 50px;
}

.tnc-final-choice__gem img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-final-choice__gem--diamond { background: #e8efec; }
.tnc-final-choice__gem--sapphire { background: #dbe4ef; color: #274f78; }
.tnc-final-choice__gem--ruby { background: #efdddc; color: #8d3033; }
.tnc-final-choice__gem--emerald { background: #dce9df; color: #256243; }
.tnc-final-choice__gem--other-gemstone { background: #eee3d4; color: #8a682f; }
.tnc-final-choice__gem--not-sure { background: #e8e4dd; color: #605c56; }

.tnc-final-choice strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.12;
  min-width: 0;
  overflow-wrap: anywhere;
}

.tnc-final-choice small {
  color: rgba(37, 37, 37, 0.62);
  font-size: 0.76rem;
  font-weight: 500;
}

.tnc-final-choice input:checked + span {
  background: rgba(18, 63, 52, 0.08);
  border-color: #123f34;
  box-shadow: inset 4px 0 0 #123f34;
}

.tnc-stone-final__use-estimate {
  background: transparent;
  border: 0;
  color: #806127;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  justify-self: start;
  min-height: auto;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tnc-stone-final__use-estimate:hover,
.tnc-stone-final__use-estimate:focus-visible {
  color: #123f34;
}

.tnc-stone-formal-estimate {
  align-items: center;
  background: #123f34;
  border-radius: 14px;
  color: #fffaf2;
  display: grid;
  gap: 18px 26px;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1fr);
  padding: 24px;
}

.tnc-stone-formal-estimate > div {
  display: grid;
  gap: 5px;
}

.tnc-stone-formal-estimate span {
  color: #d8bb78;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tnc-stone-formal-estimate strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  font-weight: 500;
  line-height: 1.05;
}

.tnc-stone-formal-estimate p {
  border-top: 1px solid rgba(255, 250, 242, 0.18);
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 14px;
}

.tnc-diamond-quote[id] {
  margin-top: 28px;
  scroll-margin-top: 120px;
}

.tnc-quote-origin__choices--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
}

.tnc-quote-origin__gemstone {
  align-content: center;
  background: #e7e3dc;
  border: 1px dashed rgba(37, 37, 37, 0.28);
  color: rgba(37, 37, 37, 0.7);
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px 14px;
  text-align: center;
}

.tnc-quote-origin__gemstone span {
  font-weight: 800;
}

.tnc-quote-origin__gemstone small {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tnc-quote-origin__gemstone:hover,
.tnc-quote-origin__gemstone:focus-visible {
  border-color: #b8924a;
  color: #123f34;
  outline: 3px solid rgba(184, 146, 74, 0.25);
}

.tnc-stone-bridge {
  grid-template-columns: minmax(280px, 1.15fr) minmax(300px, 0.8fr) auto;
}

.tnc-stone-bridge .tnc-button {
  border-radius: 999px;
  font-size: 0.86rem;
  min-height: 48px;
  padding-inline: 22px;
}

.tnc-gemstone-estimate-dialog {
  background: transparent;
  border: 0;
  max-width: 560px;
  padding: 18px;
  width: calc(100% - 32px);
}

.tnc-gemstone-estimate-dialog::backdrop {
  background: rgba(12, 35, 29, 0.7);
  backdrop-filter: blur(5px);
}

.tnc-gemstone-estimate-dialog > div {
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.4);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(12, 35, 29, 0.28);
  display: grid;
  gap: 14px;
  padding: 30px;
}

.tnc-gemstone-estimate-dialog p {
  color: #9b7938;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.tnc-gemstone-estimate-dialog h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}

.tnc-gemstone-estimate-dialog span {
  color: rgba(37, 37, 37, 0.72);
  line-height: 1.6;
}

.tnc-gemstone-estimate-dialog .tnc-button {
  justify-self: start;
  margin-top: 4px;
}

.tnc-custom-disclaimer,
.tnc-custom-notice {
  background: rgba(184, 146, 74, 0.12);
  border: 1px solid rgba(184, 146, 74, 0.32);
  border-radius: 8px;
  padding: 14px 16px;
}

.tnc-custom-notice {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 720px;
}

.tnc-custom-notice p {
  margin: 0;
}

.tnc-custom-notice--success {
  background: rgba(18, 63, 52, 0.08);
  border-color: rgba(18, 63, 52, 0.28);
}

.tnc-custom-notice--error {
  background: rgba(139, 47, 47, 0.07);
  border-color: rgba(139, 47, 47, 0.28);
  color: #6f2525;
}

.tnc-custom-index__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tnc-custom-index__card {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 8px;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.tnc-custom-index__card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tnc-custom-index__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tnc-custom-index__body strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.05;
}

.tnc-custom-index__body span {
  color: rgba(37, 37, 37, 0.72);
}

.tnc-custom-index__body em {
  align-self: end;
  color: #8a6a2d;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 900px) {
  .tnc-custom-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tnc-diamond-quote__workspace,
  .tnc-stone-bridge {
    grid-template-columns: 1fr;
  }

  .tnc-diamond-quote__result {
    position: static;
  }

  .tnc-stone-bridge__marker {
    display: none;
  }

  .tnc-stone-bridge .tnc-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .tnc-custom-form,
  .tnc-custom-form *,
  .tnc-custom-index,
  .tnc-custom-index * {
    min-width: 0;
  }

  .tnc-custom-form,
  .tnc-custom-form input,
  .tnc-custom-form select,
  .tnc-custom-form textarea,
  .tnc-custom-disclaimer,
  .tnc-custom-summary,
  .tnc-custom-notice {
    max-width: 100%;
    width: 100%;
  }

  .tnc-custom-summary dl {
    grid-template-columns: 1fr;
  }

  .tnc-diamond-steps {
    grid-template-columns: 1fr;
  }

  .tnc-diamond-steps li,
  .tnc-diamond-steps li + li {
    border: 1px solid rgba(37, 37, 37, 0.12);
  }

  .tnc-diamond-steps li:not(:last-child)::after {
    border: 0;
    border-bottom: 1px solid rgba(37, 37, 37, 0.12);
    border-right: 1px solid rgba(37, 37, 37, 0.12);
    bottom: -15px;
    left: calc(50% - 14px);
    right: auto;
    top: auto;
  }

  .tnc-diamond-steps li {
    gap: 2px 10px;
    min-height: 76px;
    padding: 13px 16px;
  }

  .tnc-diamond-steps span {
    font-size: 1.08rem;
    height: 36px;
    width: 36px;
  }

  .tnc-diamond-steps strong {
    font-size: 0.96rem;
  }

  .tnc-diamond-steps em {
    font-size: 0.74rem;
  }

  .tnc-stone-final__fields {
    grid-template-columns: 1fr;
  }

  .tnc-dual-range__head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .tnc-dual-range output {
    font-size: 1rem;
    text-align: left;
  }

  .tnc-diamond-quote {
    padding: 18px;
  }

  .tnc-diamond-quote__grid,
  .tnc-diamond-quote__result {
    grid-template-columns: 1fr;
  }

  .tnc-quote-origin__choices,
  .tnc-final-choice-grid--origin,
  .tnc-final-choice-grid--stone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-quote-origin__choices--three {
    grid-template-columns: 1fr;
  }

  .tnc-final-choice-grid--stone .tnc-final-choice > span {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 118px;
    padding: 10px 8px;
    text-align: center;
  }

  .tnc-final-choice-grid--stone .tnc-final-choice strong {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .tnc-final-choice-grid--stone .tnc-final-choice__gem {
    height: 54px;
    width: 54px;
  }

  .tnc-carat-control {
    grid-template-columns: 1fr;
  }

  .tnc-scale-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tnc-stone-bridge {
    padding: 22px 18px;
  }

  .tnc-stone-bridge__summary {
    grid-template-columns: 1fr 1fr;
  }

  .tnc-custom-form input[type="file"] {
    overflow-wrap: anywhere;
  }

  .tnc-custom-index__grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tnc-custom-index__card {
    max-width: 100%;
    width: 100%;
  }

  .tnc-stone-final__fields,
  .tnc-complete-ring__contact-grid,
  .tnc-complete-ring__summary,
  .tnc-complete-ring__estimate {
    grid-template-columns: 1fr;
  }

  .tnc-stone-final,
  .tnc-complete-ring__form {
    padding: 18px;
  }

  .tnc-stone-formal-estimate {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .tnc-stone-formal-estimate p {
    grid-column: auto;
  }

  .tnc-stone-bridge .tnc-button {
    justify-self: stretch;
    width: 100%;
  }

  .tnc-stone-final__notes,
  .tnc-complete-ring__message {
    grid-column: auto;
  }

  .tnc-complete-ring__card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 18px;
  }

  .tnc-complete-ring__card dl {
    grid-template-columns: 1fr;
  }

  .tnc-stone-planner__actions,
  .tnc-stone-planner__actions .tnc-button {
    width: 100%;
  }
}

/* AI studio V31D: full-width brief, sequential library, and concept action modal */
.tnc-ai-studio__layout {
  display: block;
}

.tnc-ai-brief {
  width: 100%;
}

.tnc-ai-brief label.is-disabled {
  color: rgba(49, 49, 47, 0.48);
}

.tnc-ai-brief label.is-disabled input,
.tnc-ai-brief label.is-disabled select,
.tnc-ai-brief input:disabled,
.tnc-ai-brief select:disabled {
  background: #eee9df;
  border-color: rgba(37, 37, 37, 0.1);
  color: rgba(37, 37, 37, 0.45);
  cursor: not-allowed;
  opacity: 1;
}

.tnc-ai-library__projects {
  display: grid;
  gap: clamp(38px, 6vw, 72px);
}

.tnc-ai-project {
  scroll-margin-top: 96px;
}

.tnc-ai-project + .tnc-ai-project {
  border-top: 1px solid rgba(23, 62, 52, 0.14);
  padding-top: clamp(30px, 5vw, 52px);
}

.tnc-ai-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnc-ai-concept__open {
  background: #eee5d7;
  border: 0;
  color: #fffaf2;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.tnc-ai-concept__open img {
  transition: transform 220ms ease;
}

.tnc-ai-concept__open > span {
  background: rgba(23, 62, 52, 0.9);
  bottom: 12px;
  color: #fffaf2;
  font-size: 0.72rem;
  font-weight: 800;
  left: 12px;
  opacity: 0;
  padding: 8px 10px;
  position: absolute;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tnc-ai-concept__open:hover img,
.tnc-ai-concept__open:focus-visible img {
  transform: scale(1.018);
}

.tnc-ai-concept__open:hover > span,
.tnc-ai-concept__open:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.tnc-ai-concept__open:focus-visible {
  outline: 3px solid rgba(184, 146, 74, 0.65);
  outline-offset: 3px;
}

.tnc-ai-concept-modal {
  background: transparent;
  border: 0;
  color: #252525;
  height: min(90vh, 900px);
  margin: auto;
  max-height: 90vh;
  max-width: 1380px;
  padding: 0;
  width: min(94vw, 1380px);
}

.tnc-ai-concept-modal::backdrop {
  background: rgba(10, 25, 21, 0.78);
  backdrop-filter: blur(4px);
}

.tnc-ai-concept-modal__shell {
  background: #fffdf8;
  border: 1px solid rgba(201, 167, 95, 0.48);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  height: 100%;
  overflow: hidden;
  position: relative;
}

.tnc-ai-concept-modal__close {
  align-items: center;
  background: #173e34;
  border: 1px solid rgba(255, 250, 242, 0.5);
  border-radius: 50%;
  color: #fffaf2;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  z-index: 3;
}

.tnc-ai-concept-modal__close:focus-visible {
  outline: 3px solid #dfc27f;
  outline-offset: 3px;
}

.tnc-ai-concept-modal__preview {
  align-items: center;
  background: #eee5d7;
  display: flex;
  min-height: 0;
  overflow: auto;
}

.tnc-ai-concept-modal__preview img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-ai-concept-modal__content {
  align-content: start;
  background: #fffaf2;
  display: grid;
  gap: 16px;
  overflow-y: auto;
  padding: clamp(36px, 4vw, 60px) clamp(24px, 3vw, 42px);
}

.tnc-ai-concept-modal__content h2,
.tnc-ai-modal-form h3 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.tnc-ai-concept-modal__content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.tnc-ai-concept-modal__content > p:not(.tnc-ai-studio__eyebrow) {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.58;
  margin: 0;
}

.tnc-ai-concept-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.tnc-ai-concept-modal__actions .tnc-button {
  justify-content: center;
  text-align: center;
  width: 100%;
}

.tnc-ai-modal-form {
  display: grid;
  gap: 16px;
}

.tnc-ai-modal-form[hidden],
.tnc-ai-concept-modal__actions[hidden] {
  display: none;
}

.tnc-ai-modal-form__heading {
  display: grid;
  gap: 9px;
}

.tnc-ai-modal-form__heading > button {
  background: transparent;
  border: 0;
  color: #45675e;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  justify-self: start;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.tnc-ai-modal-form h3 {
  font-size: 1.65rem;
  margin: 0;
}

.tnc-ai-modal-form p {
  color: rgba(37, 37, 37, 0.66);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

.tnc-ai-modal-form__grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-ai-modal-form label {
  color: #31312f;
  display: grid;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 7px;
}

.tnc-ai-modal-form input,
.tnc-ai-modal-form select,
.tnc-ai-modal-form textarea {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.tnc-ai-modal-form textarea {
  line-height: 1.5;
  min-height: 112px;
  resize: vertical;
}

.tnc-ai-modal-form input:focus,
.tnc-ai-modal-form select:focus,
.tnc-ai-modal-form textarea:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-ai-modal-form__confirm {
  align-items: start;
  background: rgba(184, 146, 74, 0.08);
  border: 1px solid rgba(184, 146, 74, 0.2);
  border-radius: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.45;
  padding: 12px;
}

.tnc-ai-modal-form__confirm input {
  accent-color: #173e34;
  height: 18px;
  margin-top: 1px;
  min-height: 0;
  padding: 0;
  width: 18px;
}

@media (max-width: 1050px) {
  .tnc-ai-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-ai-concept-modal {
    height: auto;
  }

  .tnc-ai-concept-modal__shell {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .tnc-ai-concept-modal__preview {
    overflow: visible;
  }

  .tnc-ai-concept-modal__content {
    overflow: visible;
  }
}

@media (max-width: 680px) {
  .tnc-ai-gallery {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-ai-concept__meta {
    padding: 12px;
  }

  .tnc-ai-concept__meta > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tnc-ai-concept-modal {
    height: 94vh;
    max-height: 94vh;
    width: 96vw;
  }

  .tnc-ai-concept-modal__shell {
    border-radius: 8px;
    max-height: 94vh;
  }

  .tnc-ai-concept-modal__content {
    padding: 28px 18px;
  }

  .tnc-ai-concept-modal__close {
    height: 38px;
    right: 10px;
    top: 10px;
    width: 38px;
  }

  .tnc-ai-modal-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-ai-concept__open img,
  .tnc-ai-concept__open > span {
    transition: none;
  }

  .tnc-ai-concept__open:hover img,
  .tnc-ai-concept__open:focus-visible img {
    transform: none;
  }
}

/* AI Design Co-Creation */
.tnc-ai-studio {
  background: #f8f3ea;
  color: #252525;
}

.tnc-ai-studio + .tnc-footer {
  margin-top: 0;
}

#tnc-ai-create,
#tnc-ai-designs {
  scroll-margin-top: 82px;
}

.tnc-ai-studio__toolbar {
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(23, 62, 52, 0.14);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-bar .tnc-ai-studio__toolbar {
  top: 32px;
}

.tnc-ai-studio__toolbar .tnc-container {
  align-items: center;
  display: flex;
  gap: 22px;
  min-height: 58px;
}

.tnc-ai-studio__toolbar a {
  color: #173e34;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.tnc-ai-studio__toolbar a:hover,
.tnc-ai-studio__toolbar a:focus-visible {
  color: #8a6a2d;
}

.tnc-ai-studio__toolbar a span {
  align-items: center;
  background: #173e34;
  border-radius: 999px;
  color: #fffaf2;
  display: inline-flex;
  font-size: 0.68rem;
  height: 22px;
  justify-content: center;
  margin-left: 5px;
  min-width: 22px;
  padding: 0 6px;
}

.tnc-ai-studio__toolbar p {
  color: rgba(37, 37, 37, 0.64);
  font-size: 0.76rem;
  line-height: 1.35;
  margin: 0 0 0 auto;
  text-align: right;
}

.tnc-ai-studio__hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(184, 146, 74, 0.2), transparent 30%),
    linear-gradient(135deg, #f9f4eb 0%, #f3e9d9 100%);
  border-bottom: 1px solid rgba(37, 37, 37, 0.1);
  padding: clamp(54px, 7vw, 92px) 0;
}

.tnc-ai-studio__hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(38px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.tnc-ai-studio__eyebrow {
  color: #9b7938;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.tnc-ai-studio__hero h1,
.tnc-ai-login h2,
.tnc-ai-brief-intro h2,
.tnc-ai-unlock h2,
.tnc-ai-library h2 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.tnc-ai-studio__hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.98;
  margin: 0 0 22px;
  max-width: 12ch;
  text-wrap: balance;
}

.tnc-ai-studio__hero p:not(.tnc-ai-studio__eyebrow) {
  color: rgba(37, 37, 37, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

.tnc-ai-studio__steps {
  border-top: 1px solid rgba(23, 62, 52, 0.2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tnc-ai-studio__hero-side {
  display: grid;
  gap: 16px;
}

.tnc-ai-studio__hero-side figure {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(23, 62, 52, 0.14);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}

.tnc-ai-studio__hero-side img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  width: 100%;
}

.tnc-ai-studio__steps li {
  align-items: center;
  border-bottom: 1px solid rgba(23, 62, 52, 0.2);
  display: grid;
  grid-template-columns: 1fr;
  padding: 16px 2px;
}

.tnc-ai-studio__steps strong {
  color: #173e34;
  font-size: 0.92rem;
}

.tnc-ai-login {
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(37, 37, 37, 0.06);
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
}

.tnc-ai-login h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.tnc-ai-login p:not(.tnc-ai-studio__eyebrow) {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.65;
  margin: 0 auto 26px;
  max-width: 58ch;
}

.tnc-ai-creditbar {
  align-items: center;
  background: #173e34;
  border-radius: 10px;
  color: #fffaf2;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  margin-bottom: 34px;
  padding: 20px 24px;
}

.tnc-ai-creditbar > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.tnc-ai-creditbar span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  max-width: 145px;
  text-transform: uppercase;
}

.tnc-ai-creditbar strong {
  align-items: center;
  background: #c9a75f;
  border-radius: 999px;
  color: #173e34;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.tnc-ai-creditbar p {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
  text-align: right;
}

.tnc-ai-generation-panel {
  background: #173e34;
  border: 1px solid rgba(201, 167, 95, 0.48);
  border-radius: 12px;
  color: #fffaf2;
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  margin: 0 0 34px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
}

.tnc-ai-generation-panel[hidden] {
  display: none;
}

.tnc-ai-generation-panel__preview {
  align-content: center;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: 10px;
  display: grid;
  gap: 14px;
  min-height: 230px;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.tnc-ai-generation-panel__preview::after {
  animation: tnc-ai-skeleton 2.1s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 95, 0.22), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.tnc-ai-generation-panel__preview span {
  background: rgba(255, 250, 242, 0.12);
  border-radius: 999px;
  display: block;
  height: 12px;
}

.tnc-ai-generation-panel__preview span:nth-child(1) { width: 74%; }
.tnc-ai-generation-panel__preview span:nth-child(2) { height: 72px; width: 100%; }
.tnc-ai-generation-panel__preview span:nth-child(3) { width: 48%; }

@keyframes tnc-ai-skeleton {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.tnc-ai-generation-panel__content {
  align-content: center;
  display: grid;
  gap: 14px;
}

.tnc-ai-generation-panel__state {
  color: #dfc27f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tnc-ai-generation-panel h2 {
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
}

.tnc-ai-generation-panel__content > p {
  color: rgba(255, 250, 242, 0.82);
  line-height: 1.58;
  margin: 0;
}

.tnc-ai-generation-panel__details {
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 13px 0;
}

.tnc-ai-generation-panel__details span {
  color: rgba(255, 250, 242, 0.74);
  font-size: 0.78rem;
}

.tnc-ai-generation-panel__details strong {
  color: #dfc27f;
  margin-right: 6px;
}

.tnc-ai-generation-panel__details b {
  color: #fffaf2;
  font-variant-numeric: tabular-nums;
}

.tnc-ai-generation-panel__note {
  font-size: 0.82rem;
}

.tnc-ai-generation-panel .tnc-button {
  background: #c9a75f;
  color: #173e34;
  justify-self: start;
}

.tnc-ai-generation-panel[data-state="failed"] {
  background: #4d2928;
}

.tnc-ai-generation-panel[data-state="complete"] {
  background: #17483c;
}

.tnc-ai-notice {
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.36);
  border-left: 4px solid #b8924a;
  border-radius: 8px;
  margin-bottom: 26px;
  padding: 16px 18px;
}

.tnc-ai-notice p {
  margin: 4px 0 0;
}

.tnc-ai-studio__layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
}

.tnc-ai-brief-intro {
  position: sticky;
  top: 24px;
}

.tnc-ai-brief-intro h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.04;
  margin: 0 0 18px;
}

.tnc-ai-brief-intro p:not(.tnc-ai-studio__eyebrow) {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.65;
}

.tnc-ai-brief {
  display: grid;
  gap: 18px;
}

.tnc-ai-brief fieldset,
.tnc-ai-revision,
.tnc-ai-review,
.tnc-ai-unlock {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.13);
  border-radius: 12px;
  margin: 0;
  padding: clamp(22px, 3.5vw, 36px);
}

.tnc-ai-brief fieldset {
  display: grid;
  gap: 20px;
}

.tnc-ai-brief legend {
  align-items: center;
  color: #173e34;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  gap: 12px;
  padding: 0 8px;
}

.tnc-ai-brief legend span {
  color: #9b7938;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tnc-ai-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-ai-brief label,
.tnc-ai-unlock__form label {
  color: #31312f;
  display: grid;
  font-size: 0.86rem;
  font-weight: 750;
  gap: 8px;
}

.tnc-ai-brief input,
.tnc-ai-brief select,
.tnc-ai-brief textarea,
.tnc-ai-revision textarea,
.tnc-ai-unlock__form input {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.tnc-ai-brief textarea,
.tnc-ai-revision textarea {
  line-height: 1.55;
  min-height: 124px;
  resize: vertical;
}

.tnc-ai-brief input:focus,
.tnc-ai-brief select:focus,
.tnc-ai-brief textarea:focus,
.tnc-ai-revision textarea:focus,
.tnc-ai-unlock__form input:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-ai-choice-group {
  display: grid;
  gap: 10px;
}

.tnc-ai-choice-group > span {
  font-size: 0.86rem;
  font-weight: 750;
}

.tnc-ai-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tnc-ai-chip-grid label {
  display: block;
}

.tnc-ai-chip-grid input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.tnc-ai-chip-grid span {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 999px;
  cursor: pointer;
  display: block;
  font-size: 0.8rem;
  padding: 9px 14px;
}

.tnc-ai-chip-grid input:checked + span {
  background: #173e34;
  border-color: #173e34;
  color: #fffaf2;
}

.tnc-ai-chip-grid input:focus-visible + span {
  outline: 3px solid rgba(184, 146, 74, 0.3);
}

.tnc-ai-disclaimer {
  color: rgba(37, 37, 37, 0.62);
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 2px 0;
}

.tnc-ai-consent {
  align-items: start;
  background: rgba(184, 146, 74, 0.08);
  border: 1px solid rgba(184, 146, 74, 0.2);
  border-radius: 8px;
  display: grid !important;
  font-weight: 500 !important;
  gap: 10px !important;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.5;
  padding: 14px;
}

.tnc-ai-consent input {
  accent-color: #173e34;
  height: 18px;
  margin-top: 2px;
  min-height: 0;
  padding: 0;
  width: 18px;
}

.tnc-ai-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tnc-ai-form-actions button[disabled],
.tnc-ai-concept button[disabled] {
  cursor: wait;
  opacity: 0.58;
}

.tnc-ai-form-status {
  color: #45675e;
  font-size: 0.82rem;
  line-height: 1.4;
}

.tnc-ai-form-status.is-error {
  color: #9d2f2f;
}

.tnc-ai-brief.is-generating,
.tnc-ai-revision.is-generating {
  position: relative;
}

.tnc-ai-brief.is-generating::after,
.tnc-ai-revision.is-generating::after {
  animation: tnc-ai-progress 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, #b8924a, transparent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform-origin: left;
  width: 100%;
}

@keyframes tnc-ai-progress {
  0% { opacity: 0.25; transform: scaleX(0.12); }
  50% { opacity: 1; transform: scaleX(0.72); }
  100% { opacity: 0.25; transform: scaleX(0.12); transform-origin: right; }
}

.tnc-ai-studio .tnc-button:active,
.tnc-ai-concept button:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  .tnc-ai-brief.is-generating::after,
  .tnc-ai-revision.is-generating::after,
  .tnc-ai-generation-panel__preview::after {
    animation: none;
    opacity: 0.7;
    transform: none;
  }
}

.tnc-ai-unlock {
  background:
    radial-gradient(circle at 90% 10%, rgba(184, 146, 74, 0.17), transparent 35%),
    #fffaf2;
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.tnc-ai-unlock h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  margin: 0 0 14px;
}

.tnc-ai-unlock > p:not(.tnc-ai-studio__eyebrow) {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 60ch;
}

.tnc-ai-unlock__form {
  display: grid;
  gap: 14px;
  margin: 24px auto 0;
  max-width: 520px;
  text-align: left;
}

.tnc-ai-unlock__form button {
  justify-self: start;
}

.tnc-ai-countdown {
  color: #173e34;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.tnc-ai-library {
  background: #fffdf8;
  border-top: 1px solid rgba(37, 37, 37, 0.1);
}

.tnc-ai-library__heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr minmax(260px, 0.7fr);
  margin-bottom: 32px;
}

.tnc-ai-library h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0;
}

.tnc-ai-library__empty {
  background: #f8f3ea;
  border: 1px solid rgba(23, 62, 52, 0.16);
  border-radius: 12px;
  max-width: 760px;
  padding: clamp(24px, 4vw, 42px);
}

.tnc-ai-library__empty h3 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  margin: 0 0 12px;
}

.tnc-ai-library__empty p {
  color: rgba(37, 37, 37, 0.68);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 62ch;
}

.tnc-ai-library__empty a {
  color: #173e34;
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.tnc-ai-library nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tnc-ai-library nav a {
  border: 1px solid rgba(23, 62, 52, 0.24);
  border-radius: 999px;
  color: #173e34;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 8px 12px;
  text-decoration: none;
}

.tnc-ai-library nav a.is-active {
  background: #173e34;
  color: #fffaf2;
}

.tnc-ai-project-head {
  align-items: center;
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 14px 0;
}

.tnc-ai-project-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tnc-ai-project-head span {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.78rem;
}

.tnc-ai-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-ai-concept {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.13);
  border-radius: 10px;
  overflow: hidden;
}

.tnc-ai-concept.is-selected {
  border-color: #b8924a;
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.16);
}

.tnc-ai-concept > a {
  background: #eee5d7;
  display: block;
}

.tnc-ai-concept img {
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: contain;
  width: 100%;
}

.tnc-ai-concept__meta {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.tnc-ai-concept__meta > p {
  color: rgba(37, 37, 37, 0.66);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.tnc-ai-concept__meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tnc-ai-concept button {
  background: transparent;
  border: 0;
  color: #17483c;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.tnc-ai-concept button + button {
  color: #8a6a2d;
}

.tnc-ai-revision,
.tnc-ai-review {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.tnc-ai-revision h3,
.tnc-ai-review h3 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.tnc-ai-revision p:not(.tnc-ai-studio__eyebrow),
.tnc-ai-review p {
  color: rgba(37, 37, 37, 0.65);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

.tnc-ai-review {
  align-items: center;
  background: #173e34;
  color: #fffaf2;
  grid-template-columns: 1fr auto;
}

.tnc-ai-review h3,
.tnc-ai-review p {
  color: #fffaf2;
}

@media (max-width: 900px) {
  .tnc-ai-studio__hero-grid,
  .tnc-ai-studio__layout,
  .tnc-ai-library__heading {
    grid-template-columns: 1fr;
  }

  .tnc-ai-brief-intro {
    position: static;
  }

  .tnc-ai-library nav {
    justify-content: flex-start;
  }

  .tnc-ai-generation-panel {
    grid-template-columns: 1fr;
  }

  .tnc-ai-generation-panel__preview {
    min-height: 150px;
  }
}

@media (max-width: 680px) {
  .admin-bar .tnc-ai-studio__toolbar {
    top: 46px;
  }

  .tnc-ai-studio__toolbar .tnc-container {
    gap: 16px;
    min-height: 54px;
    overflow-x: auto;
  }

  .tnc-ai-studio__toolbar a {
    flex: 0 0 auto;
  }

  .tnc-ai-studio__toolbar p {
    display: none;
  }

  .tnc-ai-studio__hero {
    padding: 44px 0;
  }

  .tnc-ai-studio__hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
    max-width: none;
  }

  .tnc-ai-creditbar,
  .tnc-ai-field-grid,
  .tnc-ai-gallery,
  .tnc-ai-review {
    grid-template-columns: 1fr;
  }

  .tnc-ai-creditbar p {
    text-align: left;
  }

  .tnc-ai-brief fieldset,
  .tnc-ai-revision,
  .tnc-ai-review,
  .tnc-ai-unlock {
    padding: 22px 18px;
  }

  .tnc-ai-generation-panel {
    margin-left: -2px;
    margin-right: -2px;
    padding: 20px 18px;
  }

  .tnc-ai-generation-panel__preview {
    min-height: 118px;
    padding: 22px;
  }

  .tnc-ai-generation-panel .tnc-button {
    justify-self: stretch;
    text-align: center;
  }

  .tnc-ai-form-actions,
  .tnc-ai-form-actions .tnc-button,
  .tnc-ai-review .tnc-button {
    width: 100%;
  }

  .tnc-ai-project-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* Guest concept handoff */
.tnc-ai-guest-banner {
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.34);
  border-radius: 10px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin-bottom: 18px;
  padding: 18px 22px;
}

.tnc-ai-guest-banner strong {
  color: #173e34;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.tnc-ai-guest-banner p {
  color: rgba(37, 37, 37, 0.68);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

.tnc-ai-guest-banner a {
  color: #173e34;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  white-space: nowrap;
}

.tnc-ai-claim {
  align-items: center;
  background: #173e34;
  border-radius: 12px;
  color: #fffaf2;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
}

.tnc-ai-claim--standalone {
  margin: 20px auto 0;
  max-width: 900px;
}

.tnc-ai-claim h3 {
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  margin: 0 0 8px;
}

.tnc-ai-claim p {
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.55;
  margin: 0;
  max-width: 65ch;
}

.tnc-ai-claim .tnc-button {
  background: #c9a75f;
  border-color: #c9a75f;
  color: #173e34;
  white-space: nowrap;
}

/* Customer account access */
.tnc-account-access {
  background:
    radial-gradient(circle at 50% 0, rgba(184, 146, 74, 0.11), transparent 32%),
    #f8f3ea;
  min-height: 72vh;
}

.tnc-account-access + .tnc-footer {
  margin-top: 0;
}

.tnc-account-access__shell {
  display: grid;
  min-height: 72vh;
  padding: clamp(48px, 8vw, 96px) 20px;
  place-items: start center;
}

.tnc-account-card {
  width: min(100%, 420px);
}

.tnc-account-card__intro {
  margin-bottom: 28px;
  text-align: center;
}

.tnc-account-card h1 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 14px;
}

.tnc-account-card__intro p,
.tnc-account-card > p {
  color: rgba(37, 37, 37, 0.67);
  line-height: 1.55;
  margin: 0;
}

.tnc-auth-google,
.tnc-auth-submit {
  align-items: center;
  border-radius: 7px;
  display: flex;
  font-size: 0.94rem;
  font-weight: 750;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
  width: 100%;
}

.tnc-auth-google {
  background: #fff;
  border: 1px solid rgba(37, 37, 37, 0.24);
  color: #252525;
  gap: 12px;
}

.tnc-auth-google:hover,
.tnc-auth-google:focus-visible {
  background: #fdfbf7;
  border-color: rgba(23, 62, 52, 0.5);
}

.tnc-auth-google img {
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.tnc-auth-divider {
  align-items: center;
  color: rgba(37, 37, 37, 0.5);
  display: grid;
  font-size: 0.78rem;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  margin: 22px 0;
}

.tnc-auth-divider::before,
.tnc-auth-divider::after {
  background: rgba(37, 37, 37, 0.14);
  content: "";
  height: 1px;
}

.tnc-auth-switch {
  border-bottom: 1px solid rgba(37, 37, 37, 0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.tnc-auth-switch button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(37, 37, 37, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  padding: 12px 8px;
}

.tnc-auth-switch button[aria-selected="true"] {
  border-bottom-color: #173e34;
  color: #173e34;
}

.tnc-auth-form {
  display: grid;
  gap: 10px;
}

.tnc-auth-form[hidden] {
  display: none;
}

.tnc-auth-form > label:not(.tnc-auth-agreement) {
  color: #31312f;
  font-size: 0.83rem;
  font-weight: 750;
  margin-top: 4px;
}

.tnc-auth-form > input {
  background: #fff;
  border: 1px solid rgba(37, 37, 37, 0.24);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.tnc-auth-form > input:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.2);
}

.tnc-auth-forgot {
  color: #17483c;
  font-size: 0.79rem;
  font-weight: 700;
  justify-self: end;
  margin: 2px 0 8px;
}

.tnc-auth-submit {
  background: #173e34;
  border: 1px solid #173e34;
  color: #fffaf2;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}

.tnc-auth-submit:hover,
.tnc-auth-submit:focus-visible {
  background: #0f3028;
}

.tnc-auth-submit[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.tnc-auth-question {
  color: rgba(37, 37, 37, 0.66);
  font-size: 0.82rem;
  margin: 14px 0 0;
  text-align: center;
}

.tnc-auth-question button {
  background: transparent;
  border: 0;
  color: #17483c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tnc-auth-agreement {
  align-items: start;
  color: rgba(37, 37, 37, 0.72);
  display: grid;
  font-size: 0.76rem;
  gap: 9px;
  grid-template-columns: auto 1fr;
  line-height: 1.45;
  margin-top: 6px;
}

.tnc-auth-agreement input {
  accent-color: #173e34;
  height: 17px;
  margin-top: 2px;
  width: 17px;
}

.tnc-auth-agreement a,
.tnc-auth-help {
  color: #17483c;
}

.tnc-auth-help {
  font-size: 0.74rem;
  margin: -4px 0 2px;
}

.tnc-auth-error,
.tnc-auth-setup-note {
  border-radius: 7px;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.tnc-auth-error {
  background: #fff0ee;
  border: 1px solid rgba(157, 47, 47, 0.28);
  color: #7d2525;
}

.tnc-auth-setup-note {
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.35);
  color: #705727;
}

@media (max-width: 680px) {
  .tnc-ai-guest-banner,
  .tnc-ai-claim {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .tnc-ai-guest-banner a,
  .tnc-ai-claim .tnc-button {
    white-space: normal;
    width: 100%;
  }

  .tnc-account-access__shell {
    min-height: 68vh;
    padding: 42px 20px 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-auth-google,
  .tnc-auth-submit,
  .tnc-auth-switch button {
    transition: none;
  }
}

/* Custom Jewelry Studio index */
.tnc-custom-index {
  background:
    radial-gradient(circle at 82% 3%, rgba(184, 146, 74, 0.1), transparent 24%),
    #f8f3ea;
}

.tnc-custom-index + .tnc-footer {
  margin-top: 0;
}

.tnc-custom-index__hero {
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
  padding: clamp(54px, 8vw, 98px) 0 clamp(46px, 7vw, 82px);
}

.tnc-custom-index__hero .tnc-section__intro {
  margin-bottom: 0;
  max-width: 850px;
}

.tnc-custom-index__eyebrow {
  color: #9b7938;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.tnc-custom-index__hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 20px;
  text-wrap: balance;
}

.tnc-custom-index__hero .tnc-muted {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.68;
  margin: 0 auto;
  max-width: 680px;
}

.tnc-custom-index__paths {
  padding-bottom: clamp(58px, 8vw, 94px);
}

.tnc-custom-index__paths .tnc-section__intro h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.tnc-custom-index__grid {
  display: grid;
  gap: clamp(14px, 1.35vw, 18px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tnc-custom-index__card {
  aspect-ratio: 3 / 5;
  background: #fffaf2;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(221, 190, 126, 0.14), 0 16px 36px rgba(85, 66, 38, 0.07);
  color: inherit;
  display: block;
  min-height: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  isolation: isolate;
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tnc-custom-index__card::after {
  background: linear-gradient(105deg, transparent 18%, rgba(255, 248, 225, 0.08) 39%, rgba(218, 180, 104, 0.24) 49%, rgba(255, 248, 225, 0.12) 54%, transparent 76%);
  content: "";
  height: 150%;
  left: -72%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -25%;
  transform: translateX(0) skewX(-12deg);
  width: 34%;
  z-index: 1;
}

a.tnc-custom-index__card:hover,
a.tnc-custom-index__card:focus-visible {
  border-color: rgba(184, 146, 74, 0.66);
  box-shadow: inset 0 0 0 1px rgba(221, 190, 126, 0.26), 0 24px 52px rgba(85, 66, 38, 0.13);
  transform: translateY(-5px);
}

a.tnc-custom-index__card:focus-visible {
  outline: 2px solid rgba(184, 146, 74, 0.5);
  outline-offset: 4px;
}

.tnc-custom-index__card.is-unavailable {
  cursor: default;
}

.tnc-custom-index__media,
.tnc-custom-index__media img {
  display: block;
  width: 100%;
}

.tnc-custom-index__media {
  aspect-ratio: 3 / 4;
  height: auto;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.tnc-custom-index__media img,
.tnc-custom-index__card img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

a.tnc-custom-index__card:hover img,
a.tnc-custom-index__card:focus-visible img {
  transform: scale(1.018);
}

.tnc-custom-index__body {
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  left: 0;
  height: 47%;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.tnc-custom-index__body strong {
  font-family: Georgia, "Times New Roman", serif;
  display: -webkit-box;
  font-size: clamp(1.42rem, 1.75vw, 1.72rem);
  font-weight: 500;
  line-height: 1.06;
  min-height: 2.12em;
  overflow: hidden;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tnc-custom-index__body > span {
  color: rgba(37, 37, 37, 0.7);
  display: block;
  font-size: clamp(0.94rem, 0.95vw, 1rem);
  line-height: 1.5;
  overflow: visible;
}

.tnc-custom-index__body em {
  color: #806127;
  border-bottom: 1px solid rgba(128, 97, 39, 0.52);
  font-size: clamp(0.9rem, 0.92vw, 0.98rem);
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-bottom: 4px;
  width: fit-content;
}

@keyframes tnc-custom-index-sheen {
  0%, 72% {
    opacity: 0;
    transform: translateX(0) skewX(-12deg);
  }
  78% {
    opacity: 0.74;
  }
  92%, 100% {
    opacity: 0;
    transform: translateX(520%) skewX(-12deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tnc-custom-index__card::after {
    animation: tnc-custom-index-sheen 11s ease-in-out infinite;
  }

  .tnc-custom-index__card:nth-child(2)::after {
    animation-delay: 1.7s;
  }

  .tnc-custom-index__card:nth-child(3)::after {
    animation-delay: 3.4s;
  }

  .tnc-custom-index__card:nth-child(4)::after {
    animation-delay: 5.1s;
  }
}

.tnc-custom-index__card.is-unavailable .tnc-custom-index__body em {
  color: rgba(37, 37, 37, 0.5);
}

.tnc-custom-index__guide {
  background: rgba(255, 250, 242, 0.66);
  border-block: 1px solid rgba(37, 37, 37, 0.1);
}

.tnc-custom-index__guide-grid {
  align-items: start;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.tnc-custom-index__guide h2,
.tnc-custom-index__engagement h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.8vw, 3.65rem);
  font-weight: 500;
  line-height: 1.04;
  margin: 0 0 16px;
  text-wrap: balance;
}

.tnc-custom-index__guide p,
.tnc-custom-index__engagement p {
  color: rgba(37, 37, 37, 0.7);
  line-height: 1.68;
  margin: 0;
  max-width: 52ch;
}

.tnc-custom-index__guide dl {
  margin: 0;
}

.tnc-custom-index__guide dl > div {
  align-items: center;
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 16px 0;
}

.tnc-custom-index__guide dl > div:first-child {
  padding-top: 0;
}

.tnc-custom-index__guide dt {
  color: rgba(37, 37, 37, 0.72);
}

.tnc-custom-index__guide dd {
  margin: 0;
}

.tnc-custom-index__guide a {
  color: #17483c;
  font-size: 0.78rem;
  font-weight: 750;
  text-underline-offset: 0.25em;
  white-space: nowrap;
}

.tnc-custom-index__engagement {
  padding-top: 0;
}

.tnc-custom-index__engagement-inner {
  align-items: center;
  background: #17483c;
  border-radius: 8px;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(28px, 4.5vw, 52px);
}

.tnc-custom-index__engagement h2,
.tnc-custom-index__engagement p {
  color: #fffaf2;
}

.tnc-custom-index__engagement h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.tnc-custom-index__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.tnc-custom-index__actions .tnc-button {
  min-height: 44px;
}

@media (max-width: 960px) {
  .tnc-custom-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-custom-index__guide-grid,
  .tnc-custom-index__engagement-inner {
    grid-template-columns: 1fr;
  }

  .tnc-custom-index__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .tnc-custom-index__hero {
    padding: 42px 0 38px;
  }

  .tnc-custom-index__hero .tnc-section__intro {
    text-align: left;
  }

  .tnc-custom-index__hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  .tnc-custom-index__hero .tnc-muted {
    margin-inline: 0;
  }

  .tnc-custom-index__paths {
    padding-top: 28px;
  }

  .tnc-custom-index__grid {
    gap: 14px;
    grid-auto-columns: 82vw;
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: -18px;
    overflow-x: auto;
    padding: 4px 18px 16px;
    scroll-snap-type: x mandatory;
    width: auto;
  }

  .tnc-custom-index__card {
    scroll-snap-align: start;
    width: auto;
  }

  .tnc-custom-index__body {
    height: 42%;
    padding: 22px;
  }

  .tnc-custom-index__body > span {
    font-size: clamp(0.96rem, 4vw, 1.04rem);
  }

  .tnc-custom-index__body strong {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .tnc-custom-index__body em {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
  }

  .tnc-custom-index__guide dl > div {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tnc-custom-index__guide a {
    white-space: normal;
  }

  .tnc-custom-index__engagement-inner {
    padding: 26px 22px;
  }

  .tnc-custom-index__actions,
  .tnc-custom-index__actions .tnc-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-custom-index__card {
    transition: none;
  }

  .tnc-custom-index__card img {
    transition: none;
  }

  .tnc-custom-index__card::after {
    animation: none;
  }

  a.tnc-custom-index__card:hover {
    transform: none;
  }
}

.tnc-ai-hold {
  background:
    radial-gradient(circle at 82% 8%, rgba(184, 146, 74, 0.1), transparent 26%),
    #f8f3ea;
}

.tnc-ai-hold + .tnc-footer {
  margin-top: 0;
}

.tnc-ai-hold__grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.tnc-ai-hold__eyebrow {
  color: #9b7938;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.tnc-ai-hold h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.9vw, 4.65rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 22px;
  max-width: 12ch;
  text-wrap: balance;
}

.tnc-ai-hold p:not(.tnc-ai-hold__eyebrow) {
  color: rgba(37, 37, 37, 0.72);
  font-size: 1.04rem;
  line-height: 1.68;
  margin: 0;
  max-width: 44rem;
}

.tnc-ai-hold__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tnc-ai-hold__actions .tnc-button {
  min-height: 44px;
}

.tnc-ai-hold figure {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.13);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.tnc-ai-hold figure img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  width: 100%;
}

@media (max-width: 900px) {
  .tnc-ai-hold__grid {
    grid-template-columns: 1fr;
  }

  .tnc-ai-hold h1 {
    max-width: 15ch;
  }

  .tnc-ai-hold figure {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .tnc-ai-hold .tnc-section {
    padding-top: 38px;
  }

  .tnc-ai-hold h1 {
    font-size: clamp(2.55rem, 11vw, 3.45rem);
    max-width: none;
  }

  .tnc-ai-hold__actions,
  .tnc-ai-hold__actions .tnc-button {
    width: 100%;
  }
}

/* V31D cascade guard: these rules must remain after the legacy AI studio block. */
.tnc-ai-studio__layout {
  display: block;
}

.tnc-ai-brief {
  width: 100%;
}

.tnc-ai-library .tnc-ai-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .tnc-ai-library .tnc-ai-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tnc-ai-library .tnc-ai-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V32 Signature Necklace AI studio */
.tnc-signature-studio {
  background: #f8f3ea;
  color: #252525;
}

.tnc-signature-studio + .tnc-footer {
  margin-top: 0;
}

.tnc-signature-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 167, 95, 0.16), transparent 26%),
    #f8f3ea;
  border-bottom: 1px solid rgba(37, 37, 37, 0.1);
  padding: clamp(34px, 6vw, 76px) 0;
}

.tnc-signature-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
}

.tnc-signature-hero__copy {
  max-width: 680px;
}

.tnc-signature-eyebrow,
.tnc-signature-form__section-copy > span {
  color: #99752f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.tnc-signature-hero h1 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0 0 24px;
  max-width: 10ch;
  text-wrap: balance;
}

.tnc-signature-hero__copy > p:not(.tnc-signature-eyebrow) {
  color: rgba(37, 37, 37, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.66;
  margin: 0 0 28px;
  max-width: 50ch;
}

.tnc-signature-hero figure {
  background: #ece2d1;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: 56% 56% 8px 8px;
  box-shadow: 0 24px 60px rgba(70, 54, 31, 0.12);
  margin: 0;
  overflow: hidden;
}

.tnc-signature-hero figure img {
  aspect-ratio: 3 / 4;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tnc-signature-toolbar {
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(37, 37, 37, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-bar .tnc-signature-toolbar {
  top: 32px;
}

.tnc-signature-toolbar .tnc-container {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 58px;
}

.tnc-signature-toolbar a {
  color: #173e34;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.tnc-signature-toolbar a span {
  align-items: center;
  background: #173e34;
  border-radius: 999px;
  color: #fffaf2;
  display: inline-flex;
  font-size: 0.68rem;
  height: 23px;
  justify-content: center;
  margin-left: 5px;
  min-width: 23px;
  padding: 0 6px;
}

.tnc-signature-toolbar p {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.76rem;
  margin: 0 0 0 auto;
}

.tnc-signature-create {
  padding-bottom: clamp(64px, 9vw, 110px);
}

.tnc-signature-form {
  display: grid;
  gap: 30px;
}

.tnc-signature-form__source,
.tnc-signature-form__choices {
  border-top: 1px solid rgba(37, 37, 37, 0.15);
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  padding-top: clamp(28px, 4vw, 48px);
}

.tnc-signature-form__source {
  grid-template-areas:
    "copy upload"
    "copy note";
}

.tnc-signature-form__source .tnc-signature-form__section-copy {
  grid-area: copy;
}

.tnc-signature-form__section-copy h2,
.tnc-signature-library__heading h2 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.35rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 18px;
  text-wrap: balance;
}

.tnc-signature-form__section-copy p,
.tnc-signature-library__heading > p:not(.tnc-signature-eyebrow) {
  color: rgba(37, 37, 37, 0.66);
  line-height: 1.62;
  margin: 0;
  max-width: 48ch;
}

.tnc-signature-upload {
  background: #fffaf2;
  border: 1px dashed rgba(23, 62, 52, 0.4);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  grid-area: upload;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.tnc-signature-upload:focus-within {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-signature-upload > input {
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.tnc-signature-upload__empty {
  align-content: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 36px;
  text-align: center;
}

.tnc-signature-upload__empty::before {
  align-items: center;
  border: 1px solid rgba(184, 146, 74, 0.5);
  border-radius: 50%;
  color: #99752f;
  content: "+";
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 4px;
  width: 58px;
}

.tnc-signature-upload__empty strong {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.tnc-signature-upload__empty small {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.82rem;
}

.tnc-signature-upload__preview {
  align-content: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px;
}

.tnc-signature-upload__preview[hidden],
.tnc-signature-upload__empty[hidden] {
  display: none;
}

.tnc-signature-upload__preview img {
  background: #fff;
  border: 1px solid rgba(37, 37, 37, 0.1);
  display: block;
  max-height: 200px;
  object-fit: contain;
  width: 100%;
}

.tnc-signature-upload__preview strong {
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.tnc-signature-upload__preview button,
.tnc-signature-modal-form > button {
  background: transparent;
  border: 0;
  color: #45675e;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.tnc-signature-note {
  color: #31312f;
  display: grid;
  font-size: 0.86rem;
  font-weight: 750;
  gap: 8px;
  grid-area: note;
}

.tnc-signature-note textarea,
.tnc-signature-choice-grid input,
.tnc-signature-choice-grid select {
  background: #fffaf2;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.tnc-signature-note textarea {
  line-height: 1.55;
  min-height: 100px;
  resize: vertical;
}

.tnc-signature-note textarea:focus,
.tnc-signature-choice-grid input:focus,
.tnc-signature-choice-grid select:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-signature-choice-grid {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-signature-choice-grid label {
  color: #31312f;
  display: grid;
  font-size: 0.86rem;
  font-weight: 750;
  gap: 8px;
}

.tnc-signature-choice-grid label.is-disabled {
  color: rgba(37, 37, 37, 0.45);
}

.tnc-signature-choice-grid :disabled {
  background: #eee9e0;
  color: rgba(37, 37, 37, 0.44);
  cursor: not-allowed;
}

.tnc-signature-form .tnc-ai-consent {
  margin-top: 4px;
}

.tnc-signature-library {
  background: #fffdf8;
  border-top: 1px solid rgba(37, 37, 37, 0.1);
  padding: clamp(66px, 10vw, 124px) 0;
}

.tnc-signature-library__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.45fr);
  margin-bottom: clamp(34px, 6vw, 66px);
}

.tnc-signature-library__heading .tnc-signature-eyebrow {
  grid-column: 1 / -1;
}

.tnc-signature-library__heading h2 {
  margin-bottom: 0;
  max-width: 12ch;
}

.tnc-signature-library__heading > p:not(.tnc-signature-eyebrow) {
  align-self: end;
}

.tnc-signature-library__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.tnc-signature-library__nav a {
  border: 1px solid rgba(23, 62, 52, 0.28);
  border-radius: 999px;
  color: #173e34;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 9px 12px;
  text-decoration: none;
}

.tnc-signature-library__projects {
  display: grid;
  gap: 56px;
}

.tnc-signature-project {
  border-top: 1px solid rgba(37, 37, 37, 0.16);
  padding-top: 18px;
}

.tnc-signature-project__body {
  align-items: start;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 0.76fr);
  margin-top: 20px;
}

.tnc-signature-source {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.12);
  margin: 0;
  overflow: hidden;
}

.tnc-signature-source img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  width: 100%;
}

.tnc-signature-source figcaption {
  border-top: 1px solid rgba(37, 37, 37, 0.1);
  color: rgba(37, 37, 37, 0.6);
  font-size: 0.72rem;
  padding: 10px 12px;
}

.tnc-signature-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-signature-concept {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.12);
  display: grid;
}

.tnc-signature-concept > button {
  background: #eee5d7;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.tnc-signature-concept > button img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  transition: transform 200ms ease;
  width: 100%;
}

.tnc-signature-concept > button > span {
  background: rgba(23, 62, 52, 0.92);
  bottom: 12px;
  color: #fffaf2;
  font-size: 0.7rem;
  font-weight: 800;
  left: 12px;
  opacity: 0;
  padding: 8px 10px;
  position: absolute;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tnc-signature-concept > button:hover img,
.tnc-signature-concept > button:focus-visible img {
  transform: scale(1.015);
}

.tnc-signature-concept > button:hover > span,
.tnc-signature-concept > button:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.tnc-signature-concept > button:focus-visible {
  outline: 3px solid rgba(184, 146, 74, 0.65);
  outline-offset: 3px;
}

.tnc-signature-concept > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
  padding: 13px 14px;
}

.tnc-signature-concept > div strong {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.tnc-signature-concept > div span {
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.7rem;
}

.tnc-signature-modal {
  background: transparent;
  border: 0;
  color: #252525;
  height: min(92vh, 920px);
  margin: auto;
  max-height: 92vh;
  max-width: 1420px;
  padding: 0;
  width: min(95vw, 1420px);
}

.tnc-signature-modal::backdrop {
  backdrop-filter: blur(4px);
  background: rgba(10, 25, 21, 0.8);
}

.tnc-signature-modal__shell {
  background: #fffdf8;
  border: 1px solid rgba(201, 167, 95, 0.48);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(350px, 0.5fr);
  height: 100%;
  overflow: hidden;
  position: relative;
}

.tnc-signature-modal__close {
  align-items: center;
  background: #173e34;
  border: 1px solid rgba(255, 250, 242, 0.5);
  border-radius: 50%;
  color: #fffaf2;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  z-index: 3;
}

.tnc-signature-modal__close:focus-visible {
  outline: 3px solid #dfc27f;
  outline-offset: 3px;
}

.tnc-signature-modal__preview {
  align-items: center;
  background: #eee5d7;
  display: flex;
  min-height: 0;
  overflow: auto;
}

.tnc-signature-modal__preview img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-signature-modal__content {
  align-content: start;
  background: #fffaf2;
  display: grid;
  gap: 16px;
  overflow-y: auto;
  padding: clamp(38px, 4vw, 62px) clamp(24px, 3vw, 42px);
}

.tnc-signature-modal__content h2,
.tnc-signature-modal-form h3 {
  color: #173e34;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.tnc-signature-modal__content h2 {
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  margin: 0;
}

.tnc-signature-direction {
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
  border-top: 1px solid rgba(37, 37, 37, 0.12);
  display: grid;
  gap: 12px;
  padding: 16px 0;
}

.tnc-signature-direction[hidden] {
  display: none;
}

.tnc-signature-direction > span {
  font-size: 0.8rem;
  font-weight: 800;
}

.tnc-signature-direction > div {
  display: flex;
  gap: 9px;
}

.tnc-signature-direction label input {
  opacity: 0;
  position: absolute;
}

.tnc-signature-direction label span {
  align-items: center;
  border: 1px solid rgba(23, 62, 52, 0.3);
  border-radius: 50%;
  color: #173e34;
  cursor: pointer;
  display: flex;
  font-weight: 850;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.tnc-signature-direction input:checked + span {
  background: #173e34;
  color: #fffaf2;
}

.tnc-signature-direction input:focus-visible + span {
  outline: 3px solid rgba(184, 146, 74, 0.4);
  outline-offset: 2px;
}

.tnc-signature-direction small,
.tnc-signature-modal__content > p {
  color: rgba(37, 37, 37, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.tnc-signature-modal__actions {
  display: grid;
  gap: 10px;
}

.tnc-signature-modal__actions[hidden],
.tnc-signature-modal-form[hidden] {
  display: none;
}

.tnc-signature-modal__actions .tnc-button {
  justify-content: center;
  text-align: center;
  width: 100%;
}

.tnc-signature-modal-form {
  display: grid;
  gap: 15px;
}

.tnc-signature-modal-form h3 {
  font-size: 1.65rem;
  margin: 0;
}

.tnc-signature-modal-form > p {
  color: rgba(37, 37, 37, 0.64);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.tnc-signature-modal-form__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-signature-modal-form label {
  color: #31312f;
  display: grid;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 7px;
}

.tnc-signature-modal-form input,
.tnc-signature-modal-form select,
.tnc-signature-modal-form textarea {
  background: #f8f3ea;
  border: 1px solid rgba(37, 37, 37, 0.18);
  border-radius: 7px;
  color: #252525;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.tnc-signature-modal-form textarea {
  line-height: 1.5;
  min-height: 110px;
  resize: vertical;
}

.tnc-signature-modal-form input:focus,
.tnc-signature-modal-form select:focus,
.tnc-signature-modal-form textarea:focus {
  border-color: #b8924a;
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-signature-modal-form__confirm {
  align-items: start;
  background: rgba(184, 146, 74, 0.08);
  border: 1px solid rgba(184, 146, 74, 0.2);
  border-radius: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.45;
  padding: 12px;
}

.tnc-signature-modal-form__confirm input {
  accent-color: #173e34;
  height: 18px;
  margin-top: 1px;
  min-height: 0;
  padding: 0;
  width: 18px;
}

@media (max-width: 1020px) {
  .tnc-signature-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  }

  .tnc-signature-form__source,
  .tnc-signature-form__choices,
  .tnc-signature-library__heading {
    grid-template-columns: 1fr;
  }

  .tnc-signature-form__source {
    grid-template-areas: "copy" "upload" "note";
  }

  .tnc-signature-modal {
    height: auto;
  }

  .tnc-signature-modal__shell {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .tnc-signature-modal__preview,
  .tnc-signature-modal__content {
    overflow: visible;
  }
}

@media (max-width: 782px) {
  .admin-bar .tnc-signature-toolbar {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .tnc-signature-hero {
    padding: 30px 0 44px;
  }

  .tnc-signature-hero__grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .tnc-signature-hero__copy {
    order: 2;
  }

  .tnc-signature-hero figure {
    border-radius: 44% 44% 8px 8px;
    max-height: 440px;
    order: 1;
  }

  .tnc-signature-hero figure img {
    max-height: 440px;
    object-position: center 48%;
  }

  .tnc-signature-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    max-width: none;
  }

  .tnc-signature-toolbar .tnc-container {
    gap: 16px;
    min-height: 54px;
    overflow-x: auto;
  }

  .tnc-signature-toolbar a {
    white-space: nowrap;
  }

  .tnc-signature-toolbar p {
    display: none;
  }

  .tnc-signature-create {
    padding-top: 34px;
  }

  .tnc-signature-form__source,
  .tnc-signature-form__choices {
    gap: 22px;
    padding-top: 28px;
  }

  .tnc-signature-form__section-copy h2,
  .tnc-signature-library__heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .tnc-signature-upload {
    min-height: 230px;
  }

  .tnc-signature-choice-grid,
  .tnc-signature-gallery,
  .tnc-signature-project__body,
  .tnc-signature-modal-form__grid {
    grid-template-columns: 1fr;
  }

  .tnc-signature-project__body {
    gap: 16px;
  }

  .tnc-signature-source {
    max-width: 180px;
  }

  .tnc-signature-library__nav {
    justify-content: flex-start;
  }

  .tnc-signature-modal {
    height: 95vh;
    max-height: 95vh;
    width: 96vw;
  }

  .tnc-signature-modal__shell {
    border-radius: 8px;
    max-height: 95vh;
  }

  .tnc-signature-modal__content {
    padding: 30px 18px;
  }

  .tnc-signature-modal__close {
    height: 38px;
    right: 10px;
    top: 10px;
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-signature-concept > button img,
  .tnc-signature-concept > button > span {
    transition: none;
  }

  .tnc-signature-concept > button:hover img,
  .tnc-signature-concept > button:focus-visible img {
    transform: none;
  }
}

/* V33 AI Co-Creation hero and single-row concept library rails */
#design-form,
#concept-library {
  scroll-margin-top: 96px;
}

.tnc-ai-studio__hero {
  padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 78px);
}

.tnc-ai-studio__breadcrumb {
  align-items: center;
  color: rgba(37, 37, 37, 0.52);
  display: flex;
  font-size: 0.69rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: 0.075em;
  margin: 0 0 clamp(24px, 3vw, 34px);
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.tnc-ai-studio__breadcrumb::-webkit-scrollbar {
  display: none;
}

.tnc-ai-studio__breadcrumb a {
  color: #173e34;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.tnc-ai-studio__breadcrumb a:hover,
.tnc-ai-studio__breadcrumb a:focus-visible {
  color: #7e5921;
  text-decoration-color: currentColor;
}

.tnc-ai-studio__breadcrumb a:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(184, 146, 74, 0.42);
  outline-offset: 3px;
}

.tnc-ai-studio__breadcrumb > span[aria-hidden="true"] {
  color: rgba(126, 89, 33, 0.55);
}

.tnc-ai-studio__hero-grid {
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 52fr) minmax(300px, 48fr);
}

.tnc-ai-studio__hero-copy {
  align-content: center;
  display: grid;
  justify-items: start;
}

.tnc-ai-studio__hero h1 {
  font-size: clamp(3rem, 5.1vw, 5.15rem);
  max-width: 10.5ch;
}

.tnc-ai-studio__hero h1 span {
  display: block;
  white-space: nowrap;
}

.tnc-ai-studio__hero-copy > p:not(.tnc-ai-studio__eyebrow) {
  max-width: 47ch;
}

.tnc-ai-studio__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.tnc-ai-studio__hero-actions .tnc-button {
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.34),
    0 12px 28px rgba(23, 62, 52, 0.12);
  font-size: 0.88rem;
  justify-content: center;
  letter-spacing: 0.045em;
  min-height: 56px;
  min-width: 214px;
  padding: 0 30px;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.tnc-ai-studio__hero-actions .tnc-button:hover,
.tnc-ai-studio__hero-actions .tnc-button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.28),
    0 16px 34px rgba(23, 62, 52, 0.17);
  transform: translateY(-2px);
}

.tnc-ai-studio__hero-actions .tnc-button:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.22),
    0 7px 18px rgba(23, 62, 52, 0.13);
  transform: translateY(1px);
}

.tnc-ai-studio__hero-actions .tnc-button--secondary {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(23, 62, 52, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(23, 62, 52, 0.08);
}

.tnc-ai-studio__hero-actions .tnc-button--secondary:hover,
.tnc-ai-studio__hero-actions .tnc-button--secondary:focus-visible {
  background: #173e34;
  border-color: #173e34;
  color: #fffaf2;
}

.tnc-ai-studio__hero-side {
  align-items: center;
  display: flex;
  justify-content: center;
}

.tnc-ai-studio__hero-side .tnc-ai-studio__hero-visual {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 76% 23%, rgba(201, 167, 95, 0.22), transparent 25%),
    #fffaf2;
  border-color: rgba(23, 62, 52, 0.16);
  box-shadow: 0 24px 70px rgba(23, 62, 52, 0.09);
  max-width: 400px;
  width: 100%;
}

.tnc-ai-studio__hero-visual video,
.tnc-ai-studio__hero-visual img {
  aspect-ratio: 1;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tnc-ai-studio__hero-visual.is-pending-video img {
  object-fit: contain;
}

.tnc-ai-scroll-rail {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.tnc-ai-scroll-rail__arrow {
  align-items: center;
  align-self: center;
  background: #fffaf2;
  border: 1px solid rgba(23, 62, 52, 0.25);
  border-radius: 50%;
  color: #173e34;
  cursor: pointer;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: relative;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
  width: 36px;
  z-index: 2;
}

.tnc-ai-scroll-rail__arrow:hover,
.tnc-ai-scroll-rail__arrow:focus-visible {
  background: #173e34;
  border-color: #173e34;
  color: #fffaf2;
}

.tnc-ai-scroll-rail__arrow:focus-visible {
  outline: 3px solid rgba(184, 146, 74, 0.34);
  outline-offset: 2px;
}

.tnc-ai-scroll-rail__arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

.tnc-ai-scroll-rail [data-tnc-scroll-track] {
  min-width: 0;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.tnc-ai-scroll-rail [data-tnc-scroll-track]::-webkit-scrollbar {
  display: none;
}

.tnc-ai-scroll-rail.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.tnc-ai-scroll-rail.is-static .tnc-ai-scroll-rail__arrow {
  display: none;
}

.tnc-ai-scroll-rail.is-static [data-tnc-scroll-track] {
  grid-column: 1;
}

.tnc-ai-scroll-rail--projects {
  justify-self: end;
  max-width: 560px;
}

.tnc-ai-library .tnc-ai-scroll-rail--projects nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  overflow-x: auto;
}

.tnc-ai-scroll-rail--projects nav a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.tnc-ai-scroll-rail--versions {
  margin-inline: -2px;
  width: calc(100% + 4px);
}

.tnc-ai-library .tnc-ai-scroll-rail--versions .tnc-ai-gallery {
  display: flex;
  gap: 18px;
  grid-template-columns: none;
  overflow-x: auto;
  padding: 4px;
}

.tnc-ai-scroll-rail--versions .tnc-ai-concept {
  flex: 0 0 clamp(270px, 31vw, 410px);
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .tnc-ai-studio__hero-grid {
    grid-template-columns: 1fr;
  }

  .tnc-ai-studio__hero h1 {
    max-width: 10.5ch;
  }

  .tnc-ai-studio__hero-side .tnc-ai-studio__hero-visual {
    max-width: 380px;
  }

  .tnc-ai-scroll-rail--projects {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .tnc-ai-studio__hero {
    padding: 22px 0 44px;
  }

  .tnc-ai-studio__breadcrumb {
    font-size: 0.64rem;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tnc-ai-studio__hero-grid {
    gap: 32px;
  }

  .tnc-ai-studio__hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
    max-width: 10.5ch;
  }

  .tnc-ai-studio__hero-copy > p:not(.tnc-ai-studio__eyebrow) {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .tnc-ai-studio__hero-actions,
  .tnc-ai-studio__hero-actions .tnc-button {
    width: 100%;
  }

  .tnc-ai-studio__hero-actions .tnc-button {
    min-width: 0;
  }

  .tnc-ai-studio__hero-side .tnc-ai-studio__hero-visual {
    max-width: 300px;
  }

  .tnc-ai-scroll-rail {
    gap: 5px;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .tnc-ai-scroll-rail__arrow {
    font-size: 1.35rem;
    height: 30px;
    width: 30px;
  }

  .tnc-ai-library .tnc-ai-scroll-rail--versions .tnc-ai-gallery {
    gap: 12px;
  }

  .tnc-ai-scroll-rail--versions .tnc-ai-concept {
    flex-basis: min(78vw, 330px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-ai-studio__breadcrumb a {
    transition: none;
  }

  .tnc-ai-studio__hero-actions .tnc-button {
    transition: none;
  }

  .tnc-ai-studio__hero-actions .tnc-button:hover,
  .tnc-ai-studio__hero-actions .tnc-button:focus-visible {
    transform: none;
  }

  .tnc-ai-scroll-rail__arrow {
    transition: none;
  }
}

/* V34 Signature Necklace visual workflow sync and shared generation CTA */
#tnc-signature-create,
#tnc-signature-designs {
  scroll-margin-top: 96px;
}

.tnc-signature-hero {
  padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 78px);
}

.tnc-signature-breadcrumb {
  align-items: center;
  color: rgba(37, 37, 37, 0.52);
  display: flex;
  font-size: 0.69rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: 0.075em;
  margin: 0 0 clamp(24px, 3vw, 34px);
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.tnc-signature-breadcrumb::-webkit-scrollbar {
  display: none;
}

.tnc-signature-breadcrumb a {
  color: #173e34;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.tnc-signature-breadcrumb a:hover,
.tnc-signature-breadcrumb a:focus-visible {
  color: #7e5921;
  text-decoration-color: currentColor;
}

.tnc-signature-breadcrumb a:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(184, 146, 74, 0.42);
  outline-offset: 3px;
}

.tnc-signature-breadcrumb > span[aria-hidden="true"] {
  color: rgba(126, 89, 33, 0.55);
}

.tnc-signature-hero__grid {
  gap: clamp(32px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 52fr) minmax(300px, 48fr);
}

.tnc-signature-hero__copy {
  align-content: center;
  display: grid;
  justify-items: start;
}

.tnc-signature-hero h1 {
  font-size: clamp(2.72rem, 4.55vw, 4.65rem);
  max-width: none;
}

.tnc-signature-hero h1 span {
  display: block;
  white-space: nowrap;
}

.tnc-signature-hero__copy > p:not(.tnc-signature-eyebrow) {
  max-width: 54ch;
}

.tnc-signature-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.tnc-signature-hero__actions .tnc-button {
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.34),
    0 12px 28px rgba(23, 62, 52, 0.12);
  font-size: 0.88rem;
  justify-content: center;
  letter-spacing: 0.045em;
  min-height: 56px;
  min-width: 214px;
  padding: 0 30px;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.tnc-signature-hero__actions .tnc-button:hover,
.tnc-signature-hero__actions .tnc-button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.28),
    0 16px 34px rgba(23, 62, 52, 0.17);
  transform: translateY(-2px);
}

.tnc-signature-hero__actions .tnc-button:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.22),
    0 7px 18px rgba(23, 62, 52, 0.13);
  transform: translateY(1px);
}

.tnc-signature-hero__actions .tnc-button--secondary {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(23, 62, 52, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(23, 62, 52, 0.08);
}

.tnc-signature-hero__actions .tnc-button--secondary:hover,
.tnc-signature-hero__actions .tnc-button--secondary:focus-visible {
  background: #173e34;
  border-color: #173e34;
  color: #fffaf2;
}

.tnc-signature-hero__side {
  align-items: center;
  display: flex;
  justify-content: center;
}

.tnc-signature-hero__side .tnc-signature-hero__visual {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 76% 23%, rgba(201, 167, 95, 0.22), transparent 25%),
    #fffaf2;
  border: 1px solid rgba(23, 62, 52, 0.16);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(23, 62, 52, 0.09);
  max-width: 400px;
  width: 100%;
}

.tnc-signature-hero__visual video,
.tnc-signature-hero__visual img {
  aspect-ratio: 1;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tnc-signature-hero__visual.is-pending-video img {
  object-fit: contain;
}

.tnc-signature-library__heading {
  align-items: end;
  gap: clamp(26px, 4vw, 54px);
  grid-template-columns: minmax(510px, 1fr) minmax(340px, 0.82fr);
}

.tnc-signature-library__heading .tnc-signature-eyebrow {
  grid-column: auto;
}

.tnc-signature-library__heading h2 {
  font-size: clamp(2.25rem, 3.75vw, 3.7rem);
  max-width: none;
  white-space: nowrap;
}

.tnc-signature-library__heading .tnc-ai-scroll-rail--projects {
  margin-bottom: 2px;
}

.tnc-signature-library .tnc-signature-library__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 0;
  overflow-x: auto;
}

.tnc-signature-library__nav a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.tnc-signature-project__body {
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
}

.tnc-signature-source {
  width: 100%;
}

.tnc-signature-scroll-rail--versions {
  min-width: 0;
}

.tnc-signature-scroll-rail--versions .tnc-signature-gallery {
  display: flex;
  gap: 16px;
  grid-template-columns: none;
  overflow-x: auto;
  padding: 4px;
}

.tnc-signature-scroll-rail--versions .tnc-signature-concept {
  flex: 0 0 clamp(250px, 26vw, 350px);
  scroll-snap-align: start;
}

.tnc-ai-brief > .tnc-ai-form-actions .tnc-button,
.tnc-signature-form > .tnc-ai-form-actions .tnc-button {
  background:
    linear-gradient(135deg, #c8a15b 0%, #b78e45 58%, #aa7f35 100%);
  border: 1px solid #9b722c;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.48),
    0 14px 30px rgba(126, 89, 33, 0.2);
  color: #172f29;
  font-size: 0.9rem;
  justify-content: center;
  letter-spacing: 0.055em;
  min-height: 58px;
  min-width: min(100%, 286px);
  padding: 0 34px;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.tnc-ai-brief > .tnc-ai-form-actions .tnc-button:hover,
.tnc-ai-brief > .tnc-ai-form-actions .tnc-button:focus-visible,
.tnc-signature-form > .tnc-ai-form-actions .tnc-button:hover,
.tnc-signature-form > .tnc-ai-form-actions .tnc-button:focus-visible {
  background:
    linear-gradient(135deg, #173e34 0%, #1f4c40 100%);
  border-color: #173e34;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.18),
    0 18px 36px rgba(23, 62, 52, 0.22);
  color: #fffaf2;
  transform: translateY(-2px);
}

.tnc-ai-brief > .tnc-ai-form-actions .tnc-button:active,
.tnc-signature-form > .tnc-ai-form-actions .tnc-button:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.16),
    0 7px 18px rgba(23, 62, 52, 0.18);
  transform: translateY(1px);
}

@media (max-width: 1050px) {
  .tnc-signature-library__heading {
    grid-template-columns: 1fr;
  }

  .tnc-signature-library__heading .tnc-ai-scroll-rail--projects {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .tnc-signature-hero__grid {
    grid-template-columns: 1fr;
  }

  .tnc-signature-hero__side .tnc-signature-hero__visual {
    max-width: 380px;
  }
}

@media (max-width: 680px) {
  .tnc-signature-hero {
    padding: 22px 0 44px;
  }

  .tnc-signature-breadcrumb {
    font-size: 0.64rem;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tnc-signature-hero__grid {
    gap: 32px;
  }

  .tnc-signature-hero__copy {
    order: 1;
  }

  .tnc-signature-hero__side {
    order: 2;
  }

  .tnc-signature-hero h1 {
    font-size: clamp(2.22rem, 10.4vw, 3.1rem);
    letter-spacing: -0.042em;
  }

  .tnc-signature-hero__copy > p:not(.tnc-signature-eyebrow) {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .tnc-signature-hero__actions,
  .tnc-signature-hero__actions .tnc-button {
    width: 100%;
  }

  .tnc-signature-hero__actions .tnc-button {
    min-width: 0;
  }

  .tnc-signature-hero__side .tnc-signature-hero__visual {
    max-width: 300px;
  }

  .tnc-signature-library__heading h2 {
    font-size: clamp(1.18rem, 5.9vw, 1.8rem);
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .tnc-signature-project__body {
    grid-template-columns: 1fr;
  }

  .tnc-signature-source {
    max-width: 160px;
  }

  .tnc-signature-scroll-rail--versions .tnc-signature-gallery {
    gap: 12px;
  }

  .tnc-signature-scroll-rail--versions .tnc-signature-concept {
    flex-basis: min(74vw, 300px);
  }

  .tnc-ai-brief > .tnc-ai-form-actions,
  .tnc-signature-form > .tnc-ai-form-actions,
  .tnc-ai-brief > .tnc-ai-form-actions .tnc-button,
  .tnc-signature-form > .tnc-ai-form-actions .tnc-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-signature-breadcrumb a,
  .tnc-signature-hero__actions .tnc-button,
  .tnc-ai-brief > .tnc-ai-form-actions .tnc-button,
  .tnc-signature-form > .tnc-ai-form-actions .tnc-button {
    transition: none;
  }

  .tnc-signature-hero__actions .tnc-button:hover,
  .tnc-signature-hero__actions .tnc-button:focus-visible,
  .tnc-ai-brief > .tnc-ai-form-actions .tnc-button:hover,
  .tnc-ai-brief > .tnc-ai-form-actions .tnc-button:focus-visible,
  .tnc-signature-form > .tnc-ai-form-actions .tnc-button:hover,
  .tnc-signature-form > .tnc-ai-form-actions .tnc-button:focus-visible {
    transform: none;
  }
}

/* V34A supplied video assets and shared generation-stage media */
.tnc-ai-generation-panel__preview.has-video {
  align-content: stretch;
  aspect-ratio: 1 / 1;
  background: #eee5d7;
  min-height: 0;
  padding: 0;
}

.tnc-ai-generation-panel__preview.has-video::after {
  display: none;
}

.tnc-ai-generation-panel__preview.has-video video {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

@media (max-width: 680px) {
  .tnc-ai-generation-panel__preview.has-video {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
  }
}

/* V35 Reference Studio: premium hero, structured reference intake, and review summary */
#upload-reference,
#past-projects,
#tnc-reference-files-title {
  scroll-margin-top: 96px;
}

.tnc-reference-studio {
  --tnc-reference-bg: #f6efe3;
  --tnc-reference-paper: #fffaf2;
  --tnc-reference-forest: #173e34;
  --tnc-reference-gold: #b8924a;
  --tnc-reference-ink: #292825;
  background: var(--tnc-reference-bg);
  color: var(--tnc-reference-ink);
}

.tnc-reference-hero {
  background: var(--tnc-reference-bg);
  padding: clamp(28px, 4vw, 44px) 0 clamp(54px, 7vw, 88px);
}

.tnc-reference-breadcrumb {
  align-items: center;
  color: rgba(37, 37, 37, 0.52);
  display: flex;
  font-size: 0.69rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: 0.075em;
  margin: 0 0 clamp(24px, 3vw, 34px);
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.tnc-reference-breadcrumb::-webkit-scrollbar {
  display: none;
}

.tnc-reference-breadcrumb a {
  color: var(--tnc-reference-forest);
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.tnc-reference-breadcrumb a:hover,
.tnc-reference-breadcrumb a:focus-visible {
  color: #7e5921;
  text-decoration-color: currentColor;
}

.tnc-reference-breadcrumb a:focus-visible {
  outline: 2px solid rgba(184, 146, 74, 0.42);
  outline-offset: 3px;
}

.tnc-reference-breadcrumb > span[aria-hidden="true"] {
  color: rgba(126, 89, 33, 0.55);
}

.tnc-reference-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(38px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 58fr) minmax(340px, 42fr);
}

.tnc-reference-hero__copy {
  align-content: center;
  display: grid;
  justify-items: start;
}

.tnc-reference-eyebrow {
  color: #8e692d;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.tnc-reference-hero h1 {
  color: var(--tnc-reference-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.85rem, 4.25vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  max-width: none;
}

.tnc-reference-hero h1 span {
  display: block;
  white-space: nowrap;
}

.tnc-reference-hero__copy > p:not(.tnc-reference-eyebrow) {
  color: rgba(41, 40, 37, 0.7);
  font-size: 1.03rem;
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 50ch;
}

.tnc-reference-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.tnc-reference-hero__actions .tnc-button,
.tnc-reference-success__actions .tnc-button {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.34), 0 12px 28px rgba(23, 62, 52, 0.12);
  font-size: 0.88rem;
  letter-spacing: 0.045em;
  min-height: 56px;
  min-width: 214px;
  padding: 0 30px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.tnc-reference-hero__actions .tnc-button {
  min-width: 240px;
}

.tnc-reference-hero__actions .tnc-button:hover,
.tnc-reference-hero__actions .tnc-button:focus-visible,
.tnc-reference-success__actions .tnc-button:hover,
.tnc-reference-success__actions .tnc-button:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.28), 0 16px 34px rgba(23, 62, 52, 0.17);
  transform: translateY(-2px);
}

.tnc-reference-hero__actions .tnc-button--secondary,
.tnc-reference-success__actions .tnc-button--secondary {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(23, 62, 52, 0.28);
  color: var(--tnc-reference-forest);
}

.tnc-reference-hero__actions .tnc-button--secondary:hover,
.tnc-reference-hero__actions .tnc-button--secondary:focus-visible,
.tnc-reference-success__actions .tnc-button--secondary:hover,
.tnc-reference-success__actions .tnc-button--secondary:focus-visible {
  background: var(--tnc-reference-forest);
  border-color: var(--tnc-reference-forest);
  color: #fffaf2;
}

.tnc-reference-hero__side {
  align-items: center;
  display: flex;
  justify-content: center;
}

.tnc-reference-hero__visual {
  aspect-ratio: 3 / 4;
  background: var(--tnc-reference-bg);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(23, 62, 52, 0.09);
  margin: 0;
  max-width: 440px;
  overflow: hidden;
  width: min(100%, 440px);
}

.tnc-reference-hero__visual video,
.tnc-reference-hero__visual img {
  aspect-ratio: 3 / 4;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-reference-intake {
  background: #fffdf8;
  padding: clamp(68px, 8vw, 108px) 0;
}

.tnc-reference-intake__header {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(32px, 5vw, 54px);
  max-width: 760px;
}

.tnc-reference-intake__header > p,
.tnc-reference-form__heading > p,
.tnc-reference-summary > p,
.tnc-reference-success__kicker,
.tnc-reference-cases header > p,
.tnc-reference-principle__inner > div > p {
  color: #8e692d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
}

.tnc-reference-intake__header h2,
.tnc-reference-success__panel h2,
.tnc-reference-cases h2,
.tnc-reference-principle h2 {
  color: var(--tnc-reference-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

.tnc-reference-intake__header > span {
  color: rgba(41, 40, 37, 0.68);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 62ch;
}

.tnc-reference-alert {
  background: #fff2ef;
  border: 1px solid rgba(139, 47, 47, 0.32);
  border-radius: 10px;
  color: #702d2d;
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  max-width: 840px;
  padding: 16px 18px;
}

.tnc-reference-alert p {
  margin: 0;
}

.tnc-reference-form {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
}

.tnc-reference-form__body {
  background: var(--tnc-reference-paper);
  border: 1px solid rgba(23, 62, 52, 0.14);
  border-radius: 14px;
  overflow: hidden;
}

.tnc-reference-form__section {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
}

.tnc-reference-form__section + .tnc-reference-form__section {
  border-top: 1px solid rgba(23, 62, 52, 0.13);
}

.tnc-reference-form__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 3px;
}

.tnc-reference-form__heading h3,
.tnc-reference-summary h3 {
  color: var(--tnc-reference-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

.tnc-reference-upload {
  align-items: center;
  background: #f8f2e8;
  border: 1.5px dashed rgba(23, 62, 52, 0.34);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  min-height: 230px;
  padding: 28px;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tnc-reference-upload:hover,
.tnc-reference-upload:focus-within,
.tnc-reference-upload.is-dragging {
  background: #f1eadc;
  border-color: var(--tnc-reference-forest);
  box-shadow: 0 18px 38px rgba(23, 62, 52, 0.08);
  transform: translateY(-1px);
}

.tnc-reference-upload input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.tnc-reference-upload__mark {
  align-items: center;
  background: var(--tnc-reference-forest);
  border-radius: 50%;
  color: #fffaf2;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  height: 48px;
  justify-content: center;
  line-height: 1;
  width: 48px;
}

.tnc-reference-upload strong {
  color: var(--tnc-reference-forest);
  font-size: 1rem;
}

.tnc-reference-upload small,
.tnc-reference-field small {
  color: rgba(41, 40, 37, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}

.tnc-reference-field-error {
  color: #7a2d2d;
  font-size: 0.84rem;
  font-weight: 700;
  margin: -10px 0 0;
}

.tnc-reference-file-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnc-reference-file {
  background: #f7f1e7;
  border: 1px solid rgba(23, 62, 52, 0.14);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
}

.tnc-reference-file__preview {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #e9e2d7;
  border-radius: 6px;
  color: var(--tnc-reference-forest);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tnc-reference-file__preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tnc-reference-file__preview video {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tnc-reference-file__type {
  background: rgba(23, 62, 52, 0.9);
  bottom: 8px;
  color: #fffaf2;
  font-family: Arial, sans-serif;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  position: absolute;
  right: 8px;
}

.tnc-reference-file strong {
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tnc-reference-file button {
  background: transparent;
  border: 1px solid rgba(23, 62, 52, 0.25);
  border-radius: 999px;
  color: var(--tnc-reference-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 750;
  min-height: 44px;
  padding: 8px 12px;
}

.tnc-reference-file button:hover,
.tnc-reference-file button:focus-visible {
  background: var(--tnc-reference-forest);
  color: #fffaf2;
}

.tnc-reference-field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnc-reference-field--wide {
  grid-column: 1 / -1;
}

.tnc-reference-field {
  color: var(--tnc-reference-ink);
  display: grid;
  font-size: 0.87rem;
  font-weight: 720;
  gap: 8px;
}

.tnc-reference-field > span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tnc-reference-field b,
.tnc-reference-field em {
  color: #8e692d;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.tnc-reference-field input,
.tnc-reference-field select,
.tnc-reference-field textarea {
  background: #fffdf8;
  border: 1px solid rgba(41, 40, 37, 0.2);
  border-radius: 8px;
  color: var(--tnc-reference-ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
  min-height: 50px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

.tnc-reference-field textarea {
  min-height: 126px;
}

.tnc-reference-field input:focus,
.tnc-reference-field select:focus,
.tnc-reference-field textarea:focus {
  border-color: var(--tnc-reference-gold);
  outline: 3px solid rgba(184, 146, 74, 0.22);
}

.tnc-reference-field.is-disabled {
  color: rgba(41, 40, 37, 0.46);
}

.tnc-reference-field.is-disabled input,
.tnc-reference-field input:disabled {
  background: #eee9df;
  border-color: rgba(41, 40, 37, 0.1);
  color: rgba(41, 40, 37, 0.44);
  cursor: not-allowed;
}

.tnc-reference-choice-group {
  border: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.tnc-reference-choice-group legend {
  font-size: 0.87rem;
  font-weight: 720;
  padding: 0;
}

.tnc-reference-choice-group legend span {
  color: rgba(41, 40, 37, 0.58);
  font-size: 0.74rem;
  font-weight: 550;
  margin-left: 6px;
}

.tnc-reference-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tnc-reference-choice-grid label {
  cursor: pointer;
}

.tnc-reference-choice-grid input {
  opacity: 0;
  position: absolute;
}

.tnc-reference-choice-grid span {
  align-items: center;
  background: #f6f0e6;
  border: 1px solid rgba(23, 62, 52, 0.2);
  border-radius: 999px;
  color: var(--tnc-reference-forest);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 44px;
  padding: 9px 16px;
}

.tnc-reference-choice-grid input:checked + span {
  background: var(--tnc-reference-forest);
  border-color: var(--tnc-reference-forest);
  color: #fffaf2;
}

.tnc-reference-choice-grid input:focus-visible + span {
  outline: 3px solid rgba(184, 146, 74, 0.32);
  outline-offset: 2px;
}

.tnc-reference-consent {
  align-items: start;
  background: #f5eee2;
  border: 1px solid rgba(184, 146, 74, 0.25);
  border-radius: 10px;
  display: grid;
  font-size: 0.86rem;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.55;
  padding: 16px;
}

.tnc-reference-consent input {
  accent-color: var(--tnc-reference-forest);
  height: 20px;
  margin: 2px 0 0;
  width: 20px;
}

.tnc-reference-disclaimer,
.tnc-reference-submit-note {
  color: rgba(41, 40, 37, 0.62);
  font-size: 0.8rem;
  line-height: 1.58;
  margin: 0;
}

.tnc-reference-submit {
  background: linear-gradient(135deg, #c8a15b 0%, #b78e45 58%, #aa7f35 100%);
  border: 1px solid #9b722c;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.48), 0 14px 30px rgba(126, 89, 33, 0.2);
  color: #172f29;
  font-size: 0.9rem;
  letter-spacing: 0.055em;
  min-height: 58px;
  padding: 0 34px;
  width: min(100%, 310px);
}

.tnc-reference-submit:hover,
.tnc-reference-submit:focus-visible {
  background: linear-gradient(135deg, #173e34 0%, #1f4c40 100%);
  border-color: var(--tnc-reference-forest);
  color: #fffaf2;
}

.tnc-reference-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.tnc-reference-summary {
  background: #f7f0e5;
  border: 1px solid rgba(23, 62, 52, 0.15);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 26px;
  position: sticky;
  top: 108px;
}

.tnc-reference-summary h3 {
  font-size: 1.75rem;
}

.tnc-reference-summary dl {
  display: grid;
  margin: 12px 0 2px;
}

.tnc-reference-summary dl > div {
  border-top: 1px solid rgba(23, 62, 52, 0.12);
  display: grid;
  gap: 3px;
  padding: 13px 0;
}

.tnc-reference-summary dt {
  color: rgba(41, 40, 37, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tnc-reference-summary dd {
  color: var(--tnc-reference-forest);
  font-size: 0.84rem;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.tnc-reference-summary > a {
  color: #7e5921;
  font-size: 0.78rem;
  font-weight: 750;
  justify-self: start;
}

.tnc-reference-success {
  background: #fffdf8;
  padding: clamp(72px, 9vw, 118px) 0;
}

.tnc-reference-success__panel {
  background: var(--tnc-reference-paper);
  border: 1px solid rgba(23, 62, 52, 0.16);
  border-radius: 14px;
  display: grid;
  gap: 18px;
  margin-inline: auto;
  max-width: 850px;
  padding: clamp(34px, 6vw, 72px);
}

.tnc-reference-success__panel > p:not(.tnc-reference-success__kicker) {
  color: rgba(41, 40, 37, 0.68);
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}

.tnc-reference-success__panel dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0;
}

.tnc-reference-success__panel dl > div {
  background: #f5eee2;
  border-radius: 8px;
  padding: 16px;
}

.tnc-reference-success__panel dt {
  color: rgba(41, 40, 37, 0.56);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-reference-success__panel dd {
  color: var(--tnc-reference-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin: 5px 0 0;
}

.tnc-reference-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.tnc-reference-cases {
  background: #fffdf8;
  border-top: 1px solid rgba(23, 62, 52, 0.12);
  padding: clamp(72px, 9vw, 112px) 0;
}

.tnc-reference-cases header {
  display: grid;
  gap: 10px;
  max-width: 840px;
}

.tnc-reference-cases__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.tnc-reference-cases article {
  background: var(--tnc-reference-paper);
  border: 1px solid rgba(23, 62, 52, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.tnc-reference-cases article img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tnc-reference-cases article > div {
  padding: 22px;
}

.tnc-reference-cases article h3 {
  color: var(--tnc-reference-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.tnc-reference-cases article p {
  color: rgba(41, 40, 37, 0.65);
  margin: 0;
}

.tnc-reference-principle {
  background: #ece4d7;
  padding: clamp(58px, 7vw, 88px) 0;
}

.tnc-reference-principle__inner {
  align-items: end;
  display: grid;
  gap: clamp(26px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.tnc-reference-principle__inner > div {
  display: grid;
  gap: 10px;
}

.tnc-reference-principle h2 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
}

.tnc-reference-principle__inner > p {
  color: rgba(41, 40, 37, 0.68);
  line-height: 1.68;
  margin: 0;
}

@media (max-width: 980px) {
  .tnc-reference-hero__grid,
  .tnc-reference-form,
  .tnc-reference-principle__inner {
    grid-template-columns: 1fr;
  }

  .tnc-reference-hero__visual {
    max-width: 400px;
  }

  .tnc-reference-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .tnc-reference-hero {
    padding: 22px 0 46px;
  }

  .tnc-reference-breadcrumb {
    font-size: 0.64rem;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tnc-reference-hero__grid {
    gap: 38px;
  }

  .tnc-reference-hero h1 {
    font-size: clamp(2.32rem, 10.8vw, 3.2rem);
    line-height: 1.01;
    max-width: none;
  }

  .tnc-reference-hero h1 span {
    white-space: normal;
  }

  .tnc-reference-hero__copy > p:not(.tnc-reference-eyebrow) {
    font-size: 0.97rem;
    line-height: 1.62;
    margin-top: 22px;
  }

  .tnc-reference-hero__actions,
  .tnc-reference-hero__actions .tnc-button,
  .tnc-reference-success__actions,
  .tnc-reference-success__actions .tnc-button {
    width: 100%;
  }

  .tnc-reference-hero__actions .tnc-button,
  .tnc-reference-success__actions .tnc-button {
    min-width: 0;
  }

  .tnc-reference-hero__visual {
    border-radius: 18px;
    max-width: 88%;
  }

  .tnc-reference-form__body,
  .tnc-reference-summary,
  .tnc-reference-success__panel {
    border-radius: 10px;
  }

  .tnc-reference-form__section {
    padding: 26px 20px;
  }

  .tnc-reference-intake__header h2,
  .tnc-reference-success__panel h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .tnc-reference-upload {
    min-height: 190px;
    padding: 22px 18px;
  }

  .tnc-reference-file-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-reference-field-grid,
  .tnc-reference-success__panel dl,
  .tnc-reference-cases__grid {
    grid-template-columns: 1fr;
  }

  .tnc-reference-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnc-reference-choice-grid span {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .tnc-reference-summary {
    padding: 22px;
  }

  .tnc-reference-submit {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .tnc-reference-file-list,
  .tnc-reference-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-file-picker {
    transition: none;
  }

  .tnc-reference-breadcrumb a,
  .tnc-reference-hero__actions .tnc-button,
  .tnc-reference-success__actions .tnc-button,
  .tnc-reference-upload {
    transition: none;
  }

  .tnc-reference-hero__actions .tnc-button:hover,
  .tnc-reference-hero__actions .tnc-button:focus-visible,
  .tnc-reference-success__actions .tnc-button:hover,
  .tnc-reference-success__actions .tnc-button:focus-visible,
  .tnc-reference-upload:hover,
  .tnc-reference-upload:focus-within {
    transform: none;
  }
}
.tnc-form-honeypot {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

/* Shared bubble controls and custom-path compass */
.tnc-ai-scroll-rail__arrow {
  background: rgba(255, 250, 242, 0.96);
  border-color: rgba(23, 62, 52, 0.28);
  box-shadow: 0 8px 22px rgba(23, 62, 52, 0.13);
  height: 40px;
  width: 40px;
}

.tnc-custom-switcher {
  bottom: max(24px, env(safe-area-inset-bottom));
  height: 188px;
  left: max(20px, env(safe-area-inset-left));
  pointer-events: none;
  position: fixed;
  width: 188px;
  z-index: 9990;
}

.tnc-custom-switcher__toggle,
.tnc-custom-switcher__route {
  pointer-events: auto;
}

.tnc-custom-switcher__toggle {
  align-items: center;
  background: #173e34;
  border: 1px solid rgba(201, 167, 95, 0.84);
  border-radius: 50%;
  bottom: 0;
  box-shadow: 0 14px 34px rgba(15, 36, 30, 0.25), inset 0 0 0 4px rgba(255, 250, 242, 0.08);
  color: #fffaf2;
  cursor: pointer;
  display: inline-flex;
  height: 60px;
  justify-content: center;
  left: 0;
  padding: 0;
  position: absolute;
  transition: transform 180ms ease, box-shadow 180ms ease;
  width: 60px;
  z-index: 4;
}

.tnc-custom-switcher__toggle:hover,
.tnc-custom-switcher__toggle:focus-visible {
  box-shadow: 0 16px 38px rgba(15, 36, 30, 0.3), 0 0 0 5px rgba(201, 167, 95, 0.18);
  transform: scale(1.05);
}

.tnc-custom-switcher__toggle:focus-visible,
.tnc-custom-switcher__route:focus-visible {
  outline: 3px solid rgba(201, 167, 95, 0.46);
  outline-offset: 3px;
}

.tnc-custom-switcher__compass {
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 50%;
  height: 32px;
  position: relative;
  transition: transform 240ms ease;
  width: 32px;
}

.tnc-custom-switcher__compass i {
  background: #c9a75f;
  border-radius: 50%;
  height: 3px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
}

.tnc-custom-switcher__compass i:nth-child(1) { transform: translate(-50%, -13px); }
.tnc-custom-switcher__compass i:nth-child(2) { transform: translate(10px, -50%); }
.tnc-custom-switcher__compass i:nth-child(3) { transform: translate(-50%, 10px); }
.tnc-custom-switcher__compass i:nth-child(4) { transform: translate(-13px, -50%); }

.tnc-custom-switcher__compass b {
  border-color: transparent transparent #fffaf2 transparent;
  border-style: solid;
  border-width: 0 4px 12px;
  height: 0;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -72%);
  width: 0;
}

.tnc-custom-switcher.is-open .tnc-custom-switcher__compass {
  transform: rotate(45deg);
}

.tnc-custom-switcher__label {
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(23, 62, 52, 0.16);
  border-radius: 999px;
  bottom: 11px;
  box-shadow: 0 8px 22px rgba(15, 36, 30, 0.11);
  color: #173e34;
  font-size: 0.68rem;
  font-weight: 700;
  left: 49px;
  letter-spacing: 0.08em;
  padding: 8px 13px 8px 18px;
  position: absolute;
  text-transform: uppercase;
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
  z-index: 3;
}

.tnc-custom-switcher.is-open .tnc-custom-switcher__label {
  opacity: 0;
  transform: translateX(-6px);
}

.tnc-custom-switcher__routes {
  inset: 0;
  position: absolute;
}

.tnc-custom-switcher__route {
  background: #fffaf2;
  border: 2px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(15, 36, 30, 0.21), 0 0 0 1px rgba(201, 167, 95, 0.62);
  height: 54px;
  opacity: 0;
  overflow: visible;
  position: absolute;
  transform: scale(0.62) translate(-24px, 24px);
  transition: opacity 170ms ease, transform 210ms ease;
  width: 54px;
}

.tnc-custom-switcher__route--1 { bottom: 82px; left: 1px; }
.tnc-custom-switcher__route--2 { bottom: 58px; left: 65px; }
.tnc-custom-switcher__route--3 { bottom: 1px; left: 90px; }

.tnc-custom-switcher.is-open .tnc-custom-switcher__route {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

.tnc-custom-switcher__route img {
  border-radius: 50%;
  display: block;
  height: 50px;
  object-fit: cover;
  object-position: center top;
  width: 50px;
}

.tnc-custom-switcher__tooltip {
  background: #173e34;
  border: 1px solid rgba(201, 167, 95, 0.54);
  box-shadow: 0 12px 34px rgba(15, 36, 30, 0.24);
  color: #fffaf2;
  left: calc(100% + 12px);
  opacity: 0;
  padding: 12px 14px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-5px, -50%);
  transition: opacity 150ms ease, transform 150ms ease;
  width: 238px;
  z-index: 8;
}

.tnc-custom-switcher__tooltip strong,
.tnc-custom-switcher__tooltip span {
  display: block;
}

.tnc-custom-switcher__tooltip strong {
  color: #d2b46c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  margin-bottom: 4px;
}

.tnc-custom-switcher__tooltip span {
  font-size: 0.76rem;
  line-height: 1.45;
}

.tnc-custom-switcher__route:hover .tnc-custom-switcher__tooltip,
.tnc-custom-switcher__route:focus-visible .tnc-custom-switcher__tooltip,
.tnc-custom-switcher__route.is-previewing .tnc-custom-switcher__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 780px) {
  .tnc-custom-switcher {
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 58px));
    left: max(14px, env(safe-area-inset-left));
  }

  .tnc-custom-switcher__tooltip {
    bottom: max(202px, calc(env(safe-area-inset-bottom) + 178px));
    left: 18px;
    position: fixed;
    top: auto;
    transform: translateY(6px);
    width: calc(100vw - 36px);
  }

  .tnc-custom-switcher__route:hover .tnc-custom-switcher__tooltip,
  .tnc-custom-switcher__route:focus-visible .tnc-custom-switcher__tooltip,
  .tnc-custom-switcher__route.is-previewing .tnc-custom-switcher__tooltip {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tnc-custom-switcher__toggle,
  .tnc-custom-switcher__compass,
  .tnc-custom-switcher__label,
  .tnc-custom-switcher__route,
  .tnc-custom-switcher__tooltip {
    transition: none;
  }
}
