    .phone-row {
      display: flex;
      gap: 0.5em;
      align-items: stretch;
    }
    .country-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4em;
      padding: 0.75em 0.75em 0.75em 0.9em;
      background: var(--panel);
      border: 1px solid transparent;
      border-radius: 10px;
      color: var(--text);
      font-family: inherit;
      font-size: 1em;
      cursor: pointer;
      flex-shrink: 0;
      font-variant-numeric: tabular-nums;
    }
    .country-btn:hover { background: var(--accent-blue-ghost); }
    .country-btn:focus { outline: none; border-color: var(--accent-blue); }
    .country-btn .flag {
      font-size: 1.1em;
      line-height: 1;
      font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    }
    .country-btn .chev {
      width: 10px; height: 10px; fill: var(--text-dim);
      transition: transform 0.15s;
    }
    .country-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
    .phone-row input[type=tel] { flex: 1; }

    .country-popover {
      position: absolute;
      inset-inline-start: 0;
      top: calc(100% + 0.3em);
      left: 0; right: 0;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
      z-index: 100;
      max-height: 320px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .country-popover[hidden] { display: none; }
    .country-popover .search {
      padding: 0.5em 0.6em 0.3em;
      border-bottom: 1px solid var(--border);
    }
    .country-popover .search input {
      width: 100%;
      padding: 0.5em 0.7em;
      font-size: 0.95em;
      border: 1px solid transparent;
      border-radius: 8px;
      background: var(--panel);
      color: var(--text);
      font-family: inherit;
    }
    .country-popover .search input:focus { outline: none; border-color: var(--accent-blue); background: var(--bg); }
    .country-list {
      overflow-y: auto;
      flex: 1;
    }
    .country-item {
      display: flex;
      align-items: center;
      gap: 0.6em;
      padding: 0.55em 0.9em;
      cursor: pointer;
      font-size: 0.95em;
      border-top: 1px solid var(--border);
    }
    .country-item:first-child { border-top: 0; }
    .country-item:hover, .country-item.focused { background: var(--accent-blue-ghost); }
    .country-item .flag {
      font-size: 1.1em;
      line-height: 1;
      flex-shrink: 0;
      font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    }
    .country-item .name { flex: 1; }
    .country-item .dial { color: var(--text-dim); font-variant-numeric: tabular-nums; }
    .country-item .empty { color: var(--text-dim); padding: 1em; text-align: center; }
    .pos-wrap { position: relative; }
