.mdbes-wrap{max-width:640px;width:100%;margin:20px auto;padding:0 16px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18212f;box-sizing:border-box}
.mdbes-wrap *{box-sizing:border-box}
.mdbes-card{background:#fff;border:1px solid #e6eaf0;border-radius:16px;padding:clamp(18px,4vw,28px);box-shadow:0 10px 35px rgba(20,35,55,.07)}
.mdbes-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mdbes-form{margin:0}
.mdbes-row{display:flex;gap:10px;width:100%}
.mdbes-row input{flex:1 1 auto;min-width:0;width:100%;border:1px solid #ccd3dd;border-radius:10px;padding:14px 15px;font-size:16px;outline:none;-webkit-appearance:none}
.mdbes-row input:focus{border-color:#396de1;box-shadow:0 0 0 3px rgba(57,109,225,.12)}
.mdbes-row button{flex:0 0 auto;border:0;border-radius:10px;background:#396de1;color:#fff;padding:0 22px;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap}
.mdbes-row button:hover{filter:brightness(.94)}
.mdbes-row button:disabled{opacity:.65;cursor:wait}
.mdbes-status{min-height:20px;margin-top:14px;font-size:14px;font-weight:700}
.mdbes-status.is-loading{color:#396de1}
.mdbes-status.is-success{color:#2f7d32}
.mdbes-status.is-error{color:#c53b32}
.mdbes-result{display:none;margin-top:14px;border:1px solid #e5e9ef;border-radius:14px;overflow:hidden}
.mdbes-result.is-visible{display:block}
.mdbes-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;background:#f7f9fc;border-bottom:1px solid #e5e9ef}
.mdbes-result-head h3{margin:4px 0 0;font-size:20px;line-height:1.25;word-break:break-word}
.mdbes-result-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#748095}
.mdbes-state-badge{flex:0 0 auto;background:#e9f4ea;color:#28732c;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.mdbes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.mdbes-field{padding:13px 18px;border-bottom:1px solid #edf0f4}
.mdbes-field:nth-child(odd){border-right:1px solid #edf0f4}
.mdbes-field span{display:block;font-size:12px;color:#7a8492;margin-bottom:4px}
.mdbes-field strong{display:block;font-size:14px;line-height:1.4;word-break:break-word}
.mdbes-section{padding:16px 18px;border-top:1px solid #edf0f4}
.mdbes-section h4{margin:0 0 10px;font-size:15px}
.mdbes-officers{display:grid;gap:8px}
.mdbes-officers div{padding:10px 12px;background:#f7f9fc;border-radius:9px}
.mdbes-officers strong{display:block}
.mdbes-officers span{font-size:13px;color:#6d7785}
.mdbes-source{padding:14px 18px;border-top:1px solid #edf0f4}
.mdbes-source a{font-weight:800;color:#396de1;text-decoration:none;word-break:break-word}
.mdbes-source a:hover{text-decoration:underline}
.mdbes-updated{padding:0 18px 14px;font-size:12px;color:#8a93a0}

/* "Business name available" state */
.mdbes-available{display:flex;align-items:center;gap:14px;padding:16px 18px;background:#eaf7ec;flex-wrap:wrap}
.mdbes-available-icon{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#2f9e44;color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;line-height:1}
.mdbes-available-text{flex:1 1 200px;display:flex;flex-direction:column;gap:3px}
.mdbes-available-text strong{color:#1e6b28;font-size:15px}
.mdbes-available-text span{color:#3f6b46;font-size:13px;line-height:1.5;word-break:break-word}
.mdbes-cta-btn{flex:0 0 auto;background:#2f9e44;color:#fff!important;text-decoration:none;font-weight:800;font-size:14px;padding:11px 18px;border-radius:9px;white-space:nowrap}
.mdbes-cta-btn:hover{filter:brightness(.95)}

@media(max-width:768px){
 .mdbes-wrap{margin:16px auto}
}

@media(max-width:650px){
 .mdbes-card{padding:20px;border-radius:14px}
 .mdbes-row{flex-direction:column}
 .mdbes-row button{height:48px;width:100%}
 .mdbes-grid{grid-template-columns:1fr}
 .mdbes-field:nth-child(odd){border-right:0}
 .mdbes-result-head{padding:15px}
 .mdbes-result-head h3{font-size:18px}
}

@media(max-width:420px){
 .mdbes-wrap{padding:0 10px}
 .mdbes-card{padding:16px;border-radius:12px}
 .mdbes-result-head{flex-direction:column;align-items:flex-start;gap:8px}
 .mdbes-available{flex-direction:column;align-items:stretch;text-align:left}
 .mdbes-cta-btn{width:100%;text-align:center}
}
