:root {
  --ink: #f7f9ff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.56);
  --surface: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --accent: #bb2464;
  --accent-dark: #98184e;
  --cyan: #57b5bd;
  --focus: #86a9ee;
}

@media (max-width: 700px) {
  .super-admin-heading,
  .super-user-row,
  .super-user-search > div {
    align-items: stretch;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #090d16;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background: #090d16;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.signup-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.32), rgba(3, 6, 12, 0.7)),
    var(--aiinterf-background-image, url("assets/video-editor-stock.jpg")) center / cover fixed;
}

.product-story {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: rgba(0, 0, 0, 0.1);
}

.story-image,
.story-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-image {
  display: none;
}

.story-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.48));
}

.brand {
  display: inline-flex;
  align-items: center;
  z-index: 2;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 188px;
  height: 43px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.55));
}

.brand-light {
  position: absolute;
  top: 34px;
  left: 42px;
}

.brand-dark {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 30px;
}

.brand-dark img {
  width: 205px;
  height: 52px;
}

.story-copy {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: min(680px, 100%);
  padding: 120px 7% 7%;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-story .eyebrow {
  color: #a9c3f5;
}

h1,
h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(40px, 4.3vw, 68px);
  line-height: 1.02;
}

h2 {
  max-width: 520px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.story-lead {
  max-width: 580px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.benefit-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}

.benefit-list span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #b9d0ff;
  font-size: 10px;
}

.proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 31px;
}

.proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.proof strong {
  color: var(--white);
  font-size: 13px;
}

.platform-stack {
  display: flex;
  padding-left: 8px;
}

.platform-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid #18201f;
  border-radius: 50%;
  background: #181818;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.28);
}

.platform-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.platform-icon.youtube {
  background: #ff0033;
}

.platform-icon.instagram {
  background: #c13584;
}

.platform-icon.tiktok {
  background: #111111;
}

.platform-icon.x-platform {
  background: #000000;
}

