@charset "utf-8";
/* Free client-side breeder tools: /instrumenty/dogovor-shchenka/ & /instrumenty/kartochka-malysha/ */

.bt-privacy {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--color-verified-line, #9ADBB8);
  border-radius: 14px;
  background: var(--color-verified-tint, #EBF9F1);
  color: #12452D;
  font-size: 14px;
  line-height: 1.5;
}
.bt-privacy strong { color: #0B3823; }

.bt-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}
.bt-shell--card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.bt-form,
.bt-preview {
  background: var(--color-paper, #FFFFFF);
  border: 1px solid var(--color-line, #E7E6E0);
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 24px);
  min-width: 0;
}

.bt-form {
  display: grid;
  gap: 16px;
}

.bt-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bt-segment__btn {
  flex: 1 1 130px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong, #DCDAD3);
  background: var(--color-sand, #F6F5F1);
  color: var(--color-ink, #111216);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bt-segment__btn[aria-pressed="true"] {
  background: var(--color-ink, #111216);
  border-color: var(--color-ink, #111216);
  color: var(--color-paper, #FFFFFF);
}

.bt-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bt-fieldset + .bt-fieldset {
  padding-top: 14px;
  border-top: 1px solid var(--color-line, #E7E6E0);
}
.bt-fieldset legend {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-muted, #676B74);
  margin-bottom: 4px;
  padding: 0;
}

.bt-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bt-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.bt-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-graphite, #3C3F47);
}
.bt-field .input,
.bt-field select,
.bt-field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.bt-field textarea {
  min-height: 76px;
  resize: vertical;
}

.bt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.bt-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 0;
  background: var(--color-action, #FF6A2A);
  color: var(--color-on-action, #111216);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.bt-btn-action:hover,
.bt-btn-action:focus-visible {
  background: #F25B1B;
  color: var(--color-on-action, #111216);
}
.bt-status {
  font-size: 13px;
  color: var(--color-ok, #0B7A4B);
  font-weight: 600;
}

/* Contract preview tabs & paper sheet */
.bt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line, #E7E6E0);
}
.bt-tab {
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong, #DCDAD3);
  background: var(--color-sand, #F6F5F1);
  color: var(--color-graphite, #3C3F47);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.bt-tab[aria-selected="true"] {
  background: var(--color-ink, #111216);
  border-color: var(--color-ink, #111216);
  color: var(--color-paper, #FFFFFF);
}

.bt-doc {
  background: #FFFDFB;
  border: 1px solid var(--color-line, #E7E6E0);
  border-radius: 14px;
  padding: clamp(16px, 2.6vw, 28px);
  color: var(--color-ink, #111216);
  font-size: 14px;
  line-height: 1.62;
  max-height: 680px;
  overflow-y: auto;
}
.bt-doc-section[hidden] {
  display: none;
}
.bt-doc h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}
.bt-doc-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-muted, #676B74);
  margin: 0 0 14px;
}
.bt-doc h3 {
  margin: 14px 0 6px;
  font-size: 14.5px;
  line-height: 1.35;
}
.bt-doc p,
.bt-doc li {
  margin: 0 0 7px;
  font-size: 13.5px;
  line-height: 1.58;
}
.bt-doc ol,
.bt-doc ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.bt-doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 14px;
  font-size: 13px;
}
.bt-doc-table th,
.bt-doc-table td {
  border: 1px solid var(--color-line-strong, #DCDAD3);
  padding: 6px 9px;
  text-align: left;
  vertical-align: top;
}
.bt-doc-table th {
  width: 38%;
  background: var(--color-sand, #F6F5F1);
  font-weight: 600;
}
.bt-doc-signs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-line-strong, #DCDAD3);
  font-size: 13px;
}

/* Puppy/kitten card canvas preview */
.bt-preview--sticky {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
}
.bt-canvas-frame {
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--color-sand, #F6F5F1);
  border: 1px solid var(--color-line, #E7E6E0);
}
.bt-canvas-frame canvas {
  display: block;
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(17, 18, 22, 0.12);
}
.bt-file-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.bt-file-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--color-line-strong, #DCDAD3);
  background: var(--color-sand, #F6F5F1);
  color: var(--color-ink, #111216);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.bt-file-pick input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.bt-file-name {
  font-size: 13px;
  color: var(--color-muted, #676B74);
  overflow-wrap: anywhere;
}
.bt-themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bt-theme-btn {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--color-line-strong, #DCDAD3);
  background: var(--color-paper, #FFFFFF);
  color: var(--color-ink, #111216);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.bt-theme-btn[aria-pressed="true"] {
  border-color: var(--color-ink, #111216);
  box-shadow: 0 0 0 2px var(--color-ink, #111216);
}
.bt-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex: none;
}
.bt-swatch--stone { background: #F6F5F1; }
.bt-swatch--forest { background: #183727; }
.bt-swatch--graphite { background: #16181D; }

/* Soft CTA banner to free breeder cabinet */
.bt-cta-box {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 20px;
  border: 1px solid var(--color-line, #E7E6E0);
  background: var(--color-sand, #F6F5F1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.bt-cta-box__copy {
  flex: 1 1 360px;
  display: grid;
  gap: 6px;
}
.bt-cta-box__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-action-text, #C2470F);
  margin: 0;
}
.bt-cta-box__copy h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-ink, #111216);
}
.bt-cta-box__copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-graphite, #3C3F47);
}

@media (max-width: 960px) {
  .bt-shell,
  .bt-shell--card {
    grid-template-columns: minmax(0, 1fr);
  }
  .bt-preview--sticky {
    position: static;
  }
}

@media (max-width: 560px) {
  .bt-grid2,
  .bt-themes,
  .bt-doc-signs {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  header, footer, nav, .crumbs, .page-hero, .bt-privacy, .bt-form, .bt-tabs,
  .bt-actions, .bt-cta-box, .sec, .next-block, .pp-bar, .pp-nav, [data-ad-slot],
  [data-ad-after] > :not(.toolhost) {
    display: none !important;
  }
  body, main, .wrap, .toolhost, .bt-shell, .bt-preview, .bt-doc {
    display: block !important;
    background: #fff !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
  }
  .bt-doc-section {
    display: block !important;
  }
  .bt-doc-section + .bt-doc-section {
    page-break-before: always;
    break-before: page;
    margin-top: 0;
  }
  .bt-doc h2 { font-size: 15pt; }
  .bt-doc h3 { font-size: 11.5pt; }
  .bt-doc p, .bt-doc li, .bt-doc-table { font-size: 10pt; line-height: 1.45; }
}
