:root {
  --pm-primary-blue: #0a6cff;
  --pm-primary-indigo: #2b2bff;
  --pm-primary-purple: #6a19ff;
  --pm-text: #12213d;
  --pm-muted: #5f6e86;
  --pm-soft-bg: #f7faff;
  --pm-left-bg: #eef6ff;
  --pm-card: #ffffff;
  --pm-primary-dark: #2457d6;
  --pm-soft-muted: #7b8ba5;
  --pm-border: #d9e2f2;
  --pm-line: #e5ecf7;
  --pm-shadow: 0 1px 2px rgba(15, 32, 64, 0.04), 0 28px 72px rgba(15, 32, 64, 0.14);
  --pm-soft-shadow: 0 12px 26px rgba(43, 43, 255, 0.12);
  --pm-panel-shadow: 0 18px 44px rgba(23, 43, 77, 0.11);
  --pm-alert-bg: #fff3f2;
  --pm-alert-border: #f2c9c5;
  --pm-alert-text: #9f2d20;
  --pm-wordmark: linear-gradient(
    135deg,
    #0a6cff 0%,
    #2b2bff 48%,
    #6a19ff 100%
  );
}

html {
  background: var(--pm-soft-bg);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--pm-text);
  background:
    radial-gradient(circle at top left, rgba(10, 108, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(43, 43, 255, 0.08), transparent 20%),
    var(--pm-soft-bg);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
}

.marketing-panel {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 12px;
  background:
    radial-gradient(circle at 18% 20%, rgba(10, 108, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(238, 246, 255, 0.78));
}

.marketing-panel::before,
.marketing-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.marketing-panel::before {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(10, 108, 255, 0.12), rgba(10, 108, 255, 0));
}

.marketing-panel::after {
  width: 300px;
  height: 300px;
  right: -140px;
  top: -150px;
  background: radial-gradient(circle, rgba(43, 43, 255, 0.14), rgba(43, 43, 255, 0));
}

.marketing-inner,
.auth-panel-inner {
  position: relative;
  z-index: 1;
}

.marketing-inner {
  display: grid;
  gap: 22px;
}