.signup-panel {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.signup-shell.has-home,
.signup-shell.has-scheduler,
.signup-shell.has-dashboard,
.signup-shell.has-analytics,
.signup-shell.has-create-post,
.signup-shell.has-intelligence,
.signup-shell.has-super-intelligence,
.signup-shell.has-utility,
.signup-shell.has-trends {
  grid-template-columns: 1fr;
}

.signup-shell.has-home .product-story,
.signup-shell.has-scheduler .product-story,
.signup-shell.has-dashboard .product-story,
.signup-shell.has-analytics .product-story,
.signup-shell.has-create-post .product-story,
.signup-shell.has-intelligence .product-story,
.signup-shell.has-super-intelligence .product-story,
.signup-shell.has-utility .product-story,
.signup-shell.has-trends .product-story {
  display: none;
}

.signup-shell.has-home .signup-panel,
.signup-shell.has-scheduler .signup-panel,
.signup-shell.has-dashboard .signup-panel,
.signup-shell.has-analytics .signup-panel,
.signup-shell.has-create-post .signup-panel,
.signup-shell.has-intelligence .signup-panel,
.signup-shell.has-super-intelligence .signup-panel,
.signup-shell.has-utility .signup-panel,
.signup-shell.has-trends .signup-panel {
  min-height: 100svh;
  border-left: 0;
}

.signup-shell.has-home .signup-panel,
.signup-shell.has-scheduler .signup-panel,
.signup-shell.has-dashboard .signup-panel,
.signup-shell.has-analytics .signup-panel,
.signup-shell.has-create-post .signup-panel,
.signup-shell.has-intelligence .signup-panel,
.signup-shell.has-super-intelligence .signup-panel,
.signup-shell.has-utility .signup-panel,
.signup-shell.has-trends .signup-panel {
  background:
    radial-gradient(circle at 74% 22%, rgba(35, 100, 184, 0.12), transparent 31%),
    linear-gradient(135deg, #081321, #07101c 58%, #091827);
}

.signup-shell.has-home .signup-panel::before,
.signup-shell.has-scheduler .signup-panel::before,
.signup-shell.has-dashboard .signup-panel::before,
.signup-shell.has-analytics .signup-panel::before,
.signup-shell.has-create-post .signup-panel::before,
.signup-shell.has-intelligence .signup-panel::before,
.signup-shell.has-super-intelligence .signup-panel::before,
.signup-shell.has-utility .signup-panel::before,
.signup-shell.has-trends .signup-panel::before {
  position: absolute;
  z-index: 1;
  top: 91px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(126, 165, 218, 0.17);
  content: "";
}

.app-sidebar {
  position: fixed;
  z-index: 4;
  top: 127px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 148px;
  flex-direction: column;
  gap: 5px;
  border-right: 0;
  background: rgba(5, 14, 25, 0.76);
  padding: 13px 8px;
  backdrop-filter: blur(16px);
}

.app-sidebar[hidden] {
  display: none;
}

.app-sidebar button {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 0 12px;
  color: rgba(238, 245, 255, 0.78);
  font: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.app-sidebar button span {
  color: #b9c9de;
  font-size: 15px;
}

.app-sidebar button:hover,
.app-sidebar button.is-active {
  border-color: rgba(57, 130, 239, 0.18);
  background: linear-gradient(90deg, rgba(27, 101, 207, 0.3), rgba(24, 74, 140, 0.16));
  color: #69a9ff;
}

.app-sidebar button.is-active span {
  color: #3e92ff;
}

.account-actions {
  position: absolute;
  z-index: 3;
  top: 25px;
  right: 32px;
  display: flex;
  gap: 8px;
}

.aggregate-metrics {
  position: absolute;
  z-index: 2;
  top: 21px;
  right: 292px;
  left: 252px;
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 4px;
  max-width: 560px;
  opacity: 0.42;
  transition: opacity 180ms ease;
}

.aggregate-metrics:hover,
.aggregate-metrics:focus-within {
  opacity: 0.9;
}

.aggregate-metrics > span {
  position: relative;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 8px 5px 27px;
}

.aggregate-metrics i {
  position: absolute;
  top: 9px;
  left: 9px;
  color: rgba(135, 185, 255, 0.8);
  font-size: 11px;
  font-style: normal;
}

.aggregate-metrics small,
.aggregate-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-keyword-picks {
  position: absolute;
  z-index: 3;
  top: 92px;
  right: 24px;
  left: 174px;
  display: flex;
  min-height: 35px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border-bottom: 1px solid rgba(126, 165, 218, 0.14);
  background: rgba(5, 14, 25, 0.58);
  padding: 5px 12px;
  backdrop-filter: blur(12px);
}

.mobile-menu-button {
  display: none;
}

.daily-keyword-picks[hidden] {
  display: none;
}

.daily-keyword-picks > small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-keyword-picks > div {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.daily-keyword-picks button {
  flex: 0 0 auto;
  border: 1px solid rgba(76, 145, 239, 0.18);
  border-radius: 999px;
  background: rgba(39, 102, 190, 0.12);
  padding: 5px 9px;
  color: #a9ccfa;
  font: inherit;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.daily-keyword-picks button:hover {
  border-color: rgba(76, 145, 239, 0.5);
  background: rgba(39, 102, 190, 0.28);
  color: #ffffff;
}

.aggregate-metrics small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.aggregate-metrics strong {
  margin-top: 2px;
  color: #ffffff;
  font-size: 14px;
  text-shadow: 0 4px 14px rgba(70, 157, 255, 0.38);
}

.logout-button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0 13px;
  color: #ffffff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.header-action {
  position: static;
  background: rgba(255, 255, 255, 0.12);
}

.logout-button:hover,
.logout-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.form-wrap {
  width: min(520px, calc(100% - 64px));
  margin: auto;
  padding: 112px 0 60px;
}

#signupForm {
  border: 2px solid #ffffff;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 31px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 15px rgba(0, 0, 0, 0.55), 0 17px 50px rgba(0, 0, 0, 0.45);
}

.progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.progress-bar {
  position: relative;
  width: 118px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

#progressFill {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
  transition: width 220ms ease;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: step-in 220ms ease-out;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-intro {
  max-width: 480px;
  margin: 15px 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.field-grid {
  display: grid;
  gap: 17px;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  padding: 4px;
}

.auth-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.auth-switch button.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.field > span:first-child small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  padding: 14px;
  color: #ffffff;
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.12);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.field input {
  height: 50px;
}

.field textarea {
  resize: vertical;
  line-height: 1.5;
}

.field select {
  min-height: 50px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(108, 164, 255, 0.9);
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 0 0 3px rgba(0, 122, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.field input.is-invalid {
  border-color: rgba(255, 99, 99, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.18);
}

.platform-picker select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  padding: 0 42px 0 14px;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.platform-picker select:focus {
  border-color: rgba(108, 164, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.28);
}

.platform-picker select.is-invalid {
  border-color: rgba(255, 99, 99, 0.9);
}

.platform-picker option {
  color: #111111;
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 64px;
}

.visibility-button {
  position: absolute;
  top: 50%;
  right: 8px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.error {
  min-height: 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 500;
}

.error:not(:empty) {
  min-height: 15px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.check-row input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.check-row a,
.signin-link a,
footer a {
  color: #ffffff;
  font-weight: 600;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 0 19px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.primary-button {
  width: 100%;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
  color: var(--accent);
}

.primary-button:hover {
  border-color: #ffffff;
  background: var(--accent);
  color: #ffffff;
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.signin-link {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.consent-copy {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.consent-copy a {
  color: #ffffff;
}

.button-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  margin-top: 22px;
}

.button-row .primary-button {
  margin-top: 0;
}

.telegram-setup {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 15px;
}

.telegram-heading {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 11px;
  align-items: center;
  margin-bottom: 17px;
}

.telegram-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #229ed9;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.telegram-heading strong,
.telegram-heading small {
  display: block;
}

.telegram-heading strong {
  font-size: 13px;
}

.telegram-heading small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.telegram-heading a {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.connection-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.setup-guide {
  margin-top: 12px;
  border: 1px solid rgba(127, 175, 255, 0.34);
  border-radius: 12px;
  background: rgba(15, 33, 58, 0.54);
  padding: 12px;
}

.persistent-guide {
  width: min(520px, calc(100% - 64px));
  margin: 0 auto 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.guide-message {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: start;
}

.guide-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #284b82;
  font-size: 9px;
  font-weight: 800;
}

.guide-message p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.45;
}

.guide-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.guide-prompts button,
.social-connect button {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.guide-prompts button {
  min-height: 28px;
  padding: 0 9px;
}

.guide-input {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 6px;
}

.guide-input input {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 10px;
  color: #ffffff;
  font-size: 11px;
}

.guide-input input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.guide-input button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.social-connect-list {
  display: grid;
  gap: 8px;
}

.social-connect {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 10px;
}

.social-logo {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
}

.social-logo img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.social-logo.youtube { background: #ff0033; }
.social-logo.instagram { background: #c13584; }
.social-logo.tiktok { background: #111111; }
.social-logo.x-platform { background: #000000; }

.social-connect strong,
.social-connect small {
  display: block;
}

.social-connect strong {
  font-size: 12px;
}

.social-connect small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.social-connect button {
  min-width: 58px;
  height: 32px;
  padding: 0 10px;
}

.social-connect button.is-selected {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--accent);
}

.connection-status {
  min-height: 0;
  margin-top: 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.connection-status.is-testing,
.connection-status.is-success,
.connection-status.is-error {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: 11px 12px;
}

.connection-status.is-success {
  border-color: rgba(110, 220, 168, 0.42);
  color: #b8f2d4;
}

.connection-status.is-error {
  border-color: rgba(255, 99, 99, 0.55);
  color: #ffb4b4;
}

.more-platforms {
  margin-top: 16px;
}

.more-platforms h3 {
  margin: 0 0 10px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

.more-platforms h3 small {
  color: var(--muted);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

.success-step {
  text-align: left;
}

.success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(94, 174, 142, 0.2);
  color: #9ae3c2;
  font-size: 24px;
  font-weight: 700;
}

footer {
  display: flex;
  width: min(520px, calc(100% - 64px));
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.credential-groups {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.credential-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.credential-group h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.bot-ready-actions {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.button-link {
  text-decoration: none;
}

.command-starter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.command-starter strong {
  width: 100%;
  margin-bottom: 3px;
  font-size: 12px;
}

.command-starter code {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 6px 8px;
  color: #ffffff;
  font-size: 11px;
}

.compact-button {
  width: auto;
  min-height: 40px;
  padding: 0 15px;
  white-space: nowrap;
}

.user-dashboard {
  position: relative;
  width: min(820px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 48px;
}

.content-intelligence-watermark {
  position: absolute;
  z-index: -1;
  top: 86px;
  right: -8px;
  margin: 0;
  color: rgba(92, 158, 248, 0.07);
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  pointer-events: none;
  text-align: right;
}

.home-dashboard,
.utility-app,
.trends-app {
  width: min(1120px, calc(100% - 230px));
  margin: 0 28px 0 202px;
  padding: 150px 0 48px;
}

.trend-category-tabs {
  display: flex;
  gap: 7px;
  margin: 18px 0 14px;
  overflow-x: auto;
}

.trend-category-tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(126, 165, 218, 0.2);
  border-radius: 999px;
  background: rgba(9, 23, 40, 0.72);
  padding: 8px 13px;
  color: var(--muted);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.trend-category-tabs button.is-active {
  border-color: #398cff;
  background: rgba(42, 119, 226, 0.2);
  color: #ffffff;
}

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

.trend-idea-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid rgba(126, 165, 218, 0.16);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(12, 29, 49, 0.88), rgba(7, 18, 32, 0.78));
  padding: 17px;
}

.trend-card-top,
.trend-idea-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trend-card-top span,
.trend-card-top strong {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 8px;
}

.trend-card-top span {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.trend-card-top strong {
  background: rgba(46, 189, 101, 0.12);
  color: #83eca9;
}

.trend-idea-card h3 {
  margin: 17px 0 9px;
  font-size: 16px;
  line-height: 1.35;
}

.trend-idea-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.trend-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0;
}

.trend-keywords span {
  border: 1px solid rgba(126, 165, 218, 0.15);
  border-radius: 6px;
  padding: 4px 6px;
  color: #9fc5f8;
  font-size: 8px;
}

.trend-idea-card footer {
  margin-top: auto;
  padding-top: 12px;
}

.trend-idea-card footer small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
}

.trend-idea-card footer button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #79adf6;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.home-welcome-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 30px;
  border: 1px solid rgba(126, 165, 218, 0.18);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(13, 31, 52, 0.88), rgba(8, 21, 37, 0.72));
  padding: 28px 30px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.home-welcome-copy {
  border-right: 1px solid rgba(126, 165, 218, 0.14);
  padding-right: 30px;
}

.home-welcome-copy h2 {
  margin: 4px 0 10px;
}

.home-welcome-copy > p:last-of-type {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.getting-started ol {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.getting-started li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.getting-started li span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-size: 8px;
}

.getting-started li.is-complete {
  color: #ffffff;
}

.getting-started li.is-complete span {
  border-color: #388eff;
  background: #2477e8;
  color: transparent;
}

.getting-started li.is-complete span::after {
  color: #ffffff;
  content: "✓";
  font-size: 10px;
}

.home-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 14px;
}

.home-overview-card,
.utility-card {
  border: 1px solid rgba(126, 165, 218, 0.16);
  border-radius: 12px;
  background: rgba(9, 23, 40, 0.74);
  padding: 20px;
}

.home-overview-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-overview-card strong {
  color: #73adff;
  font-size: 25px;
}

.home-overview-card p:not(.eyebrow) {
  min-height: 38px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.home-overview-card button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #79adf6;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.utility-card {
  max-width: 720px;
  padding: 30px;
}

.utility-app {
  width: min(1320px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 56px;
}

.settings-super-admin {
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
}

.utility-app .utility-card {
  width: min(100%, 720px);
  margin-top: 24px;
}

.utility-card h2 {
  margin: 4px 0 12px;
}

.utility-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.utility-card .primary-button {
  margin-top: 12px;
}

.dashboard-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.dashboard-welcome h2 {
  margin: 4px 0 8px;
}

.dashboard-welcome p:last-child {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.analytics-actions .primary-button {
  margin-top: 0;
}

.setup-path {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

#credentialSetupList {
  display: grid;
  gap: 10px;
}

.credential-import-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px 20px;
  align-items: end;
  border: 1px solid rgba(73, 150, 255, 0.34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 82, 165, 0.2), rgba(8, 20, 37, 0.78));
  padding: 20px;
}

.credential-import-card h3 {
  margin: 4px 0 7px;
  font-size: 17px;
}

.credential-import-card p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.credential-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.credential-file-picker {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed rgba(151, 190, 243, 0.34);
  border-radius: 11px;
  padding: 9px 12px;
  color: #c6ddfb;
  font-size: 10px;
}

.credential-file-picker input {
  max-width: 280px;
  color: var(--muted);
  font: inherit;
  font-size: 9px;
}

.credential-import-card > .connection-status {
  grid-column: 1 / -1;
}

.setup-accordion {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(8, 18, 34, 0.52);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.setup-accordion[open] {
  border-color: rgba(127, 175, 255, 0.54);
  background: rgba(13, 29, 52, 0.72);
}

.setup-accordion.is-connected {
  border-color: rgba(87, 216, 137, 0.34);
}

.setup-accordion summary {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 10px 17px;
  list-style: none;
  cursor: pointer;
}

.setup-accordion summary::-webkit-details-marker {
  display: none;
}

.setup-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.setup-accordion.is-connected .setup-number {
  background: rgba(65, 190, 112, 0.2);
  color: #bff7d3;
}

.setup-accordion.is-connected .setup-number {
  font-size: 0;
}

.setup-accordion.is-connected .setup-number::after {
  content: "✓";
  font-size: 13px;
}

.setup-accordion summary strong,
.setup-accordion summary small {
  display: block;
}

.setup-accordion summary strong {
  font-size: 14px;
}

.setup-accordion summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.setup-state {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.setup-accordion.is-connected .setup-state {
  background: rgba(65, 190, 112, 0.14);
  color: #bff7d3;
}

.setup-accordion-body {
  display: grid;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 19px 68px 22px;
}

.setup-accordion-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.setup-accordion-body .primary-button {
  justify-self: start;
}

.credential-connection-panel input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.credential-field-state {
  float: right;
  margin-left: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.credential-field-state.is-saved {
  color: #8af0b1;
}

.credential-connection-panel input[data-saved="true"] {
  border-color: rgba(87, 216, 137, 0.42);
  background: rgba(38, 130, 74, 0.08);
}

.platform-oauth-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(75, 137, 255, 0.25);
  border-radius: 12px;
  background: rgba(27, 91, 208, 0.08);
}

.platform-oauth-panel p {
  margin: 0;
}

.platform-oauth-panel code {
  display: block;
  overflow-wrap: anywhere;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(3, 12, 24, 0.55);
  color: #b9d4ff;
  font-size: 0.78rem;
}

.platform-oauth-panel .platform-oauth-button {
  justify-self: start;
}

.setup-inline-actions {
  display: flex;
  gap: 8px;
}

.social-analytics-app {
  width: min(1040px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 48px;
}

.intelligence-app {
  width: min(1120px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 56px;
}

.super-intelligence-app {
  width: min(1320px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 56px;
  min-width: 0;
}

.super-access-badge,
.super-user-admin {
  border: 1px solid rgba(101, 244, 189, 0.32);
  border-radius: 999px;
  padding: 7px 10px;
  color: #8ff6cf;
  background: rgba(101, 244, 189, 0.08);
  font-size: 10px;
}

.super-admin-panel {
  margin: 18px 0;
  border: 1px solid rgba(126, 165, 218, 0.24);
  border-radius: 12px;
  background: rgba(7, 18, 32, 0.82);
  padding: 18px;
  min-width: 0;
}

.super-admin-heading,
.super-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.super-admin-heading p,
.super-user-row span {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.super-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  white-space: nowrap;
}

.super-toggle input {
  position: absolute;
  opacity: 0;
}

.super-toggle span {
  position: relative;
  width: 42px;
  height: 23px;
  border-radius: 999px;
  background: #263448;
}

.super-toggle span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 0.18s ease;
}

.super-toggle input:checked + span {
  background: #36c990;
}

.super-toggle input:checked + span::after {
  transform: translateX(19px);
}

.super-back-shelf {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  border: 1px solid rgba(151, 190, 243, 0.18);
  border-radius: 12px;
  background: rgba(3, 12, 24, 0.34);
  padding: 16px;
}

.super-back-shelf h4 {
  margin: 3px 0 5px;
  font-size: 15px;
}

.super-back-shelf p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.super-shelf-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(126, 165, 218, 0.18);
  border-radius: 10px;
  background: rgba(9, 24, 42, 0.58);
  padding: 12px;
}

.super-shelf-grid strong {
  color: #edf5ff;
  font-size: 12px;
}

.super-shelf-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.super-user-search {
  display: grid;
  gap: 7px;
  margin: 18px 0 10px;
}

.super-user-search > div {
  display: flex;
  gap: 8px;
}

.super-user-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(126, 165, 218, 0.28);
  border-radius: 8px;
  background: rgba(3, 12, 24, 0.65);
  padding: 10px 12px;
  color: #edf5ff;
}

.super-user-results {
  display: grid;
  gap: 8px;
}

.super-user-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(126, 165, 218, 0.18);
  border-radius: 10px;
  background: rgba(3, 12, 24, 0.36);
}

.super-user-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) minmax(112px, 0.7fr) minmax(170px, 0.95fr) minmax(124px, 0.7fr) minmax(84px, auto);
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(126, 165, 218, 0.16);
  padding: 12px 14px;
}

.super-user-row:first-child {
  border-top: 0;
}

.super-user-header {
  background: rgba(126, 165, 218, 0.08);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.super-user-cell {
  min-width: 0;
}

.super-user-identity {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.super-user-identity strong,
.super-user-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.super-user-identity strong {
  color: #f2f7ff;
  font-size: 13px;
}

.super-user-identity span {
  color: var(--muted);
  font-size: 11px;
}

.super-user-role,
.super-user-fixed {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.super-user-role {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(148, 163, 184, 0.07);
}

.super-user-actions {
  justify-items: end;
}

.super-access-badge.is-muted {
  border-color: rgba(148, 163, 184, 0.2);
  color: #9fb0c5;
  background: rgba(148, 163, 184, 0.08);
}

.super-presence {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.super-presence i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #64748b;
}

.super-presence.is-live {
  color: #8ff6cf;
}

.super-presence.is-live i {
  background: #36c990;
  box-shadow: 0 0 0 4px rgba(54, 201, 144, 0.12);
}

.super-frame-shell {
  min-height: 760px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(126, 165, 218, 0.24);
  border-radius: 12px;
  background: #07090d;
}

.super-frame-shell iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 900px;
  border: 0;
}

.intelligence-header {
  align-items: center;
}

.intelligence-primary-actions,
.intelligence-secondary-actions,
.intelligence-decision-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.intelligence-window {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.intelligence-window select {
  min-height: 34px;
  border: 1px solid rgba(126, 165, 218, 0.28);
  border-radius: 8px;
  background: rgba(7, 18, 32, 0.82);
  padding: 0 9px;
  color: #e8f2ff;
  font: inherit;
  font-size: 9px;
}

.intelligence-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.intelligence-source-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(87, 216, 137, 0.2);
  border-radius: 999px;
  background: rgba(45, 142, 80, 0.08);
  padding: 7px 10px;
  color: #bff7d3;
  font-size: 8px;
  font-weight: 700;
}

.intelligence-source-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #57d889;
}

.intelligence-source-strip .is-future {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.intelligence-source-strip .is-future i {
  background: #6e7d91;
}

.intelligence-secondary-actions {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.intelligence-secondary-actions .connection-status {
  flex: 1 1 340px;
  margin: 0;
}

.intelligence-analysis-status {
  margin: 0 0 14px;
}

.intelligence-upload {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.intelligence-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.intelligence-health-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.intelligence-health-card,
.intelligence-panel {
  border: 1px solid rgba(126, 165, 218, 0.17);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(12, 29, 50, 0.88), rgba(7, 18, 32, 0.78));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.intelligence-health-card {
  display: grid;
  align-content: center;
  min-height: 116px;
  padding: 16px;
}

.intelligence-health-card small,
.intelligence-health-card span {
  color: var(--muted);
  font-size: 8px;
}

.intelligence-health-card strong {
  margin: 7px 0 5px;
  color: #eaf4ff;
  font-size: 19px;
}

.intelligence-health-card.is-primary strong {
  color: #79adf6;
  font-size: 34px;
}

.health-score-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.health-delta {
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 7px;
  font-weight: 900;
}

.health-delta.is-up {
  background: rgba(87, 216, 137, 0.14);
  color: #73e99f;
}

.health-delta.is-down {
  background: rgba(255, 91, 107, 0.14);
  color: #ff8290;
}

.health-delta.is-flat {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.intelligence-os-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 12px;
}

.intelligence-panel {
  padding: 20px;
}

.intelligence-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.intelligence-panel-heading h3 {
  margin: 4px 0 0;
  font-size: 15px;
}

.intelligence-panel-explainer {
  max-width: 540px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.score-quality-controls {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(126, 165, 218, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.strategy-threshold {
  display: grid;
  grid-template-columns: 150px 1fr 32px;
  gap: 10px;
  align-items: center;
  color: #d9e8fb;
  font-size: 10px;
}

.strategy-threshold strong {
  color: #79adf6;
  text-align: right;
}

.strategy-controls {
  display: grid;
  gap: 13px;
}

.strategy-controls label {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 13px;
}

.strategy-controls label > span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
}

.strategy-controls b {
  grid-column: 1 / -1;
  color: #e6f0fc;
  font-size: 9px;
}

.strategy-controls small {
  color: var(--muted);
  font-size: 7px;
}

.strategy-controls small:last-child {
  text-align: right;
}

.strategy-controls input,
.strategy-threshold input {
  width: 100%;
  accent-color: #3f91ff;
}

.strategy-range {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 20px;
}

.strategy-range i {
  position: absolute;
  z-index: 0;
  left: 50%;
  width: 3px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(202, 220, 244, 0.32);
  box-shadow: 0 0 0 2px rgba(8, 22, 40, 0.75);
  pointer-events: none;
}

.strategy-range input {
  position: relative;
  z-index: 1;
  background: transparent;
}

.strategy-usage-note {
  margin: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  color: #8ea5bf;
  font-size: 8px;
  line-height: 1.5;
}

.strategy-radar {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(80, 153, 255, 0.16);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(41, 108, 204, 0.1), rgba(5, 17, 33, 0.28));
  padding: 13px;
}

.strategy-radar-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.strategy-radar-heading small,
.strategy-radar-heading strong {
  display: block;
}

.strategy-radar-heading small {
  color: #79adf6;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.strategy-radar-heading strong {
  max-width: 430px;
  margin-top: 4px;
  color: #e0edfc;
  font-size: 9px;
  line-height: 1.4;
}

.strategy-radar-heading > span {
  align-self: start;
  border-radius: 999px;
  background: rgba(52, 125, 241, 0.14);
  padding: 4px 7px;
  color: #8fc0ff;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

#strategyRadarList {
  display: grid;
  gap: 7px;
}

#strategyRadarList article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 8px;
}

#strategyRadarList article:first-child {
  border-top: 0;
  padding-top: 0;
}

#strategyRadarList strong,
#strategyRadarList small {
  display: block;
}

#strategyRadarList strong {
  color: #cfe2f8;
  font-size: 8px;
  line-height: 1.35;
}

#strategyRadarList small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

#strategyRadarList button {
  align-self: center;
  border: 0;
  background: transparent;
  color: #79adf6;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.strategy-calendar-button {
  width: 100%;
  margin-top: 12px;
}

.strategy-gap-panel {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  border: 1px solid rgba(72, 145, 255, 0.16);
  border-radius: 10px;
  background: rgba(36, 92, 170, 0.07);
  padding: 12px;
}

.strategy-gap-panel > div:first-child strong,
.strategy-gap-panel > div:first-child small {
  display: block;
}

.strategy-gap-panel > div:first-child strong {
  color: #dceaff;
  font-size: 9px;
}

.strategy-gap-panel > div:first-child small,
.strategy-gap-panel > p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.45;
}

#intelligenceStrategyClues {
  display: grid;
  gap: 6px;
}

#intelligenceStrategyClues article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  color: #b9cae0;
  font-size: 8px;
  line-height: 1.4;
}

#intelligenceStrategyClues article span {
  border-radius: 999px;
  background: rgba(65, 137, 241, 0.16);
  padding: 3px 6px;
  color: #84b9ff;
  font-size: 7px;
  font-weight: 900;
}

.intelligence-decision {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 8px;
  font-weight: 900;
}

.intelligence-decision.is-waiting {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.intelligence-decision.is-passed {
  background: rgba(87, 216, 137, 0.15);
  color: #8af0b1;
}

.intelligence-decision.is-improve {
  background: rgba(255, 91, 107, 0.15);
  color: #ff8290;
}

.intelligence-score-breakdown {
  display: grid;
  gap: 9px;
}

.intelligence-score-breakdown article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #dceaff;
  font-size: 9px;
}

.intelligence-score-breakdown article > div span {
  font-weight: 800;
}

.intelligence-score-breakdown article i {
  display: block;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.intelligence-score-breakdown article i span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.intelligence-score-breakdown article.is-passed i span {
  background: #57d889;
}

.intelligence-score-breakdown article.is-improve i span {
  background: #ff5b6b;
}

.intelligence-decision-actions {
  flex-wrap: wrap;
  margin-top: 17px;
}

.intelligence-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.intelligence-recommendation-list {
  display: grid;
  gap: 9px;
}

.intelligence-recommendation-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.intelligence-recommendation-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.intelligence-recommendation-list strong {
  color: #e6f1ff;
  font-size: 10px;
}

.intelligence-recommendation-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.intelligence-recommendation-list article > span {
  align-self: start;
  border-radius: 999px;
  background: rgba(52, 125, 241, 0.14);
  padding: 5px 7px;
  color: #8fc0ff;
  font-size: 7px;
  font-weight: 800;
}

.intelligence-calendar-preview {
  margin-top: 12px;
}

.intelligence-calendar-summary {
  max-width: 620px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.intelligence-calendar-ideas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.intelligence-calendar-ideas article {
  min-height: 220px;
  border: 1px solid rgba(126, 165, 218, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  padding: 13px;
}

.intelligence-calendar-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.intelligence-calendar-task-meta small,
.intelligence-calendar-task-meta span,
.intelligence-calendar-task-meta time {
  border-radius: 999px;
  background: rgba(52, 125, 241, 0.12);
  padding: 4px 7px;
  color: #79adf6;
  font-size: 7px;
  font-weight: 800;
}

.intelligence-calendar-ideas strong {
  display: block;
  margin: 11px 0 4px;
  color: #eef6ff;
  font-size: 10px;
}

.intelligence-calendar-ideas h4 {
  margin: 0 0 8px;
  color: #d8eaff;
  font-size: 9px;
  line-height: 1.4;
}

.intelligence-calendar-ideas p {
  min-height: 46px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.intelligence-calendar-reason {
  min-height: 46px;
  border-left: 2px solid rgba(71, 143, 255, 0.55);
  padding: 7px 9px;
  color: #8fa2bb;
  font-size: 7px;
  line-height: 1.45;
}

.intelligence-calendar-reason b {
  display: block;
  margin-bottom: 2px;
  color: #bcd7ff;
}

.intelligence-calendar-task-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.intelligence-calendar-task-actions .compact-button {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 8px;
}

.intelligence-calendar-task.is-editing label {
  display: grid;
  gap: 5px;
  margin-top: 9px;
  color: #9db1ca;
  font-size: 7px;
  font-weight: 800;
}

.intelligence-calendar-task.is-editing input,
.intelligence-calendar-task.is-editing textarea {
  width: 100%;
  border: 1px solid rgba(126, 165, 218, 0.2);
  border-radius: 8px;
  background: rgba(3, 12, 24, 0.72);
  padding: 9px;
  color: #edf6ff;
  font: inherit;
  font-size: 8px;
  resize: vertical;
}

.create-post-app {
  width: min(1100px, calc(100% - 56px));
  margin: auto;
  padding: 108px 0 48px;
}

.content-engine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.content-generator-card,
.content-intelligence-card,
.generated-content-panel,
.post-feed-card,
.creator-feedback-panel,
.content-feedback-analytics {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  background: rgba(8, 18, 34, 0.62);
  padding: 20px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.creator-feedback-panel {
  margin-bottom: 16px;
}

.content-feedback-analytics {
  margin-top: 18px;
}

.feedback-heading,
.winning-signals {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-heading {
  justify-content: space-between;
}

.feedback-heading h3,
.feedback-empty h3 {
  margin: 4px 0 0;
}

.feedback-heading > span {
  border: 1px solid rgba(73, 208, 163, 0.35);
  border-radius: 999px;
  background: rgba(73, 208, 163, 0.08);
  padding: 6px 9px;
  color: #79e5b2;
  font-size: 8px;
  font-weight: 800;
}

.feedback-summary {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.6fr;
  gap: 9px;
  margin-top: 14px;
}

.feedback-summary article {
  display: grid;
  align-content: center;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 11px;
}

.feedback-summary small,
.winning-signals small {
  color: var(--muted);
  font-size: 8px;
}

.feedback-summary strong {
  margin-top: 5px;
  font-size: 17px;
}

.feedback-summary article:last-child strong {
  font-size: 11px;
}

.feedback-summary span {
  margin-top: 4px;
  color: #8fd5ff;
  font-size: 8px;
}

.winning-signals {
  flex-wrap: wrap;
  margin-top: 12px;
}

.winning-signals span {
  border-radius: 999px;
  background: rgba(52, 125, 241, 0.14);
  padding: 5px 8px;
  color: #b9d6ff;
  font-size: 8px;
  font-weight: 800;
}

.feedback-recommendations {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.feedback-recommendations p,
.feedback-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.feedback-recommendations p {
  display: flex;
  gap: 7px;
}

.feedback-recommendations span {
  color: #79e5b2;
}

.content-generator-card {
  display: grid;
  gap: 15px;
}

.scenario-picker {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.scenario-picker > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scenario-picker button {
  border: 1px solid rgba(143, 192, 255, 0.28);
  border-radius: 999px;
  background: rgba(42, 105, 200, 0.1);
  padding: 7px 10px;
  color: #b9d6ff;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.content-generator-options {
  grid-template-columns: 1fr 1fr;
}

.content-intelligence-card h3,
.generated-heading h3 {
  margin: 4px 0 0;
}

.intelligence-score-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.intelligence-score-heading > strong {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(70, 154, 255, 0.55);
  border-radius: 50%;
  background: rgba(35, 105, 205, 0.18);
  color: #8fc0ff;
  font-size: 19px;
}

.intelligence-score-heading > strong.is-below-threshold {
  border-color: rgba(255, 91, 107, 0.62);
  background: rgba(190, 43, 58, 0.17);
  color: #ff8290;
}

.intelligence-score-heading > strong.is-approved {
  border-color: rgba(87, 216, 137, 0.62);
  background: rgba(40, 153, 89, 0.18);
  color: #8af0b1;
}

@media (min-width: 981px) {
  .user-dashboard,
  .create-post-app,
  .social-analytics-app,
  .intelligence-app,
  .super-intelligence-app,
  .scheduler-app {
    width: auto;
    max-width: 1120px;
    margin-right: 28px;
    margin-left: 202px;
  }

  .user-dashboard,
  .create-post-app,
  .social-analytics-app,
  .intelligence-app,
  .super-intelligence-app,
  .scheduler-app {
    padding-top: 150px;
  }
}

.intelligence-list {
  display: grid;
  gap: 11px;
  margin-top: 20px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.empty-intelligence,
.feed-loading {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.intelligence-signal > div,
.generated-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.intelligence-signal strong,
.intelligence-signal span {
  font-size: 11px;
}

.intelligence-signal span {
  color: #8fd5ff;
  font-weight: 800;
}

.intelligence-signal i {
  display: block;
  height: 5px;
  margin: 7px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.intelligence-signal i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #347df1, #45d1b2);
}

.intelligence-signal.is-below-threshold > div span {
  color: #ff8290;
}

.intelligence-signal.is-below-threshold i span {
  background: linear-gradient(90deg, #9f2636, #ff5b6b);
}

.intelligence-signal.is-approved > div span {
  color: #8af0b1;
}

.intelligence-signal.is-approved i span {
  background: linear-gradient(90deg, #239557, #57d889);
}

.intelligence-signal p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.intelligence-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}

.intelligence-outcome span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 9px;
}

.intelligence-outcome small {
  color: var(--muted);
  font-size: 8px;
}

.intelligence-outcome strong {
  color: #8fd5ff;
  font-size: 12px;
}

.quality-gate,
.intelligence-recommendations,
.experiment-lab {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.quality-gate-heading,
.threshold-control,
.recommendation-heading,
.experiment-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quality-gate-heading > div,
.recommendation-heading {
  min-width: 0;
}

.quality-gate-heading strong,
.recommendation-heading strong {
  display: block;
  font-size: 11px;
}

.quality-gate-heading small,
.recommendation-heading small,
.experiment-verdict small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

#qualityGateStatus.is-pass {
  color: #79e5b2;
}

#qualityGateStatus.is-blocked {
  color: #ff8290;
}

.switch-control {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.switch-control input {
  position: absolute;
  opacity: 0;
}

.switch-control span {
  position: relative;
  width: 32px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.switch-control span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease;
}

.switch-control input:checked + span {
  background: #337fe9;
}

.switch-control input:checked + span::after {
  transform: translateX(15px);
}

.switch-control b {
  font-size: 9px;
}

.threshold-control {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.threshold-control select {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  color: #ffffff;
  font: inherit;
  font-size: 9px;
}

#recommendationList {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

#recommendationList article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px;
}

#recommendationList article strong,
#recommendationList article small {
  display: block;
}

#recommendationList article strong {
  font-size: 9px;
}

#recommendationList article small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.35;
}

#recommendationList article > span {
  color: #79e5b2;
  font-size: 9px;
  font-weight: 800;
}

#recommendationList button {
  border: 1px solid rgba(143, 192, 255, 0.36);
  border-radius: 7px;
  background: rgba(51, 127, 233, 0.16);
  padding: 6px 8px;
  color: #d5e7ff;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

#applyAllRecommendations {
  width: 100%;
}

.experiment-lab {
  margin-top: 20px;
}

.experiment-results {
  margin-top: 14px;
}

.experiment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.experiment-variant {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 13px;
}

.experiment-variant.is-winner {
  border-color: rgba(73, 208, 163, 0.5);
  background: rgba(40, 153, 117, 0.08);
}

.experiment-variant > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.experiment-variant > div strong {
  font-size: 10px;
}

.experiment-variant > div span {
  border-radius: 999px;
  background: rgba(73, 208, 163, 0.15);
  padding: 4px 7px;
  color: #79e5b2;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.experiment-variant > b {
  display: block;
  margin: 11px 0;
  color: #ffffff;
  font-size: 28px;
}

.experiment-variant dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 0;
}

.experiment-variant dl div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.experiment-variant dt,
.experiment-variant dd {
  margin: 0;
}

.experiment-variant dd {
  color: #b9d6ff;
  font-weight: 800;
}

.experiment-verdict {
  margin-top: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.experiment-verdict strong {
  font-size: 10px;
}

.generated-content-panel,
.post-feed-card {
  margin-top: 16px;
}

.generated-platform-tabs {
  display: flex;
  gap: 7px;
  margin: 18px 0 12px;
  overflow-x: auto;
}

.generated-platform-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  padding: 9px 13px;
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.generated-platform-tabs button.is-active {
  border-color: #4e96ff;
  background: rgba(44, 113, 224, 0.24);
  color: #ffffff;
}

.generated-editor {
  display: none;
}

.generated-editor.is-active {
  display: block;
}

.generated-editor > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}

.post-history-feed {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.post-feed-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.post-feed-status {
  border-radius: 999px;
  background: rgba(75, 139, 238, 0.17);
  padding: 6px 8px;
  color: #a8cbff;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.post-feed-status.is-published {
  background: rgba(46, 189, 101, 0.14);
  color: #83eca9;
}

.post-feed-status.is-failed {
  background: rgba(238, 79, 92, 0.14);
  color: #ff929c;
}

.post-feed-copy strong,
.post-feed-copy small {
  display: block;
}

.post-feed-copy strong {
  font-size: 12px;
}

.post-feed-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.social-analytics-grid {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(8, 18, 34, 0.58);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.analytics-summary article {
  min-height: 122px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(23, 38, 62, 0.8), rgba(8, 18, 34, 0.64));
  padding: 18px;
}

.analytics-summary small,
.analytics-summary strong,
.analytics-summary span {
  display: block;
}

.analytics-summary small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.analytics-summary strong {
  margin-top: 13px;
  font-size: clamp(25px, 3vw, 36px);
}

.analytics-summary span {
  margin-top: 7px;
  color: #99e4b2;
  font-size: 9px;
}

.analytics-summary .earnings-total {
  border-color: rgba(87, 181, 189, 0.42);
  background: linear-gradient(145deg, rgba(31, 91, 101, 0.48), rgba(8, 18, 34, 0.68));
}

.platform-analytics-head,
.platform-analytics-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(5, minmax(78px, 0.8fr));
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}

.platform-analytics-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-analytics-row + .platform-analytics-row {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.platform-analytics-row {
  min-height: 76px;
  font-size: 12px;
}

.platform-analytics-row.is-unavailable {
  opacity: 0.5;
}

.platform-analytics-name {
  display: flex;
  align-items: center;
  gap: 11px;
}

.platform-analytics-name .social-logo {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.platform-analytics-name strong,
.platform-analytics-name small {
  display: block;
}

.platform-analytics-name small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.trend {
  border-radius: 999px;
  justify-self: start;
  padding: 6px 9px;
  font-size: 10px;
}

.trend.up {
  background: rgba(46, 189, 101, 0.14);
  color: #83eca9;
}

.trend.down {
  background: rgba(238, 79, 92, 0.14);
  color: #ff929c;
}

.trend.neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.analytics-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.analytics-note {
  margin: 14px 0 0;
}

.scheduler-app {
  width: min(1120px, calc(100% - 56px));
  margin: auto;
  padding: 104px 0 42px;
}

.scheduler-header,
.scheduler-toolbar,
.upcoming-heading,
.composer-header,
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.scheduler-header h2 {
  margin: 3px 0 6px;
}

.scheduler-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.scheduler-toolbar {
  margin: 24px 0 12px;
}

.calendar-navigation,
.calendar-connection {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-navigation button,
.icon-button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.calendar-navigation strong {
  min-width: 150px;
  margin-left: 8px;
  font-size: 14px;
}

.connection-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.connection-badge.is-connected {
  border-color: rgba(87, 216, 137, 0.45);
  background: rgba(45, 160, 89, 0.14);
  color: #bff7d3;
}

.scheduler-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
}

.calendar-card,
.upcoming-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(8, 18, 34, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-weekdays span {
  padding: 11px 4px;
}

.calendar-day {
  min-height: 105px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.is-outside {
  background: rgba(0, 0, 0, 0.1);
  opacity: 0.46;
}

.calendar-day-number {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.calendar-day.is-today .calendar-day-number {
  background: #ffffff;
  color: #214777;
  font-weight: 800;
}

.calendar-day-events {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.calendar-day-events small {
  color: var(--muted);
  font-size: 9px;
}

.calendar-event {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: rgba(89, 146, 242, 0.22);
  padding: 5px 6px;
  color: #ffffff;
  font-size: 9px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.calendar-event span {
  color: #bcd5ff;
  font-weight: 800;
}

.upcoming-card {
  padding: 17px;
}

.upcoming-heading {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 13px;
}

.upcoming-heading h3 {
  margin: 3px 0 0;
}

.upcoming-heading > span {
  color: var(--muted);
  font-size: 10px;
}

.upcoming-post-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.upcoming-post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  padding: 11px;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.upcoming-post strong {
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-date,
.upcoming-post small {
  color: var(--muted);
  font-size: 9px;
}

.upcoming-post small {
  text-align: right;
  text-transform: capitalize;
}

.platform-dots {
  display: flex;
  gap: 4px;
}

.platform-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa9bd;
}

.platform-dots .youtube { background: #ff3434; }
.platform-dots .instagram { background: #e34dc8; }
.platform-dots .tiktok { background: #3ce3dc; }
.platform-dots .x-platform { background: #ffffff; }

.empty-schedule {
  padding: 36px 12px;
  color: var(--muted);
  text-align: center;
}

.empty-schedule strong {
  color: #ffffff;
  font-size: 12px;
}

.empty-schedule p {
  font-size: 10px;
  line-height: 1.5;
}

.post-composer {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: #122642;
  padding: 0;
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.post-composer::backdrop {
  background: rgba(2, 8, 18, 0.76);
  backdrop-filter: blur(5px);
}

.post-composer form {
  display: grid;
  gap: 17px;
  padding: 24px;
}

.tedi-calendar-mode {
  border: 1px solid rgba(73, 150, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 102, 211, 0.18), rgba(17, 40, 72, 0.45));
  padding: 14px;
}

.tedi-calendar-mode > label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
}

.tedi-calendar-mode input {
  margin-top: 3px;
}

.tedi-calendar-mode strong,
.tedi-calendar-mode small {
  display: block;
}

.tedi-calendar-mode strong {
  font-size: 13px;
}

.tedi-calendar-mode small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.tedi-calendar-mode .composer-time-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.composer-header h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.icon-button {
  font-size: 22px;
}

.composer-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px;
}

.platform-checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.platform-checks legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.platform-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  font-size: 11px;
  cursor: pointer;
}

.composer-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.composer-trace {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
}

.composer-trace h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.trace-item {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--muted);
  font-size: 10px;
}

.trace-item strong {
  color: #ffffff;
  text-transform: capitalize;
}

.composer-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 17px;
}

.danger-button {
  border: 1px solid rgba(255, 104, 104, 0.45);
  border-radius: 10px;
  background: rgba(176, 35, 35, 0.13);
  padding: 0 14px;
  color: #ffb1b1;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  .feedback-summary {
    grid-template-columns: 1fr;
  }

  .signup-shell {
    grid-template-columns: 1fr;
  }

  .product-story {
    min-height: 410px;
  }

  .story-copy {
    padding: 120px 42px 44px;
  }

  .story-lead,
  .benefit-list,
  .proof {
    display: none;
  }

  .signup-panel {
    min-height: auto;
    background: rgba(0, 0, 0, 0.28);
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .signup-shell.has-home .signup-panel::before,
  .signup-shell.has-scheduler .signup-panel::before,
  .signup-shell.has-dashboard .signup-panel::before,
  .signup-shell.has-analytics .signup-panel::before,
  .signup-shell.has-create-post .signup-panel::before,
  .signup-shell.has-intelligence .signup-panel::before,
  .signup-shell.has-super-intelligence .signup-panel::before,
  .signup-shell.has-utility .signup-panel::before,
  .signup-shell.has-trends .signup-panel::before {
    top: 71px;
  }

  .brand-dark {
    position: absolute;
    top: 13px;
    left: 16px;
    display: inline-flex;
  }

  .brand-dark img {
    width: 148px;
    height: 43px;
  }

  .app-sidebar {
    position: fixed;
    z-index: 8;
    top: 71px;
    right: 10px;
    bottom: auto;
    left: 10px;
    display: none;
    width: auto;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    border: 1px solid rgba(126, 165, 218, 0.24);
    border-radius: 12px;
    background: rgba(5, 14, 25, 0.97);
    padding: 10px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.46);
  }

  .app-sidebar.is-mobile-open {
    display: flex;
  }

  .app-sidebar button {
    grid-template-columns: 28px 1fr;
    min-height: 43px;
    font-size: 12px;
  }

  .mobile-menu-button {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 10px;
    color: #ffffff;
    cursor: pointer;
  }

  .mobile-menu-button[hidden] {
    display: none;
  }

  .mobile-menu-button span {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
  }

  .mobile-menu-button b {
    margin-left: 4px;
    font-size: 10px;
  }

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

  .account-actions {
    top: 16px;
    right: 14px;
  }

  .form-wrap {
    padding-top: 52px;
  }

  .home-dashboard,
  .utility-app,
  .trends-app {
    width: min(100% - 36px, 820px);
    margin: auto;
    padding-top: 126px;
  }

  .scheduler-app,
  .user-dashboard,
  .social-analytics-app,
  .intelligence-app,
  .super-intelligence-app,
  .create-post-app {
    padding-top: 126px;
  }

  .home-welcome-card {
    grid-template-columns: 1fr;
  }

  .home-welcome-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(126, 165, 218, 0.14);
    padding: 0 0 24px;
  }

  .content-engine-layout {
    grid-template-columns: 1fr;
  }

  .home-overview-grid {
    grid-template-columns: 1fr;
  }

  .daily-trends-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scheduler-layout {
    grid-template-columns: 1fr;
  }

  .intelligence-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intelligence-health-card.is-primary {
    grid-column: 1 / -1;
  }

  .intelligence-os-grid,
  .intelligence-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .product-story {
    min-height: 330px;
  }

  .story-image {
    object-position: 39% center;
  }

  .brand-light {
    top: 22px;
    left: 22px;
  }

  .story-copy {
    padding: 94px 22px 28px;
  }

  h1 {
    max-width: 360px;
    font-size: 38px;
  }

  .form-wrap,
  .persistent-guide,
  footer {
    width: min(100% - 36px, 520px);
  }

  .form-wrap {
    padding: 38px 0 46px;
  }

  #signupForm {
    padding: 24px 19px;
  }

  h2 {
    font-size: 31px;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-actions .compact-button {
    width: 100%;
  }

  .telegram-heading {
    grid-template-columns: 38px 1fr;
  }

  .telegram-heading a {
    grid-column: 2;
  }

  .button-row {
    grid-template-columns: 92px 1fr;
  }

  .scheduler-app {
    width: min(100% - 24px, 680px);
  }

  .user-dashboard {
    width: min(100% - 24px, 680px);
  }

  .social-analytics-app {
    width: min(100% - 24px, 680px);
  }

  .intelligence-app {
    width: min(100% - 24px, 680px);
  }

  .super-intelligence-app {
    width: min(100% - 24px, 680px);
    padding-bottom: 28px;
  }

  .super-admin-heading,
  .super-user-row,
  .super-user-search > div {
    align-items: stretch;
    flex-direction: column;
  }

  .super-user-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .super-user-header {
    display: none;
  }

  .super-user-actions {
    justify-items: stretch;
  }

  .super-shelf-grid {
    grid-template-columns: 1fr;
  }

  .super-toggle {
    justify-content: space-between;
    white-space: normal;
  }

  .super-frame-shell {
    min-height: 0;
    border-radius: 10px;
  }

  .super-frame-shell iframe {
    min-height: 820px;
  }

  .create-post-app {
    width: min(100% - 24px, 680px);
  }

  .content-generator-options {
    grid-template-columns: 1fr;
  }

  .daily-trends-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .social-analytics-grid {
    overflow: hidden;
  }

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

  .platform-analytics-row {
    min-width: 0;
  }

  .platform-analytics-head {
    display: none;
  }

  .platform-analytics-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
    padding: 15px;
  }

  .platform-analytics-name {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .platform-analytics-name span:last-child {
    min-width: 0;
  }

  .platform-analytics-name strong,
  .platform-analytics-name small {
    overflow-wrap: anywhere;
  }

  .platform-analytics-row > span:not(.social-logo),
  .platform-analytics-row > strong:not(.trend) {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    padding: 10px;
    overflow-wrap: anywhere;
  }

  .platform-analytics-row > span:not(.social-logo)::before,
  .platform-analytics-row > strong:not(.trend)::before {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .platform-analytics-row > :nth-child(2)::before {
    content: "Audience";
  }

  .platform-analytics-row > :nth-child(3)::before {
    content: "Views";
  }

  .platform-analytics-row > :nth-child(4)::before {
    content: "Engagement";
  }

  .platform-analytics-row > :nth-child(5)::before {
    content: "Earnings";
  }

  .platform-analytics-row > .trend {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-self: stretch;
    padding: 10px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .platform-analytics-row > .trend::before {
    content: "Trend";
    display: block;
    margin-bottom: 5px;
    color: inherit;
    opacity: 0.75;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .aggregate-metrics {
    display: none;
  }

  .daily-keyword-picks {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .setup-accordion-body {
    padding: 17px;
  }

  .content-intelligence-watermark {
    top: 112px;
    right: 4px;
    font-size: 44px;
  }

  .intelligence-primary-actions,
  .intelligence-secondary-actions,
  .intelligence-decision-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intelligence-primary-actions .compact-button,
  .intelligence-secondary-actions .compact-button,
  .intelligence-decision-actions .compact-button {
    width: 100%;
  }

  .intelligence-health-grid,
  .intelligence-calendar-ideas {
    grid-template-columns: 1fr;
  }

  .strategy-threshold,
  .strategy-controls label {
    grid-template-columns: 1fr;
  }

  .strategy-threshold strong {
    text-align: left;
  }

  .credential-import-card {
    grid-template-columns: 1fr;
  }

  .credential-template-actions {
    justify-content: flex-start;
  }

  .credential-file-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .credential-file-picker input {
    max-width: 100%;
  }

  .scheduler-header,
  .scheduler-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-connection {
    flex-wrap: wrap;
  }

  .calendar-weekdays span {
    font-size: 8px;
  }

  .calendar-day {
    min-height: 70px;
    padding: 3px;
  }

  .calendar-event {
    padding: 4px;
    font-size: 0;
  }

  .calendar-event span {
    font-size: 8px;
  }

  .composer-time-grid {
    grid-template-columns: 1fr 1fr;
  }

  .composer-time-grid .field:last-child {
    grid-column: 1 / -1;
  }

  .platform-checks {
    grid-template-columns: 1fr 1fr;
  }

  .composer-footer {
    grid-template-columns: 1fr 1fr;
  }

  .composer-footer > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
