/* Final Hub workspace rules. Loaded after the historical shell styles. */
html body.hub-shell-ready .sidebar nav > .nav-item[hidden],
html body.hub-shell-ready .sidebar nav > .backup-allowed[hidden],
html body.hub-shell-ready .sidebar nav > .master-only[hidden],
body.hub-shell-ready .customer-panel-inactive {
  display: none !important;
}

.sidebar-customer-search {
  grid-template-columns: minmax(0, 1fr) 66px 30px;
}

.sidebar-customer-directory {
  width: 66px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(245, 164, 0, 0.52);
  border-radius: 7px;
  background: #2b2d31;
  color: #fff4d9;
  font-size: 10px;
  font-weight: 800;
}

.sidebar-customer-directory:hover,
.sidebar-customer-directory:focus-visible {
  border-color: #f5a400;
  background: #3b3424;
}

.app-customer-dialog.is-directory-mode {
  width: min(980px, calc(100vw - 32px));
}

.app-customer-dialog.is-directory-mode .app-customer-dialog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
}

.app-customer-dialog.is-directory-mode .app-customer-choice {
  min-height: 72px;
}

.icon-employees::before {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  top: 4px;
  left: 9px;
}

.icon-employees::after {
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
  bottom: 4px;
  left: 4px;
}

.icon-more::before {
  content: "•••";
  inset: 0;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  color: currentColor;
  font-size: 15px;
  letter-spacing: 1px;
}

.icon-more::after { display: none; }

.mobile-nav-more-button {
  display: none !important;
}

.mobile-nav-dialog {
  width: min(430px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid rgba(245, 164, 0, 0.72);
  border-radius: 8px;
  background: #181a1e;
  color: #fff;
}

.mobile-nav-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(3px);
}

.mobile-nav-dialog form { padding: 14px; }

.mobile-nav-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 164, 0, 0.3);
}

.mobile-nav-dialog-head span {
  color: #f5a400;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-nav-dialog-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
}

.mobile-nav-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-nav-dialog-grid > button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid #494d55;
  border-radius: 6px;
  background: #26292e;
  color: #f5f7fa;
  text-align: left;
}

.mobile-nav-dialog-grid > button:hover,
.mobile-nav-dialog-grid > button:focus-visible {
  border-color: #f5a400;
  background: #34302a;
}

.employee-readiness-view {
  min-width: 0;
  color: #f7f7f8;
}

.customer-employee-readiness {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 0;
}

.employee-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(245, 164, 0, 0.38);
  border-radius: 7px;
  background: #202226;
}

.employee-readiness-head .eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #f5a400;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.employee-readiness-head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0;
}

.employee-readiness-head p {
  margin: 5px 0 0;
  color: #b8bec7;
  font-size: 13px;
}

.employee-readiness-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.employee-readiness-metric {
  position: relative;
  min-width: 0;
  min-height: 100px;
  padding: 14px 16px 13px 19px;
  overflow: hidden;
  border: 1px solid #444850;
  border-radius: 7px;
  background: #26292e;
}

.employee-readiness-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #8b929d;
}

.employee-readiness-metric.status-ready::before { background: #25b77a; }
.employee-readiness-metric.status-due-soon::before { background: #f5b82e; }
.employee-readiness-metric.status-blocked::before { background: #ef5350; }

.employee-readiness-metric > span,
.employee-readiness-metric > small,
.employee-readiness-metric > strong {
  display: block;
}

.employee-readiness-metric > span {
  color: #c7cbd2;
  font-size: 12px;
  font-weight: 700;
}

.employee-readiness-metric > strong {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.employee-readiness-metric > small {
  color: #9da4ae;
  font-size: 11px;
}

.employee-readiness-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #3b3f46;
  border-radius: 7px 7px 0 0;
  background: #22252a;
}

.employee-readiness-search input {
  width: 100%;
  height: 40px;
  border-color: #555b64;
  background: #17191c;
  color: #f5f7fa;
}

.employee-readiness-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border: 1px solid #444850;
  border-radius: 6px;
  background: #181a1e;
}

.employee-readiness-filters button {
  min-height: 34px;
  padding: 6px 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #c7cbd2;
  font-size: 12px;
  font-weight: 700;
}

.employee-readiness-filters button:hover,
.employee-readiness-filters button.active {
  background: #444a53;
  color: #fff;
}

.employee-readiness-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 260px;
  border: 1px solid #3b3f46;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: #1b1d21;
}

.employee-readiness-table-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #3c4047;
  background: #25282d;
}

.employee-readiness-table-headline span,
.employee-readiness-table-headline strong {
  display: block;
}

.employee-readiness-table-headline span {
  color: #aeb4bd;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.employee-readiness-table-headline strong {
  margin-top: 2px;
  font-size: 16px;
}

