/* Instagram conversations and the lesson handoff */
.reply-inbox {
  margin-block: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
}
.reply-inbox > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.reply-inbox > summary strong,
.reply-inbox > summary small,
.inbox-offers article > small,
.lesson-landing small {
  display: block;
}
.reply-inbox > summary strong {
  font-size: 1.15rem;
}
.reply-inbox small,
.inbox-threads time {
  color: #555961;
  font-size: 0.82rem;
  line-height: 1.45;
}
.reply-inbox [data-inbox-count] {
  font-size: 0.83rem;
}
.reply-inbox [data-inbox-count]::after {
  content: " ＋";
}
.reply-inbox[open] [data-inbox-count]::after {
  content: " −";
}
.reply-inbox [data-inbox-body] {
  margin-top: 1rem;
}
.reply-inbox [data-inbox-note]:empty {
  display: none;
}
.inbox-threads {
  padding: 0;
  list-style: none;
}
.inbox-threads li,
.inbox-offers article {
  padding: 1rem 0;
  border-top: 1px solid #dededa;
}
.inbox-threads li > strong {
  display: block;
  margin: 0.3rem 0;
}
.inbox-threads time {
  font-weight: 400;
  margin-left: 0.4rem;
}
.inbox-threads li > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0.3rem 0 0.7rem;
}
.inbox-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.7rem 0;
}
.inbox-offers {
  margin: 1rem 0;
}
.inbox-offers summary {
  cursor: pointer;
  font-weight: 650;
}
.inbox-offers h3 {
  font-size: 1.03rem;
  margin: 0.25rem 0;
}
.inbox-funnel {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}
.inbox-funnel dt {
  font-size: 0.8rem;
  color: #555961;
}
.inbox-funnel dd {
  margin: 0.2rem 0;
  font-weight: 600;
}
.reply-inbox [data-editor]:not(:empty) {
  padding: 1rem;
  margin-top: 0.6rem;
  border-radius: 12px;
  background: #f6f5fa;
  overflow-wrap: anywhere;
}
.reply-inbox form,
.reply-inbox [data-editor] label {
  display: grid;
  gap: 0.5rem;
}
.reply-inbox form {
  max-width: 34rem;
}
.reply-inbox form button {
  justify-self: start;
}
.reply-inbox form textarea {
  min-height: 4rem;
}
.lesson-landing {
  max-width: 32rem;
  margin: 15vh auto;
  padding: 1.5rem;
}
.lesson-landing h1 {
  font-size: clamp(2.8rem, 9vw, 4.5rem);
  letter-spacing: -0.065em;
  margin: 1rem 0;
}
.lesson-landing button {
  margin: 1rem 0;
}
.lesson-landing small {
  color: #555961;
}
@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --surface: #fff;
  --ink: #191a1a;
  --muted: #5a5c5c;
  --line: #dedfda;
  --iris: #4e37d6;
  --iris-light: #efeaff;
  --orange: #e35a32;
  --lime: #c5d94b;
  --round: 14px;
  font-family: DM, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
