/*
 * CaTV-Sonar technikusi mobilnézet – jóváhagyott 390 px-es referencia.
 * Kizárólag a Bootstrap lg alatti, kipróbált 991,98 px-es mobil törésponton aktív.
 */

.sonar-login-hero-copy,
.sonar-technician-nav-context,
.sonar-login-control > svg,
.sonar-login-password-toggle,
.sonar-login-options,
.sonar-login-divider,
.sonar-login-sso {
  display: none;
}

.sonar-cmts-mobile-controls,
.sonar-cmts-mobile-tabs,
.sonar-cmts-mobile-list-header,
.sonar-cmts-mobile-channel,
.sonar-cmts-mobile-empty {
  display: none;
}

.sonar-login-control {
  position: relative;
  display: block;
}

.sonar-tech-filter-backdrop {
  position: fixed;
  z-index: 1060;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  visibility: hidden;
  background: rgba(14, 31, 51, 0.34);
  border: 0;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.sonar-tech-filter-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.sonar-tech-filter-sheet {
  position: fixed;
  z-index: 1070;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 32rem);
  max-height: calc(100svh - 1.5rem);
  margin: 0 auto;
  padding: 0.55rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  color: #102d50;
  background: #fff;
  border: 0;
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow: 0 -0.8rem 2.2rem rgba(15, 45, 75, 0.18);
  transform: translateY(105%);
  transition: transform 220ms ease;
}

.sonar-tech-filter-sheet.is-open { transform: translateY(0); }

.sonar-tech-sheet-handle {
  display: block;
  width: 2.8rem;
  height: 0.25rem;
  margin: 0 auto 0.65rem;
  background: #aeb9c8;
  border-radius: 999px;
}

.sonar-tech-filter-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.2rem;
  margin-bottom: 0.85rem;
}

.sonar-tech-filter-sheet h2 {
  margin: 0;
  color: #102d50;
  font-size: 1.35rem;
  font-weight: 800;
}

.sonar-tech-filter-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #102d50;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
}

.sonar-tech-filter-fields {
  display: grid;
  gap: 0.5rem;
}

.sonar-tech-filter-fields > label {
  margin: 0.25rem 0 0;
  color: #102d50;
  font-size: 0.78rem;
  font-weight: 750;
}

.sonar-tech-filter-select {
  position: relative;
  display: block;
}

.sonar-tech-filter-select::after {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #173f66;
  border-bottom: 2px solid #173f66;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.sonar-tech-filter-select select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 2.5rem 0.65rem 2.8rem;
  appearance: none;
  color: #17324d;
  background: #fff;
  border: 1px solid #d5dce6;
  border-radius: 0.6rem;
  font-size: 0.85rem;
}

.sonar-tech-filter-select::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.9rem;
  color: #176dc1;
  content: "◇";
  pointer-events: none;
  transform: translateY(-52%);
}

.sonar-tech-filter-info {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.9rem 0;
  padding: 0.75rem;
  color: #244565;
  background: #eef7ff;
  border: 1px solid #d0e4f8;
  border-radius: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.4;
}

.sonar-tech-filter-info > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  color: #126bc0;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.sonar-tech-filter-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.7rem;
  margin-top: 0.35rem;
  color: #176dc1;
  background: transparent;
  border: 0;
  font-size: 0.85rem;
  font-weight: 650;
}

body.sonar-tech-filter-open { overflow: hidden; }

