.wa-inbox-page {
  min-height: min(820px, calc(100vh - 108px));
}

.wa-inbox-page [hidden] {
  display: none !important;
}

.wa-inbox-page-header {
  display: block;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(18, 24, 14, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
}

.wa-inbox-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wa-inbox-page-header .eyebrow {
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.wa-inbox-page-header h1 {
  margin-bottom: 3px;
  font-size: 22px;
  letter-spacing: -.8px;
}

.wa-inbox-page-header .wa-inbox-header-row > div:first-child > p:not(.eyebrow) {
  margin: 0;
  font-size: 11px;
}

.wa-inbox-page-header .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 9px;
}

.wa-inbox-unread {
  color: #56613d;
  background: rgba(190, 255, 0, .16);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 800;
}

.wa-inbox-metrics {
  display: grid;
  gap: 13px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wa-inbox-metrics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wa-inbox-metrics-head .eyebrow {
  margin: 0 0 3px;
  color: #77806d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.wa-inbox-metrics-head h2 {
  margin: 0 0 3px;
  color: #1f231d;
  font-size: 17px;
  letter-spacing: -.45px;
}

.wa-inbox-metrics-head p:not(.eyebrow) {
  margin: 0;
  color: #727a6c;
  font-size: 11px;
}

.wa-inbox-period {
  display: grid;
  flex: 0 0 150px;
  gap: 5px;
  color: #6d7567;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.wa-inbox-period select {
  width: 100%;
  min-height: 30px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(18, 24, 14, .15);
  border-radius: 8px;
  background: #fff;
  color: #30372c;
  font: 700 10px/1.2 inherit;
  text-transform: none;
}

.wa-inbox-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.wa-inbox-metric {
  display: grid;
  min-height: 77px;
  align-content: space-between;
  gap: 6px;
  padding: 11px 12px 10px;
  border: 1px solid #e4e8df;
  border-radius: 10px;
  background: #fff;
}

.wa-inbox-metric span {
  color: #6d7567;
  font-size: 10px;
  font-weight: 800;
}

.wa-inbox-metric strong {
  color: #20231e;
  font-size: 23px;
  letter-spacing: -.8px;
  line-height: 1;
}

.wa-inbox-metric small {
  color: #899082;
  font-size: 9px;
}

.wa-inbox-metric.is-pending {
  border-color: rgba(202, 122, 0, .25);
  background: #fffdf8;
}

.wa-inbox-metric.is-pending strong {
  color: #a05a00;
}

.wa-inbox-metrics-note {
  margin: -3px 0 0;
  color: #8a9184;
  font-size: 10px;
  text-align: right;
}

.wa-inbox-notification {
  position: fixed;
  top: 78px;
  right: 22px;
  z-index: 1200;
  width: min(360px, calc(100vw - 34px));
  animation: wa-inbox-notification-in .24s ease-out both;
}

.wa-inbox-notification[hidden] {
  display: none !important;
}

.wa-inbox-notification-button {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(126, 159, 0, .3);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 31, 14, .18);
  color: #20221c;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.wa-inbox-notification-button:hover,
.wa-inbox-notification-button:focus-visible {
  border-color: #b9df16;
  outline: 2px solid rgba(185, 223, 22, .25);
  outline-offset: 2px;
}

.wa-inbox-notification-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #caff00;
  color: #26320a;
  font-size: 23px;
  font-weight: 900;
}

.wa-inbox-notification-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.wa-inbox-notification-copy strong {
  font-size: 12px;
  font-weight: 850;
}

.wa-inbox-notification-copy span {
  overflow: hidden;
  color: #72786a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-inbox-notification-copy b {
  color: #394526;
}

.wa-inbox-notification-close {
  align-self: start;
  color: #8a8e84;
  font-size: 18px;
  line-height: 1;
}

@keyframes wa-inbox-notification-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-inbox-setup {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid rgba(146, 191, 0, .34);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(190, 255, 0, .1), rgba(255, 255, 255, .94) 48%);
  color: #18200c;
}

.wa-inbox-setup-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wa-inbox-setup-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: #1b230d;
  background: #caff00;
  font-weight: 900;
}

