@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --panel: rgba(22, 22, 22, 0.94);
  --panel-2: rgba(28, 28, 28, 0.96);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --muted-2: #737373;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #0b0b0b 0%, #101010 100%);
  font-family: "Avenir Next", "Avenir", "Manrope", ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}

.page {
  width: min(1720px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.app-shell {
  display: block;
  min-width: 0;
}

.panel {
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px;
  min-width: 0;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

h2,
h3,
p {
  margin: 0;
}

h2,
h3 {
  letter-spacing: -0.03em;
}

button,
a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

button,
a {
  background: #f5f5f5;
  color: #111111;
}

button:hover,
a:hover {
  transform: translateY(-1px);
}

button.secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--border);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.sidebar-panel {
  position: fixed;
  top: 24px;
  left: max(28px, calc((100vw - 1720px) / 2));
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 18px 14px;
  width: 280px;
  max-width: 100%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-brand {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px 18px;
}

.sidebar-brand-logo {
  display: block;
  width: 100%;
  max-width: 156px;
  height: auto;
}

.sidebar-brand-beta {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.61rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  vertical-align: super;
}

.sidebar-nav {
  display: grid;
  gap: 2px;
}

.sidebar-nav-root {
  margin-top: 4px;
  grid-template-columns: 20px minmax(0, 1fr);
  font-size: 1rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  align-items: center;
  justify-content: stretch;
  justify-items: stretch;
  min-height: 40px;
}

.sidebar-nav-root .sidebar-nav-meta,
.sidebar-nav-root .sidebar-nav-meta-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text";
  height: stretch;
  align-items: center;
  align-self: center;
  justify-content: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  justify-items: start;
  text-align: left;
}

.sidebar-nav-meta.sidebar-nav-meta-single {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text";
}

.sidebar-nav-root .sidebar-nav-text {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  line-height: 1.1;
}

.sidebar-nav-root .sidebar-nav-icon {
  align-self: center;
  margin-top: 0;
  position: relative;
  top: 0;
}

.sidebar-nav-button.sidebar-nav-subitem {
  min-height: 28px;
  margin-left: 12px;
  padding-left: 0;
  padding-top: 4px;
  padding-bottom: 2px;
  font-size: 0.88rem;
  align-items: start;
}

.sidebar-nav-button.sidebar-nav-subitem + .sidebar-nav-button.sidebar-nav-subitem {
  margin-top: 4px;
}

.sidebar-report-panel {
  margin-top: -4px;
  display: grid;
  gap: 4px;
  padding: 0 10px 0;
  min-height: 100px;
}

.sidebar-report-head {
  display: grid;
  gap: 4px;
}

.sidebar-report-headline {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  justify-items: start;
  width: 100%;
}

.sidebar-report-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  text-align: left;
}

.sidebar-report-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.sidebar-report-list {
  display: block;
  min-height: 40px;
}

.sidebar-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  justify-self: start;
}

.sidebar-nav-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

.sidebar-nav-button.sidebar-nav-subitem .sidebar-nav-icon {
  align-self: start;
  margin-top: 2px;
}

.sidebar-nav-button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  column-gap: 12px;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 0 10px;
  background: transparent;
  color: var(--text);
  border-color: transparent;
  border-radius: 0;
}

.sidebar-nav-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "text spinner badge"
    "status status status";
  align-items: start;
  justify-items: start;
  column-gap: 8px;
  row-gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  text-align: left;
  align-self: start;
}

.sidebar-nav-text {
  grid-area: text;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  line-height: 1.1;
}

.sidebar-nav-status {
  grid-area: status;
  color: rgb(255 255 255 / 18%);
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: normal;
  min-height: 0.82rem;
  text-align: left;
}

.sidebar-nav-status.sidebar-nav-status-placeholder {
  visibility: hidden;
}

.sidebar-nav-button.is-unavailable {
  cursor: default;
}

.sidebar-nav-scan-indicator {
  grid-area: spinner;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  align-self: center;
  margin-left: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.94);
  animation: sidebarNavSpinner 0.8s linear infinite;
}

.desktop-nav-only {
  display: inline-flex;
}

