@import url("./free-report.css");
/* Shared preview assistant, dialogs, and legacy detailed-dashboard components. */
@media(max-width:600px){.rp-week-wrap{overflow-x:auto;overscroll-behavior:contain;padding-bottom:6px}.rp-week-preview .rp-week-grid{min-width:640px}.rp-week-preview .rp-week-row{grid-template-columns:30px repeat(24,minmax(22px,1fr))}.rp-week-preview .rp-week-row button{min-height:24px}}
.rp-lana-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 10px;
}
.rp-lana-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 15%;
  background: #e6e0f4;
  color: #635081;
  font:
    italic 30px Georgia,
    serif;
}
.rp-lana-intro small {
  display: block;
  margin-top: 4px;
  color: #82907f;
  font-size: 10px;
}
.rp-lana-verdict {
  border-left: 3px solid #9c83bd;
  background: #f7f4fa;
  padding: 22px 25px;
  margin: 24px 0;
  border-radius: 0 14px 14px 0;
}
.rp-lana-verdict > span {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #81679c;
  font-weight: 600;
}
.rp-lana-verdict p {
  font:
    20px/1.7 Georgia,
    serif;
  color: #4c3c60;
  margin: 10px 0 0;
}
.rp-calendar-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #6b7b6e;
}
.rp-calendar-label input {
  min-width: 0;
  font: inherit;
  padding: 8px;
  border: 1px solid #d9e3d8;
  background: #fff;
  color: #365940;
  border-radius: 8px;
}
.rp-full-section {
  margin: 26px 0;
}
.rp-full-section > h3,
.rp-section-toolbar h3 {
  font-size: 21px;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}
