/* Modern storefront, content, and admin shells */
.market-shell,
.content-shell,
.article-shell,
.admin-shell {
  width: 100%;
  max-width: var(--site-container);
  margin: 0 auto;
  padding: var(--site-shell-y) var(--site-gutter-x) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  min-width: 0;
}

.builder-route-shell {
  width: 100%;
  max-width: var(--site-container-wide);
  margin: 0 auto;
}

.builder-route-body {
  min-height: 100vh;
  background: #f6f9fc;
}

.pb2-section {
  display: block;
}

.pb2-image {
  margin: 0;
}

.pb2-image img,
.pb2-flow-media img {
  display: block;
  max-width: 100%;
}

.pb2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: var(--site-touch-target);
  min-height: var(--site-touch-target);
  padding: .9rem 1.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
}

.pb2-button--secondary {
  border-color: rgba(37, 99, 235, .24);
  background: rgba(37, 99, 235, .08);
  color: #1d4ed8;
}

.pb2-button--ghost {
  border-color: rgba(148, 163, 184, .22);
  background: transparent;
  color: #0f172a;
}

.pb2-quote {
  margin: 0;
}

.pb2-quote blockquote {
  margin: 0;
}

.pb2-tabs,
.pb2-carousel {
  display: grid;
  gap: 1rem;
}

.pb2-tab-panel {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.pb2-tab-panel h3 {
  margin: 0 0 .75rem;
}

.pb2-flow {
  display: block;
}

.pb2-flow::after {
  content: "";
  display: block;
  clear: both;
}

.pb2-flow-media {
  margin: 0;
}

.pb2-flow-text {
  margin: 0 0 1rem;
}

.pb2-overlay {
  position: relative;
}

.pb2-overlay-layer {
  position: absolute;
}

.pb2-embed {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

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

.pb2-table th,
.pb2-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, .12);
  text-align: left;
}

.pb2-faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, .12);
  padding: 1rem 0;
}

.pb2-faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.pb2-spacer {
  width: 100%;
}

.pb2-divider {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, .28);
}

.market-hero,
.content-hero,
.admin-hero {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.35rem, 2.6vw, 1.75rem);
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 30px 60px rgba(15, 23, 42, .08);
}

.market-hero,
.admin-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  background: #fff;
}

.market-hero.sf-section--dark-band {
  background: var(--sf-accent-section-bg) !important;
  color: var(--sf-accent-section-text) !important;
}

html[data-theme='light'] .market-hero.sf-section--dark-band {
  color: var(--text, #0f172a) !important;
}

html[data-theme='light'] .market-hero.sf-section--dark-band h1,
html[data-theme='light'] .market-hero.sf-section--dark-band h2,
html[data-theme='light'] .market-hero.sf-section--dark-band h3,
html[data-theme='light'] .market-hero.sf-section--dark-band .market-subtitle,
html[data-theme='light'] .market-hero.sf-section--dark-band .market-kicker,
html[data-theme='light'] .market-hero.sf-section--dark-band label {
  color: var(--text, #0f172a) !important;
}

@media (max-width: 768px) {
  .market-hero--storefront.sf-section--dark-band {
    /* The shell-main--storefront-offset uses 6.15rem on mobile vs 66px on desktop.
       Pull the section up so its dark bg starts right at the nav bottom. */
    margin-top: calc(66px - 6.15rem);
    padding-top: calc(6.15rem + 1.4rem) !important;
  }
}

.content-hero {
  background: #fff;
}

.market-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .42rem .82rem;
  border-radius: 999px;
  background: rgba(3, 133, 255, .12);
  color: #0f4c81;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-hero h1,
.content-hero h1,
.admin-hero h1 {
  margin: .9rem 0 .7rem;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: 15ch;
}

.content-hero h1,
.admin-hero h1 {
  max-width: 18ch;
}

.market-subtitle,
.content-hero p,
.admin-hero p {
  margin: 0;
  max-width: 66ch;
  color: #1e293b;
  font-size: 1.04rem;
  line-height: 1.85;
}

.market-cta-row,
.admin-hero-actions,
.admin-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.market-cta-row {
  margin-top: 1.1rem;
}

.market-cta-row a,
.admin-hero-actions a,
.admin-hero-actions button,
.admin-card__tools a,
.admin-card__tools button {
  min-height: var(--site-touch-target);
}

.market-price-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.3rem;
}

.market-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}

.market-proof {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}

.market-proof strong {
  display: block;
  color: #0f172a;
  font-size: .92rem;
}

.market-proof span {
  display: block;
  margin-top: .42rem;
  color: #334155;
  font-size: .82rem;
  line-height: 1.65;
}

.market-price-band > div {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(148, 163, 184, .18);
}

.market-price-band strong {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
}

.market-price-band span {
  display: block;
  margin-top: .3rem;
  color: #334155;
  font-size: .84rem;
  line-height: 1.55;
}

.market-hero-stage,
.tutorial-feature {
  display: grid;
  gap: 1rem;
}

.hero-stage-card,
.tutorial-feature__article {
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
}

.hero-stage-card--primary {
  background: linear-gradient(145deg, #0f172a 0%, #0f4c81 52%, #0385ff 100%);
  color: #fff;
}

.hero-stage-card--secondary,
.tutorial-feature__article {
  background: rgba(255, 255, 255, .86);
}

.hero-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.hero-stage-top span,
.hero-stage-stat span {
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-stage-top strong {
  font-size: 1rem;
}

.hero-mini-paystub {
  margin-top: 1rem;
}

.hero-mini-paystub__paper {
  padding: 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
}

.hero-mini-paystub__line {
  height: 10px;
  width: 74%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  margin-bottom: .65rem;
}

.hero-mini-paystub__line--wide { width: 88%; }
.hero-mini-paystub__line--short { width: 52%; }

.hero-mini-paystub__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .9rem;
}

.hero-mini-paystub__grid span {
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
}

.hero-mini-paystub__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .8rem;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .76rem;
  font-weight: 700;
}

.hero-stage-stat + .hero-stage-stat {
  margin-top: .95rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.hero-stage-stat strong {
  display: block;
  margin-top: .3rem;
  color: #0f172a;
  font-size: 1rem;
}

.market-section {
    --section-marker: linear-gradient(90deg, #0385ff, #60a5fa, #8b5cf6);
    margin: 0;
    width: 100%;
    min-width: 0;
    padding: 2.65rem 2.4rem 2.4rem;
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, .10), 0 22px 46px rgba(15, 23, 42, .05), 0 52px 96px rgba(15, 23, 42, .06);
    position: relative;
    overflow: visible;
}

.market-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 18px;
  background: var(--section-marker);
  border-radius: 30px 30px 0 0;
  pointer-events: none;
}

.market-section--accent {
  --section-marker: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
  background: #fff;
}

