:root {
  --wv-bg: #f5f5f6;
  --wv-panel: #ffffff;
  --wv-ink: #111718;
  --wv-muted: #5f666b;
  --wv-line: #dde1e4;
  --wv-soft-line: #eceff1;
  --wv-teal: #18b9ad;
  --wv-gold: #e5c400;
  --wv-shadow: 0 1px 0 rgba(16, 24, 40, 0.04), 0 16px 28px rgba(16, 24, 40, 0.04);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wv-bg);
  color: var(--wv-ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wv-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}

.wv-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 16px 9px;
  border-right: 1px solid var(--wv-line);
  background: #f6f7f8;
}

.wv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  margin-bottom: 24px;
  font-size: 15px;
}

.wv-brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 2px solid var(--wv-teal);
  border-radius: 50%;
  background: #080c0d;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.wv-brand-mark.small {
  width: 31px;
  height: 31px;
  font-size: 12px;
}

.wv-nav {
  display: grid;
  gap: 3px;
}

.wv-nav-secondary {
  margin-top: auto;
}

.wv-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}

.wv-nav-item span:first-child {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: #101617;
  color: #fff;
  font-size: 11px;
}

.wv-nav-item.is-active {
  background: var(--wv-panel);
  color: #00a99d;
}

.wv-nav-item.is-active::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 36px;
  border-radius: 10px;
  background: var(--wv-teal);
  content: "";
}

.wv-nav-item i {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--wv-teal);
}

.wv-workspace {
  min-width: 0;
}

.wv-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(280px, 640px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  padding: 7px 24px 7px 220px;
  border-bottom: 1px solid var(--wv-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 23, 24, 0.05);
}

.wv-search {
  display: grid;
  grid-template-columns: 31px 34px minmax(0, 1fr);
  align-items: center;
  height: 46px;
  border-radius: 8px;
  background: #eff0f1;
  overflow: hidden;
}

.wv-search-icon,
.wv-ai-pill {
  display: grid;
  place-items: center;
  font-weight: 800;
}

.wv-ai-pill {
  height: 30px;
  border-radius: 15px;
  background: #dce5ff;
  color: #26336c;
}

.wv-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--wv-ink);
}

.wv-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.wv-actions button {
  border: 0;
  background: transparent;
  color: var(--wv-ink);
  font-weight: 800;
  cursor: pointer;
}

.wv-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.wv-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #e7eaec;
  font-weight: 800;
}

.wv-content-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 280px;
  min-height: calc(100vh - 62px);
}

.wv-main {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 34px 32px 64px;
}

.wv-dashboard {
  width: min(800px, 100%);
}

.wv-reputation-card {
  padding: 24px 20px 38px;
  border-radius: 6px;
  background: var(--wv-panel);
  box-shadow: var(--wv-shadow);
}

.wv-reputation-section + .wv-reputation-section {
  margin-top: 42px;
}

.wv-reputation-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.wv-reputation-title h2,
.wv-latest h2,
.wv-rail-section h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.wv-help,
.wv-section-heading span {
  display: grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border-radius: 50%;
  background: #101617;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.wv-line-icon {
  width: 38px;
  height: 38px;
  border: 2px solid var(--wv-teal);
  border-right-color: var(--wv-gold);
  border-bottom-color: var(--wv-gold);
  border-radius: 9px;
}

.wv-line-icon.chat {
  border-radius: 5px 5px 12px 5px;
}

.wv-line-icon.clock {
  border-radius: 50%;
}

.wv-metric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wv-metric-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  padding: 10px;
  border: 1px solid var(--wv-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(17, 23, 24, 0.04);
  font-size: 13px;
}

.wv-metric-chip span {
  color: #2d3337;
}

.wv-latest {
  margin-top: 30px;
  padding-top: 32px;
  border-top: 1px solid var(--wv-line);
}

.wv-review-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}

.wv-review-source {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
}

.wv-review-body {
  min-height: 134px;
  padding: 24px 20px;
  border-radius: 6px;
  background: var(--wv-panel);
  box-shadow: var(--wv-shadow);
}

.wv-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wv-stars {
  color: var(--wv-gold);
  letter-spacing: 2px;
}

.wv-stars em {
  color: #cfd3d6;
  font-style: normal;
}

.wv-verified {
  color: var(--wv-teal);
  font-size: 12px;
  font-weight: 800;
}

.wv-review-body p {
  margin: 6px 0 22px;
}

.wv-review-tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 3px;
  background: #e6e7e8;
  font-size: 12px;
}

.wv-review-row time {
  align-self: end;
  padding-bottom: 26px;
  color: #303639;
  font-size: 12px;
}

.wv-right-rail {
  padding: 0 20px 48px;
  border-left: 1px solid var(--wv-line);
  background: #fff;
}

.wv-rail-section {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--wv-line);
}

.wv-rail-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: #252b2e;
  font-size: 13px;
}

.wv-outline-button {
  display: block;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid #c5c9cc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.wv-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wv-score {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 800;
}

.wv-rail-section p {
  margin: -24px 0 0;
  text-align: right;
  color: var(--wv-muted);
  font-size: 12px;
}

.wv-rail-section p strong {
  color: #00a99d;
}

.wv-chat-button {
  position: fixed;
  right: 28px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #101617;
  box-shadow: 0 12px 28px rgba(16, 22, 23, 0.2);
  cursor: pointer;
}

.wv-chat-button::before {
  position: absolute;
  inset: 13px 11px 11px;
  border-radius: 6px;
  background: #fff;
  content: "";
}

.wv-chat-button span {
  position: absolute;
  top: 0;
  right: -2px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #ee2938;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .wv-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .wv-topbar {
    padding-left: 24px;
  }

  .wv-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wv-right-rail {
    display: none;
  }
}

@media (max-width: 760px) {
  .wv-shell {
    grid-template-columns: 1fr;
  }

  .wv-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--wv-line);
  }

  .wv-nav,
  .wv-nav-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wv-topbar {
    position: static;
    grid-template-columns: 1fr;
    height: auto;
    padding: 12px;
  }

  .wv-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .wv-main {
    padding: 18px 12px 42px;
  }

  .wv-review-row {
    grid-template-columns: 1fr;
  }

  .wv-review-source {
    justify-items: start;
  }

  .wv-review-row time {
    justify-self: end;
    padding-bottom: 0;
  }
}
