/* Mobile geometry for individually reviewed native detail and action dialogs. */
@media screen and (max-width:600px) {
 html body dialog[data-oa-detail-standard] {
  box-sizing:border-box;
  max-width:calc(100% - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)))!important;
  max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))!important;
  overscroll-behavior:contain;
 }
 html body dialog[data-oa-detail-standard] :is(h2,.dialog-head) {
  min-width:0;
  overflow-wrap:anywhere;
 }
 html body dialog[data-oa-detail-standard] button[data-oa-dialog-action] {
  min-width:44px!important;
  min-height:44px!important;
 }
}

@media screen and (max-width:600px){
 html body dialog[data-oa-detail-drawer] {
  inset:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) auto auto!important;
  width:calc(100% - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)))!important;
  height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))!important;
  border:1px solid #bfd4e6!important;border-radius:14px!important;
 }
}

@media screen and (max-width:600px){
 html body #detail[data-oa-detail-standard] {
  width:calc(100% - 24px)!important;
  max-width:calc(100% - 24px)!important;
  margin-inline:auto!important;
 }
 html body #detail[data-oa-detail-standard] :is(#history,.history-item,.history-item span) {
  min-width:0;
  overflow-wrap:anywhere;
 }
}
