/* PrintQly shared location bar: responsive layout overrides */
.pq-location-bar,
.pq-location-bar * {
  box-sizing: border-box;
}
.pq-location-bar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin: 0 0 10px;
  overflow: hidden;
  background: #171717;
  border: 1px solid #303030;
  border-radius: 9px;
  color: #d7d7d7;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
}
.pq-location-bar .pq-location-pin {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: #ffcf00;
  font-size: 16px;
  line-height: 1;
}
.pq-location-bar .pq-location-label {
  display: block;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.4;
}
.pq-location-bar .pq-location-label strong {
  display: inline;
  color: #ffcf00;
  font-weight: 600;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.pq-location-bar .pq-location-refresh {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  border: 1px solid #454545;
  border-radius: 7px;
  padding: 5px 8px !important;
  background: #242424;
  color: #ffcf00;
  font-family: inherit;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transform: none !important;
}
.pq-location-bar .pq-location-refresh:disabled {
  opacity: .6;
  cursor: wait;
}
.pq-location-bar .pq-location-status {
  flex: 0 1 auto;
  min-width: 0;
  color: #aaa;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.pq-location-bar .pq-location-status:empty { display: none; }
@media (max-width: 600px) {
  .pq-location-bar {
    gap: 6px;
    padding: 7px 8px;
    margin-bottom: 10px;
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.4;
  }
  .pq-location-bar .pq-location-label {
    flex: 1 1 0%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .pq-location-bar .pq-location-refresh {
    padding: 6px 7px !important;
    font-size: 11px !important;
  }
  .pq-location-bar .pq-location-refresh span { display: inline; }
  .pq-location-bar .pq-location-status { display: none; }
}
@media (max-width: 360px) {
  .pq-location-bar { gap: 5px; padding-inline: 6px; }
  .pq-location-bar .pq-location-pin { width: 13px; font-size: 14px; }
  .pq-location-bar .pq-location-refresh { padding: 6px 5px !important; }
  .pq-location-bar .pq-location-refresh span { display: none; }
}


/* 2026-10-12: hard override for the shared bar on narrow mobile headers. */
.pq-location-bar{
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr) auto!important;
  align-items:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  writing-mode:horizontal-tb!important;text-orientation:mixed!important;
  overflow:hidden!important;gap:7px!important;
}
.pq-location-bar .pq-location-pin{grid-column:1;grid-row:1;display:flex!important;width:16px!important;min-width:16px!important;max-width:16px!important}
.pq-location-bar .pq-location-label{grid-column:2;grid-row:1;display:block!important;position:static!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;word-wrap:break-word!important;line-height:1.4!important;text-align:left!important}
.pq-location-bar .pq-location-label strong{display:inline!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
.pq-location-bar .pq-location-refresh{grid-column:3;grid-row:1;position:static!important;justify-self:end!important;align-self:center!important;width:auto!important;min-width:max-content!important;max-width:none!important;flex:none!important;white-space:nowrap!important}
.pq-location-bar .pq-location-status{display:none!important}
@media(max-width:600px){
 .pq-location-bar{grid-template-columns:14px minmax(0,1fr) auto!important;gap:6px!important;padding:7px 8px!important;min-height:36px!important;font-size:11px!important;line-height:1.35!important}
 .pq-location-bar .pq-location-pin{width:14px!important;min-width:14px!important;max-width:14px!important}
 .pq-location-bar .pq-location-label{overflow-wrap:break-word!important;word-break:normal!important;letter-spacing:normal!important}
 .pq-location-bar .pq-location-refresh{padding:6px 7px!important;font-size:11px!important}
}
@media(max-width:360px){
 .pq-location-bar{grid-template-columns:13px minmax(0,1fr) auto!important;gap:4px!important;padding-inline:6px!important}
 .pq-location-bar .pq-location-refresh{padding:6px 5px!important}
 .pq-location-bar .pq-location-refresh span{display:none!important}
}
