.ufy-statistics {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fafafa;
  color: #131416;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --usx-border: #eeeef0;
  --usx-muted: #686d7d;
}
.ufy-phone-app-screen-content.usx-host {
  padding: 0;
  overflow: hidden;
  background: #fafafa;
}
.usx-screen > .ufy-phone-app-screen-header {
  display: none;
}
.ufy-statistics *,
.usx-detail * {
  box-sizing: border-box;
}
.ufy-statistics [hidden],
.usx-detail [hidden] {
  display: none !important;
}
.usx-inner {
  max-width: 1100px;
  padding: 24px 24px 42px;
  margin: auto;
}
.ufy-statistics button,
.ufy-statistics input,
.ufy-statistics select,
.usx-detail button {
  font: inherit;
  color: inherit;
}
.ufy-statistics button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ufy-statistics button:focus-visible,
.ufy-statistics select:focus-visible,
.ufy-statistics input:focus-visible {
  outline: 3px solid #7474f4;
  outline-offset: 3px;
}
.ufy-statistics button:disabled {
  cursor: wait;
  opacity: 0.5;
}
.usx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.usx-back {
  display: flex;
  gap: 5px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.usx-back > svg {
  width: 18px;
  height: 24px;
}
.usx-back > span {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -3px;
}
.usx-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.usx-glasses,
.usx-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
.usx-glasses {
  object-fit: contain;
}
.usx-avatar {
  border: 0;
  background: #e8e8ed;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  font-weight: 700;
}
.usx-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usx-title-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
.ufy-statistics h1 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 0 0 8px;
  font-weight: 750;
}
.ufy-statistics p {
  color: var(--usx-muted);
  line-height: 1.5;
  margin: 6px 0 14px;
}
.usx-title-row p {
  font-size: 16px;
  margin: 0;
}
.usx-button {
  border: 1px solid #e6e6e9;
  background: linear-gradient(#fff, #fdfdfd);
  border-radius: 12px;
  min-height: 40px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 12px #11111108;
  font-weight: 600;
  white-space: normal;
}
.usx-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.usx-date {
  font-size: 13px !important;
  flex-shrink: 0;
}
.usx-periods {
  display: flex;
  border-radius: 24px;
  background: #f0f0f2;
  padding: 3px;
  margin: 22px 0 10px;
}
.usx-periods button {
  flex: 1;
  border: 0;
  border-radius: 22px;
  background: transparent;
  min-height: 43px;
  font-weight: 600;
  font-size: 15px;
}
.usx-periods [aria-pressed='true'],
.usx-button.is-primary {
  background: linear-gradient(125deg, #050505, #27292c);
  color: #fff;
  box-shadow: 0 4px 10px #0002;
}
.usx-nav {
  display: flex;
  gap: 4px;
  overflow: auto;
  scrollbar-width: none;
  padding: 5px 0 12px;
}
.usx-nav button {
  flex-shrink: 0;
  border: 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: transparent;
  color: #71727c;
  font-size: 13px;
  font-weight: 600;
}
.usx-nav [aria-pressed='true'] {
  background: #ececef;
  color: #101112;
}
.usx-date-form {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.usx-date-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
.usx-date-form input {
  border: 1px solid #ddd;
  background: #fff;
  min-width: 0;
  width: 100%;
  height: 38px;
  border-radius: 8px;
  padding: 4px;
}
.usx-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 2px 0 18px;
}
.usx-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 20px 18px;
  min-height: 153px;
  background: linear-gradient(145deg, #fff, #fdfdfd);
  border: 1px solid #fff;
  border-radius: 20px;
  box-shadow: 0 3px 15px #0000000b;
  color: #0e0f10;
  overflow: hidden;
}
.usx-metric-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(140deg, #f2f2f2, #e6e6e8);
  display: grid;
  place-items: center;
}
.usx-metric-icon svg {
  width: 31px;
  height: 31px;
}
.usx-metric-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 1;
}
.usx-metric-copy > span:first-child {
  font-size: 14px;
  line-height: 1.2;
}
.usx-metric-copy > strong {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 750;
}
.usx-metric-copy > small {
  font-size: 11px;
  color: var(--usx-muted);
}
.usx-change {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 4px;
}
.usx-change.is-up {
  color: #009744;
}
.usx-change.is-down {
  color: #ef2840;
}
.usx-no-comparison {
  display: block;
  font-size: 11px;
  color: #737886;
  margin: 5px 0;
  max-width: 140px;
}
.usx-spark {
  position: absolute;
  right: 13px;
  bottom: 25px;
  width: 67px;
  height: 34px;
  opacity: 0.85;
}
.usx-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.usx-panel {
  border: 1px solid #fff;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 3px 14px #0000000a;
}
.ufy-statistics h2 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
  font-weight: 700;
}
.ufy-statistics h3 {
  font-size: 17px;
  margin: 22px 0 12px;
}
.usx-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.usx-panel-heading p {
  font-size: 12px;
  margin: 6px 0 0;
}
.ufy-statistics select {
  border: 1px solid #dedee3;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  max-width: 100%;
  font-size: 12px;
}
.usx-plot {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.usx-plot svg {
  width: calc(100% - 39px);
  height: auto;
  overflow: visible;
  touch-action: pan-y;
}
.usx-axis {
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #767a88;
  font-size: 10px;
  text-align: right;
  padding: 2px 0 5px;
}
.usx-axis-dates {
  display: flex;
  justify-content: space-between;
  margin: 9px 0 10px 40px;
  font-size: 11px;
  color: #6c7180;
}
.usx-chart-readout {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-top: 14px;
}
.usx-chart-readout output {
  font-weight: 700;
}
.usx-chart-readout label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6c7180;
}
.usx-chart-readout input {
  width: 95px;
  accent-color: #18191c;
}
.usx-table-toggle {
  font-size: 12px;
  margin-top: 14px;
  color: #6c7180;
}
.usx-table-wrap {
  overflow: auto;
}
.usx-table-wrap table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
.usx-table-wrap td,
.usx-table-wrap th {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.usx-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.usx-compare > div {
  border: 1px solid #f4f4f5;
  box-shadow: 0 3px 10px #00000008;
  border-radius: 14px;
  padding: 14px 10px;
}
.usx-compare > div > span:first-child {
  font-size: 11px;
}
.usx-compare .usx-change {
  font-size: 23px;
  margin-top: 10px;
}
.usx-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}
.usx-secondary article {
  background: #f5f5f7;
  border-radius: 13px;
  padding: 14px;
}
.usx-secondary span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: #666b79;
}
.usx-secondary strong {
  display: block;
  font-size: 24px;
  margin-top: 5px;
  line-height: 1.2;
}
.usx-filters {
  display: flex;
  gap: 6px;
}
.usx-content-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  text-align: left;
}
.usx-content-row > .usx-thumb {
  width: 52px;
  height: 64px;
  flex: 0 0 52px;
  background: #ededf0;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.usx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usx-thumb svg {
  width: 24px;
  height: 24px;
  color: #999;
}
.usx-content-row > .usx-content-name {
  flex: 1;
  min-width: 0;
}
.usx-content-name > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.usx-content-row small,
.usx-leader small {
  display: block;
  color: #777;
  font-size: 10px;
  line-height: 1.4;
  margin-top: 4px;
}
.usx-content-row > span:not(.usx-thumb):not(.usx-content-name) {
  text-align: center;
  font-size: 14px;
  min-width: 32px;
}
.usx-content-row > svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.usx-more {
  display: flex;
  margin: 18px auto 0;
}
.usx-empty {
  padding: 26px 5px;
  text-align: center;
  color: #777;
}
.usx-empty h3 {
  color: #333;
}
.usx-bars > div {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 13px 0;
  font-size: 12px;
}
.usx-bars > div > span {
  width: 105px;
  flex: 0 0 105px;
  overflow-wrap: anywhere;
}
.usx-bars i {
  flex: 1;
  height: 9px;
  background: #f0f0f2;
  border-radius: 10px;
  overflow: hidden;
}
.usx-bars i b {
  display: block;
  height: 100%;
  background: #292a2d;
  border-radius: 10px;
}
.usx-bars strong {
  min-width: 30px;
  text-align: right;
}
.usx-founder > progress {
  width: 100%;
  accent-color: #252527;
  height: 8px;
}
.usx-founder > .usx-glasses {
  float: right;
}
.usx-leader {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.usx-footer {
  font-size: 11px;
  color: #707586;
  line-height: 1.6;
  padding: 4px 2px;
}
.usx-footer details {
  margin: 12px 0;
}
.usx-footer .usx-button {
  font-size: 12px;
}
.usx-status:empty {
  display: none;
}
.usx-status {
  font-size: 13px;
}
.usx-muted {
  font-size: 12px;
  color: #747887;
}
.usx-detail-overlay .us-sheet {
  background: #fff;
  color: #151619;
}
.usx-detail {
  color: #191a1c;
  font-family: Arial, Helvetica, sans-serif;
}
.usx-detail-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f4f4f6;
  border-radius: 14px;
}
.usx-detail h3 {
  margin-top: 24px;
}
.usx-detail p {
  line-height: 1.5;
}
.usx-detail .usx-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ufy-phone-app-icon-statistics {
  background: linear-gradient(145deg, #fff, #dcdde3) !important;
  background-image: url('/assets/ufy-phone/statistics-icon.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}
@media (max-width: 600px) {
  .usx-inner {
    padding: 19px 14px 32px;
  }
  .usx-title-row {
    flex-wrap: wrap;
    gap: 14px;
  }
  .ufy-statistics h1 {
    font-size: 34px;
  }
  .usx-top {
    margin-bottom: 14px;
  }
  .usx-back > span {
    font-size: 32px;
  }
  .usx-glasses,
  .usx-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .usx-title-row p {
    font-size: 14px;
  }
  .usx-date {
    min-height: 35px;
    padding: 8px 10px;
  }
  .usx-periods {
    margin-top: 18px;
  }
  .usx-cards {
    gap: 11px;
  }
  .usx-card {
    padding: 15px 12px;
    min-height: 169px;
    gap: 9px;
    flex-direction: column;
  }
  .usx-metric-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .usx-metric-icon svg {
    width: 22px;
    height: 22px;
  }
  .usx-metric-copy > strong {
    font-size: 29px;
  }
  .usx-metric-copy > span:first-child {
    font-size: 12px;
  }
  .usx-spark {
    right: 10px;
    top: 18px;
    bottom: auto;
    width: 57px;
    height: 25px;
  }
  .usx-metric-copy small {
    font-size: 10px;
  }
  .usx-change {
    font-size: 19px;
  }
  .usx-panel {
    padding: 17px 14px;
  }
  .ufy-statistics h2 {
    font-size: 18px;
  }
  .usx-panel-heading {
    margin-bottom: 14px;
  }
  .usx-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .usx-compare > div {
    padding: 13px 10px;
  }
  .usx-compare .usx-change {
    font-size: 23px;
  }
  .usx-secondary {
    gap: 8px;
  }
  .usx-secondary article {
    padding: 12px 9px;
  }
  .usx-secondary span {
    font-size: 11px;
  }
  .usx-secondary strong {
    font-size: 22px;
  }
  .usx-content-row {
    gap: 8px;
  }
  .usx-content-name > strong {
    font-size: 12px;
  }
  .usx-content-row > .usx-thumb {
    flex-basis: 42px;
    width: 42px;
    height: 54px;
  }
  .usx-content-row > svg {
    display: none;
  }
  .usx-content-row > span:not(.usx-thumb):not(.usx-content-name) {
    font-size: 12px;
    min-width: 28px;
  }
  .usx-plot {
    gap: 5px;
  }
  .usx-plot svg {
    width: calc(100% - 31px);
  }
  .usx-axis {
    width: 26px;
    font-size: 9px;
  }
  .usx-axis-dates {
    font-size: 10px;
    margin-left: 31px;
  }
  .usx-date-form {
    padding: 10px;
    flex-wrap: wrap;
  }
  .usx-date-form label {
    flex: 1 0 40%;
  }
  .usx-bars > div > span {
    width: 85px;
    flex-basis: 85px;
  }
}
.usx-featured .usx-panel-heading {
  gap: 10px;
}
.usx-featured-description {
  font-size: 12px;
}
.usx-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.usx-featured-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 15px;
}
.usx-featured-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  overflow: hidden;
  background: #eeeeef;
  box-shadow: 0 2px 6px #00000012;
}
.usx-featured-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usx-featured-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #898b93;
}
.usx-featured-fallback svg {
  width: 28px;
  height: 28px;
}
.usx-featured-reel {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #0008;
}
.usx-featured-reel svg {
  width: 15px;
  height: 15px;
}
.usx-featured-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 6px 3px;
  padding: 12px 1px 0;
}
.usx-featured-metrics > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 1.3;
}
.usx-featured-metrics svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .usx-featured-grid {
    gap: 8px;
  }
  .usx-featured .usx-button {
    font-size: 11px;
    padding: 7px 9px;
    gap: 3px;
  }
  .usx-featured .usx-button svg {
    width: 14px;
  }
  .usx-featured-image {
    border-radius: 10px;
  }
  .usx-featured-metrics {
    gap: 5px 2px;
    padding-top: 9px;
  }
  .usx-featured-metrics > span {
    font-size: 9px;
    gap: 2px;
  }
  .usx-featured-metrics svg {
    width: 11px;
    height: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ufy-statistics * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
