/* Shared catalogue controls; form styles stay scoped to this subpage. */
.registry-search-form{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}
@media(max-width:800px){.registry-search-form{grid-template-columns:1fr 1fr}.registry-search-form input{grid-column:1/-1}}
.lookup-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.lookup-pagination span{color:var(--muted);font-size:.82rem;text-align:center}
.lookup-match-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:440px;overflow:auto}
.diagnostics-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:var(--text);border:1px solid var(--line);border-radius:11px;padding:11px 14px;font-weight:650;background:rgba(255,255,255,.025)}
.diagnostics-link:hover{border-color:var(--accent);color:var(--accent)}
.registry-shell{max-width:1100px}.registry-shell .hero h1{font-size:clamp(2rem,5vw,3.25rem);line-height:1.1}.registry-shell .hero .lede{max-width:700px}
.registry-form{display:grid;gap:18px}.registry-card{padding:24px}.registry-card .card-head{justify-content:flex-start;gap:14px}.registry-card h2{font-size:1.05rem}.registry-number{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:rgba(114,207,255,.1);color:var(--accent);font:700 .82rem ui-monospace,monospace}.registry-description{margin:12px 0 20px;color:var(--muted);font-size:.9rem;line-height:1.6}
.registry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.registry-field{min-width:0;display:flex;flex-direction:column;gap:8px}.registry-field--wide{grid-column:1/-1}.registry-field label{font-weight:650;font-size:.86rem;color:var(--text)}.registry-field .text-input{min-width:0;line-height:1.5}.registry-field textarea{resize:vertical;min-height:94px}.registry-field small{color:var(--muted);font-size:.77rem;line-height:1.45}.registry-field .required-mark{color:var(--accent)}.registry-field select{appearance:auto}
.registry-info{margin:0 0 24px}.registry-info p{margin:0;line-height:1.6;color:var(--muted);font-size:.86rem}.registry-info strong{color:var(--text)}
.registry-relations{display:grid;gap:14px}.registry-relation{margin:0;border:1px solid var(--line);border-radius:12px;padding:18px;min-width:0;background:rgba(255,255,255,.015)}.registry-relation legend{padding:0 8px;color:var(--muted);font-size:.82rem}.registry-relation-actions{display:flex;justify-content:flex-end;margin-top:12px}
.registry-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px}.registry-actions p{margin:0;max-width:570px;color:var(--muted);font-size:.85rem;line-height:1.5}.registry-actions button{white-space:nowrap}.registry-form> .notice{margin:0}.registry-shell footer{margin-top:8px}.registry-shell a:focus-visible,.lookup-page:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){.registry-fields{grid-template-columns:1fr}.registry-field--wide{grid-column:auto}.registry-card{padding:18px}.registry-actions{align-items:stretch;flex-direction:column;padding:18px}.registry-actions button{width:100%}.lookup-pagination{flex-wrap:wrap}.lookup-pagination span{order:-1;width:100%}.registry-shell{padding-top:28px}.registry-shell .hero-actions{width:100%}.registry-shell .hero-actions a{width:100%}}
