.tb-colors {
  padding: clamp(52px, 6vw, 88px) clamp(18px, 4vw, 72px);
  color: #172033;
  background: #f7f6f2;
  border-top: 1px solid #e7e5df;
  scroll-margin-top: 90px;
}
.tb-colors__inner { max-width: 1400px; margin: 0 auto; }
.tb-colors__header { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.tb-colors__eyebrow { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; color: #a41624; }
.tb-colors__eyebrow span { border-left: 1px solid #c9c6be; padding-left: 20px; color: #65666a; letter-spacing: 1px; }
.tb-colors h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -1.6px; font-weight: 600; color: #172033; }
.tb-colors__intro { max-width: 510px; font-size: 17px; line-height: 1.8; color: #5a626e; padding-bottom: 3px; }
.tb-colors__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tb-colors__card { min-width: 0; }
.tb-colors__chart { display: block; height: 100%; border: 1px solid #e2dfd6; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tb-colors__chart:hover { border-color: #969088; box-shadow: 0 8px 22px #1720330c; }
.tb-colors__image { position: relative; display: grid; place-items: center; height: clamp(220px, 24vw, 330px); padding: 18px; background: #eae8e3; overflow: hidden; }
.tb-colors__image img { width: 100%; height: 100%; object-fit: contain; min-height: 0; filter: drop-shadow(0 3px 5px #17203318); }
.tb-colors__enlarge { position: absolute; display: inline-flex; align-items: center; gap: 7px; bottom: 12px; right: 12px; padding: 7px 11px; border-radius: 4px; background: #172033; color: #fff; font-size: 11px; font-weight: 700; }
.tb-colors__enlarge svg { width: 14px; height: 14px; }
.tb-colors__caption { padding: 18px 18px 20px; }
.tb-colors__reference { color: #82735d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; }
.tb-colors__caption h3 { margin: 6px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #172033; letter-spacing: -.3px; }
.tb-colors__caption p { color: #626975; font-size: 13px; line-height: 1.6; }
.tb-colors__more { margin-top: 28px; }
.tb-colors__more summary { display: flex; justify-content: center; align-items: center; gap: 18px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 13px 23px; border: 1px solid #b4b0a8; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.tb-colors__more summary::-webkit-details-marker { display: none; }
.tb-colors__more summary:hover { background: #eeece5; }
.tb-colors__plus { font-size: 22px; line-height: 1; font-weight: 400; }
.tb-colors__hide, .tb-colors__more[open] .tb-colors__show { display: none; }
.tb-colors__more[open] .tb-colors__hide { display: inline; }
.tb-colors__more[open] .tb-colors__plus { transform: rotate(45deg); }
.tb-colors__more[open] .tb-colors__grid { margin-top: 28px; }
.tb-colors__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #dcd8cf; margin-top: 36px; padding-top: 28px; }
.tb-colors__foot h3 { margin-bottom: 8px; font-size: 19px; font-weight: 600; color: #172033; }
.tb-colors__foot p { max-width: 690px; font-size: 13px; line-height: 1.8; color: #626975; }
.tb-colors__contact { display: inline-flex; justify-content: center; align-items: center; gap: 20px; flex-shrink: 0; padding: 14px 20px; border-radius: 4px; background: #172033; color: #fff; font-size: 12px; font-weight: 700; }
.tb-colors__contact:hover { background: #a41624; color: #fff; }
.tb-colors a:focus-visible, .tb-colors summary:focus-visible, .tb-chart-viewer :focus-visible { outline: 3px solid #b32235; outline-offset: 4px; }
.tb-chart-viewer { position: fixed; inset: 0; margin: auto; width: min(1000px, calc(100% - 32px)); height: min(940px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 10px; background: #f7f6f2; color: #172033; box-shadow: 0 25px 100px #0006; overflow: hidden; }
.tb-chart-viewer:not([open]) { display: none; }
.tb-chart-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.tb-chart-viewer::backdrop { background: #070d1be0; }
.tb-chart-viewer__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #dcd8cf; }
.tb-chart-viewer__header p { font-size: 11px; font-weight: 700; color: #6b6253; }
.tb-chart-viewer__header h2 { font-size: 19px; font-weight: 600; color: #172033; line-height: 1.35; }
.tb-chart-viewer__close { flex-shrink: 0; width: 44px; height: 44px; color: #172033; font-size: 32px; line-height: 1; border-radius: 4px; }
.tb-chart-viewer__close:hover { background: #e5e1d9; }
.tb-chart-viewer__stage { position: relative; min-height: 0; padding: 14px; display: grid; place-items: center; }
.tb-chart-viewer__stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.tb-chart-viewer__stage[aria-busy="true"] img { opacity: .35; }
.tb-chart-viewer__status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 6px; background: #fff; box-shadow: 0 4px 20px #0002; text-align: center; font-size: 14px; }
.tb-chart-viewer__status:empty { display: none; }
.tb-chart-viewer__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid #dcd8cf; }
.tb-chart-viewer__footer button, .tb-chart-viewer__footer a { padding: 10px 8px; min-height: 44px; font-size: 13px; font-weight: 700; color: #172033; border-radius: 4px; }
.tb-chart-viewer__footer button:hover, .tb-chart-viewer__footer a:hover { background: #e5e1d9; }
@media (max-width: 1000px) {
  .tb-colors__grid { gap: 14px; }
  .tb-colors__caption { padding: 14px; }
  .tb-colors__foot { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .tb-colors__header { grid-template-columns: 1fr; gap: 20px; }
  .tb-colors__eyebrow { font-size: 10px; letter-spacing: 1px; gap: 8px 12px; }
  .tb-colors__eyebrow span { padding-left: 12px; }
  .tb-colors__intro { font-size: 15px; }
  .tb-colors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-colors__image { height: clamp(170px, 48vw, 300px); padding: 10px; }
  .tb-colors__caption h3 { font-size: 14px; }
  .tb-colors__caption p { font-size: 12px; }
  .tb-colors__enlarge { padding: 5px 7px; font-size: 10px; right: 8px; bottom: 8px; }
  .tb-chart-viewer { width: calc(100% - 16px); height: calc(100dvh - 16px); }
  .tb-chart-viewer__header { padding: 10px 12px; }
  .tb-chart-viewer__header h2 { font-size: 16px; }
  .tb-chart-viewer__footer { gap: 4px; padding: 8px; }
  .tb-chart-viewer__footer button { font-size: 20px; }
  .tb-chart-viewer__footer button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-colors a { transition: none; }
}