.wa-inbox-setup-copy strong {
  display: block;
  margin: 1px 0 4px;
  font-size: 14px;
}

.wa-inbox-setup-copy p,
.wa-inbox-setup > small {
  margin: 0;
  color: #5b6253;
  font-size: 12px;
  line-height: 1.55;
}

.wa-inbox-setup-copy code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(18, 20, 15, .07);
  color: #2c3618;
  font-size: 11px;
  font-weight: 800;
}

.wa-inbox-hook-row {
  display: flex;
  gap: 8px;
}

.wa-inbox-hook-row input {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(22, 28, 14, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .85);
  color: #48503e;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.wa-inbox-hook-row .button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  font-size: 12px;
}

.wa-inbox-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  height: min(650px, calc(100vh - 280px));
  min-height: min(650px, calc(100vh - 280px));
  overflow: hidden;
  border: 1px solid rgba(18, 24, 14, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(20, 25, 12, .06);
}

.wa-inbox-list-pane {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid #e8eae5;
  background: #fcfcfa;
}

.wa-inbox-list-tools {
  padding: 14px;
  border-bottom: 1px solid #e8eae5;
}

.wa-inbox-search {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #e3e6de;
  border-radius: 9px;
  background: #fff;
}

.wa-inbox-search-icon {
  color: #7b8173;
  font-size: 23px;
  line-height: 1;
}

.wa-inbox-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #20221c;
  font: inherit;
  font-size: 13px;
}

.wa-inbox-filters {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.wa-inbox-filters button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #e1e5db;
  border-radius: 999px;
  background: #fff;
  color: #656b5f;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.wa-inbox-filters button.is-active {
  border-color: #c5f200;
  background: #efffc5;
  color: #242c13;
}

.wa-inbox-conversation-list {
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.wa-inbox-conversation {
  display: grid;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 0;
  border-bottom: 1px solid #eff0ed;
  background: transparent;
  color: #20221c;
  cursor: pointer;
  text-align: left;
}

.wa-inbox-conversation:hover,
.wa-inbox-conversation.is-active {
  background: #f3f7e9;
}

.wa-inbox-avatar {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: #e9efd9;
  color: #48572a;
  font-size: 15px;
  font-weight: 850;
}

.wa-inbox-avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-inbox-avatar-fallback {
  position: relative;
  z-index: 0;
}

.wa-inbox-conversation-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.wa-inbox-conversation-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.wa-inbox-conversation-title strong {
  min-width: 0;
  flex: 1 1 auto;
}

.wa-inbox-student-badge {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgba(145, 195, 0, .48);
  border-radius: 999px;
  background: #f2ffd5;
  color: #526f16;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.wa-inbox-conversation-copy strong,
.wa-inbox-conversation-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-inbox-conversation-copy strong {
  font-size: 13px;
  font-weight: 800;
}

.wa-inbox-conversation-copy small {
  color: #74796e;
  font-size: 11px;
}

.wa-inbox-conversation.has-unread .wa-inbox-conversation-copy strong {
  color: #1e2810;
}

.wa-inbox-conversation-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.wa-inbox-conversation-meta time {
  color: #8a8e84;
  font-size: 10px;
}

.wa-inbox-conversation-meta b {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #caff00;
  color: #18200c;
  font-size: 10px;
}

.wa-inbox-empty-list {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 20px;
  color: #858a7f;
  font-size: 12px;
  text-align: center;
}

.wa-inbox-empty-list strong {
  color: #454a3f;
  font-size: 13px;
}

.wa-inbox-empty-list span {
  max-width: 245px;
  line-height: 1.5;
}

.wa-inbox-chat-pane {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background-color: #f6f7f1;
  background-image: radial-gradient(rgba(64, 77, 40, .07) .7px, transparent .7px);
  background-size: 15px 15px;
}

.wa-inbox-empty-chat {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px;
  color: #74796e;
  text-align: center;
}

.wa-inbox-empty-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 5px;
  border: 1px solid #dce2d0;
  border-radius: 50%;
  color: #7c8c52;
  font-size: 30px;
}

.wa-inbox-empty-chat strong {
  color: #383d32;
  font-size: 16px;
}

.wa-inbox-empty-chat p {
  max-width: 300px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.wa-inbox-chat-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border-bottom: 1px solid #e2e5dc;
  background: rgba(255, 255, 255, .96);
}

.wa-inbox-chat-header > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.wa-inbox-chat-header > div strong {
  overflow: hidden;
  color: #20221c;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-inbox-chat-header > div small {
  color: #81867b;
  font-size: 11px;
}

.wa-inbox-phone-link {
  margin-left: auto;
  color: #596633;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.wa-inbox-phone-link[hidden] {
  display: none;
}

.wa-inbox-back {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #30362a;
  cursor: pointer;
  font-size: 28px;
}

.wa-inbox-messages {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding: 18px clamp(12px, 3vw, 30px);
}

.wa-inbox-messages-loading {
  margin: auto;
  color: #7b8173;
  font-size: 12px;
}

.wa-inbox-message-row {
  display: flex;
  width: 100%;
}

.wa-inbox-message-row.is-outgoing {
  justify-content: flex-end;
}

.wa-inbox-message {
  max-width: min(76%, 560px);
  padding: 9px 11px 6px;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 12px 12px 12px 3px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(20, 25, 12, .04);
}

.wa-inbox-message-row.is-outgoing .wa-inbox-message {
  border-radius: 12px 12px 3px 12px;
  background: #eaffad;
}

.wa-inbox-message p {
  margin: 0;
  color: #272b23;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.wa-inbox-audio-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0 0 3px;
  padding: 7px 11px;
  border: 1px solid rgba(143, 183, 0, .38);
  border-radius: 999px;
  background: rgba(234, 255, 173, .42);
  color: #3d5100;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.wa-inbox-audio-button:hover,
.wa-inbox-audio-button:focus-visible,
.wa-inbox-audio-button.is-playing {
  background: #eaffad;
  outline: none;
}

.wa-inbox-audio-button:disabled {
  cursor: default;
  opacity: .62;
}

.wa-inbox-audio-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  font-size: 11px;
  line-height: 1;
}

.wa-inbox-message time {
  margin-top: 4px;
  color: #858b7c;
  font-size: 9px;
}

.wa-inbox-message-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 17px;
}

