/* Isännöintilomakkeet: the resident forms on /ohjeet. Builds on the site's own form classes
 * (.fld, .hp, .btn) from the contact form; only the list-of-forms layer is new. */

.lk-list { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 32px); max-width: 860px; }
.lk-d { border: 1px solid #dbe4dd; border-radius: 12px; background: #fff; overflow: hidden; }
/* The chevron is the site's own summary::after, the same as the FAQ. */
.lk-d > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; font-weight: 700; color: #1b2a20; font-size: 1.0625rem;
}
.lk-d > summary::-webkit-details-marker { display: none; }
.lk-d > summary:hover { background: #f4f9f5; }
.lk-d > summary:focus-visible { outline: 3px solid #1a5c42; outline-offset: -3px; }
.lk-body { padding: 4px 22px 22px; border-top: 1px solid #e6ede8; }
.lk-form { display: grid; gap: 2px; }
.lk-form .fld { margin: 12px 0 0; }
.lk-form .fld label, .lk-set legend { display: block; font-weight: 700; font-size: .9375rem; color: #1b2a20; margin-bottom: 6px; }
.lk-form input[type="text"], .lk-form input[type="tel"], .lk-form input[type="email"],
.lk-form input[type="date"], .lk-form input[type="number"], .lk-form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #b9c7bd; border-radius: 8px; background: #fff; color: #1b2a20;
}
.lk-form input:focus, .lk-form textarea:focus { outline: 3px solid rgba(26,92,66,.35); border-color: #1a5c42; }
.lk-form .req { color: #246b4c; }
.lk-form .opt { font-weight: 400; color: #46554b; opacity: 1; }
/* 21.10 launch audit: a.css fades every .fld .opt to opacity .6, which put the forms' optional and
   hint labels at 2.93:1 on white. Full opacity keeps the same text colour (#46554b, 7.5:1). */
.lk-set { border: 0; padding: 0; }
.lk-opt { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; margin: 6px 0; cursor: pointer; }
.lk-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1a5c42; flex: none; }
.lk-consent { margin-top: 18px !important; }
/* The same consent line in the home quote form (.qform), where a.css's small-caps field label
 * and full-width input rules would otherwise reach it. */
.qform .lk-opt { font-size: .9375rem; letter-spacing: normal; }
.qform .lk-opt input { width: 20px; padding: 0; }
.lk-form .fld-a { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.lk-msg { margin: 16px 0 4px; padding: 12px 14px; border-radius: 8px; font-weight: 700; }
.lk-msg.ok { background: #e9f4ec; color: #1a5c42; }
.lk-msg.bad { background: #fbeceb; color: #8e2a23; }
.lk-dl-a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-decoration: none; color: #1b2a20; font-weight: 700; }
.lk-dl-a:hover { background: #f4f9f5; }
.lk-dl-n { font-weight: 400; color: #1a5c42; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .lk-d > summary, .lk-dl-a { padding: 16px; }
  .lk-body { padding: 4px 16px 18px; }
}