.sidebar-nav-button.active {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.sidebar-nav-button.active .sidebar-nav-text {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.sidebar-nav-button.has-source-data .sidebar-nav-text,
.sidebar-nav-button.has-source-data .sidebar-nav-icon {
  color: #f5b32f;
}

.sidebar-nav-button.is-unavailable .sidebar-nav-text,
.sidebar-nav-button.is-unavailable .sidebar-nav-icon {
  color: rgb(255 255 255 / 21%);
}

.sidebar-nav-button.sidebar-nav-subitem.is-unavailable .sidebar-nav-icon {
  visibility: hidden;
}

.sidebar-nav-button.is-unavailable {
  cursor: default;
}

.sidebar-nav-button.is-unavailable:hover {
  transform: none;
}

@keyframes sidebarNavSpinner {
  to {
    transform: rotate(360deg);
  }
}

.content-stack,
.view-stack {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.content-stack {
  margin-left: 304px;
  width: calc(100% - 304px);
}

.mobile-view-header {
  display: none;
}

.mobile-view-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mobile-menu-button {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.mobile-menu-button-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-menu-button-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-nav-overlay {
  display: none;
}

.placeholder-card {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.placeholder-card h3 {
  font-size: 1.28rem;
  line-height: 1.06;
}

.placeholder-card p {
  color: var(--muted);
  line-height: 1.5;
}

.analysis-structure {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.panel-heading {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-heading p,
.subpanel-heading p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.panel-heading h2 {
  font-size: 1.88rem;
  line-height: 1.02;
  font-weight: 650;
}

.auth-profile {
  display: flex;
  gap: 16px;
  align-items: center;
}

.auth-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  overflow: hidden;
  flex: 0 0 72px;
}

.auth-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.auth-copy p {
  font-size: 1.2rem;
  font-weight: 600;
}

.auth-identity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-logout-inline {
  min-height: 38px;
  padding: 0 14px;
}

.auth-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.auth-actions-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 42ch;
}

.account-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr) minmax(300px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.account-hero-side {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.account-hero-side h3 {
  font-size: 1.12rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.account-hero-side p {
  color: var(--muted);
  line-height: 1.5;
}

.account-info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.account-run-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.95fr);
  gap: 22px;
  align-items: start;
}

.account-run-controls {
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.account-run-controls button {
  width: 100%;
}

.account-run-side-banner {
  margin: 0;
  width: 100%;
  font-size: 1.18rem;
  line-height: 1.28;
}

.account-run-banner {
  margin: 0 0 18px;
}

.scan-info-emphasis {
  color: #f5b32f;
}

.account-progress-panel .scan-heading {
  display: none;
}

.account-progress-panel {
  align-self: stretch;
}

.account-progress-sample {
  margin-top: 18px;
  min-height: 132px;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.threads-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #111111;
  font-weight: 700;
}

#accountScanButton {
  min-height: 48px;
  background: linear-gradient(180deg, #5bb7ff 0%, #2688ff 100%);
  border: 1px solid rgba(108, 181, 255, 0.45);
  color: #f8fcff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(38, 136, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#accountScanButton:hover {
  background: linear-gradient(180deg, #69c0ff 0%, #2f93ff 100%);
}

#accountScanButton.scan-running {
  background: linear-gradient(180deg, #ffbf66 0%, #f59e0b 100%);
  border-color: rgba(245, 158, 11, 0.52);
  color: #17120a;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.threads-login-button:hover {
  background: #f3f3f3;
  border-color: rgba(255, 255, 255, 0.24);
}

.threads-login-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.threads-login-icon svg {
  width: 100%;
  height: 100%;
}

.control-panel {
  padding-bottom: 18px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.control-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-field-inline {
  justify-content: flex-end;
}

.control-field select,
.control-field input,
#periodSelect {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 48px 0 14px;
  font: inherit;
  outline: none;
}

#periodSelect,
#accountPeriodSelect {
  color: #f5b32f;
  font-size: 1.08rem;
  font-weight: 600;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}

.control-field input[type="date"] {
  color-scheme: dark;
  appearance: auto;
  -webkit-appearance: auto;
}

.control-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  filter: invert(1);
}

.control-field select:focus,
.control-field input:focus,
#periodSelect:focus {
  border-color: var(--border-strong);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.scan-checkbox-group {
  display: grid;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  align-content: start;
}

.checkbox-row-plain {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  justify-content: flex-start;
}

.control-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.scan-panel {
  display: grid;
  gap: 14px;
}

.scan-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.scan-heading p {
  font-size: 1rem;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.progress-panel {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.scan-info-note {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: left;
}

.scan-info-banner {
  margin: 0;
  font-size: 1.62rem;
  line-height: 1.2;
  font-weight: 500;
  text-align: left;
}

.scan-spinner {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.92);
  flex: 0 0 20px;
  margin-top: 0.14em;
  animation: scan-spinner 0.8s linear infinite;
}

@keyframes scan-spinner {
  to {
    transform: rotate(360deg);
  }
}

.saved-scans {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.account-summary-sources {
  margin: 0 0 16px;
}

.saved-scans-inline {
  margin-top: 0;
  margin-bottom: 16px;
  min-height: 92px;
}

.saved-scans-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.saved-scans-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.saved-scan-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}

.saved-scan-chip-shell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.saved-scan-chip-shell-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.sidebar-report-select-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.sidebar-report-select {
  width: 100%;
  min-height: 40px;
  padding: 0 38px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.085);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.76) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.76) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 12px) 17px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sidebar-report-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.24);
}

.saved-scan-chip-static {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.1;
}

.saved-scan-chip-delete {
  min-height: 38px;
  width: 38px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
}

.sidebar-report-panel .saved-scan-chip {
  min-width: 175px;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-report-panel.has-multiple .saved-scan-chip {
  background: rgba(255, 255, 255, 0.085);
}

.sidebar-report-panel.has-multiple .saved-scan-chip.active::after {
  content: "⌄";
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.saved-scan-chip.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.saved-scan-chip-placeholder {
  visibility: hidden;
  display: block;
  min-height: 40px;
  width: 100%;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #bdbdbd 100%);
  transition: width 240ms ease;
}

.progress-sample-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  width: 100%;
  min-height: 144px;
  min-width: 0;
  padding: 12px 0 8px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.progress-sample-card.quote-visible {
  opacity: 1;
}

.progress-sample-author,
.progress-sample-quote {
  opacity: 0;
  transition: opacity 220ms ease;
}

.progress-sample-author.sample-part-visible,
.progress-sample-quote.sample-part-visible {
  opacity: 1;
}

.progress-sample-author {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  align-items: center;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.progress-sample-quote p {
  color: var(--text);
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  width: 100%;
  min-height: calc(1.18em * 2);
  line-height: 1.18;
  margin: 0;
  text-align: left;
  font-size: 1.68rem;
  letter-spacing: -0.03em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.progress-sample-quote {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.progress-sample-quote:hover {
  transform: none;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.progress-sample-quote.sample-part-typing p::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.08em;
  background: currentColor;
  animation: quote-caret 0.6s steps(1) infinite;
}

.progress-sample-quote[aria-disabled="true"] {
  cursor: default;
}

.progress-sample-avatar {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  flex: 0 0 24px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  align-self: center;
  margin-top: 0;
}

.progress-sample-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.progress-sample-username {
  color: var(--muted);
  font-size: 0.84rem;
  align-self: center;
}

.progress-sample-date {
  color: var(--muted);
  font-size: 0.84rem;
  align-self: center;
}

#scanUpdatedText.scan-updated-fresh {
  color: #5bd67a;
}

@keyframes quote-caret {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.icon-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1;
  gap: 8px;
}

.icon-button-with-label span:last-child {
  font-size: 1.2rem;
}

.report-toggle {
  justify-content: flex-start;
  gap: 10px;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text);
}

.report-toggle-static {
  pointer-events: none;
}

.report-toggle span:first-child {
  font-size: 1.32rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.results-stack {
  display: grid;
  gap: 18px;
}

.subpanel {
  padding: 20px 22px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.results-subpanel {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  max-width: 100%;
}

.summary-subpanel,
.main-subpanel,
.details-subpanel {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 132px;
}

.summary-card-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.summary-card-label,
.summary-card-meta {
  color: var(--text);
  font-size: 0.82rem;
}

.summary-card-value {
  font-size: 2.1rem;
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.summary-card-meta {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: auto;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
}

.summary-card-meta-empty {
  visibility: hidden;
}

.summary-card-label {
  margin-top: auto;
}

.subpanel-heading {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.details-subpanel {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  display: block;
  position: relative;
}

.results-table-block::before,
.results-table-block::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 2;
}

.results-table-block::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0));
}

.results-table-block::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0));
}

.results-table-block.can-scroll-left::before,
.results-table-block.can-scroll-right::after {
  opacity: 1;
}

.table-wrap > table {
  width: 100%;
  min-width: 100%;
}

.table-wrap > table td.numeric-cell {
  text-align: center;
}

.table-wrap > table th {
  text-align: center;
}

.table-wrap > table th:first-child {
  text-align: left;
}

.post-link-compact {
  display: inline-block;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-primary, #f5f5f5);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-link-compact:hover {
  text-decoration: underline;
}

.results-table-block {
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}

.posts-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.visual-chart {
  width: 100%;
  height: 320px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 18px 0 30px;
}

.visual-chart-secondary {
  height: 280px;
  padding-top: 10px;
}

.activity-efficiency-block {
  margin-top: 22px;
}

.visual-chart-empty {
  color: var(--muted);
  padding: 12px 2px 10px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.admin-card-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-card-value {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.job-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.job-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.job-status-dot-running {
  background: #34d399;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.18), 0 0 12px rgba(52, 211, 153, 0.28);
  animation: job-status-pulse 1.8s ease-in-out infinite;
}

.job-status-dot-completed {
  background: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.16), 0 0 10px rgba(96, 165, 250, 0.18);
}

.job-status-dot-error {
  background: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.16), 0 0 10px rgba(248, 113, 113, 0.18);
}

@keyframes job-status-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.posts-summary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 132px;
}

