* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: #172b45;
  font:
    13px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
textarea,
select {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 1px solid #bac8da;
  border-radius: 7px;
  background: #fff;
  padding: 4px 9px;
  color: #34465c;
  line-height: 18px;
}
button:hover {
  background: #f2f5f8;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid #497fc8;
  outline-offset: 2px;
}
.primary {
  background: #245cdb;
  border-color: #245cdb;
  color: #fff;
}
.primary:hover {
  background: #1846ad;
}
[hidden] {
  display: none !important;
}
.chat-page {
  height: 100dvh;
  overflow: hidden;
}
.chat-page .shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  min-height: 42px;
  border-bottom: 1px solid #cad5e4;
  background: #f4f7fc;
  flex-shrink: 0;
}
.chat-header h1 {
  margin: 0 4px 0 0;
  color: #14263f;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.embedded .standalone-brand {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex-shrink: 0;
}
.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e5ebf4;
  color: #415675;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  max-width: 70%;
}
.connection-state > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.connection-state svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.connection-state[data-tone="success"] {
  background: #d3f4e6;
  color: #08704b;
}
.connection-state[data-tone="busy"] {
  background: #dbe8ff;
  color: #194caf;
}
.connection-state[data-tone="attention"] {
  background: #ffedbb;
  color: #825000;
}
.connection-state[data-tone="customer"] {
  background: #eee5ff;
  color: #6731a6;
}
.connection-state[data-tone="danger"] {
  background: #ffe0dc;
  color: #a52e24;
}
.aiden-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  flex-shrink: 0;
  animation: aiden-spin 0.75s linear infinite;
}
@keyframes aiden-spin {
  to {
    transform: rotate(360deg);
  }
}
.working-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 8px 0 12px;
  padding: 9px;
  border-radius: 9px;
  background: #eaf1ff;
  color: #1746ad;
}
.working-indicator .aiden-spinner {
  width: 22px;
  height: 22px;
  border-width: 2.5px;
}
@media (prefers-reduced-motion: reduce) {
  .aiden-spinner {
    animation: none;
  }
}
.conversation-menu {
  position: relative;
  margin: 0;
}
.conversation-menu > summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  font-size: 20px;
  line-height: 18px;
  color: #14263f;
}
.conversation-menu > summary::-webkit-details-marker {
  display: none;
}
.conversation-menu > summary:hover {
  background: #edf1f5;
}
.options-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  z-index: 20;
  width: 210px;
  padding: 9px;
  border: 1px solid #d8e0e8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 16px #233c571c;
}
.options-menu p {
  margin: 0 4px 2px;
  font-size: 12px;
  font-weight: 600;
}
.options-menu .menu-secondary {
  color: #738195;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 8px;
}
.options-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  padding: 5px 4px;
}
.login-panel {
  padding: 28px 20px;
}
.login-panel h2 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.login-panel p {
  margin: 0 0 12px;
  color: #6c7a8b;
  font-size: 12px;
}
.login-panel .muted {
  margin-top: 10px;
}
#workspace {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.waiting-bar,
.paused-bar {
  margin: 0;
  padding: 5px 12px;
  font-size: 11px;
  color: #6d4300;
  background: #fff1cc;
  border-bottom: 1px solid #ebcf8e;
  flex-shrink: 0;
}
.paused-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paused-bar button {
  font-size: 11px;
  padding: 0 6px;
  background: transparent;
  border-color: #d8cbac;
}
.timeline {
  flex: 1;
  min-height: 80px;
  overflow: auto;
  padding: 16px;
  scroll-behavior: auto;
}
.empty-state {
  margin: auto;
  padding: 24px;
  color: #738195;
  text-align: center;
  font-size: 12px;
}
.event {
  margin: 0 0 18px;
  max-width: 100%;
}
.event.employee {
  margin-left: auto;
  max-width: 90%;
}
.event.email {
  border-left: 2px solid #cbd5df;
  padding: 5px 10px;
  background: #f7f9fb;
}
.watchguard-notice,
.screening-notice {
  padding: 8px 10px;
  border: 1px solid #ecc7c5;
  border-left: 3px solid #b73a33;
  border-radius: 5px;
  background: #fff5f4;
  color: #882d28;
  font-size: 12px;
  white-space: normal;
}
.screening-notice > strong {
  display: block;
  font-size: 12px;
}
.screening-notice p {
  margin: 4px 0;
}
.screening-reference {
  color: #99615d;
  font-size: 11px;
}
.watchguard-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11px;
}
.watchguard-heading time {
  margin-left: auto;
  color: #99615d;
  font-size: 10px;
}
.watchguard-details {
  padding: 0;
  border: 0;
  background: none;
  color: #882d28;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.byline {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #62748c;
  font-size: 10px;
  margin-bottom: 4px;
}
.byline strong {
  font-size: 11px;
  color: #173252;
  font-weight: 750;
}
.byline time {
  margin-left: auto;
  white-space: nowrap;
}
.byline span:empty {
  display: none;
}
.message-body {
  padding: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.employee .message-body {
  padding: 9px 12px;
  background: #ecf2ff;
  border: 1px solid #d3def5;
  border-radius: 9px 9px 2px 9px;
}
.assistant .message-body,
.agent_question .message-body,
.email .message-body {
  white-space: normal;
}
.system {
  margin: 7px 0;
  font-size: 11px;
  color: #60728b;
}
.system .byline {
  display: none;
}
.message-body p {
  margin: 0 0 7px;
}
.message-body p:last-child {
  margin-bottom: 0;
}
.message-body h1,
.message-body h2,
.message-body h3,
.message-body h4,
.message-body h5,
.message-body h6 {
  margin: 12px 0 6px;
  font-weight: 600;
  line-height: 1.35;
  color: #34475e;
}
.message-body h1 {
  font-size: 17px;
}
.message-body h2 {
  font-size: 15px;
}
.message-body h3 {
  font-size: 13px;
}
.message-body > :first-child {
  margin-top: 0;
}
.message-body ul,
.message-body ol {
  padding-left: 20px;
  margin: 7px 0;
}
.message-body li {
  margin: 3px 0;
}
.message-body li > p {
  margin-bottom: 3px;
}
.message-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: normal;
  margin: 8px 0;
  border: 1px solid #e0e5eb;
}
.message-body th {
  text-align: left;
  background: #eaf0f9;
  color: #243e60;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
}
.message-body td {
  padding: 6px 8px;
  border-top: 1px solid #e5e9ef;
}
.message-body .table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.message-body .table-scroll table {
  min-width: 300px;
}
.message-body blockquote {
  margin: 8px 0;
  padding: 1px 0 1px 10px;
  border-left: 2px solid #c4d0df;
  color: #64758a;
}
.message-body code {
  font:
    11px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: #f0f3f7;
  border-radius: 3px;
  padding: 1px 4px;
}
.message-body pre {
  margin: 8px 0;
  padding: 8px 10px;
  max-width: 100%;
  overflow: auto;
  white-space: pre;
  border: 1px solid #e0e6ed;
  background: #f7f9fb;
  border-radius: 4px;
}
.message-body pre code {
  padding: 0;
  background: transparent;
}
.message-body hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #e0e6ed;
}
.message-body a {
  color: #315f9c;
  text-underline-offset: 2px;
}
#composer {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin: 0 12px 12px;
  padding: 7px;
  border: 1.5px solid #9eb1cc;
  border-radius: 10px;
  box-shadow: 0 3px 12px #14263f0a;
  background: #fff;
  flex-shrink: 0;
}
#composer:focus-within {
  border-color: #245cdb;
  box-shadow: 0 0 0 3px #245cdb14;
}
textarea {
  font: inherit;
  color: #2c3d51;
  outline: none;
}
#message {
  flex: 1;
  min-width: 0;
  min-height: 28px;
  max-height: 100px;
  width: 100%;
  resize: vertical;
  border: 0;
  background: transparent;
  padding: 4px 6px;
  line-height: 20px;
}
#message::placeholder {
  color: #94a0af;
}
.composer-actions {
  display: flex;
  gap: 3px;
  align-items: center;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 4px;
  border-radius: 5px;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.stop-action {
  background: #eef2f6;
  border-color: #d5dde8;
  color: #58677b;
}
.stop-action:hover {
  background: #e2e8f0;
  border-color: #bdc9d8;
  color: #263b53;
}
.latest {
  align-self: center;
  flex-shrink: 0;
  font-size: 10px;
  padding: 1px 8px;
  margin: 0 0 5px;
  color: #52749f;
}
.error {
  flex-shrink: 0;
  margin: 0 10px 8px;
  padding: 6px 8px;
  border: 1px solid #ebd0cd;
  border-radius: 4px;
  background: #fff8f7;
  color: #a14b43;
  font-size: 11px;
}
.question-card {
  border: 1px solid #b6c8ec;
  border-left: 4px solid #245cdb;
  border-radius: 8px;
  padding: 12px;
  background: #f2f6ff;
}
.question-card h3 {
  margin: 0 0 9px;
  font-weight: 750;
  font-size: 13px;
  line-height: 1.4;
}
.event.agent_question {
  margin-top: -6px;
}
.question-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.question-choices:empty {
  display: none;
}
.question-choice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
  padding: 4px 10px;
  border-color: #cbd8e8;
  color: #315f9c;
  font-size: 12px;
}
.question-choice.question-default {
  background: #245cdb;
  border-color: #245cdb;
  color: #fff;
  font-weight: 650;
}
.question-choice.question-default:hover {
  background: #1846ad;
  border-color: #1846ad;
}
.question-choice:hover {
  border-color: #8da9cc;
  background: #edf3fb;
}
.question-choice.question-rejection {
  background: #fff5f4;
  border-color: #e2aaa5;
  color: #ab2925;
}
.question-choice.question-rejection:hover {
  background: #ffe6e3;
  border-color: #bb4942;
}
.question-rejection-icon {
  font-size: 18px;
  line-height: 12px;
  font-weight: 700;
}
.question-response {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 3px;
  border: 1px solid #d5dfe9;
  border-radius: 5px;
  background: #fff;
}
.question-response:focus-within {
  border-color: #7694bd;
  box-shadow: 0 0 0 1px #dce6f4;
}
.question-response textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 28px;
  height: 28px;
  max-height: 96px;
  padding: 4px 6px;
  margin: 0;
  resize: vertical;
}
.question-response .icon-button {
  flex-shrink: 0;
}
.question-state {
  font-size: 11px;
  color: #7b899a;
}
.questions-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
  max-height: 68px;
  overflow: auto;
  border-bottom: 1px solid #e0e7f0;
  background: #f5f8fc;
  font-size: 10px;
}
.questions-bar strong {
  font-weight: 500;
  color: #687c94;
}
.questions-bar button {
  max-width: 230px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1px 6px;
  font-size: 10px;
  border-color: transparent;
  background: transparent;
  color: #315f9c;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #f5f7fa;
}
.auth-shell {
  width: 100%;
  max-width: 520px;
  border: 1px solid #dce3eb;
  border-radius: 6px;
  background: #fff;
}
.auth-shell header {
  padding: 10px 18px;
  border-bottom: 1px solid #e4e9ef;
  font-size: 12px;
  color: #77869a;
}
.auth-content {
  padding: 20px 18px;
}
.auth-content h2 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 9px;
  font-weight: 600;
}
.auth-description {
  color: #697b91;
  font-size: 13px;
}
.auth-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
a.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
}
.auth-return {
  font-size: 12px;
  color: #59728f;
}
.auth-details {
  margin-top: 18px;
  font-size: 11px;
  color: #75869c;
}
.auth-details p {
  font:
    11px/1.5 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  padding: 8px;
  background: #f7f9fc;
}
@media (max-width: 520px) {
  .chat-header {
    padding: 5px 9px;
    gap: 5px;
  }
  .timeline {
    padding: 10px;
  }
  .event.employee {
    max-width: 96%;
  }
  .auth-content {
    padding: 16px;
  }
}
/* Tool activity stays collapsed within each turn; full values are fetched on demand. */
.activity-turn {
  font-weight: 550;
  margin: 5px 0 12px;
  font-size: 11px;
  color: #748297;
}
.activity-turn > summary {
  padding: 3px 0;
  user-select: none;
}
.activity-calls {
  border: 1px solid #e1e6ed;
  border-radius: 5px;
  margin: 5px 0 10px;
  background: #fafbfd;
}
.activity-call + .activity-call {
  border-top: 1px solid #e5e9ef;
}
.activity-call > summary {
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
}
.activity-call > summary::before {
  content: "▸";
  color: #8c99aa;
}
.activity-call[open] > summary::before {
  content: "▾";
}
.activity-call > summary::-webkit-details-marker {
  display: none;
}
.activity-name {
  color: #42546b;
  font:
    11px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.activity-state {
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
  color: #7a899b;
}
.activity-state[data-status="done"] {
  color: #587b6a;
}
.activity-state[data-status="uncertain"],
.activity-state[data-status="rejected"],
.activity-state[data-status="review_failed"],
.activity-state[data-status="failed"] {
  color: #a06a46;
}
.activity-time {
  min-width: 33px;
  text-align: right;
  color: #8c99a8;
  font-variant-numeric: tabular-nums;
}
.activity-content {
  padding: 0 10px 10px;
  color: #4e6077;
}
.activity-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #dfe5ed;
  margin-bottom: 8px;
}
.activity-tabs button {
  font-size: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 2px 7px;
  color: #7c899c;
}
.activity-tabs button[aria-selected="true"] {
  color: #315f9c;
  border-bottom: 2px solid #315f9c;
}
.activity-value h4 {
  font-size: 10px;
  font-weight: 500;
  color: #7b899a;
  margin: 5px 0;
}
.activity-content pre {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  margin: 5px 0 7px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e2e7ed;
  border-radius: 4px;
  max-height: 230px;
  overflow: auto;
  white-space: pre;
  tab-size: 2;
}
.activity-note,
.activity-error {
  font-size: 11px;
  margin: 7px 0;
}
.activity-error {
  color: #a14b43;
}
.activity-content button {
  font-size: 11px;
}
.activity-metadata {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 4px 10px;
  font-size: 11px;
}
.activity-metadata dt {
  color: #8794a5;
}
.activity-metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.activity-metadata > p,
.activity-metadata > section {
  grid-column: 1/-1;
}
@media (max-width: 520px) {
  .activity-call > summary {
    gap: 5px;
    padding: 6px;
  }
  .activity-state {
    max-width: 110px;
    white-space: normal;
  }
  .activity-name {
    font-size: 10px;
  }
}
.dock-action {
  width: 24px;
  height: 24px;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #76869a;
}
.dock-placeholder {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 11px;
  color: #7b899b;
}
.dock-placeholder span {
  margin-right: auto;
}
.dock-placeholder button {
  font-size: 11px;
  padding: 1px 7px;
}

