/* Customer banking, loan and support screens. Loaded after the shared refresh. */
body.kb-ui-refresh .customer-task-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 12px;
  border: 1px solid var(--kb-refresh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--kb-refresh-shadow-sm);
}

body.kb-ui-refresh .customer-task-nav .btn {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #485a75;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

body.kb-ui-refresh .customer-task-nav .btn:hover,
body.kb-ui-refresh .customer-task-nav .btn:focus-visible {
  background: #eef3ff;
  color: #2447c8;
}

body.kb-ui-refresh .customer-task-nav .btn[aria-current="page"],
body.kb-ui-refresh .customer-task-nav .btn-primary {
  background: linear-gradient(125deg, #315ef4, #7048e8);
  color: #fff;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head,
body.kb-ui-refresh .customer-flow-page > .page-head {
  position: relative;
  align-items: center;
  min-height: 164px;
  margin-bottom: 24px;
  padding: 29px 34px;
  overflow: hidden;
  border: 1px solid #dbe5fa;
  border-radius: 22px;
  background: radial-gradient(circle at 92% 15%, rgba(112, 72, 232, .13), transparent 28%),
    linear-gradient(115deg, #f4f8ff 0%, #fff 59%, #f8f5ff 100%);
}

body.kb-ui-refresh .customer-task-nav ~ .page-head::before,
body.kb-ui-refresh .customer-flow-page > .page-head::before {
  position: absolute;
  top: -85px;
  right: 18%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(112, 72, 232, .14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head > *,
body.kb-ui-refresh .customer-flow-page > .page-head > * {
  position: relative;
  z-index: 1;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head h1,
body.kb-ui-refresh .customer-flow-page > .page-head h1 {
  margin: 5px 0 7px;
  color: #111d42;
  font-size: 32px;
  line-height: 1.26;
  letter-spacing: -.035em;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head p,
body.kb-ui-refresh .customer-flow-page > .page-head p {
  max-width: 680px;
  color: #536580;
  font-size: 15px;
  line-height: 1.6;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head .eyebrow,
body.kb-ui-refresh .customer-flow-page > .page-head .eyebrow {
  color: #5145cb;
  font-size: 12px;
  letter-spacing: .07em;
}

body.kb-ui-refresh .customer-task-nav ~ .page-head .eyebrow,
body.kb-ui-refresh .customer-support-page .card > .eyebrow {
  display: none;
}

body.kb-ui-refresh .customer-task-nav ~ .grid,
body.kb-ui-refresh .customer-flow-page > .grid {
  align-items: stretch;
  gap: 18px;
}

body.kb-ui-refresh .customer-task-nav ~ .card,
body.kb-ui-refresh .customer-task-nav ~ .grid .card,
body.kb-ui-refresh .customer-flow-page .card {
  min-width: 0;
  border: 1px solid var(--kb-refresh-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(24, 48, 96, .06);
}

body.kb-ui-refresh .customer-task-nav ~ .card,
body.kb-ui-refresh .customer-task-nav ~ .grid .card,
body.kb-ui-refresh .customer-flow-page .card:not(.chat-panel) {
  padding: 26px;
}

body.kb-ui-refresh .customer-task-nav ~ .card > h2,
body.kb-ui-refresh .customer-task-nav ~ .grid .card > h2,
body.kb-ui-refresh .customer-flow-page .card > h2,
body.kb-ui-refresh .customer-flow-page .card > h3 {
  margin: 0 0 16px;
  color: #18254c;
  font-size: 19px;
  line-height: 1.38;
  letter-spacing: -.025em;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .card > .muted,
body.kb-ui-refresh .customer-task-nav ~ .grid .card > span.muted,
body.kb-ui-refresh .customer-flow-page .card > .muted {
  color: #586982;
  font-size: 13px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .metric,
body.kb-ui-refresh .customer-flow-page .grid .metric {
  color: #1b2b60;
  font-size: 27px !important;
  font-weight: 820;
  line-height: 1.3;
  letter-spacing: -.04em;
}

body.kb-ui-refresh .customer-task-nav ~ .grid.grid-3 > .card:has(> .metric),
body.kb-ui-refresh .customer-task-nav ~ .grid.grid-4 > .card:has(> .metric),
body.kb-ui-refresh .customer-flow-page > .grid.grid-3 > .card:has(> h2) {
  position: relative;
  overflow: hidden;
  border-top: 3px solid #5a69eb;
  background: linear-gradient(155deg, #fff, #f9fbff);
}

body.kb-ui-refresh .customer-task-nav ~ .grid.grid-3 > .card:has(> .metric)::after,
body.kb-ui-refresh .customer-task-nav ~ .grid.grid-4 > .card:has(> .metric)::after {
  position: absolute;
  top: -33px;
  right: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(94, 103, 232, .06);
  content: "";
}

body.kb-ui-refresh .customer-task-nav ~ .grid.grid-3 > .card:nth-child(3n + 2):has(> .metric),
body.kb-ui-refresh .customer-flow-page > .grid.grid-3 > .card:nth-child(3n + 2):has(> h2) {
  border-top-color: #885ce9;
}

body.kb-ui-refresh .customer-task-nav ~ .grid.grid-3 > .card:nth-child(3n):has(> .metric),
body.kb-ui-refresh .customer-flow-page > .grid.grid-3 > .card:nth-child(3n):has(> h2) {
  border-top-color: #edb633;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .field-hint,
body.kb-ui-refresh .customer-task-nav ~ .card .field-hint,
body.kb-ui-refresh .customer-flow-page .field-hint {
  color: #62728a;
  font-size: 12px;
  line-height: 1.55;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .detail-row,
body.kb-ui-refresh .customer-task-nav ~ .card .detail-row,
body.kb-ui-refresh .customer-flow-page .detail-row {
  border-bottom-color: #e8edf6;
  font-size: 14px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .detail-row dt,
body.kb-ui-refresh .customer-task-nav ~ .card .detail-row dt,
body.kb-ui-refresh .customer-flow-page .detail-row dt {
  color: #64738a;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .detail-row dd,
body.kb-ui-refresh .customer-task-nav ~ .card .detail-row dd,
body.kb-ui-refresh .customer-flow-page .detail-row dd {
  color: #192744;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .table-wrap,
body.kb-ui-refresh .customer-task-nav ~ .card .table-wrap,
body.kb-ui-refresh .customer-flow-page .table-wrap {
  overflow-x: auto;
  border: 1px solid #e6ebf4;
  border-radius: 13px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .table th,
body.kb-ui-refresh .customer-task-nav ~ .card .table th,
body.kb-ui-refresh .customer-flow-page .table th {
  padding: 13px 15px;
  background: #f5f7fc;
  color: #50617b;
  font-size: 12px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .table td,
body.kb-ui-refresh .customer-task-nav ~ .card .table td,
body.kb-ui-refresh .customer-flow-page .table td {
  padding: 16px 15px;
  color: #243249;
  font-size: 13px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .table tbody tr:hover,
body.kb-ui-refresh .customer-task-nav ~ .card .table tbody tr:hover,
body.kb-ui-refresh .customer-flow-page .table tbody tr:hover {
  background: #f8faff;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .empty,
body.kb-ui-refresh .customer-task-nav ~ .card .empty,
body.kb-ui-refresh .customer-flow-page .empty:not(.card) {
  margin: 4px 0;
  padding: 38px 22px;
  border: 1px dashed #cbd8ee;
  border-radius: 14px;
  background: #f8faff;
  color: #596a81;
  font-size: 14px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .notice-item,
body.kb-ui-refresh .customer-task-nav ~ .card .notice-item,
body.kb-ui-refresh .customer-flow-page .notice-item {
  padding: 16px 0;
  border-bottom-color: #e8edf6;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .notice-item strong,
body.kb-ui-refresh .customer-task-nav ~ .card .notice-item strong,
body.kb-ui-refresh .customer-flow-page .notice-item strong {
  color: #1c2a4b;
  font-size: 14px;
}

body.kb-ui-refresh .customer-task-nav ~ .grid .service-link,
body.kb-ui-refresh .customer-task-nav ~ .card .service-link {
  color: #3154c9;
  font-size: 13px;
  font-weight: 760;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory {
  margin-top: 26px;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-card {
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-card:hover {
  transform: translateY(-4px);
  border-color: #b8c8f6;
  box-shadow: 0 16px 36px rgba(51, 70, 141, .12);
}

body.kb-ui-refresh .service-card-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 13px;
  border-radius: 14px;
  background: #ecf2ff;
  color: #315ef4;
}

body.kb-ui-refresh .service-card:nth-child(3n + 2) .service-card-icon {
  background: #f2edff;
  color: #7650d6;
}

body.kb-ui-refresh .service-card:nth-child(3n) .service-card-icon {
  background: #fff7dc;
  color: #9b6900;
}

body.kb-ui-refresh .service-card-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-card h2 {
  margin: 0 0 7px;
  color: #1b2950;
  font-size: 18px;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-card p {
  margin: 0;
  color: #5c6b82;
  font-size: 13px;
  line-height: 1.6;
}

body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-link {
  margin-top: auto;
  padding-top: 18px;
}

body.kb-ui-refresh .customer-flow-page .stepper {
  gap: 10px;
  margin: 0 0 24px;
}

body.kb-ui-refresh .customer-flow-page .step {
  min-width: 0;
  padding: 17px;
  border-color: #dce4f0;
  border-radius: 14px;
  background: #fff;
  color: #64738a;
  font-size: 12px;
  line-height: 1.45;
}

body.kb-ui-refresh .customer-flow-page .step strong {
  color: #22304e;
  font-size: 14px;
}

body.kb-ui-refresh .customer-flow-page .step-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
}

body.kb-ui-refresh .customer-flow-page .step.done {
  border-color: #b5dfd0;
  background: #f3fbf7;
}

body.kb-ui-refresh .customer-flow-page .step.current {
  border-color: #9dacf4;
  background: #f2f5ff;
  box-shadow: 0 8px 20px rgba(49, 94, 244, .08);
}

body.kb-ui-refresh .customer-flow-page .step.current .step-index {
  background: #514be5;
}

body.kb-ui-refresh .customer-flow-page form > label:has(input[type="checkbox"]) {
  padding: 13px 15px;
  border: 1px solid #dbe4f3;
  border-radius: 12px;
  background: #f8faff;
  color: #263550;
  font-size: 13px;
  line-height: 1.5;
}

body.kb-ui-refresh .customer-flow-page form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #4056e9;
  flex: none;
}

body.kb-ui-refresh .customer-loan-page > .page-head {
  background: radial-gradient(circle at 87% 13%, rgba(114, 81, 221, .2), transparent 27%),
    linear-gradient(115deg, #eaf1ff, #fff 62%, #f3efff);
}

body.kb-ui-refresh .customer-loan-page .card .eyebrow,
body.kb-ui-refresh .customer-support-page .card .eyebrow {
  color: #5c4bd3;
  font-size: 12px;
}

body.kb-ui-refresh .customer-loan-page .card .alert-success {
  border-color: #b9d9cc;
  background: #effaf5;
  color: #156747;
}

body.kb-ui-refresh .customer-support-page .ticket-content {
  padding: 22px;
  border: 1px solid #e1e8f5;
  border-radius: 13px;
  background: #f8faff;
  color: #273550;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.kb-ui-refresh .customer-support-page .attachment {
  border-color: #dce4f0;
  border-radius: 12px;
  background: #fbfcff;
}

body.kb-ui-refresh .customer-support-page .attachment-name {
  color: #263550;
  font-size: 13px;
}

body.kb-ui-refresh .customer-channel-page .chat-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, .78fr);
  gap: 18px;
}

body.kb-ui-refresh .customer-channel-page .chat-panel {
  padding: 0;
  overflow: hidden;
}

body.kb-ui-refresh .customer-channel-page .chat-panel-head {
  gap: 15px;
  padding: 21px 24px;
  border: 0;
  background: linear-gradient(115deg, #132857, #3e3196);
  color: #fff;
}

body.kb-ui-refresh .customer-channel-page .chat-panel-head strong {
  font-size: 17px;
}

body.kb-ui-refresh .customer-channel-page .chat-panel-head .field-hint {
  color: #d7e1fa;
}

body.kb-ui-refresh .customer-channel-page .chat-presence {
  flex: none;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
}

body.kb-ui-refresh .customer-channel-page .chat-messages {
  height: 430px;
  padding: 24px;
  background: #f5f7fc;
}

body.kb-ui-refresh .customer-channel-page .chat-message-bot,
body.kb-ui-refresh .customer-channel-page .chat-message-staff {
  border-color: #dbe4f1;
  box-shadow: 0 4px 12px rgba(26, 47, 86, .06);
}

body.kb-ui-refresh .customer-channel-page .chat-message-user {
  background: linear-gradient(135deg, #315ef4, #6548db);
}

body.kb-ui-refresh .customer-channel-page .chat-message-system {
  color: #566780;
  font-size: 12px;
}

body.kb-ui-refresh .customer-channel-page .chat-intents {
  gap: 8px;
  padding: 15px 17px 5px;
}

body.kb-ui-refresh .customer-channel-page .chat-intents button {
  min-height: 36px;
  border-color: #cbd7ed;
  background: #f8faff;
  color: #3353a0;
  font-size: 12px;
}

body.kb-ui-refresh .customer-channel-page .chat-intents button:hover {
  border-color: #7d9ce9;
  background: #edf3ff;
}

body.kb-ui-refresh .customer-channel-page .chat-composer {
  align-items: stretch;
  padding: 15px 17px 9px;
}

body.kb-ui-refresh .customer-channel-page .chat-composer .input {
  min-width: 0;
}

body.kb-ui-refresh .customer-channel-page .chat-handoff {
  margin: 2px 17px 17px;
  width: calc(100% - 34px);
}

body.kb-ui-refresh .customer-channel-page .chat-aside .card {
  padding: 23px;
}

body.kb-ui-refresh .customer-channel-page .chat-aside .card:last-child {
  border-top: 3px solid #f0bf4f;
  background: #fffcf3;
}

/* Account profile and customer search keep the same visual scale as the task screens. */
body.kb-ui-refresh .profile-page-head {
  align-items: center;
  min-height: 150px;
  padding: 29px 34px;
  border: 1px solid #dce5f5;
  border-radius: 22px;
  background: linear-gradient(112deg, #eef4ff, #fff 60%, #f6f1ff);
}

body.kb-ui-refresh .profile-page-head h1 {
  margin: 5px 0 6px;
  color: #142348;
  font-size: 32px;
}

body.kb-ui-refresh .profile-page-head p {
  color: #586981;
  font-size: 15px;
}

body.kb-ui-refresh .profile-summary-card,
body.kb-ui-refresh .profile-setting-card {
  border-color: var(--kb-refresh-line);
  border-radius: 19px;
  box-shadow: var(--kb-refresh-shadow-sm);
}

body.kb-ui-refresh .profile-summary-avatar {
  border-radius: 50%;
  background: linear-gradient(145deg, #dfe9ff, #ede6ff);
  color: #3658d4;
}

body.kb-ui-refresh .profile-summary-card > p,
body.kb-ui-refresh .profile-setting-head p,
body.kb-ui-refresh .profile-field small,
body.kb-ui-refresh .profile-form-actions > span,
body.kb-ui-refresh .profile-password-notice strong,
body.kb-ui-refresh .profile-password-notice p,
body.kb-ui-refresh .profile-summary-card dl > div {
  color: #62728a;
  font-size: 12px;
  line-height: 1.55;
}

body.kb-ui-refresh .profile-summary-card dd,
body.kb-ui-refresh .profile-setting-head h2,
body.kb-ui-refresh .profile-field > span {
  color: #24314f;
}

body.kb-ui-refresh .profile-setting-icon {
  border-radius: 13px;
  background: #eaf1ff;
  color: #3658d4;
}

body.kb-ui-refresh .profile-setting-icon.profile-lock-icon {
  background: #f0eaff;
  color: #7650d6;
}

body.kb-ui-refresh .profile-setting-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.kb-ui-refresh .profile-lock-icon::after {
  display: none;
}

body.kb-ui-refresh .profile-field > span {
  font-size: 13px;
}

body.kb-ui-refresh .profile-field .input {
  font-size: 14px;
}

body.kb-ui-refresh .profile-password-notice {
  background: #f1f5ff;
}

body.kb-ui-refresh .bank-search-card,
body.kb-ui-refresh .bank-search-empty,
body.kb-ui-refresh .bank-search-results {
  border: 1px solid var(--kb-refresh-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--kb-refresh-shadow-sm);
}

body.kb-ui-refresh .bank-search-card {
  padding: 30px;
  background: linear-gradient(115deg, #edf3ff, #fff 66%, #f6f2ff);
}

body.kb-ui-refresh .bank-search-form {
  height: 56px;
  overflow: hidden;
  border: 1px solid #aabbe0;
  border-radius: 12px;
  background: #fff;
}

body.kb-ui-refresh .bank-search-form:focus-within {
  border-color: #315ef4;
  box-shadow: 0 0 0 4px rgba(49, 94, 244, .12);
}

body.kb-ui-refresh .bank-search-form input {
  color: #1d2941;
  font-size: 15px;
}

body.kb-ui-refresh .bank-search-form button {
  background: linear-gradient(135deg, #315ef4, #6648de);
  color: #fff;
}

body.kb-ui-refresh .bank-search-keywords {
  gap: 8px;
  color: #52647d;
  font-size: 12px;
}

body.kb-ui-refresh .bank-search-keywords span {
  margin-right: 6px;
  color: #40516b;
}

body.kb-ui-refresh .bank-search-keywords a {
  padding: 5px 11px;
  border: 1px solid #cdd9ed;
  border-radius: 999px;
  background: #fff;
  color: #35539a;
  font-weight: 700;
}

body.kb-ui-refresh .bank-search-keywords a:hover {
  border-color: #849fe5;
  background: #f1f5ff;
  text-decoration: none;
}

body.kb-ui-refresh .bank-search-results {
  padding: 24px 28px;
}

body.kb-ui-refresh .bank-search-results-head {
  border-bottom-color: #dbe4f2;
}

body.kb-ui-refresh .bank-search-results-head h2 strong,
body.kb-ui-refresh .bank-search-list > a > span {
  color: #4554d4;
}

body.kb-ui-refresh .bank-search-list > a {
  border-bottom-color: #e6ecf5;
  border-radius: 10px;
}

body.kb-ui-refresh .bank-search-list > a:hover {
  background: #f6f8ff;
}

body.kb-ui-refresh .bank-search-list h3 {
  color: #1c2a49;
}

body.kb-ui-refresh .bank-search-list p,
body.kb-ui-refresh .bank-search-notices time,
body.kb-ui-refresh .bank-search-results-head > span {
  color: #607087;
}

body.kb-ui-refresh .bank-search-notices article {
  border-top-color: #e6ecf5;
}

body.kb-ui-refresh .bank-search-notices article span {
  border-radius: 999px;
  background: #eeeaff;
  color: #6546c7;
}

body.kb-ui-refresh .bank-search-empty {
  padding: 65px 24px;
}

body.kb-ui-refresh .bank-search-empty > span {
  background: #eef2ff;
  color: #4a5cdb;
}

body.kb-ui-refresh .bank-search-empty p {
  color: #607087;
}

body.kb-ui-refresh .bank-search-empty a {
  color: #3154c9;
}

@media (max-width: 900px) {
  body.kb-ui-refresh .customer-channel-page .chat-layout {
    grid-template-columns: 1fr;
  }

  body.kb-ui-refresh .customer-channel-page .chat-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.kb-ui-refresh .customer-channel-page .chat-aside .card {
    margin-top: 0 !important;
  }

  body.kb-ui-refresh .customer-channel-page .chat-aside .card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body.kb-ui-refresh .profile-page-head {
    padding: 25px 22px;
    border-radius: 18px;
  }

  body.kb-ui-refresh .profile-page-head h1 {
    font-size: 27px;
  }

  body.kb-ui-refresh .profile-page-head .btn {
    width: 100%;
  }

  body.kb-ui-refresh .bank-search-card {
    padding: 20px;
  }

  body.kb-ui-refresh .bank-search-results {
    padding: 18px;
  }

  body.kb-ui-refresh .customer-task-nav {
    flex-wrap: nowrap;
    margin-right: -16px;
    margin-left: -16px;
    padding: 10px 16px;
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scrollbar-width: thin;
  }

  body.kb-ui-refresh .customer-task-nav .btn {
    flex: none;
  }

  body.kb-ui-refresh .customer-task-nav ~ .page-head,
  body.kb-ui-refresh .customer-flow-page > .page-head {
    min-height: 0;
    padding: 25px 22px;
    border-radius: 18px;
  }

  body.kb-ui-refresh .customer-task-nav ~ .page-head h1,
  body.kb-ui-refresh .customer-flow-page > .page-head h1 {
    font-size: 27px;
  }

  body.kb-ui-refresh .customer-task-nav ~ .page-head .btn,
  body.kb-ui-refresh .customer-flow-page > .page-head .btn {
    width: 100%;
  }

  body.kb-ui-refresh .customer-task-nav ~ .card,
  body.kb-ui-refresh .customer-task-nav ~ .grid .card,
  body.kb-ui-refresh .customer-flow-page .card:not(.chat-panel) {
    padding: 20px;
  }

  body.kb-ui-refresh .customer-service-nav ~ .service-directory .service-card {
    min-height: 0;
  }

  body.kb-ui-refresh .customer-flow-page .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kb-ui-refresh .customer-channel-page .chat-aside {
    grid-template-columns: 1fr;
  }

  body.kb-ui-refresh .customer-channel-page .chat-aside .card:first-child {
    grid-column: auto;
  }

  body.kb-ui-refresh .customer-channel-page .chat-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.kb-ui-refresh .customer-channel-page .chat-messages {
    height: 350px;
    padding: 17px;
  }
}