.posts-summary-label,
.posts-summary-meta {
  color: var(--text);
  font-size: 0.82rem;
}

.posts-summary-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.posts-summary-value {
  font-size: 2.1rem;
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.summary-value-count {
  color: rgba(233, 237, 244, 0.98);
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(214,221,231,0.96) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-value-replies {
  color: rgba(150, 116, 255, 1);
  background: linear-gradient(135deg, rgba(188, 162, 255, 1) 0%, rgba(123, 84, 255, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.account-summary-metric strong:not([class]) {
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(214,221,231,0.96) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-value-views {
  color: rgba(75, 211, 255, 1);
  background: linear-gradient(135deg, rgba(125, 227, 255, 1) 0%, rgba(45, 176, 255, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-value-likes {
  color: rgba(245, 158, 11, 1);
  background: linear-gradient(135deg, rgba(255, 205, 116, 1) 0%, rgba(245, 158, 11, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.posts-summary-avg {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.posts-summary-avg-empty {
  visibility: hidden;
}

.posts-summary-label {
  margin-top: auto;
}

.warnings {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: none;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-weight: 600;
  white-space: normal;
}

tbody tr:nth-child(odd) td {
  background: rgba(0, 0, 0, 0.02);
}

tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.08);
}

.sort-button {
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  width: 100%;
}

.sort-button.active {
  color: var(--text);
}

.sorted-column-header {
  background: rgba(255, 255, 255, 0.045);
}

.sort-button-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  line-height: 1.02;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.sort-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.sort-button.active .sort-button-icon {
  color: var(--text);
}

td a {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text);
}

.sorted-column-cell {
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.035);
  position: relative;
  z-index: 1;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-link {
  display: inline-flex;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.leader-row {
  cursor: default;
}

.user-link {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-decoration: none;
}

.post-cell {
  display: grid;
  gap: 6px;
  max-width: none;
}

.post-date {
  color: var(--muted);
  font-size: 0.68rem;
}

.post-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.inline-media-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.74rem;
  vertical-align: middle;
}

.post-media-preview,
.progress-media-preview {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.progress-media-preview {
  flex: 0 0 64px;
  margin-left: 10px;
}

.post-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgb(255 255 255 / 3%);
  border: 1px solid rgb(255 255 255 / 2%);
}

.post-main-link {
  color: inherit;
}

.post-main-link:hover {
  transform: none;
}

.post-media-preview {
  flex: 0 0 64px;
  order: 2;
}

.post-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
  flex-direction: column;
  gap: 8px;
}

.post-copy-media-only {
  display: none;
}

.post-text {
  display: block;
  min-width: 0;
}

.posts-podium {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
}

.podium-item {
  display: flex;
  flex: 0 0 clamp(300px, calc((100% - 28px) / 3), 420px);
  width: clamp(300px, calc((100% - 28px) / 3), 420px);
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  min-width: 0;
  max-width: 100%;
}

.podium-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.podium-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.podium-switch-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.podium-switch-button.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.podium-switch-button:hover {
  transform: translateY(-1px);
}

.podium-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 16px;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.96);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.podium-card::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 33%;
  aspect-ratio: 1 / 1;
  background-image: url("/static/threader-logo-beta.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.podium-card > * {
  position: relative;
  z-index: 1;
}

.podium-gold {
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.96)) padding-box,
    linear-gradient(180deg, rgba(255, 230, 144, 0.9) 0%, rgba(201, 154, 38, 0.9) 55%, rgba(121, 83, 14, 0.9) 100%) border-box;
}

.podium-silver {
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.96)) padding-box,
    linear-gradient(180deg, rgba(244, 247, 251, 0.88) 0%, rgba(163, 173, 186, 0.86) 55%, rgba(93, 102, 114, 0.86) 100%) border-box;
}

.podium-bronze {
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.96)) padding-box,
    linear-gradient(180deg, rgba(234, 181, 136, 0.88) 0%, rgba(167, 98, 51, 0.88) 55%, rgba(92, 50, 25, 0.88) 100%) border-box;
}

.podium-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.podium-date {
  color: var(--muted-2);
  font-size: 0.78rem;
  white-space: nowrap;
  margin-left: auto;
}

.podium-score {
  margin-top: 10px;
}

.podium-link {
  display: flex;
  flex: 1 1 auto;
  margin-top: 14px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text);
  min-width: 0;
  max-width: 100%;
}

.podium-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.podium-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.podium-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.1;
}

