@media (max-width: 720px) {
  html,
  body.shell-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body.shell-body .shell,
  .shell-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .content:has(.production-workspace) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    padding-right: 0;
    padding-left: 0;
  }

  .production-workspace,
  .production-workspace > *,
  .production-main-layout,
  .production-main-layout > *,
  .production-main-layout__primary > *,
  .production-main-layout__secondary > * {
    min-width: 0;
    max-width: 100%;
  }

  .production-workspace {
    width: 100%;
    overflow-x: hidden;
    gap: 1rem;
  }

  .production-workspace > .ops-panel {
    width: 100%;
    padding: 0.72rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #production-overview,
  #production-communications,
  #production-connectivity {
    position: relative;
    border-top: 5px solid transparent;
  }

  #production-overview {
    border-top-color: #2f67c8;
    background: linear-gradient(180deg, #edf4ff 0, #fff 8rem);
  }

  #production-communications {
    border-top-color: #16806f;
    background: linear-gradient(180deg, #eaf8f3 0, #fff 7rem);
  }

  #production-connectivity {
    border-top-color: #c88418;
    background: linear-gradient(180deg, #fff5df 0, #fff 8rem);
  }

  .production-mobile-jumps a:nth-child(1) {
    color: #244f9d;
    background: #e7efff;
  }

  .production-mobile-jumps a:nth-child(2) {
    color: #116456;
    background: #e3f5ef;
  }

  .production-mobile-jumps a:nth-child(3) {
    color: #8a5a0d;
    background: #fff0cf;
  }

  .production-main-panel > .ops-section,
  .production-communications-panel > .ops-section {
    border-top-color: rgba(21, 35, 52, 0.12);
  }

  .production-workspace form,
  .production-workspace fieldset,
  .production-workspace label,
  .production-workspace input,
  .production-workspace select,
  .production-workspace textarea,
  .production-workspace .table-responsive {
    min-width: 0;
    max-width: 100%;
  }

  .production-mobile-jumps {
    top: 3.55rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 5px 12px rgba(21, 35, 52, 0.08);
  }

  .queue-panel .filter-pills {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .queue-panel .filter-pills .btn {
    flex: 1 1 auto;
  }

  .queue-list {
    max-height: calc(16.275rem + 2px);
  }

  .queue-table-wrap {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .queue-row-meta--spread {
    max-width: 100%;
    flex-wrap: wrap;
    overflow: hidden;
    white-space: normal;
  }

  .queue-contact-flag--hub-issue > span {
    display: none;
  }

  .queue-contact-flag--hub-issue {
    width: 1.75rem;
    height: 1.75rem;
    justify-content: center;
    padding: 0.2rem;
  }

  .production-booking-control {
    flex-basis: 100%;
    width: 100%;
  }

  .production-booking-control .inline-edit-select {
    width: min(8rem, 48%);
    min-width: 0;
  }

  .production-date-row {
    grid-template-columns: 1fr;
  }

  .production-date-field:first-child,
  .production-date-field:last-child,
  .production-date-range {
    grid-column: 1;
    grid-row: auto;
  }

  .production-date-field:first-child {
    order: 1;
  }

  .production-date-field:last-child {
    order: 2;
  }

  .production-date-range {
    order: 3;
  }

  .production-date-field {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label label"
      "date countdown";
    gap: 0.22rem 0.75rem;
    align-items: center;
    justify-items: stretch;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    background: rgba(247, 249, 252, 0.86);
    text-align: left;
  }

  .production-date-field__label {
    grid-area: label;
    justify-self: start;
  }

  .production-date-field > .inline-edit-input--date,
  .production-date-field > .pretty-date-shell {
    grid-area: date;
    min-width: 0;
  }

  .production-date-field .pretty-date-display {
    justify-content: flex-start;
    text-align: left;
  }

  .production-date-field__countdown {
    grid-area: countdown;
    justify-self: end;
    white-space: nowrap;
  }

  .inline-edit-input--date {
    width: 100%;
  }

  .production-main-layout__secondary .mini-panel,
  .production-po-entry,
  .connectivity-picker,
  .connectivity-total-grid > div {
    border-radius: 8px;
    box-shadow: none;
  }

  .production-po-entry {
    position: relative;
  }

  .production-po-entry__top {
    grid-template-columns: 1fr;
    padding-right: 3rem;
  }

  .production-po-field--po,
  .production-po-field--items,
  .production-po-field--status {
    grid-column: 1;
    grid-row: auto;
  }

  .production-po-entry__delete {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
  }

  .inline-add-row--contact {
    grid-template-columns: 1fr;
  }

  .inline-add-row--contact .production-contact-picker {
    grid-column: 1;
  }

  .inline-add-row--contact .btn-action {
    width: 100%;
    border-radius: 8px;
  }

  .communications-entry__meta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .device-rail .panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .device-rail .panel-header .btn {
    width: 100%;
    min-height: 2.55rem;
  }

  .connectivity-dates {
    grid-template-columns: 1fr;
  }

  .connectivity-dates__action {
    grid-column: 1;
  }

  .connectivity-date-label {
    white-space: normal;
  }

  .connectivity-picker__title,
  .connectivity-option__label,
  .connectivity-option__meta {
    overflow-wrap: anywhere;
  }

  .device-rail .connectivity-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow: clip;
    margin-right: 0;
    margin-left: 0;
  }

  .connectivity-table,
  .connectivity-table tbody {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .connectivity-table thead {
    display: none;
  }

  .connectivity-table tbody {
    display: grid;
    gap: 0.65rem;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] {
    position: relative;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 0.45rem;
    padding: 0.72rem;
    border: 1px solid rgba(21, 35, 52, 0.12);
    border-left: 5px solid transparent;
    border-right: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] > td {
    min-width: 0;
    display: block;
    padding: 0.38rem 0.25rem;
    border: 0;
    background: transparent !important;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] > td[data-mobile-label]::before {
    content: attr(data-mobile-label);
    display: block;
    margin-bottom: 0.16rem;
    color: var(--co-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] .connectivity-table__select-cell {
    position: absolute;
    top: 0.68rem;
    left: 0.5rem;
    width: 2rem;
    padding: 0;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] .connectivity-table__item {
    grid-column: 1 / -1;
    min-height: 2.2rem;
    padding: 0.25rem 5.5rem 0.55rem 2.15rem;
    font-size: 1.08rem;
    overflow-wrap: anywhere;
  }

  .connectivity-table tbody tr[data-connectivity-assignment-row] .cell-action {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: auto;
    padding: 0;
  }

  .connectivity-table__replace-row,
  .connectivity-table__replace-row > td {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .connectivity-table__replace-row > td {
    padding: 0.75rem;
    border: 1px solid rgba(21, 35, 52, 0.1);
    border-radius: 12px;
  }

  .connectivity-replace-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .connectivity-replace-form__action .btn {
    width: 100%;
  }

  .connectivity-table__replacement-linkage {
    max-width: calc(100% - 7.5rem);
  }

  .connectivity-total-grid {
    grid-template-columns: 1fr 1fr;
  }
}