body {
  min-width: 280px;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.52;
}
:focus-visible {
  outline: 3px solid #5b43df;
  outline-offset: 4px;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  background: transparent;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3,
.wordmark,
.metric-value {
  font-family: Bricolage, DM, Arial, sans-serif;
  font-variation-settings: "opsz" 46;
}
button::-moz-focus-inner {
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 8px;
  left: 16px;
  transform: translateY(-180%);
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: white;
}
.skip:focus {
  transform: none;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
.wrap {
  width: min(100% - clamp(40px, 9vw, 152px), 1536px);
  margin-inline: auto;
}
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.036em;
  font-size: 27px;
  line-height: 1;
  flex: none;
}
.brand-symbol {
  position: relative;
  display: block;
  width: 34px;
  height: 29px;
  flex: 0 0 34px;
}
.brand-symbol::before,
.brand-symbol::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 20px;
  background: currentColor;
  transform: skewY(-12deg);
  border-radius: 9px 9px 9px 2px;
  left: 0;
  top: 5px;
}
.brand-symbol::after {
  height: 22px;
  top: 1px;
  left: 14px;
  border-radius: 10px 10px 3px 10px;
  box-shadow: -2px 0 0 var(--paper);
}
.site-head .actions,
.actions,
.inline,
.view-title,
.account-identity,
.chart-legend,
.brand-list,
.section-heading,
.form-foot,
.workspace-nav,
.role-pick,
.metric-tabs,
.profile-line {
  display: flex;
  align-items: center;
}
.actions,
.inline {
  gap: 12px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 620;
  font-size: 0.94rem;
  letter-spacing: -0.018em;
  line-height: 1.25;
  white-space: nowrap;
}
.btn.primary {
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
}
.btn.primary:hover {
  background: #35333e;
}
.btn.outline {
  border: 1px solid #c9cac5;
  background: transparent;
}
.btn.outline:hover,
.btn.ghost:hover {
  background: #ebece7;
}
.btn.soft {
  background: var(--iris-light);
  color: #4028ac;
}
.btn.ghost {
  background: transparent;
}
.btn.small {
  font-size: 0.875rem;
  min-height: 38px;
  padding: 8px 15px;
}
.btn.big {
  min-height: 54px;
  padding: 14px 27px;
  font-size: 1rem;
}
.text-link {
  font-weight: 620;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-underline-offset: 0.23em;
}
.text-link:hover {
  text-decoration: underline;
}
.subtle {
  color: var(--muted);
  font-size: 0.875rem;
}
.home {
  background: var(--paper);
  overflow: hidden;
}
.home .site-head {
  border-bottom: 1px solid var(--line);
}
.home-main {
  display: flex;
  flex: 1;
  align-items: center;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  min-height: min(665px, calc(100svh - 172px));
  width: 100%;
  gap: clamp(12px, 2.4vw, 46px);
  padding-block: clamp(25px, 5vh, 65px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-left: clamp(0px, 1.1vw, 24px);
}
.hero-copy h1 {
  font-size: clamp(4rem, 7.2vw, 8.1rem);
  line-height: 0.92;
  letter-spacing: -0.038em;
  font-weight: 570;
  font-variation-settings:
    "opsz" 68,
    "wdth" 98;
}
.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--iris);
}
.hero-copy p {
  font-size: clamp(1.04rem, 1.38vw, 1.31rem);
  line-height: 1.5;
  max-width: 29rem;
  color: #515453;
  margin-top: 28px;
  letter-spacing: -0.023em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 31px;
}
.sample-link {
  font-size: 0.94rem;
  font-weight: 570;
}
.sample-link::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.5;
}
.sample-link {
  position: relative;
  padding: 7px 0 3px;
}
.play-area {
  position: relative;
  height: clamp(350px, min(42vw, 60vh), 610px);
  min-width: 0;
  isolation: isolate;
}
.play-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#a6a6a3 0.85px, transparent 0.95px);
  background-size: 19px 19px;
  opacity: 0.24;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    #000 0%,
    #000 42%,
    transparent 76%
  );
  pointer-events: none;
}
.stage-marks {
  position: absolute;
  inset: 3px;
  pointer-events: none;
}
.stage-marks i {
  position: absolute;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(#bfc0bb, #bfc0bb) center/1px 100% no-repeat,
    linear-gradient(#bfc0bb, #bfc0bb) center/100% 1px no-repeat;
}
.stage-marks i:nth-child(1) {
  left: 0;
  top: 0;
}
.stage-marks i:nth-child(2) {
  right: 0;
  top: 0;
}
.stage-marks i:nth-child(3) {
  left: 0;
  bottom: 0;
}
.stage-marks i:nth-child(4) {
  right: 0;
  bottom: 0;
}
.toy {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
  border-radius: 38%;
  transform-origin: center;
  will-change: transform;
}
.toy:active,
.toy.grabbed {
  cursor: grabbing;
}
.toy img {
  user-select: none;
  -webkit-user-drag: none;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: hue-rotate(var(--hue, 0deg))
    drop-shadow(0 12px 9px rgba(32, 26, 69, 0.14));
  transition: filter 0.12s linear;
}
.toy.grabbed img {
  filter: hue-rotate(var(--hue, 0deg))
    drop-shadow(0 17px 11px rgba(32, 26, 69, 0.2));
}
.home-foot {
  border-top: 1px solid var(--line);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.91rem;
}
.brand-list {
  gap: clamp(16px, 2.55vw, 48px);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brand-list li,
.platform-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-list .pi {
  font-size: 17px;
}
.play-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.875rem;
}
.play-controls .tool {
  background: transparent;
}
.drag-short,
.mobile-sample {
  display: none;
}
.account-count {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #c1c4bc;
  text-underline-offset: 3px;
}
.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  background: #fff;
  font-size: 18px;
}
.tool:hover {
  background: #eeeee9;
}
.pi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.12em;
  height: 1.12em;
  position: relative;
  color: inherit;
  font-style: normal;
  flex: none;
}
.pi.youtube {
  width: 1.19em;
  height: 0.83em;
  background: currentColor;
  border-radius: 0.24em;
}
.pi.youtube::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 24%;
  border-top: 0.21em solid transparent;
  border-bottom: 0.21em solid transparent;
  border-left: 0.32em solid var(--pi-cut, var(--paper));
}
.pi.instagram {
  border: 0.13em solid currentColor;
  border-radius: 30%;
}
.pi.instagram::before {
  content: "";
  border: 0.105em solid currentColor;
  border-radius: 50%;
  width: 0.43em;
  height: 0.43em;
}
.pi.instagram::after {
  content: "";
  background: currentColor;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  position: absolute;
  top: 14%;
  right: 14%;
}
.pi.tiktok {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 1.2em;
  line-height: 1;
}
.pi.tiktok::before {
  content: "♪";
  transform: rotate(-9deg) scale(1.1);
  display: block;
}
.icon-shape {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.preview-flag {
  font-size: 0.79rem;
  line-height: 1.25;
  color: #555952;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 550;
  white-space: nowrap;
}
.light-shell .site-head {
  border-bottom: 1px solid var(--line);
}
.auth-main {
  width: min(100% - 40px, 482px);
  margin: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(45px, 7vh, 85px);
}
.auth-main h1,
.page-title {
  font-size: clamp(2.45rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 570;
}
.auth-main .lead {
  margin: 12px 0 29px;
  color: var(--muted);
  line-height: 1.52;
  font-size: 1.02rem;
  letter-spacing: -0.018em;
}
.role-grid {
  display: grid;
  gap: 10px;
}
.role-pick {
  min-height: 85px;
  padding: 14px 19px 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--round);
  gap: 15px;
  text-align: left;
}
.role-pick:hover,
.choice-row:hover {
  border-color: #a6a19e;
  background: #fbfbfa;
}
.role-pick .role-art {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 5px;
}
.channel-choice {
  width: 100%;
  min-height: 68px;
}
.channel-choice:disabled {
  opacity: 0.6;
}
.verified-email {
  margin: 0 0 22px;
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}
.verified-email span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}
.role-pick strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 640;
}
.role-pick small {
  display: block;
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 3px;
}
.role-pick .chev,
.choice-row .chev {
  margin-left: auto;
}
.chev {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.65;
  margin-right: 3px;
}
.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.875rem;
  padding: 5px 0;
  margin: 0 0 20px;
}
.back-link i {
  width: 7px;
  height: 7px;
  border-left: 1.4px solid;
  border-bottom: 1.4px solid;
  transform: rotate(45deg);
}
.form-grid {
  display: grid;
  gap: 17px;
}
.form-grid label,
.control-label {
  display: grid;
  gap: 7px;
  font-size: 0.91rem;
  font-weight: 600;
}
.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}
input:not([type="checkbox"]),
select {
  border: 1px solid #cccec8;
  background: white;
  color: var(--ink);
  border-radius: 9px;
  padding: 13px 14px;
  width: 100%;
  min-height: 47px;
  font-weight: 450;
  letter-spacing: -0.012em;
}
input::placeholder {
  color: #81847e;
}
select {
  appearance: none;
  padding-right: 35px;
  background-image:
    linear-gradient(45deg, transparent 50%, #676a65 50%),
    linear-gradient(135deg, #676a65 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 13px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
.form-grid .btn {
  margin-top: 4px;
}
.channel-permission {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.channel-permission input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.12rem 0 0;
  flex: none;
  accent-color: var(--ink);
}
.channel-permission strong,
.channel-permission small {
  display: block;
  line-height: 1.45;
}
.channel-permission strong {
  font-size: 0.94rem;
}
.channel-permission small {
  color: var(--muted);
  font-size: 0.82rem;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 18px;
}
.form-error {
  color: #962810;
  font-size: 0.91rem;
  line-height: 1.4;
}
.receipt-art {
  display: block;
  object-fit: contain;
  width: 75px;
  height: 75px;
  margin: 0 0 23px;
  transform: rotate(-10deg);
}
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  min-height: 60px;
  font-size: 0.875rem;
  color: var(--muted);
}
.signin-options {
  display: grid;
  gap: 12px;
}
.workspace {
  background: #fbfbf9;
}
.workspace .site-head {
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.new-post {
  gap: 0.32rem;
  white-space: nowrap;
}
.new-post > span {
  font-size: 1.15em;
  line-height: 1;
}
.ranked-post {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.ranked-post-copy {
  min-width: 0;
}
.ranked-post .post-art {
  cursor: pointer;
}
.ranked-post .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.post-byline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 0.7rem;
  margin-top: 2px;
}
.post-byline .post-meta {
  margin: 0;
}
.row-promote {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 26px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--iris);
}
.row-promote:hover,
.row-promote:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.overview-paid,
.advertiser-settings {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--round);
  padding: clamp(16px, 2.4vw, 26px);
}
.paid-heading,
.advertiser-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.paid-heading h2,
.advertiser-settings h2 {
  margin: 0;
  font-size: 1.19rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.paid-heading p,
.advertiser-settings p,
.paid-figures p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}
.paid-heading .text-link,
.advertiser-settings .text-link {
  flex: none;
}
.paid-account {
  display: grid;
  grid-template-columns: minmax(125px, 1fr) minmax(0, 2fr);
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}
.paid-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.paid-identity > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.paid-identity .platform-tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
  font-size: 17px;
}
.paid-identity strong,
.paid-identity small {
  display: block;
}
.paid-identity small,
.paid-figures > small {
  color: var(--muted);
  font-size: 0.78rem;
}
.paid-figures .promo-stats {
  margin: 0;
  gap: 0.6rem;
}
.paid-figures .promo-stats div {
  padding: 0.25rem 0;
  background: transparent;
}
.paid-figures .promo-stats dd {
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.detail-sheet.promotion-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(540px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 20px 0 0 20px;
  padding: 0 clamp(18px, 3.4vw, 32px) 32px;
  overflow-y: auto;
}
dialog.promotion-sheet .dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
dialog.promotion-sheet .dialog-head h2 {
  font-size: 1.25rem;
  margin: 0;
}
dialog.promotion-sheet .dialog-head .tool {
  position: static;
  flex: none;
}
.promotion-sheet .promo-inline {
  padding: 20px 0;
}
.promo-inline .promo-card {
  padding: 0;
  border: 0;
  border-radius: 0;
}
.promo-inline section.promo-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (max-width: 600px) {
  .paid-account {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .row-promote {
    min-height: 30px;
  }
  .detail-sheet.promotion-sheet {
    border-radius: 0;
  }
}

.workspace .wordmark {
  font-size: 23px;
}
.workspace .brand-symbol {
  transform: scale(0.85);
  transform-origin: left center;
  margin-right: -5px;
}
.workspace-nav {
  gap: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.workspace-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 570;
  color: var(--muted);
}
.workspace-nav a:hover,
.workspace-nav a.active {
  color: var(--ink);
  background: #eaeae5;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e6dffd;
  color: #3d2984;
  font-size: 0.84rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid #d9d0f0;
}
.avatar[aria-current="page"] {
  box-shadow: 0 0 0 2px var(--ink);
}
.app-main {
  width: min(100% - clamp(36px, 10vw, 152px), 1180px);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 68px) 0 75px;
  flex: 1;
}
.view-title {
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 30px;
}
.view-title h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 560;
}
.view-title p,
.section-heading p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.5;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.filters label {
  display: flex;
}
.filters select {
  font-size: 0.86rem;
  font-weight: 550;
  min-height: 39px;
  border-radius: 999px;
  padding: 7px 30px 7px 13px;
  max-width: 240px;
  width: auto;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.analytics-panel {
  padding: clamp(19px, 3vw, 36px);
}
.metric-tabs {
  align-items: stretch;
  gap: clamp(12px, 3vw, 45px);
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--line);
}
.metric-tab {
  display: grid;
  align-content: start;
  justify-items: start;
  position: relative;
  padding: 0 7px 17px 0;
  text-align: left;
  gap: 5px;
  white-space: nowrap;
  min-width: 95px;
}
.metric-tab[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--iris);
  border-radius: 3px;
}
.metric-label {
  font-size: 0.88rem;
  color: var(--muted);
}
.metric-tab[aria-pressed="true"] .metric-label {
  color: var(--iris);
}
.metric-value {
  font-weight: 560;
  letter-spacing: -0.028em;
  font-size: clamp(1.7rem, 3.4vw, 3.15rem);
  line-height: 1.1;
}
.chart-legend {
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 4px;
}
.chart-legend span,
.legend-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 550;
}
.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--series);
}
.chart-wrap {
  position: relative;
}
.chart-wrap canvas {
  display: block;
  width: 100%;
  height: clamp(154px, 23vh, 250px);
  touch-action: pan-y;
}
.chart-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  background: #202120;
  color: white;
  padding: 8px 10px;
  font-size: 0.78rem;
  border-radius: 7px;
  white-space: pre-line;
  line-height: 1.5;
  z-index: 2;
  max-width: 200px;
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.chart-foot .text-link {
  white-space: nowrap;
  font-size: inherit;
  padding: 0;
}
.section-heading {
  justify-content: space-between;
  gap: 18px;
  margin: 33px 0 13px;
}
.section-heading h2,
.panel-heading,
.empty-state h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.table-box {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.91rem;
}
th {
  font-weight: 530;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.post-button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  font-weight: 600;
  padding: 0;
  color: var(--ink);
}
.post-button:hover .post-title {
  text-decoration: underline;
}
.post-art {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  flex: none;
  background: var(--art-bg, #e6e6f5);
  border-radius: 7px;
  overflow: hidden;
}
.post-art img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  transform: rotate(var(--art-rotate, -12deg));
}
.post-title {
  display: block;
  line-height: 1.28;
}
.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 450;
  display: block;
  margin-top: 4px;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.platform-pill .pi {
  font-size: 0.9rem;
}
.platform-pill .pi.tiktok {
  font-size: 1.1rem;
}
.empty-state {
  text-align: center;
  padding: clamp(32px, 6vw, 82px) 20px;
}
.empty-state .receipt-art {
  margin: 0 auto 16px;
  width: 90px;
  height: 90px;
}
.empty-state p {
  color: var(--muted);
  margin: 10px auto 22px;
  max-width: 37ch;
  line-height: 1.55;
}
.account-section {
  margin-top: 24px;
}
.view-title .partnership-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.55rem 0 0;
}
.wait-clock {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.3px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.wait-clock::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 3px;
  height: 4px;
  border: solid currentColor;
  border-width: 0 0 1px 1px;
}
.connection-receipt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: clamp(16px, 3vw, 25px);
  margin: 0 0 18px;
  border: 1px solid #d1dec9;
  border-radius: 16px;
  background: #f1f6eb;
}
.connection-receipt .platform-tile {
  position: relative;
}
.connection-check {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid #f1f6eb;
  border-radius: 50%;
  background: #31533e;
  color: white;
  font: 700 9px/1 sans-serif;
}
.receipt-copy {
  flex: 1 1 210px;
  min-width: 0;
}
.receipt-copy > span {
  color: #3b6245;
  font-size: 0.77rem;
  font-weight: 650;
}
.receipt-copy h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 2px 0;
  overflow-wrap: anywhere;
}
.receipt-copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #455446;
}
.receipt-action {
  font-size: 0.85rem;
  font-weight: 650;
  color: #284b35;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.account-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
@media (max-width: 540px) {
  .account-row {
    flex-wrap: wrap;
    padding: 14px 0;
    gap: 7px;
  }
  .account-row .account-identity {
    flex-basis: 100%;
  }
  .account-actions {
    margin-left: 55px;
  }
  .account-actions .account-tool {
    padding-left: 0;
  }
  .receipt-action {
    margin-left: 60px;
  }
}
.account-block {
  padding: 0 21px;
}
.account-row,
.choice-row {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  min-height: 70px;
}
.account-row + .account-row,
.choice-row + .choice-row {
  border-top: 1px solid var(--line);
}
.account-identity {
  gap: 13px;
  min-width: 0;
}
.account-identity strong,
.profile-line strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.account-identity small,
.profile-line small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}
.platform-tile {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: #efefeb;
  color: #282923;
  flex: none;
  --pi-cut: #efefeb;
}
.platform-tile.youtube {
  background: #fee6dc;
  color: #a63c1f;
  --pi-cut: #fee6dc;
}
.platform-tile.instagram {
  background: #eee7ff;
  color: #603ab1;
  --pi-cut: #eee7ff;
}
.platform-tile.tiktok {
  background: #e7ecd8;
  color: #47552d;
  --pi-cut: #e7ecd8;
}
.account-tool {
  padding: 5px 0 5px 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.account-tool:hover {
  text-decoration: underline;
}
.settings {
  max-width: 630px;
  margin: 0 auto;
}
.settings .view-title {
  align-items: center;
}
.settings .panel {
  padding: 25px;
}
.profile-line {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 24px;
  width: min(445px, calc(100% - 28px));
  box-shadow: 0 24px 80px #12102029;
  max-height: 85svh;
  overflow: auto;
}
dialog::backdrop {
  background: #11131c54;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.dialog-head h2 {
  font-size: 1.8rem;
  letter-spacing: -0.028em;
  font-weight: 600;
  line-height: 1.12;
}
.dialog-head .tool {
  width: 31px;
  height: 31px;
  font-size: 21px;
}
.dialog-lead {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 10px 0 17px;
}
.dialog-list {
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.choice-row {
  width: 100%;
  text-align: left;
  padding: 6px 0;
}
.choice-row:disabled {
  opacity: 0.65;
  cursor: default;
}
.dialog-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 17px;
}
.detail-list {
  margin: 14px 0 0;
}
.detail-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  font-weight: 620;
}
.detail-sheet {
  position: fixed;
  width: min(500px, calc(100% - 32px));
  max-height: min(86dvh, 760px);
  overscroll-behavior: contain;
  padding: 28px;
  border: 1px solid #dfdfd9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 72px #1c1b232b;
  color: var(--ink);
}
.detail-sheet::backdrop {
  background: #17171c55;
  backdrop-filter: blur(4px);
}
.detail-sheet .dialog-head {
  display: block;
  margin: 20px 0 0;
}
.detail-sheet .dialog-head h2 {
  font-size: clamp(1.35rem, 4.9vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.detail-sheet .dialog-head h2:focus {
  outline: none;
}
.detail-sheet .dialog-head .tool {
  position: absolute;
  right: 18px;
  top: 17px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font:
    400 25px/1 DM,
    sans-serif;
  color: var(--muted);
}
.detail-sheet .dialog-head .tool:hover {
  background: var(--paper);
  color: var(--ink);
}
.sheet-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-right: 36px;
}
.sheet-identity > div {
  min-width: 0;
}
.sheet-identity strong,
.sheet-identity small {
  display: block;
  overflow-wrap: anywhere;
}
.sheet-identity strong {
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 660;
}
.sheet-identity small {
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}
.sheet-identity .platform-tile {
  height: 36px;
  width: 36px;
  min-width: 36px;
  border-radius: 11px;
}
.sheet-identity .pi {
  transform: scale(0.8);
}
.sheet-intro,
.caption-copy {
  margin-top: 10px;
  line-height: 1.55;
  font-size: 0.96rem;
  color: #444644;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.caption-tags {
  margin-top: 9px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #676776;
  overflow-wrap: anywhere;
}
.long-caption {
  margin-top: 10px;
}
.long-caption summary,
.saved-profiles summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.post-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 23px;
  background: #f4f4f0;
  border-radius: 13px;
  padding: 5px;
}
.post-stat {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 64px;
  padding: 8px clamp(7px, 2.5vw, 14px);
  text-align: left;
}
.post-stat strong {
  font-size: clamp(1.1rem, 4.3vw, 1.42rem);
  line-height: 1.18;
  font-weight: 620;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.post-stat-name {
  color: #5b5c59;
  font-size: 0.77rem;
  line-height: 1.3;
  font-weight: 530;
}
.comment-trigger,
.metric-jump {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 5px #25222412;
}
.comment-trigger:where(:hover, [aria-expanded="true"]),
.metric-jump:hover {
  background: var(--iris-light);
}
.comment-trigger[aria-expanded="true"] .stat-chevron {
  transform: rotate(180deg);
}
.stat-chevron {
  position: absolute;
  bottom: 14px;
  right: 10px;
  font-size: 0.9rem;
  line-height: 1;
  color: #51496f;
}
.sheet-footer {
  margin-top: 19px;
  display: flex;
  justify-content: flex-end;
}
.post-source,
.switch-profile,
.reader-link,
.reader-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  font-size: 0.87rem;
  line-height: 1.35;
  font-weight: 620;
}
.post-source,
.switch-profile {
  color: #444644;
}
.post-source:hover,
.switch-profile:hover,
.reader-more:hover,
.reader-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.connect-sheet {
  width: min(458px, calc(100% - 32px));
}
.saved-profiles {
  margin-top: 20px;
  padding: 12px 14px;
  background: #f5f5f1;
  border-radius: 12px;
}
.saved-profiles small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
}
.saved-profiles div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  margin-top: 4px;
}
.saved-profiles span {
  font-size: 0.87rem;
  font-weight: 620;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.sheet-hint {
  margin-top: 7px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}
.connect-actions {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.connect-actions .btn {
  font-size: 0.9rem;
  min-height: 43px;
  gap: 8px;
}
.conversation {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.conversation h3 {
  font:
    650 1rem/1.35 DM,
    sans-serif;
  letter-spacing: -0.015em;
}
.reader-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.reader-row {
  padding: 13px 0;
  border-bottom: 1px solid #ebebe6;
  overflow-wrap: anywhere;
}
.reader-row:last-child {
  border-bottom: 0;
}
.reader-byline {
  display: flex;
  align-items: center;
  gap: 9px;
}
.reader-avatar {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  color: #54466a;
  background: #eeeaf4;
  font-size: 0.78rem;
  font-weight: 650;
}
.reader-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reader-author {
  min-width: 0;
  display: grid;
}
.reader-author a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.reader-author a:hover,
.reader-author a:focus-visible {
  color: var(--iris);
}
.reader-likes {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.reader-byline strong {
  font-size: 0.86rem;
  font-weight: 650;
}
.reader-byline time {
  color: var(--muted);
  font-size: 0.74rem;
}
.reader-row p,
.reader-status,
.reader-empty,
.reader-error {
  font-size: 0.9rem;
  line-height: 1.55;
}
.reader-row p {
  margin-top: 6px;
  white-space: pre-line;
}
.reader-status,
.reader-empty,
.reader-error {
  color: var(--muted);
  margin-top: 7px;
}
.reader-status:empty,
.reader-list:empty {
  display: none;
}
.reader-replies {
  border-left: 2px solid var(--line);
  margin-top: 5px;
  padding-left: 12px;
}
.reader-more,
.reader-link {
  padding: 0;
  color: var(--iris);
}
.reader-link {
  margin-top: 4px;
}
.reader-status .btn {
  margin: 10px 14px 4px 0;
}
.comment-composer:not(:empty) {
  margin: 10px 0 14px;
}
.conversation .reply-form {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}
.reply-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.reply-form textarea {
  display: block;
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  resize: vertical;
}
.reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
}
.conversation .reply-feedback {
  color: var(--muted);
  font-size: 0.82rem;
}
.reply-feedback:empty,
.reader-more[hidden] {
  display: none;
}
.table-comment {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 42px;
  min-height: 34px;
  padding: 4px 5px;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
.table-comment span:last-child {
  color: #72678b;
}
.table-comment:hover {
  background: var(--iris-light);
  color: var(--iris);
}
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .performance-posts .post-likes-col {
    display: none;
  }
}
@media (max-width: 480px) {
  .detail-sheet {
    width: calc(100% - 24px);
    max-height: 88dvh;
    padding: 21px;
    border-radius: 18px;
  }
  .detail-sheet .dialog-head .tool {
    top: 11px;
    right: 10px;
  }
  .detail-sheet .dialog-head {
    margin-top: 16px;
  }
  .connect-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 3px;
  }
  .post-stats {
    margin-top: 18px;
  }
  .stat-chevron {
    right: 5px;
  }
}
#notice:not(:empty) {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 20;
  max-width: 90vw;
  width: max-content;
}
.filter-tabs {
  display: inline-flex;
  gap: 2px;
  background: #eaeae5;
  padding: 3px;
  border-radius: 999px;
}
.filter-tabs button {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.filter-tabs button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 3px #0001;
}
.admin-sort {
  padding: 0;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 1600px) {
  .hero-copy h1 {
    font-size: 8.6rem;
  }
}
@media (max-width: 930px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .home-hero {
    grid-template-columns: 1.02fr 1fr;
    gap: 8px;
  }
  .hero-copy h1 {
    font-size: clamp(3.8rem, 7.45vw, 5.5rem);
  }
  .hero-copy {
    padding-left: 0;
  }
  .play-area {
    height: clamp(310px, 42vw, 420px);
  }
  .hero-actions {
    gap: 17px;
  }
  .app-main {
    width: calc(100% - 48px);
  }
  .view-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .workspace-nav {
    position: static;
    transform: none;
  }
}
@media (max-width: 680px) {
  .wrap,
  .app-main {
    width: calc(100% - 36px);
  }
  .site-head {
    min-height: 66px;
  }
  .wordmark {
    font-size: 24px;
  }
  .home-main {
    align-items: stretch;
  }
  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 17px;
    padding: clamp(28px, 5vh, 53px) 0 20px;
    min-height: auto;
  }
  .hero-copy h1 {
    font-size: clamp(2.72rem, 14.4vw, 4.75rem);
    line-height: 0.94;
    letter-spacing: -0.039em;
  }
  .hero-copy p {
    margin-top: 16px;
    font-size: 1rem;
    max-width: 30rem;
  }
  .hero-actions {
    margin-top: 19px;
    gap: 20px;
  }
  .btn.big {
    min-height: 47px;
    padding: 12px 20px;
    font-size: 0.94rem;
  }
  .play-area {
    height: clamp(205px, 56vw, 350px);
    margin: 2px 0;
  }
  .home-foot {
    min-height: 56px;
    gap: 9px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .brand-list {
    gap: 12px;
    font-size: 0.8rem;
  }
  .brand-list li {
    gap: 4px;
  }
  .brand-list .pi {
    font-size: 14px;
  }
  .play-controls {
    gap: 7px;
    font-size: 0.8rem;
  }
  .play-controls .tool {
    width: 30px;
    height: 30px;
  }
  .stage-marks i {
    width: 8px;
    height: 8px;
  }
  .drag-hint {
    display: none;
  }
  .drag-short {
    display: inline;
  }
  .mobile-sample {
    display: inline;
    color: var(--iris);
  }
  .app-main {
    padding: 30px 0 54px;
  }
  .workspace .site-head {
    min-height: 61px;
    gap: 6px;
  }
  .workspace .wordmark {
    font-size: 20px;
    gap: 4px;
  }
  .workspace .brand-symbol {
    transform: scale(0.74);
    margin-right: -9px;
  }
  .workspace-nav {
    gap: 0;
  }
  .workspace-nav a {
    font-size: 0.83rem;
    padding: 7px 9px;
  }
  .workspace .site-head > .actions {
    gap: 6px;
  }
  .workspace .head-sample {
    display: none;
  }
  .workspace .avatar {
    width: 32px;
    height: 32px;
  }
  .view-title {
    margin-bottom: 18px;
    gap: 15px;
  }
  .view-title h1 {
    font-size: 2.65rem;
  }
  .view-title p {
    font-size: 0.88rem;
    margin-top: 7px;
  }
  .metric-tabs {
    gap: 18px;
  }
  .metric-tab {
    min-width: 0;
    flex: 1;
    padding-right: 0;
  }
  .metric-tab .metric-value {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
  .metric-label {
    font-size: 0.8rem;
  }
  .analytics-panel {
    padding: 16px;
  }
  .chart-legend {
    gap: 12px;
    margin-top: 15px;
  }
  .chart-legend span {
    font-size: 0.74rem;
  }
  .chart-foot {
    flex-wrap: wrap;
    gap: 3px;
  }
  .section-heading {
    margin-top: 23px;
  }
  .account-block {
    padding: 0 12px;
  }
  .post-account-col {
    display: none;
  }
  td,
  th {
    padding: 10px 6px;
  }
  .post-art {
    width: 34px;
    height: 41px;
  }
  .post-button {
    gap: 8px;
  }
  table {
    font-size: 0.84rem;
  }
  .form-grid {
    gap: 13px;
  }
  .auth-main {
    padding: 35px 0;
  }
  .auth-main .lead {
    margin-bottom: 20px;
  }
  .settings .panel {
    padding: 18px;
  }
  .filters select {
    max-width: 175px;
  }
  .filters {
    gap: 5px;
  }
}
@media (max-width: 370px) {
  .home-foot {
    justify-content: center;
  }
  .play-controls {
    margin-left: auto;
  }
  .play-controls .drag-hint {
    display: none;
  }
  .workspace .brand-symbol {
    display: none;
  }
  .workspace-nav a {
    padding: 6px;
  }
  .btn,
  .filters select {
    font-size: 0.83rem;
  }
  .auth-footer {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .toy {
    will-change: auto;
  }
}
.email-signin {
  margin: 1.75rem 0;
}
.email-signin summary {
  cursor: pointer;
  font-weight: 650;
}
.email-signin form {
  margin-top: 1.2rem;
}
#sign-message,
.report-note {
  color: #454349;
  line-height: 1.55;
}
.report-note {
  margin: 0 0 1rem;
}
.legal {
  max-width: 45rem;
  margin: 4rem auto 8rem;
  padding: 0 1.3rem;
  line-height: 1.65;
}
.legal h1 {
  margin: 2rem 0;
  font-size: clamp(3rem, 8vw, 5rem);
}
.legal h2 {
  margin: 2.3rem 0 0.4rem;
}
.legal a,
.foot-privacy {
  text-decoration: underline;
  text-underline-offset: 0.19em;
}
.foot-privacy {
  font-size: 0.875rem;
}
.admin-email {
  display: block;
  overflow-wrap: anywhere;
  color: #565854;
}
.admin-table {
  overflow-x: auto;
}
.admin-table td {
  vertical-align: middle;
}
@media (max-width: 520px) {
  .play-controls .foot-privacy {
    font-size: 0.75rem;
  }
  .brand-list {
    gap: 0.45rem;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.6rem;
  }
}

/* Video reports use the same labels in both workspaces. */
.ranking-head {
  align-items: end;
  gap: 18px;
}
.ranking-head p {
  max-width: 55ch;
}
.ranking-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8rem;
}
.ranking-control select {
  max-width: 100%;
  padding: 8px 25px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  min-height: 36px;
}
.signal-cell strong {
  font-weight: 580;
}
.signal-cell small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}
.rank-platform th {
  padding: 9px 14px;
  background: #f4f3f8;
  color: #57545f;
  font-weight: 600;
}
.rank-platform .pi {
  vertical-align: middle;
  margin-right: 5px;
}
.watch-upgrade {
  border: 1px solid #d9d2f0;
  border-radius: 12px;
  background: #f6f3ff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 0.88rem;
}
.post-sheet {
  width: min(100% - 32px, 640px);
}
.video-insights[hidden] {
  display: none;
}
.insight-block {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.insight-block h3,
.insight-block summary {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.insight-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 10px;
}
.insight-heading small,
.insight-note,
.plot-ends,
.plot-scale,
.scrub-label {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.insight-note {
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}
.watch-summary,
.insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 12px 0 0;
}
.watch-summary dt,
.insight-metrics dt {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}
.watch-summary dd,
.insight-metrics dd {
  margin: 3px 0 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.watch-summary dd {
  font-size: 1.4rem;
  letter-spacing: -0.045em;
}
.retention-plot {
  display: flex;
  gap: 5px;
  margin-top: 13px;
  background: #f6f4fb;
  border-radius: 10px;
  padding: 12px 10px 6px;
}
.curve h4 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 620;
}
.curve h4 + .retention-plot {
  margin-top: 5px;
}
.chart-moments {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
}
.likes-plot {
  background: #f2f6f0;
}
.likes-plot .plot-line {
  stroke: #387055;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.likes-plot .plot-dot {
  fill: #387055;
}
.likes-plot .plot-guide {
  stroke: #d7e4d6;
}
.audience-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.8rem;
}
.audience-choices button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 5px 10px;
  font: inherit;
  cursor: pointer;
}
.audience-choices button[aria-pressed="true"] {
  color: #3c2b78;
  border-color: #d7cdf4;
  background: #f0ebff;
}
.audience-more summary {
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--iris);
}
.plot-scale {
  position: relative;
  flex: 0 0 34px;
  height: 96px;
  font-size: 0.65rem;
}
.plot-scale span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}
.retention-checkpoints {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
}
.retention-checkpoints > div {
  display: grid;
  grid-template-columns: minmax(5.6rem, auto) 1fr 3.4rem;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
}
.retention-checkpoints strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.retention-checkpoints progress {
  width: 100%;
  height: 0.48rem;
  accent-color: var(--iris);
}
.account-audience {
  margin-top: 14px;
}
.account-audience summary {
  cursor: pointer;
  font-weight: 650;
}
.account-audience .audience-rows {
  margin-top: 8px;
}
.rate-detail summary {
  cursor: pointer;
}
.daily-video-views {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.daily-video-views caption {
  text-align: left;
  color: var(--muted);
  padding: 8px 0;
}
.daily-video-views th,
.daily-video-views td {
  text-align: left;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}
.daily-video-views th:last-child,
.daily-video-views td:last-child {
  text-align: right;
}
.plot-body {
  min-width: 0;
  flex: 1;
}
.plot-body svg {
  display: block;
  width: 100%;
  height: 96px;
  cursor: crosshair;
  overflow: visible;
}
.plot-guide {
  stroke: #dcd8e7;
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.plot-fill {
  fill: #e7e1fb;
}
.plot-line {
  fill: none;
  stroke: var(--iris);
  stroke-width: 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.plot-cursor {
  stroke: #8c83a6;
  stroke-dasharray: 3 3;
}
.plot-dot {
  fill: var(--iris);
  stroke: #fff;
  stroke-width: 1;
}
.plot-ends,
.scrub-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plot-ends {
  font-size: 0.66rem;
}
.scrub-label {
  margin-top: 8px;
  align-items: center;
}
.scrub-label input {
  width: auto;
  min-width: 40px;
  flex: 1;
  accent-color: var(--iris);
  margin: 0;
  min-height: 25px;
}
.plot-reading {
  display: block;
  font-size: 0.8rem;
  font-weight: 580;
  font-variant-numeric: tabular-nums;
}
.skip-bar {
  height: 8px;
  background: #ece9f2;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
}
.skip-bar i {
  height: 100%;
  display: block;
  background: #7a60c4;
  border-radius: inherit;
}
.sources-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sources-list li {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.sources-list b {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.sources-list i {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  background: #efedf7;
  border-radius: 4px;
  width: var(--source-width);
}
.thumbnail-detail summary {
  cursor: pointer;
}
.thumbnail-result .ranking-control {
  margin-top: 9px;
}
@media (max-width: 680px) {
  .ranking-head {
    align-items: start;
    flex-wrap: wrap;
  }
  .performance-posts th,
  .performance-posts td {
    padding-inline: 7px;
  }
  .performance-posts .post-button {
    max-width: 100%;
  }
  .performance-posts .post-art {
    display: none;
  }
  .performance-posts .num {
    white-space: nowrap;
  }
  .watch-summary,
  .insight-metrics {
    gap: 10px;
  }
}
@media (max-width: 370px) {
  .workspace .site-head:has(.preview-flag) {
    gap: 5px;
  }
  .workspace .site-head .preview-flag {
    margin: 0;
    padding-inline: 4px;
    font-size: 0.65rem;
  }
  .workspace .site-head .btn.small {
    padding-inline: 9px;
    min-width: 0;
  }
  .performance-posts th,
  .performance-posts td {
    padding-inline: 4px;
  }
}
.attention-moment {
  margin: 12px 0 0;
  display: inline-flex;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: #f0ecfb;
  color: #493599;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.attention-moment:hover {
  background: #e6dff8;
}
.attention-moment + .retention-plot {
  margin-top: 8px;
}

/* Multi-channel publishing desk */
.pub-layout {
  display: grid;
  grid-template-columns: minmax(275px, 0.78fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: 36px;
}
.pub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: clamp(18px, 3vw, 30px);
  min-width: 0;
}
.pub-card h2 {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.pub-card h3 {
  margin-bottom: 12px;
}
.pub-card label:not(.pub-tick) {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 600;
}
.pub-card :where(input:not([type="checkbox"]), select, textarea) {
  border: 1px solid var(--line);
  background-color: var(--surface);
  border-radius: 9px;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  font: inherit;
  font-weight: 400;
}
.pub-card select {
  padding-right: 32px;
  text-overflow: ellipsis;
}
.pub-card textarea {
  resize: vertical;
}
.pub-card input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--iris);
}
.pub-card small,
.pub-muted,
.pub-channel label a {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 400;
}
.pub-card [hidden] {
  display: none !important;
}
.pub-group:not(:empty),
.pub-group-edit form,
.pub-review-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.pub-group:not(:empty) {
  margin-bottom: 12px;
  align-items: center;
}
.pub-group #pub-delete-group {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--muted);
}
.pub-group label,
.pub-group-edit label {
  flex: 1;
}
.pub-channel,
.pub-receipt {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.pub-channel label,
.pub-receipt > div {
  flex: 1;
  min-width: 0;
}
.pub-channel label a {
  width: fit-content;
  color: var(--iris);
}
.pub-grant {
  color: var(--iris);
}
.pub-grant button {
  max-width: 90px;
  text-align: right;
}
.pub-group-edit {
  margin-top: 12px;
}
.pub-group-edit .text-link {
  font-size: 0.88rem;
  color: var(--iris);
  padding: 3px 0;
}
#pub-save-help {
  margin-top: 3px;
  line-height: 1.4;
}
.pub-ready {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #e8f2e7;
  color: #316342;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
}
.pub-group-edit form,
.pub-pair {
  margin-top: 12px;
}
#pub-group-msg:not(:empty),
#pub-progress:not(:empty),
#pub-sync:not(:empty) {
  margin-top: 10px;
}
.pub-compose-head h2 {
  margin: 0;
}
.pub-compose-head {
  margin-bottom: 18px;
}
.pub-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pub-targets:not(:empty) {
  margin-top: 10px;
}
.pub-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 620;
}
.pub-chip.tiktok {
  background: #e7ecd8;
  color: #465331;
}
.pub-chip.instagram {
  background: #eee7ff;
  color: #56329e;
}
.pub-chip.youtube {
  background: #fee6dc;
  color: #89351e;
  --pi-cut: #fee6dc;
}
.pub-history {
  grid-column: 1 / -1;
}
.pub-history h2 {
  font-size: 1.16rem;
  margin-bottom: 9px;
}
#pub-form,
#pub-review:not([hidden]) {
  display: grid;
  gap: 16px;
}
#pub-media:not([hidden]) {
  margin-bottom: 14px;
}
.pub-card .pub-file {
  padding: 13px 16px;
  background: #f7f7f4;
  border: 1px dashed #c4c5bb;
  border-radius: 12px;
}
.pub-card .pub-file input[type="file"] {
  padding: 0;
  border: 0;
  border-radius: 4px;
  min-height: 0;
  background: transparent;
  cursor: pointer;
}
.pub-file input::file-selector-button {
  border: 1px solid #d0d1c9;
  background: white;
  border-radius: 7px;
  padding: 7px 12px;
  margin-right: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#pub-form .btn {
  justify-self: start;
}
#pub-preview {
  display: block;
  width: 100%;
  max-height: 280px;
  background: #171717;
  border-radius: 10px;
}
.pub-file:not([hidden]) + #pub-preview {
  margin-top: 10px;
}
.pub-networks {
  border-block: 1px solid var(--line);
}
.pub-card fieldset {
  min-width: 0;
  padding: 14px 0;
  margin: 0;
  border: 0;
  position: relative;
}
.pub-networks fieldset:not([hidden]) ~ fieldset:not([hidden]) {
  border-top: 1px solid var(--line);
}
.pub-card legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.pub-network-head,
.pub-inline {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pub-network-head .platform-tile,
#pub-review .platform-tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 16px;
}
.pub-network-head strong,
.pub-network-head small {
  display: block;
  overflow-wrap: anywhere;
}
.pub-network-head strong {
  line-height: 1.2;
}
.pub-network-body {
  display: grid;
  gap: 6px;
  margin: 9px 0 0 43px;
  font-size: 0.91rem;
}
.pub-network-body > small:empty {
  display: none;
}
.pub-inline {
  flex-wrap: wrap;
  column-gap: 16px;
}
.pub-visibility {
  font-weight: 600;
}
.pub-extras summary,
.pub-disclosures summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 580;
}
.pub-extras summary {
  font-size: 0.83rem;
  color: var(--muted);
}
.pub-extras .pub-checks {
  margin: 7px 0 0;
}
.pub-disclosures summary small {
  margin-left: 8px;
}
.pub-disclosures > div {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.pub-tick {
  font-weight: 450;
}
.pub-network-body .pub-pair {
  margin: 2px 0;
}
.pub-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pub-checks,
.pub-tick {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.pub-checks {
  margin: 14px 0;
}
.pub-receipt strong,
.pub-receipt small,
#pub-review li small {
  display: block;
  overflow-wrap: anywhere;
}
.pub-status {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}
.pub-status[data-state="published"],
.pub-confirmed {
  color: #30603d;
}
.pub-status[data-state="failed"],
.pub-status[data-state="uncertain"] {
  color: #a23b20;
}
#pub-review ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#pub-review li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  overflow-wrap: anywhere;
}
.pub-caption {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#pub-error {
  margin-top: 12px;
}
#pub-accounts-toggle {
  display: none;
}
@media (max-width: 790px) {
  .pub-layout {
    grid-template-columns: 1fr;
  }
  #pub-accounts-toggle {
    display: block;
    color: var(--iris);
    font-size: 0.87rem;
    flex-basis: 100%;
    padding: 4px 0;
    text-align: left;
  }
  .pub-destinations:has(#pub-accounts-toggle[aria-expanded="false"])
    :is(.pub-accounts, .pub-group-edit) {
    display: none;
  }
  .pub-destinations:has(#pub-accounts-toggle[aria-expanded="false"])
    .pub-group {
    margin-bottom: 0;
  }
}
@media (max-width: 520px) {
  .pub-pair {
    grid-template-columns: 1fr;
  }
  .pub-network-body {
    margin-left: 0;
  }
  .pub-channel {
    gap: 8px;
  }
  .pub-channel .platform-tile {
    width: 32px;
    height: 32px;
    flex: none;
  }
}
.pub-receipt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--iris);
  font-size: 0.82rem;
}

