.dialog.sales-voice-panel {
  width: min(600px, 100vw);
  max-width: 100vw;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  color: var(--np-text, #18334f);
  background: var(--np-bg, #fff);
  font-size: 15px;
  line-height: 1.7;
}
.sales-voice-panel * {
  box-sizing: border-box;
}
.sales-voice-panel button {
  font: inherit;
  cursor: pointer;
}
.sales-voice-panel button:disabled {
  cursor: default;
  opacity: 0.5;
}
.sales-voice-panel .dialog-head {
  padding: 20px 24px;
  margin: 0;
  border-bottom: 1px solid var(--np-line, #dae3f0);
  flex: none;
}
.sales-voice-panel .dialog-head h2 {
  font-size: 18px;
  margin: 0;
}
.sales-voice-panel .dialog-head .eyebrow {
  display: none;
}
.sales-voice-panel .sv-topline {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--np-line, #dae3f0);
  flex: none;
  color: #1e8076;
  background: #edf7f3;
  font-size: 13px;
}
.sv-topline > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sales-voice-panel .sv-new-conversation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  flex: none;
  border: 1px solid #64a99e;
  border-radius: 9px;
  background: #fff;
  color: #176d64;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.sales-voice-panel .sv-new-conversation:hover {
  background: #e1f2ed;
  border-color: #247e72;
}
.sales-voice-panel .sv-new-conversation:focus-visible {
  outline: 3px solid #83c6bb;
  outline-offset: 2px;
}
body[data-theme="dark"] .sales-voice-panel .sv-new-conversation {
  background: #213d39;
  border-color: #64a99e;
  color: #b8eee1;
}
.sales-voice-panel .sv-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 26px 24px 28px;
  overscroll-behavior: contain;
  scroll-padding: 16px;
}
.sales-voice-panel h2,
.sales-voice-panel h3,
.sales-voice-panel p {
  margin: 0;
}
.sales-voice-panel h2 {
  font-size: 19px;
  line-height: 1.55;
}
.sales-voice-panel h3 {
  font-size: 16px;
  line-height: 1.6;
}
.sales-voice-panel .sv-welcome > p {
  margin: 8px 0 24px;
  color: var(--np-muted, #6a7b95);
}
.sv-examples {
  display: grid;
  gap: 10px;
}
.sv-examples button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: var(--np-card, #fff);
  border: 1px solid var(--np-line, #d9e3f0);
  border-radius: 10px;
  text-align: left;
  color: inherit;
  min-height: 54px;
}
.sv-examples button:hover {
  background: #f3f6ff;
  border-color: #a4b6e8;
}
.sv-examples button > svg:last-child {
  margin-left: auto;
  color: #7f91ad;
}
.sv-examples button > svg:first-child {
  color: #3e66ce;
}
.sales-voice-panel .sv-example-note {
  color: var(--np-muted, #6a7b95);
  font-size: 13px;
  margin-top: 20px;
  line-height: 1.8;
}
.sv-history {
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
  margin-bottom: 18px;
}
.sv-history summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.sv-history > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--np-line, #d9e3f0);
}
.sales-voice-panel .sv-history-user {
  font-weight: 600;
  margin-bottom: 6px;
}
.sv-current-user {
  background: #eef3ff;
  border: 1px solid #dae4fb;
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.sv-current-user > span {
  display: block;
  font-size: 12px;
  color: #6e809d;
  margin-bottom: 4px;
}
.sales-voice-panel .sv-answer {
  font-size: 16px;
  margin-bottom: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sv-question {
  padding: 18px;
  border: 1px solid #e9ce78;
  background: #fff9e7;
  border-radius: 11px;
  margin-bottom: 22px;
}
.sales-voice-panel .sv-question h2 {
  font-size: 18px;
  margin: 6px 0 16px;
}
.sales-voice-panel .sv-question > p {
  color: #7a6840;
  font-size: 12px;
  margin-top: 14px;
}
.sv-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.sv-choices button {
  color: #725a17;
  background: #fff;
  border: 1px solid #d8bd6f;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 43px;
  text-align: left;
}
.sv-choices button:hover {
  border-color: #9b7c2c;
  background: #fffdf5;
}
.sv-caption {
  color: var(--np-muted, #6a7b95);
  font-size: 12px;
  display: block;
}
.sv-section-head {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #1d8077;
  margin-bottom: 12px;
}
.sales-voice-panel .sv-section-head h2 {
  font-size: 16px;
}
.sv-operation {
  padding: 17px 18px;
  border: 1px solid var(--np-line, #d9e3f0);
  border-radius: 11px;
  margin-bottom: 12px;
  background: var(--np-card, #fff);
  overflow-wrap: anywhere;
}
.sv-op-top {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.sv-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: #345cc4;
  border-radius: 6px;
  font-size: 13px;
  flex: none;
}
.sales-voice-panel .sv-linked {
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
  margin: 10px 0 0;
}
.sv-operation dl {
  margin: 13px 0 0;
  display: grid;
  gap: 10px;
}
.sv-operation dl > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
}
.sv-operation dt {
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
}
.sv-operation dd {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 15px;
}
.sv-operation dd > strong {
  font-weight: 650;
}
.sv-before {
  color: #8290a3;
  text-decoration: line-through;
}
.sv-evidence {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
  margin: 10px 0;
}
.sv-evidence summary {
  cursor: pointer;
}
.sales-voice-panel .sv-evidence p {
  white-space: pre-wrap;
  margin-top: 9px;
}
.sv-schedule {
  padding: 18px;
  border: 1px solid var(--np-line, #d9e3f0);
  border-radius: 11px;
}
.sales-voice-panel .sv-scope {
  color: var(--np-muted, #6a7b95);
  font-size: 13px;
  margin-bottom: 12px;
}
.sv-schedule-row {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  border-top: 1px solid var(--np-line, #d9e3f0);
  overflow-wrap: anywhere;
}
.sv-date {
  color: #496489;
  font-size: 14px;
}
.sv-date strong {
  display: block;
  font-size: 13px;
}
.sales-voice-panel .sv-schedule-row p {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
  margin-top: 4px;
}
.sales-voice-panel .sv-empty {
  font-size: 14px;
  margin: 15px 0;
}
.sv-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.sv-followups button {
  font-size: 12px;
  border: 0;
  background: #eff4fa;
  color: #3e597d;
  padding: 6px 10px;
  border-radius: 6px;
}
.sv-compose {
  flex: none;
  border-top: 1px solid var(--np-line, #d9e3f0);
  padding: 16px 24px 18px;
  background: var(--np-card, #fff);
}
.sv-compose > label {
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
  display: block;
  margin-bottom: 8px;
}
.sv-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sv-input-row textarea {
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
  padding: 11px 12px;
  border: 1px solid #c9d7eb;
  border-radius: 9px;
  background: var(--np-bg, #fff);
  color: inherit;
  resize: vertical;
  min-width: 0;
  width: 100%;
  min-height: 76px;
  max-height: 160px;
}
.sv-mic {
  background: #eef3ff;
  border: 1px solid #d5e0f8;
  color: #3d63cf;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: none;
}
.sv-mic.is-recording {
  background: #fff0ef;
  border-color: #e3ada8;
  color: #b34c49;
}
.sv-send {
  background: #3263da;
  border: 0;
  color: #fff;
  width: 40px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.sv-save-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.sv-save-row > span {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
}
.sv-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  background: #3263da;
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 650 !important;
  min-height: 48px;
}
.sv-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #cbd9ed;
  border-radius: 8px;
  background: var(--np-card, #fff);
  color: #315b9a;
  min-height: 42px;
}
.sv-text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #56739c;
  padding: 0;
  font-size: 12px !important;
  white-space: nowrap;
}
.sv-compose-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.sv-file {
  position: relative;
  overflow: hidden;
  font-size: 12px;
  color: #657d9f;
  cursor: pointer;
}
.sv-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.sv-recording {
  font-size: 13px;
  color: #ab5047;
  padding-bottom: 10px;
}
.sv-working {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 18px 0;
  color: #59749b;
  font-size: 14px;
}
.sv-error {
  background: #fff8ec;
  border: 1px solid #e5d3ab;
  padding: 14px;
  border-radius: 9px;
  margin: 14px 0;
  color: #795d24;
}
.sv-error > span {
  display: block;
  font-size: 12px;
  margin-top: 8px;
}
.sv-success {
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  color: #20836e;
}
.sales-voice-panel .sv-success p {
  font-size: 15px;
  color: var(--np-muted, #6a7b95);
}
body[data-theme="dark"] .sales-voice-panel .sv-topline {
  background: #193e39;
  color: #90d9c1;
}
body[data-theme="dark"] .sales-voice-panel .sv-question {
  background: #393321;
  color: #f0dea8;
}
body[data-theme="dark"] .sales-voice-panel .sv-current-user {
  background: #213459;
  border-color: #3a4f75;
}
@media (max-width: 520px) {
  .sales-voice-panel .dialog-head {
    padding: 17px 18px;
  }
  .sales-voice-panel .sv-topline {
    padding: 12px 18px;
    font-size: 12px;
  }
  .sales-voice-panel .sv-scroll {
    padding: 20px 16px;
  }
  .sales-voice-panel .sv-compose {
    padding: 13px 16px 14px;
  }
  .sv-operation dl > div {
    grid-template-columns: 94px 1fr;
    gap: 8px;
  }
  .sv-operation {
    padding: 14px;
  }
  .sv-question {
    padding: 15px;
  }
  .sv-input-row {
    gap: 7px;
  }
  .sv-mic {
    width: 40px;
    height: 40px;
  }
  .sv-send {
    width: 36px;
  }
  .sales-voice-panel .sv-welcome h2 {
    font-size: 21px;
  }
  .sv-topline > span {
    gap: 5px;
  }
}

/* Voice consultation: one obvious speaking entry, then a persistent composer. */
.sv-mic-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 26px 0 30px;
}
.sales-voice-panel .sv-mic {
  width: 64px;
  height: 64px;
  background: #3863d4;
  color: #fff;
  border: 1px solid #3863d4;
  box-shadow: 0 4px 12px #315fc726;
  position: relative;
}
.sales-voice-panel .sv-mic-large {
  width: 104px;
  height: 104px;
}
.sv-mic-hero > strong {
  font-size: 16px;
  color: var(--np-text, #18334f);
}
.sv-mic-hero > span {
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
}
.sales-voice-panel .sv-mic.is-recording {
  color: #fff;
  background: #b9514e;
  border-color: #b9514e;
}
.sales-voice-panel .sv-mic.is-recording::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid #b9514e66;
  border-radius: 50%;
  animation: sv-listening-ring 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes sv-listening-ring {
  0% {
    transform: scale(0.98);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}
.sales-voice-panel .sv-examples {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.sales-voice-panel .sv-examples button {
  padding: 11px 12px;
  font-size: 14px;
  min-height: 48px;
  gap: 8px;
}
.sales-voice-panel .sv-examples button > svg {
  flex-shrink: 0;
}
.sales-voice-panel .sv-example-note {
  font-size: 13px;
  white-space: pre-line;
}
.sales-voice-panel .sv-recording {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 14px;
  color: #a64744;
}
.sv-recording > span:last-child {
  width: 100%;
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
}
.sv-record-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.sv-wave {
  display: flex;
  align-items: center;
  height: 24px;
  gap: 3px;
  margin-left: 5px;
}
.sv-wave i {
  display: block;
  width: 3px;
  height: 24px;
  border-radius: 3px;
  background: currentColor;
  transform: scaleY(var(--voice-level, 0.12));
  transition: transform 80ms linear;
}
.sv-consultation {
  padding: 18px;
  border: 1px solid var(--np-line, #d9e3f0);
  border-radius: 11px;
  background: var(--np-card, #fff);
}
.sales-voice-panel .sv-consultation h2 {
  margin: 4px 0 6px;
  font-size: 18px;
  color: #1d8077;
}
.sales-voice-panel .sv-consult-scope {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
  margin-bottom: 16px;
}
.sv-consult-answer {
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sv-consult-answer strong {
  font-weight: 700;
}
.sv-consult-row {
  padding: 14px 0;
  border-top: 1px solid var(--np-line, #d9e3f0);
  margin-top: 14px;
}
.sales-voice-panel .sv-consult-row p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.sv-consult-row .sv-secondary {
  margin-top: 10px;
  font-size: 14px;
}
.sv-tone-negative {
  color: #bb464f;
}
.sv-tone-positive {
  color: #20845a;
}
.sv-draft-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 14px;
  margin-top: 16px;
  background: #fff9e8;
  border: 1px solid #ead7a3;
  border-radius: 8px;
  font-size: 13px;
  color: #715e2d;
}
html[data-theme="dark"] .sv-consultation h2 {
  color: #8bdcc6;
}
html[data-theme="dark"] .sv-tone-negative {
  color: #ffa4ac;
}
html[data-theme="dark"] .sv-tone-positive {
  color: #86d8ad;
}
html[data-theme="dark"] .sv-draft-notice {
  background: #393321;
  border-color: #806f46;
  color: #efdfb6;
}
html[data-theme="dark"] .sv-recording {
  color: #ffa4ac;
}
@media (max-width: 520px) {
  .sales-voice-panel .sv-mic {
    width: 58px;
    height: 58px;
  }
  .sales-voice-panel .sv-mic-large {
    width: 84px;
    height: 84px;
  }
  .sales-voice-panel .sv-examples button {
    font-size: 13px;
    padding: 10px;
  }
  .sv-consultation {
    padding: 15px;
  }
  .sv-mic-hero {
    margin: 22px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sales-voice-panel .sv-mic.is-recording::after {
    animation: none;
    opacity: 0.6;
  }
  .sv-wave i {
    transition: none;
  }
}
/* Continuous transcript: only the latest confirmation can be acted upon. */
.sv-thread {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sv-exchange + .sv-exchange {
  border-top: 1px solid var(--border, #dbe4f1);
  padding-top: 24px;
}
.sv-exchange .sv-current-user {
  margin-bottom: 18px;
}
.sv-exchange .sv-result {
  scroll-margin-top: 16px;
}
.sv-past-label {
  display: block;
  font-size: 12px;
  color: var(--muted, #64748b);
  margin-bottom: 8px;
}
.sv-exchange button:disabled {
  cursor: default;
}
.sv-success .sv-section-head {
  color: #16786d;
  justify-content: flex-start;
}
.sv-success .sv-section-head h2 {
  font-size: 20px;
  margin: 0;
}
.sv-success {
  border: 1px solid #a8d9cb;
  background: #f2fbf7;
  padding: 22px;
  border-radius: 12px;
  text-align: left;
}
.sv-saved-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.sv-saved-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.sv-saved-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.sv-complete-actions {
  padding: 18px 24px;
  border-top: 1px solid var(--border, #dbe4f1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--np-card, #fff);
}
.sv-compose-tools {
  justify-content: flex-end;
}
:root[data-theme="dark"] .sv-success {
  background: #17382f;
  border-color: #367e68;
}
:root[data-theme="dark"] .sv-success .sv-section-head {
  color: #8bdfc5;
}

.sv-consult-answer,
.sv-consult-row p {
  white-space: pre-line;
}
.sv-scroll:focus-visible {
  outline: 2px solid #6b87c4;
  outline-offset: -2px;
}
.sv-speech-review {
  margin-bottom: 24px;
}
.sv-speech-review h2 {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 600;
}
.sv-speech-review .sv-heard {
  padding: 12px;
  background: var(--np-card, #fff);
  border-radius: 8px;
  overflow-wrap: anywhere;
  font-size: 16px;
}
.sv-speech-review + .sv-thread {
  border-top: 1px solid var(--np-line, #dbe4f1);
  padding-top: 20px;
}

.sv-action-group {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--np-line, #d9e3f0);
  border-radius: 10px;
}
.sales-voice-panel .sv-action-heading {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #1d8077;
}
.sv-action-immediate .sv-action-heading {
  color: #8a641a;
}
.sales-voice-panel .sv-action-description {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--np-muted, #6a7b95);
}
.sv-action-group .sv-consult-row {
  margin-top: 12px;
  padding: 12px 0 2px;
}
.sales-voice-panel .sv-action-group .sv-consult-row h3 {
  font-size: 15px;
  line-height: 1.65;
}
.sv-old-review {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--np-line, #d9e3f0);
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
}
.sv-old-review summary {
  cursor: pointer;
  line-height: 1.7;
  font-weight: 600;
}
.sales-voice-panel .sv-old-review p,
.sales-voice-panel .sv-action-empty {
  font-size: 14px;
  line-height: 1.8;
}
.sv-saved-detail {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #9bc9b4;
  border-radius: 9px;
  background: var(--np-card, #fff);
}
.sv-saved-detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--np-line, #d9e3f0);
}
.sv-saved-detail dd {
  margin: 0;
  font-weight: 700;
}
html[data-theme="dark"] .sales-voice-panel .sv-action-heading {
  color: #8ad4bf;
}
html[data-theme="dark"]
  .sales-voice-panel
  .sv-action-immediate
  .sv-action-heading {
  color: #e0c47c;
}
@media (max-width: 600px) {
  .sv-action-group {
    padding: 12px;
  }
  .sv-saved-links {
    flex-wrap: wrap;
  }
  .sv-saved-links button {
    max-width: 100%;
  }
}

/* Keep the established voice panel above a suspended customer editor. */
.overlay:has(.sales-voice-panel) {
  z-index: 160;
}
.sv-reference {
  flex-shrink: 0;
  border-bottom: 1px solid var(--np-border, #d9e3ee);
  background: var(--np-card, #fff);
}
.sv-reference-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--np-muted, #6a7b95);
}
.sv-reference-row > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sv-reference-row strong {
  font-weight: 600;
  color: var(--np-text, #18334f);
}
.sv-reference-row small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.sv-reference-row button {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--np-primary, #3264df);
  cursor: pointer;
  white-space: nowrap;
}
.sv-reference-picker {
  padding: 0 24px 14px;
}
.sv-reference-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--np-border, #d9e3ee);
  border-radius: 8px;
  padding: 8px;
}
.sv-reference-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--np-text, #18334f);
  font-size: 14px;
}
.sv-reference-picker button {
  text-align: left;
  padding: 9px 8px;
  border: 0;
  background: transparent;
  color: var(--np-text, #18334f);
  cursor: pointer;
  border-radius: 6px;
}
.sv-reference-picker button:hover {
  background: var(--np-soft, #f0f4fc);
}
.sv-reference-options {
  max-height: 230px;
  overflow: auto;
  overscroll-behavior: contain;
}
.sv-reference-options > div {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--np-border, #d9e3ee);
}
.sv-reference-options .sv-reference-deal {
  margin-left: 18px;
  color: var(--np-muted, #6a7b95);
  font-size: 13px;
}
.sv-reference-picker > p {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
  margin: 8px 0 0;
}
.sv-customer-diff {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.sv-customer-diff > div > span {
  font-size: 12px;
  color: var(--np-muted, #6a7b95);
}
.sv-customer-diff p,
.sv-customer-diff strong {
  display: block;
  margin: 5px 0 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.7;
}
.sv-customer-diff strong {
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--np-soft, #f0f4fc);
}

.overlay.drawer:has([data-voice-deal-id]) {
  top: var(--toridas-voice-header-bottom, 83px);
}
.overlay.drawer:has([data-voice-deal-id]) > .dialog {
  max-height: 100%;
  height: 100%;
}
.sv-entry-notice {
  position: fixed;
  right: 24px;
  top: calc(var(--toridas-voice-header-bottom, 83px) + 12px);
  z-index: 175;
  background: var(--np-card, #fff);
  color: var(--np-text, #18334f);
  border: 1px solid #e4cba2;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 6px 22px #152a4614;
}

.sfa-overlay:has([data-voice-deal-id]) {
  top: var(--toridas-voice-header-bottom, 83px);
}
.sfa-overlay:has([data-voice-deal-id]) .sfa-modal {
  max-height: 100%;
}
.sv-entry-notice {
  z-index: 1400;
}
[data-theme="dark"] .sv-reference-row button {
  color: #c1d1fa;
}