.market-section--insight {
  --section-marker: linear-gradient(90deg, #0ea5e9, #0385ff, #8b5cf6);
  background: #fff;
}

.market-section--templates {
  --section-marker: linear-gradient(90deg, #2563eb, #06b6d4, #8b5cf6);
  background: #fff;
}

.market-section--reviews {
  --section-marker: linear-gradient(90deg, #f59e0b, #fb7185, #8b5cf6);
  background: #fff;
}

.market-section--tutorials {
  --section-marker: linear-gradient(90deg, #06b6d4, #3b82f6, #ec4899);
  background: #fff;
}

.market-section--editorial {
  --section-marker: linear-gradient(90deg, #6366f1, #3b82f6, #0ea5e9);
  background: #fff;
  padding-bottom: 2.2rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.7rem;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.section-heading h2 {
  margin: .9rem 0 0;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.section-heading > p {
  margin: .1rem 0 0;
  max-width: none;
  width: 100%;
  color: #1e293b;
  line-height: 1.8;
  font-size: 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.section-heading--single {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.section-heading--single > div {
  max-width: none;
}

.section-heading__body-copy {
  margin: .9rem 0 0;
  max-width: none;
  width: 100%;
  color: #1e293b;
  line-height: 1.8;
  font-size: 1rem;
}

.market-feature-grid,
.journey-grid,
.editorial-grid,
.admin-grid {
  display: grid;
  gap: 1rem;
}

.market-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-feature-card,
.market-carousel-card,
.tutorial-panel,
.tutorial-card,
.editorial-card,
.editorial-feature,
.admin-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.market-feature-card {
  padding: 1.45rem;
  background: #fff;
}

.market-feature-card__art,
.tutorial-panel__art {
  margin-bottom: 1.15rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .16);
  background: linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(245, 243, 255, .92));
}

.market-feature-card__art img,
.tutorial-panel__art img,
.template-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-feature-card__art {
  aspect-ratio: 16 / 10;
}

.tutorial-panel__art {
  aspect-ratio: 16 / 9;
}

.market-feature-card strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  margin-top: .15rem;
}

.market-feature-card p {
  margin-top: .7rem;
  color: #475569;
  line-height: 1.8;
  font-size: .93rem;
}

.market-carousel-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: visible;
  padding: .35rem 0 .55rem;
  margin: 0;
}

.market-carousel-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: .35rem 0 .2rem;
}

.market-carousel-toolbar__copy strong {
  display: block;
  color: #0f172a;
  font-size: .98rem;
}

.market-carousel-toolbar__copy span {
  display: block;
  margin-top: .28rem;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.7;
}

.market-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.market-carousel-control {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.market-carousel-control:hover {
  transform: translateY(-1px);
  border-color: rgba(3, 133, 255, .28);
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}

.market-carousel-control span {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.market-carousel {
  --carousel-gap: 1.15rem;
  --carousel-side-pad: 1.05rem;
  --carousel-edge-gutter: .42rem;
  --carousel-visible: 3;
  --carousel-card-width: calc((100% - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible));
  display: flex;
  align-items: stretch;
  gap: var(--carousel-gap);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .55rem calc(var(--carousel-side-pad) + var(--carousel-edge-gutter)) 1.25rem var(--carousel-side-pad);
  margin: 0;
  scroll-padding-left: var(--carousel-side-pad);
  scroll-padding-right: calc(var(--carousel-side-pad) + var(--carousel-edge-gutter));
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--carousel-side-pad),
    #000 calc(100% - (var(--carousel-side-pad) + var(--carousel-edge-gutter))),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--carousel-side-pad),
    #000 calc(100% - (var(--carousel-side-pad) + var(--carousel-edge-gutter))),
    transparent 100%
  );
}

.market-carousel > * {
  flex: 0 0 var(--carousel-card-width);
  scroll-snap-align: start;
  min-width: 0;
  max-width: var(--carousel-card-width);
}

.market-carousel::-webkit-scrollbar {
  display: none;
}

.market-carousel-card {
  width: 100%;
  overflow: visible;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, .07),
    0 2px 8px rgba(15, 23, 42, .04);
}

.template-card__art {
  min-height: 170px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(245, 243, 255, .92));
}

.template-card--classic .template-card__art {
  background:
    linear-gradient(transparent 24px, rgba(15, 23, 42, .08) 25px, transparent 26px),
    linear-gradient(90deg, rgba(15, 23, 42, .04) 50%, transparent 50%),
    linear-gradient(135deg, #f8fafc, #e2e8f0);
  background-size: 100% 38px, 180px 100%, 100% 100%;
}

.template-card--modern .template-card__art {
  background:
    radial-gradient(circle at top right, rgba(3, 133, 255, .2), transparent 34%),
    linear-gradient(145deg, #0f172a 0%, #0f4c81 52%, #0385ff 100%);
}

.template-card--workflow {
  background: linear-gradient(145deg, rgba(3, 133, 255, .08), rgba(59, 130, 246, .09));
}

.template-card__body,
.editorial-card__body {
  padding: 1.3rem;
}

.editorial-card {
  overflow: visible;
}

.template-card__body h3,
.tutorial-panel h3,
.tutorial-card h3,
.editorial-card h3,
.editorial-feature h3,
.editorial-feature h2,
.article-sidebar strong,
.admin-card h2 {
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.template-card__body p,
.review-card p,
.tutorial-panel p,
.tutorial-card p,
.editorial-card p,
.editorial-feature p,
.tutorial-feature__article p {
  margin-top: .7rem;
  color: #1e293b;
  line-height: 1.8;
  font-size: .94rem;
}

.journey-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.journey-step {
  position: relative;
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(148, 163, 184, .18);
}

.journey-step span,
.tutorial-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(3, 133, 255, .12);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: .8rem;
}

.journey-step h3 {
  color: #0f172a;
  font-size: 1rem;
}

.journey-step p {
  margin-top: .55rem;
  color: #475569;
  font-size: .86rem;
  line-height: 1.7;
}

.review-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-color: rgba(148, 163, 184, .14);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(3,133,255,.16), rgba(96,165,250,.16));
  color: #0f172a;
  font-weight: 800;
  font-size: .95rem;
}

.review-card__identity strong {
  display: block;
  color: #0f172a;
  font-size: .96rem;
}

.review-card__identity span {
  display: block;
  margin-top: .12rem;
  color: #64748b;
  font-size: .82rem;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: .14em;
  font-size: .86rem;
  font-weight: 800;
  margin-top: 1rem;
}

.review-proof,
.editorial-meta {
  color: #64748b;
  font-size: .86rem;
  line-height: 1.6;
}

.review-proof {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(148,163,184,.16);
  font-weight: 600;
}

.tutorial-rail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .75fr);
  gap: 1rem;
}

.tutorial-panel {
  padding: 1.6rem;
  background: linear-gradient(145deg, #0f172a, #0f4c81 58%, #0385ff);
  color: #fff;
}

.tutorial-panel h3,
.tutorial-panel p {
  color: #fff;
}

.tutorial-panel__list {
  margin: 1rem 0 1.1rem;
  padding-left: 1.05rem;
  display: grid;
  gap: .65rem;
}

.tutorial-panel__list li {
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  font-size: .9rem;
}

.tutorial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tutorial-mini-steps {
  display: grid;
  gap: .95rem;
}

.tutorial-step-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.tutorial-mini-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(3, 133, 255, .12);
  color: var(--blue);
  font-weight: 800;
}

.tutorial-step-card strong {
  color: #0f172a;
  font-size: .96rem;
}

.tutorial-step-card p {
  margin-top: .22rem;
  color: #5b6b7f;
  font-size: .86rem;
  line-height: 1.7;
}

