.kylayhd-permit { max-width: 820px; margin: 24px auto; padding: clamp(20px, 4vw, 40px); display: grid; gap: 12px; border: 1px solid #d5dfd7; border-radius: 16px; background: #fff; color: #23352a; }
.kylayhd-permit h2, .kylayhd-permit h3, .kylayhd-permit p { margin: 0; }
.kylayhd-permit h3 { margin-top: 14px; }
.kylayhd-permit .kylayhd-permit-download { padding: 14px 18px; border: 1px solid #b9cbbc; border-radius: 8px; background: #f1f7f2; }
.kylayhd-permit-download a { color: #295d34; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
.kylayhd-permit-download a:focus-visible { outline: 3px solid #397344; outline-offset: 3px; }
.kylayhd-permit label, .kylayhd-permit legend { font-weight: 600; }
.kylayhd-permit input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .kylayhd-permit textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px; font: inherit; border: 2px solid #819889; border-radius: 7px; background: #fff; color: #172a1e; }
.kylayhd-permit fieldset { min-width: 0; padding: 16px; border: 1px solid #b9cbbc; border-radius: 8px; margin: 8px 0; }
.kylayhd-permit .kylayhd-permit-choice { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-weight: 400; cursor: pointer; }
.kylayhd-permit-choice input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: #295d34; }
.kylayhd-permit-hp { position: absolute !important; left: -10000px !important; }
.kylayhd-permit button { padding: 14px 20px; min-height: 52px; background: #295d34; color: #fff; border: 0; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; }
.kylayhd-permit button:disabled { opacity: .6; }
.kylayhd-permit-message:not(:empty) { padding: 14px; background: #e8f4ec; border-radius: 8px; }
.kylayhd-permit-message.is-error { background: #ffeded; color: #862323; }
.kylayhd-permit input:focus-visible, .kylayhd-permit textarea:focus-visible, .kylayhd-permit button:focus-visible { outline: 3px solid #397344; outline-offset: 3px; }
