.pointer-lab { min-width: 0; }
.pointer-lab [hidden] { display: none !important; }
.pointer-lab__controls, .pointer-lab__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.pointer-lab__controls label { display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; font-weight: 600; }
.pointer-lab__controls input, .pointer-lab__controls select { width: 100%; min-width: 0; min-height: 48px; padding: .7rem; border: 1px solid #a9bfc3; border-radius: 10px; background: #fff; color: #121d22; font: inherit; }
.pointer-lab__card { min-width: 0; padding: 1.1rem; border: 1px solid #d4dfdd; border-radius: 16px; background: #fff; }
.pointer-lab__card h3 { margin-top: 0; font-size: 1.15rem; }
.pointer-lab pre { max-width: 100%; padding: 1rem; border: 1px solid #d4dfdd; border-radius: 12px; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.6; }
.pointer-lab__card pre { padding: 0; border: 0; border-radius: 0; margin-bottom: 0; }
.pointer-lab__document { margin: 1.5rem 0; padding: 1rem; border: 1px solid #d4dfdd; border-radius: 16px; background: #fff; }
.pointer-lab__document summary { cursor: pointer; font-weight: 700; }
.pointer-lab [data-pointer-status], .pointer-lab [data-pointer-tokens] { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .pointer-lab__controls, .pointer-lab__results { grid-template-columns: minmax(0, 1fr); }
}