.editorial-feature {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  overflow: visible;
  background: linear-gradient(180deg, #fff, #f9fbff);
  border-color: rgba(167, 139, 250, .14);
  box-shadow: 0 22px 54px rgba(15, 23, 42, .09);
}

.editorial-feature--page {
  margin-bottom: 0;
}

.editorial-feature__cover,
.editorial-card__cover {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 22px 0 0 22px;
}

.editorial-feature__cover img,
.editorial-card__cover img,
.tutorial-feature__article img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-feature__copy {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.editorial-feature__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
  padding: .36rem .68rem;
  border-radius: 999px;
  background: rgba(3,133,255,.09);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-feature__copy h3 a,
.editorial-feature__copy h2 a,
.editorial-card h3 a {
  color: inherit;
  text-decoration: none;
}

.editorial-feature__flag {
  order: 1;
  align-self: flex-start;
}

.editorial-feature__copy h2,
.editorial-feature__copy h3,
.editorial-card__body h3 {
  order: 2;
}

.editorial-feature__copy .editorial-meta,
.editorial-card__body .editorial-meta {
  order: 3;
  margin-top: .6rem;
}

.editorial-feature__copy .market-chip-row,
.editorial-card__body .market-chip-row {
  order: 4;
  margin: .95rem 0 1rem;
  padding: .85rem 0 1rem;
  border-top: 1px solid rgba(148, 163, 184, .16);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.editorial-feature__copy .market-chip,
.editorial-card__body .market-chip {
  background: rgba(248, 250, 252, .96);
  border: 1px solid rgba(148, 163, 184, .18);
  color: #516276;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.editorial-feature__copy > p,
.editorial-card__body > p {
  order: 5;
  margin-top: 0;
}

.editorial-feature__copy .market-cta-row,
.editorial-card__body .editorial-card__link {
  order: 6;
}

.editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.editorial-grid--full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.7rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,255,.9));
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 22px 48px rgba(15,23,42,.06);
}

.editorial-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: 1rem;
  align-items: end;
  margin: 1.65rem 0 1.15rem;
  padding: 0 .15rem;
}

.editorial-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .45rem;
  padding: .34rem .7rem;
  border-radius: 999px;
  background: rgba(3, 133, 255, .09);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-divider strong {
  display: block;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.2;
}

.editorial-divider p {
  margin: 0;
  color: #334155;
  font-size: .94rem;
  line-height: 1.8;
}

.editorial-divider--page {
  margin: .35rem 0 1.35rem;
}

.editorial-card--blog .editorial-card__cover {
  aspect-ratio: 16 / 9;
  border-radius: 22px 22px 0 0;
}

.market-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.market-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .34rem .68rem;
  border-radius: 999px;
  background: rgba(3, 133, 255, .09);
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.market-chip--active {
  background: var(--blue);
  color: #fff;
}

.content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.3rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(148, 163, 184, .14);
}

.market-inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.8rem 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(3,133,255,.15), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #0f4c81 55%, #0385ff 100%);
  box-shadow: 0 28px 68px rgba(15, 23, 42, .12);
  color: #fff;
}

.market-inline-cta h2 {
  margin: .7rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.market-inline-cta p {
  margin-top: .8rem;
  max-width: 60ch;
  color: rgba(255,255,255,.84);
  line-height: 1.8;
}

.market-inline-cta .market-kicker {
  background: rgba(255,255,255,.14);
  color: #fff;
}

.market-inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}

.market-inline-cta__actions .btn-acc-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.market-inline-cta__actions .btn-acc-secondary:hover {
  background: rgba(255,255,255,.18);
}

.market-inline-cta.market-inline-cta--paystub-explainer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(99, 102, 241, .18), transparent 24%),
    radial-gradient(circle at 18% 84%, rgba(167, 139, 250, .16), transparent 28%),
    linear-gradient(135deg, #030817 0%, #07102b 18%, #102766 48%, #1b3f9b 76%, #2757d6 100%) !important;
  border: 1px solid rgba(191, 219, 254, .12);
  color: #fff;
}

.paystub-explainer-inner {
  max-width: none;
  margin: 0 auto;
  padding: 2.4rem var(--site-gutter-x) 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 1.25rem;
  align-items: stretch;
}

.market-inline-cta.market-inline-cta--paystub-explainer h2 {
  color: #fff;
  max-width: 15ch;
}

.market-inline-cta.market-inline-cta--paystub-explainer p {
  max-width: 62ch;
  color: rgba(255, 255, 255, .86);
}

.paystub-purpose-grid {
  display: grid;
  gap: 1rem;
}

.paystub-purpose-card {
  display: grid;
  gap: .9rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
  border: 1px solid rgba(191, 219, 254, .16);
  box-shadow: 0 14px 30px rgba(4, 17, 45, .18), 0 32px 54px rgba(4, 17, 45, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.paystub-purpose-card strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.paystub-purpose-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .6rem;
}

.paystub-purpose-card li {
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

.article-topmatter {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.article-topmatter h1 {
  margin: .2rem 0 0;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: 16ch;
}

.article-topmatter__summary {
  margin: 0;
  max-width: 68ch;
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.86;
}

.article-cover-image {
  display: block;
  width: min(100%, 760px);
  max-width: 100%;
  height: auto;
  border-radius: 26px;
  margin: -.25rem auto 0;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .08);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.article-content {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.article-problem-panel,
.article-key-takeaways-panel,
.article-toc-panel,
.article-conclusion-panel {
  padding: 1.15rem 0 1.2rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  box-shadow: none;
  background: transparent;
}

.article-content > .article-problem-panel,
.article-content > .article-key-takeaways-panel,
.article-content > .article-toc-panel,
.article-content > .article-resource-strip {
  margin-bottom: 1rem;
}

.article-problem-panel h2,
.article-toc-panel h2,
.article-conclusion-panel h2 {
  margin: .8rem 0 .6rem;
}

.article-problem-list,
.article-key-takeaways-list,
.article-toc-list {
  margin: .9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .45rem;
}

.article-problem-list li,
.article-key-takeaways-list li,
.article-toc-list li {
  color: #334155;
  line-height: 1.72;
}

.article-key-takeaways-list li::marker {
  color: #0385ff;
}

.article-toc-list a {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 600;
}

.article-toc-list a:hover {
  text-decoration: underline;
}

.article-resource-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .1rem 0 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.article-content h2[id],
.article-key-takeaways-panel[id],
.article-conclusion-panel[id] {
  scroll-margin-top: 7rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.2rem 0 .65rem;
  color: #0f172a;
  line-height: 1.16;
}

.article-content p,
.article-content li {
  color: #334155;
  line-height: 1.85;
}

.article-content p + p,
.article-content ul + p,
.article-content ol + p {
  margin-top: .95rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.15rem;
  margin-top: .85rem;
}

.article-content blockquote {
  margin: 1rem 0;
  padding: .95rem 1rem;
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: rgba(3, 133, 255, .06);
  color: #0f172a;
}

.account-quick-builder-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) minmax(170px, 1.5fr) minmax(140px, 1fr) minmax(120px, .9fr) minmax(120px, .95fr) auto;
  gap: .85rem;
  align-items: end;
}

.account-quick-builder-head {
  display: grid;
  gap: .35rem;
  margin-bottom: .8rem;
}

.account-quick-builder-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.account-quick-builder-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.account-quick-builder-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.account-quick-builder-actions .btn-acc-primary,
.account-quick-builder-actions .btn-acc-secondary {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .account-quick-builder-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .account-quick-builder-row {
    grid-template-columns: 1fr;
  }
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 1rem 0;
}

.article-content pre,
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.article-content pre {
  overflow-x: auto;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
}

.article-content code {
  padding: .15rem .35rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, .06);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
}

.article-table-wrap table {
  margin: 0;
}

.article-content th,
.article-content td {
  padding: .7rem .75rem;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  text-align: left;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 1rem;
}

.article-sidebar-panel {
  display: grid;
  gap: .55rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,255,.9));
  box-shadow: var(--shadow-elev-1);
}

