.report {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Red Hat Display", sans-serif;
  color: #181c32;
  user-select: text;
  -webkit-user-select: text;
  touch-action: auto;
}

.sw {
  min-height: 100%;
  background: #fff;
}

.sw-header {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 8px 12px 8px 0;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.sw-logo {
  flex: 2;
}

.sw-logo img {
  width: 170px;
  margin-left: 25px;
  margin-top: 8px;
  display: block;
}

.sw-main-title {
  flex: 4;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}

.sw-hotel {
  color: #a1a5b7;
  font-size: 12px;
  font-weight: 500;
}

.sw-info {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-right: 8px;
  flex-wrap: wrap;
}

.sw-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #c6360a;
  white-space: nowrap;
}

.sw-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.sw-close {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #e94112);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sw-body {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #d8dbdf;
}

.sw-left {
  flex: 2;
  min-width: 0;
  border-right: 1px solid #d8dbdf;
  padding-top: 20px;
}

.sw-center {
  flex: 4;
  min-width: 0;
  padding-top: 10px;
}

.sw-right {
  flex: 2;
  min-width: 0;
  border-left: 1px solid #d8dbdf;
}

.sw-section {
  padding: 20px;
}

.sw-section-head {
  display: flex;
  align-items: center;
}

.sw-section-head img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sw-section-title {
  margin-left: 1.5rem;
  font-size: 18px;
  font-weight: 500;
}

.sw-box {
  background: #f7f8f8;
  padding: 16px 24px;
  margin-top: 20px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.sw-box p {
  margin: 0;
}

.sw-box.is-warn {
  background: #fff5ed;
}

.sw-sentiment-row {
  display: flex;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.sw-circle {
  width: 57px;
  height: 57px;
  border-radius: 100%;
  border: 4px solid #fca875;
  line-height: 49px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #fca875;
  flex-shrink: 0;
  margin-right: 10px;
}

.sw-sentiment-copy {
  flex: 1;
  min-width: 0;
  margin-left: 1rem;
}

.sw-sentiment-copy b {
  color: #fca875;
  font-size: 15px;
}

.sw-sentiment-copy small {
  color: #5b616e;
  font-size: 12px;
}

.sw-progress {
  height: 6px;
  margin-top: 8px;
  background: #f1f1f2;
  border-radius: 4px;
  overflow: hidden;
}

.sw-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: #fca875;
}

.sw-reason {
  margin-top: 1.5rem;
  border-radius: 0.475rem;
  background: #f9f9f9;
  overflow: hidden;
}

.sw-reason-text {
  padding: 1rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.sw-reason.is-open .sw-reason-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.sw-reason-toggle {
  background: #f5f5f5;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

.sw-reason-toggle .chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

.sw-reason.is-open .sw-reason-toggle .chevron {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}

.sw-priority {
  margin-top: -45px;
  padding: 16px 20px 20px;
}

.sw-priority-inner {
  background: #fff3cd;
  border-top: 4px solid #f85517;
  border-radius: 0 0 12px 12px;
}

.sw-priority-head {
  display: flex;
  align-items: center;
  padding: 20px 20px 0;
  color: #f85517;
  font-size: 18px;
  font-weight: 700;
  gap: 1.5rem;
}

.sw-bell {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.sw-priority .sw-box {
  background: #fff3cd;
  margin-top: 0;
}

.sw-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d8dbdf;
  padding: 0 20px 10px;
}

.sw-tab {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem 0;
  color: #181c32;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-size: 18px;
}

.sw-tab.is-active {
  font-weight: 700;
  border-bottom-color: #e94112;
}

.sw-tab:last-child {
  margin-right: 1rem;
}

.sw-mic {
  background: #fff5ed;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.sw-mic img {
  width: 24px;
  height: 24px;
}

.sw-tab-label {
  margin-left: 1.5rem;
}

.sw-player {
  padding: 1rem 2.5rem;
}

.sw-player-bar {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: #f7f8f8;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #5b616e;
  font-size: 13px;
}

.sw-player-dot {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #e94112;
}

.sw-player-track {
  flex: 1;
  height: 4px;
  background: #e4e6ef;
  border-radius: 4px;
}

.sw-player-track span {
  display: block;
  width: 18%;
  height: 100%;
  background: #e94112;
  border-radius: 4px;
}

.sw-panes {
  padding: 0 2.5rem 2.5rem;
}

.sw-pane {
  display: none;
}

.sw-pane.is-active {
  display: block;
}

.sw-hero {
  background: linear-gradient(135deg, #ff6b35, #e94112);
  color: #fff;
  border-radius: 0.475rem;
  padding: 2rem 1.75rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.sw-card {
  border: 1px solid #e4e6ef;
  border-radius: 0.475rem;
  margin-bottom: 1rem;
  background: #fff;
}

.sw-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.75rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.sw-card-head svg {
  color: #e94112;
  flex-shrink: 0;
}

.sw-card-body {
  padding: 1.25rem 1.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
}

.sw-card-body > div + div {
  margin-top: 0.35rem;
}

.sw-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  padding: 10px 16px;
  border-radius: 12px;
  background: #f1f1f2;
  color: #3f4254;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.sw-copy.is-done {
  background: #e8fff3;
  color: #1b5e3a;
}

.sw-chapter {
  margin: 20px 0;
}

.sw-chapter-label {
  display: inline-block;
  min-width: 50%;
  border: 1px solid #eaeaea;
  padding: 5px 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 16px;
}

.sw-chapter-label strong {
  font-weight: 700;
}

.sw-chapter-time {
  margin-left: 0.5rem;
  color: #e94112;
  font-size: 13px;
}

.sw-chapter-body {
  border-radius: 12px;
  padding: 16px;
  background: #f7f8f8;
  font-size: 16px;
  margin-top: 0;
}

.sw-caller-row {
  display: flex;
  align-items: center;
}

.sw-caller-copy {
  flex: 4;
}

.sw-caller-copy h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #e94112;
}

.sw-caller-copy span {
  font-size: 16px;
  font-weight: 700;
}

.sw-phone {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #e94112);
  flex-shrink: 0;
}

.sw-related {
  margin-top: 1.25rem;
}

.sw-related-item {
  position: relative;
  display: block;
  border: 1px solid #d8dbdf;
  margin: 1.4rem 0 0;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.sw-related-item.is-current {
  border-color: #e94112;
}

.sw-related-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.sw-related-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  background: #4a4846;
  border-radius: 4px;
  margin-right: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  vertical-align: middle;
}

.sw-related-when {
  position: absolute;
  right: 0;
  top: -13px;
  background: #fff;
  border-radius: 13px;
  padding: 5px 10px;
  margin: 0 10px;
  font-size: 11px;
  color: #333;
}

@media (max-width: 1100px) {
  .sw-body {
    flex-direction: column;
  }

  .sw-left,
  .sw-center,
  .sw-right {
    flex: none;
    width: 100%;
    border: 0;
  }

  .sw-header {
    flex-wrap: wrap;
  }

  .sw-logo,
  .sw-main-title,
  .sw-info {
    flex: 1 1 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .sw-logo img {
    margin-left: 16px;
  }
}