.rp-score-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.rp-score-list > div {
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}
.rp-score-list strong {
  text-align: right;
  font-size: 11px;
}
.rp-score-list progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 10px;
  background: #ecf1e9;
  accent-color: #468e70;
}
.rp-score-list progress::-webkit-progress-bar {
  background: #ecf1e9;
  border-radius: 10px;
}
.rp-score-list progress::-webkit-progress-value {
  background: #468e70;
  border-radius: 10px;
}
.rp-compact-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid #e4e9e3;
  border-bottom: 1px solid #e4e9e3;
}
.rp-compact-facts span {
  display: block;
  font-size: 11px;
  color: #718070;
}
.rp-compact-facts strong {
  display: block;
  margin-top: 7px;
  font-size: 19px;
}
.rp-section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.rp-section-toolbar h3 {
  margin: 0;
}
.rp-segment {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #eff3ed;
  border-radius: 12px;
}
.rp-segment button {
  background: none;
  border: 0;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 11px;
  color: #607260;
}
.rp-segment button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 5px #234c3010;
  color: #285f42;
}
.rp-trend-scroll {
  overflow-x: auto;
  overscroll-behavior: contain;
}
.rp-trend-bars {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(36px, 1fr));
  min-width: calc(var(--columns) * 42px);
  gap: 9px;
  height: 200px;
  padding-top: 6px;
}
.rp-trend-bars button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  border: 0;
  background: none;
  padding: 0;
  color: #42644e;
  height: 190px;
}
.rp-trend-bars button > span {
  width: min(100%, 60px);
  height: calc(var(--bar) * 0.7);
  background: #85b79c;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
}
.rp-trend-bars strong,
.rp-trend-bars small {
  font-size: 9px;
  font-weight: 500;
}
.rp-trend-bars button:hover > span {
  background: #39815d;
}
.rp-source-link {
  background: none;
  border: 0;
  padding: 8px 0;
  color: #247754;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
}
.rp-sample-surface {
  filter: blur(0.3px);
  transition: filter 0.25s ease;
}
.rp-sample-surface:hover,
.rp-sample-surface:focus-within,
.rp-sample-surface:active {
  filter: none;
}
.rp-week-preview.is-full .rp-week-grid {
  filter: blur(0.5px);
  opacity: 0.95;
}
.rp-week-preview.is-full:hover .rp-week-grid,
.rp-week-preview.is-full:focus-within .rp-week-grid {
  filter: none;
}
.rp-week-preview.is-full .rp-week-overlay {
  display: none;
}
@media (max-width: 600px) {
  .rp-score-list > div {
    grid-template-columns: 1fr 70px;
    gap: 8px;
  }
  .rp-score-list progress {
    grid-column: 1;
    grid-row: auto;
  }
  .rp-score-list strong {
    grid-column: 2;
    grid-row: auto;
  }
  .rp-compact-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .rp-segment button {
    padding: 10px 12px;
  }
  .rp-full-section > h3 {
    font-size: 19px;
  }
}
.rp-analyzed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font: inherit;
  color: #286e58;
  border: 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: #acc8b7;
  text-underline-offset: 4px;
  cursor: pointer;
}
.rp-story-copy section {
  margin: 0 0 22px;
}
.rp-story-copy section h3 {
  font-size: 16px;
  font-family: inherit;
  letter-spacing: -0.2px;
  margin: 0 0 7px;
}
.rp-week-preview {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid #e0e8e1;
  background: #f8faf7;
  border-radius: 18px;
}
.rp-week-preview h3 {
  margin: 9px 0;
  font-size: 24px;
  letter-spacing: -0.7px;
}
.rp-week-preview header p {
  font-size: 12px;
  color: #6a7b6e;
  line-height: 1.7;
  margin: 0 0 22px;
}
.rp-week-wrap {
  position: relative;
}
.rp-week-grid {
  transition:
    filter 0.45s ease,
    opacity 0.45s ease;
  filter: blur(2.5px);
  opacity: 0.65;
}
.rp-week-row {
  display: grid;
  grid-template-columns: 30px repeat(24, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
  margin: 4px 0;
}
.rp-week-row > span {
  font-size: 9px;
  color: #597263;
}
.rp-week-row button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 3px;
  background: rgb(35 123 80 / var(--intensity));
  min-height: 7px;
  padding: 0;
  cursor: pointer;
}
.rp-week-row button:hover,
.rp-week-row button:focus-visible {
  outline: 2px solid #1d694c;
  outline-offset: 1px;
}
.rp-week-hours {
  display: grid;
  grid-template-columns: 30px repeat(4, 1fr);
  font-size: 9px;
  color: #76877c;
  margin-top: 12px;
}
.rp-week-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(transparent, #f8faf7a0, transparent);
}
.rp-week-overlay > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 600;
}
.rp-week-overlay small {
  font-size: 10px;
  color: #637a6b;
  text-align: center;
}
.rp-week-overlay .wf-button {
  min-height: 42px;
  font-size: 12px;
  padding: 10px 18px;
}
.is-peeking .rp-week-grid {
  filter: none;
  opacity: 1;
}
.is-peeking .rp-week-overlay {
  display: none;
}
@media (max-width: 600px) {
  .rp-week-preview {
    padding: 16px 10px;
  }
  .rp-week-row {
    gap: 2px;
    grid-template-columns: 23px repeat(24, minmax(0, 1fr));
  }
  .rp-week-wrap {
    min-height: 175px;
  }
  .rp-week-row button {
    min-height: 14px;
  }
  .rp-week-overlay small {
    font-size: 9px;
  }
  .rp-week-preview h3 {
    font-size: 22px;
  }
}
.rp-chat {
  border: 1px solid #dce7e1;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  margin: 20px 0;
}
.rp-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f4f8f5;
  border-bottom: 1px solid #e5ece7;
}
.rp-chat-header h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.rp-chat-header p {
  margin: 0;
  font-size: 11px;
  color: #62766d;
}
.rp-chat-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #1f735e;
  color: #fff;
  flex-shrink: 0;
}
.rp-chat-remaining {
  margin-left: auto;
  white-space: nowrap;
  border: 1px solid #d7e4dc;
  padding: 7px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.rp-chat-log {
  height: 380px;
  max-height: 52dvh;
  min-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  scroll-padding: 20px;
}
.rp-chat-log article {
  width: fit-content;
  max-width: 91%;
  margin: 0 0 18px;
  border-radius: 16px;
  padding: 14px 17px;
  overflow-wrap: anywhere;
}
.rp-chat-log article > span {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #61766c;
  display: flex;
  gap: 7px;
  align-items: center;
}
.rp-chat-log article p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 7px 0 0;
}
.rp-chat-answer {
  background: #f4f7f4;
}
.rp-chat-question {
  margin-left: auto !important;
  background: #e5f2ea;
}
.rp-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.rp-chat-prompts button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #dfe7e1;
  border-radius: 10px;
  padding: 10px 12px;
  color: #376757;
  background: #fff;
  font-size: 11px;
  min-height: 42px;
}
.rp-chat-controls {
  padding: 18px 22px 8px;
  border-top: 1px solid #e5ece7;
}
.rp-chat-consent {
  display: flex;
  gap: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #536f62;
  margin-bottom: 14px;
  cursor: pointer;
}
.rp-chat-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #237b68;
}
#rp-chat-form {
  border: 1px solid #ccdcd1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 8px;
}
#rp-chat-form:focus-within {
  box-shadow: 0 0 0 3px #237b6810;
  border-color: #237b68;
}
#rp-chat-input {
  width: 100%;
  border: 0;
  background: transparent;
  resize: vertical;
  min-height: 44px;
  max-height: 110px;
  padding: 7px;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  outline: none;
}
#rp-chat-form button {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #237b68;
  color: white;
  border: 0;
  flex-shrink: 0;
}
.rp-chat button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.rp-chat-hint {
  font-size: 10px;
  line-height: 1.6;
  color: #73857b;
  margin: 9px 0;
}
.rp-chat-error {
  color: #9f433b;
  font-size: 12px;
  padding: 0 22px;
}
.rp-chat-upgrade {
  background: #edf4ee;
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #cfdfd2;
}
.rp-chat-upgrade h3 {
  margin: 12px 0 0;
  font-size: 22px;
}
.rp-chat-upgrade .wf-button {
  margin: 16px 0 10px;
}
.rp-chat-upgrade small {
  display: block;
  color: #647c6c;
  font-size: 10px;
  line-height: 1.7;
}
.rp-chat-sources {
  font-size: 11px;
  margin-top: 12px;
}
.rp-chat-sources summary {
  cursor: pointer;
  color: #2c785e;
  min-height: 30px;
}
.rp-chat-sources button {
  display: grid;
  gap: 5px;
  width: 100%;
  text-align: left;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #d6e2d9;
  background: #fff;
  border-radius: 10px;
  color: #355e4c;
}
.rp-chat-sources time {
  font-size: 9px;
}
.rp-chat-sources button > span {
  white-space: pre-wrap;
  font-size: 11px;
}
.rp-chat-thinking {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #61796c;
  padding: 8px 0 20px;
}
.rp-chat-thinking i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6e9d82;
  animation: rp-chat-pulse 1.1s infinite alternate;
}
.rp-chat-thinking i:nth-child(2) {
  animation-delay: 0.15s;
}
.rp-chat-thinking i:nth-child(3) {
  animation-delay: 0.3s;
}
.rp-chat-thinking span {
  margin-left: 8px;
}
@keyframes rp-chat-pulse {
  to {
    opacity: 0.3;
    transform: translateY(-3px);
  }
}
@media (max-width: 600px) {
  .rp-chat-header {
    padding: 14px;
    gap: 9px;
  }
  .rp-chat-header h3 {
    font-size: 14px;
  }
  .rp-chat-mark {
    display: none;
  }
  .rp-chat-log {
    padding: 14px;
  }
  .rp-chat-controls {
    padding: 14px;
  }
  .rp-chat-prompts button {
    width: 100%;
  }
  .rp-chat-log article {
    max-width: 96%;
  }
  .rp-chat-remaining {
    font-size: 10px;
    padding: 6px;
  }
  .rp-chat-header p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rp-chat-thinking i {
    animation: none;
  }
}
.welcome-report-shell .welcome-nav {
  max-width: 1120px;
  padding: 12px 32px;
  border-bottom: 1px solid #edf1ee;
}
.welcome-report-shell .wf-report {
  width: min(100% - 64px, 1040px);
  margin: 12px auto 28px;
}
.report-preview {
  --rp-green: #237b68;
  --rp-ink: #163b32;
  --rp-muted: #657b74;
  color: var(--rp-ink);
}
.report-preview button,
.report-preview a {
  -webkit-tap-highlight-color: transparent;
}
.report-preview:not(.free-editorial) svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.report-preview .rp-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 8px 0 12px;
}
.report-preview .rp-heading h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.3px;
  line-height: 1.15;
  margin: 9px 0 8px;
  overflow-wrap: anywhere;
}
.rp-heading .wf-success {
  font-size: 9px;
  letter-spacing: 1.35px;
}
.report-preview .rp-heading p {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
  color: var(--rp-muted);
}
.rp-heading p > span {
  margin: 0 6px;
  color: #aec1b8;
}
.rp-preview-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 30px;
  background: #f0f7f3;
  font-size: 11px;
  color: #277c61;
  white-space: nowrap;
}
.rp-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  background: #fff;
  border-bottom: 1px solid #e4ece7;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 6px 0;
  margin-bottom: 20px;
  overscroll-behavior-x: contain;
}
.rp-tabs button {
  border: 0;
  background: none;
  color: #70827b;
  padding: 12px 15px;
  font:
    500 12px Inter,
    Arial,
    sans-serif;
  border-radius: 9px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
.rp-tabs button:hover {
  background: #f5f8f6;
  color: #234d40;
}
.rp-tabs button[aria-selected="true"] {
  color: #fff;
  background: #236e59;
  box-shadow: 0 3px 8px #174d3412;
}
.rp-tabs button > span {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #e8eee9;
  color: #526d61;
}
.rp-tabs button[aria-selected="true"] > span {
  background: #ffffff26;
  color: #fff;
}
.rp-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border: 1px solid #e2eae5;
  border-radius: 15px;
  background: #fcfdfc;
  padding: 20px 22px;
  gap: 26px;
  margin-bottom: 16px;
}
.rp-section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rp-section-line h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0;
}
.rp-section-line > span {
  font-size: 10px;
  color: #769084;
}
.rp-share-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 16px 0 10px;
}
.rp-share-names > div {
  min-width: 0;
}
.rp-share-names > div > span:last-child {
  display: block;
  margin: 7px 0 0 14px;
  font-size: 16px;
}
.rp-share-names strong {
  font-weight: 600;
}
.rp-share-names small {
  font-size: 10px;
  color: #71887b;
  margin-left: 5px;
}
.rp-person {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 550;
  min-width: 0;
}
.rp-person > span {
  overflow-wrap: anywhere;
}
.rp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #399985;
  flex-shrink: 0;
}
.rp-dot[data-person="1"] {
  background: #9580c4;
}
.rp-share-bar {
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  gap: 2px;
}
.rp-share-bar > span {
  background: #399985;
}
.rp-share-bar > span[data-person="1"] {
  background: #9580c4;
}
.rp-talking > p {
  font-size: 9px;
  color: #809186;
  line-height: 1.5;
  margin: 8px 0 0;
}
.rp-snapshot-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid #e6ede8;
  padding-left: 24px;
  gap: 18px;
}
.rp-snapshot-facts button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.rp-snapshot-facts button > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6d8377;
  font-size: 10px;
  line-height: 1.5;
}
.rp-snapshot-facts svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}
.rp-snapshot-facts strong {
  display: block;
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 10px 0 5px;
}
.rp-snapshot-facts small {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  color: #86948b;
}
.rp-panel {
  max-width: 820px;
  margin: auto;
  outline-offset: 6px;
  animation: rp-chapter-in 0.24s ease both;
}
.rp-chapter-heading {
  margin: 0 0 20px;
}
.rp-eyebrow {
  font-size: 9px;
  font-weight: 600;
  color: #719181;
  letter-spacing: 1.5px;
}
.rp-chapter-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.5vw, 37px);
  letter-spacing: -1px;
  font-weight: 400;
  line-height: 1.22;
  margin: 10px 0;
  text-wrap: balance;
}
.rp-chapter-heading > p {
  font-size: 12px;
  color: #7a8b81;
  line-height: 1.75;
  max-width: 680px;
  margin: 0;
}
.rp-story-copy {
  color: #435e53;
  font-size: 14px;
  line-height: 1.95;
  max-width: 750px;
}
.rp-story-copy p {
  margin: 0 0 17px;
  overflow-wrap: anywhere;
}
.rp-story-copy section:first-child p::first-letter {
  float: left;
  font-family: Georgia, serif;
  font-size: 46px;
  color: #2e7560;
  line-height: 0.9;
  margin: 7px 7px 0 0;
}
.rp-gate {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  margin: 6px 0 16px;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(#fff, #f5f9f6);
}
.rp-blurred {
  height: 210px;
  padding: 2px 5px;
  filter: blur(4px);
  opacity: 0.5;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(#000, #000 20%, transparent 100%);
}
.rp-blurred p {
  font-size: 14px;
  line-height: 1.95;
  color: #526c5d;
  margin: 0 0 15px;
}
.rp-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(#fff0, #f7faf8e8 30%, #f5f9f6 90%);
}
.rp-gate-content {
  position: relative;
  z-index: 2;
  padding: 35px 25px 22px;
  margin-top: -190px;
  text-align: center;
}
.rp-gate-kicker {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #51816a;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.rp-gate-kicker svg {
  width: 13px;
  height: 13px;
}
.rp-gate h3 {
  color: #204d3c;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin: 12px 0 9px;
  text-wrap: balance;
}
.rp-gate-content > p {
  font-size: 12px;
  line-height: 1.7;
  color: #698271;
  max-width: 490px;
  margin: 0 auto 17px;
}
.rp-gate .wf-button {
  font-size: 12px;
  min-height: 46px;
  padding: 13px 24px;
  width: max-content;
  max-width: 100%;
  margin: auto;
  gap: 10px;
}
.rp-gate-content > small {
  display: block;
  font-size: 10px;
  line-height: 1.65;
  color: #6c7f70;
  max-width: 470px;
  margin: 11px auto 0;
}
.rp-ghost-chart {
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 12px;
}
.rp-ghost-chart span {
  width: 30px;
  height: var(--bar);
  border-radius: 7px 7px 0 0;
  background: #c2dbcd;
}
.rp-ghost-lines {
  display: grid;
  gap: 9px;
}
.rp-ghost-lines span {
  height: 9px;
  border-radius: 9px;
  background: #d5e2d9;
  width: 85%;
}
.rp-ghost-lines span:nth-child(2) {
  width: 95%;
}
.rp-ghost-lines span:nth-child(3) {
  width: 62%;
}
.rp-next-chapters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px 15px;
  flex-wrap: wrap;
  padding: 6px 0 16px;
}
.rp-next-chapters > span {
  font-size: 10px;
  color: #85968a;
}
.rp-next-chapters button {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  border: 0;
  background: none;
  color: #3c725b;
  font:
    500 10px Inter,
    Arial,
    sans-serif;
  cursor: pointer;
  padding: 4px;
}
.rp-next-chapters svg {
  width: 12px;
  height: 12px;
}
.rp-coverage {
  max-width: 820px;
  margin: 10px auto 0;
  border-top: 1px solid #e7eee8;
  color: #6c7f74;
}
.rp-coverage > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 17px 0;
  font-size: 10px;
  cursor: pointer;
  list-style: none;
}
.rp-coverage > summary svg:last-child {
  margin-left: auto;
  width: 12px;
}
.rp-coverage p {
  font-size: 11px;
  line-height: 1.8;
}
.rp-coverage .wf-text-button {
  font-size: 11px;
}
.rp-method {
  font-size: 10px;
  line-height: 1.75;
  color: #7c8d80;
  margin: 12px 0 20px;
}
.rp-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e3ece5;
  border-radius: 12px;
}
.rp-comparison {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
.rp-comparison th,
.rp-comparison td {
  padding: 15px 18px;
  border-bottom: 1px solid #eaf0eb;
  font-size: 12px;
}
.rp-comparison th {
  font-weight: 500;
  color: #698373;
}
.rp-comparison td {
  font-weight: 600;
}
.rp-comparison thead {
  background: #f6f9f6;
}
.rp-comparison tr:last-child > * {
  border-bottom: 0;
}
.rp-chart-card {
  padding: 20px;
  border: 1px solid #e3ebe5;
  border-radius: 14px;
  background: #fdfefd;
}
.rp-chart-label {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.rp-chart-label strong {
  font-size: 12px;
  font-weight: 550;
}
.rp-chart-label > span {
  font-size: 10px;
  color: #789080;
}
.rp-hour-chart {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  height: 155px;
  align-items: end;
  gap: 5px;
}
.rp-hour-chart button {
  height: 100%;
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding-bottom: 25px;
}
.rp-hour-bar {
  display: block;
  width: 100%;
  height: var(--bar);
  max-height: calc(100% - 6px);
  border-radius: 4px 4px 1px 1px;
  background: #6caa90;
  transition: background 0.2s;
  min-height: 3px;
}
.rp-hour-bar[data-empty="true"] {
  background: #e3ece5;
}
.rp-hour-chart button:hover .rp-hour-bar {
  background: #256e54;
}
.rp-hour-chart small {
  position: absolute;
  bottom: 0;
  font-size: 9px;
  color: #90a08e;
  white-space: nowrap;
}
.rp-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.rp-days button {
  border: 1px solid #cbe2d3;
  background: #eaf5ee;
  border-radius: 8px;
  padding: 9px 4px;
  min-height: 55px;
  color: #408160;
  cursor: pointer;
}
.rp-days button[data-quiet="true"] {
  border-style: dashed;
  border-color: #e1e8df;
  background: #fafcf9;
  color: #98a594;
}
.rp-days span {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.rp-days small {
  font-size: 8px;
  margin-top: 5px;
  display: block;
}
.rp-return-preview h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 20px 0 12px;
}
.rp-return-list {
  border-top: 1px solid #e7eee7;
}
.rp-return-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid #e7eee7;
  width: 100%;
  text-align: left;
  padding: 13px 0;
  color: #476f55;
  cursor: pointer;
}
.rp-return-list strong {
  font-size: 11px;
  display: block;
  overflow-wrap: anywhere;
}
.rp-return-list small {
  font-size: 9px;
  color: #8e9d8a;
  margin-top: 5px;
  display: block;
}
.rp-return-list button > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin-left: auto;
  white-space: nowrap;
}
.rp-return-icon {
  background: #ecf6ed;
  padding: 7px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.rp-message-toolbar {
  display: flex;
  gap: 12px;
}
.rp-message-toolbar label {
  margin: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe8df;
  border-radius: 9px;
  padding: 0 12px;
  color: #86a08a;
}
.rp-message-toolbar input {
  border: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  padding: 13px 0;
  outline: none;
}
.rp-message-toolbar label:focus-within {
  outline: 2px solid #71c3a6;
  outline-offset: 2px;
}
.rp-message-toolbar > div {
  display: flex;
  gap: 6px;
}
.rp-message-toolbar button {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 44px;
  background: #f6faf6;
  color: #628368;
  border: 1px solid #e0e9df;
  border-radius: 9px;
  cursor: pointer;
}
.rp-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 13px 0;
  font-size: 10px;
  color: #8b9c88;
}
.rp-message-meta button {
  border: 1px solid #dbe7db;
  border-radius: 25px;
  background: #f0f7ef;
  color: #5e8062;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  cursor: pointer;
}
.rp-messages {
  position: relative;
  max-height: 390px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #e0e9df;
  border-radius: 12px;
  background: #f9fbf8;
  padding: 10px 16px;
  margin-bottom: 22px;
  scroll-behavior: smooth;
}
.rp-messages article {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 11px;
  margin: 9px 0;
}
.rp-messages article[data-sender="0"] {
  background: #edf6ed;
  border-color: #e1ecdf;
}
.rp-messages article p {
  margin: 8px 0 0;
}
.rp-messages article.rp-highlight {
  border-color: #3e9d64;
  box-shadow: 0 0 0 3px #83c39730;
}
.rp-empty {
  font-size: 12px;
  padding: 28px 12px;
  text-align: center;
  color: #6a8168;
}
.rp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.rp-details-grid > section {
  border: 1px solid #e1e9df;
  border-radius: 12px;
  padding: 20px;
}
.rp-details-grid h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 18px;
}
.rp-word-list,
.rp-emoji-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.rp-word-list button,
.rp-emoji-list button {
  padding: 10px 12px;
  background: #f0f7ed;
  border: 1px solid #e1ecd9;
  border-radius: 8px;
  color: #578047;
  font-size: 12px;
  cursor: pointer;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.rp-word-list strong {
  margin-left: 8px;
  font-size: 10px;
  opacity: 0.7;
}
.rp-emoji-list button {
  font-size: 24px;
  background: #fafbf7;
}
.rp-emoji-list small {
  font-size: 10px;
}
.rp-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: 80dvh;
  border: 1px solid #dce8df;
  border-radius: 20px;
  padding: 24px;
  color: #254c36;
  box-shadow: 0 30px 100px #10351c30;
  overflow: auto;
}
.rp-dialog::backdrop {
  background: #15352566;
  backdrop-filter: blur(5px);
}
.rp-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.rp-dialog h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 10px 0;
}
.rp-dialog > header button {
  border: 0;
  background: #eff6ed;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #528040;
  cursor: pointer;
}
.rp-dialog > p {
  font-size: 12px;
  color: #71846a;
}
.rp-dialog-messages {
  margin: 20px 0;
}
.rp-dialog-messages button {
  display: block;
  width: 100%;
  max-height: 130px;
  overflow: hidden;
  border: 1px solid #e0ebda;
  background: #f5faf1;
  padding: 14px;
  margin-bottom: 9px;
  border-radius: 10px;
  color: #496b3a;
  text-align: left;
  cursor: pointer;
}
.rp-dialog-messages strong {
  display: block;
  font-size: 11px;
}
.rp-dialog-messages time {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #829776;
  margin-top: 5px;
}
.rp-dialog-messages span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.rp-dialog-messages > p {
  font-size: 12px;
  line-height: 1.8;
  color: #809574;
}
.rp-dialog .wf-button {
  width: 100%;
  font-size: 12px;
}
.welcome-report-shell .welcome-footer {
  padding: 20px 24px;
  font-size: 10px;
}
@keyframes rp-chapter-in {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 700px) {
  .welcome-report-shell .welcome-nav {
    padding: 14px 18px;
  }
  .welcome-report-shell .wf-report {
    width: calc(100% - 32px);
    margin-top: 6px;
  }
  .report-preview .rp-heading {
    padding: 12px 0 15px;
    gap: 10px;
  }
  .report-preview .rp-heading h1 {
    font-size: 27px;
  }
  .report-preview .rp-heading p {
    font-size: 10px;
  }
  .rp-heading .wf-success {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .rp-preview-label {
    font-size: 9px;
    padding: 6px 9px;
  }
  .rp-preview-label svg {
    display: none;
  }
  .rp-tabs {
    gap: 2px;
    margin-bottom: 15px;
  }
  .rp-tabs button {
    font-size: 11px;
    padding: 11px 12px;
  }
  .rp-snapshot {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 14px;
    margin-bottom: 23px;
  }
  .rp-snapshot-facts {
    border-left: 0;
    border-top: 1px solid #e6ede8;
    padding: 12px 0 0;
  }
  .rp-snapshot-facts strong {
    font-size: 22px;
    margin: 5px 0 3px;
  }
  .rp-snapshot-facts button {
    padding: 0;
  }
  .rp-share-names {
    margin-top: 12px;
    gap: 10px;
  }
  .rp-share-names small {
    display: block;
    margin: 3px 0 0;
  }
  .rp-share-names > div > span:last-child {
    margin-top: 5px;
    font-size: 15px;
  }
  .rp-talking > p {
    font-size: 8px;
  }
  .rp-chapter-heading {
    margin-bottom: 17px;
  }
  .rp-chapter-heading h2 {
    font-size: 29px;
    text-wrap: pretty;
  }
  .rp-chapter-heading > p {
    font-size: 11px;
  }
  .rp-story-copy {
    font-size: 13px;
    line-height: 1.9;
  }
  .rp-gate {
    min-height: 260px;
  }
  .rp-gate-content {
    padding: 32px 16px 20px;
    margin-top: -190px;
  }
  .rp-gate h3 {
    font-size: 20px;
  }
  .rp-gate-content > small {
    font-size: 10px;
  }
  .rp-gate-content > p {
    font-size: 11px;
  }
  .rp-next-chapters {
    gap: 3px 10px;
  }
  .rp-next-chapters > span {
    flex-basis: 100%;
    text-align: center;
  }
  .rp-chart-card {
    padding: 16px 12px;
  }
  .rp-hour-chart {
    gap: 3px;
    height: 145px;
  }
  .rp-hour-chart small {
    font-size: 7px;
  }
  .rp-comparison th,
  .rp-comparison td {
    padding: 13px 11px;
    font-size: 10px;
  }
  .rp-comparison .rp-person {
    font-size: 10px;
  }
  .rp-days {
    gap: 5px;
  }
  .rp-days button {
    padding: 8px 2px;
    min-height: 48px;
  }
  .rp-days small {
    font-size: 7px;
  }
  .rp-return-list button {
    gap: 8px;
  }
  .rp-return-list button > span:last-child {
    font-size: 9px;
  }
  .rp-return-icon {
    padding: 5px;
  }
  .rp-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rp-details-grid > section {
    padding: 16px;
  }
  .rp-messages {
    max-height: 370px;
    padding: 8px;
  }
  .rp-messages article {
    padding: 11px;
  }
  .rp-message-toolbar {
    gap: 8px;
  }
  .rp-message-toolbar label {
    padding: 0 9px;
  }
  .rp-message-toolbar button {
    width: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-preview * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
