#hapi-pos-page {
  --hapi-pos-viewport-width:calc(100vw - var(--hapi-pos-scrollbar-width,0px));
  --hapi-pos-edge:clamp(4px,.5vw,8px);
  --hapi-pos-left-edge:max(var(--hapi-pos-edge),env(safe-area-inset-left,0px));
  --hapi-pos-right-edge:max(var(--hapi-pos-edge),env(safe-area-inset-right,0px));
  box-sizing:border-box;
  width:calc(var(--hapi-pos-viewport-width,100%) - var(--hapi-pos-left-edge) - var(--hapi-pos-right-edge));
  max-width:none;
  min-width:0;
  margin:0;
  margin-left:calc((100% - var(--hapi-pos-viewport-width,100%))/2 + var(--hapi-pos-left-edge));
  margin-right:calc((100% - var(--hapi-pos-viewport-width,100%))/2 + var(--hapi-pos-right-edge));
  padding:0;
}
#hapi-pos-page #hapi-postal-services { width:100%; max-width:none; margin:0; padding-inline:0; left:auto; transform:none; }
#hapi-pos-page * { box-sizing:border-box; }
#hapi-pos-page [data-hapi-pos-key] { overflow-wrap:anywhere; min-width:0; }
#hapi-pos-page .hapi-postal-route-btn { min-width:0; height:auto; white-space:normal; }
#hapi-pos-page .hapi-postal-route-btn>span:first-child { flex:1 1 auto; min-width:0; }
#hapi-pos-page .hapi-postal-route-btn>span:last-child { flex:0 0 auto; }
#hapi-pos-page[dir="rtl"] #hapi-postal-services { direction:rtl; text-align:right; }
#hapi-pos-page[dir="rtl"] .hapi-postal-route-btn { text-align:right!important; }
#hapi-pos-page[dir="rtl"] .hapi-postal-route-btn>span:last-child { direction:ltr; }
#hapi-pos-page[lang="my"] [data-hapi-pos-key],
#hapi-pos-page[lang="km"] [data-hapi-pos-key],
#hapi-pos-page[lang="lo"] [data-hapi-pos-key],
#hapi-pos-page[lang="si"] [data-hapi-pos-key] { line-height:1.8; }
#hapi-pos-page[lang="ur"] [data-hapi-pos-key] { line-height:1.9; letter-spacing:normal; }
#hapi-pos-page[data-hapi-furigana="off"] ruby { line-height:inherit; }
#hapi-pos-page .hapi-postal-notice a { overflow-wrap:anywhere; }
#hapi-pos-page .hapi-category-back-wrap { margin:6px 0; }
