/* Private test only; preserve .10 global appearance and geometry. */
body[data-gps-test="true"] #origin-picker,
body[data-gps-test="true"] .place-hint { min-width: 0; }
body[data-gps-test="true"] .place-hint,
body[data-gps-test="true"] #gps-test-note { color: #28465f; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
body[data-gps-test="true"] #gps-use-location { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin-block: 8px; }
body[data-gps-test="true"] #gps-use-location:disabled { opacity: .65; cursor: wait; }
body[data-gps-test="true"] #gps-location-status:empty { display: none; }

/* Visible feedback must not inherit the historical .place-hint display:none. */
body[data-gps-test="true"] #gps-location-status:not(:empty){display:block;visibility:visible;margin:8px 0;padding:10px 12px;border:1px solid #fff;border-radius:16px;background:#edf7ff;color:#183858;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body[data-gps-test="true"] #gps-location-status:empty{display:none}
body[data-gps-test="true"] #gps-use-location[aria-busy="true"]{opacity:.85}

/* Clear one address without replacing its input, listeners or route fields. */
body[data-gps-test="true"] .gps-address-entry{display:grid;grid-template-columns:minmax(0,1fr);position:relative;min-width:0;width:100%}
body[data-gps-test="true"] .gps-address-entry>input{grid-area:1/1;padding-inline-end:58px!important}
body[data-gps-test="true"] .gps-address-entry>.gps-address-clear{
  position:relative;grid-area:1/1;justify-self:end;align-self:center;z-index:1;
  display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;
  padding:0!important;margin:0 7px!important;border:0!important;border-radius:50%;
  background:transparent!important;box-shadow:none!important;color:#294d68!important;
  font-size:32px;line-height:1;text-shadow:none;cursor:pointer;touch-action:manipulation;
}
body[data-gps-test="true"] .gps-address-entry>.gps-address-clear[hidden]{display:none!important}
body[data-gps-test="true"] .gps-address-entry>.gps-address-clear:focus-visible{outline:2px solid #1474b6;outline-offset:1px}
body[data-gps-test="true"] .gps-address-entry>.gps-address-clear:active{background:#ffffff8c!important}
