/* My Voice Requests — compact case workspace */
body.voice-track-page .walker-shell {
  width: min(940px, calc(100% - 24px));
  min-height: auto;
  margin-inline: auto;
  padding: 14px 0 34px;
}

body.voice-track-page .portal-panel.track-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid #c8dada;
  border-radius: 20px;
  background: #f7fbfa;
  box-shadow: 0 20px 50px rgba(12, 59, 62, .14);
}

body.voice-track-page .track-head {
  min-height: 126px;
  padding: 20px 24px;
  border-radius: 0;
}

body.voice-track-page .track-head .track-brand {
  align-items: center;
  gap: 13px;
}

body.voice-track-page .track-head .company-logo {
  width: 56px;
  height: 56px;
  padding: 5px;
  border-radius: 14px;
}

body.voice-track-page .track-head h1 {
  margin: 2px 0 4px;
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.045em;
}

body.voice-track-page .track-head .hero-copy {
  margin: 0;
  font-size: .82rem;
}

body.voice-track-page .track-head-actions a {
  min-height: 42px;
  border-radius: 10px;
}

body.voice-track-page .track-panel > .notification-panel,
body.voice-track-page .track-panel > .schedule-card,
body.voice-track-page .track-panel > .track-result,
body.voice-track-page .track-panel > .alert {
  margin-inline: 14px;
}

body.voice-track-page .my-cases-panel {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border-color: #b9ddd8;
  border-left: 4px solid #0eae98;
  background: linear-gradient(105deg, #effaf8, #f7fbff);
}

body.voice-track-page .my-cases-panel .section-head {
  margin: 0;
}

body.voice-track-page .my-cases-panel .section-title {
  margin-bottom: 2px;
  font-size: 1rem;
}

body.voice-track-page .my-cases-panel .section-copy {
  font-size: .76rem;
}

body.voice-track-page .request-launch-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.voice-track-page .request-launch-btn {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 10px;
  box-shadow: none;
}

body.voice-track-page .request-launch-copy {
  max-width: 180px;
  color: #597076;
  font-size: .72rem;
  line-height: 1.3;
}

body.voice-track-page .track-result {
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 14px;
}

body.voice-track-page .case-hero {
  position: relative;
  margin-top: 0;
  padding: 15px 17px;
  overflow: hidden;
  border-color: #b9ddd8;
  border-left: 4px solid #0eae98;
  border-radius: 14px;
}

body.voice-track-page .case-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -118px;
  right: -70px;
  border: 1px solid rgba(14, 174, 152, .13);
  border-radius: 50%;
  pointer-events: none;
}

body.voice-track-page .case-hero-top {
  align-items: center;
  gap: 12px;
}

body.voice-track-page .ticket-badges {
  gap: 6px;
}

body.voice-track-page .ticket-badges .badge {
  min-height: 25px;
  padding: 3px 8px;
  border-color: #c9dfdd;
  color: #315b60;
  background: #f2f8f7;
  font-size: .62rem;
  letter-spacing: .035em;
}

body.voice-track-page .ticket-badges .case-code-badge {
  color: #087d70;
  border-color: #a9ddd6;
  background: #e7f8f5;
}

body.voice-track-page .ticket-badges .status-new {
  color: #9a6900;
  border-color: #efd897;
  background: #fff7d8;
}

body.voice-track-page .ticket-badges .status-assigned,
body.voice-track-page .ticket-badges .status-in_progress {
  color: #315fbe;
  border-color: #c8d9fa;
  background: #eef4ff;
}

body.voice-track-page .ticket-badges .status-answered {
  color: #087d70;
  border-color: #addfd7;
  background: #e8f8f5;
}

body.voice-track-page .ticket-badges .status-closed {
  color: #a92f43;
  border-color: #f0c3cb;
  background: #fff0f2;
}

body.voice-track-page .summary-inline {
  min-width: 126px;
  text-align: right;
}