@media (max-width: 991.98px) {
  body.sonar-login {
    min-height: 100svh;
    color: #142f50;
    background-color: #074b82;
    background-image: linear-gradient(145deg, rgba(0, 29, 73, 0.7), rgba(0, 102, 183, 0.25)), url("../images/header_bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 15rem;
  }

  .sonar-login > header.container {
    width: 100%;
    min-height: 14.6rem;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
    padding: 2rem 1rem 1.5rem !important;
    color: #fff;
  }

  .sonar-login-brand { justify-content: center; }
  .sonar-login-logo { min-height: 4rem; }
  .sonar-login-logo img { width: 10.8rem; height: auto; }

  .sonar-login-hero-copy {
    display: block;
    text-align: center;
  }

  .sonar-login-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 750;
  }

  .sonar-login-hero-copy p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
  }

  .sonar-login-main {
    display: block;
    flex: 1 0 auto;
    width: 100%;
    padding: 0;
    background: #fff;
    border-radius: 1.9rem 1.9rem 0 0;
  }

  .sonar-login-main > .container { display: block !important; }

  .sonar-login-card {
    width: 100%;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 1.9rem 1.9rem 0 0;
    box-shadow: none;
  }

  .sonar-login-card-header { display: none; }
  .sonar-login-fields { padding: 2rem 1.25rem 0.9rem; }

  .sonar-login-fields .form-label {
    margin-bottom: 0.45rem;
    color: #102d50;
    font-size: 0.82rem;
    font-weight: 750;
  }

  .sonar-login-fields .mb-3 { margin-bottom: 1.15rem !important; }
  .sonar-login-control { position: relative; display: block; }

  .sonar-login-control > svg {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0.95rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: #526c8c;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .sonar-login-fields .form-control {
    min-height: 3.55rem;
    padding: 0.75rem 3rem;
    color: #142f50;
    background: #fff;
    border: 1px solid #d4dbe5;
    border-radius: 0.6rem;
    font-size: 0.92rem;
  }

  .sonar-login-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    color: #526c8c;
    background: transparent;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .sonar-login-password-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .sonar-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.1rem;
    font-size: 0.78rem;
  }

  .sonar-login-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
  }

  .sonar-login-options input { width: 1rem; height: 1rem; accent-color: #096dcc; }
  .sonar-login-options a { color: #096dcc; text-decoration: none; }

  .sonar-login-actions {
    display: grid;
    gap: 0.75rem;
    padding: 0.2rem 1.25rem 1.35rem;
    background: #fff;
    border: 0;
  }

  .sonar-login-actions #login-btn,
  .sonar-login-actions .sonar-login-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 3.4rem;
    border-radius: 0.55rem;
    font-size: 0.94rem;
    font-weight: 750;
  }

  .sonar-login-actions #login-btn {
    color: #fff;
    background: linear-gradient(135deg, #0873d3, #004fa4);
    border: 0;
  }

  .sonar-login-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1rem;
    color: #7a899d;
    font-size: 0.75rem;
  }

  .sonar-login-divider::before {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: #e0e5ec;
    content: "";
  }

  .sonar-login-divider span { z-index: 1; padding: 0 0.8rem; background: #fff; }

  .sonar-login-actions .sonar-login-sso {
    color: #0967bc;
    background: #fff;
    border: 1px solid #096dcc;
  }

  .sonar-login-footer {
    width: 100%;
    min-height: 4.5rem;
    margin: 0;
    padding: 0.5rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    color: #8a97a8;
    background: #fff;
  }

  .sonar-login-footer-disc { display: block; }
  .sonar-login-footer-disc img { display: none; }
  .sonar-login-footer-disc p,
  .sonar-login-footer-disc p + p {
    margin: 0.18rem 0;
    color: #8a97a8;
    text-align: center;
    text-decoration: none;
  }

  body.sonar-app #nav.sonar-navbar,
  body.sonar-phone-shell #nav.sonar-navbar,
  body.sonar-development.sonar-app #nav.sonar-navbar,
  body.sonar-development.sonar-phone-shell #nav.sonar-navbar {
    min-height: 4rem;
    background-color: #004d8d;
    background-image: linear-gradient(135deg, #00345f, #0067b3);
    box-shadow: 0 0.25rem 0.9rem rgba(0, 54, 97, 0.2);
  }

  body.sonar-app #nav.sonar-navbar > .container-fluid,
  body.sonar-phone-shell #nav.sonar-navbar > .container-fluid {
    min-height: 4rem;
    padding-inline: 0.75rem !important;
  }

  .sonar-technician-page #logo.sonar-brand,
  body.sonar-phone-shell #logo.sonar-brand {
    min-height: 4rem;
    margin-right: 0.75rem;
  }

  .sonar-technician-page #logo.sonar-brand img,
  body.sonar-phone-shell #logo.sonar-brand img { width: 5.6rem; height: auto; }

  .sonar-technician-nav-context {
    display: grid;
    min-width: 0;
    margin-right: auto;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  .sonar-technician-nav-context .sonar-technician-nav-title {
    position: static;
    display: block;
    max-width: 9rem;
    overflow: hidden;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: none;
  }

  .sonar-technician-nav-context small {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.61rem;
    white-space: nowrap;
  }

  .sonar-technician-nav-context small i {
    width: 0.42rem;
    height: 0.42rem;
    background: #56cb58;
    border-radius: 50%;
  }

  body.sonar-app #nav .navbar-toggler,
  body.sonar-phone-shell #nav .navbar-toggler,
  .sonar-technician-page #nav .navbar-toggler {
    width: 3rem;
    min-height: 3rem;
    margin-left: 0.45rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.65rem;
  }

  body.sonar-app #nav .navbar-toggler:hover,
  body.sonar-app #nav .navbar-toggler:focus-visible,
  body.sonar-app #nav .navbar-toggler[aria-expanded="true"],
  body.sonar-phone-shell #nav .navbar-toggler:hover,
  body.sonar-phone-shell #nav .navbar-toggler:focus-visible,
  body.sonar-phone-shell #nav .navbar-toggler[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
  }

  body.sonar-app #nav .navbar-collapse,
  body.sonar-phone-shell #nav .navbar-collapse,
  .sonar-technician-page #nav .navbar-collapse {
    background: #003e73;
    box-shadow: 0 0.55rem 1rem rgba(0, 44, 82, 0.24);
  }

  .sonar-technician-page #main-content.sonar-main { padding: 0; }
  .sonar-technician-page #wrapper-outer { padding: 0; }
  .sonar-technician-page #wrapper {
    overflow: visible;
    background: #f6f8fc;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #quickSearchForm.sonar-tech-quick-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem !important;
    background: #fff;
    border: 0;
  }

  #quickSearchForm.sonar-tech-quick-search .sonar-tech-search-icon { left: 1.85rem; border-color: #536c8a; }
  #quickSearchForm.sonar-tech-quick-search .sonar-tech-search-icon::after { background: #536c8a; }
  #quickSearchForm.sonar-tech-quick-search #quickSearchText {
    min-height: 3rem;
    padding-left: 2.7rem;
    border-color: #d8dee8;
    border-radius: 0.62rem;
    font-size: 0.78rem;
  }

  #quickSearchForm.sonar-tech-quick-search .sonar-quick-actions { width: auto; padding-top: 0; }
  .sonar-tech-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    width: auto;
    min-width: 5.1rem;
    min-height: 3rem;
    padding: 0 0.75rem;
    overflow: visible;
    color: #17324d;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 0.62rem;
    box-shadow: 0 0.16rem 0.45rem rgba(24, 51, 78, 0.05);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .sonar-tech-filter-toggle::before,
  .sonar-tech-filter-toggle::after { display: none; }
  .sonar-tech-filter-toggle svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: #176dc1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .sonar-tech-filter-toggle b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.22rem;
    color: #fff;
    background: #176dc1;
    border-radius: 999px;
    font-size: 0.58rem;
  }

  .sonar-tech-filter-toggle:hover,
  .sonar-tech-filter-toggle:focus-visible { color: #17324d; background: #f4f8fd; border-color: #a9c8e8; }
  .sonar-tech-search-clear { right: 6.25rem; }

  #searchForm #searchFormContent.sonar-tech-filter-sheet {
    position: fixed;
    z-index: 1070;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: min(100%, 32rem);
    max-height: calc(100svh - 1.5rem);
    margin: 0 auto;
    padding: 0.55rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #102d50;
    background: #fff;
    border: 0;
    border-radius: 1.75rem 1.75rem 0 0;
    box-shadow: 0 -0.8rem 2.2rem rgba(15, 45, 75, 0.18);
    transform: translateY(105%);
    transition: transform 220ms ease;
  }

  #searchForm #searchFormContent.sonar-tech-filter-sheet.is-open { transform: translateY(0); }

  #searchForm #searchFormContent .sonar-tech-filter-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100% !important;
    min-height: 3.1rem;
    color: #fff;
    background: linear-gradient(135deg, #0872d2, #0054a8) !important;
    border: 0 !important;
    border-radius: 0.6rem;
    font-weight: 750;
  }

  #content.sonar-modem-list-content { padding: 0.35rem 0.9rem 0.9rem !important; background: #f6f8fc; }
  #content.sonar-modem-list-content.sonar-tech-table-view { padding-right: 0.25rem !important; padding-left: 0.25rem !important; }
  .sonar-tech-list-summary { gap: 0.3rem; margin-bottom: 0.65rem !important; color: #64748a; font-size: 0.75rem; }
  .sonar-tech-list-summary strong { color: #102d50; font-size: 1.05rem; }
  .sonar-tech-modem-cards { gap: 0.65rem; }

  .sonar-tech-modem-card {
    grid-template-columns: 2.35rem minmax(0, 1fr) auto 0.65rem;
    grid-template-areas: "device identity mac arrow" "metrics metrics metrics metrics";
    gap: 0.55rem 0.45rem;
    padding: 0.7rem;
    color: #102d50;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 0.78rem;
    box-shadow: 0 0.2rem 0.75rem rgba(17, 54, 91, 0.08);
  }

  .sonar-tech-card-device-icon {
    grid-area: device;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #176dc1;
    background: #eef6ff;
    border-radius: 50%;
  }

  .sonar-tech-card-device-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .sonar-tech-card-identity { grid-area: identity; display: grid; min-width: 0; }
  .sonar-tech-card-name {
    grid-area: auto;
    margin: 0;
    overflow: hidden;
    color: #102d50;
    font-size: 0.92rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-tech-card-address {
    grid-area: auto;
    overflow: hidden;
    color: #6b7b90;
    font-size: 0.68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-tech-card-mac {
    grid-area: mac;
    align-self: start;
    max-width: 5.2rem;
    overflow: hidden;
    color: #738297;
    font-size: 0.56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-tech-card-arrow { grid-area: arrow; align-self: center; color: #176dc1; font-size: 1.35rem; }
  .sonar-tech-card-metrics { gap: 0.38rem; margin: 0; }
  .sonar-tech-ont-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "status arrow" "name arrow" "address arrow" "meta meta" "cmts cmts" "metrics metrics";
  }
  .sonar-tech-ont-card .sonar-tech-card-status { grid-area: status; }
  .sonar-tech-ont-card .sonar-tech-card-name { grid-area: name; }
  .sonar-tech-ont-card .sonar-tech-card-address { grid-area: address; }
  .sonar-tech-ont-card .sonar-tech-card-meta { grid-area: meta; }
  .sonar-tech-ont-card .sonar-tech-card-cmts { grid-area: cmts; }
  .sonar-tech-ont-card .sonar-tech-card-metrics { grid-area: metrics; }
  .sonar-tech-card-metrics > span {
    min-height: 3.35rem;
    padding: 0.42rem 0.4rem;
    background: #f4f8fd;
    border: 1px solid #e3eaf3;
    border-radius: 0.48rem;
  }

  .sonar-tech-card-metrics > .sonar-tech-signal-ok { background: #f2faf5; border-color: #dcefe3; }
  .sonar-tech-card-metrics > .sonar-tech-signal-warning { background: #fff9ec; border-color: #f3e5bb; }
  .sonar-tech-card-metrics > .sonar-tech-signal-error { background: #fff2f3; border-color: #f3d4d8; }
  .sonar-tech-card-metrics small { color: #687a90; font-size: 0.56rem; }
  .sonar-tech-card-metrics b { color: #102d50; font-size: 0.82rem; }

  .sonar-tech-filter-results { overflow: hidden; background: #fff; border: 1px solid #e0e5ed; border-radius: 0.7rem; }
  .sonar-tech-signal-table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0;
    color: #17324d;
  }

  .sonar-tech-signal-table colgroup { display: none; }
  .sonar-tech-signal-table thead,
  .sonar-tech-signal-table tbody { display: block; width: 100%; }
  .sonar-tech-signal-table tr {
    display: grid;
    grid-template-columns: 50% repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .sonar-tech-signal-table th,
  .sonar-tech-signal-table td {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.3rem 0.18rem;
    border-right: 1px solid #edf0f4;
    border-bottom: 1px solid #e3e7ed;
    text-align: center;
    vertical-align: middle;
  }

  .sonar-tech-signal-table th:last-child,
  .sonar-tech-signal-table td:last-child { border-right: 0; }
  .sonar-tech-signal-table th { min-height: 3.25rem; background: #fafbfd; }
  .sonar-tech-signal-table th.sonar-tech-address-column,
  .sonar-tech-signal-table td:first-child { justify-content: flex-start; padding-left: 0.5rem; text-align: left; }

  .sonar-tech-signal-table th button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0;
    color: #17324d;
    background: transparent;
    border: 0;
    font-size: 0.58rem;
    font-weight: 750;
    line-height: 1.1;
  }

  .sonar-tech-address-column button { justify-content: flex-start !important; font-size: 0.72rem !important; }
  .sonar-tech-sort-arrow { position: relative; display: inline-block; width: 0.45rem; height: 0.65rem; flex: 0 0 0.45rem; }
  .sonar-tech-sort-arrow::before,
  .sonar-tech-sort-arrow::after {
    position: absolute;
    left: 0.08rem;
    color: #9aa8b8;
    font-size: 0.47rem;
    line-height: 1;
  }

  .sonar-tech-sort-arrow::before { top: 0; content: "▲"; }
  .sonar-tech-sort-arrow::after { bottom: 0; content: "▼"; }
  .sonar-tech-sort-arrow.is-asc::before,
  .sonar-tech-sort-arrow.is-desc::after { color: #176dc1; }
  .sonar-tech-signal-table tbody tr { cursor: pointer; }
  .sonar-tech-signal-table tbody tr:focus-visible { outline: 2px solid #176dc1; outline-offset: -2px; }
  .sonar-tech-signal-table td { font-size: 0.67rem; font-variant-numeric: tabular-nums; }
  .sonar-tech-signal-table td:first-child {
    color: #17324d;
    background: #fff;
    font-size: 0.69rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal !important;
  }

  .sonar-tech-signal-table td:not(:first-child) { white-space: nowrap; }
  #content table.sonar-tech-signal-table tbody td.sonar-tech-signal-ok {
    --bs-table-bg: #e8f7ed;
    color: #137847 !important;
    background-color: #e8f7ed !important;
    box-shadow: none !important;
  }

  #content table.sonar-tech-signal-table tbody td.sonar-tech-signal-warning {
    --bs-table-bg: #fff4d9;
    color: #966300 !important;
    background-color: #fff4d9 !important;
    box-shadow: none !important;
  }

  #content table.sonar-tech-signal-table tbody td.sonar-tech-signal-error {
    --bs-table-bg: #fde8eb;
    color: #c42939 !important;
    background-color: #fde8eb !important;
    box-shadow: none !important;
  }

  #content table.sonar-tech-signal-table tbody td.sonar-tech-signal-unavailable {
    --bs-table-bg: #f1f3f5;
    color: #6f7b89 !important;
    background-color: #f1f3f5 !important;
    box-shadow: none !important;
  }

  .sonar-tech-metric-delta,
  .sonar-tech-metric-delta:empty {
    position: absolute;
    right: 0.15rem;
    bottom: 1.85rem;
    z-index: 1;
    display: none;
    width: 2rem;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    color: #315578;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.67rem;
    line-height: 1;
  }

  .sonar-tech-signal-metric {
    min-height: 8rem;
  }

  .sonar-tech-signal-metric .sonar-tech-metric-value {
    margin-top: 1.15rem;
  }

  .sonar-tech-signal-metric .sonar-tech-metric-meta {
    margin-top: auto;
  }

  .sonar-tech-metric-delta:not(:empty) { display: flex; }

  .sonar-tech-metric-delta:not(:empty) .sonar-tech-delta-arrow {
    display: block;
    position: relative;
    width: 1.3rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    color: transparent;
    background: transparent;
    border-radius: 0;
    font-size: 0;
    line-height: 0;
  }

  .sonar-tech-metric-delta:not(:empty) .sonar-tech-delta-arrow::before {
    position: absolute;
    inset: 0;
    background: #0878bf;
    clip-path: polygon(37% 0, 63% 0, 63% 58%, 100% 58%, 50% 100%, 0 58%, 37% 58%);
    content: "";
  }

  .sonar-tech-metric-delta.is-up .sonar-tech-delta-arrow::before {
    transform: rotate(180deg);
  }

  .sonar-tech-metric-delta:not(:empty) .sonar-tech-delta-value {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
  }
  .sonar-tech-empty-cell { grid-column: 1 / -1; height: 5rem !important; justify-content: center !important; text-align: center !important; }

  body.sonar-technician-cmts-snr-page #main-content.sonar-main,
  body.sonar-technician-cmts-snr-page #wrapper-outer {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body.sonar-technician-cmts-snr-page #wrapper {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: visible;
    background: #f6f8fc;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.sonar-technician-cmts-snr-page #nav #app-back,
  body.sonar-technician-cmts-snr-page #nav #app-back[style*="display"],
  body.sonar-technician-cmts-snr-page #wrapper-top.sonar-cmts-ussnr-header,
  body.sonar-technician-cmts-snr-page #wrapper-bottom,
  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr > h2,
  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr > br,
  body.sonar-technician-cmts-snr-page .sonar-cmts-desktop-channel,
  body.sonar-technician-cmts-snr-page .sonar-cmts-desktop-spacer,
  body.sonar-technician-cmts-snr-page .sonar-cmts-realtime-empty {
    display: none !important;
  }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr {
    width: 100%;
    min-width: 0;
    padding: 0 0.75rem 1rem;
    color: #102d50;
    background: #f6f8fc;
    font: 0.82rem/1.3 Arial, Helvetica, sans-serif;
  }

  body.sonar-technician-cmts-snr-page .sonar-technician-nav-context .sonar-technician-nav-title {
    max-width: min(10rem, 31vw);
  }

  .sonar-cmts-mobile-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 4.75rem;
    gap: 0.42rem;
    margin: 0 -0.75rem;
    padding: 0.75rem;
    background: #fff;
  }

  .sonar-cmts-mobile-select {
    position: relative;
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 4rem;
    margin: 0;
    padding: 0.5rem 1.55rem 0.45rem 0.65rem;
    color: #244d7e;
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 0.58rem;
  }

  .sonar-cmts-mobile-select::after {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid #123b66;
    border-bottom: 2px solid #123b66;
    content: "";
    pointer-events: none;
    transform: translateY(5%) rotate(45deg);
  }

  .sonar-cmts-mobile-select > span {
    overflow: hidden;
    color: #53739a;
    font-size: 0.59rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-select > select {
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    appearance: none;
    color: #102d50;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 0.71rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-filter-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    min-height: 4rem;
    padding: 0.35rem;
    color: #173f69;
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 0.58rem;
    font-size: 0.66rem;
    font-weight: 800;
  }

  .sonar-cmts-mobile-filter-button > span {
    width: 1.15rem;
    height: 0.9rem;
    background:
      linear-gradient(#1a70b8, #1a70b8) 0 10% / 100% 1px no-repeat,
      linear-gradient(#1a70b8, #1a70b8) 0 50% / 100% 1px no-repeat,
      linear-gradient(#1a70b8, #1a70b8) 0 90% / 100% 1px no-repeat;
  }

  .sonar-cmts-mobile-filter-button > b {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: grid;
    width: 1rem;
    height: 1rem;
    place-items: center;
    color: #fff;
    background: #0878bf;
    border-radius: 50%;
    font-size: 0.55rem;
  }

  .sonar-cmts-mobile-tabs {
    display: flex;
    width: calc(100% + 1.5rem);
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    overflow-x: auto;
    background: #fff;
    border-top: 1px solid #e0e7f0;
    border-bottom: 1px solid #d5deea;
    scrollbar-width: none;
  }

  .sonar-cmts-mobile-tabs::-webkit-scrollbar { display: none; }

  .sonar-cmts-mobile-tab {
    flex: 0 0 auto;
    min-height: 3.2rem;
    padding: 0.55rem 0.85rem;
    color: #173b63;
    background: #fff;
    border: 0;
    border-right: 1px solid #e0e7f0;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-tab:first-child { border-left: 1px solid #e0e7f0; }
  .sonar-cmts-mobile-tab b { font-weight: 750; }
  .sonar-cmts-mobile-tab b::before { content: " ("; }
  .sonar-cmts-mobile-tab b::after { content: ")"; }

  .sonar-cmts-mobile-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #075ec4, #003da0);
    border-color: transparent;
  }

  .sonar-cmts-mobile-list-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.35rem 2rem;
    gap: 0.35rem;
    align-items: end;
    min-height: 2.85rem;
    padding: 0.55rem 0.65rem 0.35rem 1.15rem;
    color: #55749c;
    font-size: 0.61rem;
    font-weight: 700;
  }

  .sonar-cmts-mobile-list-header > span:nth-child(2),
  .sonar-cmts-mobile-list-header > span:nth-child(3) { text-align: center; }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 0.58rem;
    box-shadow: 0 0.2rem 0.65rem rgba(16, 45, 80, 0.045);
  }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts + br { display: none; }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    min-height: 4.25rem;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    color: #102d50;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #dfe6ef;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
  }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel:last-child { border-bottom: 0; }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 0.2rem;
    background: #7b8da2;
    content: "";
  }

  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel.status-ok::before { background: #13a046; }
  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel.status-pend::before { background: #f59a00; }
  body.sonar-technician-cmts-snr-page #content.sonar-cmts-ussnr .status-box.cmts > .sonar-cmts-channel.status-err::before { background: #ef1d2e; }

  .sonar-cmts-mobile-channel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(3.7rem, auto) 3.55rem 1.85rem;
    gap: 0.35rem;
    align-items: center;
    min-height: 4.25rem;
    padding: 0.48rem 0.55rem 0.45rem 0.75rem;
  }

  .sonar-cmts-mobile-copy {
    display: flex;
    align-items: baseline;
    gap: 0.32rem;
    min-width: 0;
  }

  .sonar-cmts-mobile-copy strong {
    flex: 0 0 auto;
    max-width: 65%;
    overflow: hidden;
    color: #102d50;
    font-size: 0.75rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-copy small {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    margin-top: 0;
    color: #416ea7;
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-status {
    justify-self: center;
    max-width: 4.9rem;
    padding: 0.3rem 0.42rem;
    overflow: hidden;
    color: #5e6d7c;
    background: #edf1f5;
    border-radius: 0.38rem;
    font-size: 0.56rem;
    font-weight: 750;
    line-height: 1.05;
    text-align: center;
    text-overflow: ellipsis;
  }

  .status-ok .sonar-cmts-mobile-status { color: #159342; background: #e8f6e8; }
  .status-pend .sonar-cmts-mobile-status { color: #e38700; background: #fff2dd; }
  .status-err .sonar-cmts-mobile-status { color: #e11b2b; background: #fde8eb; }

  .sonar-cmts-mobile-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-width: 0;
    color: #5e6d7c;
    font-size: 0.86rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .sonar-cmts-mobile-value small { margin-left: 0.12rem; font-size: 0.47rem; font-weight: 700; }
  .status-ok .sonar-cmts-mobile-value { color: #14983e; }
  .status-pend .sonar-cmts-mobile-value { color: #ed8e00; }
  .status-err .sonar-cmts-mobile-value { color: #e31e2f; }

  .sonar-cmts-mobile-trend {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    justify-self: center;
    color: #788b9e;
    font-size: 0;
    line-height: 1;
  }

  .sonar-cmts-mobile-trend::before {
    content: "";
    display: block;
    width: 1.45rem;
    height: 1.45rem;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .sonar-cmts-mobile-trend.is-flat::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .sonar-cmts-mobile-trend.is-up::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17l6-6 4 4 8-8m-6 0h6v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17l6-6 4 4 8-8m-6 0h6v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .sonar-cmts-mobile-trend.is-down::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l6 6 4-4 8 8m-6 0h6v-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l6 6 4-4 8 8m-6 0h6v-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .sonar-cmts-mobile-trend.is-up { color: #15983f; }
  .sonar-cmts-mobile-trend.is-down { color: #e22031; }

  .sonar-cmts-channel:focus-visible {
    z-index: 2;
    outline: 2px solid #0878bf;
    outline-offset: -2px;
  }

  .sonar-cmts-mobile-empty {
    display: block;
    margin: 0.8rem 0 0;
    padding: 1rem;
    color: #64778d;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 0.58rem;
    text-align: center;
  }

  .sonar-cmts-mobile-empty[hidden] { display: none; }

  /* Mobil ügyfélrögzítés és -módosítás: a meglévő provisioning űrlap
   * üzleti logikája marad, a hosszú adatlapot három áttekinthető nézet bontja. */
  body.sonar-customer-editor-page {
    --sonar-customer-blue: #096dcc;
    --sonar-customer-blue-dark: #004fa4;
    --sonar-customer-ink: #102d50;
    --sonar-customer-muted: #71839a;
    --sonar-customer-line: #d7e0ec;
    --sonar-customer-surface: #fff;
    background: #f5f7fb;
  }

  body.sonar-customer-editor-page #main-content.sonar-main,
  body.sonar-customer-editor-page #wrapper-outer {
    padding: 0;
  }

  body.sonar-customer-editor-page #wrapper {
    overflow: visible;
    background: #f5f7fb;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.sonar-customer-editor-page #logo.sonar-brand {
    min-height: 4rem;
    margin-right: 0.65rem;
  }

  body.sonar-customer-editor-page #logo.sonar-brand img {
    width: 5.6rem;
    height: auto;
  }

  body.sonar-customer-editor-page .sonar-customer-nav-context {
    display: block;
    margin-right: auto;
    padding-left: 0.65rem;
  }

  body.sonar-customer-editor-page .sonar-customer-nav-context .sonar-technician-nav-title {
    max-width: clamp(7rem, 34vw, 10.5rem);
    font-size: 0.82rem;
  }

  body.sonar-customer-editor-page #wrapper-top.sonar-customer-header {
    display: none;
  }

  body.sonar-customer-editor-page #content.sonar-customer-editor {
    padding: 0 0 calc(5rem + env(safe-area-inset-bottom)) !important;
    overflow: visible;
    color: var(--sonar-customer-ink);
    background: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
  }

  #content.sonar-customer-editor .sonar-customer-mobile-tabs {
    display: grid;
    grid-template-columns: 0.95fr 1.55fr 0.72fr;
    min-height: 4.15rem;
    background: #fff;
    border-bottom: 1px solid #dfe6ef;
    box-shadow: 0 0.15rem 0.45rem rgba(18, 48, 80, 0.05);
  }

  #content.sonar-customer-editor .sonar-customer-mobile-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-width: 0;
    min-height: 4.15rem;
    padding: 0.5rem 0.25rem;
    color: #16375d;
    background: #fff;
    border: 0;
    border-right: 1px solid #e0e6ee;
    font-size: clamp(0.62rem, 2.6vw, 0.78rem);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  #content.sonar-customer-editor .sonar-customer-mobile-tab:last-child { border-right: 0; }

  #content.sonar-customer-editor .sonar-customer-mobile-tab::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0.18rem;
    background: transparent;
    content: "";
  }

  #content.sonar-customer-editor .sonar-customer-mobile-tab svg {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
  }

  #content.sonar-customer-editor .sonar-customer-mobile-tab.is-active { color: #075fc5; }
  #content.sonar-customer-editor .sonar-customer-mobile-tab.is-active::after { background: #0b69d1; }
  #content.sonar-customer-editor .sonar-customer-mobile-tab.has-error::before {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 0.42rem;
    height: 0.42rem;
    background: #d92d3b;
    border-radius: 50%;
    content: "";
  }

  #content.sonar-customer-editor .sonar-customer-editor-surface {
    display: block;
    width: min(calc(100% - 1.2rem), 52rem);
    max-width: 52rem;
    margin: 0.6rem auto;
    padding: 0.85rem;
    background: var(--sonar-customer-surface);
    border: 1px solid #e4e9f1;
    border-radius: 0.78rem;
    box-shadow: 0 0.22rem 0.8rem rgba(25, 54, 86, 0.055);
  }

  #content.sonar-customer-editor .sonar-customer-mobile-section-heading {
    display: flex;
    align-items: center;
    min-height: 2.4rem;
    margin: 0 0 0.55rem;
    color: var(--sonar-customer-ink);
  }

  #content.sonar-customer-editor .sonar-customer-mobile-section-heading strong {
    display: none;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.98rem;
    font-weight: 800;
  }

  #content.sonar-customer-editor .sonar-customer-mobile-section-heading svg {
    width: 2rem;
    height: 2rem;
    padding: 0.42rem;
    flex: 0 0 2rem;
    fill: none;
    stroke: #0869d2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    background: #eef5ff;
    border-radius: 50%;
  }

  #editCustomerForm[data-customer-section="customer"] [data-customer-title="customer"],
  #editCustomerForm[data-customer-section="address"] [data-customer-title="address"],
  #editCustomerForm[data-customer-section="fixip"] [data-customer-title="fixip"] {
    display: flex !important;
  }

  #content.sonar-customer-editor .popup-content { padding: 0; }
  #content.sonar-customer-editor .popup-content > ul.form { padding: 0; }
  #content.sonar-customer-editor .sonar-customer-identity { padding: 0 !important; }

  #content.sonar-customer-editor ul.form > li {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    padding: 0.25rem 0 !important;
  }

  #content.sonar-customer-editor ul.form > li::before,
  #content.sonar-customer-editor ul.form > li::after {
    display: none;
    content: none;
  }

  #content.sonar-customer-editor ul.form > li > .error-msg {
    grid-column: 1 / -1;
    margin: 0;
  }

  #content.sonar-customer-editor .sonar-customer-identity > li,
  #content.sonar-customer-editor #contact_info > ul > li:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #content.sonar-customer-editor #contact_info > ul > li:nth-child(2) {
    grid-template-columns: minmax(0, 1fr);
  }

  #content.sonar-customer-editor .sonar-customer-address-fields > li {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.15fr) minmax(4.6rem, 0.72fr) !important;
  }

  #content.sonar-customer-editor [id^="tab-service-"] .ui-tabs-panel ul.form > li {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-service-options-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #content.sonar-customer-editor .fg {
    position: relative;
    display: flex;
    width: 100% !important;
    min-width: 0;
    flex-basis: auto;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0 !important;
  }

  #content.sonar-customer-editor .fg label,
  #content.sonar-customer-editor ul.form label {
    margin: 0;
    color: var(--sonar-customer-ink);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.25;
  }

  #content.sonar-customer-editor .fg > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  #content.sonar-customer-editor .fg > select,
  #content.sonar-customer-editor .fg > textarea {
    display: block;
    width: 100% !important;
    min-height: 3rem;
    padding: 0.62rem 0.72rem;
    color: #17324d;
    background-color: #fff;
    border: 1px solid var(--sonar-customer-line);
    border-radius: 0.58rem;
    font-size: 0.76rem;
    line-height: 1.2;
    box-shadow: none;
  }

  #content.sonar-customer-editor .fg > select {
    padding-right: 1.75rem;
  }

  #content.sonar-customer-editor input.text-big {
    min-height: 3rem;
    font-size: 0.82rem;
  }

  #content.sonar-customer-editor .sonar-customer-icon-field::after {
    position: absolute;
    z-index: 1;
    top: 2rem;
    left: 0.72rem;
    width: 1rem;
    height: 1rem;
    background-color: #173f70;
    content: "";
    pointer-events: none;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  #content.sonar-customer-editor .sonar-customer-icon-field > input:not([type="hidden"]),
  #content.sonar-customer-editor .sonar-customer-icon-field > select {
    padding-left: 2.2rem !important;
  }

  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem 0.55rem;
  }

  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device > label,
  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device > input[type="hidden"] {
    grid-column: 1 / -1;
  }

  #content.sonar-customer-editor .sonar-customer-icon-user::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  #content.sonar-customer-editor .sonar-customer-icon-tag::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 4 8 .5 8 8-7.5 7.5-8-8L4 4Zm5 4h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 4 8 .5 8 8-7.5 7.5-8-8L4 4Zm5 4h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  #content.sonar-customer-editor .sonar-customer-icon-mail::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  }

  #content.sonar-customer-editor .sonar-customer-icon-phone::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h3l1.5 5-2 1.5a15 15 0 0 0 6 6l1.5-2L21 15v3c0 1.7-1.3 3-3 3C9.7 21 3 14.3 3 6c0-1.7 1.3-3 3-3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h3l1.5 5-2 1.5a15 15 0 0 0 6 6l1.5-2L21 15v3c0 1.7-1.3 3-3 3C9.7 21 3 14.3 3 6c0-1.7 1.3-3 3-3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  #content.sonar-customer-editor .sonar-customer-icon-location::after,
  #content.sonar-customer-editor .sonar-customer-icon-road::after,
  #content.sonar-customer-editor .sonar-customer-icon-home::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  }

  #content.sonar-customer-editor .sonar-customer-icon-device::after { display: none; }
  #content.sonar-customer-editor .sonar-customer-icon-device > select { padding-left: 0.72rem !important; }

  #content.sonar-customer-editor #tab-main.ui-tabs,
  #content.sonar-customer-editor [id^="tab-service-"] {
    padding: 0;
    background: transparent;
    border: 0;
  }

  #content.sonar-customer-editor #tab-main > .ui-tabs-panel,
  #content.sonar-customer-editor [id^="tab-service-"] > .ui-tabs-panel {
    padding: 0;
    background: transparent;
    border: 0;
  }

  #content.sonar-customer-editor #tab-main-header {
    gap: 0.35rem;
    margin: 0 0 0.7rem;
    padding: 0.25rem;
    overflow-x: auto;
    background: #f0f5fb;
    border: 0;
    border-radius: 0.55rem;
  }

  #content.sonar-customer-editor #tab-main-header > li:first-child { display: none; }
  #editCustomerForm[data-customer-section="customer"] #tab-main-header { display: none; }
  #editCustomerForm[data-customer-section="customer"] #tab-main > div[id^="address-"] { display: none !important; }
  #editCustomerForm[data-customer-section="address"] #contact_info,
  #editCustomerForm[data-customer-section="fixip"] #contact_info { display: none !important; }

  #content.sonar-customer-editor #tab-main-header > li,
  #content.sonar-customer-editor #tab-main-header > li > a {
    min-height: 2.25rem;
    border: 0;
    border-radius: 0.42rem;
  }

  #content.sonar-customer-editor #tab-main-header > li > a {
    padding: 0.5rem 0.75rem;
    color: #315476;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 750;
  }

  #content.sonar-customer-editor #tab-main-header > li.ui-tabs-active > a {
    color: #fff;
    background: #0a64c6;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs {
    margin-top: 0.75rem;
    padding: 0.65rem !important;
    background: #f8faff !important;
    border: 1px solid #e0e7f0 !important;
    border-radius: 0.7rem !important;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 0.72rem;
    padding: 0.2rem;
    background: #eaf1fa;
    border: 1px solid #dde6f1;
    border-radius: 0.58rem;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav::before,
  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav::after {
    display: none;
    content: none;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav > li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.8rem;
    margin: 0;
    padding: 0 0.3rem;
    background: transparent;
    border: 0;
    border-radius: 0.46rem;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav > li.ui-tabs-active {
    color: #fff;
    background: linear-gradient(135deg, #0873d3, #004fa4);
    box-shadow: 0 0.15rem 0.4rem rgba(11, 74, 137, 0.14);
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav .ui-tabs-anchor {
    min-width: 0;
    min-height: 2.8rem;
    padding: 0.7rem 0.2rem;
    justify-content: center;
    color: #17375b;
    font-size: 0.7rem;
  }

  #content.sonar-customer-editor .sonar-customer-technology-tabs > .ui-tabs-nav > li.ui-tabs-active .ui-tabs-anchor {
    color: #fff;
  }

  #content.sonar-customer-editor .sonar-customer-service-activation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.45rem;
    margin: 0 0 0.7rem;
    padding: 0.65rem 0.78rem;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 0.62rem;
  }

  #content.sonar-customer-editor .sonar-customer-service-activation > span:first-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.1rem;
  }

  #content.sonar-customer-editor .sonar-customer-service-activation strong {
    color: var(--sonar-customer-ink);
    font-size: 0.76rem;
  }

  #content.sonar-customer-editor .sonar-customer-service-status {
    color: #8391a2;
    font-size: 0.64rem;
  }

  #content.sonar-customer-editor .sonar-customer-service-activation.is-enabled .sonar-customer-service-status {
    color: #16833a;
  }

  #content.sonar-customer-editor .sonar-customer-switch,
  #content.sonar-customer-editor .sonar-customer-toggle-option {
    cursor: pointer;
  }

  #content.sonar-customer-editor .sonar-customer-switch-input,
  #content.sonar-customer-editor .sonar-customer-toggle-option > input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0 !important;
  }

  #content.sonar-customer-editor .sonar-customer-switch-track,
  #content.sonar-customer-editor .sonar-customer-toggle-option > i {
    position: relative;
    display: block;
    width: 2.55rem;
    height: 1.45rem;
    flex: 0 0 2.55rem;
    background: #b8c3d0;
    border-radius: 999px;
    transition: background 0.18s ease;
  }

  #content.sonar-customer-editor .sonar-customer-switch-track::after,
  #content.sonar-customer-editor .sonar-customer-toggle-option > i::after {
    position: absolute;
    top: 0.16rem;
    left: 0.16rem;
    width: 1.13rem;
    height: 1.13rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0.08rem 0.2rem rgba(17, 42, 69, 0.25);
    content: "";
    transition: transform 0.18s ease;
  }

  #content.sonar-customer-editor .sonar-customer-switch-input:checked + .sonar-customer-switch-track,
  #content.sonar-customer-editor .sonar-customer-toggle-option > input:checked ~ i {
    background: #0b69d1;
  }

  #content.sonar-customer-editor .sonar-customer-switch-input:checked + .sonar-customer-switch-track::after,
  #content.sonar-customer-editor .sonar-customer-toggle-option > input:checked ~ i::after {
    transform: translateX(1.1rem);
  }

  #content.sonar-customer-editor .sonar-customer-switch-input:focus-visible + .sonar-customer-switch-track,
  #content.sonar-customer-editor .sonar-customer-toggle-option > input:focus-visible ~ i {
    outline: 2px solid #0b69d1;
    outline-offset: 2px;
  }

  #content.sonar-customer-editor .sonar-customer-service-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem;
  }

  #content.sonar-customer-editor .sonar-customer-service-options-single {
    grid-template-columns: minmax(0, 1fr);
  }

  #content.sonar-customer-editor .sonar-customer-toggle-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 3.1rem;
    padding: 0.55rem 0.65rem;
    color: #17324d;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 0.56rem;
  }

  #content.sonar-customer-editor .sonar-customer-toggle-option > span {
    min-width: 0;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
  }

  #content.sonar-customer-editor .sonar-customer-service-options-row,
  #content.sonar-customer-editor .sonar-customer-service-options-row > .sonar-customer-service-field {
    grid-column: 1 / -1;
  }

  #content.sonar-customer-editor .sonar-customer-service-note {
    margin: 0;
    padding: 0.9rem;
    color: #66788d;
    background: #fff;
    border: 1px dashed #cbd7e5;
    border-radius: 0.58rem;
    text-align: center;
  }

  #editCustomerForm[data-customer-section="address"] .sonar-customer-fixip-field,
  #editCustomerForm[data-customer-section="address"] .sonar-customer-fixip-row,
  #editCustomerForm[data-customer-section="address"] .sonar-customer-fixip-divider,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-service-activation,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-service-field,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-service-row,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-service-divider,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-address-fields,
  #editCustomerForm:not([data-customer-section="customer"]) .sonar-customer-identity {
    display: none !important;
  }

  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-technology-tabs {
    margin-top: 0.35rem;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-technology-tabs > .ui-tabs-nav,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-technology-tabs > .ui-tabs-panel,
  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-fixip-divider {
    display: none !important;
  }

  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-technology-tabs > .ui-tabs-panel.is-service-enabled:not([id^="serv_lan_"]) {
    display: block !important;
    margin: 0 0 0.65rem;
  }

  #editCustomerForm[data-customer-section="fixip"] .sonar-customer-technology-tabs:not(.has-enabled-service) > .sonar-customer-fixip-no-service {
    display: block;
    margin: 0;
    padding: 1rem;
    color: #66798f;
    background: #f8faff;
    border: 1px dashed #cbd7e5;
    border-radius: 0.62rem;
    line-height: 1.45;
    text-align: center;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-divider {
    margin: 0.8rem 0;
    border: 0;
    border-top: 1px solid #dce5f0;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.6rem !important;
    padding: 0.7rem !important;
    background: #f8faff;
    border: 1px solid #e0e7f0;
    border-radius: 0.65rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-source,
  #content.sonar-customer-editor .sonar-customer-fixip-actions,
  #content.sonar-customer-editor .sonar-customer-fixip-assigned {
    grid-column: 1 / -1;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-available-label { margin-top: 0.35rem; }
  #content.sonar-customer-editor .sonar-customer-fixip-desktop-action,
  #content.sonar-customer-editor .sonar-customer-fixip-native-list { display: none !important; }

  #content.sonar-customer-editor .sonar-customer-fixip-mobile-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 2.75rem;
    color: #fff;
    background: linear-gradient(135deg, #0873d3, #0058b4);
    border: 0;
    border-radius: 0.55rem;
    font-size: 0.73rem;
    font-weight: 750;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-mobile-add > span {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card-list {
    display: grid;
    gap: 0.42rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 3.2rem;
    padding: 0.55rem 0.6rem 0.55rem 0.75rem;
    background: #fff;
    border: 1px solid #d8e3ef;
    border-radius: 0.55rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.08rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card strong {
    color: #123c69;
    font-size: 0.76rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card small {
    color: #73859a;
    font-size: 0.62rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-card-remove {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
    place-items: center;
    color: #c62836;
    background: #fff1f2;
    border: 1px solid #f2cfd3;
    border-radius: 0.5rem;
    font-size: 1.2rem;
  }

  #content.sonar-customer-editor .sonar-customer-fixip-empty {
    padding: 0.9rem;
    color: #78899c;
    background: #fff;
    border: 1px dashed #cad6e4;
    border-radius: 0.55rem;
    text-align: center;
  }

  #content.sonar-customer-editor .popup-bottom {
    position: fixed;
    z-index: 1040;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.6rem;
    min-height: 4.4rem;
    padding: 0.62rem 0.75rem calc(0.62rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #dce4ee;
    box-shadow: 0 -0.35rem 1rem rgba(19, 48, 78, 0.08);
    backdrop-filter: blur(0.55rem);
  }

  #content.sonar-customer-editor .popup-bottom #cancel,
  #content.sonar-customer-editor .popup-bottom #save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin: 0;
    padding: 0.62rem 0.7rem;
    border-radius: 0.55rem;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
  }

  #content.sonar-customer-editor .popup-bottom #cancel {
    grid-column: 1;
    grid-row: 1;
    color: #0a64c6;
    background: #eef4ff;
    border: 1px solid #dbe7fa;
  }

  #content.sonar-customer-editor .popup-bottom #cancel::after {
    margin-left: 0.55rem;
    content: "×";
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
  }

  #content.sonar-customer-editor .popup-bottom #save {
    grid-column: 2;
    grid-row: 1;
    color: #fff;
    background: linear-gradient(135deg, #28a83a, #17a32f);
    border: 0;
    box-shadow: 0 0.2rem 0.5rem rgba(22, 151, 46, 0.18);
  }

  #content.sonar-customer-editor .sonar-customer-save-desktop { display: none; }
  #content.sonar-customer-editor .sonar-customer-save-mobile { display: inline; }

  #content.sonar-customer-editor .fg-error > input,
  #content.sonar-customer-editor .fg-error > select,
  #content.sonar-customer-editor .f-sect-error input,
  #content.sonar-customer-editor .f-sect-error select {
    border-color: #d92d3b !important;
  }

  body.sonar-app #footer.sonar-footer { display: none; }
}

@media (max-width: 359.98px) {
  .sonar-technician-nav-context small { display: none; }
  .sonar-tech-card-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sonar-tech-signal-table tr { grid-template-columns: 48% repeat(4, minmax(0, 1fr)); }
  body.sonar-technician-cmts-snr-page .sonar-technician-nav-context .sonar-technician-nav-title { max-width: 6.2rem; }
  .sonar-cmts-mobile-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem; }
  .sonar-cmts-mobile-select { padding-inline: 0.48rem 1.25rem; }
  .sonar-cmts-mobile-filter-button { grid-column: 1 / -1; flex-direction: row; min-height: 2.75rem; font-size: 0.63rem; }
  .sonar-cmts-mobile-list-header { grid-template-columns: minmax(0, 1fr) 7.15rem 1.65rem; padding-inline: 0.85rem 0.45rem; }
  .sonar-cmts-mobile-channel { grid-template-columns: minmax(0, 1fr) 4.2rem 3.05rem 1.4rem; gap: 0.2rem; padding-inline: 0.65rem 0.35rem; }
  .sonar-cmts-mobile-status { max-width: 4.2rem; padding-inline: 0.18rem; overflow: visible; font-size: 0.47rem; text-overflow: clip; }
  .sonar-cmts-mobile-value { font-size: 0.78rem; }
  .sonar-cmts-mobile-trend { width: 1.45rem; height: 1.45rem; }
  .sonar-cmts-mobile-trend::before { width: 1.25rem; height: 1.25rem; }
  #content.sonar-customer-editor .sonar-customer-mobile-tab { gap: 0.22rem; font-size: 0.56rem; }
  #content.sonar-customer-editor .sonar-customer-mobile-tab svg { width: 1.05rem; height: 1.05rem; flex-basis: 1.05rem; }
  #content.sonar-customer-editor .sonar-customer-editor-surface { width: calc(100% - 0.8rem); margin: 0.4rem; padding: 0.65rem; }
  #content.sonar-customer-editor ul.form > li { gap: 0.55rem; }
  #content.sonar-customer-editor .sonar-customer-address-fields > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  #content.sonar-customer-editor .sonar-customer-address-fields > li > .fg:last-of-type { grid-column: 1 / -1; }
  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device { grid-template-columns: minmax(0, 1fr); }
  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device > label,
  #content.sonar-customer-editor [id^="tab-service-"] .sonar-customer-icon-device > input[type="hidden"] { grid-column: 1; }
  #content.sonar-customer-editor .sonar-customer-service-options { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 991.98px) and (max-height: 739.98px) {
  .sonar-login > header.container { min-height: 11rem; padding-block: 1rem !important; }
  body.sonar-login { background-size: auto 11.5rem; }
  .sonar-login-logo img { width: 8rem; }
  .sonar-login-fields { padding-top: 1.25rem; }
}