.attachment-chips,
.attachment-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf1f5;
  border: 1px solid #d5dce5;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 12px;
}
.attachment-chip button {
  border: 0;
  background: none;
  padding: 0 2px;
  color: #566171;
}
.attachment-links a {
  font-size: 12px;
  border: 1px solid #d5dce5;
  border-radius: 4px;
  padding: 3px 6px;
}
.file-drop {
  outline: 2px solid #6983aa;
}
.file-image-dialog {
  max-width: 95vw;
  max-height: 95vh;
  padding: 12px;
  border: 1px solid #cbd2dc;
  border-radius: 8px;
}
.file-image-dialog img {
  display: block;
  max-width: 88vw;
  height: auto;
  margin-top: 8px;
}
.file-image-dialog::backdrop {
  background: #18233688;
}
#attach-file {
  align-self: flex-end;
  flex: 0 0 28px;
}

/* Generic, read-only business record cards. Field choices live in File Cabinet. */
.message-body .aa-record {
  margin: 8px 0;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  background: #fff;
  color: #34475e;
  overflow: hidden;
  font-size: 12px;
}
.message-body .aa-record-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: #f5f7fa;
  border-bottom: 1px solid #e2e7ee;
}
.message-body .aa-record-title {
  font-size: 13px;
  font-weight: 650;
}
.message-body .aa-record-status {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  color: #596c84;
}
.message-body .aa-record-status::before {
  content: "Status:";
  font-weight: 400;
}
.message-body .aa-record-fields {
  display: grid;
  grid-template-columns:
    minmax(90px, 0.8fr) minmax(0, 1.2fr) minmax(90px, 0.8fr)
    minmax(0, 1.2fr);
  gap: 6px 12px;
  margin: 0;
  padding: 10px 12px;
}
.message-body .aa-record-fields dt {
  color: #778397;
  font-size: 11px;
  margin: 0;
}
.message-body .aa-record-fields dd {
  margin: 0;
  min-width: 0;
}
.message-body .aa-record-tabs {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid #e2e7ee;
  overflow-x: auto;
}
.message-body .aa-record-tabs .aa-record-tab-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 7px 9px;
  margin: 0;
  color: #728096;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.message-body .aa-record-tab-button[aria-selected="true"] {
  color: #2b5b8e;
  border-bottom-color: #477bac;
  font-weight: 600;
}
.message-body .aa-record-tab-button:focus-visible {
  outline: 2px solid #477bac;
  outline-offset: -3px;
}
.message-body .aa-record-tab {
  padding: 2px 0;
}
.message-body .aa-record-tab[hidden],
.message-body .aa-record-tab > [hidden] {
  display: none;
}
.message-body .aa-record-tab > h3 {
  margin: 8px 12px;
}
.message-body .aa-record-tab > :is(p, ul, ol, blockquote, pre) {
  margin: 8px 12px;
}
.message-body .aa-record-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.message-body .aa-record table {
  margin: 0;
  border: 0;
  min-width: 320px;
}
.message-body .aa-record th {
  padding: 6px 12px;
  white-space: nowrap;
  background: #fafbfc;
}
.message-body .aa-record td {
  padding: 7px 12px;
  vertical-align: top;
}
.message-body .aa-record-number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.message-body .aa-record-changed {
  background: #fff8e6;
}
.message-body .aa-record-note {
  padding: 8px 12px;
  margin: 0;
  color: #69798e;
  font-size: 11px;
}
.message-body .aa-record details {
  margin: 6px 12px;
}
.message-body .aa-record summary {
  cursor: pointer;
  color: #4e6680;
  font-size: 11px;
}
.message-body .aa-record-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  border-top: 1px solid #e2e7ee;
  margin: 0;
  padding: 9px 12px;
}
.message-body .aa-record-totals dt {
  margin: 0;
  text-align: right;
  color: #6a788b;
}
.message-body .aa-record-totals dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.message-body .aa-record-totals dt:last-of-type,
.message-body .aa-record-totals dd:last-of-type {
  font-weight: 650;
  color: #34475e;
}
.message-body .aa-record-pending {
  color: #8290a2;
  font-size: 11px;
  margin: 8px 0;
}
@media (max-width: 620px) {
  .message-body .aa-record-fields {
    grid-template-columns: minmax(85px, 0.8fr) minmax(0, 1.2fr);
    gap: 5px 10px;
  }
}
