/* JC address picker (assets/js/jc-address.js, markup: includes/address_field.php).
   Layout only — the selects and the street line wear the host form's own input
   classes (.jc-input, .pf-input, the sign-up's .ip boxes). */
.jc-addr { display: grid; gap: 8px; min-width: 0; }
.jc-addr [data-part="value"] { display: none !important; }
.jc-addr [hidden] { display: none !important; }   /* the barangay select ⇄ its typed box; the selects when the list fails */
/* Region · Province / City · Barangay — two to a row, one to a row when narrow (under ~310px) */
.jc-addr-sel { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; min-width: 0; }
.jc-addr-sel { grid-template-columns: repeat(auto-fit, minmax(max(150px, calc(50% - 5px)), 1fr)); }
.jc-addr-sel > * { min-width: 0; }
.jc-addr select { min-width: 0; text-overflow: ellipsis; }
.jc-addr select:disabled { opacity: .6; cursor: not-allowed; }
.jc-addr-hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--jc-muted, var(--text-muted, #6c757d)); overflow-wrap: anywhere; }
.jc-addr-hint:empty { display: none; }
.jc-addr-hint b { font-weight: 600; color: var(--jc-text, var(--text, inherit)); }