.article-sidebar-panel strong {
  color: #0f172a;
}

.article-sidebar-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.72;
}

.article-sidebar-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.article-related-section,
.article-faq-section {
  margin-top: 1.2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, .16);
}

.article-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-section-heading h2 {
  margin: .35rem 0 0;
  color: #0f172a;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.article-related-card {
  display: grid;
  gap: .85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.article-related-card__cover {
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.article-related-card__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-related-card__body {
  display: grid;
  gap: .55rem;
}

.article-related-card__body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.06rem;
  line-height: 1.28;
}

.article-related-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.article-related-card__body h3 a:hover {
  color: var(--blue);
}

.article-related-card__body p {
  margin: 0;
  color: #475569;
  line-height: 1.72;
}

.article-faq-list {
  display: grid;
  gap: .85rem;
}

.article-faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.article-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .2rem 0 .95rem;
  cursor: pointer;
  list-style: none;
}

.article-faq-item summary::-webkit-details-marker {
  display: none;
}

.article-faq-item summary span:first-child {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.45;
}

.article-faq-item__icon {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform .2s ease;
}

.article-faq-item[open] .article-faq-item__icon {
  transform: rotate(45deg);
}

.article-faq-item__body {
  padding: 0 0 1rem;
}

.article-faq-item__body p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.market-input,
.market-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  padding: .78rem .9rem;
  font-size: .9rem;
  line-height: 1.55;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.market-input:focus,
.market-textarea:focus {
  outline: none;
  border-color: rgba(3, 133, 255, .55);
  box-shadow: 0 0 0 4px rgba(3, 133, 255, .12);
  background: #fff;
}

.market-textarea {
  resize: vertical;
  min-height: 132px;
}

.market-textarea--xl {
  min-height: 460px;
}

.tutorial-feature {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  align-items: start;
  padding: 1.45rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,255,.9));
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 22px 48px rgba(15,23,42,.06);
}

.tutorial-feature__rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tutorial-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.2rem;
}

.tutorial-overview-card {
  padding: 1.05rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.92));
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .05);
}

.tutorial-overview-card strong {
  display: block;
  color: #0f172a;
  font-size: .96rem;
}

.tutorial-overview-card p {
  margin: .48rem 0 0;
  color: #5b6b7f;
  font-size: .86rem;
  line-height: 1.75;
}

.tutorial-card {
  padding: 1.25rem;
}

.tutorial-feature__article {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.tutorial-feature__article img {
  border-radius: 18px;
  min-height: 220px;
  max-height: 280px;
}

.admin-shell {
  max-width: var(--site-container-wide);
}

.admin-shell--workspace-content {
    max-width: calc(var(--site-container-wide) - var(--site-account-sidebar-width) - var(--site-account-workspace-gap));
    justify-content:center;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.admin-shell .acc-stats-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.editorial-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .95rem;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.editorial-card__link:hover {
  color: var(--green);
}

.admin-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-card {
  padding: 1.25rem;
}

.admin-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-card__header span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-card__header h2 {
  margin: .45rem 0 0;
  font-size: 1.35rem;
}

.admin-bar-chart {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}

.admin-bar-chart__row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}

.admin-bar-chart__row span {
  color: #64748b;
  font-size: .8rem;
  font-weight: 700;
}

.admin-bar-chart__track {
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.admin-bar-chart__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0385ff, #8b5cf6);
}

.admin-bar-chart__row strong {
  color: #0f172a;
  font-size: .85rem;
  font-weight: 800;
  text-align: right;
}

.admin-bar-chart__row strong small {
  display: block;
  margin-top: .12rem;
  color: #64748b;
  font-size: .7rem;
  font-weight: 700;
}

.admin-donut {
  width: 190px;
  height: 190px;
  margin: 1rem auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.admin-donut__center {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .15);
}

.admin-donut__center small {
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}

.admin-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: .5rem;
  vertical-align: middle;
}

.admin-table-wrap {
  overflow-x: auto;
  padding-bottom: .1rem;
}



.admin-workspace {
  --site-active-admin-sidebar-width: var(--site-admin-sidebar-width);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: var(--site-active-admin-sidebar-width) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
}

.admin-workspace:has(.workspace-sidebar.is-compact) {
  --site-active-admin-sidebar-width: var(--site-admin-sidebar-compact-width);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .85rem 0 0;
  min-height: 100vh;
  align-self: stretch;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(148, 163, 184, .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.98) 46%, rgba(243,247,253,.98) 100%);
  box-shadow: 16px 0 38px rgba(15, 23, 42, .07), 4px 0 14px rgba(15, 23, 42, .05);
  overflow: hidden;
  align-content: flex-start;
}

.admin-sidebar__top,
.admin-sidebar__nav,
.admin-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.admin-sidebar__nav {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: .4rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(3, 133, 255, .42) rgba(226, 232, 240, .52);
}

.admin-sidebar__nav::-webkit-scrollbar {
  width: 10px;
}

.admin-sidebar__nav::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, .52);
  border-radius: 999px;
}

.admin-sidebar__nav::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(89, 178, 255, .9), rgba(3, 133, 255, .9));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .72);
}

.admin-sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(68, 164, 255, .96), rgba(2, 118, 232, .96));
}

.workspace-sidebar__top {
  padding: 0 .85rem;
}

.workspace-sidebar__brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
}

.workspace-sidebar__size-toggle,
.workspace-sidebar__mobile-launcher,
.workspace-sidebar__mobile-actions .ps-theme-toggle,
.workspace-sidebar__mobile-actions .ps-header-cart-btn,
.workspace-sidebar__mobile-actions .notif-bell-btn {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255, 255, 255, .84);
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.workspace-sidebar__size-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.workspace-sidebar__size-toggle:hover,
.workspace-sidebar__mobile-launcher:hover,
.workspace-sidebar__mobile-actions .ps-theme-toggle:hover,
.workspace-sidebar__mobile-actions .ps-header-cart-btn:hover,
.workspace-sidebar__mobile-actions .notif-bell-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(3, 133, 255, .22);
}

.workspace-sidebar__mobile-actions .ps-theme-toggle[aria-pressed='true'] {
  border-color: rgba(3, 133, 255, .22);
}

.workspace-sidebar__mobile-actions .ps-header-cart-btn[aria-expanded='true'] {
  border-color: rgba(3, 133, 255, .22);
}

.workspace-sidebar__size-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.workspace-sidebar__mobile-actions {
  display: inline-flex;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: fit-content;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  padding: .75rem 1rem;
  border-radius: 0 0 0 20px;
  background: transparent;
  transition: background .26s ease, box-shadow .26s ease, backdrop-filter .26s ease;
}

.workspace-sidebar__mobile-actions.is-bar {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  border-left: 1px solid rgba(148, 163, 184, .14);
}

html[data-theme='dark'] .workspace-sidebar__mobile-actions.is-bar {
  background: rgba(15, 23, 42, .88);
  box-shadow: 0 4px 20px rgba(2, 6, 23, .22);
  border-bottom-color: rgba(148, 163, 184, .12);
  border-left-color: rgba(148, 163, 184, .12);
}