.account-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  max-width: min(265px, 100%);
  padding: 5px 15px 5px 6px;
  border: 1px solid #c9c9c2;
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 650;
}
.account-switch:hover,
.account-switch[aria-expanded="true"] {
  border-color: #8c81b7;
  box-shadow: 0 0 0 2px #51418a0c;
}
.switch-value,
.scope-copy strong,
.scope-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.switch-caret {
  flex: none;
  width: 7px;
  height: 7px;
  margin: -3px 1px 0 4px;
  border: solid var(--muted);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.account-switch[aria-expanded="true"] .switch-caret {
  transform: translateY(3px) rotate(225deg);
}
.filters:has(.account-switch) {
  min-width: 0;
  max-width: 100%;
}
.filters:has(.account-switch) #period-filter {
  min-height: 44px;
  border-radius: 14px;
}
.account-switch .platform-tile,
.account-chooser .platform-tile {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 15px;
}
.account-switch .combined-mark,
.account-chooser .combined-mark {
  color: #51447b;
  background: #e9e5f3;
}
.combined-mark i {
  width: 6px;
  height: 6px;
  border-radius: 1.6px;
  background: currentColor;
  box-shadow:
    8px 0,
    0 8px,
    8px 8px;
  transform: translate(-4px, -4px);
}
.account-chooser {
  inset: var(--switch-top, 12px) auto var(--switch-bottom, auto)
    var(--switch-left, 12px);
  margin: 0;
  width: min(365px, calc(100% - 24px));
  max-height: min(585px, var(--switch-height, 86dvh));
  padding: 0;
  overflow: auto;
  transition-property: none;
  border: 1px solid #d8d8d0;
  border-radius: 20px;
  box-shadow:
    0 18px 50px #22202e25,
    0 3px 8px #22202e0c;
}
.account-chooser[open] {
  display: flex;
  flex-direction: column;
}
.account-chooser::backdrop {
  background: #22202e09;
  backdrop-filter: none;
}
.account-chooser .dialog-head {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 13px 14px 9px 18px;
}
.account-chooser .dialog-head h2 {
  font-size: 1.24rem;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -0.032em;
}
.account-chooser .dialog-head .tool {
  position: static;
  width: 32px;
  height: 32px;
  color: #555551;
  background: #f4f4f0;
  font-size: 21px;
}
.scope-shortcuts {
  padding: 0 14px 14px;
  border-bottom: 1px solid var(--line);
}
.scope-shortcuts h3 {
  margin: 13px 2px 7px;
  font:
    630 0.76rem/1.25 DM,
    sans-serif;
  color: var(--muted);
}
.scope-all,
.scope-account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-align: left;
  padding: 7px;
  border-radius: 11px;
}
.scope-all {
  padding: 9px 10px;
  border: 1px solid #e2e1da;
  background: #f6f6f2;
}
.scope-copy {
  flex: 1;
  min-width: 0;
}
.scope-copy strong,
.scope-copy small {
  display: block;
  line-height: 1.32;
}
.scope-copy strong {
  font-size: 0.91rem;
  font-weight: 650;
}
.scope-copy small,
.scope-platform small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 450;
}
.scope-copy small {
  margin-top: 2px;
}
.scope-copy.same-name small {
  white-space: normal;
  overflow-wrap: anywhere;
}
.scope-check {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--iris);
  color: #fff;
  visibility: hidden;
}
.scope-check::before {
  content: "";
  width: 7px;
  height: 4px;
  border-bottom: 1.6px solid;
  border-left: 1.6px solid;
  transform: translateY(-1px) rotate(-45deg);
}
.scope-platforms {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
}
.scope-platform {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 9px;
  text-align: left;
  background: #fff;
}
.scope-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 3px;
}
.scope-card-top .platform-tile {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  font-size: 13px;
}
.scope-card-name {
  font-size: 0.83rem;
  font-weight: 650;
}
.scope-platform small {
  font-size: 0.71rem;
}
.scope-platforms .scope-check {
  width: 15px;
  height: 15px;
}
.account-chooser [data-scope]:hover {
  background: #f3f3ef;
}
.account-chooser [data-scope][aria-pressed="true"] {
  background: #f1edff;
  color: #392984;
  border-color: #b5a7e8;
}
.account-chooser [aria-pressed="true"] .scope-check {
  visibility: visible;
}
.account-chooser [data-scope]:focus-visible {
  outline-offset: -2px;
  outline-width: 2px;
}
.scope-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  margin: 12px 14px 5px;
  padding: 0 12px;
  border: 1px solid #dddcd6;
  border-radius: 11px;
  background: #fafaf8;
}
.scope-search:focus-within {
  border-color: #8977c2;
  background: #fff;
}
.scope-search i {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1.5px solid #666662;
  border-radius: 50%;
  flex: none;
}
.scope-search i::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: -4px;
  width: 6px;
  height: 1.5px;
  background: #666662;
  transform: rotate(45deg);
}
.scope-search input {
  min-width: 0;
  width: 100%;
  height: 40px;
  min-height: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.89rem;
}
.scope-accounts {
  min-height: min(55px, 15dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 0 12px 10px;
}
.scope-account {
  min-height: 49px;
}
.scope-account + .scope-account {
  margin-top: 1px;
}
.scope-empty {
  display: block;
  padding: 16px 6px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 640px) {
  body:has(.account-chooser[open]) {
    overflow: hidden;
  }
  .filters:has(.account-switch) {
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }
  .filters .account-switch {
    flex: 1 1 0;
    max-width: none;
  }
  .account-switch .switch-caret {
    margin-left: auto;
  }
  .filters:has(.account-switch) label {
    flex: none;
  }
  .account-chooser {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(85dvh, 670px);
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .account-chooser::backdrop {
    background: #1b182b55;
  }
  .account-chooser .dialog-head {
    padding: 11px 14px 8px 18px;
  }
  .account-chooser .dialog-head .tool {
    width: 44px;
    height: 44px;
  }
  .scope-search input {
    font-size: 1rem;
    height: 44px;
  }
  .scope-account {
    min-height: 52px;
  }
}
@media (max-width: 540px) {
  .workspace .site-head:has(.workspace-nav) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
    min-height: auto;
    padding-block: 12px 8px;
  }
  .workspace .site-head > .actions {
    grid-column: 2;
    grid-row: 1;
  }
  .workspace .workspace-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
  }
  .workspace .workspace-nav a {
    text-align: center;
    flex: 1;
  }
}
.post-highlights {
  margin: 2.3rem 0 2rem;
}
.post-highlights .section-heading {
  margin-bottom: 0.8rem;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: 0.8rem;
}
.highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 1rem;
  gap: 1rem;
  align-items: center;
  min-height: 7.4rem;
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--line, #d9d9d2);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.highlight-card:hover,
.highlight-card:focus-visible {
  border-color: #9087d3;
  background: #faf9ff;
}
.highlight-copy {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}
.highlight-copy small,
.version-row small,
.baseline small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}
.highlight-copy strong {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.highlight-copy strong span {
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.highlight-title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.88rem;
}
.highlight-arrow {
  color: #5143ae;
  align-self: start;
}
.highlight-cover,
.table-cover,
.version-cover,
.preview-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: #eceae7;
  overflow: hidden;
}
.highlight-cover,
.version-cover {
  width: 3.5rem;
  aspect-ratio: 3/4;
  border-radius: 9px;
}
.table-cover {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.highlight-cover img,
.table-cover img,
.version-cover img,
.preview-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  max-height: none;
}
.inline-player {
  margin: 0.8rem 0 1rem;
  overflow: hidden;
  border-radius: 12px;
}
.inline-player[hidden] {
  display: none;
}
.watch-launch {
  display: grid;
  position: relative;
  width: 100%;
  min-height: 8.5rem;
  height: clamp(8.5rem, 17vh, 13rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #222;
  cursor: pointer;
}
.preview-cover {
  width: 100%;
  height: 100%;
  background: #26252c;
  color: #fff;
}
.preview-cover img {
  object-fit: contain;
}
.watch-call {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  left: 1rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.87rem;
  font-weight: 600;
  background: #fff;
  color: #17171a;
  border-radius: 2rem;
  box-shadow: 0 1px 8px #0003;
}
.watch-call b {
  color: #5545b4;
  font-size: 0.72rem;
}
.player-frame {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: clamp(240px, 54vh, 560px);
  background: #17161b;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.player-frame video,
.player-frame iframe {
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-width: 0;
  object-fit: contain;
  border: 0;
  display: block;
}
.still-image {
  background: #f5f4f1;
  text-align: center;
}
.still-image img {
  max-width: 100%;
  max-height: 48vh;
}
.preview-tools,
.compare-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.1rem;
}
.post-tool {
  border-bottom: 1px solid var(--line, #e0ded9);
}
.post-tool > summary,
.series-setting > summary,
.paid-post > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 0.1rem;
  list-style: none;
}
.post-tool > summary::after,
.series-setting > summary::after,
.paid-post > summary::after {
  content: "+";
  color: #6653ab;
  font-weight: 500;
}
.post-tool[open] > summary::after,
.series-setting[open] > summary::after,
.paid-post[open] > summary::after {
  content: "−";
}
.post-tool summary::-webkit-details-marker {
  display: none;
}
.post-tool form {
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 1rem;
}
.post-tool form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.post-tool form label small {
  display: inline;
  font-weight: 400;
  color: var(--muted);
}
.post-tool form input,
.post-tool form select,
.post-tool form textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-weight: 400;
  border: 1px solid #c9c8c3;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #fff;
}
.post-tool form button {
  justify-self: start;
}
.post-tool p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0.35rem 0 0.6rem;
}
.comparison-body h4 {
  margin: 0.6rem 0;
}
.baseline {
  background: #f4f2fa;
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.baseline h4 {
  margin: 0 0 0.35rem;
}
.baseline small {
  display: block;
  margin-top: 0.3rem;
}
.version-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.version-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-top: 1px solid #e7e6e1;
}
.version-row > div {
  flex: 1;
  min-width: 0;
}
.version-cover {
  width: 2.8rem;
  flex: none;
}
.version-row strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
}
.version-row dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.4rem 0 0;
}
.version-row dt {
  font-size: 0.73rem;
  color: var(--muted);
}
.version-row dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.idea-results {
  padding-left: 1.6rem;
}
.idea-results li {
  margin: 0.65rem 0;
}
.idea-results:empty,
.idea-status:empty,
.match-status:empty,
.compare-actions:empty {
  display: none;
}
@media (max-width: 540px) {
  .highlight-card {
    grid-template-columns: 2.8rem minmax(0, 1fr) 1rem;
    gap: 0.7rem;
    min-height: 6.4rem;
  }
  .highlight-cover {
    width: 2.8rem;
  }
  .post-highlights {
    margin: 1.6rem 0;
  }
}