.employee-readiness-table-headline small {
  color: #aeb4bd;
  font-size: 11px;
}

.employee-readiness-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.employee-readiness-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.employee-readiness-table th {
  padding: 10px 12px;
  border-bottom: 1px solid #4b5058;
  background: #2d3036;
  color: #d5d9df;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.employee-readiness-table th:first-child { width: 21%; }
.employee-readiness-table th:nth-child(2),
.employee-readiness-table th:nth-child(3),
.employee-readiness-table th:nth-child(4) { width: 13%; }
.employee-readiness-table th:nth-child(5) { width: 23%; }
.employee-readiness-table th:last-child { width: 17%; }

.employee-readiness-table td {
  min-width: 0;
  padding: 12px;
  border-bottom: 1px solid #353941;
  background: #202328;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.employee-readiness-table tbody tr[data-open-employee] {
  cursor: pointer;
}

.employee-readiness-table tbody tr[data-open-employee]:hover td,
.employee-readiness-table tbody tr[data-open-employee]:focus-visible td {
  background: #2a2e34;
}

.employee-readiness-table tbody tr[data-open-employee]:focus-visible {
  outline: 2px solid #f5a400;
  outline-offset: -2px;
}

.employee-readiness-table tr:last-child td { border-bottom: 0; }
.employee-readiness-table tr.status-ready td:first-child { box-shadow: inset 4px 0 #25b77a; }
.employee-readiness-table tr.status-due-soon td:first-child { box-shadow: inset 4px 0 #f5b82e; }
.employee-readiness-table tr.status-blocked td:first-child { box-shadow: inset 4px 0 #ef5350; }
.employee-readiness-table tr.status-inactive td:first-child { box-shadow: inset 4px 0 #7b818b; }

.employee-readiness-person strong,
.employee-readiness-person span,
.employee-readiness-person small,
.employee-readiness-state b,
.employee-readiness-state small,
.employee-readiness-due b,
.employee-readiness-due small {
  display: block;
}

.employee-readiness-person strong { color: #fff; font-size: 14px; }
.employee-readiness-person span { margin-top: 3px; color: #d1d5db; font-size: 12px; }
.employee-readiness-person small { margin-top: 2px; color: #9299a4; font-size: 10px; }

.employee-readiness-state {
  display: inline-flex;
  min-width: 92px;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid #59606a;
  border-radius: 5px;
  background: #30343a;
  color: #eef0f3;
}

.employee-readiness-state b { font-size: 11px; }
.employee-readiness-state small { color: inherit; font-size: 9px; opacity: 0.86; }
.employee-readiness-state.state-valid { border-color: #228b61; background: #174f3a; color: #b9f7d9; }
.employee-readiness-state.state-due-soon { border-color: #bd871b; background: #554018; color: #ffe5a3; }
.employee-readiness-state.state-missing,
.employee-readiness-state.state-overdue { border-color: #b64242; background: #5b2527; color: #ffd0d0; }

.employee-readiness-due b { color: #f5f7fa; font-size: 12px; }
.employee-readiness-due small { margin-top: 3px; color: #aeb4bd; font-size: 10px; line-height: 1.3; }
.employee-readiness-due.is-open b,
.employee-readiness-due.status-overdue b,
.employee-readiness-due.status-not-set b { color: #ff8b88; }
.employee-readiness-due.status-due-soon b { color: #ffd269; }

.employee-readiness-overall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.employee-readiness-overall.status-ready { background: #16845a; }
.employee-readiness-overall.status-due-soon { background: #a46d06; }
.employee-readiness-overall.status-blocked { background: #b83b3b; }
.employee-readiness-overall.status-inactive { background: #666d77; }

.employee-readiness-empty {
  display: grid;
  place-content: center;
  min-height: 260px;
  padding: 28px;
  text-align: center;
}

.employee-readiness-empty strong { color: #fff; font-size: 17px; }
.employee-readiness-empty span { margin-top: 5px; color: #aeb4bd; font-size: 12px; }
.employee-readiness-empty.is-error strong { color: #ff8b88; }

@media screen and (min-width: 761px) {
  body.hub-shell-ready .hub-customer-picker-tools {
    grid-template-columns: 145px minmax(0, 1fr) !important;
    grid-template-rows: 38px 50px !important;
    gap: 8px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-head {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: space-between !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-head span {
    display: block !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    grid-template-columns: minmax(150px, 1fr) 72px 34px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    align-content: center !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-search input,
  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-directory,
  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-add {
    height: 34px !important;
    min-height: 34px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-directory {
    width: 72px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-list {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    gap: 6px !important;
    scrollbar-width: thin;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-list::-webkit-scrollbar {
    height: 5px;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context.sidebar-customer-picker {
    padding: 7px 10px !important;
    margin-bottom: 10px !important;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(170px, 17vw, 210px) !important;
    width: auto !important;
    min-height: 42px !important;
    height: 42px !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 4px 6px !important;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context .customer-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context .customer-card-title strong {
    font-size: calc(11px * var(--hub-ui-scale, 1)) !important;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context .customer-card-main > span {
    font-size: calc(9px * var(--hub-ui-scale, 1)) !important;
  }

  body[data-view="customers"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(360px, 42vw, 500px) !important;
    padding-inline: 11px !important;
  }

  body[data-view="employees"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(300px, 34vw, 420px) !important;
    padding-inline: 10px !important;
  }

  body[data-view="dashboard"].hub-shell-ready #appList .hub-app-card .app-logo {
    width: clamp(40px, calc(46px * var(--hub-ui-scale, 1)), 48px) !important;
    height: clamp(40px, calc(46px * var(--hub-ui-scale, 1)), 48px) !important;
  }

  body[data-view="customers"].hub-shell-ready .customer-app-group-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
    gap: 12px !important;
  }

  body[data-view="customers"].hub-shell-ready .customer-priorities > div {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 10px !important;
  }

  body[data-view="customers"].hub-shell-ready .customer-app-group {
    padding: 18px 15px !important;
  }

  body[data-view="customers"].hub-shell-ready .open-point-app {
    min-height: 110px !important;
    padding: 12px 13px !important;
  }
}

@media screen and (min-width: 1200px) {
  body.hub-shell-ready .hub-customer-picker-tools {
    grid-template-columns: 145px minmax(280px, 390px) minmax(360px, 1fr) !important;
    grid-template-rows: 50px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-head,
  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-search,
  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-list {
    grid-row: 1 !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-head {
    grid-column: 1 !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-search {
    grid-column: 2 !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-list {
    grid-column: 3 !important;
  }
}

@media screen and (max-width: 760px) {
  body.hub-shell-ready .sidebar {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  body.hub-shell-ready .sidebar nav {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: 44px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 44px !important;
  }

  body.hub-shell-ready .sidebar .nav-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 21px 12px !important;
    place-items: center !important;
    gap: 1px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 3px 4px !important;
  }

  body.hub-shell-ready .sidebar .nav-item[data-view="employees"] {
    min-width: 0 !important;
  }

  html body.hub-shell-ready[data-view] .sidebar nav > .nav-item.nav-overflow {
    display: none !important;
  }

  html body.hub-shell-ready[data-view] .sidebar nav > .mobile-nav-more-button {
    display: grid !important;
  }

  body.hub-shell-ready .sidebar .nav-item .icon {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }

  body.hub-shell-ready .sidebar .nav-item span:last-child,
  body.hub-shell-ready .sidebar .nav-item[data-view="employees"] span:last-child {
    position: static !important;
    max-width: 92px !important;
    overflow: visible !important;
    color: #f7f7f8 !important;
    font-size: 9px !important;
    text-overflow: clip !important;
    white-space: nowrap;
  }

  body.hub-shell-ready .sidebar .nav-item[data-view="employees"] span:last-child::after {
    content: none;
  }

  .app-customer-dialog.is-directory-mode {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .app-customer-dialog.is-directory-mode .app-customer-dialog-list {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-view="customers"].hub-shell-ready .customer-workspace-tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  body[data-view="customers"].hub-shell-ready .customer-workspace-tabs button {
    flex: 0 0 auto !important;
  }

  .employee-readiness-head {
    align-items: stretch;
    flex-direction: column;
    padding: 15px;
  }

  .employee-readiness-head .primary { width: 100%; }

  .employee-readiness-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employee-readiness-metric {
    min-height: 88px;
    padding: 12px 12px 11px 16px;
  }

  .employee-readiness-metric > strong { font-size: 23px; }

  .employee-readiness-toolbar {
    grid-template-columns: 1fr;
  }

  .employee-readiness-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
  }

  .employee-readiness-filters button { min-width: 0; }

  .employee-readiness-table-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-readiness-table-wrap { overflow: visible; }

  .employee-readiness-table,
  .employee-readiness-table tbody,
  .employee-readiness-table tr,
  .employee-readiness-table td {
    display: block;
    width: 100%;
  }

  .employee-readiness-table {
    min-width: 0;
    table-layout: auto;
  }

  .employee-readiness-table thead { display: none; }

  .employee-readiness-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #43474f;
    background: #202328;
  }

  .employee-readiness-table td {
    min-width: 0;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: #292d33;
  }

  .employee-readiness-table td:first-child,
  .employee-readiness-table td:last-child {
    grid-column: 1 / -1;
  }

  .employee-readiness-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #9299a4;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .employee-readiness-table tr.status-ready td:first-child { box-shadow: inset 4px 0 #25b77a; }
  .employee-readiness-table tr.status-due-soon td:first-child { box-shadow: inset 4px 0 #f5b82e; }
  .employee-readiness-table tr.status-blocked td:first-child { box-shadow: inset 4px 0 #ef5350; }

  .employee-readiness-state,
  .employee-readiness-overall {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 430px) {
  .employee-readiness-metrics { grid-template-columns: 1fr 1fr; }
  .employee-readiness-table tr { grid-template-columns: 1fr; }
  .employee-readiness-table td,
  .employee-readiness-table td:first-child,
  .employee-readiness-table td:last-child { grid-column: 1; }
}

/* hub-customer-picker-complete-20260722 */
@media screen and (min-width: 761px) {
  body.hub-shell-ready .hub-customer-picker-tools {
    grid-template-columns: 125px minmax(248px, 260px) minmax(0, 1fr) !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-search {
    grid-template-columns: minmax(120px, 1fr) 66px 34px !important;
    gap: 5px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-directory {
    width: 66px !important;
  }

  body.hub-shell-ready .hub-customer-picker-tools .sidebar-customer-list {
    gap: 5px !important;
    scroll-snap-type: x proximity;
  }

  body[data-view="dashboard"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(148px, 14vw, 176px) !important;
    width: auto !important;
    min-height: 42px !important;
    height: 42px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 4px 6px !important;
    scroll-snap-align: start;
  }

  body[data-view="customers"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(360px, 42vw, 500px) !important;
  }

  body[data-view="employees"].hub-shell-ready .hub-customer-context .customer-item {
    flex: 0 0 clamp(300px, 34vw, 420px) !important;
  }

  body.hub-shell-ready .hub-customer-context .customer-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 5px !important;
  }

  body.hub-shell-ready .hub-customer-context .customer-card-title strong {
    font-size: calc(10.5px * var(--hub-ui-scale, 1)) !important;
  }

  body.hub-shell-ready .hub-customer-context .customer-card-main > span {
    font-size: calc(8.5px * var(--hub-ui-scale, 1)) !important;
  }
}

@media screen and (min-width: 1200px) {
  body.hub-shell-ready .hub-customer-picker-tools {
    grid-template-columns: 125px minmax(248px, 260px) minmax(0, 1fr) !important;
  }
}

dialog.app-customer-dialog.is-directory-mode {
  width: min(1040px, calc(100vw - 32px));
}

dialog.app-customer-dialog.is-directory-mode .app-customer-dialog-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 220px;
  padding-right: 5px;
}

html body:not(.print-mode) dialog.app-customer-dialog.is-directory-mode button.app-customer-choice.app-customer-choice {
  grid-template-columns: 38px minmax(0, 1fr) 72px;
  gap: 8px;
  min-height: 60px !important;
  padding: 8px !important;
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-avatar {
  width: 36px;
  height: 36px;
  border-radius: 5px;
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-copy {
  gap: 2px;
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-copy strong {
  font-size: calc(13px * var(--hub-ui-scale, 1));
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-copy small {
  overflow: hidden;
  font-size: calc(10.5px * var(--hub-ui-scale, 1));
  text-overflow: ellipsis;
  white-space: nowrap;
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-meta {
  display: none;
}

dialog.app-customer-dialog.is-directory-mode .app-customer-choice-open {
  min-width: 0;
  padding: 7px 6px;
  font-size: calc(10.5px * var(--hub-ui-scale, 1));
}

@media screen and (max-width: 900px) {
  dialog.app-customer-dialog.is-directory-mode .app-customer-dialog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 620px) {
  dialog.app-customer-dialog.is-directory-mode {
    width: calc(100vw - 16px);
  }

  dialog.app-customer-dialog.is-directory-mode .app-customer-dialog-list {
    grid-template-columns: minmax(0, 1fr);
  }

  html body:not(.print-mode) dialog.app-customer-dialog.is-directory-mode button.app-customer-choice.app-customer-choice {
    grid-template-columns: 38px minmax(0, 1fr) 62px;
    min-height: 62px !important;
    padding: 7px 8px !important;
  }

  dialog.app-customer-dialog.is-directory-mode .app-customer-choice-open {
    grid-column: auto;
    width: auto;
    padding: 6px 4px;
    font-size: calc(9.5px * var(--hub-ui-scale, 1));
  }

  html body.hub-shell-ready[data-view] .hub-customer-context.is-mobile-expanded .sidebar-customer-search {
    grid-template-columns: minmax(0, 1fr) 66px 34px !important;
    gap: 5px !important;
  }

  html body.hub-shell-ready[data-view] .hub-customer-context.is-mobile-expanded .sidebar-customer-directory {
    width: 66px !important;
  }

  html body.hub-shell-ready[data-view] .hub-customer-context.is-mobile-expanded .sidebar-customer-add {
    width: 34px !important;
  }
}
