/* Scoped to the reusable form; surrounding page owns its layout and palette.
   27.09.2026 micro-2709: empty consent box right above the button, MAX/Telegram pills (motion spec Fable, vkus-motion.txt). */
.lc { box-sizing: border-box; --lc-ink: var(--ink, #211e17); --lc-accent: var(--brick, #9e3d1e); --lc-paper: var(--canvas, #f2ebd9); background: var(--lc-paper); padding: clamp(18px, 3vw, 28px); border-radius: 8px; color: var(--lc-ink); width: 100%; min-width: 0; text-align: left; }
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc [hidden] { display: none !important; }
.lc .lc-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.lc .lc-channels { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 5px; min-width: 0; border: 0; }
.lc .lc-legend { float: none; width: 100%; margin: 0 0 10px; padding: 0; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.4; }
.lc .lc-channel { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 6px; font-size: 13px; line-height: 1.35; cursor: pointer; }
.lc .lc-channel:has(input:checked) { background: var(--lc-ink); color: var(--lc-paper); }
.lc .lc-channel input, .lc .lc-consent input { appearance: auto; position: static; width: 17px; height: 17px; min-height: 0; flex: 0 0 17px; margin: 0; padding: 0; opacity: 1; accent-color: var(--lc-accent); }
.lc .lc-label { display: block; width: auto; margin: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; color: inherit; }
.lc .lc-input { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; border: 1px solid var(--pencil, #635d4b); border-radius: 5px; background: var(--lc-paper); color: var(--lc-ink); box-shadow: none; }
.lc .lc-input::placeholder { color: var(--pencil, #635d4b); opacity: 1; }
.lc .lc-note { resize: vertical; min-height: 100px; }
.lc .lc-hint, .lc .lc-promise, .lc .lc-status, .lc .lc-error, .lc .lc-intent, .lc .lc-next { margin: 0; width: auto; max-width: none; font: inherit; font-size: 12px; line-height: 1.6; color: inherit; }
.lc .lc-intent { padding-bottom: 10px; border-bottom: 1px solid var(--pencil, #635d4b); font-size: 14px; }
.lc .lc-next { font-size: 13px; }
.lc .lc-hint { margin-top: -6px; font-size: 13px; }
.lc .lc-details { border: 0; margin: 0; padding: 0; background: none; }
.lc .lc-details summary { padding: 10px 0; min-height: 44px; font-size: 12px; line-height: 1.6; cursor: pointer; }
.lc .lc-details .lc-label { margin: 4px 0 8px; }
.lc .lc-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 4px 0; color: inherit; font-size: 12px; font-weight: 400; line-height: 1.65; cursor: pointer; }
.lc .lc-consent input { margin-top: 3px; }
.lc .lc-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lc .lc-submit { display: block; width: 100%; min-height: 50px; margin: 0; padding: 13px 18px; background: var(--lc-accent); border: 1px solid var(--lc-accent); border-radius: 5px; color: var(--lc-paper); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.lc .lc-submit:disabled { opacity: .65; cursor: default; }
.lc .lc-promise { text-align: center; }
.lc .lc-status:empty { display: none; }
.lc .lc-status { font-size: 14px; }
.lc .lc-error { color: var(--brick, #9e3d1e); }
.lc [aria-invalid="true"] { border-color: var(--brick, #9e3d1e); }
.lc .lc-fallback, .lc .lc-direct-max, .lc .lc-again { display: inline-block; width: fit-content; min-height: 44px; padding: 10px 0; margin: 0; background: none; border: 0; color: inherit; font: inherit; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lc :is(input, button, textarea, summary, a):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 420px) { .lc .lc-channel { font-size: 12px; padding-inline: 10px; } .lc .lc-channels { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .lc *, .lc *::before, .lc *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* micro-2709: consent sits between the field and the button, box empty until the visitor ticks it */
.lc .lc-consent-row { margin: 0; }
.lc .lc-consent { gap: 9px; padding: 2px 0; color: var(--pencil, #6b645a); font-size: 13px; line-height: 1.45; }
.lc .lc-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 0; }
/* двойной класс перебивает мобильное правило /sites/ (0,2,2) */
.lc .lc-consent.lc-consent span, .lc .lc-consent.lc-consent a { font-size: 13px !important; line-height: 1.45; }
/* micro-2709: messengers as pills; noticed by shape, one ink pass when the form first shows, then only hand response */
@keyframes lc-in-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes lc-ink { 0%, 100% { border-color: var(--hair, #d9cdb8); } 30% { border-color: var(--lc-accent); } }
.lc .lc-direct { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--hair, #d9cdb8); }
.lc .lc-direct-title { flex: 1 0 100%; margin: 0 0 2px; font-size: 13px; line-height: 1.4; color: var(--pencil, #6b645a); }
.lc .lc-msg, .lc .lc-direct .lc-fallback { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 1 1 180px; width: auto; min-height: 46px; padding: 0 18px; margin: 0;
  background: var(--paper, #fffaf1); border: 1px solid var(--hair, #d9cdb8); border-radius: 999px; color: var(--lc-ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: border-color var(--motion-small, 160ms) var(--motion-response, ease), transform var(--motion-small, 160ms) var(--motion-response, ease), box-shadow var(--motion-small, 160ms) var(--motion-response, ease); }
.lc .lc-msg svg { width: 19px; height: 19px; flex: none; fill: currentColor; }
.lc .lc-msg:hover, .lc .lc-msg:focus-visible { border-color: var(--lc-accent); transform: translateY(-1px); box-shadow: 0 2px 0 rgba(181, 69, 42, .18); }
.lc .lc-msg:active { transform: none; box-shadow: none; transition-duration: 80ms; }
.lc .lc-form.is-seen .lc-msg { animation: lc-in-up var(--motion-medium, 240ms) var(--motion-enter, ease-out) both, lc-ink var(--motion-scene, 900ms) var(--motion-breath, ease-in-out) var(--motion-medium, 240ms) 1; }
.lc .lc-form.is-seen .lc-msg + .lc-msg { animation-delay: 70ms, 310ms; }
@media (max-width: 420px) { .lc .lc-msg { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .lc .lc-form.is-seen .lc-msg { animation: none !important; } }

/* 27.09.2026, аудит трения: читаемые размеры на всех четырёх (на /avito/ не было мобильного правила 15px),
   строка «Вы указали», заметное подтверждение, якорь #contact ведёт к самой форме. */
.lc .lc-form { scroll-margin-top: 16px; }
.lc .lc-channel, .lc .lc-label, .lc .lc-details summary { font-size: 15px; }
.lc .lc-hint, .lc .lc-promise, .lc .lc-status, .lc .lc-error, .lc .lc-next { font-size: 14px; }
.lc .lc-submit { font-size: 16px; }
.lc .lc-context { margin: 0; padding: 10px 12px; border-left: 3px solid var(--brick, #b5452a); background: var(--lc-paper, #fffaf1); font-size: 15px; line-height: 1.45; color: var(--ink, #141210); }
.lc .lc-hint { margin-top: 0; }
.lc .lc-form.is-saved .lc-submit, .lc .lc-form.is-saved .lc-submit:disabled { opacity: 1; background: #4a8f5c; border-color: #4a8f5c; color: #fffaf1; cursor: default; }
.lc .lc-form.is-saved .lc-status { padding: 12px 14px; border: 1px solid #4a8f5c; border-radius: 8px; background: rgba(74,143,92,.08); color: var(--ink, #141210); font-size: 15px; font-weight: 600; line-height: 1.5; scroll-margin: 96px 0; }