.podium-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  overflow: hidden;
}

.podium-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-author-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-link-no-media .podium-text {
  font-size: clamp(1.16rem, 1.48vw, 1.5rem);
  -webkit-line-clamp: 10;
}

.podium-media {
  width: 100%;
  max-width: 100%;
  height: 136px;
  border-radius: 18px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.podium-text {
  font-size: clamp(1.04rem, 1.18vw, 1.22rem);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-with-rank {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  white-space: nowrap;
}

.metric-rank {
  display: inline-block;
  width: 0.66em;
  min-width: 0.66em;
  max-width: 0.66em;
  height: 0.66em;
  min-height: 0.66em;
  max-height: 0.66em;
  margin-top: 0.02em;
  border-radius: 999px;
  vertical-align: middle;
  flex: 0 0 0.66em;
  line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.metric-rank-gold {
  background: radial-gradient(circle at 30% 30%, #f7e39a 0%, #d4a937 56%, #7f5708 100%);
}

.podium-text-short {
  font-size: clamp(1.18rem, 1.34vw, 1.42rem);
  line-height: 1.18;
  -webkit-line-clamp: 5;
}

.podium-text-medium {
  font-size: clamp(1.08rem, 1.22vw, 1.26rem);
  line-height: 1.24;
  -webkit-line-clamp: 5;
}

.podium-text-long {
  font-size: clamp(0.96rem, 1.04vw, 1.08rem);
  line-height: 1.24;
  -webkit-line-clamp: 6;
}

.podium-text-xlong {
  font-size: clamp(0.88rem, 0.94vw, 0.98rem);
  line-height: 1.22;
  -webkit-line-clamp: 6;
}

.podium-link-no-media .podium-text-short {
  font-size: clamp(1.28rem, 1.5vw, 1.58rem);
  -webkit-line-clamp: 6;
}

.podium-link-no-media .podium-text-medium {
  font-size: clamp(1.12rem, 1.28vw, 1.3rem);
  -webkit-line-clamp: 6;
}

.podium-link-no-media .podium-text-long {
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  -webkit-line-clamp: 7;
}

.podium-link-no-media .podium-text-xlong {
  font-size: clamp(0.9rem, 0.98vw, 1rem);
  -webkit-line-clamp: 7;
}

.podium-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.podium-export-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.78rem;
}

.podium-exporting .podium-export-button {
  opacity: 0.55;
}

.podium-export-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.podium-export-icon svg {
  width: 100%;
  height: 100%;
}

.export-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.export-sheet-dialog {
  width: min(100%, 520px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 15, 0.98);
}

.export-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.export-sheet-head h3 {
  font-size: 1.08rem;
}

.export-sheet-close {
  min-height: 34px;
  width: 34px;
  padding: 0;
}

.export-sheet-status {
  color: var(--muted);
  line-height: 1.45;
}

.export-sheet-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.export-sheet-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.podium-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}

.podium-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--text);
}