.workspace-sidebar__mobile-actions .ps-theme-toggle,
.workspace-sidebar__mobile-actions .ps-header-cart-btn,
.workspace-sidebar__mobile-actions .notif-bell-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.workspace-sidebar__mobile-launcher {
  display: none;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.workspace-sidebar__mobile-launcher {
  position: relative;
}

.workspace-sidebar__mobile-actions .ps-header-cart-btn svg,
.workspace-sidebar__mobile-actions .ps-theme-toggle svg,
.workspace-sidebar__mobile-actions .notif-bell-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-sidebar__mobile-actions .ps-header-cart-btn .nav-cart-badge {
  top: -4px;
  right: -4px;
  border-color: rgba(255, 255, 255, .96);
}

.ps-theme-toggle__icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ps-theme-toggle__sun,
.ps-theme-toggle__moon {
  position: absolute;
  inset: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.ps-theme-toggle__moon {
  opacity: 0;
  transform: scale(.72);
}

html[data-theme='dark'] .ps-theme-toggle__sun {
  opacity: 0;
  transform: scale(.72);
}

html[data-theme='dark'] .ps-theme-toggle__moon {
  opacity: 1;
  transform: scale(1);
}

.workspace-sidebar__mobile-launcher .ps-header-menu-toggle__line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.workspace-sidebar__mobile-launcher .ps-header-menu-toggle__line--top {
  transform: translateY(-6px);
}

.workspace-sidebar__mobile-launcher .ps-header-menu-toggle__line--bottom {
  transform: translateY(6px);
}

.workspace-sidebar__mobile-launcher[aria-expanded='true'] .ps-header-menu-toggle__line--top {
  transform: rotate(45deg);
}

.workspace-sidebar__mobile-launcher[aria-expanded='true'] .ps-header-menu-toggle__line--middle {
  opacity: 0;
}

.workspace-sidebar__mobile-launcher[aria-expanded='true'] .ps-header-menu-toggle__line--bottom {
  transform: rotate(-45deg);
}

.workspace-sidebar__brand {
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
  align-items: center;
  text-decoration: none;
}

.workspace-sidebar__logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.workspace-sidebar__brand-image {
  display: block;
  width: min(100%, 232px);
  height: auto;
  object-fit: contain;
}

.workspace-sidebar__brand-copy strong,
.admin-sidebar__user strong,
.workspace-account-menu__meta strong {
  display: block;
  color: #0f172a;
}

.workspace-sidebar__brand-copy--stack {
  display: grid;
  gap: 0;
}

.workspace-sidebar__brand-copy small,
.workspace-account-menu__meta small {
  display: block;
  margin-top: 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.5;
}

.admin-sidebar__role,
.admin-sidebar__label,
.admin-page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .36rem .72rem;
  border-radius: 999px;
  background: rgba(3, 133, 255, .09);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-sidebar__label {
  background: transparent;
  color: #64748b;
  padding: 0;
  border-radius: 0;
  margin: 0 1rem .35rem;
  justify-content: flex-start;
  font-size: .68rem;
}

.workspace-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: .4rem;
}

.workspace-sidebar__group + .workspace-sidebar__group {
  margin-top: .75rem;
}

.workspace-sidebar__group-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-sidebar__section-toggle {
  width: calc(100% - 2rem);
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-sidebar__section-toggle svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform .18s ease;
}

.workspace-sidebar__group.is-collapsed .admin-sidebar__section-toggle svg {
  transform: rotate(-90deg);
}

.workspace-sidebar__group.is-collapsed .workspace-sidebar__group-body {
  display: none;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: .82rem;
  position: relative;
  width: 100%;
  min-height: 42px;
  padding: .48rem .95rem .48rem 1.35rem;
  border-radius: 0;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
  color: #243447;
  font-size: .9rem;
  font-weight: 700;
}

.workspace-sidebar__link-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .82;
}

.workspace-sidebar__link-label {
  display: block;
  min-width: 0;
}

.admin-sidebar__link:hover {
  transform: none;
  border-left-color: rgba(3, 133, 255, .22);
  background: rgba(3, 133, 255, .04);
  box-shadow: none;
}

.admin-sidebar__link.is-active {
  border-left-color: var(--blue);
  background: linear-gradient(90deg, rgba(3, 133, 255, .08), rgba(3, 133, 255, .02) 72%, transparent);
  box-shadow: none;
}

.admin-sidebar__footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: .75rem .85rem .9rem;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.workspace-account-menu {
  display: grid;
}

.workspace-account-menu__summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  cursor: pointer;
}

.workspace-account-menu__summary::-webkit-details-marker {
  display: none;
}

.workspace-account-menu__avatar {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #0385ff 58%, #8b5cf6 100%);
  color: #fff;
  font-weight: 900;
}

.workspace-account-menu__panel {
  display: grid;
  gap: .12rem;
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(148, 163, 184, .16);
}

.workspace-account-menu__panel a {
  padding: .42rem 0;
  color: #334155;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.workspace-account-menu__panel a:hover {
  color: var(--blue);
}

.admin-workspace__main {
    
    min-width: 0;
    
    padding: 1.35rem var(--site-gutter-x) 3rem;
}

.shell-account .admin-workspace__main {
  display: block;
}

.shell-account .admin-shell--workspace-content {
    max-width: calc(var(--site-container-wide) - var(--site-account-sidebar-width) - var(--site-account-workspace-gap));
    
}

.shell-account main,
.shell-admin main {
  min-height: 100vh;
}

.admin-workspace--customer .admin-sidebar {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.98) 48%, rgba(243,247,253,.98) 100%);
}

.workspace-sidebar.is-compact {
  width: 92px;
}

.workspace-sidebar.is-compact .workspace-sidebar__brand-copy,
.workspace-sidebar.is-compact .admin-sidebar__label span,
.workspace-sidebar.is-compact .admin-sidebar__section-toggle svg,
.workspace-sidebar.is-compact .workspace-account-menu__meta {
  display: none;
}

.workspace-sidebar.is-compact .workspace-sidebar__brand-image {
  width: 42px;
  margin: 0 auto;
}

.workspace-sidebar.is-compact .workspace-sidebar__brand-row,
.workspace-sidebar.is-compact .workspace-sidebar__top,
.workspace-sidebar.is-compact .admin-sidebar__footer {
  padding-left: .7rem;
  padding-right: .7rem;
}

.workspace-sidebar.is-compact .admin-sidebar__section-toggle {
  width: 100%;
  margin: 0;
  min-height: 28px;
}

.workspace-sidebar.is-compact .admin-sidebar__link {
  justify-content: center;
  padding-left: .6rem;
  padding-right: .6rem;
  min-height: 38px;
}

.workspace-sidebar.is-compact .admin-sidebar__link.is-active,
.workspace-sidebar.is-compact .admin-sidebar__link:hover {
  background: rgba(3, 133, 255, .07);
}

.workspace-sidebar.is-compact .workspace-sidebar__link-label {
  display: none;
}

.workspace-sidebar.is-compact .admin-sidebar__link::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + .75rem);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: .45rem .7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, .92);
  color: #f8fafc;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .24);
  transition: opacity .14s ease, transform .14s ease;
  z-index: 20;
}

.workspace-sidebar.is-compact .admin-sidebar__link:hover::after,
.workspace-sidebar.is-compact .admin-sidebar__link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.workspace-sidebar.is-compact .workspace-account-menu__summary {
  grid-template-columns: 1fr;
  justify-items: center;
}

.workspace-sidebar.is-compact .workspace-account-menu__panel {
  display: none;
}

.admin-page {
  display: grid;
  gap: 1.3rem;
}

.admin-page-stack {
  display: grid;
  gap: 1.3rem;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .9rem;
}

@media (max-width: 1280px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .market-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-kpi {
  padding: 1.2rem 1.15rem;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,255,.95));
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .20);
}