.wa-inbox-reaction-button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #777d70;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: .62;
}

.wa-inbox-reaction-button:hover,
.wa-inbox-reaction-button:focus-visible,
.wa-inbox-reaction-button.is-reacted {
  border-color: rgba(143, 183, 0, .35);
  background: #f0facd;
  opacity: 1;
  outline: none;
}

.wa-inbox-reaction-button:disabled {
  cursor: default;
}

.wa-inbox-composer {
  position: relative;
  display: block;
  padding: 12px;
  border-top: 1px solid #e2e5dc;
  background: rgba(255, 255, 255, .97);
}

.wa-inbox-composer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 42px;
  align-items: end;
  gap: 9px;
}

.wa-inbox-composer textarea {
  width: 100%;
  min-height: 42px;
  max-height: 130px;
  resize: vertical;
  padding: 11px 13px;
  border: 1px solid #e1e5db;
  border-radius: 10px;
  outline-color: #a9d500;
  background: #fff;
  color: #20221c;
  font: inherit;
  font-size: 13px;
}

.wa-inbox-composer .button {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border-radius: 11px;
  font-size: 18px;
}

.wa-inbox-composer .button:disabled {
  cursor: wait;
  opacity: .58;
}

.wa-inbox-emoji-wrap {
  position: relative;
}