body.voice-track-page .summary-inline span {
  color: #718489;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}

body.voice-track-page .summary-inline strong {
  display: block;
  margin-top: 2px;
  font-size: .76rem;
}

body.voice-track-page .case-headline {
  margin-top: 13px;
}

body.voice-track-page .case-headline .eyebrow {
  margin-bottom: 3px;
  color: #079786;
  font-size: .61rem;
}

body.voice-track-page .mail-subject {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: -.025em;
  line-height: 1.15;
}

body.voice-track-page .case-from {
  margin: 5px 0 0;
  color: #5d7278;
  font-size: .78rem;
}

body.voice-track-page .mail-body {
  margin-top: 11px;
  padding: 11px 0 0;
  border-top: 1px solid #dce8e7;
  color: #334f55;
  font-size: .84rem;
  line-height: 1.45;
}

body.voice-track-page .timeline-panel {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 12px 14px;
  border-left: 4px solid #76b7e8;
  background: #fff;
}

body.voice-track-page .timeline-panel .section-head {
  display: block;
}

body.voice-track-page .timeline-panel .section-title {
  margin: 0;
  font-size: .9rem;
}

body.voice-track-page .timeline-panel .section-copy {
  margin-top: 2px;
  font-size: .68rem;
}

body.voice-track-page .current-status-card {
  gap: 7px;
  padding: 9px 11px;
  border-color: #d4e5e3;
  border-radius: 11px;
  background: #f7fbfa;
}

body.voice-track-page .current-status-track {
  height: 6px;
}

body.voice-track-page .current-status-card p {
  font-size: .68rem;
}

body.voice-track-page .thread-panel {
  gap: 10px;
  margin-top: 0;
  padding: 13px 14px;
  border-left: 4px solid #9b84e8;
}

body.voice-track-page .thread-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #dce8e7;
}

body.voice-track-page .thread-head h2 {
  margin-bottom: 2px;
  font-size: .95rem;
}

body.voice-track-page .thread-copy {
  font-size: .72rem;
}

body.voice-track-page .thread-head .ghost-btn {
  min-height: 36px;
  padding-inline: 13px;
  border-radius: 9px;
  color: #087d70;
  border-color: #bcded9;
}

body.voice-track-page .thread > .txt-muted {
  padding: 8px 2px;
  font-size: .8rem;
}

body.voice-track-page .track-modal {
  width: min(620px, calc(100% - 20px));
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

body.voice-track-page .track-modal-head {
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(120deg, #0b5054, #12988b);
}

body.voice-track-page .track-modal-head h2,
body.voice-track-page .track-modal-head .eyebrow {
  color: #fff;
}

body.voice-track-page #myRequestsModalCopy {
  margin: 0;
  padding: 12px 18px;
  border-bottom: 1px solid #dce8e7;
  font-size: .78rem;
}

body.voice-track-page .modal-request-list {
  padding: 8px;
  gap: 6px;
  border-radius: 13px;
  background: #f5faf9;
}

body.voice-track-page .modal-request-row {
  min-height: 72px;
  padding: 10px 12px;
  border-color: #c6e2de;
  border-left: 4px solid #15ae99;
  border-bottom: 1px solid #c6e2de;
  border-radius: 10px;
  background: #fff;
}

body.voice-track-page .modal-request-main {
  gap: 3px;
}

body.voice-track-page .modal-request-topline {
  gap: 7px;
}

body.voice-track-page .modal-request-topline strong {
  font-size: .78rem;
}

body.voice-track-page .modal-request-status {
  min-height: 22px;
  padding: 2px 7px;
  font-size: .6rem;
}

body.voice-track-page .modal-request-subject {
  font-size: .82rem;
  line-height: 1.25;
}

body.voice-track-page .modal-request-meta {
  font-size: .68rem;
  line-height: 1.25;
}

/* Document-style employee case view */
body.voice-track-page .track-head-compact {
  min-height: 106px;
  padding: 18px 24px;
}

body.voice-track-page .track-head-compact .company-logo {
  width: 52px;
  height: 52px;
}

body.voice-track-page .track-head-compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
}

body.voice-track-page .track-head-compact .hero-copy {
  margin-top: 2px;
  font-size: .76rem;
}

body.voice-track-page .track-head-actions .request-launch-btn {
  min-width: 142px;
}

