.tv-pdf-box {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 84px minmax(0,1.1fr) minmax(265px,1fr);
  gap: 16px 26px;
  align-items: center;
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 28px auto;
  padding: 24px 28px;
  border: 1px solid #d2dce2;
  border-radius: 14px;
  background: #fff;
  color: #233b4e;
  scroll-margin-top: 95px;
}
.tv-pdf-cover { width: 84px; height: auto; border: 1px solid #dde4e8; box-shadow: 0 4px 10px #152e491a; }
.tv-pdf-box .tv-pdf-intro h2 { font-size: clamp(23px,2.4vw,32px); line-height: 1.14; margin: 0 0 8px; }
.tv-pdf-box p { margin: 4px 0; line-height: 1.5; }
.tv-pdf-box .tv-pdf-price { margin-top: 8px; font-size: 14px; font-weight: 600; }
.tv-pdf-box .tv-pdf-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.tv-pdf-fields { display: flex; gap: 8px; }
.tv-pdf-fields input { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; min-height: 46px; padding: 9px 12px; border: 1px solid #80909b; border-radius: 6px; font: inherit; font-size: 16px; background: #fff; color: #18364c; }
.tv-pdf-fields button, a.tv-pdf-file { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 16px; box-sizing: border-box; border: 0; border-radius: 6px; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; background: #203b50; color: #fff !important; text-decoration: none; }
.tv-pdf-fields button:disabled { opacity: .65; cursor: wait; }
.tv-pdf-box :focus-visible, .tv-pdf-receipt a:focus-visible { outline: 3px solid #23699b; outline-offset: 3px; }
.tv-pdf-box .tv-pdf-privacy, .tv-pdf-box .tv-pdf-status { font-size: 13px; margin: 8px 0 0; }
.tv-pdf-box .tv-pdf-status:empty, .tv-pdf-box [hidden], .tv-pdf-receipt { display: none; }
.tv-pdf-result { margin-top: 8px; }
.tv-pdf-receipt:target { display: block; }
main.thankyou:has(.tv-pdf-receipt:target) > div { display: none; }
@media (max-width: 790px) {
  .tv-pdf-box { grid-template-columns: 70px minmax(0,1fr); gap: 14px 16px; padding: 20px; }
  .tv-pdf-cover { width: 70px; }
  .tv-pdf-controls { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .tv-pdf-box { width: calc(100% - 28px); grid-template-columns: 60px minmax(0,1fr); padding: 16px; gap: 14px 12px; }
  .tv-pdf-cover { width: 60px; }
  .tv-pdf-fields { flex-direction: column; }
}
