/* @ekm-tags: style, ui-shell */
/* Line icons that replace emoji and text arrows on a phone (js/ekm-icons.js). They take the surrounding text colour and
   size, so a button, heading or chip looks the same in light and dark. The original characters stay in the page,
   visually hidden (.ekm-ico-txt), so the text of every button and heading is unchanged. These elements only exist while
   html.ekm-mobile is set; desktop never has them. */
.ekm-ico-wrap { display: contents; }
.ekm-ico {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -0.2em;
  stroke: currentColor;
  overflow: visible;
}
.ekm-ico--lead { margin-inline-end: 0.4em; }
.ekm-ico--trail { margin-inline-start: 0.3em; }
/* an arrow or chevron takes the room of the character it replaces plus its space (about 1.15em), so a row of buttons
   never grows wider than it was (the chart's "← Back to patients" beside "Quick view" on a 390px phone) */
:is(.ekm-ico--lead, .ekm-ico--trail):is([data-ekm-ico^="chevron"], [data-ekm-ico^="arrow"], [data-ekm-ico="external-link"], [data-ekm-ico="undo-2"]) {
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.1em;
}
.ekm-ico--lead:is([data-ekm-ico^="chevron"], [data-ekm-ico^="arrow"], [data-ekm-ico="external-link"], [data-ekm-ico="undo-2"]) { margin-inline-end: 0.25em; }
.ekm-ico--trail:is([data-ekm-ico^="chevron"], [data-ekm-ico^="arrow"], [data-ekm-ico="external-link"], [data-ekm-ico="undo-2"]) { margin-inline-start: 0.25em; }
.ekm-ico--solo { vertical-align: middle; }
.ekm-ico-txt {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