.admin-kpi__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(3, 133, 255, .08);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-kpi__value {
  display: block;
  margin-top: .9rem;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.admin-kpi p {
  margin: .65rem 0 0;
  color: #5b6b7f;
  font-size: .86rem;
  line-height: 1.7;
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 1rem;
  align-items: start;
}

.admin-card--emphasis {
  background:
    radial-gradient(circle at top right, rgba(3,133,255,.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,248,255,.96));
}

.admin-bar-chart--dense {
  margin-top: .2rem;
}

.admin-insight-grid {
  display: grid;
  gap: 1rem;
}

.admin-insight-panel {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248,250,252,.95), rgba(255,255,255,.98));
  border: 1px solid rgba(148, 163, 184, .16);
}

.admin-insight-panel h3 {
  margin: 0 0 .8rem;
  color: #0f172a;
  font-size: 1rem;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .18);
 
  box-shadow: var(--shadow-elev-1);
}

.admin-page-header h1 {
  margin: .7rem 0 .55rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: 16ch;
}

.admin-page-header p {
  margin: 0;
  max-width: 68ch;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.admin-page-header--inline {
  align-items: center;
  padding: .85rem 1.15rem;
}

.admin-page-header--inline h1 {
  margin: .25rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.admin-range-switch--sm {
  padding: .2rem;
  gap: .2rem;
}

.admin-range-switch--sm a {
  min-height: 34px;
  min-width: 42px;
  padding: .4rem .65rem;
  font-size: .78rem;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: flex-end;
}

.admin-card--form .step-card-body,
.admin-page .step-card-body {
  padding-top: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

@media (max-width: 1024px) {
  .market-hero,
  .admin-hero,
  .editorial-feature,
  .article-layout,
  .tutorial-rail,
  .tutorial-feature,
  .tutorial-overview-grid,
  .section-heading,
  .market-price-band,
  .editorial-grid,
  .editorial-grid--full,
  .admin-grid,
  .admin-grid--three,
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }

  .market-carousel {
    --carousel-visible: 2;
    --carousel-side-pad: .9rem;
    padding: .45rem var(--carousel-side-pad) 1.1rem;
    scroll-padding-inline: var(--carousel-side-pad);
  }

  .market-proof-row,
  .market-inline-cta {
    grid-template-columns: 1fr;
  }

  .market-inline-cta__actions {
    justify-content: flex-start;
  }

  .market-inline-cta.market-inline-cta--paystub-explainer {
    padding: 0;
  }

  .paystub-explainer-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.4rem 1.9rem;
  }

  .market-carousel-shell {
    padding: .3rem 0 .45rem;
    margin: 0;
  }

  .article-sidebar {
    position: static;
  }

  .market-carousel-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .editorial-feature__cover,
  .editorial-card__cover {
    border-radius: 22px 22px 0 0;
  }

  .editorial-divider,
  .section-heading {
    grid-template-columns: 1fr;
    margin: 1.35rem 0 1rem;
  }

  .admin-workspace {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-shell--workspace-content,
  .shell-account .admin-shell--workspace-content {
    max-width: var(--site-container-wide);
  }

  .shell-account .admin-workspace__main {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1250;
    width: min(22rem, calc(100vw - 3rem));
    height: 100vh;
    min-height: 100vh;
    padding: .85rem 0 0;
    transform: translateX(calc(-100% - 1rem));
    transition: transform .22s ease;
  }

  .workspace-sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .workspace-sidebar__mobile-launcher {
    display: inline-flex;
  }

  .workspace-sidebar__size-toggle {
    display: none;
  }

  .admin-workspace__main {
    padding: 3.5rem 1rem 2.6rem;
  }

  .admin-sidebar__footer {
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  .workspace-sidebar__mobile-actions {
    padding: .65rem .85rem;
  }

  .workspace-sidebar__mobile-launcher,
  .workspace-sidebar__mobile-actions .ps-theme-toggle,
  .workspace-sidebar__mobile-actions .ps-header-cart-btn {
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .market-feature-grid,
  .admin-kpi-grid {
    
  }

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

  .market-shell,
  .content-shell,
  .article-shell,
  .admin-shell {
   
    gap: 1.8rem;
  }

  .market-hero,
  .content-hero,
  .admin-hero,
  .market-section--accent,
  .admin-card,
  .tutorial-feature,
  .editorial-grid--full {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .market-hero h1,
  .content-hero h1,
  .admin-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .article-topmatter h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: 100%;
  }

  .article-cover-image {
    width: 100%;
    border-radius: 22px;
    margin-top: -.2rem;
  }

  .article-content,
  .article-problem-panel,
  .article-key-takeaways-panel,
  .article-toc-panel,
  .article-conclusion-panel {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .article-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: .85rem;
  }

  .article-sidebar-panel {
    padding: .95rem;
  }

  .market-section {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .section-heading > p {
    font-size: .92rem;
  }

  .editorial-divider strong {
    font-size: 1rem;
  }

  .tutorial-feature__rail {
    grid-template-columns: 1fr;
  }

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

  .admin-bar-chart__row strong {
    text-align: left;
  }

  .admin-workspace {
    padding: 0;
    gap: 1rem;
  }

  .admin-sidebar,
  .admin-page-header {
    border-radius: 0;
  }

  .admin-sidebar {
    padding: .85rem 0 0;
  }

  .admin-page-header {
    padding: 1rem;
  }

  .admin-page-header {
    flex-direction: column;
  }

  .admin-page-header h1 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }
}

@media (max-width: 480px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

.article-builder-divider {
  border: 0;
  height: 1px;
  margin: 2.2rem 0;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .34), transparent);
}

.article-builder-section {
  display: grid;
  gap: 1rem;
}

.article-builder-section--wide {
  max-width: min(100%, 78rem);
}

.article-builder-section--full {
  margin-left: clamp(-1rem, -2vw, -1.5rem);
  margin-right: clamp(-1rem, -2vw, -1.5rem);
}

.article-builder-heading {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.article-builder-lead {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.75;
}

.article-builder-copy {
  margin: 0;
  color: #475569;
  line-height: 1.85;
}

.article-builder-list {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: .55rem;
  color: #334155;
}

.article-builder-hero,
.article-builder-feature {
  display: grid;
  gap: 1.3rem;
  align-items: center;
}

.article-builder-hero__content,
.article-builder-feature__copy,
.article-builder-cta {
  display: grid;
  gap: 1rem;
}

.article-builder-hero__media,
.article-builder-feature__media {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .14);
  box-shadow: 0 24px 54px rgba(15, 23, 42, .08);
}

.article-builder-hero__image,
.article-builder-feature__image {
  display: block;
  width: 100%;
  height: auto;
}

.article-builder-cta {
  padding: 1.35rem 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.9));
  border: 1px solid rgba(148, 163, 184, .14);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .06);
}

.article-builder-faq {
  display: grid;
  gap: .75rem;
}

.article-builder-faq__item {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(255, 255, 255, .9);
  padding: .9rem 1rem;
}

.article-builder-faq__item summary {
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-weight: 700;
}

.article-builder-faq__item summary::-webkit-details-marker {
  display: none;
}

.article-builder-faq__answer {
  margin-top: .8rem;
}

.article-builder-quote {
  margin: 0;
  padding: 1.3rem 1.45rem;
  border-left: 4px solid rgba(3, 133, 255, .44);
  background: linear-gradient(180deg, rgba(248,250,252,.88), rgba(255,255,255,.88));
  border-radius: 24px;
}

.article-builder-quote blockquote {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.45;
  font-weight: 700;
}

