.country-dialog{width:min(440px,calc(100vw - 28px));max-height: min(640px,85dvh);padding:20px;margin:auto;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);box-sizing:border-box;overflow:hidden}
.country-dialog[open]{display:flex;flex-direction:column;gap:14px}
.country-dialog::backdrop{background:#06172a88;backdrop-filter:blur(4px)}
.country-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.country-dialog h2{font-size:20px;margin:0}.country-dialog header button{width:40px;height:40px;border:0;border-radius:50%;font-size:24px;background:var(--surface-2);color:var(--text)}
.country-dialog label{display:grid;gap:7px;font-size:14px;flex-shrink:0}.country-dialog input{width:100%;box-sizing:border-box;font-size:16px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text)}
.country-results{overflow-y:auto;min-height:60px;max-height:48dvh;overscroll-behavior:contain}.country-results button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:13px 10px;border:0;border-radius:10px;background:transparent;color:var(--text);font-size:16px}.country-results button:hover,.country-results button:focus-visible{background:var(--surface-2)}.country-results small{color:var(--muted)}
