.permit-registry{margin:20px 0;padding:20px;border:1px solid var(--border,#d4d4d8);border-radius:12px;background:var(--surface,#fff);color:var(--text,#202124)}
.permit-registry h3,.permit-registry h4{margin:0 0 8px;font-size:16px;line-height:1.4}
.permit-registry p{margin:8px 0;max-width:75ch;line-height:1.5}
.permit-registry form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:16px}
.permit-registry label{display:flex;flex-direction:column;gap:6px;flex:1 1 240px;max-width:380px;font-weight:600}
.permit-registry input{width:100%;min-height:44px;box-sizing:border-box;caret-color:currentColor}
.permit-registry input[aria-invalid=true]{border-color:var(--danger,#b42318)}
.permit-registry .btn{min-height:44px;white-space:normal}
.permit-registry :is(input,button,a):focus-visible{outline:2px solid var(--primary,#285dc5);outline-offset:3px}
.permit-registry [data-registry-status]{margin-top:12px;line-height:1.5;overflow-wrap:anywhere}
.permit-registry [data-registry-status]:empty{display:none}
.permit-registry .is-error{color:var(--danger,#b42318)}
.permit-registry-result{border-top:1px solid var(--border,#d4d4d8);margin-top:20px;padding-top:20px;overflow-wrap:anywhere}
.permit-registry-record{margin:16px 0 20px}
.permit-registry-record strong{font-size:16px}
.permit-registry dl{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:8px 16px;margin:12px 0;max-width:580px;line-height:1.5}
.permit-registry dt{font-weight:500}.permit-registry dd{margin:0;font-variant-numeric:tabular-nums}
.permit-registry a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.permit-registry{padding:16px;margin:16px 0}.permit-registry label{max-width:none;flex-basis:100%}.permit-registry form>.btn{flex:1 1 140px}.permit-registry dl{grid-template-columns:minmax(100px,1fr) minmax(0,1fr);gap:8px 12px}}

@media(max-width:600px){.permit-registry-result>p:last-of-type{padding-right:72px}}

.permit-registry-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.permit-registry-record>.btn{margin-top:12px}
