.mip-tools { margin-top: 42px; min-width: 0; }
.mip-language { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; min-height: 0; margin-bottom: 20px; font-size: .9rem; }
.mip-language a { color: var(--blue-dark, #172bbb); }
.mip-tool-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.mip-tool-links a { display: flex; align-items: center; padding: 20px; min-height: 88px; border: 1px solid var(--line, #dcdde3); border-radius: 13px; background: white; text-decoration: none; font-weight: 700; line-height: 1.4; }
.mip-tool-links a:hover { border-color: var(--blue, #2138ec); }
.mip-panel { margin-top: 22px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line, #dcdde3); border-radius: 16px; background: white; }
.mip-panel h2 { margin-top: 0; font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.025em; }
.mip-panel p { margin-top: 13px; max-width: 70ch; }
.mip-panel button { background: #2138ec; color: white; margin-top: 16px; font-size: .94rem; }
.mip-panel button:not(:disabled):hover { background: #172bbb; }
.mip-panel button:disabled { opacity: .65; cursor: wait; }
.mip-lookup { display: flex; align-items: end; gap: 10px; margin-top: 18px; }
.mip-lookup label { display: grid; gap: 8px; flex: 1; font-size: .94rem; font-weight: 650; }
.mip-lookup input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #b2b7c4; border-radius: 9px; padding: 10px 12px; font: inherit; font-weight: 400; background: white; color: #161923; }
.mip-lookup button { margin-top: 0; }
.mip-hint { color: #53596b; font-size: .88rem; }
.mip-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 20px 0 0; }
.mip-results > div { min-width: 0; }
.mip-results dt { color: #53596b; font-size: .86rem; }
.mip-results dd { margin: 5px 0 0; overflow-wrap: anywhere; font-weight: 650; line-height: 1.5; }
.mip-message { padding: 12px 14px; border-left: 3px solid #2138ec; background: #f1f3ff; margin-top: 16px; line-height: 1.6; }
.mip-warning { border-left-color: #986000; background: #fff5df; }
.mip-error { border-left-color: #a12727; background: #fff1f1; }
.mip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mip-rdap-controls { margin-top: 18px; }
.mip-rdap-controls a { display: inline-block; margin-left: 12px; font-size: .93rem; }
.mip-target > p { margin-top: 18px; }
.mip-tools [hidden] { display: none !important; }
@media (max-width: 720px) { .mip-tool-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .mip-tool-links { grid-template-columns: 1fr; }
  .mip-lookup { flex-direction: column; align-items: stretch; }
  .mip-results { grid-template-columns: 1fr; }
  .mip-tool-links a { min-height: 64px; padding: 16px; }
}