.article-builder-quote figcaption {
  margin-top: .7rem;
  color: #64748b;
}

.article-builder-comparison {
  display: grid;
  gap: .6rem;
}

.article-builder-comparison__head,
.article-builder-comparison__row {
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.article-builder-comparison__head {
  color: #0f172a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-builder-comparison__row {
  padding: .9rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(255, 255, 255, .88);
  color: #334155;
}

.article-builder-comparison__row span:first-child {
  color: #0f172a;
  font-weight: 700;
}

.article-builder-comparison__row--highlight {
  border-color: rgba(3, 133, 255, .24);
  box-shadow: 0 18px 40px rgba(3, 133, 255, .08);
}

@media (min-width: 769px) {
  .article-builder-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  }

  .article-builder-feature {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  }

  .article-builder-feature--image-left .article-builder-feature__media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .article-builder-section--full {
    margin-left: 0;
    margin-right: 0;
  }

  .article-builder-cta,
  .article-builder-quote,
  .article-builder-comparison__row,
  .article-builder-faq__item {
    border-radius: 20px;
  }

  .article-builder-comparison__head,
  .article-builder-comparison__row {
    grid-template-columns: 1fr;
  }
}

html[data-theme='dark'] .builder-route-body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, .12), transparent 24%),
    linear-gradient(180deg, #071120 0%, #0b1220 40%, #0f172a 100%);
}

html[data-theme='dark'] .market-shell,
html[data-theme='dark'] .content-shell,
html[data-theme='dark'] .article-shell,
html[data-theme='dark'] .admin-shell,
html[data-theme='dark'] .builder-route-shell,
html[data-theme='dark'] .pb2-tab-panel,
html[data-theme='dark'] .pb2-faq-item,
html[data-theme='dark'] .pb2-table th,
html[data-theme='dark'] .pb2-table td,
html[data-theme='dark'] .pb2-divider,
html[data-theme='dark'] .coming-soon-panel,
html[data-theme='dark'] .market-hero,
html[data-theme='dark'] .content-hero,
html[data-theme='dark'] .admin-hero,
html[data-theme='dark'] .market-proof,
html[data-theme='dark'] .article-builder-hero__media,
html[data-theme='dark'] .article-builder-feature__media,
html[data-theme='dark'] .article-builder-cta,
html[data-theme='dark'] .article-builder-faq__item,
html[data-theme='dark'] .article-builder-quote,
html[data-theme='dark'] .article-builder-comparison__row,
html[data-theme='dark'] .article-table-wrap,
html[data-theme='dark'] .admin-table-wrap,

html[data-theme='dark'] .admin-sidebar,
html[data-theme='dark'] .admin-workspace--customer .admin-sidebar,
html[data-theme='dark'] .workspace-account-menu__panel {
  border-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .market-hero,
html[data-theme='dark'] .content-hero,
html[data-theme='dark'] .admin-hero,
html[data-theme='dark'] .coming-soon-panel,
html[data-theme='dark'] .article-builder-cta,
html[data-theme='dark'] .article-builder-faq__item,
html[data-theme='dark'] .article-builder-quote,
html[data-theme='dark'] .article-builder-comparison__row,
html[data-theme='dark'] .admin-page-header {
 
  box-shadow: 0 20px 48px rgba(2, 6, 23, .28);
}

html[data-theme='dark'] .pb2-button--secondary {
  border-color: rgba(96, 165, 250, .24);
  background: rgba(30, 41, 59, .88);
  color: #bfdbfe;
}

html[data-theme='dark'] .pb2-button--ghost {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .46);
  color: #e5edf7;
}

html[data-theme='dark'] .market-hero h1,
html[data-theme='dark'] .content-hero h1,
html[data-theme='dark'] .admin-hero h1,
html[data-theme='dark'] .article-builder-heading,
html[data-theme='dark'] .article-builder-quote blockquote,
html[data-theme='dark'] .article-builder-comparison__head,
html[data-theme='dark'] .article-builder-comparison__row span:first-child,
html[data-theme='dark'] .workspace-sidebar__brand-copy strong,
html[data-theme='dark'] .admin-sidebar__user strong,
html[data-theme='dark'] .workspace-account-menu__meta strong,
html[data-theme='dark'] .workspace-sidebar__size-toggle,
html[data-theme='dark'] .workspace-sidebar__mobile-launcher,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .ps-theme-toggle,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .ps-header-cart-btn,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .notif-bell-btn,
html[data-theme='dark'] .admin-sidebar__link,
html[data-theme='dark'] .workspace-account-menu__panel a,
html[data-theme='dark'] .admin-page-header h1,
html[data-theme='dark'] .coming-soon-panel__title {
  color: #f8fafc;
}

html[data-theme='dark'] .market-subtitle,
html[data-theme='dark'] .content-hero p,
html[data-theme='dark'] .admin-hero p,
html[data-theme='dark'] .article-builder-lead,
html[data-theme='dark'] .article-builder-copy,
html[data-theme='dark'] .article-builder-list,
html[data-theme='dark'] .article-builder-faq__answer,
html[data-theme='dark'] .article-builder-quote figcaption,
html[data-theme='dark'] .workspace-sidebar__brand-copy small,
html[data-theme='dark'] .workspace-account-menu__meta small,
html[data-theme='dark'] .admin-sidebar__label,
html[data-theme='dark'] .admin-page-header p,
html[data-theme='dark'] .coming-soon-panel__copy {
  color: rgba(226, 232, 240, .74);
}

html[data-theme='dark'] .admin-sidebar,
html[data-theme='dark'] .admin-workspace--customer .admin-sidebar {
  background:
    linear-gradient(180deg, rgba(8, 15, 28, .98), rgba(11, 18, 32, .98) 42%, rgba(15, 23, 42, .98) 100%);
  box-shadow: 16px 0 38px rgba(2, 6, 23, .28), 4px 0 14px rgba(2, 6, 23, .22);
}

html[data-theme='dark'] .workspace-sidebar__size-toggle,
html[data-theme='dark'] .workspace-sidebar__mobile-launcher,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .ps-theme-toggle,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .ps-header-cart-btn,
html[data-theme='dark'] .workspace-sidebar__mobile-actions .notif-bell-btn {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .9);
  box-shadow: 0 16px 32px rgba(2, 6, 23, .28);
}

html[data-theme='dark'] .workspace-sidebar__mobile-actions .ps-header-cart-btn .nav-cart-badge {
  border-color: rgba(15, 23, 42, .96);
}

