.iw-phone-field{--iwf-ink:var(--ip-ink,var(--ink,#101e2c));--iwf-muted:var(--ip-muted,var(--muted,#526575));--iwf-bg:var(--ip-bg,var(--paper,#f4f7f9));--iwf-line:var(--ip-line,var(--line,#dce5ea));--iwf-accent:var(--ip-teal,#007f73);display:grid;align-content:start;gap:7px;min-width:0;max-width:100%;font:inherit;color:var(--iwf-ink)}
.iw-phone-label{display:block;font-size:11px;line-height:1.6;color:var(--iwf-muted)}
.iw-phone-rows{display:grid;gap:8px;min-width:0}
.iw-phone-row{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:stretch;min-width:0;max-width:100%;border:1px solid var(--iwf-line);border-radius:8px;background:var(--iwf-bg);transition:border-color .15s}
.iw-phone-row:has(>.iw-phone-remove){grid-template-columns:100px minmax(0,1fr) 30px}
.iw-phone-row:focus-within{outline:2px solid var(--iwf-accent);outline-offset:2px}
.iw-phone-row:has([aria-invalid="true"]){border-color:#c57635}
:is(#iw-portal,body) .iw-phone-row>input{display:block;width:100%;min-width:0;max-width:100%;min-height:42px;padding:10px 9px;border:0;border-radius:0;background:transparent;color:var(--iwf-ink);font:inherit;font-size:13px;line-height:1.5;outline:none;box-shadow:none}
:is(#iw-portal,body) .iw-phone-country{display:block;position:relative;align-self:stretch;min-width:0;margin:0;padding:0;border:0;border-right:1px solid var(--iwf-line);border-radius:7px 0 0 7px;color:var(--iwf-ink);background:transparent;font:inherit;cursor:pointer}
.iw-phone-country:focus-within{background:var(--ip-soft,#eaf5f2)}
:is(#iw-portal,body) .iw-phone-country>select{position:absolute;inset:0;width:100%;height:100%;min-width:0;margin:0;padding:0;opacity:0;cursor:pointer;font:inherit;font-size:14px}
.iw-phone-dial{display:flex;align-items:center;gap:5px;height:100%;min-height:42px;padding:9px 21px 9px 10px;font-size:12px;line-height:1.5;white-space:nowrap;pointer-events:none}
.iw-phone-country:after{content:'';position:absolute;right:9px;top:calc(50% - 4px);width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.7;pointer-events:none}
:is(#iw-portal,body) button.iw-phone-remove{display:grid;place-items:center;align-self:center;width:28px;min-width:28px;min-height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--iwf-muted);font:inherit;font-size:20px;line-height:1;cursor:pointer}
:is(#iw-portal,body) button.iw-phone-remove:hover{background:var(--ip-soft,#eaf5f2);color:var(--iwf-accent)}
:is(#iw-portal,body) button.iw-phone-add{display:inline-flex;align-items:center;justify-self:start;gap:5px;min-height:32px;max-width:100%;padding:4px 1px;border:0;border-radius:4px;background:transparent;color:var(--iwf-accent);font:inherit;font-size:11px;line-height:1.5;text-align:left;cursor:pointer}
.iw-phone-add:disabled{opacity:.5;cursor:default}
.iw-phone-hint{display:block;min-width:0;font-size:10px;line-height:1.6;color:var(--iwf-muted);overflow-wrap:anywhere}
:is(#iw-portal,body) .iw-phone-error{margin:0;color:#c57635;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
[data-iw-phone-source][hidden],.iw-phone-error[hidden]{display:none!important}
:is(#iw-portal,body) select.iw-country-select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}
#iw-portal #ip-profile-form .ip-form-grid{container-type:inline-size;container-name:iw-profile-fields}
@container iw-profile-fields (max-width:500px){#iw-portal #ip-profile-form .iw-phone-field{grid-column:1/-1}}
.iw-phone-country select:focus-visible,.iw-phone-remove:focus-visible,.iw-phone-add:focus-visible{outline:2px solid var(--iwf-accent);outline-offset:2px}
@media(max-width:600px){:is(#iw-portal,body) .iw-phone-row>input{font-size:16px}.iw-phone-row{grid-template-columns:100px minmax(0,1fr)}.iw-phone-row:has(>.iw-phone-remove){grid-template-columns:94px minmax(0,1fr) 28px}.iw-phone-dial{padding-left:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.iw-phone-row{transition:none}}
