:root {
  color-scheme: light;
  --rh-sidebar: 262px;
  --rh-header: 68px;
  --bg: #f0f4ff;
  --panel: rgba(255, 255, 255, 0.67);
  --solid: #fff;
  --nav: rgba(249, 251, 255, 0.8);
  --muted-panel: #eaf0fc;
  --text: #101647;
  --muted: #52649f;
  --line: #dbe4fc;
  --accent: #8039d6;
  --accent-hover: #6324b0;
  --pink: #ed46ce;
  --purple: #8b43e9;
  --teal: #048c99;
  --teal-soft: #dff8f6;
  --success: #087d4c;
  --danger: #ca315d;
  --warning: #a96600;
  --ring: #7750c6;
  --chart: #367fff;
  --rh-cyan: #48e6fc;
  --rh-violet: #858bff;
  --rh-fuchsia: #f773ea;
  --rh-gradient: linear-gradient(105deg, #f773ea 0%, #a67cf8 46%, #48e6fc 100%);
  --radius: 20px;
  --radius-control: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 18px #8494cd15, inset 0 1px 0 #fffffff0;
  --glass-inset: inset 0 1px 0 #fff;
  --dash-glass: linear-gradient(120deg, #ffffffd9, #ffffff7a);
  --dash-shadow: var(--shadow);
  --dash-blue: #0969eb;
  --dash-purple: #922dff;
  --dash-pink: #e927ad;
  --dash-green: #009b56;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --motion-fast: 0.18s;
  --motion-page: 0.32s;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --z-header: 30;
  --z-nav: 40;
  --z-dialog: 100;
  --z-toast: 150;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1026;
  --panel: rgba(22, 31, 58, 0.87);
  --solid: #18213c;
  --nav: rgba(17, 24, 47, 0.94);
  --muted-panel: #212d4a;
  --text: #f0f4ff;
  --muted: #aab9df;
  --line: #354365;
  --accent: #eb9ae9;
  --accent-hover: #ffc4ef;
  --purple: #c2a8ff;
  --teal: #69dbe0;
  --teal-soft: #153d48;
  --success: #78e1b1;
  --warning: #ffd079;
  --danger: #ff9bb9;
  --ring: #90dbe7;
  --shadow: 0 8px 28px #0003, inset 0 1px 0 #ffffff15;
  --glass-inset: inset 0 1px 0 #ffffff18;
  --chart: #66dbe7;
  --dash-glass: linear-gradient(120deg, #263354ed, #1c2543e8);
  --dash-blue: #78acff;
  --dash-purple: #c893ff;
  --dash-pink: #ff82d9;
  --dash-green: #67eab4;
}
button.saved {
  color: var(--accent);
}
button.saved .icon {
  fill: color-mix(in srgb, var(--accent) 18%, transparent);
}
[data-busy="true"] {
  pointer-events: none;
  opacity: 0.65;
}
.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vertical-space {
  height: 20px;
}
.metric-list {
  display: grid;
  gap: 13px;
}
.metric-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.metric-list strong {
  font-size: 17px;
}
.select-list {
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 10px;
}
.editor-toolbar {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.editor-toolbar button {
  min-height: 38px;
  padding: 7px 13px;
}
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.article-card {
  padding: 0;
  overflow: hidden;
}
.article-card img {
  width: 100%;
  height: 215px;
  display: block;
}
.article-card .body {
  padding: 23px;
}
.article-card h2 {
  margin-bottom: 12px;
}
.article-card .date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.article-languages {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 24px;
}
.article-languages a {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.code {
  font-family: ui-monospace, monospace;
  background: var(--muted-panel);
  padding: 12px 16px;
  border-radius: 10px;
  user-select: all;
  overflow-wrap: anywhere;
}
.schedule-mini {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 8px;
}
.schedule-mini input,
.schedule-mini select {
  font-size: 13px;
  min-height: 42px;
  padding: 7px 10px;
}
.source-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.source-title strong {
  overflow-wrap: anywhere;
}
.grow-chart {
  margin-top: 12px;
  min-height: 170px;
}
.settings-section + .settings-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pill {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--muted);
  background: var(--solid);
}
.selection-footer {
  position: sticky;
  bottom: 15px;
  background: var(--solid);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px #0002;
  padding: 15px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 20;
}
.inline-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 12px;
}
.billing-checks {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.count-pill {
  font-size: 12px;
  color: var(--muted);
  background: var(--muted-panel);
  padding: 3px 8px;
  border-radius: 8px;
}
progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: var(--muted-panel);
  accent-color: var(--accent);
  margin: 16px 0;
}
progress::-webkit-progress-bar {
  background: var(--muted-panel);
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--accent), var(--pink));
  border-radius: 99px;
  transition: width 0.4s;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 99px;
}
.script-top > select {
  max-width: 210px;
  justify-self: end;
}
.public-languages {
  position: relative;
}
.public-languages summary {
  cursor: pointer;
  list-style: none;
  padding: 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.public-languages summary::-webkit-details-marker {
  display: none;
}
.public-language-menu {
  position: absolute;
  z-index: 25;
  inset-inline-end: 0;
  top: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--solid);
  box-shadow: var(--shadow);
  border-radius: 16px;
  width: 190px;
  max-height: 320px;
  overflow: auto;
  display: grid;
}
.public-language-menu a {
  padding: 9px 12px;
  border-radius: 9px;
}
.public-language-menu a:hover,
.public-language-menu a[aria-current] {
  background: var(--muted-panel);
}
@media (max-width: 600px) {
  .marketing-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .marketing-nav > .public-controls {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .public-controls > .btn {
    font-size: 12px;
    padding: 10px;
  }
  .script-top > select {
    justify-self: start;
  }
}
.search-row.source-entry {
  grid-template-columns: minmax(120px, 160px) minmax(120px, 160px) minmax(
      140px,
      1fr
    ) auto;
}
.source-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
@media (max-width: 700px) {
  .search-row.source-entry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-row.source-entry > select {
    grid-column: auto;
  }
  .search-row.source-entry > input,
  .search-row.source-entry > .btn {
    grid-column: span 2;
  }
}
.feed-poster > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080b12;
}
.dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.connected-account {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--solid) 55%, transparent);
}
.connected-account.active {
  border-style: solid;
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
}
.support-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.support-counts > div {
  display: grid;
  gap: 3px;
  padding: 14px;
  background: var(--muted-panel);
  border-radius: 13px;
}
.support-counts strong {
  font-size: 30px;
}
.support-counts span {
  font-size: 13px;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
}
.faq-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.support-main {
  align-items: start;
}
.telegram-login {
  position: relative;
  min-width: 170px;
  min-height: 46px;
  display: grid;
  place-items: center;
}
.telegram-placeholder {
  width: 100%;
  pointer-events: none;
}
.telegram-login iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  max-width: 100%;
}
.telegram-login.telegram-ready .telegram-placeholder {
  visibility: hidden;
}
.telegram-status {
  margin-top: 54px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.telegram-login.telegram-unavailable iframe {
  visibility: hidden;
}
@media (max-width: 1300px) {
  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-stats .stat:last-child {
    grid-column: auto;
  }
  .connected-grid,
  .dashboard-shortcuts,
  .support-summary,
  .support-main {
    grid-template-columns: 1fr;
  }
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Arial,
    Noto Sans,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 77% 0%, #e483c418, transparent 42%),
    radial-gradient(ellipse at 18% 63%, #50cacc12, transparent 38%);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--solid);
  color: var(--text);
  padding: 11px 14px;
  box-shadow: inset 0 1px 3px #14223e05;
  outline: none;
}
textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
button:focus:not(:focus-visible) {
  outline: 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-block-end: 8px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 750;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
h4 {
  font-size: 15px;
}
p + p {
  margin-top: 14px;
}
small {
  font-size: 13px;
}
img,
video,
svg {
  max-width: 100%;
}
img {
  object-fit: cover;
}
svg.icon {
  width: 21px;
  height: 21px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
}
ul {
  padding-inline-start: 24px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.teal {
  color: var(--teal);
}
.accent {
  color: var(--accent);
}
.small {
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}
.stack {
  display: grid;
  gap: 22px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.grow {
  flex: 1;
  min-width: 0;
}
.nowrap {
  white-space: nowrap;
}
.center {
  text-align: center;
}
.hidden,
[hidden] {
  display: none !important;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.page-heading p {
  margin-top: 9px;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.cols2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid > * {
  min-width: 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow), var(--glass-inset);
  padding: 26px;
  backdrop-filter: blur(18px);
  min-width: 0;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.card-header h2 {
  font-size: 18px;
}
.card.soft {
  background: var(--muted-panel);
  box-shadow: none;
}
.card.tint {
  background: linear-gradient(
    130deg,
    var(--panel),
    color-mix(in srgb, var(--teal-soft) 65%, var(--panel))
  );
  border-color: color-mix(in srgb, var(--teal) 24%, var(--line));
}
.card.pink {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  background: linear-gradient(
    140deg,
    var(--panel),
    color-mix(in srgb, var(--accent) 7%, var(--panel))
  );
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--solid);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  transition:
    transform 0.18s ease,
    background 0.18s,
    box-shadow 0.18s;
}
.btn:hover {
  color: var(--text);
  background: var(--muted-panel);
  transform: translateY(-1px);
  box-shadow: 0 7px 14px #18223a0d;
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(100deg, var(--accent), #d74773);
  color: #fff;
  box-shadow: 0 8px 25px -12px #d52a8ca0;
}
.btn.primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 30px -12px #d52a8cc0;
}
.btn.teal {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 28%, var(--line));
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn.icon-only {
  width: 46px;
  padding: 10px;
}
.btn.wide {
  width: 100%;
}
.btn.compact {
  min-height: 40px;
  padding: 8px 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--muted-panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.badge.good {
  background: var(--teal-soft);
  color: var(--teal);
}
.badge.pink {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.badge.error {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 11%, transparent);
}
.field {
  min-width: 0;
}
.field .help {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.span2 {
  grid-column: span 2;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.check {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  min-height: 44px;
}
.check input {
  width: 19px;
  height: 19px;
  min-height: 19px;
  flex: none;
  accent-color: var(--accent);
  padding: 0;
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 1px;
}
.switch .track {
  width: 39px;
  height: 23px;
  border-radius: 99px;
  background: var(--line);
  padding: 3px;
  transition: background 0.2s;
  flex: none;
}
.switch .track:after {
  content: "";
  display: block;
  background: #fff;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0003;
  transition: transform 0.2s;
}
.switch input:checked + .track {
  background: var(--teal);
}
.switch input:checked + .track:after {
  transform: translate(16px);
}
[dir="rtl"] .switch input:checked + .track:after {
  transform: translate(-16px);
}
.switch input:focus-visible + .track {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
.empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 13px;
  min-height: 200px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  width: 36px;
  height: 36px;
  opacity: 0.55;
}
.empty p {
  max-width: 440px;
  font-size: 14px;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.initial-loader {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.loading-block {
  min-height: 45vh;
  display: grid;
  place-content: center;
  gap: 15px;
  text-align: center;
  color: var(--muted);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes enter {
  0% {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main > .page {
  animation: enter 0.3s ease both;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--solid);
  padding: 12px;
  z-index: 200;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  width: 236px;
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  background: var(--nav);
  border-inline-end: 1px solid var(--line);
  padding: 28px 18px 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.sidebar .brand {
  padding: 0 10px 32px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  overflow: auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  min-height: 46px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-link:hover {
  color: var(--text);
  background: var(--muted-panel);
}
.nav-link.active {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
  font-weight: 700;
}
.nav-separator {
  height: 1px;
  background: var(--line);
  margin: 16px 13px;
}
.nav-footer {
  margin-top: auto;
  padding: 24px 7px 0;
  display: grid;
  gap: 13px;
}
.nav-footer p {
  font-size: 12px;
  color: var(--muted);
}
.workspace {
  margin-inline-start: 236px;
  min-height: 100vh;
}
.topbar {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar .project-picker {
  max-width: 240px;
  min-width: 100px;
  background: transparent;
  border-color: transparent;
  font-size: 14px;
  font-weight: 650;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.avatar {
  display: grid;
  place-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 750;
  background: color-mix(in srgb, var(--accent) 15%, var(--solid));
  color: var(--accent);
}
.content {
  padding: 34px 36px 70px;
  max-width: 1640px;
  margin: auto;
  min-width: 0;
}
.mobile-toggle {
  display: none;
}
.lang-wrap {
  position: relative;
}
.lang-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: 52px;
  padding: 9px;
  width: 228px;
  max-height: 365px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--solid);
  border-radius: 17px;
  box-shadow: 0 15px 45px #0003;
  z-index: 80;
}
.lang-menu button {
  display: flex;
  width: 100%;
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  text-align: start;
  background: none;
  padding: 9px 12px;
  font-size: 14px;
}
.lang-menu button:hover,
.lang-menu button.selected {
  background: var(--muted-panel);
  color: var(--accent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  padding: 21px;
  display: grid;
  gap: 12px;
}
.stat .value {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.15;
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
}
.stat .stat-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-icon .icon {
  color: var(--accent);
}
.mini-icon {
  width: 36px;
  height: 36px;
  background: var(--muted-panel);
  border-radius: 11px;
  display: grid;
  place-content: center;
}
.growth-number {
  font-size: 36px;
  font-weight: 740;
  letter-spacing: -1.5px;
  margin: 14px 0 3px;
}
.platform-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.chart {
  width: 100%;
  height: 170px;
  display: block;
  margin-top: 12px;
  color: var(--chart);
}
.chart text {
  font-size: 10px;
  fill: var(--muted);
  stroke: none;
}
.chart-grid {
  stroke: var(--line);
  stroke-width: 0.7;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history-row:last-child {
  border: 0;
}
.history-row .title {
  font-size: 14px;
  font-weight: 620;
}
.history-row .date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  background: var(--muted-panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  width: fit-content;
  margin-bottom: 24px;
}
.tab {
  border: 0;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.tab.active {
  background: var(--solid);
  color: var(--accent);
  box-shadow: 0 2px 6px #0000000c;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.pagination .btn {
  min-width: 44px;
  padding: 9px;
}
.pagination .active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.feed-card {
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px #33426960;
}
.feed-poster {
  height: 225px;
  position: relative;
  background: linear-gradient(
    130deg,
    var(--muted-panel),
    color-mix(in srgb, var(--purple) 12%, var(--solid))
  );
  display: grid;
  place-content: center;
  overflow: hidden;
}
.feed-poster > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.feed-poster .score {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  background: var(--solid);
  color: var(--teal);
  box-shadow: 0 4px 12px #0003;
}
.feed-poster .platform-icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 14px;
  background: #fff;
  padding: 4px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.feed-poster .icon {
  width: 36px;
  height: 36px;
  color: var(--muted);
}
.feed-body {
  padding: 20px;
}
.feed-title {
  font-size: 15px;
  font-weight: 650;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
}
.feed-author {
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}
.feed-metrics {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.feed-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.feed-actions .btn {
  font-size: 12px;
  padding: 9px 11px;
  flex: 1;
}
.feed-actions .icon-only {
  flex: none;
  width: 43px;
}
.source-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  gap: 11px;
}
.source-item:last-child {
  border: 0;
}
.source-column {
  padding: 23px;
}
.source-column .empty {
  padding: 18px 0;
  min-height: 170px;
}
.source-item .reference {
  font-weight: 650;
  font-size: 15px;
}
.source-item .actions {
  margin: 0;
  gap: 4px;
}
.source-item .btn.ghost {
  padding: 6px;
  min-height: 40px;
}
.search-row {
  display: grid;
  grid-template-columns: 160px minmax(140px, 1fr) auto;
  gap: 12px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: var(--muted-panel);
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.55;
}
.notice .icon {
  margin-top: 2px;
}
.notice.error {
  border-color: color-mix(in srgb, var(--danger) 35%, var(--line));
  color: var(--danger);
}
.notice.success {
  background: var(--teal-soft);
  color: var(--teal);
}
.notice.sample {
  background: color-mix(in srgb, var(--purple) 10%, var(--solid));
  color: var(--purple);
}
.progress-track {
  height: 7px;
  overflow: hidden;
  background: var(--muted-panel);
  border-radius: 99px;
  margin: 16px 0 7px;
}
.progress-track > span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  border-radius: 99px;
  width: var(--progress, 0%);
  transition: width 0.4s ease;
}
.progress-box {
  padding: 30px;
  display: grid;
  gap: 6px;
}
.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.progress-steps span {
  padding: 9px;
  border-top: 2px solid var(--line);
}
.progress-steps .done {
  border-color: var(--teal);
  color: var(--teal);
}
.profile-top {
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  font-size: 34px;
}
.profile-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.profile-meta strong {
  display: block;
  font-size: 22px;
}
.profile-meta small {
  color: var(--muted);
}
.report-section {
  margin-top: 24px;
}
.report-value {
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
}
.report-list {
  display: grid;
  gap: 12px;
}
.report-beat {
  border-inline-start: 3px solid var(--teal);
  padding: 13px 16px;
  background: var(--muted-panel);
  border-radius: 0 12px 12px 0;
}
.report-beat strong {
  display: block;
  margin-bottom: 7px;
}
.video-preview {
  width: 100%;
  max-height: 460px;
  background: #0a0b15;
  border-radius: 16px;
  object-fit: contain;
}
.video-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: 24px;
}
.script-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 22px;
}
.script-part {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.script-part:last-child {
  border-bottom: 0;
}
.script-part .role {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 750;
  margin-bottom: 13px;
}
.script-part p {
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-wrap;
}
.script-paper {
  padding: 0;
}
.script-alternative {
  background: var(--muted-panel);
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 12px;
}
.script-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.script-title {
  font-size: 27px;
  line-height: 1.35;
  max-width: 800px;
}
.timeline {
  display: flex;
  gap: 5px;
  min-height: 9px;
}
.timeline span {
  flex: 1;
  background: var(--teal-soft);
  border-radius: 99px;
}
.library-tile {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.library-tile .snippet {
  font-size: 14px;
  line-height: 1.65;
  max-height: 160px;
  overflow: hidden;
  color: var(--muted);
}
.library-tile .actions {
  margin-top: auto;
  padding-top: 10px;
}
.library-select:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 10%, transparent);
}
.notification {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.notification:last-child {
  border: 0;
}
.notification.unread .mini-icon {
  background: var(--teal-soft);
  color: var(--teal);
}
.notification .text {
  font-size: 14px;
  margin-top: 5px;
  color: var(--muted);
}
.usage-card .used {
  font-size: 25px;
  font-weight: 750;
  margin-top: 14px;
}
.usage-card .used small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.ring-meter {
  display: block;
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}
.ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex: none;
}
.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 26px;
  font-weight: 750;
}
.ring-label small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.plan-price {
  font-size: 35px;
  font-weight: 750;
  letter-spacing: -1.5px;
  margin: 20px 0 5px;
}
.plan-list {
  padding: 0;
  list-style: none;
  font-size: 14px;
  display: grid;
  gap: 13px;
  color: var(--muted);
  margin: 24px 0;
}
.plan-list li {
  display: flex;
  gap: 9px;
}
.plan-list .icon {
  color: var(--teal);
  width: 18px;
}
.plan-card.featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 20px 40px -24px
    color-mix(in srgb, var(--accent) 30%, transparent);
}
.token-number {
  font-size: 27px;
  font-weight: 750;
  margin: 10px 0;
}
.token-card .price {
  font-size: 19px;
  font-weight: 650;
}
.token-card .btn {
  margin-top: 20px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 14px 16px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  color: var(--muted);
  background: var(--muted-panel);
  font-weight: 650;
}
tr:last-child td {
  border: 0;
}
td .btn {
  min-height: 38px;
}
.admin-tabs {
  gap: 8px;
  margin-bottom: 25px;
}
.editor {
  min-height: 360px;
  outline: 0;
  background: var(--solid);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.editor:focus {
  border-color: var(--accent);
}
.editor h2 {
  margin: 20px 0 10px;
}
.editor img {
  max-height: 360px;
}
.cms-image {
  height: 130px;
  width: 100%;
  border-radius: 12px;
}
.color-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent);
}
.onboarding-layout {
  max-width: 930px;
  margin: auto;
}
.steps {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 30px;
  gap: 12px;
}
.step {
  flex: 1;
  border-top: 3px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.step strong {
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 9px;
  font-size: 12px;
}
.step.active {
  border-color: var(--accent);
  color: var(--accent);
}
.step.active strong {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.step.done {
  border-color: var(--teal);
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vw 7vw;
  background:
    radial-gradient(circle at 40% 70%, #87ded76b, transparent 45%),
    radial-gradient(circle at 65% 30%, #eba5d357, transparent 55%),
    var(--muted-panel);
}
.auth-art h1 {
  font-size: 54px;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 35px 0 22px;
}
.auth-art p {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.auth-form-panel {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form {
  width: 100%;
  max-width: 410px;
  margin: auto;
}
.auth-form h1 {
  margin-bottom: 14px;
}
.auth-form .stack {
  gap: 18px;
}
.auth-top {
  position: absolute;
  top: 25px;
  inset-inline-end: 25px;
  display: flex;
  gap: 10px;
}
.auth-bottom {
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  margin-top: 20px;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0;
}
.auth-or:before,
.auth-or:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.marketing {
  max-width: 1260px;
  margin: auto;
  padding: 0 30px 50px;
}
.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.hero {
  text-align: center;
  max-width: 1050px;
  margin: 70px auto 60px;
}
.hero h1 {
  font-size: clamp(43px, 5.8vw, 78px);
  font-weight: 780;
  letter-spacing: -3px;
  line-height: 1.08;
  margin: 25px auto;
  max-width: 1000px;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 670px;
  margin: auto;
  line-height: 1.7;
}
.hero .actions {
  justify-content: center;
  margin-top: 30px;
}
.hero .btn {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 15px;
}
.hero-product {
  margin: 45px auto 65px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(130deg, #efb8dc66, #a2ddd738);
  box-shadow: 0 30px 80px -45px #69465f70;
}
.hero-product img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.marketing-section {
  padding: 45px 0;
}
.marketing-section .section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}
.marketing-section h2 {
  font-size: 32px;
  letter-spacing: -1px;
}
.marketing-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.article-header {
  max-width: 800px;
  margin: 55px auto 35px;
}
.article-header h1 {
  font-size: 44px;
  line-height: 1.18;
  margin: 20px 0;
}
.article-hero {
  max-width: 940px;
  display: block;
  width: 100%;
  max-height: 550px;
  border-radius: 24px;
  margin: 0 auto 35px;
}
.article-body {
  max-width: 760px;
  margin: auto;
  font-size: 18px;
  line-height: 1.85;
}
.article-body h2 {
  font-size: 28px;
  margin: 35px 0 17px;
}
.article-body h3 {
  font-size: 22px;
  margin: 25px 0 12px;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
}
.article-body img {
  border-radius: 14px;
  margin: 20px 0;
}
.article-body table {
  font-size: 15px;
  display: block;
  overflow: auto;
}
.article-body pre {
  background: var(--muted-panel);
  padding: 20px;
  overflow: auto;
  border-radius: 13px;
}
.article-body blockquote {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 22px;
  margin-inline: 0;
  color: var(--muted);
}
#toasts {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  z-index: 150;
  display: grid;
  gap: 10px;
  max-width: min(430px, calc(100vw - 40px));
}
.toast {
  border: 1px solid var(--line);
  background: var(--solid);
  padding: 16px 20px;
  box-shadow: 0 10px 35px #0003;
  border-radius: 14px;
  font-size: 14px;
  animation: enter 0.2s ease;
}
.toast.error {
  color: var(--danger);
}
dialog {
  padding: 30px;
  border-radius: 23px;
  border: 1px solid var(--line);
  background: var(--solid);
  color: var(--text);
  max-width: min(680px, calc(100vw - 30px));
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 100px #0005;
}
dialog::backdrop {
  background: #10172980;
  backdrop-filter: blur(5px);
}
dialog .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 15px;
}
.mobile-shade {
  display: none;
}
.chart-empty {
  height: 140px;
  display: grid;
  place-content: center;
  color: var(--muted);
  font-size: 14px;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 34px,
    var(--line) 35px,
    transparent 36px
  );
}
@media (min-width: 1550px) {
  .content {
    padding: 42px 50px;
  }
  .stats {
    gap: 21px;
  }
  .feed-poster {
    height: 260px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 212px;
    padding-inline: 12px;
  }
  .workspace {
    margin-inline-start: 212px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 30px 24px 65px;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats .stat:nth-child(4),
  .stats .stat:nth-child(5) {
    grid-column: auto;
  }
  .cols4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols3 {
    gap: 14px;
  }
  .card,
  .script-part {
    padding: 21px;
  }
  .feed-card {
    padding: 0;
  }
  .feed-actions {
    gap: 4px;
  }
  .feed-actions .btn {
    font-size: 12px;
  }
  .feed-actions .btn:nth-child(2) {
    flex-basis: 100%;
  }
  .auth-art h1 {
    font-size: 43px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    transform: translate(-100%);
    width: 246px;
    transition: transform 0.22s;
  }
  .workspace {
    margin-inline-start: 0;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-open .sidebar {
    transform: translate(0);
  }
  .nav-open .mobile-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #12192b66;
    z-index: 35;
  }
  .topbar {
    height: 73px;
    padding: 0 19px;
  }
  .content {
    padding: 25px 20px 60px;
  }
  .cols3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .source-column .source-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .source-column .source-item {
    padding-bottom: 10px;
  }
  .script-layout {
    grid-template-columns: 1fr;
  }
  .script-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-form-panel {
    min-height: 100vh;
    padding: 100px 25px 40px;
  }
  .marketing-nav .nav-copy {
    display: none;
  }
  .marketing {
    padding-inline: 20px;
  }
  .hero {
    margin: 45px auto;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  .video-layout {
    grid-template-columns: 1fr 1.2fr;
  }
  .article-header h1 {
    font-size: 35px;
  }
  .admin-overview.stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  [dir="rtl"] .sidebar {
    transform: translate(100%);
  }
  [dir="rtl"] .nav-open .sidebar {
    transform: translate(0);
  }
}
@media (max-width: 600px) {
  :root {
    --panel: var(--solid);
    --nav: var(--solid);
    --radius: 18px;
  }
  .topbar {
    height: 67px;
    padding: 0 12px;
    gap: 8px;
  }
  .top-actions {
    gap: 2px;
  }
  .topbar > .row {
    flex-wrap: nowrap;
    gap: 3px;
    min-width: 0;
  }
  .topbar .project-picker {
    min-width: 0;
    max-width: 104px;
    padding-inline: 8px;
    font-size: 13px;
  }
  .top-actions .avatar {
    display: none;
  }
  .lang-button {
    font-size: 13px;
    padding: 8px;
  }
  .lang-button .language-name {
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-actions .icon-only {
    width: 40px;
  }
  .content {
    padding: 23px 15px 55px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 16px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 14px;
  }
  h2 {
    font-size: 19px;
  }
  .card {
    padding: 20px;
    backdrop-filter: none;
  }
  .stack {
    gap: 18px;
  }
  .cols2,
  .cols3,
  .cols4,
  .form-grid,
  .video-layout {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stats .stat {
    padding: 17px;
    gap: 10px;
  }
  .stats .stat:last-child {
    grid-column: span 2;
  }
  .stat .value {
    font-size: 26px;
  }
  .stat .label {
    font-size: 13px;
  }
  .stat .stat-icon .icon {
    width: 18px;
  }
  .search-row {
    grid-template-columns: 1fr auto;
  }
  .search-row > select {
    grid-column: span 2;
  }
  .search-row input {
    grid-column: 1;
  }
  .search-row .btn {
    padding: 11px 15px;
  }
  .tabs {
    width: 100%;
    gap: 2px;
    padding: 4px;
  }
  .tab {
    flex: 1;
    font-size: 13px;
    padding: 10px 8px;
  }
  .feed-card {
    padding: 0;
  }
  .feed-poster {
    height: 270px;
  }
  .feed-actions .btn:nth-child(2) {
    flex-basis: auto;
  }
  .feed-actions .btn {
    font-size: 13px;
    min-height: 44px;
  }
  .source-column .source-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .profile-top {
    align-items: start;
    gap: 15px;
  }
  .profile-avatar {
    width: 66px;
    height: 66px;
    font-size: 24px;
    border-radius: 18px;
  }
  .profile-meta {
    gap: 17px;
  }
  .profile-meta strong {
    font-size: 21px;
  }
  .profile-meta small {
    font-size: 12px;
  }
  .profile-top h1 {
    font-size: 25px;
  }
  .script-top {
    display: grid;
  }
  .script-title {
    font-size: 24px;
  }
  .script-aside {
    grid-template-columns: 1fr;
  }
  .script-paper {
    padding: 0;
  }
  .script-part {
    padding: 20px;
  }
  .script-part p {
    font-size: 16px;
  }
  .progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    gap: 7px;
  }
  .step {
    font-size: 12px;
    line-height: 1.4;
  }
  .step strong {
    width: 26px;
    height: 26px;
  }
  .notification {
    gap: 12px;
  }
  .notification .mini-icon {
    width: 31px;
    height: 31px;
  }
  .notification h3 {
    font-size: 15px;
  }
  .notification .btn {
    padding: 8px;
  }
  .table-wrap {
    border: none;
    overflow: visible;
  }
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }
  thead {
    display: none;
  }
  tbody {
    display: grid;
    gap: 12px;
  }
  tr {
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--solid);
  }
  td {
    border: 0;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }
  td:before {
    content: attr(data-label);
    font-size: 12px;
    color: var(--muted);
    flex: 0 0 35%;
  }
  td:empty {
    display: none;
  }
  .marketing {
    padding: 0 17px 25px;
  }
  .marketing-nav {
    min-height: 83px;
    gap: 8px;
  }
  .marketing-nav > .row {
    gap: 4px;
  }
  .marketing-nav .brand {
    font-size: 17px;
  }
  .marketing-nav .brand img {
    width: 26px;
  }
  .marketing-nav .btn.primary {
    padding: 10px 13px;
    font-size: 13px;
  }
  .marketing-nav .login-link {
    display: none;
  }
  .hero {
    margin: 38px auto;
  }
  .hero h1 {
    font-size: 41px;
    letter-spacing: -1.6px;
    margin: 20px 0;
  }
  .hero p {
    font-size: 16px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero-product {
    margin: 30px 0;
    padding: 7px;
    border-radius: 17px;
  }
  .hero-product img {
    border-radius: 10px;
  }
  .marketing-section {
    padding: 28px 0;
  }
  .marketing-section h2 {
    font-size: 27px;
  }
  .marketing-footer {
    font-size: 12px;
  }
  .article-header {
    margin-top: 30px;
  }
  .article-header h1 {
    font-size: 30px;
  }
  .article-body {
    font-size: 17px;
  }
  .article-body h2 {
    font-size: 24px;
  }
  .article-body table {
    display: block;
    overflow: auto;
  }
  .article-body table td {
    display: block;
  }
  .article-body table td:before {
    display: none;
  }
  .article-hero {
    border-radius: 16px;
  }
  .auth-form-panel {
    padding: 105px 22px 35px;
  }
  .auth-form h1 {
    font-size: 29px;
  }
  dialog {
    padding: 22px;
    max-height: 92vh;
  }
  .btn {
    min-height: 46px;
  }
  .admin-overview.stats {
    grid-template-columns: 1fr 1fr;
  }
  .ring-wrap,
  .ring-meter {
    width: 112px;
    height: 112px;
  }
  .plan-price {
    font-size: 34px;
  }
  .notification-settings {
    grid-template-columns: 1fr;
  }
  .page-heading .actions {
    margin: 0;
  }
  .article-body img {
    max-width: 100%;
  }
}
@media print {
  .sidebar,
  .topbar,
  .actions,
  .btn,
  .marketing-nav,
  .marketing-footer,
  #toasts {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  .content {
    padding: 0;
  }
  .card {
    background: #fff;
    color: #111;
    border-color: #ddd;
    box-shadow: none;
    break-inside: avoid;
  }
  body {
    background: #fff;
    color: #111;
  }
  .script-layout {
    display: block;
  }
  .script-aside {
    margin-top: 20px;
  }
  .script-part {
    break-inside: avoid;
  }
  .muted {
    color: #555;
  }
}
@media (max-width: 360px) {
  .topbar {
    height: 104px;
    flex-wrap: wrap;
    padding-block: 7px;
    gap: 0;
  }
  .topbar > .row {
    width: 100%;
    justify-content: space-between;
  }
  .topbar .project-picker {
    max-width: 200px;
  }
  .top-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .page-heading {
    flex-wrap: wrap;
  }
}
.feed-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(150px, 2fr) auto;
  gap: 12px;
}
.feed-evidence {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.feed-evidence p {
  margin: 0;
}
.feed-evidence summary {
  cursor: pointer;
  color: var(--muted);
}
.feed-evidence .badge {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}
.feed-metrics {
  flex-wrap: wrap;
}
.feed-evidence details p {
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .feed-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .feed-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-filters > * {
    min-width: 0;
    width: 100%;
  }
}
@font-face {
  font-family: Onest;
  src: url(/__rh_canonical/canonical-b84ad03ce83a1c20/studio-device/assets/studio/v80/assets/onest-BWZ-xCqP.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
body {
  font-family:
    Onest,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body:before {
  background:
    radial-gradient(ellipse at 80% 0%, #e5b8fb50, transparent 36%),
    radial-gradient(ellipse at 100% 48%, #aceef755, transparent 37%),
    radial-gradient(ellipse at 24% 82%, #d5e9ff65, transparent 40%);
}
:root[data-theme="dark"] body:before {
  background:
    radial-gradient(ellipse at 86% 0%, #71245a28, transparent 36%),
    radial-gradient(ellipse at 18% 65%, #167a9820, transparent 42%);
}
h1 {
  font-size: clamp(28px, 2.35vw, 40px);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 21px;
  font-weight: 730;
}
h3 {
  font-size: 17px;
}
.page-heading {
  margin-bottom: 25px;
  min-height: 72px;
}
.page-heading p {
  max-width: 850px;
  margin-top: 8px;
  font-size: 15px;
}
.page-heading .actions {
  margin: 0;
}
.page-heading:has(.page-note) {
  position: relative;
}
.page-note {
  font-size: 22px;
  color: var(--purple);
  font-style: italic;
  line-height: 1.3;
  max-width: 230px;
  transform: rotate(-5deg);
  margin-inline-start: auto;
}
.card {
  border: 1px solid color-mix(in srgb, var(--line) 74%, var(--solid));
  background: var(--panel);
  border-radius: var(--radius);
  padding: 23px;
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: none;
}
.card.tint {
  background: linear-gradient(
    125deg,
    var(--panel),
    color-mix(in srgb, var(--teal-soft) 34%, var(--panel))
  );
}
.card.pink {
  background: linear-gradient(
    135deg,
    var(--panel),
    color-mix(in srgb, var(--pink) 7%, var(--panel))
  );
}
.stack {
  gap: 20px;
}
.grid {
  gap: 18px;
}
.btn {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 13px;
  font-weight: 650;
  border-color: var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px #fff3;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.btn.primary {
  background: var(--rh-gradient);
  border: 1px solid #ffffff45;
  color: #172344;
  border-radius: 16px;
  box-shadow:
    0 7px 22px -12px #b958dbae,
    inset 0 1px #ffffff75;
  text-shadow: none;
}
.btn.primary:hover {
  background: var(--rh-gradient);
  box-shadow: 0 8px 25px -8px #996acf70;
  filter: brightness(1.04);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.btn[aria-busy="true"] {
  cursor: progress;
}
.btn.icon-only {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}
.btn.danger {
  background: color-mix(in srgb, var(--danger) 5%, var(--solid));
  border-color: color-mix(in srgb, var(--danger) 25%, var(--line));
}
.btn .button-arrow {
  margin-inline-start: auto;
  width: 18px;
}
.mini-icon {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--rh-fuchsia) 10%, var(--panel)),
    color-mix(in srgb, var(--rh-cyan) 16%, var(--panel))
  );
  color: var(--purple);
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
input,
select,
textarea {
  background: color-mix(in srgb, var(--solid) 82%, transparent);
  border-color: var(--line);
  border-radius: 13px;
  min-height: 46px;
  padding: 11px 14px;
  box-shadow: inset 0 1px #ffffff25;
  font-size: 15px;
}
label {
  font-size: 14px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--rh-violet);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rh-violet) 16%, transparent);
}
.sidebar {
  width: var(--rh-sidebar);
  padding: 20px 14px 16px;
  background: var(--nav);
  border-inline-end: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  backdrop-filter: blur(16px);
  z-index: var(--z-nav);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sidebar .brand {
  padding: 0 12px;
  font-size: 24px;
  line-height: 0.97;
  gap: 12px;
  letter-spacing: -1px;
}
.brand img {
  width: 39px;
  height: 39px;
}
.sidebar nav {
  gap: 2px;
  overflow: visible;
}
.nav-link {
  font-size: 14px;
  min-height: 44px;
  padding: 10px 13px;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 12px;
}
.nav-link .icon {
  width: 21px;
  height: 21px;
}
.nav-link.active {
  color: var(--accent);
  background: linear-gradient(
    98deg,
    color-mix(in srgb, var(--rh-fuchsia) 13%, var(--solid)),
    color-mix(in srgb, var(--rh-violet) 17%, var(--solid)),
    color-mix(in srgb, var(--rh-cyan) 28%, var(--solid))
  );
  border-color: color-mix(in srgb, var(--rh-fuchsia) 20%, var(--line));
  box-shadow: 0 4px 16px -11px var(--rh-cyan);
}
.nav-footer {
  padding: 20px 2px 0;
  gap: 12px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sidebar-username {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  flex: 1;
}
.sidebar-user .avatar {
  width: 34px;
  height: 34px;
}
.topbar {
  height: var(--rh-header);
  padding: 0 27px;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  background: var(--nav);
  backdrop-filter: blur(16px);
  z-index: var(--z-header);
}
.topbar > .row {
  min-width: 0;
  flex-shrink: 1;
  flex-wrap: nowrap;
}
.topbar .project-picker {
  max-width: 190px;
  padding-inline: 10px;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0 12px;
  border-radius: 99px;
  max-width: 520px;
  flex: 1;
  color: var(--muted);
}
.header-search input {
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 42px;
  padding: 7px 0;
  font-size: 14px;
}
.header-search .icon {
  width: 18px;
}
.search-submit {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 28px;
  min-height: 42px;
}
.top-actions {
  flex: none;
}
.language-name {
  font-size: 14px;
}
.content {
  padding: 26px 28px 60px;
  max-width: 1760px;
}
.top-actions .avatar {
  background: linear-gradient(135deg, #f4c5fa, #d9e2ff);
  color: #9441b5;
}
.stats {
  gap: 14px;
}
.dashboard-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat {
  position: relative;
  padding: 18px;
  gap: 9px;
}
.stat .value {
  font-size: 31px;
  letter-spacing: -1px;
}
.stat .label {
  font-size: 14px;
}
.stat .stat-icon .mini-icon {
  width: 33px;
  height: 33px;
}
.stat .stat-icon .icon {
  width: 19px;
}
.stat:nth-child(2n) .mini-icon {
  color: var(--teal);
}
.stat:nth-child(3n) .mini-icon {
  color: var(--accent);
}
.stat .badge {
  position: absolute;
  top: 22px;
  right: 16px;
  font-size: 12px;
}
.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.growth-card {
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(
    120deg,
    var(--panel),
    color-mix(in srgb, var(--rh-cyan) 4%, var(--panel))
  );
  display: grid;
  gap: 15px;
}
.growth-card h3 {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.growth-card .platform-icon {
  width: 29px;
  height: 29px;
}
.growth-metrics {
  display: grid;
  gap: 11px;
}
.growth-metric {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.growth-metric strong {
  font-size: 17px;
}
.growth-delta {
  min-width: 46px;
  text-align: right;
  font-size: 13px;
}
.growth-delta.up {
  color: var(--success);
}
.growth-delta.down {
  color: var(--danger);
}
.growth-delta.flat {
  color: var(--warning);
}
.growth-card .chart {
  height: 84px;
  margin: 0;
}
.growth-card .chart text {
  display: none;
}
.growth-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.growth-empty {
  min-height: 200px;
  display: grid;
  align-content: center;
  gap: 15px;
}
.dashboard-shortcuts .card {
  padding: 18px;
}
.history-card .history-row {
  padding: 12px 0;
}
.history-row .mini-icon {
  width: 35px;
  height: 35px;
}
.history-row .title {
  font-size: 14px;
}
.history-row .date {
  font-size: 13px;
}
.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.analysis-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.analysis-form .actions {
  margin: 0;
}
.analysis-form .btn.primary {
  min-width: 210px;
}
.analysis-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.analysis-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background: var(--panel);
  padding: 14px;
  border-radius: 16px;
}
.analysis-benefit strong {
  display: block;
  font-size: 14px;
}
.analysis-benefit p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.analysis-feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.analysis-feature-strip .card {
  padding: 17px;
}
.analysis-feature-strip p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.analysis-page-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 5px;
}
.notice {
  border-radius: 14px;
  font-size: 14px;
}
.analysis-method-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.tabs {
  background: color-mix(in srgb, var(--solid) 60%, transparent);
  border-color: var(--line);
  border-radius: 15px;
  gap: 5px;
}
.tab {
  min-height: 44px;
}
.tab.active {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--rh-fuchsia) 14%, var(--solid)),
    color-mix(in srgb, var(--rh-cyan) 16%, var(--solid))
  );
  box-shadow: 0 3px 8px #b29cc620;
  color: var(--accent);
}
.feed-filters {
  padding: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  grid-template-columns: repeat(3, minmax(100px, 1fr)) minmax(
      100px,
      1fr
    ) minmax(130px, 1.5fr) auto;
  gap: 10px;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.feed-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  min-width: 0;
  border-radius: 20px;
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}
.feed-poster {
  height: auto !important;
  aspect-ratio: 9/16;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #4a5283, #202a53);
  color: #fff;
}
.feed-poster > img,
.feed-poster > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-poster:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #06112866,
    transparent 30%,
    transparent 63%,
    #061128b8
  );
  z-index: 1;
}
.feed-poster.playing:after {
  display: none;
}
.feed-poster.playing .feed-overlays {
  display: block;
  pointer-events: none;
}
.feed-poster.playing .feed-play { display: none; }
.feed-poster.playing > video { object-fit: contain; background: #070b16; }
.feed-poster.playing .feed-side-actions { pointer-events: auto; }
.feed-poster.playing .feed-metrics { bottom: 62px; background: #071122e8; padding: 8px 4px; border: 1px solid #ffffff55; border-radius: 12px; }
.feed-poster.playing .feed-top { pointer-events: none; }
.feed-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}
.feed-platform {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  background: #07173580;
  padding: 5px 7px;
  border-radius: 9px;
  line-height: 1.1;
}
.feed-platform .platform-icon {
  position: static;
  width: 19px;
  height: 19px;
}
.feed-poster .score {
  position: static;
  border: 1px solid #ffffff77;
  background: #062e3fd1;
  color: #fff;
  min-width: 42px;
  font-size: 19px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 3px 7px;
  font-weight: 750;
}
.feed-score-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.feed-side-actions {
  display: grid;
  gap: 8px;
  position: absolute;
  top: 75px;
  right: 9px;
  z-index: 3;
}
.feed-side-actions .btn {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 8px;
  background: #13234378;
  border-color: #fff5;
  color: #fff;
  border-radius: 12px;
}
.feed-side-actions .saved {
  background: #db369dbb;
}
.feed-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 2;
  color: #fff;
  display: grid;
  place-items: center;
  width: 100%;
}
.feed-play > .icon {
  width: 51px;
  height: 51px;
  filter: drop-shadow(0 2px 9px #0007);
  opacity: 0.85;
}
.feed-metrics {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  color: #fff;
  font-size: 12px;
}
.feed-metrics > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.feed-metrics .icon {
  width: 14px;
  height: 14px;
}
.feed-body {
  padding: 12px 0 8px;
}
.feed-title {
  font-size: 14px;
  line-height: 1.45;
  margin: 7px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 41px;
}
.feed-author {
  font-size: 12px;
  margin: 0 0 9px;
  color: var(--muted);
}
.feed-actions {
  display: flex;
  gap: 7px;
  margin: 0;
  flex-wrap: wrap;
}
.feed-actions .btn {
  min-height: 44px;
  padding: 8px 11px;
  font-size: 12px;
  flex: 1;
  white-space: normal;
}
.feed-actions .btn:nth-child(2) {
  flex-basis: auto;
}
.feed-actions .icon {
  width: 16px;
}
.feed-error {
  position: absolute;
  inset: 35% 10px auto;
  text-align: center;
  font-size: 13px;
  z-index: 4;
}
.feed-error .btn {
  margin-top: 10px;
  color: var(--text);
}
.feed-anomaly .feed-poster {
  box-shadow:
    0 0 0 2px #40cd9b60,
    0 8px 25px -13px #3cb894;
}
.feed-result-count {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
}
.image-view-dialog img {
  display: block;
  max-height: 75vh;
  object-fit: contain;
  margin: auto;
}
.source-column.card {
  padding: 17px;
}
.source-item {
  padding: 12px 0;
}
.source-item .actions {
  gap: 6px;
  margin-top: 10px;
}
.source-item .btn {
  min-height: 44px;
  font-size: 13px;
  padding: 8px 10px;
}
.source-header h2 {
  font-size: 18px;
}
.source-item h3 {
  font-size: 14px;
}
.source-item .switch .track,
.platform-switch .track {
  background: color-mix(in srgb, var(--danger) 76%, var(--solid));
}
.source-item .switch input:checked + .track,
.platform-switch input:checked + .track {
  background: #19b88d;
}
.source-grid {
  gap: 16px;
}
.source-item .small {
  font-size: 13px;
}
.notification-settings {
  gap: 15px;
}
.notification {
  padding: 16px 0;
}
.notification .mini-icon {
  color: var(--purple);
}
.script-layout {
  gap: 20px;
}
.script-part {
  background: transparent;
}
.script-paper {
  background: var(--panel);
}
.script-aside .card {
  padding: 20px;
}
.library-filters {
  gap: 10px;
}
.library-item {
  padding: 19px;
}
.dna-columns {
  gap: 20px;
}
.plan-card.featured {
  border-color: var(--rh-violet);
  box-shadow: 0 10px 30px -20px #9f6dce88;
}
.plan-price {
  font-size: 32px;
}
.progress-box {
  padding: 0;
  max-width: none;
}
.analysis-progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 25px;
}
.analysis-radar {
  width: 150px;
  height: 150px;
  margin: 8px auto 25px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--rh-cyan) 5%, transparent),
    0 0 0 38px color-mix(in srgb, var(--rh-violet) 4%, transparent);
}
.analysis-radar:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid transparent;
  border-top-color: var(--rh-cyan);
  border-right-color: var(--rh-fuchsia);
  border-radius: 50%;
  animation: spin 4s linear infinite;
}
.analysis-radar > .icon {
  width: 49px;
  height: 49px;
}
.analysis-progress-visual {
  display: grid;
  align-content: center;
  padding: 30px 15px;
  min-height: 300px;
  text-align: center;
}
.analysis-progress-visual h3 {
  font-size: 19px;
}
.analysis-progress-visual p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.progress-stage-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.progress-stage-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 12px;
  background: var(--muted-panel);
  border-radius: 13px;
  color: var(--muted);
}
.progress-stage-list li .stage-dot {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}
.progress-stage-list li.done {
  color: var(--success);
}
.progress-stage-list li.current {
  color: var(--purple);
  background: color-mix(in srgb, var(--rh-violet) 10%, var(--panel));
}
.progress-stage-list li.done .stage-dot {
  background: var(--teal-soft);
}
progress {
  width: 100%;
  height: 12px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  accent-color: var(--rh-violet);
  background: var(--muted-panel);
}
progress::-webkit-progress-bar {
  background: var(--muted-panel);
  border-radius: 99px;
}
progress::-webkit-progress-value {
  background: var(--rh-gradient);
  border-radius: 99px;
}
progress::-moz-progress-bar {
  background: var(--rh-gradient);
  border-radius: 99px;
}
.progress-elapsed {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted);
}
.route-skeleton {
  padding-top: 18px;
}
.skeleton-title,
.skeleton-grid > div,
.skeleton-panel {
  background: linear-gradient(
    100deg,
    var(--muted-panel),
    var(--panel),
    var(--muted-panel)
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 2s ease infinite;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.skeleton-title {
  height: 34px;
  width: 230px;
  margin-bottom: 27px;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.skeleton-grid > div {
  height: 115px;
}
.skeleton-panel {
  height: 320px;
  margin-top: 22px;
}
@keyframes skeleton-shimmer {
  to {
    background-position: -200% 0;
  }
}
.auth-art {
  background:
    radial-gradient(ellipse at 70% 35%, #e2b3ee50, transparent 60%),
    radial-gradient(ellipse at 35% 76%, #b6eff46b, transparent 60%), var(--bg);
  padding: 9vw 7vw;
}
.auth-art h1 {
  font-size: clamp(36px, 3.4vw, 56px);
  letter-spacing: -1.8px;
}
.auth-art .brand {
  font-size: 25px;
}
.auth-form-panel {
  background: transparent;
}
.auth-form {
  max-width: 470px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.auth-form h1 {
  text-align: center;
  font-size: 30px;
}
.auth-form .eyebrow {
  text-align: center;
  color: var(--muted);
}
.auth-providers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.auth-provider-slot {
  height: 48px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  overflow: hidden;
  position: relative;
}
.auth-provider-slot > a,
.auth-provider-slot > button {
  width: 100%;
  height: 46px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}
.auth-provider-slot iframe {
  position: static !important;
  display: block !important;
  max-width: 100%;
  border: 0;
  min-height: 28px;
}
.auth-provider-slot .provider-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 0;
}
.auth-provider-status {
  min-height: 55px;
  font-size: 13px;
  color: var(--danger);
  padding-top: 10px;
  text-align: center;
}
.auth-provider-status:empty {
  visibility: hidden;
}
.auth-top {
  z-index: 2;
}
.auth-form .auth-bottom {
  font-size: 13px;
}
.auth-layout .stack {
  gap: 18px;
}
.auth-layout .auth-or {
  margin: 19px 0 15px;
}
.auth-layout .auth-bottom + .auth-or {
  margin-top: 15px;
}
.auth-bottom .btn {
  padding: 5px 12px;
}
body.nav-open {
  overflow: hidden;
}
.studio-frame {
  width: 100%;
  height: calc(100dvh - var(--rh-header) - 50px);
  min-height: 640px;
  border: 0;
  display: block;
  border-radius: 20px;
  background: transparent;
}
.studio-frame[hidden] {
  display: none;
}
.studio-frame-loading {
  padding: 30px;
}
.studio-document {
  margin: 0;
  background: var(--bg);
}
.studio-document:before {
  display: none;
}
@media (min-width: 1780px) {
  .feed-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-height: 880px) and (min-width: 901px) {
  .sidebar {
    padding-top: 15px;
  }
  .brand-row {
    margin-bottom: 12px;
  }
  .sidebar nav {
    gap: 0;
  }
  .nav-link {
    min-height: 38px;
    padding-block: 7px;
  }
  .nav-footer {
    padding-top: 12px;
    gap: 7px;
  }
  .sidebar-user {
    padding-top: 7px;
  }
}
@media (max-height: 720px) and (min-width: 901px) {
  .sidebar {
    overflow: auto;
  }
  .sidebar nav {
    overflow: visible;
  }
  .nav-footer {
    margin-top: 15px;
  }
}
@media (max-width: 1250px) {
  :root {
    --rh-sidebar: 220px;
  }
  .topbar {
    padding-inline: 20px;
  }
  .content {
    padding: 25px 22px 50px;
  }
  .header-search {
    max-width: 330px;
  }
  .feed-grid,
  .feed-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .analysis-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .analysis-benefits {
    grid-template-columns: 1fr;
  }
  .growth-metric {
    font-size: 13px;
    gap: 5px;
  }
  .growth-metric strong {
    font-size: 15px;
  }
  .page-note {
    display: none;
  }
  .sidebar .brand {
    font-size: 22px;
  }
  .nav-link {
    font-size: 13px;
    gap: 11px;
  }
  .growth-card {
    padding: 16px;
  }
}
@media (max-width: 1024px) {
  .header-search {
    display: none;
  }
  .analysis-layout {
    grid-template-columns: 1fr;
  }
  .analysis-benefits,
  .stats,
  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat .badge {
    position: static;
    justify-self: start;
  }
  .growth-grid {
    grid-template-columns: 1fr;
  }
  .growth-card {
    grid-template-columns: minmax(150px, 1fr) 2fr;
    align-items: start;
  }
  .growth-card .chart {
    grid-column: 1/-1;
    height: 70px;
  }
  .growth-card .growth-empty {
    grid-column: 1/-1;
    min-height: 100px;
  }
  .growth-metrics {
    grid-row: span 2;
  }
  .growth-card > a {
    justify-self: start;
  }
  .topbar .project-picker {
    max-width: 260px;
  }
}
@media (max-width: 900px) {
  :root {
    --rh-header: 68px;
  }
  .workspace {
    margin-inline-start: 0;
  }
  .sidebar {
    width: 280px;
    padding: 20px 14px;
    overflow: auto;
    max-width: calc(100vw - 36px);
  }
  .nav-link {
    font-size: 14px;
    min-height: 44px;
  }
  .sidebar .brand {
    font-size: 24px;
  }
  .brand-row {
    margin-bottom: 20px;
  }
  .sidebar nav {
    overflow: visible;
  }
  .nav-footer {
    margin-top: 20px;
  }
  .content {
    padding: 24px 20px 50px;
  }
  .topbar {
    padding-inline: 15px;
  }
  .feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
  .studio-frame {
    height: calc(100dvh - 100px);
    min-height: 650px;
  }
  .analysis-progress-layout {
    grid-template-columns: 1fr;
  }
  .analysis-progress-visual {
    min-height: 230px;
  }
}
@media (max-width: 650px) {
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .feed-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feed-filters > input {
    grid-column: 1/-1;
  }
  .feed-filters .btn {
    grid-column: 1/-1;
  }
  .analysis-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analysis-feature-strip {
    grid-template-columns: 1fr;
  }
  .stats,
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats .stat:last-child {
    grid-column: auto;
  }
  .stats .stat:nth-child(5):last-child {
    grid-column: 1/-1;
  }
  .content {
    padding: 22px 16px 50px;
  }
  .card {
    padding: 18px;
  }
  .page-heading {
    min-height: 60px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .topbar > .row {
    flex: 1;
    min-width: 0;
  }
  .topbar .project-picker {
    max-width: 135px;
    min-width: 60px;
    padding-inline: 5px;
  }
  .topbar .language-name {
    display: none;
  }
  .topbar .lang-button {
    min-width: 44px;
    justify-content: center;
    padding-inline: 7px;
  }
  .top-actions .avatar {
    display: none;
  }
  .top-actions .icon-only {
    width: 44px;
  }
  .top-actions {
    gap: 0;
  }
  .topbar {
    gap: 3px;
    padding-inline: 10px;
    flex-wrap: nowrap;
    height: 68px;
  }
  .topbar > .row {
    width: auto;
    justify-content: flex-start;
  }
  .auth-form-panel {
    padding: 100px 16px 30px;
  }
  .auth-form {
    padding: 25px 22px;
    border-radius: 23px;
  }
  .auth-providers {
    grid-template-columns: 1fr;
  }
  .auth-provider-slot {
    height: 48px;
  }
  .auth-provider-status {
    min-height: 66px;
  }
  .growth-card {
    grid-template-columns: 1fr;
  }
  .growth-metrics {
    grid-row: auto;
  }
  .growth-card .chart {
    height: 80px;
  }
  .skeleton-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skeleton-grid > div:nth-child(n + 3) {
    display: none;
  }
  .analysis-form .btn.primary {
    min-width: 0;
    width: 100%;
  }
  .feed-card {
    padding: 0;
  }
  .feed-platform {
    font-size: 9px;
    padding: 4px;
    gap: 3px;
  }
  .feed-platform .platform-icon {
    width: 15px;
    height: 15px;
  }
  .feed-top {
    top: 7px;
    left: 6px;
    right: 6px;
  }
  .feed-poster .score {
    font-size: 17px;
    min-width: 32px;
    padding: 2px 5px;
  }
  .feed-score-label {
    font-size: 8px;
  }
  .feed-side-actions {
    right: 6px;
    top: 65px;
  }
  .feed-metrics {
    font-size: 10px;
    left: 6px;
    right: 6px;
    bottom: 12px;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .feed-metrics .icon {
    width: 13px;
  }
  .feed-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .feed-actions .btn {
    font-size: 12px;
  }
  .feed-title {
    font-size: 13px;
  }
  .feed-author {
    font-size: 12px;
  }
  .header-search {
    display: none;
  }
  .studio-frame {
    border-radius: 0;
  }
  .studio-document .creator-studio {
    padding-inline: 10px;
  }
}
@media (max-width: 360px) {
  .topbar .project-picker {
    max-width: 103px;
  }
  .content {
    padding-inline: 12px;
  }
  .feed-grid {
    gap: 10px;
  }
  .analysis-benefits {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 16px;
  }
  .feed-card {
    padding: 0;
  }
  .auth-form {
    padding: 22px 16px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .lang-button {
    width: 40px;
    min-width: 40px !important;
  }
  .top-actions .icon-only {
    width: 40px;
    min-width: 40px;
  }
  .topbar {
    padding-inline: 6px;
  }
  .btn {
    max-width: 100%;
  }
}
[hidden] {
  display: none !important;
}
.sidebar nav .nav-link {
  min-height: 44px;
}
.btn.primary:disabled {
  opacity: 0.55;
}
.library-tile {
  min-width: 0;
}
#library-search input {
  flex: 1;
  min-width: 0;
}
.content {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}
.sidebar {
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
.search-submit,
.feed-side-actions .btn {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 900px) {
  .topbar {
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }
}
@media (max-width: 360px) {
  .topbar .lang-button,
  .topbar .icon-only {
    width: 44px;
    min-width: 44px !important;
  }
  .topbar .project-picker {
    max-width: 90px;
  }
  .topbar > .row {
    gap: 5px;
  }
}
#script-inline-editor {
  padding: 24px;
}
#script-inline-editor textarea {
  font-size: 16px;
  line-height: 1.65;
  min-height: 130px;
}
#script-inline-editor #body {
  min-height: 260px;
}
#script-save-state.error {
  color: var(--danger);
}
@media (max-width: 650px) {
  #script-inline-editor {
    padding: 18px;
  }
}
@font-face {
  font-family: Caveat;
  src: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/caveat.woff2)
    format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
body {
  background:
    radial-gradient(ellipse at 73% 0%, #d9e5ff 0, transparent 42%),
    radial-gradient(ellipse at 42% 39%, #eeceff69 0, transparent 30%),
    radial-gradient(ellipse at 3% 94%, #e9ceff70 0, transparent 25%), var(--bg);
}
:root[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 72% 0%, #49345a50, transparent 40%), var(--bg);
}
.sidebar {
  inset-block: 10px 18px;
  inset-inline: 15px auto;
  width: calc(var(--rh-sidebar) - 22px);
  height: calc(100dvh - 28px);
  padding: 18px 13px;
  border: 1px solid #ffffffc9;
  border-radius: 25px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  backdrop-filter: blur(24px);
}
.brand-row {
  margin-bottom: 20px;
  gap: 4px;
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.sidebar .brand img {
  width: 43px;
  height: 47px;
  filter: drop-shadow(0 3px 7px #a99aff65);
}
.sidebar .brand span {
  display: grid;
  gap: 4px;
}
.sidebar .brand strong {
  font-weight: 780;
  white-space: nowrap;
}
.sidebar .brand small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.sidebar-project label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 0 7px 7px;
}
.sidebar-project > div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dash-glass);
  padding: 6px 9px;
  border: 1px solid #ffffffd9;
  border-radius: 14px;
  box-shadow: 0 3px 10px #9bacee28;
}
.project-monogram {
  display: grid;
  place-items: center;
  background: linear-gradient(#292d35, #050609);
  border: 1px solid #85889b;
  box-shadow: 0 2px 6px #0003;
  color: #fff;
  border-radius: 7px;
  width: 27px;
  height: 27px;
  font-size: 19px;
  flex: none;
}
.sidebar-project select {
  padding: 3px 1px;
  background: transparent;
  border: 0;
  min-height: 30px;
  width: 100%;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
}
.sidebar nav {
  gap: 3px;
}
.sidebar nav .nav-link {
  min-height: 39px;
  padding: 8px 12px;
  gap: 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 480;
  color: var(--text);
}
.sidebar .nav-link .icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}
.sidebar .nav-link.active {
  color: #fff;
  background: var(--rh-gradient);
  border-color: #ffffff70;
  box-shadow:
    0 0 14px #d07ffc5c,
    inset 0 1px 3px #ffffffa8;
  text-shadow: 0 1px 1px #8936b070;
}
.nav-footer {
  margin-top: auto;
  padding-top: 25px;
  gap: 11px;
}
.sidebar-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  min-height: 72px;
  border: 1px solid #ffffffda;
  border-radius: 16px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
}
.sidebar-plan > img {
  width: 38px;
  height: 42px;
  filter: drop-shadow(0 3px 7px #9277ff70);
}
.sidebar-plan > span {
  display: grid;
  gap: 3px;
  flex: 1;
}
.sidebar-plan small {
  color: var(--muted);
  font-size: 11px;
}
.sidebar-plan strong {
  font-size: 16px;
}
.sidebar-plan > .icon {
  width: 15px;
}
.sidebar-user {
  padding: 11px 9px;
  border: 1px solid #ffffffd9;
  border-radius: 16px;
  gap: 8px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
}
.sidebar-user .avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
  background: linear-gradient(145deg, #779bff, #ecc6ff);
  color: #142264;
}
.sidebar-username {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sidebar-username strong {
  font-size: 12px;
}
.sidebar-username small {
  font-size: 10px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user #logout {
  width: 28px;
  min-width: 28px;
  padding: 3px;
}
.sidebar-version {
  color: var(--muted);
  font-size: 11px;
  margin: 0 7px;
}
.sidebar-note {
  position: relative;
  padding: 15px 23px 7px;
  font:
    23px/1.05 Caveat,
    cursive;
  transform: rotate(-9deg);
  color: #9292f8;
  max-width: 220px;
}
.sidebar-note > span {
  font-size: 32px;
  vertical-align: middle;
  margin-left: 8px;
}
.workspace {
  margin-inline-start: var(--rh-sidebar);
}
.topbar {
  height: 68px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 13px 25px 8px 15px;
  gap: 18px;
}
.topbar > .row:not(:has(.mobile-toggle:not([hidden]))) {
  display: none;
}
.topbar > .row {
  flex: 0;
}
.header-search {
  display: flex;
  flex: 1;
  min-width: 140px;
  max-width: none;
  height: 43px;
  border: 1px solid #ffffffed;
  border-radius: 24px;
  background: var(--dash-glass);
  box-shadow: 0 3px 10px #92a8fa22;
  padding: 0 14px;
  gap: 10px;
}
.header-search input {
  font-size: 13px;
  padding: 0;
}
.header-search .icon {
  width: 21px;
}
.search-submit {
  font-size: 12px;
  min-width: 39px;
  min-height: 27px;
  height: 27px;
  border-radius: 8px;
  background: #ece8ff;
  color: var(--muted);
}
.top-actions {
  gap: 14px;
}
.lang-button {
  height: 43px;
  min-height: 43px;
  border: 1px solid #ffffffc9;
  border-radius: 23px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  font-size: 13px;
  padding: 9px 14px;
  gap: 8px;
}
.lang-button:after {
  content: "⌄";
  font-size: 16px;
  margin-left: 2px;
}
.lang-menu {
  width: 230px;
  max-height: 480px;
  overflow: auto;
  padding: 8px;
  border-radius: 17px;
  background: var(--solid);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px #6477b733;
}
.theme-pair {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 24px;
  padding: 5px;
  border: 1px solid #ffffffc9;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
}
.theme-pair > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #a33bff;
  background: #eee3ff;
}
.theme-pair > span:first-child {
  color: #ff941c;
  background: #fff6e7;
}
.theme-pair .icon {
  width: 19px;
  height: 19px;
}
:root[data-theme="dark"] .theme-pair > span:first-child {
  background: transparent;
  opacity: 0.5;
}
:root[data-theme="dark"] .theme-pair > span:last-child {
  background: #554184;
}
.top-actions > a.icon-only {
  background: var(--dash-glass);
  border: 1px solid #fff9;
  border-radius: 18px;
  width: 43px;
  height: 43px;
  min-height: 43px;
  position: relative;
}
.header-create {
  height: 43px;
  min-height: 43px !important;
  white-space: nowrap;
  border-radius: 18px !important;
  padding: 9px 17px !important;
  gap: 9px;
}
.btn.primary {
  color: #fff;
  background: var(--rh-gradient);
  text-shadow: 0 1px 2px #77358b66;
  box-shadow:
    0 4px 12px #c777f554,
    inset 0 1px 3px #ffffff91;
  border: 1px solid #ffffff91;
}
.btn.primary:hover {
  background: var(--rh-gradient);
  box-shadow: 0 6px 17px #bd74ff70;
}
.content {
  padding: 0 25px 22px 15px;
}
.content > .page {
  max-width: none;
}
.dash-title {
  display: flex;
  align-items: center;
  min-height: 74px;
  position: relative;
  gap: 14px;
}
.dash-title h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.dash-title p {
  font-size: 16px;
  color: var(--muted);
  margin: 4px 0 0;
}
.dash-handwritten {
  font:
    24px/1 Caveat,
    cursive;
  color: #9794f3;
  max-width: 205px;
  transform: rotate(-8deg);
  margin-inline-start: auto;
  margin-inline-end: 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.dash-handwritten > span {
  font-size: 38px;
  position: absolute;
  right: -24px;
  top: 0;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 11px;
}
.dash-stat {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px 34px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  min-height: 97px;
  color: var(--text);
}
.stat-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 35px;
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 9%, transparent);
  flex: none;
}
.stat-symbol .icon {
  width: 27px;
  height: 27px;
}
.dash-stat > div {
  min-width: 0;
}
.stat-label {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 620;
  margin-bottom: 3px;
}
.dash-stat strong {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.dash-stat small {
  font-size: 12px;
  margin-left: 8px;
  font-weight: 650;
}
.blue {
  --metric-color: var(--dash-blue);
}
.purple {
  --metric-color: var(--dash-purple);
}
.pink {
  --metric-color: var(--dash-pink);
}
.green {
  --metric-color: var(--dash-green);
}
.stat-symbol,
.section-symbol {
  color: var(--metric-color, var(--dash-blue));
}
.dash-spark {
  position: absolute;
  width: calc(100% - 22px);
  height: 29px;
  left: 11px;
  bottom: 6px;
  color: var(--metric-color);
}
.dash-spark-empty {
  height: 20px;
}
.positive {
  color: #00b54c;
}
.negative {
  color: #f53a68;
}
.neutral {
  color: #d37414;
}
.unknown {
  color: var(--muted);
}
.dash-section {
  padding: 9px 10px 10px;
  border: 1px solid #fffffff0;
  border-radius: 19px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  margin-bottom: 10px;
  min-width: 0;
}
.dash-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 2px 8px;
  min-height: 43px;
}
.section-symbol {
  display: grid;
  place-items: center;
  flex: none;
}
.section-symbol > .icon {
  width: 28px;
  height: 28px;
}
.dash-section-heading h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 770;
}
.dash-section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}
.dash-date {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 14px;
  padding: 8px 12px;
  background: var(--dash-glass);
  border: 1px solid #fff;
  white-space: nowrap;
}
.dash-date > .icon {
  width: 16px;
  height: 16px;
}
.dash-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dash-platform {
  padding: 10px 11px 11px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff9, #f1f1ff80);
  box-shadow: 0 3px 10px #acaceb16;
  min-width: 0;
}
.dash-platform > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  min-height: 32px;
}
.dash-platform > header > .platform-icon {
  width: 33px;
  height: 33px;
}
.dash-platform h3 {
  font-size: 16px;
  font-weight: 760;
  line-height: 1.2;
}
.connection-state {
  margin-inline-start: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 10px;
}
.connection-state:before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}
.connected {
  color: #00b742;
  background: #dff9ed;
}
.disconnected {
  color: #ed244d;
  background: #ffe9f1;
}
.platform-open {
  display: grid;
  place-items: center;
  margin-inline-start: auto;
  flex: none;
}
.platform-open .icon {
  width: 17px;
  height: 17px;
}
.dash-platform-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 8px;
}
.dash-metrics {
  display: grid;
  gap: 4px;
}
.dash-metric {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}
.metric-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 39px;
  height: 36px;
  border-radius: 11px;
  background: #e7efff;
  color: #1467ff;
}
.metric-symbol .icon {
  width: 23px;
  height: 23px;
}
.dash-metric > div {
  display: grid;
  min-height: 36px;
  align-content: center;
  border-radius: 9px;
  padding: 2px 9px;
  background: #e2f0f480;
  flex: 1;
  min-width: 0;
}
.dash-metric strong {
  font-size: 16px;
  line-height: 1.08;
  font-weight: 660;
}
.dash-metric > div > span {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.metric-likes .metric-symbol {
  color: #ff304a;
  background: #fff0f4;
}
.metric-comments .metric-symbol {
  color: #3576ff;
  background: #eaf0ff;
}
.metric-saves .metric-symbol {
  color: #2383ff;
  background: #edf1ff;
}
.tiktok .metric-followers .metric-symbol {
  color: #00c353;
  background: #e7fff0;
}
.tiktok .metric-views .metric-symbol {
  color: #13a6c0;
  background: #e3f9fe;
}
.tiktok .metric-comments .metric-symbol {
  color: #ff8a18;
  background: #fff1e6;
}
.tiktok .metric-saves .metric-symbol {
  color: #ff3583;
  background: #ffedf6;
}
.youtube .metric-symbol {
  color: #a833ff;
  background: #f1e7ff;
}
.dash-platform-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.glass-social {
  display: block;
  width: 128px;
  height: 130px;
  flex: none;
  background-image: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/glass-social.webp);
  background-size: 300% 100%;
  background-repeat: no-repeat;
}
.glass-social.instagram {
  background-position: 0% 50%;
  clip-path: polygon(
    22% 37%,
    26% 32%,
    32% 28%,
    65% 17%,
    71% 18%,
    76% 23%,
    79% 30%,
    87% 58%,
    87% 64%,
    83% 69%,
    77% 73%,
    40% 84%,
    34% 83%,
    30% 80%,
    26% 73%,
    22% 47%
  );
}
.glass-social.tiktok {
  background-position: 50% 50%;
  clip-path: polygon(
    20% 37%,
    23% 30%,
    33% 24%,
    63% 17%,
    69% 18%,
    74% 22%,
    78% 31%,
    84% 62%,
    83% 68%,
    78% 74%,
    41% 83%,
    33% 82%,
    28% 77%,
    25% 69%
  );
}
.glass-social.youtube {
  background-position: 100% 50%;
  clip-path: polygon(
    15% 40%,
    18% 34%,
    26% 30%,
    65% 24%,
    71% 25%,
    76% 29%,
    79% 36%,
    83% 58%,
    82% 63%,
    78% 67%,
    70% 70%,
    30% 76%,
    25% 75%,
    21% 71%,
    18% 65%
  );
}
.dash-platform-art p {
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  margin: 0 0 8px;
  max-width: 155px;
}
.dash-platform-art .btn {
  font-size: 12px;
  min-height: 38px;
  padding: 7px 14px;
  width: 100%;
  border-radius: 15px;
  white-space: normal;
  text-align: center;
}
.dash-comparison {
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  border: 1px solid #fff;
  border-radius: 15px;
  width: 100%;
  padding: 9px 10px;
  line-height: 1.4;
}
.dash-comparison strong {
  font-size: 17px;
  display: block;
}
.dash-comparison span {
  font-size: 11px;
  color: var(--muted);
}
.dash-chart-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-inline-start: auto;
}
.dash-chart-controls select {
  font-size: 11px;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 12px;
  max-width: 106px;
}
.dash-periods {
  display: flex;
  background: var(--dash-glass);
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 3px;
  box-shadow: var(--dash-shadow);
}
.dash-periods button {
  background: transparent;
  border: 0;
  border-radius: 16px;
  color: var(--muted);
  padding: 6px 16px;
  font-size: 11px;
  min-height: 28px;
  white-space: nowrap;
}
.dash-periods button[aria-pressed="true"] {
  background: linear-gradient(100deg, #eee0ff, #cdddff);
  color: #741cff;
  box-shadow: 0 3px 10px #abb9ff46;
}
.dash-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dash-chart-panel {
  background: var(--dash-glass);
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 6px 8px;
  color: var(--metric-color);
}
.dash-chart-panel > header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.dash-chart-panel h3 {
  font-size: 11px;
  font-weight: 680;
  flex: 1;
  line-height: 1.25;
}
.dash-chart-panel > header > strong {
  font-size: 12px;
  white-space: nowrap;
  border-radius: 9px;
  padding: 4px 6px;
  color: var(--metric-color);
  background: color-mix(in srgb, var(--metric-color) 7%, transparent);
}
.dash-chart-panel .metric-symbol {
  width: 29px;
  height: 29px;
  color: var(--metric-color);
  background: color-mix(in srgb, var(--metric-color) 8%, transparent);
}
.dash-chart-panel .icon {
  width: 21px;
  height: 21px;
}
.dash-chart {
  width: 100%;
  min-width: 0;
  height: 108px;
}
.dash-chart svg {
  display: block;
  width: 100%;
  height: 108px;
  overflow: visible;
}
.dash-chart text {
  font-family: Onest, sans-serif;
  font-size: 10px;
  fill: var(--muted);
}
.dash-chart text.chart-value {
  font-weight: 700;
  fill: var(--text);
}
.dash-chart-grid {
  stroke: var(--line);
  stroke-width: 0.7;
}
.dash-chart-empty {
  display: grid;
  place-items: center;
  height: 108px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 15px;
}
.dash-lower-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.2fr 1.1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.dash-mini {
  padding: 9px 10px 8px;
  border: 1px solid #fff;
  border-radius: 15px;
  background: var(--dash-glass);
  box-shadow: var(--dash-shadow);
  min-width: 0;
}
.dash-mini > header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  min-height: 18px;
}
.dash-mini > header > .icon {
  width: 18px;
  height: 18px;
  color: #765aff;
}
.dash-mini h3 {
  font-size: 12px;
  font-weight: 740;
  flex: 1;
  line-height: 1.15;
}
.dash-mini > header > a > .icon {
  width: 14px;
  height: 14px;
  color: #953aff;
}
.dash-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.dash-source {
  display: grid;
  gap: 6px;
  min-width: 0;
  background: var(--dash-glass);
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 7px 8px;
}
.dash-source > div {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}
.dash-source .platform-icon {
  width: 23px;
  height: 23px;
}
.dash-source strong {
  font-size: 10px;
}
.dash-source span,
.dash-source small {
  font-size: 10px;
  white-space: nowrap;
}
.source-status {
  width: 27px;
  height: 14px;
  border-radius: 9px;
  background: #d2d9ef;
  display: block;
  flex: none;
  position: relative;
}
.source-status:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}
.source-status.enabled {
  background: #04c8a0;
}
.source-status.enabled:after {
  left: auto;
  right: 2px;
}
.dash-library-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 11px;
}
.dash-library-row > .icon {
  width: 16px;
  height: 16px;
  color: #3973ff;
}
.dash-library-row > span {
  flex: 1;
}
.dash-library-row > strong {
  padding: 0 6px;
  border-radius: 8px;
  background: #eaf0ff;
  color: #1a2059;
}
.dash-usage {
  display: grid;
  gap: 9px;
  padding-top: 5px;
}
.dash-usage-row {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  white-space: nowrap;
}
.dash-usage-row > span {
  width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-usage-row progress {
  flex: 1;
  width: 20%;
  height: 6px;
}
.dash-usage-row small {
  font-size: 10px;
  color: var(--muted);
}
.dash-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dash-quick {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 7px;
  border: 1px solid #fff;
  border-radius: 13px;
  background: var(--dash-glass);
  min-width: 0;
  font-size: 10px;
  line-height: 1.25;
}
.dash-quick .icon {
  width: 27px;
  height: 27px;
  flex: none;
  color: #3b63ff;
}
.dash-quick:nth-child(2) .icon {
  color: #a12bff;
}
.dash-quick:nth-child(3) .icon {
  color: #ff742c;
}
.dash-quick:nth-child(4) .icon {
  color: #00bf68;
}
.dash-recent .dash-section-heading > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.dash-recent .dash-section-heading h2 {
  font-size: 18px;
}
.dash-history-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.dash-history-item {
  display: flex;
  gap: 6px;
  background: var(--dash-glass);
  border: 1px solid #fff;
  border-radius: 13px;
  padding: 8px 9px;
  min-width: 0;
}
.dash-history-item > .metric-symbol {
  width: 28px;
  height: 28px;
}
.dash-history-item > .metric-symbol .icon {
  width: 22px;
  height: 22px;
}
.dash-history-item > div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.dash-history-item strong,
.history-description,
.history-time,
.history-open {
  display: block;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.35;
}
.dash-history-item strong {
  font-weight: 620;
}
.history-description {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-time {
  color: var(--muted);
  font-size: 9px;
}
.dash-history-item .badge {
  font-size: 8px;
  padding: 3px 5px;
  min-height: 0;
}
.history-open {
  color: #9c31ff;
  width: 100%;
  margin-top: 2px;
}
.glass-heart {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  width: 130px;
  clip-path: polygon(
    21% 45%,
    22% 39%,
    25% 34%,
    31% 31%,
    38% 31%,
    43% 34%,
    48% 37%,
    51% 32%,
    54% 26%,
    59% 22%,
    65% 21%,
    71% 23%,
    77% 29%,
    81% 37%,
    82% 44%,
    81% 51%,
    78% 58%,
    73% 65%,
    68% 72%,
    64% 76%,
    61% 77%,
    57% 76%,
    51% 73%,
    44% 70%,
    37% 66%,
    31% 62%,
    26% 56%,
    23% 50%
  );
}
.heart-heading {
  right: -45px;
  top: -17px;
  width: 162px;
  transform: rotate(-17deg);
}
.heart-sidebar {
  right: -64px;
  top: 320px;
  width: 120px;
  transform: rotate(18deg);
}
.heart-footer {
  right: -52px;
  top: -65px;
  width: 125px;
  transform: rotate(-15deg);
}
:root[data-theme="dark"] .dash-platform {
  background: linear-gradient(135deg, #293653, #202944);
}
:root[data-theme="dark"] .dash-metric > div {
  background: #243f4b80;
}
:root[data-theme="dark"] .metric-symbol {
  background: #29436b;
}
:root[data-theme="dark"] .dash-section,
:root[data-theme="dark"] .dash-stat,
:root[data-theme="dark"] .dash-platform,
:root[data-theme="dark"] .dash-chart-panel,
:root[data-theme="dark"] .dash-mini,
:root[data-theme="dark"] .dash-source,
:root[data-theme="dark"] .dash-history-item,
:root[data-theme="dark"] .sidebar {
  border-color: #ffffff20;
}
:root[data-theme="dark"] .positive {
  color: #5be5a2;
}
:root[data-theme="dark"] .dash-library-row > strong {
  background: #313a63;
  color: #e9edff;
}
@media (min-width: 1780px) {
  .content {
    max-width: 1680px;
    margin-inline: auto;
  }
}
@media (max-width: 1250px) {
  :root {
    --rh-sidebar: 222px;
  }
  .sidebar {
    padding: 16px 10px;
  }
  .sidebar .brand {
    font-size: 17px;
    gap: 5px;
  }
  .sidebar .brand img {
    width: 34px;
  }
  .sidebar .brand small {
    font-size: 9px;
  }
  .sidebar nav .nav-link {
    font-size: 11px;
    gap: 10px;
    padding-inline: 9px;
  }
  .topbar {
    gap: 9px;
    padding-right: 16px;
  }
  .top-actions {
    gap: 7px;
  }
  .header-create {
    font-size: 11px;
    padding-inline: 12px !important;
  }
  .content {
    padding-right: 16px;
  }
  .dash-platform {
    padding: 9px;
  }
  .dash-platform h3 {
    font-size: 13px;
  }
  .dash-platform > header {
    gap: 6px;
  }
  .dash-platform > header > .platform-icon {
    width: 27px;
    height: 27px;
  }
  .connection-state {
    font-size: 9px;
    padding: 4px 6px;
    gap: 4px;
  }
  .platform-open .icon {
    width: 13px;
  }
  .dash-platform-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4px;
  }
  .glass-social {
    width: 108px;
    height: 112px;
  }
  .dash-metric .metric-symbol {
    width: 28px;
  }
  .dash-metric > div {
    padding-inline: 6px;
  }
  .dash-metric strong {
    font-size: 14px;
  }
  .dash-metric > div > span {
    font-size: 10px;
  }
  .dash-stat {
    gap: 7px;
    padding-inline: 9px;
  }
  .stat-symbol {
    width: 27px;
  }
  .stat-symbol .icon {
    width: 24px;
    height: 24px;
  }
  .stat-label {
    font-size: 10px;
  }
  .dash-stat strong {
    font-size: 23px;
  }
  .dash-stat small {
    font-size: 10px;
    margin-left: 3px;
  }
  .dash-section-heading h2 {
    font-size: 19px;
  }
  .dash-periods button {
    padding-inline: 11px;
  }
  .dash-mini {
    padding-inline: 7px;
  }
  .dash-source {
    padding: 6px 5px;
  }
  .dash-source-grid {
    gap: 4px;
  }
  .source-status {
    width: 22px;
  }
  .dash-quick {
    padding: 7px 4px;
    gap: 4px;
  }
  .dash-quick .icon {
    width: 21px;
  }
  .dash-usage-row {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .dash-usage-row > span {
    width: 51%;
  }
  .dash-usage-row progress {
    width: 30%;
  }
  .dash-usage-row small {
    margin-inline-start: auto;
  }
  .dash-handwritten {
    font-size: 23px;
    max-width: 170px;
  }
  .dash-history-item {
    padding: 7px 6px;
  }
  .dash-history-item > .metric-symbol {
    width: 23px;
  }
  .dash-history-item > .metric-symbol > .icon {
    width: 20px;
  }
  .sidebar-note {
    font-size: 22px;
    padding-inline: 17px;
  }
  .sidebar-user {
    padding: 9px 6px;
  }
}
@media (max-width: 1050px) {
  :root {
    --rh-sidebar: 205px;
  }
  .sidebar {
    inset-inline: 9px auto;
    width: calc(var(--rh-sidebar) - 16px);
  }
  .topbar {
    padding-left: 9px;
    gap: 8px;
  }
  .content {
    padding-left: 9px;
  }
  .top-actions {
    gap: 7px;
  }
  .theme-pair {
    gap: 0;
    padding: 4px;
  }
  .theme-pair > span {
    width: 25px;
  }
  .lang-button {
    padding-inline: 10px;
    font-size: 11px;
  }
  .header-search {
    padding-inline: 10px;
  }
  .header-search input {
    font-size: 11px;
  }
  .search-submit {
    display: none;
  }
  .dash-title h1 {
    font-size: 32px;
  }
  .dash-title p {
    font-size: 14px;
  }
  .dash-title {
    min-height: 71px;
  }
  .dash-platform-grid {
    gap: 6px;
  }
  .dash-platform > header {
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 3px;
  }
  .connection-state {
    order: 3;
    margin-left: 34px;
    margin-top: -6px;
  }
  .platform-open {
    order: 2;
  }
  .dash-platform-body {
    margin-top: 7px;
  }
  .dash-metric strong {
    font-size: 14px;
  }
  .dash-platform-art p {
    font-size: 10px;
  }
  .dash-comparison strong {
    font-size: 15px;
  }
  .dash-comparison span {
    font-size: 10px;
  }
  .glass-social {
    width: 96px;
    height: 106px;
  }
  .dash-stats {
    gap: 7px;
  }
  .stat-symbol {
    width: 25px;
  }
  .stat-label {
    font-size: 10px;
  }
  .dash-stat strong {
    font-size: 22px;
  }
  .dash-stat small {
    font-size: 10px;
    display: block;
    margin-left: 0;
  }
  .dash-stat {
    min-height: 106px;
  }
  .dash-chart-controls {
    gap: 5px;
  }
  .dash-chart-controls select {
    max-width: 86px;
    font-size: 10px;
  }
  .dash-periods button {
    padding: 6px 9px;
    font-size: 10px;
  }
  .dash-lower-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 6px;
  }
  .dash-mini h3 {
    font-size: 11px;
  }
  .dash-source span,
  .dash-source small {
    font-size: 9px;
  }
  .dash-source > div {
    gap: 3px;
  }
  .dash-source .platform-icon {
    width: 19px;
    height: 19px;
  }
  .source-status {
    width: 20px;
  }
  .dash-quick {
    font-size: 9px;
  }
  .dash-history-list {
    gap: 5px;
  }
  .dash-recent .dash-section-heading p {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  :root {
    --rh-sidebar: 0px;
  }
  .sidebar {
    inset-inline: 0 auto;
    top: 8px;
    bottom: 8px;
    width: 250px;
    max-height: calc(100dvh - 16px);
    height: calc(100dvh - 16px);
    overflow: auto;
  }
  .sidebar nav .nav-link {
    font-size: 13px;
    min-height: 41px;
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .sidebar .brand small {
    font-size: 11px;
  }
  .sidebar .brand img {
    width: 39px;
  }
  .topbar > .row:has(.mobile-toggle) {
    display: flex;
  }
  .workspace {
    margin-inline-start: 0;
  }
  .content {
    padding: 0 12px 20px;
  }
  .topbar {
    padding: 10px 12px;
    height: 65px;
  }
  .header-create {
    font-size: 12px;
  }
  .sidebar-note {
    display: none;
  }
  .dash-handwritten {
    font-size: 25px;
  }
  .dash-title h1 {
    font-size: 33px;
  }
  .dash-title p {
    font-size: 14px;
  }
  .dash-platform > header {
    flex-wrap: nowrap;
  }
  .connection-state {
    order: 0;
    margin: 0 0 0 auto;
  }
  .platform-open {
    order: 0;
  }
  .dash-platform h3 {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .header-search {
    display: none;
  }
  .topbar {
    justify-content: space-between;
  }
  .top-actions {
    gap: 9px;
  }
  .dash-platform-grid,
  .dash-chart-grid {
    grid-template-columns: 1fr;
  }
  .dash-platform {
    padding: 13px;
  }
  .dash-platform h3 {
    font-size: 17px;
  }
  .dash-platform-body {
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
  }
  .dash-metric strong {
    font-size: 17px;
  }
  .dash-metric > div > span {
    font-size: 12px;
  }
  .dash-metric .metric-symbol {
    width: 40px;
  }
  .glass-social {
    width: 148px;
    height: 143px;
  }
  .dash-platform-art p,
  .dash-platform-art .btn {
    font-size: 13px;
  }
  .dash-comparison span {
    font-size: 12px;
  }
  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .dash-stat:last-child {
    grid-column: 1/-1;
  }
  .dash-stat {
    min-height: 95px;
    gap: 12px;
    padding: 10px 14px 35px;
  }
  .dash-stat small {
    display: inline-block;
    margin-left: 8px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-symbol {
    width: 33px;
  }
  .dash-lower-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .dash-mini {
    padding: 12px;
  }
  .dash-mini h3 {
    font-size: 13px;
  }
  .dash-source strong,
  .dash-source span,
  .dash-source small {
    font-size: 10px;
  }
  .dash-quick {
    font-size: 12px;
    min-height: 44px;
  }
  .dash-usage-row,
  .dash-usage-row small {
    font-size: 11px;
  }
  .dash-history-list {
    grid-template-columns: 1fr 1fr;
  }
  .dash-history-item strong,
  .history-description,
  .history-open {
    font-size: 12px;
  }
  .history-time {
    font-size: 11px;
  }
  .dash-history-item .badge {
    font-size: 10px;
  }
  .dash-history-item {
    padding: 12px;
    gap: 8px;
  }
  .dash-history-item > .metric-symbol {
    width: 32px;
  }
  .dash-title {
    min-height: 100px;
  }
  .dash-handwritten {
    display: none;
  }
  .heart-heading {
    width: 150px;
    right: -43px;
    top: -13px;
  }
  .dash-title p {
    font-size: 13px;
    max-width: 270px;
  }
  .dash-chart-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .dash-periods button {
    font-size: 11px;
  }
  .dash-section-heading h2 {
    font-size: 19px;
  }
  .dash-section-heading p {
    font-size: 11px;
  }
  .dash-chart-panel h3 {
    font-size: 13px;
  }
  .dash-chart text {
    font-size: 11px;
  }
  .dash-date,
  .dash-recent .dash-section-heading p {
    display: none;
  }
  .dash-trends .dash-section-heading {
    flex-wrap: wrap;
  }
  .dash-chart-controls {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .dash-periods {
    flex: 1;
    justify-content: space-between;
  }
}
@media (max-width: 400px) {
  .header-create {
    width: 44px;
    padding: 8px !important;
    justify-content: center;
  }
  .header-create > span {
    display: none;
  }
  .lang-button .language-name {
    display: inline;
    max-width: 78px;
  }
  .dash-lower-grid,
  .dash-history-list {
    grid-template-columns: 1fr;
  }
  .dash-mini h3 {
    font-size: 14px;
  }
  .dash-quick {
    font-size: 12px;
  }
  .dash-source span,
  .dash-source small {
    font-size: 11px;
  }
  .dash-usage-row {
    flex-wrap: nowrap;
  }
  .dash-usage-row > span {
    width: 45%;
  }
  .dash-platform-art p {
    font-size: 12px;
  }
  .glass-social {
    width: 130px;
    height: 132px;
  }
  .dash-title h1 {
    font-size: 31px;
  }
  .top-actions {
    gap: 6px;
  }
  .theme-pair > span {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glass-heart {
    animation: none;
  }
}
:root[dir="rtl"] .sidebar-note,
:root[dir="rtl"] .dash-handwritten {
  font-family: inherit;
  font-size: 18px;
  transform: none;
}
:root[dir="rtl"] .heart-heading {
  right: auto;
  left: -45px;
}
:root[dir="rtl"] .heart-sidebar {
  right: auto;
  left: -64px;
}
:root[dir="rtl"] .connection-state {
  margin-inline-start: auto;
}
:root[dir="rtl"] .lang-menu {
  text-align: right;
}
html {
  scrollbar-gutter: stable;
}
body {
  font:
    14px/1.45 Onest,
    system-ui,
    sans-serif;
  background: var(--bg);
}
body:before {
  inset: 0;
  background: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/aurora-rescue.webp)
    right top/cover no-repeat;
  opacity: 0.42;
}
body[data-page]:before {
  background-size: 100% auto;
}
:root[data-theme="dark"] body {
  background: var(--bg);
}
:root[data-theme="dark"] body:before {
  background:
    radial-gradient(ellipse at 85% 10%, #2b256280, transparent 50%),
    radial-gradient(ellipse at 35% 60%, #0d526c55, transparent 65%);
  opacity: 1;
}
h1 {
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
}
h3 {
  font-size: 15px;
}
.card {
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--solid) 80%, var(--line));
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}
.card.tint {
  background: linear-gradient(
    120deg,
    var(--panel),
    color-mix(in srgb, var(--teal-soft) 45%, var(--panel))
  );
}
.card.pink {
  background: linear-gradient(
    120deg,
    var(--panel),
    color-mix(in srgb, var(--pink) 7%, var(--panel))
  );
}
.stack,
.grid {
  gap: 16px;
}
.page-heading {
  margin-bottom: 18px;
  min-height: 74px;
  position: relative;
}
.page-heading p {
  margin-top: 5px;
  font-size: 15px;
  max-width: 900px;
}
.page {
  animation: page-in var(--motion-page) var(--ease) both;
}
.content {
  padding: 6px 20px 28px 16px;
  max-width: none;
}
.small {
  font-size: 13px;
}
.vertical-space {
  height: 14px;
}
.actions {
  margin-top: 16px;
  gap: 10px;
}
.card-header {
  margin-bottom: 12px;
}
.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d7f7ff, #f6e4ff);
  color: #6757d8;
}
.mini-icon > .icon {
  width: 25px;
  height: 25px;
}
.card:nth-child(3n) .mini-icon {
  color: var(--purple);
}
input,
select,
textarea {
  min-height: 44px;
  padding: 10px 13px;
  font-size: 14px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--solid) 76%, transparent);
}
textarea {
  min-height: 92px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 14%, transparent);
}
label {
  font-size: 13px;
  margin-bottom: 7px;
}
.field .help {
  font-size: 12px;
  line-height: 1.5;
}
.btn,
.btn.compact,
.btn.ghost,
.tab,
.lang-button,
.theme-pair,
.search-submit {
  min-height: 44px;
}
.btn {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: var(--radius-control);
  transition:
    transform var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast),
    background-color var(--motion-fast),
    opacity var(--motion-fast);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px #819ada12;
}
.btn.icon-only {
  width: 44px;
  min-width: 44px;
  padding: 10px;
}
.btn.primary {
  background: var(--rh-gradient);
  color: #202155;
  text-shadow: 0 1px 0 #ffffff50;
  border-color: #ffffffa8;
  box-shadow:
    0 4px 14px #b486ea40,
    inset 0 1px 1px #ffffffc0;
  font-weight: 700;
}
.btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px #988bcb30;
}
.btn:not(:disabled):active {
  transform: translateY(0) scale(0.985);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}
.btn.ghost {
  box-shadow: none;
}
.btn .button-arrow {
  margin-inline-start: auto;
}
.check,
.switch {
  min-height: 44px;
  margin: 0;
  align-items: center;
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--purple);
  flex: none;
}
.switch input {
  width: 44px;
  height: 44px;
  min-height: 44px;
}
.switch .track {
  width: 34px;
  height: 20px;
  flex: none;
}
.switch .track:after {
  width: 16px;
  height: 16px;
  top: 2px;
}
.switch input:checked + .track:after {
  transform: translate(14px);
}
.badge {
  font-size: 12px;
  border-radius: 8px;
  padding: 4px 9px;
}
.tabs {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  flex-wrap: nowrap;
  margin-bottom: 16px;
  max-width: 100%;
}
.tab {
  white-space: nowrap;
  flex: none;
  padding: 9px 16px;
  border-radius: 10px;
  transition: background var(--motion-fast);
}
.tab.active {
  background: var(--rh-gradient);
  color: #292153;
  box-shadow: 0 3px 8px #a391d025;
}
.empty {
  min-height: 145px;
  padding: 24px;
  gap: 10px;
}
.empty h3 {
  font-size: 16px;
}
.empty p {
  font-size: 13px;
  max-width: 430px;
  margin-inline: auto;
}
.empty > .icon {
  width: 32px;
  height: 32px;
}
.lang-menu {
  width: 230px;
  max-height: min(520px, 70dvh);
  background: var(--solid);
  padding: 7px;
  animation: popover-in var(--motion-fast) var(--ease);
  box-shadow: 0 14px 40px #35407030;
}
.lang-menu button {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}
.lang-menu button.selected {
  background: var(--muted-panel);
  color: var(--accent);
}
.theme-pair {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-theme="dark"] .mini-icon {
  background: linear-gradient(135deg, #193e59, #373053);
  color: #83dcff;
}
:root[data-theme="dark"] .btn.primary {
  color: #172241;
  text-shadow: none;
}
dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--solid);
  color: var(--text);
  box-shadow: 0 24px 90px #0c164540;
  overflow: auto;
}
dialog[open] {
  animation: popover-in var(--motion-page) var(--ease);
}
dialog::backdrop {
  background: #17244366;
  backdrop-filter: blur(5px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}
.toast {
  animation: popover-in var(--motion-fast) var(--ease);
  max-width: calc(100vw - 24px);
}
#toasts {
  inset-inline: 12px;
  bottom: max(16px, env(safe-area-inset-bottom));
  max-width: 450px;
  margin-inline-start: auto;
  pointer-events: none;
}
.report-value {
  overflow-wrap: anywhere;
}
.table-wrap {
  max-width: 100%;
  overflow: auto;
}
.table-wrap td {
  font-size: 13px;
  padding: 12px;
}
.table-wrap th {
  font-size: 12px;
}
progress {
  margin: 10px 0;
  height: 7px;
}
.history-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px !important;
  margin-top: 6px;
  background: var(--panel);
}
.history-row .date {
  font-size: 12px;
}
.history-card .card-header {
  margin: 0 0 10px;
}
.history-card .history-row .mini-icon {
  width: 36px;
  height: 36px;
}
.sidebar nav .nav-link {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  gap: 14px;
}
.sidebar nav {
  gap: 1px;
}
.sidebar .nav-link.active {
  background: var(--rh-gradient);
  color: #362161;
  text-shadow: none;
}
.sidebar .brand {
  font-size: 19px;
}
.brand-row {
  margin-bottom: 16px;
}
.sidebar-project {
  margin-bottom: 12px;
}
.sidebar-project select {
  min-height: 36px;
}
.sidebar .sidebar-user #logout {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
}
.sidebar-user {
  gap: 8px;
}
.sidebar-username {
  flex: 1;
}
.sidebar-username strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-note {
  padding-top: 9px;
  padding-bottom: 0;
  line-height: 1.1;
}
.nav-footer {
  padding-top: 18px;
  gap: 10px;
}
.topbar {
  padding: 10px 20px 8px 16px;
  gap: 16px;
  height: var(--rh-header);
}
.header-search {
  height: 44px;
  min-width: 0;
}
.header-search input {
  font-size: 13px;
  min-height: 42px;
}
.header-create {
  font-size: 13px;
}
.top-actions {
  gap: 12px;
}
.sidebar {
  overflow: visible;
}
.sidebar nav {
  overflow: visible;
}
.glass-heart {
  display: none;
}
.sidebar-version {
  font-size: 11px;
}
.sidebar-plan {
  min-height: 68px;
}
.sidebar-note {
  font-size: 25px;
}
.topbar .lang-button {
  font-size: 13px;
}
.header-search .search-submit {
  display: block;
}
.sidebar .brand small {
  font-size: 10px;
}
.dash-stat {
  min-height: 99px;
}
.dash-stat strong {
  font-size: 27px;
}
.dash-stat small {
  font-size: 12px;
  margin-inline-start: 9px;
}
.stat-label {
  font-size: 12px;
}
.dash-title {
  min-height: 73px;
}
.dash-title h1 {
  font-size: 36px;
}
.dash-title p {
  font-size: 16px;
}
.dash-platform {
  padding: 10px 11px;
}
.dash-platform > header {
  height: 33px;
}
.dash-platform-body {
  height: 197px;
}
.dash-metric > div {
  padding: 2px 9px;
  min-height: 36px;
}
.dash-metric .metric-symbol {
  height: 36px;
}
.dash-metric strong {
  font-size: 17px;
}
.dash-metric > div > span {
  font-size: 12px;
}
.dash-platform-art {
  gap: 0;
}
.glass-social {
  width: 145px;
  height: 123px;
}
.dash-comparison {
  padding: 7px 10px;
}
.dash-comparison strong {
  font-size: 17px;
}
.dash-comparison span,
.connection-state {
  font-size: 11px;
}
.dash-chart {
  height: 102px;
}
.dash-chart svg {
  height: 102px;
}
.dash-chart text {
  fill: var(--muted);
  font-size: 11px;
  opacity: 1;
}
.dash-chart-panel h3 {
  font-size: 12px;
}
.dash-periods button {
  min-height: 36px;
  font-size: 12px;
}
.dash-chart-controls select {
  min-height: 36px;
}
.dash-mini {
  padding: 10px;
}
.dash-mini h3 {
  font-size: 13px;
}
.dash-usage {
  gap: 10px;
  padding-top: 3px;
}
.dash-usage-row progress {
  margin: 0;
}
.dash-usage-row,
.dash-usage-row small,
.dash-source strong,
.dash-source small,
.dash-source span {
  font-size: 11px;
}
.dash-quick {
  font-size: 12px;
  min-height: 44px;
}
.dash-library-row {
  font-size: 12px;
}
.dash-history-item strong,
.history-description,
.history-open {
  font-size: 11px;
}
.dash-history-item .badge {
  font-size: 9px;
}
.dash-section-heading p,
.dash-date {
  font-size: 12px;
}
body[data-page]:not([data-page="dashboard"]) .sidebar-project > label {
  display: none;
}
.analysis-layout {
  grid-template-columns: minmax(0, 1.85fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: stretch;
}
.analysis-layout > .card {
  padding: 20px;
}
.analysis-form {
  gap: 18px;
  height: 100%;
}
.analysis-form .mini-icon {
  width: 54px;
  height: 54px;
}
.analysis-benefits {
  gap: 9px;
}
.analysis-benefit {
  padding: 12px;
  gap: 10px;
  background: var(--panel);
  border-color: transparent;
  min-height: 74px;
  border-radius: 14px;
}
.analysis-benefit strong {
  font-size: 14px;
}
.analysis-benefit p {
  font-size: 12px;
  line-height: 1.4;
}
.analysis-benefit .mini-icon {
  width: 42px;
  height: 42px;
}
.analysis-page-eyebrow {
  color: var(--pink);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.analysis-page-eyebrow + .page-heading {
  margin-bottom: 18px;
  min-height: 100px;
  align-items: flex-start;
  padding-top: 0;
  max-width: 100%;
}
.analysis-page-eyebrow + .page-heading p {
  font-size: 18px;
  max-width: 770px;
  color: var(--muted);
}
.page-note {
  font:
    29px/1.05 Caveat,
    cursive;
  color: var(--purple);
  transform: rotate(-9deg);
  max-width: 245px;
  align-self: center;
  margin-inline-end: 100px;
}
.analysis-primary {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.analysis-primary .analysis-feature-strip {
  width: 100%;
  margin: 0;
}
.analysis-primary .analysis-form {
  height: auto;
}
.analysis-layout > .card {
  align-self: start;
}
.analysis-feature-strip {
  width: 100%;
  gap: 14px;
  margin-top: 0;
}
.analysis-feature-strip h3 {
  font-size: 16px;
}
.analysis-feature-strip p {
  font-size: 13px;
}
.analysis-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
}
.analysis-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background-image:
    linear-gradient(transparent, var(--panel)),
    url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/aurora-rescue.webp);
  background-size: cover;
}
.analysis-promo h3 {
  font-size: 20px;
}
.analysis-promo p {
  color: var(--muted);
}
.analysis-promo .page-note {
  margin: 16px 0;
  max-width: none;
}
.analysis-method-note {
  font-size: 12px;
}
.analysis-progress-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
}
.analysis-progress-visual {
  min-height: 360px;
  background: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/reference/auth-hero.jpg)
    center top/contain no-repeat;
  justify-content: end;
  padding-top: 210px;
  border-radius: 18px;
}
.analysis-progress-visual .analysis-radar {
  display: none;
}
.progress-stage-list {
  gap: 6px;
}
.progress-stage-list li {
  padding: 10px 12px;
}
.progress-box .vertical-space {
  height: auto;
  min-height: 28px;
}
.analysis-progress-visual h3 {
  font-size: 20px;
}
.feed-filters {
  padding: 8px;
  border-radius: 14px;
  gap: 9px;
}
.feed-grid {
  gap: 20px;
}
.feed-poster {
  border-radius: 16px;
}
.feed-title {
  min-height: 40px;
}
.feed-author {
  margin-bottom: 9px;
}
.feed-metrics {
  font-size: 13px;
}
.feed-side-actions {
  gap: 6px;
}
.source-grid {
  gap: 14px;
}
.source-entry {
  gap: 10px;
}
.source-column .card-header .row {
  flex-wrap: nowrap;
  gap: 8px;
}
.source-column .card-header h2 {
  font-size: 18px;
}
.source-column .count-pill {
  font-size: 11px;
  white-space: nowrap;
}
.source-column .source-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.source-item .actions {
  margin: 4px 0 0;
  gap: 4px;
}
.source-item .btn {
  min-width: 36px;
  min-height: 36px;
  padding: 7px;
}
.source-column .source-title {
  flex-direction: row;
  gap: 8px;
}
.source-column .source-title strong {
  font-size: 14px;
}
.source-add-grid {
  display: grid;
  grid-template-columns: 140px 130px minmax(180px, 1fr) 210px 130px auto;
  gap: 10px;
  align-items: end;
}
.source-add-grid > .field {
  margin: 0;
}
.source-add-grid input,
.source-add-grid select,
.source-add-grid .btn {
  height: 44px;
}
.source-search-panel {
  padding: 16px;
}
body[data-page="notifications"] .notification-settings {
  gap: 24px;
}
body[data-page="notifications"] .notification-settings > section {
  min-width: 0;
}
body[data-page="notifications"] .notification-settings > section + section {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 20px;
}
.notification-settings .stack {
  gap: 8px;
}
#notification-settings > .actions {
  justify-content: flex-end;
}
.notification {
  padding: 13px 12px;
  border-radius: 12px;
  margin-top: 4px;
  background: var(--panel);
}
.notification.unread {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--purple) 7%, var(--panel)),
    var(--panel)
  );
}
.notification .text {
  font-size: 13px;
}
.notification .mini-icon {
  width: 36px;
  height: 36px;
}
.notification-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.notification-toolbar .btn {
  font-size: 12px;
  min-height: 36px;
}
.notification-toolbar .active {
  background: var(--rh-gradient);
}
body[data-page="usage"] .usage-card {
  padding: 14px 18px;
}
.usage-card .used {
  font-size: 23px;
  margin: 4px 0;
}
.usage-card .used small {
  font-size: 13px;
}
.usage-card progress {
  margin: 8px 0 0;
}
.ring-wrap {
  width: 95px;
  height: 95px;
}
.ring-label {
  font-size: 22px;
}
.ring-label small {
  font-size: 11px;
}
.plan-card {
  padding: 20px;
}
.plan-card .plan-list {
  font-size: 13px;
  gap: 7px;
  margin: 12px 0;
}
.plan-price {
  font-size: 30px;
  margin: 8px 0 0;
}
.token-card {
  padding: 14px 18px;
}
.token-number {
  font-size: 19px;
  margin: 5px 0;
}
.token-card .price {
  font-size: 17px;
}
.support-summary .card {
  padding: 17px;
}
.support-summary h2 {
  font-size: 17px;
}
.support-counts {
  margin: 12px 0 0;
  gap: 12px;
}
.support-counts > div {
  padding: 0;
  background: transparent;
}
.support-counts strong {
  font-size: 26px;
}
.support-main .stack {
  gap: 12px;
}
.support-main textarea {
  min-height: 105px;
}
.faq-list {
  gap: 6px;
  margin-top: 12px;
}
.faq-list details {
  padding: 10px 12px;
  border-color: var(--line);
  background: var(--panel);
}
.faq-list summary {
  min-height: 28px;
  font-size: 14px;
}
.faq-list p {
  font-size: 13px;
  line-height: 1.5;
}
.support-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}
.admin-tabs {
  gap: 6px;
  margin-bottom: 16px;
}
.admin-tabs .btn {
  min-height: 38px;
  font-size: 13px;
}
.admin-overview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.admin-overview .stat {
  padding: 16px;
}
.admin-overview .value {
  font-size: 30px;
}
.admin-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 16px;
}
.admin-chart-grid .chart {
  height: 215px;
}
.admin-quick {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.admin-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--panel);
}
.admin-quick .icon {
  color: var(--purple);
}
body[data-page="settings"] .page > .grid {
  max-width: 1300px;
  min-height: 515px;
}
body[data-page="settings"] .page > .grid > .card {
  padding: 26px;
}
body[data-page="settings"] #user-settings {
  gap: 22px;
}
.settings-side {
  background: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/aurora-rescue.webp)
    right bottom/cover no-repeat;
}
@keyframes page-in {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popover-in {
  0% {
    opacity: 0;
    transform: translateY(5px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-height: 980px) and (min-width: 901px) {
  .sidebar nav .nav-link {
    min-height: 38px;
    font-size: 13px;
  }
  .sidebar nav {
    gap: 0;
  }
  .nav-footer {
    padding-top: 12px;
    gap: 8px;
  }
  .brand-row {
    margin-bottom: 14px;
  }
  .sidebar-project {
    margin-bottom: 8px;
  }
  .sidebar-note {
    display: none;
  }
  .sidebar-plan {
    min-height: 62px;
  }
  .sidebar {
    padding-top: 16px;
  }
}
@media (max-height: 820px) and (min-width: 901px) {
  .sidebar {
    overflow: auto;
  }
  .sidebar-version {
    display: none;
  }
  .sidebar nav .nav-link {
    min-height: 36px;
  }
  .nav-footer {
    margin-top: 12px;
  }
}
@media (max-width: 1250px) {
  :root {
    --rh-sidebar: 224px;
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .sidebar nav .nav-link {
    font-size: 12px;
  }
  .content {
    padding-inline: 14px;
  }
  .topbar {
    gap: 10px;
    padding-inline: 14px;
  }
  .top-actions {
    gap: 8px;
  }
  .topbar .language-name {
    max-width: 92px;
  }
  .page-note {
    margin-inline-end: 24px;
  }
  .analysis-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
  }
  .analysis-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-benefit {
    padding: 10px;
    gap: 8px;
  }
  .analysis-benefit p {
    font-size: 11px;
  }
  .analysis-benefit strong {
    font-size: 12px;
  }
  .analysis-feature-strip {
    width: 100%;
  }
  .source-add-grid {
    grid-template-columns: 1fr 1fr 2fr;
  }
  .source-column .card-header .row,
  .source-title {
    flex-wrap: wrap;
  }
  .dash-mini h3 {
    font-size: 12px;
  }
  .dash-source span,
  .dash-source small {
    font-size: 10px;
  }
  .dash-usage-row {
    flex-wrap: wrap;
  }
  .dash-platform-body {
    height: 218px;
  }
  .dash-comparison span {
    font-size: 11px;
  }
  .connection-state {
    font-size: 10px;
  }
  .glass-social {
    width: 114px;
    height: 119px;
  }
}
@media (max-width: 1024px) {
  .header-search {
    display: flex;
  }
  .header-search input {
    width: 80px;
    font-size: 12px;
  }
  .header-search .search-submit,
  .header-create span {
    display: none;
  }
  .header-create {
    min-width: 44px;
    width: 44px;
    padding: 10px;
  }
  .analysis-layout {
    grid-template-columns: 1fr;
  }
  .analysis-feature-strip {
    width: 100%;
  }
  .analysis-history-layout {
    grid-template-columns: 1fr;
  }
  .analysis-promo {
    display: none;
  }
  .analysis-page-eyebrow + .page-heading {
    min-height: 112px;
  }
  .analysis-page-eyebrow + .page-heading p {
    font-size: 16px;
  }
  .analysis-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .analysis-benefit strong {
    font-size: 13px;
  }
  .analysis-progress-layout {
    grid-template-columns: 1fr;
  }
  .analysis-progress-visual {
    display: none;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .source-column .source-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .source-column .card-header .row {
    flex-wrap: nowrap;
  }
  .admin-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-chart-grid > :last-child {
    grid-column: 1/-1;
  }
  .admin-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  :root {
    --rh-sidebar: 0px;
    --rh-header: 64px;
  }
  .sidebar {
    width: 280px;
    max-width: calc(100vw - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 14px;
  }
  .sidebar nav .nav-link {
    min-height: 44px;
    font-size: 14px;
  }
  .sidebar .sidebar-user #logout {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .sidebar-project select {
    min-height: 44px;
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .sidebar nav {
    gap: 2px;
  }
  .sidebar-plan {
    min-height: 64px;
  }
  .sidebar-note,
  .sidebar-version {
    display: block;
  }
  .content {
    padding: 12px 16px 28px;
  }
  .topbar {
    height: 64px;
    padding: 8px 16px;
    gap: 12px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }
  .topbar > .row:has(.mobile-toggle) {
    display: flex;
    flex: none;
  }
  .topbar > .row {
    width: auto;
  }
  .top-actions {
    gap: 8px;
  }
  .page-note {
    font-size: 26px;
  }
  .dash-title {
    min-height: 80px;
  }
  .dash-lower-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-platform-grid {
    grid-template-columns: 1fr;
  }
  .dash-platform-body {
    height: auto;
    min-height: 210px;
    grid-template-columns: 1.5fr 1fr;
  }
  .glass-social {
    width: 145px;
    height: 130px;
  }
  .dash-platform-art {
    max-width: 210px;
  }
  .dash-chart-grid {
    grid-template-columns: 1fr;
  }
  .dash-chart,
  .dash-chart svg {
    height: 150px;
  }
  .dash-history-list {
    grid-template-columns: 1fr 1fr;
  }
  .dash-stat {
    min-height: 98px;
  }
  .dash-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dash-mini h3 {
    font-size: 14px;
  }
  .dash-source span,
  .dash-source small {
    font-size: 11px;
  }
  .dash-history-item strong,
  .history-description,
  .history-open {
    font-size: 12px;
  }
  .dash-periods button,
  .dash-chart-controls select {
    min-height: 44px;
  }
  .dash-section-heading {
    flex-wrap: wrap;
  }
  .dash-chart-controls {
    margin-inline-start: 0;
  }
  .dash-platform-art .btn {
    min-height: 44px;
  }
  .dash-usage-row {
    flex-wrap: nowrap;
  }
  .dash-usage-row > span {
    width: 45%;
  }
}
@media (max-width: 650px) {
  .header-search {
    display: none;
  }
  .topbar {
    justify-content: space-between;
    padding-inline: 12px;
  }
  .topbar > .row {
    flex: 1;
  }
  .topbar .language-name {
    display: inline;
    font-size: 12px;
    max-width: 76px;
  }
  .topbar .lang-button {
    width: auto;
    padding: 8px;
    gap: 5px;
  }
  .theme-pair {
    width: 44px;
    min-width: 44px;
    padding: 7px;
  }
  .theme-pair > span {
    width: 27px;
  }
  .theme-pair > span:nth-child(2) {
    display: none;
  }
  :root[data-theme="dark"] .theme-pair > span:nth-child(1) {
    display: none;
  }
  :root[data-theme="dark"] .theme-pair > span:nth-child(2) {
    display: grid;
  }
  .top-actions {
    gap: 4px;
  }
  .content {
    padding: 10px 12px 30px;
  }
  .page-heading {
    min-height: 74px;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .page-heading > .btn {
    align-self: flex-start;
  }
  .page-note {
    display: none;
  }
  .card {
    padding: 16px;
  }
  .grid.cols2,
  .grid.cols3,
  .grid.cols4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span2 {
    grid-column: auto;
  }
  .stack {
    gap: 14px;
  }
  .btn,
  .btn.compact,
  .btn.ghost,
  .tab {
    min-height: 44px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .table-wrap table {
    min-width: 0;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tr {
    display: grid;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .table-wrap td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 7px;
  }
  .table-wrap td:before {
    content: attr(data-label);
    font-size: 12px;
    color: var(--muted);
  }
  .table-wrap td:only-child {
    display: block;
  }
  .analysis-page-eyebrow + .page-heading {
    min-height: 120px;
  }
  .analysis-page-eyebrow + .page-heading p {
    font-size: 15px;
  }
  .analysis-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analysis-benefit {
    padding: 10px 8px;
  }
  .analysis-benefit p {
    font-size: 12px;
  }
  .analysis-layout > .card {
    padding: 16px;
  }
  .analysis-feature-strip {
    grid-template-columns: 1fr;
  }
  .analysis-form .actions .btn {
    width: 100%;
  }
  .analysis-form .row {
    gap: 10px;
  }
  .analysis-form .mini-icon {
    width: 40px;
    height: 40px;
  }
  .analysis-form h2 {
    font-size: 18px;
  }
  .source-add-grid {
    grid-template-columns: 1fr 1fr;
  }
  .source-add-grid > .field:nth-child(3) {
    grid-column: 1/-1;
  }
  .source-add-grid > .btn {
    grid-column: 1/-1;
  }
  .source-column .source-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .source-item .btn {
    min-width: 44px;
    min-height: 44px;
  }
  .notification-settings {
    grid-template-columns: 1fr !important;
  }
  .notification-settings > section + section {
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    padding-inline-start: 0 !important;
    padding-top: 16px;
  }
  .notification-toolbar .btn {
    min-height: 44px;
  }
  .support-bottom {
    grid-template-columns: 1fr;
  }
  .faq-list summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .admin-chart-grid {
    grid-template-columns: 1fr;
  }
  .admin-chart-grid > :last-child {
    grid-column: auto;
  }
  .admin-overview {
    grid-template-columns: 1fr 1fr;
  }
  .admin-tabs {
    flex-wrap: nowrap;
    overflow: auto;
  }
  .admin-tabs .btn {
    white-space: nowrap;
    min-height: 44px;
  }
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .feed-filters {
    grid-template-columns: 1fr 1fr;
  }
  .feed-platform {
    font-size: 10px;
  }
  .feed-title {
    font-size: 13px;
  }
  .feed-poster {
    border-radius: 13px;
  }
  .feed-side-actions .btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .feed-metrics {
    font-size: 11px;
  }
  .feed-top {
    gap: 4px;
  }
  .feed-actions .btn {
    font-size: 12px;
    padding-inline: 8px;
  }
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dash-stat:last-child {
    grid-column: 1/-1;
  }
  .dash-stat strong {
    font-size: 26px;
  }
  .dash-stat small {
    font-size: 12px;
  }
  .dash-title h1 {
    font-size: 31px;
  }
  .dash-title p {
    font-size: 14px;
  }
  .dash-handwritten {
    display: none;
  }
  .dash-stat .stat-label,
  .dash-section-heading p {
    font-size: 12px;
  }
  .dash-history-list,
  .dash-lower-grid {
    grid-template-columns: 1fr;
  }
  .dash-source strong,
  .dash-source span,
  .dash-source small {
    font-size: 12px;
  }
  .dash-history-item .badge {
    font-size: 11px;
  }
  .dash-periods button {
    font-size: 12px;
    padding-inline: 12px;
  }
  .dash-chart-controls {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .dash-chart-controls select {
    max-width: none;
  }
  .dash-chart-panel h3 {
    font-size: 13px;
  }
  .dash-platform > header {
    height: auto;
  }
  .dash-platform h3 {
    font-size: 17px;
  }
  .connection-state {
    font-size: 10px;
  }
  .dash-platform-art p,
  .dash-usage-row,
  .dash-usage-row small {
    font-size: 12px;
  }
  body[data-page="settings"] .page > .grid {
    min-height: 0;
  }
  body[data-page="settings"] .page > .grid > .card {
    padding: 20px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .auth-form-panel {
    padding-top: 88px;
  }
  .auth-form {
    width: 100%;
    padding: 22px 18px;
  }
  .auth-layout .stack {
    gap: 15px;
  }
  .studio-frame {
    min-height: 740px;
  }
  .sidebar {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 359px) {
  .topbar {
    padding-inline: 8px;
  }
  .topbar .lang-button {
    gap: 4px;
    max-width: 98px;
  }
  .top-actions {
    gap: 2px;
  }
  .topbar .language-name {
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .feed-poster {
    max-height: 480px;
  }
  .analysis-benefits {
    grid-template-columns: 1fr;
  }
  .dash-platform-body {
    grid-template-columns: 1.3fr 1fr;
    gap: 7px;
  }
  .dash-metric > .metric-symbol {
    width: 28px;
  }
  .dash-metric > div {
    padding-inline: 7px;
  }
  .dash-metric > div > span {
    font-size: 11px;
  }
  .glass-social {
    width: 105px;
    height: 118px;
  }
  .dash-periods button {
    padding-inline: 10px;
  }
  .source-add-grid {
    grid-template-columns: 1fr;
  }
  .source-add-grid > .field:nth-child(3) {
    grid-column: auto;
  }
}
:root[dir="rtl"] .page-note,
:root[dir="rtl"] .sidebar-note {
  font-family: inherit;
  font-size: 18px;
  transform: none;
}
:root[dir="rtl"] .icon.button-arrow {
  transform: scaleX(-1);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.profile-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 16px;
}
.report-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 1fr;
  gap: 20px;
  align-items: center;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.profile-identity > div {
  min-width: 0;
}
.profile-identity h2 {
  font-size: 20px;
}
.profile-identity .profile-avatar {
  width: 90px;
  height: 90px;
  min-width: 90px;
  object-fit: cover;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid var(--rh-fuchsia);
}
.profile-identity p {
  font-size: 13px;
  margin-top: 4px;
}
.report-platform {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}
.report-platform img {
  width: 24px;
  height: 24px;
}
.report-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.report-metrics > div {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 12px;
}
.report-metrics small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.report-metrics strong {
  font-size: 23px;
  display: block;
}
.profile-verdict {
  padding: 16px;
}
.report-score {
  display: flex;
  gap: 12px;
  align-items: center;
}
.report-score strong {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.report-score strong small {
  font-size: 18px;
  color: var(--muted);
}
.profile-verdict .report-value,
.profile-verdict .report-object {
  font-size: 13px;
}
.profile-verdict .actions {
  gap: 6px;
}
.profile-verdict .btn {
  font-size: 12px;
  flex: 1;
  padding-inline: 10px;
}
.profile-cohort {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 18px;
}
.profile-cohort > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.profile-cohort > header h2 {
  font-size: 18px;
}
.profile-cohort > header .mini-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.profile-cohort > header .icon {
  width: 20px;
  height: 20px;
}
.profile-cohort.strong {
  --cohort-color: var(--teal);
}
.profile-cohort.average {
  --cohort-color: var(--purple);
}
.profile-cohort.weak {
  --cohort-color: var(--danger);
}
.profile-cohort > header .mini-icon,
.profile-cohort > header .badge {
  color: var(--cohort-color);
}
.cohort-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 16px;
}
.cohort-media {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 12px;
}
.report-video {
  min-width: 0;
  padding: 7px;
  border-radius: 12px;
  background: var(--panel);
}
.report-video-poster {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--muted-panel);
}
.report-video-poster video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.report-video-score {
  position: absolute;
  inset: 6px 6px auto auto;
  pointer-events: none;
  border: 1px solid #fffb;
  background: #10182cbd;
  color: #fff;
  font-size: 18px;
  padding: 3px 8px;
  border-radius: 99px;
}
.report-video h3 {
  font-size: 13px;
  margin: 7px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.report-video-metrics {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.report-video-metrics .icon {
  width: 13px;
  height: 13px;
  margin-inline-end: 3px;
}
.report-video .btn {
  width: 100%;
  font-size: 12px;
}
.cohort-insights {
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cohort-color) 5%, var(--panel));
}
.cohort-insights h3 {
  margin-bottom: 12px;
}
.cohort-reason {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.cohort-reason .status-dot {
  background: var(--cohort-color);
  flex: none;
}
.report-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.report-section .card-header {
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}
.report-section .card-header h2 {
  font-size: 17px;
}
.report-section .mini-icon {
  width: 28px;
  height: 28px;
}
.report-section .mini-icon .icon {
  width: 19px;
  height: 19px;
}
.report-section .report-value,
.report-section .report-beat {
  font-size: 13px;
}
.report-section .report-beat {
  padding: 10px;
}
.report-section .report-object {
  font-size: 13px;
}
.report-section .report-label {
  font-size: 12px;
}
.report-warnings {
  font-size: 13px;
}
.video-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.9fr);
  gap: 16px;
}
.video-layout > .stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.video-layout > .stack > .card {
  min-width: 0;
}
.video-layout .video-preview {
  aspect-ratio: 9/16;
  height: auto;
  width: min(100%, 320px);
  max-height: 540px;
  display: block;
  margin-inline: auto;
  border-radius: 14px;
}
.video-layout .report-value,
.video-layout .report-beat {
  font-size: 14px;
}
.video-layout .actions {
  gap: 8px;
}
.video-layout .actions select {
  flex: 1;
  min-width: 100px;
}
.video-layout h2 {
  font-size: 18px;
}
@media (max-width: 1250px) {
  .report-profile {
    grid-template-columns: 1fr;
  }
  .profile-summary-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .report-block-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cohort-layout {
    grid-template-columns: 1fr;
  }
  .cohort-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .cohort-insights h3 {
    grid-column: 1/-1;
    margin: 0;
  }
  .video-layout > .stack {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .profile-summary-grid {
    grid-template-columns: 1fr;
  }
  .profile-identity {
    gap: 12px;
  }
  .profile-identity .profile-avatar {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
  .profile-identity h2 {
    font-size: 18px;
  }
  .report-metrics {
    gap: 12px;
  }
  .report-block-grid {
    grid-template-columns: 1fr;
  }
  .cohort-media {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
  .report-video-poster {
    aspect-ratio: 16/10;
  }
  .cohort-insights {
    grid-template-columns: 1fr;
  }
  .cohort-insights h3 {
    grid-column: auto;
  }
  .report-video-metrics {
    font-size: 13px;
  }
  .report-video h3 {
    font-size: 15px;
  }
  .report-video-metrics .icon {
    width: 16px;
    height: 16px;
  }
  .video-layout {
    grid-template-columns: 1fr;
  }
  .video-layout > .stack {
    grid-template-columns: 1fr;
  }
  .video-layout .video-preview {
    max-height: 480px;
  }
  .report-section .report-value {
    font-size: 14px;
  }
}
.script-compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}
.script-compose-layout > .card {
  padding: 20px;
}
.script-compose-form .form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.script-compose-form .form-grid > .field {
  grid-column: span 4;
}
.script-compose-form .form-grid > .span2 {
  grid-column: 1/-1;
}
.script-compose-form .form-grid > .field:has(#duration),
.script-compose-form .form-grid > .field:has(#language),
.script-compose-form .form-grid > .field:has(#niche),
.script-compose-form .form-grid > .span2:has(#audience) {
  grid-column: span 3;
}
.script-compose-form .form-grid > .span2:has(#use_dna),
.script-compose-form .form-grid > .span2:has(.script-library-picker) {
  grid-column: span 6;
}
.script-compose-form #topic {
  min-height: 88px;
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: start;
}
.choice-group > button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 10px;
  font-size: 12px;
  background: var(--panel);
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  transition:
    background var(--motion-fast),
    transform var(--motion-fast);
}
.choice-group > button[aria-checked="true"] {
  background: var(--rh-gradient);
  border-color: #fff8;
  color: #252356;
  box-shadow: 0 3px 9px #9486db28;
}
.script-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.script-reference > .actions {
  margin: 0;
}
.script-reference .field .help {
  font-size: 12px;
}
.script-reference input {
  font-size: 14px;
}
.script-reference .btn {
  background: var(--rh-gradient);
  color: #252356;
}
.script-inspiration {
  border: 1px solid #ffffffb8;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--panel), #dedaff60);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}
.script-inspiration > img {
  width: calc(100% + 40px);
  max-width: none;
  margin: -20px -20px 0;
  mix-blend-mode: multiply;
  object-fit: contain;
}
.script-inspiration .page-note {
  display: block;
  margin: 0;
  max-width: none;
  font-size: 29px;
  text-align: center;
}
.script-inspiration p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.script-inspiration p > .icon {
  color: var(--purple);
  width: 20px;
  height: 20px;
}
.script-library-picker {
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.script-library-picker summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  list-style: none;
}
.script-library-picker .select-list {
  max-height: 220px;
}
.script-library-picker .library-select {
  padding: 9px;
  font-size: 12px;
  gap: 8px;
  min-height: 44px;
}
.script-compose-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.script-compose-actions > button:first-child {
  margin-inline-end: auto;
}
.script-compose-form .notice {
  margin-top: 14px;
}
.script-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
}
.script-meta-grid > .card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
}
.script-meta-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.script-meta-grid strong {
  display: block;
  font-size: 14px;
}
.script-meta-grid .mini-icon {
  width: 32px;
  height: 32px;
}
.script-meta-grid .icon {
  width: 22px;
  height: 22px;
}
.script-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(230px, 0.65fr);
  gap: 16px;
  align-items: start;
}
.script-paper {
  padding: 14px;
}
.script-part {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  margin-bottom: 9px;
}
.script-part p {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}
.script-part .role {
  font-size: 14px;
  font-weight: 700;
}
.script-part .row {
  gap: 8px;
  margin-bottom: 4px;
}
.script-part .btn {
  min-height: 36px;
  width: 36px;
  min-width: 36px;
  padding: 6px;
}
.script-aside .card {
  padding: 16px;
}
.script-aside h2 {
  font-size: 18px;
}
.script-alternative {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.variant-apply {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: start;
  font-size: 13px;
  line-height: 1.5;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 0;
  flex: 1;
}
.variant-apply > .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  color: var(--purple);
}
.variant-apply:hover {
  color: var(--accent);
}
.script-result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  position: sticky;
  top: 84px;
}
.script-result-actions h2 {
  font-size: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.script-result-actions .btn {
  width: 100%;
  justify-content: flex-start;
  font-size: 13px;
}
.script-top h2 {
  font-size: 25px;
}
.script-top > select {
  min-height: 44px;
}
.library-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.library-stat {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}
.library-stat strong {
  font-size: 29px;
  display: block;
}
.library-stat small {
  font-size: 12px;
  color: var(--muted);
}
.library-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
}
.library-main .library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.library-tile {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.library-tile .tile-heading {
  margin: 0;
}
.library-tile .tile-heading .btn {
  min-height: 36px;
  width: 36px;
  min-width: 36px;
  padding: 7px;
}
.library-tile h3 {
  font-size: 16px;
  line-height: 1.4;
}
.library-tile .snippet {
  font-size: 13px;
  color: var(--muted);
  max-height: 104px;
  overflow: hidden;
  margin: 0;
  flex: 1;
}
.library-tile .snippet .report-value {
  font-size: 13px;
}
.library-tile .actions {
  margin-top: 10px;
  gap: 8px;
  justify-content: space-between;
}
.library-tile .actions .btn {
  background: var(--rh-gradient);
  color: #252356;
  font-size: 12px;
}
.library-tile .actions .small {
  font-size: 11px;
}
.library-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.library-aside .card {
  padding: 16px;
}
.library-aside h3 {
  margin-bottom: 14px;
  font-size: 15px;
}
.library-folder-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  min-height: 36px;
  font-size: 13px;
}
.library-folder-link > .icon {
  color: var(--purple);
  width: 18px;
  height: 18px;
}
.library-folder-link > small {
  margin-inline-start: auto;
}
.library-recent-link {
  display: block;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.library-recent-link small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.library-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.library-quick-grid .btn {
  font-size: 11px;
  white-space: normal;
  padding: 9px;
  justify-content: start;
}
.library-main #library-search {
  flex-wrap: nowrap;
  margin-bottom: 14px;
}
.library-main .tabs {
  gap: 3px;
}
.library-main .tab {
  font-size: 12px;
  padding-inline: 12px;
}
.library-view-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.library-view-heading > .mini-icon {
  width: 42px;
  height: 42px;
}
@media (max-width: 1250px) {
  .script-compose-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .script-inspiration {
    padding: 16px;
  }
  .script-compose-form .form-grid {
    gap: 12px;
  }
  .choice-group > button {
    padding-inline: 8px;
    font-size: 11px;
  }
  .script-compose-form .form-grid > .field:has(#duration),
  .script-compose-form .form-grid > .field:has(#language),
  .script-compose-form .form-grid > .field:has(#niche),
  .script-compose-form .form-grid > .span2:has(#audience) {
    grid-column: span 6;
  }
  .script-layout {
    grid-template-columns: 1.1fr 1fr;
  }
  .script-result-actions {
    position: static;
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .script-result-actions h2 {
    grid-column: 1/-1;
  }
  .library-main {
    grid-template-columns: 1fr;
  }
  .library-aside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .library-main .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .script-compose-layout {
    grid-template-columns: 1fr;
  }
  .script-inspiration {
    display: none;
  }
  .script-layout {
    grid-template-columns: 1fr 1fr;
  }
  .script-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .library-stat-grid,
  .library-main .library-grid,
  .library-aside {
    grid-template-columns: 1fr 1fr;
  }
  .library-aside .card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .script-compose-layout > .card {
    padding: 16px;
  }
  .script-compose-form .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .script-compose-form .form-grid > .field,
  .script-compose-form .form-grid > .span2,
  .script-compose-form .form-grid > .field:has(#duration),
  .script-compose-form .form-grid > .field:has(#language),
  .script-compose-form .form-grid > .field:has(#niche),
  .script-compose-form .form-grid > .span2:has(#audience),
  .script-compose-form .form-grid > .span2:has(#use_dna),
  .script-compose-form .form-grid > .span2:has(.script-library-picker) {
    grid-column: 1/-1;
  }
  .choice-group > button {
    min-height: 44px;
    font-size: 13px;
  }
  .script-reference {
    grid-template-columns: 1fr;
  }
  .script-reference .btn,
  .script-compose-actions .btn {
    width: 100%;
  }
  .script-compose-actions > button:first-child {
    margin: 0;
  }
  .script-layout {
    grid-template-columns: 1fr;
  }
  .script-result-actions {
    grid-template-columns: 1fr;
    grid-column: auto;
    grid-row: 1;
  }
  .script-result-actions h2 {
    grid-column: auto;
  }
  .script-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .script-meta-grid > .card {
    padding: 10px;
    gap: 7px;
  }
  .script-meta-grid strong {
    font-size: 13px;
  }
  .script-meta-grid .mini-icon {
    width: 27px;
    height: 27px;
    flex: none;
  }
  .script-part .btn {
    min-width: 44px;
    min-height: 44px;
  }
  .script-top {
    display: block;
  }
  .script-top > select {
    margin-top: 12px;
    max-width: 100%;
  }
  .library-main .library-grid,
  .library-aside {
    grid-template-columns: 1fr;
  }
  .library-aside .card:last-child {
    grid-column: auto;
  }
  .library-stat {
    padding: 13px;
    gap: 9px;
  }
  .library-stat strong {
    font-size: 25px;
  }
  .library-stat .mini-icon {
    width: 30px;
    height: 30px;
    flex: none;
  }
  .library-tile .tile-heading .btn {
    min-height: 44px;
    width: 44px;
    min-width: 44px;
  }
  .library-tile .snippet {
    max-height: 160px;
  }
  .library-quick-grid .btn {
    font-size: 13px;
  }
  .library-stat-grid {
    gap: 10px;
  }
  .script-library-picker summary {
    min-height: 44px;
  }
}
.library-search-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr 44px;
  gap: 8px;
  margin-bottom: 18px;
}
.library-search-filters input,
.library-search-filters select {
  font-size: 12px;
  padding-inline: 10px;
}
.library-folder-link,
.library-recent-link {
  border: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
  text-align: start;
  cursor: pointer;
}
.library-folder-link:hover,
.library-recent-link:hover {
  color: var(--accent);
}
.library-tile-footer {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: -2px;
}
.library-tile-footer .btn {
  background: transparent;
  box-shadow: none;
}
.library-main .notice {
  margin-bottom: 16px;
}
.library-main .notice .btn {
  margin-inline-start: auto;
}
.library-main .tabs small {
  background: var(--panel);
  border-radius: 8px;
  font-size: 10px;
  padding: 2px 5px;
}
@media (max-width: 1250px) {
  .library-search-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .library-search-filters input {
    grid-column: span 2;
  }
  .library-search-filters > .btn {
    grid-column: auto;
  }
  .library-search-filters > select:last-of-type {
    grid-column: auto;
  }
}
@media (max-width: 650px) {
  .library-search-filters {
    grid-template-columns: 1fr 1fr;
  }
  .library-search-filters input {
    grid-column: 1/-1;
  }
  .library-search-filters input,
  .library-search-filters select {
    font-size: 16px;
  }
  .library-search-filters > .btn {
    grid-column: 1/-1;
    width: 100%;
  }
  .library-search-filters > select:last-of-type {
    grid-column: auto;
  }
  .library-main .tab {
    font-size: 13px;
  }
  .library-recent-link,
  .library-folder-link {
    min-height: 44px;
  }
  .library-tile-footer .btn {
    min-width: 44px;
    min-height: 44px;
  }
}
.video-entry {
  display: grid;
  gap: 18px;
}
.video-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 260px;
  gap: 10px;
  align-items: end;
}
.video-input-row .field {
  margin: 0;
}
.video-entry .analysis-form {
  gap: 16px;
}
.video-entry .analysis-method-note {
  font-size: 12px;
  margin: 0;
}
.video-benefit-strip .card {
  padding: 16px 20px;
}
.video-benefit-strip h2,
.video-benefit-strip .vertical-space {
  display: none;
}
.video-benefit-strip .analysis-benefits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.video-benefit-strip .analysis-benefit {
  display: block;
  border: 0;
  padding: 0;
}
.video-benefit-strip .mini-icon {
  margin-bottom: 7px;
}
.video-benefit-strip .analysis-benefit strong {
  font-size: 14px;
}
.video-benefit-strip .analysis-benefit p {
  font-size: 12px;
}
.video-latest {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 18px;
}
.video-latest-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}
.video-latest-body video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 14px;
  background: #182441;
}
.video-latest-body h2 {
  font-size: 21px;
}
.video-latest-body p {
  font-size: 13px;
  margin: 10px 0;
}
.video-latest-body .report-metrics {
  margin: 16px 0;
}
.video-latest-body .report-metrics strong {
  font-size: 22px;
}
.video-latest-summary .report-value,
.video-latest-summary .report-object {
  font-size: 12px;
}
.video-latest-summary {
  max-height: 350px;
  overflow: auto;
}
.video-entry .analysis-history-layout {
  margin-top: 0;
}
.video-layout > article:first-child {
  align-self: start;
}
.video-layout .video-preview {
  height: 330px;
  aspect-ratio: 9/16;
  object-fit: contain;
}
.settings-layout > .card {
  min-height: 540px;
  padding: 30px;
}
.settings-layout #user-settings {
  gap: 24px;
}
.settings-layout .field {
  gap: 10px;
}
.settings-layout input,
.settings-layout select,
.settings-layout .btn {
  min-height: 52px;
}
.settings-layout h2 {
  font-size: 25px;
}
.settings-layout hr {
  margin-block: 32px;
}
.settings-layout .settings-project h3 {
  font-size: 22px;
}
.support-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.support-bottom > .stack {
  gap: 14px;
}
.support-bottom > .stack .card {
  padding: 18px 22px;
}
.support-bottom p {
  font-size: 13px;
}
.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
  margin: 22px 0;
}
.auth-feature-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 12px;
  display: grid;
  gap: 8px;
}
.auth-feature-grid strong {
  font-size: 13px;
}
.auth-art .actions {
  position: relative;
  z-index: 1;
}
@media (min-width: 1100px) {
  .dash-trends .dash-section-heading {
    height: 40px;
    min-height: 40px;
    padding-bottom: 5px;
  }
  .dash-trends .dash-chart-panel {
    height: 140px;
  }
  .dash-trends .dash-chart {
    height: 97px;
  }
  .dash-lower-grid .card {
    padding: 9px;
  }
  .dash-recent .dash-section-heading {
    min-height: 34px;
    height: 34px;
    padding-bottom: 3px;
  }
  .dash-history-card {
    padding: 6px;
  }
  .dash-history-card .date {
    font-size: 10px;
  }
  .dash-history-card .badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  .dashboard-ref .dash-history-list {
    gap: 8px;
  }
  .dashboard-ref .dash-recent {
    padding-bottom: 8px;
  }
  .dashboard-ref {
    padding-bottom: 0;
  }
}
@media (max-width: 1050px) {
  .video-input-row {
    grid-template-columns: 1fr auto;
  }
  .video-input-row > .btn:last-child {
    grid-column: 1/-1;
  }
  .video-benefit-strip .analysis-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .video-latest {
    grid-template-columns: 1fr;
  }
  .settings-layout > .card {
    padding: 22px;
    min-height: 0;
  }
  .support-bottom {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .video-input-row {
    grid-template-columns: 1fr;
  }
  .video-input-row .btn {
    width: 100%;
  }
  .video-benefit-strip .analysis-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .video-latest-body {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
  }
  .video-latest-body h2 {
    font-size: 16px;
  }
  .video-latest-body .report-metrics {
    gap: 8px;
  }
  .video-latest-body .report-metrics strong {
    font-size: 18px;
  }
  .video-latest-body .actions .btn {
    width: 100%;
  }
  .video-latest-body .actions {
    grid-column: 1/-1;
  }
  .settings-layout,
  .support-bottom,
  .auth-feature-grid {
    grid-template-columns: 1fr;
  }
  .auth-feature-grid > div {
    display: flex;
    align-items: center;
  }
}
.notification-tabs {
  display: flex;
  gap: 7px;
  margin-inline-start: auto;
  flex-wrap: wrap;
}
.notification-tabs .tab {
  font-size: 13px;
}
.notification-settings {
  gap: 24px;
}
.notification-settings > section:not(:last-child) {
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 20px;
}
.notification-settings .toggle {
  min-height: 54px;
}
.notification-settings .check {
  min-height: 37px;
}
.notification {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 8px;
  background: var(--panel);
  padding: 10px 16px;
  min-height: 62px;
}
.notification.unread {
  background: color-mix(in srgb, var(--teal-soft) 45%, var(--panel));
}
.notification h3 {
  font-size: 14px;
}
.notification .text {
  font-size: 12px;
}
.notification .muted {
  font-size: 11px;
}
@media (max-width: 650px) {
  .notification-settings > section:not(:last-child) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }
  .notification-tabs {
    margin: 0;
    width: 100%;
  }
  .notification-settings .check {
    min-height: 44px;
  }
}
.marketing {
  max-width: 1440px;
  margin: auto;
  padding-inline: 32px;
}
.marketing-nav {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  margin: 12px 0 20px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.marketing-nav .brand {
  font-size: 20px;
}
.marketing-nav .brand img {
  width: 32px;
  height: 32px;
}
.marketing-nav nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 12px;
}
.marketing-nav .btn {
  font-size: 12px;
  padding-inline: 15px;
}
.marketing-nav .row {
  gap: 8px;
}
.marketing-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
  min-height: 440px;
  align-items: center;
  margin: 20px 0;
}
.marketing-pitch h1 {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.2px;
  margin: 22px 0 16px;
  max-width: 650px;
}
.marketing-pitch > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}
.marketing-pitch .pill {
  font-size: 12px;
}
.marketing-pitch .pill > .icon {
  width: 18px;
}
.marketing-pitch .actions {
  margin-top: 22px;
}
.marketing-platforms {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}
.marketing-platforms img {
  width: 27px;
  height: 27px;
}
.marketing-platforms span {
  font-size: 12px;
  color: var(--muted);
  margin-inline-start: 6px;
}
.marketing-product-art {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
}
.marketing-glass-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.marketing-float {
  position: absolute;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.marketing-float p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.marketing-float h3 {
  font-size: 17px;
}
.float-score {
  top: 18px;
  inset-inline-start: 12px;
  width: 46%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.float-score svg:not(.icon) {
  width: 100%;
  color: var(--teal);
  height: 65px;
}
.float-score .mini-icon {
  width: 33px;
  height: 33px;
}
.float-dna {
  bottom: 40px;
  inset-inline-start: 16px;
  display: flex;
  gap: 14px;
}
.float-script {
  top: 38px;
  inset-inline-end: 8px;
  width: 41%;
  display: grid;
  gap: 12px;
}
.marketing-sample {
  position: absolute;
  bottom: 10px;
  inset-inline: 15px;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.marketing-panel {
  background: var(--panel);
  border: 1px solid #fff9;
  border-radius: 24px;
  padding: 18px;
  margin: 14px 0;
}
.marketing-panel > h2 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 24px;
}
.marketing-panel .card-header h2 {
  font-size: 24px;
}
.marketing-panel .card-header a {
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.marketing-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.marketing-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.marketing-five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.marketing-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.marketing-feature {
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marketing-feature .mini-icon {
  width: 40px;
  height: 40px;
  flex: none;
}
.marketing-feature h3 {
  font-size: 15px;
  line-height: 1.3;
}
.marketing-feature p {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
}
.marketing-reels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.marketing-reel {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0 0 12px;
}
.marketing-reel > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.marketing-reel > .badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: var(--panel);
  font-size: 10px;
  backdrop-filter: blur(8px);
}
.marketing-reel h3 {
  font-size: 14px;
  margin: 10px 12px;
}
.marketing-reel > span:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px;
  font-size: 12px;
}
.marketing-reel > .icon {
  width: 15px;
}
.workflow-card {
  position: relative;
  padding-top: 30px;
  margin-top: 8px;
}
.marketing-step {
  position: absolute;
  top: -13px;
  left: calc(50% - 15px);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--purple);
  border: 1px solid var(--line);
  background: var(--solid);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.marketing-tool {
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.marketing-tool .mini-icon {
  width: 32px;
  height: 32px;
  flex: none;
}
.marketing-tool strong {
  font-size: 12px;
}
.marketing .plan-card {
  padding: 20px;
}
.marketing .plan-price {
  font-size: 29px;
}
.marketing .plan-list {
  font-size: 13px;
  line-height: 1.6;
  margin-block: 12px;
}
.marketing .plan-list li {
  margin: 5px 0;
}
.marketing-faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
.marketing-faq summary {
  min-height: 30px;
  cursor: pointer;
}
.marketing-faq p {
  color: var(--muted);
  margin-block: 10px;
}
.marketing-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px;
}
.marketing-final h2 {
  font-size: 27px;
  max-width: 450px;
}
.marketing-final p {
  font-size: 13px;
  max-width: 540px;
  color: var(--muted);
}
.marketing-final > .btn {
  min-width: 260px;
}
.marketing-footer {
  font-size: 11px;
  padding: 22px 0;
  gap: 20px;
}
.marketing-footer .brand {
  font-size: 16px;
}
.marketing-footer .brand img {
  width: 30px;
  height: 30px;
}
@media (max-width: 1100px) {
  .marketing {
    padding-inline: 24px;
  }
  .marketing-nav nav {
    gap: 12px;
  }
  .marketing-nav .btn {
    font-size: 11px;
    padding-inline: 9px;
  }
  .marketing-nav {
    gap: 10px;
    padding: 10px;
  }
  .marketing-nav .brand {
    font-size: 17px;
  }
  .marketing-hero {
    gap: 16px;
    min-height: 390px;
  }
  .marketing-pitch h1 {
    font-size: 47px;
  }
  .marketing-pitch > p {
    font-size: 14px;
  }
  .marketing-product-art {
    min-height: 380px;
  }
  .marketing-feature {
    display: block;
    padding: 14px;
  }
  .marketing-feature .mini-icon {
    margin-bottom: 8px;
  }
  .marketing-feature h3 {
    font-size: 13px;
  }
  .marketing-panel > h2,
  .marketing-panel .card-header h2 {
    font-size: 21px;
  }
  .marketing-reel > img {
    height: 125px;
  }
  .marketing-tool {
    display: block;
  }
  .marketing-tool .mini-icon {
    margin-bottom: 7px;
  }
  .marketing-nav .language-trigger {
    min-width: 62px;
  }
  .marketing-nav .language-trigger > span {
    display: none;
  }
}
@media (max-width: 800px) {
  .marketing-nav nav {
    display: none;
  }
  .marketing-hero {
    grid-template-columns: 1fr 1fr;
  }
  .marketing-pitch h1 {
    font-size: 38px;
  }
  .marketing-pitch .actions {
    flex-wrap: wrap;
  }
  .marketing-pitch .btn {
    font-size: 12px;
  }
  .marketing-product-art {
    min-height: 350px;
  }
  .marketing-float {
    padding: 12px;
  }
  .marketing-float h3 {
    font-size: 14px;
  }
  .float-script {
    top: 30px;
    inset-inline-end: 0;
    width: 43%;
  }
  .float-dna {
    bottom: 45px;
    left: 0;
  }
  .marketing-three .card {
    padding: 14px;
  }
  .marketing-five {
    grid-template-columns: repeat(3, 1fr);
  }
  .marketing-final > .btn {
    min-width: 210px;
  }
  .marketing-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 590px) {
  .marketing {
    padding-inline: 12px;
  }
  .marketing-nav .brand {
    font-size: 14px;
  }
  .marketing-nav .row > .btn.primary {
    display: none;
  }
  .marketing-nav .row > .btn {
    padding: 6px;
    font-size: 12px;
  }
  .marketing-nav .theme-btn {
    display: none;
  }
  .marketing-hero {
    grid-template-columns: 1fr;
  }
  .marketing-pitch h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  .marketing-product-art {
    min-height: 340px;
  }
  .marketing-four {
    grid-template-columns: 1fr 1fr;
  }
  .marketing-three {
    grid-template-columns: 1fr;
  }
  .marketing-reels,
  .marketing-five {
    grid-template-columns: 1fr 1fr;
  }
  .marketing-panel {
    padding: 14px;
  }
  .marketing-two {
    grid-template-columns: 1fr;
  }
  .marketing-final {
    display: block;
    padding: 20px 4px;
  }
  .marketing-final .btn {
    margin-top: 18px;
    width: 100%;
  }
  .marketing-footer .row {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .marketing-footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .marketing-nav .language-trigger {
    min-width: 44px;
  }
  .marketing .marketing-nav {
    min-height: 64px;
    flex-wrap: wrap;
  }
  .marketing-faq summary {
    min-height: 44px;
  }
  .marketing-panel .card-header {
    gap: 12px;
  }
  .marketing-panel .card-header h2 {
    font-size: 18px;
  }
  .marketing-product-art .marketing-float {
    background: color-mix(in srgb, var(--solid) 85%, transparent);
  }
}
.script-text-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.script-text-options.hidden {
  display: none;
}
.analysis-history-layout .history-row {
  min-height: 55px;
  padding: 9px 12px;
}
.analysis-history-layout .history-row .title {
  font-size: 13px;
}
.analysis-history-layout .history-row .date {
  font-size: 11px;
}
.analysis-history-layout .history-card .card-header {
  margin-bottom: 12px;
}
.analysis-promo {
  gap: 14px;
  justify-content: flex-start;
}
.analysis-promo .page-note {
  margin-top: auto;
}
.analysis-promo p {
  font-size: 13px;
}
.report-field {
  margin-top: 12px;
  min-width: 0;
}
.report-field > h4 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 4px;
}
.report-field .report-field {
  margin-top: 8px;
}
.report-value {
  font-size: 14px;
  line-height: 1.6;
}
.report-list {
  gap: 8px;
}
.report-beat {
  padding: 9px 12px;
  border-inline-start-width: 2px;
}
.report-timeline .badge {
  margin-bottom: 6px;
}
.report-timeline p {
  margin: 0;
}
.report-block-grid > .report-section {
  margin-top: 0;
}
.report-block-grid > .report-section .card-header {
  margin-bottom: 10px;
}
.dna-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.dna-summary-grid .card {
  padding: 16px;
}
.dna-summary-grid h3 {
  margin-bottom: 12px;
  font-size: 16px;
}
.dna-summary-grid p {
  font-size: 13px;
}
.dna-traits {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}
.dna-summary-grid .btn {
  margin-top: 14px;
}
.dna-layout .grid.cols2 > .card {
  padding: 20px;
}
.dna-layout #dna-manual {
  gap: 12px;
}
.dna-layout textarea {
  min-height: 68px;
}
.dna-layout .report-field {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
}
.dna-layout .report-field .report-field {
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
}
.dna-layout .report-beat {
  display: inline-block;
  padding: 5px 10px;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
}
.dna-layout .report-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dna-layout .report-field h4 {
  color: var(--text);
}
.billing-layout {
  gap: 12px;
}
.billing-layout > .tint {
  padding: 16px 22px;
}
.billing-layout > .tint .vertical-space {
  height: 6px;
}
.billing-layout > .tint .ring-wrap,
.billing-layout > .tint .ring-meter {
  width: 96px;
  height: 96px;
}
.billing-layout .usage-card {
  padding: 12px 18px;
}
.billing-layout .usage-card .used {
  font-size: 22px;
  margin-top: 4px;
}
.billing-layout .usage-card .used small {
  font-size: 13px;
}
.billing-layout .usage-card progress {
  height: 6px;
  margin: 4px 0 0;
}
.billing-layout .plan-card {
  padding: 16px 20px;
}
.billing-layout .plan-price {
  font-size: 29px;
  margin: 8px 0 2px;
}
.billing-layout .plan-card h2 {
  font-size: 20px;
}
.billing-layout .plan-list {
  gap: 5px;
  margin: 10px 0;
  font-size: 12px;
}
.billing-layout .plan-list li {
  line-height: 1.35;
}
.billing-layout .plan-list .icon {
  width: 15px;
  height: 15px;
}
.billing-layout > h2,
.billing-layout #tokens h2 {
  font-size: 22px;
  margin: 0;
}
.billing-layout .plan-card .btn {
  min-height: 38px;
  font-size: 12px;
}
.billing-layout > .row {
  font-size: 12px;
}
.billing-layout #cancel-renewal {
  font-size: 11px;
  min-height: 30px;
  padding: 4px 8px;
}
.billing-layout .token-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 12px;
}
.billing-layout #token-packages {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.billing-layout .token-card {
  padding: 12px 16px;
}
.billing-layout .token-card .mini-icon {
  width: 28px;
  height: 28px;
}
.billing-layout .token-number {
  font-size: 18px;
  margin: 2px 0;
}
.billing-layout .token-card .price {
  font-size: 17px;
}
.billing-layout .token-card .btn {
  margin-top: 8px;
  font-size: 12px;
  min-height: 36px;
}
.billing-layout .token-grid > .card {
  padding: 12px 16px;
}
.billing-layout #custom-tokens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.billing-layout #custom-tokens > .field {
  grid-column: 1/-1;
}
.billing-layout #custom-tokens > .btn {
  grid-column: 1/-1;
  font-size: 12px;
  min-height: 36px;
}
.billing-layout #custom-token-price {
  font-size: 15px;
  white-space: nowrap;
}
.billing-layout #custom-tokens input {
  min-height: 36px;
  font-size: 13px;
}
.billing-layout #token-currency {
  min-height: 36px;
  max-width: 100px;
}
.billing-layout .empty {
  min-height: 70px;
  padding: 12px;
}
.billing-layout > .card:last-child {
  padding: 14px 20px;
}
.billing-layout > .card:last-child h2 {
  font-size: 18px;
}
.billing-layout .empty .mini-icon {
  width: 30px;
  height: 30px;
}
.billing-layout .empty h3 {
  font-size: 15px;
}
.billing-layout .empty p {
  font-size: 12px;
}
.top-search > button {
  min-width: 44px;
}
.notification-settings {
  padding: 8px;
}
.notification-settings .vertical-space {
  height: 8px;
}
.notification-settings .stack {
  gap: 10px;
}
#notification-settings > .actions {
  justify-content: flex-end;
  margin-top: 12px;
}
#notification-settings > .actions .btn {
  min-width: 260px;
}
.notification {
  padding-block: 9px;
}
.notification-settings .toggle {
  min-height: 44px;
}
.report-video-poster {
  max-height: 190px;
}
.report-video-poster video {
  height: 190px;
  max-width: 100%;
  object-fit: contain;
  background: #11182b;
}
.profile-report .cohort-insights {
  font-size: 13px;
}
.profile-report .cohort-reason {
  padding: 8px 0;
}
.profile-report .cohort-media {
  gap: 10px;
}
.profile-report .report-video h3 {
  font-size: 13px;
}
.profile-report .report-video .btn {
  font-size: 11px;
  min-height: 34px;
}
.profile-report .profile-cohort {
  margin: 0;
}
.profile-report .profile-summary-grid p {
  font-size: 12px;
}
.profile-report .profile-summary-grid h3 {
  font-size: 14px;
}
.profile-report .profile-summary-grid h2 {
  font-size: 18px;
}
@media (max-width: 1000px) {
  .billing-layout .token-grid {
    grid-template-columns: 1fr;
  }
  .billing-layout #custom-tokens {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
  .billing-layout #custom-tokens > .field,
  .billing-layout #custom-tokens > .btn {
    grid-column: auto;
  }
  .dna-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dna-summary-grid > .card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .dna-summary-grid {
    grid-template-columns: 1fr;
  }
  .dna-summary-grid > .card:last-child {
    grid-column: auto;
  }
  .dna-layout .report-field {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .billing-layout #token-packages {
    grid-template-columns: 1fr;
  }
  .billing-layout #custom-tokens {
    grid-template-columns: 1fr 1fr;
  }
  .billing-layout #custom-tokens > .field,
  .billing-layout #custom-tokens > .btn {
    grid-column: 1/-1;
  }
  .billing-layout button,
  .billing-layout input,
  .billing-layout select,
  .billing-layout #cancel-renewal,
  .profile-report .report-video .btn {
    min-height: 44px !important;
  }
  .billing-layout .plan-card .btn,
  .billing-layout .token-card .btn {
    font-size: 14px;
  }
  .billing-layout .plan-list {
    font-size: 14px;
    gap: 8px;
  }
  .dna-layout textarea {
    min-height: 90px;
  }
  .report-video-poster,
  .report-video-poster video {
    height: 220px;
    max-height: 220px;
  }
  .profile-report .report-video .btn {
    font-size: 12px;
    width: 100%;
  }
}
body[data-page="usage"] .page-heading {
  min-height: 44px;
  margin-bottom: 12px;
}
body[data-page="usage"] h1 {
  font-size: 32px;
}
.current-plan-layout {
  position: relative;
}
.current-plan-layout > .tint {
  padding: 14px 20px;
}
.current-plan-layout .ring-wrap,
.current-plan-layout .ring-meter {
  width: 96px;
  height: 96px;
}
.current-plan-layout .vertical-space {
  height: 4px;
}
.current-plan-layout > .row {
  position: absolute;
  inset-inline-end: 138px;
  bottom: 15px;
}
.billing-layout .usage-card {
  min-height: 0 !important;
  height: 86px !important;
  padding: 10px 16px !important;
}
.billing-layout .usage-card .used {
  line-height: 1.15;
  font-size: 21px;
}
.billing-layout .usage-card progress {
  display: block;
}
.billing-layout .plan-card {
  padding: 14px 18px;
  position: relative;
}
.billing-layout .plan-card .plan-price {
  position: absolute;
  inset-inline-end: 18px;
  top: 14px;
  margin: 0;
  font-size: 24px;
}
.billing-layout .plan-card > .small {
  position: absolute;
  inset-inline-end: 18px;
  top: 47px;
  font-size: 11px;
}
.billing-layout .plan-card > .row {
  justify-content: flex-start;
  gap: 8px;
  min-height: 46px;
  align-items: flex-start;
}
.billing-layout .plan-card > .row .badge {
  font-size: 9px;
}
.billing-layout .plan-list {
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  margin: 12px 0;
  font-size: 11px;
}
.billing-layout .plan-list li {
  gap: 5px;
}
.billing-layout .plan-list strong {
  white-space: nowrap;
}
.billing-layout .token-card {
  position: relative;
  padding: 10px 14px;
}
.billing-layout .token-card > .row {
  position: absolute;
  inset-inline-end: 12px;
  top: 10px;
}
.billing-layout .token-card .mini-icon {
  display: none;
}
.billing-layout .token-number {
  margin-top: 0;
}
.billing-layout .token-card .price {
  font-size: 16px;
}
.billing-layout .token-card .btn {
  min-height: 32px;
  margin-top: 6px;
}
.billing-layout #tokens .card-header {
  margin-bottom: 8px;
}
.billing-layout #custom-tokens {
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.billing-layout #custom-tokens > .field {
  grid-column: auto;
}
.billing-layout #custom-tokens > .grow {
  align-self: end;
  padding-bottom: 5px;
}
.billing-layout #custom-tokens input {
  width: 100%;
}
.billing-layout #custom-tokens .field {
  gap: 2px;
}
.billing-layout #custom-tokens .field > label {
  font-size: 10px;
}
.billing-layout #custom-tokens > .btn {
  min-height: 32px;
}
.billing-layout > .card:last-child {
  padding: 12px 20px;
}
.billing-layout > .card:last-child > .vertical-space {
  display: none;
}
.billing-layout > .card:last-child .empty {
  min-height: 38px;
  padding: 7px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.billing-layout > .card:last-child .empty .mini-icon {
  width: 24px;
  height: 24px;
}
.billing-layout > .card:last-child .empty h3 {
  margin: 0;
}
@media (max-width: 1100px) {
  .billing-layout .plan-list {
    grid-template-columns: 1fr;
  }
  .billing-layout .plan-card .plan-price {
    position: static;
  }
  .billing-layout .plan-card > .small {
    position: static;
  }
  .billing-layout .plan-card > .row {
    min-height: auto;
  }
  .current-plan-layout > .row {
    position: static;
    margin-top: 4px;
    justify-content: flex-end;
  }
}
@media (max-width: 650px) {
  .billing-layout .plan-list {
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }
  .billing-layout .usage-card {
    height: auto !important;
    min-height: 96px !important;
  }
  .billing-layout .plan-card .plan-price {
    font-size: 28px;
  }
  .billing-layout .plan-card > .row {
    flex-wrap: wrap;
  }
}
@media (min-width: 1101px) {
  body[data-page="usage"] .page-heading {
    min-height: 36px;
    margin-bottom: 8px;
  }
  .billing-layout,
  .billing-layout > .grid {
    gap: 10px;
  }
  .current-plan-layout > .tint {
    padding: 10px 20px;
  }
  .billing-layout .plan-card {
    padding: 10px 18px;
  }
  .billing-layout .plan-card > .row {
    min-height: 40px;
  }
  .billing-layout .plan-list {
    margin-block: 9px;
    gap: 5px 12px;
  }
  .billing-layout #tokens .card-header {
    margin-bottom: 6px;
  }
  .billing-layout .token-grid > .card {
    padding: 8px 14px;
  }
  .billing-layout #custom-tokens input,
  .billing-layout #custom-tokens > .btn {
    height: 32px;
    min-height: 32px;
    padding-block: 4px;
  }
  .billing-layout #custom-tokens .field {
    margin: 0;
  }
  .billing-layout #custom-tokens label {
    min-height: 0;
  }
  .billing-layout > .card:last-child {
    padding: 10px 18px;
  }
  .billing-layout > .card:last-child .empty {
    min-height: 30px;
    height: 30px;
  }
  .billing-layout #token-currency {
    min-height: 32px;
    height: 32px;
  }
}
@media (max-width: 650px) {
  .topbar .top-actions {
    width: auto;
    flex: none;
    min-width: 0;
    justify-content: flex-end;
  }
  .topbar > .row {
    flex: 0 0 44px;
  }
  .topbar {
    gap: 4px;
  }
  .topbar .header-create {
    width: 44px;
    min-width: 44px;
  }
  .dash-stat {
    position: relative;
    min-height: 135px;
    padding: 12px;
  }
  .dash-stat .stat-symbol {
    position: absolute;
    top: 12px;
    inset-inline-start: 10px;
    width: 30px;
    height: 30px;
  }
  .dash-stat > div {
    width: 100%;
    min-width: 0;
  }
  .dash-stat .stat-label {
    padding-inline-start: 35px;
    display: flex;
    align-items: center;
    min-height: 34px;
    font-size: 11px;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.2;
  }
  .dash-stat strong {
    display: inline-block;
    white-space: nowrap;
    font-size: 26px;
    margin-top: 5px;
    letter-spacing: -1px;
  }
  .dash-stat small {
    white-space: nowrap;
    font-size: 11px;
    margin-inline-start: 6px;
  }
  .dash-stat .sparkline {
    bottom: 8px;
  }
  .dash-stat:last-child {
    min-height: 114px;
  }
}
@media (max-width: 1024px) {
  .content button,
  .content
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .content select,
  .content summary,
  .content .btn,
  .content .tab,
  .content .choice-button,
  .topbar input {
    min-height: 44px !important;
  }
  .content button.icon-only,
  .content .btn.icon-only {
    min-width: 44px !important;
  }
  .sidebar-project select,
  .sidebar .sidebar-user #logout {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  .check,
  .toggle {
    min-height: 44px;
  }
  .topbar .search-submit {
    min-width: 44px;
  }
}
.library-main > div,
.library-aside {
  min-width: 0;
}
.library-main {
  grid-template-columns: minmax(0, 1fr) 240px;
}
.library-search-filters > * {
  min-width: 0;
  width: 100%;
}
.library-main .tabs {
  width: 100%;
  min-width: 0;
}
.library-main .tab {
  flex-shrink: 0;
}
@media (max-width: 1250px) {
  .library-main {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1024px) {
  .notification-settings .check {
    min-height: 44px;
  }
  .notification-settings section {
    min-width: 0;
  }
}
@media (max-width: 650px) {
  #notification-settings > .actions .btn {
    min-width: 0;
    width: 100%;
  }
  .library-search-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.report-video-poster {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16/10;
  height: auto;
  max-height: 190px;
}
.report-video-poster video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  max-height: 190px;
}
.report-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-report .report-video {
  overflow: hidden;
}
@media (max-width: 650px) {
  .report-video-poster {
    width: 100%;
    height: auto;
    max-height: 220px;
  }
  .report-video-poster video {
    height: auto;
    max-height: 220px;
  }
  .language-trigger,
  .lang-button {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}
@media (min-width: 800px) {
  .marketing {
    max-width: 1320px;
  }
  .marketing-hero {
    min-height: 310px;
    padding-block: 12px;
  }
  .marketing-product-art {
    min-height: 305px;
  }
  .marketing-pitch h1 {
    font-size: 45px;
  }
  .marketing-pitch > p {
    font-size: 13px;
    line-height: 1.5;
  }
  .marketing-panel {
    padding: 14px;
    margin-top: 12px;
  }
  .marketing-panel > h2,
  .marketing-panel .card-header h2 {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .marketing-four,
  .marketing-five,
  .marketing-three {
    gap: 10px;
  }
  .marketing-feature {
    padding: 10px;
    display: flex;
  }
  .marketing-feature .mini-icon {
    width: 30px;
    height: 30px;
    margin: 0;
  }
  .marketing-feature p {
    font-size: 11px;
    line-height: 1.5;
  }
  .marketing .marketing-reel > img {
    height: 95px;
  }
  .marketing-reel {
    padding-bottom: 8px;
  }
  .marketing .plan-list {
    gap: 5px;
    font-size: 11px;
    line-height: 1.4;
    margin-block: 8px;
  }
  .marketing .plan-list li {
    margin: 0;
  }
  .marketing .plan-card {
    padding: 14px;
  }
  .marketing .plan-price {
    font-size: 26px;
    line-height: 1.2;
  }
  .marketing .plan-card .btn {
    min-height: 38px;
    font-size: 12px;
  }
  .marketing-faq details {
    padding: 5px 10px;
  }
  .marketing-faq summary {
    min-height: 34px;
  }
  .marketing-final {
    padding: 14px 0;
  }
  .marketing-final h2 {
    font-size: 25px;
  }
  .marketing-footer {
    padding-block: 12px;
  }
}
@media (max-width: 1024px) {
  .marketing summary {
    min-height: 44px;
  }
}
.feed-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.feed-actions .btn {
  min-width: 0;
  width: 100%;
  font-size: 11px;
  padding: 10px 6px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.35;
}
.feed-actions .btn .icon {
  display: none;
}
.feed-actions .btn:only-child {
  grid-column: 1/-1;
}
.feed-poster {
  aspect-ratio: 5/7;
}
.feed-card .feed-side-actions .btn,
.feed-card .feed-play {
  color: #fff !important;
}
.feed-card .feed-side-actions .btn .icon {
  color: #fff;
  opacity: 1;
}
.feed-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 12px 6px;
}
.feed-metrics > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  font-size: 11px;
}
.feed-metrics .icon {
  width: 18px;
  height: 18px;
}
.source-summary-card {
  padding: 14px 18px;
}
.source-summary-card .card-header {
  margin-bottom: 4px;
}
.source-summary-card .platform-icon {
  width: 36px;
  height: 36px;
}
.source-summary-card h2 {
  font-size: 19px;
}
.source-summary-card p {
  margin: 0;
}
.source-column {
  padding: 16px;
}
.source-column .card-header {
  margin-bottom: 8px;
}
.source-column .source-item {
  padding: 9px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 4px 8px;
}
.source-item > .row:first-child {
  grid-column: 1/-1;
}
.source-item > .row:first-child .source-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.source-item .source-title strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.source-item .source-title small {
  font-size: 10px;
}
.source-item > [id^="source-schedule"] {
  margin: 0;
}
.source-item > [id^="source-schedule"] .small {
  font-size: 10px;
  line-height: 1.35;
}
.source-item > [id^="source-schedule"] .small + .small {
  margin-top: 6px;
}
.source-item > .row:last-child {
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}
.source-item > .row:last-child > small {
  display: none;
}
.source-item .actions {
  gap: 2px;
}
.source-item .actions > .btn {
  padding: 6px;
  min-width: 32px;
  width: 32px;
  height: 32px;
  min-height: 32px;
}
.source-item > .row:first-child .toggle {
  min-height: 26px;
}
.source-item > .row:first-child {
  min-height: 26px;
}
.source-item .actions > .btn .icon {
  width: 16px;
  height: 16px;
}
.source-summary .count-pill {
  font-size: 10px;
}
@media (max-width: 1100px) {
  .source-item .source-title {
    flex-wrap: wrap;
  }
  .source-column .source-item {
    grid-template-columns: minmax(0, 1fr) 140px;
  }
}
@media (max-width: 650px) {
  .feed-poster {
    aspect-ratio: 9/16;
  }
  .feed-actions {
    grid-template-columns: 1fr;
  }
  .feed-actions .btn {
    font-size: 12px;
    min-height: 44px;
  }
  .source-summary {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .source-summary-card {
    padding: 10px 14px;
  }
  .source-column .source-item {
    padding: 12px 0;
    gap: 8px;
  }
  .source-item .actions > .btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
  }
}
@media (min-width: 1101px) {
  .dash-platform-body {
    height: 188px;
  }
  .dash-metric > div,
  .dash-metric .metric-symbol {
    min-height: 32px;
    height: 32px;
  }
  .dash-metrics {
    gap: 4px;
  }
  .dash-chart,
  .dash-chart svg {
    height: 93px;
  }
  .dash-mini {
    padding-block: 8px;
  }
  .dash-source {
    gap: 4px;
    padding-block: 5px;
  }
  .dash-quick {
    font-size: 11px;
    overflow-wrap: normal;
  }
  .dash-quick .icon {
    width: 23px;
  }
  .dash-history-item {
    padding: 8px;
  }
  .dash-history-list {
    margin-top: 0;
  }
  .dash-section-heading {
    margin-bottom: 6px;
  }
  .dash-title {
    min-height: 69px;
  }
}
.script-inspiration > img {
  height: auto;
  aspect-ratio: 670/440;
}
.library-tile {
  position: relative;
  gap: 8px;
}
.library-tile .snippet {
  max-height: 72px;
  min-height: 50px;
}
.library-tile .actions {
  padding-inline-end: 76px;
  gap: 5px;
  margin-top: 4px;
}
.library-tile-footer {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 16px;
  gap: 0;
  display: flex;
}
.library-tile-footer .btn {
  width: 34px;
  min-width: 34px;
  min-height: 36px;
  padding: 6px;
}
.library-quick-grid .btn {
  overflow-wrap: normal;
  word-break: normal;
  gap: 5px;
  font-size: 10px;
}
.library-view-heading h3 {
  font-size: 14px;
}
.library-tile .actions small {
  font-size: 10px;
}
.library-tile .actions .btn {
  padding-inline: 10px;
}
.analysis-history-layout .history-row {
  padding: 5px 10px !important;
  min-height: 48px;
}
.analysis-history-layout .history-row .grow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px;
  align-items: center;
  gap: 10px;
}
.analysis-history-layout .history-row .date {
  margin: 0;
  font-size: 11px;
}
.analysis-history-layout .history-card {
  padding: 16px;
}
.analysis-feature-strip .card {
  padding: 14px 16px;
}
body[data-page="video-analysis"]:has(.video-entry) .analysis-page-eyebrow {
  display: none;
}
body[data-page="video-analysis"]:has(.video-entry) .page-heading {
  min-height: 64px;
  margin-bottom: 12px;
}
body[data-page="video-analysis"]:has(.video-entry) .page-heading p {
  font-size: 15px;
}
.video-entry-form .card {
  padding: 15px 20px;
}
.video-entry-form .analysis-form {
  gap: 10px;
}
.video-entry-form .mini-icon {
  width: 34px;
  height: 34px;
}
.video-entry-form .analysis-form h2 {
  font-size: 20px;
}
.video-entry-form .analysis-method-note {
  margin: 0;
}
.video-benefit-strip .card {
  padding: 12px;
}
.video-benefit-strip .analysis-benefit {
  display: flex;
  gap: 9px;
  align-items: center;
}
.video-benefit-strip .analysis-benefit .mini-icon {
  width: 36px;
  height: 36px;
  flex: none;
}
.video-benefit-strip .analysis-benefit strong {
  font-size: 12px;
}
.video-benefit-strip .analysis-benefit p {
  font-size: 11px;
}
.video-entry {
  gap: 12px;
}
.video-latest {
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 14px;
}
.video-example {
  padding: 16px;
}
.video-example .card-header {
  margin-bottom: 12px;
}
.video-example h2 {
  font-size: 19px;
}
.video-example-grid {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 170px;
  gap: 12px;
}
.video-example-grid > video {
  width: 100%;
  height: 255px;
  object-fit: contain;
  border-radius: 12px;
  background: #121827;
}
.video-example-structure h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.video-example-structure .report-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.video-example-structure .report-beat {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.video-example-structure .report-beat p {
  font-size: 12px;
}
.video-example-structure .badge {
  font-size: 10px;
}
.video-example-metrics {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
}
.video-example-metrics span {
  display: grid;
  gap: 3px;
}
.video-example-metrics small {
  font-size: 10px;
  color: var(--muted);
}
.video-example-metrics strong {
  font-size: 15px;
}
.quality-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(
    var(--teal) calc(var(--score) * 1%),
    var(--line) 0
  );
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.quality-ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--solid);
  border-radius: 50%;
}
.quality-ring > * {
  position: relative;
}
.quality-ring strong {
  font-size: 32px;
  line-height: 1.3;
}
.quality-ring small {
  font-size: 11px;
  color: var(--muted);
}
.video-example-insights h3 {
  font-size: 13px;
}
.video-example-insights p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 10px;
}
.video-example-actions {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-example-actions h2 {
  font-size: 19px;
}
.video-example-actions .stack {
  gap: 7px;
}
.video-example-actions .btn {
  font-size: 12px;
  justify-content: flex-start;
}
.video-example-actions .page-note {
  font-size: 24px;
  margin: 10px 0 0;
  align-self: center;
}
.video-entry .analysis-history-layout {
  grid-template-columns: 1fr;
}
.video-entry .analysis-history-layout > .analysis-promo {
  display: none;
}
.video-entry .history-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.video-entry .history-card .card-header {
  grid-column: 1/-1;
  margin: 0;
}
.video-entry .history-row {
  margin: 0;
  gap: 7px;
}
.video-entry .history-row .grow {
  display: block;
}
.video-entry .history-row .date {
  font-size: 10px;
}
.video-entry .history-row .title {
  font-size: 12px;
}
.video-entry .history-row .badge {
  font-size: 9px;
  padding: 3px 5px;
}
@media (max-width: 1250px) {
  .video-example-grid {
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .video-example-insights {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .quality-ring {
    width: 70px;
    height: 70px;
    margin: 0;
    flex: none;
  }
  .quality-ring strong {
    font-size: 22px;
  }
  .video-example-insights p {
    margin: 0;
  }
  .video-latest {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .video-example .card-header {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .video-latest {
    grid-template-columns: 1fr;
  }
  .video-example-actions .stack,
  .video-entry .history-card {
    grid-template-columns: 1fr 1fr;
  }
  .library-tile .actions {
    padding-inline-end: 88px;
  }
  .library-tile-footer .btn {
    min-width: 44px;
    min-height: 44px;
  }
  .library-tile .actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  .library-tile .actions {
    min-height: 44px;
  }
  .analysis-history-layout .history-row .grow {
    display: block;
  }
  .video-example-grid {
    grid-template-columns: 1fr;
  }
  .video-example-grid > video {
    max-height: 340px;
    height: auto;
    aspect-ratio: 9/16;
    max-width: 230px;
    margin: auto;
  }
  .video-example-insights {
    grid-column: auto;
  }
  .video-example-actions .stack,
  .video-entry .history-card,
  .video-example-structure .report-list {
    grid-template-columns: 1fr;
  }
  .video-example-metrics {
    flex-wrap: wrap;
  }
  .video-benefit-strip .analysis-benefit {
    display: block;
  }
  .video-benefit-strip .analysis-benefit .mini-icon {
    margin-bottom: 8px;
  }
  .video-example .card-header .btn {
    width: 100%;
  }
  .video-input-row {
    grid-template-columns: 1fr;
  }
  .video-entry .page-note {
    max-width: 100%;
  }
}
.admin-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 16px;
}
.admin-quick-grid {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.admin-quick-grid .btn {
  justify-content: flex-start;
  text-align: start;
  font-size: 13px;
  gap: 10px;
}
.admin-quick-grid .btn > svg:last-child {
  margin-inline-start: auto;
}
.admin-quick-grid .mini-icon {
  width: 30px;
  height: 30px;
}
.admin-chart-grid .empty {
  min-height: 210px;
}
.admin-chart-grid .card > h2 {
  font-size: 21px;
}
@media (max-width: 1250px) {
  .admin-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-chart-grid > .card:last-child {
    grid-column: 1/-1;
  }
  .admin-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .admin-chart-grid,
  .admin-quick-grid {
    grid-template-columns: 1fr;
  }
  .admin-chart-grid > .card:last-child {
    grid-column: auto;
  }
}
@media (min-width: 1101px) {
  .dash-recent .dash-section-heading {
    min-height: 32px;
    height: 32px;
    margin-bottom: 4px;
  }
  .dash-trends .dash-section-heading {
    min-height: 36px;
    margin-bottom: 4px;
  }
  .dash-recent .history-time {
    font-size: 9px;
    line-height: 12px;
  }
  .dash-recent .dash-history-item > div {
    gap: 3px;
  }
  .dash-recent .dash-history-item .badge {
    font-size: 8px;
    padding: 2px 4px;
  }
  .dash-recent .dash-history-item strong {
    width: 100%;
  }
  .dash-recent .history-open {
    margin-top: 0;
  }
  body[data-page="dashboard"] .content {
    padding-bottom: 8px;
  }
}
@media (min-width: 1101px) {
  .dash-section-heading h2 {
    line-height: 24px;
    margin: 0;
  }
  .dash-section-heading p {
    line-height: 16px;
    margin-top: 2px;
  }
  .dash-growth .dash-section-heading {
    padding-bottom: 4px;
  }
  .dash-trends .dash-section-heading {
    padding-bottom: 2px;
  }
  .dash-recent .dash-section-heading > div {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .dash-recent .dash-section-heading p {
    margin: 0;
  }
  .dash-chart-panel {
    padding-block: 4px;
  }
  .dash-chart-panel > header {
    margin-bottom: 2px;
  }
  .dash-platform.youtube .glass-social {
    height: 87px;
  }
  .dash-platform-art p {
    margin: 3px 0;
    font-size: 12px;
    line-height: 16px;
  }
  .dash-platform.youtube .btn {
    min-height: 36px;
    padding: 7px 12px;
  }
  .dash-recent .dash-history-item {
    padding-block: 6px;
  }
}
@media (max-width: 1024px) {
  .source-item .actions > .btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .library-tile-footer .btn {
    min-width: 44px;
    min-height: 44px;
  }
  .source-item > .row:first-child .toggle {
    min-height: 44px;
  }
  .sidebar nav .nav-link {
    min-height: 44px;
  }
}
.feed-card .feed-play .icon,
.feed-card .feed-metrics .icon {
  color: #fff !important;
  opacity: 1;
}
.feed-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 6px;
}
.feed-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--muted-panel);
  color: var(--accent);
}
.feed-date {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.feed-title {
  font-size: 13px;
  line-height: 1.45;
}
.feed-body {
  padding: 10px 8px 12px;
  background: var(--panel);
  border-radius: 0 0 16px 16px;
}
.feed-actions .btn {
  font-size: 12px;
}
.dash-chart svg text {
  opacity: 1;
  fill: var(--muted);
}
:root[data-theme="dark"] .analysis-promo {
  background-image: linear-gradient(
    140deg,
    var(--solid),
    color-mix(in srgb, var(--purple) 15%, var(--solid))
  );
}
:root[data-theme="dark"] .header-search,
:root[data-theme="dark"] .sidebar-project select,
:root[data-theme="dark"] .sidebar-plan,
:root[data-theme="dark"] .sidebar-user {
  border-color: var(--line);
}
@media (min-width: 1025px) {
  .source-column .source-item {
    padding-block: 6px;
  }
  .source-item > .row:first-child .switch {
    min-height: 26px;
  }
  .source-item > .row:first-child .switch input {
    height: 26px;
    min-height: 26px;
  }
  .source-item .actions {
    margin: 0;
  }
  .source-item > [id^="source-schedule"] .small {
    font-size: 11px;
  }
  .source-item .source-title strong {
    font-size: 13px;
  }
  .analysis-primary .analysis-form {
    gap: 12px;
  }
  .analysis-primary > .card {
    padding-block: 18px;
  }
  .analysis-feature-strip .card,
  .analysis-history-layout .history-card {
    padding-block: 12px;
  }
  .analysis-history-layout .history-row {
    min-height: 46px;
  }
  .dash-recent {
    margin-bottom: 0;
  }
  .dash-mini {
    padding-block: 6px;
  }
}
.profile-report {
  gap: 14px;
}
.profile-verdict .actions {
  display: grid;
  grid-template-columns: 1fr;
}
.profile-verdict .btn {
  word-break: normal;
  overflow-wrap: normal;
  min-height: 44px;
}
.profile-verdict .button-arrow {
  flex: none;
}
.profile-summary {
  padding: 18px;
}
.profile-cohorts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.profile-cohorts .cohort-layout {
  display: block;
}
.profile-cohorts .cohort-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-cohorts .report-video {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 4px 8px;
  align-content: start;
  padding: 8px;
}
.profile-cohorts .report-video-poster {
  grid-row: span 4;
  aspect-ratio: 9/13;
  height: 132px;
  max-height: none;
}
.profile-cohorts .report-video-poster video {
  height: 100%;
  aspect-ratio: 9/13;
  max-height: none;
  object-fit: contain;
}
.profile-cohorts .report-video h3 {
  margin: 0;
  line-height: 1.4;
}
.profile-cohorts .report-video-score {
  font-size: 12px;
  inset: 4px 4px auto auto;
  padding: 2px 5px;
}
.profile-cohorts .report-video-metrics {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 8px;
}
.profile-cohorts .report-video .btn {
  min-height: 36px;
  padding: 6px;
  font-size: 11px;
  align-self: end;
}
.profile-cohorts .cohort-insights {
  display: block;
  margin-top: 10px;
  padding: 10px;
}
.profile-cohorts .cohort-insights h3 {
  font-size: 12px;
  margin-bottom: 6px;
}
.profile-cohorts .cohort-reason {
  margin: 0;
  padding: 4px 0;
  font-size: 11px;
  line-height: 1.4;
}
.profile-cohorts .cohort-reason p {
  margin: 0;
}
.profile-cohorts .profile-cohort > header h2 {
  font-size: 14px;
}
.profile-cohorts .profile-cohort > header {
  gap: 6px;
}
.profile-cohorts .profile-cohort {
  padding: 10px;
}
.billing-layout #token-currency {
  height: 36px;
  padding: 5px 10px;
  line-height: 24px;
}
.dna-layout > .grid {
  align-items: start;
}
.dna-layout .grid.cols2 {
  align-items: start;
}
@media (min-width: 901px) and (max-width: 1250px) {
  .profile-summary-grid {
    grid-template-columns: 1fr;
  }
  .report-profile {
    grid-template-columns: minmax(0, 1.2fr) 1fr;
  }
  .profile-verdict {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }
  .profile-verdict .actions {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr;
  }
  .profile-verdict .report-value {
    margin: 0;
  }
  .profile-report .report-block-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-report .report-section {
    padding: 14px;
  }
  .profile-report .report-section h2 {
    font-size: 14px;
  }
  .profile-cohorts .report-video {
    grid-template-columns: 66px minmax(0, 1fr);
  }
  .profile-cohorts .report-video-poster {
    height: 112px;
  }
  .profile-cohorts .report-video h3 {
    font-size: 11px;
  }
  .profile-cohorts .report-video .btn,
  .profile-cohorts .report-video-metrics {
    font-size: 10px;
  }
  .profile-cohorts .report-video-metrics .icon {
    width: 11px;
    height: 11px;
  }
}
@media (max-width: 900px) {
  .profile-cohorts {
    grid-template-columns: 1fr;
  }
  .profile-cohorts .cohort-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-cohorts .cohort-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .profile-cohorts .cohort-insights h3 {
    grid-column: 1/-1;
  }
  .profile-cohorts .cohort-reason {
    font-size: 13px;
  }
  .profile-cohorts .profile-cohort > header h2 {
    font-size: 18px;
  }
  .profile-cohorts .report-video .btn {
    min-height: 44px;
    font-size: 12px;
  }
  .billing-layout #token-currency {
    height: 44px;
  }
}
@media (max-width: 650px) {
  .profile-cohorts .cohort-media,
  .profile-cohorts .cohort-insights {
    grid-template-columns: 1fr;
  }
  .profile-cohorts .report-video {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .profile-cohorts .report-video h3 {
    font-size: 13px;
  }
  .profile-summary-grid .actions,
  .profile-report .report-block-grid {
    grid-template-columns: 1fr;
  }
}
.video-report {
  gap: 14px;
}
.video-report > .card {
  padding: 18px 20px;
}
.video-media-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.video-media-column > .card {
  padding: 14px;
}
.video-report .video-layout {
  align-items: start;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.65fr);
}
.video-report .video-layout > .stack {
  grid-template-columns: 1fr;
  gap: 10px;
}
.video-report .video-report-block {
  padding: 12px 16px;
}
.video-report .card-header {
  margin-bottom: 8px;
  min-height: 30px;
  gap: 8px;
}
.video-report .card-header h2 {
  font-size: 16px;
  flex: 1;
}
.video-report .card-header .icon-only {
  min-height: 32px;
  width: 32px;
  min-width: 32px;
  padding: 6px;
}
.video-report .report-value,
.video-report .report-beat {
  font-size: 13px;
  line-height: 1.5;
}
.video-report .video-preview {
  max-height: 340px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.video-media-column .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.video-media-column .actions select {
  grid-column: 1/-1;
  grid-row: 2;
}
.video-media-column .actions .btn {
  font-size: 12px;
  padding: 6px;
  min-width: 0;
}
.video-secondary {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  align-items: start;
}
.video-secondary .video-block-structure {
  grid-column: 1/-1;
}
.video-secondary .report-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.video-secondary .report-beat {
  padding: 8px;
}
.video-secondary .report-timeline .report-beat {
  border-inline-start: 1px solid var(--line);
  border-top: 2px solid var(--chart);
  margin-top: 2px;
}
.video-secondary .report-timeline .badge {
  white-space: normal;
}
.video-report-block .report-field {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  margin-top: 8px;
}
.video-report-block .report-field h4 {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1024px) {
  .video-report .card-header .icon-only {
    width: 44px;
    min-height: 44px;
    min-width: 44px;
  }
}
@media (max-width: 650px) {
  .video-report .video-layout,
  .video-secondary {
    grid-template-columns: 1fr;
  }
  .video-report .video-preview {
    aspect-ratio: 9/12;
    max-height: 420px;
  }
  .video-secondary .report-timeline {
    grid-template-columns: 1fr;
  }
  .video-secondary .video-block-structure {
    grid-column: auto;
  }
  .video-report .report-value,
  .video-report .report-beat {
    font-size: 14px;
  }
  .video-report-block .report-field {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
.marketing-nav .brand {
  white-space: nowrap;
  flex: none;
}
.marketing-nav nav a {
  word-break: normal;
  overflow-wrap: normal;
}
.marketing-nav > .row {
  min-width: 0;
}
@media (min-width: 651px) and (max-width: 1200px) {
  .marketing-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 16px;
  }
  .marketing-nav nav {
    display: flex;
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    gap: 28px;
  }
  .marketing-nav > .row {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .marketing-nav .brand {
    font-size: 19px;
  }
  .marketing-nav .btn,
  .marketing-nav .language-name {
    font-size: 12px;
  }
  .marketing-nav nav a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
}
.profile-report .report-block-grid {
  display: block;
  columns: 3;
  column-gap: 12px;
}
.profile-report .report-block-grid > .report-section {
  break-inside: avoid;
  margin: 0 0 12px;
  padding: 16px;
}
.profile-report .profile-summary-grid {
  align-items: start;
}
.profile-report .report-block-grid .report-value {
  line-height: 1.45;
}
.profile-report .report-block-grid .report-beat {
  padding: 7px 9px;
}
.profile-report .report-block-grid .report-field {
  margin-top: 8px;
}
.video-secondary .report-timeline {
  display: block;
}
.video-secondary .video-block-structure > .report-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.video-secondary .video-block-structure > .report-list > .report-beat {
  border-top: 2px solid var(--chart);
  border-inline-start: 1px solid var(--line);
}
@media (max-width: 900px) {
  .profile-report .report-block-grid {
    columns: 2;
  }
}
@media (max-width: 650px) {
  .profile-report .report-block-grid {
    columns: 1;
  }
  .video-secondary .video-block-structure > .report-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  #notification-settings > .actions .btn {
    min-width: 0 !important;
    max-width: 100%;
    width: 100%;
  }
}
.dash-chart text {
  fill: var(--muted);
  font-size: 12px;
  opacity: 1;
}
@media (max-width: 650px) {
  .card-header:has(.notification-tabs) {
    flex-wrap: wrap;
  }
  .notification-tabs {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
    overflow-x: auto;
  }
  #mark-all-read {
    margin-inline-start: auto;
    max-width: 100%;
    min-width: 0;
    font-size: 12px;
    padding-inline: 8px;
  }
}
.filter-sheet-trigger {
  display: none;
}
.filter-inline {
  min-width: 0;
}
.marketing-menu {
  display: none;
}
@media (max-width: 650px) {
  .filter-inline {
    display: none;
  }
  .filter-sheet-trigger {
    display: flex;
    min-height: 44px;
    margin: 12px 0;
    width: 100%;
    justify-content: center;
  }
  .filter-sheet {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 90dvh;
    border-radius: 24px 24px 0 0;
    padding: 20px max(16px, env(safe-area-inset-right, 0px))
      max(20px, env(safe-area-inset-bottom, 0px));
  }
  .filter-sheet-content .feed-filters,
  .filter-sheet-content .library-search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .filter-sheet-content input,
  .filter-sheet-content button[type="submit"] {
    grid-column: 1/-1;
  }
  .filter-sheet-content input,
  .filter-sheet-content select {
    min-width: 0;
    width: 100%;
  }
  .notifications-layout > .card:has(#notification-settings) {
    order: 3;
  }
  .library-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .library-stat {
    display: block;
    padding: 10px 8px;
    min-width: 0;
  }
  .library-stat .mini-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .library-stat .mini-icon .icon {
    width: 18px;
    height: 18px;
  }
  .library-stat strong {
    font-size: 22px;
  }
  .library-stat small {
    font-size: 10px;
    line-height: 1.35;
    min-height: 28px;
    display: block;
  }
  .script-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .script-meta-grid > .card {
    padding: 9px;
    gap: 6px;
  }
  .script-meta-grid .mini-icon {
    width: 24px;
    height: 24px;
    flex: none;
  }
  .script-meta-grid .icon {
    width: 18px;
    height: 18px;
  }
  .script-meta-grid small {
    font-size: 10px;
  }
  .script-meta-grid strong {
    font-size: 12px;
  }
  .script-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 14px;
  }
  .script-result-actions h2 {
    grid-column: 1/-1;
    margin: 0 0 4px;
  }
  .script-result-actions .btn {
    font-size: 11px;
    padding: 8px;
    min-width: 0;
    min-height: 44px;
  }
  .marketing-menu {
    display: block;
    position: relative;
    margin-inline-start: auto;
  }
  .marketing-menu summary {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    list-style: none;
    border-radius: 12px;
    cursor: pointer;
  }
  .marketing-menu summary::-webkit-details-marker {
    display: none;
  }
  .marketing-menu[open] summary {
    background: var(--muted-panel);
  }
  .marketing-menu nav {
    display: flex !important;
    position: absolute;
    inset-inline-end: 0;
    top: 48px;
    z-index: 60;
    flex-direction: column;
    gap: 2px;
    width: 230px;
    max-width: calc(100vw - 40px);
    padding: 8px;
    border-radius: 16px;
    background: var(--solid);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .marketing-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }
  .marketing-nav > .brand {
    max-width: calc(100% - 60px);
  }
}
.tabs,
.notification-tabs,
.admin-tabs {
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar,
.notification-tabs::-webkit-scrollbar,
.admin-tabs::-webkit-scrollbar {
  display: none;
}
@media (max-width: 650px) {
  .feed-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 4px;
    gap: 7px 4px;
  }
  .feed-metrics > span {
    flex-direction: row;
    justify-content: flex-start;
    font-size: 10px;
  }
  .feed-metrics .icon {
    width: 14px;
    height: 14px;
    flex: none;
  }
}
@media (max-width: 359px) {
  .library-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .library-stat {
    display: flex;
    padding: 10px;
    gap: 8px;
    min-height: 72px;
    align-items: center;
  }
  .library-stat .mini-icon {
    margin: 0;
    flex: none;
  }
  .library-stat small {
    font-size: 11px;
    min-height: 0;
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (max-width: 650px) {
  .script-meta-grid > .card {
    display: block;
  }
  .script-meta-grid .mini-icon {
    margin-bottom: 5px;
  }
  .script-meta-grid small,
  .script-meta-grid strong {
    overflow-wrap: normal;
    word-break: normal;
  }
  .marketing-nav > .row {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .marketing-nav .lang-wrap {
    flex: none;
  }
  .marketing-nav .lang-button {
    min-width: 126px !important;
    width: 126px;
    padding: 8px;
    gap: 6px;
  }
  .marketing-nav .language-name {
    display: inline !important;
    max-width: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .marketing-pitch h1 {
    font-size: clamp(32px, 9.5vw, 40px);
    letter-spacing: -1.2px;
  }
}
@media (max-width: 1024px) {
  .script-aside {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 1200px) {
  .profile-report > .profile-cohorts {
    order: 1;
  }
  .profile-report > .report-block-grid {
    order: 4;
  }
  .profile-report > .report-warnings {
    order: 5;
  }
}
@media (min-width: 1200px) {
  .profile-report .profile-cohorts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .profile-report .profile-cohort {
    padding: 14px 16px;
  }
  .profile-report .profile-cohort > header h2 {
    font-size: 17px;
  }
  .profile-report .cohort-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 14px;
  }
  .profile-report .cohort-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .profile-report .report-video {
    display: block;
    padding: 7px;
  }
  .profile-report .report-video-poster {
    height: auto;
    max-height: none;
    aspect-ratio: 16/9;
  }
  .profile-report .report-video-poster video {
    height: 100%;
    max-height: none;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .profile-report .report-video h3 {
    font-size: 13px;
    margin: 7px 0;
  }
  .profile-report .report-video-metrics {
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 11px;
  }
  .profile-report .report-video .btn {
    min-height: 36px;
    font-size: 12px;
  }
  .profile-report .cohort-insights {
    display: block;
    margin-top: 0;
    padding: 12px;
  }
  .profile-report .cohort-insights h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .profile-report .cohort-reason {
    font-size: 12px;
    padding: 6px 0;
  }
}
.dna-layout {
  gap: 12px;
}
.dna-layout > .card {
  padding: 16px;
}
.dna-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dna-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.dna-account.connected {
  box-shadow: inset 0 1px #fff8;
}
.dna-account-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
}
.dna-account-main > span {
  display: grid;
  min-width: 0;
}
.dna-account-main strong,
.dna-account-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dna-account-main small {
  font-size: 12px;
  color: var(--muted);
}
.dna-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: 14px;
  align-items: start;
}
.dna-main-grid > .card {
  padding: 18px;
}
.dna-profile-card .badge {
  white-space: nowrap;
}
.dna-profile-rows {
  display: grid;
  margin-top: 10px;
}
.dna-profile-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.dna-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.dna-row-label .icon {
  width: 18px;
  height: 18px;
  color: var(--purple);
}
.dna-row-value {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}
.dna-row-value p {
  margin: 0;
  line-height: 1.55;
}
.dna-row-value .report-beat {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--muted-panel);
  font-size: 12px;
}
.dna-settings-card textarea {
  min-height: 76px;
}
.dna-insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.dna-insight-grid > .card {
  padding: 15px;
}
.dna-signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.dna-signal-list > div {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 13px;
  background: var(--muted-panel);
  text-align: center;
}
.dna-signal-list small {
  font-size: 11px;
  color: var(--muted);
}
.dna-status {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
}
.dna-status.ready {
  background: color-mix(in srgb, var(--teal) 14%, var(--panel));
  color: var(--teal);
}
.dna-status .icon {
  width: 18px;
  height: 18px;
}
.dna-best-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.dna-best-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
}
.dna-best-list li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--purple) 10%, var(--panel));
  color: var(--purple);
  font-weight: 800;
}
.dna-best-list p {
  margin: 0;
  font-size: 13px;
}
.dna-use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.dna-use-grid a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--muted-panel);
  color: var(--text);
}
.dna-use-grid .icon {
  width: 17px;
  height: 17px;
  color: var(--purple);
}
.dna-disconnect {
  justify-content: flex-end;
}
@media (max-width: 1100px) {
  .dna-main-grid {
    grid-template-columns: 1fr;
  }
  .dna-insight-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dna-insight-grid > .card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .dna-account-grid,
  .dna-insight-grid {
    grid-template-columns: 1fr;
  }
  .dna-insight-grid > .card:last-child {
    grid-column: auto;
  }
  .dna-profile-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dna-account {
    min-height: 64px;
  }
  .dna-use-grid {
    grid-template-columns: 1fr;
  }
  .dna-signal-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dna-signal-list strong {
    font-size: 12px;
  }
}
.preview-dock {
  position: fixed;
  right: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: #ffffffea;
  border: 1px solid white;
  border-radius: 999px;
  box-shadow: 0 5px 24px #333e7c23;
  backdrop-filter: blur(16px);
  z-index: 300;
  font-size: 11px;
  color: #6776a9;
}
.preview-dock button,
.preview-dock a {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.preview-dock button {
  color: #8846da;
}
.preview-dock a:hover,
.preview-dock button:hover {
  background: #ece7ff;
}
.preview-dock ~ * {
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .preview-dock {
    right: 8px;
    bottom: 8px;
    font-size: 10px;
  }
  .preview-dock button span {
    display: none;
  }
  .preview-dock button,
  .preview-dock a {
    padding: 6px 8px;
  }
}
:root {
  --rh-sidebar: 244px;
  --rh-header: 72px;
  --bg: #edf2ff;
  --text: #101647;
  --muted: #6071a9;
  --solid: #f9fbff;
  --panel: rgba(255, 255, 255, 0.57);
  --nav: rgba(250, 252, 255, 0.64);
  --line: rgba(153, 172, 227, 0.25);
  --accent: #7840ec;
  --accent-hover: #672ce0;
  --pink: #ef36c8;
  --purple: #8839fc;
  --teal: #0999ad;
  --teal-soft: #dbf9f5;
  --success: #00a85b;
  --danger: #ec3067;
  --rh-gradient: linear-gradient(
    110deg,
    #f54add 0%,
    #b44ef1 38%,
    #7173fb 67%,
    #32cffa 100%
  );
  --radius: 22px;
  --shadow: 0 8px 24px -15px #4a64b455, 0 2px 7px #7e90d511;
  --glass-inset: inset 0 1px 0 #fff, inset 0 -1px 0 #d0dcff80;
  --dash-glass: linear-gradient(135deg, #ffffffc9, #ffffff65);
  --dash-shadow: var(--shadow);
  --motion-fast: 0.18s;
  --ease: cubic-bezier(0.22, 0.68, 0, 1.05);
}
body {
  font-family: Onest, Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: clip;
}
body:before {
  z-index: -1;
  opacity: 1;
  background:
    radial-gradient(ellipse at 93% 17%, #edb8fc45, transparent 43%),
    radial-gradient(ellipse at 25% 84%, #8ef3fc26, transparent 45%),
    url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/aurora-rescue.webp) center
      top/cover fixed;
}
body:after {
  content: none !important;
}
h1 {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.16;
}
h2 {
  font-weight: 760;
  letter-spacing: -0.65px;
}
h3 {
  font-weight: 700;
}
.muted {
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 12px auto 12px 12px;
  width: var(--rh-sidebar);
  height: calc(100dvh - 24px);
  padding: 18px 12px 10px;
  background: linear-gradient(150deg, #ffffffc7, #f4f8ff80 60%, #eaf4ffa6);
  border: 1px solid #fff;
  border-radius: 27px;
  box-shadow:
    0 12px 40px -24px #5c70cf66,
    inset 0 1px 1px #fff;
  backdrop-filter: blur(22px) saturate(145%);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 50;
  overflow: hidden;
}
.brand-row {
  padding: 0 7px 20px;
}
.brand {
  gap: 9px;
}
.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px #903dff28);
}
.brand strong {
  font-size: 21px;
  letter-spacing: -0.9px;
  font-weight: 800;
  white-space: nowrap;
}
.brand small {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 3px;
  max-width: 170px;
}
.sidebar-project {
  padding: 0 1px 12px;
}
.sidebar-project label {
  margin: 0 7px 6px;
  font-size: 12px;
  font-weight: 500;
}
.sidebar-project > div {
  border: 1px solid #fff;
  background: #ffffff95;
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 7px 9px;
  gap: 9px;
}
.project-monogram {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: linear-gradient(145deg, #383e4f, #06080f);
  color: #fff;
  box-shadow: 0 3px 5px #14223a38;
  font-weight: 600;
}
.project-picker {
  font-size: 14px;
  min-height: 30px;
  padding: 3px 22px 3px 0;
  border: 0;
  box-shadow: none;
  background-color: transparent;
}
.sidebar nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 3px 1px;
  scrollbar-width: thin;
  scrollbar-color: #aabaf050 transparent;
}
.nav-link {
  min-height: 39px;
  margin: 2px 0;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 480;
  color: #15194b;
  line-height: 1.25;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.nav-link .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.nav-link:hover {
  background: #ffffffa8;
  box-shadow: inset 0 1px #fff;
  transform: translate(2px);
  color: var(--purple);
}
.nav-link.active {
  background: var(--rh-gradient);
  border-color: #ffffffb3;
  color: #fff;
  font-weight: 650;
  box-shadow:
    0 5px 16px -5px #b76cf5a0,
    inset 0 2px 2px #ffffff78,
    inset 0 -2px 2px #6950cd18;
}
.nav-footer {
  flex: none;
  padding: 12px 1px 0;
  margin-top: 2px;
}
.sidebar-plan {
  min-height: 60px;
  border: 1px solid white;
  background: linear-gradient(110deg, #ffffff8c, #dce8ff85);
  border-radius: 17px;
  padding: 9px 12px;
  box-shadow: var(--shadow);
}
.sidebar-plan img {
  width: 35px;
  height: 35px;
}
.sidebar-plan small {
  font-size: 12px;
}
.sidebar-plan strong {
  font-size: 17px;
}
.sidebar-user {
  margin-top: 9px;
  padding: 9px 8px;
  background: #ffffff86;
  border: 1px solid #fff;
  border-radius: 16px;
  gap: 9px;
}
.avatar {
  width: 36px;
  height: 36px;
  font-size: 12px;
  background: linear-gradient(135deg, #e5c2ff, #b9eefa);
  color: #55308b;
  box-shadow: inset 0 1px 2px #fff;
}
.sidebar-username strong {
  font-size: 13px;
}
.sidebar-username small {
  font-size: 11px;
}
.sidebar-user .btn {
  width: 30px;
  min-height: 30px;
  padding: 5px;
}
.sidebar-version {
  font-size: 11px;
  padding: 10px 7px 1px;
  display: block;
  color: #7888bc;
}
.sidebar-note {
  display: none;
}
.workspace {
  margin-inline-start: calc(var(--rh-sidebar) + 34px);
  width: auto;
  min-width: 0;
}
.topbar {
  height: var(--rh-header);
  min-height: var(--rh-header);
  padding: 12px 25px 10px 0;
  gap: 18px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
  z-index: 60;
}
.topbar > .row:has(.mobile-toggle) {
  display: none;
}
.header-search {
  height: 44px;
  min-height: 44px;
  border-radius: 18px;
  border: 1px solid #fff;
  background: linear-gradient(125deg, #ffffffd4, #ffffff65);
  box-shadow:
    var(--shadow),
    inset 0 1px 1px #fff;
  max-width: none;
  flex: 1;
  padding: 0 12px;
  gap: 10px;
}
.header-search .icon {
  color: #343888;
}
.header-search input {
  padding: 6px 0;
  font-size: 14px;
  height: 40px;
  min-height: 40px;
}
.search-submit {
  border: 0;
  border-radius: 8px;
  background: #e6e4ffab;
  color: #7e75bd;
  padding: 5px 7px;
  font-size: 12px;
  min-width: 36px;
}
.top-actions {
  gap: 12px;
  flex-wrap: nowrap;
}
.lang-button,
.theme-pair,
.top-actions > .btn.icon-only {
  height: 44px;
  min-height: 44px;
  background: linear-gradient(145deg, #ffffffe6, #ffffff7a);
  border: 1px solid #fff;
  border-radius: 17px;
  box-shadow:
    var(--shadow),
    inset 0 1px 1px #fff;
}
.lang-button {
  padding: 9px 13px;
  gap: 8px;
  font-size: 14px;
}
.lang-button:after {
  content: "⌄";
  font-size: 13px;
  margin-left: 3px;
}
.theme-pair {
  padding: 5px;
  gap: 2px;
  width: 83px;
}
.theme-pair > span {
  height: 31px;
  width: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.theme-pair > span:first-child {
  background: #fff3dd;
  color: #f90;
}
.theme-pair > span:last-child {
  background: #efe2ff;
  color: #9140f9;
}
.top-actions > .btn.icon-only {
  width: 44px;
  padding: 9px;
}
.header-create {
  height: 44px;
  min-height: 44px;
  font-size: 14px;
  padding: 10px 17px;
  border-radius: 15px !important;
}
.header-create .icon {
  width: 20px;
  height: 20px;
}
.content {
  padding: 1px 25px 28px 0;
  max-width: 1800px;
  margin: 0 auto;
}
.page {
  animation: rh-page-in 0.32s ease-out;
  min-width: 0;
}
.page-heading {
  margin: 15px 0 22px;
  gap: 15px;
}
.page-heading p {
  font-size: 15px;
  margin-top: 7px;
}
.stack {
  gap: 18px;
}
.grid {
  gap: 16px;
}
.card,
.dash-section,
.dash-mini {
  background: linear-gradient(132deg, #ffffffc2, #ffffff60 57%, #f8fcff91);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(10px) saturate(125%);
}
.card {
  padding: 22px;
}
.card.soft {
  background: linear-gradient(125deg, #e9edff80, #eafcff65);
  border-color: #fffa;
  box-shadow: inset 0 1px 1px #fff;
}
.card-header {
  margin-bottom: 17px;
}
.card .card,
.dash-section .dash-platform,
.dash-section .dash-chart-panel {
  backdrop-filter: none;
}
.card.tint {
  background: linear-gradient(120deg, #ffffffb8, #d8f6fb7a);
}
.card.pink {
  background: linear-gradient(120deg, #fff9, #f4defc72);
  border-color: #fff;
}
.badge {
  border-radius: 9px;
  padding: 4px 9px;
  border: 1px solid #ffffff70;
  font-size: 12px;
}
.badge.good {
  color: #008a59;
  background: #d8f9ea;
}
.badge.pink {
  color: #9231e7;
  background: #f0defe;
}
.badge.error {
  color: #e33368;
  background: #ffe4ef;
}
.btn {
  position: relative;
  isolation: isolate;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #ffffffd9;
  border-radius: 14px;
  background: linear-gradient(155deg, #ffffffed, #f8faff88);
  box-shadow:
    0 4px 12px -7px #657ac466,
    inset 0 1px 1px #fff;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.15px;
  transition:
    transform 0.19s var(--ease),
    box-shadow 0.2s,
    filter 0.2s,
    background 0.2s;
  overflow: hidden;
  text-decoration: none;
}
.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 22%,
    #ffffff68 44%,
    transparent 66%
  );
  transform: translate(-120%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn:hover:before {
  transform: translate(120%);
}
.btn:hover {
  background: linear-gradient(150deg, #fff, #f2f2ffca);
  box-shadow:
    0 9px 22px -10px #6f62c966,
    inset 0 1px 1px #fff;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px) scale(0.975);
  box-shadow: inset 0 2px 6px #616da626;
  transition-duration: 0.08s;
}
.btn.primary,
.btn.primary:hover {
  background: var(--rh-gradient);
  border: 1px solid #ffffff95;
  color: #fff;
  box-shadow:
    0 8px 22px -6px #c057e97a,
    inset 0 2px 2px #ffffff76,
    inset 0 -2px 2px #4847be24;
  text-shadow: 0 1px 2px #41348425;
}
.btn.primary:hover {
  filter: saturate(1.15) brightness(1.04);
  box-shadow:
    0 12px 28px -7px #9754e999,
    inset 0 2px 2px #ffffff85;
}
.btn.teal {
  background: linear-gradient(130deg, #dcfdfae8, #c7f4f575);
  color: #078a9c;
  border-color: #fff;
}
.btn.ghost {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
.btn.ghost:hover {
  background: #ffffff87;
  border-color: #fff9;
}
.btn.danger {
  color: var(--danger);
}
.btn:disabled {
  transform: none;
  filter: none;
  opacity: 0.52;
  cursor: not-allowed;
}
.btn:disabled:before {
  display: none;
}
.btn.icon-only {
  width: 44px;
  padding: 10px;
}
.btn.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9246ff;
  outline-offset: 3px;
}
.rh-ripple {
  position: absolute;
  pointer-events: none;
  width: 20px;
  height: 20px;
  background: #ffffff80;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rh-ripple 0.55s ease-out forwards;
}
input,
textarea,
select {
  border: 1px solid #c9d5f499;
  background: linear-gradient(155deg, #ffffffb8, #ffffff67);
  border-radius: 13px;
  min-height: 46px;
  box-shadow:
    inset 0 2px 3px #516ab607,
    0 1px #ffffffb3;
  padding: 11px 13px;
  font-size: 14px;
  color: var(--text);
}
input:focus,
textarea:focus,
select:focus {
  border-color: #b18af4;
  background: #ffffffe0;
  box-shadow:
    0 0 0 4px #ae72ff15,
    inset 0 1px #fff;
}
label {
  font-size: 14px;
  font-weight: 600;
}
textarea {
  line-height: 1.65;
}
input[type="checkbox"] {
  accent-color: #bc51f4;
}
input[type="range"] {
  box-shadow: none;
  background: transparent;
}
.check input {
  min-height: 19px;
}
.switch .track {
  background: #c7d3ec;
}
.switch input:checked + .track {
  background: linear-gradient(100deg, #00cc9f, #00dac6);
  box-shadow: 0 2px 8px #11caa535;
}
.lang-wrap {
  position: relative;
  z-index: 90;
}
.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  width: 215px;
  max-width: calc(100vw - 24px);
  max-height: min(460px, 70dvh);
  overflow-y: auto;
  padding: 7px;
  background: #f9fbfff5;
  border: 1px solid white;
  border-radius: 17px;
  box-shadow: 0 16px 50px #4a4e9e2b;
  backdrop-filter: blur(24px);
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr;
}
.lang-menu button {
  min-height: 38px;
  font-size: 14px;
  border-radius: 10px;
  text-align: start;
}
.lang-menu button:hover,
.lang-menu button.selected {
  background: #eee4ff;
  color: #7f30da;
}
.tabs,
.dash-periods {
  background: linear-gradient(135deg, #ffffffb8, #ffffff65);
  border: 1px solid white;
  border-radius: 15px;
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs > a,
.tabs > button,
.dash-periods button {
  border-radius: 10px;
  min-height: 36px;
  padding: 8px 15px;
  white-space: nowrap;
  font-size: 14px;
  border: 0;
  background: transparent;
}
.tabs .active,
.tabs [aria-selected="true"],
.dash-periods [aria-pressed="true"] {
  background: linear-gradient(110deg, #f8d9fb, #dce9ff);
  color: #9232e6;
  box-shadow:
    inset 0 1px 1px #fff,
    0 2px 7px #9079d214;
}
.dash-title {
  margin: 0 0 12px;
  padding-top: 2px;
  min-height: 65px;
  align-items: center;
}
.dash-title h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -1.4px;
}
.dash-title p {
  font-size: 15px;
  margin-top: 5px;
  color: #6375ae;
}
.dash-handwritten {
  font-family: Caveat, cursive;
  font-size: 25px;
  line-height: 1.02;
  max-width: 245px;
  color: #9693f7;
  transform: rotate(-7deg);
  padding-right: 35px;
}
.dash-handwritten span {
  font-size: 37px;
  right: 0;
  top: 0;
}
.dash-stats {
  gap: 11px;
  margin-bottom: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.dash-stat {
  min-height: 101px;
  position: relative;
  padding: 13px 12px 33px;
  gap: 12px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: linear-gradient(120deg, #ffffffdc, #ffffff6e);
  box-shadow:
    var(--shadow),
    inset 0 1px 1px #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
}
.dash-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -14px #7b5fcb75;
}
.stat-symbol {
  width: 37px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #e1efff);
  color: #086bff;
  box-shadow: inset 0 1px 2px #fff;
}
.stat-symbol .icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px #2798ff40);
}
.dash-stat.pink .stat-symbol {
  color: #ff305d;
  background: linear-gradient(145deg, #fff, #ffe4ec);
}
.dash-stat.purple .stat-symbol {
  color: #a132fa;
  background: linear-gradient(145deg, #fff, #f6e0ff);
}
.dash-stat.green .stat-symbol {
  color: #00b45d;
  background: linear-gradient(145deg, #fff, #e2ffed);
}
.stat-label {
  font-size: 12px;
  color: #15194b;
  font-weight: 620;
  white-space: normal;
}
.dash-stat strong {
  font-size: 27px;
  font-weight: 780;
  letter-spacing: -0.8px;
  line-height: 1.3;
}
.dash-stat small {
  font-size: 12px;
  margin-left: 6px;
}
.dash-spark {
  position: absolute;
  bottom: 5px;
  left: 12px;
  width: calc(100% - 24px);
  height: 27px;
}
.dash-spark-empty {
  height: 0;
}
.dash-section {
  padding: 11px;
  margin-bottom: 12px;
}
.dash-section-heading {
  padding: 0 3px;
  margin-bottom: 10px;
  gap: 10px;
}
.dash-section-heading h2 {
  font-size: 21px;
  line-height: 1.25;
}
.dash-section-heading p {
  font-size: 12px;
  margin-top: 2px;
}
.section-symbol {
  width: 25px;
  height: 29px;
}
.section-symbol .icon {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}
.dash-date {
  font-size: 12px;
  background: #ffffffab;
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  padding: 8px 12px;
  border-radius: 13px;
  min-height: 36px;
}
.dash-platform-grid {
  gap: 11px;
}
.dash-platform {
  border: 1px solid #fff;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffffa6, #f5f5ff6a);
  padding: 11px 12px;
  box-shadow: inset 0 1px 1px #fff;
}
.dash-platform header {
  gap: 9px;
  margin-bottom: 9px;
}
.dash-platform header > .platform {
  width: 32px;
  height: 32px;
}
.dash-platform header h3 {
  font-size: 16px;
}
.connection-state {
  font-size: 11px;
  padding: 5px 9px;
}
.connection-state.connected {
  background: #d9fbea;
  color: #00ad50;
}
.connection-state.disconnected {
  background: #ffe1ed;
  color: #ff316b;
}
.platform-open {
  margin-left: auto;
}
.dash-platform-body {
  gap: 9px;
  grid-template-columns: 1.28fr 0.9fr;
}
.dash-metrics {
  gap: 5px;
}
.dash-metric {
  gap: 7px;
  min-height: 34px;
}
.metric-symbol {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecf4ff, #e7efff);
  color: #1675ff;
}
.metric-symbol .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}
.dash-metric > div {
  min-height: 34px;
  padding: 3px 8px;
  background: linear-gradient(100deg, #ecf0ff95, #e2f5f676);
  border-radius: 9px;
}
.dash-metric strong {
  font-size: 15px;
  line-height: 1.1;
}
.dash-metric > div > span {
  font-size: 11px;
  line-height: 1.15;
}
.positive {
  color: #00b757;
}
.negative {
  color: #f3326b;
}
.neutral {
  color: #cf8100;
}
.metric-likes .metric-symbol {
  color: #fb386a;
  background: #ffeaf3;
}
.metric-comments .metric-symbol {
  color: #9840ff;
  background: #f0e8ff;
}
.metric-saves .metric-symbol {
  color: #2380ff;
}
.dash-platform.tiktok .metric-followers .metric-symbol {
  color: #00ba65;
  background: #dfe;
}
.dash-platform-art {
  justify-content: space-between;
}
.glass-social {
  width: 114px;
  height: 110px;
  max-width: 100%;
  filter: drop-shadow(0 12px 12px #b685fb3d);
  background-size: 300% 100%;
  transform: rotate(-5deg);
}
.glass-social.youtube {
  transform: rotate(-8deg);
}
.dash-comparison {
  background: #ffffffa3;
  border: 1px solid white;
  box-shadow: var(--shadow);
  border-radius: 15px;
  padding: 9px 10px;
  align-self: center;
  width: 100%;
  max-width: 128px;
}
.dash-comparison strong {
  font-size: 19px;
}
.dash-comparison span {
  font-size: 11px;
}
.dash-platform-art > p {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}
.dash-platform-art .btn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 11px;
}
.dash-trends .dash-section-heading {
  margin-bottom: 9px;
}
.dash-chart-grid {
  gap: 10px;
}
.dash-chart-panel {
  padding: 9px 10px 3px;
  border: 1px solid #fff;
  background: #fff8;
  border-radius: 16px;
}
.dash-chart-panel header {
  gap: 7px;
}
.dash-chart-panel h3 {
  font-size: 12px;
  line-height: 1.3;
}
.dash-chart-panel header > strong {
  font-size: 13px;
  background: #eee6ff;
  padding: 3px 7px;
  border-radius: 8px;
}
.dash-chart-panel .metric-symbol {
  width: 27px;
  height: 27px;
}
.dash-chart-panel .metric-symbol .icon {
  width: 20px;
  height: 20px;
}
.dash-chart-controls select {
  font-size: 12px;
  min-height: 33px;
  padding: 6px 10px;
  max-width: 120px;
}
.dash-periods {
  padding: 3px;
}
.dash-periods button {
  min-height: 29px;
  font-size: 12px;
  padding: 6px 12px;
}
.dash-chart {
  height: 105px;
}
.dash-chart svg {
  height: 105px;
  width: 100%;
}
.dash-chart svg text {
  font-size: 11px;
  fill: #6577b2;
}
.dash-chart svg .chart-value {
  fill: var(--text);
  font-weight: 700;
}
.dash-chart-grid path.dash-chart-grid {
  stroke: #dbe5fc;
  stroke-width: 1;
}
.dash-lower-grid {
  gap: 10px;
  margin-bottom: 12px;
  grid-template-columns: 1.3fr 1fr 1.05fr 1.15fr;
}
.dash-mini {
  padding: 10px;
  border-radius: 17px;
}
.dash-mini header {
  gap: 6px;
  margin-bottom: 9px;
}
.dash-mini header h3 {
  font-size: 12px;
}
.dash-mini header > .icon {
  width: 18px;
  height: 18px;
  color: #9732ff;
}
.dash-source-grid {
  gap: 5px;
}
.dash-source {
  padding: 7px 5px;
  background: #ffffff96;
  border: 1px solid white;
  border-radius: 11px;
}
.dash-source .platform {
  width: 25px;
  height: 25px;
}
.dash-source strong {
  font-size: 11px;
}
.dash-source > span,
.dash-source small {
  font-size: 10px;
}
.source-status {
  width: 25px;
  height: 14px;
  background: #d4def6;
  border-radius: 20px;
  position: relative;
  border: 1px solid white;
}
.source-status:after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 1px;
  top: 1px;
  border-radius: 50%;
  background: #fff;
}
.source-status.enabled {
  background: #00d5b2;
}
.source-status.enabled:after {
  left: 12px;
}
.dash-library-row {
  gap: 5px;
  font-size: 11px;
  min-height: 24px;
  padding: 2px 5px;
  border-radius: 6px;
  background: #eef1ff75;
  margin-bottom: 3px;
}
.dash-library-row .icon {
  width: 15px;
  height: 15px;
  color: #297aff;
}
.dash-library-row strong {
  font-size: 11px;
}
.dash-usage-row {
  font-size: 10px;
  gap: 5px;
  margin-bottom: 8px;
}
.dash-usage-row small {
  font-size: 10px;
}
.dash-usage-row progress {
  height: 6px;
  min-width: 28px;
}
.dash-quick-grid {
  gap: 5px;
}
.dash-quick {
  padding: 6px;
  gap: 6px;
  min-height: 45px;
  border: 1px solid #fff;
  border-radius: 11px;
  background: #ffffff96;
  font-size: 10px;
  line-height: 1.25;
}
.dash-quick .icon {
  width: 21px;
  height: 21px;
  color: #9638ff;
}
.dash-history-list {
  gap: 8px;
}
.dash-history-item {
  padding: 9px 7px;
  gap: 7px;
  background: #ffffff8c;
  border: 1px solid #fff;
  border-radius: 13px;
  min-width: 0;
}
.dash-history-item > div {
  min-width: 0;
}
.dash-history-item strong,
.history-description {
  font-size: 11px;
}
.history-time {
  font-size: 10px;
}
.dash-history-item .badge {
  font-size: 10px;
  padding: 2px 5px;
}
.dash-recent .dash-section-heading {
  margin-bottom: 8px;
}
@keyframes rh-page-in {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rh-ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}
@media (min-width: 1700px) {
  :root {
    --rh-sidebar: 256px;
  }
  .content {
    padding-top: 9px;
  }
  .dash-title {
    margin-bottom: 20px;
  }
  .dash-stat {
    min-height: 118px;
    padding: 16px 14px 36px;
  }
  .dash-platform {
    padding: 16px;
  }
  .dash-metric {
    min-height: 42px;
  }
  .dash-metric > div {
    min-height: 42px;
  }
  .dash-metric strong {
    font-size: 18px;
  }
  .dash-metric > div > span {
    font-size: 12px;
  }
  .dash-section {
    padding: 15px;
    margin-bottom: 16px;
  }
  .dash-platform-art .glass-social {
    width: 150px;
    height: 142px;
  }
  .dash-chart {
    height: 135px;
  }
  .dash-chart svg {
    height: 135px;
  }
  .dash-mini {
    padding: 14px;
  }
  .dash-lower-grid {
    gap: 14px;
  }
  .dash-source strong,
  .dash-source > span,
  .dash-source small,
  .dash-library-row,
  .dash-library-row strong,
  .dash-usage-row,
  .dash-usage-row small,
  .dash-quick,
  .dash-history-item strong,
  .history-description,
  .history-time {
    font-size: 12px;
  }
}
@media (max-width: 1180px) and (min-width: 901px) {
  :root {
    --rh-sidebar: 216px;
  }
  .sidebar {
    padding: 16px 9px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand img {
    width: 36px;
  }
  .nav-link {
    font-size: 13px;
    padding: 9px;
  }
  .brand small {
    font-size: 10px;
  }
  .topbar {
    gap: 10px;
    padding-right: 16px;
  }
  .top-actions {
    gap: 7px;
  }
  .content {
    padding-right: 16px;
  }
  .header-create span {
    display: none;
  }
  .header-create {
    padding: 10px;
    width: 44px;
  }
  .dash-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dash-platform header {
    gap: 5px;
    flex-wrap: wrap;
  }
  .connection-state {
    font-size: 10px;
  }
  .dash-platform header h3 {
    font-size: 14px;
  }
  .dash-platform-body {
    grid-template-columns: 1fr;
  }
  .dash-platform-art {
    display: none;
  }
  .dash-stats {
    gap: 7px;
  }
  .dash-stat {
    padding: 10px 8px 30px;
    gap: 6px;
  }
  .stat-symbol {
    width: 28px;
    height: 31px;
  }
  .stat-label {
    font-size: 11px;
  }
  .dash-stat strong {
    font-size: 23px;
  }
  .dash-lower-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-mini {
    padding: 13px;
  }
  .dash-history-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .workspace {
    margin: 0;
    width: 100%;
  }
  .topbar {
    padding: 10px 16px;
    position: sticky;
    top: 0;
    height: 68px;
    min-height: 68px;
    background: #f0f4ffd9;
    backdrop-filter: blur(18px);
    gap: 12px;
    border-bottom: 1px solid #fff;
  }
  .topbar > .row:has(.mobile-toggle) {
    display: flex;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .sidebar {
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: min(288px, calc(100vw - 48px));
    height: calc(100dvh - 20px);
    transform: translate(calc(-100% - 20px));
    transition: transform 0.25s var(--ease);
    z-index: 120;
    padding: 16px 12px;
  }
  .nav-open .sidebar {
    transform: none;
  }
  .mobile-shade {
    z-index: 110;
    background: #17255046;
    backdrop-filter: blur(6px);
  }
  .nav-open .mobile-shade {
    display: block;
  }
  .brand-row {
    padding-bottom: 16px;
  }
  .brand strong {
    font-size: 21px;
  }
  .sidebar nav {
    padding-right: 3px;
  }
  .nav-link {
    min-height: 42px;
    font-size: 14px;
  }
  .sidebar-note {
    display: none;
  }
  .content {
    padding: 16px;
  }
  .header-search {
    min-width: 0;
  }
  .top-actions {
    gap: 8px;
  }
  .header-create span {
    display: none;
  }
  .header-create {
    width: 44px;
    padding: 10px;
  }
  .lang-button {
    padding: 9px;
  }
  .language-name {
    display: none;
  }
  .lang-button:after {
    display: none;
  }
  .theme-pair {
    width: 75px;
  }
  .dash-title h1 {
    font-size: 32px;
  }
  .dash-handwritten {
    font-size: 22px;
    max-width: 195px;
  }
  .dash-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dash-stat {
    min-height: 105px;
  }
  .dash-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dash-platform header {
    flex-wrap: wrap;
  }
  .dash-platform-body {
    grid-template-columns: 1fr;
  }
  .dash-platform-art {
    display: none;
  }
  .dash-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-chart-panel:last-child {
    grid-column: 1/-1;
  }
  .dash-lower-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lang-menu {
    position: fixed;
    top: 66px;
    right: 12px;
    left: auto;
    width: 230px;
    max-height: calc(100dvh - 90px);
  }
  .topbar .btn.icon-only,
  .topbar .lang-button,
  .theme-pair {
    height: 42px;
    min-height: 42px;
  }
  .page-heading {
    margin-top: 0;
  }
  .dash-chart-controls {
    flex-wrap: wrap;
  }
  .sidebar-version {
    padding-bottom: 2px;
  }
}
@media (max-width: 600px) {
  .topbar {
    gap: 8px;
    padding: 9px 12px;
    height: 63px;
    min-height: 63px;
  }
  .topbar > .row {
    gap: 0;
  }
  .header-search {
    display: none;
  }
  .topbar:after {
    content: "Reels Hunter";
    font-size: 17px;
    font-weight: 780;
    letter-spacing: -0.5px;
    order: 0;
    margin-right: auto;
  }
  .topbar > .row {
    order: -1;
  }
  .top-actions {
    order: 1;
    gap: 6px;
  }
  .top-actions > .btn.icon-only {
    display: none;
  }
  .header-create {
    display: none;
  }
  .theme-pair {
    width: 69px;
    padding: 3px;
  }
  .lang-button {
    width: 39px;
  }
  .content {
    padding: 15px 12px 28px;
  }
  .dash-title {
    min-height: 58px;
    margin-bottom: 14px;
  }
  .dash-title h1 {
    font-size: 30px;
  }
  .dash-title p {
    font-size: 13px;
    max-width: 260px;
  }
  .dash-handwritten {
    display: none;
  }
  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .dash-stat {
    min-height: 102px;
    padding: 12px 10px 31px;
    gap: 9px;
  }
  .dash-stat:last-child {
    grid-column: 1/-1;
    min-height: 87px;
  }
  .dash-stat:last-child .dash-spark {
    left: auto;
    right: 12px;
    width: 45%;
    height: 43px;
    bottom: 18px;
  }
  .dash-stat:last-child > div {
    min-width: 0;
  }
  .dash-stat strong {
    font-size: 27px;
  }
  .dash-stat .stat-label {
    font-size: 12px;
  }
  .dash-section {
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 12px;
  }
  .dash-section-heading {
    gap: 8px;
    align-items: start;
    flex-wrap: wrap;
  }
  .dash-section-heading h2 {
    font-size: 20px;
  }
  .dash-section-heading p {
    font-size: 12px;
    max-width: 255px;
  }
  .dash-section-heading .dash-date {
    margin-left: 34px;
    min-height: 30px;
    padding: 5px 9px;
    font-size: 11px;
  }
  .dash-platform-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dash-platform {
    padding: 13px;
    border-radius: 16px;
  }
  .dash-platform header {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .dash-platform header h3 {
    font-size: 17px;
  }
  .connection-state {
    font-size: 11px;
    padding: 5px 8px;
  }
  .dash-platform-body {
    grid-template-columns: 1.4fr 1fr;
    gap: 13px;
  }
  .dash-platform-art {
    display: flex;
  }
  .dash-metric {
    min-height: 39px;
    gap: 7px;
  }
  .dash-metric > div {
    min-height: 39px;
    padding: 4px 9px;
  }
  .dash-metric strong {
    font-size: 17px;
  }
  .dash-metric > div > span {
    font-size: 12px;
  }
  .metric-symbol {
    width: 34px;
    height: 36px;
  }
  .glass-social {
    width: 125px;
    height: 123px;
  }
  .dash-comparison strong {
    font-size: 20px;
  }
  .dash-comparison span {
    font-size: 12px;
  }
  .dash-chart-grid {
    grid-template-columns: 1fr;
  }
  .dash-chart-panel:last-child {
    grid-column: auto;
  }
  .dash-chart-panel {
    padding: 10px;
  }
  .dash-chart-panel h3 {
    font-size: 14px;
  }
  .dash-chart {
    height: 126px;
  }
  .dash-chart svg {
    height: 126px;
  }
  .dash-chart-controls {
    width: 100%;
    justify-content: space-between;
    margin-top: 5px;
  }
  .dash-periods button {
    font-size: 12px;
    padding: 6px 10px;
  }
  .dash-lower-grid {
    grid-template-columns: 1fr;
  }
  .dash-mini {
    padding: 13px;
  }
  .dash-mini header h3 {
    font-size: 15px;
  }
  .dash-source strong,
  .dash-source > span,
  .dash-source small {
    font-size: 12px;
  }
  .dash-source {
    padding: 10px;
  }
  .dash-library-row {
    font-size: 14px;
    min-height: 34px;
    padding: 5px 8px;
  }
  .dash-library-row strong {
    font-size: 13px;
  }
  .dash-usage-row,
  .dash-usage-row small {
    font-size: 12px;
  }
  .dash-quick {
    font-size: 13px;
    padding: 10px;
    min-height: 52px;
  }
  .dash-history-list {
    grid-template-columns: 1fr;
  }
  .dash-history-item {
    padding: 12px;
    gap: 10px;
  }
  .dash-history-item strong,
  .history-description {
    font-size: 13px;
  }
  .history-time {
    font-size: 12px;
  }
  .dash-history-item .badge {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 18px;
  }
  .page-heading > .actions,
  .page-heading > .row {
    width: 100%;
  }
  .page-heading .btn {
    flex: 1;
  }
  .card {
    padding: 16px;
    border-radius: 19px;
  }
  .cols2,
  .cols3,
  .cols4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
  .actions {
    gap: 8px;
  }
  .actions > .btn {
    flex: 1;
    min-width: 0;
  }
  .btn {
    padding: 11px 13px;
    font-size: 14px;
    min-height: 46px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
  }
  .tabs > a,
  .tabs > button {
    font-size: 13px;
    padding: 9px 12px;
    min-height: 40px;
  }
  .lang-menu {
    top: 60px;
    max-height: calc(100dvh - 84px);
  }
  .page-heading p {
    font-size: 14px;
  }
  .topbar .icon {
    width: 21px;
    height: 21px;
  }
  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    border-radius: 21px;
    padding: 20px;
  }
  dialog .row {
    flex-wrap: wrap;
  }
  .table-wrap {
    overflow-x: auto;
    max-width: 100%;
  }
}
.sidebar nav .nav-link.active {
  color: #fff;
  background: var(--rh-gradient);
  border-color: #fff8;
}
.sidebar-project {
  margin-bottom: 4px;
}
.brand-row {
  margin-bottom: 0;
}
.sidebar .brand {
  padding: 0;
}
.sidebar nav .nav-link {
  font-size: 14px;
  min-height: 39px;
}
.search-submit {
  white-space: nowrap;
  min-width: 40px;
}
.dash-platform-body {
  height: auto;
  min-height: 205px;
}
.dash-platform-art {
  min-width: 0;
  max-width: none;
}
.dash-platform.youtube .glass-social {
  height: 110px;
}
.dash-stat .stat-label {
  white-space: normal;
}
.dash-comparison {
  padding: 9px;
}
.dash-comparison span {
  line-height: 1.45;
  display: block;
}
.dash-date .icon {
  width: 16px;
  height: 16px;
}
.dash-mini h3 {
  font-weight: 720;
}
.history-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn.primary .icon {
  color: inherit;
}
.feed-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feed-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 19px;
  overflow: visible;
  transition: transform 0.25s;
}
.feed-poster {
  aspect-ratio: 9/16 !important;
  height: auto !important;
  border-radius: 18px;
  box-shadow: 0 8px 20px -12px #263a7180;
  background: #d9dff4;
}
.feed-poster:after {
  background: linear-gradient(
    180deg,
    #09132b24,
    transparent 30%,
    transparent 75%,
    #09132b30
  );
}
.feed-poster > img {
  transition: transform 0.6s ease;
}
.feed-card:hover .feed-poster > img {
  transform: scale(1.025);
}
.feed-overlays {
  padding: 10px;
}
.feed-top {
  gap: 7px;
  align-items: start;
}
.feed-platform {
  font-size: 12px;
  font-weight: 650;
  gap: 6px;
  border-radius: 11px;
  padding: 6px 8px;
  background: #25283c88;
  box-shadow: inset 0 1px 1px #ffffff2e;
  backdrop-filter: blur(10px);
}
.feed-platform .platform-icon {
  width: 23px;
  height: 23px;
}
.feed-poster .score {
  font-size: 16px;
  display: flex;
  gap: 5px;
  min-height: 34px;
  border: 1px solid #ffffffbc;
  background: #3aa7b789;
  border-radius: 11px;
  padding: 5px 8px;
  color: #fff;
  box-shadow: inset 0 1px 2px #fff7;
  backdrop-filter: blur(8px);
}
.feed-score-label {
  font-size: 10px;
}
.feed-play {
  opacity: 0;
  transition: opacity 0.2s;
}
.feed-poster:hover .feed-play,
.feed-play:focus-visible {
  opacity: 1;
}
.feed-side-actions {
  top: 59px;
  right: 10px;
  gap: 7px;
}
.feed-side-actions .btn {
  background: #2824327e;
  border: 1px solid #ffffff33;
  box-shadow: inset 0 1px 1px #ffffff3b;
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 12px;
  width: 39px;
  height: 39px;
  min-height: 39px;
  padding: 8px;
}
.feed-side-actions .btn:hover {
  background: #605281a8;
  transform: translateY(-1px);
}
.feed-side-actions .btn.saved {
  background: #b84aad9c;
  color: #fff;
}
.feed-metrics {
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: #3129388f;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff2e;
  border-radius: 13px;
  padding: 8px 5px;
  box-shadow: inset 0 1px 1px #fff3;
  font-size: 12px;
}
.feed-metrics .icon {
  width: 20px;
  height: 20px;
}
.feed-body {
  background: linear-gradient(145deg, #ffffffad, #fff5);
  padding: 12px 9px 10px;
  border-radius: 0 0 17px 17px;
}
.feed-title {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 520;
  color: #282b62;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-author {
  font-size: 13px;
  color: #593cf3;
  margin-bottom: 7px;
  gap: 8px;
}
.feed-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ffc8e4, #ded4ff);
  color: #693778;
  font-size: 11px;
}
.feed-date {
  font-size: 12px;
  margin: 4px 0 9px;
  color: #8190c0;
}
.feed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.feed-actions .btn {
  min-height: 43px;
  font-size: 12px;
  line-height: 1.3;
  padding: 8px 7px;
  border-radius: 12px;
  gap: 4px;
}
.feed-actions .button-arrow,
.feed-actions .btn.primary > .icon {
  display: none;
}
.feed-filters {
  padding: 0;
  margin: 16px 0 10px;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr auto;
}
.feed-filters select,
.feed-filters input {
  min-height: 43px;
  font-size: 13px;
  border: 1px solid #fff;
  background-color: #ffffffa3;
  box-shadow: var(--shadow);
}
.feed-filters .btn {
  min-height: 43px;
}
.feed-result-count {
  font-size: 12px;
  color: #8390ba;
  margin: 7px 1px 12px;
}
.feed-anomaly .feed-poster {
  box-shadow: 0 8px 20px -12px #263a7180;
}
.feed-grid .feed-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  max-width: 1720px;
  margin: 0 auto;
  background: transparent;
}
.auth-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  padding: 75px clamp(32px, 6vw, 100px);
  background: linear-gradient(120deg, #ffffff79, #ffffff14);
  border-right: 1px solid #fff8;
  min-width: 0;
  overflow: visible;
}
.auth-art:before,
.auth-art:after {
  content: none;
}
.auth-art .brand {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 780;
  margin-bottom: 35px;
}
.auth-art .brand img {
  width: 43px;
  height: 43px;
}
.auth-kicker {
  display: inline-flex;
  border: 1px solid #cfaaff80;
  background: linear-gradient(120deg, #faf5ffa3, #eae6ff85);
  padding: 7px 18px;
  border-radius: 999px;
  color: #7171b5;
  font-size: 14px;
  margin-bottom: 23px;
}
.auth-art h1 {
  font-size: clamp(34px, 3.65vw, 59px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -2px;
  margin: 0 0 23px;
  max-width: 620px;
}
.auth-art h1 span {
  background: linear-gradient(110deg, #b363ee, #d947d7);
  background-clip: text;
  color: transparent;
}
.auth-art > p {
  font-size: 18px;
  line-height: 1.6;
  color: #6d7bab;
  max-width: 490px;
  margin: 0;
}
.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 25px;
  width: 100%;
  max-width: 460px;
}
.auth-feature-grid > div {
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}
.auth-feature-grid .mini-icon {
  width: 60px;
  height: 60px;
  border: 1px solid #dcc0ff;
  background: linear-gradient(140deg, #fff8, #f5e7ff8a);
  border-radius: 18px;
  box-shadow:
    inset 0 2px 3px #fff,
    0 6px 20px -12px #a767f359;
  margin-bottom: 10px;
  color: #9a4aff;
}
.auth-feature-grid > div:nth-child(2) .mini-icon {
  border-color: #b2d4ff;
  color: #2379ff;
  background: linear-gradient(140deg, #fff8, #dceaff75);
}
.auth-feature-grid > div:nth-child(3) .mini-icon {
  border-color: #a6e4eb;
  color: #20b4bd;
  background: linear-gradient(140deg, #fff8, #d5fbff80);
}
.auth-feature-grid .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.8;
}
.auth-feature-grid strong {
  font-size: 16px;
  line-height: 1.3;
  display: block;
  max-width: 125px;
}
.auth-feature-grid p {
  font-size: 13px;
  line-height: 1.45;
  color: #7b85ad;
  margin-top: 8px;
}
.auth-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}
.auth-platforms .pill {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #ffffff8c;
  border: 1px solid #cad9fb;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
}
.auth-art > p.auth-quote {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-style: italic;
  color: #7c89b2;
  max-width: 490px;
  width: 100%;
}
.auth-quote span {
  font-style: normal;
  white-space: nowrap;
  font-size: 12px;
}
.auth-form-panel {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 105px clamp(28px, 5vw, 80px) 65px;
  background: transparent;
  min-width: 0;
}
.auth-top {
  position: absolute;
  right: clamp(28px, 5vw, 80px);
  top: 32px;
  display: flex;
  gap: 12px;
  z-index: 80;
}
.auth-form {
  width: 100%;
  max-width: 560px;
  padding: 36px 36px 28px;
  border-radius: 29px;
  border: 1px solid #fff;
  background:
    radial-gradient(ellipse at 24% 0, #ffd0f935, transparent 45%),
    linear-gradient(145deg, #ffffffa8, #f5f7ff68);
  box-shadow:
    0 18px 55px -25px #915dd953,
    inset 0 1px 3px #fff,
    inset 0 -1px 2px #ffffffe6;
  backdrop-filter: blur(18px) saturate(130%);
  text-align: center;
}
.auth-form > h1 {
  font-size: 34px;
  letter-spacing: -1px;
  text-align: center;
  margin: 5px 0 7px;
}
.auth-subtitle {
  font-size: 14px;
  color: #8290bd;
  line-height: 1.5;
  margin: 0 0 25px;
}
.auth-input-field {
  text-align: left;
}
.auth-input-field > label {
  font-size: 12px;
  font-weight: 550;
  color: #697aa9;
  margin-bottom: 6px;
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap > input {
  min-height: 54px;
  border: 1px solid #c8d3f7b5;
  background: #ffffff62;
  border-radius: 15px;
  padding: 13px 43px;
  font-size: 15px;
  box-shadow:
    inset 0 1px 1px #fff,
    0 1px 1px #ffffffe6;
}
.auth-input-wrap > input::placeholder {
  color: #8a98c5;
}
.auth-input-wrap > .icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  color: #7e8eb7;
  width: 21px;
  height: 21px;
}
.auth-input-wrap > button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: #8999be;
}
.auth-input-wrap > button:hover {
  background: #eee9ff;
}
.auth-form #auth-form {
  gap: 16px;
}
.auth-options {
  display: flex;
  justify-content: flex-end;
  margin: -3px 0 2px;
}
.auth-options .link {
  border: 0;
  background: transparent;
  color: #ee469e;
  padding: 3px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-form #auth-form > .btn.primary {
  min-height: 52px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
}
.auth-or {
  font-size: 13px;
  color: #8b97be;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 19px;
}
.auth-or:before,
.auth-or:after {
  background: #cbd7f49e;
}
.auth-providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin: 0;
}
.auth-provider-slot {
  height: 48px;
  min-width: 0;
  max-width: 100%;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.auth-provider-slot > a,
.auth-provider-slot > button {
  width: 100%;
  min-height: 48px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cfdcf9b0;
  border-radius: 13px;
  background: linear-gradient(145deg, #ffffffd6, #ffffff78);
  box-shadow:
    var(--shadow),
    inset 0 1px 1px #fff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  padding: 11px 8px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.auth-provider-slot > a:hover,
.auth-provider-slot > button:hover {
  box-shadow: 0 8px 20px -8px #8371b947;
  transform: translateY(-1px);
}
.auth-provider-slot .platform-icon {
  width: 20px;
  height: 20px;
}
.auth-provider-slot iframe {
  position: static !important;
  inset: auto !important;
  display: block !important;
  max-width: none;
  border: 0;
  margin: 0;
  transform: none !important;
  z-index: auto !important;
}
.auth-telegram:has(iframe) {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.auth-provider-status {
  font-size: 12px;
  line-height: 1.4;
  color: var(--danger);
  min-height: 0;
  margin: 10px 0 0;
}
.auth-provider-status:empty {
  display: none;
}
.auth-bottom {
  font-size: 14px;
  color: #8290bb;
  margin: 24px 0 13px;
  text-align: center;
}
.auth-bottom a {
  color: #e845ab;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-legal {
  font-size: 11px;
  color: #8a96bd;
  line-height: 1.6;
  margin-top: 0;
}
.auth-legal a {
  color: #d94aaa;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-form .notice {
  margin: 20px 0;
}
.auth-form-panel .lang-button,
.auth-form-panel .theme-pair {
  box-shadow: none;
  background: #ffffff65;
}
.auth-top .lang-menu {
  right: 0;
}
.auth-telegram .provider-placeholder {
  padding: 10px;
  font-size: 14px;
}
.analysis-page-eyebrow {
  color: #9746e8;
  letter-spacing: 2px;
  font-size: 12px;
}
.analysis-layout {
  gap: 18px;
}
.analysis-primary .analysis-form {
  gap: 23px;
}
.analysis-form .mini-icon,
.mini-icon {
  background: linear-gradient(135deg, #ffffffb8, #e6e5ff80);
  border: 1px solid #fff;
  border-radius: 14px;
  color: #8e48ef;
  box-shadow:
    inset 0 1px 2px #fff,
    0 4px 10px -7px #b363e86b;
}
.analysis-form h2 {
  font-size: 21px;
}
.analysis-form input {
  min-height: 56px;
  background: #ffffff7d;
}
.analysis-form .help {
  font-size: 13px;
  line-height: 1.6;
}
.analysis-capabilities,
.analysis-benefit,
.analysis-feature-strip .card {
  border-color: #fff;
  box-shadow: var(--shadow);
}
.analysis-feature-strip p {
  font-size: 14px;
  line-height: 1.6;
}
.analysis-history-layout {
  margin-top: 18px;
}
.analysis-promo {
  background:
    radial-gradient(at 90% 0, #d8ffff8c, transparent 65%),
    linear-gradient(135deg, #fcecff90, #e9e4ffad);
}
.page-note {
  color: #a693f4;
  font-family: Caveat, cursive;
  font-size: 28px;
}
.history-row {
  padding: 13px 8px;
  border-color: #dce2f760;
  border-radius: 12px;
  transition: background 0.2s;
}
.history-row:hover {
  background: #fff7;
}
.history-row h3 {
  font-size: 14px;
}
.history-row .muted {
  font-size: 12px;
}
.source-summary-card,
.source-column {
  border: 1px solid #fff;
  background: linear-gradient(145deg, #ffffffe0, #f5f9ff66);
}
.source-item {
  margin: 7px 0;
  padding: 12px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #ffffff6e;
  gap: 8px;
}
.source-item .source-title strong {
  font-size: 15px;
}
.source-item .small {
  font-size: 12px;
}
.source-item .actions {
  margin-top: 6px;
}
.source-item .actions .btn {
  min-height: 36px;
  width: 36px;
  padding: 8px;
  border-radius: 10px;
  background: #fff6;
}
.source-add-grid .btn {
  align-self: end;
  min-height: 46px;
}
.source-summary-card h2 {
  font-size: 17px;
}
.source-summary-card .count-pill {
  font-size: 11px;
}
.script-compose-form .actions {
  justify-content: flex-end;
}
.script-inspiration {
  border: 1px solid #fff;
  border-radius: 23px;
  background: linear-gradient(150deg, #fff8, #efe8ff60);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.script-inspiration > img {
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.script-inspiration .page-note {
  font-size: 31px;
}
.script-library-picker {
  border-radius: 13px;
  border: 1px solid #fff;
  background: #fff5;
}
.script-top {
  border: 1px solid white;
  background: #ffffff80;
  border-radius: 20px;
  padding: 20px;
}
.script-paper {
  padding: 0;
  overflow: hidden;
}
.script-part {
  padding: 23px;
  border-color: #dfe3f670;
}
.script-part .role {
  background: linear-gradient(120deg, #f7d8ff, #e2e9ff);
  color: #8540d7;
  font-weight: 700;
}
.script-part p {
  font-size: 17px;
  line-height: 1.75;
}
.script-part:first-child {
  background: linear-gradient(135deg, #f6e6ff40, transparent);
}
.script-alternative {
  border-radius: 12px;
  background: #ffffff70;
  border: 1px solid white;
}
.library-tile {
  border-color: #fff;
  background: linear-gradient(150deg, #ffffffd0, #f9faff78);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.library-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -17px #8a76c977;
}
.library-stat {
  padding: 16px;
}
.library-stat strong {
  font-size: 29px;
}
.library-tile .snippet {
  font-size: 14px;
  line-height: 1.6;
  color: #7180ac;
}
.library-tile h3 {
  font-size: 16px;
}
.library-tile-footer {
  border-top: 1px solid #dee5fc73;
}
.library-folder-link {
  border-radius: 10px;
  padding: 12px;
  background: #fff5;
  margin: 5px 0;
  color: #6951bb;
}
.library-folder-link:hover {
  background: #f0e6ff;
}
.dna-account {
  background: linear-gradient(130deg, #fff9, #ecf8ff66);
  border: 1px solid white;
  border-radius: 16px;
  padding: 13px;
}
.dna-profile-row {
  padding: 14px 0;
}
.dna-row-label,
.dna-row-value {
  font-size: 14px;
}
.dna-row-value .report-beat {
  border: 1px solid white;
  background: #efe5ff90;
  font-size: 12px;
}
.dna-status.ready {
  background: linear-gradient(135deg, #cefff0, #e2fafb);
  color: #00b078;
  border: 1px solid white;
}
.dna-best-list li > span {
  background: linear-gradient(130deg, #f5d9ff, #dddfff);
  color: #9840f3;
}
.notification {
  padding: 17px 12px;
  margin: 7px 0;
  border: 1px solid #fff;
  border-radius: 15px;
  background: #ffffff73;
}
.notification.unread {
  background: linear-gradient(110deg, #f5e8ff96, #e4f4ff77);
  box-shadow: inset 3px 0 #b879ee;
}
.notification h3 {
  font-size: 15px;
}
.notification .text {
  font-size: 14px;
  color: #7180ad;
}
.notification .mini-icon {
  color: #9448ec;
}
.notification-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  max-width: 100%;
}
.notification-tabs .tab {
  white-space: nowrap;
  border-radius: 9px;
}
.notification-tabs .tab.active {
  background: #edddff;
  color: #9040dc;
}
.ring-meter {
  filter: drop-shadow(0 2px 5px #9145e62e);
}
.ring-meter circle:last-child {
  stroke: #a965f5;
}
.usage-card {
  padding: 18px;
  background: linear-gradient(135deg, #fff9, #e9f9ff62);
}
.usage-card .used {
  font-size: 30px;
  font-weight: 760;
}
.usage-card progress,
progress {
  accent-color: #a567f8;
}
.plan-card {
  position: relative;
  overflow: hidden;
}
.plan-card.featured {
  border: 1px solid #d590ff;
  box-shadow:
    0 10px 35px -16px #af53e760,
    inset 0 1px 2px #fff;
  background: linear-gradient(145deg, #fce7ff9c, #e5f6ff96);
}
.plan-card.featured:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rh-gradient);
}
.plan-price {
  letter-spacing: -1.5px;
}
.plan-list li {
  font-size: 14px;
  gap: 9px;
}
.plan-list .icon {
  color: #35b99a;
}
.token-card {
  border: 1px solid white;
  border-radius: 18px;
}
.support-summary .card h2 {
  font-size: 18px;
}
.faq-list {
  gap: 9px;
}
.faq-list details {
  background: #ffffff6e;
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 13px 15px;
}
.faq-list details[open] {
  background: linear-gradient(135deg, #f1e7ff80, #fff9);
}
.faq-list summary {
  font-size: 14px;
  line-height: 1.5;
}
.faq-list p {
  font-size: 14px;
  line-height: 1.7;
}
.settings-project h2 {
  font-size: 22px;
}
.settings-profile-form {
  gap: 18px;
}
.admin-overview .stat {
  background: linear-gradient(135deg, #fff9, #e7f5ff70);
}
.admin-overview .value {
  color: #7d44d9;
}
.admin-quick-grid .btn {
  justify-content: flex-start;
  text-align: left;
}
dialog {
  border: 1px solid #fff;
  background: linear-gradient(135deg, #fcfafff7, #f2f8fff5);
  box-shadow:
    0 30px 90px #29347740,
    inset 0 1px 2px #fff;
  border-radius: 25px;
  backdrop-filter: blur(28px);
  color: var(--text);
}
dialog::backdrop {
  background: #27306c42;
  backdrop-filter: blur(5px);
}
.toast {
  background: #ffffffef;
  border: 1px solid white;
  border-radius: 16px;
  box-shadow: 0 10px 35px #27306c27;
  color: #453b77;
  max-width: calc(100vw - 24px);
  font-size: 14px;
}
.toast.error {
  color: #bc3259;
  background: #fff3f8ef;
}
.marketing {
  max-width: 1390px;
  padding: 0 34px;
  margin: 0 auto;
}
.marketing-nav {
  min-height: 88px;
  border-bottom: 1px solid #fff9;
  gap: 20px;
}
.marketing-nav .brand {
  font-weight: 800;
  letter-spacing: -0.8px;
  font-size: 23px;
}
.marketing-nav .brand img {
  width: 41px;
  height: 41px;
}
.marketing-nav > nav {
  font-size: 14px;
}
.marketing-hero {
  min-height: 540px;
  gap: 30px;
  padding: 35px 0 50px;
  align-items: center;
}
.marketing-pitch h1 {
  font-size: clamp(40px, 4.2vw, 63px);
  line-height: 1.06;
  letter-spacing: -2px;
  font-weight: 830;
  max-width: 630px;
}
.marketing-pitch p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 490px;
  color: #7682b2;
}
.marketing-pitch .pill {
  background: #fff6;
  border: 1px solid #fff;
  box-shadow: var(--shadow);
}
.marketing-pitch .actions {
  gap: 12px;
  margin: 27px 0 23px;
}
.marketing-pitch .btn {
  min-height: 49px;
  padding: 13px 21px;
  font-size: 15px;
}
.marketing-product-art {
  min-height: 420px;
}
.marketing-glass-art {
  border-radius: 50%;
  mix-blend-mode: multiply;
  max-height: 400px;
  object-fit: cover;
  opacity: 0.86;
}
.marketing-float {
  background: linear-gradient(140deg, #ffffffca, #ffffff61);
  border: 1px solid white;
  box-shadow:
    0 14px 38px -18px #9275da78,
    inset 0 1px 2px #fff;
  backdrop-filter: blur(15px);
  border-radius: 19px;
}
.marketing-panel {
  margin-bottom: 24px;
  padding: 20px 0;
}
.marketing-panel > h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 22px;
  text-align: center;
}
.marketing-panel > .card-header h2 {
  font-size: 28px;
}
.marketing-four,
.marketing-three,
.marketing-five {
  gap: 15px;
}
.marketing-feature {
  padding: 22px;
  border-radius: 22px;
}
.marketing-feature h3 {
  font-size: 17px;
}
.marketing-feature p {
  font-size: 14px;
  line-height: 1.5;
  color: #7d87b4;
}
.marketing-reels {
  gap: 13px;
}
.marketing-reel {
  border: 0;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 10px 20px -15px #453e8266;
}
.marketing-reel img {
  aspect-ratio: 9/13;
  object-fit: cover;
  transition: transform 0.4s;
}
.marketing-reel:hover img {
  transform: scale(1.035);
}
.marketing-reel h3 {
  font-size: 16px;
}
.marketing-step {
  background: var(--rh-gradient);
  border: 1px solid white;
  color: #fff;
  box-shadow: 0 5px 16px -6px #be71ee89;
}
.marketing-tool {
  padding: 18px;
  background: linear-gradient(130deg, #fff9, #edf6ff88);
}
.marketing-faq details {
  background: #ffffff90;
  border: 1px solid white;
  border-radius: 15px;
  padding: 17px;
}
.marketing-final {
  background:
    radial-gradient(at 100% 50%, #c6fcff88, transparent 55%),
    linear-gradient(130deg, #f1c6ff73, #ffffffab);
  border: 1px solid white;
  box-shadow: var(--shadow);
  padding: 35px;
  border-radius: 26px;
  margin-bottom: 35px;
}
.marketing-final h2 {
  font-size: 30px;
}
.marketing-footer {
  padding: 30px 0 40px;
  gap: 22px;
}
.marketing-footer .brand {
  font-size: 19px;
}
.marketing-footer a {
  font-size: 12px;
}
@media (max-width: 1150px) {
  .feed-grid,
  .feed-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-art {
    padding: 55px 35px;
  }
  .auth-art h1 {
    font-size: 42px;
  }
  .auth-form-panel {
    padding-inline: 28px;
  }
  .auth-form {
    padding: 30px 24px;
  }
  .auth-feature-grid {
    gap: 15px;
  }
  .auth-provider-slot > a,
  .auth-provider-slot > button {
    font-size: 11px;
  }
  .auth-form .auth-providers {
    grid-template-columns: 1fr;
  }
  .auth-provider-slot > a,
  .auth-provider-slot > button {
    font-size: 14px;
  }
  .auth-platforms {
    gap: 6px;
  }
  .auth-platforms .pill {
    padding: 7px 10px;
  }
  .auth-art > p.auth-quote {
    display: block;
  }
  .auth-quote span {
    display: block;
    margin-top: 10px;
  }
  .marketing-nav > nav {
    display: none;
  }
  .marketing-pitch h1 {
    font-size: 43px;
  }
  .marketing-hero {
    min-height: 460px;
  }
  .marketing-product-art {
    min-height: 350px;
  }
  .marketing-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .auth-art {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-form-panel {
    padding: 100px 24px 55px;
    min-height: 100dvh;
  }
  .auth-form {
    max-width: 500px;
    padding: 32px;
  }
  .auth-form .auth-providers {
    grid-template-columns: 1fr 1fr;
  }
  .auth-provider-slot > a,
  .auth-provider-slot > button {
    font-size: 12px;
  }
  .auth-top {
    right: 24px;
    top: 22px;
  }
  .feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feed-grid .feed-card {
    contain-intrinsic-size: auto 550px;
  }
  .dash-platform-body {
    min-height: 0;
  }
  .dash-platform .glass-social {
    width: 116px;
    height: 110px;
  }
  .marketing {
    padding: 0 22px;
  }
  .marketing-nav .brand {
    font-size: 21px;
  }
  .marketing-nav > .row {
    gap: 7px;
  }
  .marketing-nav .theme-pair {
    display: none;
  }
  .marketing-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 42px 0 25px;
  }
  .marketing-pitch {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
  }
  .marketing-pitch .actions,
  .marketing-platforms {
    justify-content: center;
  }
  .marketing-pitch p {
    margin-inline: auto;
  }
  .marketing-product-art {
    height: 350px;
    min-height: 350px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }
  .marketing-five,
  .marketing-reels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .marketing-reels .marketing-reel:nth-child(n + 4) {
    display: none;
  }
  .marketing-final {
    padding: 26px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .sidebar nav .nav-link {
    min-height: 42px;
  }
}
@media (max-width: 600px) {
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .feed-body {
    padding: 10px 6px;
  }
  .feed-title {
    font-size: 13px;
  }
  .feed-poster {
    border-radius: 15px;
  }
  .feed-overlays {
    padding: 7px;
  }
  .feed-platform {
    font-size: 10px;
    padding: 4px 5px;
    gap: 4px;
  }
  .feed-platform .platform-icon {
    width: 18px;
    height: 18px;
  }
  .feed-poster .score {
    font-size: 12px;
    min-height: 27px;
    padding: 3px 5px;
    border-radius: 9px;
  }
  .feed-score-label {
    display: none;
  }
  .feed-side-actions {
    right: 6px;
    top: 45px;
    gap: 5px;
  }
  .feed-side-actions .btn {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    height: 36px;
    padding: 7px;
    border-radius: 10px;
  }
  .feed-side-actions .icon {
    width: 20px;
  }
  .feed-metrics {
    padding: 6px 3px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    gap: 3px;
    font-size: 10px;
    border-radius: 11px;
  }
  .feed-metrics .icon {
    width: 16px;
    height: 16px;
  }
  .feed-metrics > span {
    gap: 2px;
  }
  .feed-author {
    font-size: 11px;
    gap: 5px;
  }
  .feed-avatar {
    width: 24px;
    height: 24px;
  }
  .feed-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .feed-actions .btn {
    min-height: 40px;
    font-size: 12px;
  }
  .feed-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .feed-filters select,
  .feed-filters input {
    font-size: 14px;
  }
  .feed-play {
    opacity: 0;
  }
  .feed-poster .feed-play:focus-visible {
    opacity: 1;
  }
  .auth-form-panel {
    padding: 92px 16px 65px;
  }
  .auth-form {
    padding: 26px 20px 22px;
    border-radius: 24px;
  }
  .auth-form > h1 {
    font-size: 32px;
  }
  .auth-subtitle {
    font-size: 13px;
    margin-bottom: 22px;
  }
  .auth-form .auth-providers {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .auth-provider-slot > a,
  .auth-provider-slot > button {
    font-size: 14px;
  }
  .auth-input-wrap > input {
    font-size: 16px;
    min-height: 52px;
  }
  .auth-options .link {
    font-size: 13px;
  }
  .auth-bottom {
    font-size: 13px;
    margin-top: 22px;
  }
  .auth-legal {
    font-size: 11px;
  }
  .auth-top {
    right: 16px;
    left: 16px;
    top: 20px;
    justify-content: flex-end;
  }
  .auth-top:before {
    content: "Reels Hunter";
    margin-right: auto;
    font-size: 20px;
    font-weight: 780;
    letter-spacing: -0.5px;
    align-self: center;
  }
  .auth-top .lang-button {
    width: 40px;
    padding: 8px;
  }
  .auth-top .language-name {
    display: none;
  }
  .auth-top .theme-pair {
    width: 70px;
  }
  .auth-top .theme-pair span {
    display: grid;
  }
  .auth-top .lang-menu {
    top: 70px;
  }
  .source-add-grid,
  .source-summary.grid.cols3,
  .source-grid.grid.cols3 {
    grid-template-columns: 1fr;
  }
  .source-item .actions .btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .analysis-form .help {
    font-size: 13px;
  }
  .analysis-feature-strip p {
    font-size: 14px;
  }
  .analysis-capabilities {
    padding: 15px;
  }
  .analysis-benefit p {
    font-size: 13px;
  }
  .script-inspiration {
    display: none;
  }
  .script-compose-layout {
    grid-template-columns: 1fr;
  }
  .script-part {
    padding: 17px;
  }
  .script-part p {
    font-size: 16px;
  }
  .script-compose-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .script-compose-actions > .btn.primary {
    grid-column: 1/-1;
  }
  .notification .mini-icon {
    width: 34px;
    flex: none;
  }
  .notification .grow {
    min-width: 0;
  }
  .notification h3 {
    font-size: 14px;
  }
  .notification .text {
    font-size: 13px;
  }
  .notifications-layout .card-header {
    flex-wrap: wrap;
  }
  .notification-tabs {
    width: 100%;
    order: 4;
  }
  .dna-row-label strong {
    font-size: 14px;
  }
  .dna-profile-row {
    gap: 8px;
  }
  .dna-main-grid {
    grid-template-columns: 1fr;
  }
  .dna-account-main small {
    font-size: 12px;
  }
  .library-main,
  .library-grid {
    grid-template-columns: 1fr;
  }
  .library-tile .snippet {
    font-size: 14px;
  }
  .library-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .library-stat {
    padding: 13px;
  }
  .library-stat small {
    font-size: 12px;
  }
  .support-summary.grid.cols3 {
    grid-template-columns: 1fr;
  }
  .marketing {
    padding: 0 16px;
  }
  .marketing-nav {
    min-height: 72px;
    gap: 8px;
  }
  .marketing-nav .brand {
    font-size: 18px;
    gap: 6px;
  }
  .marketing-nav .brand img {
    width: 31px;
    height: 31px;
  }
  .marketing-nav .lang-wrap,
  .marketing-nav .theme-pair,
  .marketing-nav .btn.ghost {
    display: none;
  }
  .marketing-nav .btn.primary {
    font-size: 12px;
    padding: 9px 11px;
    min-height: 40px;
  }
  .marketing-pitch h1 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -1.5px;
  }
  .marketing-pitch p {
    font-size: 16px;
  }
  .marketing-pitch .btn {
    font-size: 14px;
    padding: 12px 16px;
  }
  .marketing-hero {
    padding-top: 30px;
  }
  .marketing-product-art {
    min-height: 280px;
    height: 280px;
  }
  .marketing-glass-art {
    max-height: 280px;
  }
  .marketing-float {
    padding: 13px;
  }
  .marketing-four,
  .marketing-three,
  .marketing-five,
  .marketing-two {
    grid-template-columns: 1fr;
  }
  .marketing-feature {
    padding: 19px;
  }
  .marketing-reels {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .marketing-reels .marketing-reel:nth-child(3) {
    display: none;
  }
  .marketing-panel > h2,
  .marketing-panel > .card-header h2 {
    font-size: 25px;
  }
  .marketing-panel {
    padding: 13px 0;
  }
  .marketing-final h2 {
    font-size: 27px;
  }
  .marketing-final {
    padding: 24px;
  }
  .marketing-final .btn {
    width: 100%;
  }
  .marketing-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .marketing-footer .row {
    gap: 12px;
  }
  .dash-platform-body {
    min-height: 212px;
  }
  .topbar > .row:has(.mobile-toggle) {
    flex: none;
  }
  .topbar .language-name {
    display: none;
  }
  .topbar .lang-button {
    width: 40px;
  }
  .topbar .theme-pair {
    width: 68px;
  }
  .topbar .theme-pair > span:nth-child(2) {
    display: grid;
  }
  .topbar .theme-pair > span {
    width: 27px;
    height: 27px;
  }
  .topbar .top-actions {
    gap: 6px;
  }
  .topbar:after {
    white-space: nowrap;
  }
  .topbar .lang-button:after {
    display: none;
  }
}
@media (max-width: 359px) {
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .feed-poster {
    max-height: none;
  }
  .feed-body {
    padding: 12px;
  }
  .feed-actions {
    grid-template-columns: 1fr 1fr;
  }
  .feed-title {
    font-size: 14px;
  }
  .feed-platform {
    font-size: 12px;
  }
  .feed-metrics {
    font-size: 13px;
  }
  .feed-metrics .icon {
    width: 20px;
    height: 20px;
  }
  .topbar:after {
    font-size: 15px;
  }
  .theme-pair {
    display: none !important;
  }
  .dash-platform header {
    gap: 6px;
  }
  .dash-platform header h3 {
    font-size: 16px;
  }
  .connection-state {
    font-size: 10px;
  }
  .dash-platform-body {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 8px;
  }
  .dash-platform .glass-social {
    width: 90px;
    height: 100px;
  }
}
@media (max-width: 600px) {
  .page > .tabs,
  .library-main .tabs {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    width: 100%;
  }
  .page > .tabs > button,
  .page > .tabs > a,
  .library-main .tabs > button {
    flex: 1 0 auto;
    font-size: 12px;
    padding: 8px 10px;
    min-height: 40px;
    max-width: 100%;
  }
  .library-folder-link {
    white-space: normal;
    min-width: 0;
  }
}
:root[data-theme="dark"] {
  --bg: #0d122b;
  --text: #f2f4ff;
  --muted: #a5b4dd;
  --solid: #1c2745;
  --panel: #1a2443cc;
  --line: #41527466;
  --nav: #17213dcc;
  --shadow: 0 10px 30px -15px #0009;
  --glass-inset: inset 0 1px 0 #ffffff1c;
}
:root[data-theme="dark"] body:before {
  opacity: 0.19;
  mix-blend-mode: screen;
}
:root[data-theme="dark"]
  :is(
    .sidebar,
    .topbar,
    .card,
    .dash-section,
    .dash-mini,
    .dash-stat,
    .dash-platform,
    .dash-chart-panel,
    .auth-form,
    .script-top,
    .notification,
    .library-tile,
    .dna-account
  ) {
  background: linear-gradient(140deg, #293251b8, #192442b0);
  border-color: #6f89c038;
  color: var(--text);
  box-shadow:
    var(--shadow),
    inset 0 1px 1px #ffffff1c;
}
:root[data-theme="dark"]
  :is(
    .sidebar-project > div,
    .sidebar-user,
    .sidebar-plan,
    .header-search,
    .lang-button,
    .theme-pair,
    .top-actions > .btn,
    .dash-comparison,
    .dash-history-item,
    .dash-source,
    .dash-quick,
    .feed-body,
    .faq-list details,
    .script-alternative,
    .library-folder-link
  ) {
  background: linear-gradient(140deg, #293456bd, #1d284bc4);
  border-color: #6d85b936;
  color: var(--text);
}
:root[data-theme="dark"]
  :is(.nav-link, .stat-label, .dash-stat .stat-label, .feed-title) {
  color: #edf0ff;
}
:root[data-theme="dark"] .nav-link:hover {
  background: #40518575;
}
:root[data-theme="dark"] .nav-link.active {
  color: #fff;
}
:root[data-theme="dark"] :is(input, textarea, select) {
  background: #1e2a478c;
  color: #edf0ff;
  border-color: #7994c242;
}
:root[data-theme="dark"] .btn:not(.primary) {
  background: linear-gradient(135deg, #35416095, #27345a80);
  border-color: #8ca2ca33;
  color: #f0f3ff;
}
:root[data-theme="dark"] .btn.primary {
  background: var(--rh-gradient);
  color: #fff;
}
:root[data-theme="dark"]
  :is(.auth-provider-slot > a, .auth-provider-slot > button) {
  background: #243352;
  color: #fff;
  border-color: #7189b555;
}
:root[data-theme="dark"] .lang-menu,
:root[data-theme="dark"] dialog {
  background: #202c4cf5;
  color: #fff;
  border-color: #62759966;
}
:root[data-theme="dark"] .lang-menu button:hover {
  background: #554073;
}
:root[data-theme="dark"] .auth-art {
  background: #121a322f;
  border-color: #8095c225;
}
:root[data-theme="dark"] .auth-input-wrap > input {
  background: #1c274a88;
}
:root[data-theme="dark"] .dash-metric > div {
  background: #24304ea6;
}
:root[data-theme="dark"] .preview-dock {
  background: #24304fed;
  color: #c4cff4;
  border-color: #7f8dad55;
}
:root[data-theme="dark"] .preview-dock button {
  color: #e4afff;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .btn:active {
    transform: none;
  }
  .rh-ripple {
    display: none;
  }
}
:root {
  --rh-gradient: linear-gradient(112deg, #ec35d8 0%, #fc389f 52%, #ff8869 100%);
  --rh-glass: linear-gradient(140deg, #ffffffc9, #ffffff70 58%, #edf7ffac);
  --rh-matte: #f7f9ffd4;
  --rh-inner: #eef2ff8c;
  --rh-edge: #ffffffdc;
  --rh-ink: #101746;
  --rh-caption: #596b9f;
  --rh-glow: #ed57c345;
  --rh-depth: 0 8px 28px -15px #6779c747;
}
:root[data-theme="dark"] {
  --bg: #0d1429;
  --panel: #19243acc;
  --solid: #19243b;
  --muted-panel: #24314c;
  --text: #f1f5ff;
  --muted: #b5c2e3;
  --line: #52638466;
  --nav: #17243ce8;
  --rh-glass: linear-gradient(138deg, #324159a8, #1b2943ba 57%, #283754b5);
  --rh-matte: #1a263eea;
  --rh-inner: #25344da8;
  --rh-edge: #a2bada45;
  --rh-ink: #f1f5ff;
  --rh-caption: #b5c2e3;
  --rh-depth: 0 10px 32px -15px #0009;
  --rh-glow: #ee5dbb34;
  --dash-glass: var(--rh-glass);
}
:is(
  .btn,
  .lang-button,
  .theme-pair,
  .choice-group > button,
  .tabs > .tab,
  .dash-periods > button,
  .auth-provider-slot > a,
  .auth-provider-slot > button,
  .search-submit,
  .platform-open,
  .sidebar nav .nav-link.active
) {
  --button-fill: linear-gradient(120deg, #ffffffbd, #eef4ffa1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--rh-edge);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 12% 0%, #ffffffc2, transparent 31%),
    radial-gradient(ellipse at 91% 104%, #fff8, transparent 40%),
    linear-gradient(180deg, #ffffff52, #ffffff08 37%, #1a1c5708 70%, #fff3),
    var(--button-fill);
  color: var(--rh-ink);
  box-shadow:
    inset 0 2px 1px #ffffffd4,
    inset 1px 0 1px #ffffff9c,
    inset 0 -2px 2px #a8b7e452,
    0 4px 12px -7px #626aa66b;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s,
    filter 0.2s;
  -webkit-tap-highlight-color: transparent;
}
:is(
  .btn,
  .lang-button,
  .theme-pair,
  .choice-group > button,
  .tabs > .tab,
  .dash-periods > button,
  .auth-provider-slot > a,
  .auth-provider-slot > button,
  .search-submit,
  .platform-open,
  .sidebar nav .nav-link.active
):after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid #ffffff63;
  background: linear-gradient(
    174deg,
    #ffffff58 0%,
    #ffffff12 36%,
    transparent 37% 74%,
    #ffffff2c 93%,
    #fff8
  );
  box-shadow:
    inset 0 1px 2px #fff8,
    inset 0 -1px 2px #ffffff78;
}
:is(
  .btn.primary,
  .btn.primary:hover,
  .sidebar nav .nav-link.active,
  .choice-group > button.active,
  .choice-group > button[aria-pressed="true"],
  .choice-group > button[aria-checked="true"]
) {
  --button-fill: var(--rh-gradient);
  color: #fff;
  background:
    radial-gradient(ellipse at 8% 1%, #ffffff91, transparent 27%),
    radial-gradient(ellipse at 95% 99%, #fff9, transparent 31%),
    linear-gradient(180deg, #ffffff3b, #ffffff09 35%, #af085515 67%, #ffffff38),
    var(--button-fill);
  border-color: #ffffffac;
  box-shadow:
    inset 0 2px 2px #ffffffd6,
    inset 2px 0 3px #ffffff8c,
    inset -1px -2px 3px #bc2c7973,
    0 7px 20px -8px #ed4aaa88;
  text-shadow: 0 1px 2px #77154448;
}
:is(
  .btn,
  .lang-button,
  .theme-pair,
  .choice-group > button,
  .tabs > .tab,
  .dash-periods > button,
  .auth-provider-slot > a,
  .auth-provider-slot > button
):hover {
  transform: translateY(-1px);
  filter: brightness(1.035);
  box-shadow:
    inset 0 2px 2px #ffffffb0,
    inset 0 -2px 2px #fff5,
    0 9px 23px -10px var(--rh-glow);
}
:is(
  .btn,
  .lang-button,
  .theme-pair,
  .choice-group > button,
  .tabs > .tab,
  .dash-periods > button,
  .auth-provider-slot > a,
  .auth-provider-slot > button
):active {
  transform: translateY(1px) scale(0.98);
  filter: brightness(0.97);
  transition-duration: 0.08s;
  box-shadow:
    inset 0 2px 7px #44265238,
    inset 0 -1px 2px #fff9,
    0 2px 6px #bc59a52b;
}
:is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
:is(.btn, .choice-group > button):disabled {
  opacity: 0.48;
  filter: saturate(0.45);
  cursor: not-allowed;
  transform: none;
}
.btn > svg,
.auth-provider-slot img {
  flex-shrink: 0;
}
.btn {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.tabs,
.dash-periods {
  background: var(--rh-inner);
  border: 1px solid var(--rh-edge);
  box-shadow: inset 0 1px 2px #fff5;
}
.tabs > .tab:not(.active),
.dash-periods > button:not([aria-pressed="true"]) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.tabs > .tab:not(.active):after,
.dash-periods > button:not([aria-pressed="true"]):after {
  opacity: 0;
}
.tabs .active,
.tabs [aria-selected="true"],
.dash-periods [aria-pressed="true"] {
  color: var(--purple);
  --button-fill: linear-gradient(110deg, #f5dbff, #cfdeff);
}
.auth-providers {
  align-items: stretch;
}
.auth-provider-slot {
  height: auto;
  min-height: 50px;
  min-width: 0;
}
.auth-provider-slot > a,
.auth-provider-slot > button {
  min-height: 50px;
  height: 100%;
  font-size: 13px;
  padding: 12px 10px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}
.auth-provider-slot > a > span,
.auth-provider-slot > button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-provider-slot img {
  width: 22px;
  height: 22px;
}
.theme-pair > span {
  position: relative;
  z-index: 1;
}
.lang-button:after {
  content: none;
}
.lang-menu {
  max-width: calc(100vw - 28px);
  overscroll-behavior: contain;
}
.lang-menu button {
  min-height: 40px;
  line-height: 1.3;
}
.card,
.dash-section,
.dash-mini,
.dash-stat,
.dash-platform,
.dash-chart-panel,
.source-column,
.source-summary-card,
.auth-form {
  background: var(--rh-glass);
  border-color: var(--rh-edge);
  box-shadow:
    var(--rh-depth),
    inset 0 1px 2px #ffffffac,
    inset 0 -1px 1px #ffffff56;
}
.source-item,
.script-inspiration,
.script-library-picker,
.dash-library-row,
.dna-best-list li > span {
  background: var(--rh-matte);
  border-color: var(--rh-edge);
}
.source-item {
  padding: 12px;
  border-radius: 14px;
}
.source-item .actions {
  gap: 6px;
}
.dash-date {
  background: var(--rh-glass);
  border-color: var(--rh-edge);
  color: var(--rh-caption);
}
.dash-chart-panel {
  color: var(--metric-color);
}
.dash-chart-panel.purple {
  --metric-color: var(--dash-purple);
}
.dash-chart-panel.blue {
  --metric-color: var(--dash-blue);
}
.dash-chart-panel.pink {
  --metric-color: var(--dash-pink);
}
.dash-chart svg text {
  fill: var(--rh-caption);
}
.dash-chart svg .dash-chart-grid {
  stroke: var(--line);
}
.feed-poster {
  background: #15223b;
}
.script-inspiration > img {
  mix-blend-mode: normal;
}
.analysis-progress-visual {
  background-image: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/glass-play-orbit.webp);
  background-size: auto 215px;
}
.script-inspiration > img {
  aspect-ratio: 1;
  height: auto;
  max-height: 280px;
  width: 100%;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px #8654c822);
}
.card,
.dash-section,
.dash-mini,
.source-column,
.source-summary-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn:before {
  will-change: auto;
}
:root[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 0 0, #42317622, transparent 50%), var(--bg);
}
:root[data-theme="dark"] body:before {
  opacity: 0.12;
}
:root[data-theme="dark"]
  :is(
    .card,
    .dash-section,
    .dash-mini,
    .dash-stat,
    .dash-platform,
    .dash-chart-panel,
    .source-column,
    .source-summary-card,
    .auth-form,
    .usage-card,
    .admin-overview .stat,
    .sidebar,
    .script-top,
    .notification,
    .library-tile,
    .dna-account
  ) {
  color: var(--text);
  background: var(--rh-glass);
  border-color: var(--rh-edge);
  box-shadow:
    var(--rh-depth),
    inset 0 1px 1px #ffffff28,
    inset 0 -1px 1px #0002;
}
:root[data-theme="dark"]
  :is(
    .source-item,
    .script-inspiration,
    .script-library-picker,
    .dash-library-row,
    .dash-date,
    .dash-source,
    .dash-quick,
    .dash-history-item,
    .dash-comparison,
    .script-part,
    .script-alternative,
    .library-folder-link,
    .faq-list details,
    .dna-best-list li > span,
    .history-row:hover,
    .sidebar-project > div,
    .sidebar-user,
    .sidebar-plan,
    .header-search,
    .auth-kicker,
    .auth-platforms .pill,
    .onboarding-layout .step,
    .analysis-promo,
    .analysis-capabilities
  ) {
  background: var(--rh-matte);
  color: var(--text);
  border-color: var(--rh-edge);
  box-shadow: inset 0 1px 1px #ffffff14;
}
:root[data-theme="dark"] :is(.tabs, .dash-periods) {
  background: #192740d6;
  border-color: var(--rh-edge);
  box-shadow: inset 0 1px 2px #ffffff17;
}
:root[data-theme="dark"]
  :is(
    .btn:not(.primary),
    .lang-button,
    .theme-pair,
    .choice-group
      > button:not(.active):not([aria-pressed="true"]):not(
        [aria-checked="true"]
      ),
    .tabs > .tab,
    .dash-periods > button,
    .auth-provider-slot > a,
    .auth-provider-slot > button,
    .search-submit,
    .platform-open
  ) {
  --button-fill: linear-gradient(130deg, #324562cc, #26354ecb);
  background:
    radial-gradient(ellipse at 8% 0%, #bfe6ff23, transparent 40%),
    linear-gradient(
      180deg,
      #ffffff1c,
      transparent 42%,
      #070e281a 70%,
      #b5dbff12
    ),
    var(--button-fill);
  color: var(--text);
  border-color: #b4c9e840;
  box-shadow:
    inset 0 1px 1px #e0f0ff4c,
    inset 0 -1px 1px #acc8ed1a,
    0 5px 16px -9px #0009;
}
:root[data-theme="dark"]
  :is(
    .btn,
    .lang-button,
    .theme-pair,
    .choice-group > button,
    .tabs > .tab,
    .dash-periods > button,
    .auth-provider-slot > a,
    .auth-provider-slot > button,
    .search-submit,
    .platform-open
  ):after {
  background: linear-gradient(
    174deg,
    #ffffff12,
    transparent 37% 76%,
    #accfff13
  );
  border-color: #e1f5ff20;
  box-shadow:
    inset 0 1px 1px #ffffff15,
    inset 0 -1px 1px #bedbff14;
}
:root[data-theme="dark"] .btn.primary,
:root[data-theme="dark"] .sidebar nav .nav-link.active,
:root[data-theme="dark"] .choice-group > button.active,
:root[data-theme="dark"] .choice-group > button[aria-pressed="true"],
:root[data-theme="dark"] .choice-group > button[aria-checked="true"] {
  --button-fill: var(--rh-gradient);
  background:
    radial-gradient(ellipse at 10% 0, #fff8, transparent 29%),
    linear-gradient(
      180deg,
      #ffffff30,
      transparent 42%,
      #92114212 71%,
      #ffffff30
    ),
    var(--button-fill);
  color: #fff;
  border-color: #ffffff7f;
  box-shadow:
    inset 0 2px 2px #ffffff9c,
    inset 0 -2px 2px #fba1d342,
    0 7px 20px -9px #f641af66;
}
:root[data-theme="dark"]
  :is(
    .tabs > .tab.active,
    .tabs > .tab[aria-selected="true"],
    .dash-periods > button[aria-pressed="true"]
  ) {
  --button-fill: linear-gradient(115deg, #594377, #394c77);
  color: #f0d9ff;
}
:root[data-theme="dark"]
  :is(
    .tabs > .tab:not(.active),
    .dash-periods > button:not([aria-pressed="true"])
  ) {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  color: var(--muted);
}
:root[data-theme="dark"]
  :is(
    input,
    textarea,
    select,
    .analysis-form input,
    .feed-filters input,
    .feed-filters select,
    .auth-input-wrap > input
  ) {
  background-color: #16233bc2;
  color: var(--text);
  border-color: #819bc347;
  box-shadow: inset 0 1px 3px #080e2429;
}
:root[data-theme="dark"] :is(input, textarea)::placeholder {
  color: #9cafd3;
  opacity: 1;
}
:root[data-theme="dark"] :is(input, textarea, select):focus {
  background-color: #1d2e4a;
  border-color: #d199fa;
  box-shadow: 0 0 0 3px #bc78f627;
}
:root[data-theme="dark"]
  :is(.stat-symbol, .metric-symbol, .mini-icon, .auth-feature-grid .mini-icon) {
  background: color-mix(in srgb, currentColor 12%, #192741);
  border-color: color-mix(in srgb, currentColor 22%, transparent);
  box-shadow: inset 0 1px 1px #ffffff2b;
}
:root[data-theme="dark"]
  :is(.dash-stat.pink, .dash-stat.purple, .dash-stat.green)
  .stat-symbol {
  background: #29314b;
}
:root[data-theme="dark"] .dash-stat.pink .stat-symbol {
  color: #ff7dae;
}
:root[data-theme="dark"] .dash-stat.purple .stat-symbol {
  color: #cf9fff;
}
:root[data-theme="dark"] .dash-stat.green .stat-symbol {
  color: #55e8b0;
}
:root[data-theme="dark"]
  :is(
    .dash-platform .metric-symbol,
    .youtube .metric-symbol,
    .tiktok .metric-symbol
  ) {
  background: #283950;
}
:root[data-theme="dark"] .dash-platform .metric-likes .metric-symbol {
  color: #ff789f;
}
:root[data-theme="dark"]
  :is(.dash-metric > div, .dash-library-row > strong, .script-part .role) {
  background: var(--rh-inner);
  color: var(--text);
}
:root[data-theme="dark"]
  :is(.connection-state.connected, .badge.good, .notice.success) {
  background: #1a503b;
  color: #9bf0c5;
  border-color: #41bd894c;
}
:root[data-theme="dark"]
  :is(.connection-state.disconnected, .badge.error, .notice.error) {
  background: #4c2944;
  color: #ffb1cc;
  border-color: #e780ab47;
}
:root[data-theme="dark"] .badge.pink {
  background: #48365f;
  color: #e4c2ff;
}
:root[data-theme="dark"] .dash-chart-panel {
  color: var(--metric-color);
}
:root[data-theme="dark"] .dash-chart-panel header > strong {
  background: color-mix(in srgb, var(--metric-color) 14%, transparent);
  color: var(--metric-color);
}
:root[data-theme="dark"] :is(.positive, .usage-good) {
  color: #67eab4;
}
:root[data-theme="dark"] .negative {
  color: #ff80aa;
}
:root[data-theme="dark"] .neutral {
  color: #ffcb7b;
}
:root[data-theme="dark"]
  :is(
    .auth-subtitle,
    .auth-art > p,
    .auth-feature-grid p,
    .auth-legal,
    .auth-bottom,
    .auth-input-field > label,
    .feed-date,
    .feed-result-count,
    .dash-title p,
    .source-item small
  ) {
  color: var(--rh-caption);
}
:root[data-theme="dark"] :is(.lang-menu, dialog, .toast) {
  background: #1c2b44f5;
  color: var(--text);
  border-color: var(--rh-edge);
}
:root[data-theme="dark"] .lang-menu button {
  color: var(--text);
}
:root[data-theme="dark"] .lang-menu button:hover,
:root[data-theme="dark"] .lang-menu button.selected {
  background: #493c68;
}
:root[data-theme="dark"] .auth-input-wrap > button:hover {
  background: #344563;
}
:root[data-theme="dark"] .notification.unread {
  background: linear-gradient(130deg, #48385d99, #22354ed9);
}
:root[data-theme="dark"] .plan-card.featured {
  background:
    radial-gradient(at 90% 0, #fa49ab22, transparent 70%), var(--rh-matte);
  border-color: #f178c9;
}
:root[data-theme="dark"] .feed-body {
  background: transparent;
  color: var(--text);
}
:root[data-theme="dark"] .feed-side-actions .btn {
  background: #192137a6;
  color: #fff;
  border-color: #ffffff4d;
}
:root[data-theme="dark"] .feed-poster .platform-icon {
  background: transparent;
}
:root[data-theme="dark"] .script-inspiration {
  background:
    radial-gradient(at 50% 0, #55539b31, transparent 65%), var(--rh-matte);
}
:root[data-theme="dark"] .theme-pair > span:first-child {
  background: #463924;
  color: #ffcf6e;
}
:root[data-theme="dark"] .theme-pair > span:last-child {
  background: #513967;
  color: #dfb2ff;
}
@media (max-width: 600px) {
  .auth-providers {
    grid-template-columns: 1fr;
  }
  .auth-provider-slot > a,
  .auth-provider-slot > button {
    font-size: 14px;
    min-height: 50px;
  }
  .source-item {
    padding: 12px;
  }
  .lang-menu {
    position: fixed;
    inset: 64px 14px auto auto;
    width: 240px;
    max-height: calc(100dvh - 84px);
    z-index: 200;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(
    .btn,
    .lang-button,
    .theme-pair,
    .choice-group > button,
    .tab,
    .auth-provider-slot > a,
    .auth-provider-slot > button
  ) {
    transition: none;
    transform: none;
  }
}
body:has(.glass-landing) {
  background:
    radial-gradient(ellipse at 0% 27%, #f2d9ff69, transparent 45%),
    radial-gradient(ellipse at 100% 55%, #d9eeff82, transparent 48%), #f1f7ff;
}
body:has(.glass-landing):before {
  opacity: 0.24;
}
.glass-landing {
  max-width: 1440px;
  width: calc(100% - 72px);
  margin: 0 auto;
  color: var(--rh-ink);
  padding-bottom: 20px;
}
.glass-landing h1,
.glass-landing h2,
.glass-landing h3,
.glass-landing p,
.glass-landing figure {
  margin: 0;
}
.glass-landing a {
  text-decoration: none;
  color: inherit;
}
.glass-landing h2 {
  font-size: clamp(21px, 2.05vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.85px;
  font-weight: 790;
}
.glass-landing h3 {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  font-weight: 740;
}
.glass-landing p {
  font-size: 14px;
  line-height: 1.48;
  color: var(--rh-caption);
}
.glass-landing .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
  white-space: normal;
  line-height: 1.25;
}
.glass-landing .btn.primary {
  color: #fff;
}
.optical-panel {
  border: 1px solid var(--rh-edge);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffffb8, #ffffff62 65%, #e9faff87);
  box-shadow:
    inset 0 2px 2px #fff,
    inset 1px 0 1px #fff9,
    inset 0 -2px 1px #fff8,
    0 7px 26px -17px #92ade657;
}
.matte-panel {
  background: var(--rh-matte);
  border: 1px solid #ffffffb3;
  border-radius: 16px;
  box-shadow: 0 4px 15px -10px #7b80aa1f;
}
.landing-nav {
  position: relative;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 24px;
  width: calc(100% - 44px);
  margin: 0 auto 16px;
  padding: 12px 18px;
  border-radius: 0 0 23px 23px;
  min-height: 70px;
  backdrop-filter: blur(20px);
  background: linear-gradient(145deg, #ffffffea, #ffffff9a);
}
.landing-nav > .brand {
  white-space: nowrap;
  gap: 7px;
  font-size: 21px;
  letter-spacing: -0.85px;
  flex-shrink: 0;
}
.landing-nav > .brand img {
  width: 33px;
  height: 33px;
}
.landing-nav > .brand strong {
  font-size: 21px;
}
.landing-nav > nav {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.landing-nav > nav a {
  padding: 8px 0;
  transition: color 0.2s;
}
.landing-nav > nav a:hover {
  color: #e634b1;
}
.landing-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.landing-controls .lang-button {
  height: 38px;
  min-height: 38px;
  font-size: 12px;
  padding: 7px 10px;
  gap: 5px;
}
.landing-controls .lang-button > .icon {
  width: 17px;
  height: 17px;
}
.landing-controls .language-name {
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landing-controls .theme-pair {
  height: 38px;
  min-height: 38px;
  width: 57px;
  padding: 3px;
}
.landing-controls .theme-pair > span {
  width: 24px;
  height: 27px;
}
.landing-controls .theme-pair .icon {
  width: 16px;
  height: 16px;
}
.landing-controls .btn {
  min-height: 38px;
  font-size: 11px;
  padding: 9px 14px;
  white-space: nowrap;
}
.landing-controls .btn .icon {
  width: 17px;
  height: 17px;
}
.landing-mobile-nav {
  display: none;
}
.landing-hero {
  display: grid;
  grid-template-columns: 44% 53%;
  gap: 3%;
  align-items: center;
  padding: 12px 30px 25px;
  min-height: 530px;
}
.landing-pitch {
  padding: 8px 0 0;
  min-width: 0;
}
.landing-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid #fff;
  background: linear-gradient(110deg, #fff9, #ffeaff88);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 560;
  color: #7271af;
  box-shadow: 0 3px 14px #a9a4e31a;
  margin-bottom: 10px;
}
.landing-kicker .icon {
  width: 21px;
  height: 21px;
  color: #ee3bd1;
}
.landing-pitch h1 {
  font-size: clamp(42px, 5.1vw, 75px);
  line-height: 0.95;
  font-weight: 840;
  letter-spacing: -3.3px;
  margin: 0 0 18px;
}
.landing-pitch h1 > span {
  display: inline-block;
  background: linear-gradient(95deg, #cf35f2, #ff329f 59%, #ff8164);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 1.08;
  padding-bottom: 3px;
}
.landing-pitch > p {
  font-size: clamp(15px, 1.25vw, 18px);
  max-width: 96%;
  line-height: 1.46;
  margin-bottom: 21px;
}
.landing-profile-form {
  display: flex;
  align-items: stretch;
  gap: 4px;
  border: 1px solid var(--rh-edge);
  background: var(--rh-glass);
  border-radius: 16px;
  padding: 4px;
  box-shadow:
    0 5px 18px -10px #788fe655,
    inset 0 1px 2px #fffe;
  min-width: 0;
}
.landing-profile-input {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding-inline: 8px;
}
.landing-profile-input img {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.landing-profile-input input {
  border: 0;
  outline-offset: -2px;
  background: transparent !important;
  box-shadow: none !important;
  padding: 6px 0;
  width: 100%;
  min-height: 38px;
  min-width: 0;
  font-size: 11px;
  color: var(--rh-ink);
}
.landing-profile-input input::placeholder {
  color: #7684b3;
}
.landing-profile-form .btn {
  flex-shrink: 0;
  border-radius: 12px;
  font-size: 11px;
  min-height: 42px;
  padding: 9px 13px;
  gap: 7px;
}
.landing-profile-form .btn > .icon {
  width: 17px;
  height: 17px;
}
.landing-form-note {
  display: block;
  text-align: right;
  font-size: 10px;
  line-height: 1.4;
  color: var(--rh-caption);
  margin-top: 7px;
}
.landing-proof {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 21px;
}
.landing-proof strong,
.landing-proof b {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}
.landing-proof small {
  font-size: 10px;
  color: var(--rh-caption);
  display: block;
  line-height: 1.4;
}
.landing-faces {
  display: flex;
  flex-shrink: 0;
  padding-left: 8px;
}
.landing-faces .landing-photo {
  position: static;
  width: 29px;
  height: 35px;
  margin-left: -8px;
  border: 2px solid white;
  border-radius: 50%;
  background-size: 500% 100%;
}
.landing-proof-note {
  margin-left: auto;
  max-width: 165px;
}
.landing-proof-note b {
  background: linear-gradient(95deg, #b03eea, #fb3ca3);
  background-clip: text;
  color: transparent;
  font-weight: 750;
}
.landing-report {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.23;
  margin: 0;
  min-width: 0;
  direction: ltr;
  isolation: isolate;
}
.landing-report .optical-panel {
  position: relative;
  border-radius: 21px;
  border-color: #ffffffed;
  box-shadow:
    inset 0 2px 2px #fff,
    inset 2px 0 1px #fff9,
    inset 0 -2px 1px #fff,
    0 10px 30px -17px #939bea59;
  background: linear-gradient(128deg, #ffffffdc, #ffffff78 48%, #dafaff87);
  overflow: hidden;
}
.landing-report .optical-panel:after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #ffffffcb;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 1px 2px #ffffff76;
}
.landing-report span,
.landing-report p {
  font-size: 13px;
  font-weight: 560;
}
.report-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  height: 27%;
  display: grid;
  grid-template-columns: 43% 54%;
  gap: 3%;
}
.report-top > div {
  padding: 15px 18px;
}
.report-score > strong {
  font-size: 46px;
  letter-spacing: -1.8px;
  line-height: 1.08;
  display: block;
  margin: 7px 0 3px;
}
.landing-report .report-score {
  display: block;
  min-width: 0;
  min-height: 0;
  text-align: left;
}
.landing-report .report-score > span {
  display: block;
  margin: 0;
  padding: 0;
}
.landing-report .report-score > strong {
  display: block;
  padding: 0;
  background: none;
  box-shadow: none;
  border: 0;
}
.landing-report .report-score > p {
  margin: 0;
  max-width: none;
  position: static;
}
.report-score > strong > small {
  font-size: 14px;
  letter-spacing: -0.3px;
}
.report-score > p {
  font-size: 10px;
  color: var(--rh-caption);
  display: flex;
  align-items: center;
  gap: 6px;
}
.report-score > p > i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #07d69d;
  border-radius: 50%;
}
.report-ring {
  position: absolute;
  right: 10px;
  top: 26%;
  width: 36%;
  aspect-ratio: 1;
}
.report-ring svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 8;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 3px #ffffffcb);
}
.report-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #635fda;
}
.report-growth > strong {
  font-size: 44px;
  display: block;
  line-height: 1.2;
  margin-top: 7px;
  letter-spacing: -1.7px;
}
.report-growth > svg {
  position: absolute;
  width: 64%;
  height: 70%;
  right: 11px;
  bottom: 6px;
  overflow: visible;
  filter: drop-shadow(0 2px 2px #fff9);
}
.landing-report .report-views {
  position: absolute;
  top: 29%;
  left: 0;
  width: 69%;
  height: 44%;
  padding: 15px 20px 12px;
}
.report-view-value {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}
.report-view-value strong {
  font-size: clamp(33px, 3.75vw, 55px);
  line-height: 1.15;
  letter-spacing: -1.7px;
}
.report-view-value b {
  font-size: 19px;
  color: #00be64;
  letter-spacing: -0.6px;
}
.report-views > svg {
  width: 100%;
  height: calc(100% - 76px);
  overflow: visible;
  margin-top: 8px;
}
.report-grid {
  fill: var(--rh-caption);
  font-family: Onest, sans-serif;
  font-size: 10px;
}
.report-grid path {
  stroke: #b1bde633;
  stroke-width: 0.7;
  fill: none;
}
.report-tooltip {
  position: absolute;
  right: 8%;
  top: 48%;
  padding: 10px 13px;
  border: 1px solid #fff7;
  border-radius: 14px;
  background: linear-gradient(130deg, #fff9, #f1e2ff8c);
  box-shadow: 0 7px 15px #684eae21;
  backdrop-filter: blur(12px);
}
.report-tooltip small {
  display: block;
  font-size: 10px;
  color: var(--rh-caption);
}
.report-tooltip b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.landing-report .report-video {
  position: absolute;
  right: 0;
  top: 21%;
  width: 29%;
  height: 55%;
  padding: 6px;
  transform: rotate(1deg);
  z-index: 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.report-video > .landing-photo {
  display: block;
  flex: 1;
  position: relative;
  width: 100%;
  border-radius: 16px 16px 7px 7px;
}
.report-video > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 10px 6px 5px;
}
.report-video > div:last-child > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.report-video > div:last-child .icon {
  width: 14px;
  height: 14px;
}
.report-video > div:last-child > span:last-child .icon {
  color: #ff3b91;
}
.report-hot {
  position: absolute;
  top: 13px;
  left: 15px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.report-hot > span {
  font-size: 28px;
  filter: drop-shadow(0 2px 3px white);
}
.report-hot > b {
  font-size: 11px;
  background: linear-gradient(110deg, #ff75bf, #ff38ae);
  border: 1px solid #fffd;
  color: #fff;
  padding: 3px 11px;
  border-radius: 99px;
  box-shadow: 0 3px 8px #ff33923b;
}
.report-bottom {
  position: absolute;
  top: 76%;
  left: 0;
  width: 84%;
  height: 22%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.report-bottom > .optical-panel {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
.report-bottom span {
  font-size: 11px;
}
.report-bottom strong {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.report-bottom b {
  font-size: 13px;
  color: #00bd72;
}
.report-bottom .icon {
  position: absolute;
  right: 13px;
  top: 21px;
  width: 21px;
  height: 21px;
  color: #299bff;
  filter: drop-shadow(0 0 8px #4bdaff8c);
}
.report-bubble {
  position: absolute;
  padding: 11px 13px;
  border: 1px solid #ffffffb0;
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(120deg, #ff80d8c2, #b9c5ffe6);
  box-shadow:
    inset 0 2px 1px #fff7,
    0 8px 18px -9px #dc72f05c;
  z-index: 4;
}
.report-bubble .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.bubble-likes {
  right: -3%;
  top: 0;
  transform: rotate(8deg);
}
.bubble-growth {
  right: -4%;
  bottom: 4%;
  transform: rotate(-14deg);
}
.landing-report > figcaption {
  position: absolute;
  bottom: -16px;
  font-size: 9px;
  color: var(--rh-caption);
  left: 7px;
}
.landing-photo {
  display: block;
  background-image: url(/__rh_canonical/canonical-b84ad03ce83a1c20/ui/assets/brand/trend-strip.webp);
  background-repeat: no-repeat;
  background-size: 500% 100%;
  background-position: 0 50%;
}
.landing-photo.shot-1 {
  background-position: 25% 50%;
}
.landing-photo.shot-2 {
  background-position: 50% 50%;
}
.landing-photo.shot-3 {
  background-position: 75% 50%;
}
.landing-photo.shot-4 {
  background-position: 100% 50%;
}
.landing-section {
  padding: 14px 16px;
  margin: 0 0 12px;
  scroll-margin-top: 20px;
}
.landing-section > h2 {
  text-align: center;
  margin-bottom: 15px;
}
.landing-four,
.landing-five,
.landing-three,
.landing-two {
  display: grid;
  gap: 13px;
  align-items: stretch;
}
.landing-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.landing-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.landing-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.landing-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.landing-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 19px 14px;
  min-height: 138px;
}
.landing-feature h3 {
  margin: 4px 0 7px;
}
.landing-feature p {
  font-size: 14px;
  line-height: 1.4;
}
.landing-orb {
  --orb: #f5459c;
  flex-shrink: 0;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(at 20% 15%, #ffffffa3, transparent 45%),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--orb) 65%, white),
      var(--orb)
    );
  border: 2px solid #fff;
  box-shadow:
    0 5px 13px color-mix(in srgb, var(--orb) 36%, transparent),
    inset 0 1px 4px #fff9,
    inset 0 -4px 5px #fff3;
}
.landing-orb .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
  filter: drop-shadow(0 2px 1px #754b9849);
}
.landing-orb.tone-1 {
  --orb: #aa54ed;
}
.landing-orb.tone-2 {
  --orb: #32b9f3;
}
.landing-orb.tone-3 {
  --orb: #ff705f;
}
.landing-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.landing-section-heading > a {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: var(--rh-caption);
}
.landing-section-heading > a .icon {
  width: 16px;
  height: 16px;
}
.landing-trend {
  padding: 5px 5px 10px;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.landing-trend:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 25px -14px #9569d177;
}
.landing-trend-media {
  position: relative;
  aspect-ratio: 1.42;
  border-radius: 9px;
  overflow: hidden;
}
.landing-trend-media > .landing-photo {
  position: absolute;
  inset: 0;
  background-size: 500% auto;
  background-position-y: 35%;
  transition: transform 0.35s;
}
.landing-trend:hover .landing-photo {
  transform: scale(1.035);
}
.trend-platform {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ffffffb3;
  border: 1px solid #fff6;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  color: #101746;
}
.trend-platform img {
  width: 22px;
  height: 22px;
}
.trend-score {
  position: absolute;
  right: 5px;
  bottom: 7px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: linear-gradient(140deg, #fff3, #b3e6fa7a);
  backdrop-filter: blur(9px);
  border: 1px solid #ffffffb3;
  border-radius: 11px;
  padding: 7px 10px;
  color: #fff;
  text-shadow: 0 1px 3px #19497533;
  box-shadow:
    inset 0 1px 2px #fff9,
    0 2px 9px #152d8e17;
}
.landing-trend:nth-child(1) .trend-score,
.landing-trend:nth-child(4) .trend-score {
  background: linear-gradient(130deg, #ff77c149, #f96fd89c);
}
.trend-score small {
  font-size: 11px;
  font-weight: 600;
}
.trend-score b {
  font-size: 25px;
  line-height: 1.05;
}
.landing-trend h3 {
  font-size: 14px;
  padding: 8px 5px 4px;
  line-height: 1.3;
  min-height: 46px;
}
.landing-trend-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 6px 0;
  font-size: 12px;
  font-weight: 550;
}
.landing-trend-metrics span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.landing-trend-metrics .icon {
  width: 16px;
  height: 16px;
}
.landing-trend-metrics span:first-child .icon {
  fill: currentColor;
  width: 14px;
  height: 14px;
}
.landing-trend:first-child .landing-trend-metrics span:last-child .icon {
  color: #ff3b93;
}
.landing-steps {
  gap: 38px;
  padding: 0 0 1px;
  margin-top: 30px;
}
.landing-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 26px 14px 17px;
  min-height: 135px;
}
.landing-step h3 {
  margin: 6px 0 7px;
}
.landing-step p {
  font-size: 12px;
  line-height: 1.45;
}
.step-number {
  position: absolute;
  top: -15px;
  left: calc(50% - 20px);
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: #984af4;
  border: 1px solid #ebd4ff;
  background: linear-gradient(145deg, #fff, #f4ebff);
  box-shadow:
    inset 0 1px 2px #fff,
    0 2px 8px #aa76e21f;
  font-weight: 500;
}
.step-number.tone-1 {
  color: #f338c4;
  background: linear-gradient(145deg, #fff, #ffe5f9);
}
.step-number.tone-2 {
  color: #ff625e;
  background: linear-gradient(145deg, #fff, #ffe5e6);
}
.step-number.tone-3 {
  color: #00badd;
  background: linear-gradient(145deg, #fff, #d9ffff);
}
.step-arrow {
  position: absolute;
  right: -30px;
  top: 50%;
  color: #8498c9;
}
.step-arrow .icon {
  width: 23px;
  height: 23px;
}
.landing-tool-icon {
  width: 44px;
  height: 46px;
  border-radius: 13px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #9b48ec;
  background: linear-gradient(135deg, #fff8, #f4e6ff99);
  border: 1px solid #fff7;
}
.landing-tool-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}
.landing-tool-icon.tone-0 {
  color: #fd4e92;
  background: linear-gradient(130deg, #fff9, #ffe6f180);
}
.landing-tool-icon.tone-1 {
  color: #9743f0;
}
.landing-tool-icon.tone-2 {
  color: #288bff;
  background: linear-gradient(130deg, #fff9, #def8ff9c);
}
.landing-tool-icon.tone-3 {
  color: #ed2edf;
  background: linear-gradient(130deg, #fff9, #ffe1fc82);
}
.landing-tool-icon.tone-4 {
  color: #f343a1;
  background: linear-gradient(130deg, #fff9, #ffeafc82);
}
.landing-comparison {
  padding: 13px 17px 17px;
}
.landing-comparison header {
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.landing-comparison header > .landing-tool-icon {
  width: 37px;
  height: 38px;
}
.landing-comparison h3 {
  font-size: 18px;
  letter-spacing: -0.6px;
}
.landing-best {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  background: linear-gradient(110deg, #ec2fcd, #ff447d 74%, #ff9074);
  box-shadow:
    inset 0 1px 2px #fff9,
    0 5px 10px -6px #f744a679;
  color: #fff;
  padding: 5px 16px;
  white-space: nowrap;
  border: 1px solid #fff6;
}
.landing-comparison .landing-best {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 10px;
}
.landing-comparison ul,
.landing-plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.landing-comparison li {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
  color: var(--rh-caption);
  line-height: 1.5;
  margin: 2px 0;
}
.landing-comparison li .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ff2a83;
  stroke-width: 2;
}
.landing-comparison:first-child li .icon {
  color: #00ac98;
  stroke-width: 2.5;
}
.landing-tool {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 10px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.landing-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px -9px #8055c565;
}
.landing-tool h3 {
  font-size: 13px;
  margin: 3px 0 5px;
}
.landing-tool p {
  font-size: 12px;
  line-height: 1.4;
}
.landing-tool-icon {
  width: 40px;
  height: 43px;
}
.landing-plans > h2 {
  margin-bottom: 14px;
}
.landing-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 17px 17px 11px;
  border-radius: 14px;
}
.landing-plan > h3 {
  font-size: 15px;
}
.landing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 1px 0 3px;
  flex-wrap: wrap;
}
.landing-price > strong {
  font-size: clamp(28px, 2.65vw, 38px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.landing-price > span {
  font-size: 12px;
}
.landing-plan > p {
  font-size: 14px;
  margin-bottom: 11px;
}
.landing-plan ul {
  flex: 1;
  margin-bottom: 17px;
}
.landing-plan li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--rh-caption);
  margin-bottom: 2px;
}
.landing-plan li .icon {
  color: #00b096;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.5;
}
.landing-plan > .btn {
  width: 100%;
  min-height: 36px;
  font-size: 12px;
  padding: 8px;
  border-radius: 10px;
}
.landing-plan.is-featured {
  border: 1px solid #f184e4;
  box-shadow:
    inset 0 1px 3px #fff,
    0 0 0 3px #f492d21c,
    0 8px 22px -15px #ea3baa69;
}
.landing-plan > .landing-best {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%);
}
.plan-placeholder {
  min-height: 290px;
}
.landing-plan-error {
  grid-column: 1/-1;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 15px;
}
.landing-faq {
  padding: 12px 14px;
}
.landing-faq > h2 {
  text-align: left;
  font-size: 23px;
  margin: 0 0 7px;
}
.landing-faq .landing-two {
  column-gap: 22px;
  row-gap: 5px;
}
.landing-faq details {
  padding: 0;
  border-radius: 14px;
  align-self: start;
  overflow: hidden;
}
.landing-faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  min-height: 40px;
  line-height: 1.4;
  color: var(--rh-caption);
}
.landing-faq summary::-webkit-details-marker {
  display: none;
}
.faq-mark .icon {
  width: 20px;
  height: 20px;
  color: #399cff;
  flex-shrink: 0;
}
.faq-mark.tone-1 .icon {
  color: #a145f7;
}
.faq-mark.tone-2 .icon {
  color: #03bece;
}
.faq-mark.tone-3 .icon {
  color: #f24bad;
}
.faq-chevron {
  margin-left: auto;
  font-size: 18px;
  color: #899bc5;
  transition: transform 0.2s;
}
.landing-faq details[open] .faq-chevron {
  transform: rotate(180deg);
}
.landing-faq details > p {
  padding: 0 18px 15px 45px;
  font-size: 14px;
  line-height: 1.55;
}
.landing-final {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 75px;
  align-items: center;
  gap: 12px;
  padding: 0 0 4px;
  min-height: 155px;
  position: relative;
}
.landing-final > img:first-child {
  width: 135px;
  height: 135px;
  object-fit: contain;
  max-width: none;
  transform: rotate(-15deg);
  margin-left: -22px;
  filter: drop-shadow(0 10px 13px #b28ddd30);
}
.landing-final h2 {
  font-size: 23px;
  letter-spacing: -0.55px;
  line-height: 1.13;
  margin-bottom: 6px;
}
.landing-final p {
  font-size: 13px;
  max-width: 430px;
  line-height: 1.4;
}
.landing-final .landing-profile-form {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 5px;
}
.landing-final .landing-profile-input {
  background: var(--rh-glass);
  border: 1px solid var(--rh-edge);
  border-radius: 13px;
  box-shadow: inset 0 1px 1px #fff9;
  padding-inline: 14px;
}
.landing-final .landing-profile-input input {
  font-size: 11px;
  min-height: 38px;
}
.landing-final .btn {
  min-height: 40px;
}
.landing-final .landing-form-note {
  font-size: 9px;
}
.landing-final-heart {
  width: 100%;
  height: 115px;
  object-fit: contain;
  max-width: 100%;
  transform: rotate(16deg);
}
.landing-final > div:last-of-type {
  grid-column: 3/-1;
  margin-right: 16px;
}
.landing-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr 1.2fr;
  gap: 26px;
  border-top: 1px solid var(--rh-edge);
  padding: 15px 12px 35px;
  font-size: 12px;
}
.landing-footer > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.landing-footer .brand {
  font-size: 17px;
  gap: 7px;
  margin-bottom: 7px;
}
.landing-footer .brand img {
  width: 25px;
  height: 25px;
}
.landing-footer .brand strong {
  font-size: 17px;
}
.landing-footer strong {
  font-size: 12px;
  margin-bottom: 5px;
}
.landing-footer a:not(.brand) {
  font-size: 11px;
  color: var(--rh-caption);
  display: flex;
  gap: 5px;
  align-items: center;
  line-height: 1.55;
}
.landing-footer a:hover {
  color: var(--purple);
}
.landing-footer a > .icon {
  width: 14px;
  height: 14px;
}
.landing-footer p,
.landing-footer small {
  font-size: 10px;
  color: var(--rh-caption);
  line-height: 1.45;
  max-width: 245px;
}
.landing-footer-platforms {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 10px 0;
}
.landing-footer-platforms img {
  width: 19px;
  height: 19px;
}
:root[data-theme="dark"] body:has(.glass-landing) {
  background:
    radial-gradient(ellipse at 12% 10%, #58317728, transparent 50%),
    radial-gradient(ellipse at 85% 35%, #05465b2e, transparent 55%), var(--bg);
}
:root[data-theme="dark"] body:has(.glass-landing):before {
  opacity: 0.07;
}
:root[data-theme="dark"]
  :is(.optical-panel, .landing-report .optical-panel, .landing-nav) {
  background: var(--rh-glass);
  border-color: var(--rh-edge);
  box-shadow:
    inset 0 1px 2px #d7e6ff30,
    inset 0 -1px 1px #cedfff1c,
    var(--rh-depth);
}
:root[data-theme="dark"] .landing-report .optical-panel:after {
  border-color: #d1e7ff23;
  box-shadow: inset 0 1px 2px #fff1;
}
:root[data-theme="dark"] .matte-panel {
  background: var(--rh-matte);
  border-color: #afc8eb22;
  box-shadow: none;
}
:root[data-theme="dark"] :is(.landing-kicker, .report-tooltip, .step-number) {
  background: linear-gradient(135deg, #514068c9, #263753c9);
  border-color: var(--rh-edge);
  color: #d6cefa;
  box-shadow: inset 0 1px 2px #fff2;
}
:root[data-theme="dark"] .landing-pitch h1 > span {
  background-image: linear-gradient(95deg, #e172ff, #ff69b8 60%, #ff9c78);
}
:root[data-theme="dark"] .landing-profile-form {
  box-shadow:
    inset 0 1px 2px #fff2,
    0 4px 15px #0002;
}
:root[data-theme="dark"] .landing-photo {
  filter: saturate(0.95);
}
:root[data-theme="dark"] .landing-faces .landing-photo {
  border-color: #27354f;
}
:root[data-theme="dark"] .landing-tool-icon {
  background: #2d34549e;
  border-color: #ffffff14;
}
:root[data-theme="dark"] .landing-orb {
  border-color: #c8deff6c;
  box-shadow:
    inset 0 1px 4px #fff7,
    inset 0 -4px 5px #fff3,
    0 5px 15px #0003;
}
:root[data-theme="dark"] .landing-best {
  border-color: #ffb3e189;
}
:root[data-theme="dark"] :is(.report-bottom b, .report-view-value b) {
  color: #38eaa0;
}
:root[data-theme="dark"] .report-grid path {
  stroke: #c1d7f71c;
}
:root[data-theme="dark"] .landing-final .landing-profile-input {
  box-shadow: inset 0 1px 2px #fff2;
}
@media (min-width: 1600px) {
  .landing-hero {
    min-height: 610px;
  }
  .landing-nav > nav {
    font-size: 13px;
  }
  .landing-controls .btn {
    font-size: 12px;
  }
  .landing-feature {
    min-height: 150px;
  }
  .landing-trend-media {
    aspect-ratio: 1.35;
  }
}
@media (max-width: 1250px) {
  .glass-landing {
    width: calc(100% - 40px);
  }
  .landing-nav {
    width: 100%;
    gap: 16px;
    padding: 10px 14px;
  }
  .landing-nav > nav {
    gap: 13px;
    font-size: 11px;
  }
  .landing-controls {
    gap: 6px;
  }
  .landing-controls .theme-pair {
    width: 38px;
  }
  .landing-controls .theme-pair > span {
    width: 27px;
  }
  .landing-controls .theme-pair > span:nth-child(2) {
    display: none;
  }
  :root[data-theme="dark"] .landing-controls .theme-pair > span:first-child {
    display: none;
  }
  :root[data-theme="dark"] .landing-controls .theme-pair > span:last-child {
    display: grid;
  }
  .landing-controls .language-name {
    display: none;
  }
  .landing-controls .lang-button {
    width: 38px;
    justify-content: center;
    padding: 7px;
  }
  .landing-controls .landing-nav-cta {
    font-size: 10px;
    padding: 9px 10px;
  }
  .landing-hero {
    padding: 16px 20px 28px;
    min-height: 480px;
  }
  .landing-pitch h1 {
    letter-spacing: -2.5px;
  }
  .landing-proof-note {
    display: none;
  }
  .landing-feature {
    gap: 10px;
    padding: 14px 11px;
    min-height: 128px;
  }
  .landing-feature .landing-orb {
    width: 45px;
    height: 45px;
  }
  .landing-feature .landing-orb .icon {
    width: 27px;
    height: 27px;
  }
  .landing-feature h3 {
    font-size: 14px;
  }
  .landing-feature p {
    font-size: 12px;
  }
  .landing-report {
    aspect-ratio: 1.19;
  }
  .report-score > strong {
    font-size: 39px;
  }
  .report-growth > strong {
    font-size: 37px;
  }
  .report-top > div {
    padding: 12px 14px;
  }
  .report-views > svg {
    height: calc(100% - 60px);
  }
  .report-bottom > .optical-panel {
    padding: 11px 12px;
  }
  .report-bottom strong {
    font-size: 28px;
  }
  .report-bottom .icon {
    right: 8px;
    width: 18px;
    height: 18px;
  }
  .report-video > div:last-child > span {
    font-size: 9px;
  }
  .report-hot {
    left: 10px;
    right: 9px;
  }
  .report-hot > b {
    font-size: 9px;
    padding-inline: 6px;
  }
  .landing-profile-form .btn {
    font-size: 10px;
    padding: 10px;
    gap: 5px;
  }
  .landing-profile-input input {
    font-size: 10px;
  }
  .landing-comparison .landing-best {
    font-size: 9px;
    padding-inline: 7px;
  }
  .landing-comparison h3 {
    font-size: 16px;
  }
  .landing-comparison li {
    font-size: 12px;
  }
  .landing-tool {
    gap: 7px;
  }
  .landing-tool-icon {
    width: 33px;
    height: 37px;
  }
  .landing-tool h3 {
    font-size: 12px;
  }
  .landing-tool p {
    font-size: 11px;
  }
  .landing-step {
    gap: 8px;
    padding-inline: 11px;
  }
  .landing-step h3 {
    font-size: 13px;
  }
  .landing-final h2 {
    font-size: 20px;
  }
}
@media (max-width: 1000px) {
  .landing-nav .landing-nav-cta {
    display: none;
  }
  .landing-nav > .brand strong {
    font-size: 19px;
  }
  .landing-nav > nav {
    font-size: 12px;
    gap: 14px;
  }
  .landing-hero {
    min-height: 440px;
    padding-inline: 10px;
    grid-template-columns: 45% 52%;
  }
  .landing-pitch h1 {
    font-size: clamp(36px, 5vw, 48px);
    letter-spacing: -1.9px;
  }
  .landing-pitch > p {
    font-size: 14px;
  }
  .landing-kicker {
    font-size: 11px;
    padding: 7px 12px;
  }
  .landing-profile-form {
    flex-wrap: wrap;
  }
  .landing-profile-input {
    min-width: 100%;
    padding-inline: 10px;
  }
  .landing-profile-input input {
    font-size: 12px;
  }
  .landing-profile-form .btn {
    width: 100%;
    font-size: 12px;
  }
  .landing-form-note {
    font-size: 9px;
  }
  .landing-proof {
    margin-top: 12px;
  }
  .landing-proof strong,
  .landing-proof small {
    font-size: 9px;
  }
  .landing-report {
    aspect-ratio: 1.1;
  }
  .report-score > strong {
    font-size: 33px;
  }
  .report-score > p {
    font-size: 8px;
  }
  .report-ring {
    right: 7px;
  }
  .report-growth > strong {
    font-size: 32px;
  }
  .report-top > div {
    padding: 11px;
  }
  .report-growth > svg {
    width: 63%;
    bottom: 10px;
  }
  .report-bottom strong {
    font-size: 25px;
  }
  .report-bottom b {
    font-size: 11px;
  }
  .report-bottom .icon {
    right: 6px;
    top: 15px;
    width: 17px;
  }
  .report-bottom > .optical-panel {
    padding: 10px;
  }
  .landing-report span {
    font-size: 11px;
  }
  .report-bubble {
    padding: 8px;
  }
  .report-bubble .icon {
    width: 14px;
  }
  .report-view-value b {
    font-size: 15px;
  }
  .landing-report .report-views {
    padding: 13px 12px;
  }
  .report-hot > span {
    font-size: 23px;
  }
  .report-hot > b {
    font-size: 8px;
  }
  .landing-steps {
    gap: 22px;
  }
  .step-arrow {
    right: -22px;
  }
  .landing-comparison .landing-best {
    display: none;
  }
  .landing-comparison header {
    gap: 8px;
  }
  .landing-comparison h3 {
    font-size: 15px;
  }
  .landing-trend h3 {
    font-size: 12px;
  }
  .landing-trend-metrics {
    font-size: 10px;
  }
  .trend-score {
    padding: 5px 8px;
  }
  .trend-score b {
    font-size: 23px;
  }
  .trend-platform {
    font-size: 10px;
    padding: 3px;
  }
  .trend-platform img {
    width: 18px;
    height: 18px;
  }
  .landing-final {
    grid-template-columns: 75px 1fr 1fr;
  }
  .landing-final-heart {
    display: none;
  }
  .landing-final > img:first-child {
    width: 105px;
    height: 105px;
  }
  .landing-footer {
    gap: 17px;
  }
}
@media (max-width: 760px) {
  .glass-landing {
    width: calc(100% - 28px);
  }
  .glass-landing h2 {
    font-size: 24px;
    letter-spacing: -0.7px;
  }
  .landing-nav {
    min-height: 65px;
    margin-bottom: 9px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 0 0 20px 20px;
  }
  .landing-nav > nav {
    display: none;
  }
  .landing-nav > .brand {
    margin-right: auto;
  }
  .landing-nav > .brand strong {
    font-size: 19px;
  }
  .landing-nav > .brand img {
    width: 31px;
    height: 31px;
  }
  .landing-controls {
    gap: 7px;
  }
  .landing-controls .landing-login {
    display: none;
  }
  .landing-mobile-nav {
    display: block;
    position: relative;
  }
  .landing-mobile-nav > summary {
    display: grid;
    place-items: center;
    list-style: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--rh-edge);
    background: var(--rh-glass);
    cursor: pointer;
  }
  .landing-mobile-nav > summary::-webkit-details-marker {
    display: none;
  }
  .landing-mobile-nav > summary .icon {
    width: 22px;
    height: 22px;
  }
  .landing-mobile-nav > nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    right: 0;
    top: 47px;
    width: 230px;
    padding: 10px;
    border-radius: 17px;
    background: var(--solid);
    box-shadow: 0 15px 35px #1928542b;
    border: 1px solid var(--rh-edge);
  }
  .landing-mobile-nav > nav a {
    padding: 11px;
    font-size: 14px;
  }
  .landing-mobile-nav > nav a:hover {
    background: var(--rh-inner);
    border-radius: 9px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 10px 28px;
    min-height: 0;
  }
  .landing-pitch {
    max-width: 580px;
    margin: auto;
    text-align: center;
  }
  .landing-kicker {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .landing-pitch h1 {
    font-size: clamp(39px, 7.5vw, 57px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px;
  }
  .landing-pitch > p {
    font-size: 16px;
    max-width: 100%;
    margin: 0 auto 22px;
  }
  .landing-profile-form {
    flex-wrap: nowrap;
    max-width: 520px;
    margin: auto;
  }
  .landing-profile-input {
    min-width: 0;
    padding-inline: 6px;
  }
  .landing-profile-input input {
    font-size: 12px;
  }
  .landing-profile-form .btn {
    width: auto;
    max-width: 45%;
    font-size: 12px;
    padding: 10px 12px;
  }
  .landing-form-note {
    text-align: center;
    font-size: 10px;
  }
  .landing-proof {
    justify-content: center;
    text-align: left;
    margin-top: 17px;
    gap: 13px;
  }
  .landing-proof strong {
    font-size: 11px;
  }
  .landing-proof small {
    font-size: 10px;
  }
  .landing-proof-note {
    display: none;
  }
  .landing-report {
    max-width: 580px;
    margin: auto !important;
    aspect-ratio: 1.24;
  }
  .report-score > strong {
    font-size: clamp(32px, 7vw, 43px);
  }
  .report-ring {
    width: 35%;
    right: 8px;
  }
  .report-score > p {
    font-size: 9px;
  }
  .report-growth > strong {
    font-size: clamp(32px, 7vw, 43px);
  }
  .report-top > div {
    padding: 12px 15px;
  }
  .landing-report .report-views {
    padding: 13px 16px;
  }
  .report-view-value strong {
    font-size: clamp(32px, 6.6vw, 43px);
  }
  .report-view-value b {
    font-size: 16px;
  }
  .report-bottom > .optical-panel {
    padding: 11px 13px;
  }
  .report-bottom strong {
    font-size: 28px;
  }
  .report-bottom .icon {
    top: 16px;
    right: 11px;
  }
  .report-bubble {
    right: 0;
  }
  .report-video > div:last-child > span {
    font-size: 10px;
  }
  .landing-section {
    padding: 16px 13px;
    margin-bottom: 13px;
    border-radius: 22px;
  }
  .landing-section > h2 {
    margin: 0 auto 18px;
    max-width: 500px;
  }
  .landing-four {
    grid-template-columns: 1fr 1fr;
  }
  .landing-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .landing-three {
    grid-template-columns: 1fr;
  }
  .landing-section-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .landing-section-heading > a {
    font-size: 11px;
    white-space: normal;
    max-width: 90px;
    flex-shrink: 0;
    line-height: 1.4;
  }
  .landing-feature {
    padding: 17px 12px;
    min-height: 140px;
    gap: 11px;
  }
  .landing-feature h3 {
    font-size: 14px;
  }
  .landing-feature p {
    font-size: 13px;
  }
  .landing-trend-media {
    aspect-ratio: 1.12;
  }
  .landing-trend h3 {
    font-size: 14px;
    line-height: 1.35;
    min-height: 48px;
  }
  .landing-trend-metrics {
    font-size: 12px;
  }
  .landing-trend:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 5px;
  }
  .landing-trend:last-child .landing-trend-media {
    grid-row: 1/3;
    aspect-ratio: 1.4;
  }
  .landing-trend:last-child h3 {
    padding: 12px 12px 3px 0;
    font-size: 16px;
  }
  .landing-trend:last-child .landing-trend-metrics {
    padding: 8px 12px 10px 0;
    align-self: start;
  }
  .trend-platform {
    font-size: 11px;
    padding: 4px 6px;
  }
  .trend-platform img {
    width: 21px;
    height: 21px;
  }
  .trend-score b {
    font-size: 26px;
  }
  .landing-steps {
    row-gap: 30px;
    column-gap: 14px;
    padding-top: 9px;
  }
  .landing-step {
    padding: 24px 13px 18px;
    gap: 10px;
    min-height: 160px;
  }
  .landing-step h3 {
    font-size: 14px;
  }
  .landing-step p {
    font-size: 13px;
  }
  .step-arrow {
    display: none;
  }
  .landing-comparison {
    padding: 18px 20px;
  }
  .landing-comparison header {
    gap: 11px;
    margin-bottom: 10px;
  }
  .landing-comparison h3 {
    font-size: 19px;
  }
  .landing-comparison .landing-best {
    display: inline-block;
    font-size: 11px;
  }
  .landing-comparison li {
    font-size: 14px;
    line-height: 1.65;
    gap: 12px;
  }
  .landing-tool {
    padding: 16px;
    gap: 12px;
  }
  .landing-tool h3 {
    font-size: 14px;
  }
  .landing-tool p {
    font-size: 13px;
  }
  .landing-tool-icon {
    width: 40px;
    height: 43px;
  }
  .landing-tools > a:last-child {
    grid-column: 1/-1;
  }
  .landing-plan {
    padding: 22px 15px 12px;
  }
  .landing-plans .landing-four {
    gap: 20px 12px;
  }
  .landing-plan h3 {
    font-size: 16px;
  }
  .landing-plan p {
    font-size: 13px;
  }
  .landing-price > strong {
    font-size: 30px;
  }
  .landing-plan li {
    font-size: 12px;
    line-height: 1.6;
  }
  .landing-plan > .btn {
    min-height: 42px;
    font-size: 13px;
  }
  .landing-plan > .landing-best {
    font-size: 10px;
    padding: 4px 10px;
  }
  .landing-faq .landing-two {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .landing-faq summary {
    font-size: 14px;
    min-height: 52px;
    padding: 11px;
  }
  .landing-faq > h2 {
    text-align: left;
    margin-bottom: 14px;
  }
  .landing-final {
    grid-template-columns: 65px 1fr;
    gap: 12px;
    padding: 7px 7px 24px;
  }
  .landing-final > div:last-of-type {
    grid-column: 1/-1;
  }
  .landing-final h2 {
    font-size: 23px;
  }
  .landing-final p {
    font-size: 14px;
    line-height: 1.45;
  }
  .landing-final > img:first-child {
    width: 95px;
    height: 95px;
    margin-left: -19px;
  }
  .landing-final .landing-profile-form {
    max-width: none;
  }
  .landing-final .landing-profile-input {
    min-height: 46px;
    flex: none;
    width: 100%;
  }
  .landing-final .landing-profile-input input {
    font-size: 14px;
    min-height: 44px;
  }
  .landing-final .btn {
    max-width: none;
    min-height: 48px;
    font-size: 14px;
    width: 100%;
  }
  .landing-final .landing-form-note {
    font-size: 10px;
  }
  .landing-footer {
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
    padding: 20px 10px 50px;
  }
  .landing-footer > div:first-child {
    grid-column: 1/-1;
  }
  .landing-footer .brand strong {
    font-size: 21px;
  }
  .landing-footer .brand img {
    width: 32px;
    height: 32px;
  }
  .landing-footer p {
    font-size: 13px;
    max-width: 300px;
  }
  .landing-footer strong {
    font-size: 14px;
  }
  .landing-footer a:not(.brand) {
    font-size: 13px;
    line-height: 1.8;
  }
  .landing-footer small {
    font-size: 11px;
  }
}
@media (max-width: 430px) {
  .glass-landing {
    width: calc(100% - 20px);
  }
  .landing-nav {
    padding: 10px 8px;
    gap: 5px;
  }
  .landing-nav > .brand {
    gap: 3px;
  }
  .landing-nav > .brand strong {
    font-size: 17px;
    letter-spacing: -0.7px;
  }
  .landing-nav > .brand img {
    width: 28px;
    height: 28px;
  }
  .landing-controls {
    gap: 5px;
  }
  .landing-controls .lang-button,
  .landing-controls .theme-pair,
  .landing-mobile-nav > summary {
    width: 34px;
    height: 36px;
    min-height: 36px;
  }
  .landing-mobile-nav > summary .icon {
    width: 20px;
    height: 20px;
  }
  .landing-hero {
    padding: 18px 4px 25px;
    gap: 23px;
  }
  .landing-pitch h1 {
    font-size: clamp(35px, 10vw, 42px);
    letter-spacing: -1.8px;
  }
  .landing-pitch > p {
    font-size: 15px;
  }
  .landing-profile-form {
    flex-direction: column;
  }
  .landing-profile-input {
    padding: 5px 10px;
  }
  .landing-profile-input input {
    font-size: 13px;
  }
  .landing-profile-form .btn {
    width: 100%;
    max-width: none;
    font-size: 13px;
    min-height: 47px;
  }
  .landing-report {
    aspect-ratio: 1.16;
  }
  .landing-report .optical-panel {
    border-radius: 16px;
  }
  .landing-report .optical-panel:after {
    inset: 3px;
    border-radius: 12px;
  }
  .report-top > div {
    padding: 9px 10px;
  }
  .report-score > strong {
    font-size: 29px;
    margin-top: 4px;
  }
  .report-score > strong small {
    font-size: 10px;
  }
  .report-score > p {
    font-size: 7px;
    gap: 3px;
  }
  .report-score > p > i {
    width: 5px;
    height: 5px;
  }
  .report-ring {
    right: 3px;
    top: 30%;
  }
  .report-ring b {
    font-size: 11px;
  }
  .report-growth > strong {
    font-size: 29px;
    margin-top: 3px;
  }
  .landing-report span {
    font-size: 10px;
  }
  .report-bubble {
    padding: 6px 8px;
    border-radius: 13px;
  }
  .report-bubble .icon {
    width: 13px;
    height: 13px;
  }
  .landing-report .report-views {
    padding: 10px 12px;
  }
  .report-view-value {
    gap: 6px;
  }
  .report-view-value strong {
    font-size: 30px;
  }
  .report-view-value b {
    font-size: 12px;
  }
  .report-views > svg {
    height: calc(100% - 52px);
    margin-top: 6px;
  }
  .report-tooltip {
    padding: 6px 8px;
    border-radius: 10px;
  }
  .report-tooltip b {
    font-size: 15px;
  }
  .report-tooltip small {
    font-size: 8px;
  }
  .report-bottom {
    gap: 6px;
    height: 23%;
  }
  .report-bottom > .optical-panel {
    padding: 9px 10px;
  }
  .report-bottom strong {
    font-size: 23px;
  }
  .report-bottom b {
    font-size: 10px;
  }
  .report-bottom .icon {
    right: 6px;
    top: 10px;
    width: 14px;
    height: 14px;
  }
  .report-bottom span {
    font-size: 8px;
  }
  .report-hot {
    left: 9px;
    right: 7px;
    top: 9px;
  }
  .report-hot > span {
    font-size: 20px;
  }
  .report-hot > b {
    font-size: 7px;
    padding: 2px 5px;
  }
  .report-video > .landing-photo {
    border-radius: 12px 12px 6px 6px;
  }
  .report-video > div:last-child {
    padding: 7px 2px 3px;
    gap: 1px;
  }
  .report-video > div:last-child > span {
    font-size: 8px;
    gap: 2px;
  }
  .report-video > div:last-child .icon {
    width: 10px;
    height: 10px;
  }
  .landing-section {
    padding: 15px 10px;
  }
  .glass-landing h2 {
    font-size: 22px;
  }
  .landing-feature {
    flex-direction: column;
    padding: 15px;
    gap: 9px;
    min-height: 187px;
  }
  .landing-feature h3 {
    margin-top: 0;
  }
  .landing-feature p {
    font-size: 13px;
  }
  .landing-trend h3 {
    font-size: 13px;
    min-height: 51px;
  }
  .landing-trend-metrics {
    font-size: 11px;
    padding-inline: 3px;
    gap: 4px;
  }
  .landing-trend-metrics .icon {
    width: 14px;
    height: 14px;
  }
  .landing-trend:last-child h3 {
    font-size: 14px;
  }
  .landing-trend:last-child .landing-trend-metrics {
    font-size: 11px;
  }
  .landing-step {
    flex-direction: column;
    gap: 4px;
    min-height: 205px;
    padding-top: 28px;
  }
  .landing-comparison .landing-best {
    font-size: 9px;
    padding-inline: 8px;
  }
  .landing-comparison {
    padding: 16px 14px;
  }
  .landing-comparison h3 {
    font-size: 17px;
  }
  .landing-tool {
    padding: 13px 10px;
    gap: 8px;
    flex-direction: column;
  }
  .landing-tool:last-child {
    flex-direction: row;
  }
  .landing-plans .landing-four {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .landing-plan {
    padding: 22px;
  }
  .landing-price > strong {
    font-size: 38px;
  }
  .landing-plan li {
    font-size: 14px;
  }
  .landing-plan > p {
    font-size: 15px;
  }
  .landing-plan > .btn {
    min-height: 46px;
    font-size: 14px;
  }
  .landing-plan > .landing-best {
    font-size: 12px;
  }
  .landing-final h2 {
    font-size: 21px;
  }
  .landing-footer {
    gap: 18px;
  }
  .landing-footer a:not(.brand) {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-trend,
  .landing-tool,
  .landing-trend .landing-photo {
    transition: none;
    transform: none;
  }
}
.theme-pair {
  display: inline-flex !important;
  flex-shrink: 0;
}
@media (max-width: 359px) {
  .theme-pair,
  .auth-top .theme-pair {
    width: 39px;
    min-width: 39px;
    padding: 4px;
  }
  .theme-pair > span {
    width: 27px;
    height: 27px;
  }
  .theme-pair > span:first-child {
    display: grid;
  }
  .theme-pair > span:last-child {
    display: none;
  }
  :root[data-theme="dark"] .theme-pair > span:first-child {
    display: none;
  }
  :root[data-theme="dark"] .theme-pair > span:last-child {
    display: grid;
  }
  .landing-controls .theme-pair {
    width: 34px;
    min-width: 34px;
    padding: 3px;
  }
  .auth-top:before {
    font-size: 18px;
  }
}
html[data-preview="true"] .feed-poster > img[src*="trend-strip.webp"] {
  object-fit: cover;
  object-position: 0 50%;
  background: transparent;
}
html[data-preview="true"] .feed-poster > img[src$="#shot=1"] {
  object-position: 25% 50%;
}
html[data-preview="true"] .feed-poster > img[src$="#shot=2"] {
  object-position: 50% 50%;
}
html[data-preview="true"] .feed-poster > img[src$="#shot=3"] {
  object-position: 75% 50%;
}
html[data-preview="true"] .feed-poster > img[src$="#shot=4"] {
  object-position: 100% 50%;
}
@media (max-width: 760px) {
  .landing-final > div:last-of-type {
    grid-column: 1/-1;
    margin-right: 0;
  }
  .landing-final > img:first-child {
    margin-left: 0;
    max-width: 100%;
    transform: rotate(-8deg);
  }
}
.choice-group {
  gap: 8px;
  align-items: stretch;
  max-width: 100%;
}
.choice-group > button {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  border-radius: 12px;
}
.choice-group > button:after {
  inset: 2px;
  border-radius: 9px;
  opacity: 0.7;
}
.choice-group > button[aria-checked="true"] {
  font-weight: 650;
}
.script-compose-form {
  container-type: inline-size;
}
.script-compose-form .field,
.script-compose-form .span2 {
  min-width: 0;
}
.script-compose-form .field > label {
  display: block;
  margin-bottom: 10px;
}
.script-compose-actions {
  flex-wrap: wrap;
  gap: 12px;
}
.script-compose-actions > .btn {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  padding: 12px 18px;
}
.actions > .btn:not(.icon-only) {
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  min-height: 44px;
}
.actions > .btn > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-tabs {
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  overflow: visible;
}
.admin-tabs > .btn {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.dash-periods {
  gap: 5px;
  flex-wrap: wrap;
  overflow: visible;
  padding: 4px;
  border-radius: 15px;
  max-width: 100%;
}
.dash-periods > button {
  flex: 1 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 11px;
}
.dash-periods > button:after {
  border-radius: 8px;
  opacity: 0.55;
}
.dash-chart-controls {
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}
.dash-trends > .dash-section-heading {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) max-content;
  align-items: center;
  height: auto;
  min-height: 54px;
  gap: 10px;
  padding: 6px 4px 12px;
  margin: 0;
}
.dash-trends .dash-chart-controls {
  margin: 0;
  width: auto;
  flex-wrap: nowrap;
}
.dash-trends .dash-periods {
  flex: 0 0 auto;
  width: max-content;
}
.dash-trends .dash-chart-controls .dash-periods > button[aria-pressed="true"] {
  background:
    linear-gradient(175deg, #ffffffad, transparent 48%, #ffffff57),
    linear-gradient(110deg, #edccff, #bfd9ff);
  color: #7026c8;
  border-color: #d8baf0;
  box-shadow:
    inset 0 1px 2px #fff,
    0 3px 10px #9463ce30;
}
:root[data-theme="dark"]
  .dash-trends
  .dash-chart-controls
  .dash-periods
  > button[aria-pressed="true"] {
  background:
    linear-gradient(175deg, #ffffff26, transparent 50%, #c7caff0f),
    linear-gradient(110deg, #634284, #384f82);
  color: #f1dfff;
  border-color: #c3a4eb88;
  box-shadow:
    inset 0 1px 2px #eadfff44,
    0 3px 10px #0003;
}
.source-add-grid > .btn {
  height: auto;
  min-height: 46px;
  line-height: 1.35;
  white-space: normal;
  padding: 11px 16px;
  gap: 8px;
}
.library-recent-link {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  padding: 10px 6px;
}
.dash-chart-panel .dash-chart,
.dash-chart-panel .dash-chart > svg {
  color: var(--metric-color);
}
:root[data-theme="dark"] .dash-chart-panel.purple {
  --metric-color: #c989ff;
}
:root[data-theme="dark"] .dash-chart-panel.blue {
  --metric-color: #75aaff;
}
:root[data-theme="dark"] .dash-chart-panel.pink {
  --metric-color: #ff7dcf;
}
.dash-chart svg circle {
  stroke: var(--solid);
  stroke-width: 0.75px;
}
.dash-chart svg .chart-value {
  fill: var(--text);
}
@container (max-width:840px) {
  .script-compose-form .form-grid > .field {
    grid-column: span 6;
  }
  .script-compose-form .form-grid > .field:has(#duration),
  .script-compose-form .form-grid > .field:has(#language),
  .script-compose-form .form-grid > .field:has(#niche),
  .script-compose-form .form-grid > .span2:has(#audience) {
    grid-column: span 6;
  }
}
@container (max-width:560px) {
  .script-compose-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .script-compose-form .form-grid > .field,
  .script-compose-form .form-grid > .span2,
  .script-compose-form .form-grid > .field:has(#duration),
  .script-compose-form .form-grid > .field:has(#language),
  .script-compose-form .form-grid > .field:has(#niche),
  .script-compose-form .form-grid > .span2:has(#audience),
  .script-compose-form .form-grid > .span2:has(#use_dna),
  .script-compose-form .form-grid > .span2:has(.script-library-picker) {
    grid-column: 1/-1;
  }
  .script-compose-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .script-compose-actions > .btn {
    flex: 1 1 180px;
    justify-content: center;
  }
  .script-compose-actions > .btn.primary {
    flex-basis: 100%;
  }
}
.dash-platform-art {
  min-width: 0;
  justify-content: space-between;
  gap: 20px;
  padding-top: 9px;
}
.platform-emblem {
  --emblem-glow: #d259f5;
  display: grid;
  place-items: center;
  position: relative;
  width: clamp(90px, 8vw, 132px);
  aspect-ratio: 1;
  margin: 9px auto 17px;
  isolation: isolate;
  transform: rotate(-12deg);
  border-radius: 28%;
  border: 1px solid #ffffffd1;
  background: linear-gradient(
    145deg,
    #fffffff5,
    #dfc5ff9e 45%,
    #ff86bfbd 72%,
    #bca8ffed
  );
  box-shadow:
    inset 0 2px 2px #fff,
    inset 2px 0 3px #fff,
    inset -3px -4px 5px #8056aa70,
    2px 6px #c7a4e680,
    0 19px 27px -12px color-mix(in srgb, var(--emblem-glow) 55%, transparent);
  transition: transform 0.3s ease;
}
.platform-emblem:before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #fffd;
  border-radius: 25%;
  pointer-events: none;
  box-shadow:
    inset 0 2px 2px #fff9,
    inset 0 -3px 3px #fff9;
  z-index: 2;
}
.platform-emblem:after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27%;
  background: linear-gradient(155deg, #fff9, transparent 30% 68%, #fff6);
  pointer-events: none;
  z-index: 3;
}
.platform-emblem-face {
  display: grid;
  place-items: center;
  width: 84%;
  height: 84%;
  border-radius: 24%;
  overflow: hidden;
  box-shadow:
    0 2px 5px #592e874d,
    inset 0 1px 2px #fff9;
  background: #a63ccd;
}
.platform-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  image-rendering: auto;
}
.platform-emblem.tiktok {
  --emblem-glow: #2fc9ed;
  background: linear-gradient(
    145deg,
    #f3fcff,
    #8febf1b3 40%,
    #fa81c5b5 77%,
    #d5adff
  );
  transform: rotate(10deg);
}
.platform-emblem.tiktok .platform-emblem-face {
  background: #11131c;
}
.platform-emblem.youtube {
  --emblem-glow: #ff436c;
  background: linear-gradient(
    140deg,
    #fff,
    #ffb4c0be 34%,
    #ff507daf 73%,
    #fce1ff
  );
  transform: rotate(-8deg);
}
.platform-emblem.youtube .platform-emblem-face {
  background: linear-gradient(140deg, #ff5467, #ff123e);
  box-shadow:
    inset 0 2px 2px #ff96b1,
    0 2px 6px #9b245e4d;
}
.platform-emblem.youtube img {
  width: 83%;
  height: 83%;
}
.dash-platform:hover .platform-emblem {
  transform: translateY(-3px) rotate(-6deg);
}
.dash-platform.tiktok:hover .platform-emblem {
  transform: translateY(-3px) rotate(6deg);
}
:root[data-theme="dark"] .platform-emblem {
  border-color: #fff9;
  box-shadow:
    inset 0 2px 2px #fff,
    inset 2px 0 3px #fffc,
    inset -3px -4px 5px #5433709c,
    2px 6px #593661b5,
    0 17px 35px -16px color-mix(in srgb, var(--emblem-glow) 70%, transparent);
}
.dash-platform > header > .platform-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.dash-platform > header > .platform-open {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 11px;
}
.dash-platform > header > .platform-open:after {
  border-radius: 8px;
}
@media (max-width: 600px) {
  .platform-emblem {
    width: 108px;
    margin-block: 8px 16px;
  }
  .dash-platform-art {
    gap: 14px;
  }
  .dash-periods {
    width: 100%;
  }
  .dash-periods > button {
    min-height: 42px;
    font-size: 13px;
    padding-inline: 10px;
  }
}
@media (max-width: 359px) {
  .platform-emblem {
    width: 86px;
  }
  .choice-group > button {
    font-size: 14px;
    padding: 10px 12px;
  }
}
@media (max-width: 1100px) {
  .dash-trends > .dash-section-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .dash-trends .dash-chart-controls {
    grid-column: 1/-1;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .dash-trends .dash-chart-controls select {
    max-width: 100%;
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  .dash-trends .dash-periods {
    width: 100%;
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .platform-emblem {
    transition: none;
  }
  .dash-platform:hover .platform-emblem {
    transform: rotate(-12deg);
  }
  .dash-platform.tiktok:hover .platform-emblem {
    transform: rotate(10deg);
  }
}
.auth-provider-slot .rh-tg-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 10px 14px;
  white-space: normal;
  line-height: 1.25;
  font: inherit;
  color: inherit;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
}
.rh-tg-button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.rh-tg-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-provider-slot .rh-tg-button:focus-visible {
  outline: 3px solid #8e52fa;
  outline-offset: 3px;
}
.rh-tg-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #ffffffb0;
  border-radius: 28px;
  background: linear-gradient(145deg, #fffffff5, #f1edfff5);
  color: #161942;
  box-shadow:
    0 25px 85px #37305a40,
    inset 0 1px 2px #fff;
  backdrop-filter: blur(18px);
}
.rh-tg-dialog::backdrop {
  background: #15112d60;
  backdrop-filter: blur(5px);
}
.rh-tg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rh-tg-head h2 {
  font-size: 23px;
  margin: 0;
  min-width: 0;
}
.rh-tg-head button {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  font-size: 25px;
}
.rh-tg-description,
.rh-tg-help {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.85;
}
.rh-tg-qr {
  width: 190px;
  max-width: 100%;
  margin: 16px auto;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-sizing: border-box;
}
.rh-tg-qr svg {
  width: 100%;
  height: auto;
  display: block;
}
.rh-tg-open {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: normal !important;
  box-sizing: border-box;
  text-decoration: none;
}
.rh-tg-status {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
.rh-tg-dialog [hidden] {
  display: none !important;
}
html[data-theme="dark"] .rh-tg-dialog {
  background: linear-gradient(145deg, #252b43f5, #161a2cf5);
  color: #f0f1ff;
  border-color: #ffffff30;
  box-shadow:
    0 25px 85px #0008,
    inset 0 1px 2px #ffffff25;
}
@media (max-width: 420px) {
  .rh-tg-dialog {
    padding: 18px;
  }
  .rh-tg-head h2 {
    font-size: 20px;
  }
  .rh-tg-qr {
    width: 164px;
  }
  .auth-providers {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rh-tg-button {
    transition:
      transform 0.15s ease,
      background 0.15s ease;
  }
  .rh-tg-button:active {
    transform: scale(0.98);
  }
}
.rh-cookie-consent {
  position: fixed;
  z-index: 500;
  bottom: 18px;
  left: 18px;
  max-width: min(520px, calc(100vw - 36px));
  background: #f5f7ffed;
  color: #161844;
  border: 1px solid #dadffa;
  border-radius: 20px;
  padding: 18px;
  box-shadow:
    inset 0 1px 2px #fff,
    0 12px 40px #25296330;
  backdrop-filter: blur(25px);
  font:
    14px/1.5 Arial,
    sans-serif;
}
.rh-cookie-consent p {
  margin: 0 0 12px;
}
.rh-cookie-consent a {
  text-decoration: underline;
}
.rh-cookie-consent > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rh-cookie-consent button {
  flex: 1;
  border: 1px solid #d5d9ed;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 42px;
  white-space: normal;
  background: #fff;
  color: #292756;
  font: inherit;
  cursor: pointer;
}
.rh-cookie-consent button.primary {
  background: linear-gradient(130deg, #a87afa, #5ba5ff);
  color: #fff;
}
.rh-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  font:
    11px/1.5 Arial,
    sans-serif;
  color: #7b82a4;
}
.rh-legal-links button {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.rh-cms-cover {
  padding: 35px;
  border: 1px solid #c7d8ff;
  border-radius: 25px;
  background:
    radial-gradient(at 70% 0%, #eddbff, #d4efff50),
    linear-gradient(30deg, #fefcff, #d4deff);
  box-shadow:
    inset 0 0 9px 5px #fff,
    0 10px 25px #998ccc20;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  color: #14194a;
  text-wrap: balance;
  min-height: 170px;
  overflow-wrap: anywhere;
}
.source-item[hidden] {
  display: none !important;
}
.source-local-search input {
  width: 100%;
  margin-top: 10px;
}
.source-local-search p {
  margin-top: 8px;
}
.feed-actions {
  display: flex;
  flex-wrap: wrap;
}
.feed-actions .btn {
  min-width: 0;
  flex: 1 1 145px;
  white-space: normal;
  line-height: 1.25;
  min-height: 44px;
  height: auto;
}
.history-row .actions {
  flex-wrap: wrap;
}
.history-row {
  gap: 15px;
  flex-wrap: wrap;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check input {
  flex: 0 0 auto;
  margin-top: 4px;
}
html[data-theme="dark"] .rh-cookie-consent {
  background: #202c40ed;
  color: #e8edff;
  border-color: #566982;
}
html[data-theme="dark"] .rh-cms-cover {
  color: #f4eeff;
  background: linear-gradient(120deg, #354772, #584576);
  box-shadow: inset 0 0 9px 3px #bdc7ff44;
}
html[data-theme="dark"] .rh-cookie-consent button:not(.primary) {
  background: #354562;
  color: #e8edff;
  border-color: #566982;
}

/* RH_IDEAS_NATIVE_1_0_2 */
.sidebar .rh-ideas-link {
  margin-top: 16px !important;
  padding: 13px 12px !important;
  border: 1px solid color-mix(in srgb, var(--purple, #8b5cf6) 28%, transparent);
  border-radius: 16px;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--purple, #8b5cf6) 13%, transparent),
    color-mix(in srgb, #66c6ee 9%, transparent)
  );
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 8px 20px #492e8110;
  backdrop-filter: blur(18px);
  color: var(--text, #17204a);
  white-space: normal;
  min-height: 48px;
}
.sidebar .rh-ideas-link span {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
  flex: 1;
  overflow-wrap: anywhere;
}
.sidebar .rh-ideas-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--purple, #8655d7);
}
.sidebar .rh-ideas-link b {
  font-size: 16px;
  color: var(--purple, #8655d7);
}
.sidebar .rh-ideas-link.active,
.sidebar .rh-ideas-link:hover {
  border-color: var(--purple, #8655d7);
  box-shadow:
    inset 0 1px 0 #ffffff50,
    0 8px 24px #7953c320;
}

/* Crossposting sidebar availability */
.cp-nav-soon {
  margin-inline-start: auto;
  font-size: 9px;
  border: 1px solid currentColor;
  padding: 2px 5px;
  line-height: 1.4;
  border-radius: 5px;
  opacity: 0.65;
}

/* Product quality: readable forms and messages in the dialog top layer. */
[hidden] { display: none !important; }
dialog { color: var(--text); background: var(--solid); border: 1px solid var(--line); max-height: min(90dvh, 900px); overflow: auto; }
dialog .toast { position: sticky; inset: auto; bottom: 0; margin-top: 16px; width: auto; max-width: 100%; color: var(--text); background: var(--solid); border: 2px solid var(--danger); box-shadow: 0 4px 20px #0003; z-index: 10; }
dialog input, dialog textarea, dialog select { color: var(--text); background: var(--bg); border-color: var(--line); }
dialog label, dialog .check, dialog p { color: var(--text); }
dialog .muted, dialog small { color: var(--muted); }
:root[data-theme=dark] input::placeholder, :root[data-theme=dark] textarea::placeholder { color: #abb9d5; opacity: 1; }
:root[data-theme=dark] select option { color: #edf2ff; background: #18213c; }
.quality-panel { padding: clamp(16px, 3vw, 26px); min-width: 0; }
.quality-panel h2 { margin-bottom: 12px; }
.quality-panel .row { gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.quality-panel form { margin-block: 18px; }
.quality-panel label { display: grid; gap: 8px; min-width: 0; }
.quality-panel input, .quality-panel select { width: 100%; min-width: 0; }
.quality-panel .source-item { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--solid); }
.quality-panel p, .quality-panel a, .quality-panel span { overflow-wrap: anywhere; }
.quality-panel .notice { color: var(--danger); background: var(--solid); }
#custom-tone-field textarea { min-height: 110px; width: 100%; }
.source-title { min-width: 0; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
@media (max-width: 700px) { .quality-panel .cols3, .quality-panel .source-add-grid { grid-template-columns: 1fr; } }
/* Core quality: visible playback progress and live notification count. */
.feed-video-loading{position:absolute;inset:auto 12px 52px;z-index:7;padding:8px 12px;border-radius:10px;background:#111a30;color:#fff;font-size:13px;text-align:center;pointer-events:none}
.top-actions a[href="/app/notifications"]{position:relative}
.notification-count{position:absolute;inset-block-start:-3px;inset-inline-end:-5px;min-width:18px;padding:1px 4px;border-radius:12px;background:var(--text);color:var(--solid);font-size:10px;line-height:16px;text-align:center;font-variant-numeric:tabular-nums}
[hidden]{display:none!important}
/* Contrast floor for text, status labels and brand-gradient buttons. */
:root:not([data-theme="dark"]){--muted:#516194;--danger:#b91d4b;--success:#087d4c;--teal:#0d7485;--warning:#8c5200;--rh-caption:#516194}
:root .btn.primary,:root[data-theme="dark"] .btn.primary,:root .btn.primary:hover{color:#080d1c;text-shadow:none}
:root .btn:disabled{opacity:.72}
/* Core 2.0.2: inline custom choices, readable source actions and media state. */
#script-form .choice-group .choice-custom{display:block;flex:1 1 140px;min-width:120px;width:150px;max-width:100%;min-height:44px;padding:11px 14px;border:1px solid var(--line);border-radius:16px;background:var(--solid);color:var(--text);font:inherit;box-sizing:border-box}
#script-form .choice-custom::placeholder{color:var(--muted);opacity:1}
#script-form .choice-custom.custom-active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
#following-imports .following-add-grid{display:grid;grid-template-columns:minmax(160px,200px) minmax(220px,1fr) auto;gap:16px;align-items:end}
#following-imports .following-add-grid label{display:grid;gap:8px;min-width:0}
#following-imports .following-add-grid input,#following-imports .following-add-grid select{width:100%;min-width:0}
#following-imports .source-item{display:block;min-width:0}
#following-imports .source-item .row{gap:12px;flex-wrap:wrap}
#following-imports .source-item a{overflow-wrap:anywhere}
#following-imports .source-item .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
#following-imports .source-item .following-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;background:var(--solid);color:var(--text);border:1px solid var(--line);overflow:visible}
#following-imports .following-action .icon{width:22px;height:22px;flex:none}
#following-imports .following-action[data-remove]{color:var(--danger,#ab2348)}
:root[data-theme=dark] #following-imports .following-action[data-remove]{color:#ffabbc}
.rh-media-player{position:relative;width:100%;min-width:0}
.rh-media-player>video{display:block;width:100%}
.rh-media-player .rh-media-start{position:absolute;inset:calc(50% - 26px) auto auto calc(50% - 26px);min-width:52px;min-height:52px;border-radius:50%;background:var(--solid);color:var(--text);z-index:2}
.rh-media-status:not(:empty){display:block;padding:12px 16px;background:var(--solid);color:var(--text);line-height:1.5;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}
#toasts .toast,dialog .toast{background:var(--solid,#fff);color:var(--text,#141747);border:1px solid var(--line);backdrop-filter:none;box-shadow:0 8px 32px #0003;opacity:1}
#toasts .toast.error,dialog .toast.error{background:#fff2f5;color:#8b193b;border-color:#b53859}
:root[data-theme=dark] #toasts .toast.error,:root[data-theme=dark] dialog .toast.error{background:#341e2a;color:#ffcede;border-color:#b95b7b}
@media(max-width:650px){#following-imports .following-add-grid{grid-template-columns:1fr}#following-imports .following-add-grid>.btn{width:100%}}

/* Growth 1.2.3: a single preview and compact, ordered composer controls. */
.script-compose-layout:has(.rh-composer-compact){grid-template-columns:minmax(0,1fr)}
#script-form.rh-composer-compact .form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
#script-form.rh-composer-compact .form-grid > *{grid-column:1/-1;min-width:0}
#script-form.rh-composer-compact [hidden]{display:none!important}
#script-form.rh-composer-compact .field{min-width:0;margin:0;gap:8px}
#script-form.rh-composer-compact .rh-composer-row{display:flex;align-items:flex-end;gap:18px;min-width:0}
#script-form.rh-composer-compact .rh-composer-row > .field{flex:1;min-width:0}
#script-form.rh-composer-compact .choice-group{flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;padding:4px 3px 8px;scrollbar-width:thin}
#script-form.rh-composer-compact .choice-group > button{flex:0 0 auto;min-height:44px;font-size:14px;padding:10px 15px}
#script-form.rh-composer-compact .choice-custom{flex:1 0 160px;min-width:150px;max-width:300px;min-height:44px;font:inherit}
#script-form.rh-composer-compact .rh-format-options{display:flex;flex-wrap:wrap;overflow:visible;padding-top:12px}
#script-form.rh-composer-compact .rh-format-options > button{white-space:normal;text-align:start}
#script-form.rh-composer-compact .rh-composer-preview{position:relative;border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:22px 24px;min-height:120px;max-height:380px;overflow:auto;scrollbar-width:thin}
#script-form.rh-composer-compact [data-example-text]{white-space:pre-wrap;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
#script-form.rh-composer-compact [data-example-language]{float:inline-end;font-size:11px;color:var(--muted)}
#script-form.rh-composer-compact [data-composer-row=platform] > .field:first-child{flex:2}
#script-form.rh-composer-compact [data-composer-row=platform] select{min-height:44px;width:100%;max-width:100%}
#script-form.rh-composer-compact [data-composer-row=dna]{align-items:center}
#script-form.rh-composer-compact .rh-composer-source,#script-form.rh-composer-compact [data-composer-topic] > .script-library-picker{font-size:13px;border:0;background:transparent;padding:4px 0;margin-top:8px}
#script-form.rh-composer-compact .rh-composer-source > summary{cursor:pointer;color:var(--muted)}
#script-form.rh-composer-compact .rh-composer-source[open] > .script-reference{padding:12px 0}
#script-form.rh-composer-compact .script-compose-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
#script-form.rh-composer-compact .script-compose-actions > :last-child{margin-inline-start:auto}
@media(max-width:720px){
 #script-form.rh-composer-compact .rh-composer-row{flex-wrap:wrap;gap:12px}
 #script-form.rh-composer-compact [data-composer-row=platform] > .field:first-child{flex-basis:100%}
 #script-form.rh-composer-compact [data-composer-row=audience] > .field{flex-basis:100%}
 #script-form.rh-composer-compact .rh-composer-preview{padding:16px;max-height:340px}
 #script-form.rh-composer-compact [data-example-text]{font-size:16px}
 #script-form.rh-composer-compact .script-compose-actions > :last-child{flex-basis:100%;margin-inline-start:0}
}

/* Growth 1.2.4: reading order matches the DOM on desktop and mobile. */
.script-layout.rh-script-ordered{display:flex;flex-direction:column;align-items:stretch}
.script-layout.rh-script-ordered>*{width:100%;min-width:0;order:0;box-sizing:border-box}
.script-layout.rh-script-ordered>[hidden]{display:none!important}

/* Growth 1.2.5: labels and controls share rows, independently of help text. */
#script-form.rh-composer-compact [data-composer-row=platform]{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));align-items:start}
#script-form.rh-composer-compact [data-composer-row=platform]>.field{display:grid;grid-row:span 3;grid-template-rows:subgrid;align-items:start}
#script-form.rh-composer-compact [data-composer-row=platform]>.field>label{grid-row:1}
#script-form.rh-composer-compact [data-composer-row=platform]>.field>select,#script-form.rh-composer-compact [data-composer-row=platform]>.field>.choice-group{grid-row:2;margin:0}
#script-form.rh-composer-compact [data-composer-row=platform]>.field>small{grid-row:3}
#rh-script-result-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:20px;align-items:start;min-width:0}
#rh-script-result-top>.rh-script-result-main{display:flex;flex-direction:column;gap:14px;min-width:0}
#rh-script-result-top .rh-script-voice,#rh-script-result-top #rh-script-revision{margin:0;min-width:0}
#rh-script-result-top>.script-result-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;grid-column:auto;margin:0;position:static;min-width:0;width:100%;box-sizing:border-box}
#rh-script-result-top>.script-result-actions>h2{margin:0;font-size:18px}
#rh-script-result-top>.script-result-actions>.btn{width:100%;justify-content:flex-start}
.rh-scene-sync{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.rh-scene-sync .btn{white-space:normal;text-align:start}
.rh-scene-sync .help{margin:0}
@media(max-width:900px){#rh-script-result-top{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){
 #script-form.rh-composer-compact [data-composer-row=platform]{grid-template-columns:repeat(2,minmax(0,1fr))}
 #script-form.rh-composer-compact [data-composer-row=platform]>.field:first-child{grid-column:1/-1}
}
@media print{#rh-script-result-top{display:block}#rh-script-result-top>.script-result-actions,#rh-script-revision,.rh-scene-sync{display:none!important}}

/* RH_REVIEW_UI_20261003: appended after captured interface.css */
/* Review proposal for the fetched 2026-10-03 cabinet. Not installed. */
/* Preserve the form's real state. A press animation is not a selected state. */
.choice-group > button:is([aria-pressed], [aria-checked]) {
  gap: .5rem;
}
.choice-group > button:is([aria-pressed], [aria-checked])::before {
  content: "✓";
  display: inline-block;
  inline-size: 1em;
  flex: 0 0 1em;
  font-weight: 800;
  opacity: 0;
}
.choice-group > button:is([aria-pressed="true"], [aria-checked="true"]) {
  outline: 2px solid var(--text, #202155);
  outline-offset: 2px;
  font-weight: 750;
}
.choice-group > button:is([aria-pressed="true"], [aria-checked="true"])::before {
  opacity: 1;
}
.choice-group > button:focus-visible {
  outline: 3px solid var(--ring, #675de7);
  outline-offset: 4px;
}

/* Equal-height cards place the action at the bottom despite text wrapping. */
.library-main .library-grid > .library-tile {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}
.library-main .library-grid > .library-tile .actions {
  margin-block-start: auto;
  min-block-size: 44px;
  align-items: center;
}
.library-main .library-grid > .library-tile .library-tile-footer {
  min-block-size: 44px;
  align-items: center;
}
.support-summary > .card {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}
.support-summary > .card > .vertical-space {
  flex: 1 1 auto;
  min-block-size: 1rem;
}
.support-summary > .card > .btn {
  margin-block-start: auto;
  min-block-size: 44px;
}

/* Native accessible file picker; no fake click target or extra JS required. */
#rh-video-check #vc-file {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  min-block-size: 52px;
  padding: .25rem;
  color: var(--text, #202155);
  font: inherit;
}
#rh-video-check #vc-file::file-selector-button {
  min-block-size: 44px;
  padding: .7rem 1rem;
  margin-inline-end: .75rem;
  border: 1px solid var(--line, #a6b0cc);
  border-radius: 12px;
  background: var(--rh-gradient, #c9d3ff);
  color: var(--text, #202155);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
#rh-video-check #vc-file:disabled::file-selector-button {
  opacity: .5;
  cursor: not-allowed;
}
#rh-video-check #vc-file:focus-visible {
  outline: 3px solid var(--ring, #675de7);
  outline-offset: 3px;
}

@media (max-width: 650px) {
  .support-summary > .card > .vertical-space {
    flex: 0 0 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .choice-group > button {
    transition: none;
  }
}

/* Append after interface.css/canonical.css. Scoped to the current billing UI. */
.billing-layout .usage-card {
  height: auto !important;
  min-height: 112px !important;
}
.billing-layout .canonical-plan .plan-list {
  grid-template-columns: minmax(0, 1fr);
  gap: .7rem;
}
.billing-layout .canonical-plan .plan-list li {
  align-items: baseline;
  min-width: 0;
}
.billing-layout .canonical-plan .plan-list li > span {
  flex: 1 1 100%;
}
.billing-layout .canonical-plan .plan-list li > strong {
  white-space: normal;
}

/* Actual Heatmap tab and timeline markup uses aria-selected/aria-pressed. */
#rh-video-check .vc-input-tabs [role="tab"] {
  gap: .5rem;
}
#rh-video-check .vc-input-tabs [role="tab"]::before {
  content: "✓";
  display: inline-block;
  inline-size: 1em;
  opacity: 0;
  font-weight: 800;
}
#rh-video-check .vc-input-tabs [role="tab"][aria-selected="true"] {
  outline: 2px solid var(--text, #202155);
  outline-offset: 2px;
  font-weight: 750;
}
#rh-video-check .vc-input-tabs [role="tab"][aria-selected="true"]::before {
  opacity: 1;
}
#rh-video-check .vc-input-tabs [role="tab"]:focus-visible,
#rh-video-check .vc-timeline [data-vc-interval]:focus-visible {
  outline: 3px solid var(--ring, #675de7);
  outline-offset: 4px;
}
#rh-video-check .vc-timeline [data-vc-interval][aria-pressed="true"] {
  outline: 3px solid var(--text, #202155);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--surface, #fff);
}

/* Preserve full titles in data; bound only the visible card heading. */
.library-main .library-tile .library-view-heading h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.35;
  max-block-size: 4.05em;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* NEXT PASS analysis/scoped.css */
.rh-pixel-analysis {
  --pixel-surface: #131421; --pixel-line: rgba(189,181,227,.16);
  --pixel-text: #eeeaf8; --pixel-muted: #aaa3bf; --pixel-accent: #ab9bff;
  box-sizing: border-box; width: min(100%, 820px); margin: auto;
  padding: 24px 30px; border: 1px solid var(--pixel-line); border-radius: 24px;
  background: var(--pixel-surface); color: var(--pixel-text);
  font: 15px/1.5 system-ui, -apple-system, sans-serif;
}
.rh-pixel-analysis *, .rh-pixel-analysis *::before, .rh-pixel-analysis *::after { box-sizing: border-box; }
.rh-pixel-top, .rh-pixel-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.rh-pixel-top { font-size:10px; letter-spacing:.13em; color:var(--pixel-muted); }
.rh-pixel-live { white-space:nowrap; letter-spacing:0; font-size:12px; }
.rh-pixel-scene { position:relative; margin:14px 0 16px; }
.rh-pixel-scene canvas { display:block; width:100%; height:auto; }
.rh-pixel-source, .rh-pixel-destination { position:absolute; bottom:0; color:var(--pixel-muted); font-size:9px; letter-spacing:.08em; text-align:center; }
.rh-pixel-source { left:7%; width:29%; }
.rh-pixel-destination { left:69%; width:19%; top:calc(50% + 16%); bottom:auto; }
.rh-pixel-status h2 { margin:0 0 8px; font-size:clamp(21px,4vw,29px); line-height:1.2; letter-spacing:-.02em; }
.rh-pixel-note { margin:0 0 20px; color:var(--pixel-muted); font-size:13px; }
.rh-pixel-progress { height:4px; overflow:hidden; background:var(--pixel-line); border-radius:3px; }
.rh-pixel-progress i { display:block; width:100%; height:100%; transform-origin:left; background:var(--pixel-accent); }
.rh-pixel-indeterminate .rh-pixel-progress { background:repeating-linear-gradient(90deg,var(--pixel-line) 0 16px,rgba(171,155,255,.3) 16px 28px); }
.rh-pixel-foot { margin-top:14px; color:var(--pixel-muted); font-size:11px; }
.rh-pixel-pause { padding:7px 10px; border:1px solid var(--pixel-line); border-radius:8px; background:transparent; color:var(--pixel-text); font:inherit; cursor:pointer; }
.rh-pixel-pause:hover { border-color:var(--pixel-accent); }
.rh-pixel-pause:focus-visible { outline:2px solid var(--pixel-accent); outline-offset:4px; }
.rh-pixel-pause:disabled { cursor:default; opacity:.6; }
@media (max-width:480px) {
  .rh-pixel-analysis { padding:19px 16px; border-radius:18px; }
  .rh-pixel-top { flex-wrap:wrap; gap:6px; }
  .rh-pixel-foot { align-items:flex-start; }
  .rh-pixel-source, .rh-pixel-destination { font-size:8px; }
}
  :root:not([data-theme="dark"]) .rh-pixel-analysis { --pixel-surface:#faf9ff; --pixel-line:rgba(79,65,122,.17); --pixel-text:#292239; --pixel-muted:#6e637e; --pixel-accent:#7563bc; }

.rh-analysis-pending { padding:48px 24px; text-align:center; color:var(--muted); }
.rh-video-analysis-progress { margin-block:clamp(24px,7vh,80px); }
.rh-pixel-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.rh-pixel-controls a { color:var(--pixel-text); text-decoration:none; }
.rh-pixel-controls a:focus-visible { outline:2px solid var(--pixel-accent); outline-offset:4px; }
.rh-video-history-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rh-video-history-card { display:flex; flex-direction:column; gap:14px; padding:16px; border:1px solid var(--line); border-radius:16px; color:var(--text); text-decoration:none; background:var(--surface,var(--bg)); transition:border-color .16s ease,box-shadow .16s ease; }
.rh-video-history-card:hover { border-color:var(--primary,#8072ed); box-shadow:0 4px 20px #6e61bb14; }
.rh-video-history-card:focus-visible { outline:2px solid var(--primary,#8072ed); outline-offset:3px; }
.rh-video-history-top,.rh-video-history-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.rh-video-history-card h3 { margin:0; font-size:14px; line-height:1.45; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rh-video-history-bottom { margin-top:auto; flex-wrap:wrap; font-size:11px; color:var(--muted); }
.rh-video-history-bottom span { display:flex; align-items:center; gap:6px; }
.rh-video-history-bottom svg { width:14px; height:14px; }
.rh-video-latest-body { display:flex; gap:20px; align-items:flex-start; }
.rh-video-latest-body>video { width:126px; aspect-ratio:9/16; max-height:225px; object-fit:contain; background:#111; border-radius:12px; flex:none; }
.rh-video-latest-copy { flex:1; min-width:0; }
.rh-video-latest-summary { margin-top:0; line-height:1.6; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.rh-video-latest-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
@media(max-width:640px) { .rh-video-history-grid { grid-template-columns:1fr; } .rh-video-latest-body { gap:12px; } .rh-video-latest-body>video { width:88px; } .rh-video-latest-actions .btn { flex:1; } }
@media(prefers-reduced-motion:reduce) { .rh-video-history-card { transition:none; } }
.rh-profile-report-tools { display:flex; align-items:center; justify-content:flex-end; margin-bottom:14px; }
.rh-profile-report-title { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* NEXT PASS landing/landing-scoped.css */
/* RH next pass 20261003-v2. Scoped to landing and versioned pricing presentation. */
.glass-landing .landing-pricing-intro{max-width:760px;margin:10px auto 26px;text-align:center;color:var(--muted,var(--rh-caption));font-size:15px;line-height:1.6}
.canonical-plan-grid[data-rh-pricing-review]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
[data-rh-pricing-review] .canonical-plan{min-width:0;display:flex;flex-direction:column;padding:24px 20px;border-radius:24px;position:relative;overflow:hidden;border:1px solid color-mix(in srgb,currentColor 12%,transparent);background:color-mix(in srgb,var(--card,var(--rh-panel,#fff)) 94%,transparent);box-shadow:0 8px 30px #00000007;transition:border-color .18s,box-shadow .18s}
[data-rh-pricing-review] .canonical-plan.featured{border-color:#34ba8899;box-shadow:0 0 0 1px #34ba882b,0 12px 36px #16a57613}
[data-rh-pricing-review] .rh-plan-heading{min-height:100px}
[data-rh-pricing-review] .rh-plan-heading h3{font-size:22px;line-height:1.2;margin:0 0 10px}
[data-rh-pricing-review] .rh-plan-heading p{margin:0;font-size:13px;line-height:1.5}
[data-rh-pricing-review] .rh-plan-price{min-height:90px;display:flex;flex-direction:column;justify-content:flex-start;gap:4px}
[data-rh-pricing-review] .rh-plan-price .plan-price{margin:0;font-size:clamp(23px,2.3vw,34px);line-height:1.2;font-weight:760;letter-spacing:-.025em;overflow-wrap:anywhere}
[data-rh-pricing-review] .rh-plan-price>.muted{font-size:12px;margin:0}
[data-rh-pricing-review] .rh-plan-allowance{min-height:70px;padding:12px;border-radius:13px;margin:0 0 14px;background:#30bd9210;line-height:1.5;font-size:14px}
[data-rh-pricing-review] .rh-plan-capacity{min-height:83px;margin:0 0 16px!important;padding:0 0 14px!important;border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent);list-style:none}
[data-rh-pricing-review] .rh-plan-capacity li{font-size:13px;line-height:1.5;margin:0 0 7px;display:block}
[data-rh-pricing-review] .rh-plan-costs{list-style:none;margin:0!important;padding:0!important;display:grid;gap:13px}
[data-rh-pricing-review] .rh-plan-costs li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:3px 9px;line-height:1.35;font-size:13px;margin:0!important}
[data-rh-pricing-review] .rh-plan-costs li>span{min-width:0;overflow-wrap:anywhere}
[data-rh-pricing-review] .rh-plan-costs li>strong{font-size:12px;text-align:end;white-space:normal;max-width:96px}
[data-rh-pricing-review] .rh-plan-costs li>small{grid-column:1/-1;color:var(--muted,var(--rh-caption));font-size:11px}
[data-rh-pricing-review] .rh-plan-soon{font-size:12px;padding-top:18px;margin-bottom:20px}
[data-rh-pricing-review] .rh-plan-cta{margin-top:auto;display:flex;align-items:end}
[data-rh-pricing-review] .rh-plan-cta .btn{width:100%;min-height:46px;text-align:center;line-height:1.35;white-space:normal;justify-content:center}
.agency-calculator[data-rh-pricing-review]{scroll-margin-top:90px;padding:28px;border-radius:24px;margin-top:20px;border:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.agency-calculator[data-rh-pricing-review]>h3{font-size:22px;margin:0 0 24px}
[data-rh-pricing-review] .rh-agency-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:28px;align-items:stretch}
[data-rh-pricing-review] .rh-agency-controls .form-grid{gap:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
[data-rh-pricing-review] .rh-agency-controls label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-width:0;padding:18px;background:color-mix(in srgb,currentColor 3%,transparent);border:1px solid color-mix(in srgb,currentColor 9%,transparent);border-radius:16px}
[data-rh-pricing-review] .rh-agency-step{width:25px;height:25px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-size:12px;background:#20b7891c;color:inherit}
[data-rh-pricing-review] .rh-agency-controls output{font-size:20px;font-variant-numeric:tabular-nums;line-height:1.25;font-weight:700}
[data-rh-pricing-review] .rh-agency-controls input[type=range]{grid-column:1/-1;width:100%;min-height:30px;padding:0;accent-color:#15af81;cursor:pointer}
[data-rh-pricing-review] .rh-agency-controls input[type=range]:focus-visible{outline:3px solid #20bb9599;outline-offset:5px;border-radius:6px}
[data-rh-pricing-review] .rh-agency-marks{grid-column:1/-1;display:flex;justify-content:space-between;font-size:11px;color:var(--muted,var(--rh-caption))}
[data-rh-pricing-review] .rh-agency-controls>p{font-size:12px;line-height:1.6;margin:16px 0 0}
[data-rh-pricing-review] .rh-agency-total{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:24px;border-radius:18px;background:#1bc5900b;border:1px solid #1bc59040}
[data-rh-pricing-review] .rh-agency-total .plan-price{font-size:clamp(23px,2.5vw,32px);font-weight:760;line-height:1.25;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
[data-rh-pricing-review] .rh-agency-total #agency-price-detail{min-height:2.8em;font-size:12px;line-height:1.5;margin:0}
[data-rh-pricing-review] .rh-agency-total .btn{min-height:46px;width:100%;white-space:normal;text-align:center;justify-content:center;margin-top:auto}
.glass-landing .landing-faq{padding:28px}
.glass-landing .landing-faq .landing-two{align-items:start;gap:12px}
.glass-landing .landing-faq details{min-width:0;padding:0;border-radius:15px;overflow:hidden}
.glass-landing .landing-faq summary{display:flex;align-items:center;gap:12px;min-height:68px;padding:16px;cursor:pointer;line-height:1.45;font-size:14px;list-style:none}
.glass-landing .landing-faq summary::-webkit-details-marker{display:none}
.glass-landing .landing-faq summary:focus-visible{outline:3px solid #20bb95;outline-offset:-4px;border-radius:14px}
.glass-landing .landing-faq summary>.faq-chevron{margin-inline-start:auto;transition:transform .18s;flex:none}
.glass-landing .landing-faq details[open]>summary>.faq-chevron{transform:rotate(180deg)}
.glass-landing .landing-faq details>p{font-size:14px;line-height:1.65;margin:0;padding:0 18px 20px;color:var(--muted,var(--rh-caption))}
.glass-landing .landing-faq .landing-faq-more{margin-top:16px}
.glass-landing .landing-faq-more>.landing-two{padding:0 12px 12px}
.glass-landing .landing-heatmap{padding:26px;background:linear-gradient(120deg,#18bd8e08,#e7b53b08,#e1576207)}
.glass-landing .landing-heatmap .landing-section-heading{display:flex;align-items:center;justify-content:space-between;gap:26px}
.glass-landing .landing-heatmap .landing-section-heading>div{max-width:760px}
.glass-landing .landing-heatmap h2{margin:10px 0;font-size:26px}
.glass-landing .landing-heatmap p{font-size:15px;line-height:1.6;margin:0;color:var(--muted,var(--rh-caption))}
.glass-landing .landing-heatmap .btn{flex:none;min-height:46px;white-space:normal;text-align:center}
.glass-landing .landing-heatmap>.viewer-heatmap-example{height:12px;margin-top:24px;border-radius:8px;opacity:.8}
:root[data-theme=dark] [data-rh-pricing-review] .canonical-plan{background:linear-gradient(145deg,#202633e8,#121922ed);box-shadow:inset 0 1px 0 #ffffff08,0 12px 36px #00000018}
:root[data-theme=dark] [data-rh-pricing-review] .canonical-plan.featured{border-color:#46dbaa80;box-shadow:0 0 0 1px #46dbaa15,0 12px 36px #13b7850d}
:root[data-theme=light] [data-rh-pricing-review] .canonical-plan{background:linear-gradient(145deg,#fff,#f8faf9);color:#16201c}
@media(max-width:1100px){.canonical-plan-grid[data-rh-pricing-review]{grid-template-columns:repeat(2,minmax(0,1fr))}[data-rh-pricing-review] .rh-agency-layout{grid-template-columns:1fr}[data-rh-pricing-review] .rh-agency-total{display:grid;grid-template-columns:1fr auto;align-items:center}[data-rh-pricing-review] .rh-agency-total .btn{grid-column:2;grid-row:1/3;width:auto;max-width:260px;margin:0}[data-rh-pricing-review] .rh-agency-total #agency-price-detail{grid-column:1;min-height:0}}
@media(max-width:600px){.canonical-plan-grid[data-rh-pricing-review]{grid-template-columns:1fr;gap:16px}[data-rh-pricing-review] .canonical-plan{padding:22px}[data-rh-pricing-review] .rh-plan-heading,[data-rh-pricing-review] .rh-plan-price,[data-rh-pricing-review] .rh-plan-allowance,[data-rh-pricing-review] .rh-plan-capacity{min-height:0}[data-rh-pricing-review] .rh-plan-heading{margin-bottom:16px}[data-rh-pricing-review] .rh-plan-price{margin-bottom:18px}[data-rh-pricing-review] .rh-plan-price .plan-price{font-size:32px}[data-rh-pricing-review] .rh-plan-costs li{font-size:14px}[data-rh-pricing-review] .rh-plan-costs li>strong{font-size:13px;max-width:130px}.agency-calculator[data-rh-pricing-review]{padding:20px}[data-rh-pricing-review] .rh-agency-controls .form-grid{grid-template-columns:1fr}[data-rh-pricing-review] .rh-agency-total{display:flex;align-items:stretch;padding:20px}[data-rh-pricing-review] .rh-agency-total .btn{max-width:none;width:100%}.glass-landing .landing-faq{padding:18px}.glass-landing .landing-faq .landing-two{grid-template-columns:1fr}.glass-landing .landing-heatmap .landing-section-heading{display:block}.glass-landing .landing-heatmap .btn{margin-top:18px;width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){[data-rh-pricing-review] .canonical-plan,.glass-landing .landing-faq .faq-chevron{transition:none}}

/* NEXT PASS cabinet/cabinet.css */
/* Scope: DNA, source-state explanation and Help. Uses the existing theme variables. */
.dna-observations {display:grid;gap:14px;margin:18px 0}
.dna-observation {border:1px solid var(--border,rgba(128,128,128,.22));border-radius:16px;padding:16px;min-width:0}
.dna-observation > p {line-height:1.6;margin:12px 0;overflow-wrap:anywhere;white-space:pre-line}
.dna-observation > small {display:block;margin-top:8px}
.dna-observation .row {flex-wrap:wrap;gap:8px}
.dna-empty {padding:20px 0;line-height:1.6}
.dna-layout .dna-insight-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.dna-layout .dna-signal-list > div {display:flex;justify-content:space-between;align-items:start;gap:14px;padding:12px 0}
.dna-layout .dna-signal-list > div > span {text-align:right;max-width:60%;overflow-wrap:anywhere}
.dna-layout .dna-settings-card textarea {min-height:92px}
.dna-layout .actions {flex-wrap:wrap;gap:10px}
.dna-layout .dna-main-grid > * {min-width:0}
.source-summary-card .source-bulk-state {font-weight:700;margin:8px 0;min-height:1.5em}
.source-summary-card .toggle:has(input:indeterminate) {outline:2px solid var(--accent,#7874ff);outline-offset:3px}
.source-summary-card input:indeterminate {accent-color:var(--accent,#7874ff)}
.support-summary {align-items:stretch}
.support-summary > .card {display:flex;flex-direction:column}
.support-summary .vertical-space {flex:1;min-height:16px}
.support-summary .btn.wide {min-height:44px;justify-content:center}
.support-summary .btn[disabled] {cursor:not-allowed;opacity:.7}
.support-summary .support-form-link.link {display:block;margin-top:10px}
.support-faq-more {margin:24px 0 10px;padding-top:16px;border-top:1px solid var(--border,rgba(128,128,128,.22))}
#support-form {scroll-margin-top:24px}
@media(max-width:760px){.dna-layout .dna-insight-grid {grid-template-columns:1fr}.dna-observation {padding:14px}.dna-layout .dna-signal-list > div {gap:8px}}

/* NEXT PASS root-scoped.css */
/* Keep selection checkmarks in normal flow. The glass button skin positions
   generic ::before highlights absolutely; a selected label must not overlap it. */
.choice-group > button:is([aria-pressed], [aria-checked]),
#rh-video-check .vc-input-tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.choice-group > button:is([aria-pressed], [aria-checked])::before,
#rh-video-check .vc-input-tabs [role="tab"]::before {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: inline-block !important;
  inline-size: 1em !important;
  block-size: auto !important;
  flex: 0 0 1em;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  pointer-events: none;
  line-height: inherit;
}

/* COMMERCIAL ADMIN 20261003 */
/* Unified catalog editor: scoped to its own page. */
.rh-commercial-admin .rh-catalog-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rh-commercial-admin .rh-catalog-plan summary{cursor:pointer;font-size:1.2rem;padding:4px 0 16px;display:flex;gap:12px;align-items:center}
.rh-commercial-admin .rh-catalog-plan summary small{font-size:.78rem;font-weight:400;opacity:.65}
.rh-commercial-admin .rh-catalog-plan[open] summary{border-bottom:1px solid var(--line);margin-bottom:18px}
.rh-commercial-admin label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.9rem}
.rh-commercial-admin label.check{flex-direction:row;align-items:center;align-self:center}
.rh-commercial-admin input,.rh-commercial-admin select{width:100%;box-sizing:border-box;min-height:42px}
.rh-commercial-admin input[type=checkbox]{width:18px;min-height:18px}
.rh-commercial-admin input[readonly]{opacity:.65;background:var(--panel)}
.rh-commercial-admin .rh-catalog-row{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin-bottom:12px}
.rh-commercial-admin .rh-catalog-tools{display:flex;gap:14px;align-items:end;flex-wrap:wrap}
.rh-commercial-admin .rh-catalog-tools label{flex:1;min-width:200px}
.rh-commercial-admin .rh-catalog-publish{display:flex;justify-content:space-between;gap:18px;align-items:center;position:sticky;bottom:14px;z-index:5;box-shadow:0 8px 28px #0002;background:var(--panel);backdrop-filter:blur(20px)}
.rh-commercial-admin #catalog-error:not(:empty){padding:12px;border:1px solid #e96c65;border-radius:12px}
.rh-commercial-admin #catalog-feedback:not(:empty){padding:12px;border:1px solid var(--accent);border-radius:12px}
.rh-commercial-admin [hidden]{display:none!important}
.rh-commercial-admin [aria-busy=true]{opacity:.7}
@media(max-width:850px){.rh-commercial-admin .rh-catalog-plans{grid-template-columns:1fr}.rh-commercial-admin .rh-catalog-row{grid-template-columns:1fr 1fr}.rh-commercial-admin .rh-catalog-row button{grid-column:1/-1}.rh-commercial-admin .rh-catalog-publish{flex-direction:column;align-items:stretch}}

/* OWNER DNA RELEASE dna.css */
/* Owner DNA: grounded author evidence and editable preferences. */
.dna-evidence-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.dna-evidence-counts>div{padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--solid,transparent);display:flex;flex-direction:column;gap:5px}.dna-evidence-counts strong{font-size:1.6rem;font-variant-numeric:tabular-nums}.dna-evidence-counts span{font-size:.8rem;color:var(--muted);line-height:1.4}.dna-evidence-group{margin-top:26px}.dna-evidence-group h3{margin-bottom:12px}.dna-evidence-details{border:1px solid var(--border);border-radius:14px;padding:14px 16px;margin:12px 0;overflow-wrap:anywhere}.dna-evidence-details summary{cursor:pointer;font-weight:600;line-height:1.5}.dna-evidence-details[open]>summary{margin-bottom:12px}.dna-evidence-details blockquote{margin:10px 0;padding:0 0 0 16px;border-left:3px solid var(--accent,#6da98d);white-space:pre-wrap;line-height:1.7;color:var(--text)}.dna-evidence-missing{padding:16px;border:1px dashed var(--border);border-radius:14px;line-height:1.65;color:var(--muted)}.dna-identity-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.dna-source-examples{display:grid;gap:14px}.dna-source-examples article+article{border-top:1px solid var(--border);padding-top:14px}.dna-writer-steps{padding-inline-start:22px;line-height:1.7;display:grid;gap:10px;margin-bottom:20px}.dna-accounts-card [aria-current="page"]{font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.dna-owner-card .dna-observations{grid-template-columns:1fr}.dna-owner-card .dna-observation p{line-height:1.65}.dna-owner-card .dna-profile-row{align-items:start}.dna-settings-card{align-self:start}.dna-voice-examples{min-width:0}@media(max-width:760px){.dna-evidence-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.dna-evidence-counts>div{padding:12px}.dna-owner-card .card-header{align-items:start;gap:12px;flex-wrap:wrap}}

/* OWNER DNA RELEASE profile-report.css */
/* Profile findings: semantic cards; long source text remains readable in both themes. */
.rh-profile-section > h2{margin:0 0 18px;font-size:1.1rem;line-height:1.35}
.rh-profile-findings{display:grid;gap:14px}
.rh-profile-finding{padding:16px;border:1px solid var(--line,rgba(125,136,155,.24));border-radius:16px;background:var(--surface,var(--bg));min-width:0}
.rh-profile-finding h3,.rh-profile-group>h3{margin:10px 0 8px;font-size:1rem;line-height:1.45}
.rh-profile-finding-text{margin:0 0 10px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.rh-profile-finding-text:last-child{margin-bottom:0}
.rh-profile-scope{display:inline-flex;padding:4px 9px;font-size:11px;font-weight:650;line-height:1.4;border-radius:999px;background:var(--soft,rgba(125,136,155,.12));border:1px solid var(--line,rgba(125,136,155,.24))}
.rh-profile-scope.recommendation{border-color:color-mix(in srgb,var(--accent,#7963e6) 40%,transparent)}
.rh-profile-scope.hypothesis{border-style:dashed}
.rh-profile-detail{margin-top:18px;min-width:0}
.rh-profile-detail>h4{margin:0 0 10px;font-size:.87rem;font-weight:650;line-height:1.4}
.rh-profile-group{padding:2px 0 12px;min-width:0}
.rh-profile-group+.rh-profile-group{border-top:1px solid var(--line,rgba(125,136,155,.24));padding-top:16px}
.rh-profile-evidence{margin-top:14px;font-size:.82rem;line-height:1.55}
.rh-profile-evidence summary,.rh-profile-limitations summary{cursor:pointer;min-height:30px;padding:5px 0;font-weight:600}
.rh-profile-evidence ul,.rh-profile-limitations ul{padding-inline-start:20px;margin:8px 0;display:grid;gap:8px}
.rh-profile-evidence li,.rh-profile-limitations li{overflow-wrap:anywhere}
.rh-profile-evidence summary:focus-visible,.rh-profile-limitations summary:focus-visible{outline:2px solid var(--accent,#7963e6);outline-offset:4px;border-radius:6px}
.rh-profile-limitations{margin-top:18px;line-height:1.6}
@media(max-width:680px){.rh-profile-finding{padding:13px}.rh-profile-section>h2{font-size:1rem}}

/* OWNER DNA RELEASE orbit-posters.css */
/* Illustrative screens are visible before provider thumbnails arrive. */
.rh-orbit-media .rh-orbit-poster{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:inherit;pointer-events:none}
.rh-orbit-media img:not([src]){visibility:hidden}
.rh-orbit .rh-orbit-preview.is-empty .rh-orbit-media{opacity:1}
.rh-orbit .rh-orbit-preview:not([data-preview-id]) .rh-orbit-mini-score,
.rh-orbit .rh-orbit-preview:not([data-preview-id]) .rh-orbit-card-views,
.rh-orbit .rh-orbit-preview:not([data-preview-id]) .rh-orbit-platform,
.rh-orbit .rh-orbit-preview:not([data-preview-id]) .rh-orbit-card-play{visibility:hidden}
.rh-orbit-media>img{position:absolute;inset:0;z-index:1}
.rh-orbit .rh-orbit-preview:not([data-preview-id]) .rh-orbit-media>i{animation:none;opacity:0}
