.lf-section { background: #edf2ed; border-block: 1px solid #c9d6cf; color: #183638; }
.lf-layout {
  display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: stretch; min-width: 0;
  border: 1px solid #bacac2; border-radius: 14px; background: #fbfcf9;
  box-shadow: 0 18px 48px -35px #1e4c48aa;
}
.lf-intro {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(12px,3vw,42px);
  min-width: 0; position: relative; isolation: isolate; overflow: hidden;
  background: #15363a; color: #f6f7ed; border-radius: 13px 0 0 13px;
}
.lf-intro-copy { padding: clamp(24px,3.6vw,52px) clamp(24px,3.4vw,49px) 0; }
.lf-intro h2 { font-size: clamp(2.3rem,3.65vw,3.72rem); font-weight: 550; line-height: 1.07; letter-spacing: -.058em; overflow-wrap: break-word; }
.lf-prelude { color: #acd5c6; margin-bottom: 20px; font-size: .87rem; line-height: 1.48; }
.lf-description { color: #cbdcd4; font-size: clamp(.95rem,1.05vw,1.08rem); margin-top: 18px; max-width: 36ch; line-height: 1.65; }
.lf-print { display: block; width: 100%; height: clamp(150px,16.5vw,240px); color: #83bca3; }
.lf-print g { fill: none; stroke: currentColor; stroke-width: 1.1; opacity: .86; }
.lf-print use:nth-child(9n) { stroke: #e1b987; }
.lf-inline-slot { padding: clamp(23px,3.4vw,48px); min-width: 0; }
.lf-body,.lf-field { min-width: 0; }
.lf-form { display: grid; row-gap: 22px; min-width: 0; margin: 0; }
.lf-field { display: flex; flex-direction: column; gap: 6px; }
.lf-label,.lf-contacts legend { font-size: .91rem; font-weight: 670; line-height: 1.45; color: #233d3a; }
.lf-field input,.lf-field select,.lf-field textarea {
  display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px;
  border: 1px solid #788d82; border-radius: 6px; background: #fff; font: inherit;
  font-size: 1rem; line-height: 1.42; color: #172f2e; transition: border-color .16s, box-shadow .16s;
}
.lf-field input::placeholder,.lf-field textarea::placeholder { color: #617069; opacity: 1; }
.lf-field textarea { min-height: 80px; max-height: 260px; resize: vertical; }
.lf-select { display: grid; position: relative; min-width: 0; }
.lf-select select { appearance: none; padding-right: 33px; }
.lf-select svg { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 17px; height: 17px; }
.lf-contacts { margin: 0; padding: 0; border: 0; min-width: 0; }
.lf-contacts legend { padding: 0; margin-bottom: 8px; }
.lf-contacts .lf-field + .lf-field:not([hidden]) { margin-top: 8px; }
.lf-method { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,320px); margin-bottom: 9px; }
.lf-method label { position: relative; min-width: 0; }
.lf-method span {
  border: 1px solid #9aaba1; display: flex; align-items: center; justify-content: center;
  min-height: 42px; gap: 7px; padding: 5px 7px; color: #415d54; font-size: .84rem;
  font-weight: 640; cursor: pointer; background: #fbfcf8; text-align: center;
  transition: background-color .18s, color .18s;
}
.lf-method label:first-child span { border-radius: 6px 0 0 6px; }
.lf-method label:last-child span { border-radius: 0 6px 6px 0; border-left: 0; }
.lf-method svg { height: 15px; width: 15px; flex: none; }
.lf-method input,.lf-contacts.is-enhanced .lf-field .lf-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.lf-method input:checked + span { color: #fff; background: #19554d; border-color: #19554d; }
.lf-method input:focus-visible + span { position: relative; z-index: 1; outline: 3px solid #007467; outline-offset: 3px; }
.lf-contacts.is-enhanced .lf-field + .lf-field:not([hidden]) { margin-top: 0; }
.lf-details { border-block: 1px solid #bdcdc1; }
.lf-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 1px;
  list-style: none; cursor: pointer; color: #254039;
}
.lf-details summary::-webkit-details-marker { display: none; }
.lf-details summary > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; }
.lf-details summary strong { font-size: .9rem; font-weight: 670; }
.lf-object-note { font-size: .76rem; line-height: 1.4; color: #50685c; }
.lf-details summary svg { flex: none; width: 17px; height: 17px; transition: transform .22s; color: #006459; }
.lf-details[open] summary svg { transform: rotate(45deg); }
.lf-detail-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; padding: 5px 0 20px; }
.lf-detail-fields .lf-field { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 6px; }
.lf-detail-fields .lf-wide { grid-column: 1 / -1; }
.lf-permission { display: flex; align-items: flex-start; gap: 10px; }
.lf-permission input { margin: 2px 0 0; flex: none; width: 19px; height: 19px; accent-color: #00685f; cursor: pointer; }
.lf-permission label { color: #2e4540; font-size: .83rem; line-height: 1.55; cursor: pointer; }
.lf-docs { font-size: .73rem; line-height: 1.6; margin-top: 3px; }
.lf-docs a,.lf-another,.lf-summary a { color: #005b51; text-decoration: underline; text-underline-offset: .18em; }
.lf-error,.lf-feedback { color: #982e2b; font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
.lf-error { display: block; }
.lf-contacts > .lf-error:not(:empty),.lf-permission .lf-error:not(:empty) { margin-top: 5px; }
.lf-error:empty,.lf-feedback:empty { display: none; }
.lf-field [aria-invalid="true"] { border-color: #a73b34; box-shadow: inset 2px 0 #a73b34; }
.lf-permission input[aria-invalid="true"] { outline: 2px solid #a73b34; outline-offset: 1px; }
:is(.lf-section,.lf-dialog) :is(a,button,input,select,textarea,summary,[tabindex="-1"]):focus-visible { outline: 3px solid #007469; outline-offset: 3px; }
.lf-summary { border-left: 3px solid #ac4336; padding: 12px 16px; background: #fff1eb; border-radius: 0 4px 4px 0; }
.lf-summary h3 { color: #702c23; font-size: 1rem; font-weight: 700; margin: 0 0 5px; }
.lf-summary ul { list-style: none; padding: 0; margin: 0; }
.lf-summary li + li { margin-top: 4px; }
.lf-summary a { color: #7c2923; font-size: .83rem; }
.lf-submit { justify-self: start; min-height: 46px; border-radius: 6px; gap: 19px; padding-inline: 19px; cursor: pointer; }
.lf-submit svg { width: 17px; height: 17px; }
.lf-submit:disabled { opacity: .68; cursor: progress; }
.lf-success { padding-block: 20px; }
.lf-confirm { display: grid; place-items: center; width: 45px; height: 45px; background: #d9ece1; color: #006856; border-radius: 50%; }
.lf-success h3 { margin: 16px 0 8px; color: #193d34; font-size: clamp(1.4rem,2vw,2rem); letter-spacing: -.04em; }
.lf-success p { color: #3f5850; }
.lf-another { display: block; padding: 6px 0; margin-top: 11px; border: 0; background: transparent; font: inherit; font-size: .9rem; cursor: pointer; }
.lf-dialog { width: min(540px,calc(100% - 28px)); max-width: none; max-height: calc(100% - 28px); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 1px solid #819890; border-radius: 14px; background: #fcfcf8; color: #173934; box-shadow: 0 28px 90px #061d2455; }
.lf-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr); }
.lf-dialog::backdrop { background: #0b242cb0; backdrop-filter: blur(3px); }
.lf-dialog-head { display: flex; position: relative; align-items: flex-start; gap: 18px; justify-content: space-between; padding: 24px 26px; background: #16383b; color: #f3f5e9; border-radius: 12px 12px 0 0; }
.lf-dialog-head h2 { margin-block: auto; min-width: 0; font-size: clamp(1.35rem,3vw,1.85rem); line-height: 1.18; letter-spacing: -.045em; font-weight: 570; }
.lf-dialog-head h2:focus { outline: none!important; }
.lf-close { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid #779790; border-radius: 50%; background: #ffffff09; color: #f0f7f1; }
.lf-dialog .lf-close:focus-visible { outline-color: #aadbc6; }
.lf-dialog-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.lf-dialog-slot { padding: 22px 26px 26px; }
.lf-dialog .lf-form { row-gap: 17px; }
.lf-dialog .lf-submit { width: 100%; justify-content: space-between; }
html.lf-dialog-open { overflow: hidden; }
@media(hover:hover) {
  .lf-field :is(input,select,textarea):not([aria-invalid=true]):hover { border-color: #305d50; }
  .lf-details summary:hover { color: #006459; }
  .lf-close:hover { background: #315653; }
}
@media(max-width:840px) {
  .lf-layout { grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); }
  .lf-intro-copy { padding: 28px 23px 0; }
  .lf-intro h2 { font-size: clamp(2rem,4.3vw,2.65rem); }
  .lf-detail-fields { grid-template-columns: 1fr; }
  .lf-detail-fields .lf-field { display: flex; }
}
@media(max-width:660px) {
  .lf-layout { grid-template-columns: minmax(0,1fr); }
  .lf-intro { gap: 0; border-radius: 13px 13px 0 0; }
  .lf-intro-copy { padding: 24px 22px 26px; max-width: 38em; }
  .lf-intro h2 { font-size: clamp(1.85rem,6vw,2.45rem); }
  .lf-prelude { font-size: .75rem; margin-bottom: 10px; }
  .lf-description { max-width: 37ch; margin-top: 11px; font-size: .9rem; line-height: 1.52; }
  .lf-print { height: 39px; opacity: .85; }
  .lf-inline-slot { padding: 23px 19px; }
  .lf-form { row-gap: 18px; }
  .lf-detail-fields { gap: 11px; }
  .lf-submit { width: 100%; justify-content: space-between; }
  .lf-dialog { width: min(500px,calc(100% - 16px)); max-height: calc(100dvh - 16px); }
  .lf-dialog-head { padding: 16px 18px; align-items: center; }
  .lf-dialog-slot { padding: 18px; }
}
@media(prefers-reduced-motion:no-preference) {
  .lf-section.is-entered .lf-print use { stroke-dasharray: 1; animation: lf-trace 1.3s cubic-bezier(.22,.7,.24,1) both; }
  .lf-section.is-entered .lf-print use:nth-child(3n) { animation-delay: 90ms; }
  .lf-section.is-entered .lf-print use:nth-child(3n+1) { animation-delay: 160ms; }
  .lf-dialog[open] { animation: lf-enter .2s cubic-bezier(.2,.8,.2,1); }
  .lf-dialog[open]::backdrop { animation: lf-backdrop .18s ease-out; }
  .lf-submit:disabled svg { animation: lf-wait .9s ease-in-out infinite alternate; }
  .lf-success:not([hidden]) .lf-confirm path { stroke-dasharray: 32; animation: lf-confirm .36s ease-out; }
}
@keyframes lf-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lf-enter { from { transform: translateY(12px) scale(.99); opacity: .45; } to { transform: none; opacity: 1; } }
@keyframes lf-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes lf-wait { from { transform: translateX(-2px); } to { transform: translateX(3px); } }
@keyframes lf-confirm { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
