.lookup-lab { max-width: 1000px; }
.lookup-lab [hidden] { display: none !important; }
.lookup-card { border: 1px solid #363636; border-radius: 10px; background: #202020; padding: 24px; margin-bottom: 20px; }
.lookup-card label { display: block; color: #ccc; font-size: 14px; margin-bottom: 10px; }
.lookup-bar { display: flex; gap: 12px; }
.lookup-bar input { flex: 1; width: 100%; min-width: 0; padding: 12px; background: #161616; border: 1px solid #444; border-radius: 6px; color: #eee; font: inherit; }
.lookup-button { display: inline-block; padding: 12px 16px; border: 1px solid #4b4b4b; border-radius: 6px; color: white; background: #303030; text-decoration: none; cursor: pointer; font: inherit; font-size: 14px; }
.lookup-button.primary { background: #ff3b3b; border-color: #ff3b3b; }
.lookup-button:disabled { opacity: .6; cursor: wait; }
.lookup-button:focus-visible, .lookup-bar input:focus-visible { outline: 2px solid #ff3b3b; outline-offset: 3px; }
.lookup-note { color: #999; font-size: 12px; line-height: 1.5; margin: 14px 0 0; }
.lookup-status { color: #ccc; font-size: 14px; line-height: 1.5; margin: 14px 0 0; }
.lookup-status.is-error { color: #ffa2a2; }
.lookup-level-heading { display: flex; align-items: center; gap: 18px; }
.lookup-level-heading > div { min-width: 0; flex: 1; }
.lookup-level-heading img { object-fit: contain; flex: none; }
.lookup-level-heading h2 { margin: 0 0 7px; font-size: 26px; overflow-wrap: anywhere; }
.lookup-level-heading p { color: #bbb; font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.lookup-badge { border: 1px solid #714141; background: #3c2525; color: #ffb1b1; border-radius: 6px; padding: 7px 10px; white-space: nowrap; font-size: 12px; }
.lookup-description { color: #bbb; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; margin: 20px 0; }
.lookup-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.lookup-fields > div { background: #181818; border: 1px solid #333; padding: 13px; border-radius: 6px; }
.lookup-fields dt { color: #999; font-size: 11px; margin-bottom: 7px; }
.lookup-fields dd { margin: 0; color: #eee; font-size: 14px; overflow-wrap: anywhere; }
.lookup-cautions { border-top: 1px solid #393939; padding-top: 10px; }
.lookup-cautions p { color: #aaa; font-size: 12px; line-height: 1.6; margin: 8px 0; }
@media (max-width: 640px) {
    .lookup-card { padding: 18px; }
    .lookup-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lookup-level-heading { flex-wrap: wrap; gap: 12px; }
    .lookup-level-heading h2 { font-size: 22px; }
    .lookup-level-heading .lookup-badge { margin-left: 62px; }
}
@media (max-width: 400px) { .lookup-bar { flex-direction: column; } }