.brand-block {
  display: inline-block;
  max-width: min(100%, 22rem);
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.brand-icon {
  width: 70px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 20px rgba(43, 43, 255, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.wordmark-gradient {
  display: inline-block;
  color: var(--pm-primary-blue);
  background: var(--pm-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark-gradient {
    background: none;
    color: var(--pm-primary-blue);
    -webkit-text-fill-color: currentColor;
  }
}

.brand-name {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 0;
  font-size: 0.62rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pm-primary-purple);
  white-space: nowrap;
}

.marketing-copy {
  max-width: min(100%, 34rem);
}

.marketing-copy h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.marketing-copy p {
  margin: 0;
  color: var(--pm-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.illustration {
  display: none;
}

.illustration-connectors {
  position: absolute;
  inset: 18px 22px 18px 42px;
  z-index: 1;
  pointer-events: none;
}

.illustration-connectors svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.connector-path {
  fill: none;
  stroke: rgba(149, 169, 208, 0.62);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 9;
}

.connector-path--accent {
  stroke: url(#connector-gradient);
  stroke-width: 2.2;
  stroke-dasharray: 4 10;
  opacity: 0.84;
}

.connector-node {
  fill: #fff;
  stroke: rgba(149, 169, 208, 0.68);
  stroke-width: 1.5;
}

.connector-node--accent {
  fill: rgba(255, 255, 255, 0.98);
  stroke: rgba(49, 107, 255, 0.9);
  stroke-width: 1.8;
}

.toolbar-card,
.composer-card,
.analytics-card {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  border: 1px solid rgba(217, 226, 242, 0.9);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--pm-panel-shadow);
  backdrop-filter: blur(10px);
}

.toolbar-card {
  left: 6px;
  bottom: 76px;
  width: 70px;
  padding: 12px 10px;
}

.toolbar-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  justify-content: center;
}

.toolbar-dots span,
.composer-actions span {
  display: inline-block;
  border-radius: 999px;
}

.toolbar-dots span {
  width: 6px;
  height: 6px;
  background: #c8d4e8;
}

.toolbar-stack {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.toolbar-item {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(217, 226, 242, 0.95);
  background: #fff;
  color: #97a7c1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.toolbar-item svg {
  width: 16px;
  height: 16px;
  display: block;
}

.toolbar-item svg path,
.toolbar-item svg line,
.toolbar-item svg polyline,
.toolbar-item svg rect,
.toolbar-item svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toolbar-item--active {
  background: rgba(10, 108, 255, 0.12);
  color: var(--pm-primary-blue);
  border-color: rgba(10, 108, 255, 0.2);
}

.composer-card {
  left: 82px;
  bottom: 48px;
  width: min(calc(100% - 142px), 322px);
  padding: 18px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pm-muted);
}

.card-topline .close {
  color: #a2b2ca;
  font-size: 1rem;
}

.composer-stage {
  border-radius: 8px;
  border: 1px solid var(--pm-line);
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.95), #fff);
  padding: 14px;
}

.composer-stage p {
  margin: 0 0 12px;
  color: var(--pm-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.composer-preview {
  height: 82px;
  border-radius: 8px;
  border: 2px dashed rgba(123, 139, 165, 0.65);
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.94), rgba(243, 248, 255, 0.88)),
    rgba(248, 251, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(10, 108, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
}

.composer-preview::before {
  content: "";
  width: 34px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 108, 255, 0.15), rgba(10, 108, 255, 0.02)),
    linear-gradient(180deg, #fff, #ecf3ff);
  border: 1px solid rgba(10, 108, 255, 0.12);
}

.composer-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.composer-actions span {
  width: 10px;
  height: 10px;
  border: 1px solid #a9b6c9;
  background: rgba(255, 255, 255, 0.96);
}

.schedule-chip {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pm-primary-blue), var(--pm-primary-purple));
  color: #fff;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(43, 43, 255, 0.22);
}

.analytics-card {
  right: 56px;
  bottom: 10px;
  width: 176px;
  padding: 14px;
}

.analytics-card h2,
.analytics-card p {
  margin: 0;
}

.analytics-card h2 {
  font-size: 0.72rem;
  color: var(--pm-muted);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.analytics-copy {
  margin-top: 9px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.analytics-copy strong {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.analytics-copy span {
  color: #1aa36b;
  font-size: 0.75rem;
  font-weight: 700;
}

.analytics-graph {
  margin-top: 10px;
  height: 42px;
  position: relative;
}

.analytics-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-rail {
  position: absolute;
  right: 4px;
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.social-badge {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 26px rgba(15, 32, 64, 0.15);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.social-badge svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-badge--facebook {
  background: #1877f2;
}

.social-badge--facebook svg {
  width: 16px;
  height: 21px;
}

.social-badge--instagram {
  background: linear-gradient(135deg, #ffcc57, #ff3f77 52%, #8c3cff);
}

.social-badge--linkedin {
  background: #0a66c2;
}

.social-badge--x {
  background: #111;
}

.auth-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 16px 28px;
  background:
    radial-gradient(circle at top center, rgba(10, 108, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.92));
}

.auth-shell {
  width: min(100%, 34rem);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.auth-card {
  width: 100%;
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: 8px;
  box-shadow: var(--pm-shadow);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--pm-primary-blue),
    var(--pm-primary-indigo) 48%,
    var(--pm-primary-purple)
  );
}

.auth-logo-mark {
  width: min(100%, 68px);
  margin: 0 auto 10px;
  display: block;
}

.auth-logo-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(43, 43, 255, 0.14));
}

.auth-wordmark {
  display: inline-block;
}

.auth-card h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.auth-card p {
  margin: 0;
}

.auth-subtitle {
  margin-top: 8px;
  color: var(--pm-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.auth-alert {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--pm-alert-border);
  border-radius: 8px;
  background: var(--pm-alert-bg);
  color: var(--pm-alert-text);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-plan-intent {
  display: grid;
  gap: 3px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(21, 87, 255, 0.18);
  border-radius: 14px;
  color: var(--pm-primary-dark);
  background: rgba(232, 241, 255, 0.78);
  text-align: left;
}

.auth-plan-intent strong {
  font-size: 0.9rem;
}

.auth-plan-intent span {
  color: var(--pm-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-link {
  width: 100%;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid var(--pm-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.96));
  color: var(--pm-text);
  text-decoration: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  box-shadow: 0 8px 18px rgba(18, 33, 61, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.auth-link:hover {
  transform: translateY(-1px);
  border-color: #c6d6f2;
  background: linear-gradient(180deg, #fff, rgba(240, 246, 255, 0.98));
  box-shadow: 0 14px 26px rgba(18, 33, 61, 0.08);
}

.auth-link:focus-visible,
.dev-login-button:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid rgba(10, 108, 255, 0.3);
  outline-offset: 3px;
}

.auth-link-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 226, 242, 0.96);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: 0 10px 20px rgba(18, 33, 61, 0.06);
}

.auth-link-label {
  min-width: 0;
}

.auth-link-chevron {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(10, 108, 255, 0.08);
  color: var(--pm-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.auth-link:hover .auth-link-chevron {
  transform: translateX(2px);
  background: rgba(10, 108, 255, 0.12);
}

.auth-link--facebook .auth-link-icon {
  border-color: rgba(24, 119, 242, 0.16);
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.14), rgba(24, 119, 242, 0.04));
}

.auth-link-icon svg,
.auth-link-chevron svg {
  display: block;
}

.dev-login {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pm-line);
  text-align: left;
}

.dev-login-label {
  margin: 0 0 6px;
  color: var(--pm-soft-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dev-login-copy {
  margin: 0 0 10px;
  color: var(--pm-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.dev-login-button {
  width: 100%;
  min-height: 42px;
  border: 1px dashed rgba(10, 108, 255, 0.32);
  border-radius: 8px;
  background: rgba(10, 108, 255, 0.06);
  color: var(--pm-primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-meta {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--pm-muted);
  text-align: center;
}

.auth-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.auth-note-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(10, 108, 255, 0.1);
  color: var(--pm-primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pm-soft-shadow);
  flex: 0 0 auto;
}

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--pm-muted);
  font-size: 0.88rem;
}

.footer-link {
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--pm-primary-dark);
}

@media (min-width: 901px) {
  html,
  body {
    height: 100%;
  }

  body {
    min-height: 100svh;
    overflow: hidden;
  }

  .login-layout {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    grid-template-columns: minmax(360px, 1.02fr) minmax(392px, 0.88fr);
  }

  .marketing-panel,
  .auth-panel {
    min-height: 0;
    overflow: hidden;
  }

  .marketing-panel {
    display: flex;
    padding: 34px 36px 30px 42px;
    background:
      radial-gradient(circle at 18% 20%, rgba(10, 108, 255, 0.12), transparent 26%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(238, 246, 255, 0.92)),
      var(--pm-left-bg);
  }

  .marketing-inner {
    width: min(100%, 40rem);
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(220px, 1fr);
    gap: 0;
  }

  .brand-icon {
    width: 74px;
    max-height: 58px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .marketing-copy {
    max-width: 30rem;
    padding-top: 42px;
  }

  .marketing-copy h1 {
    font-size: 3.55rem;
  }

  .marketing-copy p {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .illustration {
    position: relative;
    display: block;
    align-self: end;
    width: min(100%, 31rem);
    height: min(330px, 100%);
    min-height: 0;
    margin-top: 22px;
    isolation: isolate;
  }

  .auth-panel {
    align-items: center;
    padding: 24px 30px;
  }

  .auth-shell {
    width: min(100%, 26.25rem);
    max-height: calc(100svh - 48px);
    gap: 12px;
  }

  .auth-card {
    padding: 26px;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .login-layout {
    grid-template-columns: minmax(330px, 0.95fr) minmax(372px, 1fr);
  }

  .marketing-panel {
    padding: 30px 28px 26px 32px;
  }

  .brand-icon {
    width: 64px;
    max-height: 52px;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

  .marketing-copy {
    max-width: 25rem;
    padding-top: 34px;
  }

  .marketing-copy h1 {
    font-size: 3rem;
  }

  .marketing-copy p {
    font-size: 0.94rem;
  }

  .illustration {
    width: min(100%, 28rem);
    height: min(300px, 100%);
  }

  .toolbar-card {
    left: 0;
  }

  .composer-card {
    left: 76px;
    width: min(calc(100% - 128px), 292px);
  }

  .analytics-card {
    right: 44px;
    width: 164px;
  }

  .social-rail {
    right: 0;
  }

  .social-badge {
    width: 38px;
    height: 38px;
  }

  .auth-panel {
    padding-inline: 24px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .marketing-panel {
    padding: 22px 34px 22px 38px;
  }

  .marketing-inner {
    grid-template-rows: auto auto minmax(170px, 1fr);
  }

  .brand-icon {
    width: 58px;
    max-height: 46px;
  }

  .brand-row {
    gap: 10px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.54rem;
  }

  .marketing-copy {
    padding-top: 26px;
  }

  .marketing-copy h1 {
    margin-bottom: 10px;
    font-size: 2.95rem;
  }

  .marketing-copy p {
    max-width: 28rem;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .illustration {
    width: min(100%, 28rem);
    height: min(245px, 100%);
    margin-top: 14px;
  }

  .illustration-connectors {
    inset: 10px 18px 12px 36px;
  }

  .toolbar-card {
    display: none;
  }

  .social-rail {
    right: -5px;
    top: auto;
    bottom: 126px;
    grid-auto-flow: column;
    grid-template-columns: repeat(4, 32px);
    gap: 7px;
    transform: none;
  }

  .social-badge {
    width: 32px;
    height: 32px;
    box-shadow: 0 10px 18px rgba(15, 32, 64, 0.14);
  }

  .social-badge svg {
    width: 17px;
    height: 17px;
  }

  .social-badge--facebook svg {
    width: 13px;
    height: 18px;
  }

  .composer-card {
    left: 14px;
    bottom: 34px;
    width: min(calc(100% - 76px), 288px);
    padding: 14px;
  }

  .card-topline {
    margin-bottom: 9px;
    font-size: 0.82rem;
  }

  .composer-stage {
    padding: 11px;
  }

  .composer-stage p {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .composer-preview {
    height: 58px;
    padding: 8px;
  }

  .composer-footer {
    margin-top: 9px;
  }

  .schedule-chip {
    padding: 7px 11px;
    font-size: 0.82rem;
  }

  .analytics-card {
    right: 18px;
    bottom: 0;
    width: 150px;
    padding: 11px;
  }

  .analytics-copy {
    margin-top: 6px;
  }

  .analytics-copy strong {
    font-size: 1.16rem;
  }

  .analytics-graph {
    height: 32px;
    margin-top: 7px;
  }

  .auth-panel {
    padding: 18px 28px;
  }

  .auth-shell {
    max-height: calc(100svh - 36px);
    gap: 8px;
  }

  .auth-card {
    padding: 20px;
  }

  .auth-logo-mark {
    width: 50px;
    margin-bottom: 7px;
  }

  .auth-card h1 {
    font-size: 1.9rem;
  }

  .auth-subtitle {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .auth-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .auth-link {
    min-height: 48px;
    padding: 7px 10px;
    gap: 10px;
    font-size: 0.92rem;
  }

  .auth-link-icon {
    width: 34px;
    height: 34px;
  }

  .auth-link-chevron {
    width: 24px;
    height: 24px;
  }

  .dev-login {
    margin-top: 12px;
    padding-top: 12px;
  }

  .dev-login-copy {
    display: none;
  }

  .dev-login-button {
    min-height: 38px;
    font-size: 0.9rem;
  }

  .auth-meta {
    gap: 6px;
  }

  .auth-note {
    gap: 8px;
    font-size: 0.8rem;
  }

  .auth-note-icon {
    width: 26px;
    height: 26px;
  }

  .auth-footer {
    gap: 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  .marketing-panel::before,
  .marketing-panel::after {
    opacity: 0.7;
  }

  .auth-panel {
    padding-top: 8px;
  }

  .auth-link-label {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .marketing-panel {
    padding: 26px 20px 10px;
  }

  .marketing-inner {
    gap: 18px;
  }

  .marketing-copy h1 {
    font-size: 2.15rem;
  }

  .auth-panel {
    padding-inline: 14px;
  }

  .auth-card {
    padding: 24px;
  }

  .auth-note {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .marketing-panel {
    padding: 22px 16px 8px;
  }

  .brand-icon {
    width: 62px;
    max-height: 50px;
  }

  .brand-name {
    font-size: 1.14rem;
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

  .marketing-copy h1 {
    font-size: 1.95rem;
  }

  .marketing-copy p {
    font-size: 0.95rem;
  }

  .auth-panel {
    padding: 6px 12px 24px;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-card h1 {
    font-size: 2rem;
  }

  .auth-link {
    min-height: 52px;
  }

  .auth-footer {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .brand-tagline {
    display: none;
  }

  .auth-card {
    padding: 20px 18px;
  }

  .auth-logo-mark {
    width: 58px;
  }

  .auth-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .auth-link-chevron {
    display: none;
  }
}

/* Premium authentication surface refinements. */
.marketing-panel {
  isolation: isolate;
}

.marketing-panel::before {
  width: 520px;
  height: 520px;
  left: -210px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(10, 108, 255, 0.18), rgba(10, 108, 255, 0));
  filter: blur(4px);
}

.marketing-panel::after {
  width: 420px;
  height: 420px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(106, 25, 255, 0.17), rgba(106, 25, 255, 0));
  filter: blur(8px);
}

.marketing-eyebrow,
.auth-eyebrow {
  margin: 0;
  color: var(--pm-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.marketing-copy > .marketing-eyebrow {
  margin-bottom: 12px;
  color: var(--pm-primary-dark);
  font-size: 0.72rem;
  line-height: 1.3;
}

.marketing-copy h1,
.auth-card h2 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

.marketing-copy h1 {
  text-wrap: balance;
}

.marketing-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.marketing-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(10, 108, 255, 0.13);
  border-radius: 999px;
  color: #324668;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.marketing-proof li > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pm-primary-blue), var(--pm-primary-purple));
  box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.08);
}

.toolbar-card,
.composer-card,
.analytics-card {
  border-color: rgba(201, 215, 239, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(23, 43, 77, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.08);
}

.toolbar-item,
.composer-stage,
.composer-preview {
  border-radius: 12px;
}

.schedule-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 12px;
}

.connector-path {
  animation: login-dash 18s linear infinite;
}

.connector-path--accent {
  animation-duration: 12s;
}

@keyframes login-dash {
  to {
    stroke-dashoffset: -80;
  }
}

.auth-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.auth-panel::before {
  content: "";
  position: absolute;
  width: min(36vw, 460px);
  aspect-ratio: 1;
  top: 5%;
  right: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 25, 255, 0.1), transparent 68%);
  pointer-events: none;
}

.auth-card {
  border-color: rgba(201, 215, 239, 0.88);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--pm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.08);
}

.auth-card::before {
  height: 5px;
}

.auth-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -110px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 25, 255, 0.13), transparent 70%);
  pointer-events: none;
}

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

.auth-card:focus {
  outline: none;
}

.auth-card:focus-visible {
  outline: 3px solid rgba(10, 108, 255, 0.26);
  outline-offset: 4px;
}

.auth-logo-mark {
  width: 70px;
  margin-bottom: 14px;
  padding: 11px;
  border: 1px solid rgba(10, 108, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.9));
  box-shadow: 0 16px 32px rgba(43, 43, 255, 0.12), inset 0 1px 0 #ffffff;
}

.auth-eyebrow {
  margin-bottom: 8px;
}

.auth-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.35rem);
  line-height: 1.05;
}

.auth-subtitle {
  max-width: 31ch;
  margin: 10px auto 0;
}

.auth-alert {
  position: relative;
  margin-top: 18px;
  padding: 13px 14px 13px 42px;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.auth-alert::before {
  content: "!";
  position: absolute;
  left: 13px;
  top: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--pm-alert-text);
  font-size: 0.75rem;
  font-weight: 800;
}

.auth-actions {
  gap: 12px;
  margin-top: 22px;
}

.auth-link {
  position: relative;
  overflow: hidden;
  min-height: 64px;
  padding: 10px 13px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.96));
  box-shadow: 0 10px 24px rgba(18, 33, 61, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.auth-link::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--pm-primary-blue);
  opacity: 0;
  transform: scaleY(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.auth-link--facebook::before {
  background: #1877f2;
}

.auth-link:hover::before,
.auth-link:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.auth-link:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 108, 255, 0.22);
  box-shadow: 0 18px 34px rgba(18, 33, 61, 0.1), inset 0 1px 0 #ffffff;
}

.auth-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.auth-link-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.auth-link-label {
  color: var(--pm-text);
  font-weight: 800;
}

.auth-link-copy small {
  color: var(--pm-soft-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.auth-link-chevron {
  width: 30px;
  height: 30px;
}

.dev-login {
  margin-top: 20px;
  padding-top: 18px;
}

.dev-login-button {
  min-height: 46px;
  border-radius: 14px;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dev-login-button:hover {
  border-color: rgba(10, 108, 255, 0.52);
  background: rgba(10, 108, 255, 0.1);
  transform: translateY(-1px);
}

.auth-note-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(10, 108, 255, 0.1);
}

.footer-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding-inline: 4px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .marketing-panel {
    border-right: 1px solid rgba(201, 215, 239, 0.76);
  }

  .login-layout {
    grid-template-columns: minmax(400px, 1.08fr) minmax(420px, 0.92fr);
  }

  .marketing-inner {
    width: min(100%, 43rem);
  }

  .auth-shell {
    width: min(100%, 28rem);
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .marketing-proof {
    margin-top: 14px;
  }

  .marketing-proof li {
    min-height: 30px;
    padding-block: 5px;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-logo-mark {
    width: 54px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 17px;
  }

  .auth-card h2 {
    font-size: 1.95rem;
  }

  .auth-actions {
    margin-top: 14px;
    gap: 8px;
  }

  .auth-link {
    min-height: 52px;
    padding-block: 7px;
  }
}

@media (max-width: 900px) {
  .marketing-panel {
    padding-bottom: 18px;
  }

  .marketing-proof {
    margin-top: 16px;
  }

  .auth-panel {
    padding-top: 18px;
  }
}

@media (max-width: 600px) {
  .marketing-proof li {
    flex: 1 1 180px;
  }

  .auth-card {
    border-radius: 22px;
    padding: 24px 20px;
  }

  .auth-link {
    min-height: 58px;
  }
}

@media (max-width: 420px) {
  .marketing-proof {
    display: none;
  }

  .auth-logo-mark {
    width: 60px;
    padding: 9px;
  }

  .auth-link-copy small {
    display: none;
  }
}