.podium-icon svg {
  width: 100%;
  height: 100%;
}

.posts-account-summary {
  margin-top: 20px;
  width: min(100%, 420px);
}

.account-summary-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.96);
}

.account-summary-profile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.account-summary-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 64px;
  font-size: 1.2rem;
  font-weight: 700;
}

.account-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-summary-copy {
  display: grid;
  gap: 4px;
}

.account-summary-copy strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.account-summary-first-post {
  margin-top: 6px;
}

.account-summary-copy span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.account-summary-kicker,
.account-summary-label {
  color: var(--muted-2);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-summary-heading {
  display: grid;
  gap: 6px;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-summary-extras {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.account-summary-podium .podium-item {
  width: clamp(280px, calc((100% - 28px) / 3), 400px);
  flex-basis: clamp(280px, calc((100% - 28px) / 3), 400px);
}

.account-summary-circle-card {
  width: min(100%, 980px);
  margin: 0 auto;
}

.account-summary-block {
  display: grid;
  gap: 14px;
}

.account-summary-block-plain {
  padding: 0;
  border: 0;
  background: transparent;
}

.account-summary-comparison {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.96);
}

.account-summary-posting-hours {
  grid-column: 1 / -1;
}

.account-summary-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.account-summary-block-head h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.account-summary-block-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.account-summary-block-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-summary-metric {
  display: grid;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 15, 15, 0.9);
  min-height: 124px;
}

.account-summary-metric strong {
  font-size: 1.62rem;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.account-summary-metric-meta {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.account-summary-metric-meta-empty {
  visibility: hidden;
}

.account-summary-more-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.account-summary-loading {
  color: var(--muted);
}

.writer-balance-list {
  display: grid;
  gap: 12px;
}

.writer-balance-headline {
  margin: 2px 0 0;
  font-size: 1.52rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
}

.writer-balance-row {
  display: grid;
  gap: 10px;
  padding: 6px 0;
  border: 0;
  background: transparent;
}

.writer-balance-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.writer-balance-name {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.writer-balance-total {
  color: var(--muted);
  font-size: 0.8rem;
}

.writer-balance-scale {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr) minmax(88px, 0.34fr);
  gap: 12px;
  align-items: center;
}

.writer-balance-side {
  display: grid;
  gap: 2px;
}

.writer-balance-side strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.writer-balance-side span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.writer-balance-side-left strong {
  color: rgba(233, 237, 244, 0.98);
}

.writer-balance-side-right {
  text-align: right;
}

.writer-balance-side-right strong {
  color: rgba(245, 158, 11, 1);
}

.writer-balance-track {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.writer-balance-fill {
  display: block;
  height: 100%;
}

.writer-balance-fill-left {
  background: rgba(233, 237, 244, 0.88);
}

.writer-balance-fill-right {
  background: rgba(245, 158, 11, 0.82);
}

.posting-hours-grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  align-items: end;
}

.posting-hours-cell {
  display: grid;
  gap: 6px;
  justify-items: stretch;
  min-width: 0;
}

.posting-hours-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 64px;
  border-radius: 0;
  background: rgb(28, 28, 28);
  padding: 8px 6px;
  transition: background-color 180ms ease;
}

.posting-hours-value {
  color: rgba(255, 255, 255, 0.94);
  font-size: 6px;
  line-height: 1.05;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.posting-hours-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.communication-circle-subpanel {
  margin-top: 26px;
}

.communication-circle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(calc(600px / 2), 100%);
  height: 600px;
  aspect-ratio: 1 / 2;
  min-height: 0;
  margin: 0 auto;
  padding: 18px 18px 44px;
  border-radius: 26px;
  background: #040404;
  overflow: hidden;
}

.communication-circle-kicker {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.24;
  max-width: 100%;
  text-align: center;
}

.communication-circle-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 14px;
  align-items: center;
}

.communication-circle-center {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}

.communication-circle-self-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.communication-circle-self-avatar {
  width: clamp(54px, 9vw, 74px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 8px rgba(255, 179, 47, 0.06);
}

.communication-circle-self-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.communication-circle-self-name {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: center;
}

.communication-circle-list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
}

.communication-circle-pill {
  width: auto;
  max-width: min(100%, 160px);
  min-width: fit-content;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 0 7px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  justify-self: center;
}

.communication-circle-pill-highlighted {
  border-color: rgba(219, 224, 232, 0.18);
  box-shadow: inset 0 0 0 1px rgba(219, 224, 232, 0.06);
}

.communication-circle-pill-avatar {
  height: 22px;
  width: 22px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.communication-circle-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.communication-circle-pill-name {
  min-width: 0;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.communication-circle-watermark {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(320px, 36%);
  aspect-ratio: 74.97 / 18.06;
  transform: translateX(-50%);
  background: url("/static/threader-logo-beta.svg") center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.account-summary-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.account-summary-empty h3 {
  font-size: 1.2rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.account-summary-empty p {
  color: var(--muted);
  line-height: 1.5;
}

.account-summary-empty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.efficiency-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
  vertical-align: middle;
  justify-content: flex-start;
}

.efficiency-badge-gold {
  background: linear-gradient(180deg, rgba(234, 196, 86, 0.35) 0%, rgba(154, 108, 24, 0.34) 100%);
  color: #f9de8a;
  border: 1px solid rgba(247, 210, 105, 0.4);
}

.efficiency-badge-silver {
  background: linear-gradient(180deg, rgba(204, 211, 221, 0.32) 0%, rgba(117, 126, 139, 0.28) 100%);
  color: #e7ebf0;
  border: 1px solid rgba(214, 220, 230, 0.32);
}

.efficiency-badge-bronze {
  background: linear-gradient(180deg, rgba(191, 126, 77, 0.34) 0%, rgba(114, 66, 34, 0.32) 100%);
  color: #ebbf9d;
  border: 1px solid rgba(202, 144, 102, 0.34);
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.meta-section-title {
  display: block !important;
  justify-content: initial !important;
  margin-top: 6px;
  padding-top: 8px;
  padding-bottom: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none !important;
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  text-align: right;
}

.posts-table th:first-child,
.posts-table td:first-child {
  width: 40%;
  max-width: 40%;
}

.posts-table th:not(:first-child),
.posts-table td:not(:first-child) {
  width: 6%;
  padding-left: 8px;
  padding-right: 8px;
  text-align: left;
}

@media (max-width: 960px) {
  .panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-shell,
  .scan-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .sidebar-panel {
    position: static;
  }

  .sidebar-nav {
    grid-template-columns: 1fr 1fr;
  }

  .icon-button {
    width: auto;
  }

  .progress-sample-card {
    flex-direction: column;
  }

  .posts-summary {
    grid-template-columns: 1fr 1fr;
  }

  .account-hero-grid,
  .account-run-grid {
    grid-template-columns: 1fr;
  }

  .account-run-date-row {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-summary {
    grid-template-columns: 1fr 1fr;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }

  .account-summary-block-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visual-chart {
    height: 320px;
  }

  .account-run-actions button {
    width: auto;
  }
}

@media (max-width: 820px) {
  .page {
    width: 100%;
    padding: 10px 8px calc(92px + env(safe-area-inset-bottom));
  }

  html {
    scrollbar-gutter: auto;
  }

  .app-shell {
    display: block;
    min-width: 0;
  }

  .content-stack {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .content-stack,
  .view-stack,
  .analysis-structure,
  .results-stack,
  .posts-summary,
  .summary-grid,
  .account-summary-grid,
  .account-run-layout,
  .admin-summary,
  .scan-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .account-run-layout {
    gap: 14px;
  }

  .account-run-controls,
  .account-progress-panel,
  .account-progress-sample {
    width: 100%;
    min-width: 0;
  }

  .account-run-controls {
    gap: 12px;
  }

  .account-run-controls button,
  #accountScanButton {
    min-height: 52px;
    height: auto;
    border-radius: 16px;
  }

  .account-progress-panel .scan-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-progress-panel .progress-panel {
    margin-top: 8px;
  }

  .mobile-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 4px 4px 8px;
  }

  .mobile-view-header-logo {
    width: auto;
    height: 44px;
    display: block;
  }

  .mobile-view-header-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.84);
  }

  .mobile-menu-button {
    display: inline-flex;
    gap: 10px;
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 90;
    min-width: 96px;
    height: 50px;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 199, 93, 0.98), rgba(255, 157, 0, 0.96));
    border: 1px solid rgba(255, 210, 128, 0.92);
    box-shadow: 0 16px 36px rgba(255, 157, 0, 0.24);
    color: #120c03;
  }

  .mobile-menu-button-label {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .mobile-menu-button-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.mobile-menu-open .mobile-menu-button-icon span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .mobile-menu-button-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .panel,
  .subpanel {
    border-radius: 20px;
    padding: 14px;
    max-width: 100%;
  }

  .report-panel,
  .main-subpanel,
  #postsView,
  #communicationsView,
  #resultsStack,
  #scanResultWrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .results-subpanel {
    padding: 0;
  }

  .sidebar-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(332px, calc(100vw - 18px));
    max-width: calc(100vw - 18px);
    z-index: 60;
    padding: 16px 12px 18px;
    transform: translateX(-110%);
    transition: transform 220ms ease;
    pointer-events: none;
  }

  body.mobile-menu-open .sidebar-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .sidebar-brand {
    display: flex;
    padding: 8px 10px 18px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sidebar-nav-button.sidebar-nav-subitem {
    margin-left: 12px;
    padding-left: 0;
    padding-top: 4px;
    padding-bottom: 2px;
    font-size: 0.92rem;
    min-height: 32px;
  }

  .sidebar-nav-button {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
    flex-direction: row;
    gap: 12px;
    font-size: 0.96rem;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .sidebar-nav-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "text spinner badge"
      "status status status";
    align-items: start;
    justify-items: start;
    column-gap: 8px;
    row-gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .sidebar-nav-text {
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar-nav-scan-indicator {
    width: 0.92em;
    height: 0.92em;
    margin-left: 0;
  }

  .sidebar-nav-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .desktop-nav-only {
    display: inline-flex;
  }

  .control-actions {
    margin-top: 8px;
  }

  button,
  a {
    min-height: 44px;
  }

  .panel-heading,
  .subpanel-heading {
    gap: 8px;
    margin-bottom: 10px;
  }

  .panel-heading h2,
  .subpanel-heading h3 {
    font-size: 1.08rem;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .panel-heading p,
  .subpanel-heading p,
  .scan-heading p,
  .scan-info-note {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .eyebrow,
  .label {
    margin-bottom: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .scan-heading,
  .subpanel-heading {
    align-items: flex-start;
  }

  .scan-heading {
    gap: 10px;
  }

  .icon-button-with-label {
    align-self: flex-start;
  }

  .visual-chart {
    height: 250px;
  }

  .table-wrap,
  .posts-podium,
  .visual-chart {
    width: 100%;
    max-width: 100%;
  }

  .results-table-block::before,
  .results-table-block::after {
    width: 18px;
  }

  .results-table-block {
    margin-left: -14px;
    margin-right: -14px;
  }

  .results-table-block .table-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .table-wrap > table {
    display: table;
    width: max-content;
    min-width: 760px;
  }

  .posts-table {
    min-width: 980px;
  }

  .posts-podium {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding-bottom: 6px;
    overflow: visible;
  }

  .podium-item {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .account-summary-podium .podium-item {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }

  .podium-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
  }

  .account-summary-podium-block {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .communication-circle-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 2;
    padding: 18px 14px 42px;
    border-radius: 22px;
  }

  .communication-circle-kicker {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .communication-circle-stage {
    min-height: 0;
    margin-top: 12px;
    gap: 10px;
  }

  .communication-circle-self-avatar {
    width: clamp(72px, 22vw, 92px);
    box-shadow: 0 0 0 7px rgba(255, 179, 47, 0.05);
  }

  .communication-circle-self-name {
    font-size: 0.78rem;
  }

  .communication-circle-list {
    gap: 6px 8px;
  }

  .communication-circle-pill {
    gap: 6px;
    padding-right: 8px;
    max-width: min(100%, 172px);
  }

  .communication-circle-pill-avatar {
    width: 26px;
    height: 26px;
  }

  .communication-circle-pill-name {
    font-size: 1rem;
  }

  .podium-kicker,
  .podium-score,
  .podium-text {
    width: 100%;
  }

  .podium-byline {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .podium-date {
    margin-left: 0;
    white-space: normal;
  }

  .posts-table th:first-child,
  .posts-table td:first-child {
    width: 260px;
    min-width: 260px;
  }

  .posts-table th:not(:first-child),
  .posts-table td:not(:first-child) {
    min-width: 88px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .post-cell {
    max-width: none;
  }

  .report-toggle {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .report-toggle span:first-child {
    font-size: 1.14rem;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .summary-card,
  .posts-summary-card,
  .admin-card,
  .account-summary-metric,
  .account-summary-block {
    padding: 12px;
    border-radius: 16px;
  }

  .account-summary-block-plain {
    padding: 0;
    border-radius: 0;
  }

  .summary-card-value,
  .posts-summary-value,
  .admin-card-value,
  .account-summary-metric strong {
    font-size: clamp(2.15rem, 9vw, 3rem);
    line-height: 0.92;
  }

  .account-summary-block-head {
    align-items: flex-start;
  }

  .communication-circle-card {
    width: min(100%, calc((90vh - 32px) * 9 / 16));
    max-width: 100%;
    height: 90vh;
    max-height: 90vh;
    aspect-ratio: 9 / 16;
    padding: 16px 12px 42px;
    border-radius: 22px;
  }

  .communication-circle-kicker {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .writer-balance-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .writer-balance-scale {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .writer-balance-side,
  .writer-balance-side-right {
    text-align: left;
  }

  .posting-hours-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
  }

  .posting-hours-bar {
    height: 52px;
  }

  .posting-hours-value {
    font-size: 6px;
  }

  .summary-card-label,
  .summary-card-meta,
  .posts-summary-label,
  .posts-summary-meta,
  .admin-card-label {
    font-size: 0.76rem;
  }

  .control-field select,
  .control-field input,
  #periodSelect {
    min-height: 46px;
    border-radius: 14px;
    padding: 0 44px 0 12px;
  }

  .checkbox-row {
    min-height: 46px;
    border-radius: 14px;
    padding: 0 12px;
  }
}

.sidebar-footer {
  padding: 4px 2px 0;
}

.sidebar-footer-link {
  font-size: 11px;
  color: var(--muted-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: 0.01em;
  transition: color 120ms ease;
  background: none;
  padding: 0;
}

.sidebar-footer-link:hover {
  color: var(--muted);
}