body.voice-track-page .case-document {
  overflow: hidden;
  padding: 0;
  border: 1px solid #b9deda;
  border-left: 4px solid #12aa97;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 70, 72, .08);
}

body.voice-track-page .case-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid #d7e7e5;
  background: linear-gradient(120deg, #f5fbfa, #eef8fb);
}

body.voice-track-page .case-document-head .mail-subject {
  margin: 3px 0 4px;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

body.voice-track-page .case-document-head .case-from {
  margin: 0;
  font-size: .76rem;
}

body.voice-track-page .case-document-status {
  min-width: 190px;
  display: grid;
  justify-items: end;
  gap: 5px;
  color: #63777a;
  font-size: .66rem;
}

body.voice-track-page .case-document-status > span:not(.badge) {
  display: flex;
  gap: 6px;
}

body.voice-track-page .case-document-status strong {
  color: #18363a;
  font-weight: 800;
}

body.voice-track-page .case-document-status .badge {
  margin-bottom: 3px;
}

body.voice-track-page .case-document-body {
  min-height: 150px;
  padding: 20px;
}

body.voice-track-page .case-document-body .mail-body {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #243b40;
  font-size: .92rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

body.voice-track-page .case-document-body .mail-copy-text,
body.voice-track-page .case-document-body .track-request-compact {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.voice-track-page .document-conversation {
  padding: 0;
  overflow: hidden;
  border-left: 4px solid #7c65df;
}

body.voice-track-page .document-conversation .thread {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fbfb;
}

body.voice-track-page .document-conversation .conversation-transcript-line {
  margin: 0;
  color: #24363a;
  font-size: .82rem;
  line-height: 1.6;
}

body.voice-track-page .document-conversation .conversation-transcript-line strong {
  color: #08766b;
  font-weight: 900;
}

body.voice-track-page .document-conversation .conversation-transcript-line.is-manager strong {
  color: #405b9e;
}

body.voice-track-page .document-conversation .conversation-transcript-line time {
  margin-left: 7px;
  color: #728286;
  font-size: .7rem;
  white-space: nowrap;
}

body.voice-track-page .document-conversation .conversation-transcript-line + .conversation-transcript-line {
  padding-top: 12px;
  border-top: 1px solid #e4edec;
}

body.voice-track-page .document-conversation .thread > .txt-muted {
  padding: 8px 2px;
}

body.voice-track-page .document-conversation .comment-wrap {
  padding: 14px 18px 18px;
  border-top: 1px solid #dce8e7;
  background: #fff;
}

body.voice-track-page .document-conversation .comment-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.voice-track-page .voice-attachment-compose {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}

body.voice-track-page .voice-attachment-compose input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

body.voice-track-page .voice-attach-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #add8d2;
  border-radius: 9px;
  background: #effaf8;
  color: #087b70;
  font-size: .72rem;
  font-weight: 850;
  cursor: pointer;
}

body.voice-track-page .voice-attachment-compose > span {
  min-width: 0;
  overflow: hidden;
  color: #6f8184;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.voice-track-page .voice-message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.voice-track-page .voice-message-attachment {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(280px, 100%);
  min-height: 52px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #c8dfdc;
  border-radius: 11px;
  background: #fff;
  color: #17353a;
  text-align: left;
  cursor: pointer;
}

body.voice-track-page .voice-attachment-preview {
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8f6f3;
  color: #098277;
  font-size: .55rem;
  font-weight: 900;
}

body.voice-track-page .voice-attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.voice-track-page .voice-message-attachment > span:last-child { min-width: 0; }
body.voice-track-page .voice-message-attachment strong,
body.voice-track-page .voice-message-attachment small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.voice-track-page .voice-message-attachment strong { font-size: .72rem; }
body.voice-track-page .voice-message-attachment small { color: #728488; font-size: .61rem; }

body.voice-track-page .document-conversation textarea {
  min-height: 88px;
  resize: vertical;
}

body.voice-track-page .document-conversation .comment-actions {
  align-items: center;
  justify-content: space-between;
}

body.voice-track-page .document-conversation .comment-actions span {
  color: #718486;
  font-size: .66rem;
}

body.voice-track-page .reply-locked-note {
  margin: 0;
  padding: 15px 18px;
  border-top: 1px solid #ead8bb;
  color: #75581e;
  background: #fff9ec;
  font-size: .78rem;
  font-weight: 700;
}

body.voice-track-page .track-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.voice-track-page .track-modal-actions .primary-btn {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .34);
}

@media (max-width: 720px) {
  body.voice-track-page .walker-shell {
    width: calc(100% - 10px);
    padding: 5px 0 18px;
  }

  body.voice-track-page .portal-panel.track-panel {
    border-radius: 17px;
  }

  body.voice-track-page .track-head {
    min-height: auto;
    padding: 15px;
  }

  body.voice-track-page .track-head-compact {
    gap: 12px;
    padding: 13px 14px;
  }

  body.voice-track-page .track-head-compact .company-logo {
    width: 44px;
    height: 44px;
  }

  body.voice-track-page .track-head-compact h1 {
    font-size: 1.55rem;
  }

  body.voice-track-page .track-head-compact .hero-copy {
    display: none;
  }

  body.voice-track-page .track-head-actions .request-launch-btn {
    min-width: auto;
    min-height: 38px;
    padding: 8px 11px;
  }

  body.voice-track-page .case-document-head {
    display: grid;
    gap: 12px;
    padding: 15px;
  }

  body.voice-track-page .case-document-status {
    width: 100%;
    min-width: 0;
    grid-template-columns: auto 1fr;
    justify-items: start;
  }

  body.voice-track-page .case-document-status .badge {
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0 8px 0 0;
  }

  body.voice-track-page .case-document-body {
    min-height: 130px;
    padding: 16px;
  }

  body.voice-track-page .document-conversation .thread,
  body.voice-track-page .document-conversation .comment-wrap {
    padding: 14px;
  }

  body.voice-track-page .document-conversation .comment-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.voice-track-page .document-conversation .comment-actions .primary-btn {
    width: 100%;
  }

  body.voice-track-page .track-modal-actions .primary-btn {
    min-height: 36px;
    padding: 7px 10px;
    font-size: .72rem;
  }

  body.voice-track-page .track-head .track-brand {
    flex-direction: row;
    align-items: center;
  }

  body.voice-track-page .track-head h1 {
    font-size: 1.75rem;
  }

  body.voice-track-page .track-head .hero-copy {
    font-size: .72rem;
  }

  body.voice-track-page .track-head-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.voice-track-page .track-panel > .notification-panel,
  body.voice-track-page .track-panel > .schedule-card,
  body.voice-track-page .track-panel > .track-result,
  body.voice-track-page .track-panel > .alert {
    margin-inline: 8px;
  }

  body.voice-track-page .my-cases-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  body.voice-track-page .request-launch-row {
    flex-direction: row;
    justify-content: space-between;
  }

  body.voice-track-page .request-launch-btn {
    width: auto;
  }

  body.voice-track-page .request-launch-copy {
    max-width: 145px;
    text-align: right;
  }

  body.voice-track-page .case-hero {
    padding: 13px;
  }

  body.voice-track-page .case-hero-top {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body.voice-track-page .summary-inline {
    min-width: 0;
    text-align: left;
  }

  body.voice-track-page .ticket-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.voice-track-page .ticket-badges .badge {
    justify-content: center;
  }

  body.voice-track-page .timeline-panel {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 11px;
  }

  body.voice-track-page .timeline-panel .section-copy {
    display: none;
  }

  body.voice-track-page .thread-head {
    flex-direction: row;
    align-items: center;
  }

  body.voice-track-page .thread-head .ghost-btn {
    width: auto;
  }

  body.voice-track-page .thread-copy {
    max-width: 220px;
  }
}

@media (max-width: 390px) {
  body.voice-track-page .track-head-actions {
    grid-template-columns: 1fr;
  }

  body.voice-track-page .request-launch-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.voice-track-page .request-launch-btn {
    width: 100%;
  }

  body.voice-track-page .request-launch-copy {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 720px) {
  body.voice-track-page .track-head-compact .track-head-actions {
    display: flex;
    grid-template-columns: none;
  }

  body.voice-track-page .case-hero.case-document {
    padding: 0;
  }
}