html[data-theme='dark'] .admin-sidebar__footer,
html[data-theme='dark'] .workspace-account-menu__panel {
  border-top-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .admin-sidebar__link:hover,
html[data-theme='dark'] .workspace-account-menu__panel a:hover {
  background: rgba(30, 41, 59, .56);
  color: #93c5fd;
}

html[data-theme='dark'] .admin-sidebar__link.is-active {
  border-left-color: #60a5fa;
  background: linear-gradient(90deg, rgba(59, 130, 246, .20), rgba(59, 130, 246, .08) 72%, transparent);
  color: #bfdbfe;
}

/* ── Editorial / Blog / Content page dark mode ── */
html[data-theme='dark'] .content-hero__stat {
  background: rgba(30, 41, 59, .6);
  border-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .content-hero__stat strong {
  color: #f8fafc;
}

html[data-theme='dark'] .content-hero__stat span {
  color: #94a3b8;
}

html[data-theme='dark'] .content-editorial-focus {
  background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(10, 17, 31, .92));
  border-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .content-editorial-focus__eyebrow {
  background: rgba(3, 133, 255, .14);
  color: #93c5fd;
}

html[data-theme='dark'] .content-editorial-focus strong a {
  color: #f8fafc;
}

html[data-theme='dark'] .content-editorial-focus p {
  color: #94a3b8;
}

html[data-theme='dark'] .editorial-divider strong {
  color: #f8fafc;
}

html[data-theme='dark'] .editorial-divider p {
  color: #94a3b8;
}

html[data-theme='dark'] .editorial-divider span {
  background: rgba(3, 133, 255, .14);
  color: #93c5fd;
}

html[data-theme='dark'] .editorial-grid--full {
  background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(10, 17, 31, .92));
  border-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .editorial-feature__flag {
  background: rgba(3, 133, 255, .14);
  color: #93c5fd;
}

html[data-theme='dark'] .editorial-feature__copy > p,
html[data-theme='dark'] .editorial-card__body > p {
  color: #94a3b8;
}

html[data-theme='dark'] .editorial-feature__copy .market-chip,
html[data-theme='dark'] .editorial-card__body .market-chip {
  background: rgba(30, 41, 59, .72);
  border-color: rgba(148, 163, 184, .18);
  color: #cbd5e1;
}

html[data-theme='dark'] .editorial-feature__copy .market-chip-row,
html[data-theme='dark'] .editorial-card__body .market-chip-row {
  border-top-color: rgba(148, 163, 184, .14);
  border-bottom-color: rgba(148, 163, 184, .12);
}

html[data-theme='dark'] .market-chip {
  background: rgba(3, 133, 255, .14);
  color: #93c5fd;
}

html[data-theme='dark'] .market-chip--active {
  background: var(--blue);
  color: #fff;
}

html[data-theme='dark'] .content-filter-row {
  border-top-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .editorial-meta {
  color: #64748b;
}

html[data-theme='dark'] .review-proof {
  color: #93c5fd;
  border-top-color: rgba(148, 163, 184, .16);
}

html[data-theme='dark'] .admin-card {
  background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(11,18,32,.92));
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

/* ── Blog list redesign ──────────────────────────────────────────────────── */

/* Title band */
.bl-title-band {
  background: var(--sf-accent-section-bg) !important;
  text-align: center;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: .75rem;
}

.bl-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--sf-accent-section-text, #fff);
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.bl-subheading {
  font-size: clamp(.85rem, 1.8vw, 1rem);
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
}

/* Light theme title band */
html[data-theme='light'] .bl-title-band {
  color: var(--text, #0f172a) !important;
}
html[data-theme='light'] .bl-heading {
  color: var(--text, #0f172a) !important;
}
html[data-theme='light'] .bl-subheading {
  color: rgba(15,23,42,.58);
}

/* Sticky toolbar — transparent frosted glass, same as site nav on blog page */
.bl-toolbar {
  position: sticky;
  top: 66px;
  z-index: 90;
  background: transparent;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid rgba(148,163,184,.18);
  transition: box-shadow .2s;
}

.bl-toolbar--stuck {
  box-shadow: 0 4px 16px rgba(15,23,42,.05);
}

.bl-toolbar__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 44px;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.bl-tb-spacer { flex: 1; }

/* Toolbar buttons */
.bl-tb-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 30px;
  padding: 0 .7rem;
  border-radius: 6px;
  border: 1px solid var(--border, #e2e8f0);
  background: transparent;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text, #0f172a);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.bl-tb-btn:hover { background: var(--surface-soft, #f8fafc); border-color: #cbd5e1; }
.bl-tb-btn--icon { padding: 0 .55rem; }

.bl-tb-chevron { transition: transform .2s; }
.bl-tb-btn[aria-expanded='true'] .bl-tb-chevron { transform: rotate(180deg); }

/* Dropdown menus */
.bl-tb-group { position: relative; }

.bl-tb-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 170px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .35rem 0;
  z-index: 200;
}

.bl-tb-option {
  display: block;
  width: 100%;
  padding: .45rem 1rem;
  font-size: .8rem;
  color: var(--text, #0f172a);
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background .12s;
}
.bl-tb-option:hover { background: var(--surface-soft, #f8fafc); }
.bl-tb-option--active { font-weight: 700; color: var(--brand, #0385ff); }

/* Search panel under toolbar */
.bl-search-wrap { border-top: 1px solid var(--border, #e2e8f0); }
.bl-search-wrap .bl-toolbar__inner { height: 40px; }

.bl-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: .85rem;
  outline: none;
  color: var(--text, #0f172a);
}
.bl-search-input::placeholder { color: var(--text-muted, #94a3b8); }

/* Post list */
.bl-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* Dark theme toolbar */
html[data-theme='dark'] .bl-toolbar {
  border-bottom-color: rgba(148,163,184,.16);
}
html[data-theme='dark'] .bl-toolbar--stuck {
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 20px rgba(2,6,23,.45);
}
html[data-theme='dark'] .bl-tb-btn {
  border-color: rgba(148,163,184,.18);
  color: #e2e8f0;
}
html[data-theme='dark'] .bl-tb-btn:hover { background: rgba(30,41,59,.6); }
html[data-theme='dark'] .bl-tb-menu {
  background: #0f172a;
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 8px 24px rgba(2,6,23,.45);
}
html[data-theme='dark'] .bl-tb-option { color: #cbd5e1; }
html[data-theme='dark'] .bl-tb-option:hover { background: rgba(30,41,59,.5); }
html[data-theme='dark'] .bl-search-input { color: #e2e8f0; }
html[data-theme='dark'] .bl-search-wrap { border-top-color: rgba(148,163,184,.14); }


/* Post rows */
.bl-row {
  display: flex;
  gap: 1.4rem;
  padding: 1.4rem 0;
  align-items: flex-start;
}

.bl-thumb-link { flex-shrink: 0; }

.bl-thumb-wrap {
  position: relative;
  width: 240px;
  height: 158px;
  overflow: hidden;
  border-radius: 4px;
}

.bl-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bl-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  background: #fff;
  color: #374151;
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.bl-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.bl-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.bl-title a {
  color: #111827;
  text-decoration: none;
}
.bl-title a:hover { color: var(--blue, #1e40af); }

.bl-excerpt {
  font-size: .82rem;
  color: #2563eb;
  line-height: 1.55;
  margin: 0;
}
.bl-read-more {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.bl-read-more:hover { text-decoration: underline; }

.bl-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .3rem;
  font-size: .75rem;
  color: #6b7280;
}

.bl-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1e40af;
  font-size: .6rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bl-author { color: #374151; font-weight: 500; }

.bl-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block;
}

.bl-date { color: #6b7280; }

.bl-views {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #6b7280;
}

.bl-social {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .2rem;
}
.bl-social-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  transition: color .15s;
}
.bl-social-link:hover { color: var(--blue, #1e40af); }

.bl-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

.bl-empty {
  color: #6b7280;
  padding: 2rem 0;
  text-align: center;
}

@media (max-width: 620px) {
  .bl-row { flex-direction: column; gap: .9rem; }
  .bl-thumb-wrap { width: 100%; height: 200px; }
}
html[data-theme='dark'] .bl-title a { color: #f1f5f9; }
html[data-theme='dark'] .bl-badge { background: rgba(15,23,42,.85); color: #e2e8f0; border-color: rgba(148,163,184,.2); }
html[data-theme='dark'] .bl-divider { border-top-color: rgba(148,163,184,.16); }
html[data-theme='dark'] .bl-avatar { background: rgba(30,64,175,.3); color: #93c5fd; }