.wa-inbox-emoji-toggle {
  display: grid;
  width: 36px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #e1e5db;
  border-radius: 11px;
  background: #fff;
  color: #66705a;
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.wa-inbox-emoji-toggle:hover,
.wa-inbox-emoji-toggle:focus-visible {
  border-color: #b9df16;
  background: #f7fbdc;
  outline: none;
}

.wa-inbox-emoji-picker {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 4px;
  padding: 7px;
  border: 1px solid #e1e5db;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 25, 12, .14);
}

.wa-inbox-emoji-picker[hidden] {
  display: none;
}

.wa-inbox-emoji-picker button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.wa-inbox-emoji-picker button:hover,
.wa-inbox-emoji-picker button:focus-visible {
  background: #f0facd;
  outline: none;
}

.wa-inbox-composer > small {
  min-height: 13px;
  margin-top: 5px;
  color: #9b4c36;
  font-size: 10px;
}

@media (max-width: 760px) {
  .wa-inbox-page {
    min-height: calc(100dvh - 105px);
  }

  .wa-inbox-page-header {
    gap: 10px;
  }

  .wa-inbox-shell {
    position: relative;
    display: block;
    height: min(680px, calc(100dvh - 310px));
    min-height: min(680px, calc(100dvh - 310px));
    height: min(680px, calc(100dvh - 310px));
    border-radius: 13px;
  }

  .wa-inbox-list-pane,
  .wa-inbox-chat-pane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .wa-inbox-chat-pane {
    display: none;
  }

  .wa-inbox-page.has-selected-chat .wa-inbox-list-pane {
    display: none;
  }

  .wa-inbox-page.has-selected-chat .wa-inbox-chat-pane {
    display: flex;
  }

  .wa-inbox-back {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
  }

  .wa-inbox-hook-row {
    align-items: stretch;
    flex-direction: column;
  }

  .wa-inbox-hook-row input {
    width: 100%;
    flex: initial;
  }

  .wa-inbox-setup {
    padding: 13px;
  }

  .wa-inbox-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wa-inbox-period {
    flex: 1 1 auto;
  }

  .wa-inbox-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-inbox-notification {
    top: 68px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 430px) {
  .wa-inbox-page-header .page-actions {
    gap: 6px;
  }

  .wa-inbox-unread {
    padding: 6px 8px;
    font-size: 10px;
  }

  .wa-inbox-page-header .button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .wa-inbox-metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the WhatsApp page header compact against the Hub's shared page styles. */
.page > .wa-inbox-page-header {
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(18, 24, 14, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
}

.page > .wa-inbox-page-header .eyebrow {
  margin: 0 0 3px;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.page > .wa-inbox-page-header h1 {
  margin: 0 0 3px;
  font-size: 22px;
  letter-spacing: -.8px;
}

.page > .wa-inbox-page-header .wa-inbox-header-row > div:first-child > p:not(.eyebrow) {
  margin: 0;
  font-size: 11px;
}

.page > .wa-inbox-page-header .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 9px;
}

.page > .wa-inbox-page-header .wa-inbox-unread {
  padding: 6px 9px;
  font-size: 10px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header {
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(18, 24, 14, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .eyebrow {
  margin: 0 0 3px;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header h1 {
  margin: 0 0 3px;
  font-size: 22px;
  letter-spacing: -.8px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-header-row > div:first-child > p:not(.eyebrow) {
  margin: 0;
  font-size: 11px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 9px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-unread {
  padding: 6px 9px;
  font-size: 10px;
}

/* Keep the title and controls together, then give the indicators their own row. */
.page.wa-inbox-page > .page-header.wa-inbox-page-header {
  display: block !important;
  border-top: 3px solid rgba(190, 255, 0, .72);
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-metrics {
  margin-top: 16px;
  gap: 10px;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-metric {
  position: relative;
  overflow: hidden;
  border-color: rgba(92, 109, 73, .18);
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-metric::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 0 0 4px 0;
  background: #baff00;
  content: "";
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-metric:nth-child(-n + 2) strong {
  color: #526f16;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-period select {
  border-color: rgba(145, 195, 0, .5);
  background: #fcfff4;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-period select:focus {
  border-color: #9fda00;
  box-shadow: 0 0 0 3px rgba(190, 255, 0, .16);
  outline: none;
}

.page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-metrics-note {
  display: none;
}

@media (max-width: 760px) {
  .page.wa-inbox-page > .page-header.wa-inbox-page-header .wa-inbox-header-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .page.wa-inbox-page > .page-header.wa-inbox-page-header .page-actions {
    justify-content: flex-start;
  }
}
