/* These two workspaces use a phone-sized canvas even when the host browser is wide. */
.sh-mobile-shell .f-wrap,
.sh-mobile-shell .flow-page {
  width: 100%;
  min-width: 0;
  padding: 12px;
}
.sh-mobile-shell .f-wrap > * + * { margin-top: 12px; }
.sh-mobile-shell .f-wrap > .f-crumb,
.sh-mobile-shell .flow-topline { display: none; }
.sh-mobile-shell .f-wrap > .f-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.sh-mobile-shell .f-wrap > .f-heading + *,
.sh-mobile-shell .f-wrap > .f-crumb + .f-heading { margin-top: 0; }
.sh-mobile-shell .f-card,
.sh-mobile-shell .flow-panel { padding: 15px; border-radius: 12px; }
.sh-mobile-shell .f-list { padding: 0; }
.sh-mobile-shell .f-listhead,
.sh-mobile-shell .f-toolbar,
.sh-mobile-shell .f-pager { padding: 12px 14px; }
.sh-mobile-shell .f-listhead { align-items: center; gap: 8px; }
.sh-mobile-shell .f-listhead > div,
.sh-mobile-shell .f-record > header > div:first-child { min-width: 0; }
.sh-mobile-shell .f-listhead h2 { font-size: 18px; line-height: 1.35; }
.sh-mobile-shell .f-listhead p { margin-top: 4px; }
.sh-mobile-shell .f-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
  gap: 8px;
}
.sh-mobile-shell .f-toolbar .f-search,
.sh-mobile-shell .f-toolbar [data-risk-filter] { grid-column: 1 / -1; }
.sh-mobile-shell .f-search,
.sh-mobile-shell .f-toolbar select { width: 100%; min-width: 0; max-width: none; min-height: 44px; }
.sh-mobile-shell .f-toolbar select,
.sh-mobile-shell .f-search input,
.sh-mobile-shell .f-editor textarea,
.sh-mobile-shell .flow-page :is(input, textarea, select),
.sh-mobile-shell .cr-filters select { font-size: 16px; }
.sh-mobile-shell .f-tablehead,
.sh-mobile-shell .f-tr .f-cell-org,
.sh-mobile-shell .f-tr .f-cell-val { display: none; }
.sh-mobile-shell .f-tr {
  grid-template-columns: minmax(0, 1fr) fit-content(30%) 10px;
  gap: 9px;
  min-height: 64px;
  padding: 11px 14px;
  line-height: 1.4;
}
.sh-mobile-shell .f-tr b { font-size: 15px; font-weight: 650; }
.sh-mobile-shell .f-tr small,
.sh-mobile-shell .f-mobile-zone { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; }
.sh-mobile-shell .f-tr small { font-family: inherit; font-size: 12px; }
.sh-mobile-shell .f-tag { max-width: 100%; line-height: 1.4; }
.sh-mobile-shell .f-risk-context { align-items: start; padding: 12px 14px; }
.sh-mobile-shell .f-record > header { align-items: start; gap: 12px; }
.sh-mobile-shell .f-record h2 { font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.sh-mobile-shell .f-incident-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 14px;
  color: var(--muted);
}
.sh-mobile-shell .f-incident-entry .f-btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.sh-mobile-shell .f-facts,
.sh-mobile-shell .flow-dl { display: block; margin-block: 12px 0; }
.sh-mobile-shell .f-facts > div,
.sh-mobile-shell .flow-dl > div {
  display: grid;
  grid-template-columns: minmax(68px, 33%) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
.sh-mobile-shell .f-facts dt,
.sh-mobile-shell .flow-dl dt { font-size: 13px; }
.sh-mobile-shell .f-facts dd,
.sh-mobile-shell .flow-dl dd { margin: 0; font-size: 15px; line-height: 1.5; }
.sh-mobile-shell .f-record > [data-media-point] { padding: 0; border: 0; box-shadow: none; margin-top: 14px; }
.sh-mobile-shell .ds-media-image { width: 100%; max-height: none; }
.sh-mobile-shell .ds-media-controls input { width: min(65%, 260px); }
.sh-mobile-shell .f-editor textarea,
.sh-mobile-shell .flow-page textarea { width: 100%; min-height: 88px; }
.sh-mobile-shell .f-actions,
.sh-mobile-shell .f-contextlinks,
.sh-mobile-shell .flow-links,
.sh-mobile-shell .flow-actions { gap: 8px; }
.sh-mobile-shell :is(.f-btn, .f-pager button, .flow-actions button, .flow-links a, .flow-link-button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sh-mobile-shell .f-pager button { min-width: 44px; }
.sh-mobile-shell :is(.f-log summary, .f-extra summary, .ds-replay summary, .cr-report summary, .flow-evidence summary) {
  min-height: 44px;
  align-content: center;
  padding-block: 10px;
}
.sh-mobile-shell .f-readonly { width: 100%; line-height: 1.6; }
.sh-mobile-shell .ds-breadcrumb { margin: 0; flex-wrap: wrap; }
.sh-mobile-shell .ds-breadcrumb a,
.sh-mobile-shell .ds-section-head a { display: inline-flex; align-items: center; min-height: 44px; }
.sh-mobile-shell .ds-profile { flex-direction: column; gap: 12px; padding: 16px; }
.sh-mobile-shell .ds-profile h1 { font-size: 22px; line-height: 1.35; }
.sh-mobile-shell .ds-profile .f-facts > div { border-color: #ffffff26; padding-block: 5px; }
.sh-mobile-shell .ds-site-photo { width: 100%; height: 112px; min-height: 0; max-height: none; }
.sh-mobile-shell .ds-metrics.f-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sh-mobile-shell .ds-metric { padding: 11px 13px; gap: 3px; }
.sh-mobile-shell .ds-metric > strong { font-size: 22px; }
.sh-mobile-shell .ds-workspace { display: block; }
.sh-mobile-shell .ds-menu {
  flex-direction: row;
  width: 100%;
  min-width: 0;
  padding: 4px;
  overflow-x: auto;
  scroll-padding-inline: 6px;
}
.sh-mobile-shell .ds-menu a { min-height: 44px; flex: none; white-space: nowrap; }
.sh-mobile-shell .ds-content { margin-top: 10px; padding: 14px; }
.sh-mobile-shell .ds-groups,
.sh-mobile-shell .ds-module-list,
.sh-mobile-shell .flow-columns { grid-template-columns: minmax(0, 1fr); }
.sh-mobile-shell .ds-example,
.sh-mobile-shell .ds-case,
.sh-mobile-shell .ds-module-top a { min-height: 44px; align-content: center; }
.sh-mobile-shell .ds-group-tile { padding: 11px; }
.sh-mobile-shell .ds-group-tile small,
.sh-mobile-shell .ds-example span { white-space: normal; overflow-wrap: anywhere; }
.sh-mobile-shell .flow-heading { align-items: flex-start; flex-wrap: wrap; }
.sh-mobile-shell .flow-heading h1 { font-size: 22px; }
.sh-mobile-shell .flow-columns { display: grid; gap: 10px; }
.sh-mobile-shell .flow-columns > *,
.sh-mobile-shell .flow-heading > * { min-width: 0; max-width: 100%; }
.sh-mobile-shell .flow-handset-case > .flow-panel { margin: 0; }
.sh-mobile-shell .flow-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.sh-mobile-shell .flow-controls > * { min-width: 0; }
.sh-mobile-shell .flow-page :is(input:not([type=checkbox]), select, button) { min-height: 44px; max-width: 100%; }
.sh-mobile-shell .flow-timeline { max-height: none; overflow: visible; }
.sh-mobile-shell .flow-row { min-height: 60px; }
.sh-mobile-shell .flow-row .flow-pill { max-width: 100px; white-space: normal; }
.sh-mobile-shell .cr-filters { align-items: end; }
.sh-mobile-shell .cr-filters select { min-height: 44px; }
