.identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-row {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:stretch !important;
  height:auto !important;
  min-height:0 !important;
}
.identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-cell {
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  white-space:pre-wrap !important;
  overflow-wrap:anywhere !important;
  align-self:stretch !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
/* Pair the first text baselines even when the two languages use different sizes.
   Each grid row still grows to contain the taller language before the next pair. */
html.jueshi-offline-portrait body .identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-row {
  align-items:first baseline !important;
}
html.jueshi-offline-portrait body .identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-cell {
  align-self:first baseline !important;
  margin:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  min-height:0 !important;
}
@media (pointer:coarse) {
  .identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-row {align-items:first baseline !important;}
  .identity-gateway-portal.is-service-detail .identity-gateway-portal__service-bilingual-cell {align-self:first baseline !important;}
}

.identity-gateway-portal__side-actions {display:contents !important;}
.identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side,
html.jueshi-offline-portrait body .identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side {
 position:absolute !important;top:120px !important;right:12px !important;left:auto !important;
 width:32px !important;min-width:32px !important;height:auto !important;margin:0 !important;
 padding:10px 5px !important;box-sizing:border-box !important;transform:none !important;
 writing-mode:vertical-rl !important;text-orientation:upright !important;
 font-size:15px !important;line-height:1.4 !important;letter-spacing:2px !important;
 white-space:nowrap !important;z-index:20;display:inline-flex !important;align-items:center !important;
}
.identity-gateway-portal__physiology-entry--side span {font-size:inherit !important;white-space:nowrap !important;}
.identity-gateway-portal__physiology-entry--side i {display:none !important;}
.identity-gateway-portal.is-service-detail:has(.identity-gateway-portal__side-actions) .identity-gateway-portal__service-bilingual-aligned {padding-right:48px !important;box-sizing:border-box !important;}
.identity-gateway-portal__test-actions {display:contents !important;}
.identity-gateway-portal__test-date {position:absolute;top:24px;left:calc(50% + 16px);font-size:14px;line-height:36px;z-index:20;}

/* Keep the vertical entry clear of the panel border and center its label. */
.identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side,
html.jueshi-offline-portrait body .identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side {
 right:28px !important;
 width:36px !important;min-width:36px !important;
 padding:12px 0 !important;
 writing-mode:horizontal-tb !important;
 display:flex !important;align-items:center !important;justify-content:center !important;
}
.identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side span,
html.jueshi-offline-portrait body .identity-gateway-portal.is-service-detail .identity-gateway-portal__physiology-entry--side span {
 display:block !important;position:static !important;inset:auto !important;transform:none !important;
 writing-mode:vertical-rl !important;text-orientation:upright !important;
 width:auto !important;height:auto !important;margin:0 !important;padding:0 !important;
 line-height:1 !important;letter-spacing:2px !important;text-align:center !important;
}
.identity-gateway-portal.is-service-detail:has(.identity-gateway-portal__side-actions) .identity-gateway-portal__service-bilingual-aligned {padding-right:76px !important;}
