/* 3D Production component styles v1. Geometry remains in native Zero Block fields. */
/* Footer rich-text sanitizer strips img tags; original assets are CSS backgrounds. */
:root {
  --tdp-brand-pink: #e800a6;
  --tdp-component-ink: #ffffff;
  --tdp-component-dark: #161719;
  --tdp-contact-accent: #ff00aa;
  --tdp-brand-font-size: 38px;
  --tdp-year-font-size: 18px;
  --tdp-phone-font-size: 18px;
  --tdp-email-font-size: 18px;
  --tdp-messenger-size: 30px;
  --tdp-messenger-gap: 16px;
}
#allrecords .t-rec .tn-elem.tdp-brand-plate .tn-atom {
  background-color: var(--tdp-brand-pink);
}
#allrecords .t-rec .tn-elem.tdp-brand-label .tn-atom {
  color: var(--tdp-component-ink);
  font-size: var(--tdp-brand-font-size);
  text-decoration: none;
}
#allrecords .t-rec .tn-elem.tdp-brand-year-plate .tn-atom,
#allrecords .t-rec .tn-elem.tdp-contact-panel .tn-atom {
  background-color: var(--tdp-component-dark);
}
#allrecords .t-rec .tn-elem.tdp-brand-year .tn-atom {
  color: var(--tdp-component-ink);
  font-size: var(--tdp-year-font-size);
}
#allrecords .t-rec .tn-elem.tdp-contact-phone .tn-atom {
  color: var(--tdp-component-ink);
  font-size: var(--tdp-phone-font-size);
  text-decoration: none;
}
#allrecords .t-rec .tn-elem.tdp-contact-email .tn-atom {
  color: var(--tdp-contact-accent);
  font-size: var(--tdp-email-font-size);
  text-decoration: none;
}
#allrecords .t-rec .tn-elem.tdp-messenger .tn-atom__img {
  max-width: var(--tdp-messenger-size);
  max-height: var(--tdp-messenger-size);
}
#allrecords .tdp-messengers {
  display: flex;
  align-items: center;
  gap: var(--tdp-messenger-gap);
  margin-top: 14px;
}
#allrecords .tdp-footer-messenger {
  display: inline-flex;
  width: var(--tdp-messenger-size);
  height: var(--tdp-messenger-size);
}
#allrecords .tdp-footer-messenger img {
  display: block;
  width: var(--tdp-messenger-size);
  height: var(--tdp-messenger-size);
  object-fit: contain;
}
#allrecords .tdp-footer-contact-phone,
#allrecords .tdp-footer-contact-email {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 1199px) {
  :root { --tdp-brand-font-size: 25px; --tdp-year-font-size: 14px; }
}
@media (max-width: 959px) {
  :root { --tdp-phone-font-size: 14px; --tdp-email-font-size: 14px; }
}
@media (max-width: 639px) {
  :root { --tdp-brand-font-size: 20px; --tdp-year-font-size: 11px;
    --tdp-phone-font-size: 15px; --tdp-email-font-size: 14px; }
}
@media (max-width: 479px) {
  :root { --tdp-brand-font-size: 25px; --tdp-year-font-size: 12px;
    --tdp-phone-font-size: 15px; --tdp-email-font-size: 15px; }
}
#allrecords .tdp-footer-messenger { background-repeat: no-repeat; background-position: center; background-size: contain; }
#allrecords .tdp-footer-telegram { background-image: url("https://static.tildacdn.com/tila3830-6265-4266-b538-303236623431/telegram-messenger-i.svg"); }
#allrecords .tdp-footer-max { background-image: url("https://static.tildacdn.com/tila3137-6562-4634-a136-373431623439/max-messenger-icon.png"); }
/* Long OAuth permission URL in the existing privacy text must wrap on mobile. */
#allrecords #rec5244096201 .t-text { overflow-wrap: anywhere; }
/* Owner-approved Footer heading repair; text and form configuration unchanged. */
@media (max-width: 359px) { #allrecords #rec531717619 .t823__title { font-size: 26px; } }
/* Projects contacts retain dark phone text on the existing white background. */
#allrecords .t-rec .tn-elem.tdp-contact-phone.tdp-on-light .tn-atom { color: var(--tdp-component-dark); }
/* Local404 form title uses the same narrow-screen correction; controls untouched. */
@media (max-width: 359px) { #allrecords #rec144537493 .t823__title { font-size: 26px; } }

/* Align the shared Footer scroll-to-top control above T972 on narrow screens. */
@media screen and (max-width: 960px) {
  #rec531717658 .t389__scroll {
    text-align: right;
  }
}
